/* About v2 — "Signature", refined. Page-only styles. */
body { background: var(--paper); }
video::-webkit-media-controls, video::-webkit-media-controls-start-playback-button { display: none !important; -webkit-appearance: none; }

/* ============================================================ signature (shared by hero + closing note) */
.sig svg { width: 100%; height: auto; overflow: visible; }
.sig text { font-family: "Mrs Saint Delafield", var(--f-it); font-size: 230px; font-weight: 400; }
.sig .sig-o { fill: none; stroke: var(--sig-ink, #fff); stroke-width: 1.3; }
.sig .sig-f { fill: var(--sig-ink, #fff); }
.sig .sig-u { fill: none; stroke: var(--red); stroke-width: 6; stroke-linecap: round; stroke-dasharray: var(--L, 1400); stroke-dashoffset: var(--L, 1400); }
.sig.is-signed .sig-u { transition: stroke-dashoffset 1s cubic-bezier(.65, 0, .25, 1); stroke-dashoffset: 0; }
.sig:not(.is-ready) text { visibility: hidden; }

/* ============================================================ hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr); align-items: end; overflow: hidden; color: #fff; background: var(--ink); }
.hero__media { position: absolute; inset: 0; transform: scale(1.08); animation: settle 7s var(--e-out) forwards; }
@keyframes settle { to { transform: scale(1); } }
.hero__media img, .hero__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__media video { opacity: 0; transition: opacity 1.2s ease; }
.hero__media.has-video video { opacity: 1; }
.hero__media::after { content: ""; position: absolute; inset: 0; background:
    radial-gradient(70% 60% at 22% 82%, rgba(12,12,13,.55), rgba(12,12,13,0) 70%),
    linear-gradient(180deg, rgba(12,12,13,.5) 0%, rgba(12,12,13,0) 24%, rgba(12,12,13,.22) 48%, rgba(12,12,13,.84) 86%, rgba(12,12,13,.95) 100%); }
.hero__in { position: relative; z-index: 2; width: 100%; padding-top: 140px; padding-bottom: clamp(4.6rem, 11vh, 7rem); }
.hero__top { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.hero h1 { font-size: clamp(1.35rem, 2.4vw, 2.2rem); line-height: 1.1; letter-spacing: -.03em; max-width: 24ch; }
.hero .sig { margin-top: clamp(.2rem, 1.2vh, 1rem); width: min(100%, 920px, 98vh); }
.hero__line { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1rem; align-items: center; margin-top: .3rem; max-width: 920px; font: 600 .72rem/1 var(--f-sans); letter-spacing: .18em; text-transform: uppercase; color: var(--on-dark-50); }
.hero__line > i { height: 1px; background: rgba(255,255,255,.38); }
.hero__line .x { font: 400 1.5rem/1 var(--f-it); letter-spacing: 0; text-transform: none; }
.hero__cue { display: inline-flex; align-items: center; gap: .6rem; font: 600 .78rem/1 var(--f-sans); color: var(--on-dark-70); }
.hero__cue i { width: 1px; height: 30px; background: linear-gradient(#fff, transparent); animation: cue 1.8s var(--e-io) infinite; transform-origin: 0 0; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: 0 0; } 51% { transform-origin: 0 100%; } 100% { transform: scaleY(0); transform-origin: 0 100%; } }

/* ============================================================ story (light) */
.story { padding: clamp(6rem, 13vw, 11rem) 0 clamp(5rem, 10vw, 9rem); }
.story__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 7vw, 8rem); align-items: start; }
.story__fig { position: sticky; top: 110px; }
.story__ph { position: relative; aspect-ratio: 4 / 5; border-radius: 18px; --clip-r: 18px; background: var(--bone); }
.story__ph img { width: 100%; height: 100%; object-fit: cover; }
.story__cap { margin-top: .9rem; display: flex; justify-content: space-between; gap: 1rem; font-size: .82rem; color: var(--mute); }
.story__txt { padding-top: clamp(0rem, 3vw, 3rem); }
.story__txt .h-2 { margin-top: 1.4rem; max-width: 13ch; }
.story__lede { margin-top: clamp(1.8rem, 3vw, 2.6rem); max-width: 34ch; font-size: clamp(1.15rem, 1.6vw, 1.42rem); line-height: 1.5; letter-spacing: -.01em; color: var(--ink); }
.story__more { margin-top: 1.1rem; max-width: 46ch; color: var(--mute); }
.ledger { margin-top: clamp(3rem, 6vw, 5rem); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line-2); }
.ledger li { padding: 1.5rem 1.2rem 1.6rem 0; border-bottom: 1px solid var(--line); }
.ledger li:nth-child(even) { padding-left: 1.6rem; border-left: 1px solid var(--line); }
.ledger b { display: block; font: 700 clamp(2.2rem, 4vw, 3.6rem)/1 var(--f-sans); letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.ledger b em { font-style: normal; color: var(--red); }
.ledger b.lic { font-size: clamp(1.25rem, 2.1vw, 1.8rem); letter-spacing: -.01em; line-height: 1.6; min-height: 1.6em; font-variant-numeric: tabular-nums; }
.ledger b.lic::after { content: ""; display: inline-block; width: 2px; height: .9em; margin-left: 3px; vertical-align: -.1em; background: var(--red); animation: caret .9s steps(1) infinite; }
.ledger b.lic.is-done::after { animation: none; opacity: 0; }
@keyframes caret { 50% { opacity: 0; } }
.ledger li > span { display: block; margin-top: .55rem; font-size: .88rem; color: var(--mute); }

/* ============================================================ crew strip (dark, drifts on its own) */
.crew { background: var(--ink); color: #fff; padding: clamp(5.5rem, 11vw, 9rem) 0 clamp(3rem, 5vw, 4.5rem); overflow: hidden; }
.crew__head { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem 3rem; flex-wrap: wrap; margin-bottom: clamp(2.4rem, 4.5vw, 4rem); }
.crew__link { display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; font-size: .95rem; padding-bottom: .35rem; border-bottom: 1px solid rgba(255,255,255,.35); transition: border-color .3s, gap .4s var(--e-out); }
.crew__link:hover { border-color: var(--red); gap: .9rem; }
.crew .marquee { --mq-gap: clamp(.7rem, 1.2vw, 1.2rem); --mq-dur: 40s; }
.crew .marquee + .marquee { margin-top: clamp(1.4rem, 2.4vw, 2.2rem); --mq-dur: 46s; }
.crew .marquee:hover .marquee__track { animation-play-state: paused; }
.shot { flex: none; width: clamp(220px, 25vw, 380px); }
.shot--w { width: clamp(300px, 36vw, 540px); }
.shot__im { height: clamp(165px, 19vw, 285px); border-radius: 14px; overflow: hidden; background: var(--char); }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--e-out); }
.shot:hover img { transform: scale(1.05); }
.shot figcaption { margin-top: .7rem; font-size: .8rem; color: var(--on-dark-50); }

/* ============================================================ values (dark, auto-steps) */
.vals { background: var(--ink); color: #fff; padding: clamp(1rem, 2vw, 2rem) 0 clamp(4rem, 8vw, 6rem); }
.vals__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2.5rem, 7vw, 8rem); align-items: center; padding-top: clamp(2.2rem, 4vw, 3.4rem); border-top: 1px solid var(--line-dark); }
.vals__list { margin-top: clamp(2rem, 4vw, 3.4rem); }
.val { border-top: 1px solid var(--line-dark); }
.val:last-child { border-bottom: 1px solid var(--line-dark); }
.val__btn { position: relative; display: grid; grid-template-columns: 3.2rem minmax(0, 1fr); align-items: baseline; width: 100%; padding: 1.35rem 0 1.25rem; text-align: left; color: rgba(255,255,255,.34); transition: color .5s; }
.val__btn:hover, .val.is-on .val__btn { color: #fff; }
.val__n { font: 700 .78rem/1 var(--f-sans); letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.val.is-on .val__n { color: var(--red); }
.val__t { font: 700 clamp(1.5rem, 2.6vw, 2.5rem)/1.05 var(--f-sans); letter-spacing: -.04em; }
.val__bar { position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--red); transform: scaleX(0); transform-origin: 0 50%; }
.val.is-on .val__bar { animation: fill var(--cycle, 2800ms) linear forwards; }
.vals.is-paused .val.is-on .val__bar, .vals.is-manual .val.is-on .val__bar { animation-play-state: paused; }
@keyframes fill { to { transform: none; } }
.val__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--e-out); }
.val.is-on .val__body { grid-template-rows: 1fr; }
.val__body > div { overflow: hidden; }
.val__body p { padding: 0 0 1.5rem 3.2rem; max-width: 40ch; color: var(--on-dark-70); opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .6s var(--e-out); }
.val.is-on .val__body p { opacity: 1; transform: none; transition-delay: .15s; }
.vals__pics { position: relative; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; background: var(--char); }
.vals__pics img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: inset(100% 0 0 0); transform: scale(1.12); transition: clip-path .7s var(--e-io), transform 1.6s var(--e-out); }
.vals__pics img.is-on { clip-path: inset(0 0 0 0); transform: scale(1); z-index: 2; }
.vals__pics img.was-on { clip-path: inset(0 0 0 0); transform: scale(1); z-index: 1; }
.vals__count { position: absolute; z-index: 3; right: 1rem; bottom: 1rem; padding: .45rem .75rem; border-radius: 999px; background: rgba(12,12,13,.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font: 700 .74rem/1 var(--f-sans); letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.vals__count b { color: #fff; }
.vals__count span { color: var(--on-dark-50); }

/* ============================================================ closing note (light) */
.close { padding: clamp(6rem, 12vw, 10rem) 0 clamp(6rem, 12vw, 10rem); background: var(--paper); }
.close__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(3rem, 8vw, 9rem); align-items: end; }
.note .h-2 { margin-top: 1.3rem; }
.note__body { margin-top: 1.6rem; max-width: 36ch; color: var(--mute); font-size: 1.05rem; }
.note .sig { --sig-ink: var(--ink); width: min(300px, 70%); margin-top: 1.8rem; }
.note .sig .sig-o { stroke-width: 2; }
.note .sig .sig-u { stroke-width: 9; }
.note__by { margin-top: .5rem; padding-top: .8rem; border-top: 1px solid var(--line-2); max-width: 300px; font: 600 .72rem/1.4 var(--f-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.ways li + li { margin-top: 0; }
.ways a { position: relative; display: grid; grid-template-columns: 3rem minmax(0, 1fr) auto; align-items: center; gap: 1rem; padding: clamp(1.4rem, 2.6vw, 2.1rem) clamp(.2rem, 1.4vw, 1.4rem); border-top: 1px solid var(--line-2); overflow: hidden; isolation: isolate; transition: color .45s var(--e-out); }
.ways li:last-child a { border-bottom: 1px solid var(--line-2); }
.ways a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: scaleY(0); transform-origin: 50% 100%; transition: transform .55s var(--e-io); }
.ways a:hover, .ways a:focus-visible { color: #fff; }
.ways a:hover::before, .ways a:focus-visible::before { transform: none; }
.ways__n { font: 700 .78rem/1 var(--f-sans); letter-spacing: .08em; color: var(--red); font-variant-numeric: tabular-nums; }
.ways__t { font: 700 clamp(1.45rem, 2.7vw, 2.5rem)/1.05 var(--f-sans); letter-spacing: -.04em; }
.ways__t small { display: block; margin-top: .45rem; font: 500 .92rem/1.3 var(--f-sans); letter-spacing: 0; color: var(--mute); transition: color .45s; }
.ways a:hover small, .ways a:focus-visible small { color: var(--on-dark-70); }
.ways__go { display: grid; place-items: center; width: clamp(44px, 4vw, 56px); height: clamp(44px, 4vw, 56px); border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-2); transition: background .45s, box-shadow .45s, transform .55s var(--e-out); }
.ways__go svg { width: 18px; height: 18px; transition: transform .55s var(--e-out); }
.ways a:hover .ways__go, .ways a:focus-visible .ways__go { background: var(--red); box-shadow: none; transform: rotate(-45deg); }
.ways a.is-main .ways__go { background: var(--red); color: #fff; box-shadow: none; }
.ways .live { display: inline-block; width: 8px; height: 8px; margin-right: .5rem; border-radius: 50%; background: #1ec96b; vertical-align: .1em; animation: live 2s infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(30,201,107,.55); } 70% { box-shadow: 0 0 0 9px rgba(30,201,107,0); } 100% { box-shadow: 0 0 0 0 rgba(30,201,107,0); } }

/* ============================================================ responsive */
@media (max-width: 900px) {
  .story__grid, .vals__grid, .close__grid { grid-template-columns: minmax(0, 1fr); }
  .story__ph { aspect-ratio: 4 / 3.6; }
  .story__txt { padding-top: 0; }
  .story__fig { position: static; }
  .vals__grid { row-gap: 0; }
  .vals__grid > div:first-child { display: contents; }
  .vals__grid .eyebrow { justify-self: start; }
  .vals__pics { aspect-ratio: 4 / 3; order: 3; margin-top: 2rem; }
  .vals__list { order: 4; }
  .close__grid { align-items: start; }
}
@media (max-width: 560px) {
  .hero__in { padding-bottom: calc(var(--callbar) + 4.6rem); }
  .hero__cue { display: none; }
  .hero h1 { font-size: 1.3rem; max-width: 18ch; }
  .hero .sig .sig-o { stroke-width: 2.4; }
  .hero__line { font-size: .62rem; letter-spacing: .14em; gap: .7rem; }
  .hero__line .x { font-size: 1.2rem; }
  .story__ph { aspect-ratio: 1 / 1; }
  .ledger li { padding-right: .6rem; }
  .ledger li:nth-child(even) { padding-left: 1rem; }
  .ledger b.lic { font-size: 1.05rem; }
  .crew .marquee { --mq-dur: 30s; }
  .crew .marquee + .marquee { --mq-dur: 34s; }
  .val__btn { grid-template-columns: 2.4rem minmax(0, 1fr); }
  .val__body p { padding-left: 2.4rem; }
  .ways a { grid-template-columns: 2rem minmax(0, 1fr) auto; gap: .7rem; }
  .ways__t small { font-size: .85rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__media { animation: none; transform: none; }
  .vals__pics img { transition: none; }
}

/* Devon's story chapters */
.chap { margin-top: clamp(1.8rem, 3vw, 2.4rem); max-width: 46ch; counter-reset: ch; }
.chap li { position: relative; padding: 1.1rem 0 1.1rem 2.6rem; border-top: 1px solid var(--line); counter-increment: ch; }
.chap li:last-child { border-bottom: 1px solid var(--line); }
.chap li::before { content: "0" counter(ch); position: absolute; left: 0; top: 1.25rem; font: 700 .7rem/1 var(--f-sans); letter-spacing: .14em; color: var(--red); }
.chap b { display: block; font-weight: 700; font-size: 1.05rem; letter-spacing: -.01em; }
.chap p { margin-top: .35rem; color: var(--mute); font-size: .98rem; line-height: 1.55; }
/* off the roof */
.off { padding: clamp(5.5rem, 11vw, 9rem) 0; background: var(--bone); }
.off__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2.5rem, 7vw, 7rem); align-items: center; }
.off .h-2 { margin-top: 1.2rem; }
.off__p { margin-top: 1.3rem; max-width: 42ch; color: var(--mute); font-size: 1.05rem; }
.off__p b { color: var(--ink); }
.off__q { position: relative; margin: 0; padding: clamp(2rem, 4vw, 3rem); border-radius: 22px; background: var(--ink); color: #fff; }
.off__q p { font: 400 clamp(1.5rem, 2.4vw, 2.2rem)/1.2 var(--f-it); font-style: italic; letter-spacing: -.01em; }
.off__q cite { display: block; margin-top: 1.4rem; font: 600 .72rem/1 var(--f-sans); letter-spacing: .18em; text-transform: uppercase; font-style: normal; color: var(--red); }
@media (max-width: 860px) { .off__grid { grid-template-columns: 1fr; } }

/* Devon's cut-out portrait: no frame — he sits on the page and fades into it */
.story__ph--cut { aspect-ratio: 4 / 5; border-radius: 0; background: none; overflow: visible; isolation: isolate; }
.story__ph--cut::before { content: ""; position: absolute; z-index: -1; left: 6%; right: 6%; top: 8%; bottom: 10%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(225,6,0,.13), rgba(225,6,0,.05) 55%, transparent 100%); filter: blur(10px); }
.story__ph--cut::after { content: ""; position: absolute; z-index: -1; left: 50%; bottom: 7%; width: 72%; height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, var(--line-2), transparent); }
.story__ph--cut img { object-fit: contain; object-position: 50% 100%; transform: translate3d(0, 24px, 0); opacity: 0; transition: transform 1.6s var(--e-out), opacity 1.2s var(--e-out);
  -webkit-mask-image: radial-gradient(100% 88% at 50% 18%, #000 50%, rgba(0,0,0,.5) 66%, transparent 80%); mask-image: radial-gradient(100% 88% at 50% 18%, #000 50%, rgba(0,0,0,.5) 66%, transparent 80%); }
.story__ph--cut.is-in img { transform: none; opacity: 1; }
@media (max-width: 860px) { .story__ph--cut { aspect-ratio: 1 / 1.05; } .story__ph--cut img { object-position: 50% 0; } }

/* values: Devon + his truck, cut out and blended into the dark page (no labels on him), parked in front of the
   active value in giant outline type; the three values sit side by side underneath */
.vals__grid { grid-template-columns: minmax(0, 1fr); gap: 0; align-items: start; }
/* compact so headline, truck and values fit roughly one screen (Alex: too much scrolling) */
.vt { position: relative; margin: clamp(.5rem, 1.2vw, 1rem) 0 0; aspect-ratio: 3.2 / 1; }
.vt > * { position: absolute; }
.vt__cut { left: 26.5%; width: 47%; height: auto; bottom: 5%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent), linear-gradient(0deg, transparent, #000 10%);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent), linear-gradient(0deg, transparent, #000 10%);
  -webkit-mask-composite: source-in; mask-composite: intersect;
  filter: brightness(.94) contrast(1.04); opacity: 0; transform: translate3d(7%, 0, 0); transition: opacity 1s .15s, transform 1.8s var(--e-out) .15s; }
.vt.is-in .vt__cut { opacity: 1; transform: none; }
.vt__floor { left: 29%; right: 25%; bottom: 0; height: 16%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,.9), transparent); }
.vt__glow { inset: 0 22% 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(225,6,0,.17), rgba(225,6,0,.05) 55%, transparent); filter: blur(16px); opacity: 0; transition: opacity 1.6s .4s; }
.vt.is-in .vt__glow { opacity: 1; }
.vt__word { display: grid; inset: 0; align-items: start; justify-items: center; padding-top: 0; }
.vt__word span { grid-area: 1 / 1; font: 800 clamp(3rem, 10.5vw, 10.5rem)/1 var(--f-sans); letter-spacing: -.055em; text-transform: uppercase; color: transparent;
  -webkit-text-stroke: 1.5px rgba(255,255,255,.26); opacity: 0; transform: translateY(12%); transition: opacity .25s, transform .4s; }
.vals[data-i="0"] .vt__word span:nth-child(1), .vals[data-i="1"] .vt__word span:nth-child(2), .vals[data-i="2"] .vt__word span:nth-child(3), .vals:not([data-i]) .vt__word span:nth-child(1) { opacity: 1; transform: none; transition: opacity .6s .28s, transform 1s var(--e-out) .28s; }  /* old word out first, then the new one rises */
.vals__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(1.5rem, 3.5vw, 3rem); margin-top: clamp(.5rem, 1.5vw, 1.2rem); }
.vals .val { border-bottom: 0; }
.vals .val__btn { grid-template-columns: 2.4rem minmax(0, 1fr); padding: 1.1rem 0 .5rem; }
.vals .val__bar { top: -1px; bottom: auto; height: 2px; }
.vals .val__body { grid-template-rows: 1fr; }
.vals .val__body p { padding: 0 0 0 2.4rem; opacity: .45; transform: none; transition: opacity .5s; }
.vals .val.is-on .val__body p { opacity: 1; }
@media (max-width: 860px) {
  .vt { order: 3; margin: .8rem calc(var(--gut) * -1) 0; aspect-ratio: 1 / .62; }
  .vt__cut { left: 9%; width: 82%; bottom: 6%; }
  .vt__floor { left: 12%; right: 10%; bottom: 1%; }
  .vt__glow { inset: 0 6%; }
  .vt__word { padding-top: 2%; }
  .vt__word span { font-size: 17vw; }
  .vals__list { grid-template-columns: minmax(0, 1fr); margin-top: .4rem; }
  .vals .val__btn { padding: .9rem 0 .35rem; }
  .vals .val__body p { padding-bottom: .9rem; }
}
@media (prefers-reduced-motion: reduce) { .vt__cut, .vt__glow, .vt__word span { transition: none; } }

/* no pulsing green "live" dots anywhere (Alex 2026-10-21: reads as an AI-template site) */
.ways .live { display: none !important; }
