/* Griffin Logopark Almaty — design system v5 ("brand book").
   Built on v2 (editorial industrial: hairlines, square corners, 12-col grid) and the Griffin Partners brand book:
   white field, Pantone 4625 chocolate for type and every dark surface, Pantone 7458 sky as the only accent.
   Structure kept from v3: section heads with the explanation beside them, document pages with contents,
   four-column footer. Earlier versions: git tags v2-light, v3-dark, v3-light, v4-brand, v4-calm.
   Motion is opt-in: hidden states exist only under html.motion-ready (set by site.js). */

@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 300 800; font-display: swap; src: url(/fonts/intertight-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 300 800; font-display: swap; src: url(/fonts/intertight-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/plexmono-400-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/plexmono-400-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: "Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/plexmono-500-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/plexmono-500-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD; }
/* Kazakh letters (ә ғ қ ң ө һ …) live outside the basic Cyrillic subset; loaded only on pages that use them. */
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 300 800; font-display: swap; src: url(/fonts/intertight-cyrillic-ext.woff2) format("woff2"); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/plexmono-400-cyrillic-ext.woff2) format("woff2"); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/plexmono-500-cyrillic-ext.woff2) format("woff2"); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }

:root {
  --ink: #16120e;
  --text: #3e362e;
  --muted: #7a7066;
  --paper: #faf8f4;
  --bone: #efeae2;
  --white: #ffffff;
  --line: rgba(22, 18, 14, .12);
  --line-2: rgba(22, 18, 14, .24);
  --brand: #411300;
  --brand-2: #5e2209;
  --copper: #a35a2a;
  --copper-soft: #efe2d6;
  --night: #120f0c;
  --night-2: #1d1814;
  --on-dark: rgba(255, 255, 255, .92);
  --on-dark-2: rgba(255, 255, 255, .58);
  --line-dark: rgba(255, 255, 255, .14);

  --header: 80px;
  --wrap: 1360px;
  --gut: clamp(20px, 3.2vw, 44px);
  --sec: clamp(88px, 11vw, 168px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --font: "Inter Tight", "Helvetica Neue", Arial, system-ui, sans-serif;
  --mono: "Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  interpolate-size: allow-keywords;
}
:root:lang(zh-Hans) { --font: "Inter Tight", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 64px); -webkit-text-size-adjust: 100%; background: var(--paper); }
body { margin: 0; color: var(--ink); background: var(--paper); font: 400 16.5px/1.6 var(--font); letter-spacing: -.003em; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; font-feature-settings: "ss01", "cv11"; }

/* architectural grid: 12 hairline columns aligned to .wrap, behind all light sections */
body::before { content: ""; position: fixed; z-index: -1; inset: 0 max(0px, calc((100vw - var(--wrap)) / 2)); pointer-events: none;
  margin: 0 var(--gut);
  background-image: linear-gradient(90deg, rgba(22, 18, 14, .055) 1px, transparent 1px);
  background-size: calc(100% / 12) 100%;
  border-right: 1px solid rgba(22, 18, 14, .055); }

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 500; letter-spacing: -.035em; line-height: 1.02; text-wrap: balance; }
ul { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
b, strong { font-weight: 600; }
::selection { background: var(--brand); color: #fff; }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: -9999px; top: 12px; z-index: 100; background: var(--ink); color: #fff; padding: 12px 18px; font-weight: 600; text-decoration: none; }
.skip:focus { left: 16px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ───────── header ───────── */
.hdr { position: sticky; top: 0; z-index: 50; height: var(--header); color: var(--ink); background: rgba(250, 248, 244, .96); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); transition: background-color .5s var(--ease), color .5s var(--ease), border-color .5s, height .5s var(--ease); view-transition-name: hdr; }
.has-hero .hdr { position: fixed; left: 0; right: 0; }
.js .has-hero .hdr:not(.solid) { background: transparent; color: #fff; border-bottom-color: rgba(255, 255, 255, .16); backdrop-filter: none; -webkit-backdrop-filter: none; }
.hdr.solid { height: 68px; }
/* backdrop-filter would become the containing block of the fixed mobile sheet */
.hdr:has(.menu[open]) { height: var(--header); background: var(--paper); backdrop-filter: none; -webkit-backdrop-filter: none; }
.hdr-in { height: 100%; display: flex; align-items: center; gap: 28px; padding: 0 var(--gut); max-width: calc(var(--wrap) + 160px); margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 18px; min-width: 0; text-decoration: none; color: inherit; }
.brand img { height: 34px; width: auto; }
.brand .logo-w { display: none; }
.js .has-hero .hdr:not(.solid) .brand img:not(.logo-w) { display: none; }
.js .has-hero .hdr:not(.solid) .brand .logo-w { display: block; }
.brand .sep { width: 1px; height: 30px; background: currentColor; opacity: .2; flex: none; }
.brand b { display: block; font-size: 14px; font-weight: 600; letter-spacing: -.005em; white-space: nowrap; }
.brand small { display: block; font: 400 11px/1.4 var(--mono); letter-spacing: .02em; opacity: .62; white-space: nowrap; margin-top: 2px; }
.nav { display: flex; gap: 30px; margin-left: auto; }
.nav a { position: relative; padding: 8px 0; font-size: 14px; font-weight: 500; text-decoration: none; white-space: nowrap; opacity: .78; transition: opacity .2s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: 100% 50%; transition: transform .45s var(--ease); }
.nav a:hover { opacity: 1; }
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); transform-origin: 0 50%; }
.nav a[aria-current] { opacity: 1; }
.tools { display: flex; align-items: center; gap: 22px; }
.langs { display: flex; gap: 2px; font: 500 11.5px/1 var(--mono); letter-spacing: .04em; }
.langs a { padding: 7px 7px; text-decoration: none; opacity: .5; transition: opacity .2s; }
.langs a:hover { opacity: 1; }
.langs a[aria-current] { opacity: 1; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.js .has-hero .hdr:not(.solid) .btn.primary { background: #fff; color: var(--ink); }
.js .has-hero .hdr:not(.solid) .btn.primary::before { background: var(--brand); }
.js .has-hero .hdr:not(.solid) .btn.primary:hover { color: #fff; }

.menu { display: none; position: static; }
.menu summary { list-style: none; cursor: pointer; width: 46px; height: 46px; border: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 30%, transparent); display: grid; place-items: center; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary i, .menu summary i::before, .menu summary i::after { display: block; width: 18px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease), background .2s; }
.menu summary i { position: relative; }
.menu summary i::before, .menu summary i::after { content: ""; position: absolute; left: 0; }
.menu summary i::before { top: -6px; }
.menu summary i::after { top: 6px; }
.menu[open] summary i { background: transparent; }
.menu[open] summary i::before { transform: translateY(6px) rotate(45deg); }
.menu[open] summary i::after { transform: translateY(-6px) rotate(-45deg); }
.sheet { position: fixed; left: 0; right: 0; top: var(--header); bottom: 0; background: var(--night); color: #fff; padding: 12px var(--gut) 28px; overflow: auto; display: flex; flex-direction: column; justify-content: space-between; counter-reset: nl; }
.menu[open] .sheet { animation: sheet .5s var(--ease) both; }
.sheet nav { display: grid; }
.sheet a.nl { counter-increment: nl; display: flex; align-items: baseline; gap: 16px; padding: 18px 0; font-size: clamp(28px, 7.5vw, 40px); font-weight: 500; letter-spacing: -.03em; text-decoration: none; border-bottom: 1px solid var(--line-dark); }
.sheet a.nl::before { content: counter(nl, decimal-leading-zero); font: 400 11px var(--mono); color: var(--on-dark-2); letter-spacing: .06em; transform: translateY(-6px); }
.sheet a.nl[aria-current] { color: #e2b48f; }
.sheet .row2 { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.sheet .langs { font-size: 13px; }
.sheet .btn.primary { background: #fff; color: var(--ink); }

/* ───────── buttons ───────── */
.btn { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 14px; height: 54px; padding: 0 26px; border: 1px solid transparent; border-radius: 0; font: 500 15px/1 var(--font); letter-spacing: -.005em; text-decoration: none; cursor: pointer; white-space: nowrap; transition: color .45s var(--ease), border-color .3s; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: scaleY(0); transform-origin: 50% 100%; transition: transform .5s var(--ease); }
.btn:hover::before { transform: scaleY(1); }
.btn svg { width: 16px; height: 16px; flex: none; transition: transform .45s var(--ease); }
.btn:hover svg.go { transform: translateX(4px); }
.btn.primary { background: var(--brand); color: #fff; }
.btn.primary::before { background: var(--ink); }
.btn.ghost { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn.ghost::before { background: var(--ink); }
.btn.ghost:hover { color: #fff; border-color: var(--ink); }
.btn.glass { background: transparent; border-color: rgba(255, 255, 255, .42); color: #fff; }
.btn.glass::before { background: #fff; }
.btn.glass:hover { color: var(--ink); border-color: #fff; }
.btn.white { background: #fff; color: var(--ink); }
.btn.white::before { background: var(--copper); }
.btn.white:hover, a:hover .btn.white { color: #fff; }
a:hover .btn.white::before { transform: scaleY(1); }
.btn.sm { height: 42px; padding: 0 18px; font-size: 13.5px; }
.link { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; color: var(--ink); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 3px; transition: background-size .45s var(--ease), color .2s; }
.link:hover { color: var(--brand); background-size: 0 1px; background-position: 100% 100%; }
.link svg { width: 15px; height: 15px; transition: transform .35s var(--ease); }
.link:hover svg { transform: translateX(3px); }

/* ───────── type ───────── */
.step { display: flex; align-items: center; gap: 12px; font: 500 11.5px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.step::before { content: ""; width: 28px; height: 1px; background: currentColor; flex: none; opacity: .6; }
main { counter-reset: sec; }
main .head .step { counter-increment: sec; }
main .head .step::before { content: counter(sec, decimal-leading-zero); width: auto; height: auto; background: none; opacity: 1; color: var(--copper); padding-right: 14px; border-right: 1px solid var(--line-2); }
.h1 { font-size: clamp(48px, 8.4vw, 140px); font-weight: 500; letter-spacing: -.05em; line-height: .9; }
.h1.md { font-size: clamp(42px, 6.2vw, 96px); }
.h2 { font-size: clamp(36px, 5vw, 76px); font-weight: 500; letter-spacing: -.045em; line-height: .96; margin-top: 22px; }
.h3 { font-size: clamp(20px, 1.8vw, 26px); font-weight: 500; letter-spacing: -.025em; line-height: 1.15; }
.lede { font-size: clamp(17px, 1.45vw, 21px); line-height: 1.5; color: var(--text); max-width: 56ch; margin-top: 26px; letter-spacing: -.01em; }
.sub { color: var(--muted); max-width: 56ch; margin-top: 22px; font-size: 16.5px; }
.note { font: 400 12px/1.5 var(--mono); color: var(--muted); margin-top: 14px; }
.big { display: block; font-size: clamp(44px, 5vw, 80px); font-weight: 300; letter-spacing: -.055em; line-height: .95; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.big small { font-size: .3em; letter-spacing: 0; margin-left: 8px; font-weight: 500; color: var(--muted); vertical-align: .9em; font-family: var(--mono); }
.tag { display: inline-flex; align-items: center; gap: 7px; font: 500 10.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: 6px 9px; border: 1px solid var(--line-2); color: var(--text); white-space: nowrap; }
.tag.brand { background: var(--brand); border-color: var(--brand); color: #fff; }
.tag.soft { background: var(--copper-soft); border-color: transparent; color: var(--brand); }
.tag.live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--copper); animation: pulse 2s infinite; }

/* ───────── sections ───────── */
.sec { position: relative; padding: var(--sec) 0; }
.sec.tight { padding: clamp(40px, 6vw, 80px) 0; }
.sec.paper { background: rgba(232, 225, 214, .5); }
.sec.top0 { padding-top: 0; }
.sec + .sec.paper, .sec.paper + .sec { border-top: 1px solid var(--line); }
.wm { display: none; }
.head { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px 48px; margin-bottom: clamp(40px, 5vw, 72px); flex-wrap: wrap; }
.head > div { max-width: 860px; }
.grid { display: grid; gap: 1px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 112px); align-items: center; }
.split.rev > :first-child { order: 2; }

.card { position: relative; background: var(--paper); border: 1px solid var(--line); padding: clamp(24px, 2.6vw, 36px); }
.grid.g3 > .card, .grid.g4 > .card { outline: 1px solid var(--line); border: 0; }
.card.soft { background: var(--bone); }
.card.dark { background: var(--brand); border-color: var(--brand); color: #fff; }
a.card { display: block; text-decoration: none; transition: background-color .4s var(--ease); }
a.card:hover { background: var(--white); }
.card .label { display: block; font: 500 11.5px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.card .desc { margin-top: 18px; font-size: 15px; line-height: 1.55; color: var(--text); max-width: 34ch; }
.card .big { margin-top: 28px; }
.card h3 + p { margin-top: 12px; color: var(--text); font-size: 15.5px; }
/* datasheet cells: a card that leads with a figure has no box, only rules */
.card:has(> .big) { background: transparent; }
.grid > .card:has(> .big) { outline: 0; border-top: 1px solid var(--ink); border-left: 1px solid var(--line); padding: 22px clamp(18px, 2vw, 28px) 8px; }
.g3 > .card:has(> .big):nth-child(3n + 1), .g4 > .card:has(> .big):nth-child(4n + 1), .g2 > .card:has(> .big):nth-child(odd) { border-left: 0; padding-left: 0; }
main > .sec:first-child:not(.hero), main > article.sec:first-child { padding-top: clamp(56px, 7vw, 112px); }

.panel { background: var(--paper); color: var(--ink); padding: 28px; border: 1px solid var(--line); }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.fact { background: var(--paper); padding: 16px 16px 14px; }
.fact b { display: block; font-size: 32px; line-height: 1; letter-spacing: -.045em; font-weight: 300; font-variant-numeric: tabular-nums; white-space: nowrap; }
.fact b small { font: 500 11px var(--mono); letter-spacing: 0; margin-left: 5px; vertical-align: .9em; opacity: .7; }
.fact span { display: block; margin-top: 10px; font: 400 11px/1.4 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }

/* ───────── hero ───────── */
.hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--night); display: flex; flex-direction: column; justify-content: flex-end; min-height: 100svh; }
.hero.page { min-height: min(78svh, 820px); }
.hero .bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero .bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 8, 6, .55) 0%, rgba(10, 8, 6, 0) 26%, rgba(10, 8, 6, .1) 52%, rgba(10, 8, 6, .82) 100%), linear-gradient(90deg, rgba(10, 8, 6, .5) 0%, rgba(10, 8, 6, 0) 60%); }
/* hairline column grid over the photo */
.hero::after { content: ""; position: absolute; z-index: -1; inset: 0 max(0px, calc((100vw - var(--wrap)) / 2)); margin: 0 var(--gut); pointer-events: none;
  background-image: linear-gradient(90deg, rgba(255, 255, 255, .09) 1px, transparent 1px); background-size: calc(100% / 12) 100%; border-right: 1px solid rgba(255, 255, 255, .09); }
.hero-meta { position: absolute; top: calc(var(--header) + 22px); left: 0; right: 0; display: flex; justify-content: space-between; gap: 16px; font: 400 11.5px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.hero-meta span:last-child { text-align: right; }
.hero-in { width: 100%; padding-top: calc(var(--header) + 96px); padding-bottom: clamp(36px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); }
.hero-in > div:first-child { max-width: 1120px; }
.hero-in.one { grid-template-columns: minmax(0, 1fr); }
.hero .step { color: rgba(255, 255, 255, .78); }
.hero .h1 { margin-top: 26px; }
.hero .lede { color: rgba(255, 255, 255, .84); max-width: 60ch; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
/* key figures become a full-width rule-separated bar */
.hero-panel { background: transparent; border: 0; border-top: 1px solid rgba(255, 255, 255, .3); padding: 0; color: #fff; backdrop-filter: none; }
.hero-panel > .step, .hero-panel > .note { display: none; }
.hero-panel .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); background: transparent; border: 0; gap: 0; }
.hero-panel .fact { background: transparent; padding: 22px 20px 4px; border-left: 1px solid rgba(255, 255, 255, .18); }
.hero-panel .fact:first-child { border-left: 0; padding-left: 0; }
.hero-panel .fact b { font-size: clamp(30px, 3.4vw, 52px); color: #fff; }
.hero-panel .fact span { color: rgba(255, 255, 255, .62); }
.hero-panel .sched { padding-top: 22px; max-width: 760px; }
.hero-panel .sched .top { color: #fff; }
.hero-panel .sched .top span, .hero-panel .sched .ends { color: rgba(255, 255, 255, .62); }
.hero-panel .bar { background: rgba(255, 255, 255, .18); }
.crumbs { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-wrap: wrap; gap: 6px 12px; font: 400 11.5px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs li + li::before { content: "/"; margin-right: 12px; opacity: .5; }
.hero .crumbs { color: rgba(255, 255, 255, .66); }
.hero .crumbs a:hover { color: #fff; }

/* ───────── sub navigation ───────── */
.subnav { position: sticky; top: var(--header); z-index: 40; margin-top: 0; background: rgba(250, 248, 244, .97); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.hdr.solid ~ main .subnav, .hdr.solid + main .subnav { top: 68px; }
.subnav .wrap { display: flex; overflow-x: auto; scrollbar-width: none; }
.seg { display: inline-flex; gap: 32px; }
.seg a { position: relative; padding: 18px 0 17px; font-size: 14px; font-weight: 500; color: var(--muted); text-decoration: none; white-space: nowrap; transition: color .2s; }
.seg a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--brand); transform: scaleX(0); transform-origin: 0 50%; transition: transform .45s var(--ease); }
.seg a:hover { color: var(--ink); }
.seg a[aria-current] { color: var(--ink); }
.seg a[aria-current]::after { transform: scaleX(1); }

/* ───────── media ───────── */
.shot { position: relative; display: block; overflow: hidden; background: #d9d2c7; text-decoration: none; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
a.shot:hover img { transform: scale(1.04); }
.shot .cap { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; padding: 48px 20px 18px; pointer-events: none; color: #fff; background: linear-gradient(180deg, transparent, rgba(10, 8, 6, .62)); }
.shot .cap span { display: grid; gap: 4px; }
.shot .cap b { font-size: 17px; font-weight: 500; letter-spacing: -.015em; }
.shot .cap small { font: 400 11px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; opacity: .78; }
a.shot .cap::after { content: ""; width: 40px; height: 40px; flex: none; border: 1px solid rgba(255, 255, 255, .5); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='square'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 16px no-repeat; opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .45s var(--ease); }
a.shot:hover .cap::after { opacity: 1; transform: none; }
.ar-16 img { aspect-ratio: 16 / 10; }
.ar-wide img { aspect-ratio: 21 / 9; }
.ar-sq img { aspect-ratio: 1; }
.ar-4 img { aspect-ratio: 4 / 3; }
.plan { background: var(--white); border: 1px solid var(--line); }
.plan img { object-fit: contain; padding: 16px; }
/* drawings: no dark photo gradient over the linework; a quiet label strip and an always-visible "expand" mark */
.plan .cap { background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .94) 55%); color: var(--ink); padding: 40px 16px 14px; }
.plan .cap small { opacity: .7; }
.plan:has(+ .fc) .cap span { visibility: hidden; }
a.shot.plan .cap::after { opacity: 1; transform: none; border-color: var(--line-2); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316120e' stroke-width='1.6' stroke-linecap='square'%3E%3Cpath d='M14 4h6v6M10 20H4v-6M20 4l-7 7M4 20l7-7'/%3E%3C/svg%3E"); background-color: var(--paper); }
a.shot.plan:hover .cap::after { background-color: var(--copper-soft); }
/* portfolio cards repeat the caption right below the photo */
.pf .shot .cap span { display: none; }
figcaption.fc { margin-top: 12px; font: 400 12px/1.5 var(--mono); color: var(--muted); }
figcaption.fc b { color: var(--ink); margin-right: 8px; font-weight: 500; }

/* gallery mosaic: every view on one screen, numbered like drawing plates; click opens the lightbox */
.mosaic { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); display: grid; gap: clamp(8px, 1vw, 14px); counter-reset: plate;
  grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: repeat(2, clamp(180px, 17vw, 260px)) clamp(220px, 23vw, 340px); }
.mosaic > figure { counter-increment: plate; min-height: 0; }
.mosaic > :nth-child(1) { grid-column: 1 / span 7; grid-row: 1 / span 2; }
.mosaic > :nth-child(2) { grid-column: 8 / span 5; grid-row: 1; }
.mosaic > :nth-child(3) { grid-column: 8 / span 5; grid-row: 2; }
.mosaic > :nth-child(4) { grid-column: 1 / span 5; grid-row: 3; }
.mosaic > :nth-child(5) { grid-column: 6 / span 7; grid-row: 3; }
.mosaic .shot { height: 100%; }
.mosaic .shot img { transition: transform 1.4s var(--ease), filter .6s var(--ease); }
.mosaic .shot::before { content: counter(plate, decimal-leading-zero); position: absolute; z-index: 1; top: 0; left: 0; padding: 9px 11px; font: 500 11px/1 var(--mono); letter-spacing: .08em; color: #fff; background: rgba(18, 15, 12, .72); }
.mosaic .cap { padding: 56px 18px 16px; }
.mosaic:has(a.shot:hover) a.shot:not(:hover) img { filter: grayscale(.7) brightness(.82); }

/* ───────── home ───────── */
.sec:has(.promise) > .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.sec:has(.promise) .head { position: sticky; top: calc(var(--header) + 40px); margin: 0; }
.sec:has(.promise) .head .h2 { margin-top: 0; font-size: clamp(34px, 4vw, 60px); }
.grid:has(> .promise) { grid-template-columns: minmax(0, 1fr); gap: 0; border-top: 1px solid var(--ink); }
.grid > .card.promise { outline: 0; background: transparent; border: 0; border-bottom: 1px solid var(--line-2); padding: clamp(28px, 3.4vw, 48px) 0; display: grid; grid-template-columns: 96px minmax(0, 1fr); column-gap: 24px; overflow: visible; }
.promise .num { grid-row: span 2; font: 500 12px/2.2 var(--mono); letter-spacing: .08em; color: var(--copper); }
.promise h3 { font-size: clamp(24px, 2.6vw, 38px); font-weight: 500; letter-spacing: -.035em; line-height: 1.05; max-width: 18ch; }
.promise p { margin-top: 16px; color: var(--text); font-size: 16.5px; max-width: 48ch; }
.promise h3 br { display: none; }
.ticks { display: grid; gap: 0; margin-top: 30px; border-top: 1px solid var(--line); }
.ticks li { display: flex; gap: 16px; align-items: baseline; padding: 14px 0; font-weight: 500; border-bottom: 1px solid var(--line); counter-increment: tick; }
.ticks { counter-reset: tick; }
.ticks li::before { content: counter(tick, decimal-leading-zero); flex: none; font: 500 11px var(--mono); letter-spacing: .06em; color: var(--copper); }
.dev-pic { position: relative; }
.dev-pic .shot img { aspect-ratio: 4 / 5; }
.dev-pic .badge { position: absolute; left: 0; bottom: 0; }
.badge { background: var(--brand); color: #fff; padding: 22px 26px 20px; min-width: 210px; }
.badge b { display: block; font-size: 54px; font-weight: 300; line-height: .9; letter-spacing: -.05em; }
.badge span { display: block; font: 400 11px/1.45 var(--mono); letter-spacing: .06em; text-transform: uppercase; opacity: .75; margin-top: 12px; max-width: 24ch; }
.pf { padding: 0; overflow: hidden; display: grid; grid-template-rows: auto 1fr; background: transparent; border: 0; }
.pf .shot img { aspect-ratio: 16 / 10; }
.pf .body { padding: 26px 0 0; display: grid; gap: 10px 18px; grid-template-columns: max-content minmax(0, 1fr); grid-template-rows: auto auto auto 1fr; }
.pf .body > * { grid-column: 1 / -1; }
/* region and award share one line, so both portfolio cards keep the same rhythm */
.pf .body > .label { grid-column: 1; grid-row: 3; align-self: baseline; }
.pf .body > .tag { grid-column: 2; grid-row: 3; align-self: baseline; }
/* figures sit on the card's bottom edge whatever the heading length */
.pf .body > .meta { grid-row: 4; align-self: end; }
.pf .h3 { font-size: clamp(24px, 2.4vw, 34px); letter-spacing: -.035em; }
.pf .label { font: 400 12px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.pf .tag { justify-self: start; }
.pf .meta { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--ink); }
.pf .meta .big { font-size: clamp(40px, 4vw, 60px); }
.pf .role { font: 400 11.5px/1.5 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); max-width: 26ch; text-align: right; }
.partners { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-2); }
.partner { display: grid; gap: 12px; align-content: start; text-decoration: none; padding: 28px 28px 30px; border-right: 1px solid var(--line); transition: background-color .4s var(--ease); }
.partner:first-child { padding-left: 0; }
.partner:last-child { border-right: 0; }
.partner:hover { background: rgba(255, 255, 255, .6); }
.partner .logo { height: 96px; display: flex; align-items: center; }
.partner .logo img { max-height: 54px; width: auto; mix-blend-mode: multiply; filter: grayscale(1) contrast(1.1); opacity: .7; transition: filter .4s, opacity .4s; }
.partner:hover .logo img { filter: none; opacity: 1; }
.partner b { font: 500 11.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--copper); }
.partner p { font-size: 14.5px; color: var(--muted); }

.card.strip { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr) auto; gap: 28px 56px; align-items: center; padding: clamp(28px, 3vw, 44px); background: var(--night); color: #fff; border: 0; }
.card.strip .step { color: var(--on-dark-2); }
.card.strip .h3 { font-size: clamp(26px, 2.6vw, 38px); }
.card.strip:hover { background: var(--night-2); }
.sched .top { display: flex; justify-content: space-between; gap: 12px; font-weight: 500; font-size: 15px; }
.sched .top span { font: 400 13px var(--mono); color: var(--muted); }
.card.strip .sched .top span, .card.strip .sched .ends { color: var(--on-dark-2); }
.bar { position: relative; height: 2px; margin-top: 18px; background: var(--line-2); overflow: visible; }
.card.strip .bar { background: var(--line-dark); }
.bar i { position: absolute; left: 0; top: -1px; height: 4px; width: var(--p, 0%); background: var(--copper); }
.bar i::after { content: ""; position: absolute; right: -5px; top: -4px; width: 12px; height: 12px; border-radius: 50%; background: var(--copper); box-shadow: 0 0 0 0 rgba(163, 90, 42, .6); animation: ping 2.4s infinite; }
.sched .ends { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 16px; margin-top: 16px; font: 400 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.round { width: 64px; height: 64px; border: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 35%, transparent); display: grid; place-items: center; flex: none; transition: background-color .4s var(--ease), color .4s, border-color .4s; }
.round svg { width: 20px; height: 20px; transition: transform .45s var(--ease); }
a:hover > .round, a:hover .round { background: #fff; color: var(--ink); border-color: #fff; }
a:hover .round svg { transform: translateX(3px); }

/* ───────── map teaser ───────── */
.teaser { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); overflow: hidden; background: var(--night); color: #fff; text-decoration: none; margin-top: clamp(32px, 4vw, 56px); }
.teaser .txt { padding: clamp(32px, 4.4vw, 64px); display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 28px; min-height: 420px; }
.teaser .step { color: var(--on-dark-2); }
.teaser h3 { font-size: clamp(30px, 3.4vw, 52px); letter-spacing: -.045em; line-height: 1; margin-top: 18px; }
.teaser p { color: var(--on-dark-2); max-width: 42ch; margin-top: 18px; }
.teaser .hint { font: 400 12px var(--mono); color: var(--on-dark-2); }
.teaser .pic { position: relative; min-height: 360px; overflow: hidden; }
.teaser .pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 45% 42%; filter: grayscale(.35) contrast(1.05); transition: transform 1.6s var(--ease), filter .8s; }
.teaser:hover .pic img { transform: scale(1.05); filter: none; }
.teaser .pic::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, var(--night) 0%, rgba(18, 15, 12, 0) 22%); }
.pin { position: absolute; z-index: 2; left: 62%; top: 44%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--copper); animation: ping 2.4s infinite; }

/* ───────── specs ───────── */
.kv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; margin-top: 40px; border-top: 1px solid var(--ink); }
.kv div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.kv dt { color: var(--muted); font: 400 12px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.kv dd { margin: 0; font-weight: 500; font-size: 17px; text-align: right; font-variant-numeric: tabular-nums; }
.blk .top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.blk .rows { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 24px; border-top: 1px solid var(--line); }
.blk .rows div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.blk .rows div:nth-child(odd) { padding-right: 16px; border-right: 1px solid var(--line); }
.blk .rows div:nth-child(even) { padding-left: 16px; }
.blk .rows dt { font: 400 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.blk .rows dd { margin: 6px 0 0; font-size: 22px; font-weight: 300; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.tbl { margin-top: 32px; overflow-x: auto; background: var(--paper); border: 1px solid var(--line); }
.tbl table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; min-width: 640px; }
.tbl caption { text-align: left; padding: 22px 24px 10px; font: 500 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.tbl th, .tbl td { padding: 15px 24px; text-align: right; white-space: nowrap; border-bottom: 1px solid var(--line); }
.tbl th:first-child, .tbl td:first-child { text-align: left; }
.tbl thead th { font: 500 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--ink); }
.tbl tbody tr { transition: background-color .25s; }
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl tbody tr:hover { background: var(--copper-soft); }
.tbl td:first-child { font-weight: 500; }
.tbl td:first-child .tag { margin-left: 10px; }
.tbl td:nth-child(2) { font-weight: 600; color: var(--brand); }
.sys { display: grid; gap: 14px; align-content: start; }
.sys ul { display: grid; gap: 10px; margin-top: 6px; }
.sys li { position: relative; padding-left: 20px; font-size: 15px; color: var(--text); }
.sys li::before { content: ""; position: absolute; left: 0; top: .72em; width: 10px; height: 1px; background: var(--copper); }
.eng { display: grid; gap: 0; margin-top: 28px; border-top: 1px solid var(--ink); }
.eng div { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 20px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.eng dt { font-weight: 500; }
.eng dd { margin: 0; color: var(--text); font-size: 15.5px; }
.tall img { aspect-ratio: 4 / 5; }

.faq { display: grid; gap: 0; border-top: 1px solid var(--ink); }
.qa { border-bottom: 1px solid var(--line-2); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; font-weight: 500; font-size: clamp(17px, 1.5vw, 20px); letter-spacing: -.015em; transition: color .2s; }
.qa summary:hover { color: var(--brand); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; flex: none; width: 40px; height: 40px; border: 1px solid var(--line-2); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316120e' stroke-width='1.6' stroke-linecap='square'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform .45s var(--ease), background-color .3s; }
.qa[open] summary::after { transform: rotate(45deg); background-color: var(--copper-soft); }
.qa p { padding: 0 64px 26px 0; color: var(--text); max-width: 72ch; }
.qa::details-content { block-size: 0; overflow-y: clip; transition: block-size .45s var(--ease), content-visibility .45s allow-discrete; }
.qa[open]::details-content { block-size: auto; }
.dls { display: grid; gap: 0; border-top: 1px solid var(--ink); }
.dl { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line-2); text-decoration: none; transition: padding .45s var(--ease), background-color .3s; }
.dl:hover { padding-left: 14px; padding-right: 14px; background: rgba(255, 255, 255, .6); }
.dl .ic { width: 48px; height: 48px; background: var(--brand); color: #fff; display: grid; place-items: center; font: 500 11px var(--mono); letter-spacing: .06em; }
.dl b { display: block; font-size: 16px; font-weight: 500; }
.dl small { font: 400 11.5px var(--mono); letter-spacing: .04em; color: var(--muted); }
.dl svg { width: 18px; height: 18px; color: var(--ink); }

/* ───────── location ───────── */
.dirs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 32px; align-items: center; }
.dirs svg { width: 100%; height: auto; }
.routes .orbit { fill: none; stroke: var(--line-2); stroke-width: 1; stroke-dasharray: 2 6; }
.routes .flow { stroke: var(--copper); stroke-width: 2.5; stroke-linecap: butt; stroke-dasharray: 8 8; }
.routes circle { fill: var(--paper); stroke: var(--ink); stroke-width: 1.5; }
.routes .core { fill: var(--brand); stroke: none; }
.routes text { font: 500 13px var(--mono); letter-spacing: .02em; fill: var(--ink); }
@media (prefers-reduced-motion: no-preference) { .routes .flow { animation: flow 1.6s linear infinite; } }
@keyframes flow { to { stroke-dashoffset: -32; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chip { padding: 8px 12px; border: 1px solid var(--line-2); font: 500 11.5px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--text); }
.over { position: absolute; left: 0; right: 0; bottom: 0; padding: 72px 28px 26px; color: #fff; background: linear-gradient(180deg, transparent, rgba(10, 8, 6, .8)); }
.over .step { color: rgba(255, 255, 255, .72); }
.over h3 { margin-top: 12px; font-size: clamp(22px, 2.2vw, 32px); }
.direct { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 0; padding: 0; overflow: hidden; }
.direct .shot img { aspect-ratio: 16 / 10; height: 100%; }
.direct .body { padding: clamp(28px, 3.4vw, 48px); display: grid; gap: 16px; align-content: center; }
.coords { font: 500 clamp(18px, 1.8vw, 24px)/1.2 var(--mono); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.place { display: grid; gap: 16px; align-content: start; }

/* ───────── progress ───────── */
.tl { position: relative; display: grid; gap: 0; padding-left: 0; border-top: 1px solid var(--ink); }
.tl > article { position: relative; display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); column-gap: clamp(24px, 4vw, 64px); background: transparent; border: 0; border-bottom: 1px solid var(--line-2); padding: clamp(28px, 3.4vw, 48px) 0; }
.tl > article > * { grid-column: 2; }
.tl > article > .top { grid-column: 1; grid-row: 1 / span 6; align-self: start; flex-direction: column; align-items: flex-start; position: sticky; top: calc(var(--header) + 80px); }
.tl .top { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.tl time { font: 500 13px var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.tl > article.now time { color: var(--copper); }
.tl h2 { font-size: clamp(24px, 2.6vw, 38px); letter-spacing: -.035em; margin-top: 0; }
.tl p { margin-top: 14px; color: var(--text); max-width: 68ch; }
.tl .shot { margin-top: 26px; }
.tl .shot img { aspect-ratio: auto; max-height: 640px; }

/* ───────── news ───────── */
.news { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px); }
.card.nc { display: grid; grid-template-rows: auto 1fr; overflow: hidden; padding: 0; background: transparent; border: 0; border-top: 1px solid var(--ink); }
a.card.nc:hover { background: transparent; }
.news.list { grid-template-columns: repeat(6, minmax(0, 1fr)); row-gap: clamp(40px, 5vw, 64px); }
.news.list > * { grid-column: span 2; }
.news.list > .w3 { grid-column: span 3; }
.news.list > .feat { grid-column: 1 / -1; }
.nc .cover { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--brand); margin-top: 20px; }
.nc .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.nc:hover .cover img:not(.mk) { transform: scale(1.04); }
.nc .body { padding: 22px 0 0; display: grid; gap: 12px; align-content: start; }
.nc .when { display: flex; justify-content: space-between; gap: 10px; align-items: center; font: 400 11.5px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.nc h3 { font-size: clamp(19px, 1.6vw, 23px); font-weight: 500; letter-spacing: -.025em; line-height: 1.2; transition: color .25s; }
.nc:hover h3 { color: var(--brand); }
.nc p { font-size: 15px; color: var(--text); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.nc .link { margin-top: 6px; justify-self: start; }
.news .feat { grid-column: span 2; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); grid-template-rows: none; column-gap: clamp(24px, 3vw, 48px); }
.news .feat .cover { aspect-ratio: auto; min-height: 380px; }
.news .feat .body { padding: 20px 0 0; align-content: center; }
.news .feat h3 { font-size: clamp(26px, 2.8vw, 42px); letter-spacing: -.04em; line-height: 1.05; }
.news .feat p { -webkit-line-clamp: 5; }
.type { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 24px; color: #fff; background: var(--brand); }
.type.v1 { background: var(--night-2); }
.type.v2 { background: #5b4a3c; }
.type .mk { position: absolute; right: -8%; bottom: -16%; width: 64%; opacity: .1; transition: transform 1.4s var(--ease); }
.nc:hover .type .mk { transform: rotate(-4deg) scale(1.05); }
.type b { position: relative; font-size: clamp(24px, 2.4vw, 34px); font-weight: 500; line-height: 1; letter-spacing: -.04em; max-width: 12ch; }
.type small { position: relative; font: 400 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .66); }

.article { max-width: 820px; margin: 0 auto; }
.article .h1 { font-size: clamp(34px, 4.8vw, 64px); letter-spacing: -.045em; line-height: 1; margin-top: 20px; }
.article .meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 8px; }
.article .meta time { font: 400 12px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.article .lede { font-size: clamp(19px, 1.7vw, 23px); color: var(--ink); font-weight: 400; max-width: none; margin-top: 28px; }
.prose { margin-top: 40px; display: grid; gap: 22px; font-size: 18px; line-height: 1.72; color: #2f2822; }
.prose h2 { font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -.03em; margin-top: 20px; color: var(--ink); }
.prose a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 4px; }
.gal { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 10px 0; }
.gal.n1 { grid-template-columns: 1fr; }
.gal.many { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gal .shot img { aspect-ratio: 4 / 3; }
.gal.many .shot img { aspect-ratio: 1; }
.gal.n1 .shot img { aspect-ratio: 3 / 2; }
.after { margin-top: 56px; display: grid; gap: 16px; }
.after .card { display: grid; gap: 16px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills a { padding: 10px 15px; border: 1px solid var(--line-2); text-decoration: none; font-weight: 500; font-size: 14px; transition: border-color .25s, background-color .25s, color .25s; }
.pills a:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.back { display: inline-flex; align-items: center; gap: 10px; font: 500 12px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); text-decoration: none; }
.back:hover { color: var(--ink); }
.back svg { width: 15px; height: 15px; transform: rotate(180deg); }
.readbar { position: fixed; z-index: 60; top: 0; left: 0; right: 0; height: 2px; background: var(--copper); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; }

/* ───────── contact + footer ───────── */
.contact { padding: 0; background: var(--night); color: #fff; overflow: hidden; }
.ct { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 112px); align-items: start; padding-top: var(--sec); padding-bottom: var(--sec); }
.ct::before { content: ""; position: absolute; z-index: -1; right: -6%; top: 50%; width: min(52%, 640px); aspect-ratio: 326 / 336; transform: translateY(-50%); background: url(/brand/mark-white.svg) center / contain no-repeat; opacity: .035; pointer-events: none; }
.ct .h2 { font-size: clamp(48px, 8vw, 132px); letter-spacing: -.042em; line-height: .92; }
.ct .step { color: var(--on-dark-2); }
.ct .person { background: transparent; border: 0; padding: 0; color: #fff; }
.person { display: grid; gap: 28px; }
.who { display: flex; align-items: center; gap: 18px; }
.who img { width: 76px; height: 76px; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.who b { display: block; font-size: 22px; font-weight: 500; letter-spacing: -.02em; }
.who small { display: block; color: var(--muted); font: 400 11.5px/1.55 var(--mono); letter-spacing: .04em; text-transform: uppercase; margin-top: 4px; }
.ct .who small { color: var(--on-dark-2); }
.rows { display: grid; gap: 0; border-top: 1px solid var(--line-2); }
.row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 12px; padding: 18px 0; border-bottom: 1px solid var(--line-2); text-decoration: none; transition: padding .45s var(--ease); }
.row:hover { padding-left: 10px; padding-right: 10px; }
.row small { display: block; font: 400 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.row b { display: block; margin-top: 6px; font-size: clamp(17px, 1.5vw, 21px); font-weight: 500; letter-spacing: -.015em; overflow-wrap: anywhere; }
.row svg { width: 20px; height: 20px; transition: transform .45s var(--ease); }
.row:hover svg { transform: translateX(4px); }
.ct .rows, .ct .row { border-color: var(--line-dark); }
.ct .row small { color: var(--on-dark-2); }
.ct .row:hover { background: rgba(255, 255, 255, .04); }
.row.main b { color: inherit; }

.ftr { background: var(--night); color: var(--on-dark-2); padding: 0 0 32px; font-size: 14px; overflow: hidden; border-top: 1px solid var(--line-dark); }
.ftr .brand { color: #fff; }
.ftr .brand small { color: var(--on-dark-2); opacity: 1; }
.f-top { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; padding: 48px 0 40px; border-bottom: 1px solid var(--line-dark); }
.f-nav { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.f-nav a { text-decoration: none; font-weight: 500; transition: color .2s; }
.f-nav a:hover { color: #fff; }
.f-mega { font-size: clamp(60px, 13.6vw, 224px); font-weight: 500; letter-spacing: -.06em; line-height: 1; white-space: nowrap; font-variant-ligatures: none; color: #221c17; padding: 36px 0 20px; margin-left: -.04em; user-select: none; }
.f-bot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line-dark); font: 400 11.5px var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.f-bot .langs a { color: var(--on-dark-2); }
.f-bot .langs a[aria-current] { color: #fff; }
.nf { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.nf .big { font-size: clamp(110px, 18vw, 240px); }
.nf .langsets { display: grid; gap: 22px; margin-top: 28px; }

/* ───────── lightbox ───────── */
dialog.lb { padding: 0; border: 0; background: transparent; max-width: 100vw; max-height: 100dvh; width: 100vw; height: 100dvh; margin: 0; overflow: hidden; }
dialog.lb::backdrop { background: rgba(10, 8, 6, .94); }
dialog.lb figure { height: 100%; display: grid; grid-template-rows: minmax(0, 1fr) auto; place-items: center; padding: 72px 88px 26px; }
dialog.lb img { max-width: 100%; max-height: 100%; width: auto; height: auto; }
dialog.lb figcaption { color: rgba(255, 255, 255, .8); font: 400 12px var(--mono); letter-spacing: .06em; text-transform: uppercase; margin-top: 18px; text-align: center; min-height: 1.4em; }
dialog.lb button { position: absolute; width: 52px; height: 52px; border: 1px solid rgba(255, 255, 255, .28); background: transparent; color: #fff; cursor: pointer; display: grid; place-items: center; transition: background-color .3s, color .3s; }
dialog.lb button:hover { background: #fff; color: var(--ink); }
dialog.lb button svg { width: 20px; height: 20px; }
dialog.lb .x { top: 16px; right: 16px; }
dialog.lb .pv { left: 16px; top: 50%; margin-top: -26px; }
dialog.lb .nx { right: 16px; top: 50%; margin-top: -26px; }
dialog.lb.single .pv, dialog.lb.single .nx { display: none; }
dialog.lb[open] img { animation: zoomin .5s var(--ease); }

/* ───────── v5: brand-book system ─────────
   One rule set for every page. White field; Pantone 4625 chocolate for type and for every dark surface;
   Pantone 7458 sky as the single accent (labels, numerals, progress, active states); square geometry and hairlines
   from v2; data in mono, everything else in Inter Tight. */
:root {
  --ink: #2e1a10;          /* type: Pantone 4625 deepened so large headings stay quiet */
  --text: #3d3935;         /* body copy: neutral and crisp, never brown-grey */
  --muted: #77706a;        /* labels */
  --paper: #ffffff;        /* the brand book's white field */
  --stone: #f6f4f1;        /* quiet band for rhythm */
  --bone: #ffffff;
  --white: #ffffff;
  --line: #e9e4df;
  --line-2: #d9d2cb;
  --brand: #411300;
  --brand-2: #5a1e05;
  --brand-deep: #2c0d00;   /* hover fill on chocolate */
  --copper: #1f7c9b;       /* v2 accent slot, now Pantone 7458 deepened for text on white */
  --copper-soft: #ecf5f8;
  --night: #411300;        /* every dark surface is brand chocolate */
  --night-2: #52200a;
  --on-dark: rgba(255, 255, 255, .94);
  --on-dark-2: rgba(255, 255, 255, .66);
  --line-dark: rgba(255, 255, 255, .16);
  --sky: #66b9d4;          /* Pantone 7458 */
  --sky-glow: rgba(102, 185, 212, .55);
}
::selection { background: var(--brand); color: #fff; }
:focus-visible { outline-color: var(--copper); }
body::before { background-image: linear-gradient(90deg, rgba(65, 19, 0, .05) 1px, transparent 1px); border-right-color: rgba(65, 19, 0, .05); }
.hdr { background: rgba(255, 255, 255, .96); }
.subnav { background: rgba(255, 255, 255, .97); }
.sec.paper { background: var(--stone); }
.prose { color: var(--text); }

/* type scale: one step quieter than v2; large sizes are set darker and slightly looser */
.h1 { font-size: clamp(42px, 6vw, 100px); letter-spacing: -.045em; line-height: .95; }
.h2 { font-size: clamp(30px, 3.6vw, 54px); letter-spacing: -.035em; line-height: 1.04; }
.sec:has(.promise) .head .h2 { font-size: clamp(30px, 3.3vw, 48px); }
.promise h3 { font-size: clamp(21px, 1.9vw, 28px); letter-spacing: -.025em; line-height: 1.12; }
.big { font-size: clamp(38px, 4vw, 62px); letter-spacing: -.045em; }
.pf .meta .big { font-size: clamp(34px, 3.2vw, 50px); }
.pf .h3 { font-size: clamp(22px, 2vw, 30px); }
.hero-panel .fact b { font-size: clamp(28px, 2.7vw, 42px); }
.ct .h2 { font-size: clamp(42px, 5.8vw, 92px); letter-spacing: -.04em; line-height: .96; }
.teaser h3 { font-size: clamp(28px, 2.7vw, 42px); }
.card.strip .h3 { font-size: clamp(24px, 2.2vw, 32px); }
.article .h1 { font-size: clamp(32px, 4vw, 54px); }
.dim { font-weight: 300; }
.hero.page { min-height: min(66svh, 700px); }
.hero.page .h1 { font-size: clamp(38px, 4.8vw, 76px); }

/* labels follow the brand book: "02 / ГАЛЕРЕЯ" in sky capitals, set in the text face */
.step { font: 600 11.5px/1.3 var(--font); letter-spacing: .1em; color: var(--copper); }
.step::before { background: var(--sky); opacity: 1; }
main .head .step::before { font: 600 11.5px/1 var(--font); color: var(--copper); border-right-color: var(--line-2); }
.hero .step, .ct .step, .card.strip .step, .teaser .step, .over .step { color: var(--sky); }

/* buttons stay square; chocolate fills deepen, light buttons on chocolate fill with sky */
.btn.primary::before { background: var(--brand-deep); }
.btn.ghost::before { background: var(--brand); }
.btn.ghost:hover { border-color: var(--brand); }
.btn.white::before { background: var(--sky); }
.btn.white:hover, a:hover .btn.white { color: var(--ink); }
.pills a:hover { border-color: var(--brand); background: var(--brand); }

/* section head: statement on the left, explanation on the right */
.head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); column-gap: clamp(32px, 6vw, 104px); align-items: end; }
.head > div { display: contents; }
.head .step, .head .h2 { grid-column: 1; }
.head .sub { grid-column: 2; grid-row: 1 / span 2; align-self: end; margin: 0; max-width: 54ch; font-size: clamp(16.5px, 1.3vw, 19px); line-height: 1.55; color: var(--text); }
.head > .btn { grid-column: 2; justify-self: start; align-self: end; margin-top: 18px; }
.head:not(:has(.sub)) > .btn { justify-self: end; }
.head:not(:has(.sub, > .btn)) { grid-template-columns: minmax(0, 1fr); }

/* accents: one colour for everything that marks state or order */
.bar i, .bar i::after { background: var(--sky); }
.bar i::after { animation-name: ping-sky; }
.tag.live::before, .pin { background: var(--sky); }
.pin { animation-name: ping-sky; }
.readbar { background: var(--sky); }
.routes .flow { stroke: var(--sky); }
.tl > article.now time { color: var(--copper); }
.nc:hover h3, .link:hover { color: var(--copper); }
.prose a { color: var(--copper); }
.tag.soft { background: var(--copper-soft); color: var(--ink); }
.sheet a.nl[aria-current] { color: var(--sky); }
@keyframes ping-sky { 0% { box-shadow: 0 0 0 0 var(--sky-glow); } 80%, 100% { box-shadow: 0 0 0 16px rgba(102, 185, 212, 0); } }

/* photography stays natural; plates and covers use the brand pair */
.mosaic .shot::before { background: rgba(65, 19, 0, .9); }
.type.v1 { background: var(--night-2); }
.type.v2 { background: var(--sky); color: var(--ink); }
.type.v2 small { color: rgba(65, 19, 0, .66); }

/* footer: four columns on chocolate */
.f-cols { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding: 64px 0 56px; }
.f-h { margin-bottom: 16px; font: 600 11.5px/1.3 var(--font); letter-spacing: .1em; text-transform: uppercase; color: var(--sky); }
.f-col a { display: block; width: fit-content; padding: 5px 0; font-size: 14.5px; color: var(--on-dark); text-decoration: none; opacity: .78; transition: opacity .2s; overflow-wrap: anywhere; }
.f-col a:hover { opacity: 1; }

/* blocks table: each unit can be requested from its row; phones get one button under the table */
.tbl th.act, .tbl td.act { width: 1%; text-align: right; }
.tbl td.act a { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; border: 1px solid var(--line-2); font-size: 13.5px; font-weight: 500; text-decoration: none; color: var(--ink); white-space: nowrap; transition: background-color .25s, border-color .25s, color .25s; }
.tbl td.act a:hover, .tbl tbody tr:hover td.act a { background: var(--brand); border-color: var(--brand); color: #fff; }
.tbl td.act svg { width: 14px; height: 14px; flex: none; max-width: none; }
.tbl-ask { display: none; margin-top: 16px; }
.tbl-ask .btn { width: 100%; }

/* phone dock: call or request from anywhere below the hero */
.dock { display: none; }

/* documents (specifications, location): contents beside the sections */
.toc-label { display: none; }
.doc-body .head .step::before { content: ""; width: 28px; height: 1px; padding: 0; border: 0; background: var(--sky); }
@media (min-width: 1081px) {
  .doc { display: grid; grid-template-columns: 220px minmax(0, 1fr); column-gap: clamp(48px, 6vw, 112px); max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
  .doc > .subnav, .hdr ~ main .doc > .subnav { position: sticky; top: calc(var(--header) + 40px); align-self: start; z-index: 1; margin-top: clamp(56px, 7vw, 104px); background: none; border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .doc > .subnav .wrap { display: block; max-width: none; padding: 0; overflow: visible; }
  .doc .toc-label { display: block; padding-bottom: 14px; margin-bottom: 6px; border-bottom: 1px solid var(--ink); font: 600 11.5px/1.3 var(--font); letter-spacing: .1em; text-transform: uppercase; color: var(--copper); }
  .doc .seg { display: grid; gap: 0; counter-reset: toc; }
  .doc .seg a { counter-increment: toc; display: flex; gap: 14px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; white-space: normal; }
  .doc .seg a::before { content: counter(toc, decimal-leading-zero); font: 500 11px var(--mono); color: var(--muted); }
  .doc .seg a[aria-current] { color: var(--ink); }
  .doc .seg a[aria-current]::before { color: var(--copper); }
  .doc .seg a::after { left: auto; right: 0; top: 50%; bottom: auto; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--sky); transform: scale(0); transition: transform .3s var(--ease); }
  .doc .seg a[aria-current]::after { transform: scale(1); }
  .doc-body { min-width: 0; }
  .doc-body > .sec { padding: clamp(56px, 7vw, 104px) 0 clamp(24px, 3vw, 40px); }
  .doc-body > .sec.paper { background: none; }
  .doc-body > .sec + .sec { border-top: 1px solid var(--line); }
  .doc-body > .sec > .wrap { max-width: none; padding: 0; }
  .doc-body .head { grid-template-columns: minmax(0, 1fr); margin-bottom: clamp(28px, 3vw, 44px); }
  .doc-body .head .sub { grid-column: 1; grid-row: auto; margin-top: 18px; max-width: 64ch; }
  .doc-body .head > .btn { grid-column: 1; justify-self: start; }
  .doc-body .h2 { font-size: clamp(32px, 3.2vw, 48px); }
  .doc-body .big { font-size: clamp(36px, 3.6vw, 58px); }
}

/* ───────── motion ───────── */
@keyframes pulse { 50% { opacity: .35; } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(163, 90, 42, .6); } 80%, 100% { box-shadow: 0 0 0 16px rgba(163, 90, 42, 0); } }
@keyframes zoomin { from { opacity: 0; transform: scale(.97); } }
@keyframes kb { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes grow { from { width: 0; } }
@keyframes read { to { transform: scaleX(1); } }
@keyframes sheet { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0); } }
@keyframes aperture { from { clip-path: inset(9% 7% 12% 7%); } to { clip-path: inset(0); } }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fadeup { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes rule { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (prefers-reduced-motion: no-preference) {
  .home .kb img { animation: kb 3.2s var(--ease) backwards; }
  .bar i { animation: grow 1.8s .5s var(--ease) both; }

  /* hero intro — pure CSS, runs once on load (html.motion set by boot.js) */
  .motion .home .hero .bg { animation: aperture 1.6s var(--ease-io) backwards; }
  .motion .hero-in > :first-child > *, .motion .hero-meta, .motion .hero-panel { animation: fadeup 1.1s var(--ease) backwards; }
  .motion .hero-in > :first-child > .step { animation-delay: .7s; }
  .motion .hero-in > :first-child > .crumbs { animation-delay: .7s; }
  .motion .hero-in > :first-child > .h1 { animation-delay: .82s; }
  .motion .hero-in > :first-child > .lede { animation-delay: 1s; }
  .motion .hero-in > :first-child > .ctas { animation-delay: 1.12s; }
  .motion .hero-meta { animation-delay: 1.2s; }
  .motion .hero-panel { animation-delay: 1.25s; }
  .motion .hero-panel { position: relative; }

  /* scroll reveals — only once site.js is running */
  .motion-ready .rv { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); transition-delay: var(--d, 0s); }
  .motion-ready .rv.in { opacity: 1; transform: none; }
  /* the image wipe is reserved for the home page */
  .motion-ready .home .rv .shot { clip-path: inset(0 0 100% 0); transition: clip-path 1.4s var(--ease-io); transition-delay: calc(var(--d, 0s) + .1s); }
  .motion-ready .home .rv.in .shot { clip-path: inset(0); }
  .motion-ready .home .rv .shot img { transform: scale(1.18); transition: transform 1.8s var(--ease); }
  .motion-ready .home .rv.in .shot img { transform: none; }
  .motion-ready .rv.in a.shot:hover img { transform: scale(1.04); }
  .motion-ready .sw .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .2em; margin-bottom: -.2em; }
  .motion-ready .sw .w > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 45ms + var(--d, 0s)); }
  .motion-ready .sw.in .w > span, .motion-ready .in .sw .w > span { transform: none; }

  @supports (animation-timeline: view()) {
    .readbar { animation: read linear both; animation-timeline: scroll(root); }
  }
  @view-transition { navigation: auto; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}

/* ───────── responsive ───────── */
@media (max-width: 1240px) {
  .brand small { display: none; }
  .nav { gap: 22px; }
}
@media (max-width: 1080px) {
  .nav, .tools > .langs, .tools > .btn { display: none; }
  .menu { display: block; }
  .tools { margin-left: auto; }
  .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g3, .news, .news.list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news.list > *, .news.list > .w3 { grid-column: span 1; }
  .news.list > .feat { grid-column: 1 / -1; }
  .grid > .card:has(> .big) { border-left: 1px solid var(--line); padding-left: clamp(18px, 2vw, 28px); }
  .grid > .card:has(> .big):nth-child(odd) { border-left: 0; padding-left: 0; }
  .card.strip { grid-template-columns: minmax(0, 1fr) auto; }
  .card.strip .sched { grid-column: 1 / -1; grid-row: 2; }
  .ct { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .sec:has(.promise) > .wrap { grid-template-columns: minmax(0, 1fr); }
  .sec:has(.promise) .head { position: static; }
  .hero-panel .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-panel .fact:nth-child(3) { border-left: 0; padding-left: 0; }
  .hero-panel .fact:nth-child(n + 3) { border-top: 1px solid rgba(255, 255, 255, .18); margin-top: 18px; }
  .tl > article { grid-template-columns: minmax(0, 1fr); }
  .tl > article > .top { grid-column: 1; grid-row: auto; position: static; flex-direction: row; margin-bottom: 14px; }
  .tl > article > * { grid-column: 1; }
  .pf .body { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto auto 1fr; }
  .pf .body > .label, .pf .body > .tag { grid-column: 1; grid-row: auto; }
  .pf .body > .meta { grid-row: 5; }
  .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; }
  .mosaic > :nth-child(n) { grid-column: auto; grid-row: auto; }
  .mosaic > :first-child { grid-column: 1 / -1; }
  .mosaic .shot img { aspect-ratio: 4 / 3; }
  .mosaic > :first-child .shot img { aspect-ratio: 16 / 9; }
}
@media (max-width: 760px) {
  :root { --header: 64px; }
  .hdr.solid { height: 60px; }
  .brand { gap: 12px; }
  .brand img { height: 28px; }
  .brand b { font-size: 13.5px; }
  body::before { background-size: calc(100% / 4) 100%; }
  .hero::after { background-size: calc(100% / 4) 100%; }
  .split, .g2, .g3, .news, .news.list, .partners, .teaser, .dirs, .direct, .kv { grid-template-columns: minmax(0, 1fr); }
  .grid > .card:has(> .big) { border-left: 0; padding-left: 0; padding-right: 0; }
  .news.list > * { grid-column: auto; }
  .split.rev > :first-child { order: 0; }
  .news .feat { grid-column: auto; grid-template-columns: minmax(0, 1fr); }
  .news .feat .cover { min-height: 0; aspect-ratio: 16 / 10; }
  .teaser .txt { min-height: 0; }
  .teaser .pic { min-height: 260px; order: -1; }
  .teaser .pic::before { background: linear-gradient(0deg, var(--night) 0%, rgba(18, 15, 12, 0) 30%); }
  .hero-meta { font-size: 10px; }
  .hero-meta span:last-child { display: none; }
  .hero-in { padding-top: calc(var(--header) + 72px); gap: 36px; }
  /* one decisive primary action; secondary actions share a row */
  .hero .ctas { gap: 10px; margin-top: 32px; }
  .hero .ctas .btn { flex: 1 1 140px; height: 48px; padding: 0 14px; gap: 10px; font-size: 14px; }
  .hero .ctas .btn.primary { flex-basis: 100%; height: 54px; font-size: 15px; }
  .subnav .wrap { -webkit-mask-image: linear-gradient(90deg, transparent, #000 14px, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(90deg, transparent, #000 14px, #000 calc(100% - 36px), transparent); }
  .mosaic .cap { padding: 36px 12px 10px; }
  .mosaic .cap b { font-size: 15px; }
  .mosaic .cap small { display: none; }
  .mosaic > :first-child .cap small { display: block; }
  .mosaic a.shot .cap::after { display: none; }
  .mosaic .shot::before { padding: 7px 8px; font-size: 10px; }
  /* the blocks table fits the phone instead of scrolling sideways; Compact/Large tags live on the cards above */
  .tbl caption { padding: 16px 12px 6px; }
  .tbl th, .tbl td { padding: 12px 4px; font-size: 14px; }
  .tbl th:first-child, .tbl td:first-child { padding-left: 12px; }
  .tbl th:last-child, .tbl td:last-child { padding-right: 12px; }
  .tbl table { min-width: 0; }
  .tbl thead th { font-size: 9.5px; letter-spacing: 0; }
  .tbl td .tag { display: none; }
  .routes text { font-size: 23px; }
  .hero-panel .fact { padding: 16px 12px 2px; }
  .hero-panel .fact b { font-size: 30px; }
  .partner, .partner:first-child { padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .grid > .card.promise { grid-template-columns: 56px minmax(0, 1fr); column-gap: 12px; }
  .blk .rows dd { font-size: 19px; }
  .gal.many { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .eng div { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .pf .meta { flex-direction: column; align-items: flex-start; }
  .pf .role { text-align: left; }
  .dev-pic .badge { padding: 16px 18px; min-width: 0; }
  .dev-pic .badge b { font-size: 40px; }
  .qa p { padding-right: 0; }
  .f-mega { padding-top: 32px; font-size: 12.6vw; }
  dialog.lb figure { padding: 72px 10px 20px; }
  dialog.lb .pv, dialog.lb .nx { top: auto; bottom: 14px; margin: 0; }
}
@media (max-width: 480px) {
  .g4 { grid-template-columns: minmax(0, 1fr); }
  .grid > .card:has(> .big):nth-child(odd) { border-left: 0; }
  .facts { grid-template-columns: 1fr 1fr; }
  /* Keep the site name VISIBLE on phones: hiding the whole .brand div left the
     brand link with no visible text at all (AI-agent / link-name audits). */
  .brand .sep, .brand small { display: none; }
  .brand { gap: 10px; }
  .brand b { font-size: 12.5px; }
}
@media (max-width: 1080px) {
  .head { grid-template-columns: minmax(0, 1fr); }
  .head .sub { grid-column: 1; grid-row: auto; margin-top: 18px; }
  .head > .btn, .head:not(:has(.sub)) > .btn { grid-column: 1; justify-self: start; }
  .f-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .f-about { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .f-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; padding: 48px 0 40px; }
  .tbl th.act, .tbl td.act { display: none; }
  .tbl th:nth-last-child(2), .tbl td:nth-last-child(2) { padding-right: 12px; }
  .tbl-ask { display: block; }
  .js .dock { position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; display: flex; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line-2); transform: translateY(100%); transition: transform .45s var(--ease); }
  .js .dock.on { transform: none; }
  .dock .btn { height: 48px; padding: 0 16px; }
  .dock .btn.primary { flex: 1; }
  .dock .btn svg { width: 16px; height: 16px; }
  .js body:has(.dock) .ftr { padding-bottom: 96px; }
}
@media print {
  body::before, .hero::after { display: none; }
  .hdr, .subnav, .menu, .contact, .ftr, .readbar { display: none; }
  .hero { color: var(--ink); background: none; min-height: 0; }
  .hero::before, .hero .bg { display: none; }
  .rv, .shot { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}


/* ───────── Nov 2026 content batch: editorial video + photo plates ───────── */
.vid { margin: 0; }
.vid video { display: block; width: 100%; height: auto; background: var(--night); }
.vid figcaption { margin-top: 10px; font: 400 12px/1.55 var(--mono); letter-spacing: .03em; color: var(--muted); }
.prose .vid, .tl .vid { margin: 0; }
.vids { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 26px; }
.vids .vid video { width: 100%; max-width: 420px; margin-inline: auto; }
.vids.c1 { grid-template-columns: 1fr; }
.plates { display: grid; gap: 12px; margin-top: 26px; }
.plates.c1 { grid-template-columns: 1fr; }
.plates.c2, .plates.c4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.plates.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.plates .shot img { height: auto; }
.plates.land .shot img { aspect-ratio: 16 / 9; }
.plates.port .shot img { aspect-ratio: 3 / 4; }
.plates.sq .shot img { aspect-ratio: 4 / 3; }
.tl .plates .shot, .tl .vids .vid { margin-top: 0; }
/* Photo cover on the featured news card: absolute like the typographic
   placeholder, so an in-flow <img> cannot feed back into the grid sizing. */
.news .feat .cover.photo > img { position: absolute; inset: 0; }
@media (max-width: 640px) {
  .vids, .vids.c1, .plates.c2, .plates.c3, .plates.c4 { grid-template-columns: 1fr; }
  .vids .vid video { max-width: 360px; }
}

/* ───────── Nov 2026: enquiry form, messengers, legal line, cookie consent ───────── */
.enq { margin-top: clamp(40px, 5vw, 72px); padding-top: clamp(28px, 4vw, 48px); border-top: 1px solid var(--line-dark); }
.enq-head { display: grid; gap: 12px; }
.enq-head .step { color: var(--on-dark-2); }
.enq-h { font-size: clamp(24px, 2.6vw, 36px); font-weight: 500; letter-spacing: -.03em; line-height: 1.1; margin: 0; }
.enq-note { color: var(--on-dark-2); max-width: 66ch; font-size: 14px; line-height: 1.6; margin: 0; }
.enq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 30px; }
.fld { display: grid; gap: 8px; align-content: start; }
.fld.wide { grid-column: 1 / -1; }
.fld > span { font: 400 11px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-2); }
.fld input, .fld textarea, .fld select { width: 100%; box-sizing: border-box; background: rgba(255, 255, 255, .06); border: 1px solid var(--line-dark); border-radius: 0; color: #fff; padding: 13px 15px; font: 500 15px/1.45 var(--font); transition: border-color .25s, background-color .25s; }
.fld input:focus, .fld textarea:focus, .fld select:focus { border-color: var(--sky); background: rgba(255, 255, 255, .1); }
.fld input:focus:not(:focus-visible), .fld textarea:focus:not(:focus-visible), .fld select:focus:not(:focus-visible) { outline: none; }
.fld input:focus-visible, .fld textarea:focus-visible, .fld select:focus-visible { outline: 2px solid var(--sky); outline-offset: 2px; }
.fld textarea { resize: vertical; min-height: 84px; }
.fld select option { color: var(--ink); }
.enq-consent { display: flex; gap: 12px; align-items: flex-start; margin-top: 24px; font-size: 14px; line-height: 1.5; color: var(--on-dark-2); }
.enq-consent input { margin-top: 3px; flex: none; width: 16px; height: 16px; accent-color: var(--sky); }
.enq-consent a { color: #fff; text-underline-offset: 3px; }
.enq-privacy { display: inline-block; margin: 10px 0 0 28px; color: #fff; font-size: 13.5px; text-underline-offset: 3px; }
.enq-actions { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; margin-top: 26px; }
.enq-msg { color: var(--sky); font-size: 13.5px; }
.f-legal { opacity: .78; }
.f-bot > a { color: var(--on-dark-2); text-decoration: none; }
.f-bot > a:hover { color: #fff; }
.ck { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; background: rgba(22, 18, 14, .97); color: #fff; border-top: 1px solid var(--line-dark); padding: 18px clamp(20px, 4vw, 48px); backdrop-filter: blur(8px); }
.ck[hidden] { display: none; }
.ck-in { max-width: 1180px; margin: 0 auto; display: flex; gap: 20px 28px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.ck p { margin: 0; max-width: 68ch; font-size: 14px; line-height: 1.55; color: var(--on-dark); }
.ck-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.ck-actions a { color: var(--on-dark-2); font-size: 13px; text-decoration: none; padding: 0 12px; min-height: 44px; display: inline-flex; align-items: center; }
.ck-actions a:hover { color: #fff; }
.ck-saved { display: none; }
@media (max-width: 760px) {
  .enq-grid { grid-template-columns: 1fr; }
  .ck { bottom: 0; padding-bottom: calc(18px + env(safe-area-inset-bottom)); }
  .ck-in { flex-direction: column; align-items: flex-start; }
}
.ck-open .dock { display: none !important; }
.ck-open .ftr { padding-bottom: 220px; }
.ck .btn.ghost { color: #fff; border-color: rgba(255, 255, 255, .45); }
.ck .btn.ghost::before { background: #fff; }
.ck .btn.ghost:hover { color: var(--ink); border-color: #fff; }

/* ───────── compact enquiry form + icon-only contact links ───────── */
.enq .btn.ghost { color: #fff; border-color: rgba(255, 255, 255, .45); }
.enq .btn.ghost::before { background: #fff; }
.enq .btn.ghost:hover { color: var(--ink); border-color: #fff; }
.enq-actions { gap: 12px; }
.chats { display: flex; gap: 10px; margin-top: 20px; }
.chat { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--line-dark); border-radius: 50%; color: #fff; text-decoration: none; transition: background-color .25s, border-color .25s, color .25s, transform .25s; }
.chat svg { width: 20px; height: 20px; }
.chat:hover { background: #fff; border-color: #fff; color: var(--night); transform: translateY(-2px); }
.chat:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; }
@media (max-width: 760px) {
  .enq-actions .btn { width: 100%; }
}

/* Footer language links: opacity:.5 over --on-dark-2 produced #806154 on
   #411300 = 2.84:1 (WCAG AA needs 4.5:1). Use a solid light tone instead. */
.f-bot .langs a { color: #d8c8bb; opacity: 1; }
.f-bot .langs a:hover, .f-bot .langs a[aria-current] { color: #fff; opacity: 1; }
