/* ============================================================
   IMMOXOS — Premium Vertical AI for Real Estate Representatives
   Mobile-First · Fluid Typography · Premium Tonality
   ============================================================ */

:root {
  /* Color tokens */
  --bg: #ffffff;
  --bg-soft: #f6f6f4;
  --bg-soft-2: #f1f1ee;
  --bg-cream: #faf7f2;        /* Premium cream */
  --bg-stone: #efece6;        /* Editorial stone */

  --ink: #0d0d0f;
  --ink-2: #1a1a1d;
  --ink-3: #2a2a30;
  --muted: #6b6b72;
  --muted-2: #93939a;
  --muted-3: #b8b8be;

  --line: #e8e8e4;
  --line-2: #dededa;
  --line-3: #f1f1ed;

  --accent: #c94a3b;
  --accent-2: #b9261a;
  --gold: #a88b47;            /* Sotheby's gold */
  --gold-soft: #c8a960;
  --navy: #002349;            /* Premium navy */
  --green: #2fc27a;

  --dark: #0a0a12;
  --dark-2: #101024;
  --dark-3: #0e0e1f;

  /* Fluid Typography (clamp-based, mobile-first) */
  --fs-display: clamp(2.5rem, 5vw + 1rem, 5.25rem);
  --fs-h1: clamp(2.25rem, 4vw + 1rem, 4.5rem);
  --fs-h2: clamp(1.75rem, 2.5vw + 1rem, 3rem);
  --fs-h3: clamp(1.375rem, 1.5vw + 0.75rem, 1.75rem);
  --fs-h4: clamp(1.125rem, 0.5vw + 0.875rem, 1.25rem);
  --fs-body: clamp(1rem, 0.3vw + 0.9rem, 1.0625rem);
  --fs-lede: clamp(1.0625rem, 0.4vw + 1rem, 1.1875rem);
  --fs-small: 0.875rem;
  --fs-eyebrow: 0.6875rem;

  /* Fluid Spacing */
  --section-y: clamp(4rem, 8vw, 8rem);
  --section-y-tight: clamp(3rem, 5vw, 5rem);
  --gutter: clamp(1.25rem, 4vw, 2rem);

  /* Layout */
  --max: 1240px;
  --max-content: 720px;

  /* Radii */
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --radius-pill: 999px;

  /* Fonts */
  --serif: "Instrument Serif", "Times New Roman", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* Shadows */
  --shadow-card: 0 1px 2px rgba(0,0,0,0.03), 0 4px 12px -4px rgba(0,0,0,0.06);
  --shadow-lg: 0 30px 60px -25px rgba(0,0,0,0.18);
  --shadow-glow: 0 0 0 1px rgba(168,139,71,0.18), 0 20px 40px -20px rgba(168,139,71,0.25);

  /* Easing */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============================================================
   RESET
   ============================================================ */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  font-size: var(--fs-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-wrap: pretty;
  -webkit-tap-highlight-color: transparent;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
img, picture, video { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ============================================================
   LAYOUT
   ============================================================ */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-y) 0; }
.section.tight { padding: var(--section-y-tight) 0; }
.section-narrow .wrap { max-width: 1080px; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.eyebrow {
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.eyebrow.gold { color: var(--gold); }

.display {
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.02;
  font-size: var(--fs-display);
  margin: 0;
  text-wrap: balance;
}
.display em, .h2 em, .h3 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--muted-2);
  letter-spacing: -0.02em;
}
.display em.gold, .h2 em.gold, .h3 em.gold { color: var(--gold); }

.h2 {
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: -0.028em;
  font-size: var(--fs-h2);
  line-height: 1.08;
  margin: 0;
  text-wrap: balance;
}
.h3 {
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: var(--fs-h3);
  line-height: 1.18;
  margin: 0;
}
.h4 {
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: -0.015em;
  font-size: var(--fs-h4);
  line-height: 1.3;
  margin: 0;
}
.serif {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
}

.lede {
  color: var(--muted);
  font-size: var(--fs-lede);
  max-width: 56ch;
  line-height: 1.55;
  text-wrap: pretty;
}
.dark .lede, .on-dark .lede { color: rgba(255,255,255,0.65); }

.kicker {
  font-family: var(--serif);
  font-style: italic;
  color: var(--muted-2);
  font-size: 1.125rem;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  min-height: 48px;
  border-radius: var(--radius-pill);
  font-weight: 500;
  font-size: 0.9375rem;
  border: 1px solid transparent;
  transition: transform 0.15s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  white-space: nowrap;
  letter-spacing: -0.005em;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn-dark {
  background: #0a0a0c;
  color: #fff;
}
.btn-dark:hover { background: #1a1a1f; }
.btn-light {
  background: #fff;
  color: #0a0a0c;
  border-color: var(--line);
}
.btn-light:hover { background: var(--bg-soft); }
.btn-gold {
  background: var(--gold);
  color: #fff;
}
.btn-gold:hover { background: #b89a52; box-shadow: 0 8px 24px -10px rgba(168,139,71,0.4); }
.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.18);
}
.btn-ghost:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.3); }
.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
  font-weight: 500;
  font-size: 0.9375rem;
}
.btn-link:hover { color: var(--muted); border-color: var(--muted); }

/* ============================================================
   PILL / BADGE
   ============================================================ */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background: #fff;
  border: 1px solid var(--line);
  font-size: 0.78125rem;
  color: var(--ink-2);
  font-weight: 500;
}
.pill .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 0 3px rgba(47,194,122,0.18);
  animation: pulse 2.4s ease-in-out infinite;
}
.pill.on-dark, .on-dark .pill {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.92);
}
.pill.gold {
  background: rgba(168,139,71,0.08);
  border-color: rgba(168,139,71,0.28);
  color: var(--gold);
}
.pill.gold .dot { background: var(--gold); box-shadow: 0 0 0 3px rgba(168,139,71,0.2); }

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

/* ============================================================
   LOGO
   ============================================================ */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.logo-mark {
  width: 30px; height: 30px; border-radius: 8px;
  background: #0a0a0c;
  display: grid; place-items: center;
  color: #fff;
  font-family: var(--serif);
  font-style: italic;
  font-size: 19px;
  line-height: 1;
}
.logo-wordmark {
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* ============================================================
   NAV (sticky, blurred)
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  background: rgba(255,255,255,0.78);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease);
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
  gap: 24px;
}
.nav-links {
  display: none;
  gap: 32px;
  font-size: 0.875rem;
  color: var(--ink-3);
}
.nav-links a { transition: color 0.15s var(--ease); }
.nav-links a:hover { color: var(--ink); }

.nav-toggle {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
}
.nav-toggle:hover { background: var(--bg-soft); }
.nav-toggle svg { width: 18px; height: 18px; }

@media (min-width: 880px) {
  .nav-links { display: flex; }
  .nav-toggle { display: none; }
}

/* Mobile drawer */
.nav-drawer {
  position: fixed; inset: 0;
  background: rgba(255,255,255,0.98);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  z-index: 60;
  transform: translateX(100%);
  transition: transform 0.32s var(--ease-out);
  display: flex; flex-direction: column;
  padding: 24px var(--gutter) calc(24px + env(safe-area-inset-bottom));
}
.nav-drawer.open { transform: translateX(0); }
.nav-drawer-head {
  display: flex; justify-content: space-between; align-items: center;
  height: 70px;
  margin-bottom: 32px;
}
.nav-drawer-links {
  display: grid; gap: 4px;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  font-weight: 500;
}
.nav-drawer-links a {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
}
.nav-drawer-links a span.serif {
  color: var(--muted-2);
  font-size: 0.875rem;
  letter-spacing: 0;
}
.nav-drawer-cta { margin-top: auto; padding-top: 32px; }
.nav-drawer-cta .btn { width: 100%; }
@media (min-width: 880px) {
  .nav-drawer { display: none; }
}

/* ============================================================
   STICKY BOTTOM CTA (mobile)
   ============================================================ */
.sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 40;
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,0.95);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform 0.32s var(--ease-out);
  display: flex; gap: 10px; align-items: center;
}
.sticky-cta.visible { transform: translateY(0); }
.sticky-cta-text {
  flex: 1;
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.3;
}
.sticky-cta-text strong { display: block; color: var(--ink); font-weight: 600; font-size: 0.875rem; }
.sticky-cta .btn { padding: 10px 16px; min-height: 44px; flex-shrink: 0; }
@media (min-width: 880px) {
  .sticky-cta { display: none; }
}

/* ============================================================
   HERO (premium)
   ============================================================ */
.hero {
  text-align: center;
  padding: clamp(3rem, 6vw, 6rem) 0 clamp(4rem, 8vw, 8rem);
  position: relative;
}
.hero .display { max-width: 16ch; margin: 24px auto 22px; }
.hero .lede { margin: 0 auto 36px; text-align: center; }
.hero-cta {
  display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center;
  width: 100%;
}
.hero-cta .btn { flex: 0 1 auto; }
@media (max-width: 520px) {
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
}

.hero-aside {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 24px;
  font-size: 0.8125rem;
  color: var(--muted);
}
.hero-aside .dot-sep { width: 3px; height: 3px; border-radius: 50%; background: var(--muted-3); }

/* ============================================================
   STATS STRIP
   ============================================================ */
.stats {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.stat {
  padding: 28px 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat:nth-child(2n) { border-right: 0; }
.stat:nth-last-child(-n+2) { border-bottom: 0; }
.stat-num {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.stat-num em { font-family: var(--serif); font-style: italic; color: var(--muted-2); font-weight: 400; }
.stat-lbl {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 6px;
  letter-spacing: 0.02em;
}
@media (min-width: 768px) {
  .stats-grid { grid-template-columns: repeat(5, 1fr); }
  .stat { padding: 36px 24px; border-bottom: 0; }
  .stat:nth-child(2n) { border-right: 1px solid var(--line); }
  .stat:last-child { border-right: 0; }
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.tcards {
  display: grid; grid-template-columns: 1fr; gap: 16px;
  margin-top: 48px;
}
@media (min-width: 768px) {
  .tcards { grid-template-columns: repeat(3, 1fr); }
}
.tcard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 30px;
  display: flex; flex-direction: column; gap: 20px;
  min-height: 260px;
  transition: box-shadow 0.25s var(--ease), border-color 0.2s var(--ease);
}
.tcard:hover { box-shadow: var(--shadow-card); border-color: var(--line-2); }
.tcard .quote-mark {
  font-family: var(--serif);
  font-size: 56px;
  line-height: 0.6;
  color: var(--gold-soft);
  margin-bottom: 4px;
}
.tcard-num {
  font-weight: 600;
  font-size: 1.625rem;
  letter-spacing: -0.02em;
}
.tcard-num small { color: var(--muted); font-size: 0.84375rem; font-weight: 500; letter-spacing: 0; margin-left: 6px; }
.tcard-body {
  color: var(--ink-3);
  font-size: 0.9375rem;
  line-height: 1.6;
  flex: 1;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
}
.tcard-who {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.tcard-who strong { font-weight: 600; font-size: 0.875rem; display: block; }
.tcard-who span { font-size: 0.78125rem; color: var(--muted); }

/* ============================================================
   DARK SECTION (status quo / problem)
   ============================================================ */
.dark {
  background: radial-gradient(1200px 500px at 10% 0%, #1a1835 0%, #0a0a14 40%, #05050c 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.dark::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  opacity: 0.7;
}
.dark::after {
  content: "";
  position: absolute;
  right: -200px; top: 20%;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(168,139,71,0.18) 0%, transparent 60%);
  pointer-events: none;
}
.dark .eyebrow { color: rgba(255,255,255,0.55); }
.dark .h2, .dark .h3, .dark .display { color: #fff; }

.costs-grid {
  display: grid; grid-template-columns: 1fr; gap: 1px;
  margin-top: 48px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  z-index: 1;
}
@media (min-width: 768px) {
  .costs-grid { grid-template-columns: repeat(3, 1fr); }
}
.cost-card {
  padding: 32px 28px 34px;
  background: rgba(10,10,20,0.85);
  position: relative;
  min-height: 220px;
}
.cost-head {
  display: flex; justify-content: space-between; align-items: center;
  color: var(--gold);
}
.cost-ico {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border: 1px solid rgba(168,139,71,0.35);
  border-radius: 8px;
  color: var(--gold);
}
.cost-idx { font-size: 0.6875rem; letter-spacing: 0.18em; color: rgba(255,255,255,0.32); }
.cost-num {
  font-size: 2.875rem; font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--gold);
  margin: 22px 0 14px;
  line-height: 1;
}
.cost-title { font-size: 0.9375rem; font-weight: 600; margin-bottom: 10px; color: #fff; }
.cost-body { font-size: 0.8125rem; color: rgba(255,255,255,0.6); line-height: 1.6; }

/* ============================================================
   KURATOR — COCKPIT MOCKUP (showcase)
   ============================================================ */
.kurator-showcase {
  background: linear-gradient(180deg, #050510 0%, #0a0a18 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.kurator-showcase::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.kurator-showcase::after {
  content: "";
  position: absolute;
  left: -300px; top: -200px;
  width: 800px; height: 800px; border-radius: 50%;
  background: radial-gradient(circle, rgba(168,139,71,0.14) 0%, transparent 55%);
  pointer-events: none;
}
.kurator-showcase > .wrap { position: relative; z-index: 1; }
.kurator-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.kurator-intro .eyebrow { color: var(--gold); }
.kurator-intro .h2 { color: #fff; margin: 18px 0 16px; }
.kurator-intro .lede { color: rgba(255,255,255,0.66); margin: 0 auto; }

/* the actual mockup frame */
.cockpit {
  background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  padding: 18px;
  box-shadow: 0 60px 120px -50px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.06);
  position: relative;
}
.cockpit-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 6px 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 16px;
  gap: 12px;
}
.cockpit-head-left { display: flex; align-items: center; gap: 10px; }
.cockpit-dots { display: flex; gap: 6px; }
.cockpit-dots span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.16); }
.cockpit-title { font-size: 0.8125rem; color: rgba(255,255,255,0.7); font-weight: 500; letter-spacing: 0.02em; }
.cockpit-title em { font-family: var(--serif); font-style: italic; color: var(--gold); font-weight: 400; }
.cockpit-status { display: flex; align-items: center; gap: 8px; font-size: 0.75rem; color: rgba(255,255,255,0.55); }
.cockpit-status .live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(47,194,122,0.2); animation: pulse 2.4s ease-in-out infinite; }

.cockpit-grid {
  display: grid; grid-template-columns: 1fr; gap: 12px;
}
@media (min-width: 720px) {
  .cockpit-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1080px) {
  .cockpit-grid { grid-template-columns: repeat(4, 1fr); }
}

.module {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  padding: 18px 18px 16px;
  position: relative;
  transition: background 0.25s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
  cursor: pointer;
  overflow: hidden;
}
.module:hover {
  background: rgba(168,139,71,0.06);
  border-color: rgba(168,139,71,0.3);
  transform: translateY(-2px);
}
.module-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
  gap: 8px;
}
.module-name {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.0625rem;
  color: var(--gold);
  letter-spacing: 0.01em;
}
.module-tag {
  font-size: 0.625rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.module-num {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 1.625rem;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1;
  margin-bottom: 4px;
}
.module-num small { font-size: 0.875rem; color: rgba(255,255,255,0.55); font-weight: 400; margin-left: 4px; }
.module-label {
  font-size: 0.78125rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.45;
}
.module-spark {
  margin-top: 12px;
  height: 28px;
  display: flex; align-items: end; gap: 3px;
}
.module-spark span {
  flex: 1;
  background: rgba(168,139,71,0.4);
  border-radius: 2px;
  transition: background 0.2s var(--ease);
}
.module:hover .module-spark span { background: rgba(168,139,71,0.7); }

.module-list {
  margin-top: 14px;
  display: grid; gap: 8px;
}
.module-list-row {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.78125rem;
  color: rgba(255,255,255,0.65);
  padding: 8px 10px;
  background: rgba(255,255,255,0.03);
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.04);
}
.module-list-row strong { color: rgba(255,255,255,0.92); font-weight: 500; }
.module-list-row .pill-mini {
  font-size: 0.625rem;
  padding: 2px 7px;
  border-radius: 100px;
  background: rgba(47,194,122,0.18);
  color: var(--green);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}
.module-list-row .pill-mini.gold { background: rgba(168,139,71,0.2); color: var(--gold); }
.module-list-row .pill-mini.warn { background: rgba(201,74,59,0.2); color: var(--accent); }

/* highlighted module (full-width on mockup) */
.module.span-2 { grid-column: span 1; }
@media (min-width: 720px) {
  .module.span-2 { grid-column: span 2; }
}

.cockpit-foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  flex-wrap: wrap; gap: 10px;
}
.cockpit-foot-keys { display: flex; gap: 16px; }
.cockpit-foot-keys span { display: inline-flex; align-items: center; gap: 6px; }
.cockpit-foot-keys kbd {
  font-family: var(--mono);
  font-size: 0.6875rem;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.78);
}

/* Module detail expansion (under the grid) */
.module-detail {
  margin-top: 32px;
  display: none;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
}
.module-detail.active { display: block; animation: fadeIn 0.3s var(--ease-out); }
.module-detail-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 18px; gap: 12px; flex-wrap: wrap;
}
.module-detail-name {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.625rem;
  color: var(--gold);
}
.module-detail-tag {
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
.module-detail-body {
  color: rgba(255,255,255,0.72);
  font-size: 0.9375rem;
  line-height: 1.65;
  max-width: 60ch;
  margin-bottom: 18px;
}
.module-detail-features {
  display: grid; grid-template-columns: 1fr; gap: 8px;
  margin-top: 16px;
}
@media (min-width: 600px) {
  .module-detail-features { grid-template-columns: 1fr 1fr; }
}
.module-detail-features li {
  list-style: none;
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
}
.module-detail-features li::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold);
  margin-top: 8px; flex-shrink: 0;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   MODULES (8 service blocks for the homepage)
   ============================================================ */
.modules-grid {
  display: grid; grid-template-columns: 1fr; gap: 16px;
  margin-top: 48px;
}
@media (min-width: 600px) {
  .modules-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .modules-grid { grid-template-columns: repeat(4, 1fr); }
}
.mod-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 26px 26px;
  position: relative;
  transition: border-color 0.2s var(--ease), box-shadow 0.25s var(--ease), transform 0.2s var(--ease);
  display: flex; flex-direction: column;
  min-height: 220px;
}
.mod-card:hover {
  border-color: var(--gold);
  box-shadow: 0 14px 40px -20px rgba(168,139,71,0.25);
  transform: translateY(-2px);
}
.mod-card .mod-name {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 4px;
}
.mod-card .mod-sub {
  font-size: 0.78125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.mod-card .mod-body {
  font-size: 0.875rem;
  color: var(--ink-3);
  line-height: 1.6;
  flex: 1;
}
.mod-card .mod-link {
  margin-top: 18px;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.84375rem;
  font-weight: 500;
  color: var(--ink);
}
.mod-card .mod-link svg { transition: transform 0.2s var(--ease); }
.mod-card:hover .mod-link svg { transform: translateX(3px); }

/* ============================================================
   SYSTEM (split layout)
   ============================================================ */
.system {
  display: grid; grid-template-columns: 1fr; gap: 40px;
  align-items: center;
  margin-bottom: 80px;
}
@media (min-width: 880px) {
  .system { grid-template-columns: 1fr 1fr; gap: 72px; margin-bottom: 120px; }
  .system.reverse .system-text { order: 2; }
}
.system-intro {
  text-align: left;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 64px;
}
.system-intro .h2 { max-width: 18ch; margin-bottom: 24px; }
.system-text .eyebrow { margin-bottom: 16px; display: block; }
.system-text .h3 { margin-bottom: 18px; max-width: 16ch; }
.system-text .lede { margin-bottom: 24px; }
.bullets { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.bullets li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 0.9375rem; color: var(--ink-2);
  line-height: 1.5;
}
.bullet-check {
  width: 22px; height: 22px; min-width: 22px;
  border-radius: 50%;
  background: #0a0a0c;
  color: #fff;
  display: grid; place-items: center;
  margin-top: 2px;
}
.bullet-check.gold { background: var(--gold); }
.result {
  background: var(--bg-cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin-bottom: 28px;
}
.result-head {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.6875rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.result ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.result li {
  display: flex; gap: 10px;
  font-size: 0.9375rem;
  color: var(--ink-2);
}
.result li::before {
  content: ""; width: 16px; height: 1px; background: var(--gold-soft); margin-top: 11px;
}

/* Editorial system media (architecture imagery) */
.system-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--bg-stone);
  box-shadow: var(--shadow-lg);
}
.system-media.wide { aspect-ratio: 5 / 4; }
.system-media img { width: 100%; height: 100%; object-fit: cover; }
.system-media .tag {
  position: absolute;
  left: 18px; bottom: 18px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 14px;
  padding: 10px 14px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.18);
  font-size: 0.78125rem;
}
.system-media .tag .logo-mark { width: 24px; height: 24px; font-size: 14px; border-radius: 6px; }
.system-media .tag .eyebrow { font-size: 0.5625rem; }
.system-media .tag strong { display: block; font-size: 0.8125rem; font-weight: 600; }

/* ============================================================
   FAQ (accordion)
   ============================================================ */
.faq-wrap {
  display: grid; grid-template-columns: 1fr; gap: 40px;
  align-items: start;
}
@media (min-width: 880px) {
  .faq-wrap { grid-template-columns: 0.9fr 1.4fr; gap: 80px; }
}
.faq-side .h2 { margin: 8px 0 18px; }
.faq-side .lede { margin-bottom: 28px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 0;
  min-height: 56px;
  font-size: 0.9375rem; font-weight: 500;
  text-align: left;
  color: var(--ink);
  letter-spacing: -0.005em;
  gap: 16px;
}
.faq-q:hover { color: var(--gold); }
.faq-chev {
  transition: transform 0.25s var(--ease);
  color: var(--muted);
  flex-shrink: 0;
}
.faq-item.open .faq-chev { transform: rotate(180deg); color: var(--gold); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.32s var(--ease);
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 70ch;
}
.faq-item.open .faq-a { max-height: 400px; padding-bottom: 24px; }

/* ============================================================
   PROCESS / STEPS
   ============================================================ */
.process-head { margin-bottom: 56px; }
.process-head .h2 { max-width: 18ch; }
.steps {
  display: grid; grid-template-columns: 1fr; gap: 28px;
  position: relative;
}
@media (min-width: 768px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .steps::before {
    content: "";
    position: absolute; left: 28px; right: 28px; top: 18px;
    height: 1px; background: var(--line);
  }
}
.step { position: relative; }
.step-num {
  width: 36px; height: 36px; border-radius: 50%;
  background: #0a0a0c; color: #fff;
  display: grid; place-items: center;
  font-size: 0.8125rem; font-weight: 500;
  margin-bottom: 22px;
  position: relative;
  box-shadow: 0 0 0 8px var(--bg);
}
.step-title { font-weight: 600; font-size: 1rem; margin-bottom: 10px; letter-spacing: -0.01em; }
.step-body { font-size: 0.84375rem; color: var(--muted); max-width: 36ch; line-height: 1.65; }

/* ============================================================
   PROMISE BLOCK
   ============================================================ */
.promise {
  max-width: 720px;
  margin: 60px auto 0;
  background: var(--bg-cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 44px 32px;
  text-align: center;
}
@media (min-width: 600px) { .promise { padding: 48px 56px; } }
.promise-ico {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--gold); color: #fff;
  display: grid; place-items: center;
  margin: 0 auto 18px;
}
.promise .eyebrow { display: block; margin-bottom: 14px; color: var(--gold); }
.promise-text {
  font-size: clamp(1.125rem, 1.5vw, 1.375rem);
  letter-spacing: -0.015em;
  line-height: 1.45;
  color: var(--ink);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
}
.promise-text em { color: var(--gold); }

/* ============================================================
   FINAL CTA
   ============================================================ */
.final-cta {
  background:
    radial-gradient(900px 400px at 80% 50%, rgba(168,139,71,0.18) 0%, transparent 60%),
    linear-gradient(180deg, #0a0a14 0%, #05050c 100%);
  color: #fff;
  padding: clamp(4rem, 8vw, 7rem) 0;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
.final-cta > .wrap { position: relative; z-index: 1; }
.final-cta .eyebrow { color: var(--gold); }
.final-cta .h2 { color: #fff; max-width: 18ch; margin: 18px 0 20px; }
.final-cta .h2 em { color: rgba(255,255,255,0.45); font-family: var(--serif); }
.final-cta .lede { color: rgba(255,255,255,0.66); margin-bottom: 26px; }
.cta-benefits {
  display: flex; gap: 20px; flex-wrap: wrap;
  margin-bottom: 34px;
  color: rgba(255,255,255,0.72);
  font-size: 0.84375rem;
}
.cta-benefits span { display: inline-flex; align-items: center; gap: 8px; }
.cta-benefits svg { color: var(--gold); }

/* ============================================================
   FOOTER
   ============================================================ */
.foot {
  border-top: 1px solid var(--line);
  padding: 64px 0 32px;
  background: var(--bg-cream);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 600px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 0.7fr; }
}
.foot-col .eyebrow { display: block; margin-bottom: 18px; }
.foot-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot-col a { font-size: 0.875rem; color: var(--ink-2); transition: color 0.15s var(--ease); }
.foot-col a:hover { color: var(--gold); }
.foot-about { font-size: 0.84375rem; color: var(--muted); margin-top: 18px; max-width: 36ch; line-height: 1.65; }
.foot-contact { display: grid; gap: 12px; font-size: 0.875rem; }
.foot-contact a { display: flex; align-items: center; gap: 10px; }
.foot-contact svg { color: var(--muted); }
.foot-bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 12px; align-items: flex-start;
  font-size: 0.78125rem;
  color: var(--muted);
}
@media (min-width: 600px) {
  .foot-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}
.foot-bottom a:hover { color: var(--ink); }
.foot-legal { display: flex; gap: 24px; }

/* ============================================================
   UTILITY: BREADCRUMB
   ============================================================ */
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.8125rem;
  color: var(--muted);
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--muted); transition: color 0.15s var(--ease); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb svg { opacity: 0.4; }

/* ============================================================
   CAPABILITIES GRID (for module showcase pages)
   ============================================================ */
.cap-intro { max-width: 30ch; margin-bottom: 48px; }
.cap-grid {
  display: grid; grid-template-columns: 1fr;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
@media (min-width: 600px) {
  .cap-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .cap-grid { grid-template-columns: repeat(4, 1fr); }
}
.cap {
  padding: 32px 28px 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  min-height: 180px;
  display: flex; flex-direction: column; justify-content: space-between;
  background: #fff;
  transition: background 0.2s var(--ease);
}
.cap:hover { background: var(--bg-cream); }
.cap-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  color: var(--muted-2);
}
.cap-ico {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border-radius: 8px;
  background: var(--bg-cream);
  color: var(--gold);
}
.cap-idx { font-family: var(--serif); font-style: italic; font-size: 0.875rem; color: var(--muted-2); }
.cap-title { font-weight: 600; font-size: 0.9375rem; color: var(--ink); letter-spacing: -0.01em; }
@media (min-width: 600px) {
  .cap:nth-child(2n) { border-right: 0; }
}
@media (min-width: 1024px) {
  .cap:nth-child(2n) { border-right: 1px solid var(--line); }
  .cap:nth-child(4n) { border-right: 0; }
  .cap:nth-last-child(-n+4) { border-bottom: 0; }
}

/* ============================================================
   INTEGRATIONS GRID
   ============================================================ */
.ints-head { text-align: center; margin-bottom: 40px; }
.ints-head .eyebrow { display: block; margin-bottom: 12px; color: var(--gold); }
.ints-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
@media (min-width: 768px) {
  .ints-grid { grid-template-columns: repeat(4, 1fr); }
}
.int-cell {
  padding: 28px 16px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  text-align: center;
}
.int-cell:nth-child(2n) { border-right: 0; }
.int-cell:nth-last-child(-n+2) { border-bottom: 0; }
@media (min-width: 768px) {
  .int-cell:nth-child(2n) { border-right: 1px solid var(--line); }
  .int-cell:nth-child(4n) { border-right: 0; }
  .int-cell:nth-last-child(-n+4) { border-bottom: 0; }
}
.int-ico { width: 32px; height: 32px; color: var(--ink-2); display: grid; place-items: center; }
.int-lbl { font-size: 0.8125rem; font-weight: 500; color: var(--ink); letter-spacing: -0.005em; }

/* ============================================================
   PRESS / LOGO STRIP (premium social proof)
   ============================================================ */
.proof-strip {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.proof-strip-inner {
  display: flex; align-items: center; gap: 28px;
  font-size: 0.78125rem;
  color: var(--muted);
  flex-wrap: wrap;
  justify-content: center;
}
.proof-strip-label {
  font-family: var(--serif);
  font-style: italic;
  color: var(--muted-2);
}
.proof-strip-items {
  display: flex; align-items: center; gap: 32px;
  flex-wrap: wrap; justify-content: center;
  letter-spacing: 0.02em;
}
.proof-strip-items span { font-weight: 500; color: var(--ink-2); }

/* ============================================================
   PHOTO PLACEHOLDER (used during dev)
   ============================================================ */
.photo-ph {
  width: 100%; height: 100%;
  background:
    linear-gradient(135deg, rgba(0,0,0,0.04), rgba(0,0,0,0)),
    repeating-linear-gradient(45deg, var(--bg-stone) 0 6px, var(--bg-cream) 6px 12px);
  position: relative;
}

/* ============================================================
   SR-ONLY
   ============================================================ */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
