/* ============================================================
   XYLOS design system
   Palette: deep navy, warm ivory, muted gold. Refined, restrained.
   ============================================================ */

/* Self-hosted variable fonts */
@font-face {
  font-family: "Cinzel";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("../assets/fonts/cinzel-latin-wght-normal.woff2") format("woff2-variations");
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../assets/fonts/fraunces-latin-wght-normal.woff2") format("woff2-variations");
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("../assets/fonts/fraunces-latin-wght-italic.woff2") format("woff2-variations");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../assets/fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
}

:root {
  --navy-950: #161C30;
  --navy-900: #1B2237;
  --navy-800: #232C4A;
  --navy-700: #2B365C;
  --ink: #1C2336;
  --ink-soft: #565E74;
  --ivory: #F6F1E7;
  --ivory-deep: #ECE2CE;
  --mist: #EBEFF5;
  --white: #FDFAF3;
  --gold: #C8AB79;
  --gold-bright: #EFC98C;
  --gold-soft: rgba(200, 171, 121, 0.32);
  --hairline: rgba(28, 35, 54, 0.11);
  --hairline-light: rgba(239, 201, 140, 0.22);
  --gold-grad: linear-gradient(135deg, #F5DCA9 0%, #EFC98C 45%, #D9B274 100%);

  --font-display: "Cinzel", "Trajan Pro", serif;
  --font-serif: "Fraunces", Georgia, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --max-w: 1140px;
  --pad: clamp(20px, 5vw, 48px);
  --radius: 16px;

  --step--1: clamp(0.83rem, 0.8rem + 0.15vw, 0.92rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --step-1: clamp(1.25rem, 1.15rem + 0.5vw, 1.55rem);
  --step-2: clamp(1.6rem, 1.4rem + 1vw, 2.2rem);
  --step-3: clamp(2.1rem, 1.7rem + 2vw, 3.3rem);
  --step-4: clamp(2.6rem, 2rem + 3vw, 4.4rem);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

::selection { background: var(--gold-soft); }

.container { max-width: var(--max-w); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

/* ---------- Typography helpers ---------- */

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
  display: flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before {
  content: "";
  width: 30px;
  height: 1px;
  background: var(--gold);
  opacity: 0.7;
  flex: 0 0 auto;
}
.centered .eyebrow, .cta-band .eyebrow { justify-content: center; }
.hero .eyebrow::before { width: 38px; }

h1, h2, h3 { font-weight: 500; }

.display {
  font-family: var(--font-serif);
  font-weight: 480;
  font-size: var(--step-4);
  line-height: 1.08;
  letter-spacing: -0.015em;
}

.title-lg { font-family: var(--font-serif); font-weight: 500; font-size: var(--step-3); line-height: 1.14; letter-spacing: -0.01em; }
.title-md { font-family: var(--font-serif); font-weight: 500; font-size: var(--step-2); line-height: 1.22; }
.title-sm { font-family: var(--font-serif); font-weight: 560; font-size: var(--step-1); line-height: 1.3; }

.lede { font-size: var(--step-1); line-height: 1.55; color: var(--ink-soft); font-weight: 380; }

.muted { color: var(--ink-soft); }
.small { font-size: var(--step--1); }

.on-dark { color: rgba(247, 244, 238, 0.92); }
.on-dark .muted, .muted-dark { color: rgba(247, 244, 238, 0.62); }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

.site-header.scrolled {
  background: rgba(11, 17, 36, 0.82);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
  box-shadow: 0 1px 0 rgba(228, 194, 131, 0.14);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand { display: flex; align-items: center; gap: 14px; }
.brand svg, .brand img { width: auto; height: 44px; }
.brand-word {
  font-family: var(--font-sans);
  font-weight: 640;
  font-size: 1.12rem;
  letter-spacing: 0.46em;
  color: var(--gold-bright);
  transform: translateY(1px);
}
.site-footer .brand img { height: 38px; }
.site-footer .brand-word { font-size: 1.02rem; }

.nav-links { display: flex; align-items: center; gap: clamp(18px, 3vw, 34px); list-style: none; }
.nav-links a {
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(247, 244, 238, 0.78);
  transition: color 0.25s ease;
  position: relative;
}
.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -6px;
  height: 1px;
  background: var(--gold-bright);
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-links a:not(.btn):hover::after, .nav-links a[aria-current="page"]:not(.btn)::after { right: 0; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--gold-bright); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 560;
  letter-spacing: 0.03em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: var(--font-sans);
}
.btn-gold {
  background: var(--gold-grad);
  color: var(--navy-950);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 6px 18px -10px rgba(201, 166, 98, 0.5);
}
.btn-gold:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 14px 32px -12px rgba(201, 166, 98, 0.65); filter: brightness(1.04); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 3px; }
.btn-ghost { border-color: rgba(228, 194, 131, 0.4); color: var(--gold-bright); }
.btn-ghost:hover { border-color: var(--gold-bright); background: rgba(228, 194, 131, 0.06); }
.btn-ghost-dark { border-color: rgba(23, 29, 46, 0.25); color: var(--ink); }
.btn-ghost-dark:hover { border-color: var(--ink); }
.btn-sm { padding: 10px 20px; font-size: 0.82rem; }

.nav .btn { margin-left: 8px; }

.nav-toggle {
  display: none;
  background: none; border: 0; cursor: pointer;
  width: 40px; height: 40px;
  position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 8px; right: 8px; height: 1.5px;
  background: var(--gold-bright); transition: all 0.3s ease;
}
.nav-toggle span { top: 50%; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background:
    radial-gradient(1200px 600px at 78% -10%, rgba(201, 166, 98, 0.12), transparent 60%),
    radial-gradient(900px 500px at 8% 110%, rgba(30, 42, 78, 0.9), transparent 65%),
    linear-gradient(178deg, var(--navy-950) 0%, var(--navy-900) 55%, #0D1428 100%);
  color: var(--ivory);
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding-top: clamp(140px, 20vh, 210px);
  padding-bottom: clamp(90px, 12vh, 150px);
  max-width: 820px;
}

.hero .display { color: var(--ivory); }
.hero .display em {
  font-style: italic;
  font-weight: 420;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .lede { color: rgba(247, 244, 238, 0.68); margin-top: 1.6rem; max-width: 620px; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 2.6rem; }

.hero-art {
  position: absolute;
  right: 0; bottom: 10px;
  width: min(54vw, 680px);
  opacity: 0.42;
  pointer-events: none;
  z-index: 1;
}
.hero-art.hero-mark {
  right: clamp(-80px, -4vw, -20px);
  top: 50%;
  bottom: auto;
  transform: translateY(-52%);
  width: min(34vw, 460px);
  opacity: 0.07;
}

.page-hero { position: relative; overflow: hidden; }
.page-hero::after {
  content: "";
  position: absolute;
  right: -50px; top: 14%;
  width: 380px; height: 480px;
  background: url("../assets/logo-mark.svg") no-repeat center / contain;
  opacity: 0.06;
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 2; }

.trustbar {
  position: relative; z-index: 2;
  border-top: 1px solid rgba(236, 207, 155, 0.18);
  background: rgba(10, 15, 32, 0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.trustbar-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0;
}
.trustbar .item {
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(247, 244, 238, 0.5);
  line-height: 1.6;
  padding: 24px clamp(14px, 2vw, 28px);
  border-left: 1px solid rgba(236, 207, 155, 0.12);
  display: flex; flex-direction: column; justify-content: center; gap: 2px;
}
.trustbar .item:first-child { border-left: 0; padding-left: 0; }
.trustbar .item strong { color: var(--gold-bright); font-weight: 600; font-size: 0.78rem; display: block; }

@media (max-width: 860px) {
  .trustbar-inner { grid-template-columns: 1fr 1fr; }
  .trustbar .item:nth-child(3) { border-left: 0; padding-left: 0; }
  .trustbar .item { padding: 18px clamp(14px, 2vw, 28px); }
}

/* ---------- Sections ---------- */

section { padding: clamp(72px, 11vh, 128px) 0; }
section.tight { padding: clamp(48px, 7vh, 80px) 0; }

.section-head { max-width: 680px; margin-bottom: clamp(40px, 6vh, 72px); }
.section-head.centered { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .lede { margin-top: 1.2rem; }

.dark { background: linear-gradient(180deg, var(--navy-950), var(--navy-900)); color: var(--ivory); }
.dark .title-lg, .dark .title-md, .dark .title-sm { color: var(--ivory); }
.dark .lede { color: rgba(247, 244, 238, 0.65); }

.ivory-deep { background: var(--ivory-deep); }

/* ---------- Cards & grids ---------- */

.grid { display: grid; gap: clamp(20px, 3vw, 32px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid rgba(160, 130, 80, 0.16);
  border-radius: var(--radius);
  padding: clamp(26px, 3vw, 38px);
  box-shadow: 0 1px 2px rgba(22, 28, 48, 0.04), 0 12px 28px -24px rgba(22, 28, 48, 0.12);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 2px 4px rgba(22, 28, 48, 0.04), 0 28px 56px -28px rgba(22, 28, 48, 0.2);
  border-color: rgba(201, 166, 98, 0.5);
}
.card .title-sm { margin-bottom: 0.7rem; }
.card p { color: var(--ink-soft); font-size: 0.96rem; }

.card-dark {
  background: rgba(255, 255, 255, 0.028);
  border: 1px solid rgba(228, 194, 131, 0.16);
  border-radius: var(--radius);
  padding: clamp(26px, 3vw, 38px);
  transition: border-color 0.35s ease, background 0.35s ease;
}
.card-dark:hover { border-color: rgba(228, 194, 131, 0.45); background: rgba(255, 255, 255, 0.05); }
.card-dark .title-sm { color: var(--ivory); margin-bottom: 0.7rem; }
.card-dark p { color: rgba(247, 244, 238, 0.62); font-size: 0.96rem; }

.icon-line {
  width: 44px; height: 44px;
  margin-bottom: 1.4rem;
  color: var(--gold);
}

/* ---------- Steps ---------- */

.steps { counter-reset: step; }
.step { position: relative; padding-top: 0.4rem; }
.step-num {
  font-family: var(--font-serif);
  font-size: 3.4rem;
  font-weight: 300;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--gold);
  margin-bottom: 1.2rem;
}
.dark .step-num { -webkit-text-stroke: 1px var(--gold-bright); }
.step h3 { margin-bottom: 0.6rem; }
.step p { color: var(--ink-soft); font-size: 0.97rem; }
.dark .step p { color: rgba(247, 244, 238, 0.62); }

/* ---------- Feature rows ---------- */

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.feature-row + .feature-row { margin-top: clamp(64px, 9vh, 110px); }
.feature-row.flip > .feature-media { order: 2; }

.feature-media {
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(160deg, var(--navy-900), var(--navy-700));
  border: 1px solid rgba(228, 194, 131, 0.18);
  min-height: 320px;
  display: flex; align-items: center; justify-content: center;
  padding: 36px;
}

/* ---------- Stat band ---------- */

.statband { border-top: 1px solid var(--hairline-light); border-bottom: 1px solid var(--hairline-light); }
.statband-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; padding: clamp(40px, 6vh, 64px) 0; }
.stat .stat-value {
  font-family: var(--font-serif);
  font-size: var(--step-3);
  line-height: 1.05;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat .stat-label { margin-top: 0.5rem; font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(247, 244, 238, 0.55); }

/* ---------- Compliance ledger ---------- */

.ledger { border-top: 1px solid var(--hairline); }
.ledger-row {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: clamp(20px, 4vw, 60px);
  padding: clamp(28px, 4vh, 44px) 0;
  border-bottom: 1px solid var(--hairline);
}
.ledger-row dt { font-family: var(--font-serif); font-size: var(--step-1); font-weight: 540; }
.ledger-row dd { color: var(--ink-soft); }
.ledger-row dd strong { color: var(--ink); font-weight: 600; }

.dark .ledger { border-color: rgba(228, 194, 131, 0.16); }
.dark .ledger-row { border-color: rgba(228, 194, 131, 0.12); }
.dark .ledger-row dt { color: var(--ivory); }
.dark .ledger-row dd { color: rgba(247, 244, 238, 0.62); }
.dark .ledger-row dd strong { color: var(--gold-bright); }

/* ---------- Team ---------- */

.person {
  border-top: 2px solid var(--gold);
  padding-top: 1.6rem;
}
.person .role { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.5rem; }
.person h3 { font-family: var(--font-serif); font-size: var(--step-2); font-weight: 500; margin-bottom: 0.9rem; }
.person p { color: var(--ink-soft); font-size: 0.97rem; }
.person .creds { margin-top: 0.9rem; font-size: 0.82rem; letter-spacing: 0.05em; color: var(--ink-soft); }

.dark .person h3 { color: var(--ivory); }
.dark .person p, .dark .person .creds { color: rgba(247, 244, 238, 0.62); }

/* ---------- FAQ ---------- */

.faq { border-top: 1px solid var(--hairline); }
.faq details { border-bottom: 1px solid var(--hairline); }
.faq summary {
  display: flex; align-items: baseline; justify-content: space-between; gap: 24px;
  padding: 26px 4px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-serif);
  font-size: var(--step-1);
  font-weight: 520;
  transition: color 0.25s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 1.5rem;
  color: var(--gold);
  transition: transform 0.3s ease;
  flex: 0 0 auto;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--gold); }
.faq .faq-body { padding: 0 4px 30px; color: var(--ink-soft); max-width: 780px; }

/* ---------- Contact ---------- */

.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 90px); }

.contact-detail { border-top: 1px solid var(--hairline-light); padding: 20px 0; display: grid; grid-template-columns: 150px 1fr; gap: 16px; }
.contact-detail .k { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-bright); padding-top: 4px; }
.contact-detail .v { color: rgba(247, 244, 238, 0.8); }

.form-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(228, 194, 131, 0.2);
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 44px);
}
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 0.76rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(247, 244, 238, 0.6); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%;
  background: rgba(11, 17, 36, 0.55);
  border: 1px solid rgba(228, 194, 131, 0.22);
  border-radius: 10px;
  color: var(--ivory);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  padding: 13px 16px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold-bright);
  box-shadow: 0 0 0 3px rgba(228, 194, 131, 0.14);
}
.form-note { font-size: 0.8rem; color: rgba(247, 244, 238, 0.45); margin-top: 14px; }
.form-success {
  display: none;
  border: 1px solid rgba(228, 194, 131, 0.4);
  border-radius: 10px;
  padding: 18px 20px;
  color: var(--gold-bright);
  background: rgba(228, 194, 131, 0.07);
  margin-top: 16px;
}

/* ---------- CTA band ---------- */

.cta-band {
  background:
    radial-gradient(900px 400px at 85% 20%, rgba(201, 166, 98, 0.14), transparent 60%),
    linear-gradient(160deg, var(--navy-950), var(--navy-800));
  color: var(--ivory);
  text-align: center;
  border-top: 1px solid rgba(228, 194, 131, 0.14);
}
.cta-band .title-lg { max-width: 720px; margin: 0 auto 1.4rem; }
.cta-band .lede { max-width: 560px; margin: 0 auto 2.4rem; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy-950);
  color: rgba(247, 244, 238, 0.6);
  padding: clamp(56px, 8vh, 88px) 0 40px;
  border-top: 1px solid rgba(228, 194, 131, 0.12);
  font-size: 0.9rem;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: clamp(28px, 4vw, 56px); margin-bottom: 48px; }
.footer-grid h4 { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-bright); margin-bottom: 1.1rem; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 0.65rem; }
.footer-grid a { color: rgba(247, 244, 238, 0.6); transition: color 0.25s ease; font-size: 0.88rem; }
.footer-grid a:hover { color: var(--gold-bright); }
.footer-brand p { max-width: 300px; font-size: 0.85rem; line-height: 1.6; margin-top: 14px; }

.footer-legal {
  border-top: 1px solid rgba(228, 194, 131, 0.1);
  padding-top: 28px;
  font-size: 0.76rem;
  line-height: 1.7;
  color: rgba(247, 244, 238, 0.4);
}
.footer-legal p + p { margin-top: 10px; }
.footer-meta { display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; margin-top: 22px; font-size: 0.76rem; }

/* ---------- Page hero (interior pages) ---------- */

.page-hero {
  background:
    radial-gradient(1000px 500px at 80% -20%, rgba(201, 166, 98, 0.1), transparent 60%),
    linear-gradient(178deg, var(--navy-950), var(--navy-900));
  color: var(--ivory);
  padding: clamp(150px, 22vh, 220px) 0 clamp(64px, 9vh, 100px);
}
.page-hero .display { color: var(--ivory); font-size: var(--step-3); }
.page-hero .lede { color: rgba(247, 244, 238, 0.65); margin-top: 1.3rem; max-width: 640px; }

/* ---------- Hero definition ---------- */

.hero-def {
  margin-top: 2rem;
  max-width: 620px;
  border-left: 2px solid var(--gold);
  padding: 6px 0 6px 22px;
}
.hero-def .word {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--gold-bright);
  letter-spacing: 0.02em;
}
.hero-def .word .phon { font-family: var(--font-sans); font-weight: 400; font-size: 0.78rem; color: rgba(248, 246, 240, 0.55); letter-spacing: 0.05em; margin-left: 10px; }
.hero-def .word .pos { font-style: italic; font-size: 0.85rem; color: rgba(239, 201, 140, 0.75); margin-left: 8px; font-weight: 420; }
.hero-def .meaning {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.02rem;
  color: rgba(248, 246, 240, 0.78);
  margin-top: 0.45rem;
  line-height: 1.6;
}
.hero-def .meaning strong { color: var(--gold-bright); font-weight: 560; font-style: normal; }

@media (max-width: 720px) {
  .hero-def { margin-top: 1.6rem; padding-left: 16px; }
  .hero-def .word { font-size: 1.12rem; }
  .hero-def .meaning { font-size: 0.97rem; }
}

/* ---------- Flow diagram ---------- */

.flow-wrap {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(236, 207, 155, 0.16);
  border-radius: var(--radius);
  padding: clamp(20px, 3.5vw, 44px);
  overflow-x: auto;
}
.flow-lane { display: grid; grid-template-columns: 110px 1fr; gap: clamp(14px, 2.5vw, 30px); align-items: center; }
.flow-lane + .flow-lane { margin-top: clamp(22px, 3vh, 34px); padding-top: clamp(22px, 3vh, 34px); border-top: 1px dashed rgba(236, 207, 155, 0.18); }
.flow-tag {
  font-size: 0.68rem; font-weight: 650; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--gold-bright);
  writing-mode: initial;
}
.flow-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; align-items: stretch; min-width: 560px; }
.flow-node {
  position: relative;
  border: 1px solid rgba(236, 207, 155, 0.32);
  border-radius: 12px;
  padding: 14px 16px 15px;
  background: rgba(19, 27, 49, 0.55);
  margin-right: 34px;
}
.flow-node:last-child { margin-right: 0; }
.flow-node::after {
  content: "";
  position: absolute;
  top: 50%; right: -26px;
  width: 18px; height: 1px;
  background: rgba(236, 207, 155, 0.55);
}
.flow-node::before {
  content: "";
  position: absolute;
  top: 50%; right: -12px;
  width: 6px; height: 6px;
  border-top: 1px solid rgba(236, 207, 155, 0.75);
  border-right: 1px solid rgba(236, 207, 155, 0.75);
  transform: translateY(-50%) rotate(45deg);
}
.flow-node:last-child::after, .flow-node:last-child::before { display: none; }
.flow-node.hero-node {
  border-color: var(--gold);
  background: linear-gradient(160deg, rgba(239, 201, 140, 0.12), rgba(239, 201, 140, 0.04));
  box-shadow: 0 0 0 1px rgba(239, 201, 140, 0.18), 0 12px 30px -18px rgba(239, 201, 140, 0.3);
}
.flow-node .t { font-size: 0.86rem; font-weight: 600; color: rgba(248, 246, 240, 0.92); line-height: 1.35; }
.flow-node .d { font-size: 0.74rem; color: rgba(248, 246, 240, 0.5); margin-top: 3px; line-height: 1.45; }
.flow-node.hero-node .t { color: var(--gold-bright); }

@media (max-width: 860px) {
  .flow-lane { grid-template-columns: 1fr; gap: 12px; }
}

/* ---------- Accolades band ---------- */

.accolades {
  border-top: 1px solid var(--hairline-light);
  background: var(--navy-950);
}
.accolades-inner {
  display: grid; grid-template-columns: auto repeat(4, 1fr);
  gap: clamp(18px, 3vw, 44px);
  align-items: center;
  padding: clamp(30px, 4.5vh, 44px) 0;
}
.accolades .lead { font-size: 0.72rem; font-weight: 650; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(248, 246, 240, 0.45); max-width: 150px; line-height: 1.7; }
.accolades .acc .v { font-family: var(--font-serif); font-size: 1.35rem; color: var(--gold-bright); line-height: 1.15; }
.accolades .acc .k { font-size: 0.72rem; letter-spacing: 0.08em; color: rgba(248, 246, 240, 0.5); margin-top: 4px; line-height: 1.5; }

@media (max-width: 860px) {
  .accolades-inner { grid-template-columns: 1fr 1fr; }
  .accolades .lead { max-width: none; grid-column: 1 / -1; }
}

/* ---------- Reveal animation ---------- */

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .feature-row { grid-template-columns: 1fr; }
  .feature-row.flip > .feature-media { order: 0; }
  .statband-inner { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .ledger-row { grid-template-columns: 1fr; gap: 8px; }
}

@media (max-width: 720px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .nav-links {
    position: fixed;
    inset: 80px 0 auto 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: rgba(11, 17, 36, 0.97);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    padding: 12px var(--pad) 28px;
    border-bottom: 1px solid rgba(228, 194, 131, 0.14);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 14px 0; font-size: 1rem; }
  .nav-links .btn { margin: 14px 0 0; }
  .nav-toggle { display: block; }
  .hero-art { opacity: 0.22; width: 120vw; right: -30vw; }
  .trustbar-inner { gap: 10px 24px; }
}
