/* ============================================================
   Soveraine — premium minimal design system
   Pure black & white. Onest. Massive type. Pill buttons.
   Inspired by aircenter.space premium architecture.
   ============================================================ */

:root {
  --white: #FFFFFF;
  --off-white: #FAF7F0;
  --bone: #F5F1E8;
  --ink: #0A0F1C;
  --ink-soft: #1A2030;
  --ink-mute: #6B7080;
  --ink-light: #B5B8C2;
  --line: rgba(10,15,28,0.10);
  --line-soft: rgba(10,15,28,0.06);
  --line-dark: rgba(245,241,232,0.14);
  --line-dark-soft: rgba(245,241,232,0.08);
  --gold: #C9A961;
  --gold-bright: #D4B673;
  --gold-deep: #A88945;
  --gold-soft: rgba(201,169,97,0.14);

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

  --maxw: 1480px;
  --readw: 720px;
  --radius: 4px;
  --radius-card: 24px;
  --radius-image: 28px;
  --radius-pill: 999px;

  --layout-pad-y: 64px;
  --container-pad-x: 32px;
}

@media (max-width: 768px) {
  :root {
    --container-pad-x: 20px;
    --layout-pad-y: 40px;
    --radius-card: 20px;
    --radius-image: 20px;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern", "ss01", "ss02";
}

::selection { background: var(--ink); color: var(--white); }

a { color: inherit; text-decoration: none; transition: opacity 200ms; }
a:hover { opacity: 0.72; }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.025em;
  line-height: 1.02;
  margin: 0;
}

p { margin: 0; }

/* ============================================================
   UI theme contexts (light vs dark sections)
   ============================================================ */

.ui-light { color: var(--ink); }
.ui-light.ui-background { background: var(--white); }
.ui-dark { color: var(--white); }
.ui-dark.ui-background { background: var(--ink); }
.ui-dark h1, .ui-dark h2, .ui-dark h3, .ui-dark h4 { color: var(--white); }
.ui-dark .text-mute { color: var(--ink-light); }
.ui-light .text-mute { color: var(--ink-mute); }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--container-pad-x);
}

/* ============================================================
   Site header — minimal, sticky, pill buttons
   ============================================================ */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px var(--container-pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  pointer-events: none;
}
.site-header > * { pointer-events: auto; }

.wordmark {
  display: inline-flex;
  align-items: center;
  font-family: var(--font);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.04em;
  color: var(--ink);
  background: var(--white);
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  transition: background 200ms, color 200ms;
}
.wordmark:hover { opacity: 1; background: var(--ink); color: var(--white); }
.wordmark-mark {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--ink);
  margin-right: 10px;
  transition: background 200ms;
}
.wordmark:hover .wordmark-mark { background: var(--white); }

.nav-actions { display: inline-flex; gap: 10px; align-items: center; }

/* ============================================================
   Pill buttons — primary / secondary / square
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 22px;
  border-radius: var(--radius-pill);
  font-family: var(--font);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 200ms, color 200ms, border-color 200ms;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { opacity: 1; }

.btn-primary {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}
.btn-primary:hover { background: var(--white); color: var(--ink); border-color: var(--ink); }

.btn-secondary {
  background: var(--white);
  color: var(--ink);
  border-color: var(--line);
}
.btn-secondary:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }

.ui-dark .btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: var(--line-dark);
}
.ui-dark .btn-secondary:hover { background: var(--white); color: var(--ink); border-color: var(--white); }

.btn-square {
  width: 48px;
  height: 48px;
  padding: 0;
  justify-content: center;
  flex-shrink: 0;
}

.btn-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform 250ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.btn:hover .btn-arrow { transform: rotate(-45deg); }

/* "Big vertical card-button" — used inside content cards */
.btn-vertical {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0;
  width: 100%;
  height: 152px;
  padding: 20px 24px;
  border-radius: var(--radius-card);
  background: var(--off-white);
  color: var(--ink);
  border: 1px solid var(--line);
  text-align: left;
  font-size: 17px;
  font-weight: 500;
  transition: background 200ms, color 200ms, border-color 200ms;
}
.btn-vertical:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn-vertical .btn-arrow {
  align-self: flex-end;
  width: 28px; height: 28px;
}
.btn-vertical:hover .btn-arrow { transform: rotate(-45deg); }
.ui-dark .btn-vertical { background: var(--ink-soft); color: var(--white); border-color: var(--line-dark); }
.ui-dark .btn-vertical:hover { background: var(--white); color: var(--ink); border-color: var(--white); }

/* ============================================================
   Typography scales — display, headings, lead
   ============================================================ */

.display-xl {
  font-size: clamp(56px, 10vw, 168px);
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: -0.045em;
}
.display-l {
  font-size: clamp(44px, 7vw, 112px);
  font-weight: 500;
  line-height: 1.0;
  letter-spacing: -0.04em;
}
.display-m {
  font-size: clamp(32px, 5vw, 72px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.032em;
}
.display-s {
  font-size: clamp(24px, 3.2vw, 44px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.028em;
}

.lead {
  font-family: var(--font);
  font-size: clamp(17px, 1.6vw, 22px);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.012em;
}

.eyebrow {
  font-family: var(--font);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px var(--gold-soft);
  animation: pulse-dot 2.4s ease-in-out infinite;
}
.ui-dark .eyebrow { color: var(--ink-light); }
.ui-dark .eyebrow::before { background: var(--gold-bright); box-shadow: 0 0 0 4px rgba(212,182,115,0.18); }

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 4px var(--gold-soft); }
  50% { box-shadow: 0 0 0 8px rgba(201,169,97,0.06); }
}

/* ============================================================
   Section primitives
   ============================================================ */

.section {
  padding: var(--layout-pad-y) 0;
  position: relative;
}
.section--no-pad-top { padding-top: 0; }
.section--no-pad-bot { padding-bottom: 0; }
.section--tall { padding: calc(var(--layout-pad-y) * 1.75) 0; }

/* ============================================================
   Hero (full-viewport, massive typography)
   ============================================================ */

.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 120px var(--container-pad-x) 56px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1200px 800px at 20% 100%, #0F1A30 0%, transparent 60%),
    radial-gradient(900px 700px at 90% 0%, #15203A 0%, transparent 55%),
    var(--ink);
  color: var(--white);
}
.hero::before {
  content: "";
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(700px 500px at 75% 25%, rgba(201,169,97,0.10), transparent 60%),
    radial-gradient(900px 700px at 10% 90%, rgba(201,169,97,0.05), transparent 65%);
  pointer-events: none;
  animation: hero-drift 18s ease-in-out infinite alternate;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245,241,232,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,241,232,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: -1px -1px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 30%, transparent 80%);
}
@keyframes hero-drift {
  0% { transform: translate3d(0,0,0) scale(1); }
  100% { transform: translate3d(-3%, 2%, 0) scale(1.05); }
}

/* Signet — animated SVG mark in the hero */
.hero-signet {
  position: absolute;
  top: 110px;
  right: var(--container-pad-x);
  width: 180px;
  height: 180px;
  z-index: 2;
  opacity: 0.9;
  animation: signet-spin 60s linear infinite;
}
.hero-signet svg { width: 100%; height: 100%; display: block; }
@keyframes signet-spin { to { transform: rotate(360deg); } }
@media (max-width: 768px) {
  .hero-signet { width: 110px; height: 110px; top: 88px; right: 20px; }
}
.hero-inner {
  max-width: var(--maxw);
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.hero-meta {
  display: flex;
  gap: 28px;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-bottom: 48px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line-dark-soft);
  flex-wrap: wrap;
}
.hero-meta strong { color: var(--white); font-weight: 500; }

.hero-headline {
  font-size: clamp(48px, 9vw, 152px);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: -0.045em;
  margin: 0 0 40px;
  color: var(--white);
  max-width: 18ch;
}
.hero-headline em {
  font-style: normal;
  color: var(--gold-bright);
  display: inline-block;
  position: relative;
}

/* Rotating word in hero headline */
.word-rotator {
  display: inline-block;
  position: relative;
  vertical-align: top;
  color: var(--gold-bright);
  min-width: 7ch;
}
.word-rotator > span {
  display: inline-block;
  opacity: 0;
  position: absolute;
  left: 0;
  top: 0;
  white-space: nowrap;
  transform: translateY(0.3em);
  transition: opacity 600ms ease, transform 600ms ease;
}
.word-rotator > span.is-active {
  opacity: 1;
  position: relative;
  transform: translateY(0);
}

.hero-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--line-dark-soft);
}
.hero-lede {
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.4;
  color: var(--off-white);
  max-width: 38ch;
  font-weight: 400;
}
.hero-ctas {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 24px;
  right: var(--container-pad-x);
  z-index: 2;
}

/* ============================================================
   Intro / mission section (big statement + supporting text)
   ============================================================ */

.section-intro {
  background: var(--white);
  padding: calc(var(--layout-pad-y) * 1.5) 0 var(--layout-pad-y);
}
.section-intro h2 {
  font-size: clamp(36px, 6vw, 96px);
  font-weight: 500;
  line-height: 1.0;
  letter-spacing: -0.04em;
  max-width: 14ch;
  margin: 24px 0 56px;
}
.section-intro .lead {
  max-width: 56ch;
  color: var(--ink-soft);
}

/* Two-column block (text + content), generic */
.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: 40px; }
}

/* ============================================================
   Card with massive title + image area + button row
   (the "About the project" pattern from AIR)
   ============================================================ */

.feature-card {
  background: var(--off-white);
  border-radius: var(--radius-card);
  padding: 48px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: end;
  border: 1px solid var(--line);
}
@media (max-width: 900px) {
  .feature-card { grid-template-columns: 1fr; padding: 32px 24px; gap: 32px; align-items: start; }
}
.feature-card-statement {
  font-size: clamp(24px, 2.6vw, 36px);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.022em;
  color: var(--ink);
}
.feature-card-foot {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: flex-end;
}
@media (max-width: 900px) {
  .feature-card-foot { justify-content: flex-start; }
}

/* ============================================================
   Numbered pillar cards — premium grid
   ============================================================ */

.pillars {
  padding: calc(var(--layout-pad-y) * 1.25) 0;
  background: var(--white);
}
.pillars-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.pillars-header h2 {
  font-size: clamp(36px, 6vw, 96px);
  font-weight: 500;
  line-height: 1.0;
  letter-spacing: -0.04em;
  max-width: 14ch;
  margin: 16px 0 0;
}
.pillars-header p {
  max-width: 36ch;
  color: var(--ink-mute);
  font-size: 16px;
  line-height: 1.5;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 1100px) { .pillars-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .pillars-grid { grid-template-columns: 1fr; } }

.pillar-card {
  background: var(--off-white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 32px;
  display: flex;
  flex-direction: column;
  min-height: 360px;
  transition: background 250ms, color 250ms, border-color 250ms;
  color: var(--ink);
  position: relative;
  overflow: hidden;
}
.pillar-card::after {
  content: "";
  position: absolute;
  inset: auto -40px -40px auto;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(10,10,10,0.04), transparent 70%);
  pointer-events: none;
  transition: background 250ms;
}
.pillar-card:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.pillar-card:hover::after { background: radial-gradient(circle, rgba(255,255,255,0.06), transparent 70%); }

.pillar-number {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-mute);
  margin-bottom: 32px;
  transition: color 250ms;
}
.pillar-card:hover .pillar-number { color: var(--ink-light); }
.pillar-card h3 {
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0 0 14px;
}
.pillar-card p {
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-mute);
  flex-grow: 1;
  margin-bottom: 24px;
  transition: color 250ms;
}
.pillar-card:hover p { color: var(--ink-light); }
.pillar-status {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pillar-card:hover .pillar-status { color: var(--ink-light); border-top-color: var(--line-dark); }

/* ============================================================
   Stats / numbers row
   ============================================================ */

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--line);
}
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat {
  background: var(--white);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 200px;
  justify-content: space-between;
}
.stat-value {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: var(--ink);
}
.stat-label {
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink-mute);
  max-width: 22ch;
}

/* ============================================================
   "How we work" four-up trust grid
   ============================================================ */

.principles {
  background: var(--ink);
  color: var(--white);
  padding: calc(var(--layout-pad-y) * 1.5) 0;
}
.principles h2 {
  font-size: clamp(36px, 6vw, 96px);
  font-weight: 500;
  line-height: 1.0;
  letter-spacing: -0.04em;
  max-width: 18ch;
  margin: 24px 0 64px;
  color: var(--white);
}
.principles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line-dark);
  border-top: 1px solid var(--line-dark);
}
@media (max-width: 800px) { .principles-grid { grid-template-columns: 1fr; } }
.principle {
  background: var(--ink);
  padding: 48px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.principle-num {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--ink-light);
}
.principle h3 {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.022em;
  line-height: 1.18;
  color: var(--white);
  margin: 0 0 8px;
  max-width: 22ch;
}
.principle p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-light);
  max-width: 42ch;
}

/* ============================================================
   Newsletter (dark, oversized)
   ============================================================ */

.newsletter {
  background: var(--white);
  padding: calc(var(--layout-pad-y) * 1.75) 0;
  text-align: left;
}
.newsletter-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 64px;
  align-items: end;
}
@media (max-width: 900px) { .newsletter-inner { grid-template-columns: 1fr; gap: 32px; align-items: start; } }
.newsletter h2 {
  font-size: clamp(40px, 7vw, 112px);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: -0.04em;
  margin: 24px 0 0;
}
.newsletter-side p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-mute);
  margin: 0 0 24px;
  max-width: 36ch;
}
.newsletter-side a {
  font-weight: 500;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 1px;
}

/* ============================================================
   Trust pages grid (links to about, policy, etc)
   ============================================================ */

.trust-grid-section {
  background: var(--off-white);
  padding: calc(var(--layout-pad-y) * 1.25) 0;
  border-top: 1px solid var(--line);
}
.trust-grid-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.trust-grid-header h2 {
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 500;
  line-height: 1.0;
  letter-spacing: -0.036em;
  margin: 16px 0 0;
}
.trust-grid-header p {
  max-width: 36ch;
  color: var(--ink-mute);
  font-size: 16px;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 1000px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .trust-grid { grid-template-columns: 1fr; } }
.trust-link {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 32px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 220px;
  transition: background 200ms, color 200ms, border-color 200ms;
  color: var(--ink);
}
.trust-link:hover { background: var(--ink); color: var(--white); border-color: var(--ink); opacity: 1; }
.trust-link-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
  transition: color 200ms;
}
.trust-link:hover .trust-link-tag { color: var(--ink-light); }
.trust-link h3 {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.022em;
  line-height: 1.18;
  margin: 0;
}
.trust-link p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-mute);
  flex-grow: 1;
  margin: 0;
  transition: color 200ms;
}
.trust-link:hover p { color: var(--ink-light); }
.trust-link-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  transition: border-color 200ms;
}
.trust-link:hover .trust-link-cta { border-top-color: var(--line-dark); }

/* ============================================================
   Footer
   ============================================================ */

.site-footer {
  background: var(--ink);
  color: var(--white);
  padding: calc(var(--layout-pad-y) * 1.25) 0 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr));
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line-dark);
}
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 540px) { .footer-top { grid-template-columns: 1fr; } }
.footer-wordmark {
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
  color: var(--white);
}
.footer-tag {
  font-size: 15px;
  color: var(--ink-light);
  margin: 0 0 6px;
  max-width: 32ch;
  line-height: 1.5;
}
.footer-tag-mute { color: var(--ink-mute); font-size: 13px; }
.footer-col-title {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 12px; font-size: 14px; }
.footer-col a { color: var(--white); }
.footer-soon { color: var(--ink-mute); font-style: italic; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: var(--ink-mute);
}

/* ============================================================
   Trust pages (article layout)
   ============================================================ */

.trust-page {
  background: var(--white);
  padding: 144px var(--container-pad-x) 96px;
  min-height: 100vh;
}
.trust-inner {
  max-width: 880px;
  margin: 0 auto;
}
.breadcrumb {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 12px;
  color: var(--ink-mute);
  margin-bottom: 64px;
  font-family: var(--mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--ink-mute); }
.breadcrumb-here { color: var(--ink); }

.trust-header {
  padding-bottom: 56px;
  margin-bottom: 64px;
  border-bottom: 1px solid var(--line);
}
.trust-header .eyebrow { margin-bottom: 24px; }
.trust-header h1 {
  font-size: clamp(40px, 7vw, 96px);
  font-weight: 500;
  line-height: 1.0;
  letter-spacing: -0.042em;
  margin: 0 0 32px;
  max-width: 18ch;
}
.trust-header .lead {
  color: var(--ink-soft);
  max-width: 36em;
}
.trust-meta {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 32px 0 0;
}

.trust-toc {
  background: var(--off-white);
  border-radius: var(--radius-card);
  padding: 28px;
  margin: 0 0 56px;
}
.trust-toc-title {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 14px;
}
.trust-toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: toc;
}
.trust-toc li {
  counter-increment: toc;
  padding: 8px 0;
  border-top: 1px solid var(--line-soft);
  font-size: 15px;
}
.trust-toc li:first-child { border-top: 0; padding-top: 0; }
.trust-toc li::before {
  content: counter(toc, decimal-leading-zero);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-mute);
  margin-right: 14px;
}
.trust-toc a { color: var(--ink); }

/* Prose (Markdown body) */
.prose {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
}
.prose p { margin: 0 0 1.3em; }
.prose h2 {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 500;
  letter-spacing: -0.028em;
  line-height: 1.1;
  color: var(--ink);
  margin: 2.4em 0 0.6em;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.prose h2:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
.prose h3 {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 1.8em 0 0.4em;
}
.prose a {
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 1px;
  font-weight: 500;
}
.prose a:hover { opacity: 0.7; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose em { font-style: italic; }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0 0 1.4em; }
.prose li { margin-bottom: 0.5em; }
.prose blockquote {
  margin: 1.8em 0;
  padding: 0 0 0 28px;
  border-left: 2px solid var(--ink);
  font-size: 21px;
  line-height: 1.4;
  color: var(--ink);
  font-weight: 400;
  letter-spacing: -0.015em;
}
.prose code {
  font-family: var(--mono);
  font-size: 0.9em;
  background: var(--off-white);
  padding: 2px 6px;
  border-radius: 3px;
}
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.5em 0; }

.trust-footer-note {
  margin-top: 72px;
  padding: 32px;
  background: var(--off-white);
  border-radius: var(--radius-card);
  font-size: 15px;
  color: var(--ink-soft);
}
.trust-footer-note p { margin: 0; }
.trust-footer-note strong { color: var(--ink); font-weight: 500; }
.trust-footer-note a { border-bottom: 1px solid var(--ink); padding-bottom: 1px; }

/* ============================================================
   Disclosure bar (floating, bottom-left, dismissible)
   ============================================================ */

.disclosure-bar {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 90;
  background: var(--ink);
  color: var(--white);
  padding: 14px 18px 14px 22px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  max-width: calc(100vw - 40px);
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}
.disclosure-bar a { color: var(--white); border-bottom: 1px solid rgba(255,255,255,0.4); padding-bottom: 1px; }
.disclosure-close {
  background: rgba(255,255,255,0.1);
  border: 0;
  color: var(--white);
  cursor: pointer;
  width: 28px; height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
}
.disclosure-close:hover { background: rgba(255,255,255,0.2); }
@media (max-width: 540px) {
  .disclosure-bar { font-size: 12px; bottom: 12px; left: 12px; right: 12px; max-width: none; justify-content: space-between; }
}

/* ============================================================
   Scroll arrow indicator
   ============================================================ */

.scroll-indicator {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-light);
}
.scroll-indicator-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  animation: scroll-bob 2.4s ease-in-out infinite;
}
@keyframes scroll-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ============================================================
   Marquee — jurisdiction strip
   ============================================================ */

.marquee {
  background: var(--ink);
  color: var(--white);
  border-top: 1px solid var(--line-dark-soft);
  border-bottom: 1px solid var(--line-dark-soft);
  overflow: hidden;
  padding: 22px 0;
  position: relative;
}
.marquee::before, .marquee::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--ink), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--ink), transparent); }

.marquee-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: marquee-scroll 38s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.marquee-item::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
@keyframes marquee-scroll {
  from { transform: translate3d(0,0,0); }
  to { transform: translate3d(-50%, 0, 0); }
}

/* ============================================================
   Scroll progress bar (top of viewport)
   ============================================================ */

.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: var(--gold);
  z-index: 200;
  transition: width 120ms linear;
  box-shadow: 0 0 10px rgba(201,169,97,0.5);
}

/* ============================================================
   Reveal on scroll
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 800ms cubic-bezier(0.16, 1, 0.3, 1), transform 800ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}
.reveal-d1 { transition-delay: 80ms; }
.reveal-d2 { transition-delay: 160ms; }
.reveal-d3 { transition-delay: 240ms; }
.reveal-d4 { transition-delay: 320ms; }
.reveal-d5 { transition-delay: 400ms; }
.reveal-d6 { transition-delay: 480ms; }

/* Stagger children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 700ms cubic-bezier(0.16, 1, 0.3, 1), transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-stagger.is-in > *:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 60ms; }
.reveal-stagger.is-in > *:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 140ms; }
.reveal-stagger.is-in > *:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 220ms; }
.reveal-stagger.is-in > *:nth-child(4) { opacity: 1; transform: translateY(0); transition-delay: 300ms; }
.reveal-stagger.is-in > *:nth-child(5) { opacity: 1; transform: translateY(0); transition-delay: 380ms; }
.reveal-stagger.is-in > *:nth-child(6) { opacity: 1; transform: translateY(0); transition-delay: 460ms; }

/* ============================================================
   Page load animation
   ============================================================ */

@keyframes page-enter {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-meta, .hero-headline, .hero-foot, .hero-signet {
  animation: page-enter 900ms cubic-bezier(0.16, 1, 0.3, 1) backwards;
}
.hero-meta { animation-delay: 120ms; }
.hero-headline { animation-delay: 240ms; }
.hero-foot { animation-delay: 480ms; }
.hero-signet { animation-delay: 360ms; animation-duration: 1200ms; }

/* Smooth scrolling */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Stat counters — when counting */
.stat-value[data-target] { font-variant-numeric: tabular-nums; }

/* Refined gold accents in dark sections */
.ui-dark .principle-num { color: var(--gold-bright); }
.footer-col-title { color: var(--gold-bright); }
.scroll-indicator-icon { border-color: rgba(201,169,97,0.3); color: var(--gold-bright); }
.pillars-header h2 .accent,
.section-intro h2 .accent,
.principles h2 .accent,
.newsletter h2 .accent { color: var(--gold-deep); font-style: italic; font-weight: 400; }
.ui-dark .newsletter h2 .accent { color: var(--gold-bright); }

/* Pillar card subtle interior gold ring on hover */
.pillar-card:hover .pillar-number { color: var(--gold-bright); }
.trust-link:hover .trust-link-tag { color: var(--gold-bright); }

/* Slight gold tint on selected text */
::selection { background: var(--gold); color: var(--ink); }

/* ============================================================
   Reduced motion
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .reveal-stagger > * { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}
