/* Nephos Designverse — homepage V2. Cinematic Obsidian. One family (Archivo variable). */
@font-face {
  font-family: "Archivo";
  src: url("assets/fonts/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --obsidian: #0B0D10;
  --graphite: #1C2024;
  --graphite-2: #14171B;
  --porcelain: #F5F3EE;
  --titanium: #A7AFB3;
  --dim: #6C7479;
  --hair: rgba(245, 243, 238, .12);
  --e1: #FFBC63; --e2: #FF872D; --e3: #F2531F; --e4: #AC3022;
  --ember-grad: linear-gradient(135deg, var(--e1), var(--e2) 35%, var(--e3) 70%, var(--e4));
  --gut: clamp(20px, 4.2vw, 72px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --spring: cubic-bezier(.34, 1.4, .5, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--obsidian); color: var(--porcelain);
  font-family: "Archivo", system-ui, sans-serif; font-weight: 380; font-stretch: 100%;
  font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
figure { margin: 0; }
:focus-visible { outline: 1.5px solid var(--e1); outline-offset: 4px; border-radius: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--porcelain); color: var(--obsidian); padding: 8px 14px; }
.skip:focus { left: 8px; }

/* ---------- Type system: one monument, quiet everything else ---------- */
.monument {
  margin: 0; font-weight: 900; font-stretch: 125%; text-transform: uppercase;
  line-height: .86; letter-spacing: -.02em; font-size: clamp(52px, 10.4vw, 200px);
}
.monument span { display: block; }
.h2 { margin: 0; font-weight: 340; font-stretch: 100%; font-size: clamp(28px, 3.3vw, 52px); line-height: 1.08; letter-spacing: -.015em; }
.label {
  margin: 0; font-size: 11px; font-weight: 520; font-stretch: 115%; letter-spacing: .2em;
  text-transform: uppercase; color: var(--titanium);
}

/* ---------- The Ember ---------- */
.ember {
  --s: 18px; width: var(--s); height: var(--s); border-radius: 50%; border: 0; padding: 0;
  background: radial-gradient(circle at 38% 34%, #FFF4DE 0 8%, var(--e1) 22%, var(--e2) 48%, var(--e3) 72%, var(--e4));
  box-shadow: 0 0 calc(var(--s) * .9) rgba(255, 135, 45, .55), 0 0 calc(var(--s) * 3) rgba(242, 83, 31, .22);
}
.ember--sm { --s: 9px; display: inline-block; flex: none; }
@keyframes breathe { 0%, 100% { transform: scale(1); filter: brightness(1); } 50% { transform: scale(1.12); filter: brightness(1.15); } }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--gut); transition: background .4s var(--ease), padding .4s var(--ease);
}
.nav.is-scrolled { background: rgba(11, 13, 16, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding-block: 14px; }
.nav__logo img { width: clamp(112px, 9vw, 138px); height: auto; }
.nav__links { display: flex; gap: clamp(18px, 2.6vw, 40px); font-size: 13.5px; font-weight: 450; }
.nav__links a { color: var(--titanium); transition: color .2s; }
.nav__links a:hover { color: var(--porcelain); }
.nav__contact { display: inline-flex; align-items: center; gap: 9px; color: var(--porcelain) !important; }
.nav__contact .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--e2); box-shadow: 0 0 10px var(--e2); }
@media (max-width: 700px) { .nav__links a:not(.nav__contact) { display: none; } }

/* ---------- Thread (continuity) ---------- */
.thread { position: fixed; right: calc(var(--gut) * .45); top: 50%; transform: translateY(-50%); z-index: 40; height: 46vh; width: 20px; }
.thread__line { position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: var(--hair); }
.thread__ember { position: absolute; left: 50%; top: 0; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%; background: var(--e2); box-shadow: 0 0 12px var(--e2); transform: translateY(calc(var(--p, 0) * 46vh)); }
.thread a { position: absolute; left: 50%; transform: translate(-50%, -50%); width: 20px; height: 20px; display: grid; place-items: center; }
.thread a span { width: 3px; height: 3px; border-radius: 50%; background: var(--dim); font-size: 0; transition: background .2s, transform .2s; }
.thread a em { position: absolute; right: 22px; font-style: normal; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; white-space: nowrap; color: var(--titanium); opacity: 0; transform: translateX(6px); transition: .22s var(--ease); pointer-events: none; }
.thread a:hover em, .thread a:focus-visible em, .thread:hover a.is-active em { opacity: 1; transform: none; }
.thread a.is-active span { background: var(--porcelain); transform: scale(1.4); }
.thread a[data-act="1"] { top: 0; } .thread a[data-act="2"] { top: 20%; } .thread a[data-act="3"] { top: 40%; } .thread a[data-act="4"] { top: 60%; } .thread a[data-act="5"] { top: 80%; } .thread a[data-act="6"] { top: 100%; }
@media (max-width: 900px) { .thread { display: none; } }

/* ---------- ACT I — Entrance ---------- */
.hero {
  position: relative; height: 100svh; min-height: 620px; overflow: hidden; isolation: isolate;
  --x: 62%; --y: 48%; touch-action: pan-y;
  background: radial-gradient(120% 90% at 70% 40%, #12151A 0%, var(--obsidian) 60%);
}
.hero__title { position: absolute; left: var(--gut); bottom: clamp(150px, 19vh, 200px); z-index: 1; color: var(--porcelain); }
.hero__title span:last-child { color: transparent; -webkit-text-stroke: 1.2px rgba(245, 243, 238, .55); }
/* The form sits in front of the type: black pixels vanish (lighten), bright hull covers the letters */
.hero__form {
  position: absolute; z-index: 2; right: -4vw; top: 11vh; width: min(96vw, 1650px); aspect-ratio: 16 / 9; mix-blend-mode: lighten; pointer-events: none;
  -webkit-mask-image: radial-gradient(circle at var(--mx, 60%) var(--my, 45%), #000 0, rgba(0,0,0,.95) 9vmax, rgba(0,0,0,.28) 26vmax, rgba(0,0,0,.1) 48vmax);
          mask-image: radial-gradient(circle at var(--mx, 60%) var(--my, 45%), #000 0, rgba(0,0,0,.95) 9vmax, rgba(0,0,0,.28) 26vmax, rgba(0,0,0,.1) 48vmax);
}
.hero__form img { width: 100%; height: 100%; object-fit: cover; filter: contrast(1.08); }
.hero__glow { position: absolute; inset: 0; z-index: 3; pointer-events: none; mix-blend-mode: screen; opacity: .55;
  background: radial-gradient(circle at var(--x) var(--y), rgba(255, 150, 60, .22) 0, rgba(242, 83, 31, .07) 14vmax, transparent 30vmax); }
.hero__ember { position: absolute; z-index: 4; left: 0; top: 0; --s: 16px; transform: translate3d(calc(var(--px, 60vw) - 8px), calc(var(--py, 45vh) - 8px), 0); pointer-events: none; }
.hero__kicker { position: absolute; z-index: 5; left: var(--gut); top: clamp(96px, 14vh, 140px); line-height: 2; }
.hero__kicker span { color: var(--dim); }
.hero__lede { position: absolute; z-index: 5; left: var(--gut); bottom: clamp(56px, 8vh, 84px); margin: 0; max-width: 34ch; color: var(--titanium); font-size: 15px; }
.hero__foot { position: absolute; z-index: 5; right: calc(var(--gut) + 30px); bottom: clamp(56px, 8vh, 84px); display: flex; gap: 40px; align-items: center; }
.hero__hint { display: flex; align-items: center; gap: 10px; transition: opacity .6s; }
.hero.is-touched .hero__hint { opacity: 0; }
@media (hover: hover) and (pointer: fine) {
  .hero, .hero * { cursor: none; }
  .hero__ember { transition: width .25s var(--ease), height .25s var(--ease), margin .25s var(--ease); }
  .hero.is-onlink .hero__ember { --s: 34px; margin: -9px 0 0 -9px; opacity: .85; }
}
.hint-dot { width: 22px; height: 22px; border-radius: 50%; border: 1px solid rgba(255, 135, 45, .5); position: relative; }
.hint-dot::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: var(--e2); animation: breathe 2.4s ease-in-out infinite; }
.link-arrow { font-size: 14px; display: inline-flex; gap: 10px; align-items: center; border-bottom: 1px solid var(--hair); padding-bottom: 4px; transition: border-color .2s; }
.link-arrow:hover { border-color: var(--porcelain); }
@media (max-width: 700px) {
  .hero__form { right: -32vw; top: 16vh; width: 170vw; }
  .hero__title { bottom: 150px; font-size: clamp(38px, 12.4vw, 80px); }
  .hero__lede { bottom: 72px; font-size: 14px; max-width: 30ch; }
  .hero__foot { left: var(--gut); right: auto; bottom: 24px; gap: 28px; }
  .hero__kicker { top: 84px; }
}

/* ---------- Shared section head ---------- */
.sec-head { padding: 0 var(--gut); margin-bottom: clamp(36px, 6vh, 64px); }
.sec-head .label { margin-bottom: 20px; }
.sec-head .h2 { max-width: 22ch; }

/* ---------- 2 · Proof: lab readings ---------- */
.readings { padding: clamp(110px, 16vh, 180px) 0 clamp(70px, 10vh, 120px); }
.gauges { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 0 var(--gut); }
.gauge { position: relative; text-align: left; display: grid; align-content: start; gap: 6px; min-height: 230px; padding: 26px 26px 24px; border: 0; border-top: 1px solid var(--hair); background: linear-gradient(180deg, rgba(245, 243, 238, .03), transparent 70%); cursor: pointer; overflow: hidden; transition: background .4s var(--ease); }
.gauge::before { content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: var(--fill, 0%); background: var(--e2); box-shadow: 0 0 10px var(--e2); transition: width 1.6s var(--ease); }
.gauge:hover, .gauge[aria-expanded="true"] { background: linear-gradient(180deg, rgba(255, 135, 45, .07), transparent 75%); }
.gauge__n { display: flex; align-items: flex-start; font-weight: 250; font-stretch: 110%; font-size: clamp(60px, 7vw, 112px); line-height: .9; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.gauge__n i { font-style: normal; font-size: .45em; color: var(--e1); margin: .1em 0 0 .06em; }
.gauge__l { font-size: 14px; color: var(--titanium); }
.gauge__more { font-size: 13px; line-height: 1.5; color: var(--porcelain); max-height: 0; opacity: 0; transform: translateY(6px); transition: max-height .5s var(--ease), opacity .4s var(--ease), transform .4s var(--ease); }
.gauge:hover .gauge__more, .gauge[aria-expanded="true"] .gauge__more, .gauge:focus-visible .gauge__more { max-height: 120px; opacity: 1; transform: none; margin-top: 10px; }
.gauge--clock { cursor: default; gap: 18px; }
.clock { display: grid; gap: 2px; }
.clock b { font-weight: 300; font-stretch: 110%; font-size: clamp(30px, 3vw, 46px); line-height: 1; font-variant-numeric: tabular-nums; }
.clock b .sep { animation: blink 1s steps(1) infinite; color: var(--e2); }
@keyframes blink { 50% { opacity: .2; } }
.clock em { font-style: normal; font-size: 13px; color: var(--titanium); }
.brands { display: flex; align-items: center; gap: 32px; padding: 34px var(--gut) 0; }
.brands__k { flex: none; }
.brands__track { overflow: hidden; flex: 1; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.brands__row { display: flex; gap: 56px; width: max-content; animation: drift 38s linear infinite; }
.brands__row span { font-size: clamp(18px, 1.6vw, 24px); font-weight: 420; color: var(--titanium); white-space: nowrap; transition: color .2s; }
.brands__row span:hover { color: var(--porcelain); }
.brands__track:hover .brands__row { animation-play-state: paused; }
@keyframes drift { to { transform: translateX(-50%); } }
@media (max-width: 900px) {
  .gauges { grid-template-columns: repeat(3, 1fr); gap: 4px; }
  .gauge { min-height: 150px; padding: 18px 12px; }
  .gauge__n { font-size: clamp(40px, 11vw, 72px); }
  .gauge__l { font-size: 12.5px; line-height: 1.35; }
  .gauge--clock { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; min-height: 0; }
  .gauge--clock .label { grid-column: 1 / -1; }
  .brands { display: block; } .brands__k { margin-bottom: 14px; }
}

/* ---------- ACT II — Laboratory ---------- */
.lab { padding: clamp(90px, 12vh, 140px) var(--gut) clamp(90px, 12vh, 140px); background: linear-gradient(var(--obsidian), var(--graphite-2) 60%, var(--obsidian)); }
.lab__head { padding: 0; }
.lab__body { display: grid; grid-template-columns: 6fr 6fr; gap: clamp(24px, 4vw, 72px); align-items: start; }

.stage { position: relative; }
.stage__img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--graphite); }
.stage__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .7s var(--ease), transform 1.2s var(--ease); }
.stage__img img.is-on { opacity: 1; transform: none; }
.stage__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(11, 13, 16, .85)); pointer-events: none; }
.stage__cap { position: absolute; left: clamp(18px, 2.4vw, 32px); right: clamp(18px, 2.4vw, 32px); bottom: clamp(16px, 2.2vw, 28px); display: grid; gap: 8px; }
.stage__world { color: var(--e1); }
.stage__text { font-size: clamp(17px, 1.6vw, 23px); font-weight: 400; line-height: 1.3; max-width: 34ch; }

.catalyst { display: grid; gap: 18px; }
.ring { position: relative; width: min(calc(100% - 250px), 470px); aspect-ratio: 1; margin: 10px auto 26px; touch-action: none; }
.ring__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ring__orbit { fill: none; stroke: var(--hair); stroke-dasharray: 2 6; }
.ring__spokes line { stroke: rgba(245, 243, 238, .08); stroke-width: 1; }
.ring__arcs path { fill: none; stroke: url(#emberStroke); stroke: var(--e2); stroke-width: 1.5; stroke-linecap: round; opacity: .9; }
.ring__pulse { fill: var(--e1); opacity: 0; filter: drop-shadow(0 0 6px var(--e2)); }
.ring__ember { position: absolute; left: 50%; top: 50%; --s: 30px; margin: -15px 0 0 -15px; cursor: grab; z-index: 3; transform: translate3d(var(--ex, 0px), var(--ey, 0px), 0); transition: transform .7s var(--spring); }
.ring__ember::before { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 1px solid rgba(255, 135, 45, .35); animation: ripple 2.6s ease-out infinite; }
@keyframes ripple { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.ring__ember.is-dragging { cursor: grabbing; transition: none; }
.ring__ember.is-spent::before { animation: none; opacity: 0; }
.ring.is-idle .ring__ember { animation: breathe 2.8s ease-in-out infinite; }

.world { position: absolute; z-index: 2; transform: translate(-50%, -50%); background: none; border: 0; padding: 0; cursor: pointer; display: grid; justify-items: center; gap: 10px; }
.world__node { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(245, 243, 238, .4); background: var(--obsidian); transition: transform .35s var(--spring), background .35s, border-color .35s, box-shadow .35s; }
.world__name { font-size: 12px; font-weight: 520; font-stretch: 115%; letter-spacing: .18em; text-transform: uppercase; color: var(--titanium); transition: color .3s; white-space: nowrap; }
.world:hover .world__node, .world.is-near .world__node { transform: scale(1.5); border-color: var(--e1); }
.world:hover .world__name, .world.is-near .world__name { color: var(--porcelain); }
.world.is-lit .world__node { background: var(--e2); border-color: var(--e1); box-shadow: 0 0 16px rgba(255, 135, 45, .7); }
.world.is-lit .world__name { color: var(--porcelain); }
.world.is-origin .world__node { transform: scale(1.7); }
.world { display: block; }
.world__node { position: relative; display: block; }
.world__name { position: absolute; }
.world[data-side="top"] .world__name { bottom: 24px; left: 50%; transform: translateX(-50%); }
.world[data-side="bottom"] .world__name { top: 24px; left: 50%; transform: translateX(-50%); }
.world[data-side="right"] .world__name { left: 24px; top: 50%; transform: translateY(-50%); }
.world[data-side="left"] .world__name { right: 24px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) {
  .world[data-side="left"] .world__name, .world[data-side="right"] .world__name { left: 50%; right: auto; top: 22px; transform: translateX(-50%); }
  .world__name { font-size: 10px; letter-spacing: .14em; }
}

.chain { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; min-height: 1px; }
.chain li { display: grid; grid-template-columns: 110px 1fr; gap: 14px; padding: 10px 0; border-top: 1px solid var(--hair); font-size: 14px; color: var(--titanium); opacity: 0; transform: translateY(6px); transition: opacity .45s var(--ease), transform .45s var(--ease), color .2s; cursor: pointer; }
.chain li.is-in { opacity: 1; transform: none; }
.chain li:hover, .chain li.is-current { color: var(--porcelain); }
.chain li b { font-weight: 520; font-stretch: 115%; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--porcelain); padding-top: 2px; }
.chain li.is-current b { color: var(--e1); }
.lab__controls { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; min-height: 34px; }
.lab__status { margin: 0 auto 0 0; font-size: 14px; color: var(--titanium); }
.btn-quiet { background: none; border: 1px solid var(--hair); border-radius: 999px; padding: 7px 16px; font-size: 13px; cursor: pointer; transition: border-color .2s, background .2s; }
.btn-quiet:hover { border-color: var(--porcelain); }
@media (max-width: 900px) {
  .lab__head { display: block; }
  .lab__head .h2 { margin-bottom: 18px; }
  .lab__body { grid-template-columns: 1fr; }
  .catalyst { display: contents; }
  .ring { order: 1; width: min(74vw, 380px); margin-block: 30px 20px; }
  .stage { order: 2; }
  .chain { order: 3; }
  .lab__controls { order: 4; }
  .chain li { grid-template-columns: 118px 1fr; font-size: 13.5px; }
}

/* ---------- ACT III — Experiments: full-bleed reel ---------- */
.work { padding: clamp(90px, 14vh, 160px) 0 0; }
.reel { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.exp { position: relative; margin: 0; overflow: hidden; background: var(--graphite); }
.exp--full { grid-column: 1 / -1; height: min(86svh, 56.25vw); min-height: 440px; }
.exp--third { grid-column: span 2; height: min(66svh, 40vw); min-height: 340px; }
.exp picture { position: absolute; inset: 0; }
.exp__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), filter .6s var(--ease); }
.exp::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 58%, rgba(11, 13, 16, .72)); }
.exp:hover .exp__media { transform: scale(1.035); }
.exp--space, .exp--dark { background: #000; }
.exp--space .exp__media { object-fit: contain; }
.exp--studio .exp__media { filter: brightness(.82); }
.exp__tag { position: absolute; z-index: 2; left: clamp(18px, 2.4vw, 36px); bottom: clamp(18px, 3vh, 34px); display: grid; gap: 8px; margin: 0; }
.exp__tag strong { font-weight: 420; font-size: clamp(22px, 2.2vw, 34px); line-height: 1.05; letter-spacing: -.01em; }
.exp__tag .label { display: flex; align-items: center; gap: 10px; }
.exp__tag .label::before { content: ""; width: 6px; height: 6px; border-radius: 50%; border: 1px solid var(--titanium); transition: background .3s, border-color .3s, box-shadow .3s; }
.exp:hover .exp__tag .label::before { background: var(--e2); border-color: var(--e1); box-shadow: 0 0 10px var(--e2); }
.badge { position: absolute; z-index: 2; top: clamp(14px, 1.8vw, 24px); left: clamp(14px, 1.8vw, 24px); font-size: 11px; font-weight: 520; font-stretch: 112%; letter-spacing: .12em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; color: var(--obsidian); background: linear-gradient(120deg, var(--e1), var(--e2)); box-shadow: 0 6px 24px -8px rgba(255, 135, 45, .7); }
.exp__proof { position: absolute; z-index: 2; right: clamp(18px, 2.4vw, 36px); bottom: clamp(18px, 3vh, 34px); width: clamp(180px, 22vw, 340px); margin: 0; display: grid; gap: 10px; }
.exp__proof img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: 0 0 0 1px rgba(245, 243, 238, .18), 0 20px 50px -20px #000; }
.exp__proof .label { color: var(--titanium); }
@media (max-width: 700px) { .exp__proof { top: 16px; bottom: auto; width: 42%; } }
.badge--built { color: var(--porcelain); background: rgba(11, 13, 16, .6); box-shadow: inset 0 0 0 1px rgba(245, 243, 238, .25); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.archive { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 6px 0 0; padding: 30px var(--gut); background: var(--graphite-2); font-size: clamp(18px, 1.6vw, 24px); transition: background .3s; }
.archive:hover { background: var(--graphite); }
@media (max-width: 700px) {
  .reel { grid-template-columns: 1fr; gap: 4px; }
  .exp--full, .exp--third { grid-column: 1 / -1; height: 62svh; min-height: 360px; }
  .badge { font-size: 9.5px; letter-spacing: .1em; padding: 6px 10px; max-width: calc(100% - 28px); }
  .exp--film .exp__media { object-position: 58% 50%; }
  .exp--space .exp__media { object-fit: cover; }
}

/* ---------- 5 · Method: the column you point at opens ---------- */
.method { padding: clamp(110px, 16vh, 180px) 0 clamp(110px, 16vh, 200px); }
.trio { display: flex; gap: 6px; height: min(76svh, 50vw); min-height: 420px; }
.trio__item { position: relative; flex: 1; overflow: hidden; background: var(--graphite); cursor: pointer; transition: flex .9s var(--ease); outline-offset: -3px; }
.trio__item.is-open { flex: 2.2; }
.trio__line { display: block; max-width: 30ch; opacity: .55; transition: opacity .5s var(--ease); }
.trio__item.is-open .trio__line { opacity: 1; }
.trio__item:not(.is-open) img { filter: brightness(.6) saturate(.8) !important; }
.trio__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: filter .6s var(--ease); }
.trio__item:nth-child(1) img { object-position: 30% 40%; }
.trio__item:nth-child(2) img { filter: brightness(.82) contrast(1.05); }
.trio__item--build img { object-position: 0% 50%; }
.trio__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(11, 13, 16, .85)); }
.trio__item figcaption { position: absolute; z-index: 2; left: clamp(18px, 2.4vw, 32px); right: clamp(18px, 2.4vw, 32px); bottom: clamp(20px, 3vh, 34px); font-size: 15px; color: var(--titanium); }
.trio__item figcaption .label { display: block; margin-bottom: 10px; }
.trio__item figcaption strong { display: block; font-weight: 420; font-size: clamp(30px, 3vw, 48px); line-height: 1; color: var(--porcelain); margin-bottom: 10px; }
.trio__item--build figcaption strong { color: var(--e1); }
.china { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 24px; padding: clamp(56px, 9vh, 100px) var(--gut) 0; align-items: baseline; }
.china__k { grid-column: 1 / 4; display: flex; align-items: center; gap: 12px; color: var(--porcelain); }
.china__t { grid-column: 4 / 11; margin: 0; font-size: clamp(22px, 2.3vw, 36px); font-weight: 340; line-height: 1.22; letter-spacing: -.01em; }
@media (max-width: 900px) {
  .trio { flex-direction: column; height: auto; gap: 4px; }
  .trio__item, .trio__item.is-open { flex: none; height: 56svh; }
  .trio__item:not(.is-open) img { filter: none !important; }
  .china { display: block; }
  .china__k { margin-bottom: 16px; }
}

/* ---------- ACT V — Everything connects ---------- */
.finale { position: relative; padding: clamp(110px, 16vh, 180px) var(--gut) clamp(80px, 12vh, 140px); overflow: hidden; display: grid; justify-items: center; text-align: center; isolation: isolate;
  background: radial-gradient(60% 45% at 50% 30%, rgba(172, 48, 34, .16), transparent 70%), var(--obsidian); }
.constellation { position: relative; width: min(64vw, 520px); aspect-ratio: 1; margin-bottom: clamp(36px, 6vh, 72px); }
.constellation svg { width: 100%; height: 100%; overflow: visible; }
.con__lines line { stroke: var(--e2); stroke-width: .8; opacity: .55; stroke-dasharray: 220; stroke-dashoffset: 220; transition: stroke-dashoffset 1.4s var(--ease); }
.con__lines line.ring-l { stroke: var(--hair); stroke-width: .8; opacity: 1; }
.finale.is-in .con__lines line { stroke-dashoffset: 0; }
.con__node { position: absolute; width: clamp(54px, 7vw, 96px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; transform: translate(-50%, -50%) scale(.6); opacity: 0; transition: transform .9s var(--spring), opacity .6s var(--ease); border: 1px solid rgba(245, 243, 238, .18); }
.con__node img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) brightness(.85); }
.finale.is-in .con__node { transform: translate(-50%, -50%) scale(1); opacity: 1; }
.con__ember { position: absolute; left: 50%; top: 50%; --s: 26px; margin: -13px 0 0 -13px; animation: breathe 2.8s ease-in-out infinite; }
.finale__title { font-size: clamp(44px, 7.6vw, 148px); }
.finale__title span:last-child { color: transparent; -webkit-text-stroke: 1.2px rgba(245, 243, 238, .55); }
.finale__sub { margin: 26px 0 0; font-size: clamp(18px, 1.8vw, 26px); font-weight: 340; color: var(--porcelain); }
.finale__recall { margin: 14px 0 0; font-size: 15px; color: var(--titanium); }
.finale__recall b { color: var(--e1); font-weight: 450; }
.finale__cta { margin-top: clamp(36px, 6vh, 64px); display: flex; gap: 36px; align-items: center; justify-content: center; flex-wrap: wrap; }
.btn-ember { display: inline-flex; align-items: center; gap: 14px; padding: 16px 28px 16px 22px; border-radius: 999px; font-size: 15px; font-weight: 480;
  background: linear-gradient(var(--graphite), var(--graphite)) padding-box, linear-gradient(120deg, rgba(255,188,99,.9), rgba(242,83,31,.4) 40%, rgba(245,243,238,.12) 70%) border-box; border: 1px solid transparent; transition: box-shadow .25s var(--ease), transform .25s var(--ease); }
.btn-ember:hover { box-shadow: 0 0 0 1px rgba(255, 135, 45, .35), 0 10px 40px -10px rgba(242, 83, 31, .55); transform: translateY(-1px); }
@media (max-width: 700px) {
  .constellation { width: 84vw; }
  .finale .monument { font-size: clamp(40px, 12.4vw, 72px); }
}

/* ---------- Footer ---------- */
.foot { display: grid; grid-template-columns: auto 1fr auto auto; gap: 20px 48px; align-items: end; padding: 44px var(--gut) 40px; border-top: 1px solid var(--hair); font-size: 13px; color: var(--titanium); }
.foot__logo { width: 120px; height: auto; opacity: .9; }
.foot p { margin: 0; }
.foot__where strong { color: var(--porcelain); font-weight: 480; margin-right: 10px; }
.foot__mail a { color: var(--porcelain); }
@media (max-width: 700px) { .foot { grid-template-columns: 1fr; } }

/* ---------- Reveal: formation, not fade ---------- */
.js .reveal { clip-path: inset(6% 4% 6% 4%); transition: clip-path 1.1s var(--ease); }
.js .reveal img, .js .reveal video { transform: scale(1.06); transition: transform 1.4s var(--ease); }
.js .reveal.is-in { clip-path: inset(0 0 0 0); }
.js .reveal.is-in img, .js .reveal.is-in video { transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .reveal img, .js .reveal video { clip-path: none !important; transform: none !important; transition: none !important; }
  .ember, .ring__ember::before, .hint-dot::after, .brands__row, .clock b .sep { animation: none !important; }
}
.js .exp.reveal.is-in:hover .exp__media { transform: scale(1.035); }
#p-rv .exp__media { object-position: 40% 35%; }
