/* CORAL — сайт стилі (2026-11-06). Палитра: түнгі навиге + піл сүйегі + шалфей + шампань. */
:root {
  --ink: #11172a;
  --ink-2: #19213a;
  --ink-line: rgba(239, 233, 223, .14);
  --paper: #f4f0e9;
  --stone: #e8e2d7;
  --line: rgba(17, 23, 42, .14);
  --text: #1b2030;
  --muted: #646a77;
  --on-ink: #efe9df;
  --on-ink-muted: #a9adb8;
  --sage: #7f9478;
  --sage-deep: #5c7056;
  --champ: #c8b48c;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1240px;
  --gut: clamp(16px, 4vw, 48px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font: 300 17px/1.7 var(--sans); letter-spacing: .005em;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.08; margin: 0; letter-spacing: -.005em; }
h2 { font-size: clamp(34px, 4.6vw, 62px); margin-top: .35em; }
h2.h2s { font-size: clamp(30px, 3.4vw, 46px); }
h3 { font-size: clamp(24px, 2.2vw, 30px); }
p { margin: 0 0 1em; }
ul, ol { list-style: none; margin: 0; padding: 0; }

.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }
.sec { padding: clamp(80px, 11vw, 160px) 0; position: relative; }
.paper { background: var(--paper); }
.stone { background: var(--stone); }
.ink { background: var(--ink); color: var(--on-ink); }
.ink .note, .ink .prose p { color: var(--on-ink-muted); }
.ink .prose p:first-child { color: var(--on-ink); }

.kicker {
  font: 500 12px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase;
  color: var(--sage-deep); display: flex; align-items: center; gap: 14px; margin: 0;
}
.ink .kicker, .dark .kicker { color: var(--champ); }
.kicker .num { font-family: var(--serif); font-size: 15px; letter-spacing: .08em; opacity: .8; }
.kicker .num::after { content: ""; display: inline-block; width: 36px; height: 1px; background: currentColor; margin-left: 14px; vertical-align: middle; opacity: .6; }
.note { font-size: 13px; line-height: 1.55; color: var(--muted); margin-top: 1.4em; }
.lead { font-size: 19px; color: var(--on-ink-muted); margin-top: 1.4em; max-width: 30em; }
.prose p { max-width: 36em; }
.center { text-align: center; }
.center .kicker { justify-content: center; }

/* ---------- Header ---------- */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: 76px;
  display: flex; align-items: center; gap: 28px; padding: 0 var(--gut);
  color: var(--on-ink); transition: background .4s var(--ease), height .4s var(--ease), box-shadow .4s;
}
.hdr.solid { background: rgba(17, 23, 42, .88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); height: 64px; box-shadow: 0 1px 0 var(--ink-line); }
.brand { font: 500 22px/1 var(--serif); letter-spacing: .42em; text-decoration: none; margin-right: auto; padding-left: .42em; }
.nav { display: flex; gap: 26px; }
.nav a, .langs a {
  font: 500 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
  opacity: .78; transition: opacity .25s; position: relative; padding: 6px 0;
}
.nav a:hover, .langs a:hover { opacity: 1; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--champ); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:hover::after, .nav a.on::after { transform: scaleX(1); }
.langs { display: flex; gap: 4px; padding-left: 22px; border-left: 1px solid var(--ink-line); }
.langs a { padding: 6px 6px; }
.langs a[aria-current] { opacity: 1; color: var(--champ); }
.burger { display: none; background: none; border: 0; width: 40px; height: 40px; padding: 0; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 9px; right: 9px; height: 1.5px; background: var(--on-ink); transition: transform .35s var(--ease), top .35s; }
.burger span:first-child { top: 15px; } .burger span:last-child { top: 24px; }
.menu-open .burger span:first-child { top: 19.5px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 19.5px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 620px; overflow: hidden; background: var(--ink); color: var(--on-ink); }
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.kb { animation: kb 26s ease-out both; transform-origin: 50% 40%; }
@keyframes kb { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero-shade { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(17,23,42,.6) 0%, rgba(17,23,42,0) 18%, rgba(17,23,42,0) 42%, rgba(17,23,42,.62) 62%, rgba(17,23,42,.92) 100%),
  radial-gradient(120% 70% at 0% 100%, rgba(17,23,42,.55) 0%, rgba(17,23,42,0) 60%); }
.hero-in { position: absolute; left: var(--gut); bottom: clamp(64px, 9vh, 104px); max-width: 760px; }
.eyebrow { font: 500 12px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--champ); margin-bottom: 18px; }
.hero-title { font-size: clamp(60px, 9vw, 136px); font-weight: 400; letter-spacing: .2em; line-height: .9; margin-left: -.04em; text-shadow: 0 2px 30px rgba(17,23,42,.35); }
.hero-sub { font: italic 400 clamp(22px, 2.6vw, 34px)/1.2 var(--serif); margin: 14px 0 26px; color: var(--on-ink); }
.slogan { display: flex; flex-direction: column; font: 500 12px/2 var(--sans); letter-spacing: .34em; text-transform: uppercase; color: var(--on-ink-muted); margin-bottom: 34px; }
.slogan span:nth-child(2) { padding-left: 3.2em; } .slogan span:nth-child(3) { padding-left: 6.4em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 28px;
  font: 500 12px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; text-decoration: none;
  background: var(--champ); color: var(--ink); border: 1px solid var(--champ); transition: background .3s, color .3s;
}
.btn:hover { background: transparent; color: var(--champ); }
.btn.ghost { background: transparent; color: var(--on-ink); border-color: rgba(239,233,223,.45); }
.btn.ghost:hover { border-color: var(--champ); color: var(--champ); }
.btn.is-off { opacity: .55; cursor: default; }
.btn.is-off:hover { color: var(--on-ink); border-color: rgba(239,233,223,.45); }
.hero-addr { position: absolute; right: var(--gut); bottom: clamp(70px, 11vh, 120px); margin: 0; font: italic 400 20px/1.3 var(--serif); color: var(--on-ink); text-align: right; max-width: 14em; }
.hero-mark { position: absolute; right: var(--gut); bottom: 22px; }
.scroll-cue { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; text-decoration: none; font: 500 10px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--on-ink-muted); }
.scroll-cue i { width: 1px; height: 38px; background: linear-gradient(var(--champ), transparent); animation: cue 2.4s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- Image marks ---------- */
.ph { position: relative; margin: 0; overflow: hidden; background: var(--ink-2); }
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.mark {
  font: 400 10.5px/1.3 var(--sans); letter-spacing: .06em; color: rgba(239,233,223,.82);
  background: rgba(17,23,42,.42); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  padding: 5px 9px; border-radius: 2px;
}
.ph .mark { position: absolute; right: 12px; bottom: 12px; }

/* ---------- Layouts ---------- */
.two { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.two .prose { padding-top: 34px; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); margin-top: clamp(56px, 7vw, 96px); }
.pillars li { border-top: 1px solid var(--line); padding-top: 26px; }
.pnum { font: 400 15px/1 var(--serif); color: var(--sage-deep); letter-spacing: .1em; }
.pillars h3 { margin: 14px 0 12px; }
.pillars p { color: var(--muted); font-size: 15.5px; }

/* location */
.loc-text .prose { margin-top: 28px; }
.loc { display: grid; grid-template-columns: 4fr 6fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.legend { margin-top: 30px; display: grid; gap: 2px; counter-reset: l; }
.legend li { display: flex; gap: 14px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--ink-line); cursor: default; transition: color .25s; }
.legend li b { font-weight: 500; display: block; color: var(--on-ink); }
.legend li small { font-size: 13px; color: var(--on-ink-muted); }
.legend li.hl b { color: var(--champ); }
.ln { flex: none; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--champ); color: var(--champ); display: grid; place-items: center; font: 500 11px/1 var(--sans); transform: translateY(-2px); }
.map { position: relative; width: 100%; overflow: hidden; border-radius: 2px; background: #0c1120; }
.map img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mk { position: absolute; transform: translate(-50%, -50%); z-index: 2; }
.mk i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(17,23,42,.92); border: 1.5px solid var(--champ); color: var(--champ); font: 600 11px/1 var(--sans); font-style: normal; transition: transform .25s, background .25s, color .25s; }
.mk.hl i { transform: scale(1.25); background: var(--champ); color: var(--ink); }
.mk.site i { width: 18px; height: 18px; background: var(--champ); border: 3px solid #fff; box-shadow: 0 0 0 10px rgba(200,180,140,.28), 0 0 0 22px rgba(200,180,140,.12); animation: pulse 3s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 14px rgba(200,180,140,.2), 0 0 0 30px rgba(200,180,140,.06); } }
.mk-lab { position: absolute; left: 30px; top: -42px; white-space: nowrap; background: rgba(17,23,42,.9); border: 1px solid rgba(200,180,140,.45); padding: 8px 12px; }
.mk-lab b { display: block; font: 500 20px/1 var(--serif); letter-spacing: .24em; color: var(--on-ink); }
.mk-lab small { font-size: 11px; color: var(--champ); letter-spacing: .04em; }
.st { position: absolute; transform: translate(-50%, -50%) rotate(var(--a)); font: 500 9.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--champ); background: rgba(12,17,32,.78); padding: 4px 7px; white-space: nowrap; pointer-events: none; }
.ring-l { position: absolute; font: 500 10px/1 var(--sans); color: rgba(200,180,140,.75); transform: translate(4px, -100%); letter-spacing: .08em; }
.north { position: absolute; top: 14px; right: 16px; font: 600 12px/1 var(--sans); color: var(--on-ink); padding-top: 18px; }
.north::before { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); border: 6px solid transparent; border-bottom: 12px solid var(--champ); border-top: 0; }
.scale { position: absolute; right: 16px; bottom: 34px; border-bottom: 2px solid var(--on-ink); border-left: 2px solid var(--on-ink); border-right: 2px solid var(--on-ink); height: 9px; font: 500 10px/1 var(--sans); color: var(--on-ink); padding-left: 4px; display: flex; align-items: flex-end; transform: translateY(-4px); }
.scale { line-height: 0; } .scale { padding-bottom: 14px; height: 22px; }
.attr { position: absolute; left: 16px; right: 16px; bottom: 8px; font-size: 9.5px; color: rgba(239,233,223,.55); line-height: 1.3; }

/* architecture */
.bleed { margin: calc(-1 * clamp(80px, 11vw, 160px)) 0 clamp(64px, 8vw, 120px); }
.ph.wide { aspect-ratio: 21 / 9; }
.blocks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: clamp(56px, 7vw, 96px); background: var(--line); border: 1px solid var(--line); }
.blocks li { background: var(--paper); padding: clamp(24px, 3vw, 40px); }
.blocks li:nth-child(2) { background: var(--sage); color: #f6f3ec; }
.blocks li:nth-child(2) .meta, .blocks li:nth-child(2) p { color: rgba(246,243,236,.86); }
.blocks .meta { font: 500 11px/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--sage-deep); margin: 12px 0 18px; }
.blocks p { font-size: 15.5px; color: var(--muted); margin: 0; }

/* figures */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 40px); margin: clamp(48px, 6vw, 80px) 0; }
.stats li { border-top: 1px solid var(--line); padding-top: 22px; }
.big { display: block; font: 400 clamp(46px, 5.6vw, 80px)/1 var(--serif); font-variant-numeric: lining-nums; color: var(--ink); white-space: nowrap; }
.big sup { font-size: .36em; margin-left: .15em; vertical-align: top; position: relative; top: .35em; color: var(--sage-deep); }
.lbl { display: block; margin-top: 12px; font-size: 14px; color: var(--muted); max-width: 16em; line-height: 1.5; }
.facts { width: 100%; border-collapse: collapse; font-size: 15.5px; columns: 2; }
.facts tbody { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(24px, 5vw, 80px); }
.facts tr { display: flex; justify-content: space-between; gap: 18px; border-bottom: 1px solid var(--line); padding: 14px 0; }
.facts th { font-weight: 300; text-align: left; color: var(--muted); }
.facts td { font-weight: 500; text-align: right; white-space: nowrap; }

/* split */
.split { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.split + .split { margin-top: clamp(80px, 10vw, 140px); }
.split.rev { grid-template-columns: 5fr 7fr; }
.split.rev .split-img { order: 2; }
.ph.tall { aspect-ratio: 4 / 3.2; }
.split-txt h2 { margin-bottom: 26px; }

/* feature (full-bleed image, мәтін астында) */
.feature { padding-bottom: clamp(72px, 9vw, 130px); }
.feature .ph.full { height: min(88vh, 56.25vw); min-height: 360px; }
.feature .ph.full .mark { right: var(--gut); bottom: 18px; }
.feature-txt { margin-top: clamp(48px, 6vw, 88px); }

/* views */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: clamp(48px, 6vw, 80px); }
.duo .ph { aspect-ratio: 16 / 10; }

/* video */
.vframe { position: relative; aspect-ratio: 16 / 9; margin-top: clamp(40px, 5vw, 64px); overflow: hidden; background: #0c1120; }
.vframe img, .vframe video { width: 100%; height: 100%; object-fit: cover; }
.vframe img { filter: brightness(.55) saturate(.85); }
.vsoon { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 22px; text-align: center; }
.vsoon p { font: italic 400 clamp(20px, 2.4vw, 30px)/1.3 var(--serif); margin: 0; color: var(--on-ink); }
.play { width: 84px; height: 84px; border-radius: 50%; border: 1px solid rgba(239,233,223,.6); position: relative; }
.play::after { content: ""; position: absolute; left: 34px; top: 27px; border-left: 20px solid var(--champ); border-top: 15px solid transparent; border-bottom: 15px solid transparent; }

/* gallery */
.grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 12px; margin-top: clamp(40px, 5vw, 64px); }
.grid li { grid-column: span 4; }
.grid li:nth-child(1), .grid li:nth-child(7) { grid-column: span 8; }
.grid li:nth-child(1) .g, .grid li:nth-child(7) .g { aspect-ratio: auto; height: 100%; }
.g { display: block; width: 100%; aspect-ratio: 4 / 3; padding: 0; border: 0; cursor: zoom-in; position: relative; overflow: hidden; background: var(--ink-2); }
.g img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; }
.g:hover img { transform: scale(1.05); }
.gcap { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; text-align: left; color: var(--on-ink); font: 400 19px/1.2 var(--serif); background: linear-gradient(transparent, rgba(17,23,42,.75)); opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s var(--ease); }
.g:hover .gcap, .g:focus-visible .gcap { opacity: 1; transform: none; }

.lb { position: fixed; inset: 0; z-index: 100; background: rgba(9,12,22,.96); display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; }
.lb[hidden] { display: none; }
.lb figure { margin: 0; grid-column: 2; display: grid; gap: 12px; justify-items: center; }
.lb img { max-height: 82vh; width: auto; max-width: 100%; }
.lb figcaption { display: flex; gap: 18px; align-items: baseline; color: var(--on-ink); font: 400 20px/1.3 var(--serif); }
.lb-mark { font: 400 11px/1 var(--sans); letter-spacing: .06em; color: var(--on-ink-muted); }
.lb button { background: none; border: 0; color: var(--on-ink); font: 300 44px/1 var(--sans); cursor: pointer; height: 64px; opacity: .75; }
.lb button:hover { opacity: 1; color: var(--champ); }
.lb-x { position: absolute; top: 12px; right: 18px; }

/* contact */
.contact h2 { font-size: clamp(36px, 4.8vw, 66px); }
.who { font: 500 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--champ); margin: 34px 0 26px; }
.cl { margin: 0 0 34px; display: grid; gap: 0; }
.cl div { display: grid; grid-template-columns: 110px 1fr; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--ink-line); }
.cl dt { font-size: 13px; color: var(--on-ink-muted); }
.cl dd { margin: 0; font: 400 clamp(22px, 2.4vw, 30px)/1.2 var(--serif); }
.cl a { text-decoration: none; transition: color .25s; overflow-wrap: anywhere; }
.cl a:hover { color: var(--champ); }

/* footer */
.ftr { background: #0b101e; color: var(--on-ink-muted); padding: 64px 0 40px; font-size: 13px; }
.ftr-brand { font: 500 26px/1 var(--serif); letter-spacing: .4em; color: var(--on-ink); margin-bottom: 28px; }
.ftr-brand span { display: block; margin-top: 12px; font: 500 10.5px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--champ); }
.disc { max-width: 62em; line-height: 1.6; }
.ftr-row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--ink-line); padding-top: 22px; margin-top: 28px; }
.ftr-row a { text-decoration: none; } .ftr-row a:hover { color: var(--champ); }

/* reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav { gap: 18px; }
  .nav a { letter-spacing: .1em; }
}
/* 2026-11-13: v29 — аэро карта астында, деталь, сырғытпа, төрт мезгіл, галерея сүзгісі */
.loc-aerial { margin-top: clamp(48px, 6vw, 80px); }
.note.cap { margin-top: 10px; }
.cmp, .szs { position: relative; aspect-ratio: 16 / 9; overflow: hidden; margin-top: clamp(40px, 5vw, 64px); background: var(--ink-2); user-select: none; -webkit-user-select: none; }
.cmp img, .szs img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cmp .cmp-b { clip-path: inset(0 0 0 var(--x)); }
.cmp-bar { position: absolute; top: 0; bottom: 0; left: var(--x); width: 2px; margin-left: -1px; background: rgba(239,233,223,.9); pointer-events: none; }
.cmp-bar i { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 52px; height: 52px; border-radius: 50%; background: rgba(17,23,42,.78); border: 1px solid var(--champ); color: var(--champ); display: grid; place-items: center; font: 500 15px/1 var(--sans); font-style: normal; letter-spacing: .1em; }
.cmp-in { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.cmp-lab { position: absolute; top: 16px; padding: 6px 12px; background: rgba(17,23,42,.6); color: var(--on-ink); font: 500 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; pointer-events: none; }
.cmp-lab.l { left: 16px; } .cmp-lab.r { right: 16px; }
.cmp .mark, .szs .mark { position: absolute; right: 12px; bottom: 12px; z-index: 2; }
.szs img { opacity: 0; transition: opacity 1.4s var(--ease); }
.szs img.on { opacity: 1; }
.szb, .gfilters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.sz, .gf { background: transparent; border: 1px solid var(--line); color: inherit; padding: 10px 16px; font: 500 12px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.sz:hover, .gf:hover { border-color: var(--champ); }
.sz.on, .gf.on { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.gfilters { margin-top: 28px; }
.grid li[hidden] { display: none; }
.grid.filtered li, .grid.filtered li:nth-child(n) { grid-column: span 4; }
.grid.filtered li .g, .grid.filtered li:nth-child(n) .g { aspect-ratio: 4 / 3; height: auto; }
@media (max-width: 640px) {
  .cmp, .szs { aspect-ratio: 4 / 3; }
  .grid.filtered li, .grid.filtered li:nth-child(n) { grid-column: span 12; }
  .sz, .gf { padding: 9px 12px; font-size: 11px; }
}

@media (max-width: 980px) {
  .grid.filtered li, .grid.filtered li:nth-child(n) { grid-column: span 6; }
  .burger { display: block; }
  .nav {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; height: 100dvh; z-index: -1; flex-direction: column; justify-content: center; align-items: center; gap: 26px;
    background: var(--ink); opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s;
  }
  .nav a { font: 400 30px/1.1 var(--serif); letter-spacing: .02em; text-transform: none; opacity: 1; }
  .menu-open .nav { opacity: 1; visibility: visible; }
  .menu-open .hdr { backdrop-filter: none; -webkit-backdrop-filter: none; background: transparent; box-shadow: none; }
  .langs { border-left: 0; padding-left: 0; }
  .two, .loc, .split, .split.rev { grid-template-columns: 1fr; }
  .split.rev .split-img { order: 0; }
  .two .prose { padding-top: 0; }
  .pillars, .blocks { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .facts tbody { grid-template-columns: 1fr; }
  .grid li, .grid li:nth-child(1), .grid li:nth-child(7) { grid-column: span 6; }
  .grid li:nth-child(1), .grid li:nth-child(7) { grid-column: span 12; }
  .grid li:nth-child(1) .g, .grid li:nth-child(7) .g { aspect-ratio: 16 / 9; height: auto; }
  .hero-addr { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hdr { height: 64px; gap: 14px; }
  .brand { font-size: 19px; letter-spacing: .32em; }
  .hero { min-height: 560px; }
  .hero-in { right: var(--gut); bottom: 56px; }
  .hero-title { letter-spacing: .12em; font-size: 54px; }
  .hero-sub { margin: 10px 0 16px; }
  .slogan { flex-direction: row; flex-wrap: wrap; gap: 0 1.2em; font-size: 10.5px; margin-bottom: 22px; }
  .slogan span:nth-child(n) { padding-left: 0; }
  .hero-cta .btn { flex: 1 1 100%; }
  .hero .btn.ghost { display: none; }
  .hero-mark { left: var(--gut); right: auto; bottom: 14px; font-size: 9.5px; }
  .scroll-cue { display: none; }
  .ph.wide { aspect-ratio: 4 / 3; }
  .ph .mark { right: 8px; bottom: 8px; font-size: 9.5px; padding: 4px 7px; }
  .duo { grid-template-columns: 1fr; }
  .stats { gap: 18px; }
  .big { font-size: 44px; }
  .feature .ph.full { height: auto; aspect-ratio: 4 / 3; min-height: 0; }
  .feature .ph.full .mark { right: 8px; bottom: 8px; }
  .grid { gap: 8px; }
  .grid li, .grid li:nth-child(1), .grid li:nth-child(7) { grid-column: span 12; }
  .gcap { opacity: 1; transform: none; font-size: 17px; }
  .st { font-size: 8px; padding: 3px 5px; letter-spacing: .08em; }
  .mk i { width: 22px; height: 22px; font-size: 10px; }
  .mk-lab { left: 22px; top: -38px; padding: 6px 9px; }
  .mk-lab b { font-size: 16px; }
  .ring-l { display: none; }
  .cl div { grid-template-columns: 1fr; gap: 4px; }
  .lb { grid-template-columns: 40px 1fr 40px; }
  .lb figcaption { flex-direction: column; gap: 6px; font-size: 17px; padding: 0 6px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .kb, .mk.site i, .scroll-cue i { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
