/* ============================================================
   Andisheh Sazan Nabard — design system
   Dark premium · Didara blue #0174E9 · Vazirmatn · RTL-first
   ============================================================ */

@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-Light.woff2") format("woff2");
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-Regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-Medium.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-SemiBold.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-Bold.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-ExtraBold.woff2") format("woff2");
  font-weight: 800; font-style: normal; font-display: swap;
}

:root {
  --bg: #05080e;
  --bg-2: #080d16;
  --panel: #0b1220;
  --panel-2: #0e1626;
  --line: rgba(148, 178, 220, 0.13);
  --line-strong: rgba(148, 178, 220, 0.24);
  --text: #eaf1f9;
  --muted: #9db0c7;
  --faint: #647b96;
  --blue: #0174e9;
  --blue-2: #2f9bff;
  --blue-soft: rgba(1, 116, 233, 0.12);
  --grad: linear-gradient(135deg, #0174e9 0%, #00a3ff 55%, #38c8ff 100%);
  --radius: 20px;
  --radius-s: 14px;
  --maxw: 1180px;
  --header-h: 76px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --ease: cubic-bezier(0.22, 0.9, 0.28, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Vazirmatn", "Segoe UI", Tahoma, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.9;
  font-size: 16.5px;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: rgba(1, 116, 233, 0.45); color: #fff; }

a { color: inherit; text-decoration: none; }
img, svg { display: block; }
ul { list-style: none; }

.wrap { width: min(var(--maxw), 100% - 3rem); margin-inline: auto; }

.skip-link {
  position: absolute; inset-inline-start: 1rem; top: -100px; z-index: 200;
  background: var(--blue); color: #fff; padding: 0.5rem 1rem; border-radius: 10px;
  transition: top 0.25s var(--ease);
}
.skip-link:focus { top: 0.75rem; }

/* ---------- backdrop atmosphere ---------- */
.atmosphere {
  position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none;
  background:
    radial-gradient(1100px 550px at 85% -10%, rgba(1, 116, 233, 0.16), transparent 60%),
    radial-gradient(900px 500px at 0% 30%, rgba(0, 163, 255, 0.07), transparent 55%),
    radial-gradient(1000px 700px at 50% 115%, rgba(1, 116, 233, 0.09), transparent 60%),
    var(--bg);
}
.atmosphere::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(120, 165, 225, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 165, 225, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 30%, transparent 75%);
}

/* ---------- header ---------- */
.site-header {
  position: fixed; inset-inline: 0; top: 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), backdrop-filter 0.35s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(6, 10, 17, 0.82);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom-color: var(--line);
}
.header-in { display: flex; align-items: center; gap: 2rem; width: min(var(--maxw), 100% - 3rem); margin-inline: auto; }
.brand { display: flex; align-items: center; gap: 0.8rem; flex-shrink: 0; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0;
  background: var(--grad); display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(1, 116, 233, 0.4);
}
.brand-mark svg { width: 26px; height: 26px; }
.brand-text { line-height: 1.35; }
.brand-text strong { font-size: 1.02rem; font-weight: 700; display: block; }
.brand-text span { font-size: 0.72rem; color: var(--muted); font-weight: 400; letter-spacing: 0.01em; }

.main-nav { margin-inline-start: auto; }
.main-nav ul { display: flex; gap: 1.9rem; align-items: center; }
.main-nav a {
  font-size: 0.94rem; font-weight: 500; color: var(--muted);
  padding: 0.35rem 0; position: relative; transition: color 0.25s;
}
.main-nav a::after {
  content: ""; position: absolute; bottom: 0; inset-inline-start: 0; height: 2px; width: 0;
  background: var(--grad); border-radius: 2px; transition: width 0.3s var(--ease);
}
.main-nav a:hover, .main-nav a:focus-visible { color: var(--text); }
.main-nav a:hover::after, .main-nav a:focus-visible::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 0.7rem; margin-inline-start: 1.4rem; }
.lang-toggle {
  font-family: inherit; cursor: pointer; background: transparent; color: var(--muted);
  border: 1px solid var(--line-strong); border-radius: 999px; padding: 0.34rem 0.95rem;
  font-size: 0.85rem; font-weight: 600; transition: all 0.25s; line-height: 1.6;
}
.lang-toggle:hover { color: var(--text); border-color: var(--blue-2); }
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem; cursor: pointer;
  font-family: inherit; font-weight: 600; font-size: 0.95rem; line-height: 1.6;
  border-radius: 999px; padding: 0.62rem 1.5rem; border: 1px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s, background 0.25s, border-color 0.25s, color 0.25s;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 30px rgba(1, 116, 233, 0.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 38px rgba(1, 116, 233, 0.45); }
.btn-ghost { background: rgba(148, 178, 220, 0.05); color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--blue-2); transform: translateY(-2px); }
.btn-sm { padding: 0.45rem 1.15rem; font-size: 0.88rem; }

.nav-burger {
  display: none; margin-inline-start: 0.4rem; background: transparent; border: 1px solid var(--line-strong);
  border-radius: 10px; width: 42px; height: 42px; cursor: pointer; place-items: center;
}
.nav-burger svg { width: 20px; height: 20px; stroke: var(--text); }

/* ---------- generic section ---------- */
section { position: relative; }
.section { padding: 7.5rem 0; }
.section-head { max-width: 720px; margin-bottom: 3.4rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.55rem; font-size: 0.83rem; font-weight: 600;
  color: var(--blue-2); background: var(--blue-soft); border: 1px solid rgba(47, 155, 255, 0.25);
  padding: 0.28rem 0.95rem; border-radius: 999px; margin-bottom: 1.3rem; line-height: 1.7;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue-2); }
h1, h2, h3 { line-height: 1.45; font-weight: 800; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin-bottom: 1rem; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.lead { color: var(--muted); font-size: 1.08rem; }
strong.hl, .hl { color: var(--text); font-weight: 600; }

/* reveal animation */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; } .reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; } .reveal.d4 { transition-delay: 0.32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- hero ---------- */
.hero { padding: calc(var(--header-h) + 5.5rem) 0 6.5rem; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 4rem; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.6rem; font-size: 0.86rem; font-weight: 500;
  color: var(--muted); border: 1px solid var(--line-strong); border-radius: 999px;
  padding: 0.4rem 1.05rem; margin-bottom: 1.8rem; background: rgba(11, 18, 32, 0.55); line-height: 1.7;
}
.hero-badge b { color: var(--text); font-weight: 600; }
.hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.1rem); font-weight: 800; line-height: 1.35; margin-bottom: 1.4rem; }
.hero h1 .grad-text {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { color: var(--muted); font-size: 1.13rem; max-width: 34rem; margin-bottom: 2.4rem; }
.hero-cta { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-bottom: 3rem; }
.hero-meta { display: flex; gap: 2.2rem; flex-wrap: wrap; }
.hero-meta .item { line-height: 1.6; }
.hero-meta .item b { display: block; font-size: 0.98rem; font-weight: 700; }
.hero-meta .item span { font-size: 0.82rem; color: var(--faint); }

/* hero visual — Didara composition */
.hero-visual { position: relative; }
.hero-card {
  position: relative; border-radius: 28px; padding: 2.2rem;
  background: linear-gradient(160deg, rgba(20, 34, 58, 0.85), rgba(8, 13, 22, 0.92));
  border: 1px solid var(--line-strong); box-shadow: var(--shadow); overflow: hidden;
}
.hero-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(420px 240px at 80% 0%, rgba(1, 116, 233, 0.28), transparent 65%);
  pointer-events: none;
}
.hero-card-top { display: flex; align-items: center; gap: 1.1rem; margin-bottom: 1.9rem; position: relative; }
.didara-mark {
  width: 64px; height: 64px; border-radius: 18px; background: var(--grad);
  display: grid; place-items: center; box-shadow: 0 14px 34px rgba(1, 116, 233, 0.45); flex-shrink: 0;
}
.didara-mark svg { width: 40px; height: 40px; }
.hero-card-top h3 { font-size: 1.5rem; }
.hero-card-top p { color: var(--muted); font-size: 0.9rem; line-height: 1.7; }
.hero-apps { display: grid; gap: 0.65rem; position: relative; }
.hero-apps li {
  display: flex; align-items: center; gap: 0.85rem; padding: 0.72rem 1rem;
  background: rgba(148, 178, 220, 0.05); border: 1px solid var(--line); border-radius: var(--radius-s);
  font-size: 0.95rem; font-weight: 500; transition: border-color 0.3s, background 0.3s, transform 0.3s var(--ease);
}
.hero-apps li:hover { border-color: rgba(47, 155, 255, 0.45); background: rgba(1, 116, 233, 0.09); transform: translateX(-4px); }
html[dir="ltr"] .hero-apps li:hover { transform: translateX(4px); }
.hero-apps .ic {
  width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0; display: grid; place-items: center;
  background: var(--blue-soft); border: 1px solid rgba(47, 155, 255, 0.22);
}
.hero-apps .ic svg { width: 19px; height: 19px; stroke: var(--blue-2); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hero-apps small { margin-inline-start: auto; color: var(--faint); font-size: 0.78rem; font-weight: 400; }
.hero-chip {
  position: absolute; display: flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; font-weight: 600;
  background: rgba(10, 17, 29, 0.9); border: 1px solid var(--line-strong); border-radius: 999px;
  padding: 0.45rem 1rem; box-shadow: 0 14px 34px rgba(0, 0, 0, 0.5); backdrop-filter: blur(8px); line-height: 1.6;
}
.hero-chip .dot { width: 7px; height: 7px; border-radius: 50%; background: #2fd48a; box-shadow: 0 0 0 4px rgba(47, 212, 138, 0.15); }
.hero-chip.c1 { top: -18px; inset-inline-end: 8%; }
.hero-chip.c2 { bottom: -16px; inset-inline-start: 6%; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.hero-chip { animation: floaty 6s ease-in-out infinite; }
.hero-chip.c2 { animation-delay: 2.4s; }
@media (prefers-reduced-motion: reduce) { .hero-chip { animation: none; } }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3.5rem; align-items: start; }
.about-copy p { color: var(--muted); margin-bottom: 1.3rem; font-size: 1.04rem; }
.about-copy p:last-child { margin-bottom: 0; }
.holding-card {
  border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 2rem;
  background: linear-gradient(165deg, var(--panel-2), var(--panel)); position: relative; overflow: hidden;
}
.holding-card::before {
  content: ""; position: absolute; top: 0; inset-inline: 0; height: 3px; background: var(--grad);
}
.holding-card .tag { font-size: 0.8rem; color: var(--blue-2); font-weight: 600; margin-bottom: 0.7rem; }
.holding-card h3 { font-size: 1.3rem; margin-bottom: 0.8rem; }
.holding-card p { color: var(--muted); font-size: 0.96rem; margin-bottom: 1.4rem; }
.text-link { color: var(--blue-2); font-weight: 600; font-size: 0.94rem; display: inline-flex; align-items: center; gap: 0.4rem; }
.text-link svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; transition: transform 0.25s var(--ease); }
.text-link:hover svg { transform: translateX(-3px); }
html[dir="ltr"] .text-link:hover svg { transform: translateX(3px) scaleX(-1); }
html[dir="ltr"] .text-link svg { transform: scaleX(-1); }

/* ---------- didara flagship ---------- */
.didara-band {
  border-block: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(1, 116, 233, 0.05), rgba(1, 116, 233, 0.015) 55%, transparent);
}
.didara-head { display: flex; align-items: flex-end; gap: 2.5rem; flex-wrap: wrap; margin-bottom: 3.2rem; }
.didara-head .section-head { margin-bottom: 0; flex: 1 1 480px; }
.didara-logo-lock { display: flex; align-items: center; gap: 1.1rem; }
.didara-logo-lock .didara-mark { width: 74px; height: 74px; border-radius: 20px; }
.didara-logo-lock .didara-mark svg { width: 46px; height: 46px; }
.didara-logo-lock .name { font-size: 2rem; font-weight: 800; line-height: 1.3; }
.didara-logo-lock .url { color: var(--faint); font-size: 0.9rem; direction: ltr; unicode-bidi: embed; }
.five-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.five-card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem 1.3rem 1.5rem;
  background: rgba(11, 18, 32, 0.6); transition: transform 0.35s var(--ease), border-color 0.35s, background 0.35s;
  position: relative; overflow: hidden;
}
.five-card::after {
  content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 2px;
  background: var(--grad); transform: scaleX(0); transform-origin: inset-inline-end; transition: transform 0.4s var(--ease);
}
html[dir="ltr"] .five-card::after { transform-origin: left; }
.five-card:hover { transform: translateY(-6px); border-color: rgba(47, 155, 255, 0.4); background: rgba(13, 22, 38, 0.9); }
.five-card:hover::after { transform: scaleX(1); }
.five-card .ic {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 1.1rem;
  background: var(--blue-soft); border: 1px solid rgba(47, 155, 255, 0.22);
}
.five-card .ic svg { width: 24px; height: 24px; stroke: var(--blue-2); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.five-card h3 { font-size: 1.12rem; margin-bottom: 0.5rem; }
.five-card p { color: var(--muted); font-size: 0.88rem; line-height: 1.85; }
.didara-foot { margin-top: 2.6rem; display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.didara-foot p { color: var(--muted); font-size: 0.98rem; }

/* ---------- fields ---------- */
.fields-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.field-card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 2.1rem 1.8rem;
  background: linear-gradient(170deg, rgba(16, 26, 44, 0.65), rgba(9, 14, 24, 0.65));
  transition: transform 0.35s var(--ease), border-color 0.35s;
}
.field-card:hover { transform: translateY(-5px); border-color: rgba(47, 155, 255, 0.38); }
.field-card .num {
  font-size: 0.82rem; font-weight: 700; color: var(--blue-2); letter-spacing: 0.14em;
  display: block; margin-bottom: 1.2rem; direction: ltr; text-align: end; unicode-bidi: embed;
}
html[dir="rtl"] .field-card .num { text-align: left; }
.field-card h3 { font-size: 1.22rem; margin-bottom: 0.7rem; }
.field-card p { color: var(--muted); font-size: 0.95rem; }
.field-card ul { margin-top: 1.1rem; display: grid; gap: 0.45rem; }
.field-card ul li { color: var(--muted); font-size: 0.9rem; display: flex; gap: 0.55rem; align-items: baseline; }
.field-card ul li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--blue-2); flex-shrink: 0; transform: translateY(-2px); }

/* ---------- leadership ---------- */
.leaders-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.leader-card {
  display: flex; gap: 1.6rem; align-items: flex-start; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 2.1rem; background: rgba(11, 18, 32, 0.6);
  transition: transform 0.35s var(--ease), border-color 0.35s;
}
.leader-card:hover { transform: translateY(-4px); border-color: rgba(47, 155, 255, 0.4); }
.monogram {
  width: 88px; height: 88px; border-radius: 24px; flex-shrink: 0; display: grid; place-items: center;
  font-size: 1.9rem; font-weight: 800; color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(150deg, #123a6b, #0a1f3d); border: 1px solid var(--line-strong);
}
.monogram::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120px 80px at 80% 0%, rgba(47, 155, 255, 0.35), transparent 70%); }
.monogram span { position: relative; z-index: 1; }
.leader-card h3 { font-size: 1.35rem; margin-bottom: 0.25rem; }
.leader-card .role { color: var(--blue-2); font-weight: 600; font-size: 0.95rem; margin-bottom: 0.7rem; }
.leader-card p { color: var(--muted); font-size: 0.94rem; margin-bottom: 1.1rem; }

/* ---------- invest ---------- */
.invest-band {
  border-radius: 28px; padding: 3.4rem; position: relative; overflow: hidden;
  background: linear-gradient(150deg, #0a1c38, #071224 60%, #050b16);
  border: 1px solid rgba(47, 155, 255, 0.28);
}
.invest-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(560px 300px at 12% 0%, rgba(1, 116, 233, 0.3), transparent 65%);
  pointer-events: none;
}
.invest-in { position: relative; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 3rem; align-items: center; }
.invest-in h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 1rem; }
.invest-in p { color: #b9cadd; font-size: 1.02rem; margin-bottom: 1rem; }
.invest-points { display: grid; gap: 0.9rem; }
.invest-points li {
  display: flex; gap: 0.8rem; align-items: flex-start; background: rgba(148, 178, 220, 0.05);
  border: 1px solid var(--line); border-radius: var(--radius-s); padding: 1rem 1.2rem; font-size: 0.95rem;
}
.invest-points .ic { width: 34px; height: 34px; border-radius: 9px; background: var(--blue-soft); display: grid; place-items: center; flex-shrink: 0; }
.invest-points .ic svg { width: 18px; height: 18px; stroke: var(--blue-2); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.invest-points b { display: block; font-size: 0.97rem; }
.invest-points span { color: var(--muted); font-size: 0.88rem; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 3rem; align-items: start; }
.contact-info { display: grid; gap: 1rem; }
.contact-item {
  display: flex; gap: 1rem; align-items: flex-start; border: 1px solid var(--line);
  border-radius: var(--radius-s); padding: 1.2rem 1.3rem; background: rgba(11, 18, 32, 0.55);
}
.contact-item .ic { width: 42px; height: 42px; border-radius: 11px; background: var(--blue-soft); display: grid; place-items: center; flex-shrink: 0; }
.contact-item .ic svg { width: 20px; height: 20px; stroke: var(--blue-2); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.contact-item b { display: block; font-size: 0.95rem; margin-bottom: 0.15rem; }
.contact-item span, .contact-item a.val { color: var(--muted); font-size: 0.93rem; }
.contact-item a.val:hover { color: var(--blue-2); }
.ltr { direction: ltr; unicode-bidi: embed; }

.contact-form {
  border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 2rem;
  background: linear-gradient(165deg, var(--panel-2), var(--panel));
}
.contact-form h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.contact-form .note { color: var(--faint); font-size: 0.85rem; margin-bottom: 1.5rem; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.f-group { margin-bottom: 1rem; }
.f-group label { display: block; font-size: 0.88rem; font-weight: 500; margin-bottom: 0.45rem; }
.f-group input, .f-group textarea {
  width: 100%; font-family: inherit; font-size: 0.95rem; color: var(--text);
  background: rgba(5, 8, 14, 0.6); border: 1px solid var(--line-strong); border-radius: 12px;
  padding: 0.7rem 1rem; outline: none; transition: border-color 0.25s, box-shadow 0.25s; line-height: 1.7;
}
.f-group textarea { min-height: 130px; resize: vertical; }
.f-group input:focus, .f-group textarea:focus { border-color: var(--blue-2); box-shadow: 0 0 0 3px rgba(1, 116, 233, 0.18); }
.form-status { font-size: 0.9rem; margin-top: 1rem; min-height: 1.6em; color: #2fd48a; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 4rem 0 2.2rem; background: rgba(4, 6, 11, 0.6); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem; }
.footer-grid p { color: var(--muted); font-size: 0.92rem; max-width: 26rem; margin-top: 1rem; }
.footer-grid h4 { font-size: 1rem; margin-bottom: 1.1rem; }
.footer-grid ul { display: grid; gap: 0.6rem; }
.footer-grid ul a { color: var(--muted); font-size: 0.93rem; transition: color 0.25s; }
.footer-grid ul a:hover { color: var(--blue-2); }
.footer-bottom {
  border-top: 1px solid var(--line); padding-top: 1.6rem; display: flex; gap: 1rem; flex-wrap: wrap;
  align-items: center; justify-content: space-between; color: var(--faint); font-size: 0.85rem;
}

/* ---------- person pages ---------- */
.page-hero { padding: calc(var(--header-h) + 4.5rem) 0 3.5rem; }
.breadcrumb { display: flex; gap: 0.5rem; align-items: center; color: var(--faint); font-size: 0.88rem; margin-bottom: 2.2rem; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--blue-2); }
.breadcrumb svg { width: 14px; height: 14px; stroke: var(--faint); fill: none; stroke-width: 2; }
.person-head { display: flex; gap: 2.2rem; align-items: center; flex-wrap: wrap; }
.person-head .monogram { width: 120px; height: 120px; border-radius: 30px; font-size: 2.6rem; }
.person-head h1 { font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: 0.4rem; }
.person-head .role { color: var(--blue-2); font-weight: 600; font-size: 1.08rem; margin-bottom: 0.5rem; }
.person-head .tagline { color: var(--muted); max-width: 40rem; }
.person-layout { display: grid; grid-template-columns: 1fr 330px; gap: 3rem; align-items: start; padding-bottom: 6rem; }
.person-body h2 { font-size: 1.45rem; margin: 2.6rem 0 1rem; }
.person-body h2:first-child { margin-top: 0; }
.person-body p { color: var(--muted); margin-bottom: 1.15rem; font-size: 1.02rem; }
.person-body ul.checks { display: grid; gap: 0.55rem; margin-bottom: 1.2rem; }
.person-body ul.checks li { color: var(--muted); display: flex; gap: 0.6rem; align-items: baseline; }
.person-body ul.checks li::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--blue-2); flex-shrink: 0; transform: translateY(-2px); }
.timeline { display: grid; gap: 0; margin-bottom: 1.4rem; }
.timeline .t-item { display: flex; gap: 1.2rem; padding: 1.05rem 0; border-bottom: 1px dashed var(--line); }
.timeline .t-item:last-child { border-bottom: 0; }
.timeline .t-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--blue-soft); border: 1px solid rgba(47, 155, 255, 0.22); display: grid; place-items: center; flex-shrink: 0; }
.timeline .t-ic svg { width: 21px; height: 21px; stroke: var(--blue-2); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.timeline b { display: block; font-size: 1rem; }
.timeline span { color: var(--muted); font-size: 0.92rem; }
.fact-card {
  border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 1.7rem;
  background: linear-gradient(165deg, var(--panel-2), var(--panel)); position: sticky; top: calc(var(--header-h) + 1.5rem);
}
.fact-card h3 { font-size: 1.05rem; margin-bottom: 1.2rem; padding-bottom: 0.9rem; border-bottom: 1px solid var(--line); }
.fact-row { display: grid; gap: 0.2rem; padding: 0.65rem 0; border-bottom: 1px dashed var(--line); }
.fact-row:last-of-type { border-bottom: 0; }
.fact-row dt { color: var(--faint); font-size: 0.8rem; }
.fact-row dd { font-size: 0.95rem; font-weight: 500; }
.fact-card .btn { width: 100%; justify-content: center; margin-top: 1.3rem; }
.book-card {
  display: flex; gap: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem; background: rgba(11, 18, 32, 0.6); margin: 1.4rem 0; align-items: flex-start;
}
.book-spine {
  width: 74px; min-height: 150px; border-radius: 8px 14px 14px 8px; flex-shrink: 0;
  background: linear-gradient(160deg, #0d4d94, #0174e9 60%, #38c8ff); position: relative;
  box-shadow: inset -6px 0 12px rgba(0, 0, 0, 0.35), 0 16px 30px rgba(1, 116, 233, 0.3);
  display: grid; place-items: center; padding: 0.6rem;
}
html[dir="ltr"] .book-spine { border-radius: 14px 8px 8px 14px; box-shadow: inset 6px 0 12px rgba(0, 0, 0, 0.35), 0 16px 30px rgba(1, 116, 233, 0.3); }
.book-spine span { color: #fff; font-weight: 800; font-size: 0.82rem; text-align: center; line-height: 1.8; }
.book-card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.book-card p { font-size: 0.94rem; }
.book-meta { display: flex; gap: 1.4rem; flex-wrap: wrap; margin-top: 0.9rem; }
.book-meta span { font-size: 0.85rem; color: var(--faint); }
.book-meta b { color: var(--text); font-weight: 600; }
.sources { margin-top: 2.8rem; border-top: 1px solid var(--line); padding-top: 1.6rem; }
.sources h3 { font-size: 1rem; margin-bottom: 0.9rem; }
.sources ul { display: grid; gap: 0.5rem; }
.sources a { color: var(--muted); font-size: 0.9rem; }
.sources a:hover { color: var(--blue-2); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .five-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-grid { grid-template-columns: 1fr; gap: 3.5rem; }
  .hero-visual { max-width: 560px; }
  .person-layout { grid-template-columns: 1fr; }
  .fact-card { position: static; order: -1; }
}
@media (max-width: 860px) {
  .main-nav {
    position: fixed; inset-inline: 0; top: var(--header-h); z-index: 99;
    background: rgba(6, 10, 17, 0.97); backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line); padding: 1.2rem 1.5rem 1.6rem;
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: all 0.3s var(--ease);
  }
  .main-nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0.4rem; }
  .main-nav a { display: block; padding: 0.6rem 0.4rem; font-size: 1rem; }
  .nav-burger { display: grid; }
  .header-actions { margin-inline-start: auto; }
  .header-actions .btn { display: none; }
  .about-grid, .contact-grid, .invest-in { grid-template-columns: 1fr; }
  .fields-grid { grid-template-columns: 1fr; }
  .leaders-grid { grid-template-columns: 1fr; }
  .five-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 5rem 0; }
  .invest-band { padding: 2.2rem 1.5rem; }
  .f-row { grid-template-columns: 1fr; }
  .leader-card { flex-direction: column; }
  .book-card { flex-direction: column; }
}
@media (max-width: 480px) {
  body { font-size: 15.5px; }
  .five-grid { grid-template-columns: 1fr; }
  .hero-meta { gap: 1.3rem; }
  .brand-text span { display: none; }
  .hero-chip.c1 { inset-inline-end: 0; }
}
