/* ==========================================================================
   Yours Fondly — pages in the home page's world (base_home.html).

   How It Works and the Guest Camera, written in home.css's vocabulary so a
   visitor who leaves the home page never changes sites: the same paper, ink
   and burnished accent, Instrument Serif at display sizes, the 1.8rem card
   frame, the 2.25rem dusk card, pills, and the same reveals. Nothing here
   introduces a token; every value is one home.css already uses.

   hp-*  shared by both pages
   hw-*  How It Works (the class names its script and tests rely on)
   gc-*  / gcv-*  the Guest Camera (gcv-* is what its reel script reads)
   ========================================================================== */

/* ---------- Shared: hero, section heads, frames, wells, the dusk card ---------- */
.hp-hero { position: relative; padding: 8.5rem 0 3rem; background: var(--paper); }
@media (min-width: 640px) { .hp-hero { padding: 10rem 0 4rem; } }
@media (min-width: 1024px) { .hp-hero { padding: 11rem 0 4.5rem; } }
.hp-hero__copy { max-width: 60rem; }
.hp-hero__title { margin-top: 1.25rem; font-size: clamp(2.9rem, 7vw, 6.4rem); }
.hp-hero__lede { max-width: 40rem; margin-top: 1.5rem; font-family: var(--display); font-style: italic; font-size: 1.25rem; line-height: 1.6; color: var(--muted); }
@media (min-width: 640px) { .hp-hero__lede { font-size: 1.5rem; } }
.hp-hero .hm-accent, .hp-head .hm-accent { font-style: italic; }

/* the hero's three reassurances: the home hero's dotted points, in ink */
.hp-points { display: flex; flex-wrap: wrap; gap: .625rem 1.5rem; margin-top: 1.75rem; font-size: .875rem; color: var(--muted-2); }
.hp-points li { display: flex; align-items: center; gap: .5rem; }
.hp-points li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); opacity: .7; }

.hp-sec { position: relative; padding: 3.5rem 0; scroll-margin-top: 6rem; }
@media (min-width: 640px) { .hp-sec { padding: 4.5rem 0; } }
@media (min-width: 1024px) { .hp-sec { padding: 5.5rem 0; } }
.hp-head { max-width: 48rem; }
.hp-head__title { margin-top: 1rem; font-size: clamp(2.6rem, 5.2vw, 4.75rem); }
.hp-head__lede { max-width: 42rem; margin-top: 1.25rem; font-size: 1rem; line-height: 1.75rem; color: var(--muted); }
@media (min-width: 640px) { .hp-head__lede { font-size: 1.125rem; } }

/* a picture of the product sits in the home page's card frame */
.hp-frame { position: relative; display: block; overflow: hidden; border-radius: 1.8rem; border: 1px solid rgba(47, 36, 27, .08); background: var(--sand); box-shadow: 0 18px 48px rgba(47, 36, 27, .08); }
.hp-cap { margin-top: 1rem; font-size: 10px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.hp-cap--center { text-align: center; }

/* the sand well: home's light offer card, used to hold one demonstration */
.hp-well { padding: 1.75rem; border-radius: 2.25rem; border: 1px solid rgba(138, 90, 43, .14); background: linear-gradient(180deg, #f5ebd3, #f1e4c4); box-shadow: 0 30px 80px rgba(47, 36, 27, .08); }
@media (min-width: 640px) { .hp-well { padding: 2.5rem; } }
@media (min-width: 1024px) { .hp-well { padding: 3.5rem; } }

/* the dusk card: home's dark offer card */
.hp-dusk { padding: 2rem 1.75rem; border-radius: 2.25rem; background: var(--dusk); color: #fcf7ed; box-shadow: 0 30px 80px rgba(41, 35, 31, .22); }
@media (min-width: 640px) { .hp-dusk { padding: 3rem 2.5rem; } }
@media (min-width: 1024px) { .hp-dusk { padding: 4rem; } }
.hp-dusk--center { text-align: center; }
.hp-dusk__title { margin-top: 1.25rem; font-size: clamp(2.6rem, 5vw, 4.75rem); }
.hp-dusk__title em { font-style: italic; color: #e8cfa4; }
.hp-dusk__lede { max-width: 40rem; margin-top: 1.25rem; font-size: .9375rem; line-height: 1.75rem; color: rgba(252, 247, 237, .74); }
@media (min-width: 640px) { .hp-dusk__lede { font-size: 1.0625rem; } }
.hp-dusk--center .hp-dusk__title, .hp-dusk--center .hp-dusk__lede { margin-inline: auto; }
.hp-dusk--center .hp-dusk__title { max-width: 16ch; }
.hp-dusk :focus-visible { outline-color: var(--gold); }

.hp-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; margin-top: 2rem; }
.hp-actions--center { justify-content: center; }

/* links inside running copy */
.hm-fcard__text a, .hm-acc__inner a { color: var(--accent); text-decoration: underline; text-decoration-color: rgba(138, 90, 43, .35); text-underline-offset: 4px; }
.hm-fcard__text a:hover, .hm-acc__inner a:hover { text-decoration-color: currentColor; }

/* ==========================================================================
   How It Works
   ========================================================================== */
.hw-hero__fig { margin: 3rem 0 0; }
@media (min-width: 1024px) { .hw-hero__fig { margin-top: 4rem; } }
/* the band takes the Studio's own proportion, so the window is shown whole */
.hw-hero__media { width: 100%; aspect-ratio: 1800 / 810; }
@media (max-width: 767px) { .hw-hero__media { aspect-ratio: 4 / 3; } }
.hw-frame { position: absolute; inset: 0; display: block; opacity: 0; will-change: opacity; transition: opacity .25s ease; }
.hw-frame.is-on { opacity: 1; transition: opacity .25s ease .25s; }
.hw-frame img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: top center; }
.hw-palname { color: var(--accent); transition: opacity .25s ease; }
.hw-palname.is-turning { opacity: 0; }

/* ---------- The walkthrough ---------- */
.hw-walk { display: grid; gap: 2rem; margin-top: 2.5rem; align-items: start; }
@media (min-width: 992px) { .hw-walk { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(2.5rem, 5vw, 5rem); margin-top: 3.5rem; } }
.hw-stage { display: none; }
@media (min-width: 992px) { .hw-stage { display: block; position: sticky; top: 7.5rem; order: 2; } }
.hw-stage__frame { aspect-ratio: 3 / 2; }
.hw-stage__img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; opacity: 0; transform: scale(1.03);
  transition: opacity .7s var(--ease-out), transform 1.2s var(--ease-out); }
.hw-stage__img.is-on { opacity: 1; transform: none; }
.hw-stage__meta { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-top: 1.25rem; }
.hw-stage__step { font-size: 10px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); }
.hw-stage__clock { font-family: var(--display); font-style: italic; font-size: 1.5rem; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
/* how far through the twenty minutes you are; driven every frame from scroll */
.hw-rail { position: relative; height: 1px; margin-top: .875rem; background: var(--line-2); }
.hw-rail__fill { position: absolute; left: 0; top: 0; width: 100%; height: 1px; background: var(--accent); transform: scaleX(.02); transform-origin: left; }

.hw-steps { order: 1; border-top: 1px solid var(--line-2); }
.hw-step { padding: 2rem 0; border-bottom: 1px solid var(--line-2); scroll-margin-top: 7rem; }
@media (min-width: 992px) { .hw-step { min-height: 54vh; display: flex; flex-direction: column; justify-content: center; padding: 2.5rem 0; } }
.hw-step__top { display: flex; align-items: center; gap: .875rem; margin-bottom: 1rem; }
.hw-step__n { font-size: 10px; font-weight: 600; letter-spacing: .2em; color: var(--accent); }
.hw-step__tick { flex: 1 1 auto; height: 1px; background: var(--line); }
.hw-step__time { font-size: .6875rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.hw-step h3 { font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 3.4vw, 2.75rem); line-height: 1.02; letter-spacing: -.035em; color: var(--ink); }
.hw-step__line { max-width: 40ch; margin-top: .875rem; font-family: var(--display); font-style: italic; font-size: 1.25rem; line-height: 1.5; color: var(--accent); }
.hw-step__plain { max-width: 46ch; margin-top: .75rem; font-size: .9375rem; line-height: 1.75rem; color: var(--muted-2); }
/* The steps not being read recede, but they are real reading content, so the
   dim stays legible: at .75 the muted body is ~5:1 on paper, and the accent
   line borrows the darker muted-2 until its step is the active one. */
@media (min-width: 992px) {
  .hw-step { opacity: .75; transition: opacity .5s var(--ease-out); }
  .hw-step.is-active { opacity: 1; }
  .hw-step:not(.is-active) .hw-step__line { color: var(--muted-2); }
}
/* on phones the panel cannot hold, so each step carries its own picture */
.hw-step__fig { margin: 1.5rem 0 0; aspect-ratio: 3 / 2; border-radius: 1.4rem; }
.hw-step__fig img { width: 100%; height: 100%; max-width: none; object-fit: cover; }
@media (min-width: 992px) { .hw-step__fig { display: none; } }
.hw-total { margin-top: 3rem; text-align: center; font-family: var(--display); font-style: italic; font-size: clamp(1.4rem, 2.6vw, 2rem); color: var(--muted); }

/* ---------- Two sides: the home page's beliefs, with its pill toggle ---------- */
.hw-sides { display: grid; gap: 2rem; }
@media (min-width: 1024px) { .hw-sides { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(3rem, 7vw, 6.5rem); align-items: start; } }
@media (min-width: 1024px) { .hw-sides__head { position: sticky; top: 7.5rem; } }
.hw-switch { margin-top: 2rem; }
.hw-switch__track { position: relative; }
.hw-switch__btn { position: relative; z-index: 1; }
/* one ink pill slides between the two; until script has sized it, the
   selected button simply carries the toggle's own ink */
.hw-switch__ink { position: absolute; left: 0; top: .25rem; bottom: .25rem; width: 0; border-radius: 999px; background: var(--ink); opacity: 0;
  transition: transform .34s var(--ease-out), width .34s var(--ease-out); }
.hw-switch__track.is-inked .hw-switch__ink { opacity: 1; }
.hw-switch__track.is-inked .hw-switch__btn.is-on { background: none; }
.hw-switch__track.is-inked .hw-switch__btn.is-on:hover { color: var(--paper); }
.hw-panel[hidden] { display: none; }
.hw-panel__row { display: grid; gap: .5rem; padding: 1.25rem 0; }
@media (min-width: 1024px) { .hw-panel__row:first-child { padding-top: .5rem; } }
.hw-panel__row + .hw-panel__row { border-top: 1px solid var(--line-2); }
.hw-panel__row h3 { font-family: var(--display); font-weight: 400; font-size: clamp(1.65rem, 2.3vw, 2.1rem); line-height: 1.1; letter-spacing: -.025em; color: var(--ink); }
.hw-panel__row p { max-width: 44ch; font-size: 1rem; line-height: 1.7; color: var(--muted-2); }
/* a switch is pressed repeatedly, so the rows arrive quickly */
.hw-panel__row { animation: hpRowIn .4s var(--ease-out) both; }
.hw-panel__row:nth-child(2) { animation-delay: 55ms; }
.hw-panel__row:nth-child(3) { animation-delay: 110ms; }
@keyframes hpRowIn { from { opacity: 0; transform: translateY(9px); } }

/* ---------- Open a real one ---------- */
.hw-proof { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 768px) { .hw-proof { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 3.5rem; } }
.hw-proof__p { max-width: 40rem; margin-top: 1.25rem; font-size: 1rem; line-height: 1.8; color: var(--muted-2); }

/* the phone: home's device bezel */
.hw-device { width: min(302px, 76vw); margin: 0 auto; }
.hw-device__frame { position: relative; aspect-ratio: 390 / 660; padding: .42rem; border-radius: 2.2rem; border: 1px solid rgba(255, 255, 255, .22); background: #0c0a0b; box-shadow: 0 30px 80px rgba(47, 36, 27, .35); }
.hw-device__screen { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 1.85rem; background: #171214; }
.hw-device__still { width: 100%; height: 100%; max-width: none; object-fit: cover; }
/* rendered at a real phone width and scaled to fit, so the guest's view is shown, not squeezed */
.hw-device__frame iframe { position: absolute; top: 0; left: 0; width: 390px; height: 660px; transform-origin: top left; border: 0; opacity: 0; transition: opacity .5s var(--ease-out); }
.hw-device.is-open .hw-device__frame iframe { opacity: 1; }
.hw-device__open { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .95rem; padding: 0; border: 0; cursor: pointer;
  color: var(--paper); background: linear-gradient(180deg, rgba(18, 13, 16, .3), rgba(18, 13, 16, .66)); transition: opacity .4s var(--ease-out); }
.hw-device.is-open .hw-device__open { opacity: 0; pointer-events: none; }
.hw-device__play { display: grid; place-items: center; width: 3.75rem; height: 3.75rem; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .45); background: rgba(252, 247, 237, .14);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: transform .18s var(--ease-out), background-color .2s; }
.hw-device__play svg { width: 1.1rem; height: 1.1rem; }
.hw-device__label { font-size: 10px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--blush); }
@media (hover: hover) and (pointer: fine) { .hw-device__open:hover .hw-device__play { background: rgba(252, 247, 237, .24); transform: scale(1.05); } }
.hw-device__open:active .hw-device__play { transform: scale(.97); }
.hw-device__open:focus-visible { outline: 3px solid var(--gold); outline-offset: -6px; }
.hw-device.is-loading .hw-device__play { animation: hpPulse 1.1s ease-in-out infinite; }
@keyframes hpPulse { 50% { opacity: .45; } }

/* ---------- The designs: home's browser frame ---------- */
.hw-designs__body { display: grid; gap: 2.5rem; }
@media (min-width: 992px) { .hw-designs__body { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(2.5rem, 5vw, 4.5rem); align-items: start; } }
.hw-designs__lede { max-width: 38rem; margin-top: 1.25rem; font-size: 1rem; line-height: 1.8; color: var(--muted-2); }
.hw-designs__rail { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }
@media (min-width: 992px) { .hw-designs__rail { flex-direction: column; gap: 0; border-top: 1px solid var(--line-2); } }
.hw-design { display: inline-flex; align-items: center; gap: .75rem; min-height: 2.75rem; padding: 0 1.1rem; border: 1px solid var(--line-2); border-radius: 999px; background: none; cursor: pointer;
  font-family: var(--display); font-size: 1.35rem; letter-spacing: -.02em; color: var(--muted); transition: color .2s, background-color .2s, border-color .2s; }
.hw-design:hover { color: var(--ink); background: var(--sand-2); }
.hw-design.is-on { color: var(--paper); background: var(--ink); border-color: var(--ink); }
.hw-design__go { display: none; width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 992px) {
  /* on a wide screen the rail is the home FAQ's ruled list, not a row of pills */
  .hw-design { justify-content: space-between; width: 100%; min-height: 4.25rem; padding: 0 .25rem; border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0; font-size: clamp(1.65rem, 2.2vw, 2.15rem); }
  .hw-design:hover { background: none; }
  .hw-design.is-on { color: var(--ink); background: none; }
  .hw-design__go { display: block; opacity: 0; transform: translateX(-6px); transition: opacity .2s, transform .2s var(--ease-out); color: var(--accent); }
  .hw-design.is-on .hw-design__go, .hw-design:hover .hw-design__go { opacity: 1; transform: none; }
}
.hw-designs__stage { display: grid; justify-items: center; gap: 1.5rem; }
.hw-device.hw-device--design { width: 100%; max-width: 48rem; }
.hw-device--design .hw-device__frame { aspect-ratio: auto; display: flex; flex-direction: column; padding: 0; overflow: hidden; border-radius: 1.35rem; background: #171214; }
.hw-device__bar { display: flex; height: 2.5rem; flex-shrink: 0; align-items: center; gap: .5rem; padding: 0 1rem; border-bottom: 1px solid rgba(255, 255, 255, .1); background: #251d21; }
.hw-device__bar > span:nth-child(-n+3) { width: 10px; height: 10px; border-radius: 50%; }
.hw-device__bar > span:nth-child(1) { background: #ff7c72; }
.hw-device__bar > span:nth-child(2) { background: #f5c451; }
.hw-device__bar > span:nth-child(3) { background: #65c466; }
.hw-device__url { flex: 1; min-width: 0; height: 1.5rem; margin-left: .5rem; padding: 0 .75rem; display: flex; align-items: center; overflow: hidden; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .08); background: rgba(0, 0, 0, .18);
  font-size: 10px; color: rgba(255, 255, 255, .48); white-space: nowrap; text-overflow: ellipsis; }
.hw-device--design .hw-device__screen { aspect-ratio: 16 / 10; height: auto; border-radius: 0; transition: opacity .35s var(--ease-out); }
.hw-device--design.is-swapping .hw-device__screen { opacity: .45; }
.hw-designs__caption { max-width: 40rem; text-align: center; }
.hw-designs__name { margin-top: .375rem; font-family: var(--display); font-size: 1.85rem; line-height: 1.15; letter-spacing: -.025em; color: var(--ink); }
.hw-designs__desc { margin-top: .5rem; font-size: .9375rem; line-height: 1.6; color: var(--muted-2); }
.hw-designs__open { display: inline-flex; align-items: center; min-height: 2.75rem; margin-top: .5rem; font-size: .875rem; font-weight: 500; color: var(--accent);
  text-decoration: underline; text-decoration-color: rgba(138, 90, 43, .35); text-underline-offset: 4px; }
.hw-designs__open:hover { text-decoration-color: currentColor; }

/* ==========================================================================
   The Guest Camera
   ========================================================================== */
.gc-hero__grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) { .gc-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: 3rem; } }
.gc-hero .hp-hero__title { font-size: clamp(2.9rem, 6.2vw, 5.75rem); }
.gc-hero__visual { display: flex; justify-content: center; }
.gc-hero__img { width: 100%; max-width: 40rem; height: auto; filter: drop-shadow(0 44px 72px rgba(47, 36, 27, .2)); }
@media (max-width: 1023.98px) { .gc-hero__img { max-width: 26rem; } }

/* the statement: home.js lights the words and darkens the paper */
.gc-statement__copy { position: relative; z-index: 20; display: flex; flex-direction: column; align-items: center; }
.gc-statement .hm-statement__copy { max-width: 18ch; font-size: clamp(2.5rem, 6vw, 6rem); }
.gc-statement__sub { max-width: 46ch; margin-top: 2rem; font-family: var(--display); font-style: italic; font-size: clamp(1.15rem, 1.9vw, 1.6rem); line-height: 1.5; text-align: center; text-wrap: balance; }

/* the film: a dark sheet that rises over the statement, as the home page's
   paper does — only here the sheet is the darkroom */
.gc-film { position: relative; z-index: 20; display: grid; align-content: center; min-height: 100vh; min-height: 100svh; padding: 6rem 0;
  border-radius: 2.25rem 2.25rem 0 0; background: var(--night); color: #fcf7ed; box-shadow: 0 -30px 80px rgba(18, 13, 16, .35); }
.js .gc-film { margin-top: -100vh; margin-top: -100svh; }
.gc-film__inner { max-width: 52rem; text-align: center; }
.gc-film__title { margin: 1.25rem auto 0; max-width: 14ch; font-size: clamp(2.75rem, 6vw, 5.5rem); }
.gc-film__title em { font-style: italic; color: #e8cfa4; }
.gc-film__body { max-width: 46ch; margin: 1.5rem auto 0; font-size: 1rem; line-height: 1.8; color: rgba(252, 247, 237, .74); }
@media (min-width: 640px) { .gc-film__body { font-size: 1.0625rem; } }
/* the roll counter from the home page's feature card, lit for the dark */
.gc-film__roll { display: grid; gap: .25rem; place-items: center; width: min(100%, 20rem); margin: 2.5rem auto 0; padding: 1.5rem 1rem; border-radius: 1.25rem; border: 1px solid rgba(232, 207, 164, .22); background: rgba(252, 247, 237, .04); }
.gc-film__k { font-size: .625rem; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: #e8cfa4; }
.gc-film__v { font-family: var(--display); font-style: italic; font-size: 2rem; line-height: 1.1; }
.gc-film__s { font-size: .75rem; color: rgba(252, 247, 237, .6); }
.gc-film__badges { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-top: 1.25rem; }
.gc-film__badges li { padding: .375rem .875rem; border-radius: 999px; border: 1px solid rgba(232, 207, 164, .35); font-size: .625rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: #e8cfa4; }
.gc-film :focus-visible { outline-color: var(--gold); }
.gc-after { position: relative; z-index: 20; background: var(--paper); }

/* features: home's cards, numbered */
.gc-fcard__n { font-size: 10px; font-weight: 600; letter-spacing: .2em; color: var(--accent); margin-bottom: 1rem; }
.gc-fcard .hm-fcard__title { font-size: 1.85rem; }
@media (min-width: 640px) { .gc-fcard { min-height: 15rem; padding: 1.5rem; } }

/* the reel */
.gcv-reel { display: grid; gap: 2.5rem; align-items: center; margin-top: 2.5rem; }
@media (min-width: 981px) { .gcv-reel { grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: clamp(2.5rem, 5vw, 4.5rem); margin-top: 3rem; } }
.gcv-reel__stage { position: relative; width: 100%; max-width: 300px; margin: 0 auto; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 1.5rem; border: 1px solid rgba(255, 255, 255, .22);
  background: #171214; box-shadow: 0 30px 80px rgba(47, 36, 27, .3); }
@media (min-width: 981px) { .gcv-reel__stage { max-width: none; } }
.gcv-reel__clip { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; background: #171214; opacity: 0; transition: opacity .6s ease; }
.gcv-reel__clip.is-live { opacity: 1; }
.gcv-reel__scrim { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(18, 13, 16, .55) 0, rgba(18, 13, 16, 0) 27%, rgba(18, 13, 16, 0) 56%, rgba(18, 13, 16, .74) 100%); }
/* an honest ten-second bar: scaleX only. The dark track keeps the gold fill
   readable even over a blown-out frame. */
.gcv-reel__bar { position: absolute; top: 0; left: 0; right: 0; height: 3px; background: rgba(18, 13, 16, .55); }
.gcv-reel__fill { display: block; height: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left center; }
.gcv-reel__stage.is-running .gcv-reel__fill { animation: gcProgress 10s linear both; }
@keyframes gcProgress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.gcv-reel__badge { position: absolute; top: .95rem; left: .95rem; display: inline-flex; align-items: center; gap: .45rem; padding: .375rem .75rem; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .3); background: rgba(18, 13, 16, .45); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-size: 10px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--paper); }
.gcv-reel__badge i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); animation: gcPulse 2s ease-out infinite; }
@keyframes gcPulse { 0% { box-shadow: 0 0 0 0 rgba(243, 216, 167, .55); } 70% { box-shadow: 0 0 0 7px rgba(243, 216, 167, 0); } 100% { box-shadow: 0 0 0 0 rgba(243, 216, 167, 0); } }
.gcv-reel__foot { position: absolute; left: 1.1rem; right: 1.1rem; bottom: 1rem; display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.gcv-reel__who { font-family: var(--display); font-size: 1.5rem; color: var(--paper); }
.gcv-reel__time { font-size: .6875rem; font-weight: 500; letter-spacing: .1em; color: rgba(252, 247, 237, .82); font-variant-numeric: tabular-nums; }
.gcv-reel__detail { min-width: 0; }
@media (max-width: 980px) { .gcv-reel__detail { text-align: center; } }
.gcv-reel__quote { max-width: 20ch; margin: 1rem 0 0; padding: 0; border: 0; font-family: var(--display); font-style: italic; font-size: clamp(2rem, 3.6vw, 3.25rem); line-height: 1.08; letter-spacing: -.03em; color: var(--ink); }
@media (max-width: 980px) { .gcv-reel__quote { margin-inline: auto; } }
.gcv-reel__by { margin-top: 1.25rem; font-size: .9375rem; color: var(--muted-2); }
.gcv-reel__by b { font-weight: 600; color: var(--ink); }
.gcv-reel__quote, .gcv-reel__by { transition: opacity .32s ease, transform .32s ease; }
.gcv-reel.is-swapping .gcv-reel__quote, .gcv-reel.is-swapping .gcv-reel__by { opacity: 0; transform: translateY(8px); }
.gcv-strip__hint { margin: 2rem 0 .875rem; padding-top: 1.25rem; border-top: 1px solid var(--line-2); font-size: .6875rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-2); }
.gcv-strip { display: flex; gap: .625rem; overflow-x: auto; padding: .25rem .125rem .5rem; scrollbar-width: none; scroll-snap-type: x proximity; }
.gcv-strip::-webkit-scrollbar { display: none; }
@media (max-width: 980px) { .gcv-strip { justify-content: center; justify-content: safe center; } }
.gcv-strip li { flex: 0 0 auto; scroll-snap-align: start; }
.gcv-strip__btn { position: relative; display: block; width: 3.75rem; aspect-ratio: 9 / 13; padding: 0; overflow: hidden; cursor: pointer; border-radius: .75rem; border: 1px solid var(--line-2);
  background: var(--sand); opacity: .55; filter: saturate(.7); transition: transform .3s var(--ease-out), box-shadow .3s, opacity .3s, filter .3s; }
.gcv-strip__btn img { width: 100%; height: 100%; max-width: none; object-fit: cover; }
.gcv-strip__btn:hover { opacity: .92; filter: none; transform: translateY(-3px); }
/* dimming must never dim the focus ring */
.gcv-strip__btn:focus-visible { opacity: 1; filter: none; }
.gcv-strip__btn[aria-current="true"] { opacity: 1; filter: none; border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent), 0 12px 24px -14px rgba(47, 36, 27, .55); }
.gcv-reel__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .625rem; margin-top: 1.25rem; font-size: .8125rem; color: var(--muted-2); }
@media (max-width: 980px) { .gcv-reel__meta { justify-content: center; } }
.gcv-reel__sep { width: 3px; height: 3px; border-radius: 50%; background: var(--accent); }

/* how it develops: three steps across the dusk card on a wide screen */
.gc-develop { display: grid; gap: 1.5rem; }
@media (min-width: 1024px) {
  .gc-develop__steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 2.5rem; border-top: 0; }
  .gc-develop__steps li { grid-template-columns: 1fr; border-top: 1px solid rgba(252, 247, 237, .14); }
}

/* why "film": the words solidify as it crosses the screen */
.gcv-story { padding: 5rem 0; text-align: center; }
@media (min-width: 1024px) { .gcv-story { padding: 7rem 0; } }
.gcv-story__body { max-width: min(68rem, 92vw); margin: 2rem auto 0; }
.gcv-story__lead { font-family: var(--display); font-size: clamp(2.1rem, 4.4vw, 4rem); line-height: 1.08; letter-spacing: -.035em; color: var(--ink); text-wrap: balance; }
.gcv-story__sub { max-width: 52ch; margin: 2rem auto 0; font-family: var(--display); font-style: italic; font-size: clamp(1.2rem, 2vw, 1.6rem); line-height: 1.55; color: var(--muted-2); text-wrap: balance; }
.gcv-story__body em { font-style: italic; color: var(--accent); }
.gcv-word { display: inline-block; }
.gcv-story.gcv-anim .gcv-word { opacity: .14; transition: opacity .45s ease; }
.gcv-story.gcv-anim .gcv-word.is-on { opacity: 1; }

/* ==========================================================================
   No script, and reduced motion: nothing hangs over anything.
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .js .gc-film { margin-top: 0; }
  .hw-stage__img { transition: opacity .2s linear; transform: none !important; }
  .hw-step { opacity: 1 !important; }
  .hw-panel__row, .gcv-reel__badge i { animation: none; }
}
