/* About ("Our story"). Loaded by about.php only. */

/* A serif opening sentence, set larger than body copy. */
.ab-lead {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(1.55rem, 2.5vw, 2.25rem); line-height: 1.3; letter-spacing: -.01em;
  color: var(--forest); max-width: 26ch;
}

/* ---- Introduction: heading left, copy right, then two photographs ---- */
.ab-intro__grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); align-items: start; }
.ab-intro__head { grid-column: 1 / span 5; }
.ab-intro__copy { grid-column: 7 / span 6; padding-top: .4rem; }
.ab-intro__body { margin-top: 2rem; columns: 2; column-gap: clamp(1.5rem, 3vw, 2.75rem); }
.ab-intro__body p { color: var(--ink-soft); font-size: .95rem; line-height: 1.85; break-inside: avoid; }
.ab-intro__body p + p { margin-top: 0; }
.ab-intro__body p:first-child { margin-bottom: 1rem; }

.ab-intro__photos {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter);
  margin-block: clamp(2rem, 4vw, 3.5rem) clamp(3rem, 6vw, 5rem);
}
.ab-intro__main { grid-column: 1 / span 8; }
.ab-intro__small { grid-column: 10 / span 3; align-self: end; margin-bottom: clamp(-5rem, -6vw, -2rem); }
.ab-intro__small figcaption { margin-top: .8rem; font-size: .74rem; letter-spacing: .06em; color: var(--ink-soft); }

@media (max-width: 900px) {
  .ab-intro__grid { grid-template-columns: 1fr; }
  .ab-intro__head, .ab-intro__copy { grid-column: 1; }
  .ab-intro__copy { padding-top: 0; }
  .ab-intro__head h2 { margin-bottom: 1.8rem; }
  .ab-intro__body { columns: 1; }
  .ab-intro__body p:first-child { margin-bottom: 1rem; }
  .ab-intro__photos { grid-template-columns: repeat(6, 1fr); }
  .ab-intro__main { grid-column: 1 / -1; }
  .ab-intro__small { grid-column: 4 / -1; margin: -3rem 0 0; position: relative; }
  .ab-intro__small .frame { border: 8px solid var(--white); border-right: 0; border-bottom: 0; }
}

/* ---- The forest: photographs left, copy and the wildlife list right ---- */
.ab-forest__grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); align-items: center; }
.ab-forest__media { grid-column: 1 / span 6; position: relative; padding-bottom: clamp(2rem, 6vw, 5rem); }
.ab-forest__main { width: 82%; }
.ab-forest__small {
  position: absolute; right: 0; bottom: 0; width: 38%;
  border: 10px solid var(--paper);
}
.ab-forest__copy { grid-column: 8 / span 5; }
.ab-forest__copy h2 { margin-bottom: 1.8rem; }
.ab-forest__body p { color: var(--ink-soft); font-size: .95rem; line-height: 1.85; max-width: 44ch; }
.ab-forest__body p + p { margin-top: 1rem; }

.ab-wild { margin-top: 2.6rem; }
.ab-wild__title {
  font-family: var(--sans); font-size: .66rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase;
  color: var(--moss); margin-bottom: .9rem; line-height: 1.4;
}
.ab-wild__list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 2rem; border-top: 1px solid var(--line); }
.ab-wild__list li {
  display: flex; align-items: baseline; gap: 1rem;
  padding: .85rem 0; border-bottom: 1px solid var(--line);
  font-family: var(--serif); font-weight: 300; font-size: 1.3rem; line-height: 1.2; color: var(--forest);
}
.ab-wild__n { font-family: var(--sans); font-size: .62rem; letter-spacing: .18em; color: var(--sage); }

@media (max-width: 900px) {
  .ab-forest__grid { grid-template-columns: 1fr; row-gap: 3rem; }
  .ab-forest__media, .ab-forest__copy { grid-column: 1; }
  .ab-forest__main { width: 86%; }
}

/* ---- The hot spring: one line, set large, with a falling hairline ---- */
.ab-spring__inner { display: grid; justify-items: center; text-align: center; }
.ab-spring__rule { width: 1px; height: clamp(3rem, 7vw, 5.5rem); background: var(--sage); margin-bottom: 2.4rem; }
.ab-spring .eyebrow { margin-bottom: 1.8rem; }
.ab-spring__text {
  font-family: var(--serif); font-weight: 300; font-style: italic;
  font-size: clamp(2rem, 4.2vw, 3.7rem); line-height: 1.16; letter-spacing: -.01em;
  color: var(--forest); max-width: 22ch;
}
.ab-spring__note { margin-top: 1.8rem; color: var(--ink-soft); max-width: 44ch; }

/* ---- The farm: the forest panel runs to the right-hand edge of the wrap, and
   keeps clear of the inset photograph that breaks into it ---- */
.ab-farm .feature--reverse .feature__panel {
  padding-left: calc(100% / 7 + clamp(4rem, 9vw, 9rem));
  padding-right: max(var(--gutter), calc((100vw - var(--wrap)) / 2));
}
.ab-farm .feature--reverse .feature__inset { right: -6%; }
@media (max-width: 900px) { .ab-farm .feature--reverse .feature__panel { padding: clamp(3rem, 8vw, 5rem) var(--gutter); } }

/* ---- The garden: copy, a tall photograph, a smaller one stepped down ---- */
.ab-garden__grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); align-items: start; }
.ab-garden__copy { grid-column: 1 / span 4; align-self: center; }
.ab-garden__copy h2 { margin-bottom: 1.8rem; }
.ab-garden__copy p { color: var(--ink-soft); font-size: .95rem; line-height: 1.85; max-width: 40ch; }
.ab-garden__copy p + p { margin-top: 1rem; }
.ab-garden__copy .link-line { margin-top: 2.2rem; }
.ab-garden__main { grid-column: 6 / span 4; }
.ab-garden__small { grid-column: 10 / span 3; margin-top: clamp(3rem, 9vw, 8rem); }
@media (max-width: 900px) {
  .ab-garden__grid { grid-template-columns: repeat(6, 1fr); row-gap: 2.5rem; }
  .ab-garden__copy { grid-column: 1 / -1; }
  .ab-garden__main { grid-column: 1 / span 4; grid-row: 2; }
  .ab-garden__small { grid-column: 4 / -1; grid-row: 2; align-self: end; margin: 0 0 -2.5rem; position: relative; z-index: 1; }
  .ab-garden__small .frame { border: 8px solid var(--white); }
}

/* ---- The team (only rendered when someone has been named) ---- */
.ab-team__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 3.5rem) clamp(1.5rem, 3vw, 2.5rem); }
.ab-team__grid--1 { grid-template-columns: minmax(0, 22rem); }
.ab-team__grid--2 { grid-template-columns: repeat(2, minmax(0, 22rem)); }
.ab-team__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ab-person { display: grid; gap: .55rem; align-content: start; }
.ab-person__img { margin-bottom: .9rem; }
.ab-person__name { font-size: clamp(1.45rem, 2vw, 1.8rem); }
.ab-person__role { font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; color: var(--moss); }
.ab-person__line p { color: var(--ink-soft); font-size: .92rem; margin-top: .35rem; }
@media (max-width: 900px) { .ab-team__grid, .ab-team__grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .ab-team__grid, .ab-team__grid--2, .ab-team__grid--3 { grid-template-columns: 1fr; } }

/* ---- Awards (only when Admin -> Awards has rows) ---- */
.ab-awards__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); border-top: 1px solid var(--line); }
.ab-award { display: grid; gap: .5rem; align-content: start; padding: 1.8rem 1.5rem 1.8rem 0; border-bottom: 1px solid var(--line); }
.ab-award__logo img { height: 48px; width: auto; margin-bottom: .6rem; }
.ab-award__meta { font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; color: var(--moss); }
.ab-award__title { font-size: 1.45rem; }
.ab-award__note { color: var(--ink-soft); font-size: .9rem; }

/* ---- Keep exploring: two large links ---- */
.ab-garden + .ab-more { padding-top: 0; }
.ab-more__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 3.5rem); }
.ab-more__item { display: grid; gap: 1.4rem; align-content: start; }
.ab-more__row { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-bottom: 1.4rem; border-bottom: 1px solid var(--line); }
.ab-more__title { display: block; font-family: var(--serif); font-weight: 300; font-size: clamp(1.8rem, 2.8vw, 2.5rem); line-height: 1.05; color: var(--forest); }
.ab-more__text { display: block; margin-top: .5rem; color: var(--ink-soft); font-size: .92rem; }
.ab-more__item:hover .index__go { background: var(--forest); color: var(--white); border-color: var(--forest); }
.ab-more__item .index__go { flex: none; }
@media (max-width: 760px) { .ab-more__grid { grid-template-columns: 1fr; } }
