/* About: our story. Dark tokens from shared/kit.css. Every element's default
   is its finished state. The hero rises in with a CSS animation from the first
   paint (no script, so nothing flashes). The page has no script of its own. */

.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(32px, 5vw, 64px); }
.hero .h1 { color: var(--brand); margin-bottom: clamp(14px, 2vw, 22px); }
.hero__warm { margin-bottom: clamp(16px, 2.4vw, 26px); font-size: clamp(1.5rem, 3vw, 2.2rem); }
.hero__lede { color: var(--fg); font-size: clamp(1.25rem, 1vw + 1rem, 1.75rem); line-height: 1.35; margin: 0; }
@media (prefers-reduced-motion: no-preference) {
  html:not([data-motion="reduce"]) .hero__in > * { animation: about-rise .9s var(--ease-out) both; }
  html:not([data-motion="reduce"]) .hero__in > :nth-child(2) { animation-delay: .1s; }
  html:not([data-motion="reduce"]) .hero__in > :nth-child(3) { animation-delay: .2s; }
  html:not([data-motion="reduce"]) .hero__in > :nth-child(4) { animation-delay: .3s; }
  @keyframes about-rise { from { opacity: 0; transform: translateY(28px); } }
}


/* ---------- The story so far ----------
   One gallon to 1,200 barrels. Each era is a full-width band in its own colour (prepare.mjs,
   about-art.mjs); each stop has a drawing of the kit at that point and, where the story gives one,
   the figure. From 900px the drawing sits on the left and stays in view while its stop's words
   scroll past, then the next stop's drawing takes over: plain position: sticky, no script. The
   drawings are finished by default; where the browser has scroll timelines and motion is on, each
   one draws itself in as it comes into view. */
.tl { padding-top: clamp(40px, 6vw, 80px); }
.tl__h { margin: 0 0 clamp(18px, 3vw, 32px); font-size: 1.125rem; }
.tl__eras, .tl__stops { list-style: none; margin: 0; padding: 0; }
.tl__band { padding-block: clamp(48px, 8vw, 112px); }
.tl__eraHead { display: grid; gap: 4px; margin-bottom: clamp(28px, 5vw, 64px); }
.tl__eraNo { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 1.125rem; letter-spacing: .04em; }
.tl__era { margin: 0; font-size: clamp(2.8rem, 8vw, 6.4rem); }
.tl__eraline { margin: 6px 0 0; font-size: clamp(1.35rem, 2.6vw, 2.1rem); }
.tl__stop { display: grid; gap: 18px; padding-block: clamp(28px, 4vw, 48px); border-top: 1px solid var(--line); }
.tl__stop:first-child { border-top: 0; padding-top: 0; }
.tl__when { margin: 0 0 6px; font-weight: 700; }
.tl__title { font-size: clamp(1.8rem, 3vw, 2.6rem); margin: 0 0 12px; }
.tl__text p { line-height: 1.6; }
.tl__text > p:last-child { margin-bottom: 0; }
.tl__stop .chapter__quote { font-weight: 600; font-size: clamp(1.2rem, 1vw + 1rem, 1.5rem); line-height: 1.35; margin-top: 22px; }
.tl__stop .chapter__sign { font-family: var(--font-warm); font-weight: 400; font-size: 1.4rem; line-height: 1.15; }
.chapter__media { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 20px 0 0; max-width: 640px; }
.chapter__media--one { grid-template-columns: minmax(0, 1fr); max-width: 420px; }
.tl .media figcaption { color: inherit; }

.tl__stage { width: min(100%, 300px); }
.tl__figure { margin: 8px 0 0; font-size: clamp(1.9rem, 4vw, 3rem); line-height: .95; }
.tl__band:last-child .tl__stop:last-child .tl__figure { font-size: clamp(2.6rem, 6vw, 5rem); }

.sa { display: block; width: 100%; height: auto; overflow: visible; }
.sa path, .sa circle { fill: none; stroke: currentColor; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.sa .sa__tint { fill: currentColor; fill-opacity: .18; stroke: none; }
.sa .sa__thin { stroke-width: 2.5; }
.sa .sa__steam { stroke-opacity: .55; stroke-width: 3; }
.sa .sa__floor { stroke-opacity: .35; stroke-width: 2.5; }
.sa .sa__dot { fill: currentColor; stroke: none; }
.sa .sa__hand { stroke-width: 6; }
.sa .sa__stencil { fill: currentColor; font: 800 20px var(--font-display); letter-spacing: .12em; }

@media (min-width: 900px) {
  .tl__stop--art { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); column-gap: clamp(40px, 5vw, 80px); align-items: start; }
  .tl__stop:not(.tl__stop--art) .tl__text { grid-column: 2; }
  .tl__stop--art .tl__stage { width: 100%; position: sticky; top: calc(var(--header-h) + 32px); }
  /* Every other stop puts its drawing on the right, so the story swings side to side */
  .tl__stop--flip { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
  .tl__stop--flip .tl__stage { grid-column: 2; grid-row: 1; }
  .tl__stop--flip .tl__text { grid-column: 1; grid-row: 1; }
  .tl__stops { display: grid; grid-template-columns: minmax(0, 1fr); }
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    html:not([data-motion="reduce"]) .sa path:not(.sa__tint), html:not([data-motion="reduce"]) .sa circle:not(.sa__dot) {
      stroke-dasharray: 900; stroke-dashoffset: 0;
      animation: sa-draw linear both; animation-timeline: view(); animation-range: entry 0% cover 35%;
    }
    html:not([data-motion="reduce"]) .sa .sa__tint { animation: sa-fill linear both; animation-timeline: view(); animation-range: cover 20% cover 40%; }
    @keyframes sa-draw { from { stroke-dashoffset: 900; } }
    @keyframes sa-fill { from { fill-opacity: 0; } }
  }
}

.hl { border-block: 1px solid var(--line); padding-block: clamp(22px, 4vw, 40px); }
.hl__list { list-style: none; margin-block: 0; padding: 0; display: grid; gap: 18px 32px; }
.hl__list li { display: grid; gap: 4px; font-weight: 600; }
.hl__big { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(2rem, 4vw, 3.2rem); line-height: .95; color: var(--brand); }
@media (min-width: 760px) { .hl__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }


/* ---------- Photos (parallax box) ---------- */
.media { margin: 0; }
.media__box { position: relative; overflow: clip; border-radius: var(--radius); background: var(--surface-2); aspect-ratio: 3 / 2; }
.media__box img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media figcaption { margin-top: 8px; font-size: .9375rem; color: var(--muted); }

/* ---------- Who we are now (white band) ---------- */
.now { padding: clamp(56px, 8vw, 104px) 0; }
.now__grid { display: grid; gap: 20px 64px; align-items: start; }
@media (min-width: 900px) { .now__grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); } }
.now__copy p:last-child { margin-bottom: 0; }

/* ---------- Full-bleed people photo ---------- */
.bleed { position: relative; margin: 0; height: clamp(300px, 50vw, 640px); overflow: clip; background: var(--surface); }
.bleed__img { width: 100%; height: 100%; object-fit: cover; }
.bleed__cap { position: absolute; inset: auto 0 0; padding: 72px 0 clamp(20px, 4vw, 44px); background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, .68) 64px, rgba(0, 0, 0, .78) 100%); }
.bleed__cap .wrap { display: block; }
.bleed__cap .warm { font-size: clamp(1.6rem, 4vw, 3rem); color: var(--cream); }

/* ---------- Press: a plain quote card (the paper's headline, date, link) ---------- */
.press__grid { display: grid; gap: 40px 72px; align-items: center; }
@media (min-width: 900px) { .press__grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } }
.press .h2 { color: var(--brand); margin-bottom: 14px; }
.press__more { margin: 22px 0 0; }
.pressq { margin: 0; padding: clamp(24px, 4vw, 40px); border: 1px solid var(--line-strong); border-radius: var(--radius-lg); background: var(--surface); }
.pressq__q { margin: 0 0 10px; }
.pressq__q p { margin: 0; font-family: var(--font-body); font-weight: 700; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.2; }
.pressq__by { margin: 0 0 16px; font-weight: 600; color: var(--accent); }
.pressq__by cite { font-style: normal; }
.pressq__what { margin: 0 0 8px; }
.pressq__link { margin: 0; }
.pressq__link a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; text-underline-offset: 3px; }

/* ---------- Next steps (white band) ---------- */
.next { padding: clamp(40px, 6vw, 72px) 0; }
.next__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.next__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.next .btn { text-decoration: none; }

@media (hover: none) { .btn:hover { transform: none; } }

/* ---------- The team: one row per person, so a longer bio only makes its row taller ---------- */
.team__list { list-style: none; margin: 22px 0 0; padding: 0; border-top: 1px solid var(--line); }
.team__p { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 4px 20px; align-items: start; padding-block: 20px; border-bottom: 1px solid var(--line); }
.team__ph { grid-row: 1 / span 2; width: 96px; aspect-ratio: 1; display: grid; place-items: center; text-align: center; border-radius: var(--radius); background: var(--surface-2); border: 1px solid var(--line-strong); font-size: .8125rem; font-weight: 600; line-height: 1.2; color: var(--muted); }
.team__p h3 { margin: 0; font-size: 1.375rem; }
.team__p p { margin: 0; }
@media (min-width: 760px) {
  .team__p { grid-template-columns: 96px minmax(0, 1fr) minmax(0, 3fr); column-gap: 32px; }
  .team__ph { grid-row: auto; }
}
.team__tocome { margin: 20px 0 0; }

/* ---------- The film (a link out to Instagram, no embed) ---------- */
.film { border-top: 1px solid var(--line); padding-block: clamp(32px, 5vw, 56px); }
.film__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 40px; }
.film h2 { margin: 0; }
.film__go { margin: 0; }
.film__go svg { width: 20px; height: 20px; }

.film__photos { margin-top: clamp(14px, 2vw, 22px); margin-bottom: 0; }
body:has(.next) .site-footer { margin-top: 0; }
