/*
 * web/assets/css/home.css — the v2 homepage only. The other six pages
 * keep style.css.
 *
 * Light-only by Sean's decision (2026-10-04), so there is deliberately no
 * prefers-color-scheme block; tools/web-home.test.py asserts that.
 * Ported from docs/design/proposals/web-v2-landing/slice.css, with type
 * sizes from Sean's Figma page 174:75 (its Ooey/Marketing text styles)
 * where the two differ. The reasoning behind each value lives in that file and its README, not
 * here: shipped comments stay short to fit the first-paint budget
 * (marketing-site-v2-landing.md §4.1).
 *
 * Every colour is a custom property holding a hex the palette lint can
 * see; alpha comes from color-mix(), never an rgba() literal (§5.1).
 */

@font-face {
  font-family: 'Fraunces';
  src: url('/assets/fonts/fraunces-var.woff2') format('woff2-variations'),
       url('/assets/fonts/fraunces-var.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  ascent-override: 96%;
  descent-override: 22%;
  line-gap-override: 0%;
  size-adjust: 102%;
  unicode-range: U+0020-007E, U+00A0-00FF, U+2010-2015, U+2018-201D, U+2022, U+2026, U+00A9, U+00B7, U+2116;
}

:root {
  color-scheme: light;

  --bone:          #EDEAE0;
  --canvas:        #FCFBF9;
  --white:         #FFFFFF;
  --charcoal:      #323132;
  --muted:         #53514E;
  --hairline:      #CAC7BE;
  --herb-green:    #465649;
  --herb-pressed:  #3A4A3D;
  --herb:          #4A5D4E;
  --track:         #E4E1D7;
  --bezel-hi:      #3A393A;
  --bezel-lo:      #1B1A1B;
  --shade:         #121212;
  --band-hi:       #4E6052;
  --band-lo:       #2E3A31;
  --glow-peach:    #FF9E6A;
  --glow-sage:     #8CA492;
  --glow-blush:    #E9B095;
  --glow-plate:    #C4C9C5;
  --glow-split:    #96AA9C;
  --glow-warm:     #D6A078;
  --plate-peach:   #FFD3B9;
  --plate-sage:    #C4C9C5;
  --plate-clay:    #ECCEC0;
  --saffron:       #AD7A28;
  --avatar:        #9E605E;
  --match:         #2F6146;
  --match-track:   #D8D5CA;
  --scrim:         #F0EDE5;

  --action-bg: var(--herb-green);
  --action-fg: var(--white);

  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
               'Helvetica Neue', Arial, sans-serif;
  --font-display: 'Fraunces', ui-serif, Georgia, serif;

  --elev-floating:
    0 12px 32px 0 color-mix(in srgb, var(--shade) 16%, transparent),
    0 3px 8px 0 color-mix(in srgb, var(--shade) 6%, transparent);
  --bezel: linear-gradient(150deg, var(--bezel-hi) 0%, var(--bezel-lo) 100%);
  --gloss: linear-gradient(118deg,
    color-mix(in srgb, var(--white) 16%, transparent) 0%,
    color-mix(in srgb, var(--white) 5%, transparent) 26%,
    transparent 48%);
}

* { box-sizing: border-box; }

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--charcoal);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

:focus-visible {
  outline: 2px solid var(--herb-green);
  outline-offset: 3px;
  border-radius: 2px;
}

.band :focus-visible,
.masthead__cta:focus-visible { outline-color: var(--white); }

.skip-link {
  position: absolute;
  left: 0.5rem;
  top: 0.5rem;
  z-index: 60;
  padding: 0.5rem 0.9rem;
  border-radius: 0.4rem;
  background: var(--herb-green);
  color: var(--white);
  text-decoration: none;
}

.skip-link:not(:focus) {
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.ico {
  width: 0.62em;
  height: 0.62em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

/* ---------------------------------------------------------------- header */

.masthead {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--canvas);
  border-bottom: 1px solid var(--hairline);
}

.masthead__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0.875rem 1.75rem;
}

.wordmark {
  display: inline-flex;
  padding: 0.6875rem;
  margin: -0.6875rem;
}

.wordmark img { display: block; width: 120px; height: auto; }

.masthead__nav { display: flex; flex-wrap: wrap; gap: 0.25rem; }

.masthead__nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0 0.7rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.9375rem;
  text-decoration: none;
  font-weight: 500;
}

.masthead__cta {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0 1rem;
  border-radius: 999px;
  background: var(--action-bg);
  color: var(--action-fg);
  font-size: 1.0625rem;
  font-weight: 600;
  text-decoration: none;
}

.masthead__cta:hover { background: var(--herb-pressed); }

.masthead__cta--scroll { display: none; }

/* A mouse-style pointer means a computer: it cannot install, so Download
   scrolls to the hero's badges and QR code. The same test decides whether
   the QR code shows. */
@media (hover: hover) and (pointer: fine) {
  .masthead__nav a:hover { color: var(--charcoal); background: var(--white); }
  .masthead__cta--store { display: none; }
  .masthead__cta--scroll { display: inline-flex; }
}

#get:focus { outline: 2px solid var(--herb-green); outline-offset: 0.5rem; border-radius: 0.75rem; }

/* Withdrawn rather than wrapped: the row's failure mode at large text
   sizes is horizontal overflow. */
@media (max-width: 52rem) {
  .masthead__nav { display: none; }
  html { scroll-padding-top: 4.25rem; }
}

/* ---------------------------------------------------------------- hero */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 4.5rem 1.5rem 4.5rem;
}

.hero__field {
  position: absolute;
  inset: -10% -10% 0;
  z-index: -1;
  background:
    radial-gradient(58% 34% at 50% 2%,   color-mix(in srgb, var(--white) 85%, transparent) 0%, transparent 72%),
    radial-gradient(42% 30% at 14% 30%,  color-mix(in srgb, var(--glow-peach) 30%, transparent) 0%, transparent 70%),
    radial-gradient(40% 30% at 88% 22%,  color-mix(in srgb, var(--glow-sage) 22%, transparent) 0%, transparent 74%),
    radial-gradient(64% 46% at 50% 74%,  color-mix(in srgb, var(--glow-blush) 46%, transparent) 0%, transparent 70%),
    radial-gradient(90% 40% at 50% 100%, color-mix(in srgb, var(--glow-plate) 34%, transparent) 0%, transparent 76%);
}

.hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  z-index: -1;
  background: linear-gradient(to bottom, transparent 0%, var(--canvas) 92%);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: 4rem;
  max-width: 72rem;
  margin: 0 auto;
}

.hero__title {
  margin: 0 0 1.25rem;
  max-width: 16ch;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.85rem, 4.4vw, 3.3125rem);
  line-height: 1.04;
  letter-spacing: -0.022em;
  text-wrap: balance;
}

.hero__sub {
  margin: 0 0 2rem;
  max-width: 36rem;
  color: var(--muted);
  font-size: clamp(1.0625rem, 0.75rem + 0.6vw, 1.25rem);
  line-height: 1.5;
  text-wrap: pretty;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 2rem;
}

.store-badge { display: inline-block; line-height: 0; text-decoration: none; }
.store-badge img { display: block; height: auto; }
/* Google's PNG carries its own clear space and Apple's SVG does not, so
   these widths give the two badges the same visible height
   (tools/web-home.test.py measures it from the artwork). */
.store-badge--apple img  { width: 150px; }
.store-badge--google img { width: 193px; }

/* A QR code only helps a visitor on a computer. */
.download-qr { display: none; }

@media (hover: hover) and (pointer: fine) and (min-width: 52rem) {
  .download-qr { display: block; width: 148px; height: 148px; border-radius: 0.5rem; }
}

.checklist {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 1rem;
  line-height: 1.5;
}

.checklist .ico { width: 1.15em; height: 1.15em; margin-top: 0.2em; color: var(--herb); }

.hero__frame { position: relative; container-type: inline-size; }

.hero__pic {
  aspect-ratio: 1 / 1.02;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 1.2rem 2.6rem color-mix(in srgb, var(--bezel-lo) 14%, transparent);
}

.hero__pic img { display: block; width: 100%; height: 100%; object-fit: cover; }

.device {
  position: relative;
  padding: 0.28rem;
  border-radius: 1.6rem;
  background: var(--bezel);
  box-shadow: 0 0 0 0.5px color-mix(in srgb, var(--white) 26%, transparent) inset, var(--elev-floating);
}

.device::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: var(--gloss);
}

.device__screen {
  overflow: hidden;
  border-radius: 1.5rem;
  background: var(--bone);
}

.device__screen img { display: block; width: 100%; height: auto; }

.device--hero {
  position: absolute;
  right: 0;
  top: 4.2%;
  width: 44.3%;
  padding: 1.24cqw;
  border-radius: 7cqw;
}

.device--hero .device__screen { aspect-ratio: 1206 / 2622; border-radius: 6.6cqw; }

.chip {
  position: absolute;
  border: 1px solid color-mix(in srgb, var(--white) 90%, transparent);
  border-radius: 1.293em;
  background: linear-gradient(165deg, var(--white) 0%, var(--canvas) 100%);
  box-shadow: var(--elev-floating);
  line-height: 1.35;
}

.hero__frame .chip { padding: 0.85em 1em; font-size: 3.4cqw; }

.chip__head {
  display: flex;
  align-items: center;
  gap: 0.45em;
  font-size: 0.9em;
  font-weight: 600;
}

.chip__head .ico { width: 1.15em; height: 1.15em; }
.chip__note { margin-top: 0.3em; font-size: 0.95em; color: var(--muted); }

.chip__row {
  display: flex;
  justify-content: space-between;
  gap: 1.2em;
  margin-top: 0.42em;
  font-size: 0.95em;
  color: var(--muted);
}

.chip__row b { font-weight: 500; color: var(--charcoal); }

.chip__bar {
  height: 0.28em;
  margin-top: 0.5em;
  border-radius: 999px;
  background: var(--track);
  overflow: hidden;
}

.chip__bar i { display: block; height: 100%; background: var(--herb); }

.chip--fit { top: 6.3%; left: -3.9%; width: 70.3%; }
.chip--expiring { top: 69.7%; left: 1.8%; width: 56%; }

@media (max-width: 56rem) {
  .hero { text-align: center; }
  .hero__inner { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .hero__title { max-width: 18ch; margin-inline: auto; }
  .hero__sub { margin-inline: auto; }
  .hero__cta { justify-content: center; }
  .checklist { max-width: 26rem; margin-inline: auto; text-align: left; }
  .hero__frame { width: 100%; max-width: 30rem; margin-inline: auto; }
  .chip--fit { left: -4%; width: 62%; }
  .chip--expiring { left: 1%; width: 58%; }
}

@media (max-width: 40rem) {
  .hero { padding-top: 3rem; }
  .masthead__inner { padding: 0.75rem 1.25rem; }
  .store-badge--apple img  { width: 132px; }
  .store-badge--google img { width: 170px; }
}

/* ---------------------------------------------------------------- splits */

.section__title {
  margin: 0 0 0.85rem;
  max-width: 20ch;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.3rem, 4.6vw, 2.6rem);
  line-height: 1.12;
  letter-spacing: -0.018em;
  text-wrap: balance;
}

.split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: start;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  max-width: 68rem;
  margin: 0 auto;
  padding: 3rem 1.5rem 2rem;
}

.split--flip { grid-template-columns: 0.85fr 1.15fr; }
.split--flip .split__media { order: -1; }

.split__body {
  margin: 0;
  max-width: 32ch;
  color: var(--muted);
  font-size: clamp(1rem, 0.85rem + 0.35vw, 1.125rem);
  line-height: 1.556;
  text-wrap: pretty;
}

.split__media {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: start center;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black 84%, transparent 100%);
          mask-image: linear-gradient(to bottom, black 0%, black 84%, transparent 100%);
}

.split__media::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(62% 52% at 38% 34%, var(--glow) 0%, transparent 74%);
}

.split--kitchen .split__media { --glow: color-mix(in srgb, var(--glow-split) 30%, transparent); }
.split--ask     .split__media { --glow: color-mix(in srgb, var(--glow-warm) 30%, transparent); }
.split--shop    .split__media { --glow: color-mix(in srgb, var(--glow-split) 34%, transparent); }

/* The half-cut phone: the frame stops at 1165:1560 and runs off the
   bottom of the media box, which fades it out. */
.split__media .device {
  width: min(15rem, 68%);
  aspect-ratio: 1165 / 1560;
  overflow: hidden;
  padding-bottom: 0;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.split__media .device__screen { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }

@media (max-width: 52rem) {
  .split,
  .split--flip { grid-template-columns: minmax(0, 1fr); max-width: 30rem; }
  .split--flip .split__media { order: 0; }
  .section__title { max-width: none; }
}

/* ---------------------------------------------------------------- three-ups */

.stage { padding: 3rem 1.5rem; }

.stage .section__title { max-width: 28ch; margin-inline: auto; text-align: center; }

.section__sub {
  max-width: 36rem;
  margin: 0 auto 3rem;
  color: var(--muted);
  font-size: clamp(1rem, 0.85rem + 0.35vw, 1.125rem);
  line-height: 1.556;
  text-align: center;
  text-wrap: pretty;
}

.three-up {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  max-width: 68rem;
  margin: 0 auto;
}

.card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 1.5rem 1.5rem 0;
  border-radius: 1.5rem;
  background: linear-gradient(160deg, var(--white) 0%, var(--canvas) 100%);
  box-shadow:
    0 8px 24px 0 color-mix(in srgb, var(--shade) 13%, transparent),
    0 2px 6px 0 color-mix(in srgb, var(--shade) 5%, transparent);
  overflow: hidden;
}

.card__title {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.4rem, 1rem + 0.9vw, 1.75rem);
  line-height: 1.214;
  letter-spacing: -0.01em;
}

.card__body { margin: 0 0 1.5rem; color: var(--muted); font-size: 1rem; line-height: 1.5; }

.plate {
  --plate: var(--plate-sage);
  position: relative;
  container-type: inline-size;
  flex: none;
  aspect-ratio: 1 / 0.92;
  margin: auto -0.25rem 0;
  border-radius: 1.125rem;
  overflow: hidden;
  background: radial-gradient(115% 85% at 42% 6%,
    color-mix(in srgb, var(--plate) 55%, var(--white)) 0%,
    var(--plate) 46%,
    color-mix(in srgb, var(--plate) 74%, var(--herb-green)) 100%);
}

.plate--peach { --plate: var(--plate-peach); }
.plate--clay  { --plate: var(--plate-clay); }

.plate .device { position: absolute; left: 50%; top: 12%; width: 52%; transform: translateX(-50%); }
.plate .device__screen { position: relative; container-type: inline-size; aspect-ratio: 1165 / 2532; }

.shoot {
  position: absolute;
  left: 3.98%;
  top: 15.332%;
  width: 92.04%;
  height: 67.048%;
  border-radius: 3.98cqw;
  overflow: hidden;
}

.shoot img { width: 100%; height: 100%; object-fit: cover; }

.view { position: absolute; inset: 0; pointer-events: none; }

.reticle {
  --stroke: 0.76cqw;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 61cqw;
  aspect-ratio: 3 / 2;
  transform: translate(-50%, -50%);
}

.reticle i { position: absolute; width: 11.667%; height: 17.5%; border: 0 solid var(--white); }
.reticle i:nth-child(1) { top: 0; left: 0; border-top-width: var(--stroke); border-left-width: var(--stroke); border-top-left-radius: var(--stroke); }
.reticle i:nth-child(2) { top: 0; right: 0; border-top-width: var(--stroke); border-right-width: var(--stroke); border-top-right-radius: var(--stroke); }
.reticle i:nth-child(3) { bottom: 0; left: 0; border-bottom-width: var(--stroke); border-left-width: var(--stroke); border-bottom-left-radius: var(--stroke); }
.reticle i:nth-child(4) { bottom: 0; right: 0; border-bottom-width: var(--stroke); border-right-width: var(--stroke); border-bottom-right-radius: var(--stroke); }

.view__hint {
  position: absolute;
  left: 50%;
  bottom: calc(28.4% + 8.14cqw);
  transform: translateX(-50%);
  color: var(--white);
  font-size: 4.07cqw;
  font-weight: 500;
  white-space: nowrap;
  text-shadow: 0 0.15cqw 0.7cqw color-mix(in srgb, var(--shade) 62%, transparent);
}

.chips { position: absolute; inset: 0; pointer-events: none; font-size: 3cqw; }

.chip--filters {
  top: 2.5%;
  right: -12%;
  display: flex;
  gap: 0.431em;
  width: max-content;
  padding: 0.517em 0.603em;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.259em;
  padding: 0.345em 0.69em;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  white-space: nowrap;
}

.pill--on { border-color: transparent; background: var(--track); }

.chip--panel { width: 52%; padding: 0.862em 0.948em; }
.chip--found { width: 58%; }
.chip--lower-left { bottom: 4%; left: 2%; }

.exp__head { display: flex; align-items: baseline; gap: 0.517em; }
.exp__title, .found__head { font-family: var(--font-display); font-weight: 600; font-size: 1.069em; }
.exp__count { font-size: 0.776em; color: var(--muted); }
.exp__rule { height: 1px; margin: 0.603em 0; background: color-mix(in srgb, var(--muted) 16%, transparent); }
.exp__row { display: flex; align-items: center; justify-content: space-between; gap: 0.517em; padding: 0.207em 0; }
.exp__name, .found__name, .rec__name { font-weight: 500; }
.exp__cook { padding-top: 0.086em; color: var(--herb-green); }

.bestby {
  display: inline-flex;
  align-items: center;
  gap: 0.259em;
  padding: 0.207em 0.517em;
  border: 1px solid color-mix(in srgb, var(--saffron) 50%, transparent);
  border-radius: 0.862em;
  background: color-mix(in srgb, var(--saffron) 10%, transparent);
  color: var(--saffron);
  white-space: nowrap;
}

.found__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.517em;
  min-width: 0;
  padding: 0.155em 0;
}

.found__row--on { align-items: center; }
.found__row--on .found__name { display: inline-flex; align-items: center; gap: 0.345em; }
.found__conf { color: var(--muted); font-size: 0.82em; white-space: nowrap; }

.ico--tick { width: 1.29em; height: 1.29em; }
.ico--tick circle { fill: var(--herb-green); stroke: none; }
.ico--tick path { stroke: var(--white); stroke-width: 2.6; }

.chip--upc {
  top: 26%;
  left: 2%;
  display: flex;
  flex-direction: column;
  gap: 0.571em;
  width: 56%;
  border: 0;
  background: none;
  box-shadow: none;
}

.upc__row {
  display: flex;
  align-items: center;
  gap: 0.603em;
  padding: 0.571em 0.857em;
  border: 1px solid color-mix(in srgb, var(--white) 90%, transparent);
  border-radius: 0.857em;
  background: linear-gradient(165deg, var(--white) 0%, var(--canvas) 100%);
  box-shadow: var(--elev-floating);
}

.upc__field { display: flex; flex-direction: column; min-width: 0; }
.upc__src { font-size: 0.786em; font-weight: 600; letter-spacing: 0.036em; color: var(--muted); }
.upc__val { font-weight: 500; }

.rec__row { display: flex; align-items: center; gap: 0.69em; }

.rec__tile {
  display: grid;
  place-items: center;
  flex: none;
  width: 1.9em;
  height: 1.9em;
  border-radius: 0.4em;
  background: var(--avatar);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
}

.rec__meta { display: flex; flex: 1 1 auto; flex-direction: column; min-width: 0; }
.rec__sub, .matchpill__num { color: var(--muted); font-size: 0.85em; }
.matchpill { display: inline-flex; flex: none; flex-direction: column; align-items: flex-start; gap: 0.22em; }
.matchpill__bar { display: block; width: 2.5em; height: 0.25em; border-radius: 0.125em; background: var(--match-track); overflow: hidden; }
.matchpill__bar i { display: block; width: 90%; height: 100%; background: var(--match); }

@media (max-width: 56rem) {
  .three-up { grid-template-columns: minmax(0, 1fr); max-width: 26rem; }
  .card { padding: 2.25rem 2rem 0; }
}

/* ---------------------------------------------------------------- privacy */

.band {
  padding: clamp(4rem, 9vw, 7rem) 1.5rem;
  background: linear-gradient(155deg, var(--band-hi) 0%, var(--herb-green) 45%, var(--band-lo) 100%);
  color: var(--white);
  text-align: center;
}

.band__inner { max-width: 34rem; margin: 0 auto; }

.band__title {
  margin: 0 0 0.9rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.6rem, 3.6vw, 2.5rem);
  line-height: 1.12;
  letter-spacing: -0.018em;
}

.band__body {
  margin: 0 0 1.1rem;
  color: color-mix(in srgb, var(--white) 84%, transparent);
  font-size: clamp(1rem, 0.85rem + 0.35vw, 1.125rem);
  line-height: 1.556;
  text-wrap: pretty;
}

.band__link { margin: 0; font-size: 0.95rem; }
.band__link a { color: var(--white); text-underline-offset: 0.2em; }

/* ---------------------------------------------------------------- photo bands */

/* The photo is a lazy <img>, not a CSS background: a background cannot
   be deferred, and would count against first paint (tools/web-weight-budget). */
.photo-band {
  position: relative;
  isolation: isolate;
  display: grid;
  align-content: end;
  min-height: clamp(20rem, 42vw, 30rem);
  padding: clamp(2rem, 5vw, 3.5rem);
  overflow: hidden;
}

.photo-band__photo,
.photo-band__photo img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 70%;
}

.photo-band::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(var(--scrim-dir, to right),
      color-mix(in srgb, var(--scrim) 94%, transparent) 0%,
      color-mix(in srgb, var(--scrim) 88%, transparent) 26%,
      color-mix(in srgb, var(--scrim) 42%, transparent) 48%,
      transparent 66%),
    linear-gradient(to top,
      color-mix(in srgb, var(--scrim) 42%, transparent) 0%,
      color-mix(in srgb, var(--scrim) 16%, transparent) 38%,
      transparent 72%);
}

.photo-band--flip { --scrim-dir: to left; }
.photo-band--flip .photo-band__photo img { object-position: center 65%; }
.photo-band__inner { min-width: 0; }

.photo-band__line {
  margin: 0;
  max-width: 22ch;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.45rem, 3.6vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -0.016em;
  text-wrap: balance;
}

.photo-band__sub {
  margin: 0.85rem 0 0;
  max-width: 38ch;
  font-size: clamp(1rem, 0.75rem + 0.6vw, 1.25rem);
  line-height: 1.5;
  text-wrap: pretty;
}

.photo-band__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.5rem;
}

.photo-band--flip .photo-band__line,
.photo-band--flip .photo-band__sub { margin-left: auto; text-align: right; }

@media (max-width: 48rem) {
  .photo-band { align-content: start; }
  .photo-band::before {
    background: linear-gradient(to bottom,
      color-mix(in srgb, var(--scrim) 55%, transparent) 0%,
      color-mix(in srgb, var(--scrim) 22%, transparent) 34%,
      transparent 58%);
  }
  .photo-band__inner {
    margin: calc(clamp(2rem, 5vw, 3.5rem) * -1) calc(clamp(2rem, 5vw, 3.5rem) * -1) 0;
    padding: clamp(2rem, 5vw, 3.5rem) clamp(2rem, 5vw, 3.5rem) 4.5rem;
    background: linear-gradient(to bottom,
      color-mix(in srgb, var(--scrim) 96%, transparent) 0%,
      color-mix(in srgb, var(--scrim) 96%, transparent) 74%,
      transparent 100%);
  }
  .photo-band .photo-band__photo img { object-position: right center; }
  .photo-band--flip .photo-band__photo img { object-position: left center; }
}

@media (forced-colors: active) {
  .photo-band__photo, .photo-band::before { display: none; }
  .photo-band { min-height: 0; padding-block: 3rem; }
}

/* ---------------------------------------------------------------- sign-off */

.signoff { max-width: 34rem; margin: 0 auto; padding: 4.5rem 1.5rem 4.25rem; text-align: center; }
.signoff__still { max-width: 24rem; margin: 0 auto 1.5rem; }

.signoff__still img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow:
    0 1px 3px 0 color-mix(in srgb, var(--shade) 6%, transparent),
    0 1px 1px 0 color-mix(in srgb, var(--shade) 4%, transparent);
}

.signoff__line {
  max-width: 18ch;
  margin: 0 auto 1.75rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.4rem, 3.2vw, 2.125rem);
  line-height: 1.18;
  letter-spacing: -0.016em;
  text-wrap: balance;
}

.signoff .hero__cta { justify-content: center; margin-bottom: 0; }

/* ---------------------------------------------------------------- FAQ */

.prose { max-width: 34rem; margin: 0 auto; padding: 5rem 1.5rem; }

.eyebrow {
  margin: 0 0 1.5rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.faq { margin: 0; }

.faq dt {
  margin-top: 1.75rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.25rem, 0.75rem + 1.2vw, 1.75rem);
  line-height: 1.214;
  letter-spacing: -0.01em;
}

.faq dt:first-of-type { margin-top: 0; }

.faq dd {
  margin: 0.5rem 0 0;
  color: var(--muted);
  line-height: 1.5;
  text-wrap: pretty;
}

/* ---------------------------------------------------------------- footer */

.colophon {
  max-width: 34rem;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 5rem;
  border-top: 1px solid var(--hairline);
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
}

.colophon-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.colophon a { color: inherit; text-underline-offset: 0.2em; }
.colophon-social-row { margin: 1.5rem 0 0; }
.colophon-social { display: inline-flex; padding: 0.75rem; margin: -0.75rem; }
.colophon-meta { margin: 1.5rem 0 0; }
