/* ============================================================
   MWZ CORP — style.css
   Dark luxury / intelligence-dossier aesthetic.
   Black + charcoal + warm white + muted gold accents.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --bg:        #0a0a0b;
  --bg-2:      #0d0d10;
  --surface:   #131317;
  --surface-2: #17171c;
  --line:      rgba(255, 255, 255, 0.08);
  --line-2:    rgba(255, 255, 255, 0.04);

  --text:      #f4f3ef;
  --muted:     #9a9aa1;
  --muted-2:   #6f6f78;

  --gold:      #c8a24c;
  --gold-soft: #d8bd7e;
  --gold-glow: rgba(200, 162, 76, 0.18);
  --gold-line: rgba(200, 162, 76, 0.35);

  --font:      'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono:      'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --container:  1240px;
  --pad:        clamp(20px, 5vw, 48px);
  --radius:     14px;

  --ease:       cubic-bezier(0.22, 1, 0.36, 1);
  --reveal-y:   34px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: -0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
em { font-style: normal; color: var(--gold-soft); }

::selection { background: rgba(200, 162, 76, 0.28); color: #fff; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 1000;
  background: var(--gold); color: #000; padding: 10px 16px; border-radius: 0 0 8px 0;
  font: 500 13px/1 var(--mono);
}
.skip-link:focus { left: 0; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--pad); }

.section { padding-block: clamp(90px, 12vw, 160px); position: relative; }

.section__head { max-width: 760px; margin-bottom: clamp(48px, 6vw, 80px); }

.kicker {
  display: inline-block;
  font: 500 12px/1 var(--mono);
  letter-spacing: 0.22em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 22px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--gold-line);
}

.section__title {
  font-size: clamp(30px, 4.6vw, 58px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.lede {
  margin-top: 24px;
  font-size: clamp(17px, 1.7vw, 21px);
  color: #cdccc7;
  font-weight: 300;
  max-width: 60ch;
}

.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  --bpad: 15px 30px;
  display: inline-flex; align-items: center; gap: 10px;
  padding: var(--bpad);
  font: 500 14px/1 var(--font);
  letter-spacing: 0.01em;
  border-radius: 100px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.4s var(--ease), background 0.4s var(--ease),
              border-color 0.4s var(--ease), box-shadow 0.4s var(--ease), color 0.4s var(--ease);
  position: relative;
  white-space: nowrap;
}
.btn--gold {
  background: var(--gold); color: #14110a; font-weight: 600;
  box-shadow: 0 0 0 rgba(200, 162, 76, 0);
}
.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px -12px rgba(200, 162, 76, 0.55);
  background: var(--gold-soft);
}
.btn--ghost {
  background: transparent; color: var(--text);
  border-color: rgba(255, 255, 255, 0.18);
}
.btn--ghost:hover {
  transform: translateY(-2px);
  border-color: var(--gold-line);
  color: #fff;
  background: rgba(200, 162, 76, 0.06);
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background 0.5s var(--ease), border-color 0.5s var(--ease), backdrop-filter 0.5s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(10, 10, 11, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav__inner {
  max-width: var(--container); margin-inline: auto;
  padding: 18px var(--pad);
  display: flex; align-items: center; justify-content: space-between;
}

.logo { display: flex; align-items: baseline; gap: 8px; }
.logo__mark {
  font-weight: 700; font-size: 21px; letter-spacing: 0.18em; color: var(--text);
}
.logo__sub {
  font: 500 10px/1 var(--mono); letter-spacing: 0.34em; color: var(--gold);
  padding: 3px 6px; border: 1px solid var(--gold-line); border-radius: 4px;
}

.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a {
  font-size: 14px; color: var(--muted); position: relative; transition: color 0.3s var(--ease);
}
.nav__links a:not(.nav__cta)::after {
  content: ''; position: absolute; left: 0; bottom: -6px; height: 1px; width: 0;
  background: var(--gold); transition: width 0.35s var(--ease);
}
.nav__links a:hover { color: var(--text); }
.nav__links a:not(.nav__cta):hover::after { width: 100%; }
.nav__cta {
  color: var(--text); padding: 9px 18px; border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 100px; transition: all 0.35s var(--ease);
}
.nav__cta:hover { border-color: var(--gold-line); background: rgba(200, 162, 76, 0.07); }

.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { width: 24px; height: 1.5px; background: var(--text); transition: transform 0.35s var(--ease), opacity 0.3s; }
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  overflow: hidden;
  background: radial-gradient(120% 90% at 50% 0%, #131218 0%, var(--bg) 55%);
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; opacity: 0.9; }
.hero__grid {
  position: absolute; inset: -10%; z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(75% 65% at 50% 45%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(75% 65% at 50% 45%, #000 30%, transparent 80%);
  will-change: transform;
}
.hero__glow {
  position: absolute; z-index: 1; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  left: 50%; top: 42%; transform: translate(-50%, -50%);
  background: radial-gradient(circle, var(--gold-glow) 0%, rgba(200, 162, 76, 0.04) 35%, transparent 65%);
  filter: blur(20px);
  animation: glowPulse 9s ease-in-out infinite;
  pointer-events: none;
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.7; transform: translate(-50%, -50%) scale(1); }
  50%      { opacity: 1;   transform: translate(-50%, -52%) scale(1.08); }
}
.hero__vignette {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    radial-gradient(120% 80% at 50% 50%, transparent 55%, rgba(0, 0, 0, 0.6) 100%),
    linear-gradient(to bottom, transparent 60%, var(--bg) 100%);
}
.hero__content { position: relative; z-index: 3; padding-block: 120px 80px; max-width: 920px; }

.eyebrow {
  font: 500 12px/1 var(--mono); letter-spacing: 0.3em; color: var(--gold);
  text-transform: uppercase; margin-bottom: 30px;
}
.hero__title {
  font-size: clamp(46px, 9vw, 118px);
  font-weight: 600; line-height: 0.96; letter-spacing: -0.045em;
}
.hero__title .line { display: block; }
.hero__subtitle {
  margin-top: 32px; max-width: 56ch;
  font-size: clamp(17px, 2vw, 22px); font-weight: 300; color: #c9c8c3;
}
.hero__actions { margin-top: 42px; display: flex; gap: 16px; flex-wrap: wrap; }

.hero__scroll {
  position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%);
  z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.hero__scroll-label { font: 500 10px/1 var(--mono); letter-spacing: 0.3em; color: var(--muted-2); }
.hero__scroll-line { width: 1px; height: 46px; background: linear-gradient(var(--gold), transparent); position: relative; overflow: hidden; }
.hero__scroll-line::after {
  content: ''; position: absolute; top: -50%; left: 0; width: 100%; height: 50%;
  background: var(--gold-soft); animation: scrollDrop 2.4s ease-in-out infinite;
}
@keyframes scrollDrop { 0% { top: -50%; } 60%, 100% { top: 100%; } }

/* ============================================================
   ABOUT
   ============================================================ */
.section--about { border-top: 1px solid var(--line-2); }
.about__grid {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(40px, 6vw, 90px);
  align-items: start; margin-bottom: clamp(60px, 8vw, 100px);
}
.about__lead p { font-size: clamp(18px, 2.1vw, 24px); font-weight: 300; line-height: 1.5; }
.about__lead p + p { margin-top: 24px; font-size: 17px; }

.about__stats { list-style: none; display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
.about__stats li { padding: 24px 0; border-bottom: 1px solid var(--line); display: flex; align-items: baseline; gap: 22px; }
.stat__num { font-size: clamp(34px, 4vw, 48px); font-weight: 600; color: var(--gold); line-height: 1; min-width: 56px; letter-spacing: -0.03em; }
.stat__label { color: var(--muted); font-size: 15px; }

.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.principle { background: var(--bg); padding: clamp(28px, 3vw, 44px); transition: background 0.4s var(--ease); }
.principle:hover { background: var(--surface); }
.principle__idx { font: 500 12px/1 var(--mono); color: var(--gold); letter-spacing: 0.15em; }
.principle h3 { margin: 18px 0 10px; font-size: 21px; font-weight: 500; letter-spacing: -0.02em; }
.principle p { color: var(--muted); font-size: 15px; }

/* ============================================================
   STUDIOS
   ============================================================ */
.section--studios { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); border-top: 1px solid var(--line-2); }
.studios__layout { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.studios__text .lede { margin-bottom: 18px; }
.studios__text .btn { margin-top: 28px; }

.studios__panel { position: relative; }
.ui-mock {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: var(--surface); box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.9);
}
.ui-mock__bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.ui-mock__bar span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); }
.ui-mock__bar em { margin-left: auto; font: 500 10px/1 var(--mono); letter-spacing: 0.18em; color: var(--muted-2); }
.ui-mock__body { display: grid; grid-template-columns: 1.5fr 1fr; gap: 1px; background: var(--line); }
.ui-mock__map { background: var(--bg); }
.ui-mock__map svg { width: 100%; height: 100%; min-height: 200px; }
.ui-mock__nodes circle { animation: nodeBlink 3s ease-in-out infinite; }
.ui-mock__nodes circle:nth-child(2) { animation-delay: .6s; }
.ui-mock__nodes circle:nth-child(3) { animation-delay: 1.2s; }
.ui-mock__nodes circle:nth-child(4) { animation-delay: 1.8s; }
.ui-mock__nodes circle:nth-child(5) { animation-delay: 2.4s; }
@keyframes nodeBlink { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
.ui-mock__rows { background: var(--bg); padding: 20px 18px; display: flex; flex-direction: column; gap: 18px; justify-content: center; }
.ui-mock__row span { font: 500 9.5px/1 var(--mono); letter-spacing: 0.16em; color: var(--muted); display: block; margin-bottom: 7px; }
.ui-mock__row i { display: block; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.08); position: relative; overflow: hidden; }
.ui-mock__row i::after { content: ''; position: absolute; inset: 0; width: var(--w); background: linear-gradient(90deg, rgba(200,162,76,.5), var(--gold)); border-radius: 4px; }

.placeholder-tag {
  display: inline-block; margin-top: 16px;
  font: 500 10.5px/1 var(--mono); letter-spacing: 0.16em; color: var(--muted-2);
  text-transform: uppercase;
}
.placeholder-tag::before { content: '◇ '; color: var(--gold); }

/* ============================================================
   FEATURED — SHADOW RULERS
   ============================================================ */
.section--featured {
  background:
    radial-gradient(90% 60% at 80% 0%, rgba(200, 162, 76, 0.06), transparent 60%),
    var(--bg-2);
  border-top: 1px solid var(--line-2);
}
.featured__head { max-width: 900px; }
.featured__title { font-size: clamp(44px, 8vw, 100px); font-weight: 600; letter-spacing: -0.045em; line-height: 1; margin-top: 4px; }
.featured__sub { margin-top: 20px; font-size: clamp(17px, 2vw, 22px); color: var(--gold-soft); font-weight: 300; }
.featured__desc { margin: 40px 0; max-width: 72ch; font-size: clamp(17px, 1.8vw, 21px); font-weight: 300; color: #cdccc7; line-height: 1.6; }

.featured__highlights { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.featured__highlights li { background: var(--bg); padding: 26px 22px; transition: background 0.4s var(--ease); position: relative; }
.featured__highlights li::before { content: '▹'; color: var(--gold); margin-right: 10px; font-size: 13px; }
.featured__highlights li span { font-size: 15px; font-weight: 500; letter-spacing: -0.01em; }
.featured__highlights li:hover { background: var(--surface); }
.featured__actions { margin-top: 44px; }

/* ============================================================
   CINEMATIC INTERLUDE (scroll-driven)
   ============================================================ */
.cinematic { position: relative; height: 240vh; background: var(--bg); }
.cinematic__sticky {
  position: sticky; top: 0; height: 100svh; overflow: hidden;
  display: grid; place-items: center;
}
.cinematic__map { position: absolute; inset: 0; opacity: var(--mapO, 0); transition: opacity .1s linear; }
.cinematic__map svg { width: 100%; height: 100%; }
.cmap__nodes circle { animation: nodeBlink 3.4s ease-in-out infinite; }

.cinematic__figure {
  position: relative; z-index: 2;
  width: clamp(160px, 22vw, 280px);
  opacity: var(--figO, 0);
  transform: translateY(var(--figY, 40px)) scale(var(--figS, 0.96));
  filter: blur(var(--figBlur, 0px));
}
.figure-dust { position: relative; }
.figure-dust .silhouette { width: 100%; filter: drop-shadow(0 0 60px rgba(0,0,0,0.8)); }
/* dust particles overlay revealed as figure dissolves */
.figure-dust::after {
  content: ''; position: absolute; inset: -20% -30%;
  background-image:
    radial-gradient(1.5px 1.5px at 20% 30%, var(--gold-line), transparent),
    radial-gradient(1.5px 1.5px at 70% 40%, rgba(200,162,76,.4), transparent),
    radial-gradient(1px 1px at 40% 70%, rgba(244,243,239,.4), transparent),
    radial-gradient(1.5px 1.5px at 85% 65%, var(--gold-line), transparent),
    radial-gradient(1px 1px at 55% 20%, rgba(244,243,239,.35), transparent),
    radial-gradient(1.5px 1.5px at 30% 85%, rgba(200,162,76,.4), transparent);
  opacity: var(--dustO, 0);
  transform: translateY(calc(var(--dustO, 0) * -40px)) scale(calc(1 + var(--dustO, 0) * 0.3));
  pointer-events: none;
}
.cinematic__copy { position: absolute; z-index: 3; bottom: clamp(50px, 9vh, 100px); left: 50%; transform: translateX(-50%); text-align: center; width: 90%; opacity: var(--copyO, 0); }
.cinematic__kicker { font: 500 11px/1 var(--mono); letter-spacing: 0.32em; color: var(--gold); margin-bottom: 16px; }
.cinematic__line { font-size: clamp(28px, 5vw, 60px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; }
.cinematic__text { margin-top: 16px; color: var(--muted); font-weight: 300; font-size: clamp(15px, 1.7vw, 18px); }

/* ============================================================
   SYSTEMS
   ============================================================ */
.section--systems { background: var(--bg-2); border-top: 1px solid var(--line-2); }
.systems__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.system-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(24px, 2.4vw, 32px); min-height: 200px;
  display: flex; flex-direction: column; position: relative; overflow: hidden;
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease), background 0.5s var(--ease);
}
.system-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(120% 80% at 0% 0%, rgba(200,162,76,.10), transparent 55%);
  opacity: 0; transition: opacity 0.5s var(--ease);
}
.system-card:hover { transform: translateY(-6px); border-color: var(--gold-line); background: var(--surface-2); }
.system-card:hover::before { opacity: 1; }
.system-card__idx { font: 500 12px/1 var(--mono); color: var(--gold); letter-spacing: 0.15em; position: relative; }
.system-card h3 { margin-top: auto; padding-top: 28px; font-size: 22px; font-weight: 500; letter-spacing: -0.02em; position: relative; }
.system-card p { margin-top: 10px; color: var(--muted); font-size: 14.5px; position: relative; }

/* ============================================================
   LORDS
   ============================================================ */
.section--lords {
  background:
    radial-gradient(70% 50% at 50% 0%, rgba(200,162,76,.05), transparent 60%),
    var(--bg);
  border-top: 1px solid var(--line-2);
}
.lords__grid { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(20px, 2.5vw, 30px); }
.lord-card {
  flex: 1 1 300px; max-width: 372px;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: var(--surface);
  transition: transform 0.6s var(--ease), border-color 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.lord-card:hover { transform: translateY(-8px); border-color: var(--gold-line); box-shadow: 0 40px 80px -50px rgba(200,162,76,.4); }
.lord-card__portrait { position: relative; aspect-ratio: 500 / 800; overflow: hidden; background: #0c0c0f; }

/* Real Lord image — full approved card art, fades in from darkness */
.lord-card__img {
  position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 50%; opacity: 0;
  filter: contrast(1.04) brightness(0.96) saturate(0.96);
  transition: opacity 1.1s var(--ease), transform 1s var(--ease), filter 0.8s var(--ease);
}
.lord-card__portrait.is-loaded .lord-card__img { opacity: 1; }
.lord-sil { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.lord-card__portrait.is-loaded .lord-sil { opacity: 0; }
.lord-card:hover .lord-sil,
.lord-card:hover .lord-card__img { transform: scale(1.06); }
.lord-card:hover .lord-card__img { filter: contrast(1.04) brightness(1) saturate(1); }

/* subtle top darkening (for the FILE label) + gentle blend to the card body */
.lord-card__portrait::after {
  content: ''; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.4) 0%, transparent 20%),
              linear-gradient(to top, var(--surface) 0%, transparent 9%);
}
/* gold edge lighting — intensifies on hover */
.lord-card__portrait::before {
  content: ''; position: absolute; inset: 0; z-index: 4; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(200,162,76,.16),
              inset 0 70px 60px -58px rgba(200,162,76,.32);
  opacity: 0.55; transition: opacity 0.6s var(--ease);
}
.lord-card:hover .lord-card__portrait::before { opacity: 1; }

/* smoke / dust layer — covers the portrait as it reveals, then dissolves away */
.lord-card__smoke {
  position: absolute; inset: -12%; z-index: 2; pointer-events: none;
  opacity: 0.9; transform: scale(1.05);
  background:
    radial-gradient(2px 2px at 18% 28%, rgba(200,162,76,.55), transparent),
    radial-gradient(1.5px 1.5px at 68% 38%, rgba(244,243,239,.4), transparent),
    radial-gradient(2px 2px at 38% 72%, rgba(200,162,76,.42), transparent),
    radial-gradient(1.5px 1.5px at 84% 64%, rgba(244,243,239,.35), transparent),
    radial-gradient(2px 2px at 56% 18%, rgba(200,162,76,.45), transparent),
    radial-gradient(1.5px 1.5px at 28% 84%, rgba(200,162,76,.4), transparent),
    radial-gradient(65% 55% at 50% 58%, rgba(11,11,14,.88), transparent 76%);
  transition: opacity 1.7s var(--ease) 0.35s, transform 1.9s var(--ease) 0.35s;
}
.reveal-lord.is-visible .lord-card__smoke { opacity: 0; transform: scale(1.4) translateY(-16px); }

.lord-card__file {
  position: absolute; top: 16px; left: 16px; z-index: 5;
  font: 500 10px/1 var(--mono); letter-spacing: 0.2em; color: var(--gold);
  border: 1px solid var(--gold-line); padding: 5px 8px; border-radius: 4px;
  background: rgba(10,10,11,.5); backdrop-filter: blur(4px);
}
.lord-card__body { padding: 22px clamp(20px, 2vw, 28px) 30px; position: relative; z-index: 6; margin-top: 0; }
.lord-card__body h3 { font-size: clamp(22px, 2.3vw, 28px); font-weight: 600; letter-spacing: -0.02em; }
.lord-card__body p { margin-top: 10px; color: var(--muted); font-size: 14.5px; max-width: 32ch; }
.lords__note { margin-top: 34px; text-align: center; font: 500 11px/1 var(--mono); letter-spacing: 0.14em; color: var(--muted-2); }
.lords__note::before { content: '◇ '; color: var(--gold); }

/* Lord reveal — rises from darkness one by one (staggered) */
.reveal-lord {
  opacity: 0; transform: translateY(54px); filter: blur(8px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease), filter 1.1s var(--ease);
  transition-delay: calc(var(--rd, 0) * 160ms);
}
.reveal-lord.is-visible { opacity: 1; transform: none; filter: blur(0); }

/* ============================================================
   WORLD MAP
   ============================================================ */
.section--map { background: var(--bg-2); border-top: 1px solid var(--line-2); padding-bottom: 0; }
.worldmap__stage { margin-top: clamp(40px, 5vw, 60px); }
.worldmap__frame {
  position: relative; width: 100%; aspect-ratio: 2 / 1; max-height: 70vh;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  overflow: hidden; background: radial-gradient(120% 100% at 50% 50%, #101015, var(--bg));
}
.worldmap__svg {
  width: 100%; height: 100%;
  transform: scale(1.15);
  transition: transform 2.4s var(--ease);
  will-change: transform;
}
.worldmap__stage.is-visible .worldmap__svg { transform: scale(1); }
.map-node circle { fill: var(--gold); }
.map-node::after { content: ''; }
.map-node { transform-box: fill-box; transform-origin: center; }
.worldmap__nodes .map-node circle {
  animation: mapPulse 2.8s ease-out infinite; animation-delay: var(--d);
  transform-origin: center; transform-box: fill-box;
}
@keyframes mapPulse {
  0%   { opacity: 1; }
  50%  { opacity: .4; }
  100% { opacity: 1; }
}
/* expanding ring pulse via stroke */
.worldmap__nodes .map-node { }
.placeholder-tag--map { position: absolute; bottom: 16px; right: 20px; margin: 0; z-index: 3; }

/* ============================================================
   VISION
   ============================================================ */
.section--vision { background: var(--bg); border-top: 1px solid var(--line-2); }
.vision__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.vision__item { background: var(--bg); padding: clamp(28px, 3vw, 44px); transition: background 0.4s var(--ease); }
.vision__item:hover { background: var(--surface); }
.vision__item h3 { font-size: 20px; font-weight: 500; letter-spacing: -0.02em; }
.vision__item h3::before { content: ''; display: inline-block; width: 6px; height: 6px; background: var(--gold); border-radius: 50%; margin-right: 12px; vertical-align: middle; }
.vision__item p { margin-top: 12px; color: var(--muted); font-size: 15px; }

/* ============================================================
   NEWS
   ============================================================ */
.section--news { background: var(--bg-2); border-top: 1px solid var(--line-2); }
.news__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.news-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(28px, 3vw, 42px); position: relative; overflow: hidden;
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease);
}
.news-card:hover { transform: translateY(-5px); border-color: var(--gold-line); }
.news-card__meta { display: flex; justify-content: space-between; font: 500 11px/1 var(--mono); letter-spacing: 0.16em; color: var(--gold); margin-bottom: 24px; }
.news-card__meta time { color: var(--muted-2); }
.news-card h3 { font-size: clamp(20px, 2.2vw, 27px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.2; }
.news-card p { margin-top: 14px; color: var(--muted); font-size: 15.5px; max-width: 46ch; }
.news-card__tag { display: inline-block; margin-top: 24px; font: 500 11px/1 var(--mono); letter-spacing: 0.12em; color: var(--muted); border: 1px solid var(--line); padding: 7px 12px; border-radius: 100px; }

/* ============================================================
   RESEARCH & ACADEMIC WORK
   ============================================================ */
.section--research {
  background:
    radial-gradient(90% 55% at 50% 0%, rgba(200, 162, 76, 0.045), transparent 60%),
    var(--bg-2);
  border-top: 1px solid var(--line-2);
}
.research__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 2.5vw, 30px); }
.research-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.research-card:hover {
  transform: translateY(-6px); border-color: var(--gold-line);
  box-shadow: 0 44px 90px -55px rgba(200, 162, 76, 0.35);
}
.research-card__visual { border-bottom: 1px solid var(--line); background: #0a0a0d; }
.research-card__body { padding: clamp(24px, 3vw, 38px); display: flex; flex-direction: column; gap: 14px; flex: 1; }
.research-card__cat { font: 500 11px/1.5 var(--mono); letter-spacing: 0.14em; color: var(--gold); text-transform: uppercase; }
.research-card__body h3 { font-size: clamp(21px, 2.3vw, 29px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
.research-card__body p { color: var(--muted); font-size: 15px; line-height: 1.6; }
.research-card__note {
  font-size: 14px !important; color: var(--muted-2) !important;
  border-left: 2px solid var(--gold-line); padding-left: 14px;
}
.research-card__privacy { margin-top: 2px; font: 500 10.5px/1.4 var(--mono); letter-spacing: 0.1em; color: var(--muted-2); }
.research-card__privacy::before { content: '⬡ '; color: var(--gold); }
.research-card__actions { margin-top: auto; padding-top: 10px; display: flex; gap: 12px; flex-wrap: wrap; }
.research-card__actions .btn { --bpad: 13px 24px; font-size: 13.5px; }

/* browser mockup */
.browser { background: var(--surface-2); }
.browser__bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.browser__bar > span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); flex: 0 0 auto; }
.browser__url {
  margin-left: 8px; flex: 1; text-align: center; min-width: 0;
  font: 500 11px/1 var(--mono); letter-spacing: 0.04em; color: var(--muted);
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); border-radius: 7px; padding: 6px 10px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.browser__screen { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #0a0a0d; }

/* certificate frame */
.certificate { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #0a0a0d; }

/* generic image slot fallback (stylized art shown until a real image loads) */
.shot__fallback { position: absolute; inset: 0; display: grid; place-items: stretch; }
.shot.is-loaded .shot__fallback { display: none; }
.tt { width: 100%; height: 100%; }
.shot__caption {
  position: absolute; left: 0; right: 0; bottom: 10px; text-align: center;
  font: 500 9.5px/1 var(--mono); letter-spacing: 0.1em; color: var(--muted-2);
}

/* designed certificate preview (privacy-safe — no personal data) */
.cert-art {
  position: absolute; inset: 14px; border: 1px solid var(--gold-line); border-radius: 10px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  text-align: center; padding: clamp(16px, 4%, 30px);
  background:
    radial-gradient(80% 60% at 50% 30%, rgba(200, 162, 76, 0.06), transparent 70%),
    linear-gradient(180deg, #121117, #0b0b0e);
}
.cert-art__top { font: 500 10px/1.4 var(--mono); letter-spacing: 0.2em; color: var(--gold); text-transform: uppercase; }
.cert-art__seal { width: clamp(56px, 9vw, 76px); }
.cert-art__seal svg { width: 100%; height: auto; filter: drop-shadow(0 0 10px rgba(200, 162, 76, 0.3)); }
.cert-art__paper { max-width: 36ch; font-size: clamp(13px, 1.4vw, 16px); font-style: italic; color: #d8d6cf; line-height: 1.5; }
.cert-art__by { font: 500 10px/1 var(--mono); letter-spacing: 0.18em; color: var(--muted); text-transform: uppercase; }

/* ============================================================
   CAREERS + CONTACT
   ============================================================ */
.section--careers { background: var(--bg); border-top: 1px solid var(--line-2); }
.careers__inner { max-width: 720px; }

.section--contact {
  background: radial-gradient(80% 80% at 50% 120%, rgba(200,162,76,.08), transparent 60%), var(--bg-2);
  border-top: 1px solid var(--line-2);
}
.contact__inner { max-width: 760px; }
.contact__email {
  display: inline-block; margin-top: 36px;
  font-size: clamp(26px, 4vw, 48px); font-weight: 600; letter-spacing: -0.03em;
  color: var(--text); position: relative; transition: color 0.4s var(--ease);
}
.contact__email::after { content: ''; position: absolute; left: 0; bottom: -4px; height: 2px; width: 100%; background: var(--gold-line); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease); }
.contact__email:hover { color: var(--gold-soft); }
.contact__email:hover::after { transform: scaleX(1); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--bg); border-top: 1px solid var(--line); padding-top: clamp(60px, 7vw, 90px); }
.footer__inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 50px; }
.logo--footer .logo__mark { font-size: 24px; }
.footer__tag { margin-top: 16px; color: var(--muted); font-size: 14px; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 14px 32px; align-content: flex-start; }
.footer__nav a { color: var(--muted); font-size: 14px; transition: color 0.3s var(--ease); }
.footer__nav a:hover { color: var(--gold-soft); }
.footer__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 26px var(--pad); border-top: 1px solid var(--line); }
.footer__base span { font: 500 11px/1 var(--mono); letter-spacing: 0.1em; color: var(--muted-2); }

/* ============================================================
   FOUNDER
   ============================================================ */
.section--founder { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); border-top: 1px solid var(--line-2); }
.founder__layout { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.founder__frame {
  position: relative; aspect-ratio: 5 / 6; max-width: 360px; border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--gold-line); background: #0c0c0f;
  box-shadow: 0 40px 90px -50px rgba(0, 0, 0, 0.9);
}
.founder__frame svg { width: 100%; height: 100%; }
.founder__frame::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.55), transparent 55%); pointer-events: none; }
.founder__badge {
  position: absolute; left: 16px; bottom: 16px; z-index: 2;
  font: 500 10px/1 var(--mono); letter-spacing: 0.24em; color: var(--gold);
  border: 1px solid var(--gold-line); padding: 6px 10px; border-radius: 4px; background: rgba(10,10,11,.5);
}
.founder__text .lede { margin-top: 22px; }
.founder__text .muted { margin-top: 18px; max-width: 56ch; }
.founder__roles { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.founder__roles li {
  font: 500 12px/1 var(--mono); letter-spacing: 0.08em; color: var(--muted);
  border: 1px solid var(--line); padding: 9px 14px; border-radius: 100px; transition: border-color .4s var(--ease), color .4s var(--ease);
}
.founder__roles li:hover { border-color: var(--gold-line); color: var(--text); }

/* Founder subtitle line */
.founder__role-line {
  margin-top: 14px; font: 500 12px/1.5 var(--mono); letter-spacing: 0.14em;
  color: var(--gold); text-transform: uppercase;
}

/* Founder photo — warm monochrome treatment to fit the black/gold identity */
.founder__frame--photo { overflow: hidden; }
.founder__frame--photo img {
  position: relative; z-index: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 18%;
  filter: grayscale(0.82) contrast(1.06) brightness(0.92);
  transition: filter 0.7s var(--ease), transform 1.2s var(--ease);
}
.founder__frame--photo:hover img { filter: grayscale(0.42) contrast(1.05) brightness(0.99); transform: scale(1.035); }
.founder__frame--photo::before {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(120% 80% at 50% 0%, rgba(200, 162, 76, 0.22), transparent 55%);
  mix-blend-mode: soft-light;
}
.founder__frame--photo::after { z-index: 2; }
.founder__frame--photo .founder__badge { z-index: 3; }

/* ============================================================
   SHADOW RULERS ZONE — wraps all game content
   ============================================================ */
.sr-zone {
  position: relative;
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(200,162,76,.05), transparent 55%),
    var(--bg);
  border-top: 1px solid var(--gold-line);
  border-bottom: 1px solid var(--gold-line);
}
.sr-zone::before, .sr-zone::after {
  content: ''; position: absolute; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-line) 20%, var(--gold-line) 80%, transparent);
}
.sr-zone::before { top: 6px; } .sr-zone::after { bottom: 6px; }
.sr-zone__rail {
  position: sticky; top: 0; height: 0; z-index: 20; pointer-events: none;
  display: flex; flex-direction: column; gap: 6px;
}
.sr-zone__rail span {
  position: absolute; left: 14px; top: 50vh;
  writing-mode: vertical-rl; transform: rotate(180deg) translateY(50%);
  font: 500 11px/1 var(--mono); letter-spacing: 0.34em; color: var(--gold);
  text-transform: uppercase; white-space: nowrap;
}
.sr-zone__rail-sub { color: var(--muted-2) !important; left: 32px !important; letter-spacing: 0.2em !important; }

/* ============================================================
   VISUAL SHOWCASE — device mockups + screenshots
   ============================================================ */
.section--showcase { background: var(--bg-2); }
.showcase__stage { position: relative; margin-top: 10px; padding: clamp(20px, 4vw, 50px) 0; }

/* --- Screenshot slot with graceful placeholder fallback --- */
.shot { position: relative; width: 100%; height: 100%; margin: 0; overflow: hidden; background: #0a0a0d; }
.shot img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0; transition: opacity 0.9s var(--ease); }
.shot.is-loaded img { opacity: 1; }
.shot__placeholder {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; text-align: center; padding: 16px;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(200,162,76,.07), transparent 60%),
    repeating-linear-gradient(45deg, rgba(255,255,255,.015) 0 10px, transparent 10px 20px),
    #0c0c0f;
}
.shot.is-loaded .shot__placeholder { display: none; }
.shot__placeholder span { font: 500 12px/1 var(--mono); letter-spacing: 0.18em; color: var(--gold); }
.shot__placeholder small { font: 500 10px/1.4 var(--mono); letter-spacing: 0.1em; color: var(--muted-2); }
.shot__placeholder::before { content: '◇'; color: var(--gold); font-size: 16px; margin-bottom: 4px; }

/* --- Generic device --- */
.device { position: relative; }
.device__screen {
  position: relative; overflow: hidden; background: #050506;
  border: 10px solid #16161b; border-radius: 14px;
  box-shadow: inset 0 0 0 1px var(--gold-line), 0 50px 110px -50px rgba(0,0,0,.95);
}
/* glass reflection sweep */
.device__screen::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 4;
  background: linear-gradient(115deg, rgba(255,255,255,.10) 0%, rgba(255,255,255,0) 30%, transparent 100%);
  mix-blend-mode: screen; opacity: .6;
}

/* Laptop */
.device--laptop { max-width: 900px; margin: 0 auto; z-index: 2; }
.device--laptop .device__screen { border-radius: 16px 16px 0 0; aspect-ratio: 16 / 9; }
.device--laptop .device__base {
  height: 18px; margin: 0 -34px; border-radius: 0 0 16px 16px;
  background: linear-gradient(180deg, #2a2a30, #131317);
  box-shadow: 0 30px 50px -30px rgba(0,0,0,.9);
}
.device--laptop .device__base::after {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 110px; height: 7px; background: #08080a; border-radius: 0 0 7px 7px;
}

/* Tablet (landscape) */
.device--tablet { flex: 1 1 460px; max-width: 560px; }
.device--tablet .device__screen { border-radius: 20px; border-width: 12px; aspect-ratio: 16 / 10; }

/* Phone (landscape — Shadow Rulers is a landscape mobile game) */
.device--phone { flex: 0 0 380px; max-width: 380px; }
.device--phone .device__screen { border-radius: 28px; border-width: 9px; aspect-ratio: 2796 / 1290; }
.device--phone .device__notch {
  position: absolute; left: 4px; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 5px; height: 54px; background: #000; border-radius: 6px;
}

.showcase__devices {
  display: flex; gap: clamp(28px, 4vw, 60px); align-items: flex-start; justify-content: center;
  flex-wrap: wrap; margin-top: clamp(54px, 7vw, 96px);
}

/* device caption */
.device__label {
  margin-top: 22px; text-align: center;
  font: 500 11px/1.4 var(--mono); letter-spacing: 0.12em; color: var(--muted); text-transform: uppercase;
}
.device--laptop .device__label { margin-top: 30px; }

/* Intelligence gallery — remaining captures, cleanly framed */
.showcase__gallery {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 1.8vw, 24px);
  margin-top: clamp(64px, 9vw, 120px);
}
.gallery-shot { margin: 0; }
.gallery-shot .shot {
  aspect-ratio: 2796 / 1290; border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
  box-shadow: 0 30px 70px -45px rgba(0, 0, 0, 0.9);
  transition: border-color 0.5s var(--ease), transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.gallery-shot:hover .shot {
  border-color: var(--gold-line); transform: translateY(-6px);
  box-shadow: 0 44px 80px -45px rgba(200, 162, 76, 0.4);
}
.gallery-shot__label {
  margin-top: 16px; font: 500 11px/1.5 var(--mono); letter-spacing: 0.1em; color: var(--muted);
}
.gallery-shot__label::before { content: '◇ '; color: var(--gold); }

.showcase__note { margin-top: clamp(48px, 6vw, 72px); text-align: center; font: 500 11px/1 var(--mono); letter-spacing: 0.14em; color: var(--muted-2); }
.showcase__note::before { content: '◇ '; color: var(--gold); }

/* float keyframes — subtle device drift */
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.float-slow { animation: floatY 8s ease-in-out infinite; will-change: transform; }
.device--tablet.float-slow { animation-duration: 7s; animation-delay: -1.5s; }
.device--phone.float-slow { animation-duration: 6.5s; animation-delay: -3s; }

/* ============================================================
   DOWNLOAD — Android (Shadow Rulers only)
   ============================================================ */
.sr-download { background: var(--bg); padding-top: clamp(24px, 4vw, 56px); }
.download__card {
  position: relative; overflow: hidden; text-align: center;
  max-width: 800px; margin-inline: auto;
  padding: clamp(40px, 6vw, 76px) clamp(28px, 5vw, 64px);
  border: 1px solid var(--gold-line); border-radius: 22px;
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
  box-shadow: 0 60px 120px -60px rgba(0, 0, 0, 0.9);
}
.download__glow {
  position: absolute; left: 50%; top: 38%; transform: translate(-50%, -50%);
  width: 130%; height: 130%; pointer-events: none;
  background: radial-gradient(circle at 50% 50%, rgba(200, 162, 76, 0.13), transparent 58%);
}
.download__card > * { position: relative; z-index: 1; }
.download__card .lede { margin-inline: auto; margin-top: 18px; }

/* Premium Google Play button */
.play-btn {
  display: inline-flex; align-items: center; gap: 16px;
  margin-top: 36px; padding: 14px 30px 14px 24px;
  border-radius: 14px; position: relative; overflow: hidden;
  background: linear-gradient(180deg, #18181d, #0c0c0e);
  border: 1px solid var(--gold-line); color: var(--text);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s var(--ease);
}
.play-btn:hover, .play-btn:focus-visible {
  transform: translateY(-3px); border-color: var(--gold);
  box-shadow: 0 22px 55px -22px rgba(200, 162, 76, 0.55);
  outline: none;
}
.play-btn__icon { color: var(--gold); width: 34px; height: 34px; display: grid; place-items: center; flex: 0 0 auto; }
.play-btn__icon svg { width: 34px; height: 34px; filter: drop-shadow(0 0 8px rgba(200, 162, 76, 0.35)); }
.play-btn__text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.05; }
.play-btn__text small { font: 500 9px/1 var(--mono); letter-spacing: 0.2em; color: var(--muted); text-transform: uppercase; }
.play-btn__text strong { font-size: 20px; font-weight: 600; letter-spacing: 0.01em; margin-top: 3px; }
/* shine sweep */
.play-btn::after {
  content: ''; position: absolute; top: 0; left: -60%; width: 45%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.13), transparent);
  transform: skewX(-18deg); transition: left 0.7s var(--ease); pointer-events: none;
}
.play-btn:hover::after { left: 130%; }

.download__note { margin-top: 18px; font: 500 11px/1 var(--mono); letter-spacing: 0.12em; color: var(--muted-2); }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(var(--reveal-y)); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: calc(var(--rd, 0) * 90ms); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
/* --- Tablet landscape / small laptop (≤1080) --- */
@media (max-width: 1080px) {
  .nav__links { gap: 20px; }
  .nav__links a:not(.nav__cta) { font-size: 13.5px; }
  .systems__grid { grid-template-columns: repeat(2, 1fr); }
  .featured__highlights { grid-template-columns: repeat(2, 1fr); }
  .vision__grid { grid-template-columns: repeat(2, 1fr); }
  .principles { grid-template-columns: 1fr; }
  .about__grid, .studios__layout, .founder__layout { grid-template-columns: 1fr; }
  .founder__frame { max-width: 300px; }
  .sr-zone__rail { display: none; }
  /* keep iPad + phone two-up at this range */
  .device--tablet { max-width: 480px; }
  .device--phone { flex-basis: 330px; max-width: 330px; }
}

/* --- Tablet portrait / mobile — hamburger menu (≤900) --- */
@media (max-width: 900px) {
  .nav__inner { padding-block: 16px; }
  .nav__links {
    position: fixed; inset: 0 0 0 auto; width: min(84vw, 360px);
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 26px;
    padding: var(--pad);
    background: rgba(11, 11, 13, 0.97); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
    border-left: 1px solid var(--line);
    transform: translateX(100%); transition: transform 0.5s var(--ease);
  }
  .nav.is-open .nav__links { transform: translateX(0); }
  .nav__links a:not(.nav__cta) { font-size: 19px; }
  .nav__cta { font-size: 16px; }
  .nav__toggle { display: flex; z-index: 101; }

  .lord-card { flex-basis: 100%; max-width: 400px; }
  .news__grid { grid-template-columns: 1fr; }
  .research__grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .showcase__gallery { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .showcase__devices { gap: 40px; }
  .device--tablet, .device--phone { flex-basis: 100%; max-width: 500px; }
  .cinematic { height: 200vh; }
}

/* --- Phones (≤560) --- */
@media (max-width: 560px) {
  .systems__grid, .featured__highlights, .vision__grid { grid-template-columns: 1fr; }
  .hero__actions { width: 100%; }
  .hero__actions .btn { flex: 1; justify-content: center; }
  .footer__inner { flex-direction: column; gap: 30px; }
  .play-btn { width: 100%; justify-content: center; padding-inline: 18px; }
  .download__card { border-radius: 18px; }
  .founder__roles { gap: 8px; }
}

/* --- Small phones (≤380) --- */
@media (max-width: 380px) {
  .logo__sub { display: none; }
  .hero__title { font-size: clamp(40px, 12vw, 56px); }
  .stat__num { font-size: 34px; }
}

/* ============================================================
   ACCESSIBILITY — reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal, .reveal-lord { opacity: 1 !important; transform: none !important; filter: none !important; }
  .hero__canvas { display: none; }
  .cinematic { height: auto; }
  .cinematic__sticky { position: relative; height: auto; padding-block: 120px; }
  .cinematic__figure { opacity: 1 !important; transform: none !important; filter: none !important; }
  .cinematic__copy, .cinematic__map { opacity: 1 !important; }
  .worldmap__svg { transform: none !important; }
  .float-slow, .float-card { animation: none !important; }
  .shot img { opacity: 1 !important; }
  .lord-card__smoke { opacity: 0 !important; }
}

@media print {
  .hero__canvas, .hero__glow, .nav { display: none; }
}
