/* ══════════════════════════════════════════════════════════════════════════
   TwinVal — Sovereign Institutional Design System
   A product of Aethel Twin Sdn. Bhd.
   ══════════════════════════════════════════════════════════════════════════ */

/* ── Reset & Base ───────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  min-height: 100vh;
  background: var(--navy-deep);
  color: var(--white-primary);
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 18px;
  line-height: 1.65;
  font-weight: 400;
  font-feature-settings: "liga", "kern";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }

/* ── Design Tokens ──────────────────────────────────────────────────────── */
:root {
  /* Colour */
  --navy-deep:     #0D2137;
  --navy-mid:      #132D4A;
  --navy-surface:  #1A3A5C;
  --gold-primary:  #C9A84C;
  --gold-light:    #E2C97E;
  --gold-subtle:   #8A6E30;
  --white-primary: #F4F0E8;
  --white-muted:   #A8A090;
  --seal-red:      #8B1A1A;

  /* Layout */
  --content-max:   1100px;
  --gutter:        48px;
  --section-gap:   120px;

  /* Type scale */
  --fs-hero:       clamp(48px, 8vw, 84px);
  --fs-h2:         clamp(28px, 3.2vw, 40px);
  --fs-h3:         22px;
  --fs-body:       18px;
  --fs-small:      14px;
  --fs-tiny:       12px;
}

/* ── Background Texture ─────────────────────────────────────────────────── */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.79  0 0 0 0 0.66  0 0 0 0 0.30  0 0 0 0.06 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 0.35;
  mix-blend-mode: overlay;
}

/* ── Typography System ──────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Cinzel', serif;
  font-weight: 500;
  color: var(--white-primary);
  line-height: 1.2;
  letter-spacing: 0.01em;
}

/* ═════════════════════════════════════════════════════════════════════════
   NAV
   ═════════════════════════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  transition: background 0.5s ease, backdrop-filter 0.5s ease, border-color 0.5s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(13, 33, 55, 0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
}
.nav__inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 22px var(--gutter);
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-right: 48px;
  font-family: 'Cinzel Decorative', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--gold-primary);
  letter-spacing: 0.03em;
  flex-shrink: 0;
}
.nav__mark { width: 30px; height: 30px; }
.nav__wordmark { line-height: 1; }

.nav__links {
  display: flex;
  gap: 28px;
  margin-left: auto;
  margin-right: 24px;
}
.nav__links a {
  font-family: 'Cinzel', serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white-muted);
  position: relative;
  padding: 4px 0;
  transition: color 0.3s ease;
}
.nav__links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold-light);
  transition: width 0.3s ease;
}
.nav__links a:hover {
  color: var(--gold-light);
}
.nav__links a:hover::after {
  width: 100%;
}

.nav__cta {
  font-size: 12px;
  letter-spacing: 0.18em;
}

/* ═════════════════════════════════════════════════════════════════════════
   BUTTONS
   ═════════════════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Cinzel', serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 12px 24px;
  border: 1px solid var(--gold-primary);
  color: var(--gold-primary);
  background: transparent;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover {
  background: var(--gold-primary);
  color: var(--navy-deep);
}
.btn--gold {
  background: var(--gold-primary);
  color: var(--navy-deep);
}
.btn--gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
}
.btn--outline {
  background: transparent;
}
.btn--large {
  font-size: 15px;
  padding: 18px 34px;
}
.btn--full {
  width: 100%;
  justify-content: center;
  padding: 16px 24px;
}
.btn__arrow {
  font-size: 10px;
  transform: translateY(-1px);
  transition: transform 0.3s ease;
}
.btn:hover .btn__arrow {
  transform: translateX(4px) translateY(-1px);
}

.btn--pulse {
  box-shadow: 0 0 0 0 rgba(201, 168, 76, 0.5);
  animation: pulse 3s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201, 168, 76, 0); }
  50%      { box-shadow: 0 0 0 14px rgba(201, 168, 76, 0.15); }
}

/* ═════════════════════════════════════════════════════════════════════════
   HERO
   ═════════════════════════════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 120px 24px 80px;
  overflow: hidden;
}
.hero__inner {
  max-width: 720px;
  width: 100%;
  text-align: center;
  position: relative;
  z-index: 3;
}
.hero__mark {
  width: 90px;
  height: 90px;
  margin: 0 auto 36px;
}
.hero__wordmark {
  font-family: 'Cinzel Decorative', serif;
  font-size: var(--fs-hero);
  font-weight: 700;
  color: var(--gold-primary);
  letter-spacing: 0.03em;
  margin-bottom: 28px;
  line-height: 1;
}
.hero__tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 400;
  color: var(--white-primary);
  margin-bottom: 20px;
  letter-spacing: 0.005em;
  line-height: 1.35;
}
.hero__subtagline {
  font-family: 'EB Garamond', serif;
  font-size: 18px;
  color: var(--white-muted);
  max-width: 680px;
  margin: 0 auto 48px;
  line-height: 1.55;
  text-wrap: balance;
}
.hero__ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Patent Pending badge — understated, letterhead tone */
.hero__patent {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 40px;
  padding: 8px 18px;
  border: 1px solid rgba(201, 168, 76, 0.28);
  border-radius: 2px;
  background: rgba(201, 168, 76, 0.04);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-subtle);
  transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.hero__patent:hover {
  color: var(--gold-light);
  border-color: rgba(201, 168, 76, 0.55);
  background: rgba(201, 168, 76, 0.08);
}
.hero__patent-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-primary);
  box-shadow: 0 0 0 0 rgba(201, 168, 76, 0.4);
  animation: patent-pulse 2.6s ease-in-out infinite;
}
@keyframes patent-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201, 168, 76, 0.4); }
  50%      { box-shadow: 0 0 0 6px rgba(201, 168, 76, 0); }
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}
.hero__chevron {
  display: block;
  color: var(--gold-subtle);
  font-size: 20px;
  animation: chevron-pulse 2.6s ease-in-out infinite;
}
@keyframes chevron-pulse {
  0%, 100% { opacity: 0.3; transform: translateY(0); }
  50%      { opacity: 1;   transform: translateY(6px); }
}

/* Lattice watermark — Islamic-geometric inspired */
.hero__lattice {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.05;
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'><g fill='none' stroke='%23C9A84C' stroke-width='0.7'><polygon points='70,10 115,40 115,100 70,130 25,100 25,40'/><polygon points='70,30 95,45 95,95 70,110 45,95 45,45'/><line x1='25' y1='40' x2='115' y2='100'/><line x1='115' y1='40' x2='25' y2='100'/><line x1='70' y1='10' x2='70' y2='130'/></g></svg>");
  background-size: 140px 140px;
}
.hero__grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background: radial-gradient(ellipse at center, transparent 0%, rgba(13, 33, 55, 0.6) 85%);
}

/* ═════════════════════════════════════════════════════════════════════════
   SECTION SYSTEM
   ═════════════════════════════════════════════════════════════════════════ */
.section {
  padding: var(--section-gap) var(--gutter);
  position: relative;
  z-index: 3;
}
.section--alt {
  background: var(--navy-mid);
}
.section__inner {
  max-width: var(--content-max);
  margin: 0 auto;
}

.section__label {
  font-family: 'Cinzel', serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-subtle);
  margin-bottom: 20px;
}
.section__heading {
  font-family: 'Cinzel', serif;
  font-size: var(--fs-h2);
  font-weight: 500;
  line-height: 1.25;
  color: var(--white-primary);
  margin-bottom: 48px;
  max-width: 780px;
  letter-spacing: 0.005em;
}

/* Section divider — gold hairline with inset */
.divider {
  position: relative;
  height: 1px;
  max-width: calc(var(--content-max) - 120px);
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, var(--gold-subtle) 20%, var(--gold-subtle) 80%, transparent);
  opacity: 0.6;
}

/* ═════════════════════════════════════════════════════════════════════════
   PROBLEM
   ═════════════════════════════════════════════════════════════════════════ */
.problem__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 16px;
}
.problem__col { max-width: 320px; }
.problem__numeral {
  font-family: 'Cinzel', serif;
  font-size: 32px;
  font-weight: 600;
  color: var(--gold-primary);
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}
.problem__title {
  font-family: 'Cinzel', serif;
  font-size: var(--fs-h3);
  font-weight: 500;
  margin-bottom: 14px;
  color: var(--white-primary);
}
.problem__body {
  color: var(--white-muted);
  font-family: 'EB Garamond', serif;
  line-height: 1.6;
}

/* ═════════════════════════════════════════════════════════════════════════
   APPROACH
   ═════════════════════════════════════════════════════════════════════════ */
.approach__grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 80px;
  align-items: start;
}

.approach__pipeline {
  display: flex;
  flex-direction: column;
  gap: 2px;
  position: relative;
  padding-left: 0;
}
.pipeline__step {
  position: relative;
  font-family: 'Cinzel', serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white-primary);
  padding: 14px 22px 14px 40px;
  border: 1px solid rgba(201, 168, 76, 0.3);
  background: var(--navy-surface);
  margin-bottom: 14px;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.pipeline__step:hover {
  border-color: var(--gold-primary);
  background: rgba(26, 58, 92, 0.8);
}
.pipeline__step::before {
  content: "";
  position: absolute;
  left: 26px;
  bottom: -14px;
  width: 1px;
  height: 14px;
  background: var(--gold-subtle);
}
.pipeline__step:last-child::before { display: none; }
.pipeline__dot {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border: 1px solid var(--gold-primary);
  background: var(--navy-deep);
  border-radius: 50%;
}
.pipeline__step--final .pipeline__dot {
  background: var(--gold-primary);
}
.pipeline__step--final {
  border-color: var(--gold-primary);
  color: var(--gold-light);
}

.approach__narrative p {
  margin-bottom: 20px;
  color: var(--white-primary);
  font-family: 'EB Garamond', serif;
  font-size: 18px;
  line-height: 1.7;
}

.callout {
  margin-top: 64px;
  padding: 32px 40px;
  background: var(--navy-surface);
  border-left: 3px solid var(--gold-primary);
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 400;
  font-style: italic;
  color: var(--white-primary);
  line-height: 1.5;
  letter-spacing: 0.005em;
}

/* ═════════════════════════════════════════════════════════════════════════
   INDICATORS
   ═════════════════════════════════════════════════════════════════════════ */
.indicators__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
.indicator {
  padding: 28px 20px;
  background: var(--navy-surface);
  border: 1px solid rgba(201, 168, 76, 0.22);
  border-top: 2px solid var(--gold-primary);
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.indicator:hover {
  border-color: var(--gold-primary);
  transform: translateY(-2px);
}
.indicator__acronym {
  font-family: 'Cinzel', serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--gold-primary);
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}
.indicator__name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--white-primary);
  margin-bottom: 14px;
  line-height: 1.25;
  min-height: 38px;
}
.indicator__desc {
  font-family: 'EB Garamond', serif;
  font-size: 14px;
  color: var(--white-muted);
  line-height: 1.55;
}

.formula {
  padding: 32px 40px;
  background: var(--navy-surface);
  border: 1px solid rgba(201, 168, 76, 0.25);
}
.formula pre {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  color: var(--gold-light);
  line-height: 1.8;
  white-space: pre-wrap;
  word-break: break-word;
}

.footnote {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: 15px;
  color: var(--white-muted);
  margin-top: 24px;
  line-height: 1.6;
}

/* ═════════════════════════════════════════════════════════════════════════
   AUDIENCE
   ═════════════════════════════════════════════════════════════════════════ */
.audience__lede {
  max-width: 780px;
  margin-bottom: 56px;
  font-family: 'EB Garamond', serif;
  font-size: 18px;
  line-height: 1.65;
  color: var(--white-muted);
}
.audience__lede em {
  font-style: italic;
  color: var(--gold-light);
  letter-spacing: 0.01em;
}
.audience__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.audience__tile {
  padding: 36px 32px;
  background: var(--navy-surface);
  border: 1px solid rgba(201, 168, 76, 0.22);
  border-top: 2px solid var(--gold-primary);
  transition: border-color 0.3s ease;
}
.audience__tile:hover { border-color: var(--gold-primary); }
.audience__tile h3 {
  font-family: 'Cinzel', serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--gold-primary);
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}
.audience__tile p {
  color: var(--white-muted);
  font-family: 'EB Garamond', serif;
  line-height: 1.6;
}

/* ═════════════════════════════════════════════════════════════════════════
   DEMO
   ═════════════════════════════════════════════════════════════════════════ */
.section--demo {
  background: var(--navy-mid);
}
.demo__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 80px;
  align-items: center;
}
.demo__lede {
  font-family: 'EB Garamond', serif;
  color: var(--white-primary);
  margin-bottom: 36px;
  line-height: 1.7;
}
.demo__disclaimer {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: 14px;
  color: var(--white-muted);
  margin-top: 20px;
}

.demo__terminal {
  background: var(--navy-deep);
  border: 1px solid var(--gold-primary);
  box-shadow: 0 0 0 1px rgba(201, 168, 76, 0.1);
}
.terminal__chrome {
  padding: 10px 16px;
  background: rgba(201, 168, 76, 0.08);
  border-bottom: 1px solid rgba(201, 168, 76, 0.3);
}
.terminal__title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--gold-subtle);
  letter-spacing: 0.08em;
}
.terminal__body {
  padding: 22px 22px 20px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  line-height: 1.9;
}
.terminal__line {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.term__k { color: var(--gold-subtle); letter-spacing: 0.04em; }
.term__v { color: var(--white-primary); }
.term__v--gold { color: var(--gold-light); font-weight: 500; }
.term__small { font-size: 11px; opacity: 0.75; }
.terminal__rule {
  height: 1px;
  background: rgba(201, 168, 76, 0.25);
  margin: 10px 0;
}
.term__live {
  display: flex;
  justify-content: flex-start;
  gap: 10px;
  align-items: center;
  color: var(--seal-red);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 4px;
}
.term__live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--seal-red);
  box-shadow: 0 0 0 0 rgba(139, 26, 26, 0.6);
  animation: live-pulse 2s ease-in-out infinite;
}
@keyframes live-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(139, 26, 26, 0.6); }
  50%      { box-shadow: 0 0 0 8px rgba(139, 26, 26, 0); }
}

/* ═════════════════════════════════════════════════════════════════════════
   DASHBOARDS — role-specific portal tiles
   ═════════════════════════════════════════════════════════════════════════ */
.dashboards__lede {
  max-width: 780px;
  margin-bottom: 56px;
  font-family: 'EB Garamond', serif;
  font-size: 18px;
  line-height: 1.65;
  color: var(--white-muted);
}
.dashboards__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.dashboard {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 28px 26px;
  background: var(--navy-surface);
  border: 1px solid rgba(201, 168, 76, 0.18);
  border-top: 2px solid rgba(201, 168, 76, 0.35);
  transition: border-color 0.3s ease, transform 0.3s ease, background 0.3s ease;
  text-decoration: none;
  color: inherit;
}
.dashboard--live {
  border-top-color: var(--gold-primary);
  border-color: rgba(201, 168, 76, 0.35);
}
.dashboard--live:hover {
  border-color: var(--gold-primary);
  transform: translateY(-2px);
  background: #1E4269;
}
.dashboard--pending:hover {
  border-color: rgba(201, 168, 76, 0.45);
  transform: translateY(-2px);
  background: #1E4269;
}
.dashboard--pending:hover .dashboard__cta--pending {
  color: var(--gold-light);
  border-top-color: rgba(201, 168, 76, 0.4);
}
.dashboard__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-primary);
}
.dashboard__status--pending {
  color: var(--white-muted);
  opacity: 0.7;
}
.dashboard__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(168, 160, 144, 0.5);
  border: 1px solid rgba(168, 160, 144, 0.6);
}
.dashboard__dot--live {
  background: var(--gold-primary);
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 0 rgba(201, 168, 76, 0.5);
  animation: live-pulse-gold 2.4s ease-in-out infinite;
}
@keyframes live-pulse-gold {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201, 168, 76, 0.5); }
  50%      { box-shadow: 0 0 0 7px rgba(201, 168, 76, 0); }
}
.dashboard__name {
  font-family: 'Cinzel', serif;
  font-size: 18px;
  font-weight: 500;
  color: var(--gold-primary);
  letter-spacing: 0.02em;
  margin: 4px 0 0;
}
.dashboard__desc {
  flex: 1;
  color: var(--white-muted);
  font-family: 'EB Garamond', serif;
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}
.dashboard__cta {
  font-family: 'Cinzel', serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
  padding-top: 8px;
  border-top: 1px solid rgba(201, 168, 76, 0.15);
  text-decoration: none;
  transition: color 0.3s ease, border-top-color 0.3s ease;
}
.dashboard__cta--pending {
  color: var(--gold-subtle);
}

/* Live tile: stacked primary + secondary CTAs */
.dashboard__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(201, 168, 76, 0.15);
}
.dashboard__actions .dashboard__cta {
  padding-top: 0;
  border-top: none;
}
.dashboard__cta--primary {
  color: var(--gold-light);
}
.dashboard__cta--secondary {
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--gold-subtle);
  opacity: 0.85;
}
.dashboard__cta--secondary:hover {
  color: var(--gold-light);
  opacity: 1;
}
.dashboard--live:hover .dashboard__cta--primary {
  color: var(--gold-primary);
}

/* ═════════════════════════════════════════════════════════════════════════
   CREDENTIALS
   ═════════════════════════════════════════════════════════════════════════ */
.credentials__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.credentials__subhead {
  font-family: 'Cinzel', serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(201, 168, 76, 0.3);
}
.credentials__list {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 14px 20px;
  font-family: 'EB Garamond', serif;
  font-size: 16px;
}
.credentials__list dt {
  color: var(--white-muted);
  font-style: italic;
}
.credentials__list dd {
  color: var(--white-primary);
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.02em;
}
.credentials__standards {
  list-style: none;
  font-family: 'EB Garamond', serif;
  font-size: 16px;
  line-height: 2;
  color: var(--white-primary);
}
.credentials__standards li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.check {
  color: var(--gold-primary);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 3px;
}

/* ═════════════════════════════════════════════════════════════════════════
   ABOUT
   ═════════════════════════════════════════════════════════════════════════ */
.about__inner {
  max-width: 680px;
}
.about__body {
  font-family: 'EB Garamond', serif;
  font-size: 20px;
  line-height: 1.7;
  color: var(--white-primary);
  margin-bottom: 28px;
}
.about__founder {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 18px;
  color: var(--white-muted);
  margin-bottom: 40px;
}
.about__entity {
  font-family: 'Cinzel', serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-subtle);
  padding-top: 24px;
  border-top: 1px solid rgba(201, 168, 76, 0.2);
}

/* ═════════════════════════════════════════════════════════════════════════
   CONTACT
   ═════════════════════════════════════════════════════════════════════════ */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: start;
}
.contact__lede {
  font-family: 'EB Garamond', serif;
  color: var(--white-primary);
  margin-bottom: 32px;
  line-height: 1.7;
  max-width: 400px;
}
.contact__meta {
  font-family: 'Cinzel', serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-subtle);
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field label {
  font-family: 'Cinzel', serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-subtle);
}
.field input,
.field textarea {
  font-family: 'EB Garamond', serif;
  font-size: 17px;
  color: var(--white-primary);
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(201, 168, 76, 0.3);
  padding: 10px 0 8px;
  transition: border-color 0.3s ease;
  resize: vertical;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--gold-primary);
}
.field textarea { min-height: 100px; }

.form__status {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: 14px;
  color: var(--white-muted);
  min-height: 20px;
  text-align: center;
}
.form__status.is-success { color: var(--gold-light); }
.form__status.is-error { color: var(--seal-red); }

/* ═════════════════════════════════════════════════════════════════════════
   FOOTER
   ═════════════════════════════════════════════════════════════════════════ */
.footer {
  padding: 60px var(--gutter) 48px;
  background: var(--navy-deep);
  border-top: 1px solid rgba(201, 168, 76, 0.2);
  position: relative;
  z-index: 3;
}
.footer__inner {
  max-width: var(--content-max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer__mark { width: 28px; height: 28px; }
.footer__wordmark {
  font-family: 'Cinzel Decorative', serif;
  font-size: 18px;
  color: var(--gold-primary);
  letter-spacing: 0.03em;
}
.footer__line {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: 15px;
  color: var(--white-muted);
}
.footer__copy {
  font-family: 'Cinzel', serif;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-subtle);
}

/* ═════════════════════════════════════════════════════════════════════════
   REVEAL ANIMATION
   ═════════════════════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0.15;
  transform: translateY(16px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn--pulse, .hero__chevron, .term__live-dot { animation: none; }
  * { scroll-behavior: auto !important; }
}

/* ═════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═════════════════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  :root {
    --gutter: 28px;
    --section-gap: 88px;
  }
  .nav__links { display: none; }
  .nav__inner { gap: 16px; justify-content: space-between; }
  .problem__grid { grid-template-columns: 1fr; gap: 40px; }
  .approach__grid { grid-template-columns: 1fr; gap: 48px; }
  .indicators__grid { grid-template-columns: repeat(2, 1fr); }
  .audience__grid { grid-template-columns: 1fr; }
  .dashboards__grid { grid-template-columns: repeat(2, 1fr); }
  .demo__grid { grid-template-columns: 1fr; gap: 48px; }
  .credentials__grid { grid-template-columns: 1fr; gap: 48px; }
  .contact__grid { grid-template-columns: 1fr; gap: 48px; }
  .callout { padding: 24px 28px; font-size: 19px; }
  .formula { padding: 24px 20px; }
  .formula pre { font-size: 12px; }
}

@media (max-width: 520px) {
  .hero__ctas { flex-direction: column; align-items: stretch; max-width: 300px; margin: 0 auto; }
  .btn { justify-content: center; }
  .indicators__grid { grid-template-columns: 1fr; }
  .dashboards__grid { grid-template-columns: 1fr; }
  .nav__cta span:first-child { display: none; }
  .nav__cta { padding: 10px 12px; }
}
