/* ═══════════════════════════════════════════════
   Homepage — "Illuminate Today, Empower Tomorrow"
   Scoped to body.home; planning pages keep style.css as-is.
   Type: Bricolage Grotesque (display) · Instrument Serif (italic accent) · Instrument Sans (text)
   Colour: ink / volt / signal / paper — the logo's navy, sun and road, pushed to full contrast.
   ═══════════════════════════════════════════════ */

body.home {
  --ink:      #0A1036;   /* near-black navy — page dark */
  --ink-soft: #1A2466;
  --navy:     #1B2C80;   /* logo navy */
  --navy-deep:#0A1036;
  --volt:     #FFD400;   /* logo sun */
  --yolk:     #FFD400;
  --signal:   #E8262E;   /* logo road */
  --rose:     #E8262E;
  --paper:    #F4EFE4;
  --chalk:    #FFFFFF;
  --ink-2:    #3A4170;
  --ink-3:    #6B7094;
  --line:     #0A1036;
  --surface:  #FFFFFF;
  --bg:       var(--paper);

  --font-display: 'Bricolage Grotesque', 'Arial Narrow', sans-serif;
  --font-serif:   'Instrument Serif', Georgia, serif;
  --font-body:    'Instrument Sans', system-ui, sans-serif;

  --r-sm: 2px; --r-md: 3px; --r-lg: 4px; --r-pill: 2px;
  --sh-1: none;
  --hard: 6px 6px 0 var(--ink);
  --ease-snap: cubic-bezier(.2,.9,.1,1);

  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
}
.home ::selection { background: var(--volt); color: var(--ink); }
.home :focus-visible { outline: 3px solid var(--volt); outline-offset: 3px; }
.home h1, .home h2, .home h3 { font-family: var(--font-display); letter-spacing: -0.03em; }
.home .wrap { max-width: 1240px; padding: 0 20px; }
@media (min-width: 768px) { .home .wrap { padding: 0 40px; } }

/* 12-column scaffold for the asymmetric sections */
.h-grid { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 28px; }
@media (min-width: 900px) {
  .h-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 28px; row-gap: 0; }
}
/* below 900px every block takes the single column — the column spans below are desktop-only */
@media (max-width: 899px) {
  .h-grid > * { grid-column: 1 / -1 !important; grid-row: auto !important; }
}

/* small uppercase label */
.h-k { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-body); font-weight: 700;
  font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; }
.h-k::before { content: ""; width: 22px; height: 3px; background: currentColor; }
.h-serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }

/* ─── NAV ─── */
.home .nav { background: var(--ink); border-bottom: 1px solid rgba(255,255,255,.12); backdrop-filter: none; }
.home .nav-inner { height: 64px; }
.home .brand { color: var(--chalk); font-family: var(--font-display); font-weight: 800; letter-spacing: -0.02em; }
.home .brand .logo { background: var(--chalk); border-radius: 0; box-shadow: 3px 3px 0 var(--volt); width: 36px; height: 36px; padding: 2px; }
.home .nav-tabs { background: transparent; border: 0; box-shadow: none; padding: 0; gap: 2px; }
.home .nav-tabs a { position: relative; color: rgba(255,255,255,.72); font-family: var(--font-body); font-weight: 600; border-radius: 0; padding: 8px 12px; }
.home .nav-tabs a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; background: var(--volt);
  transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease-snap); }
.home .nav-tabs a:hover { color: var(--chalk); }
.home .nav-tabs a:hover::after { transform: scaleX(1); transform-origin: left; }
.home .nav-tabs a.active { background: transparent; color: var(--volt); box-shadow: none; }
.home .nav-tabs a.active::after { transform: scaleX(1); }
.home .nav-tabs a:not(.active):hover { color: var(--chalk); }

/* ─── REEL ─── */
.home .reel-hero { background: var(--ink); }
.home .reel-toggle { border-radius: 0; background: transparent; border: 1.5px solid rgba(255,255,255,.5); font-family: var(--font-body);
  letter-spacing: .08em; text-transform: uppercase; font-size: .7rem; padding: 8px 12px; transition: background .2s, color .2s, border-color .2s; }
.home .reel-toggle:hover { background: var(--volt); color: var(--ink); border-color: var(--volt); }

/* ─── BUTTONS + LINKS (micro-interactions) ─── */
.h-btn { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-body); font-weight: 700; font-size: .95rem;
  text-decoration: none; padding: 15px 22px; border: 2px solid var(--ink); color: var(--ink); border-radius: 0;
  background: linear-gradient(var(--ink), var(--ink)) no-repeat left / 0% 100%, var(--volt);
  box-shadow: 5px 5px 0 var(--chalk); transition: background-size .35s var(--ease-snap), color .25s, box-shadow .15s, transform .15s; }
.h-btn:hover { background-size: 100% 100%; color: var(--volt); }
.h-btn:active { transform: translate(5px, 5px); box-shadow: 0 0 0 var(--chalk); }
.h-btn .ar { display: inline-block; transition: transform .35s var(--ease-snap); }
.h-btn:hover .ar { transform: translateX(5px); }
.h-btn--ghost { background: linear-gradient(var(--chalk), var(--chalk)) no-repeat left / 0% 100%, transparent; color: var(--chalk);
  border-color: var(--chalk); box-shadow: none; }
.h-btn--ghost:hover { color: var(--ink); }
.h-btn--ghost:active { transform: translate(2px, 2px); }

.h-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; color: inherit;
  background: linear-gradient(currentColor, currentColor) no-repeat left bottom / 0% 2px; padding-bottom: 3px;
  transition: background-size .35s var(--ease-snap); }
.h-link:hover { background-size: 100% 2px; }
.h-link .ar { transition: transform .35s var(--ease-snap); }
.h-link:hover .ar { transform: translate(3px, -3px); }

/* scroll reveal */
.home .rv { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease-snap), transform .7s var(--ease-snap); }
.home .rv.in { opacity: 1; transform: none; }
.home .rv-d1 { transition-delay: .08s; } .home .rv-d2 { transition-delay: .16s; } .home .rv-d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .home .rv { opacity: 1; transform: none; } }

/* ─── INTRO ─── */
.h-intro { background: var(--ink); color: var(--chalk); padding: 72px 0 112px; position: relative; overflow: hidden; }
/* clip sideways only, so the logo's sunrays can spill softly upward instead of being cut in a hard line */
@supports (overflow: clip) { .h-intro { overflow-x: clip; overflow-y: visible; } }
.h-intro .h-k { color: var(--volt); grid-column: 1 / -1; margin-bottom: 28px; }
.h-intro h1 { grid-column: 1 / 10; font-weight: 800; font-size: clamp(3rem, 9.4vw, 8.4rem); line-height: .86; letter-spacing: -0.045em; }
.h-intro h1 .h-serif { display: block; color: var(--volt); font-size: 1.04em; line-height: .95; letter-spacing: -0.03em; padding-left: .9em; }
.h-intro h1, .h-intro-sub, .h-cta { position: relative; z-index: 2; }   /* text + buttons stay above the sunrays */
.h-logo-wrap { grid-column: 10 / 13; grid-row: 2 / 4; align-self: start; justify-self: end; width: 100%; max-width: 240px; position: relative; z-index: 1; }
/* official "on navy" logo variant — transparent PNG, sits straight on the dark hero (no card) */
.h-logo { position: relative; z-index: 1; transform: rotate(1.5deg); transition: transform .9s cubic-bezier(.22,1,.36,1); }
.h-logo-wrap.is-lit .h-logo { transform: rotate(0deg) translateY(-6px) scale(1.02); }
.h-logo img { display: block; width: 100%; height: auto; }
/* sunrays — canvas sits behind the logo, centred on the logo's sun (home.js) */
.h-rays { position: absolute; left: 50%; top: 50%; width: 340%; height: 300%; transform: translate(-50%, -50%); pointer-events: none; z-index: 0; }
.h-intro-sub { grid-column: 5 / 10; margin-top: 48px; font-size: 1.2rem; line-height: 1.55; color: rgba(255,255,255,.82); }
.h-intro-sub b { color: var(--chalk); }
.h-cta { grid-column: 5 / 12; display: flex; flex-wrap: wrap; gap: 18px; margin-top: 32px; }
@media (max-width: 899px) {
  .h-intro { padding: 48px 0 72px; }
  .h-intro .h-k { margin-bottom: 0; }
  .h-intro h1 .h-serif { padding-left: .4em; }
  .h-logo-wrap { justify-self: start; max-width: 180px; }
  .h-logo { transform: rotate(-1deg); }
  .h-intro-sub { margin-top: 0; }
  .h-cta { margin-top: 0; }
}

/* ─── IMPACT ─── */
.h-impact { background: var(--ink); color: var(--chalk); padding-bottom: 96px; }
.h-big { grid-column: 1 / 8; background: var(--volt); color: var(--ink); padding: 40px 40px 36px; margin-top: -56px; position: relative;
  box-shadow: 0 14px 0 var(--signal); }
.h-big .h-k { color: var(--ink); }
.h-big strong { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(3.4rem, 10vw, 8rem); line-height: .9;
  letter-spacing: -0.05em; margin: 18px 0 14px; font-variant-numeric: tabular-nums; }
.h-big p { font-size: 1.05rem; max-width: 34ch; font-weight: 500; }
.h-stats { grid-column: 9 / 13; list-style: none; align-self: end; }
.h-stats li { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 18px; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.22); }
.h-stats li:last-child { border-bottom: 1px solid rgba(255,255,255,.22); }
.h-stats strong { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1; color: var(--volt);
  letter-spacing: -0.04em; min-width: 2.2ch; }
.h-stats span { font-size: .95rem; color: rgba(255,255,255,.8); }
@media (max-width: 899px) {
  .h-big { margin-top: -40px; padding: 28px 24px 26px; }
}

/* ─── SECTION HEADERS (asymmetric: title left, lead right) ─── */
.h-sec { padding: 120px 0; }
.h-head { margin-bottom: 56px; align-items: end; }
.h-head .h-k { grid-column: 1 / -1; margin-bottom: 20px; }
.h-head h2 { grid-column: 1 / 8; font-weight: 800; font-size: clamp(2.3rem, 5.6vw, 4.6rem); line-height: .95; letter-spacing: -0.04em; }
.h-head h2 .h-serif { font-weight: 400; }
.h-head .h-lead { grid-column: 9 / 13; font-size: 1.05rem; color: var(--ink-2); }
@media (max-width: 899px) { .h-sec { padding: 80px 0; } .h-head { margin-bottom: 36px; } }

/* ─── LIVE SOLAR (restyle of solar-live.css to the homepage system) ─── */
.home #solar-live { background: var(--paper); padding: 120px 0; }
.home #solar-live .h-k { color: var(--signal); }
.home #solar-live h2 span { color: var(--signal); }
@media (min-width: 900px) { .home .sl-grid { grid-template-columns: 5fr 7fr; gap: 28px; align-items: stretch; } }
.home .sl-card { border-radius: 0; box-shadow: var(--hard); }
.home .sl-weather { border: 2px solid var(--ink); }
.home .sl-sky { background: var(--chalk); color: var(--ink); border-bottom: 2px solid var(--ink); }
.home #solar-live.is-night .sl-sky { background: var(--ink); }
.home .sl-sun, .home .sl-sun > div + div { border-color: var(--ink); }
.home .sl-chip { border-radius: 0; background: var(--ink); color: var(--volt); }
.home .sl-bar { border-radius: 0; height: 18px; border: 2px solid var(--ink); background: var(--paper); }
.home .sl-save { background: var(--ink); border: 2px solid var(--ink); box-shadow: 6px 6px 0 var(--volt); }
.home .sl-save::after { height: 8px; }
.home .sl-rm { font-size: clamp(3.4rem, 8vw, 5.6rem); letter-spacing: -0.05em; }
.home .sl-stat { border-radius: 0; background: transparent; border: 0; border-top: 2px solid rgba(255,255,255,.25); padding: 12px 0 0; }
.home .sl-stat b { font-size: 1.6rem; color: var(--volt); }
.home .sl-how { border-radius: 0; background: rgba(255,255,255,.06); }
.home .sl-how summary::before { border-radius: 0; }
.home .sl-live { border-radius: 0; }

/* ─── VIDEOS ─── */
.h-videos { background: var(--ink); color: var(--chalk); }
.h-videos .h-k { color: var(--volt); }
.h-videos .h-head .h-lead { color: rgba(255,255,255,.72); }
.h-vid { position: relative; }
.h-vid--a { grid-column: 1 / 8; }
.h-vid--b { grid-column: 8 / 13; margin-top: 160px; }
.h-vid .video-frame { border: 2px solid var(--chalk); box-shadow: 0 0 0 var(--volt); transition: box-shadow .45s var(--ease-snap), transform .45s var(--ease-snap); }
.h-vid:hover .video-frame { box-shadow: 14px 14px 0 var(--volt); transform: translate(-4px, -4px); }
.h-vid-meta { display: grid; grid-template-columns: auto 1fr; gap: 20px; margin-top: 24px; align-items: start; }
.h-num { font-family: var(--font-display); font-weight: 800; font-size: 4.4rem; line-height: .8; color: transparent;
  -webkit-text-stroke: 1.5px var(--volt); transition: color .4s var(--ease-snap); }
.h-vid:hover .h-num { color: var(--volt); }
.h-vid-meta .h-k { color: rgba(255,255,255,.6); }
.h-vid-meta .h-k::before { display: none; }
.h-vid-meta h3 { font-size: 2rem; font-weight: 800; line-height: 1; margin: 6px 0 10px; letter-spacing: -0.03em; }
.h-vid-meta p { color: rgba(255,255,255,.75); font-size: .98rem; margin-bottom: 14px; max-width: 46ch; }
.h-vid-meta .h-link { color: var(--volt); }
@media (max-width: 899px) { .h-vid--b { margin-top: 32px; } .h-num { font-size: 3.2rem; } }

/* ─── JOURNEY ─── */
.h-journey { background: var(--volt); color: var(--ink); }
.h-journey .h-k { grid-column: 1 / -1; margin-bottom: 32px; }
.h-quote { grid-column: 1 / 8; font-family: var(--font-serif); font-style: italic; font-weight: 400;
  font-size: clamp(2.6rem, 6.4vw, 5.6rem); line-height: .98; letter-spacing: -0.02em; }
.h-quote span { display: block; font-family: var(--font-display); font-style: normal; font-weight: 800; font-size: .42em; letter-spacing: -0.02em; margin-top: 28px; }
.h-journey-copy { grid-column: 9 / 13; margin-top: 140px; }
.h-journey-copy p { margin-bottom: 16px; font-size: 1rem; }
.h-journey-copy p:first-child::first-letter { font-family: var(--font-display); font-weight: 800; float: left; font-size: 3.4em; line-height: .82; margin: 4px 8px 0 0; }
.h-journey-copy b { font-weight: 700; background: linear-gradient(transparent 62%, rgba(232,38,46,.28) 62%); }
@media (max-width: 899px) { .h-journey-copy { margin-top: 0; } }

/* behind-the-scenes film strip — pinned + scrubbed horizontally on desktop (home.js sets .is-pinned) */
.h-journey { padding-bottom: 0; }
.jr { position: relative; margin-top: 96px; }
.jr-pin { position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 28px 0 32px; }
.jr.is-pinned .jr-pin { position: sticky; top: 64px; height: calc(100vh - 64px); min-height: 560px; }
.jr-field { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.jr-top, .jr-bar { position: relative; margin: 0 auto; width: 100%; max-width: 1240px; padding: 0 20px; }
@media (min-width: 768px) { .jr-top, .jr-bar { padding: 0 40px; } }
.jr-top { display: flex; justify-content: space-between; align-items: baseline; }
.jr-count { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.jr-count b { font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1; }
.jr-count span { font-size: 1rem; margin-left: 6px; opacity: .55; }

.jr-track { position: relative; flex: 1; display: flex; align-items: center; gap: clamp(32px, 4.5vw, 72px);
  padding: 24px 8vw 24px max(20px, calc((100vw - 1240px) / 2 + 40px)); will-change: transform; }
.jr-item { flex: none; position: relative; margin: 0; }
.jr-item.jr-up { align-self: flex-start; margin-top: 2vh; }
.jr-item.jr-down { align-self: flex-end; margin-bottom: 2vh; }
.jr-frame { position: relative; overflow: hidden; border: 2px solid var(--ink); background: var(--ink); cursor: none;
  box-shadow: 10px 10px 0 var(--ink); clip-path: inset(0 100% 0 0);
  transition: clip-path 1.1s var(--ease-snap), box-shadow .45s var(--ease-snap), transform .45s var(--ease-snap); }
.jr-item.on .jr-frame { clip-path: inset(-10px -34px -34px -10px); }   /* opened — wide enough to keep the hard shadow */
.jr-frame img { display: block; height: min(46vh, 470px); width: auto; transform: scale(1.14) translateX(calc(var(--px, 0) * -4%));
  transition: filter .45s; filter: saturate(.92) contrast(1.02); }
.jr-port .jr-frame img { height: min(58vh, 590px); }
.jr-frame:hover { transform: translate(-4px, -4px); box-shadow: 14px 14px 0 var(--signal); }
.jr-frame:hover img { filter: saturate(1.08) contrast(1.05); }
.jr-item figcaption { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; margin-top: 18px; max-width: 340px;
  opacity: 0; transform: translateY(12px); transition: opacity .6s var(--ease-snap) .35s, transform .6s var(--ease-snap) .35s; }
.jr-item.on figcaption { opacity: 1; transform: none; }
.jr-no { grid-row: 1 / span 2; font-family: var(--font-serif); font-style: italic; font-size: 2.2rem; line-height: .9; color: var(--signal); }
.jr-item figcaption b { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em; line-height: 1.1; }
.jr-item figcaption small { font-size: .85rem; color: var(--ink-2); }

/* chapter title cards inside the strip */
.jr-chap { flex: none; align-self: center; width: clamp(240px, 22vw, 320px); padding: 28px 0 28px 26px; border-left: 3px solid var(--ink);
  opacity: 0; transform: translateX(24px); transition: opacity .8s var(--ease-snap), transform .8s var(--ease-snap); }
.jr-chap.on { opacity: 1; transform: none; }
.jr-chap-no { display: block; font-family: var(--font-serif); font-style: italic; font-size: clamp(4rem, 7vw, 6.4rem); line-height: .8; color: var(--signal); }
.jr-chap b { display: block; margin-top: 18px; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.6rem, 2.4vw, 2.2rem); line-height: 1; letter-spacing: -0.035em; }
.jr-chap small { display: block; margin-top: 12px; font-size: .95rem; color: var(--ink-2); max-width: 30ch; }
.jr-chapter { letter-spacing: .12em; opacity: .7; }
.jr-chapter.swap { animation: jr-swap .5s var(--ease-snap); }
@keyframes jr-swap { from { opacity: 0; transform: translateY(6px); } to { opacity: .7; transform: none; } }
.jr:not(.is-pinned) .jr-chap { scroll-snap-align: start; scroll-margin-left: 20px; width: 72vw; }

.jr-bar { height: 3px; background: rgba(10,16,54,.18); background-clip: content-box; }
.jr-bar i { display: block; height: 3px; background: var(--ink); transform: scaleX(0); transform-origin: left; }

.jr-cursor { position: absolute; left: 0; top: 0; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%;
  display: grid; place-items: center; background: var(--ink); color: var(--volt); font-family: var(--font-body); font-weight: 700;
  font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; pointer-events: none; z-index: 3;
  transform: translate3d(var(--cx, -200px), var(--cy, -200px), 0) scale(0); transition: transform .25s var(--ease-snap); }
.jr-cursor.show { transform: translate3d(var(--cx), var(--cy), 0) scale(1); }

/* swipe hint — phone only (strip isn't pinned): pill over the strip's right edge, gone after the first swipe */
.jr-swipe { display: none; }
.jr:not(.is-pinned) .jr-swipe { display: inline-flex; align-items: center; gap: 10px; position: absolute; right: 16px; top: 46%; z-index: 4;
  padding: 10px 14px 10px 16px; background: var(--ink); color: var(--volt); font-family: var(--font-body); font-weight: 700; font-size: .78rem;
  letter-spacing: .06em; box-shadow: 4px 4px 0 var(--chalk); pointer-events: none;
  transition: opacity .5s var(--ease-snap), transform .5s var(--ease-snap); animation: jr-hint-in .7s var(--ease-snap) both; }
.jr-swipe i { display: inline-flex; gap: 1px; }
.jr-swipe b { width: 7px; height: 7px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg);
  opacity: .25; animation: jr-chev 1.2s ease-in-out infinite; }
.jr-swipe b:nth-child(2) { animation-delay: .15s; } .jr-swipe b:nth-child(3) { animation-delay: .3s; }
@keyframes jr-chev { 0%, 100% { opacity: .25; } 40% { opacity: 1; } }
@keyframes jr-hint-in { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
.jr.swiped .jr-swipe { opacity: 0; transform: translateX(16px); animation: none; }
/* one-time nudge when the strip first comes into view: photos slide left a touch and back */
.jr-track.nudge > * { animation: jr-nudge 1.3s cubic-bezier(.45,0,.2,1) 2; }
@keyframes jr-nudge { 0%, 100% { transform: translateX(0); } 45% { transform: translateX(-56px); } }

/* phone / reduced motion: native swipe strip with snap */
.jr:not(.is-pinned) .jr-track { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-right: 20px; }
.jr:not(.is-pinned) .jr-track::-webkit-scrollbar { display: none; }
.jr:not(.is-pinned) .jr-item { scroll-snap-align: start; scroll-margin-left: 20px; }
.jr:not(.is-pinned) .jr-frame { cursor: zoom-in; }
@media (max-width: 899px) {
  .jr { margin-top: 56px; }
  .jr-top { align-items: flex-end; gap: 16px; }
  .jr-top .h-k { flex-wrap: wrap; row-gap: 6px; }
  .jr-chapter { flex-basis: 100%; padding-left: 32px; }
  .jr-count { flex: none; white-space: nowrap; }
  .jr-count b { font-size: 2.2rem; }
  .jr:not(.is-pinned) .jr-swipe { top: auto; bottom: 56px; }
  .jr-frame img { width: 80vw; height: auto; max-height: none; }
  .jr-port .jr-frame img { width: 62vw; height: auto; }
  .jr-frame { box-shadow: 7px 7px 0 var(--ink); }
  .jr-item figcaption { max-width: 80vw; }
  .jr-item.jr-up, .jr-item.jr-down { align-self: flex-start; margin: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .jr-frame, .jr-item figcaption { clip-path: none; opacity: 1; transform: none; }
}

/* ─── THANK YOU ─── */
.h-thanks { background: var(--paper); }
.h-thanks .h-k { color: var(--signal); }
.h-leads { list-style: none; border-top: 2px solid var(--ink); margin-bottom: 96px; }
.h-leads li { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px 28px; padding: 26px 0; border-bottom: 1px solid var(--ink);
  transition: padding-left .4s var(--ease-snap); }
.h-leads li:hover { padding-left: 16px; }
.h-leads b { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.6rem, 3.6vw, 2.8rem); line-height: 1; letter-spacing: -0.035em; }
.h-leads span { font-size: .95rem; color: var(--ink-2); }
@media (min-width: 900px) { .h-leads li { grid-template-columns: 7fr 5fr; align-items: baseline; } .h-leads span { text-align: right; } }

.h-sub { align-items: start; }
.h-sub-h { grid-column: 1 / 4; position: sticky; top: 96px; }
.h-sub-h h3 { font-size: 1.9rem; font-weight: 800; line-height: 1; letter-spacing: -0.03em; }
.h-sub-h p { margin-top: 10px; font-size: .95rem; color: var(--ink-2); }
.h-committee { grid-column: 5 / 13; list-style: none; counter-reset: c; columns: 2; column-gap: 28px; }
.h-committee li { counter-increment: c; break-inside: avoid; display: grid; grid-template-columns: 2.4rem 1fr; padding: 12px 8px 12px 0;
  border-top: 1px solid rgba(10,16,54,.2);
  background: linear-gradient(var(--volt), var(--volt)) no-repeat left / 0% 100%; transition: background-size .4s var(--ease-snap), padding-left .4s var(--ease-snap); }
.h-committee b, .h-committee span { grid-column: 2; }
.h-committee li::before { grid-row: 1 / span 2; content: counter(c, decimal-leading-zero); font-family: var(--font-serif); font-style: italic; font-size: 1.15rem; color: var(--signal); line-height: 1.3; }
.h-committee li:hover { background-size: 100% 100%; padding-left: 8px; }
.h-committee b { display: block; font-weight: 700; font-size: .98rem; line-height: 1.3; }
.h-committee span { display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-top: 3px; }
.h-committee li:hover span { color: var(--ink); }
@media (max-width: 899px) { .h-sub-h { position: static; } }
@media (max-width: 640px) { .h-committee { columns: 1; } }

.h-dealers { margin: 96px 0; padding: 40px 0; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  font-family: var(--font-display); font-weight: 800; font-size: clamp(1.8rem, 4.6vw, 3.8rem); line-height: 1; letter-spacing: -0.04em; }
.h-dealers .h-serif { color: var(--signal); }

.h-collab-h { grid-column: 1 / 4; font-size: 1.9rem; font-weight: 800; line-height: 1; letter-spacing: -0.03em; }
.h-collab { grid-column: 5 / 13; list-style: none; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.2rem, 2.2vw, 1.7rem); line-height: 1.35; letter-spacing: -0.02em; }
.h-collab li { display: inline; }
.h-collab li:not(:last-child)::after { content: " / "; color: var(--signal); font-weight: 400; }

/* ─── ARCHIVE ─── */
.h-archive { background: var(--ink); color: var(--chalk); }
.h-archive .h-k { color: var(--volt); }
.h-arch-h { grid-column: 1 / 5; }
.h-arch-h h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; line-height: .95; letter-spacing: -0.04em; margin: 20px 0 14px; }
.h-arch-h p { color: rgba(255,255,255,.7); font-size: .98rem; }
.h-arch { grid-column: 6 / 13; list-style: none; border-top: 1px solid rgba(255,255,255,.25); counter-reset: a; }
.h-arch a { counter-increment: a; display: grid; grid-template-columns: 3rem 1fr auto; gap: 16px; align-items: baseline; padding: 22px 0;
  border-bottom: 1px solid rgba(255,255,255,.25); text-decoration: none; color: inherit; transition: padding-left .4s var(--ease-snap), color .25s; }
.h-arch a::before { content: counter(a, decimal-leading-zero); font-family: var(--font-serif); font-style: italic; color: var(--volt); font-size: 1.1rem; }
.h-arch b { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.45rem; letter-spacing: -0.02em; line-height: 1.1; }
.h-arch small { display: block; font-size: .9rem; color: rgba(255,255,255,.62); margin-top: 4px; }
.h-arch .ar { font-size: 1.4rem; color: var(--volt); transition: transform .4s var(--ease-snap); }
.h-arch a:hover { padding-left: 14px; color: var(--volt); }
.h-arch a:hover .ar { transform: translateX(8px); }
@media (max-width: 899px) { .h-arch-h { margin-bottom: 8px; } }

/* ─── FOOTER ─── */
.home footer { background: var(--ink); color: rgba(255,255,255,.7); border-top: 1px solid rgba(255,255,255,.15); padding: 64px 0 48px; text-align: left; }
.h-foot-mark { font-family: var(--font-serif); font-style: italic; color: var(--chalk); font-size: clamp(2.4rem, 8vw, 6.4rem); line-height: .9; letter-spacing: -0.02em; margin-bottom: 32px; }
.h-foot-mark span { color: var(--volt); }
.home footer .tags { color: var(--volt); font-size: .8rem; letter-spacing: .04em; }

/* ─── PLAQUES ─── two boards, slightly angled, the second overlapping the first */
.h-plaques { background: var(--ink); color: var(--chalk); }
.h-plaques .h-k { color: var(--volt); }
.h-plaques .h-head .h-lead { color: rgba(255,255,255,.72); }
.pq { margin: 0; position: relative; }
.pq-a { grid-column: 1 / 9; z-index: 1; }
.pq-b { grid-column: 6 / 13; margin-top: -120px; z-index: 2; }
.pq-frame { background: var(--chalk); padding: 10px; transform: rotate(-1.2deg); box-shadow: 12px 12px 0 var(--volt);
  transition: transform .8s cubic-bezier(.22,1,.36,1), box-shadow .8s cubic-bezier(.22,1,.36,1); cursor: zoom-in; }
.pq-b .pq-frame { transform: rotate(1.4deg); box-shadow: 12px 12px 0 var(--signal); }
.pq-frame:hover { transform: rotate(0) translateY(-8px) scale(1.015); box-shadow: 18px 18px 0 var(--volt); }
.pq-b .pq-frame:hover { box-shadow: 18px 18px 0 var(--signal); }
.pq-frame img { display: block; width: 100%; height: auto; }
.pq figcaption { display: grid; grid-template-columns: auto 1fr; gap: 16px; margin-top: 26px; max-width: 520px; }
.pq-b figcaption { margin-left: auto; }
.pq-a figcaption { max-width: 54%; }                 /* clear of the overlapping second plaque */
.pq-no { font-family: var(--font-serif); font-style: italic; font-size: 2.6rem; line-height: .85; color: var(--volt); }
.pq figcaption b { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; letter-spacing: -0.03em; line-height: 1.05; }
.pq-facts { display: block; margin-top: 8px; font-size: .95rem; color: rgba(255,255,255,.75); line-height: 1.5; }
.pq-facts em { font-style: normal; font-family: var(--font-display); font-weight: 800; color: var(--volt); font-size: 1.1rem; }
.pq-facts i { font-style: normal; color: var(--signal); padding: 0 2px; }
@media (max-width: 899px) {
  .pq-b { margin-top: 48px; }
  .pq-frame, .pq-b .pq-frame { transform: none; box-shadow: 8px 8px 0 var(--volt); padding: 6px; }
  .pq-b .pq-frame { box-shadow: 8px 8px 0 var(--signal); }
  .pq-b figcaption { margin-left: 0; }
  .pq-a figcaption { max-width: none; }
}

/* ─── VIDEO WATCH PAGES (watch-*.html) — the video is the main content ─── */
body.home.watch-page { background: var(--ink); color: var(--chalk); }
.watch { padding: 48px 0 110px; }
.watch .h-k { color: var(--volt); }
.watch-title { font-size: clamp(2.4rem, 6vw, 4.8rem); font-weight: 800; line-height: .95; letter-spacing: -0.04em; margin: 18px 0 32px; }
.watch-title .h-serif { color: var(--volt); font-size: .55em; letter-spacing: 0; }
.watch-frame { border: 2px solid var(--chalk); box-shadow: 14px 14px 0 var(--volt); }
.watch-meta { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 28px 48px; margin-top: 48px; align-items: start; }
.watch-lead { font-size: 1.15rem; line-height: 1.6; color: rgba(255,255,255,.85); }
.watch-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.watch-actions .h-link { color: var(--volt); }
@media (max-width: 899px) { .watch { padding-top: 28px; } .watch-meta { grid-template-columns: 1fr; } .watch-frame { box-shadow: 8px 8px 0 var(--volt); } }

/* phone: the tab row scrolls sideways — fade the right edge so it reads as "more →" */
@media (max-width: 760px) {
  .home .nav-tabs { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent);
                    mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent); padding-right: 28px; scroll-padding-inline: 16px; }
  .home .nav-tabs.at-end { -webkit-mask-image: none; mask-image: none; }
}
