/* Wajeeh Investment — «الواجهة» (The Façade). Night palette, photos first. Headings in Lama Sans Expanded (as on the business card). */

/* ---------- fonts (Lama Sans only) ---------- */
@font-face { font-family: "Lama Sans"; src: url("../shared/fonts/LamaSans-Light.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Lama Sans"; src: url("../shared/fonts/LamaSans-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Lama Sans"; src: url("../shared/fonts/LamaSans-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Lama Sans"; src: url("../shared/fonts/LamaSans-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Lama Sans"; src: url("../shared/fonts/LamaSans-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Lama Sans Expanded"; src: url("../shared/fonts/LamaSans-LightExpanded.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Lama Sans Expanded"; src: url("../shared/fonts/LamaSans-RegularExpanded.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Lama Sans Expanded"; src: url("../shared/fonts/LamaSans-MediumExpanded.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Lama Sans Expanded"; src: url("../shared/fonts/LamaSans-SemiBoldExpanded.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Lama Sans Expanded"; src: url("../shared/fonts/LamaSans-BoldExpanded.woff2") format("woff2"); font-weight: 700; font-display: swap; }

/* ---------- tokens ---------- */
:root {
  --ink: #2C1218; --deep: #561B28; --burg: #702A38;
  --stone: #EBE0D8; --paper: #F6F0EA; --sand: #CFA582; --muted: #6E5A5F; --taupe: #9B7660;
  --t1: rgba(246, 240, 234, .96); --t2: rgba(235, 224, 216, .78); --t3: rgba(235, 224, 216, .64);
  --line: rgba(235, 224, 216, .16); --line2: rgba(235, 224, 216, .28);
  --hdr: 76px;
  --gut: clamp(20px, 5vw, 84px);
  --max: 1320px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --kite: polygon(50% 0, 100% 27.9%, 50% 100%, 0 27.9%);
  --ar: "Lama Sans", "Segoe UI", Tahoma, sans-serif;
  --ex: "Lama Sans Expanded", "Lama Sans", sans-serif;
}
@media (max-width: 700px) { :root { --hdr: 64px; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + 8px); background: var(--ink); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--ink); color: var(--t1);
  font-family: var(--ar); font-size: 17px; font-weight: 400; line-height: 1.95;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
@media (min-width: 1440px) { body { font-size: 18px; } }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0; text-wrap: pretty; }
h1, h2, h3 { margin: 0; font-family: var(--ex); font-weight: 600; line-height: 1.45; text-wrap: balance; letter-spacing: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }
sup { font-size: .62em; line-height: 0; vertical-align: .55em; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--sand); color: var(--ink); }
:focus-visible { outline: 2px solid var(--sand); outline-offset: 3px; }
.ltr { direction: ltr; unicode-bidi: isolate; }
.value__n, .route__n, .panel__idx { text-align: right; }
.en { font-family: var(--ex); direction: ltr; unicode-bidi: isolate; }
/* وجيه with the logo's own ه (and وجاهة's ة): the font draws «وجي» + ZWJ, the svg draws the ه (2026-12-01) */
.wj { white-space: nowrap; }
.wjh { display: inline-block; vertical-align: 0; overflow: visible; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; top: -100px; right: 16px; z-index: 100; background: var(--stone); color: var(--ink); padding: 10px 18px; }
.skip:focus { top: 12px; }
.wrap { width: min(100% - 2 * var(--gut), var(--max)); margin-inline: auto; }

/* brand kite */
.kite { display: inline-block; width: 10px; aspect-ratio: 1 / 1.764; clip-path: var(--kite); background: currentColor; flex: none; }
.dot { display: inline-block; width: 5px; height: 9px; margin: 0 .5em; clip-path: var(--kite); background: var(--sand); vertical-align: .05em; opacity: .9; }
.arrow { display: inline-block; width: 16px; height: 9px; flex: none; position: relative; }
.arrow::before { content: ""; position: absolute; inset: 4px 0 auto 2px; height: 1px; background: currentColor; }
.arrow::after { content: ""; position: absolute; left: 0; top: 0; width: 9px; height: 9px; border-left: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg) translate(1px, -1px); transform-origin: 50% 50%; scale: .78; }

/* type */
.h2 { font-size: clamp(24px, 3.3vw, 48px); font-weight: 600; line-height: 1.45; color: var(--paper); }
.sec-lead { max-width: 640px; margin-top: clamp(12px, 1.4vw, 18px); font-size: clamp(16.5px, 1.3vw, 19px); line-height: 1.95; color: var(--t2); }
.lead { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.95; color: var(--t1); }
.eyebrow { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: clamp(14px, 1.6vw, 22px); color: var(--sand); font-weight: 500; font-size: 15px; line-height: 1.9; }
.eyebrow::before { content: ""; width: 7px; height: 12px; clip-path: var(--kite); background: currentColor; flex: none; }
.eyebrow .en { font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--t3); font-weight: 400; }
.fine { font-size: 13px; line-height: 1.9; color: var(--t3); }
.tag-note { display: inline-block; font-size: 12.5px; line-height: 1.6; padding: 1px 10px; border: 1px solid var(--line2); color: var(--t2); margin-inline-start: 6px; white-space: nowrap; }
.sec-head { margin-bottom: clamp(36px, 5vw, 72px); max-width: 860px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 54px; padding: 0 30px;
  font-family: var(--ar); font-weight: 500; font-size: 16px; line-height: 1.3; border: 1px solid transparent; border-radius: 0;
  cursor: pointer; transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease); white-space: nowrap; }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: 15px; }
.btn--solid { background: var(--stone); color: var(--ink); }
.btn--solid:hover { background: var(--paper); }
.btn--line { border-color: rgba(235, 224, 216, .5); color: var(--stone); }
.btn--line:hover { background: rgba(235, 224, 216, .1); border-color: var(--stone); }
.btn--deep { background: var(--burg); color: var(--paper); }
.btn--deep:hover { background: var(--deep); }
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(-4px); }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 60; height: var(--hdr); display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-inline: var(--gut); transition: background-color .45s var(--ease), box-shadow .45s var(--ease); }
.site-header.is-solid { background: rgba(44, 18, 24, .94); box-shadow: 0 1px 0 var(--line); }
html:not(.js) .site-header { position: absolute; }
.brand { position: relative; z-index: 2; display: block; flex: none; }
.brand img { width: clamp(150px, 12.5vw, 196px); height: auto; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2vw, 34px); }
.nav__list { display: flex; align-items: center; gap: clamp(14px, 1.8vw, 30px); }
.nav__list a { position: relative; font-size: 15px; line-height: 1.9; color: var(--t2); transition: color .3s; padding-block: 6px; }
.nav__list a::after { content: ""; position: absolute; inset: auto 0 2px; height: 1px; background: var(--sand); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav__list a:hover { color: var(--paper); }
.nav__list a:hover::after { transform: scaleX(1); }
.menu-btn { display: none; position: relative; z-index: 2; width: 46px; height: 46px; margin-inline-end: -10px; background: none; border: 0; cursor: pointer; }
.menu-btn span { position: absolute; right: 11px; width: 24px; height: 1.5px; background: var(--paper); transition: transform .4s var(--ease), width .4s var(--ease); }
.menu-btn span:first-child { top: 18px; }
.menu-btn span:last-child { top: 27px; width: 16px; }
.menu-open .menu-btn span:first-child { transform: translateY(4.5px) rotate(45deg); }
.menu-open .menu-btn span:last-child { width: 24px; transform: translateY(-4.5px) rotate(-45deg); }

@media (max-width: 1180px) {
  .js .menu-btn { display: block; }
  .js .nav { position: fixed; inset: 0; z-index: 1; flex-direction: column; align-items: stretch; justify-content: center; gap: 28px;
    padding: calc(var(--hdr) + 24px) var(--gut) 40px; background: var(--ink); overflow-y: auto;
    opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility 0s .45s; }
  .js .nav::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5; pointer-events: none;
    background: radial-gradient(60% 50% at 80% 20%, rgba(112, 42, 56, .55), transparent 70%); }
  .menu-open .nav { opacity: 1; visibility: visible; transition: opacity .45s var(--ease), visibility 0s; }
  .js .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .js .nav__list a { display: block; font-size: clamp(24px, 6.5vw, 34px); font-weight: 500; line-height: 1.6; color: var(--paper); padding-block: 10px; border-bottom: 1px solid var(--line); }
  .js .nav__list a::after { display: none; }
  .js .nav__cta { align-self: flex-start; min-height: 52px; font-size: 16px; }
  .menu-open body { overflow: hidden; }
  /* no-JS: links wrap under the logo, header scrolls away */
  html:not(.js) .site-header { height: auto; flex-wrap: wrap; padding-block: 16px; }
  html:not(.js) .nav { flex-wrap: wrap; gap: 12px; }
  html:not(.js) .nav__list { flex-wrap: wrap; gap: 4px 16px; }
}

/* ---------- hero ---------- */
.hero { position: relative; background: var(--ink); }
.hero__stage { position: relative; height: 100vh; height: 100lvh; min-height: 420px; overflow: hidden;
  background:
    radial-gradient(42% 60% at 50% 40%, rgba(112, 42, 56, .9), rgba(86, 27, 40, .55) 55%, rgba(44, 18, 24, 0) 100%),
    var(--ink); }
.hero__stage::after { content: ""; position: absolute; inset: 0 0 auto; height: 180px; z-index: 3; pointer-events: none;
  background: linear-gradient(rgba(44, 18, 24, .62), rgba(44, 18, 24, 0)); }
.hero__bg { position: absolute; inset: 0; z-index: 0; display: none; }
.hero__fx { position: absolute; inset: 0; }
.hero__field, .hero__glint { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; }
.hero__glint { opacity: .25; }
.hero__guide { position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, transparent, rgba(235, 224, 216, .2) 14%, rgba(235, 224, 216, .2) 86%, transparent); }
.hero__window { position: absolute; inset: 0; z-index: 1; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 66% 50%; }
.hero__shade { position: absolute; inset: 0;
  background:
    radial-gradient(56% 34% at 50% 76%, rgba(44, 18, 24, .5), rgba(44, 18, 24, 0) 100%),
    linear-gradient(0deg, rgba(44, 18, 24, .94) 0%, rgba(44, 18, 24, .72) 30%, rgba(44, 18, 24, .2) 62%, rgba(44, 18, 24, .3) 100%); }
.hero__outline { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; max-width: none; pointer-events: none; overflow: visible; display: none; }
.hero__outline polygon { fill: none; stroke: #EBE0D8; vector-effect: non-scaling-stroke; }
.hero__outline .o1 { stroke-opacity: .55; stroke-width: 1; }
.hero__outline .o2 { stroke-opacity: .16; stroke-width: 1; }
.hero__ui { position: absolute; inset: 0 0 auto; z-index: 4; height: 100vh; height: 100svh; min-height: 420px; display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  padding: var(--hdr) var(--gut) calc(64px + 3svh); }
.hero__copy { width: 100%; max-width: 1040px; text-align: center; }
.hero__title { font-size: clamp(31px, min(10.4vw, 13svh), 118px); font-weight: 600; line-height: 1.45; color: var(--paper); }
.hero__more { margin-inline: auto; }
.hero__lead { max-width: 660px; margin: clamp(10px, 1.6svh, 20px) auto 0; font-size: clamp(16px, 1.45vw, 20px); line-height: 1.95; color: var(--t1); text-wrap: balance; }
.hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 14px; margin-top: clamp(20px, 3.4svh, 34px); }
.hero__cue { position: absolute; bottom: 18px; left: 50%; width: 1px; height: 46px; margin-left: -.5px; overflow: hidden; background: rgba(235, 224, 216, .22); }
.hero__cue i { position: absolute; left: -3px; top: 0; width: 7px; height: 12px; clip-path: var(--kite); background: var(--sand); animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(-14px); } 70%, 100% { transform: translateY(48px); } }
@media (max-width: 520px) { .hero__ctas .btn { flex: 1 1 100%; max-width: 340px; } }
@media (max-height: 560px) and (orientation: landscape) { .hero__lead { display: none; } .hero__ui { padding-bottom: 56px; } }

/* scroll-driven version (JS + motion allowed) */
.fx .hero { height: 270vh; }
@media (max-width: 700px) { .fx .hero { height: 235vh; } }
.fx .hero__stage { position: sticky; top: 0; }
.fx .hero__bg, .fx .hero__outline { display: block; }
.fx .hero__bg { opacity: 0; transition: opacity 1.6s var(--ease) .15s; }
.fx .hero__fx { will-change: transform, opacity; }
.fx .hero__glint { animation: glint 7s ease-in-out infinite alternate; }
@keyframes glint { 0% { opacity: .1; } 100% { opacity: .9; } }
.fx .hero__window { opacity: 0; clip-path: polygon(50% 16%, 59% 30%, 50% 66%, 41% 30%); animation: fb-show 0s 3s forwards; }
.fx .hero__img { inset: auto; left: 0; top: 0; width: auto; height: auto; object-fit: fill; transform-origin: 0 0; will-change: transform; }
.fx .hero__shade { opacity: 0; }
.fx .hero__outline { opacity: 0; }
.fx .hero__copy { opacity: 0; transform: translateY(18px); animation: fb-show 0s 3s forwards; }
.fx .hero__more { opacity: 0; will-change: opacity, transform; }
.fx .hero__title { will-change: transform; }
.fx .hero__cue { opacity: 0; }
.fx .hero.is-ready .hero__bg { opacity: 1; }
.fx .hero.is-ready .hero__window { animation: none; opacity: 1; transition: opacity 1.2s var(--ease); }
.fx .hero.is-ready .hero__copy { animation: none; opacity: 1; transform: none; transition: opacity 1.1s var(--ease) .35s, transform 1.3s var(--ease) .35s; }
@keyframes fb-show { to { opacity: 1; transform: none; } }

/* ---------- photo sections ---------- */
.ph { position: relative; overflow: hidden; overflow: clip; isolation: isolate; }
.ph__bg { position: absolute; inset: -10% 0; z-index: -2; }
.ph__bg img { width: 100%; height: 100%; object-fit: cover; }
.fx .ph__bg { will-change: transform; }
.ph::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(44, 18, 24, .96) 0%, rgba(44, 18, 24, .8) 30%, rgba(44, 18, 24, .84) 70%, rgba(44, 18, 24, .97) 100%); }

/* reveal */
.app.fx .rv { opacity: 0; transform: translate3d(0, 30px, 0); transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.app.fx .rv.in { opacity: 1; transform: none; }

.name { margin-top: clamp(80px, 10vw, 140px); padding-top: clamp(36px, 4vw, 56px); border-top: 1px solid var(--line2); display: grid; grid-template-columns: 1fr 2.4fr; gap: 20px clamp(32px, 5vw, 80px); align-items: start; }
.name__t { font-size: clamp(20px, 1.8vw, 26px); font-weight: 600; color: var(--paper); line-height: 1.5; }
.name__lead { grid-column: 1; color: var(--t2); font-size: 16px; }
.name__words { grid-column: 2; grid-row: 1 / span 2; display: grid; grid-template-columns: repeat(3, 1fr); }
.name__words li { padding-inline: clamp(14px, 2vw, 32px); border-inline-start: 1px solid var(--line); }
.name__words li:first-child { padding-inline-start: 0; border: 0; }
.name__w { display: block; font-family: var(--ex); font-size: clamp(34px, 4.4vw, 68px); font-weight: 300; line-height: 1.55; color: var(--paper); }
.name__words li:nth-child(3) .name__w { color: var(--sand); }
.name__g { display: block; font-size: 14px; color: var(--t3); }

/* ---------- values ---------- */
.values { padding-block: clamp(90px, 11vw, 160px); background:
  radial-gradient(50% 70% at 100% 0%, rgba(86, 27, 40, .55), transparent 70%), var(--ink); }
.values__list { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line2); }
.value { position: relative; padding: clamp(28px, 3vw, 44px) clamp(18px, 2.4vw, 40px) 0; border-inline-start: 1px solid var(--line); }
.value:first-child { border-inline-start: 0; padding-inline-start: 0; }
.value__n { display: block; font-size: 12px; letter-spacing: .2em; color: var(--sand); margin-bottom: clamp(26px, 4vw, 60px); }
.value__t { font-size: clamp(21px, 2vw, 28px); font-weight: 600; color: var(--paper); margin-bottom: 10px; }
.value p { color: var(--t2); max-width: 340px; }

/* ---------- numbers ---------- */
.numbers { padding-block: clamp(90px, 10vw, 150px); }
.numbers::before { background: linear-gradient(180deg, rgba(44, 18, 24, 1) 0%, rgba(44, 18, 24, .74) 30%, rgba(44, 18, 24, .74) 70%, rgba(44, 18, 24, 1) 100%); }
.stats { display: grid; grid-template-columns: repeat(4, auto); }
.stat { display: flex; flex-direction: column; gap: 10px; padding-inline: clamp(14px, 2vw, 34px); border-inline-start: 1px solid var(--line2); }
.stat:first-child { border: 0; padding-inline-start: 0; }
.stat__v { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; color: var(--paper); line-height: 1.1; }
.stat__v .en { font-weight: 300; font-size: clamp(44px, 5.6vw, 86px); line-height: 1.1; text-align: right; white-space: nowrap; }
.stat__u { font-size: clamp(16px, 1.5vw, 21px); font-weight: 500; color: var(--sand); line-height: 1.6; }
.stat__l { color: var(--t2); font-size: 16px; line-height: 1.9; }
.numbers .fine { margin-top: clamp(36px, 5vw, 64px); }
.numbers .fine .tag-note { margin-inline: 0 10px; }

/* ---------- sectors ---------- */
.sectors { padding-block: clamp(70px, 8vw, 130px) clamp(100px, 12vw, 180px); background: var(--ink); }
.sectors__grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.sec-list { border-top: 1px solid var(--line2); }
.sec-row { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 0 20px; padding: clamp(20px, 2.2vw, 30px) 0; border-bottom: 1px solid var(--line); cursor: default; }
.sec-row::before { content: ""; position: absolute; inset: -1px 0 auto; height: 1px; background: var(--sand); transform: scaleX(0); transform-origin: right; transition: transform .7s var(--ease); }
.sec-row.on::before { transform: scaleX(1); }
.sec-row__thumb { display: none; }
.sec-row__n { font-size: 12px; letter-spacing: .18em; color: var(--t3); padding-top: 12px; transition: color .4s; }
.sec-row__t { font-size: clamp(19px, 1.85vw, 26px); font-weight: 600; color: var(--t2); transition: color .4s; }
.sec-row p { color: var(--t3); margin-top: 4px; transition: color .4s; max-width: 520px; }
.sec-row.on .sec-row__n { color: var(--sand); }
.sec-row.on .sec-row__t { color: var(--paper); }
.sec-row.on p { color: var(--t2); }
.sectors__pic { position: relative; justify-self: center; width: min(100%, 360px); isolation: isolate; }
.sectors__kite { position: relative; aspect-ratio: 1 / 1.764; clip-path: var(--kite); background: var(--deep); }
.sectors__kite img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .9s var(--ease), transform 1.6s var(--ease); }
.sectors__kite img.on { opacity: 1; transform: none; }
.sectors__echo { position: absolute; inset: -7% -7%; z-index: -1; clip-path: var(--kite); background: rgba(207, 165, 130, .14); }
.sectors__echo::after { content: ""; position: absolute; inset: 1px; clip-path: var(--kite); background: var(--ink); }

/* ---------- method ---------- */
.method { padding-block: clamp(110px, 13vw, 190px); }
.method::before { background:
  linear-gradient(270deg, rgba(44, 18, 24, .95) 0%, rgba(44, 18, 24, .8) 45%, rgba(44, 18, 24, .58) 100%),
  linear-gradient(180deg, rgba(44, 18, 24, 1) 0%, rgba(44, 18, 24, 0) 18%, rgba(44, 18, 24, 0) 82%, rgba(44, 18, 24, 1) 100%); }
.method__grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.method__sticky { position: sticky; top: calc(var(--hdr) + 48px); }
.method__lead { margin-top: clamp(14px, 1.6vw, 20px); font-size: clamp(17px, 1.4vw, 20px); line-height: 1.95; color: var(--t1); max-width: 480px; }
.method__end { margin-top: clamp(24px, 3vw, 40px); padding-top: 22px; border-top: 1px solid var(--line2); font-size: clamp(19px, 1.7vw, 24px); font-weight: 500; color: var(--sand); line-height: 1.8; }
.qs { display: grid; gap: clamp(14px, 1.6vw, 20px); }
.q { display: grid; grid-template-columns: auto 1fr; gap: 0 clamp(18px, 2.4vw, 36px); padding: clamp(24px, 2.8vw, 40px); background: rgba(44, 18, 24, .6); border: 1px solid var(--line); transition: border-color .6s var(--ease), background-color .6s var(--ease); }
.q__n { font-weight: 300; font-size: clamp(36px, 4vw, 60px); line-height: 1.1; color: var(--sand); }
.q__t { font-size: clamp(19px, 1.85vw, 26px); font-weight: 600; color: var(--paper); margin-bottom: 6px; }
.q p { color: var(--t2); }
.app.fx .q { border-color: var(--line); }
.app.fx .q.on { border-color: rgba(207, 165, 130, .55); background: rgba(86, 27, 40, .55); }

/* ---------- projects ---------- */
.projects { position: relative; background: var(--ink); scroll-margin-top: 0; }
.projects__stage { padding-block: clamp(90px, 10vw, 140px) clamp(56px, 6vw, 90px); }
.projects__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px 40px; flex-wrap: wrap; margin-bottom: clamp(28px, 3vw, 44px); }
.projects__head .h2 { font-size: clamp(25px, 3vw, 44px); }
.projects__sub { color: var(--t2); margin-top: 6px; }
.projects__meter { display: flex; align-items: center; gap: 16px; color: var(--t3); }
.projects__meter .en { font-size: 12px; letter-spacing: .16em; }
.projects__meter b { color: var(--paper); font-weight: 400; }
.projects__bar { position: relative; width: clamp(90px, 12vw, 180px); height: 1px; background: var(--line2); overflow: hidden; }
.projects__bar i { position: absolute; inset: 0; background: var(--sand); transform: scaleX(0); transform-origin: right; }
.projects__hint { font-size: 13px; }
.projects__viewport { overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; scroll-padding-inline: var(--gut); outline-offset: -2px; }
.projects__viewport::-webkit-scrollbar { display: none; }
.projects__track { display: flex; gap: clamp(12px, 1.4vw, 22px); width: max-content; padding-inline: var(--gut); }
.panel { position: relative; flex: none; width: min(86vw, 460px); height: min(74svh, 640px); min-height: 440px; overflow: hidden; background: var(--deep); scroll-snap-align: start; isolation: isolate; }
.panel > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.04); transition: transform 1.4s var(--ease); }
.panel:hover > img { transform: scale(1.08); }
.panel::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgba(44, 18, 24, .96) 0%, rgba(44, 18, 24, .82) 34%, rgba(44, 18, 24, .1) 66%, rgba(44, 18, 24, .28) 100%); }
.panel .chip { position: absolute; top: 18px; right: 18px; }
.panel__info { position: absolute; inset: auto 0 0; padding: clamp(18px, 2vw, 28px); }
.panel__idx { font-size: 11.5px; letter-spacing: .2em; color: var(--sand); line-height: 1.6; }
.panel__name { font-size: clamp(22px, 2vw, 30px); font-weight: 600; color: var(--paper); line-height: 1.45; }
.panel__meta { color: var(--t1); font-size: 15px; line-height: 1.85; }
.panel__size { color: var(--t3); font-size: 14px; line-height: 1.85; }
.panel__link { display: inline-block; margin-top: 12px; font-size: 13.5px; color: var(--t2); border-bottom: 1px solid var(--line2); line-height: 1.8; transition: color .3s, border-color .3s; }
.panel__link:hover { color: var(--paper); border-color: var(--sand); }
.panel-end { flex: none; width: min(86vw, 380px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 22px; padding: 32px clamp(24px, 3vw, 44px); border: 1px solid var(--line); scroll-snap-align: start; }
.panel-end__k .kite { width: 18px; color: var(--sand); }
.panel-end__t { font-size: clamp(22px, 2vw, 28px); font-weight: 600; color: var(--paper); line-height: 1.6; text-wrap: balance; }

/* chips, progress, timeline */
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 3px 12px; font-size: 13px; font-weight: 500; line-height: 1.8; white-space: nowrap; background: rgba(44, 18, 24, .62); }
.chip::before { content: ""; width: 6px; height: 10px; clip-path: var(--kite); background: currentColor; }
.chip--build { color: var(--sand); border: 1px solid rgba(207, 165, 130, .6); }
.chip--done { color: var(--ink); background: var(--stone); border: 1px solid var(--stone); }
.chip--plan { color: var(--stone); border: 1px solid var(--line2); }
.prog { position: relative; display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.prog::before { content: ""; position: absolute; right: 0; left: 60px; top: 50%; height: 1px; background: rgba(235, 224, 216, .22); }
.prog__fill { position: relative; z-index: 1; display: block; height: 1px; width: calc((100% - 60px) * var(--v)); margin-inline-end: auto; background: var(--sand); }
.prog__kite { position: absolute; left: -4px; top: -6px; width: 8px; height: 14px; clip-path: var(--kite); background: var(--sand); }
.prog__val { position: absolute; left: 0; top: 50%; transform: translateY(-50%); font-size: 12px; letter-spacing: .06em; color: var(--paper); }
.prog { height: 16px; }
.tl { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); }
.tl li { font-size: 12.5px; line-height: 1.7; color: rgba(235, 224, 216, .5); }
.tl li span { display: block; font-family: var(--ex); font-size: 10.5px; letter-spacing: .06em; text-align: right; }
.tl li.done { color: var(--t2); }
.tl li.now { color: var(--sand); font-weight: 600; }
.app.fx .panel .prog__fill, .app.fx .mi .prog__fill { transition: width 1.4s var(--ease) .2s; }
.app.fx .panel:not(.seen) .prog__fill { width: 0; }

/* pinned horizontal mode (desktop, JS + motion) */
.projects.is-pinned .projects__stage { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; padding-block: calc(var(--hdr) + clamp(16px, 3vh, 40px)) clamp(22px, 4vh, 48px); }
.projects.is-pinned .projects__head { flex: none; margin-bottom: clamp(18px, 3vh, 36px); }
.projects.is-pinned .projects__head .h2 { font-size: clamp(24px, min(2.8vw, 4.8vh), 44px); }
.projects.is-pinned .projects__viewport { flex: 1; min-height: 0; overflow: visible; }
.projects.is-pinned .projects__track { height: 100%; will-change: transform; }
.projects.is-pinned .panel { height: 100%; min-height: 0; width: auto; aspect-ratio: .82; }
.projects.is-pinned .panel-end { width: auto; aspect-ratio: .7; }
.projects.is-pinned .projects__hint { display: none; }
@media (max-height: 760px) { .projects.is-pinned .tl { display: none; } .projects.is-pinned .projects__sub { display: none; } }

/* ---------- map ---------- */
.map { padding-block: clamp(100px, 12vw, 170px); background:
  radial-gradient(40% 60% at 15% 40%, rgba(86, 27, 40, .45), transparent 70%), var(--ink); }
.map__grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.map__fig { margin: 0; }
.map__svg { width: 100%; height: auto; overflow: visible; }
.map__fig .fine { margin-top: 10px; }
.d { fill: rgba(235, 224, 216, .035); stroke: rgba(235, 224, 216, .26); stroke-width: 1.2; stroke-linejoin: round; transition: fill .5s var(--ease), stroke .5s var(--ease); }
.d.on { fill: rgba(207, 165, 130, .13); stroke: var(--sand); }
.ds-tex { pointer-events: none; }
.rd { fill: none; stroke: #EBE0D8; stroke-linecap: round; }
.rd--major { stroke-opacity: .36; stroke-width: 5; }
.rd--minor { stroke-opacity: .14; stroke-width: 2; }
.rl { font-family: var(--ar); font-size: 17px; fill: rgba(235, 224, 216, .55); text-anchor: middle; }
.dl { font-family: var(--ar); font-size: 28px; font-weight: 500; fill: rgba(235, 224, 216, .72); text-anchor: middle; transition: fill .4s; pointer-events: none; }
.north path { fill: var(--sand); }
.north text { font-family: var(--ar); font-size: 17px; fill: rgba(235, 224, 216, .6); text-anchor: middle; }
.mk { cursor: pointer; outline: none; }
.mk__hit { fill: transparent; }
.mk__k { fill: var(--sand); stroke: var(--ink); stroke-width: 2; transition: fill .3s; }
.mk__p { fill: none; stroke: var(--sand); stroke-width: 1.5; opacity: 0; transform-box: fill-box; transform-origin: 50% 28%; }
.mk__n { font-family: var(--ex); font-size: 15px; fill: rgba(235, 224, 216, .7); text-anchor: end; letter-spacing: .06em; direction: ltr; unicode-bidi: isolate; }
.mk__in { transition: transform .35s var(--ease); }
.mk:hover .mk__in, .mk:focus-visible .mk__in { transform: scale(1.18); }
.mk.on .mk__k { fill: var(--paper); }
.mk.on .mk__n { fill: var(--paper); }
.mk.on .mk__p { animation: pulse 2.2s var(--ease) infinite; }
.mk:focus-visible .mk__hit { stroke: var(--sand); stroke-width: 2; stroke-dasharray: 4 4; }
@keyframes pulse { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(2.6); } }
.map__side { position: sticky; top: calc(var(--hdr) + 24px); }
.map__pic { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--deep); margin-bottom: 18px; }
.map__pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .7s var(--ease); }
.map__pic img.on { opacity: 1; }
.mlist { border-top: 1px solid var(--line2); }
.mi { border-bottom: 1px solid var(--line); }
.mi__b { display: grid; grid-template-columns: 34px 1fr auto; align-items: baseline; gap: 12px; width: 100%; padding: 12px 0; background: none; border: 0; text-align: start; cursor: pointer; color: var(--t2); transition: color .3s; }
.mi__n { font-size: 11px; letter-spacing: .14em; color: var(--t3); }
.mi__t { font-family: var(--ex); font-size: 15.5px; font-weight: 500; line-height: 1.8; }
.mi__d { font-size: 13.5px; color: var(--t3); }
.mi__b:hover, .mi.on .mi__b { color: var(--paper); }
.mi.on .mi__n { color: var(--sand); }
.mi__more { display: none; padding: 0 46px 18px 0; }
.mi.on .mi__more { display: block; }
.mi__more p { font-size: 14.5px; color: var(--t2); margin-bottom: 10px; }
.mi__more .prog { margin-top: 12px; }

/* ---------- founders ---------- */
.founders { padding-block: clamp(110px, 13vw, 190px); }
.founders::before { background: linear-gradient(180deg, rgba(44, 18, 24, 1) 0%, rgba(44, 18, 24, .84) 24%, rgba(44, 18, 24, .8) 76%, rgba(44, 18, 24, 1) 100%); }
.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.8vw, 24px); }
.person { padding: clamp(24px, 2.6vw, 38px); background: rgba(44, 18, 24, .66); border: 1px solid var(--line); }
.person__n { font-size: clamp(20px, 1.75vw, 25px); font-weight: 600; color: var(--paper); }
.person__r { color: var(--sand); font-size: 15.5px; font-weight: 500; margin-top: 6px; }

/* ---------- router ---------- */
.router { padding-block: clamp(110px, 13vw, 190px); }
.router::before { background: linear-gradient(180deg, rgba(44, 18, 24, 1) 0%, rgba(44, 18, 24, .8) 28%, rgba(44, 18, 24, .84) 72%, rgba(44, 18, 24, 1) 100%); }
.routes { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.4vw, 20px); }
.route { position: relative; display: flex; flex-direction: column; gap: 8px; padding: clamp(24px, 2.4vw, 34px); background: rgba(44, 18, 24, .7); border: 1px solid var(--line); transition: border-color .4s var(--ease), background-color .4s var(--ease); }
.route:hover { border-color: rgba(207, 165, 130, .55); background: rgba(86, 27, 40, .62); }
.route__n { font-size: 11.5px; letter-spacing: .2em; color: var(--sand); margin-bottom: clamp(18px, 3vw, 40px); }
.route__t { font-size: clamp(19px, 1.7vw, 24px); font-weight: 600; color: var(--paper); }
.route p { color: var(--t2); flex: 1; }
.route__a { display: inline-flex; align-items: center; gap: 12px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--paper); font-weight: 500; }
.route__a::after { content: ""; position: absolute; inset: 0; }
.route__a .arrow { transition: transform .35s var(--ease); }
.route:hover .route__a .arrow { transform: translateX(-5px); }

/* ---------- daylight: governance + contact ---------- */
.day { background: var(--paper); color: var(--ink); }
.day .h2 { color: var(--burg); }
.eyebrow--day { color: var(--burg); }
.eyebrow--day .en { color: var(--muted); }
.fine--day { color: var(--muted); margin-top: 10px; }
.tag-note--day { border-color: rgba(110, 90, 95, .35); color: var(--muted); }
.app.fx .day .rv { transform: translate3d(0, 20px, 0); }
.gov { padding-block: clamp(100px, 12vw, 160px); }
.gov__grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(32px, 6vw, 100px); align-items: start; }
.gov__list { border-top: 1px solid rgba(110, 90, 95, .3); }
.gov__list li { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid rgba(110, 90, 95, .22); color: var(--ink); }
.gov__list li span { display: flex; gap: 14px; align-items: baseline; }
.gov__list li span::before { content: ""; flex: none; width: 6px; height: 11px; clip-path: var(--kite); background: var(--burg); transform: translateY(1px); }
.gov__list b { font-weight: 400; color: var(--taupe); letter-spacing: .2em; }
.contact { padding-block: clamp(100px, 12vw, 170px); }
.contact__grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(32px, 6vw, 100px); align-items: start; }
.contact__dl { display: grid; gap: 18px; margin-top: 26px; }
.contact__dl dt { font-size: 13.5px; color: var(--muted); line-height: 1.8; }
.contact__dl dd { font-size: 18px; color: var(--ink); font-weight: 500; }
.contact__dl a { border-bottom: 1px solid rgba(112, 42, 56, .4); }
.contact__dl a:hover { color: var(--burg); }
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 15px; font-weight: 500; color: var(--ink); line-height: 1.8; }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 12px 16px; font-size: 16px; line-height: 1.8; color: var(--ink);
  background: rgba(235, 224, 216, .55); border: 1px solid rgba(110, 90, 95, .3); border-radius: 0; transition: border-color .3s, background-color .3s; }
.field select { appearance: none; -webkit-appearance: none; padding-left: 44px;
  background-image: linear-gradient(45deg, transparent 50%, var(--burg) 50%), linear-gradient(-45deg, transparent 50%, var(--burg) 50%);
  background-position: 22px 50%, 17px 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--burg); background-color: rgba(235, 224, 216, .85); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--burg); outline-offset: 1px; }
.form__foot { display: flex; align-items: center; gap: 14px 24px; flex-wrap: wrap; margin-top: 6px; }
.day :focus-visible { outline-color: var(--burg); }
.form__status { font-size: 14.5px; color: var(--muted); }
.js .form__status { display: none; }
.js .form__status.show { display: block; color: var(--burg); font-weight: 500; }

/* ---------- about page ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; overflow: clip;
  padding: calc(var(--hdr) + clamp(44px, 7vw, 110px)) 0 clamp(72px, 8vw, 120px);
  background:
    radial-gradient(48% 78% at 20% 50%, rgba(112, 42, 56, .9), rgba(86, 27, 40, .5) 55%, rgba(44, 18, 24, 0) 100%),
    var(--ink); }
.page-hero::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: var(--line); }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); grid-template-areas: "head pic" "lead pic"; column-gap: clamp(40px, 6vw, 110px); }
.page-hero__head { grid-area: head; align-self: end; }
.page-hero__title { font-size: clamp(33px, 5.4vw, 80px); font-weight: 600; line-height: 1.45; color: var(--paper); }
.page-hero__lead { grid-area: lead; align-self: start; max-width: 700px; margin-top: clamp(16px, 2vw, 26px); }
.page-hero__pic { grid-area: pic; align-self: center; justify-self: center; position: relative; width: clamp(190px, 21vw, 290px); }
.page-hero__kite { position: relative; aspect-ratio: 1 / 1.764; clip-path: var(--kite); background: var(--deep); }
.page-hero__kite img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero__echo { position: absolute; inset: -8% -12%; width: 124%; height: 116%; max-width: none; overflow: visible; pointer-events: none; }
.page-hero__echo polygon { fill: none; stroke: #EBE0D8; stroke-opacity: .3; stroke-width: 1; vector-effect: non-scaling-stroke; }
@media (max-width: 760px) {
  .page-hero__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "pic" "head" "lead"; }
  .page-hero__pic { justify-self: start; width: clamp(80px, 24vw, 120px); margin: 6px 12px 30px; }
}

.vmx { padding-block: clamp(64px, 7vw, 110px) clamp(90px, 11vw, 160px); background: var(--ink); }
.vmx__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line2); }
.vmx__item { padding: clamp(28px, 3vw, 44px) clamp(20px, 3.4vw, 60px) 0; border-inline-start: 1px solid var(--line); }
.vmx__item:first-child { border-inline-start: 0; padding-inline-start: 0; }
.vmx__t { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; margin-bottom: clamp(14px, 1.6vw, 22px); font-size: clamp(18px, 1.5vw, 21px); color: var(--sand); line-height: 1.6; }
.vmx__t .kite { width: 8px; }
.vmx__t .en { font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--t3); font-weight: 400; }
.vmx__p { max-width: 580px; font-size: clamp(19px, 1.8vw, 26px); line-height: 1.95; color: var(--paper); }
@media (max-width: 760px) {
  .vmx__grid { grid-template-columns: minmax(0, 1fr); }
  .vmx__item, .vmx__item:first-child { padding: 26px 0 34px; border-inline-start: 0; }
  .vmx__item + .vmx__item { border-top: 1px solid var(--line); }
}

.partners { padding-block: clamp(100px, 12vw, 170px); background:
  radial-gradient(50% 70% at 0% 100%, rgba(86, 27, 40, .5), transparent 70%), var(--ink); }
.pgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line2); }
.pgrid li { display: flex; flex-direction: column; justify-content: space-between; gap: 14px; min-height: clamp(128px, 11vw, 160px);
  padding: clamp(22px, 2.4vw, 34px) clamp(16px, 2vw, 30px); border-bottom: 1px solid var(--line); border-inline-start: 1px solid var(--line); }
.pgrid li:nth-child(4n + 1) { border-inline-start: 0; padding-inline-start: 0; }
.pgrid__n { font-family: var(--ex); font-size: clamp(17px, 1.3vw, 19px); font-weight: 600; line-height: 1.6; color: var(--paper); text-wrap: balance; }
.pgrid__c { font-size: 13.5px; line-height: 1.8; color: var(--sand); }
.partners__note { margin-top: 22px; }
@media (max-width: 960px) {
  .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pgrid li:nth-child(4n + 1) { border-inline-start: 1px solid var(--line); padding-inline-start: clamp(16px, 2vw, 30px); }
  .pgrid li:nth-child(odd) { border-inline-start: 0; padding-inline-start: 0; }
}
@media (max-width: 480px) {
  .pgrid { grid-template-columns: minmax(0, 1fr); }
  .pgrid li, .pgrid li:nth-child(4n + 1) { min-height: 0; gap: 2px; padding: 16px 0; border-inline-start: 0; }
}

.cta { padding-block: clamp(110px, 13vw, 190px); }
.cta::before { background: linear-gradient(180deg, rgba(44, 18, 24, 1) 0%, rgba(44, 18, 24, .78) 30%, rgba(44, 18, 24, .82) 70%, rgba(44, 18, 24, 1) 100%); }
.cta .sec-head { margin-bottom: 0; }
.cta__btns { display: flex; flex-wrap: wrap; gap: 12px 14px; margin-top: clamp(26px, 3vw, 40px); }
@media (max-width: 520px) { .cta__btns .btn { flex: 1 1 100%; max-width: 340px; } }

/* ---------- footer ---------- */
.footer { padding-block: clamp(70px, 8vw, 110px) 36px; background: var(--ink); border-top: 1px solid var(--line); }
.footer__grid { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; padding-bottom: 46px; border-bottom: 1px solid var(--line); }
.footer__id { display: flex; align-items: center; gap: 24px clamp(28px, 4vw, 56px); flex-wrap: wrap; }
.footer__brand img { width: clamp(120px, 11vw, 150px); }
.footer__about { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 0 22px; padding: 14px 22px; border: 1px solid var(--line2); transition: border-color .3s var(--ease), background-color .3s var(--ease); }
.footer__about span { font-family: var(--ex); font-size: 18px; font-weight: 600; line-height: 1.6; color: var(--paper); }
.footer__about small { grid-row: 2; font-size: 13px; line-height: 1.8; color: var(--t3); }
.footer__about .arrow { grid-row: 1 / span 2; grid-column: 2; color: var(--sand); transition: transform .35s var(--ease); }
.footer__about:hover { border-color: var(--sand); background: rgba(235, 224, 216, .05); }
.footer__about:hover .arrow { transform: translateX(-4px); }
.footer__about[aria-current] { border-color: rgba(207, 165, 130, .55); }
.footer__nav { display: grid; grid-template-columns: repeat(3, auto); gap: 6px 48px; }
.footer__nav a { color: var(--t2); font-size: 15px; line-height: 2; transition: color .3s; }
.footer__nav a:hover { color: var(--paper); }
.footer__base { display: flex; justify-content: space-between; gap: 10px 30px; flex-wrap: wrap; padding-top: 24px; font-size: 13.5px; color: var(--t3); line-height: 1.9; }
.footer__credit { color: var(--t2); border-bottom: 1px solid var(--line2); }
.footer__credit:hover { color: var(--paper); border-color: var(--sand); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .routes { grid-template-columns: repeat(2, 1fr); }
  .name { grid-template-columns: 1fr; }
  .name__lead { grid-column: auto; }
  .name__words { grid-column: auto; grid-row: auto; margin-top: 12px; }
}
@media (max-width: 960px) {
  .sectors__grid, .method__grid, .gov__grid, .contact__grid { grid-template-columns: 1fr; }
  .method__sticky { position: static; }
  .map__grid { grid-template-columns: 1fr; }
  .map__side { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; align-items: start; }
  .map__pic { margin-bottom: 0; }
  .people { grid-template-columns: 1fr; max-width: 560px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 0; }
  .stat__v .en { font-size: clamp(44px, 8.4vw, 76px); }
  .stat:nth-child(3) { border: 0; padding-inline-start: 0; }
  /* sectors: thumbnails move into the rows */
  .sectors__pic { display: none; }
  .sec-row { grid-template-columns: 52px 1fr; gap: 0 16px; }
  .sec-row__n { display: none; }
  .sec-row__thumb { display: block; width: 52px; aspect-ratio: 1 / 1.764; clip-path: var(--kite); background: var(--deep); overflow: hidden; }
  .sec-row__thumb img { width: 100%; height: 100%; object-fit: cover; }
  .sec-row .sec-row__t { color: var(--paper); }
  .sec-row p { color: var(--t2); }
  .sec-row::before { display: none; }
}
@media (max-width: 700px) {
  body { font-size: 16.5px; }
  .values__list { grid-template-columns: 1fr; border-top: 0; }
  .value { border-inline-start: 0; border-top: 1px solid var(--line2); padding: 26px 0 30px; display: grid; grid-template-columns: 48px 1fr; gap: 0 12px; }
  .value__n { grid-row: 1 / span 2; margin: 8px 0 0; }
  .name__words { grid-template-columns: 1fr; }
  .name__words li { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 10px 0; border-inline-start: 0; border-top: 1px solid var(--line); }
  .name__words li:first-child { border-top: 0; }
  .name__w { font-size: clamp(30px, 9vw, 42px); }
  .name__g { text-align: left; }
  .map__side { grid-template-columns: 1fr; }
  .map__pic { margin-bottom: 16px; }
  .routes { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .footer__nav { grid-template-columns: repeat(2, auto); gap: 4px 36px; }
  .q { grid-template-columns: 1fr; }
  .q__n { font-size: 30px; margin-bottom: 8px; }
  .dl { font-size: 40px; }
  .rl, .north text { font-size: 24px; }
  .mk__n { font-size: 22px; }
  .mk__in { transform: scale(1.45); }
  .mk:hover .mk__in, .mk:focus-visible .mk__in { transform: scale(1.6); }
  .tag-note { margin-inline-start: 0; margin-top: 6px; }
}
@media (max-width: 560px) {
  /* phones: one figure per row, the unit beside it, the label under it */
  .stats { grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line2); }
  .stat, .stat:first-child, .stat:nth-child(3) { gap: 2px; padding: 20px 0 22px; border: 0; border-bottom: 1px solid var(--line); }
  .stat__v { flex-direction: row; align-items: baseline; flex-wrap: wrap; gap: 0 14px; }
  .stat__v .en { font-size: clamp(38px, 12.5vw, 54px); }
  .stat__l { font-size: 15.5px; }
}
@media (max-width: 360px) {
  /* the smallest phones: sector titles get the full line (number above, no thumbnail), steps a little less padding */
  .sec-row { grid-template-columns: minmax(0, 1fr); }
  .sec-row__thumb { display: none; }
  .sec-row__n { display: block; padding-top: 0; color: var(--sand); }
  .q { padding: 22px 20px; }
}
@media (max-width: 420px) {
  .sec-row__t { font-size: 18px; }
  .gov__list li { flex-direction: column; gap: 0; }
}
