/* Ageless — main stylesheet
   Palette from the Ageless brand book (Vitality / Sand / Linen scales). */

@font-face { font-family: "Fustat"; src: url("../fonts/fustat-latin-300-normal.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Fustat"; src: url("../fonts/fustat-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Fustat"; src: url("../fonts/fustat-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Fustat"; src: url("../fonts/fustat-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Quattrocento"; src: url("../fonts/quattrocento-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Quattrocento"; src: url("../fonts/quattrocento-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  /* Vitality (primary) */
  --v50: #E8EDE9; --v100: #C0CEBE; --v200: #8EAA90; --v400: #557A58; --v500: #3E6141;
  --v600: #2E4E31; --v700: #1A3120; --v800: #17251E; --v900: #060D09;
  /* Sand (accents) */
  --s50: #F2EAE4; --s100: #DEC7B5; --s200: #BFA08A; --s400: #8C6B52;
  /* Linen (neutrals) */
  --l50: #FAFAF8; --l100: #EFEDEB; --l200: #DDD9D5; --l500: #A8A39D; --l700: #504E4A;

  --ink: var(--v800);
  --paper: var(--l50);
  --on-dark: #F1F3EF;
  --on-dark-mute: rgba(232, 237, 233, .62);
  --on-light: var(--v800);
  --on-light-mute: rgba(23, 37, 30, .64);
  --rule-dark: rgba(232, 237, 233, .14);
  --rule-light: rgba(23, 37, 30, .14);

  --serif: "Quattrocento", Georgia, "Times New Roman", serif;
  --sans: "Fustat", "Helvetica Neue", Arial, system-ui, sans-serif;

  --wrap: min(1320px, 100% - 2 * var(--gutter));
  --gutter: clamp(20px, 4vw, 56px);
  --section: clamp(96px, 14vw, 200px);
  --ease: cubic-bezier(.2, .7, .1, 1);

  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
*, *::before, *::after { box-sizing: inherit; }
html { scroll-padding-top: calc(env(safe-area-inset-top, 0px) + 80px); -webkit-text-size-adjust: 100%; background: var(--ink); }
body {
  margin: 0; background: var(--ink); color: var(--on-dark);
  font: 300 1.0625rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--s100); color: var(--v900); }
:focus-visible { outline: 2px solid var(--s100); outline-offset: 3px; border-radius: 4px; }

.wrap { width: var(--wrap); margin-inline: auto; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--s100); color: var(--v900); padding: 10px 16px; border-radius: 999px; text-decoration: none; }
.skip:focus { top: 16px; }

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* ---------- Type ---------- */
.h2 {
  font: 400 clamp(2.25rem, 4.4vw, 4rem)/1.04 var(--serif);
  letter-spacing: -.015em; max-width: 16ch; text-wrap: balance;
}
.lead { font-size: clamp(1.0625rem, 1.25vw, 1.25rem); line-height: 1.6; max-width: 44ch; margin-top: 1.5rem; color: var(--on-dark-mute); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--on-dark); --fg: var(--v800);
  display: inline-flex; align-items: center; gap: .6em; height: 52px; padding: 0 26px;
  border-radius: 999px; border: 0; background: var(--bg); color: var(--fg);
  font: 500 .95rem/1 var(--sans); letter-spacing: .01em; text-decoration: none; cursor: pointer;
  position: relative; overflow: hidden; isolation: isolate;
  transition: color .5s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--s100);
  transform: translateY(101%); transition: transform .55s var(--ease); border-radius: inherit;
}
.btn:hover::before { transform: translateY(0); }
.btn--sm { height: 40px; padding: 0 18px; font-size: .875rem; }
.btn--dark { --bg: var(--v800); --fg: var(--on-dark); }
.btn--dark:hover { color: var(--v900); }
.btn[disabled] { opacity: .6; cursor: progress; }

.link-quiet {
  font-weight: 400; text-decoration: none; padding-bottom: 3px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size .5s var(--ease);
}
.link-quiet:hover { background-size: 0 1px; background-position: 100% 100%; }

.status { display: inline-flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 400; color: var(--on-dark-mute); }
.status__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--v200); box-shadow: 0 0 0 0 rgba(142,170,144,.55); animation: pulse 2.6s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(142,170,144,.5); } 70% { box-shadow: 0 0 0 10px rgba(142,170,144,0); } 100% { box-shadow: 0 0 0 0 rgba(142,170,144,0); } }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  transition: transform .6s var(--ease), background-color .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.site-header__inner { width: var(--wrap); margin-inline: auto; height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header.is-solid { background: rgba(23, 37, 30, .82); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); border-color: var(--rule-dark); }
.site-header.is-hidden { transform: translateY(-100%); }
.brand { display: block; color: var(--on-dark); }
.brand__logo { height: 30px; width: auto; fill: currentColor; display: block; }
.nav { display: flex; gap: clamp(18px, 2.4vw, 36px); }
.nav a { text-decoration: none; font-size: .9rem; font-weight: 400; color: var(--on-dark-mute); transition: color .3s; }
.nav a:hover, .nav a.is-current { color: var(--on-dark); }
.site-header__actions { display: flex; align-items: center; gap: 18px; }
.lang { font-size: .85rem; font-weight: 500; text-decoration: none; width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--rule-dark); border-radius: 50%; color: var(--on-dark-mute); transition: color .3s, border-color .3s; }
.lang:hover { color: var(--on-dark); border-color: var(--on-dark-mute); }
.menu-toggle { display: none; background: none; border: 0; align-items: center; gap: 10px; cursor: pointer; padding: 8px 0; font-size: .9rem; }
.menu-toggle__icon { width: 22px; height: 10px; position: relative; }
.menu-toggle__icon i { position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease); }
.menu-toggle__icon i:first-child { top: 0; } .menu-toggle__icon i:last-child { top: 8.5px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon i:first-child { top: 4px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon i:last-child { top: 4px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: -1; background: var(--v900);
  padding: calc(env(safe-area-inset-top, 0px) + 110px) var(--gutter) calc(env(safe-area-inset-bottom, 0px) + 40px);
  display: flex; flex-direction: column; justify-content: space-between;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 6px; }
.mobile-menu nav a { font: 400 clamp(2rem, 9vw, 3rem)/1.2 var(--serif); text-decoration: none; }
.mobile-menu__lang { font-size: 1rem; color: var(--on-dark-mute); }

@media (max-width: 960px) {
  .nav, .site-header__actions .btn, .site-header__actions .lang { display: none; }
  .menu-toggle { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; background: radial-gradient(120% 80% at 75% 40%, #1E3426 0%, var(--v800) 55%, #111C16 100%); }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__content { position: relative; padding-top: 140px; pointer-events: none; }
.hero__content a { pointer-events: auto; }
.hero__title {
  font: 400 clamp(3.6rem, 11.2vw, 11rem)/.9 var(--serif); letter-spacing: -.03em;
  color: var(--on-dark);
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: block; }
.hero__title .line:nth-child(2) { padding-left: .9em; }
.hero__lead { max-width: 40ch; margin-top: 2rem; font-size: clamp(1.0625rem, 1.3vw, 1.25rem); color: var(--on-dark-mute); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 2.2rem; }
.hero__foot { position: relative; display: flex; justify-content: space-between; align-items: center; padding: 56px 0 32px; }
.hero__scroll { display: flex; align-items: center; gap: 12px; font-size: .85rem; color: var(--on-dark-mute); }
.hero__scroll span { width: 1px; height: 36px; background: linear-gradient(var(--on-dark-mute), transparent); transform-origin: top; animation: drip 2.4s var(--ease) infinite; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
@media (max-width: 760px) {
  .hero__title .line:nth-child(2) { padding-left: .5em; }
  .hero__foot { padding-top: 40px; }
}

/* ---------- Manifesto ---------- */
.manifesto { background: var(--paper); color: var(--on-light); padding: var(--section) 0 clamp(72px, 9vw, 140px); }
.manifesto__text {
  font: 400 clamp(1.9rem, 4.1vw, 3.75rem)/1.16 var(--serif); letter-spacing: -.012em;
  max-width: 24ch; text-wrap: pretty;
}
.manifesto__text .w { color: var(--l200); transition: color .2s; }
.manifesto__text .w.is-on { color: var(--on-light); }
.no-js .manifesto__text .w, .reduced .manifesto__text .w { color: var(--on-light); }
.manifesto__sign { margin-top: 2rem; font-size: .95rem; color: var(--on-light-mute); padding-left: 64px; position: relative; }
.manifesto__sign::before { content: ""; position: absolute; left: 0; top: 50%; width: 44px; height: 1px; background: var(--s200); }

.figures { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(80px, 10vw, 150px); border-top: 1px solid var(--rule-light); }
.figure { padding: 28px 24px 0 0; }
.figure + .figure { padding-left: 24px; border-left: 1px solid var(--rule-light); }
.figure__value { font: 400 clamp(3rem, 6vw, 6rem)/1 var(--serif); letter-spacing: -.03em; font-variant-numeric: lining-nums; white-space: nowrap; }
.figure__unit { font-size: .5em; letter-spacing: 0; margin-left: .18em; vertical-align: .62em; }
.figure__label { margin-top: 14px; max-width: 22ch; color: var(--on-light-mute); font-size: 1rem; }
@media (max-width: 760px) {
  .figures { grid-template-columns: 1fr; }
  .figure + .figure { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule-light); margin-top: 28px; }
}

/* ---------- Image band ---------- */
.band { background: var(--paper); padding-bottom: 0; }
.band__frame { position: relative; height: 92vh; height: 92svh; overflow: hidden; clip-path: inset(0 var(--gutter) 0 var(--gutter) round 24px); will-change: clip-path; }
.band__frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.18); will-change: transform; }
.band__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23,37,30,0) 60%, rgba(23,37,30,.55)); }

/* ---------- Diagnostics ---------- */
.diagnostics { background: var(--v800); padding: var(--section) 0; }
.diagnostics__grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-areas: "intro intro" "ring list"; column-gap: clamp(32px, 6vw, 110px); row-gap: clamp(56px, 7vw, 100px); align-items: center; }
.diagnostics__intro { grid-area: intro; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 110px); align-items: end; }
.diagnostics__intro .lead { margin-top: 0; }
.ring { grid-area: ring; position: relative; aspect-ratio: 1; width: 100%; max-width: 560px; justify-self: center; }
.ring__svg { width: 100%; height: 100%; overflow: visible; }
.ring__center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; pointer-events: none; }
.ring__value { font: 400 clamp(3.5rem, 7vw, 6rem)/1 var(--serif); letter-spacing: -.03em; }
.ring__label { margin-top: 6px; color: var(--on-dark-mute); font-size: .95rem; }
.ring__domain { margin-top: 18px; min-height: 1.4em; font-size: .9rem; color: var(--s100); max-width: 16ch; }
.ring__tick { stroke-linecap: round; stroke-width: 3; transition: opacity .5s var(--ease), stroke .5s; }
.ring__tick.is-dim { opacity: .18; }
.ring__orbit { fill: none; stroke: var(--rule-dark); stroke-width: 1; }
.ring__arc { fill: none; stroke-width: 1.5; stroke-linecap: round; opacity: 0; transition: opacity .5s; }
.ring__arc.is-on { opacity: 1; }

.domains { grid-area: list; border-top: 1px solid var(--rule-dark); }
.domain { border-bottom: 1px solid var(--rule-dark); }
.domain__head { width: 100%; display: flex; align-items: center; gap: 16px; padding: 22px 0; background: none; border: 0; text-align: left; cursor: pointer; }
.domain__swatch { width: 10px; height: 10px; border-radius: 50%; background: var(--c); flex: none; transition: transform .4s var(--ease); }
.domain__name { flex: 1; font: 400 clamp(1.25rem, 1.7vw, 1.6rem)/1.2 var(--serif); }
.domain__plus { width: 14px; height: 14px; position: relative; flex: none; }
.domain__plus::before, .domain__plus::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: currentColor; transition: transform .4s var(--ease); }
.domain__plus::after { transform: rotate(90deg); }
.domain__head[aria-expanded="true"] .domain__plus::after { transform: rotate(0); }
.domain__head[aria-expanded="true"] .domain__swatch { transform: scale(1.5); }
.domain__head:hover .domain__name { color: var(--s100); }
.domain__body { padding: 0 30px 26px 26px; color: var(--on-dark-mute); max-width: 52ch; }
.domain__body p + p { margin-top: .8rem; }
.domain__why strong { font-weight: 500; color: var(--on-dark); }
.domain[data-domain="blood"] { --c: #8EAA90; }
.domain[data-domain="genomics"] { --c: #DEC7B5; }
.domain[data-domain="imaging"] { --c: #C0CEBE; }
.domain[data-domain="performance"] { --c: #6E9A72; }
.domain[data-domain="cognition"] { --c: #BFA08A; }
.domain[data-domain="lifestyle"] { --c: #E8EDE9; }
@media (max-width: 960px) {
  .diagnostics__grid { grid-template-columns: 1fr; grid-template-areas: "intro" "ring" "list"; }
  .diagnostics__intro { grid-template-columns: 1fr; gap: 0; }
  .diagnostics__intro .lead { margin-top: 1.5rem; }
  .ring { max-width: 440px; }
}

/* ---------- System ---------- */
.system { background: var(--v50); color: var(--on-light); }
.system__pin { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 80px; }
.system__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 110px); align-items: center; }
.system .lead { color: var(--on-light-mute); }
.steps { margin-top: clamp(36px, 5vw, 64px); display: grid; }
.step { display: grid; grid-template-columns: 48px 1fr; gap: 12px; padding: 18px 0; border-top: 1px solid var(--rule-light); transition: opacity .5s var(--ease); }
.step:last-child { border-bottom: 1px solid var(--rule-light); }
.step__num { font: 500 .85rem/2 var(--sans); color: var(--s400); font-variant-numeric: tabular-nums; }
.step__name { font: 400 1.6rem/1.2 var(--serif); }
.step__text { color: var(--on-light-mute); max-width: 42ch; margin-top: 6px; }
.js .system.is-pinned .step { opacity: .32; }
.js .system.is-pinned .step.is-active { opacity: 1; }

.loop { position: relative; aspect-ratio: 1; width: 100%; max-width: 520px; justify-self: center; }
.loop__svg { width: 100%; height: 100%; overflow: visible; }
.loop__track { fill: none; stroke: var(--rule-light); stroke-width: 1; }
.loop__inner { fill: none; stroke: var(--rule-light); stroke-width: 1; stroke-dasharray: 2 6; }
.loop__progress { fill: none; stroke: var(--v600); stroke-width: 2; transform: rotate(-90deg); stroke-linecap: round; }
.loop__node { fill: var(--v50); stroke: var(--v600); stroke-width: 1.5; transition: fill .4s, r .4s; }
.loop__node.is-active { fill: var(--v600); }
.loop__runner { fill: var(--s400); }
.loop__labels { position: absolute; inset: 0; pointer-events: none; }
.loop__label { position: absolute; font: 500 .9rem/1 var(--sans); color: var(--on-light-mute); transition: color .4s; white-space: nowrap; }
.loop__label.is-active { color: var(--on-light); }
.loop__label--1 { left: 50%; top: 4%; transform: translate(-50%, -100%); }
.loop__label--2 { right: 4%; top: 50%; transform: translate(100%, -50%); padding-left: 14px; }
.loop__label--3 { left: 50%; bottom: 4%; transform: translate(-50%, 100%); }
.loop__label--4 { left: 4%; top: 50%; transform: translate(-100%, -50%); padding-right: 14px; }
.loop__mark { position: absolute; left: 50%; top: 50%; width: 20%; transform: translate(-50%, -50%); fill: var(--v600); opacity: .9; }
@media (max-width: 960px) {
  .system__grid { grid-template-columns: 1fr; }
  .loop { max-width: 340px; order: -1; margin: 30px auto 10px; }
  .loop__label--2 { right: 15%; transform: translate(0, -50%); padding: 0 6px 0 0; }
  .loop__label--4 { left: 15%; transform: translate(0, -50%); padding: 0 0 0 6px; }
  .loop__label--1 { top: 15%; transform: translate(-50%, 6px); }
  .loop__label--3 { bottom: 15%; transform: translate(-50%, -6px); }
  .loop__label { font-size: .8rem; }
}

/* ---------- Data ---------- */
.data { background: var(--v900); padding: var(--section) 0; overflow: hidden; }
.data__intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 110px); align-items: end; }
.data__intro .lead { margin-top: 0; }
.dash { margin-top: clamp(56px, 7vw, 100px); }
.dash__sources { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.chip { justify-self: center; padding: 10px 18px; border: 1px solid var(--rule-dark); border-radius: 999px; font-size: .875rem; font-weight: 400; color: var(--on-dark-mute); background: rgba(255,255,255,.02); white-space: nowrap; }
.dash__flow { display: block; width: 100%; height: 90px; overflow: visible; }
.dash__flow .flow-line { fill: none; stroke: var(--rule-dark); stroke-width: 1; vector-effect: non-scaling-stroke; }
.dash__flow .flow-pulse { fill: none; stroke: var(--v200); stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-dasharray: 10 140; animation: flow 3.2s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -150; } }
.dash__panel { border: 1px solid var(--rule-dark); border-radius: 22px; padding: clamp(20px, 3vw, 40px); background: linear-gradient(180deg, rgba(46,78,49,.18), rgba(23,37,30,.35)); }
.dash__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; padding-bottom: 20px; border-bottom: 1px solid var(--rule-dark); }
.dash__title { display: inline-flex; align-items: center; gap: 14px; font-size: .95rem; font-weight: 400; }
.dash__logo { height: 18px; width: auto; fill: var(--on-dark); }
.dash__title > span { padding-left: 14px; border-left: 1px solid var(--rule-dark); color: var(--on-dark-mute); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .85rem; color: var(--on-dark-mute); }
.legend__item { display: inline-flex; align-items: center; gap: 8px; }
.legend__item::before { content: ""; width: 16px; height: 2px; border-radius: 2px; background: var(--c); }
.legend__item--1 { --c: var(--v200); } .legend__item--2 { --c: var(--s100); } .legend__item--3 { --c: #6E9A72; }
.legend__item--band::before { height: 10px; background: rgba(142,170,144,.16); border: 1px dashed rgba(142,170,144,.5); }
.chart { width: 100%; height: auto; margin-top: 24px; overflow: visible; font-family: var(--sans); }
.chart .grid line { stroke: var(--rule-dark); stroke-width: 1; }
.chart .tick-label { fill: var(--on-dark-mute); font-size: 13px; font-weight: 400; }
.chart--narrow .tick-label { font-size: 15px; }
.chart .band { fill: rgba(142,170,144,.08); stroke: rgba(142,170,144,.35); stroke-dasharray: 4 6; }
.chart .series { fill: none; stroke-width: 2.25; stroke-linecap: round; stroke-linejoin: round; }
.chart .dot { stroke: var(--v900); stroke-width: 3; }
.chart .cursor { stroke: var(--on-dark-mute); stroke-width: 1; stroke-dasharray: 2 4; }
.dash__note { margin-top: 18px; font-size: .8rem; color: var(--on-dark-mute); }
.data__privacy { margin-top: clamp(40px, 5vw, 64px); max-width: 52ch; font: 400 clamp(1.25rem, 1.8vw, 1.6rem)/1.4 var(--serif); color: var(--v100); }
@media (max-width: 960px) {
  .data__intro { grid-template-columns: 1fr; gap: 0; }
  .data__intro .lead { margin-top: 1.5rem; }
  .dash__sources { grid-template-columns: repeat(3, auto); justify-content: center; }
  .dash__flow { display: none; }
  .dash__panel { margin-top: 24px; }
}
@media (max-width: 560px) {
  .dash__sources { grid-template-columns: repeat(2, auto); }
  .dash__sources .chip:last-child { grid-column: span 2; }
}

/* ---------- Space ---------- */
.space { background: var(--paper); color: var(--on-light); padding: var(--section) 0; }
.space .lead { color: var(--on-light-mute); }
.space__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 110px); align-items: center; }
.floors { margin-top: clamp(36px, 5vw, 56px); border-top: 1px solid var(--rule-light); }
.floor { display: grid; grid-template-columns: 90px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--rule-light); transition: background-color .4s; }
.floor__level { font-size: .9rem; font-weight: 500; color: var(--s400); padding-top: 6px; }
.floor__name { font: 400 1.5rem/1.25 var(--serif); }
.floor p { color: var(--on-light-mute); margin-top: 4px; max-width: 42ch; }
.iso { position: relative; }
.iso svg { width: 100%; height: auto; overflow: visible; }
.iso__top { fill: var(--v50); stroke: var(--v600); stroke-width: 1; }
.iso__slab--6 .iso__top { fill: var(--v100); }
.iso__left { fill: var(--v600); } .iso__right { fill: var(--v500); }
.iso__tag { font: 400 34px var(--serif); fill: var(--v600); }
.iso.has-focus .iso__slab { transition: opacity .4s; }
.iso.has-focus .iso__slab { opacity: .35; }
.iso.has-focus .iso__slab.is-focus { opacity: 1; }
.iso__grid line { stroke: rgba(46,78,49,.18); stroke-width: 1; }
.iso__total { position: absolute; left: 0; top: 0; font: 400 clamp(2.5rem, 4.6vw, 4.25rem)/1 var(--serif); letter-spacing: -.02em; }

.gallery { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(16px, 2.4vw, 32px); margin-top: clamp(80px, 10vw, 150px); align-items: start; }
.gallery__item--b { margin-top: clamp(60px, 12vw, 180px); }
.gallery__media { overflow: hidden; border-radius: 18px; aspect-ratio: 4/5; }
.gallery__item--a .gallery__media { aspect-ratio: 5/4; }
.gallery__media img { width: 100%; height: 120%; object-fit: cover; will-change: transform; }
.gallery figcaption { margin-top: 14px; font-size: .9rem; color: var(--on-light-mute); }
@media (max-width: 960px) {
  .space__grid { grid-template-columns: 1fr; }
  .iso { max-width: 520px; margin-top: 20px; }
  .gallery { grid-template-columns: 1fr; }
  .gallery__item--b { margin-top: 0; width: 82%; justify-self: end; }
}

/* ---------- Principles ---------- */
.principles { background: var(--l100); color: var(--on-light); padding: var(--section) 0; }
.principles__title { font: 400 clamp(2.4rem, 5.6vw, 5.25rem)/1.02 var(--serif); letter-spacing: -.02em; max-width: 18ch; text-wrap: balance; }
.principles__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 64px); margin-top: clamp(64px, 8vw, 120px); }
.principle { border-top: 1px solid var(--v600); padding-top: 22px; }
.principle__name { font: 500 1.05rem/1.4 var(--sans); }
.principle p { margin-top: 10px; color: var(--on-light-mute); max-width: 36ch; }
@media (max-width: 860px) { .principles__list { grid-template-columns: 1fr; } }

/* ---------- Coming soon ---------- */
.soon { background: var(--v800); padding: var(--section) 0; position: relative; overflow: hidden; isolation: isolate; }
.soon::before { content: ""; position: absolute; z-index: 0; width: 900px; height: 900px; right: -300px; top: -200px; border-radius: 50%; background: radial-gradient(closest-side, rgba(62,97,65,.45), transparent); pointer-events: none; }
.soon__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 7fr 4fr; gap: clamp(40px, 7vw, 120px); align-items: end; }
.soon__title { margin-top: 1.6rem; font: 400 clamp(3.4rem, 9vw, 8.5rem)/.95 var(--serif); letter-spacing: -.03em; }
.soon__intro .lead { max-width: 46ch; }
.soon__contact { border-top: 1px solid var(--rule-dark); padding-top: 24px; }
.soon__contact-title { font: 400 1.5rem/1.25 var(--serif); }
.soon__contact p { margin: 10px 0 24px; color: var(--on-dark-mute); max-width: 34ch; }
.soon__mark { position: absolute; z-index: 0; right: 4%; bottom: -12%; width: clamp(220px, 30vw, 460px); height: auto; fill: rgba(142,170,144,.07); stroke: none; pointer-events: none; }
@media (max-width: 960px) { .soon__grid { grid-template-columns: 1fr; } .soon__mark { opacity: .6; } }

/* ---------- Footer ---------- */
.footer { background: var(--v900); padding: clamp(72px, 9vw, 120px) 0 40px; color: var(--on-dark-mute); font-size: .95rem; }
.footer__top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; padding-bottom: clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--rule-dark); }
.footer__logo { width: clamp(220px, 34vw, 460px); height: auto; fill: var(--on-dark); }
.footer__tagline { font: 400 clamp(1.4rem, 2.4vw, 2rem)/1.2 var(--serif); color: var(--v100); }
.footer__cols { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; padding: 40px 0; align-items: start; }
.footer .btn { color: var(--v800); }
.footer .btn:hover { color: var(--v900); }
.footer__h { font: 500 .85rem/1.4 var(--sans); color: var(--on-dark); margin-bottom: 10px; }
.footer a { text-decoration: none; transition: color .3s; }
.footer a:hover { color: var(--on-dark); }
.footer nav { display: grid; gap: 6px; align-content: start; }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-top: 24px; border-top: 1px solid var(--rule-dark); font-size: .8rem; }
@media (max-width: 760px) { .footer__cols { grid-template-columns: 1fr; } }

/* ---------- Reveal helpers ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .band__frame { clip-path: none; }
  .band__frame img { transform: none; }
}

/* ---------- Ecosystem statement ---------- */
.ecosystem { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(24px, 6vw, 110px); margin-top: clamp(72px, 9vw, 130px); padding-top: 28px; border-top: 1px solid var(--rule-light); }
.ecosystem__label { font-size: .95rem; font-weight: 500; color: var(--s400); }
.ecosystem__text { font: 400 clamp(1.5rem, 2.6vw, 2.4rem)/1.28 var(--serif); letter-spacing: -.01em; max-width: 30ch; text-wrap: pretty; }
.ecosystem + .figures { margin-top: clamp(56px, 7vw, 100px); }
@media (max-width: 760px) { .ecosystem { grid-template-columns: 1fr; gap: 12px; } }

/* ---------- Floor 6 ---------- */
.f6 { background: var(--v800); padding: var(--section) 0; }
.f6__intro { max-width: 760px; }
.f6__level { font-size: .95rem; font-weight: 500; color: var(--s100); margin-bottom: 1.25rem; }
.f6__grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 6vw, 100px); margin-top: clamp(56px, 7vw, 100px); align-items: start; }
.f6__media { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 100px); }
.f6__frame { position: relative; aspect-ratio: 4 / 3.4; border-radius: 20px; overflow: hidden; background: var(--v700); }
.f6__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 1s var(--ease), transform 1.6s var(--ease); }
.f6__img--1 { object-position: 66% 50%; }
.f6__img--2 { object-position: 88% 50%; }
.f6__img.is-active { opacity: 1; transform: scale(1); }
.f6__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,13,9,0) 55%, rgba(6,13,9,.45)); pointer-events: none; }
.live { position: absolute; z-index: 2; left: clamp(14px, 3vw, 28px); bottom: clamp(14px, 3vw, 28px); width: min(300px, calc(100% - 28px)); padding: 18px 18px 14px; border-radius: 16px;
  background: rgba(23, 37, 30, .72); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); border: 1px solid var(--rule-dark);
  opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.live.is-on { opacity: 1; transform: none; }
.live__head { display: flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 500; }
.live__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--v200); animation: pulse 2.6s infinite; }
.live__list { margin-top: 12px; display: grid; gap: 8px; }
.live__list li { display: flex; justify-content: space-between; gap: 12px; font-size: .8rem; color: var(--on-dark-mute); padding-bottom: 8px; border-bottom: 1px solid var(--rule-dark); }
.live__v { color: var(--on-dark); white-space: nowrap; }
.live__v b { font-weight: 500; font-variant-numeric: tabular-nums; }
.live__spark { display: block; width: 100%; height: 36px; margin-top: 10px; }
.live__spark path { fill: none; stroke: var(--v200); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.live__note { margin-top: 6px; font-size: .7rem; color: var(--on-dark-mute); }
.f6__pillars { display: grid; }
.f6__pillar { padding: clamp(28px, 4vw, 44px) 0; border-top: 1px solid var(--rule-dark); transition: opacity .5s var(--ease); }
.f6__pillar:last-child { border-bottom: 1px solid var(--rule-dark); }
.js .f6__pillar { opacity: .35; }
.js .f6__pillar.is-active, .reduced .f6__pillar { opacity: 1; }
.f6__num { font: 500 .85rem/1 var(--sans); color: var(--s100); }
.f6__name { font: 400 clamp(1.5rem, 2.2vw, 2rem)/1.2 var(--serif); margin-top: 14px; }
.f6__pillar p { margin-top: 12px; color: var(--on-dark-mute); max-width: 42ch; }
@media (min-width: 961px) { .f6__pillar { min-height: 46vh; display: flex; flex-direction: column; justify-content: center; } }
@media (max-width: 960px) {
  .f6__grid { grid-template-columns: 1fr; }
  .f6__media { top: calc(env(safe-area-inset-top, 0px) + 72px); z-index: 2; }
  .f6__frame { aspect-ratio: 16 / 10; }
  .live { width: 200px; padding: 12px; }
  .live__list li:nth-child(n+3), .live__spark { display: none; }
}
