/* Justin Salem Meyer — Seniors. Golden Hour direction, Prairie grass palette,
   Gloock + Hanken Grotesk. Picks and rules: DESIGN.md. */
@layer reset, base, layout, components, pages;

@font-face { font-family: "Gloock"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/gloock-normal-400.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/assets/fonts/hanken-grotesk-normal-100-900.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-style: italic; font-weight: 100 900; font-display: swap; src: url("/assets/fonts/hanken-grotesk-italic-100-900.woff2") format("woff2"); }

@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  html, body { margin: 0; padding: 0; }
  img, svg { display: block; max-width: 100%; height: auto; }
  button, input, select, textarea { font: inherit; }
  figure, blockquote, dl, dd { margin: 0; }
  ol, ul { margin: 0; padding: 0; }
  [hidden] { display: none !important; }
}

@layer base {
  :root {
    color-scheme: light;
    /* Prairie grass, exact lab tokens ("Dry grass, dusk sage") */
    --bg: #efe6d2;
    --fg: #2f2a1c;
    --accent: #7b5d24;
    --lede: #575040;
    --btn: #3d4a2a;
    --btnfg: #f4eedc;
    /* Derived from the tokens above */
    --bg-dry: #e8d9b8;          /* the page dries toward this as you scroll */
    --line: rgb(47 42 28 / .18);
    --dusk: #232a19;            /* deep sage: --btn at dusk */
    --dusk-2: #313b23;
    --dusk-fg: var(--btnfg);
    --dusk-muted: #d3cdb4;
    --dusk-line: rgb(244 238 220 / .2);
    --glow: #e8c47e;            /* dry-grass gold on dusk */
    --sun-1: #ffd896; --sun-2: #eda24c; --sun-3: #c8692a;
    --blue-1: rgb(30 66 166 / .86); --blue-2: rgb(60 96 190 / .58); --blue-3: rgb(112 132 200 / .28);   /* blue hour on the dial */
    --moon-1: #fffdf6; --moon-2: #efebdf; --moon-3: #d8d5cd;
    --p: 0;
    /* Type */
    --display: "Gloock", "Libre Caslon Display", Georgia, serif;
    --body: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
    /* Rhythm */
    --wrap: min(1680px, calc(100% - clamp(32px, 6vw, 112px)));
    --section: clamp(56px, 8vw, 128px);
    --gap: clamp(32px, 6vw, 112px);
    --ease: cubic-bezier(.16, 1, .3, 1);
  }
  html { background: var(--dusk); scroll-behavior: smooth; scroll-padding-top: 1.5rem; -webkit-text-size-adjust: 100%; }
  body {
    min-height: 100svh; overflow-x: clip;
    font-family: var(--body); font-size: clamp(1rem, .96rem + .2vw, 1.125rem); line-height: 1.6;
    color: var(--fg);
    background: color-mix(in oklab, var(--bg), var(--bg-dry) calc(var(--p) * 100%));
    -webkit-font-smoothing: antialiased;
  }
  ::selection { background: var(--btn); color: var(--btnfg); }
  a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; cursor: pointer; }
  a:hover { text-decoration-thickness: 2px; }
  button, summary { cursor: pointer; }
  :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
  .site-footer :focus-visible, .book :focus-visible, .parents :focus-visible, .price-card :focus-visible { outline-color: var(--glow); }
  main:focus { outline: none; }
  h1, h2, h3, p { margin: 0; }
  h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.04; letter-spacing: -.015em; text-wrap: balance; }
  p { text-wrap: pretty; }
  /* Focal points from design/lab/dbce0324/photo-catalog.json */
  .fx-40 { --fx: 40%; } .fx-45 { --fx: 45%; } .fx-50 { --fx: 50%; } .fx-55 { --fx: 55%; }
  .fy-18 { --fy: 18%; } .fy-20 { --fy: 20%; } .fy-22 { --fy: 22%; } .fy-25 { --fy: 25%; } .fy-30 { --fy: 30%; } .fy-35 { --fy: 35%; } .fy-45 { --fy: 45%; }
  .ph { object-position: var(--fx, 50%) var(--fy, 50%); }
  [data-needs-check] { text-decoration: underline dotted; text-underline-offset: .18em; text-decoration-thickness: 1px; }
}

@layer layout {
  .wrap, .site-nav, .site-footer-inner { width: var(--wrap); margin-inline: auto; }
  .page { display: block; overflow-x: clip; }
  .site-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px clamp(16px, 3vw, 48px); padding-block: clamp(18px, 2.4vw, 32px); }
  .site-mark, .footer-lockup { display: inline-flex; align-items: baseline; gap: .55em; text-decoration: none; color: inherit; }
  .lockup-name { font-family: var(--display); font-size: clamp(1.45rem, 1.1rem + 1.1vw, 2.2rem); line-height: 1; letter-spacing: -.01em; white-space: nowrap; }
  .lockup-sub { font-size: .76rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); }
  .site-links { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 36px); list-style: none; margin-inline-start: auto; font-weight: 500; }
  .site-links a { text-decoration: none; padding-block: .4em; }
  .site-links a:hover { color: var(--accent); }
  .page-session .nav-session, .page-other-sessions .nav-other, .page-portfolio .nav-portfolio, .page-parents .nav-parents { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .45em; }
  .site-links a { white-space: nowrap; }
  .site-footer { background: var(--dusk); color: var(--dusk-muted); border-top: 1px solid var(--dusk-line); }
  .site-footer-inner { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 24px 64px; padding-block: clamp(40px, 5vw, 72px); }
  .footer-lockup { color: var(--dusk-fg); }
  .footer-lockup .lockup-sub { color: var(--glow); }
  .footer-text { display: grid; gap: 14px; max-width: 46rem; }
  .footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; }
  .site-footer a { color: var(--dusk-fg); }
  .footer-also { font-size: .95rem; }
  .footer-links-quiet { font-size: .95rem; }
  @media (max-width: 860px) {
    .footer-links { gap: 0 22px; }
    .footer-links a { display: inline-flex; align-items: center; min-height: 44px; }
    .site-nav { flex-wrap: wrap; }
    .site-links { order: 3; flex-basis: 100%; flex-wrap: wrap; margin-inline-start: 0; gap: 0 20px; font-size: .95rem; border-top: 1px solid var(--line); padding-top: 6px; }
  }
  @media (max-width: 420px) {
    .lockup-name { font-size: 1.3rem; }
    .site-mark { flex-direction: column; gap: 4px; }
  }
}

@layer components {
  .skip-link { position: absolute; inset-inline-start: 12px; inset-block-start: -80px; z-index: 100; padding: 10px 16px; background: var(--fg); color: var(--bg); border-radius: 6px; text-decoration: none; }
  .skip-link:focus { inset-block-start: 12px; }
  .eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--lede); margin-bottom: 18px; }
  .lede { font-size: clamp(1.1rem, 1rem + .45vw, 1.35rem); color: var(--lede); max-width: 40ch; margin: 28px 0 32px; }

  .btn {
    display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px;
    border-radius: 999px; border: 1.5px solid var(--btn); background: var(--btn); color: var(--btnfg);
    font: 600 1rem/1 var(--body); text-decoration: none; cursor: pointer;
    transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
  }
  .btn:hover { background: var(--fg); border-color: var(--fg); transform: translateY(-1px); }
  .btn-small { min-height: 44px; padding: 0 20px; font-size: .95rem; }
  .btn-ghost { background: transparent; color: var(--btn); }
  .btn-ghost:hover { background: var(--btn); color: var(--btnfg); border-color: var(--btn); }
  .btn-light { background: var(--btnfg); color: var(--dusk); border-color: var(--btnfg); }
  .btn-light:hover { background: var(--glow); border-color: var(--glow); color: var(--dusk); }
  .btn-ghost-light { background: transparent; color: var(--btnfg); border-color: var(--btnfg); }
  .btn-ghost-light:hover { background: var(--btnfg); color: var(--dusk); }
  .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; }
  .share-status { flex-basis: 100%; font-size: .9rem; min-height: 1.4em; }
  .share-status:empty { min-height: 0; flex-basis: 0; }
  .more-link { margin-top: 28px; font-weight: 600; }

  .facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); margin-top: clamp(40px, 5vw, 72px); }
  .facts div { padding: 18px 18px 0 0; }
  .facts div + div { padding-left: 18px; border-left: 1px solid var(--line); }
  .facts dt { font-family: var(--display); font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.4rem); line-height: 1.1; }
  .facts dd { margin-top: 6px; color: var(--lede); font-size: .95rem; }
  .facts-four { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 0; }

  .section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: end; margin-bottom: clamp(32px, 5vw, 72px); }
  .section-head h2 { font-size: clamp(2.3rem, 1.4rem + 3vw, 4.4rem); max-width: 12ch; }
  .section-head p { color: var(--lede); max-width: 46ch; }

  .sun {
    position: absolute; z-index: 0; width: 70%; aspect-ratio: 1; right: -18%; top: -10%; border-radius: 50%;
    background: radial-gradient(circle, rgb(255 214 140 / .95) 0%, rgb(237 162 76 / .42) 38%, rgb(237 162 76 / 0) 70%);
    transform: translateY(calc(var(--p) * 180px));
  }

  .pull { border-left: 2px solid var(--accent); padding: 4px 0 4px clamp(18px, 2vw, 28px); }
  .pull p { font-family: var(--display); font-size: clamp(1.35rem, 1.05rem + 1vw, 2rem); line-height: 1.22; max-width: 28ch; }
  .pull footer { margin-top: 12px; font-size: .8rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--lede); }

  .pull-dusk { border-left-color: var(--glow); margin-top: clamp(28px, 3vw, 44px); }
  .pull-dusk p { font-size: clamp(1.2rem, 1rem + .7vw, 1.6rem); color: var(--dusk-fg); max-width: 34ch; }
  .pull-dusk footer { color: var(--dusk-muted); }
  .faq { border-top: 1px solid var(--line); }
  .faq details { border-bottom: 1px solid var(--line); }
  .faq summary { list-style: none; position: relative; padding: 20px 44px 20px 0; font-family: var(--display); font-size: clamp(1.2rem, 1rem + .6vw, 1.6rem); line-height: 1.25; }
  .faq summary::-webkit-details-marker { display: none; }
  .faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 13px; height: 13px; border-right: 1.5px solid var(--fg); border-bottom: 1.5px solid var(--fg); transform: translateY(-70%) rotate(45deg); transition: transform .3s var(--ease); }
  .faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
  .faq summary:hover { color: var(--accent); }
  .faq details p { margin: 0 0 22px; max-width: 62ch; color: var(--lede); }

  /* Staging: a slot or sentence waiting on Justin (data-needs-check). Removed before launch. */
  .needs-slot { display: grid; align-content: center; gap: 10px; min-height: 260px; padding: clamp(20px, 3vw, 36px); border: 1.5px dashed var(--accent); border-radius: 4px; background: rgb(255 250 235 / .45); color: var(--lede); }
  .needs-slot p { max-width: 40ch; }
  .needs-slot-label { font-size: .76rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
  .needs-note { max-width: 56ch; margin: 20px 0; padding-left: 14px; border-left: 2px dashed var(--accent); color: var(--lede); font-size: .95rem; }
  .block-note { margin-top: 18px; max-width: 56ch; color: var(--lede); font-size: .95rem; }

  .price-line { font-family: var(--display); font-size: clamp(1.6rem, 1.2rem + 1vw, 2.3rem); color: var(--accent); margin-top: 18px; }

  /* Book band */
  .book { position: relative; overflow: hidden; display: grid; align-items: end; min-height: min(88vh, 900px); color: var(--dusk-fg); background: var(--dusk); }
  .book-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .book::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgb(26 32 18 / .92) 0%, rgb(26 32 18 / .64) 45%, rgb(26 32 18 / .05) 82%); }
  .book-inner { position: relative; z-index: 2; padding-block: clamp(64px, 10vw, 160px); }
  .book h2 { font-size: clamp(2.6rem, 1.5rem + 4vw, 5.6rem); max-width: 11ch; color: var(--glow); }
  .book p { max-width: 38ch; margin: 22px 0 30px; }
  .book-compact { min-height: min(70vh, 720px); }
  /* Wide screens: the portrait sits whole-ish beside the text instead of a dark full-bleed crop. */
  @media (min-width: 861px) {
    .book, .book-compact { min-height: 0; grid-template-columns: minmax(0, 1fr) minmax(0, 42%); align-items: center; }
    .book::before { display: none; }
    .book-bg { position: relative; grid-column: 2; grid-row: 1; height: min(88vh, 900px); }
    .book-compact .book-bg { height: min(76vh, 760px); }
    .book-inner { grid-column: 1; grid-row: 1; width: auto; margin: 0 var(--gap) 0 max(calc((100vw - 1680px) / 2), calc(clamp(32px, 6vw, 112px) / 2)); }
  }

  /* Reveal motion: only after JS opts in and motion is allowed */
  .motion [data-reveal] { transition: opacity .9s var(--ease), transform .9s var(--ease); }
  .motion [data-reveal]:not(.is-in) { opacity: .001; transform: translateY(28px); }

  @media (max-width: 860px) {
    .section-head { grid-template-columns: minmax(0, 1fr); }
    .facts-four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .facts-four div:nth-child(3) { padding-left: 0; border-left: 0; }
    .facts-four div:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 18px; }
    .book::before { background: linear-gradient(0deg, rgb(26 32 18 / .94) 0%, rgb(26 32 18 / .58) 58%, rgb(26 32 18 / .1) 100%); }
  }
  @media (max-width: 560px) {
    .facts:not(.facts-four) { grid-template-columns: minmax(0, 1fr); }
    .facts:not(.facts-four) div, .facts:not(.facts-four) div + div { display: flex; gap: 12px; align-items: baseline; padding: 14px 0; border-left: 0; border-bottom: 1px solid var(--line); }
    .facts:not(.facts-four) dd { margin: 0; }
    .actions .btn { flex: 1 1 auto; }
  }
}

@layer pages {
  /* Home: hero */
  .hero { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: var(--gap); align-items: center; padding: clamp(12px, 3vw, 48px) 0 var(--section); }
  .hero h1 { font-size: clamp(2.8rem, 1.5rem + 3.8vw, 5.4rem); max-width: 11ch; }
  .hero-photo, .intro-photo { position: relative; justify-self: end; width: min(100%, 660px); }
  .hero-photo img, .intro-photo img { position: relative; z-index: 1; width: 100%; aspect-ratio: 2 / 3; max-height: 86vh; object-fit: cover; border-radius: 2px; box-shadow: 0 30px 60px -30px rgb(60 48 14 / .55); }

  /* Home: countdown to sunset */
  .countdown { display: grid; grid-template-columns: minmax(200px, .6fr) minmax(0, 2fr); gap: 0 var(--gap); padding-block: var(--section); }
  .countdown .section-head { grid-column: 1 / -1; }
  .dial { position: sticky; top: 12vh; height: 72vh; align-self: start; --sun-size: clamp(90px, 9vw, 150px); --moon-size: calc(var(--sun-size) * .42); }
  .dial-horizon { position: absolute; left: 0; right: 0; bottom: 18%; height: 1px; background: var(--fg); opacity: .5; }
  /* The sky ends at the horizon: the sun sets and the moon rises behind its bottom edge. */
  .dial-sky { position: absolute; left: 0; right: 0; top: 0; bottom: 18%; clip-path: inset(-100vh -100vw 0 -100vw); }
  /* --alt: sun height, 1 at 2:30 before sunset, 0 on the horizon, below 0 once it has set. */
  .dial-sun {
    position: absolute; left: 50%; translate: -50% 0; width: var(--sun-size); aspect-ratio: 1; border-radius: 50%;
    top: calc(100% - var(--alt, 1) * 85% - var(--sun-size) / 2);
    background: radial-gradient(circle at 50% 50%, var(--sun-1) 0%, var(--sun-2) 55%, var(--sun-3) 100%);
    box-shadow: 0 0 80px 10px rgb(237 162 76 / .4);
    transition: top .5s var(--ease);
  }
  /* Blue hour: a cool glow comes up where the sun went down (--blue), within the horizon line. */
  .dial-blue {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 50% 32% at 50% 100%, var(--blue-1) 0%, var(--blue-2) 32%, var(--blue-3) 62%, rgb(150 160 210 / .08) 84%, rgb(150 160 210 / 0) 100%);
    opacity: var(--blue, 0);
    transition: opacity .5s var(--ease);
  }
  /* The moon comes up a little on the right (--moon), like the moonrise Justin shoots into. */
  .dial-moon {
    position: absolute; left: 76%; translate: -50% 0; width: var(--moon-size); aspect-ratio: 1; border-radius: 50%;
    top: calc(100% - var(--moon, 0) * 34%);
    background:
      radial-gradient(circle at 64% 38%, rgb(178 181 196 / .5), rgb(178 181 196 / 0) 22%),
      radial-gradient(circle at 38% 64%, rgb(178 181 196 / .42), rgb(178 181 196 / 0) 27%),
      radial-gradient(circle at 40% 36%, var(--moon-1) 0%, var(--moon-2) 58%, var(--moon-3) 100%);
    box-shadow: 0 0 44px 6px rgb(206 218 245 / .6);
    opacity: var(--moon-o, 0);
    transition: top .5s var(--ease), opacity .5s var(--ease);
  }
  .dial::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 18%; background: color-mix(in oklab, var(--bg), var(--bg-dry) calc(var(--p) * 100%)); }
  .dial-read { position: absolute; z-index: 2; left: 0; bottom: calc(18% - 2.6em); font-family: var(--display); font-size: 1.4rem; }
  .timeline { list-style: none; display: grid; gap: clamp(56px, 8vw, 128px); }
  .stop { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 16px clamp(24px, 4vw, 64px); align-items: start; }
  .stop-time { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
  .clock { font-family: var(--display); font-size: clamp(2.6rem, 1.6rem + 3vw, 4.6rem); line-height: 1; font-variant-numeric: tabular-nums; color: var(--accent); }
  .rel { font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--lede); }
  .stop-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 2px; }
  figcaption { margin-top: 8px; font-size: .82rem; letter-spacing: .02em; color: var(--lede); }
  .stop-text h3 { font-size: clamp(1.7rem, 1.2rem + 1.4vw, 2.6rem); margin-bottom: 14px; }
  .stop-text p { max-width: 42ch; color: var(--lede); }
  .countdown .more-link { grid-column: 2; }

  /* Home: portfolio, whole photos in columns */
  .portfolio { padding-block: var(--section); }
  .gallery { columns: 4 200px; column-gap: clamp(12px, 1.6vw, 24px); }
  .shot { break-inside: avoid; margin-bottom: clamp(12px, 1.6vw, 24px); }
  .shot img { width: 100%; border-radius: 2px; }

  /* Home: seniors' own words, right after the portfolio */
  .voices { padding-block: 0 var(--section); }
  .voices-title { font-size: .8rem; font-family: var(--body); font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--lede); margin-bottom: 20px; }
  .voices-list { display: grid; grid-template-columns: 1.25fr 1fr .9fr; gap: clamp(24px, 4vw, 72px); border-top: 1px solid var(--line); padding-top: clamp(24px, 3vw, 40px); align-items: start; }
  .voice p { font-family: var(--display); font-size: clamp(1.3rem, 1rem + 1vw, 2.05rem); line-height: 1.24; max-width: 30ch; }
  .voice footer, .step-quote footer { margin-top: 14px; font-size: .8rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--fg); }
  .voice footer span, .step-quote footer span { font-weight: 600; color: var(--lede); letter-spacing: .14em; }

  /* Home: parents at dusk */
  .parents { background: linear-gradient(180deg, var(--dusk-2), var(--dusk)); color: var(--dusk-fg); }
  .parents-inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 32px var(--gap); padding-block: clamp(64px, 9vw, 140px); align-items: start; }
  .parents .eyebrow { color: var(--dusk-muted); }
  .parents h2 { font-size: clamp(2.2rem, 1.3rem + 3vw, 4.2rem); color: var(--glow); }
  .parents-head h2 + p { margin-top: 22px; color: var(--dusk-muted); max-width: 36ch; }
  .terms div { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 20px; padding: 18px 0; border-top: 1px solid var(--dusk-line); }
  .terms dt { font-weight: 600; letter-spacing: .02em; }
  .terms dd { color: var(--dusk-muted); }
  .term-price { color: var(--dusk-fg); font-family: var(--display); font-weight: 400; font-size: 1.5em; line-height: 1; }
  .parents-actions { grid-column: 2; }
  .link-light { color: var(--dusk-fg); font-weight: 600; }

  /* Home: spring */
  .spring { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gap); align-items: center; padding-block: var(--section); }
  .spring-photo img { width: 100%; max-height: 82vh; object-fit: contain; object-position: left center; border-radius: 2px; }
  .spring h2 { font-size: clamp(2rem, 1.3rem + 2.4vw, 3.6rem); max-width: 14ch; margin-bottom: 18px; }
  .spring p { max-width: 40ch; color: var(--lede); }

  /* Session page */
  .intro { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: var(--gap); align-items: center; padding: clamp(12px, 3vw, 48px) 0 clamp(40px, 6vw, 88px); }
  .intro h1 { font-size: clamp(2.8rem, 1.5rem + 3.8vw, 5.4rem); max-width: 12ch; }
  .intro-photo { width: min(100%, 520px); }
  .session-body { display: grid; grid-template-columns: minmax(180px, .5fr) minmax(0, 2fr); gap: var(--gap); padding-block: clamp(48px, 7vw, 112px) var(--section); }
  .toc { position: sticky; top: 24px; align-self: start; font-size: .95rem; }
  .toc-title { font-size: .78rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--lede); margin-bottom: 12px; }
  .toc ol { list-style: none; border-left: 1px solid var(--line); }
  .toc a { display: block; padding: 7px 0 7px 16px; margin-left: -1px; border-left: 2px solid transparent; text-decoration: none; color: var(--lede); }
  .toc a:hover, .toc a[aria-current="true"] { color: var(--fg); border-left-color: var(--accent); }
  .session-main { display: grid; gap: clamp(64px, 8vw, 120px); min-width: 0; }
  .block { scroll-margin-top: 24px; }
  .block > h2 { font-size: clamp(2rem, 1.3rem + 2.4vw, 3.6rem); margin-bottom: 22px; }
  .block-lede { color: var(--lede); max-width: 52ch; margin-bottom: 32px; }
  .clocklist { list-style: none; border-top: 1px solid var(--line); margin-bottom: 40px; }
  .clocklist li { display: grid; grid-template-columns: clamp(5.5rem, 9vw, 8.5rem) minmax(0, 1fr); gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
  .clocklist .clock { font-size: clamp(2rem, 1.4rem + 2vw, 3.2rem); }
  .clocklist h3 { font-size: clamp(1.3rem, 1.1rem + .6vw, 1.7rem); margin-bottom: 6px; }
  .clocklist p { color: var(--lede); max-width: 56ch; }
  .step-quote { margin-top: 16px; padding-left: 16px; border-left: 2px solid var(--accent); }
  .step-quote p { font-family: var(--display); font-size: clamp(1.1rem, 1rem + .4vw, 1.35rem); line-height: 1.3; color: var(--fg); max-width: 40ch; }
  .step-quote footer { margin-top: 8px; font-size: .74rem; }
  .quote-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
  .split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
  .split > div > p:not(.big-number) { color: var(--lede); max-width: 40ch; }
  .big-number { font-family: var(--display); font-size: clamp(3.4rem, 2rem + 5vw, 7rem); line-height: 1; color: var(--accent); margin-bottom: 14px; }
  .pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(10px, 1.4vw, 20px); }
  .pair img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 2px; }
  .price-card { display: grid; gap: 22px; padding: clamp(24px, 3vw, 44px); background: var(--dusk); color: var(--dusk-fg); border-radius: 4px; }
  .price-card-price strong { font-family: var(--display); font-weight: 400; font-size: clamp(2.6rem, 1.8rem + 3vw, 4.6rem); line-height: 1; color: var(--glow); }
  .price-card-price span { display: block; margin-top: 8px; color: var(--dusk-muted); }
  .pay-steps { list-style: none; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--dusk-line); }
  .pay-steps li { padding: 16px 16px 0 0; color: var(--dusk-muted); }
  .pay-steps li + li { padding-left: 16px; border-left: 1px solid var(--dusk-line); }
  .pay-pct { display: block; font-family: var(--display); font-size: clamp(1.8rem, 1.3rem + 1.4vw, 2.6rem); line-height: 1.1; color: var(--dusk-fg); }
  .pay-methods { color: var(--dusk-muted); }
  .price-card th a { padding-block: 12px; }
  .incl { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); }
  .incl h3 { font-size: 1.5rem; margin-bottom: 12px; }
  .ticks, .crosses { list-style: none; border-top: 1px solid var(--line); }
  .ticks li, .crosses li { position: relative; padding: 14px 0 14px 30px; border-bottom: 1px solid var(--line); }
  .ticks li::before { content: ""; position: absolute; left: 4px; top: 1.15em; width: 12px; height: 7px; border-left: 2px solid var(--btn); border-bottom: 2px solid var(--btn); transform: rotate(-45deg); }
  .crosses li { color: var(--lede); }
  .crosses li::before, .crosses li::after { content: ""; position: absolute; left: 3px; top: 1.35em; width: 14px; height: 1.5px; background: var(--lede); transform: rotate(45deg); }
  .crosses li::after { transform: rotate(-45deg); }
  .spring-block { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
  .spring-block img { width: 100%; border-radius: 2px; }
  .spring-block h2 { font-size: clamp(2rem, 1.3rem + 2.4vw, 3.6rem); margin-bottom: 18px; }
  .spring-block p { color: var(--lede); max-width: 40ch; }
  .spring-block .price-line { color: var(--accent); }

  @media (max-width: 1080px) {
    .countdown { grid-template-columns: minmax(0, 1fr); }
    .dial { display: none; }
    .countdown .more-link { grid-column: 1; }
    .session-body { grid-template-columns: minmax(0, 1fr); }
    .toc { position: static; }
    .toc ol { display: flex; flex-wrap: wrap; gap: 4px 0; border-left: 0; }
    .toc a { padding: 10px 14px 10px 0; border-left: 0; text-decoration: underline; text-decoration-color: var(--line); }
  }
  @media (max-width: 860px) {
    .hero, .intro { grid-template-columns: minmax(0, 1fr); }
    .hero-photo, .intro-photo { order: -1; justify-self: stretch; width: 100%; }
    .hero-photo img, .intro-photo img { aspect-ratio: 4 / 5; max-height: 72vh; }
    .sun { width: 60%; right: -12%; top: -6%; }
    .parents-inner, .spring, .split, .incl, .spring-block, .voices-list, .quote-row { grid-template-columns: minmax(0, 1fr); }
    .parents-actions { grid-column: 1; }
    .terms div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
    .spring-photo img { max-height: none; }
  }
  @media (max-width: 560px) {
    .gallery { columns: 2; }
    .stop { grid-template-columns: minmax(0, 1fr); }
    .clocklist li { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  }

  /* Shared page head (portfolio, journal, not found) */
  .page-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 var(--gap); align-items: end; padding: clamp(12px, 3vw, 48px) 0 clamp(32px, 5vw, 72px); }
  .page-head .eyebrow { grid-column: 1 / -1; }
  .page-head h1 { font-size: clamp(2.8rem, 1.5rem + 3.8vw, 5.4rem); max-width: 12ch; }
  .page-head .lede { margin: 0 0 18px; }
  .page-head-links { font-weight: 600; }
  .page-head .eyebrow a { text-decoration: none; }

  /* Portfolio: every library photo, whole, in columns */
  /* Justin, Nov 23: even tiles, a few photos 2x. 2:3 tiles in 2, 4 or 5 columns (row height from the
     container width); 2x tiles span two columns and two rows, the one landscape two columns. 80 cells, so
     every column count ends flush; dense packing fills any gap. Tiles crop gently, keeping heads (25%). */
  .portfolio-full { container-type: inline-size; padding-block: 0 var(--section); }
  .gallery-tiles { --cols: 2; --g: clamp(8px, 1vw, 16px); display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); grid-auto-rows: calc((100cqi - (var(--cols) - 1) * var(--g)) / var(--cols) * 1.5); grid-auto-flow: row dense; gap: var(--g); }
  @media (min-width: 600px) { .gallery-tiles { --cols: 4; } }
  @media (min-width: 1280px) { .gallery-tiles { --cols: 5; } }
  .gallery-tiles .shot { margin: 0; min-width: 0; min-height: 0; }
  .gallery-tiles .tile-2x { grid-column: span 2; grid-row: span 2; }
  .gallery-tiles .tile-wide { grid-column: span 2; }
  .gallery-tiles .shot img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; border-radius: 2px; }
  /* Justified rows: live-site order reads left to right, every photo whole.
     Each photo grows in proportion to its aspect ratio, so a row shares one height. */
  .gallery-rows { --row: clamp(200px, 20vw, 360px); --g: clamp(10px, 1.2vw, 20px); display: flex; flex-wrap: wrap; gap: var(--g); }
  .gallery-rows::after { content: ""; flex-grow: 999999; }
  .gallery-rows .shot { margin: 0; flex-grow: var(--ar); flex-basis: calc(var(--row) * var(--ar) / 1000); min-width: 0; }
  .gallery-rows .shot img { width: 100%; height: auto; border-radius: 2px; }
  .ar-667 { --ar: 667; } .ar-794 { --ar: 794; } .ar-795 { --ar: 795; } .ar-800 { --ar: 800; } .ar-818 { --ar: 818; } .ar-1500 { --ar: 1500; }

  /* Session page: rain and the other sessions */
  .rain-words { display: grid; gap: 28px; align-content: start; }
  /* Justin's rain photos (one session, his order): three across, two on phones */
  .rain-photos { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 20px); margin-top: clamp(32px, 4vw, 56px); }
  .rain-photos img { width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 2px; }
  .mini-sessions { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
  .mini-sessions li { border-bottom: 1px solid var(--line); }
  .mini-sessions li:nth-child(odd) { border-right: 1px solid var(--line); }
  .mini-sessions a { display: grid; gap: 4px; padding: 18px 18px 18px 0; text-decoration: none; }
  .mini-sessions li:nth-child(even) a { padding-left: 18px; }
  .mini-name { font-family: var(--display); font-size: clamp(1.3rem, 1.1rem + .6vw, 1.7rem); line-height: 1.15; }
  .mini-meta { color: var(--lede); font-size: .95rem; }
  .mini-sessions a:hover .mini-name { color: var(--accent); }

  /* Other sessions */
  .sessions { padding-block: clamp(24px, 4vw, 64px) var(--section); }
  .session-list { list-style: none; border-top: 1px solid var(--fg); counter-reset: s; }
  .session-row { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr) minmax(0, 1.2fr); gap: 20px clamp(24px, 4vw, 64px); padding-block: clamp(28px, 4vw, 56px); border-bottom: 1px solid var(--line); scroll-margin-top: 24px; counter-increment: s; }
  .session-head h2 { font-size: clamp(2rem, 1.3rem + 2.4vw, 3.6rem); }
  .session-head h2::before { content: counter(s, decimal-leading-zero); display: block; margin-bottom: 10px; font-family: var(--body); font-size: .78rem; font-weight: 700; letter-spacing: .2em; color: var(--lede); }
  .session-price { margin-top: 16px; font-family: var(--display); font-size: clamp(1.6rem, 1.2rem + 1vw, 2.3rem); line-height: 1.1; color: var(--accent); }
  .session-price span { display: block; margin-top: 6px; font-family: var(--body); font-size: .95rem; color: var(--lede); }
  .session-facts div { padding: 12px 0; border-top: 1px solid var(--line); }
  .session-facts div:first-child { border-top: 0; padding-top: 0; }
  .session-facts dt { font-size: .76rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--lede); }
  .session-facts dd { margin-top: 4px; font-weight: 500; }
  .session-text p { max-width: 44ch; }
  .session-text p + p { margin-top: 14px; }
  .session-open { color: var(--lede); }
  .session-ask { font-weight: 600; }
  .compare { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: var(--gap); align-items: center; padding-block: 0 var(--section); }
  .compare-photo img { width: 100%; border-radius: 2px; }
  .compare h2 { font-size: clamp(2rem, 1.3rem + 2.4vw, 3.6rem); max-width: 14ch; margin-bottom: 18px; }
  .compare-text > p:not(.eyebrow):not(.more-link) { max-width: 46ch; color: var(--lede); }

  /* Parents */
  .price-table { width: 100%; border-collapse: collapse; color: var(--dusk-muted); font-size: .95rem; }
  .price-table caption { text-align: left; padding-bottom: 8px; font-size: .76rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--dusk-muted); }
  .price-table th, .price-table td { padding: 12px 12px 12px 0; border-top: 1px solid var(--dusk-line); text-align: left; vertical-align: top; font-weight: 400; }
  .price-table th a { color: var(--dusk-fg); font-weight: 600; }
  .pay-list .clock { font-size: clamp(2rem, 1.4rem + 2vw, 3.2rem); }
  .pay-how { font-weight: 500; max-width: 52ch; }

  /* Journal */
  .journal { padding-block: 0 var(--section); }
  .journal-list { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
  .journal-link { display: grid; gap: 10px; text-decoration: none; }
  .journal-link img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 2px; }
  .journal-name { font-family: var(--display); font-size: 1.6rem; line-height: 1.15; }
  .journal-meta { color: var(--lede); font-size: .9rem; }
  .journal-empty { display: grid; gap: 12px; max-width: 60ch; padding-top: 28px; border-top: 1px solid var(--line); }
  .journal-empty-lede { font-family: var(--display); font-size: clamp(1.6rem, 1.2rem + 1vw, 2.3rem); }
  .post-meta { margin-bottom: 18px; font-size: .9rem; font-weight: 600; letter-spacing: .06em; color: var(--lede); }
  .post-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-block: 0 var(--section); }
  /* Journal post (Justin, Nov 21: larger images, a few hero frames). Whole photos in
     capture order: two across (an odd run ends three across), and hero and landscape
     frames on a row of their own. Frames in a row share one height by aspect class. */
  .post-photos { --g: clamp(12px, 1.6vw, 24px); display: grid; gap: var(--g); max-width: 1240px; padding-block: 0 var(--section); }
  .post-row { display: flex; justify-content: center; align-items: flex-start; gap: var(--g); }
  .post-row .shot { flex: var(--ar) 1 0; min-width: 0; margin: 0; }
  .post-row .shot img { width: 100%; height: auto; border-radius: 2px; }
  .post-solo .shot { flex: 0 1 calc((100% - var(--g)) / 2); }
  /* A hero stands alone, wider than a pair photo, and at most about 1.3 screens tall. */
  .post-hero { padding-block: clamp(8px, 2vw, 32px); }
  .post-hero .shot { flex: 0 1 auto; width: min(100%, 820px, calc((100vh - 2rem) * 1.3 * var(--ar) / 1000)); width: min(100%, 820px, calc((100svh - 2rem) * 1.3 * var(--ar) / 1000)); }

  /* Inquire */
  .inquire-note { margin: 28px 0 32px; max-width: 40ch; }
  .inquire-note p { font-family: var(--display); font-size: clamp(1.3rem, 1.05rem + .9vw, 1.9rem); line-height: 1.3; }
  .inquire-note .inquire-sign { margin-top: 14px; font-family: var(--body); font-size: .8rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--lede); }
  .inquire-sign::before { content: "— "; }
  .inquire-email .btn { white-space: normal; text-align: center; line-height: 1.25; padding-block: 12px; }
  .inquire { padding-block: clamp(40px, 6vw, 88px) var(--section); }
  .inquire-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gap); align-items: start; }
  .inquire h2 { font-size: clamp(2rem, 1.3rem + 2.4vw, 3.6rem); margin-bottom: 22px; }
  .form-slot { min-height: 360px; }

  /* Privacy note (/privacy) */
  .privacy { display: grid; gap: 18px; padding-block: 0 var(--section); }
  .privacy p { max-width: 62ch; }

  @media (max-width: 1080px) {
    .session-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .session-text { grid-column: 1 / -1; }
    .journal-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }
  @media (max-width: 860px) {
    .page-head, .compare, .inquire-grid { grid-template-columns: minmax(0, 1fr); }
    .page-head h1 { margin-bottom: 20px; }
    .session-row { grid-template-columns: minmax(0, 1fr); }
    .compare-photo { max-width: 420px; }
  }
  @media (max-width: 560px) {
    .mini-sessions { grid-template-columns: minmax(0, 1fr); }
    .mini-sessions li:nth-child(odd) { border-right: 0; }
    .mini-sessions li:nth-child(even) a { padding-left: 0; }
    .journal-list { grid-template-columns: minmax(0, 1fr); }
    .post-row { flex-direction: column; align-items: stretch; }
    .post-row .shot, .post-solo .shot, .post-hero .shot { flex: none; width: 100%; }
    .post-hero { padding-block: 0; }
    .rain-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .price-table td:nth-child(2) { display: none; }
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .sun { transform: none; }
}
