/* =========================================================
   Growing Minds Science: the homepage.
   Composition B, "annotated observation" (chosen 2026-10-14 from
   three compositions, see docs/field-guide/compositions.md).
   An ordinary moment fills the first screen and the visitor reveals the
   typeset labels over it. The Lens is the same plate, re-labeled step by
   step. Tokens come from tokens-field-guide.css (the brand guidelines'
   values); the shared primitives (container, type, buttons, entrances,
   menu rows, range bar) from fg-base.css; the base and chrome tweaks
   from field-guide.css.
   ========================================================= */

/* ---------- 01 Hero: the annotated plate ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); min-height: calc(100svh - var(--header-h)); }
.hero__text { display: grid; align-content: space-between; padding: 0 var(--hb-gutter) clamp(32px, 5vh, 64px) 0; }
/* The title also caps by height, so on a laptop screen the column fits and the plate is not stretched past the fold. */
.hero__title { font-size: min(clamp(3.25rem, 2rem + 5.2vw, 7rem), 11.5vh); line-height: 0.96; letter-spacing: -0.025em; margin-top: clamp(32px, 8vh, 96px); }
.hero__lead { margin-top: 24px; color: var(--ink-soft); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero__quiet { margin-top: 24px; font-size: 15px; color: var(--ink-muted); }
/* One action colour: every link in running text on the homepage is forest, like the class and age links. */
.fg .hero__quiet a, .fg .mission__body a, .fg .seq__links a { color: var(--forest); }
.fg .hero__quiet a:hover, .fg .mission__body a:hover, .fg .seq__links a:hover { color: var(--forest-deep); text-decoration-thickness: 2px; }
/* Short laptop screens (1024x768 and the like): tighter steps so both buttons stay in the first screen. */
@media (min-width: 901px) and (max-height: 820px) {
  .hero__title { font-size: min(clamp(3.25rem, 2rem + 5.2vw, 7rem), 9vh); margin-top: 4vh; }
  .hero__lead { margin-top: 16px; }
  .hero__actions { margin-top: 24px; }
  .hero__quiet { margin-top: 16px; }
}
.hero__nowrap { white-space: nowrap; } /* "grown-up" never splits at its hyphen */

.plate { position: relative; display: flex; flex-direction: column; margin: 0; }
.plate__img { position: relative; flex: 1 1 auto; min-height: 0; overflow: hidden; background: var(--sage-mist); }
.plate picture, .plate img { position: absolute; inset: 0; width: 100%; height: 100%; }
.plate img { object-fit: cover; object-position: 50% 30%; transition: transform 12s linear; }
html.anim .plate img { transform: scale(1.04); }
/* The toggle sits at the top of the photograph, in the first screen with all four labels below it. */
.fg .plate__toggle { position: absolute; left: 24px; top: 24px; z-index: 3; min-height: 48px; padding: 0 18px; border-radius: var(--radius); background: #F7F4EC; color: #193C39; box-shadow: inset 0 0 0 1.5px #193C39; font-weight: 500; display: inline-flex; align-items: center; gap: 10px; }
.fg .plate__toggle[aria-pressed="true"] { background: #E0EBE5; color: #193C39; }
.plate__toggle .sw { width: 10px; height: 10px; border-radius: 50%; background: #D2A453; }
.plate__fig { margin-top: 10px; font-size: 14px; color: var(--ink-muted); }
.plate__fig b { color: var(--research); font-weight: 600; }
.labels { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.label { position: absolute; max-width: 26ch; background: #F7F4EC; color: #193C39; border-radius: var(--radius); padding: 10px 12px; font-size: 14px; line-height: 1.35; pointer-events: auto; opacity: 0; transform: translateY(6px); transition: opacity 360ms ease, transform 360ms ease; transition-delay: calc(var(--i, 0) * 140ms); }
.labels[data-on="true"] .label, .labels .label--lead { opacity: 1; transform: none; }
/* One label shows from the start, so the photograph reads as a figure before anyone presses the toggle. */
html:not(.anim) .label { transition: none; }
.label b { display: block; font-weight: 600; margin-bottom: 2px; }
.label::before { content: ""; position: absolute; width: 10px; height: 10px; border-radius: 50%; background: #D2A453; box-shadow: 0 0 0 2px #F7F4EC; left: -18px; top: 12px; }
.label--note { background: #193C39; color: #F3EFE4; }
.label--note::before { display: none; }
/* positions on the parent-and-baby photograph (object-position 50% 30%) */
.label--1 { left: 8%; top: 56%; }
.label--2 { left: 55%; top: 10%; }
.label--4 { left: 8%; top: 30%; max-width: 22ch; }
/* No script: the labels are simply shown and the toggle is hidden */
.fg--home:not(.js) .labels .label { opacity: 1; transform: none; }
.fg--home:not(.js) .plate__toggle { display: none; }

@media (max-width: 900px) {
  .hero { display: flex; flex-direction: column; min-height: 0; }
  .hero__text, .hero__text > div { display: contents; }
  /* Phones: a smaller title keeps "Every grown-up" on one line, and a wider crop lifts the lead and first button into the first screen. */
  .hero__title { order: 0; margin-top: 16px; font-size: clamp(2.75rem, 1.6rem + 5.6vw, 3.25rem); }
  .plate { order: 1; margin: 20px 0; display: flex; }
  .plate__img { position: relative; flex: none; border-radius: var(--radius-lg); }
  .plate picture, .plate img { position: relative; inset: auto; aspect-ratio: 3 / 2; object-position: 50% 22%; }
  .fg .plate__toggle { position: static; width: 100%; justify-content: center; border-radius: 0; min-height: 50px; background: var(--paper); color: var(--ink); box-shadow: none; border-top: 1.5px solid var(--ink); }
  .fg .plate__toggle[aria-pressed="true"] { background: var(--sage-mist); color: var(--ink); }
  .plate__fig { margin-top: 8px; }
  .hero__lead { order: 2; margin-top: 0; }
  .hero__actions { order: 3; margin-top: 24px; }
  .hero__quiet { order: 4; margin-bottom: 40px; }

  /* On a phone the labels are a list under the photograph, not overlays */
  .labels { position: static; display: none; gap: 8px; padding: 12px 0 4px; }
  .labels[data-on="true"] { display: grid; }
  .fg--home:not(.js) .labels { display: grid; }
  .label, .label--1, .label--2, .label--3, .label--4 { position: relative; inset: auto; max-width: none; font-size: 14px; padding: 8px 12px 8px 30px; opacity: 1; transform: none; }
  .labels > .label { margin: 0; } /* the grid gap spaces the list; a running-text p + p margin would double it */
  .label::before { left: 12px; top: 12px; }
}

/* ---------- 02 The Lens: the plate again, step by step ---------- */
.lens-section { background: var(--sage-mist); }
#lens { scroll-margin-top: var(--header-h); } /* lands flush under the header, with no sliver of the hero caption above */
.lens-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(28px, 4vw, 48px); }
.lens-head p { max-width: 42ch; }
.lens__meta { margin-top: 10px; color: var(--ink-muted); font-size: 15px; }
.lens__status { flex-basis: 100%; font-size: 14px; }
.lens { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.lens__plate { position: sticky; top: calc(var(--header-h) + 16px); aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden; background: var(--sage-mist-2); }
.lens__plate picture { display: contents; } /* the WebP wrapper; the img keeps its place */
.lens__plate source { display: none; } /* otherwise a grid item, and an extra gap on phones */
.lens__plate img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: filter 400ms ease; }
[data-step="reflect"] .lens__plate img { filter: saturate(0.6) brightness(0.96); }
.lens__plate .label { font-size: 13.5px; }
.lens__plate .label[data-active="false"] { display: none; }
.lens__plate .label[data-active="true"] { opacity: 1; transform: none; }
.lp--1 { left: 6%; top: 10%; } .lp--2 { left: 52%; top: 6%; } .lp--3 { left: 6%; top: 60%; } .lp--4 { left: 52%; top: 40%; } .lp--5 { left: 30%; top: 82%; }
.fg--home:not(.js) .lens__plate .label { display: none; }
.fg--home:not(.js) .lens__plate .label[data-for="observe"] { display: block; opacity: 1; transform: none; }
.lens__tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.fg .lens__tab { min-height: 48px; border-radius: var(--radius); background: rgba(255, 253, 248, 0.6); font-weight: 500; font-size: 15px; display: grid; place-items: center; gap: 2px; padding: 8px; }
[data-theme="dark"] .fg .lens__tab { background: var(--surface); }
.lens__tab small { font-size: 13px; color: var(--clay-text); letter-spacing: 0.08em; }
.fg .lens__tab[aria-selected="true"] { background: var(--ink); color: var(--paper); }
.lens__tab[aria-selected="true"] small { color: var(--note-on-ink); }
.lens__panel { display: grid; gap: 20px; margin-top: 28px; }
.lens__panel[hidden] { display: none; }
.fg--home:not(.js) .lens__panel[hidden] { display: grid; }
.fg--home:not(.js) .lens__tabs, .fg--home:not(.js) .lens__nav { display: none; }
.lens__q { font-family: var(--font-display); font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem); line-height: 1.12; letter-spacing: -0.015em; }
.mech { display: grid; gap: 10px; }
.mech li { background: var(--surface); border-radius: var(--radius); padding: 14px 16px; display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; }
.mech i { width: 10px; height: 10px; border-radius: 50%; background: var(--note-amber); margin-top: 7px; }
.mech b { font-weight: 600; display: block; }
.mech .ev { color: var(--research); font-size: 14px; font-weight: 500; }
.resp li { padding: 12px 0; border-top: 1px solid var(--border-soft); }
.resp li:first-child { border-top: 0; padding-top: 0; }
.refl li { font-family: var(--font-display); font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem); line-height: 1.3; padding: 10px 0; }
.lens__nav { display: flex; justify-content: space-between; gap: 12px; }
.lens__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: clamp(32px, 4vw, 56px); font-size: 15px; }
.lens__foot p { max-width: 90ch; }
@media (max-width: 900px) {
  .lens { grid-template-columns: 1fr; }
  .lens__plate { position: relative; top: auto; aspect-ratio: auto; display: grid; gap: 8px; background: none; border-radius: 0; overflow: visible; }
  .lens__plate img { position: relative; inset: auto; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); }
  .lens__tabs { grid-template-columns: 1fr 1fr; }
  .lens__plate .label { position: relative; inset: auto; max-width: none; padding: 10px 12px 10px 30px; font-size: 14px; }
  .lens__plate .label::before { left: 12px; top: 14px; }
  .lens__plate .label[data-active="true"] { display: block; }
}

/* The homepage Lens: one visit as a carousel of four frames. The rail fills to the frame in view;
   the arrows and rail scroll the track, which is only as tall as the frame in view. On phones a bar
   at the foot of the screen carries the arrows while the frames are in view. Without script the
   frames stack in order. */
.seq__bar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: start; }
.seq__steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.fg .seq__step { width: 100%; min-height: 48px; display: grid; gap: 2px; justify-items: start; align-content: start; padding: 12px 4px 4px 0; border-top: 3px solid var(--sage-mist-2); background: none; color: var(--ink-muted); font-size: 15px; font-weight: 500; text-align: left; line-height: 1.3; }
.seq__step small { font-size: 13px; color: var(--clay-text); letter-spacing: 0.08em; }
.fg .seq__step:hover, .fg .seq__step[data-state="past"] { color: var(--ink); }
.fg .seq__step[data-state="past"] { border-top-color: var(--forest); }
/* Frames still ahead: a dashed rule, so ahead and past differ by more than a tint. */
.fg .seq__step[data-state="next"] { border-top-style: dashed; border-top-color: var(--sage-deep); }
.fg .seq__step[aria-current="step"] { border-top-color: var(--ink); color: var(--ink); }
.seq__now { display: none; }
.seq__arrows { display: flex; gap: 6px; }
.fg .seq__arrow { width: 48px; height: 48px; display: grid; place-items: center; border-radius: var(--radius); background: rgba(255, 253, 248, 0.6); color: var(--ink); }
[data-theme="dark"] .fg .seq__arrow { background: var(--surface); }
.fg .seq__arrow:not([aria-disabled="true"]):hover { background: var(--ink); color: var(--paper); }
.fg .seq__arrow[aria-disabled="true"] { opacity: 0.4; cursor: default; }
.seq__track { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: 100%; align-items: start; gap: 32px; margin-top: 28px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; transition: height 250ms ease; }
.seq__track::-webkit-scrollbar { display: none; }
.seq__slide { scroll-snap-align: start; display: grid; grid-template-columns: minmax(0, min(520px, 44%)) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: start; align-content: start; }
.seq__photo picture { display: contents; }
.seq__photo img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); }
.seq__text { display: grid; gap: 12px; align-content: start; max-width: 64ch; }
.seq__text b { font-weight: 600; }
.seq__text .ev { color: var(--research); font-size: 14px; font-weight: 500; }
.seq__class { font-size: 14px; color: var(--ink-muted); }
.seq__class a { color: var(--forest); text-decoration: underline; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
.seq__sub { margin-top: 12px; padding-top: 16px; border-top: 1px solid var(--sage-mist-2); font-size: 15px; font-weight: 600; }
.seq__foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 32px; align-items: center; margin-top: clamp(32px, 4vw, 56px); padding-top: 24px; border-top: 1px solid var(--sage-mist-2); font-size: 15px; }
.seq__after { font-size: 17px; max-width: 64ch; }
.seq__links, .seq__status { grid-column: 1 / -1; }
.seq__status { font-size: 14px; }
.fg--home:not(.js) .seq__bar { display: none; }
.fg--home:not(.js) .seq__track { grid-auto-flow: row; gap: 56px; overflow: visible; }
@media (max-width: 699px) {
  .seq { display: grid; }
  .seq__bar { order: 2; position: sticky; bottom: 0; z-index: 2; grid-template-columns: 48px minmax(0, 1fr) 48px; align-items: center; gap: 12px; margin: 12px calc(-1 * var(--hb-gutter)) 0; padding: 8px var(--hb-gutter) calc(8px + env(safe-area-inset-bottom)); background: var(--sage-mist); border-top: 1px solid var(--sage-mist-2); }
  .seq__steps { display: none; }
  .seq__arrows { display: contents; }
  .seq__arrow[data-seq-prev] { grid-column: 1; grid-row: 1; }
  .seq__arrow[data-seq-next] { grid-column: 3; grid-row: 1; }
  .seq__now { display: grid; grid-column: 2; grid-row: 1; gap: 8px; font-size: 14px; font-weight: 500; text-align: center; }
  .seq__now > span:first-child { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .seq__dots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
  .seq__dots i { height: 3px; border-radius: 2px; background: var(--sage-mist-2); transition: background-color 200ms ease; }
  .seq__dots i[data-state="past"] { background: var(--forest); }
  .seq__dots i[data-state="next"] { background: none; box-shadow: inset 0 0 0 1px var(--sage-deep); }
  .seq__dots i[data-state="now"] { background: var(--ink); }
  .seq__track { order: 1; grid-auto-columns: 86%; gap: 12px; margin: 20px calc(-1 * var(--hb-gutter)) 0; padding-inline: var(--hb-gutter); scroll-padding-inline: var(--hb-gutter); }
  .seq__slide { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .seq__photo img { max-height: 58svh; }
  .seq__text { gap: 10px; }
  .seq__text, .seq__photo .plate__fig { transition: opacity 200ms ease; }
  .seq__sub { margin-top: 8px; padding-top: 12px; }
  .fg--home.js .seq__slide:not([data-current]) :is(.seq__text, .plate__fig) { opacity: 0; }
  .seq__foot { grid-template-columns: minmax(0, 1fr); justify-items: start; }
  .fg--home:not(.js) .seq__track { margin-inline: 0; padding-inline: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .seq__track, .seq__text, .seq__photo .plate__fig, .seq__dots i { transition: none; }
}

/* ---------- Why this exists: one sentence that opens the classes, on the same paper ---------- */
/* The mission is a preface, not a second menu heading: a subhead-sized title, then a hairline
   before the classes heading takes the lead. */
.mission { background: var(--paper); padding-bottom: 0; }
.mission + .classes { padding-top: 0; }
.mission + .classes .classes__grid { margin-top: clamp(48px, 6vw, 88px); padding-top: clamp(48px, 6vw, 88px); border-top: 1px solid var(--border-soft); }
.mission__inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(16px, 5vw, 80px); align-items: baseline; }
.mission h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem); line-height: 1.1; }
.mission__body p + p { margin-top: 18px; }
.mission__body a { display: inline-block; padding-block: 12px; margin-block: -12px; }
.mission__body .hb-soft { max-width: 52ch; }
@media (max-width: 900px) { .mission__inner { grid-template-columns: 1fr; } }

/* ---------- 06 Classes: prices like a menu ---------- */
.classes { background: var(--paper); }
.classes__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.classes__grid h2 { font-size: clamp(2rem, 1.2rem + 2.4vw, 3.25rem); }
.classes__intro { margin-top: 16px; max-width: 34ch; }
/* The heading and intro stay beside the list while it scrolls, so the left track is never empty. */
@media (min-width: 861px) { .classes__grid > div:first-child { position: sticky; top: calc(var(--header-h) + 40px); } }
/* Row rhythm: title and price, then the pitch close beneath, the facts tight under it,
   the age windows as their own group, the range, then the action. */
.classes .menu__item { row-gap: 0; padding-block: clamp(24px, 3vw, 36px); }
.classes .menu__item:first-child { padding-top: 0; }
.classes .menu__item p { margin-top: 12px; }
.classes .menu__item .meta { margin-top: 8px; }
.classes .menu__item .menu__go { margin-top: 20px; }
.classes .menu__go { grid-column: 1 / -1; justify-self: start; font-size: 15px; font-weight: 500; color: var(--forest); text-decoration: underline; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
.classes .menu__item:hover .menu__go { color: var(--forest-deep); text-decoration-thickness: 2px; }
/* A class row: the title link stretches over the row, so the whole row still opens the class,
   while the age windows inside it stay their own links to the Explore pages. */
.classes .menu__item--class { position: relative; }
.classes .menu__item--class h3 a { color: inherit; text-decoration: none; }
.classes .menu__item--class h3 a::after { content: ""; position: absolute; inset: 0; }
.menu__windows { grid-column: 1 / -1; display: grid; gap: 0; margin-top: 16px; font-size: 15px; }
.menu__windows li { display: flex; gap: 12px; align-items: baseline; }
.menu__windows .yrs { flex: none; width: 6.5em; color: var(--ink-muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.menu__windows .win { padding-block: 6px; color: var(--ink-soft); }
.menu__item .meta a { position: relative; z-index: 1; color: var(--forest); text-decoration: underline; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
.menu__item .meta a:hover { color: var(--forest-deep); text-decoration-thickness: 2px; }
.classes .menu__item .range { grid-column: 1 / -1; max-width: 340px; margin-top: 16px; }
.classes__terms { margin-top: 28px; color: var(--ink-muted); font-size: 15px; max-width: 60ch; }
@media (max-width: 860px) { .classes__grid { grid-template-columns: 1fr; } }

/* ---------- 07 Tools and evidence: photograph and note left, the index opens level with it ---------- */
.tools { background: var(--surface); }
.tools h2 { max-width: 16ch; }
.tools__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; margin-top: clamp(32px, 4vw, 56px); }
.tools__grid > div:last-child { border-top: 2px solid var(--ink); }
.tools__photo { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; max-width: 360px; width: 100%; margin: 0; }
.tools__photo img { width: 100%; height: 100%; object-fit: cover; }
.tools__row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px; padding: 13px 0; border-top: 1px solid var(--border-soft); text-decoration: none; min-height: 48px; align-items: baseline; }
.tools__row:first-child { border-top: 0; }
.tools__row span { color: var(--ink-muted); font-size: 15px; }
.tools__row b { font-weight: 500; }
.tools__row:hover b { color: var(--forest); text-decoration: underline; text-underline-offset: 0.2em; }
.tools__evidence { margin-top: 24px; color: var(--ink-soft); max-width: 48ch; }
.tools__evidence b { color: var(--research); font-weight: 600; }
/* On a phone the list comes first; the photograph and the evidence note follow it. */
@media (max-width: 860px) { .tools__grid { grid-template-columns: 1fr; } .tools__grid > div:first-child { order: 2; } .tools__photo { max-width: none; aspect-ratio: 4 / 3; } }

/* ---------- 08 Trust ---------- */
.trust { background: var(--paper-2); }
/* .fg-scoped so field-guide.css's figure and paragraph margin reset (.fg figure, .fg p) does not cancel the section's spacing. */
.fg .trust__photo { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; margin: 0; }
.trust__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
/* The reading photograph beside the words, not across the page. */
.trust__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 32px clamp(32px, 5vw, 80px); align-items: center; }
.fg .trust__para { font-family: var(--font-display); font-size: clamp(1.25rem, 1rem + 1.1vw, 1.75rem); line-height: 1.35; max-width: 40ch; margin-top: 20px; }
.fg .trust__facts { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 24px; color: var(--ink-soft); font-size: 15px; }
@media (max-width: 860px) { .trust__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- 09 Close: last photograph, text beside ---------- */
.close { position: relative; min-height: 80svh; display: grid; align-items: end; background: var(--field-ink); color: var(--on-ink); }
/* The walk home: anchored right so the pair sits in the left half and the statement on the right stays clear of the parent. */
.close img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 100% 50%; filter: brightness(0.8); }
/* The foliage behind the statement is busy, so an ink wash deepens toward the words and leaves the pair in daylight. */
.close::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(25 60 57 / 0) 30%, rgb(25 60 57 / 0.62) 58%, rgb(25 60 57 / 0.86) 100%); pointer-events: none; }
.close__inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); padding-block: clamp(64px, 10vw, 140px) clamp(48px, 7vw, 96px); }
.close__text { grid-column: 2; }
.close h2 { color: #FFFDF8; font-size: clamp(2.25rem, 1.2rem + 3.2vw, 4rem); line-height: 0.98; letter-spacing: -0.025em; }
.close p { margin-top: 20px; max-width: 36ch; color: #F3EFE4; }
.close .hb-btn { margin-top: 28px; }
.close .close__terms { margin-top: 16px; font-size: 15px; }
/* Phones: the photo stacks above the words, so drop field-guide.css's .close padding (it showed as an empty band) and frame the pair and the slide instead of anchoring right. */
@media (max-width: 800px) { .close { min-height: 0; padding-block: 0; } .close img { position: relative; height: auto; aspect-ratio: 4 / 3; object-position: 25% 50%; filter: none; } .close::after { content: none; } .close__inner { display: block; padding-top: 32px; } }
