/* Nexrena homepage proto v3. Void / obsidian / cream, gold accent only.
   No glow, no glass, no gradients. Hard offsets are the only brutal accent. */
@font-face { font-family: "Inter Display"; src: url("../fonts/Inter-latin-opsz-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/DMSans-wght.woff2") format("woff2"); font-weight: 100 1000; font-display: swap; }
@font-face { font-family: "DM Mono"; src: url("../fonts/DMMono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "DM Mono"; src: url("../fonts/DMMono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/CormorantGaramond-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --obsidian: #0c0f12; --void: #08090b; --ink: #1a1e26; --gold: #c9a96e;
  --cream: #f5f0e8; --warm: #fdfcfa; --steel: #4a4d55; --night-2: #c9c4ba; --rule-d: #2a2f38;
  --bezel: #1a1b1d; --deck: #2a2c2f;
  --nav-h: 64px;
  --pad: clamp(20px, 4vw, 56px);
  /* one spacing scale */
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 48px; --s6: 64px;
  --sec-y: clamp(56px, 7vw, 96px);
  --head-gap: clamp(24px, 3vw, 40px);
  --display: "Inter Display", "Helvetica Neue", Arial, sans-serif;
  --serif: "Cormorant Garamond", Georgia, serif;
  --body: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "DM Mono", ui-monospace, Menlo, monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--cream); color: var(--ink); }
html { overflow-x: clip; }
body { font-family: var(--body); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ol, ul { list-style: none; }
.mono { font-family: var(--mono); font-weight: 500; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--steel); }

/* wordmark */
.wm { display: inline-flex; border: 2px solid var(--ink); text-decoration: none; font: 700 14px/1 var(--display); letter-spacing: 0.08em; text-transform: uppercase; flex: none; }
.wm span { padding: 6px 7px 6px 9px; }
.wm span:first-child { background: var(--obsidian); color: var(--cream); }
.wm span:last-child { background: var(--gold); color: var(--ink); border-left: 2px solid var(--ink); }

/* CTA: square, offset shadow */
.cta { display: inline-block; font: 600 13px/1 var(--body); color: var(--ink); background: var(--gold); border: 2px solid var(--ink);
  padding: 10px 16px; box-shadow: 4px 4px 0 0 var(--ink); text-decoration: none; border-radius: 0; white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease; }
.cta:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 0 var(--ink); }
.cta:active { transform: translate(4px, 4px); box-shadow: none; }
.cta-lg { font-size: 17px; padding: 16px 24px; box-shadow: 6px 6px 0 0 var(--ink); }
.cta-lg:hover { box-shadow: 3px 3px 0 0 var(--ink); transform: translate(3px, 3px); }
.on-dark .cta, .hero .cta { border-color: var(--cream); box-shadow: 6px 6px 0 0 var(--cream); }
.hero .cta:hover { box-shadow: 3px 3px 0 0 var(--cream); }

/* nav */
.nav { height: var(--nav-h); display: flex; align-items: center; gap: var(--s4); padding: 0 var(--pad);
  border-bottom: 1px solid var(--ink); position: fixed; top: 0; left: 0; right: 0; z-index: 40; background: var(--cream);
  transition: background .25s ease, color .25s ease, border-color .25s ease; }
.nav-links { display: flex; gap: var(--s4); margin-left: auto; }
.nav-links a { font: 500 12px var(--mono); letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; padding: 6px 0; border-bottom: 1px solid transparent; }
.nav-links a:hover { border-bottom-color: currentColor; }
.nav .cta { margin-left: var(--s1); }
.nav.is-inv { background: var(--void); color: var(--cream); border-bottom-color: var(--rule-d); }
.nav.is-inv .wm { border-color: var(--cream); }
.nav.is-inv .wm span:first-child { background: var(--cream); color: var(--obsidian); }
.nav.is-inv .wm span:last-child { border-left-color: var(--cream); }
.nav.is-inv .cta { border-color: var(--cream); box-shadow: 4px 4px 0 0 var(--cream); }

/* ----- devices ----- */
.laptop { position: relative; z-index: 1; }
.laptop-lid {
  background: #c9cbcf;
  border-radius: 16px 16px 4px 4px;
  padding: 8px 8px 10px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.65),
    inset 0 0 0 1px rgba(0,0,0,0.12);
}
.laptop-bezel {
  background: var(--bezel);
  border-radius: 8px;
  padding: 8px 8px 10px;
  position: relative;
}
.cam {
  position: absolute;
  top: 3px;
  left: 50%;
  width: 7px;
  height: 7px;
  margin-left: -3.5px;
  border-radius: 50%;
  background: #0b0b0c;
  box-shadow: inset 0 0 0 1.5px #2a2b2e;
}
.laptop-screen {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #111;
  border-radius: 2px;
  position: relative;
}
.laptop-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.laptop-hinge {
  height: 5px;
  background: #9a9ca0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.3);
  margin: 0 28px;
  border-radius: 0 0 2px 2px;
}
.laptop-base {
  height: 36px;
  background: #c2c4c8;
  border-radius: 0 0 10px 10px;
  margin: 0 -8px;
  position: relative;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.4),
    0 1px 0 #9ea0a4;
}
.laptop-deck {
  position: absolute;
  left: 28px;
  right: 28px;
  top: 4px;
  height: 18px;
  background: var(--deck);
  border-radius: 3px;
}
.trackpad {
  position: absolute;
  left: 50%;
  bottom: 5px;
  width: 88px;
  height: 10px;
  margin-left: -44px;
  background: #b4b6ba;
  border-radius: 4px;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.18);
}
.laptop-shadow {
  position: absolute;
  left: 10%;
  right: 14%;
  bottom: 0;
  height: 28px;
  background: rgba(0,0,0,0.22);
  filter: blur(18px);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

.phone { z-index: 3; filter: drop-shadow(0 18px 28px rgba(0,0,0,0.28)); }
.phone-body {
  background: #1c1d20;
  border-radius: 36px;
  padding: 10px 8px 12px;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.14),
    inset 0 0 0 3px #0d0e10;
  position: relative;
}
.phone-screen {
  width: 100%;
  aspect-ratio: 9 / 19.5;
  overflow: hidden;
  background: #111;
  border-radius: 28px;
  position: relative;
}
.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.phone-screen--contain img {
  object-fit: contain;
  object-position: top center;
}
.punch {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 8px;
  height: 8px;
  margin-left: -4px;
  background: #0a0a0a;
  border-radius: 50%;
  box-shadow: 0 0 0 2px #1a1a1c;
  z-index: 2;
}
.side-btn {
  position: absolute;
  background: #2a2b2e;
  border-radius: 1px;
  width: 2px;
}
.side-btn.r { right: -2px; top: 86px; height: 36px; }
.side-btn.l1 { left: -2px; top: 70px; height: 18px; }
.side-btn.l2 { left: -2px; top: 96px; height: 28px; }


/* ================= HERO ================= */
.hero { background: var(--void); color: var(--cream); position: relative; }
.hero .mono { color: var(--night-2); }
.hero-pin { position: relative; overflow: hidden; }
.hero-inner { position: relative; padding: calc(var(--nav-h) + var(--s3)) 0 var(--s5); display: flex; flex-direction: column; gap: var(--s4); }
.hero-top { position: relative; z-index: 6; margin: 0 var(--pad); display: flex; justify-content: space-between; gap: var(--s2); padding-bottom: var(--s2); border-bottom: 1px solid var(--rule-d); }
#hero-title { font-family: var(--display); font-variation-settings: "opsz" 32; font-weight: 650; color: var(--cream);
  font-size: clamp(40px, min(6.6vw, 10.5svh), 116px); letter-spacing: -0.05em; line-height: 0.92; display: flex; flex-direction: column; gap: var(--s3); }
.ln { display: block; position: relative; z-index: 6; margin: 0 var(--pad); }
.ln2 { text-align: right; }
/* reveal mask with room for descenders; removed after the reveal */
.ln.is-mask { overflow: hidden; padding: 0.02em 0.04em 0.2em; margin: -0.02em calc(var(--pad) - 0.04em) -0.2em; }
.ln .word, .ln .char { display: inline-block; }
html.pre #hero-title .ln { visibility: hidden; }

.band-wrap { position: relative; display: block; height: clamp(108px, 22svh, 220px); }
.band { position: absolute; inset: 0; overflow: hidden; display: block; z-index: 1; }
.track { display: flex; gap: var(--s2); height: 100%; width: max-content; animation: marquee 48s linear infinite; }
.card { display: block; height: 100%; aspect-ratio: 16 / 10; flex: none; border: 1px solid var(--rule-d); background: var(--obsidian); }
.card img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
@keyframes marquee { to { transform: translateX(-50%); } }
.slot { position: absolute; z-index: 5; left: 50%; top: 50%; height: 118%; aspect-ratio: 16 / 10; transform: translate(-50%, -50%);
  border: 2px solid var(--cream); box-shadow: 8px 8px 0 0 var(--gold); background: var(--obsidian); display: block; }
.slot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.chip { position: absolute; left: -2px; bottom: -2px; transform: translateY(100%); background: var(--gold); color: var(--ink);
  font: 500 10px/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; padding: 7px 9px; white-space: nowrap; }
.hero-foot { position: relative; z-index: 6; margin: 0 var(--pad); display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s4); }
.hero .sub { color: var(--night-2); }
.hero .hero-from { font: 600 clamp(18px, 1.7vw, 26px)/1.3 var(--body); color: var(--cream); letter-spacing: -0.01em; }
.hero-doors { display: flex; gap: var(--s3); flex-wrap: wrap; }
.hero .cta-alt, .hero .cta-alt:hover { background: var(--cream); color: var(--ink); border-color: var(--gold); box-shadow: 6px 6px 0 0 var(--gold); }
.hero .cta-alt:hover { box-shadow: 3px 3px 0 0 var(--gold); }
.sub { font: 400 clamp(16px, 1.4vw, 20px)/1.45 var(--body); letter-spacing: -0.01em; color: var(--steel); max-width: 38ch; }
.hero-zoom, .hero-phone-layer, .hero-cap { display: none; }

/* Full tier: pinned zoom-through */
html.tier-full .hero-pin { height: 100vh; height: 100svh; }
html.tier-full .hero-inner { height: 100%; justify-content: space-between; }
html.tier-full .hero-zoom { display: block; position: absolute; left: 50%; top: 50%; width: 0; height: 0; z-index: 3; overflow: hidden; background: var(--obsidian); }
html.tier-full .hero-zoom img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transform-origin: 50% 40%; }
html.tier-full .slot img { visibility: hidden; }
html.tier-full .slot { background: transparent; }
html.tier-full .hero-phone-layer { display: block; position: absolute; z-index: 7; right: 7vw; bottom: 4svh; width: min(240px, 16vw); transform: translateY(120%); }
html.tier-full .hero-cap { display: flex; position: absolute; z-index: 8; left: var(--pad); bottom: var(--s3); gap: var(--s3);
  background: var(--void); padding: 10px 14px; border: 1px solid var(--rule-d); opacity: 0; }
html.tier-full .hero-cap .mono { color: var(--cream); }
html.tier-still .track { animation: none; }

/* ================= SHARED ================= */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.noscript { padding: var(--s3) var(--pad); font: 400 16px var(--body); }
.sec-head { padding: 0 var(--pad); display: grid; grid-template-columns: 1fr 2fr; align-items: end; gap: var(--s2) var(--s4); margin-bottom: var(--head-gap); }
.sec-head .mono { align-self: start; padding-top: 10px; }
.sec-head h2 { font-family: var(--display); font-variation-settings: "opsz" 32; font-weight: 700; font-size: clamp(40px, 7vw, 116px); letter-spacing: -0.055em; line-height: 0.92; padding-bottom: 0.04em; }
.sec-sub { grid-column: 2; font: 400 clamp(16px, 1.3vw, 19px)/1.45 var(--body); color: var(--steel); max-width: 44ch; }
[data-dark] .sec-head .mono, [data-dark] .sec-sub { color: var(--night-2); }
[data-dark] .sec-head h2 { color: var(--cream); }
/* Dark blocks after cream open with a hard clip-path wipe (JS scrubs it; static here). */

/* ================= WORK ================= */
.work { background: var(--cream); padding-top: var(--sec-y); position: relative; z-index: 2; }
.work-intro { padding: 0 var(--pad); display: grid; grid-template-columns: 1fr 2fr; gap: var(--s2) var(--s4); align-items: end; margin-bottom: var(--head-gap); }
.work-intro .mono { align-self: start; padding-top: 12px; }
.work-intro .sec-sub { grid-column: 2; }
.itype { font-family: var(--display); font-variation-settings: "opsz" 32; font-weight: 800; font-size: clamp(56px, 13vw, 210px); letter-spacing: -0.06em; line-height: 0.88; }
.itype-fill { display: inline-block; color: var(--ink); padding: 0.1em 0.04em 0.16em; margin: -0.1em -0.04em -0.16em; -webkit-text-stroke: 2px var(--ink); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .itype-fill { background-image: url("../img/v3-strip5.webp"); background-size: auto 100%; background-position: 0% 50%; background-repeat: repeat-x;
    -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
}
.itype-plain { display: inline-block; }
.hscroll { position: relative; padding-bottom: var(--sec-y); }
.hs-head { display: flex; align-items: center; gap: var(--s3); padding: 0 var(--pad) var(--s3); }
.hs-count { display: inline-flex; align-items: baseline; gap: 8px; }
.hs-count b { font: 700 clamp(28px, 3vw, 44px)/1 var(--display); letter-spacing: -0.05em; color: var(--ink); font-variant-numeric: tabular-nums; }
.hs-bar { flex: 1; height: 2px; background: #d8d1c4; position: relative; display: block; }
.hs-bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 16.66%; background: var(--ink); display: block; }
.hs-hint { display: none; }
.hs-track { display: flex; gap: var(--s5); padding: var(--s4) var(--pad) 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.hs-track::-webkit-scrollbar { display: none; }
.panel { flex: none; width: min(86vw, 1040px); scroll-snap-align: start; position: relative; }
.panel a { display: block; text-decoration: none; position: relative; }
.p-num { position: absolute; z-index: 3; left: -0.06em; top: -0.42em; font: 800 clamp(72px, 9vw, 150px)/1 var(--display); letter-spacing: -0.06em;
  color: transparent; -webkit-text-stroke: 2px var(--ink); pointer-events: none; }
.panel-shot { display: block; position: relative; aspect-ratio: 16 / 10; overflow: hidden; border: 2px solid var(--ink); background: var(--obsidian); transition: box-shadow .25s ease, transform .25s ease; }
.shot-d { width: 100%; height: 100%; object-fit: cover; object-position: top center; transform: scale(1.08); transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.shot-m { position: absolute; right: 4%; bottom: 0; width: 21%; aspect-ratio: 9 / 19.5; border: 2px solid var(--ink); border-bottom: 0; background: var(--obsidian);
  overflow: hidden; display: block; transform: translateY(102%); transition: transform .5s cubic-bezier(.2,.7,.2,1); box-shadow: 6px 0 0 0 var(--ink); }
.shot-m img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.panel a:hover .panel-shot, .panel a:focus-visible .panel-shot { box-shadow: 10px 10px 0 0 var(--ink); transform: translate(-5px, -5px); }
.panel a:hover .shot-m, .panel a:focus-visible .shot-m { transform: translateY(14%); }
@media (hover: none) { .shot-m { transform: translateY(18%); } }
.panel-meta { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: var(--s1) var(--s3); padding-top: var(--s3); }
.p-idx { grid-row: 1; }
.p-title { font-family: var(--serif); font-weight: 500; font-size: clamp(32px, 3.6vw, 56px); line-height: 1; letter-spacing: -0.01em; }
.p-kind { grid-column: 3; text-align: right; }
.p-desc { grid-column: 2; font: 400 15px/1.45 var(--body); color: var(--steel); }
.p-link { grid-column: 3; text-align: right; font: 600 14px var(--body); }
html.tier-full .hscroll { height: 100vh; height: 100svh; padding: calc(var(--nav-h) + var(--s3)) 0 var(--s4); display: flex; flex-direction: column; }
html.tier-full .hs-track { overflow: visible; scroll-snap-type: none; flex: 1; min-height: 0; align-items: flex-start; will-change: transform; }
html.tier-full .panel { width: min(64vw, calc((100svh - var(--nav-h) - 270px) * 1.6)); }
html.tier-full .hs-hint { display: inline; }

/* ================= LEAD: stacking cards ================= */
.lead { background: var(--obsidian); color: var(--cream); padding: var(--sec-y) 0; position: relative; z-index: 3; }
.stack { padding: 0 var(--pad); display: flex; flex-direction: column; gap: var(--s4); }
.scard { position: sticky; top: calc(var(--nav-h) + 16px + var(--i) * 14px); display: grid; grid-template-columns: 1fr 1.9fr; gap: var(--s4);
  background: var(--warm); color: var(--ink); border: 2px solid var(--cream); box-shadow: 10px 10px 0 0 var(--gold); padding: var(--s4);
  height: min(640px, calc(100svh - var(--nav-h) - 96px)); transform-origin: 50% 0; }
.scard-text { display: flex; flex-direction: column; gap: var(--s2); min-width: 0; }
.scard-n { font: 800 clamp(80px, 10vw, 168px)/0.85 var(--display); letter-spacing: -0.07em; color: var(--ink); }
.scard h3 { font-family: var(--display); font-variation-settings: "opsz" 32; font-weight: 700; font-size: clamp(34px, 3.8vw, 60px); letter-spacing: -0.05em; line-height: 1; padding-bottom: 0.04em; margin-top: auto; }
.scard p { font: 400 16px/1.5 var(--body); color: var(--steel); max-width: 30ch; }
.scard-shot { position: relative; min-height: 0; min-width: 0; border: 2px solid var(--ink); background: var(--obsidian); overflow: hidden; display: block; }
.scard-shot picture, .scard-shot img { display: block; width: 100%; height: 100%; }
.scard-shot img { object-fit: cover; object-position: top left; }
.scard-shot--portal { overflow: visible; }
.scard-shot--portal picture { overflow: hidden; height: 100%; }
.scard-phone { position: absolute; right: -14px; bottom: -14px; width: 34%; border: 2px solid var(--ink); background: var(--obsidian); box-shadow: 6px 6px 0 0 var(--ink); display: block; }
.scard-phone img { width: 100%; height: auto; }
html.tier-still .scard { position: relative; top: auto; }

/* ================= 64: image-in-type scale-up ================= */
.scene-64 { background: var(--cream); color: var(--ink); position: relative; z-index: 2; }
.sixty-pin { position: relative; overflow: hidden; padding: calc(var(--nav-h) + var(--s4)) var(--pad) var(--s5); min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
.sixty-top { display: flex; justify-content: space-between; border-bottom: 1px solid var(--ink); padding-bottom: var(--s2); }
.sixty-wrap { flex: 1; display: flex; align-items: center; justify-content: center; gap: var(--s2); position: relative; }
.num { font-family: var(--display); font-variation-settings: "opsz" 32; font-weight: 800; font-size: clamp(170px, min(52vw, 66svh), 760px);
  letter-spacing: -0.07em; line-height: 0.82; color: var(--ink); -webkit-text-stroke: 3px var(--ink); padding: 0.06em 0.04em 0.1em; font-variant-numeric: tabular-nums; transform-origin: 50% 55%; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .num { background-image: url("../img/v3-fpusa-1600.webp"); background-size: cover; background-position: 50% 20%;
    -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
}
.units { align-self: flex-start; margin-top: 8%; font: 700 clamp(22px, 3vw, 44px)/1 var(--display); letter-spacing: -0.03em; background: var(--gold); color: var(--ink); border: 2px solid var(--ink); padding: 0.18em 0.32em 0.24em; box-shadow: 6px 6px 0 0 var(--ink); }
.sixty-copy { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s4); border-top: 2px solid var(--ink); padding-top: var(--s2); }
.sixty-copy p.cap { font: 500 clamp(18px, 2.2vw, 30px)/1.2 var(--body); letter-spacing: -0.02em; max-width: 26ch; }
.sixty-copy p.disc { font: 400 13px/1.5 var(--body); color: var(--steel); max-width: 44ch; text-align: right; }
html.js-motion .units, html.js-motion .sixty-copy { opacity: 0; }

/* ================= NUMBERS: odometer ================= */
.numbers { background: var(--void); color: var(--cream); padding: var(--sec-y) 0; position: relative; z-index: 3; }
.num-grid { margin: 0 var(--pad); display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); border-top: 2px solid var(--cream); }
.stat { padding: var(--s3) var(--s3) var(--s2) 0; display: flex; flex-direction: column; gap: var(--s2); min-width: 0; }
.stat + .stat { border-left: 1px solid var(--rule-d); padding-left: var(--s3); }
.stat-n { display: flex; font-family: var(--display); font-variation-settings: "opsz" 32; font-weight: 800; font-size: clamp(52px, 6.3vw, 106px); letter-spacing: 0; line-height: 1; color: var(--cream); white-space: nowrap; }
.stat-n > span { display: inline-flex; }
.odo { display: inline-block; height: 1.04em; overflow: hidden; vertical-align: top; }
.odo-col { display: flex; flex-direction: column; transform: translateY(calc(var(--d) * -10%)); }
.odo-col span { display: block; height: 1.04em; line-height: 1.04em; text-align: center; }
.odo-fix { display: inline-block; line-height: 1.04em; color: var(--gold); }
.stat-l { font: 500 12px var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }

/* ================= WHAT WE DO (data-driven) ================= */
.services { background: var(--cream); padding: var(--sec-y) 0; position: relative; z-index: 2; }
.svc-grid { margin: 0 var(--pad); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: var(--s3); }
.svc { position: relative; padding: var(--s4) var(--s3) var(--s3); display: flex; flex-direction: column; gap: var(--s2); min-height: 380px; outline: none; overflow: hidden;
  background: var(--warm); border: 2px solid var(--ink); box-shadow: 0 0 0 0 var(--ink); transition: background .3s ease, color .3s ease, box-shadow .25s ease; }
.svc-num { position: absolute; right: -0.04em; top: -0.16em; font: 800 clamp(120px, 12vw, 200px)/1 var(--display); letter-spacing: -0.07em; color: transparent; -webkit-text-stroke: 2px var(--ink); opacity: 0.9; pointer-events: none; transition: -webkit-text-stroke-color .3s ease; }
.svc h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(32px, 2.9vw, 46px); line-height: 1.02; margin-top: auto; position: relative; }
.svc p { font: 400 16px/1.5 var(--body); color: var(--steel); max-width: 32ch; transition: color .3s ease; }
.svc-more { font: 500 12px/1.5 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); max-height: 0; opacity: 0; visibility: hidden; overflow: hidden; transition: max-height .35s ease, opacity .3s ease, visibility 0s .35s; }
.svc-price { font: 500 13px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; align-self: flex-start; background: var(--ink); color: var(--cream); padding: 8px 11px; }
.svc:hover, .svc:focus-visible { background: var(--obsidian); color: var(--cream); box-shadow: 10px 10px 0 0 var(--gold); }
.svc:hover .svc-num, .svc:focus-visible .svc-num { -webkit-text-stroke-color: var(--gold); }
.svc:hover p, .svc:focus-visible p, .svc:hover .mono, .svc:focus-visible .mono { color: var(--night-2); }
.svc:hover .svc-more, .svc:focus-visible .svc-more { max-height: 9em; opacity: 1; visibility: visible; transition-delay: 0s; }
.svc:hover .svc-price, .svc:focus-visible .svc-price { background: var(--gold); color: var(--ink); }
@media (hover: none) { .svc-more { max-height: none; opacity: 1; visibility: visible; color: var(--ink); } }

/* ================= PLANS (data-driven) ================= */
.plans { background: var(--obsidian); color: var(--cream); padding: var(--sec-y) 0; position: relative; z-index: 3; }
.plan-list { margin: 0 var(--pad); border-top: 2px solid var(--cream); }
.plan-list li { position: relative; display: grid; grid-template-columns: 48px 1.25fr 1.5fr minmax(0, 1.25fr); gap: var(--s1) var(--s3); align-items: center;
  padding: var(--s3) 0; border-bottom: 1px solid var(--rule-d); outline: none; transition: padding .3s ease; }
.plan-list li::before { content: ""; position: absolute; left: 0; top: -1px; bottom: -1px; width: 0; background: var(--gold); transition: width .3s ease; }
.p-idx { color: var(--night-2); }
.p-name { font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 3vw, 48px); line-height: 1.02; }
.p-tag { display: inline-block; vertical-align: middle; font: 500 10px/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; background: var(--gold); color: var(--ink); padding: 5px 7px; margin-left: 6px; transform: translateY(-0.3em); }
.p-who { font: 400 15px/1.45 var(--body); color: var(--night-2); }
.p-price { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; min-width: 0; }
.p-setup { font: 800 clamp(36px, 3.6vw, 60px)/1 var(--display); letter-spacing: -0.05em; white-space: nowrap; }
.p-setup small { font: 500 12px var(--mono); letter-spacing: 0.1em; text-transform: uppercase; margin-right: 8px; vertical-align: 0.9em; color: var(--night-2); }
.p-monthly { font: 500 13px var(--mono); letter-spacing: 0.06em; color: var(--gold); }
.p-more { grid-column: 2 / -1; overflow: hidden; max-height: 0; visibility: hidden; transition: max-height .35s ease, visibility 0s .35s; }
.p-more span { display: block; padding-top: var(--s1); font: 500 12px/1.6 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); }
.plan-list li:hover, .plan-list li:focus-visible { padding-left: var(--s3); }
.plan-list li:hover::before, .plan-list li:focus-visible::before { width: 6px; }
.plan-list li:hover .p-more, .plan-list li:focus-visible .p-more { max-height: 9em; visibility: visible; transition-delay: 0s; }
@media (hover: none) { .p-more { max-height: none; visibility: visible; } }
.text-link { display: inline-block; margin: var(--s3) var(--pad) 0; font: 600 15px var(--body); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }

/* ================= CLOSE: gold block + marquee ================= */
.close { background: var(--gold); color: var(--ink); padding: var(--sec-y) 0; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); overflow: hidden; position: relative; z-index: 2; }
.mq { overflow: hidden; border-bottom: 2px solid var(--ink); padding-bottom: var(--s3); }
.mq-track { display: flex; align-items: center; gap: 0.35em; width: max-content; font: 800 clamp(64px, 11vw, 190px)/1 var(--display); letter-spacing: -0.06em; white-space: nowrap; will-change: transform; padding-bottom: 0.06em; }
.mq-track span { display: inline-block; }
.mq-track span:nth-child(4n+3) { color: transparent; -webkit-text-stroke: 2px var(--ink); }
.mq-track i { display: inline-block; width: 0.32em; height: 0.32em; background: var(--ink); flex: none; }
.close-foot { display: grid; grid-template-columns: 1fr 2fr auto; align-items: end; gap: var(--s3); padding: var(--s4) var(--pad) 0; }
.close-foot .mono { color: var(--ink); }
.close-sub { font: 500 clamp(18px, 1.8vw, 26px)/1.3 var(--body); letter-spacing: -0.01em; max-width: 30ch; }
.cta-on-gold { background: var(--cream); }

/* ================= FOOTER: big wordmark ================= */
.foot { background: var(--obsidian); color: var(--cream); padding: var(--sec-y) var(--pad) var(--s4); overflow: hidden; }
.foot .mono { color: var(--night-2); }
.foot-top { display: flex; justify-content: space-between; align-items: center; gap: var(--s4); padding-bottom: var(--s4); border-bottom: 1px solid var(--rule-d); }
.foot-top .cta { border-color: var(--cream); box-shadow: 4px 4px 0 0 var(--cream); }
.foot-line { font: 400 clamp(17px, 1.5vw, 20px)/1.45 var(--body); color: var(--night-2); max-width: 44ch; }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); padding: var(--s4) 0 var(--s5); }
.foot-cols div { display: flex; flex-direction: column; gap: 10px; }
.foot-cols .mono { margin-bottom: 6px; }
.foot-cols a { font: 400 16px var(--body); text-decoration: none; color: var(--cream); }
.foot-cols a:hover { color: var(--gold); }
.foot-wm { display: flex; width: 100%; text-decoration: none; border: 3px solid var(--cream); font: 800 15.2vw/0.9 var(--display); letter-spacing: 0.01em; text-transform: uppercase; }
.fw { display: block; padding: 0.06em 0.06em 0.04em; }
.fw-a { background: var(--cream); color: var(--obsidian); flex: 0 0 auto; }
.fw-b { background: var(--gold); color: var(--ink); border-left: 3px solid var(--cream); flex: 1 1 auto; text-align: left; }
.fw-in { display: block; line-height: 0.9; }
.foot-base { display: flex; justify-content: space-between; gap: var(--s2); flex-wrap: wrap; padding-top: var(--s3); margin-top: var(--s3); }

/* magnetic targets */
[data-magnetic] { will-change: transform; }

/* ================= PHONES + TABLETS ================= */
@media (max-width: 900px) {
  :root { --nav-h: 56px; }
  .nav { gap: 12px; }
  .nav-links { display: none; }
  .nav .cta { margin-left: auto; font-size: 12px; padding: 8px 12px; box-shadow: 3px 3px 0 0 var(--ink); }
  .nav.is-inv .cta { box-shadow: 3px 3px 0 0 var(--cream); }
  .wm { font-size: 12px; }
  .wm.wm-lg { font-size: 44px; }
  .hide-s { display: none; }

  .hero-inner { padding-top: calc(var(--nav-h) + var(--s2)); padding-bottom: var(--s5); gap: var(--s3); min-height: 100svh; justify-content: space-between; }
  #hero-title { font-size: clamp(34px, 10.6vw, 76px); gap: var(--s2); }
  .ln2 { text-align: left; }
  .band-wrap { height: clamp(120px, 42vw, 260px); margin: var(--s2) 0 var(--s4); }
  .track { animation-duration: 36s; }
  .chip { font-size: 9px; padding: 6px 8px; }
  .slot { box-shadow: 5px 5px 0 0 var(--gold); }
  .hero-foot { flex-direction: column; align-items: flex-start; gap: var(--s3); }
  .cta-lg { font-size: 16px; padding: 14px 20px; box-shadow: 5px 5px 0 0 var(--ink); }
  .hero .cta-lg { box-shadow: 5px 5px 0 0 var(--cream); }

  .sec-head, .work-intro { grid-template-columns: 1fr; }
  .sec-sub, .work-intro .sec-sub { grid-column: 1; }
  .itype { font-size: clamp(52px, 17.5vw, 150px); }
  .panel { width: 84vw; }
  .p-num { font-size: clamp(56px, 16vw, 110px); top: -0.38em; }
  .panel-meta { grid-template-columns: auto 1fr; }
  .p-title { grid-column: 1 / -1; grid-row: 2; }
  .p-kind { grid-column: 2; grid-row: 1; text-align: right; }
  .p-desc { grid-column: 1 / -1; }
  .p-link { grid-column: 1 / -1; text-align: left; }
  .shot-m { width: 24%; }

  .scard { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); padding: var(--s3); gap: var(--s2); box-shadow: 6px 6px 0 0 var(--gold);
    height: calc(100svh - var(--nav-h) - 64px); max-height: 720px; top: calc(var(--nav-h) + 12px + var(--i) * 10px); }
  .scard-text { display: grid; grid-template-columns: auto 1fr; align-items: end; gap: 4px var(--s2); }
  .scard-n { grid-row: 1 / 3; font-size: clamp(60px, 18vw, 110px); }
  .scard .mono { grid-column: 2; }
  .scard h3 { grid-column: 2; margin-top: 0; font-size: clamp(28px, 8vw, 48px); }
  .scard p { grid-column: 1 / -1; font-size: 15px; }
  .scard-shot img { object-fit: contain; object-position: top center; background: var(--warm); }
  .scard-shot { background: var(--warm); }
  .scard-shot--portal img { object-fit: cover; background: var(--obsidian); }
  .scard-phone { display: none; }

  .sixty-pin { min-height: 0; padding: var(--sec-y) var(--pad); }
  .sixty-wrap { flex-direction: column; align-items: flex-start; padding: var(--s4) 0; }
  .num { font-size: clamp(160px, 64vw, 440px); }
  .units { margin-top: 0; }
  .sixty-copy { flex-direction: column; align-items: flex-start; }
  .sixty-copy p.disc { text-align: left; }

  .num-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--rule-d); }
  .stat-n { font-size: clamp(40px, 11.6vw, 84px); }

  .svc { min-height: 300px; }
  .plan-list li { grid-template-columns: 1fr; gap: 6px; padding: var(--s3) 0; }
  .plan-list li:hover, .plan-list li:focus-visible { padding-left: 0; }
  .p-idx { display: none; }
  .p-price { align-items: flex-start; flex-direction: row; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin-top: 6px; }
  .p-setup { font-size: clamp(32px, 10vw, 52px); }
  .p-more { grid-column: 1; }

  .mq-track { font-size: clamp(56px, 17vw, 120px); }
  .close-foot { grid-template-columns: 1fr; align-items: start; }
  .foot-top { flex-direction: column; align-items: flex-start; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .foot-base { flex-direction: column; }
}

/* Still tier */
@media (prefers-reduced-motion: reduce) {
  .track { animation: none; }
  .cta, .panel-shot, .shot-d, .shot-m, .svc, .svc-more, .plan-list li, .nav { transition: none; }
}
.tier-full .stack::after, .tier-lite .stack::after { content: ""; display: block; flex: none; height: 22svh; }

.p-setup small.p-to { margin: 0 0.35em; }
