/* ============================================================
   Conrad Kongkal Sangma — Premium Editorial Portfolio
   Custom design system. Cinematic. Editorial. Futuristic.
   ============================================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--ink);
  color: var(--paper);
  line-height: 1.6;
  overflow-x: hidden;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: 0.01em;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .35s ease; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; }
::selection { background: var(--gold); color: var(--ink); }

/* ---------- Tokens ---------- */
:root {
  --ink: #0a0d0b;
  --ink-2: #0f1410;
  --ink-3: #161c17;
  --paper: #efeadd;
  --paper-2: #d8d2c4;
  --moss: #1a3d2f;
  --moss-2: #234a3b;
  --jade: #4a8b6f;
  --gold: #c9a566;
  --gold-2: #e0bf86;
  --mist: #b9b3a4;
  --rule: rgba(239,234,221,0.12);
  --rule-strong: rgba(239,234,221,0.22);

  --serif: 'Fraunces', 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;

  --container: 1440px;
  --gutter: clamp(20px, 4vw, 64px);
  --section: clamp(80px, 12vw, 180px);

  --ease: cubic-bezier(.2,.7,.2,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
}

/* ---------- Typography ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.02;
  color: var(--paper);
}
.display-xl {
  font-family: var(--serif);
  font-weight: 200;
  font-size: clamp(48px, 11vw, 180px);
  line-height: 0.92;
  letter-spacing: -0.045em;
}
.display-lg {
  font-family: var(--serif);
  font-weight: 200;
  font-size: clamp(40px, 7.5vw, 120px);
  line-height: 0.96;
  letter-spacing: -0.04em;
}
.display-md {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(32px, 4.5vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.025em;
}
.lede {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.35;
  color: var(--paper-2);
}
.label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--mist);
  font-weight: 500;
}
em { font-style: italic; color: var(--gold-2); font-weight: 400; }

/* ---------- Layout ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
section { padding: var(--section) 0; position: relative; }

/* ---------- Topbar / Nav ---------- */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  transition: background .5s var(--ease), backdrop-filter .5s var(--ease), padding .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.topbar.scrolled {
  background: rgba(10,13,11,0.78);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-bottom-color: var(--rule);
  padding: 14px var(--gutter);
}
.brand {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 18px;
  letter-spacing: -0.01em;
  line-height: 1;
}
.brand-mark {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--moss), var(--moss-2));
  display: grid; place-items: center;
  font-family: var(--serif);
  font-size: 14px; font-weight: 500;
  color: var(--gold);
  border: 1px solid var(--rule-strong);
  letter-spacing: 0;
}
.brand-meta {
  display: flex; flex-direction: column; gap: 3px;
}
.brand-meta small {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--mist);
  font-weight: 500;
}

.nav-links {
  display: flex; align-items: center; gap: 34px;
}
.nav-links a {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--paper-2);
  position: relative;
  padding: 6px 0;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-links a.active::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px; background: var(--gold);
}
.nav-cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper);
  transition: all .35s var(--ease);
}
.nav-cta:hover {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}

.hamburger {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--rule-strong);
  border-radius: 50%;
  align-items: center; justify-content: center;
  flex-direction: column;
  gap: 5px;
  background: rgba(10,13,11,0.6);
}
.hamburger span {
  width: 18px; height: 1px; background: var(--paper);
  transition: transform .35s var(--ease), opacity .25s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(3px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-3px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0;
  background: linear-gradient(160deg, var(--ink) 0%, var(--moss) 140%);
  z-index: 90;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  gap: 28px;
  opacity: 0; pointer-events: none;
  transition: opacity .5s var(--ease);
  padding: 80px var(--gutter);
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu a {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 300;
  color: var(--paper);
  letter-spacing: -0.01em;
}
.mobile-menu a:hover { color: var(--gold); }
.mobile-menu .label { margin-top: 30px; }

/* ---------- Loader ---------- */
.preloader {
  position: fixed; inset: 0;
  background: var(--ink);
  z-index: 9999;
  display: grid; place-items: center;
  transition: opacity .8s var(--ease), visibility .8s;
}
.preloader.hidden { opacity: 0; visibility: hidden; }
.preloader-inner {
  text-align: center;
}
.preloader-mark {
  font-family: var(--serif);
  font-size: 38px;
  color: var(--gold);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.preloader-bar {
  width: 220px; height: 1px;
  background: var(--rule);
  position: relative;
  overflow: hidden;
}
.preloader-bar::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  width: 100%;
  background: var(--gold);
  animation: loaderProgress 1.4s var(--ease-out) forwards;
}
@keyframes loaderProgress {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(0); }
}

/* ---------- Page reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-text .word {
  display: inline-block; overflow: hidden; vertical-align: top;
}
.reveal-text .word > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1s var(--ease-out);
}
.reveal-text.in .word > span { transform: translateY(0); }

/* ---------- Generic CTA ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 18px 30px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 500;
  transition: transform .4s var(--ease), background .4s ease, color .4s ease;
}
.btn:hover { transform: translateY(-2px); background: var(--gold-2); }
.btn-ghost {
  background: transparent;
  color: var(--paper);
  border: 1px solid var(--rule-strong);
}
.btn-ghost:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn svg { width: 16px; height: 16px; }

/* ============================================================
   PASSCODE GATE (index.html)
   ============================================================ */
.gate {
  min-height: 100vh;
  position: relative;
  display: grid; place-items: center;
  overflow: hidden;
  background: var(--ink);
}
.gate-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(74,139,111,0.18), transparent 55%),
    radial-gradient(ellipse at 80% 80%, rgba(201,165,102,0.12), transparent 55%),
    linear-gradient(180deg, #06080a 0%, #0a0d0b 50%, #060807 100%);
}
.gate-overlay {
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.022) 0 1px, transparent 1px 4px);
  pointer-events: none;
}
.gate-hills {
  position: absolute; bottom: 0; left: 0; right: 0;
  width: 100%;
  opacity: 0.55;
}
.gate-particles {
  position: absolute; inset: 0;
  pointer-events: none;
}
.particle {
  position: absolute;
  width: 2px; height: 2px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0;
  animation: rise linear infinite;
  box-shadow: 0 0 8px rgba(201,165,102,0.5);
}
@keyframes rise {
  0% { opacity: 0; transform: translateY(0) translateX(0); }
  10% { opacity: 0.8; }
  90% { opacity: 0.6; }
  100% { opacity: 0; transform: translateY(-120vh) translateX(30px); }
}
.gate-inner {
  position: relative;
  z-index: 2;
  max-width: 580px;
  width: 90%;
  text-align: center;
}
.gate-monogram {
  width: 90px; height: 90px;
  border-radius: 50%;
  margin: 0 auto 40px;
  background: linear-gradient(140deg, rgba(74,139,111,0.18), rgba(201,165,102,0.18));
  border: 1px solid var(--rule-strong);
  display: grid; place-items: center;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 400;
  color: var(--gold);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: relative;
}
.gate-monogram::before {
  content: "";
  position: absolute; inset: -8px;
  border: 1px solid var(--rule);
  border-radius: 50%;
  animation: spinSlow 24s linear infinite;
}
@keyframes spinSlow { to { transform: rotate(360deg); } }
.gate-title {
  font-family: var(--serif);
  font-weight: 200;
  font-size: clamp(36px, 6vw, 70px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
  color: var(--paper);
}
.gate-title em { font-style: italic; color: var(--gold-2); font-weight: 300; }
.gate-sub {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--mist);
  margin-bottom: 50px;
}
.gate-form {
  display: flex;
  align-items: center;
  background: rgba(239,234,221,0.04);
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  padding: 6px 6px 6px 28px;
  transition: border-color .4s ease, background .4s ease;
  max-width: 480px;
  margin: 0 auto;
}
.gate-form:focus-within {
  border-color: var(--gold);
  background: rgba(239,234,221,0.06);
}
.gate-form input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--paper);
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: 0.14em;
  padding: 16px 10px;
  width: 100%;
}
.gate-form input::placeholder {
  color: var(--mist);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 11px;
}
.gate-form button {
  background: var(--gold);
  color: var(--ink);
  padding: 14px 22px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  transition: background .3s ease, transform .3s ease;
  display: inline-flex; align-items: center; gap: 8px;
}
.gate-form button:hover { background: var(--gold-2); transform: translateX(2px); }
.gate-error {
  margin-top: 22px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #d97a6c;
  opacity: 0;
  transition: opacity .3s ease;
  min-height: 14px;
}
.gate-error.show { opacity: 1; }
.gate-foot {
  position: absolute;
  bottom: 32px; left: 0; right: 0;
  text-align: center;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--mist);
  z-index: 2;
}
.gate-foot a { color: var(--gold); }

/* ============================================================
   HOMEPAGE
   ============================================================ */

/* HERO */
.hero {
  min-height: 100vh;
  position: relative;
  padding: 140px var(--gutter) 60px;
  display: flex; flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(74,139,111,0.14), transparent 50%),
    radial-gradient(ellipse at 10% 90%, rgba(201,165,102,0.1), transparent 55%),
    linear-gradient(180deg, var(--ink), #06090a 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
  flex: 1;
  position: relative;
  z-index: 2;
}
.hero-meta-top {
  position: absolute;
  top: 110px;
  left: var(--gutter);
  right: var(--gutter);
  display: flex; justify-content: space-between; align-items: center;
  z-index: 5;
}
.hero-meta-top .label { color: var(--gold); }
.hero-headline {
  position: relative;
}
.hero-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 30px;
  display: flex; align-items: center; gap: 14px;
}
.hero-tag .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(201,165,102,0.18);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(201,165,102,0.18); }
  50% { box-shadow: 0 0 0 8px rgba(201,165,102,0.06); }
}
.hero-title {
  font-family: var(--serif);
  font-weight: 200;
  font-size: clamp(56px, 10vw, 156px);
  line-height: 0.9;
  letter-spacing: -0.045em;
  color: var(--paper);
  margin-bottom: 36px;
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title em {
  font-style: italic;
  color: var(--gold);
  font-weight: 200;
}
.hero-title .accent {
  font-family: var(--mono);
  font-size: 0.18em;
  letter-spacing: 0.3em;
  vertical-align: top;
  color: var(--mist);
  text-transform: uppercase;
  margin-left: 10px;
  font-weight: 400;
  display: inline-block;
  transform: translateY(0.7em);
}
.hero-sub {
  max-width: 460px;
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  color: var(--paper-2);
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.45;
  margin-bottom: 38px;
}
.hero-actions {
  display: flex; gap: 14px; flex-wrap: wrap;
}

.hero-portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  width: 100%;
  max-width: 540px;
  margin-left: auto;
  border-radius: 4px;
  overflow: hidden;
  background: var(--ink-2);
  box-shadow: 0 50px 100px -40px rgba(0,0,0,0.7);
}
.hero-portrait img {
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
  filter: contrast(1.05) saturate(0.95);
  transform: scale(1.02);
  transition: transform 6s var(--ease-out);
}
.hero-portrait:hover img { transform: scale(1.06); }
.hero-portrait::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10,13,11,0.85) 100%);
  pointer-events: none;
}
.hero-portrait-tag {
  position: absolute;
  left: 24px; bottom: 22px;
  z-index: 2;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--paper);
  display: flex; align-items: center; gap: 10px;
}
.hero-portrait-tag::before {
  content: "";
  width: 16px; height: 1px; background: var(--gold);
}
.hero-portrait-frame {
  position: absolute;
  top: -22px; left: -22px;
  bottom: 22px; right: 22px;
  border: 1px solid var(--rule-strong);
  pointer-events: none;
  border-radius: 4px;
}

.hero-foot {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 40px;
  padding-top: 50px;
  position: relative;
  z-index: 2;
}
.hero-foot-left {
  display: flex; flex-direction: column; gap: 8px;
}
.hero-foot-left .label { color: var(--gold); }
.hero-foot-left p {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--paper);
  max-width: 320px;
  line-height: 1.4;
}
.scroll-cue {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--mist);
}
.scroll-cue-line {
  width: 1px; height: 50px;
  background: linear-gradient(180deg, var(--gold), transparent);
  position: relative;
  overflow: hidden;
}
.scroll-cue-line::after {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 16px;
  background: var(--paper);
  animation: scrollPulse 2.2s var(--ease-out) infinite;
}
@keyframes scrollPulse {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(50px); }
}
.hero-foot-right {
  text-align: right;
}
.hero-foot-right .number {
  font-family: var(--serif);
  font-size: 48px;
  line-height: 1;
  color: var(--paper);
  font-weight: 200;
  letter-spacing: -0.02em;
}
.hero-foot-right .number em { color: var(--gold); font-style: normal; }
.hero-foot-right .label { color: var(--gold); margin-top: 6px; display: block; }

/* Marquee Strip */
.marquee {
  background: var(--ink-2);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 24px 0;
  overflow: hidden;
  position: relative;
}
.marquee-track {
  display: inline-flex;
  white-space: nowrap;
  animation: marqueeMove 38s linear infinite;
  gap: 60px;
}
.marquee-track span {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 200;
  font-style: italic;
  color: var(--paper);
  letter-spacing: -0.02em;
  display: inline-flex; align-items: center; gap: 60px;
}
.marquee-track span::after {
  content: "✦";
  color: var(--gold);
  font-size: 0.4em;
  font-style: normal;
  display: inline-block;
}
@keyframes marqueeMove {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Pillars / Vision intro */
.pillars {
  background: var(--ink);
  position: relative;
}
.pillars-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(40px, 6vw, 100px);
  margin-top: 60px;
}
.pillars-aside {
  position: sticky;
  top: 120px;
  align-self: start;
}
.pillars-aside .lede {
  margin-top: 28px;
}
.pillar-list {
  display: flex; flex-direction: column;
}
.pillar {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 30px;
  align-items: center;
  padding: 40px 0;
  border-top: 1px solid var(--rule);
  transition: padding .4s var(--ease), background .4s ease;
}
.pillar:last-child { border-bottom: 1px solid var(--rule); }
.pillar-num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--gold);
}
.pillar-title {
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 300;
  letter-spacing: -0.015em;
  line-height: 1.05;
  color: var(--paper);
  transition: color .35s ease;
}
.pillar:hover { padding-left: 20px; }
.pillar:hover .pillar-title { color: var(--gold); }
.pillar-icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--rule-strong);
  display: grid; place-items: center;
  color: var(--paper-2);
  transition: transform .35s ease, color .35s ease;
}
.pillar:hover .pillar-icon { transform: translateX(8px); color: var(--gold); border-color: var(--gold); }
.pillar-icon svg { width: 14px; height: 14px; }

/* Quote section */
.quote-section {
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
  text-align: center;
  position: relative;
}
.quote-section .container { max-width: 1100px; }
.quote-mark {
  font-family: var(--serif);
  font-size: 200px;
  line-height: 0.5;
  color: var(--gold);
  opacity: 0.18;
  display: block;
  height: 60px;
  margin-bottom: 0;
}
.quote-body {
  font-family: var(--serif);
  font-weight: 200;
  font-style: italic;
  font-size: clamp(28px, 4.2vw, 60px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--paper);
  margin: 0 auto 50px;
}
.quote-body em { color: var(--gold-2); font-weight: 300; }
.quote-attr {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--mist);
  display: inline-flex; align-items: center; gap: 14px;
}
.quote-attr::before, .quote-attr::after {
  content: "";
  width: 30px; height: 1px;
  background: var(--rule-strong);
}

/* Stats */
.stats {
  background: var(--ink-2);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat {
  padding: 30px;
  text-align: center;
  border-right: 1px solid var(--rule);
}
.stat:last-child { border-right: none; }
.stat-num {
  font-family: var(--serif);
  font-weight: 200;
  font-size: clamp(48px, 6vw, 84px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--paper);
}
.stat-num em { color: var(--gold); font-style: normal; }
.stat-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--mist);
  margin-top: 14px;
}
.stat p {
  margin-top: 12px;
  font-size: 13px;
  color: var(--paper-2);
  line-height: 1.45;
  max-width: 220px;
  margin-left: auto; margin-right: auto;
}

/* Editorial photo journal */
.journal {
  background: var(--ink);
}
.journal-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 40px;
  margin-bottom: 80px;
}
.journal-head h2 { max-width: 12ch; }
.journal-head p {
  color: var(--paper-2);
  font-size: 17px;
  max-width: 460px;
  margin-left: auto;
}
.journal-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 30px;
}
.j-card {
  position: relative;
  overflow: hidden;
  background: var(--ink-2);
  border-radius: 4px;
  group: card;
}
.j-card .img-wrap {
  overflow: hidden;
  position: relative;
  aspect-ratio: 4 / 5;
}
.j-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.4s var(--ease-out), filter .8s ease;
  filter: contrast(1.04) saturate(0.95);
}
.j-card:hover img { transform: scale(1.06); filter: contrast(1.08) saturate(1); }
.j-card .img-wrap::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(10,13,11,0.85));
  pointer-events: none;
}
.j-card .caption {
  position: absolute;
  left: 24px; right: 24px; bottom: 22px;
  z-index: 2;
}
.j-card .caption .label { color: var(--gold); margin-bottom: 8px; display: block; }
.j-card .caption h3 {
  font-family: var(--serif);
  font-size: clamp(20px, 1.8vw, 28px);
  line-height: 1.1;
  color: var(--paper);
  font-weight: 300;
  letter-spacing: -0.015em;
}
.j-card.span-7 { grid-column: span 7; }
.j-card.span-5 { grid-column: span 5; }
.j-card.span-4 { grid-column: span 4; }
.j-card.span-8 { grid-column: span 8; }
.j-card.span-6 { grid-column: span 6; }
.j-card.tall .img-wrap { aspect-ratio: 3 / 4; }
.j-card.wide .img-wrap { aspect-ratio: 16 / 10; }

/* Timeline strip */
.timeline-strip {
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
}
.timeline {
  position: relative;
  margin-top: 80px;
  padding-left: 30px;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--rule-strong) 8%, var(--rule-strong) 92%, transparent);
}
.t-item {
  position: relative;
  padding: 36px 0 36px 50px;
  border-bottom: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
}
.t-item:last-child { border-bottom: none; }
.t-item::before {
  content: "";
  position: absolute;
  left: -6px; top: 48px;
  width: 13px; height: 13px;
  border-radius: 50%;
  background: var(--ink);
  border: 1px solid var(--gold);
}
.t-item:hover::before {
  background: var(--gold);
  box-shadow: 0 0 0 6px rgba(201,165,102,0.15);
}
.t-year {
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1;
  color: var(--gold);
  font-weight: 300;
  letter-spacing: -0.02em;
}
.t-content h4 {
  font-family: var(--serif);
  font-size: clamp(22px, 2.2vw, 32px);
  font-weight: 300;
  color: var(--paper);
  margin-bottom: 12px;
  line-height: 1.15;
}
.t-content p {
  color: var(--paper-2);
  font-size: 15px;
  max-width: 540px;
  line-height: 1.55;
}

/* CTA strip */
.cta-strip {
  background: var(--ink);
  position: relative;
  overflow: hidden;
}
.cta-strip .container {
  text-align: center;
  position: relative;
  z-index: 2;
}
.cta-strip h2 {
  font-family: var(--serif);
  font-weight: 200;
  font-size: clamp(40px, 7vw, 110px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  max-width: 16ch;
  margin: 0 auto 40px;
}
.cta-strip h2 em { color: var(--gold); font-style: italic; }
.cta-strip-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(74,139,111,0.15), transparent 60%);
  pointer-events: none;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-foot {
  background: var(--ink-2);
  border-top: 1px solid var(--rule);
  padding: 90px var(--gutter) 32px;
  position: relative;
}
.foot-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 32px;
}
.foot-brand .brand { margin-bottom: 22px; }
.foot-brand p {
  font-family: var(--serif);
  font-style: italic;
  color: var(--paper-2);
  font-size: 17px;
  max-width: 360px;
  line-height: 1.45;
}
.foot-col h5 {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
  font-weight: 500;
}
.foot-col a, .foot-col li {
  display: block;
  font-size: 14px;
  color: var(--paper-2);
  margin-bottom: 12px;
  transition: color .3s ease;
}
.foot-col a:hover { color: var(--gold); }
.foot-socials {
  display: flex; gap: 12px; margin-top: 8px;
}
.foot-socials a {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--rule-strong);
  display: inline-grid; place-items: center;
  margin: 0;
  transition: all .3s ease;
}
.foot-socials a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
  transform: translateY(-3px);
}
.foot-socials svg { width: 16px; height: 16px; }
.foot-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 18px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mist);
  padding-top: 20px;
}
.foot-bottom a { color: var(--gold); }
.foot-credit { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.page-hero {
  padding: 200px var(--gutter) 100px;
  background:
    radial-gradient(ellipse at 80% 30%, rgba(74,139,111,0.16), transparent 55%),
    var(--ink);
  position: relative;
  overflow: hidden;
}
.page-hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 80px;
  align-items: end;
}
.page-hero h1 {
  font-family: var(--serif);
  font-weight: 200;
  font-size: clamp(56px, 9vw, 140px);
  line-height: 0.92;
  letter-spacing: -0.045em;
}
.page-hero h1 em { color: var(--gold); font-style: italic; }
.page-hero-meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--paper-2);
}
.page-hero-meta span { display: block; margin: 8px 0; color: var(--mist); }
.page-hero-meta strong { color: var(--gold); font-weight: 500; }

.about-intro {
  background: var(--ink);
  padding: var(--section) 0;
}
.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}
.portrait-card {
  position: relative;
}
.portrait-card img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: top center;
  border-radius: 4px;
  filter: contrast(1.05);
}
.portrait-card::before {
  content: "";
  position: absolute;
  top: 24px; left: 24px;
  width: 100%; height: 100%;
  border: 1px solid var(--gold);
  border-radius: 4px;
  z-index: -1;
}
.portrait-caption {
  margin-top: 22px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mist);
}
.about-intro-text .eyebrow { margin-bottom: 28px; }
.about-intro-text h2 {
  font-family: var(--serif);
  font-weight: 200;
  font-size: clamp(36px, 5.2vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-bottom: 36px;
}
.about-intro-text h2 em { color: var(--gold-2); font-style: italic; }
.about-intro-text p {
  color: var(--paper-2);
  font-size: 17px;
  line-height: 1.65;
  margin-bottom: 22px;
}
.about-intro-text p strong { color: var(--paper); font-weight: 500; }
.signature {
  margin-top: 36px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 32px;
  color: var(--gold);
  font-weight: 300;
  letter-spacing: -0.01em;
}

/* Facts grid */
.facts {
  background: var(--ink-2);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.facts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.fact {
  padding: 50px 40px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.fact:nth-child(3n) { border-right: none; }
.fact:nth-last-child(-n+3) { border-bottom: none; }
.fact-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.fact-value {
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 300;
  color: var(--paper);
  line-height: 1.2;
  letter-spacing: -0.015em;
}
.fact small {
  display: block;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--mist);
  margin-top: 8px;
  font-weight: 300;
  letter-spacing: 0;
}

/* Legacy / journey strip */
.legacy {
  background: var(--ink);
  position: relative;
}
.legacy-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 30px;
  align-items: center;
}
.legacy-image {
  grid-column: span 6;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 4px;
}
.legacy-image img {
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
}
.legacy-text { grid-column: 8 / -1; }
.legacy-text h3 {
  font-family: var(--serif);
  font-weight: 200;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 28px;
}
.legacy-text p {
  color: var(--paper-2);
  font-size: 17px;
  line-height: 1.65;
  margin-bottom: 18px;
}

/* ============================================================
   VISION PAGE
   ============================================================ */
.vision-hero { background: var(--ink); }
.vision-pillars {
  background: var(--ink);
  border-top: 1px solid var(--rule);
}
.vp-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 70px;
}
.vp-card {
  background: var(--ink-2);
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 50px 40px;
  position: relative;
  overflow: hidden;
  transition: border-color .4s ease, transform .4s var(--ease);
}
.vp-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(201,165,102,0.07), transparent 50%);
  opacity: 0; transition: opacity .4s ease;
}
.vp-card:hover { border-color: var(--gold); transform: translateY(-6px); }
.vp-card:hover::before { opacity: 1; }
.vp-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--gold);
  margin-bottom: 22px;
}
.vp-card h3 {
  font-family: var(--serif);
  font-size: clamp(26px, 2.8vw, 38px);
  font-weight: 300;
  letter-spacing: -0.015em;
  line-height: 1.1;
  margin-bottom: 18px;
}
.vp-card p {
  color: var(--paper-2);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 24px;
}
.vp-progress {
  display: flex; flex-direction: column; gap: 6px;
}
.vp-progress .pl {
  display: flex; justify-content: space-between;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mist);
}
.vp-bar {
  height: 2px;
  background: var(--rule-strong);
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}
.vp-bar span {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  background: linear-gradient(90deg, var(--jade), var(--gold));
  transition: width 1.6s var(--ease-out);
  width: 0;
}

.vision-quote {
  background: var(--ink-2);
}

/* ============================================================
   DEVELOPMENT PAGE
   ============================================================ */
.dev-hero { background: var(--ink); }
.dev-grid-section { background: var(--ink); }
.dev-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 30px;
  margin-top: 70px;
}
.dev-card {
  grid-column: span 4;
  background: var(--ink-2);
  border: 1px solid var(--rule);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  transition: border-color .4s ease;
}
.dev-card.feature { grid-column: span 8; }
.dev-card .img-wrap {
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
}
.dev-card.feature .img-wrap { aspect-ratio: 16/10; }
.dev-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}
.dev-card:hover img { transform: scale(1.06); }
.dev-card:hover { border-color: var(--gold); }
.dev-card .img-wrap::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10,13,11,0.6));
}
.dev-card .body {
  padding: 30px 30px 36px;
}
.dev-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.dev-card h3 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin-bottom: 14px;
}
.dev-card p {
  color: var(--paper-2);
  font-size: 14.5px;
  line-height: 1.55;
}

/* Map / region section */
.dev-map {
  background: var(--ink-2);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.map-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.map-svg-wrap {
  position: relative;
  padding: 30px;
  background: var(--ink);
  border-radius: 8px;
  border: 1px solid var(--rule);
}
.map-svg-wrap svg {
  width: 100%; height: auto;
}
.map-dot {
  fill: var(--gold);
  cursor: pointer;
  transition: r 0.3s ease;
}
.map-dot:hover { r: 8; }
.map-list {
  display: flex; flex-direction: column;
}
.map-list-item {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid var(--rule);
}
.map-list-item:last-child { border-bottom: 1px solid var(--rule); }
.map-list-item .num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--gold);
}
.map-list-item h4 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 300;
  color: var(--paper);
  letter-spacing: -0.01em;
}
.map-list-item p {
  font-size: 13px;
  color: var(--mist);
  margin-top: 4px;
}

/* ============================================================
   GALLERY PAGE
   ============================================================ */
.gallery-hero { background: var(--ink); }
.gallery-filter {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-top: 40px;
}
.gallery-filter button {
  padding: 12px 22px;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--paper-2);
  transition: all .3s ease;
}
.gallery-filter button:hover, .gallery-filter button.active {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}

.masonry {
  background: var(--ink);
  padding: 60px var(--gutter) var(--section);
}
.masonry-grid {
  columns: 3;
  column-gap: 22px;
  max-width: var(--container);
  margin: 0 auto;
}
.masonry-item {
  break-inside: avoid;
  margin-bottom: 22px;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
  display: block;
}
.masonry-item img {
  width: 100%;
  height: auto;
  transition: transform 1.4s var(--ease-out), filter .4s ease;
  filter: contrast(1.05);
}
.masonry-item:hover img { transform: scale(1.06); }
.masonry-item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10,13,11,0.8));
  opacity: 0; transition: opacity .4s ease;
}
.masonry-item:hover::after { opacity: 1; }
.masonry-item .ov {
  position: absolute;
  bottom: 18px; left: 20px; right: 20px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--paper);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .4s ease, transform .4s ease;
  z-index: 2;
}
.masonry-item:hover .ov { opacity: 1; transform: translateY(0); }
.masonry-item .ov::before {
  content: "";
  display: inline-block;
  width: 14px; height: 1px;
  background: var(--gold);
  margin-right: 8px;
  vertical-align: middle;
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(6,8,9,0.94);
  z-index: 1000;
  display: none;
  align-items: center; justify-content: center;
  padding: 40px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.lightbox.show { display: flex; }
.lightbox img {
  max-width: 92vw; max-height: 88vh;
  object-fit: contain;
  box-shadow: 0 60px 120px -40px rgba(0,0,0,0.8);
}
.lightbox-close {
  position: absolute;
  top: 30px; right: 30px;
  width: 50px; height: 50px;
  border: 1px solid var(--rule-strong);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--paper);
  transition: all .3s ease;
}
.lightbox-close:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }

/* ============================================================
   ACHIEVEMENTS PAGE
   ============================================================ */
.ach-hero { background: var(--ink); }
.ach-stats {
  background: var(--ink-2);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.ach-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.ach-stat {
  padding: 70px 30px;
  text-align: center;
  border-right: 1px solid var(--rule);
}
.ach-stat:last-child { border-right: none; }
.ach-stat .num {
  font-family: var(--serif);
  font-weight: 200;
  font-size: clamp(60px, 8vw, 110px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--gold);
}
.ach-stat .num small {
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 500;
  color: var(--paper);
  letter-spacing: 0;
  margin-left: 4px;
}
.ach-stat .lab {
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--mist);
}

.milestones {
  background: var(--ink);
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-hero { background: var(--ink); }
.contact-grid {
  background: var(--ink);
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--rule);
}
.contact-info {
  padding: 100px var(--gutter);
  border-right: 1px solid var(--rule);
  background: var(--ink-2);
}
.contact-form-wrap {
  padding: 100px var(--gutter);
}
.contact-form-wrap h2,
.contact-info h2 {
  font-family: var(--serif);
  font-weight: 200;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 30px;
}
.contact-info p {
  color: var(--paper-2);
  font-size: 16px;
  max-width: 460px;
  margin-bottom: 50px;
  line-height: 1.6;
}
.contact-list {
  display: flex; flex-direction: column;
}
.contact-item {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-top: 1px solid var(--rule);
  align-items: baseline;
}
.contact-item:last-child { border-bottom: 1px solid var(--rule); }
.contact-item .k {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
}
.contact-item .v {
  font-family: var(--serif);
  font-size: clamp(20px, 1.7vw, 24px);
  font-weight: 300;
  color: var(--paper);
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.contact-item .v a { transition: color .3s ease; }
.contact-item .v a:hover { color: var(--gold); }

.contact-socials {
  display: flex; gap: 12px; margin-top: 40px;
}
.contact-socials a {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--rule-strong);
  display: inline-grid; place-items: center;
  transition: all .3s ease;
}
.contact-socials a:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.contact-socials svg { width: 17px; height: 17px; }

/* Form */
.form-row {
  display: flex; flex-direction: column;
  margin-bottom: 30px;
}
.form-row label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.form-row input,
.form-row textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule-strong);
  padding: 14px 0;
  color: var(--paper);
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 300;
  letter-spacing: -0.01em;
  outline: none;
  transition: border-color .3s ease;
  resize: vertical;
}
.form-row input::placeholder,
.form-row textarea::placeholder {
  color: var(--mist);
  font-style: italic;
}
.form-row input:focus,
.form-row textarea:focus {
  border-bottom-color: var(--gold);
}
.form-row textarea { min-height: 120px; }
.form-row-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.map-embed {
  background: var(--ink-2);
  border-top: 1px solid var(--rule);
  padding: 0;
}
.map-embed .container { max-width: var(--container); padding: var(--section) var(--gutter); }
.map-frame {
  margin-top: 40px;
  width: 100%;
  height: 460px;
  border-radius: 8px;
  border: 1px solid var(--rule);
  overflow: hidden;
  position: relative;
  background: var(--ink);
}
.map-frame iframe { width: 100%; height: 100%; border: 0; filter: invert(0.92) hue-rotate(170deg) brightness(0.85) contrast(1.1); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: inline-flex; }

  .hero-grid { grid-template-columns: 1fr; gap: 60px; }
  .hero-portrait { margin: 0 auto; }
  .hero-foot { grid-template-columns: 1fr; text-align: left; }
  .hero-foot-right { text-align: left; }
  .scroll-cue { display: none; }
  .hero-meta-top { display: none; }

  .pillars-grid { grid-template-columns: 1fr; }
  .pillars-aside { position: static; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-bottom: 1px solid var(--rule); }
  .stat:nth-child(2n) { border-right: none; }

  .ach-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .ach-stat { border-bottom: 1px solid var(--rule); }
  .ach-stat:nth-child(2n) { border-right: none; }

  .journal-grid { grid-template-columns: repeat(6, 1fr); }
  .j-card.span-7, .j-card.span-5, .j-card.span-4, .j-card.span-8, .j-card.span-6 { grid-column: span 6; }

  .legacy-grid { grid-template-columns: 1fr; }
  .legacy-image, .legacy-text { grid-column: 1 / -1; }

  .about-intro-grid { grid-template-columns: 1fr; }
  .page-hero-inner { grid-template-columns: 1fr; gap: 40px; }

  .vp-grid { grid-template-columns: 1fr; }

  .dev-card, .dev-card.feature { grid-column: span 12; }

  .map-grid { grid-template-columns: 1fr; gap: 40px; }

  .masonry-grid { columns: 2; }

  .contact-grid { grid-template-columns: 1fr; }
  .contact-info { border-right: none; border-bottom: 1px solid var(--rule); }
  .form-row-grid { grid-template-columns: 1fr; }

  .foot-top { grid-template-columns: 1fr 1fr; }

  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(3n) { border-right: 1px solid var(--rule); }
  .fact:nth-child(2n) { border-right: none; }

  .t-item { grid-template-columns: 1fr; gap: 12px; }

  .journal-head { grid-template-columns: 1fr; gap: 16px; }
  .journal-head p { margin-left: 0; }
}

@media (max-width: 640px) {
  .stats-grid, .ach-stats-grid, .facts-grid { grid-template-columns: 1fr; }
  .stat, .ach-stat, .fact { border-right: none; border-bottom: 1px solid var(--rule); }
  .masonry-grid { columns: 1; }
  .foot-top { grid-template-columns: 1fr; gap: 36px; }
  .map-list-item { grid-template-columns: 40px 1fr; gap: 14px; }
  .gate-form { flex-direction: column; padding: 18px; gap: 12px; border-radius: 18px; }
  .gate-form input { width: 100%; padding: 10px 0; text-align: center; }
  .gate-form button { width: 100%; justify-content: center; }
  .hero { padding-top: 120px; }
  .hero-meta-top { display: none; }
  .quote-mark { font-size: 130px; height: 40px; }
  :root { --section: 70px; }
}
