/* ============================================================
   Ardsaer — Revenue Architecture
   Design tokens + global styles
   ============================================================ */

:root {
  --navy-900: #06111F;
  --navy-800: #0B1726;
  --navy-700: #142133;
  --navy-600: #1B2C42;
  --gold-500: #C99A45;
  --gold-400: #D9B26B;
  --gold-300: #E6C892;
  --gold-line: rgba(201, 154, 69, 0.35);
  --bone-50:  #FAF8F3;
  --bone-100: #F4F0E7;
  --bone-200: #EAE3D2;
  --white-soft: #F8F6F1;
  --slate-600: #4A5867;
  --slate-500: #64748B;
  --slate-400: #94A3B0;
  --ink-900: #0A1320;

  --serif: "Playfair Display", "Cormorant Garamond", Georgia, serif;
  --sans:  "Geist", "Söhne", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --mono:  "Geist Mono", "JetBrains Mono", ui-monospace, monospace;

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 56px);

  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-900);
  background: var(--bone-50);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

::selection { background: var(--gold-500); color: var(--navy-900); }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section {
  padding: clamp(80px, 11vw, 160px) 0;
  position: relative;
}
.section-tight { padding: clamp(60px, 8vw, 110px) 0; }

.section--dark {
  background: var(--navy-900);
  color: var(--bone-50);
}
.section--ink {
  background: var(--navy-800);
  color: var(--bone-50);
}

/* ---------- Type system ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-500);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--gold-500);
}
.section--dark .eyebrow,
.section--ink .eyebrow { color: var(--gold-400); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.05;
  margin: 0;
  text-wrap: balance;
}

.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(44px, 6.6vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.025em;
}
.display em {
  font-style: italic;
  color: var(--gold-400);
  font-weight: 400;
}

.h2 {
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-weight: 400;
}
.h2 em { font-style: italic; color: var(--gold-500); }
.section--dark .h2 em, .section--ink .h2 em { color: var(--gold-400); }

.h3 {
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.lede {
  font-family: var(--sans);
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.55;
  color: var(--slate-600);
  max-width: 62ch;
  font-weight: 400;
}
.section--dark .lede, .section--ink .lede { color: rgba(248, 246, 241, 0.72); }

.body-sm {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--slate-600);
}
.section--dark .body-sm, .section--ink .body-sm { color: rgba(248, 246, 241, 0.66); }

.label-mono {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate-500);
  font-weight: 500;
}
.section--dark .label-mono, .section--ink .label-mono { color: rgba(217, 178, 107, 0.85); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  border-radius: 0;
  transition: all 220ms var(--ease-out);
  background: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold-500);
  color: var(--navy-900);
  border-color: var(--gold-500);
}
.btn-primary:hover {
  background: var(--gold-400);
  border-color: var(--gold-400);
  transform: translateY(-1px);
}
.btn-ghost {
  color: var(--bone-50);
  border-color: rgba(248, 246, 241, 0.25);
}
.btn-ghost:hover {
  border-color: var(--gold-400);
  color: var(--gold-300);
}
.btn-outline {
  color: var(--navy-900);
  border-color: var(--navy-900);
}
.btn-outline:hover {
  background: var(--navy-900);
  color: var(--bone-50);
}
.btn .arrow {
  width: 14px;
  height: 10px;
  transition: transform 220ms var(--ease-out);
}
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Navbar ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  padding: 18px 0;
  transition: background 280ms var(--ease-out), padding 280ms var(--ease-out), border-color 280ms var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav--scrolled {
  background: rgba(6, 17, 31, 0.86);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  padding: 12px 0;
  border-bottom-color: rgba(201, 154, 69, 0.15);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.logo {
  display: flex;
  align-items: baseline;
  gap: 12px;
  color: var(--bone-50);
}
.logo-mark {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 24px;
  letter-spacing: 0.16em;
  line-height: 1;
}
.logo-sub {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-400);
  border-left: 1px solid var(--gold-line);
  padding-left: 12px;
  line-height: 1;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: rgba(248, 246, 241, 0.78);
  font-size: 13.5px;
  letter-spacing: 0.01em;
  transition: color 180ms var(--ease-out);
  position: relative;
  padding: 6px 0;
}
.nav-links a:hover { color: var(--gold-400); }
.nav-cta {
  background: transparent;
  color: var(--bone-50);
  border: 1px solid rgba(248, 246, 241, 0.3);
  padding: 10px 16px;
  font-size: 13px;
  letter-spacing: 0.02em;
}
.nav-cta:hover {
  border-color: var(--gold-400);
  color: var(--gold-300);
}
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--bone-50);
  width: 40px;
  height: 40px;
  padding: 0;
  align-items: center;
  justify-content: center;
}
.nav-hamburger svg { width: 22px; height: 22px; }

.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--navy-900);
  z-index: 55;
  padding: 96px var(--gutter) 48px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  transform: translateY(-100%);
  transition: transform 360ms var(--ease-out), visibility 0s linear 360ms;
  visibility: hidden;
  pointer-events: none;
}
.mobile-nav.open {
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
  transition: transform 360ms var(--ease-out), visibility 0s linear 0s;
}
.mobile-nav a {
  color: var(--bone-50);
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -0.01em;
  border-bottom: 1px solid rgba(248, 246, 241, 0.08);
  padding-bottom: 14px;
}

@media (max-width: 1024px) {
  .nav-links, .nav-cta-wrap { display: none; }
  .nav-hamburger { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero {
  background: var(--navy-900);
  color: var(--bone-50);
  position: relative;
  overflow: hidden;
  padding: clamp(140px, 18vw, 200px) 0 clamp(80px, 10vw, 140px);
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 80% 30%, rgba(201, 154, 69, 0.10), transparent 60%),
    radial-gradient(ellipse 70% 50% at 10% 90%, rgba(201, 154, 69, 0.05), transparent 60%);
  pointer-events: none;
}
.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201, 154, 69, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 154, 69, 0.06) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 30%, transparent 80%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  z-index: 2;
}
.hero-eyebrow-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 36px;
}
.hero h1 { margin-bottom: 28px; }
.hero .lede { margin-bottom: 36px; max-width: 56ch; }
.hero .lede {
  color: rgba(248, 246, 241, 0.78);
}
.hero-microcopy {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 44px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  align-items: center;
}
.hero-microcopy .dot {
  width: 4px; height: 4px; background: var(--gold-line); border-radius: 50%;
}
.hero-cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 560px;
  margin-left: auto;
}

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; margin: 32px auto 0; }
}

/* ---------- Hero blueprint SVG accents ---------- */
.blueprint-svg { width: 100%; height: 100%; overflow: visible; }
.blueprint-svg .ring {
  fill: none;
  stroke: var(--gold-line);
  stroke-width: 1;
}
.blueprint-svg .ring-strong { stroke: rgba(201, 154, 69, 0.55); }
.blueprint-svg .axis { stroke: rgba(248, 246, 241, 0.08); stroke-width: 1; }
.blueprint-svg .arc { fill: none; stroke: var(--gold-400); stroke-width: 1.25; stroke-linecap: round; }
.blueprint-svg .arc-faint { stroke: rgba(201, 154, 69, 0.22); }
.blueprint-svg .node {
  fill: var(--navy-900);
  stroke: var(--gold-400);
  stroke-width: 1.25;
}
.blueprint-svg .node-fill { fill: var(--gold-400); stroke: none; }
.blueprint-svg .label {
  font-family: var(--mono);
  font-size: 9px;
  fill: rgba(217, 178, 107, 0.85);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.blueprint-svg .label-faint { fill: rgba(248, 246, 241, 0.35); }
.blueprint-svg .center-text {
  font-family: var(--serif);
  font-size: 14px;
  fill: var(--bone-50);
  font-style: italic;
}

/* ---------- Section header pattern ---------- */
.section-head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: flex-end;
  margin-bottom: clamp(56px, 6vw, 88px);
}
.section-head .label-col { padding-top: 8px; }
.section-head .label-col .index {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--slate-500);
  margin-bottom: 22px;
  display: block;
}
.section--dark .section-head .label-col .index,
.section--ink .section-head .label-col .index { color: rgba(217, 178, 107, 0.85); }
.section-head .title-col p { margin: 24px 0 0; }
@media (max-width: 820px) {
  .section-head { grid-template-columns: 1fr; gap: 24px; }
}

/* ---------- Cards ---------- */
.card {
  position: relative;
  background: var(--bone-100);
  border: 1px solid rgba(10, 19, 32, 0.08);
  padding: 36px 32px 32px;
  transition: border-color 240ms var(--ease-out), transform 240ms var(--ease-out), background 240ms var(--ease-out);
}
.card:hover {
  border-color: var(--gold-500);
  transform: translateY(-2px);
}
.card .corner {
  position: absolute;
  top: 0; left: 0;
  width: 24px; height: 1px;
  background: var(--gold-500);
}
.card .corner.v {
  width: 1px; height: 24px;
}
.card .num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--gold-500);
  letter-spacing: 0.18em;
  margin-bottom: 24px;
  display: block;
}
.card h3 { margin-bottom: 14px; }
.card p { margin: 0; color: var(--slate-600); font-size: 15px; line-height: 1.6; }

.card--dark {
  background: var(--navy-800);
  border-color: rgba(248, 246, 241, 0.08);
  color: var(--bone-50);
}
.card--dark:hover { border-color: var(--gold-500); background: var(--navy-700); }
.card--dark p { color: rgba(248, 246, 241, 0.7); }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  background: rgba(10, 19, 32, 0.08);
  border: 1px solid rgba(10, 19, 32, 0.08);
}
.card-grid > .card {
  border: none;
  background: var(--bone-50);
}
.section--dark .card-grid { background: rgba(248, 246, 241, 0.08); border-color: rgba(248, 246, 241, 0.08); }
.section--dark .card-grid > .card { background: var(--navy-900); color: var(--bone-50); border: none; }
.section--dark .card-grid > .card p { color: rgba(248, 246, 241, 0.7); }
.section--dark .card-grid > .card:hover { background: var(--navy-800); }

/* ---------- Problem inflection cards ---------- */
.inflection-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.inflection-card {
  border-top: 1px solid var(--gold-line);
  padding-top: 28px;
  position: relative;
}
.inflection-card .ix-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--gold-500);
  letter-spacing: 0.16em;
  margin-bottom: 18px;
}
.inflection-card h4 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0 0 12px;
  color: var(--ink-900);
}
.inflection-card p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--slate-600);
  margin: 0;
}
@media (max-width: 980px) { .inflection-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .inflection-grid { grid-template-columns: 1fr; } }

/* ---------- Capabilities ---------- */
.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(10, 19, 32, 0.1);
  border-left: 1px solid rgba(10, 19, 32, 0.1);
}
.capability {
  border-right: 1px solid rgba(10, 19, 32, 0.1);
  border-bottom: 1px solid rgba(10, 19, 32, 0.1);
  padding: 44px 36px 40px;
  position: relative;
  background: var(--bone-50);
  transition: background 240ms var(--ease-out);
}
.capability:hover { background: var(--bone-100); }
.capability:hover .cap-icon { color: var(--gold-500); }
.cap-icon {
  width: 36px; height: 36px;
  color: var(--navy-800);
  margin-bottom: 28px;
  transition: color 240ms var(--ease-out);
}
.cap-num {
  position: absolute;
  top: 20px; right: 24px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--slate-400);
}
.capability h3 { margin-bottom: 14px; font-size: 22px; }
.capability p { color: var(--slate-600); font-size: 14.5px; line-height: 1.6; margin: 0; }
@media (max-width: 980px) { .capability-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .capability-grid { grid-template-columns: 1fr; } }

/* ---------- Framework ---------- */
.framework {
  position: relative;
}
.framework-stage {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}
.framework-diagram {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 560px;
}
.pillar-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: pillar;
}
.pillar {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid rgba(248, 246, 241, 0.08);
  cursor: pointer;
  transition: padding-left 240ms var(--ease-out);
}
.pillar:first-child { border-top: 1px solid rgba(248, 246, 241, 0.08); }
.pillar:hover { padding-left: 8px; }
.pillar .p-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--gold-400);
  padding-top: 6px;
}
.pillar h4 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  margin: 0 0 6px;
  color: var(--bone-50);
  letter-spacing: -0.01em;
}
.pillar p {
  margin: 0;
  font-size: 14.5px;
  color: rgba(248, 246, 241, 0.6);
  line-height: 1.55;
}
.pillar.active h4 { color: var(--gold-400); }
@media (max-width: 980px) {
  .framework-stage { grid-template-columns: 1fr; }
  .framework-diagram { display: none; }
}

/* Framework diagram SVG */
.fw-svg { width: 100%; height: 100%; }
.fw-svg .core {
  fill: var(--navy-700);
  stroke: var(--gold-400);
  stroke-width: 1;
}
.fw-svg .core-text {
  fill: var(--gold-400);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.fw-svg .core-text-serif {
  fill: var(--bone-50);
  font-family: var(--serif);
  font-size: 16px;
  font-style: italic;
}
.fw-svg .spoke { stroke: rgba(248, 246, 241, 0.1); stroke-width: 1; }
.fw-svg .pillar-node {
  fill: var(--navy-800);
  stroke: rgba(201, 154, 69, 0.5);
  stroke-width: 1;
  transition: all 280ms var(--ease-out);
}
.fw-svg .pillar-node.active {
  fill: var(--gold-500);
  stroke: var(--gold-400);
}
.fw-svg .pillar-label {
  fill: rgba(248, 246, 241, 0.78);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: fill 280ms var(--ease-out);
}
.fw-svg .pillar-label.active { fill: var(--gold-400); }
.fw-svg .pillar-num {
  fill: var(--gold-400);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
}
.fw-svg .pillar-num.active { fill: var(--navy-900); }
.fw-svg .orbit { fill: none; stroke: rgba(201, 154, 69, 0.18); stroke-width: 1; }
.fw-svg .orbit-dashed { stroke-dasharray: 3 4; }

/* ---------- Proof / stats ---------- */
.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: clamp(48px, 6vw, 80px);
  border-top: 1px solid rgba(201, 154, 69, 0.25);
  border-bottom: 1px solid rgba(201, 154, 69, 0.25);
}
.stat {
  padding: 44px 28px 40px;
  border-right: 1px solid rgba(201, 154, 69, 0.18);
  position: relative;
}
.stat:last-child { border-right: none; }
.stat .stat-value {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(38px, 4.6vw, 60px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--gold-400);
  margin-bottom: 16px;
  display: block;
}
.stat .stat-value em { font-style: italic; color: rgba(217, 178, 107, 0.7); font-size: 0.7em; }
.stat .stat-arrow {
  display: inline-block;
  margin: 0 4px;
  color: rgba(248, 246, 241, 0.4);
  font-size: 0.55em;
  vertical-align: middle;
}
.stat .stat-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(248, 246, 241, 0.6);
}
.stat .stat-index {
  position: absolute;
  top: 18px; right: 22px;
  font-family: var(--mono);
  font-size: 10px;
  color: rgba(248, 246, 241, 0.25);
  letter-spacing: 0.14em;
}
@media (max-width: 880px) {
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid rgba(201, 154, 69, 0.18); }
}
@media (max-width: 520px) {
  .proof-grid { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid rgba(201, 154, 69, 0.18); }
  .stat:last-child { border-bottom: none; }
}

/* ---------- Engagements ---------- */
.engagement-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid rgba(10, 19, 32, 0.12);
}
.engagement {
  display: grid;
  grid-template-columns: 60px 1.2fr 2fr 40px;
  gap: 32px;
  align-items: flex-start;
  padding: 36px 8px;
  border-bottom: 1px solid rgba(10, 19, 32, 0.12);
  cursor: pointer;
  transition: padding-left 240ms var(--ease-out), background 240ms var(--ease-out);
  position: relative;
}
.engagement:hover { padding-left: 24px; background: rgba(201, 154, 69, 0.04); }
.engagement:hover .eng-arrow { color: var(--gold-500); transform: translate(4px, -4px); }
.engagement .eng-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--gold-500);
  letter-spacing: 0.16em;
  padding-top: 8px;
}
.engagement h3 {
  font-family: var(--serif);
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 400;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--ink-900);
}
.engagement p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--slate-600);
  max-width: 60ch;
}
.eng-arrow {
  width: 22px; height: 22px;
  color: var(--slate-400);
  transition: color 240ms var(--ease-out), transform 240ms var(--ease-out);
  margin-top: 8px;
  justify-self: end;
}
@media (max-width: 820px) {
  .engagement { grid-template-columns: 1fr; gap: 12px; }
  .eng-arrow { display: none; }
}

/* ---------- Audience pills ---------- */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(248, 246, 241, 0.08);
  border: 1px solid rgba(248, 246, 241, 0.08);
}
.audience-card {
  background: var(--navy-900);
  padding: 28px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: background 240ms var(--ease-out);
}
.audience-card:hover { background: var(--navy-800); }
.audience-card .aud-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--gold-400);
  letter-spacing: 0.14em;
  min-width: 28px;
}
.audience-card .aud-text {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.25;
  color: var(--bone-50);
  letter-spacing: -0.005em;
}
@media (max-width: 880px) { .audience-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .audience-grid { grid-template-columns: 1fr; } }

/* ---------- Differentiation ---------- */
.diff-stage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(10, 19, 32, 0.08);
  border: 1px solid rgba(10, 19, 32, 0.08);
}
.diff-col {
  padding: 40px clamp(28px, 3vw, 44px);
  background: var(--bone-50);
}
.diff-col.dark { background: var(--navy-900); color: var(--bone-50); }
.diff-col h3 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  margin: 0 0 4px;
}
.diff-col .diff-sub {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 32px;
  display: block;
}
.diff-col.dark .diff-sub { color: var(--gold-400); }
.diff-col:not(.dark) .diff-sub { color: var(--slate-500); }
.diff-list { list-style: none; padding: 0; margin: 0; }
.diff-list li {
  padding: 14px 0;
  border-bottom: 1px solid rgba(10, 19, 32, 0.08);
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--slate-600);
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.diff-col.dark .diff-list li {
  border-bottom-color: rgba(248, 246, 241, 0.08);
  color: rgba(248, 246, 241, 0.82);
}
.diff-list li:last-child { border-bottom: none; }
.diff-list .marker {
  margin-top: 8px;
  width: 14px; height: 1px;
  background: var(--slate-400);
  flex-shrink: 0;
}
.diff-col.dark .diff-list .marker { background: var(--gold-500); }

@media (max-width: 820px) { .diff-stage { grid-template-columns: 1fr; } }

/* ---------- CTA ---------- */
.cta-section {
  background: var(--navy-900);
  color: var(--bone-50);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 50%, rgba(201, 154, 69, 0.12), transparent 50%);
}
.cta-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 80px;
  align-items: center;
}
.cta-inner h2 { margin-bottom: 28px; }
.cta-side {
  border-left: 1px solid var(--gold-line);
  padding-left: clamp(28px, 3vw, 48px);
}
.cta-side .label-mono { display: block; margin-bottom: 14px; }
.cta-side a.email-link {
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 30px);
  font-style: italic;
  color: var(--gold-400);
  display: block;
  margin-bottom: 28px;
  transition: color 200ms var(--ease-out);
}
.cta-side a.email-link:hover { color: var(--gold-300); }
.cta-meta {
  font-size: 13px;
  color: rgba(248, 246, 241, 0.55);
  line-height: 1.6;
}
@media (max-width: 880px) {
  .cta-inner { grid-template-columns: 1fr; gap: 40px; }
  .cta-side { border-left: none; border-top: 1px solid var(--gold-line); padding-left: 0; padding-top: 32px; }
}

/* ---------- Footer ---------- */
.footer {
  background: var(--navy-800);
  color: var(--bone-50);
  padding: 64px 0 32px;
  border-top: 1px solid rgba(201, 154, 69, 0.15);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer .logo-mark { color: var(--bone-50); }
.footer-col h5 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin: 0 0 18px;
  font-weight: 500;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  font-size: 14px;
  color: rgba(248, 246, 241, 0.7);
  transition: color 200ms var(--ease-out);
}
.footer-col a:hover { color: var(--gold-400); }
.footer-positioning {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: rgba(248, 246, 241, 0.7);
  max-width: 32ch;
  margin-top: 18px;
  line-height: 1.4;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-top: 28px;
  border-top: 1px solid rgba(248, 246, 241, 0.08);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(248, 246, 241, 0.5);
}
@media (max-width: 760px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- Scroll reveal ---------- */
/* ============================================================
   Chatbot Widget
   ============================================================ */

.cb-root {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  animation: cb-fadein 0.4s var(--ease-out) both;
}

@keyframes cb-fadein {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Chat window ── */
.cb-window {
  width: 340px;
  background: var(--navy-900);
  border: 1px solid rgba(201,154,69,0.25);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 64px rgba(0,0,0,0.45);
  animation: cb-fadein 0.3s var(--ease-out) both;
}

.cb-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: var(--navy-800);
  border-bottom: 1px solid rgba(201,154,69,0.15);
}

.cb-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cb-header-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  background: var(--navy-700);
}

.cb-header-name {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--bone-50);
  font-weight: 500;
}

.cb-header-sub {
  font-size: 11px;
  color: var(--gold-400);
  letter-spacing: 0.04em;
  margin-top: 1px;
}

.cb-x {
  background: none;
  border: none;
  color: var(--slate-400);
  font-size: 16px;
  padding: 4px;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s;
}
.cb-x:hover { color: var(--bone-50); }

.cb-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 320px;
  scrollbar-width: thin;
  scrollbar-color: var(--navy-600) transparent;
}

.cb-msg {
  max-width: 85%;
  font-size: 13.5px;
  line-height: 1.55;
  padding: 10px 13px;
  border-radius: 12px;
}

.cb-msg--bot {
  background: var(--navy-700);
  color: var(--bone-100);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}

.cb-msg--user {
  background: var(--gold-500);
  color: var(--navy-900);
  border-bottom-right-radius: 4px;
  align-self: flex-end;
  font-weight: 500;
}

/* ── FAQ chips ── */
.cb-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 0 16px 14px;
}

.cb-chip {
  font-size: 12px;
  font-family: var(--sans);
  background: none;
  border: 1px solid rgba(201,154,69,0.4);
  color: var(--gold-300);
  border-radius: 20px;
  padding: 5px 12px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.cb-chip:hover {
  background: rgba(201,154,69,0.15);
  color: var(--bone-50);
}

/* ── Input row ── */
.cb-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid rgba(201,154,69,0.12);
  background: var(--navy-800);
}

.cb-input {
  flex: 1;
  background: var(--navy-700);
  border: 1px solid rgba(201,154,69,0.2);
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 13.5px;
  font-family: var(--sans);
  color: var(--bone-50);
  outline: none;
  transition: border-color 0.2s;
}
.cb-input::placeholder { color: var(--slate-500); }
.cb-input:focus { border-color: rgba(201,154,69,0.55); }

.cb-send {
  background: var(--gold-500);
  border: none;
  border-radius: 8px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-900);
  cursor: pointer;
  transition: background 0.2s;
  flex-shrink: 0;
}
.cb-send:hover { background: var(--gold-400); }

/* ── Speech bubble ── */
.cb-bubble {
  background: var(--navy-900);
  border: 1px solid rgba(201,154,69,0.3);
  border-radius: 14px;
  padding: 14px 16px 12px;
  width: 220px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
  position: relative;
  animation: cb-fadein 0.35s var(--ease-out) both;
}

.cb-bubble::after {
  content: '';
  position: absolute;
  bottom: -8px;
  right: 34px;
  width: 14px;
  height: 14px;
  background: var(--navy-900);
  border-right: 1px solid rgba(201,154,69,0.3);
  border-bottom: 1px solid rgba(201,154,69,0.3);
  transform: rotate(45deg);
}

.cb-bubble-x {
  position: absolute;
  top: 8px;
  right: 10px;
  background: none;
  border: none;
  color: var(--slate-500);
  font-size: 13px;
  cursor: pointer;
  line-height: 1;
  padding: 2px;
  transition: color 0.2s;
}
.cb-bubble-x:hover { color: var(--bone-50); }

.cb-bubble-text {
  font-size: 13px;
  color: var(--bone-100);
  margin: 0 0 10px;
  line-height: 1.45;
  padding-right: 16px;
}

.cb-bubble-cta {
  background: var(--gold-500);
  border: none;
  border-radius: 7px;
  padding: 7px 13px;
  font-size: 12.5px;
  font-family: var(--sans);
  font-weight: 600;
  color: var(--navy-900);
  cursor: pointer;
  width: 100%;
  text-align: center;
  transition: background 0.2s;
}
.cb-bubble-cta:hover { background: var(--gold-400); }

/* ── Mascot button ── */
.cb-mascot {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  width: 160px;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.4));
  transition: transform 0.2s var(--ease-out), filter 0.2s;
  flex-shrink: 0;
}
.cb-mascot:hover { transform: translateY(-4px); filter: drop-shadow(0 12px 28px rgba(0,0,0,0.5)); }
.cb-mascot--open { transform: scale(0.95); }

.cb-mascot-img {
  width: 100%;
  height: auto;
  display: block;
}

.cb-mascot-fallback {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gold-500);
  color: var(--navy-900);
  font-size: 24px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================================
   Scroll reveal
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
}
.reveal.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; }

/* ---------- Utility ---------- */
.divider-gold {
  display: block;
  width: 56px;
  height: 1px;
  background: var(--gold-500);
  margin-bottom: 28px;
}
.section--dark .divider-gold { background: var(--gold-400); }

.scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(248, 246, 241, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  pointer-events: none;
}
.scroll-hint::after {
  content: "";
  width: 1px; height: 32px;
  background: linear-gradient(to bottom, rgba(248, 246, 241, 0.45), transparent);
  animation: scroll-line 2.4s ease-in-out infinite;
}
@keyframes scroll-line {
  0%, 100% { opacity: 0.2; transform: scaleY(0.6); }
  50% { opacity: 0.9; transform: scaleY(1); }
}
