/* =====================================================================
   MCF Danışmanlık — "Sovereign" design system
   Ink navy + champagne gold. Instrument Serif / Geist / Geist Mono.
   ===================================================================== */


:root {
  --ink-950: #04090f;
  --ink-900: #07111b;
  --ink-850: #0a1724;
  --ink-800: #0d1d2d;
  --ink-700: #132a3f;
  --ink-600: #1d3a55;
  --ivory: #eee7d8;
  --ivory-2: #d8d0bf;
  --stone: #a39c8c;
  --stone-2: #7b766b;
  --gold: #c9a45c;
  --gold-2: #e5cc93;
  --gold-3: #f4e6c2;
  --gold-deep: #94732f;
  --line: rgba(238, 231, 216, 0.09);
  --line-2: rgba(238, 231, 216, 0.16);
  --line-gold: rgba(201, 164, 92, 0.32);
  --glass: rgba(10, 23, 36, 0.62);
  --shadow: 0 30px 80px -30px rgba(1, 6, 12, 0.85);
  --serif: 'Instrument Serif', 'Times New Roman', serif;
  --sans: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --wrap: 1920px;
  --gutter: clamp(18px, 4.2vw, 88px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --z-grain: 90;
  --z-header: 80;
  --z-menu: 85;
  --z-float: 70;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ivory-2);
  background: var(--ink-900);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--ink-950); }
:focus-visible { outline: 1.5px solid var(--gold-2); outline-offset: 3px; border-radius: 2px; }

.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  background: var(--gold); color: var(--ink-950); padding: 10px 16px; font-weight: 500; border-radius: 4px;
  transition: top .3s var(--ease);
}
.skip-link:focus { top: 16px; }

/* ---------- grain + ambient ---------- */
.grain {
  position: fixed; inset: 0; z-index: var(--z-grain); pointer-events: none; opacity: .5;
  background: url('/assets/grain.png') repeat; background-size: 128px;
}

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: clamp(96px, 13vw, 190px) clamp(110px, 14vw, 210px); }
.section + .section { border-top: 1px solid var(--line); }
.tone-deep { background: var(--ink-950); }
.tone-mid { background: var(--ink-850); }

/* ---------- type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow.plain::before { display: none; }
.display {
  font-family: var(--serif); font-weight: 400; color: var(--ivory);
  font-size: clamp(3.1rem, 8.4vw, 8.6rem); line-height: .92; letter-spacing: -0.025em; text-wrap: balance;
}
.h1 { font-family: var(--serif); font-weight: 400; color: var(--ivory); font-size: clamp(2.6rem, 5.6vw, 5.4rem); line-height: .98; letter-spacing: -0.02em; text-wrap: balance; }
.h2 { font-family: var(--serif); font-weight: 400; color: var(--ivory); font-size: clamp(2.1rem, 4.2vw, 3.9rem); line-height: 1.02; letter-spacing: -0.015em; text-wrap: balance; }
.h3 { font-family: var(--serif); font-weight: 400; color: var(--ivory); font-size: clamp(1.6rem, 2.3vw, 2.2rem); line-height: 1.08; letter-spacing: -0.01em; }
.h4 { font-family: var(--sans); font-weight: 500; color: var(--ivory); font-size: 1.12rem; line-height: 1.35; letter-spacing: -0.005em; }
em, .it { font-style: italic; }
.gold { color: var(--gold-2); }
.lead { font-size: clamp(1.05rem, 1.35vw, 1.24rem); line-height: 1.62; color: var(--ivory-2); max-width: 60ch; text-wrap: pretty; font-weight: 300; }
.muted { color: var(--stone); }
.mono { font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; }
.num { font-variant-numeric: tabular-nums; }
p { text-wrap: pretty; }

/* ---------- buttons ---------- */
.btn {
  --bg: transparent; --fg: var(--ivory); --bd: var(--line-2);
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  height: 54px; padding: 0 26px; border-radius: 999px;
  background: var(--bg); color: var(--fg); border: 1px solid var(--bd);
  font-size: 14.5px; font-weight: 500; letter-spacing: .01em; cursor: pointer; overflow: hidden; isolation: isolate;
  transition: color .45s var(--ease), border-color .45s var(--ease), transform .25s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--gold); transform: translateY(101%); transition: transform .55s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { color: var(--ink-950); border-color: var(--gold); }
.btn:active { transform: scale(.97); }
.btn .ar { width: 16px; height: 16px; transition: transform .45s var(--ease); }
.btn:hover .ar { transform: translateX(4px); }
.btn-gold { --bg: linear-gradient(135deg, #d8b874, #b8914a); --fg: var(--ink-950); --bd: transparent; }
.btn-gold::before { background: var(--ivory); }
.btn-sm { height: 42px; padding: 0 18px; font-size: 13.5px; }

.link-ar {
  display: inline-flex; align-items: center; gap: 10px; color: var(--gold-2);
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase;
  padding-block: 6px; position: relative;
}
.link-ar::after { content: ""; position: absolute; left: 0; right: 26px; bottom: 0; height: 1px; background: currentColor; transform: scaleX(.25); transform-origin: left; opacity: .6; transition: transform .6s var(--ease); }
.link-ar:hover::after { transform: scaleX(1); }
.link-ar svg { width: 15px; height: 15px; transition: transform .45s var(--ease); }
.link-ar:hover svg { transform: translate(3px, -3px); }

/* ---------- header ---------- */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-header);
  transition: background .5s var(--ease), border-color .5s var(--ease), transform .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.hdr.is-solid { background: rgba(6, 15, 25, .72); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); border-color: var(--line); }
.hdr.is-hidden { transform: translateY(-100%); }
.hdr-in { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ivory); flex-shrink: 0; }
.brand svg.mark { width: 30px; height: 30px; }
.brand .wm { display: flex; flex-direction: column; line-height: 1; }
.brand .wm b { font-family: var(--sans); font-weight: 600; font-size: 21px; letter-spacing: .06em; }
.brand .wm small { font-family: var(--mono); font-size: 8.5px; letter-spacing: .34em; color: var(--gold); margin-top: 5px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav > li { list-style: none; position: relative; }
.nav > li > a, .nav > li > button {
  display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 14px; border-radius: 999px;
  font-size: 14px; color: var(--ivory-2); background: none; border: 0; cursor: pointer; transition: color .3s, background .3s;
}
.nav > li > a:hover, .nav > li > button:hover, .nav > li.open > button { color: var(--ivory); background: rgba(238, 231, 216, .06); }
.nav > li > a[aria-current="page"] { color: var(--gold-2); }
.nav .chev { width: 10px; height: 10px; opacity: .6; transition: transform .35s var(--ease); }
.nav > li.open .chev { transform: rotate(180deg); }
.mega {
  position: absolute; top: calc(100% + 14px); left: 50%; min-width: 560px;
  transform: translate(-50%, 8px); opacity: 0; visibility: hidden;
  background: rgba(8, 18, 29, .96); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--line-2); border-radius: 18px; padding: 22px; box-shadow: var(--shadow);
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px 18px;
  transition: opacity .35s var(--ease), transform .45s var(--ease), visibility .35s;
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav > li.open .mega, .nav > li:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega .mh { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: baseline; padding: 2px 10px 14px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.mega .mh b { font-family: var(--serif); font-weight: 400; font-size: 24px; color: var(--ivory); }
.mega a.mi { display: block; padding: 10px 10px; border-radius: 10px; transition: background .3s; }
.mega a.mi:hover { background: rgba(201, 164, 92, .08); }
.mega a.mi span { display: block; font-size: 14.5px; color: var(--ivory); }
.mega a.mi small { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .14em; color: var(--stone); text-transform: uppercase; margin-top: 2px; }

.hdr-cta { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-2); color: var(--ivory); transition: border-color .3s, background .3s, color .3s;
}
.icon-btn:hover { border-color: var(--gold); color: var(--gold-2); }
.icon-btn svg { width: 18px; height: 18px; }
.burger { display: none; background: none; cursor: pointer; }
.burger span { display: block; width: 18px; height: 1.5px; background: currentColor; transition: transform .45s var(--ease), opacity .3s; }
.burger span + span { margin-top: 5px; }
.menu-open .burger span:first-child { transform: translateY(3.25px) rotate(45deg); }
.menu-open .burger span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

.mnav {
  position: fixed; inset: 0; z-index: var(--z-menu); background: var(--ink-950);
  padding: 110px var(--gutter) 40px; overflow-y: auto; overflow-x: hidden;
  clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease-io); visibility: hidden;
}
.menu-open .mnav { clip-path: inset(0 0 0 0); visibility: visible; }
.menu-open .hdr { background: transparent; border-color: transparent; backdrop-filter: none; }
.menu-open { overflow: hidden; }
.mnav details { border-bottom: 1px solid var(--line); }
.mnav summary, .mnav > a.top {
  display: flex; justify-content: space-between; align-items: center; padding: 18px 0; cursor: pointer; list-style: none;
  font-family: var(--serif); font-size: 32px; color: var(--ivory); line-height: 1.1;
}
.mnav > a.top { border-bottom: 1px solid var(--line); }
.mnav summary::-webkit-details-marker { display: none; }
.mnav summary::after { content: "+"; font-family: var(--mono); font-size: 18px; color: var(--gold); transition: transform .3s; }
.mnav details[open] summary::after { transform: rotate(45deg); }
.mnav details a { display: block; padding: 9px 0; color: var(--ivory-2); font-size: 15.5px; }
.mnav details div { padding-bottom: 18px; }
.mnav .mfoot { margin-top: 36px; display: grid; gap: 10px; }

/* ---------- reveal ---------- */
.js [data-rv] { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-rv].in { opacity: 1; transform: none; }
.js .lines .ln { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.js .lines .ln > span { display: inline-block; transform: translateY(105%); transition: transform 1.25s var(--ease); transition-delay: var(--d, 0s); }
.js .lines.in .ln > span { transform: none; }
.js [data-rv="mask"] { opacity: 1; transform: none; clip-path: inset(0 0 100% 0); transition: clip-path 1.4s var(--ease-io); }
.js [data-rv="mask"].in { clip-path: inset(0 0 0 0); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100dvh; display: flex; align-items: stretch; overflow: hidden; background: radial-gradient(120% 90% at 78% 40%, #0f2438 0%, var(--ink-900) 45%, var(--ink-950) 100%); }
.hero-globe { position: absolute; top: 50%; right: -8vw; width: min(96vh, 62vw); aspect-ratio: 1; transform: translateY(-46%); z-index: 0; }
.hero-globe canvas { width: 100%; height: 100%; cursor: grab; touch-action: pan-y; }
.hero-globe canvas:active { cursor: grabbing; }
.hero-glow { position: absolute; inset: auto -10% -40% 30%; height: 70%; background: radial-gradient(closest-side, rgba(201, 164, 92, .16), transparent 70%); filter: blur(20px); pointer-events: none; }
.hero-in { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: space-between; padding-top: 150px; padding-bottom: 40px; width: 100%; pointer-events: none; }
.hero-in a, .hero-in button { pointer-events: auto; }
.hero h1 { max-width: 11ch; margin-top: 28px; }
.hero h1 em { color: var(--gold-2); }
.hero .lead { margin-top: 34px; max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 44px; }
.hero-trio { display: flex; gap: 22px; margin-top: 30px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--stone); }
.hero-trio a { transition: color .3s; }
.hero-trio a:hover { color: var(--gold-2); }
.hero-trio span { color: var(--gold); }
.clocks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); margin-top: 70px; }
.clock { padding: 18px 20px 4px 0; display: flex; flex-direction: column; gap: 4px; }
.clock + .clock { padding-left: 20px; border-left: 1px solid var(--line); }
.clock .c-city { font-family: var(--mono); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--stone); display: flex; align-items: center; gap: 8px; }
.clock .c-city i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(201, 164, 92, .15); }
.clock .c-time { font-family: var(--serif); font-size: clamp(24px, 2.4vw, 34px); color: var(--ivory); font-variant-numeric: tabular-nums; line-height: 1.1; }
.clock .c-role { font-size: 12.5px; color: var(--stone-2); }
.scroll-cue { position: absolute; right: var(--gutter); bottom: 150px; z-index: 2; writing-mode: vertical-rl; font-family: var(--mono); font-size: 10.5px; letter-spacing: .3em; color: var(--stone); text-transform: uppercase; display: flex; align-items: center; gap: 14px; }
.scroll-cue::after { content: ""; width: 1px; height: 64px; background: linear-gradient(var(--gold), transparent); animation: cue 2.4s var(--ease-io) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- ticker ---------- */
.ticker { border-block: 1px solid var(--line); background: var(--ink-950); overflow: hidden; padding: 20px 0; position: relative; }
.ticker::before, .ticker::after { content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 1; pointer-events: none; }
.ticker::before { left: 0; background: linear-gradient(90deg, var(--ink-950), transparent); }
.ticker::after { right: 0; background: linear-gradient(-90deg, var(--ink-950), transparent); }
.ticker-track { display: flex; width: max-content; animation: tick 60s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track span { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font-family: var(--serif); font-size: 28px; color: var(--ivory); white-space: nowrap; }
.ticker-track span i { font-style: normal; font-family: var(--mono); font-size: 11px; letter-spacing: .16em; color: var(--stone); }
.ticker-track span b { width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); display: inline-block; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- chapter heading ---------- */
.chap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 6vw, 110px); align-items: end; margin-bottom: clamp(56px, 7vw, 100px); }
.chap .no { font-family: var(--mono); font-size: 12px; letter-spacing: .2em; color: var(--gold); display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.chap .no::after { content: ""; flex: 1; max-width: 90px; height: 1px; background: var(--line-gold); }
.chap .lead { justify-self: start; }

/* ---------- instrument index (chapter I) ---------- */
.idx { border-top: 1px solid var(--line-2); }
.idx-row {
  position: relative; display: grid; grid-template-columns: 70px minmax(0, 3.2fr) minmax(0, 4fr) 56px; gap: 28px; align-items: center;
  padding: 34px 0; border-bottom: 1px solid var(--line-2); isolation: isolate;
}
.idx-row::before { content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); z-index: -1; background: linear-gradient(90deg, rgba(201, 164, 92, .09), rgba(201, 164, 92, 0) 70%); opacity: 0; transition: opacity .5s var(--ease); }
.idx-row:hover::before { opacity: 1; }
.idx-row .i-no { font-family: var(--mono); font-size: 12px; color: var(--stone-2); letter-spacing: .1em; }
.idx-row .i-code { font-family: var(--serif); font-size: clamp(3rem, 6.4vw, 6rem); line-height: .9; color: var(--ivory); letter-spacing: -0.02em; transition: color .5s var(--ease), transform .7s var(--ease); display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; }
.idx-row .i-code small { font-family: var(--mono); font-size: 11px; letter-spacing: .18em; color: var(--gold); text-transform: uppercase; }
.idx-row:hover .i-code { color: var(--gold-2); transform: translateX(10px); }
.idx-row .i-desc { color: var(--stone); font-size: 15.5px; max-width: 52ch; }
.idx-row .i-go { width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--ivory); transition: all .5s var(--ease); }
.idx-row .i-go svg { width: 18px; height: 18px; transition: transform .5s var(--ease); }
.idx-row:hover .i-go { background: var(--gold); border-color: var(--gold); color: var(--ink-950); }
.idx-row:hover .i-go svg { transform: rotate(-45deg); }
.idx-row > a.cover { position: absolute; inset: 0; z-index: 2; }

/* ---------- sticky split (chapter II) ---------- */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 7vw, 120px); align-items: start; }
.split-aside { position: sticky; top: 130px; }
.split-aside .lead { margin-top: 28px; }
.split-aside .quote { margin-top: 44px; padding-left: 22px; border-left: 1px solid var(--gold); font-family: var(--serif); font-style: italic; font-size: 24px; line-height: 1.3; color: var(--ivory); max-width: 26ch; }
.stack { display: grid; gap: 18px; }
.panel {
  position: relative; padding: clamp(28px, 3.4vw, 46px); border-radius: 22px;
  background: linear-gradient(180deg, rgba(238, 231, 216, .035), rgba(238, 231, 216, .01));
  border: 1px solid var(--line); overflow: hidden; isolation: isolate;
  transition: border-color .5s var(--ease), transform .6s var(--ease);
}
.panel::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .5s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(201, 164, 92, .12), transparent 60%); }
.panel:hover { border-color: var(--line-gold); }
.panel:hover::after { opacity: 1; }
.panel .p-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 26px; }
.panel .p-kicker { font-family: var(--mono); font-size: 11px; letter-spacing: .18em; color: var(--gold); text-transform: uppercase; }
.panel .p-no { font-family: var(--mono); font-size: 11px; color: var(--stone-2); }
.panel h3 { margin-bottom: 14px; }
.panel p { color: var(--stone); font-size: 15.5px; max-width: 56ch; }
.panel .link-ar { margin-top: 26px; }

/* ---------- bento (chapter III) ---------- */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; }
.bento .panel { display: flex; flex-direction: column; min-height: 340px; }
.bento .panel .link-ar { margin-top: auto; padding-top: 28px; align-self: flex-start; }
.bento .b1 { grid-column: span 7; }
.bento .b2 { grid-column: span 5; }
.bento .b3 { grid-column: span 5; }
.bento .b4 { grid-column: span 7; }
.bento .big-code { font-family: var(--serif); font-size: clamp(3.4rem, 6vw, 5.6rem); line-height: .9; color: rgba(238, 231, 216, .07); position: absolute; right: 26px; bottom: 16px; z-index: -1; letter-spacing: -0.03em; pointer-events: none; }

/* ---------- global desks (chapter IV) ---------- */
.desks { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 100px); }
.desk-globe { position: sticky; top: 90px; height: calc(100dvh - 120px); max-height: 860px; display: flex; flex-direction: column; justify-content: center; }
.desk-globe canvas { width: 100%; aspect-ratio: 1; max-height: 72vh; object-fit: contain; }
.desk-globe .dg-meta { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; letter-spacing: .16em; color: var(--stone); text-transform: uppercase; border-top: 1px solid var(--line); padding-top: 16px; margin-top: 10px; }
.desk-globe .dg-meta b { color: var(--gold-2); font-weight: 400; }
.desk { padding-block: clamp(40px, 7vh, 90px); min-height: 80vh; display: flex; flex-direction: column; justify-content: center; }
.desk + .desk { border-top: 1px solid var(--line); }
.desk .d-city { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 22px; }
.desk .d-city .mono { color: var(--gold); }
.desk .d-coord { font-family: var(--mono); font-size: 11px; color: var(--stone-2); letter-spacing: .1em; }
.desk .h2 { margin-bottom: 20px; }
.desk .d-media { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 8; margin: 30px 0 34px; background: var(--ink-800); }
.desk .d-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.6s var(--ease); }
.desk .d-media.in img { transform: scale(1); }
.desk .d-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(4, 9, 15, .6)); }
.svc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.svc a { position: relative; display: block; padding: 24px 22px 26px 0; border-bottom: 1px solid var(--line); transition: background .4s; }
.svc a:nth-child(2n) { padding-left: 22px; border-left: 1px solid var(--line); }
.svc a .s-k { font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; color: var(--gold); text-transform: uppercase; }
.svc a .s-t { display: block; font-family: var(--serif); font-size: 25px; color: var(--ivory); line-height: 1.1; margin: 8px 0 8px; transition: color .4s; }
.svc a .s-d { display: block; color: var(--stone); font-size: 14.5px; line-height: 1.6; }
.svc a .s-go { position: absolute; top: 24px; right: 12px; width: 15px; height: 15px; color: var(--stone-2); transition: transform .45s var(--ease), color .3s; }
.svc a:hover .s-t { color: var(--gold-2); }
.svc a:hover .s-go { color: var(--gold-2); transform: translate(3px, -3px); }
.pillars { display: grid; gap: 0; border-top: 1px solid var(--line); margin-top: 8px; }
.pillars > div { display: grid; grid-template-columns: 44px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.pillars .pn { font-family: var(--mono); font-size: 11px; color: var(--gold); padding-top: 5px; }
.pillars h4 { margin-bottom: 6px; }
.pillars p { color: var(--stone); font-size: 15px; }
.partner-badge { display: inline-flex; align-items: center; gap: 14px; padding: 10px 18px 10px 10px; border: 1px solid var(--line-gold); border-radius: 999px; margin-bottom: 26px; }
.partner-badge i { width: 34px; height: 34px; border-radius: 50%; background: var(--gold); color: var(--ink-950); display: grid; place-items: center; font-style: normal; font-family: var(--serif); font-size: 18px; }
.partner-badge span { font-size: 13.5px; color: var(--ivory); }
.partner-badge small { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .14em; color: var(--stone); text-transform: uppercase; }

/* ---------- editorial list with media (chapter V) ---------- */
.ed { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 100px); align-items: start; }
.ed-media { position: sticky; top: 120px; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--ink-800); }
.ed-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .9s var(--ease), transform 1.6s var(--ease); }
.ed-media img.on { opacity: 1; transform: scale(1); }
.ed-media .ed-cap { position: absolute; left: 22px; bottom: 20px; right: 22px; z-index: 1; display: flex; justify-content: space-between; font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; color: var(--ivory); text-transform: uppercase; }
.ed-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4, 9, 15, 0) 55%, rgba(4, 9, 15, .75)); }
.ed-list { border-top: 1px solid var(--line-2); }
.ed-item { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 34px 0 36px; border-bottom: 1px solid var(--line-2); cursor: default; }
.ed-item .en { font-family: var(--mono); font-size: 12px; color: var(--stone-2); padding-top: 10px; transition: color .4s; }
.ed-item h3 { transition: color .4s; }
.ed-item .ek { font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; color: var(--gold); text-transform: uppercase; margin: 10px 0 12px; }
.ed-item p { color: var(--stone); font-size: 15.5px; max-width: 54ch; }
.ed-item .link-ar { margin-top: 16px; }
.ed-item.act .en, .ed-item.act h3 { color: var(--gold-2); }

/* ---------- horizontal rail (chapter VI) ---------- */
.rail-wrap { position: relative; }
.rail-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 50px; flex-wrap: wrap; }
.rail-nav { display: flex; gap: 10px; }
.rail-nav button { width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--line-2); background: none; color: var(--ivory); cursor: pointer; display: grid; place-items: center; transition: all .4s var(--ease); }
.rail-nav button:hover { border-color: var(--gold); color: var(--gold-2); }
.rail-nav button:disabled { opacity: .3; cursor: default; }
.rail-nav svg { width: 18px; height: 18px; }
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 30%); gap: 18px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
}
.rail::-webkit-scrollbar { display: none; }
.card {
  position: relative; scroll-snap-align: start; border-radius: 22px; overflow: hidden; min-height: 560px;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 30px; isolation: isolate; background: var(--ink-800);
  border: 1px solid var(--line);
}
.card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease); }
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(4, 9, 15, .15) 0%, rgba(4, 9, 15, .55) 45%, rgba(4, 9, 15, .96) 100%); }
.card:hover img { transform: scale(1.06); }
.card .c-no { position: absolute; top: 26px; left: 30px; font-family: var(--mono); font-size: 11px; color: var(--ivory); letter-spacing: .14em; }
.card .c-k { font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; color: var(--gold-2); text-transform: uppercase; }
.card h3 { margin: 10px 0 12px; }
.card p { color: var(--ivory-2); font-size: 14.5px; opacity: .85; }
.card .link-ar { margin-top: 20px; align-self: flex-start; }
.card.plain { background: linear-gradient(160deg, var(--ink-700), var(--ink-850)); }

/* ---------- twin (capital markets) ---------- */
.twin { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.twin .panel { display: flex; flex-direction: column; padding: clamp(30px, 4vw, 56px); }
.twin .mono-badge { width: 76px; height: 76px; border-radius: 20px; border: 1px solid var(--line-gold); display: grid; place-items: center; font-family: var(--serif); font-size: 34px; color: var(--gold-2); margin-bottom: 34px; background: rgba(201, 164, 92, .05); }
.checks { list-style: none; margin: 28px 0 34px; border-top: 1px solid var(--line); }
.checks li { display: flex; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--line); color: var(--ivory-2); font-size: 15px; }
.checks li::before { content: ""; flex: none; width: 7px; height: 7px; margin-top: 9px; background: var(--gold); transform: rotate(45deg); }
.twin .acts { margin-top: auto; display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- statement / CTA ---------- */
.statement { position: relative; overflow: hidden; padding-block: clamp(120px, 16vw, 230px); background: var(--ink-950); }
.statement .bg { position: absolute; inset: 0; z-index: 0; }
.statement .bg img { width: 100%; height: 115%; object-fit: cover; opacity: .32; filter: saturate(.7); }
.statement .bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 70% at 50% 50%, rgba(4, 9, 15, .35), var(--ink-950) 95%); }
.statement .wrap { position: relative; z-index: 1; text-align: center; display: flex; flex-direction: column; align-items: center; }
.statement .display { max-width: 14ch; margin: 28px auto 0; }
.statement .lead { margin: 34px auto 0; text-align: center; }
.statement .hero-actions { justify-content: center; }

/* ---------- footer ---------- */
.ftr { background: var(--ink-950); border-top: 1px solid var(--line); padding-top: 90px; position: relative; overflow: hidden; }
.ftr-top { display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2.2fr)); gap: 40px; padding-bottom: 70px; }
.ftr h5 { font-family: var(--mono); font-weight: 400; font-size: 11px; letter-spacing: .2em; color: var(--gold); text-transform: uppercase; margin-bottom: 22px; }
.ftr ul { list-style: none; display: grid; gap: 11px; }
.ftr ul a { color: var(--stone); font-size: 14.5px; transition: color .3s; }
.ftr ul a:hover { color: var(--ivory); }
.ftr .f-about p { color: var(--stone); font-size: 14.5px; max-width: 44ch; margin-top: 22px; }
.ftr .f-contact { display: grid; gap: 6px; margin-top: 28px; }
.ftr .f-contact a { font-family: var(--serif); font-size: 26px; color: var(--ivory); transition: color .3s; width: fit-content; }
.ftr .f-contact a:hover { color: var(--gold-2); }
.ftr-word { font-family: var(--serif); font-size: clamp(5rem, 21vw, 22rem); line-height: .78; color: transparent; -webkit-text-stroke: 1px rgba(201, 164, 92, .28); letter-spacing: -0.04em; text-align: center; user-select: none; white-space: nowrap; margin-bottom: -0.1em; }
.ftr-bot { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 26px 0 30px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--stone-2); position: relative; z-index: 1; background: var(--ink-950); }
.ftr-bot a:hover { color: var(--gold-2); }
.ftr-legal { display: flex; gap: 20px; flex-wrap: wrap; }

/* ---------- floating contact ---------- */
.fab { position: fixed; right: 22px; bottom: 22px; z-index: var(--z-float); display: flex; flex-direction: column; gap: 10px; }
.fab a { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: rgba(8, 18, 29, .85); border: 1px solid var(--line-2); color: var(--ivory); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: all .4s var(--ease); box-shadow: var(--shadow); }
.fab a:hover { border-color: var(--gold); color: var(--gold-2); transform: translateY(-2px); }
.fab a.wa { background: var(--gold); color: var(--ink-950); border-color: var(--gold); }
.fab a.wa:hover { background: var(--gold-2); color: var(--ink-950); }
.fab svg { width: 22px; height: 22px; }

/* ---------- page hero (inner) ---------- */
.phero { position: relative; padding-top: 170px; padding-bottom: clamp(60px, 8vw, 110px); overflow: hidden; background: radial-gradient(90% 120% at 85% 0%, #10263b 0%, var(--ink-900) 55%); border-bottom: 1px solid var(--line); }
.phero .ph-lines { position: absolute; inset: 0; pointer-events: none; opacity: .5; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 96px 96px; mask-image: radial-gradient(70% 90% at 80% 10%, #000, transparent 75%); -webkit-mask-image: radial-gradient(70% 90% at 80% 10%, #000, transparent 75%); }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--stone-2); margin-bottom: 34px; }
.crumbs a:hover { color: var(--gold-2); }
.crumbs i { font-style: normal; color: var(--gold); }
.phero .h1 { max-width: 16ch; }
.phero .lead { margin-top: 26px; }
.phero .ph-meta { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 44px; font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--stone); }
.phero .ph-meta b { color: var(--ivory); font-weight: 400; }
.phero .ph-code { position: absolute; right: var(--gutter); bottom: -0.16em; font-family: var(--serif); font-size: clamp(7rem, 20vw, 20rem); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(201, 164, 92, .2); letter-spacing: -0.04em; pointer-events: none; white-space: nowrap; }

.progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; background: var(--gold); transform-origin: left; transform: scaleX(0); z-index: calc(var(--z-header) + 1); }

/* ---------- article ---------- */
.art { display: grid; grid-template-columns: minmax(0, 250px) minmax(0, 1fr) minmax(0, 300px); gap: clamp(28px, 4vw, 70px); align-items: start; padding-block: clamp(60px, 8vw, 110px) clamp(80px, 10vw, 140px); }
.toc { position: sticky; top: 120px; }
.toc h6, .aside-card h6 { font-family: var(--mono); font-weight: 400; font-size: 10.5px; letter-spacing: .2em; color: var(--gold); text-transform: uppercase; margin-bottom: 16px; }
.toc ol { list-style: none; display: grid; gap: 2px; border-left: 1px solid var(--line-2); }
.toc a { display: block; padding: 7px 0 7px 16px; margin-left: -1px; border-left: 1px solid transparent; color: var(--stone); font-size: 13.5px; line-height: 1.45; transition: color .3s, border-color .3s; }
.toc a:hover { color: var(--ivory); }
.toc a.on { color: var(--gold-2); border-color: var(--gold); }
.prose { max-width: 70ch; color: var(--ivory-2); font-size: 17.5px; line-height: 1.8; font-weight: 300; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { font-family: var(--serif); font-weight: 400; color: var(--ivory); font-size: clamp(1.9rem, 2.8vw, 2.6rem); line-height: 1.08; letter-spacing: -0.01em; margin-top: 2.2em; padding-top: 1.2em; border-top: 1px solid var(--line); scroll-margin-top: 110px; }
.prose h2:first-child { margin-top: 0; padding-top: 0; border: 0; }
.prose h3 { font-family: var(--sans); font-weight: 500; color: var(--ivory); font-size: 1.2rem; margin-top: 1.8em; }
.prose strong, .prose b { color: var(--ivory); font-weight: 500; }
.prose a { color: var(--gold-2); border-bottom: 1px solid var(--line-gold); }
.prose > p.first::first-letter { font-family: var(--serif); float: left; font-size: 5.1em; line-height: .82; padding: .06em .12em 0 0; color: var(--gold-2); }
.prose .quote { font-family: var(--serif); font-style: italic; font-size: 1.7em; line-height: 1.25; color: var(--ivory); padding: .2em 0 .2em .9em; border-left: 1px solid var(--gold); }
.prose ul { list-style: none; }
.prose ul li { position: relative; padding-left: 26px; }
.prose ul li + li { margin-top: .55em; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: .72em; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }
.defs { display: grid; gap: 0; border-top: 1px solid var(--line); }
.defs > div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 5fr); gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.defs dt { font-family: var(--serif); font-size: 1.28em; line-height: 1.2; color: var(--ivory); }
.defs dd { font-size: .95em; color: var(--stone); line-height: 1.7; }
.steps { list-style: none; counter-reset: s; position: relative; }
.steps li { position: relative; padding: 4px 0 26px 72px; counter-increment: s; }
.steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 0; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-gold); display: grid; place-items: center; font-family: var(--mono); font-size: 12px; color: var(--gold-2); background: var(--ink-900); z-index: 1; }
.steps li::after { content: ""; position: absolute; left: 23px; top: 46px; bottom: 0; width: 1px; background: linear-gradient(var(--line-gold), transparent); }
.steps li:last-child::after { display: none; }
.steps li b { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.35em; color: var(--ivory); line-height: 1.2; margin-bottom: 6px; padding-top: 8px; }
.steps li span { display: block; font-size: .95em; color: var(--stone); }
.callout { padding: 28px 30px; border-radius: 18px; border: 1px solid var(--line-gold); background: linear-gradient(135deg, rgba(201, 164, 92, .08), rgba(201, 164, 92, .01)); }
.aside { position: sticky; top: 120px; display: grid; gap: 18px; }
.aside-card { border: 1px solid var(--line); border-radius: 20px; padding: 26px; background: rgba(238, 231, 216, .02); }
.aside-card.cta { border-color: var(--line-gold); background: linear-gradient(160deg, rgba(201, 164, 92, .12), rgba(201, 164, 92, .02)); }
.aside-card.cta p.t { font-family: var(--serif); font-size: 26px; line-height: 1.1; color: var(--ivory); margin-bottom: 12px; }
.aside-card.cta p.d { color: var(--stone); font-size: 14px; margin-bottom: 20px; }
.aside-card.cta .btn { width: 100%; justify-content: center; }
.aside-card.cta .btn + .btn { margin-top: 10px; }
.aside-card ul { list-style: none; }
.aside-card ul a { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); color: var(--stone); font-size: 14px; transition: color .3s; }
.aside-card ul li:last-child a { border-bottom: 0; }
.aside-card ul a:hover, .aside-card ul a[aria-current] { color: var(--gold-2); }
.aside-card ul a svg { width: 13px; height: 13px; flex: none; margin-top: 5px; }
.corp { font-size: 13px; color: var(--stone); display: grid; gap: 6px; }
.corp b { color: var(--ivory); font-weight: 500; }

.related { border-top: 1px solid var(--line); padding-block: clamp(70px, 9vw, 120px); }
.related .grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 44px; }
.related .panel { min-height: 220px; display: flex; flex-direction: column; }
.related .panel .link-ar { margin-top: auto; padding-top: 22px; }

/* ---------- forms ---------- */
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 22px; }
.form .full { grid-column: 1 / -1; }
.field { position: relative; }
.field label { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--stone); margin-bottom: 10px; }
.field label b { color: var(--gold); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line-2); padding: 10px 0 14px; color: var(--ivory); font-size: 17px; border-radius: 0; outline: none;
  transition: border-color .35s var(--ease);
}
.field select { appearance: none; -webkit-appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23c9a45c' stroke-width='1.3'%3E%3Cpath d='M2 4.5 6 8l4-3.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 2px center; background-size: 12px; }
.field select option { background: var(--ink-850); color: var(--ivory); }
.field textarea { min-height: 130px; resize: vertical; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); }
.field .err { display: none; font-size: 12.5px; color: #e59a86; margin-top: 8px; }
.field.bad input, .field.bad select, .field.bad textarea { border-color: #c9735f; }
.field.bad .err { display: block; }
.form-note { font-size: 12.5px; color: var(--stone-2); }
.form-status { grid-column: 1 / -1; display: none; padding: 16px 20px; border-radius: 14px; font-size: 14.5px; }
.form-status.ok { display: block; border: 1px solid var(--line-gold); background: rgba(201, 164, 92, .08); color: var(--gold-3); }
.form-status.no { display: block; border: 1px solid rgba(201, 115, 95, .5); background: rgba(201, 115, 95, .08); color: #f0b7a8; }
.form-acts { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn[disabled] { opacity: .6; pointer-events: none; }

/* contact page */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 7vw, 120px); padding-block: clamp(60px, 8vw, 110px) clamp(90px, 11vw, 150px); }
.c-block { padding: 26px 0; border-bottom: 1px solid var(--line); }
.c-block:first-child { border-top: 1px solid var(--line); }
.c-block .mono { color: var(--gold); display: block; margin-bottom: 10px; }
.c-block a.big, .c-block p.big { font-family: var(--serif); font-size: clamp(24px, 2.4vw, 32px); color: var(--ivory); line-height: 1.2; }
.c-block a.big:hover { color: var(--gold-2); }
.c-block p { color: var(--stone); font-size: 15px; }
.c-hubs { display: grid; gap: 10px; margin-top: 4px; }
.c-hubs div { display: flex; justify-content: space-between; gap: 16px; font-size: 14.5px; color: var(--ivory-2); }
.c-hubs div span { color: var(--stone); text-align: right; }
.form-card { border: 1px solid var(--line-2); border-radius: 26px; padding: clamp(28px, 4vw, 56px); background: linear-gradient(170deg, rgba(238, 231, 216, .035), rgba(238, 231, 216, .005)); }
.form-card .h3 { margin-bottom: 8px; }
.form-card > p { color: var(--stone); margin-bottom: 38px; font-size: 15px; }

/* process */
.process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-2); }
.process > div { padding: 34px 26px 10px 0; position: relative; }
.process > div + div { padding-left: 26px; border-left: 1px solid var(--line); }
.process .pn { font-family: var(--serif); font-size: 64px; line-height: 1; color: var(--gold-2); margin-bottom: 26px; }
.process h4 { margin-bottom: 10px; }
.process p { color: var(--stone); font-size: 14.5px; }

/* blog */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.post-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; transition: border-color .4s; background: rgba(238, 231, 216, .02); }
.post-card:hover { border-color: var(--line-gold); }
.post-card .pm { aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink-800); }
.post-card .pm img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.post-card:hover .pm img { transform: scale(1.05); }
.post-card .pb { padding: 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.post-card .pb .mono { color: var(--gold); font-size: 10.5px; }
.post-card .pb h3 { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.12; color: var(--ivory); }
.post-card .pb p { color: var(--stone); font-size: 14.5px; }
.post-card .pb .link-ar { margin-top: auto; padding-top: 10px; align-self: flex-start; }
.empty { border: 1px dashed var(--line-2); border-radius: 22px; padding: 60px 30px; text-align: center; color: var(--stone); }

/* 404 */
.nf { min-height: 100dvh; display: grid; place-items: center; text-align: center; padding: 140px var(--gutter) 80px; background: radial-gradient(80% 70% at 50% 40%, #10263b, var(--ink-950)); }
.nf .code { font-family: var(--serif); font-size: clamp(8rem, 30vw, 22rem); line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(201, 164, 92, .5); letter-spacing: -0.05em; }
.nf .h2 { margin-top: 30px; }
.nf .lead { margin: 20px auto 0; text-align: center; }
.nf .hero-actions { justify-content: center; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .nav, .hdr-cta .hide-md { display: none; }
  .burger { display: grid; }
  .art { grid-template-columns: minmax(0, 1fr) minmax(0, 300px); }
  .toc { display: none; }
  .ftr-top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ftr-top .f-about { grid-column: 1 / -1; }
}
@media (max-width: 980px) {
  .chap, .split, .desks, .ed, .contact { grid-template-columns: minmax(0, 1fr); }
  .split-aside, .ed-media { position: relative; top: 0; }
  .ed-media { aspect-ratio: 16 / 10; }
  .desk-globe { position: relative; top: 0; height: auto; }
  .desk-globe canvas { max-height: 60vh; max-width: 520px; margin-inline: auto; }
  .desk { min-height: 0; }
  .bento .b1, .bento .b2, .bento .b3, .bento .b4 { grid-column: span 12; }
  .bento .panel { min-height: 0; }
  .twin, .posts, .related .grid { grid-template-columns: minmax(0, 1fr); }
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .art { grid-template-columns: minmax(0, 1fr); }
  .aside { position: relative; top: 0; }
  .hero-globe { right: 50%; top: auto; bottom: 110px; width: 130vw; max-width: 760px; transform: translateX(50%); opacity: .55; }
  .hero h1 { max-width: 12ch; }
  .rail { grid-auto-columns: minmax(280px, 70%); }
}
@media (max-width: 720px) {
  body { font-size: 15.5px; }
  .hdr-in { height: 70px; }
  .brand .wm b { font-size: 18px; }
  .hero-in { padding-top: 120px; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }
  .clocks { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 48px; }
  .clock:nth-child(3) { padding-left: 0; border-left: 0; }
  .clock:nth-child(n+3) { border-top: 1px solid var(--line); }
  .scroll-cue { display: none; }
  .idx-row { grid-template-columns: minmax(0, 1fr) 46px; gap: 12px 16px; padding: 28px 0; }
  .idx-row .i-no { grid-column: 1 / -1; }
  .idx-row .i-desc { grid-column: 1 / -1; grid-row: 3; }
  .idx-row .i-go { width: 46px; height: 46px; grid-column: 2; grid-row: 2; }
  .svc { grid-template-columns: minmax(0, 1fr); }
  .svc a:nth-child(2n) { padding-left: 0; border-left: 0; }
  .rail { grid-auto-columns: 86%; }
  .card { min-height: 480px; }
  .form { grid-template-columns: minmax(0, 1fr); }
  .process { grid-template-columns: minmax(0, 1fr); }
  .process > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .defs > div { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .ftr-top { grid-template-columns: minmax(0, 1fr); }
  .ftr-bot { flex-direction: column; }
  .prose { font-size: 16.5px; }
  .steps li { padding-left: 60px; }
  .fab { right: 14px; bottom: 14px; }
  .fab a { width: 50px; height: 50px; }
  .ticker-track span { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js [data-rv], .js .lines .ln > span { opacity: 1; transform: none; clip-path: none; }
}

/* ---------- top bar ---------- */
.topbar { border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--stone); max-height: 44px; overflow: hidden; transition: max-height .5s var(--ease), opacity .4s var(--ease), border-color .4s; }
.hdr.is-solid .topbar { max-height: 0; opacity: 0; border-color: transparent; }
.tb-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 44px; }
.tb-motto { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--ivory-2); white-space: nowrap; }
.tb-motto i { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px rgba(201, 164, 92, .18); animation: pulse 2.6s var(--ease-io) infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(201, 164, 92, 0); } }
.tb-clocks { list-style: none; display: flex; gap: 0; }
.tb-clocks li { display: flex; gap: 8px; align-items: baseline; padding: 0 16px; border-left: 1px solid var(--line); }
.tb-clocks li:first-child { border-left: 0; }
.tb-clocks span { font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--stone-2); }
.tb-clocks time { font-family: var(--mono); font-size: 12px; color: var(--ivory); font-variant-numeric: tabular-nums; }
.tb-links { display: flex; align-items: center; gap: 20px; }
.tb-links > a { display: inline-flex; align-items: center; gap: 8px; color: var(--ivory-2); transition: color .3s; white-space: nowrap; }
.tb-links > a:hover { color: var(--gold-2); }
.tb-links svg { width: 14px; height: 14px; }
.tb-links > a.tb-panel { color: var(--gold-2); padding: 3px 12px; border: 1px solid var(--line-gold); border-radius: 999px; }
.tb-links > a.tb-panel:hover { background: rgba(201, 164, 92, .12); color: var(--gold-3); }
.tb-soc { display: flex; gap: 4px; padding-left: 16px; border-left: 1px solid var(--line); }
.tb-soc a { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; color: var(--stone); transition: color .3s, background .3s; }
.tb-soc a:hover { color: var(--gold-2); background: rgba(201, 164, 92, .1); }
.tb-soc svg { width: 14px; height: 14px; }
.hdr-in { transition: height .5s var(--ease); }
.hdr.is-solid .hdr-in { height: 72px; }

/* ---------- footer additions ---------- */
.ftr { padding-top: 0; }
.ftr-cta { display: flex; justify-content: space-between; align-items: end; gap: 40px; flex-wrap: wrap; padding: clamp(70px, 9vw, 130px) 0 clamp(60px, 7vw, 100px); border-bottom: 1px solid var(--line); margin-bottom: 80px; }
.ftr-cta .h2 { margin-top: 22px; max-width: 16ch; font-size: clamp(2.4rem, 5vw, 4.6rem); }
.ftr-cta-acts { display: flex; gap: 12px; flex-wrap: wrap; }
.ftr-top { grid-template-columns: minmax(0, 4.2fr) repeat(3, minmax(0, 2fr)) minmax(0, 2.6fr); }
.ftr .brand { margin-bottom: 4px; }
.ftr address { font-style: normal; color: var(--stone); font-size: 14.5px; line-height: 1.7; }
.ftr address b { display: block; color: var(--ivory); font-weight: 500; margin-bottom: 4px; }
.f-hubs { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0 14px; }
.f-hubs span { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; border: 1px solid var(--line-2); border-radius: 999px; padding: 5px 10px; color: var(--ivory-2); }
.f-hours { font-size: 13px; color: var(--stone-2); }
.f-soc { display: flex; gap: 8px; margin-top: 22px; }
.f-soc a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--ivory-2); transition: all .35s var(--ease); }
.f-soc a:hover { border-color: var(--gold); color: var(--ink-950); background: var(--gold); }
.f-soc svg { width: 16px; height: 16px; }
.ftr-bot { padding: 0; }
.ftr-bot-in { display: flex; justify-content: space-between; align-items: center; gap: 16px 30px; flex-wrap: wrap; padding-block: 26px 30px; }
.ftr-motto { font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--stone); }
@media (max-width: 1380px) { .tb-clocks { display: none; } }
@media (max-width: 1180px) { .ftr-top { grid-template-columns: repeat(3, minmax(0, 1fr)); } .ftr-top .f-about { grid-column: 1 / -1; } }
@media (max-width: 860px) { .tb-mail, .tb-motto { display: none; } .tb-in { justify-content: space-between; } }
@media (max-width: 720px) {
  .topbar { max-height: 40px; } .tb-in { height: 40px; }
  .ftr-top { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ftr-top .f-office { grid-column: 1 / -1; }
  .ftr-cta-acts .btn { flex: 1 1 auto; justify-content: center; }
  .ftr-bot-in { flex-direction: column; align-items: flex-start; }
  .hdr.is-solid .hdr-in { height: 64px; }
}

/* ---------- slogan treatment ---------- */
.hero h1 em, .statement .display em {
  font-style: italic;
  background: linear-gradient(100deg, #b98f45 0%, #f1dca8 38%, #c9a45c 62%, #e9d29c 100%);
  background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 7s var(--ease-io) infinite alternate; padding-right: .06em;
}
@keyframes sheen { to { background-position: 100% 0; } }

/* ---------- inner page hero with image ---------- */
.phero.has-img { min-height: min(86dvh, 820px); display: flex; align-items: flex-end; padding-top: 190px; background: var(--ink-950); }
.ph-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.ph-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .5; transform: scale(1.06); animation: kb 18s var(--ease) forwards; }
@keyframes kb { to { transform: scale(1); } }
.ph-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4, 9, 15, .92) 0%, rgba(4, 9, 15, .55) 55%, rgba(4, 9, 15, .2) 100%), linear-gradient(0deg, var(--ink-950) 0%, rgba(4, 9, 15, 0) 45%); }
.ph-in { position: relative; z-index: 1; width: 100%; }
.phero .h1 { max-width: 18ch; font-size: clamp(2.8rem, 6.4vw, 6.6rem); margin-top: 26px; }
.ph-sub { font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 2.2vw, 2rem); color: var(--gold-2); margin-top: 18px; max-width: 34ch; line-height: 1.25; }
.phero .ph-code { z-index: 1; opacity: .9; }

/* ---------- article typography ---------- */
.art { grid-template-columns: minmax(0, 260px) minmax(0, 1fr) minmax(0, 340px); gap: clamp(28px, 5vw, 100px); }
.prose { max-width: 76ch; }
.prose .p-lead { font-family: var(--serif); font-size: clamp(1.45rem, 2.1vw, 1.9rem); line-height: 1.38; color: var(--ivory); font-weight: 400; letter-spacing: -0.005em; padding-bottom: 1.1em; border-bottom: 1px solid var(--line); margin-bottom: 1.4em; }
.prose h2 { display: flex; align-items: baseline; gap: 18px; }
.prose h2 .h-no { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; color: var(--gold); flex: none; transform: translateY(-.45em); }
.prose h3 { font-family: var(--mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-2); font-weight: 400; margin-top: 2.2em; }
.prose .fig { margin: 2.6em 0 .6em; }
.prose .fig img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 18px; }
.prose .fig figcaption { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--stone-2); margin-top: 12px; display: flex; gap: 10px; align-items: center; }
.prose .fig figcaption::before { content: ""; width: 22px; height: 1px; background: var(--gold); }
.prose .callout { margin-top: 2.6em; padding: 34px; }
.prose .callout p { font-family: var(--serif); font-size: 1.45em; line-height: 1.3; color: var(--ivory); margin-bottom: 22px; }
.prose .defs { margin-top: 1.4em; }
.prose .steps { margin-top: 1.6em; }
.rel-card { min-height: 460px; }
.rel-card .link-ar { margin-top: 18px; }
.related .grid .card { display: flex; }
@media (max-width: 1180px) { .art { grid-template-columns: minmax(0, 1fr) minmax(0, 320px); } }
@media (max-width: 980px) { .art { grid-template-columns: minmax(0, 1fr); } .phero.has-img { min-height: 72dvh; } .prose { max-width: none; } }
@media (max-width: 720px) { .prose .callout { padding: 24px; } .prose h2 { flex-direction: column; gap: 6px; } .prose h2 .h-no { transform: none; } .rel-card { min-height: 400px; } }

/* ---------- official logo ---------- */
.brand img { height: 52px; width: auto; transition: height .5s var(--ease); }
.hdr.is-solid .brand img { height: 44px; }
.ftr .brand img { height: 64px; }
@media (max-width: 720px) { .brand img { height: 40px; } .hdr.is-solid .brand img { height: 36px; } }

/* ---------- language switch ---------- */
.lang { display: inline-flex; align-items: center; height: 42px; padding: 0 6px; border: 1px solid var(--line-2); border-radius: 999px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; }
.lang a { padding: 6px 9px; border-radius: 999px; color: var(--stone); transition: color .3s, background .3s; }
.lang a[href]:hover { color: var(--ivory); }
.lang a[aria-current] { color: var(--ink-950); background: var(--gold); }
.lang span { width: 1px; height: 12px; background: var(--line-2); margin: 0 2px; }
@media (max-width: 560px) { .hide-sm { display: none !important; } .lang { height: 38px; } }

/* ---------- helpers ---------- */
.chap-no { font-family: var(--mono); font-size: 12px; letter-spacing: .2em; color: var(--gold); display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.chap-no::after { content: ""; flex: 1; max-width: 90px; height: 1px; background: var(--line-gold); }
.split-aside .h1 { margin-bottom: 0; }
.desk-cta { margin-top: 28px; }
.tw-t { margin-top: 12px; }
.tw-d { margin-top: 16px; }
.checks b { color: var(--ivory); font-weight: 500; }
.ph-lead { margin-top: 26px; }
.c-note { margin-top: 10px; }
.fc-title { margin-top: 18px; }
.lead-2 { margin-top: 18px; }
.nf-h { margin-top: 26px; }
.empty p + p { margin-top: 10px; }
.empty .hero-actions { justify-content: center; }

/* ---------- newsletter ---------- */
.news { margin-top: 34px; padding-top: 28px; border-top: 1px solid var(--line); max-width: 460px; }
.news label { display: block; font-family: var(--serif); font-size: 24px; color: var(--ivory); }
.news > p { color: var(--stone); font-size: 13.5px; margin: 6px 0 16px; }
.news-row { display: flex; gap: 8px; padding: 6px; border: 1px solid var(--line-2); border-radius: 999px; transition: border-color .3s; }
.news-row:focus-within { border-color: var(--gold); }
.news-row input { flex: 1; min-width: 0; background: none; border: 0; outline: none; padding: 0 14px; color: var(--ivory); font-size: 15px; }
.news-row input::placeholder { color: var(--stone-2); }
.news .news-status { margin: 10px 0 0; font-size: 13px; color: var(--gold-2); min-height: 1em; }
.news .news-status.no { color: #f0b7a8; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn .ar { width: 16px; height: 16px; }

/* ---------- mobile hero refinements ---------- */
@media (max-width: 980px) {
  .hero-globe { top: 64px; bottom: auto; right: -38vw; left: auto; width: 96vw; max-width: 560px; transform: none; opacity: .32; }
}
@media (max-width: 720px) {
  .hero-trio { gap: 12px; letter-spacing: .14em; flex-wrap: wrap; font-size: 10.5px; }
  .hero h1 { font-size: clamp(3rem, 13.5vw, 4.2rem); }
  .hero .lead { font-size: 1rem; }
  .fab { bottom: 16px; }
}

/* ---------- developer credit ---------- */
.ftr-credit { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding-block: 16px 22px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--stone); }
.ftr-credit b { color: #ff6600; font-weight: 800; letter-spacing: .01em; transition: color .3s; }
.ftr-credit sup { font-size: .62em; margin-left: 1px; }
.ftr-credit a:hover b { color: #ff9a4d; }
.ftr-credit span:nth-of-type(1) { color: var(--stone-2); }

/* ---------- mobile header fit + menu close ---------- */
.hdr-in { min-width: 0; }
.brand { min-width: 0; flex-shrink: 1; }
.brand img { max-width: 100%; object-fit: contain; object-position: left center; }
.hdr-cta { flex-shrink: 0; }
.menu-open .hdr { z-index: calc(var(--z-menu) + 1); transform: none !important; }
.menu-open .hdr .topbar { max-height: 0; opacity: 0; border-color: transparent; }
.menu-open .burger { border-color: var(--gold); color: var(--gold-2); }
.mnav { padding-top: 104px; }
@media (max-width: 720px) {
  .hdr-in { gap: 10px; }
  .brand img, .hdr.is-solid .brand img { height: 34px; }
  .hdr-cta { gap: 8px; }
  .icon-btn { width: 42px; height: 42px; }
}
@media (max-width: 400px) {
  .brand img, .hdr.is-solid .brand img { height: 30px; }
  .lang { height: 36px; padding: 0 3px; font-size: 10.5px; }
  .lang a { padding: 5px 7px; }
}

/* burger → X */
.burger { position: relative; }
.burger span { position: absolute; left: 50%; top: 50%; width: 18px; height: 1.5px; margin: -0.75px 0 0 -9px; transform-origin: center; }
.burger span + span { margin-top: -0.75px; }
.burger span:first-child { transform: translateY(-3.5px); }
.burger span:last-child { transform: translateY(3.5px); }
.menu-open .burger span:first-child { transform: rotate(45deg); }
.menu-open .burger span:last-child { transform: rotate(-45deg); }

/* five market clocks */
.clocks { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 720px) {
  .clocks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .clock:nth-child(5) { grid-column: 1 / -1; padding-left: 0; border-left: 0; }
}

/* =================== funding application portal =================== */
.ph-compact.phero.has-img { min-height: min(62dvh, 600px); }
.apply { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 360px); gap: clamp(28px, 5vw, 90px); align-items: start; padding-block: clamp(50px, 7vw, 100px) clamp(80px, 10vw, 140px); }
.ap-steps { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-bottom: 14px; }
.ap-steps li { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--stone-2); cursor: default; transition: color .3s; }
.ap-steps li span { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; }
.ap-steps li.on { color: var(--ivory); }
.ap-steps li.on span, .ap-steps li.done span { color: var(--gold); }
.ap-steps li.done { color: var(--stone); cursor: pointer; }
.ap-bar { height: 2px; background: var(--line-2); margin-bottom: 44px; overflow: hidden; border-radius: 2px; }
.ap-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-deep), var(--gold-2)); transform-origin: left; transform: scaleX(.2); transition: transform .6s var(--ease); }
.ap-step { display: none; border: 0; min-width: 0; }
.ap-step.on { display: block; animation: apIn .6s var(--ease); }
@keyframes apIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.ap-step legend { margin-bottom: 10px; float: left; width: 100%; }
.ap-step legend + * { clear: both; }
.ap-note { color: var(--stone); font-size: 15px; margin-bottom: 30px; max-width: 64ch; }
.ap-ai { margin: -10px 0 28px; padding: 18px 22px; border-radius: 16px; border: 1px solid var(--line-gold); background: linear-gradient(135deg, rgba(201, 164, 92, .12), rgba(10, 23, 36, .5)); max-width: 72ch; }
.ap-ai b { display: flex; align-items: center; gap: 10px; color: var(--gold-2); font-weight: 500; font-size: 15px; }
.ap-ai b::before { content: '✦'; color: var(--gold); }
.ap-ai ul { margin: 10px 0 8px 20px; color: var(--ivory-2); font-size: 14px; display: grid; gap: 4px; }
.ap-ai small { color: var(--stone); font-size: 12.5px; }
.ap-note.small { font-size: 12.5px; color: var(--stone-2); margin: 16px 0 26px; }
.apply .form { margin-top: 8px; }
.apply .field .err:empty { display: none; }
.apply .field.bad .err { display: block; }
.err.track-err, .err.kvkk-err { display: block; color: #e59a86; font-size: 13px; margin-top: 12px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.tracks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.track { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 28px 24px 26px; border: 1px solid var(--line-2); border-radius: 20px; cursor: pointer; transition: border-color .35s, background .35s; background: rgba(238, 231, 216, .02); }
.track:hover { border-color: var(--line-gold); }
.track input { position: absolute; opacity: 0; pointer-events: none; }
.track:has(input:checked) { border-color: var(--gold); background: linear-gradient(160deg, rgba(201, 164, 92, .14), rgba(201, 164, 92, .02)); }
.track:has(input:focus-visible) { outline: 1.5px solid var(--gold-2); outline-offset: 3px; }
.track::after { content: ""; position: absolute; top: 22px; right: 22px; width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--line-2); transition: all .3s; }
.track:has(input:checked)::after { border-color: var(--gold); background: radial-gradient(circle, var(--gold) 0 5px, transparent 6px); }
.tk-mono { width: 52px; height: 52px; border-radius: 14px; border: 1px solid var(--line-gold); display: grid; place-items: center; font-family: var(--serif); font-size: 24px; color: var(--gold-2); margin-bottom: 14px; }
.tk-t { font-family: var(--serif); font-size: 26px; color: var(--ivory); line-height: 1.1; }
.tk-s { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.tk-d { color: var(--stone); font-size: 14px; margin-top: 6px; }

.docs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.doc { border: 1px solid var(--line); border-radius: 18px; padding: 20px 20px 16px; background: rgba(238, 231, 216, .015); transition: border-color .3s; }
.doc.need { border-color: var(--line-gold); }
.doc.has { border-color: rgba(201, 164, 92, .6); background: rgba(201, 164, 92, .05); }
.doc-h { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.doc-t { font-weight: 500; color: var(--ivory); font-size: 15px; }
.doc-flag { font-family: var(--mono); font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--stone-2); flex: none; }
.doc.need .doc-flag { color: var(--gold); }
.doc-d { color: var(--stone); font-size: 13px; margin: 6px 0 14px; line-height: 1.5; }
.drop { position: relative; display: flex; align-items: center; justify-content: center; min-height: 64px; padding: 12px; border: 1px dashed var(--line-2); border-radius: 12px; color: var(--stone); font-size: 13.5px; text-align: center; cursor: pointer; transition: border-color .3s, background .3s, color .3s; }
.drop:hover, .drop.over { border-color: var(--gold); color: var(--ivory); background: rgba(201, 164, 92, .06); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop u { color: var(--gold-2); text-underline-offset: 3px; }
.doc-files { list-style: none; margin-top: 10px; display: grid; gap: 6px; }
.doc-files li, .tk-files li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; align-items: center; font-size: 13px; padding: 8px 10px; border-radius: 10px; background: rgba(238, 231, 216, .04); }
.doc-files .fn, .tk-files .fn { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ivory-2); }
.doc-files .fs, .tk-files .fs { font-family: var(--mono); font-size: 11px; color: var(--stone-2); }
.fx { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line-2); background: none; color: var(--stone); cursor: pointer; font-size: 16px; line-height: 1; }
.fx:hover { border-color: #c9735f; color: #f0b7a8; }
.ap-consent { margin-top: 10px; }
.check { display: flex; gap: 14px; align-items: flex-start; font-size: 14px; color: var(--ivory-2); cursor: pointer; line-height: 1.55; }
.check input { flex: none; appearance: none; -webkit-appearance: none; width: 20px; height: 20px; margin-top: 2px; border: 1px solid var(--line-2); border-radius: 6px; cursor: pointer; transition: all .25s; }
.check input:checked { background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%2304090f' stroke-width='2.2'%3E%3Cpath d='m5 10.5 3.2 3.2L15 7'/%3E%3C/svg%3E") center / 16px no-repeat; border-color: var(--gold); }
.ap-nav { display: flex; align-items: center; gap: 14px; margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line); }
.ap-nav [data-next], .ap-nav [data-submit] { margin-left: auto; }
.ap-nav [hidden] { display: none; }
.ap-draft { font-size: 12px; color: var(--stone-2); }
.ap-progress { display: flex; align-items: center; gap: 14px; margin-top: 20px; font-family: var(--mono); font-size: 11.5px; color: var(--gold-2); }
.ap-progress[hidden] { display: none; }
.ap-progress .pg { flex: 1; height: 4px; border-radius: 4px; background: var(--line-2); overflow: hidden; }
.ap-progress .pg i { display: block; height: 100%; background: var(--gold); transform-origin: left; transform: scaleX(0); transition: transform .2s; }
.ap-aside { position: sticky; top: 120px; display: grid; gap: 16px; }
.ap-flow { list-style: none; display: grid; gap: 16px; }
.ap-flow li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; }
.ap-flow li > span { font-family: var(--mono); font-size: 11px; color: var(--gold); padding-top: 3px; }
.ap-flow b { font-weight: 500; color: var(--ivory); font-size: 14.5px; }
.ap-flow p { color: var(--stone); font-size: 13px; margin-top: 2px; }
.need-list { list-style: none; display: grid; gap: 8px; }
.need-list li { position: relative; padding-left: 18px; font-size: 13.5px; color: var(--ivory-2); }
.need-list li[hidden] { display: none; }
.need-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); }
.ap-done { padding: clamp(30px, 5vw, 60px); border: 1px solid var(--line-gold); border-radius: 26px; background: linear-gradient(160deg, rgba(201, 164, 92, .1), rgba(201, 164, 92, .01)); }
.ap-done[hidden], .ap-steps[hidden], .ap-bar[hidden], #apply-form[hidden] { display: none; }
.ok-mark { width: 64px; height: 64px; color: var(--gold-2); margin-bottom: 26px; }
.ap-done .lead { margin-top: 14px; }
.ap-done .ref { margin-top: 34px; display: flex; flex-direction: column; gap: 6px; }
.ap-done .ref .mono, .ap-done .plink .mono { color: var(--gold); }
.ap-done .ref b { font-family: var(--serif); font-weight: 400; font-size: 44px; color: var(--ivory); letter-spacing: .01em; }
.plink { margin-top: 28px; }
.plink-row { display: flex; gap: 8px; margin-top: 10px; padding: 6px; border: 1px solid var(--line-2); border-radius: 999px; }
.plink-row input { flex: 1; min-width: 0; background: none; border: 0; outline: none; padding: 0 14px; color: var(--ivory); font-family: var(--mono); font-size: 12.5px; }
.plink p { color: var(--stone); font-size: 13.5px; margin-top: 10px; max-width: 60ch; }
/* tracking */
.tk-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line); margin-bottom: 40px; }
.tk-grid > div { padding: 22px 20px 22px 0; display: flex; flex-direction: column; gap: 6px; }
.tk-grid > div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.tk-grid .mono { color: var(--gold); }
.tk-grid b { font-family: var(--serif); font-weight: 400; font-size: 26px; color: var(--ivory); }
.st[data-st="Eksik Belge"] { color: #f0b7a8 !important; }
.tk-req { padding: 24px; border: 1px solid rgba(201, 115, 95, .5); border-radius: 18px; background: rgba(201, 115, 95, .06); margin-bottom: 36px; }
.tk-req[hidden] { display: none; }
.tk-req ul { list-style: none; margin-top: 12px; display: grid; gap: 6px; color: var(--ivory-2); }
.tk-h { margin-bottom: 14px; }
.tk-files { list-style: none; display: grid; gap: 6px; margin-bottom: 44px; }
.tk-files li { grid-template-columns: minmax(0, 180px) minmax(0, 1fr) auto; }
.tk-files .fd { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.tk-files .empty-li { display: block; color: var(--stone); background: none; padding-left: 0; }
.tk-form { border: 1px solid var(--line-2); border-radius: 22px; padding: clamp(22px, 3vw, 36px); }
.tk-form .form { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); align-items: end; margin: 18px 0 6px; }
@media (max-width: 1100px) { .apply { grid-template-columns: minmax(0, 1fr); } .ap-aside { position: relative; top: 0; } }
@media (max-width: 720px) {
  .ap-steps { gap: 4px; }
  .ap-steps li { font-size: 0; }
  .ap-steps li.on { font-size: 12px; }
  .ap-steps li span { font-size: 11px; }
  .tracks, .docs { grid-template-columns: minmax(0, 1fr); }
  .ap-nav { flex-wrap: wrap; }
  .ap-draft { order: 3; width: 100%; text-align: center; }
  .ap-nav .btn { flex: 1; justify-content: center; }
  .tk-grid { grid-template-columns: minmax(0, 1fr); }
  .tk-grid > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .tk-form .form { grid-template-columns: minmax(0, 1fr); }
  .tk-files li { grid-template-columns: minmax(0, 1fr) auto; }
  .tk-files .fd { grid-column: 1 / -1; }
  .ap-done .ref b { font-size: 34px; }
}

/* =================== market board =================== */
.mkt { position: relative; padding-block: clamp(64px, 8vw, 110px) clamp(56px, 7vw, 96px); background: linear-gradient(180deg, var(--ink-950), var(--ink-900)); border-bottom: 1px solid var(--line); }
.mkt-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 34px; }
.mkt-head .h2 { margin-top: 16px; }
.mkt-meta { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--stone); }
.live { width: 8px; height: 8px; border-radius: 50%; background: #86c79f; box-shadow: 0 0 0 0 rgba(134, 199, 159, .6); animation: live 2s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 9px rgba(134, 199, 159, 0); } 100% { box-shadow: 0 0 0 0 rgba(134, 199, 159, 0); } }
.mkt-grid { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); border: 1px solid var(--line-2); border-radius: 22px; overflow: hidden; background: rgba(238, 231, 216, .015); }
.mk { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 20px 18px 16px; min-height: 176px; border-left: 1px solid var(--line); transition: background .5s var(--ease); }
.mk:first-child { border-left: 0; }
.mk:hover { background: rgba(201, 164, 92, .05); }
.mk-feat { background: linear-gradient(170deg, rgba(201, 164, 92, .13), rgba(201, 164, 92, .02)); }
.mk-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.mk-n { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; color: var(--gold); white-space: nowrap; }
.mk-c { font-family: var(--mono); font-size: 11px; color: var(--stone); white-space: nowrap; font-variant-numeric: tabular-nums; }
.mk.up .mk-c { color: #86c79f; }
.mk.dn .mk-c { color: #e4917f; }
.mk-p { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 1.75vw, 32px); color: var(--ivory); line-height: 1.15; margin-top: 10px; font-variant-numeric: tabular-nums; letter-spacing: -.01em; white-space: nowrap; transition: color .6s; }
.mk.up-f .mk-p { animation: flashUp 1.4s var(--ease); }
.mk.dn-f .mk-p { animation: flashDn 1.4s var(--ease); }
@keyframes flashUp { 0% { color: #a7e0bd; } 100% { color: var(--ivory); } }
@keyframes flashDn { 0% { color: #f0b0a2; } 100% { color: var(--ivory); } }
.mk-l { font-size: 12.5px; color: var(--stone); }
.mk-s { width: 100%; height: 34px; margin-top: auto; padding-top: 12px; overflow: visible; }
.mk-s .l { fill: none; stroke: var(--gold-2); stroke-width: 1.3; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.mk-t { font-family: var(--mono); font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--stone-2); margin-top: 4px; }
.mk.sk .mk-p, .mk.sk .mk-c { color: transparent; background: linear-gradient(90deg, rgba(238, 231, 216, .05), rgba(238, 231, 216, .12), rgba(238, 231, 216, .05)); background-size: 200% 100%; animation: skel 1.4s linear infinite; border-radius: 6px; }
.mk.sk .mk-p { width: 70%; }
@keyframes skel { to { background-position: -200% 0; } }
.mk.na .mk-p { color: var(--stone-2); }
.mkt-note { margin-top: 16px; font-size: 12px; color: var(--stone-2); }
@media (max-width: 1560px) {
  .mkt-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mk { border-left: 1px solid var(--line); border-top: 1px solid var(--line); min-height: 150px; }
  .mk:nth-child(3n + 1) { border-left: 0; }
  .mk:nth-child(-n + 3) { border-top: 0; }
  .mk-s { max-width: 260px; }
}
@media (max-width: 720px) {
  .mkt-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 18px; }
  .mkt-grid::-webkit-scrollbar { display: none; }
  .mk { flex: 0 0 62%; scroll-snap-align: start; border-top: 0 !important; border-left: 1px solid var(--line) !important; min-height: 160px; }
  .mk:first-child { border-left: 0 !important; }
  .mkt-head { margin-bottom: 24px; }
}
.mk-p .cur { font-family: var(--sans); font-size: .56em; font-weight: 400; color: var(--gold-2); margin-right: 3px; vertical-align: .32em; }
@media (min-width: 721px) and (max-width: 1560px) {
  .mk { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 46%); grid-template-rows: auto auto auto 1fr; column-gap: 22px; align-content: start; }
  .mk-top { grid-column: 1 / -1; }
  .mk-p { grid-column: 1; }
  .mk-l { grid-column: 1; }
  .mk-t { grid-column: 1; align-self: end; }
  .mk-s { grid-column: 2; grid-row: 2 / 5; max-width: none; height: 64px; align-self: center; margin: 0; padding: 0; }
}

/* buttons inside article prose keep their own colours */
.prose a.btn { color: var(--fg); border: 1px solid var(--bd); }
.prose a.btn:hover { color: var(--ink-950); border-color: var(--gold); }
.prose a.btn-gold:hover { color: var(--ink-950); }

.ftr-credit { justify-content: center; text-align: center; }

/* six market clocks */
.clocks { grid-template-columns: repeat(6, minmax(0, 1fr)); }
@media (max-width: 1500px) { .tb-clocks { display: none; } }
@media (max-width: 1100px) { .clocks { grid-template-columns: repeat(3, minmax(0, 1fr)); } .clock:nth-child(4) { padding-left: 0; border-left: 0; } .clock:nth-child(n+4) { border-top: 1px solid var(--line); } }
@media (max-width: 720px) {
  .clocks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .clock:nth-child(5) { grid-column: auto; }
  .clock:nth-child(odd) { padding-left: 0; border-left: 0; }
  .clock:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
  .clock:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* eight market clocks (west → east) */
.clocks { grid-template-columns: repeat(8, minmax(0, 1fr)); }
.clock { padding-right: 12px; }
.clock + .clock { padding-left: 16px; }
.clock .c-time { font-size: clamp(22px, 1.9vw, 30px); }
.clock .c-role { font-size: 11.5px; line-height: 1.35; }
@media (max-width: 1500px) { .tb-clocks { display: flex; } }
@media (max-width: 1320px) { .tb-clocks { display: none; } }
@media (max-width: 1400px) {
  .clocks { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .clock:nth-child(4n + 1) { padding-left: 0; border-left: 0; }
  .clock:nth-child(n + 5) { border-top: 1px solid var(--line); }
  .clock:nth-child(4) { padding-left: 16px; border-left: 1px solid var(--line); }
}
@media (max-width: 720px) {
  .clocks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .clock:nth-child(odd) { padding-left: 0; border-left: 0; }
  .clock:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
  .clock:nth-child(n + 3) { border-top: 1px solid var(--line); }
}
