/* Geomehanika · Concept 2 "Srbija ispod" — architecture-monograph system
   Fonts (OFL stand-ins): Fraunces (opsz 144, 300) + Hanken Grotesk. Premium: GT Sectra Display + Graphik. */

@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(../fonts/fraunces-latin-ext-opsz-normal.woff2) format("woff2-variations"), url(../fonts/fraunces-latin-ext-opsz-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(../fonts/fraunces-latin-opsz-normal.woff2) format("woff2-variations"), url(../fonts/fraunces-latin-opsz-normal.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: "Hanken Grotesk"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(../fonts/hanken-grotesk-latin-ext-wght-normal.woff2) format("woff2-variations"), url(../fonts/hanken-grotesk-latin-ext-wght-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(../fonts/hanken-grotesk-latin-wght-normal.woff2) format("woff2-variations"), url(../fonts/hanken-grotesk-latin-wght-normal.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; }

:root {
  --navy: #25364c; --slate: #86909f; --sand: #d1be8a; --ink: #16191e; --text: #333333; --white: #ffffff;
  --slate-t: #ffffff;           /* small text on dark, brand white */
  --line: rgba(22, 25, 30, .14);
  --line-d: rgba(255, 255, 255, .24);
  --serif: "Fraunces", "GT Sectra Display", Georgia, "Times New Roman", serif;
  --sans: "Hanken Grotesk", "Graphik", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --pad: clamp(80px, 11vw, 152px);
  --gut: clamp(16px, 4vw, 48px);
  --max: 1280px;
  --hdr: 64px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 1024px) { :root { --hdr: 80px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; font: 400 17px/1.6 var(--sans); color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
@media (min-width: 1024px) { body { font-size: 18px; } }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--sand); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--white); color: var(--ink); padding: 10px 14px; }
.skip:focus { top: 12px; }
html.menu-open { overflow: hidden; }

/* capture + reduced motion: instant everything */
.capture *, .capture *::before, .capture *::after,
.rm *, .rm *::before, .rm *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }

/* ---------- type ---------- */
.display, .d-xxl, .d-xl, .d-l, .d-m { font-family: var(--serif); font-weight: 300; font-variation-settings: "opsz" 144; font-optical-sizing: auto; }
.d-xxl { font-size: clamp(64px, 19vw, 360px); line-height: .82; letter-spacing: -.05em; }
.d-xl  { font-size: clamp(64px, 12.5vw, 240px); line-height: .86; letter-spacing: -.045em; }
@media (min-width: 1100px) { .d-xl { font-size: clamp(160px, 12.5vw, 240px); } }
.d-l   { font-size: clamp(36px, 5.4vw, 92px); line-height: 1; letter-spacing: -.03em; }
.d-m   { font-size: clamp(28px, 3vw, 44px); line-height: 1.08; letter-spacing: -.02em; }
.label { font: 600 12px/1.35 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--navy); }
.on-dark .label, [data-theme="dark"] .label { color: var(--slate-t); }
.lede { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; max-width: 34em; }
.small { font-size: 13px; line-height: 1.5; }
.rail-cap { font-size: 13px; line-height: 1.5; color: var(--navy); max-width: 22em; }
[data-theme="dark"] .rail-cap { color: var(--slate-t); }
em.sand { font-style: normal; color: var(--sand); }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gut)); margin-inline: auto; padding-inline: var(--gut); }
.narrow { max-width: 680px; }
.mono { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); }
.mono > * { grid-column: 1 / -1; }
@media (min-width: 761px) {
  .c-main { grid-column: 1 / span 8; }
  .c-wide { grid-column: 1 / span 10; }
  .c-off { grid-column: 4 / -1; }
  .c-rail { grid-column: 10 / -1; }
}
.ch { position: relative; padding-block: var(--pad); }
.ch--white { background: var(--white); color: var(--text); }
.ch--navy { background: var(--navy) url(contours.svg) 0 0 / 1600px auto repeat; color: var(--white); }
.ch--ink { background: var(--ink); color: var(--white); }
.survey { background-image: url(survey.svg); background-size: 128px 128px; background-position: center top; }
.ch-head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding-bottom: 20px; margin-bottom: clamp(40px, 6vw, 88px); border-bottom: 1px solid var(--line); }
[data-theme="dark"] .ch-head { border-color: var(--line-d); }

/* ---------- buttons & links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 24px; border: 0; border-radius: 0; background: var(--navy); color: var(--white); font: 600 15px/1 var(--sans); letter-spacing: .02em; text-decoration: none; cursor: pointer; transition: background .25s var(--ease), color .25s var(--ease); }
.btn:hover { background: var(--ink); }
.btn::after { content: "→"; transition: transform .25s var(--ease); }
.btn:hover::after { transform: translateX(4px); }
[data-theme="dark"] .btn, .btn--sand { background: var(--sand); color: var(--ink); }
[data-theme="dark"] .btn:hover, .btn--sand:hover { background: var(--white); }
.link-arrow { display: inline-flex; gap: 10px; align-items: center; font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 4px; transition: gap .25s var(--ease), color .25s; }
.link-arrow::after { content: "→"; }
.link-arrow:hover { gap: 16px; }
[data-theme="dark"] .link-arrow:hover { color: var(--sand); }

/* ---------- header (inverts over dark chapters) ---------- */
.hdr { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--hdr); display: flex; align-items: center; gap: 24px; padding: 0 var(--gut); color: var(--ink); background: var(--white); box-shadow: 0 1px 0 var(--line); transition: background .3s var(--ease), color .3s var(--ease), box-shadow .3s; }
html[data-head="dark"] .hdr { background: var(--ink); color: var(--white); box-shadow: 0 1px 0 var(--line-d); }
html[data-head="dark"]:not(.scrolled) .hdr { background: transparent; box-shadow: none; }
.hdr__logo { display: block; background: var(--white); padding: 8px 12px; margin-left: -12px; flex: none; }
.hdr__logo img { height: 30px; width: auto; }
@media (min-width: 1024px) { .hdr__logo img { height: 44px; } }
.hdr__nav { display: none; margin-left: auto; gap: 32px; }
.hdr__nav a { position: relative; font: 500 15px/1 var(--sans); text-decoration: none; padding: 10px 0; }
.hdr__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.hdr__nav a:hover::after { transform: scaleX(1); }
.hdr__nav a[aria-current="page"]::after { transform: scaleX(1); background: var(--sand); height: 2px; }
.hdr__cta { display: none; min-height: 44px; }
html[data-head="dark"] .hdr__cta { background: var(--sand); color: var(--ink); }
html[data-head="dark"] .hdr__cta:hover { background: var(--white); }
.hdr__menu { margin-left: auto; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 4px; background: none; border: 0; font: 600 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
.hdr__menu i { display: block; width: 22px; height: 8px; border-block: 1.5px solid currentColor; }
@media (min-width: 1024px) {
  .hdr__nav { display: flex; }
  .hdr__cta { display: inline-flex; }
  .hdr__menu { display: none; }
}
.menu { position: fixed; inset: 0; z-index: 49; background: var(--navy) url(contours.svg) 0 0 / 1200px auto; color: var(--white); padding: calc(var(--hdr) + 40px) var(--gut) 40px; display: flex; flex-direction: column; gap: 8px; overflow: auto; }
.menu[hidden] { display: none; }
.menu a { font-family: var(--serif); font-weight: 300; font-variation-settings: "opsz" 144; font-size: clamp(48px, 13vw, 96px); line-height: 1.02; letter-spacing: -.04em; text-decoration: none; }
.menu .btn { margin-top: 32px; align-self: flex-start; font-family: var(--sans); font-size: 15px; letter-spacing: .02em; }
.menu p { margin-top: auto; padding-top: 40px; font-size: 14px; color: var(--slate-t); }

/* ---------- reveal: clip from below, once, 480ms ---------- */
.js:not(.capture):not(.rm) [data-reveal] { clip-path: inset(100% 0 0 0); transition: clip-path .48s var(--ease); }
.js [data-reveal].is-in { clip-path: inset(0 0 0 0); }

/* ======================================================================
   SIGNATURE — MAP REVEAL
   base = static (no JS / reduced motion): poster, then the flat interactive map in flow
   html.sig-story = pinned scroll story
   ====================================================================== */
.sig { position: relative; background: var(--ink); color: var(--white); }
.sig__stage { position: relative; }
.sig__media { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: var(--ink); transform-origin: 50% 55%; }
.sig__media picture, .sig__media img, .sig__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sig__media img { animation: kenburns 28s ease-in-out infinite alternate; transform-origin: 60% 55%; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.035) translate(-.6%, -.4%); } }
.sig__media video { opacity: 0; transition: opacity .8s; }
.has-clip .sig__media video { opacity: 1; }
.sig__shade { position: absolute; inset: 0; background: rgba(22, 25, 30, .34); }
.sig__poster { position: absolute; inset: 0 0 auto; height: 100vh; height: 100svh; min-height: 560px; z-index: 2; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); align-content: end; padding: 0 var(--gut) clamp(28px, 5vh, 64px); pointer-events: none; }
.sig__poster > * { grid-column: 1 / -1; }
.sig__kicker { margin-bottom: clamp(12px, 2.4vh, 28px); color: var(--white) !important; }
.sig__kicker::before { content: ""; display: inline-block; width: 32px; height: 1px; margin-right: 12px; vertical-align: middle; background: var(--sand); }
.sig__title { font-size: clamp(64px, 23vw, 380px); line-height: .8; letter-spacing: -.055em; margin-left: -.04em; color: var(--white); }
.sig__rail { margin-top: 20px; font-size: 12px; line-height: 1.45; color: var(--slate-t); }
.sig__cue { display: none; }
@media (min-width: 761px) {
  .sig__title { font-size: clamp(160px, 17vw, 380px); grid-column: 1 / span 10; }
  .sig__kicker { grid-column: 1 / span 6; }
  .sig__rail { grid-column: 10 / -1; grid-row: 2; align-self: end; text-align: right; margin: 0 0 .9em; }
  .sig__cue { display: block; grid-column: 10 / -1; grid-row: 1; justify-self: end; align-self: end; margin-bottom: 8px; font: 600 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--sand); }
}
.sig__map { position: relative; height: 100vh; height: 100svh; min-height: 680px; }

html.sig-story .sig { height: 250vh; }
html.sig-story .sig__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
html.sig-story .sig__media { position: absolute; inset: 0; height: auto; min-height: 0; will-change: transform, opacity; }
html.sig-story .sig__poster { min-height: 0; }
html.sig-story .sig__map { position: absolute; inset: 0; height: auto; min-height: 0; }
@media (max-width: 760px) { html.sig-story .sig { height: 180vh; } }
.sig noscript p { padding: 24px var(--gut); }

/* ---------- map component ---------- */
.map { position: relative; overflow: hidden; background: var(--ink) url(contours.svg) 0 0 / 1600px auto; color: var(--white); }
.map__view { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; perspective: 1300px; perspective-origin: 50% 32%; padding: calc(var(--hdr) + 150px) 16px 72px; }
.map__plane {
  --tilt: 0; --ps: 1; --m: 1; --py: 0%;
  position: relative; flex: none; aspect-ratio: 618 / 890;
  width: min(calc(100vw - 32px), calc((100svh - var(--hdr) - 222px) * .6944), 640px);
  transform-style: preserve-3d; transform-origin: 50% 50%;
  transform: translateY(var(--py)) rotateX(calc(var(--tilt) * 1deg)) scale(var(--ps));
}
@media (min-width: 761px) {
  .map__view { padding: calc(var(--hdr) + 130px) 32px 40px; }
  .map__plane { width: min(calc((100svh - var(--hdr) - 170px) * .6944), 640px); }
}
@media (min-width: 1100px) { .map__view { padding-right: min(460px, 34vw); padding-left: 280px; } }
.map__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.map__land { fill: var(--navy); }
.map__contours { fill: none; stroke: var(--slate); stroke-opacity: .3; stroke-width: .6; }
.map__river { fill: none; stroke: var(--slate-t); stroke-opacity: .45; stroke-width: 1.2; stroke-linejoin: round; }
.map__edge { fill: none; stroke: var(--slate-t); stroke-opacity: .85; stroke-width: 1.1; stroke-linejoin: round; }
.map__grat line { stroke: var(--slate); stroke-opacity: .22; stroke-width: .6; stroke-dasharray: 2 4; }
.map__gratl text { fill: var(--slate); font: 500 9px var(--sans); letter-spacing: .08em; }
.map__loupe circle { fill: var(--ink); stroke: var(--sand); stroke-opacity: .7; stroke-width: 1; }
.map__loupe line { stroke: var(--sand); stroke-opacity: .6; stroke-width: 1; stroke-dasharray: 3 3; }
.map__loupe text { fill: var(--sand); font: 600 9.5px var(--sans); letter-spacing: .12em; text-transform: uppercase; text-anchor: middle; }

.map__city { position: absolute; width: 0; height: 0; transform-style: preserve-3d; pointer-events: none; }
.map__city > span { position: absolute; left: 9px; bottom: 2px; display: block; white-space: nowrap; font: 600 9px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--slate-t); transform-origin: 0 100%; transform: rotateX(calc(var(--tilt) * -1deg)); }
.map__city--major > span { font-size: 11px; color: var(--white); }
@media (min-width: 761px) { .map__city > span { font-size: 10px; } .map__city--major > span { font-size: 12px; } }

.pin {
  --rise: 0; --pop: 1; --act: 1; --u: 34px;
  position: absolute; width: 0; height: 0; padding: 0; border: 0; background: none; cursor: pointer;
  left: calc((var(--x) * (1 - var(--m)) + var(--lx) * var(--m)) * 1%);
  top: calc((var(--y) * (1 - var(--m)) + var(--ly) * var(--m)) * 1%);
  transform-style: preserve-3d;
}
.pin::before { content: ""; position: absolute; left: -12px; top: -12px; width: 24px; height: 24px; border-radius: 50%; }
.pin:focus { outline: none; }
.pin__col { position: absolute; left: -1px; bottom: 0; width: 2px; height: calc(var(--h) * var(--u)); background: var(--sand); box-shadow: 0 0 8px rgba(209, 190, 138, .55); transform-origin: 50% 100%; transform: rotateX(-90deg) scaleY(var(--rise)); }
.pin__cap { position: absolute; left: -5px; top: -5px; width: 10px; height: 10px; border-radius: 50%; background: var(--sand);
  box-shadow: 0 0 0 3px rgba(209, 190, 138, .22), 0 0 16px 3px rgba(209, 190, 138, .5);
  transform: translateZ(calc(var(--h) * var(--u) * var(--rise))) rotateX(calc(var(--tilt) * -1deg)) scale(calc(var(--pop) * var(--act)));
  transition: background .2s, box-shadow .2s, opacity .2s; }
.map:not(.map--live) .pin { cursor: default; }
.map--live .pin:hover, .map--live .pin:focus-visible { --act: 1.35; }
.pin:hover .pin__cap, .pin:focus-visible .pin__cap { background: var(--white); }
.pin:focus-visible .pin__cap { outline: 2px solid var(--white); outline-offset: 4px; }
.pin.is-active { --act: 1.6; z-index: 2; }
.pin.is-active .pin__cap { background: var(--white); box-shadow: 0 0 0 4px var(--sand), 0 0 20px 6px rgba(209, 190, 138, .6); }
.pin.is-dim { pointer-events: none; }
.pin.is-dim .pin__cap { opacity: .18; box-shadow: none; }
@media (min-width: 1280px) { .pin { --u: 40px; } }
@media (max-width: 760px) {
  .pin__col { display: none; }
  .pin::before { left: -10px; top: -10px; width: 20px; height: 20px; }
  .pin__cap { left: -4px; top: -4px; width: 8px; height: 8px; }
  .map--live .pin__cap::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid var(--sand); animation: pulse 2.4s var(--ease) infinite; }
  .map--live .pin.is-dim .pin__cap::after { display: none; }
}
@keyframes pulse { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2.2); opacity: 0; } }

.map__ui { position: absolute; inset: calc(var(--hdr) + 16px) var(--gut) 16px; display: grid; grid-template-rows: auto auto 1fr auto; gap: 14px; pointer-events: none; z-index: 3; }
.map__ui > * { pointer-events: auto; }
.map__head { grid-row: 1; }
.map__title { margin-top: 6px; font-family: var(--serif); font-weight: 300; font-variation-settings: "opsz" 144; font-size: clamp(30px, 3.6vw, 56px); line-height: 1; letter-spacing: -.03em; }
.map__chips { grid-row: 2; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); align-self: start; }
.map__chips::-webkit-scrollbar { display: none; }
.chip { flex: none; min-height: 40px; padding: 0 14px; border: 1px solid var(--line-d); border-radius: 999px; background: transparent; color: var(--white); font: 500 13px/1 var(--sans); cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.chip:hover { border-color: var(--white); }
.chip[aria-pressed="true"] { background: var(--sand); border-color: var(--sand); color: var(--ink); }
.map__tools { grid-row: 4; display: flex; align-items: center; gap: 16px 24px; flex-wrap: wrap; }
.map__toggle { min-height: 40px; padding: 0 16px; border: 1px solid var(--white); background: transparent; color: var(--white); font: 600 13px/1 var(--sans); letter-spacing: .06em; cursor: pointer; }
.map__toggle:hover, .map__toggle[aria-pressed="true"] { background: var(--white); color: var(--ink); }
.map__legend { font-size: 12px; line-height: 1.4; color: var(--slate-t); max-width: 34em; }
@media (min-width: 761px) {
  .map__chips { flex-wrap: wrap; overflow: visible; margin: 0; padding: 0; max-width: 760px; }
}
@media (min-width: 1100px) {
  .map__ui { grid-template-columns: minmax(0, 1fr) auto; }
  .map__head { grid-column: 1; }
  .map__chips { grid-column: 1; flex-direction: column; align-items: flex-start; max-width: 220px; }
  .map__tools { grid-column: 1; flex-direction: column; align-items: flex-start; max-width: 240px; }
}

.map__list { position: absolute; inset: calc(var(--hdr) + 190px) var(--gut) 76px; overflow: auto; z-index: 3; columns: 3 240px; column-gap: 40px; }
.map--list .map__view { visibility: hidden; }
.map__group { break-inside: avoid; margin-bottom: 28px; }
.map__group .label { color: var(--sand); margin-bottom: 8px; }
.map__group button { display: flex; flex-direction: column; width: 100%; padding: 10px 0; border: 0; border-bottom: 1px solid var(--line-d); background: none; color: var(--white); text-align: left; cursor: pointer; }
.map__group button:hover .map__ln { color: var(--sand); }
.map__ln { font-family: var(--serif); font-weight: 300; font-size: 22px; line-height: 1.15; transition: color .2s; }
.map__lp { font-size: 13px; color: var(--slate-t); }

.map__panel { position: absolute; z-index: 6; top: calc(var(--hdr) + 16px); right: var(--gut); bottom: 16px; width: min(400px, 34vw); overflow: auto; overscroll-behavior: contain; padding: 20px 24px 28px; background: var(--white); color: var(--text); }
.map__panel[hidden] { display: none; }
.map__close { position: sticky; top: 0; float: right; z-index: 2; min-height: 40px; padding: 0 12px; margin: -8px -12px 8px 8px; border: 0; background: var(--white); color: var(--ink); font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
.map__close::after { content: " ×"; font-size: 16px; }
.pp__fig { clear: both; margin-bottom: 16px; }
.pp__fig img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.pp__meta { margin-bottom: 6px; }
.pp__title { font-family: var(--serif); font-weight: 300; font-variation-settings: "opsz" 144; font-size: 34px; line-height: 1.02; letter-spacing: -.02em; color: var(--ink); outline: none; }
.pp__dl { margin: 18px 0 8px; border-top: 1px solid var(--line); }
.pp__dl div { display: grid; grid-template-columns: 80px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.pp__dl dt { font: 600 11px/1.9 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--navy); }
@media (max-width: 1099px) {
  .map__panel { position: fixed; left: 0; right: 0; top: auto; bottom: 0; width: auto; max-height: 78svh; padding: 28px var(--gut) 32px; box-shadow: 0 -16px 48px rgba(22, 25, 30, .4); z-index: 60; }
  .map__panel::before { content: ""; position: absolute; top: 10px; left: 50%; width: 40px; height: 4px; margin-left: -20px; border-radius: 2px; background: var(--slate-t); }
  .map__panel .pp__fig img { aspect-ratio: 16 / 9; }
}

/* illustrative depth profile */
.prof { margin: 22px 0 22px; }
.prof__chart { position: relative; display: grid; grid-template-columns: 34px 56px 1fr; }
.prof__ticks, .prof__labs { position: relative; }
.prof__ticks span { position: absolute; right: 6px; transform: translateY(-50%); font-size: 10px; line-height: 1; color: var(--navy); white-space: nowrap; }
.prof__col { position: relative; border-left: 1px solid var(--ink); }
.prof__col > span:not(.prof__npv) { position: absolute; left: 0; right: 0; }
.prof__npv { position: absolute; left: -4px; right: -4px; border-top: 1.5px dashed var(--ink); }
.prof__npv i { position: absolute; left: 50%; top: -8px; transform: translateX(-50%); padding: 1px 4px; background: var(--white); color: var(--ink); font: 600 9px/1.2 var(--sans); font-style: normal; white-space: nowrap; }
.prof__lab { position: absolute; left: 12px; transform: translateY(-50%); font-size: 12px; line-height: 1.2; color: var(--text); white-space: nowrap; }
.prof__lab b { font-weight: 600; color: var(--ink); }
.prof figcaption { margin-top: 12px; font-size: 11px; line-height: 1.4; color: var(--navy); font-style: italic; }

/* ======================================================================
   HOME CHAPTERS
   ====================================================================== */
/* services — white */
.svc__giant { margin-left: -.05em; color: var(--ink); }
.svc__lead { margin-top: clamp(32px, 4vw, 56px); color: var(--navy); }
.svc__rail { align-self: start; margin-top: 24px; }
@media (min-width: 761px) {
  .svc__giant { grid-column: 1 / -1; grid-row: 2; }
  .svc__rail { grid-column: 10 / -1; grid-row: 1; justify-self: end; text-align: right; margin: 0 0 24px; }
  .svc__lead { grid-column: 4 / -1; }
}
.svc-list { margin-top: clamp(56px, 8vw, 120px); display: grid; grid-template-columns: 1fr; column-gap: clamp(24px, 3vw, 48px); counter-reset: svc; }
@media (min-width: 761px) { .svc-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .svc-list { grid-template-columns: repeat(3, 1fr); } }
.svc-list li { counter-increment: svc; position: relative; padding: 22px 0 30px; border-top: 1px solid var(--ink); }
.svc-list li::before { content: counter(svc, decimal-leading-zero); display: block; margin-bottom: 14px; font: 600 12px/1 var(--sans); letter-spacing: .16em; color: var(--navy); }
.svc-list h3 { font-family: var(--serif); font-weight: 300; font-variation-settings: "opsz" 144; font-size: clamp(24px, 2.2vw, 32px); line-height: 1.08; letter-spacing: -.02em; color: var(--ink); transition: transform .3s var(--ease); }
.svc-list p { margin-top: 10px; font-size: 15px; line-height: 1.55; max-width: 26em; }
.svc-list li:hover h3 { transform: translateX(6px); }
.tag { display: inline-block; vertical-align: middle; margin-left: 8px; padding: 4px 8px; background: var(--sand); color: var(--ink); font: 700 10px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.svc__more { margin-top: 40px; }

/* full-bleed images */
.bleed { position: relative; margin: 0; width: 100%; height: 100vh; height: 100svh; min-height: 520px; overflow: hidden; background: var(--ink); }
.bleed img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bleed figcaption { position: absolute; right: var(--gut); bottom: 20px; z-index: 2; max-width: 22em; padding: 6px 10px; background: var(--ink); color: var(--slate-t); font-size: 12px; line-height: 1.4; text-align: right; }
.bleed--short { height: 86svh; }

/* cases — navy with contours */
.cases { padding-top: 0; }
.cases__title { position: relative; z-index: 2; margin-top: -.42em; color: var(--white); }
.cases__title span { display: block; }
.cases__intro { margin-top: 32px; color: var(--slate-t); }
@media (min-width: 761px) { .cases__intro { grid-column: 9 / -1; } }
.case { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); margin-top: clamp(96px, 13vw, 200px); align-items: start; }
.case > * { grid-column: 1 / -1; }
.case__fig img { width: 100%; }
.case__num { margin-bottom: 12px; color: var(--sand) !important; }
.case__name { position: relative; z-index: 2; margin-top: -.5em; color: var(--white); font-size: clamp(44px, 7.4vw, 128px); line-height: .92; letter-spacing: -.04em; }
.case__body p { margin-top: 14px; color: var(--slate-t); }
.case__body dl { margin-top: 18px; border-top: 1px solid var(--line-d); }
.case__body dl div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line-d); font-size: 15px; }
.case__body dt { font: 600 11px/1.9 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--slate-t); }
.case__body .link-arrow { margin-top: 22px; }
.case__fig2 { width: 56%; max-width: 300px; margin: -64px 0 0 auto; position: relative; z-index: 1; border: 8px solid var(--navy); }
@media (min-width: 761px) {
  .case__fig { grid-row: 1 / span 2; }
  .case__name { grid-row: 1; align-self: end; margin: 0 0 -.18em; }
  .case__body { grid-row: 3; margin-top: 32px; }
  .case--a .case__fig { grid-column: 1 / span 7; max-width: 640px; }
  .case--a .case__name { grid-column: 6 / -1; }
  .case--a .case__body { grid-column: 9 / -1; grid-row: 2 / span 2; margin-top: 40px; }
  .case--a .case__fig2 { grid-column: 5 / span 3; grid-row: 3; margin: -96px 0 0; width: 100%; }
  .case--b .case__fig { grid-column: 4 / -1; max-width: 920px; justify-self: end; }
  .case--b .case__name { grid-column: 1 / span 8; }
  .case--b .case__body { grid-column: 1 / span 4; grid-row: 2 / span 2; margin-top: 40px; position: relative; z-index: 2; }
  .case--c .case__fig { grid-column: 2 / span 6; max-width: 600px; }
  .case--c .case__name { grid-column: 5 / -1; }
  .case--c .case__body { grid-column: 9 / -1; grid-row: 2 / span 2; margin-top: 40px; }
  .case--c .case__fig2 { grid-column: 1 / span 3; grid-row: 3; margin: -72px 0 0; width: 100%; }
}
.cases__all { margin-top: clamp(80px, 10vw, 140px); }

/* caption over full-bleed E5 */
.bleed__type { position: absolute; z-index: 2; left: var(--gut); right: var(--gut); bottom: clamp(56px, 9vh, 96px); color: var(--white); }
.bleed__type .d-xl { max-width: 9em; }
.bleed .sig__shade { background: rgba(22, 25, 30, .28); }

/* lab — white */
.nums { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; margin-top: 8px; }
@media (min-width: 1024px) { .nums { grid-template-columns: auto auto auto auto; justify-content: space-between; } }
.num b { display: block; font-family: var(--serif); font-weight: 300; font-variation-settings: "opsz" 144; font-size: clamp(72px, 12.5vw, 220px); line-height: .82; letter-spacing: -.05em; color: var(--ink); font-variant-numeric: lining-nums; }
@media (min-width: 1100px) { .num b { font-size: clamp(160px, 12.5vw, 220px); } }
.num span { display: block; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--ink); font-size: 14px; line-height: 1.4; max-width: 14em; }
.lab__stmt { margin-top: clamp(72px, 10vw, 144px); color: var(--navy); }
.lab__grid { margin-top: clamp(56px, 7vw, 104px); row-gap: 32px; }
.lab__fig img { width: 100%; max-width: 600px; }
.lab__fig2 { width: 60%; max-width: 300px; margin: -96px 0 0 auto; position: relative; border: 8px solid var(--white); }
@media (min-width: 761px) {
  .lab__fig { grid-column: 1 / span 6; }
  .lab__text { grid-column: 8 / -1; align-self: center; }
}
.lab__text p + p { margin-top: 14px; }
.iso { margin-top: clamp(64px, 8vw, 112px); display: grid; grid-template-columns: 1fr; gap: 24px; border-top: 1px solid var(--ink); padding-top: 28px; }
@media (min-width: 761px) { .iso { grid-template-columns: 1fr repeat(3, minmax(0, 220px)); gap: 32px; align-items: start; } }
.iso figure img { width: 100%; max-width: 220px; border: 1px solid var(--line); }
.iso figcaption { margin-top: 10px; font: 600 13px/1.35 var(--sans); color: var(--ink); }
.partners { margin-top: 40px; font-size: 15px; max-width: 46em; }

/* clients — navy, typographic wall */
.wall { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line-d); border-left: 1px solid var(--line-d); }
@media (min-width: 900px) { .wall { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.wall li { display: flex; align-items: flex-end; min-height: clamp(110px, 12vw, 180px); padding: 18px; border-right: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d); font-family: var(--serif); font-weight: 300; font-variation-settings: "opsz" 72; font-variant-caps: all-small-caps; font-size: clamp(24px, 2.6vw, 40px); line-height: 1; letter-spacing: .02em; color: var(--slate); transition: color .25s, background .25s; }
.wall li:hover { color: var(--white); background: rgba(22, 25, 30, .25); }
.wall .wall__lead { grid-column: span 2; font-family: var(--sans); font-variant-caps: normal; font-size: 14px; line-height: 1.5; color: var(--slate-t); align-items: flex-start; }
.wall .wall__lead:hover { background: none; color: var(--slate-t); }
@media (min-width: 900px) { .wall .wall__lead { grid-column: span 3; } }

/* quote CTA — white */
.cta__title { color: var(--ink); }
.cta__grid { margin-top: clamp(48px, 6vw, 88px); row-gap: 48px; }
@media (min-width: 761px) {
  .cta__form { grid-column: 1 / span 7; }
  .cta__aside { grid-column: 9 / -1; }
}
.cta__aside p + p { margin-top: 16px; }
.cta__aside a { text-decoration: none; border-bottom: 1px solid var(--line); }
.cta__aside a:hover { border-color: currentColor; }

/* ---------- forms ---------- */
.form { display: grid; grid-template-columns: 1fr; gap: 26px 28px; }
@media (min-width: 761px) { .form { grid-template-columns: 1fr 1fr; } .form .span-2 { grid-column: 1 / -1; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font: 600 12px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--navy); }
.field label i { font-style: normal; color: var(--navy); letter-spacing: .04em; text-transform: none; font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 10px 0; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; background: transparent; font-size: 17px; color: var(--ink); appearance: none; transition: border-color .2s, box-shadow .2s; }
.field select { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2316191e' stroke-width='1.5'/%3E%3C/svg%3E") right 4px center / 12px no-repeat; padding-right: 24px; }
.field textarea { min-height: 120px; resize: vertical; }
.field input[type="file"] { padding: 12px 0; font-size: 15px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--navy); box-shadow: 0 2px 0 var(--navy); }
.field__hint { font-size: 13px; color: var(--navy); }
.field__err { min-height: 0; font: 600 13px/1.4 var(--sans); color: var(--ink); }
.field__err:not(:empty)::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; background: var(--sand); outline: 1px solid var(--ink); }
.field.is-err input, .field.is-err select, .field.is-err textarea { border-bottom: 2px solid var(--ink); }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.form__note { font-size: 13px; color: var(--navy); max-width: 30em; }
.form-ok { padding: 32px 0; outline: none; }
.form-ok[hidden] { display: none; }
.form-ok h3 { font-family: var(--serif); font-weight: 300; font-variation-settings: "opsz" 144; font-size: clamp(56px, 7vw, 112px); line-height: .9; letter-spacing: -.04em; color: var(--ink); }
.form-ok p { margin-top: 16px; max-width: 30em; }

/* ---------- footer ---------- */
.ftr { background: var(--ink); color: var(--slate-t); padding: clamp(64px, 8vw, 112px) 0 32px; font-size: 15px; }
.ftr__top { row-gap: 40px; }
.ftr__brand .hdr__logo { display: inline-block; margin: 0; }
.ftr__brand p { margin-top: 20px; font-family: var(--serif); font-weight: 300; font-size: clamp(28px, 3vw, 40px); line-height: 1.08; letter-spacing: -.02em; color: var(--white); max-width: 12em; }
.ftr h2 { margin-bottom: 12px; color: var(--sand) !important; }
.ftr a { text-decoration: none; }
.ftr a:hover { color: var(--white); }
.ftr li + li { margin-top: 6px; }
@media (min-width: 761px) {
  .ftr__brand { grid-column: 1 / span 5; }
  .ftr__col { grid-column: span 2; }
  .ftr__col:first-of-type { grid-column: 7 / span 2; }
}
.ftr__bot { margin-top: clamp(56px, 7vw, 96px); padding-top: 20px; border-top: 1px solid var(--line-d); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; }

/* ======================================================================
   INNER PAGES
   ====================================================================== */
.hero-in { position: relative; min-height: 78vh; min-height: 78svh; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); align-content: end; padding: calc(var(--hdr) + 56px) var(--gut) clamp(40px, 6vw, 88px); background: var(--navy) url(contours.svg) 0 0 / 1600px auto; color: var(--white); overflow: hidden; }
.hero-in > * { grid-column: 1 / -1; }
.hero-in__word { margin-left: -.05em; font-size: clamp(64px, 19vw, 360px); line-height: .8; letter-spacing: -.055em; }
.hero-in__meta { margin-bottom: 28px; }
.hero-in__lede { margin-top: 32px; color: var(--slate-t); }
@media (min-width: 761px) {
  .hero-in__word { font-size: clamp(160px, 19vw, 360px); }
  .hero-in__meta { grid-column: 1 / span 6; }
  .hero-in__lede { grid-column: 8 / -1; margin-top: 40px; }
}

/* usluge — editorial chapters */
.chap__word { margin-left: -.05em; }
.chap__intro { margin-top: 28px; }
@media (min-width: 761px) { .chap__intro { grid-column: 8 / -1; margin-top: 40px; } }
.svc-ed { margin-top: clamp(64px, 8vw, 120px); }
.svc-ed + .svc-ed { margin-top: clamp(72px, 9vw, 136px); }
.svc-ed__n { margin-bottom: 14px; }
.svc-ed h3 { font-family: var(--serif); font-weight: 300; font-variation-settings: "opsz" 144; font-size: clamp(36px, 4.6vw, 72px); line-height: 1; letter-spacing: -.03em; }
.svc-ed p { margin-top: 16px; }
.svc-ed ul { margin-top: 16px; border-top: 1px solid var(--line); }
[data-theme="dark"] .svc-ed ul { border-color: var(--line-d); }
.svc-ed li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
[data-theme="dark"] .svc-ed li { border-color: var(--line-d); }
.svc-ed figure img { width: 100%; }
.svc-ed figcaption { margin-top: 10px; font-size: 13px; color: inherit; opacity: .8; }
@media (min-width: 761px) {
  .svc-ed .svc-ed__text { grid-column: 1 / span 5; align-self: center; }
  .svc-ed figure { grid-column: 7 / -1; }
  .svc-ed--r .svc-ed__text { grid-column: 8 / -1; grid-row: 1; }
  .svc-ed--r figure { grid-column: 1 / span 6; grid-row: 1; }
}
.svc-ed figure { margin-top: 28px; }
@media (min-width: 761px) { .svc-ed figure { margin-top: 0; } }
.svc-ed .w-600 { max-width: 600px; }
.svc-ed .w-660 { max-width: 660px; }
.svc-ed--r figure.w-r { justify-self: end; }

/* projekti */
.map--page { height: 100vh; height: 100svh; min-height: 760px; }
.index { border-top: 1px solid var(--ink); }
.index li { display: grid; grid-template-columns: 1fr; gap: 6px 24px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.index .ix__name { font-family: var(--serif); font-weight: 300; font-variation-settings: "opsz" 144; font-size: clamp(26px, 2.8vw, 40px); line-height: 1.05; letter-spacing: -.02em; color: var(--ink); }
.index .ix__meta { font-size: 14px; color: var(--navy); }
.index img { width: 100%; max-width: 280px; aspect-ratio: 3 / 2; object-fit: cover; }
.index button { justify-self: start; min-height: 40px; padding: 0; border: 0; border-bottom: 1px solid currentColor; background: none; font: 600 14px/1 var(--sans); cursor: pointer; color: var(--ink); }
.index button:hover { color: var(--navy); }
@media (min-width: 900px) {
  .index li { grid-template-columns: 200px minmax(0, 1fr) 220px 110px; }
  .index img { max-width: 200px; }
}

/* o nama */
.tl li { display: grid; grid-template-columns: 1fr; gap: 8px 32px; padding: 28px 0; border-top: 1px solid var(--ink); }
.tl li:last-child { border-bottom: 1px solid var(--ink); }
.tl b { font-family: var(--serif); font-weight: 300; font-variation-settings: "opsz" 144; font-size: clamp(44px, 6vw, 96px); line-height: .9; letter-spacing: -.04em; color: var(--ink); }
.tl p { max-width: 36em; align-self: end; }
@media (min-width: 761px) { .tl li { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.onama-fig img { width: 100%; max-width: 1280px; }
.onama-fig figcaption { margin-top: 10px; }
.offices { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 761px) { .offices { grid-template-columns: 1fr 1fr; gap: 32px; } }
.office { padding-top: 20px; border-top: 1px solid currentColor; }
.office h3 { font-family: var(--serif); font-weight: 300; font-variation-settings: "opsz" 144; font-size: clamp(48px, 6vw, 96px); line-height: .9; letter-spacing: -.04em; }
.office address { margin-top: 18px; font-style: normal; line-height: 1.7; }
.office a { text-decoration: none; border-bottom: 1px solid var(--line-d); }
.ch--white .office a { border-color: var(--line); }
.lab-row { row-gap: 32px; }
.lab-row img { width: 100%; }
@media (min-width: 761px) {
  .lab-row .l1 { grid-column: 1 / span 4; max-width: 400px; }
  .lab-row .l2 { grid-column: 5 / span 4; max-width: 400px; margin-top: 96px; }
  .lab-row .l3 { grid-column: 9 / -1; max-width: 400px; }
}

/* kontakt */
@media (min-width: 761px) {
  .kontakt__form { grid-column: 1 / span 8; }
  .kontakt__aside { grid-column: 10 / -1; }
}
.kontakt__aside .office h3 { font-size: clamp(36px, 3.4vw, 52px); }
.kontakt__aside .office + .office { margin-top: 40px; }
.svc-ed .svc-ed__text.c-wide { grid-column: 1 / span 10; }
