/* =========================================================
   Seven AI Lab
   Ink + bone, one signal colour, one living field.
   ========================================================= */

:root {
  --ink: #0b0b0a;
  --bone: #ece8df;
  --bg: var(--ink);
  --fg: var(--bone);
  --signal: oklch(72% 0.19 36);
  --sig: var(--signal);
  --muted: color-mix(in oklab, var(--fg) 60%, transparent);
  --line: color-mix(in oklab, var(--fg) 20%, transparent);
  --pad: clamp(18px, 2.4vw, 40px);
  --nav-h: 72px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --sans: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
}
html[data-theme="light"] {
  --bg: var(--bone);
  --fg: var(--ink);
  --sig: color-mix(in oklab, var(--signal) 78%, #000);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.45;
  background: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  transition: background-color .9s var(--ease), color .9s var(--ease);
}
::selection { background: var(--sig); color: var(--ink); }
:focus-visible { outline: 2px solid var(--sig); outline-offset: 4px; border-radius: 2px; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
b { font-weight: inherit; }

/* ---------- field + grain ---------- */
#field { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; }
.no-gl #field { display: none; }
main { position: relative; z-index: 1; }

.grain {
  position: fixed; inset: -60%; width: 220%; height: 220%; z-index: 5;
  pointer-events: none; opacity: .09;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .5  0 0 0 0 .5  0 0 0 0 .5  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.1s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-4%, 3%); }
  40% { transform: translate(3%, -5%); } 60% { transform: translate(-2%, -3%); }
  80% { transform: translate(5%, 2%); } 100% { transform: translate(0, 0); }
}

/* ---------- type primitives ---------- */
.label {
  font-family: var(--mono); font-size: 11px; line-height: 1.45; font-weight: 400;
  letter-spacing: .05em; text-transform: uppercase;
}
em {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  letter-spacing: -.035em; color: var(--sig);
  transition: color .9s var(--ease);
}
.display {
  font-weight: 500; font-size: clamp(2.5rem, 6.6vw, 7rem);
  line-height: .93; letter-spacing: -.05em; text-wrap: balance;
}

/* split-word masks */
.w {
  display: inline-block; overflow: hidden; vertical-align: top; text-indent: 0;
  padding: .1em .08em .2em .04em; margin: -.1em -.08em -.2em -.04em;
}
.wi { display: inline-block; will-change: transform; }
[data-scrub] .w { overflow: visible; }

.sec-head {
  display: flex; gap: clamp(20px, 5vw, 80px); align-items: baseline;
  border-top: 1px solid var(--line); padding-top: 14px;
  transition: border-color .9s var(--ease);
}
.sec-head__r { margin-left: auto; color: var(--muted); }

/* ---------- buttons / links ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; gap: .7em;
  padding: 1em 1.5em; border: 1px solid currentColor; border-radius: 999px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .05em; text-transform: uppercase;
  line-height: 1; color: inherit; text-decoration: none; white-space: nowrap;
  transition: color .45s var(--ease), border-color .45s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit;
  background: var(--fg); transform: translateY(102%);
  transition: transform .55s var(--ease);
}
.btn:hover { color: var(--bg); }
.btn:hover::before { transform: translateY(0); }
.btn--solid { background: var(--sig); border-color: var(--sig); color: var(--ink); transition: color .45s var(--ease), background-color .9s var(--ease), border-color .9s var(--ease); }
.btn--solid:hover { border-color: var(--fg); }

.tlink {
  position: relative; font-family: var(--mono); font-size: 11px; letter-spacing: .05em;
  text-transform: uppercase; text-decoration: none; padding-bottom: 5px; white-space: nowrap;
}
.tlink::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform-origin: 100% 50%; transition: transform .5s var(--ease);
}
.tlink:hover::after { transform: scaleX(0); }

/* ---------- loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 200; background: var(--ink); color: var(--bone);
  display: grid; grid-template-rows: auto 1fr auto auto; padding: var(--pad);
  will-change: transform;
}
.loader__row {
  display: flex; justify-content: space-between; gap: 20px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .05em; text-transform: uppercase;
}
.loader__num {
  align-self: center; justify-self: center;
  font-size: min(58vh, 46vw); line-height: .8; font-weight: 500; letter-spacing: -.07em;
  font-variant-numeric: tabular-nums;
}
.loader__segs { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-bottom: 14px; }
.loader__segs i { height: 2px; background: color-mix(in oklab, var(--bone) 18%, transparent); transition: background-color .25s; }
.loader__segs i.on { background: var(--bone); }
.loader__segs i.on:last-child { background: var(--signal); }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 30; height: var(--nav-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 var(--pad); color: #fff; mix-blend-mode: difference; pointer-events: none;
}
.nav > * { pointer-events: auto; }
.nav.is-ready > * { transition: transform .7s var(--ease), opacity .5s var(--ease); }
.nav.is-away > :not(.brand) { transform: translateY(-140%); opacity: 0; pointer-events: none; }
.brand {
  justify-self: start; display: inline-flex; align-items: center; gap: .42em;
  font-weight: 600; font-size: 22px; letter-spacing: -.05em; line-height: 1; text-decoration: none;
}
.brand svg { width: 17px; height: 17px; transition: transform .9s var(--ease); }
.brand:hover svg { transform: rotate(154.3deg); }
.brand sup {
  font-family: var(--mono); font-size: 9px; font-weight: 400; letter-spacing: .08em;
  text-transform: uppercase; margin-left: .15em; align-self: flex-start; line-height: 1.2;
}
.nav__chapter {
  display: flex; align-items: center; gap: .9em;
  font-family: var(--mono); font-size: 11px; letter-spacing: .05em; text-transform: uppercase;
}
.nav__chapter i { width: 28px; height: 1px; background: currentColor; opacity: .5; }
#chName { min-width: 9ch; }
.nav__right { justify-self: end; display: flex; align-items: center; gap: clamp(14px, 2.2vw, 34px); }
.nav__links {
  display: flex; gap: clamp(14px, 1.8vw, 28px);
  font-family: var(--mono); font-size: 11px; letter-spacing: .05em; text-transform: uppercase;
}
.nav__links a { text-decoration: none; opacity: .72; transition: opacity .3s; }
.nav__links a:hover { opacity: 1; }
.nav .btn { padding: .85em 1.3em; }
.nav .btn::before { background: #fff; }
.nav .btn:hover { color: #000; }

/* ---------- chapter rail ---------- */
.rail {
  position: fixed; right: 10px; top: 50%; transform: translateY(-50%); z-index: 30;
  display: flex; flex-direction: column; gap: 6px; mix-blend-mode: difference;
}
.rail a { position: relative; display: block; width: 22px; height: 14px; }
.rail a i {
  position: absolute; right: 0; top: 6px; width: 7px; height: 1.5px; background: #fff; opacity: .4;
  transition: width .5s var(--ease), opacity .4s;
}
.rail a:hover i { width: 14px; opacity: 1; }
.rail a.is-active i { width: 22px; opacity: 1; }

/* ---------- 01 hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: grid; grid-template-rows: auto 1fr auto auto;
  padding: calc(var(--nav-h) + 10px) var(--pad) 0;
}
.hero__meta { display: flex; justify-content: space-between; gap: 24px; }
.hero__meta-r { text-align: right; color: var(--muted); }
.hero__title {
  align-self: end; margin-left: -.045em;
  font-weight: 500; font-size: clamp(3.6rem, 11.6vw, 13rem);
  line-height: .86; letter-spacing: -.06em;
}
.hero__title .line { display: block; white-space: nowrap; }
.hero__title em { letter-spacing: -.05em; }
.hero__foot {
  display: flex; align-items: flex-end; flex-wrap: wrap;
  gap: clamp(20px, 3vw, 44px) clamp(24px, 4vw, 64px);
  padding: clamp(22px, 4vh, 44px) 0 clamp(22px, 4vh, 40px);
}
.hero__lede {
  max-width: 31ch; font-size: clamp(1.02rem, 1.3vw, 1.25rem);
  line-height: 1.32; letter-spacing: -.012em;
}
.hero__cta { display: flex; align-items: center; gap: clamp(18px, 2vw, 30px); }

.hud {
  display: flex; align-items: center; gap: clamp(16px, 3vw, 48px);
  border-top: 1px solid var(--line); padding: 14px 0 16px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .05em; text-transform: uppercase;
  white-space: nowrap; color: var(--muted);
}
.hud b { color: var(--fg); font-variant-numeric: tabular-nums; }
.hud__live { color: var(--fg); display: inline-flex; align-items: center; gap: .7em; }
.hud__live i { width: 6px; height: 6px; border-radius: 50%; background: var(--sig); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .2; } }
.hud__sig { display: inline-flex; align-items: center; gap: .8em; }
.bars { display: inline-flex; gap: 2px; }
.bars i { width: 3px; height: 10px; background: currentColor; opacity: .3; }
.bars i.on { background: var(--sig); opacity: 1; }
.hud__hint { margin-left: auto; }
.hud__scroll { color: var(--fg); }
.hud__scroll i { display: inline-block; font-style: normal; animation: nudge 1.8s var(--ease) infinite; }
@keyframes nudge { 50% { transform: translateY(4px); } }

.no-gl .hero::after {
  content: "7"; position: absolute; right: 8vw; top: 14vh; z-index: -1;
  font-size: 70vh; line-height: .8; font-weight: 800; color: transparent;
  -webkit-text-stroke: 1px var(--line);
}

/* ---------- 02 manifesto ---------- */
.manifesto { padding: clamp(110px, 20vh, 240px) var(--pad) clamp(100px, 16vh, 200px); }
.manifesto__text {
  margin-top: clamp(48px, 10vh, 130px);
  font-size: clamp(1.9rem, 4.9vw, 5.4rem); line-height: 1.03; letter-spacing: -.045em; font-weight: 500;
  text-indent: clamp(2.5rem, 13vw, 14rem); max-width: 22em;
}
.manifesto__text em { letter-spacing: -.04em; }
.tenets {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--pad);
  margin-top: clamp(72px, 14vh, 170px);
}
.tenet { border-top: 1px solid var(--line); padding-top: 14px; transition: border-color .9s var(--ease); }
.tenet .label { color: var(--sig); }
.tenet h3 { margin: clamp(28px, 5vh, 56px) 0 .5em; font-size: clamp(1.25rem, 1.9vw, 1.8rem); font-weight: 500; letter-spacing: -.035em; line-height: 1.1; }
.tenet p { max-width: 32ch; color: var(--muted); font-size: 15px; }

/* ---------- 03 practice ---------- */
.practice { padding: clamp(110px, 18vh, 220px) var(--pad) clamp(90px, 15vh, 190px); }
.practice .display { margin-top: clamp(44px, 9vh, 110px); }
.svc {
  list-style: none; padding: 0;
  margin: clamp(48px, 9vh, 110px) calc(var(--pad) * -1) 0;
  border-bottom: 1px solid var(--line);
}
.svc__row {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: 4.5rem minmax(0, 1.25fr) minmax(0, 1fr) 2.5rem;
  column-gap: clamp(12px, 2vw, 32px); align-items: center;
  padding: clamp(16px, 2.8vh, 30px) var(--pad);
  border-top: 1px solid var(--line);
  transition: opacity .5s var(--ease), color .3s var(--ease);
}
.svc__row::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--fg);
  transform: scaleY(0); transform-origin: 50% 100%; transition: transform .5s var(--ease);
}
.svc__n { font-family: var(--mono); font-size: 11px; letter-spacing: .05em; }
.svc__t {
  font-size: clamp(1.7rem, 4.6vw, 4.8rem); font-weight: 500; letter-spacing: -.05em; line-height: 1;
  transition: transform .6s var(--ease);
}
.svc__d { max-width: 40ch; font-size: 15px; line-height: 1.4; opacity: .72; }
.svc__tags {
  display: block; margin-top: .9em;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .05em; text-transform: uppercase;
}
.svc__a { justify-self: end; font-size: 1.5rem; line-height: 1; transition: transform .6s var(--ease); }
@media (hover: hover) {
  .svc:hover .svc__row { opacity: .28; }
  .svc .svc__row:hover { opacity: 1; color: var(--bg); }
  .svc__row:hover::before { transform: scaleY(1); }
  .svc__row:hover .svc__t { transform: translateX(.3em); }
  .svc__row:hover .svc__a { transform: rotate(45deg); }
  .svc__row:hover .svc__d { opacity: 1; }
}

/* ---------- 04 bench ---------- */
.bench__pin {
  height: 100svh; min-height: 560px; overflow: hidden;
  display: flex; flex-direction: column;
  padding: calc(var(--nav-h) + 6px) 0 clamp(20px, 4vh, 40px);
}
.bench__head { padding: 0 var(--pad); }
.bench__title { margin-top: clamp(20px, 4vh, 48px); font-size: clamp(2.2rem, 5.4vw, 5.6rem); }
.bench__track {
  flex: 1; min-height: 0; width: max-content;
  display: flex; gap: clamp(12px, 1.4vw, 22px);
  padding: clamp(22px, 4.5vh, 48px) var(--pad) 0;
  will-change: transform;
}
.card { width: clamp(264px, 27vw, 430px); min-height: 0; display: flex; flex-direction: column; text-decoration: none; }
.card__art {
  position: relative; flex: 1; min-height: 150px; overflow: hidden; border-radius: 3px;
  background: var(--ink); color: var(--bone);
}
.card__art canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.card__q, .card__k { position: absolute; top: 14px; }
.card__q { left: 14px; }
.card__k { right: 14px; opacity: .6; }
.card h3 {
  margin-top: 14px; min-height: 2.2em; max-width: 17ch;
  font-size: clamp(1.2rem, 1.75vw, 1.75rem); font-weight: 500; letter-spacing: -.035em; line-height: 1.1;
}
.card--end .card__art {
  background: transparent; color: inherit; border: 1px dashed var(--muted);
  display: grid; place-items: center; transition: background-color .5s var(--ease), color .5s var(--ease);
}
.card__big { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(7rem, 16vw, 15rem); line-height: 1; color: var(--sig); }
.card--end:hover .card__art { background: var(--fg); color: var(--bg); }

/* ---------- 05 principles ---------- */
.principles__pin {
  height: 100svh; min-height: 620px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--pad);
  padding: calc(var(--nav-h) + 6px) var(--pad) clamp(20px, 4vh, 40px);
}
.principles__left { display: flex; flex-direction: column; justify-content: space-between; min-height: 0; }
.principles__title { margin-top: clamp(20px, 4vh, 44px); font-size: clamp(1.9rem, 3.4vw, 3.5rem); }
.principles__fig { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; color: var(--muted); }
.principles__fig b { color: var(--fg); }
.principles__count { font-family: var(--mono); font-size: clamp(1.6rem, 2.6vw, 2.6rem); line-height: 1; letter-spacing: -.04em; }
.principles__count b { color: var(--sig); transition: color .6s var(--ease); }
.principles__count i { font-style: normal; font-size: .45em; letter-spacing: .05em; margin-left: .3em; }

.prs { list-style: none; margin: 0; padding: 0; align-self: center; border-bottom: 1px solid var(--line); }
.pr {
  display: grid; grid-template-columns: 3.4rem minmax(0, 1fr);
  padding: clamp(9px, 1.7vh, 18px) 0; border-top: 1px solid var(--line);
  opacity: .28; transition: opacity .6s var(--ease);
}
.pr.is-active { opacity: 1; }
.pr__n { font-family: var(--mono); font-size: 11px; letter-spacing: .05em; padding-top: .55em; transition: color .6s var(--ease); }
.pr.is-active .pr__n { color: var(--sig); }
.pr h3 { font-size: clamp(1.15rem, 2.15vw, 2.1rem); font-weight: 500; letter-spacing: -.04em; line-height: 1.1; }
.pr__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .7s var(--ease); }
.pr.is-active .pr__body { grid-template-rows: 1fr; }
.pr__body p { overflow: hidden; max-width: 44ch; color: var(--muted); font-size: 15px; line-height: 1.4; }
.pr__body p::before { content: ""; display: block; height: 10px; }

/* ---------- 06 method ---------- */
.method { padding: clamp(110px, 18vh, 220px) var(--pad) clamp(110px, 18vh, 220px); }
.method .display { margin-top: clamp(44px, 9vh, 110px); }
.steps {
  position: relative; list-style: none; padding: 0;
  margin: clamp(64px, 12vh, 150px) 0 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--pad);
}
.steps__line { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line); }
.steps__line i { position: absolute; inset: 0; background: var(--sig); transform: scaleX(0); transform-origin: 0 50%; }
.step { position: relative; padding-top: 30px; opacity: .3; transition: opacity .7s var(--ease); }
.step.is-on { opacity: 1; }
.step::before {
  content: ""; position: absolute; left: 0; top: -5px; width: 11px; height: 11px; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--fg);
  transition: background-color .5s var(--ease), border-color .5s var(--ease), transform .6s var(--ease);
}
.step.is-on::before { background: var(--sig); border-color: var(--sig); transform: scale(1.15); }
.step h3 { margin: .45em 0 .32em; font-size: clamp(1.7rem, 3.3vw, 3.4rem); font-weight: 500; letter-spacing: -.05em; line-height: 1; }
.step p { max-width: 27ch; color: var(--muted); font-size: 15px; }
.step__out { display: block; margin-top: 26px; }

/* ---------- 07 contact + footer ---------- */
.marquee {
  overflow: hidden; border-block: 1px solid var(--line); padding: .16em 0 .2em;
  font-size: clamp(3rem, 9.4vw, 9.6rem); font-weight: 500; letter-spacing: -.055em; line-height: 1;
  transition: border-color .9s var(--ease);
}
.marquee__track { display: inline-flex; align-items: center; gap: .28em; white-space: nowrap; will-change: transform; padding-right: .28em; }
.marquee__track svg { width: .5em; height: .5em; color: var(--sig); flex: none; animation: spin 14s linear infinite; }
.marquee__track .is-out { color: transparent; -webkit-text-stroke: 1px var(--fg); }
@keyframes spin { to { transform: rotate(360deg); } }

.contact__inner { padding: clamp(90px, 15vh, 190px) var(--pad) 0; }
.mega {
  margin: clamp(30px, 7vh, 84px) 0 0 -.045em;
  font-size: clamp(3.4rem, 13.2vw, 15rem); line-height: .84; letter-spacing: -.062em; font-weight: 500;
}
.contact__row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: var(--pad);
  margin-top: clamp(40px, 8vh, 96px);
}
.contact__lede { max-width: 36ch; font-size: clamp(1.02rem, 1.3vw, 1.25rem); line-height: 1.32; letter-spacing: -.012em; }
.contact__mail {
  position: relative; display: inline-flex; gap: .35em; padding-bottom: .14em;
  font-size: clamp(1.35rem, 3vw, 3.1rem); font-weight: 500; letter-spacing: -.045em; line-height: 1.05;
  text-decoration: none;
}
.contact__mail::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--sig);
  transform-origin: 0 50%; transition: transform .6s var(--ease), background-color .9s var(--ease);
}
.contact__mail:hover::after { transform: scaleX(.12); }
.contact__mail span { color: var(--sig); transition: transform .5s var(--ease); }
.contact__mail:hover span { transform: translate(.12em, -.12em); }

.footer__space { height: calc(var(--word-h, 22vw) + clamp(60px, 11vh, 130px)); }
.footer__bar {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 18px var(--pad); border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .05em; text-transform: uppercase;
}
.footer__bar a { text-decoration: none; }
.footer__links { display: flex; gap: clamp(14px, 2vw, 30px); }
.footer__time { color: var(--muted); }
.footer__time b { color: var(--fg); }

/* ---------- cursor ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 100; pointer-events: none; mix-blend-mode: difference; display: none; }
.has-cursor .cursor { display: block; }
.cursor i {
  display: block; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: #fff;
  transition: transform .45s var(--ease), opacity .3s;
}
.cursor.is-hover i { transform: scale(4.6); }
.cursor.is-down i { transform: scale(.6); }
.cursor span {
  position: absolute; left: 34px; top: -6px; white-space: nowrap; color: #fff;
  font-family: var(--mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase;
  opacity: 0; transform: translateX(-6px); transition: opacity .3s, transform .45s var(--ease);
}
.cursor.has-label span { opacity: 1; transform: none; }
.has-cursor, .has-cursor a, .has-cursor button, .has-cursor .svc__row { cursor: none; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .rail { display: none; }
  .nav__links { display: none; }
}
@media (max-width: 899px) {
  :root { --nav-h: 62px; }
  .nav { grid-template-columns: 1fr auto; }
  .nav__chapter { display: none; }

  .hero__title { font-size: clamp(2.6rem, 14.2vw, 8rem); }
  .hero__meta-r { display: none; }
  .hud { gap: 14px; }
  .hud__opt, .hud__hint { display: none; }
  .hud__scroll { margin-left: auto; }

  .manifesto__text { text-indent: 2.2em; }
  .tenets { grid-template-columns: 1fr; gap: 34px; }
  .tenet h3 { margin-top: 20px; }

  .svc__row { grid-template-columns: 2.6rem minmax(0, 1fr) 1.6rem; row-gap: 12px; align-items: start; }
  .svc__n { padding-top: .55em; }
  .svc__d { grid-column: 2 / 3; grid-row: 2; }
  .svc__a { grid-column: 3; grid-row: 1; font-size: 1.2rem; padding-top: .2em; }

  .bench__pin { height: auto; min-height: 0; overflow: visible; padding: clamp(90px, 14vh, 140px) 0 clamp(70px, 10vh, 110px); }
  .bench__track {
    width: auto; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    -webkit-overflow-scrolling: touch; padding-bottom: 6px;
  }
  .bench__track::-webkit-scrollbar { display: none; }
  .card { flex: none; width: 76vw; scroll-snap-align: center; }
  .card__art { flex: none; aspect-ratio: 4 / 5; }

  .principles__pin { height: auto; min-height: 0; display: block; padding: clamp(90px, 14vh, 140px) var(--pad) clamp(70px, 10vh, 110px); }
  .principles__fig { display: none; }
  .prs { margin-top: 44px; }
  .pr { opacity: 1; padding: 18px 0; grid-template-columns: 2.6rem minmax(0, 1fr); }
  .pr__n { color: var(--sig); }
  .pr h3 { font-size: 1.45rem; }
  .pr__body { grid-template-rows: 1fr; }

  .steps, .steps--3 { grid-template-columns: 1fr; gap: 0; padding-left: 26px; }
  .steps__line { left: 5px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .steps__line i { transform: scaleY(0); transform-origin: 50% 0; }
  .step { padding: 0 0 44px; }
  .step::before { left: -26px; top: 2px; }

  .contact__row { grid-template-columns: 1fr; align-items: start; gap: 30px; }
  .footer__bar { flex-wrap: wrap; row-gap: 10px; }
  .footer__time { display: none; }
}
@media (max-height: 760px) and (min-width: 900px) {
  .pr { padding: 8px 0; }
  .pr h3 { font-size: clamp(1.05rem, 1.8vw, 1.6rem); }
  .principles__title { font-size: clamp(1.6rem, 2.8vw, 2.6rem); }
  .bench__title { font-size: clamp(2rem, 4.4vw, 4rem); }
}

@media (prefers-reduced-motion: reduce) {
  .grain, .marquee__track svg, .hud__live i, .hud__scroll i { animation: none; }
  * { transition-duration: .01ms !important; }
}

/* ---------- brief-driven additions ---------- */
.steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps--3 .step p { max-width: 32ch; }

.pr__fact, .card__fact {
  display: inline-block; padding: 6px 11px; border: 1px dashed var(--muted); border-radius: 999px;
  font-family: var(--mono); font-size: 10.5px; line-height: 1.35; letter-spacing: .05em; text-transform: uppercase;
  color: var(--muted);
}
.pr__fact { display: table; margin-top: 14px; }
.card__fact { margin-top: 12px; align-self: flex-start; }
.card h3 { min-height: 0; }

.manifesto__text { max-width: 21em; }
.footer__links { color: var(--muted); }

/* ---------- language switch ---------- */
.lang {
  display: inline-flex; align-items: center; gap: .45em;
  font-family: var(--mono); font-size: 11px; letter-spacing: .05em; text-transform: uppercase;
}
.lang a { text-decoration: none; opacity: .5; transition: opacity .3s; padding: 6px 0; }
.lang a:hover, .lang a[aria-current="page"] { opacity: 1; }
.lang i { font-style: normal; opacity: .35; }
@media (max-width: 899px) {
  .nav__right { gap: 16px; }
  .nav .btn { padding: .8em 1em; }
  .lang { gap: .3em; }
}
