/* ==========================================================================
   VANTRIC GROUP — Design Tokens
   ========================================================================== */

:root {
  /* Fluid type scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 5rem);
  --text-hero: clamp(2.5rem, 1.1rem + 3.6vw, 4.5rem);

  /* 4px spacing system */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1.25rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);

  /* Content widths */
  --content-narrow: 640px;
  --content-default: 1040px;
  --content-wide: 1240px;
  --content-full: 100%;

  /* Fonts */
  --font-display: 'Clash Display', 'Helvetica Neue', sans-serif;
  --font-body: 'Satoshi', 'Inter', sans-serif;
}

/* ---------- LIGHT MODE (default) ---------- */
:root,
[data-theme='light'] {
  --color-bg: #f7f2e9;
  --color-surface: #fbf8f2;
  --color-surface-2: #ffffff;
  --color-surface-offset: #efe8da;
  --color-surface-offset-2: #e7ded0;
  --color-surface-dynamic: #e0d5c2;
  --color-divider: #e0d7c6;
  --color-border: #d6c9b3;

  --color-text: #161310;
  --color-text-muted: #6b6259;
  --color-text-faint: #a89d8c;
  --color-text-inverse: #f7f2e9;

  /* Forge Gold — primary accent */
  --color-primary: #c17a1f;
  --color-primary-hover: #a8681a;
  --color-primary-active: #8f5714;
  --color-primary-highlight: #f5e4c0;
  --color-primary-ink: #161310;

  /* Shelf Lime — sparing secondary accent */
  --color-lime: #c8ff3d;
  --color-lime-ink: #1a1a0a;
  --color-lime-highlight: #edffc9;

  --color-error: #c22f14;
  --color-error-highlight: #ffe0d6;
  --color-success: #3f7d3a;
  --color-success-highlight: #dcedd6;

  --shadow-sm: 0 1px 2px oklch(0.2 0.03 50 / 0.08);
  --shadow-md: 0 6px 16px oklch(0.2 0.03 50 / 0.10);
  --shadow-lg: 0 16px 40px oklch(0.2 0.03 50 / 0.16);

  --logo-accent: var(--color-primary);
  color-scheme: light;
}

/* ---------- DARK MODE ---------- */
[data-theme='dark'] {
  --color-bg: #14120f;
  --color-surface: #1b1815;
  --color-surface-2: #201c18;
  --color-surface-offset: #211d19;
  --color-surface-offset-2: #29241f;
  --color-surface-dynamic: #322c25;
  --color-divider: #2b2621;
  --color-border: #3a332b;

  --color-text: #f7f2e9;
  --color-text-muted: #b3a99a;
  --color-text-faint: #7c7264;
  --color-text-inverse: #161310;

  --color-primary: #e8a83d;
  --color-primary-hover: #f0b84a;
  --color-primary-active: #f5cb78;
  --color-primary-highlight: #3d2e14;
  --color-primary-ink: #14120f;

  --color-lime: #d4ff5e;
  --color-lime-ink: #14170a;
  --color-lime-highlight: #2a2f1a;

  --color-error: #ff8563;
  --color-error-highlight: #402420;
  --color-success: #7fca72;
  --color-success-highlight: #223321;

  --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.3);
  --shadow-md: 0 6px 16px oklch(0 0 0 / 0.35);
  --shadow-lg: 0 20px 48px oklch(0 0 0 / 0.5);

  --logo-accent: var(--color-primary);
  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg: #14120f;
    --color-surface: #1b1815;
    --color-surface-2: #201c18;
    --color-surface-offset: #211d19;
    --color-surface-offset-2: #29241f;
    --color-surface-dynamic: #322c25;
    --color-divider: #2b2621;
    --color-border: #3a332b;
    --color-text: #f7f2e9;
    --color-text-muted: #b3a99a;
    --color-text-faint: #7c7264;
    --color-text-inverse: #161310;
    --color-primary: #e8a83d;
    --color-primary-hover: #f0b84a;
    --color-primary-active: #f5cb78;
    --color-primary-highlight: #3d2e14;
    --color-primary-ink: #14120f;
    --color-lime: #d4ff5e;
    --color-lime-ink: #14170a;
    --color-lime-highlight: #2a2f1a;
    --color-error: #ff8563;
    --color-error-highlight: #402420;
    --color-success: #7fca72;
    --color-success-highlight: #223321;
    --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.3);
    --shadow-md: 0 6px 16px oklch(0 0 0 / 0.35);
    --shadow-lg: 0 20px 48px oklch(0 0 0 / 0.5);
    --logo-accent: var(--color-primary);
    color-scheme: dark;
  }
}

/* ==========================================================================
   Base type + layout primitives
   ========================================================================== */

body {
  overflow-x: hidden;
}

.container {
  max-width: var(--content-default);
  margin-inline: auto;
  padding-inline: var(--space-5);
}
.container--wide {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-5);
}
@media (min-width: 640px) {
  .container,
  .container--wide {
    padding-inline: var(--space-8);
  }
}

section {
  padding-block: clamp(var(--space-16), 9vw, var(--space-32));
  position: relative;
}
section + section {
  border-top: 1px solid var(--color-divider);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 2px;
  background: var(--color-primary);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.01em;
}

h1 {
  font-size: var(--text-hero);
  line-height: 1.03;
}
.section-title {
  font-size: var(--text-2xl);
  line-height: 1.08;
  max-width: 18ch;
}
.section-title--wide {
  max-width: 26ch;
}
h3,
.card-title {
  font-size: var(--text-lg);
  font-weight: 600;
  font-family: var(--font-body);
  letter-spacing: -0.01em;
}

p {
  color: var(--color-text-muted);
  max-width: 62ch;
}
.lede {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 48ch;
}

.text-accent {
  color: var(--color-primary);
}

a {
  color: var(--color-primary);
  text-decoration-color: color-mix(in oklab, var(--color-primary) 40%, transparent);
  text-underline-offset: 3px;
}
a:hover {
  text-decoration-color: var(--color-primary);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  padding: var(--space-4) var(--space-6);
  border-radius: var(--radius-full);
  min-height: 44px;
  white-space: nowrap;
  text-decoration: none;
  transition:
    background var(--transition-interactive),
    color var(--transition-interactive),
    box-shadow var(--transition-interactive),
    transform var(--transition-interactive),
    border-color var(--transition-interactive);
}
.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-primary-ink);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--color-primary-hover);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}
.btn-secondary:hover {
  border-color: var(--color-text-faint);
  background: var(--color-surface-offset);
}

.btn-ghost {
  background: transparent;
  color: var(--color-text);
  padding: var(--space-2) var(--space-3);
  min-height: 40px;
}
.btn-ghost:hover {
  background: var(--color-surface-offset);
}

.btn-sm {
  padding: var(--space-3) var(--space-5);
  font-size: var(--text-xs);
  min-height: 36px;
}

/* ==========================================================================
   Badges / tags (Shelf Lime lives here)
   ========================================================================== */

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  background: var(--color-lime);
  color: var(--color-lime-ink);
}
.badge-outline {
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  text-transform: none;
  font-weight: 600;
  letter-spacing: 0;
}

/* ==========================================================================
   Header / Nav
   ========================================================================== */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in oklab, var(--color-bg) 86%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition:
    border-color var(--transition-interactive),
    background var(--transition-interactive);
}
.header--scrolled {
  border-bottom-color: var(--color-divider);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: var(--space-4);
}

.logo-link {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-text);
  text-decoration: none;
  flex-shrink: 0;
}
.logo-mark {
  width: 28px;
  height: 28px;
  color: var(--color-text);
}
.logo-wordmark {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.nav-desktop {
  display: none;
}
@media (min-width: 960px) {
  .nav-desktop {
    display: flex;
    align-items: center;
    gap: var(--space-8);
  }
}
.nav-links {
  display: flex;
  gap: var(--space-6);
  list-style: none;
}
.nav-links a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: 500;
}
.nav-links a:hover {
  color: var(--color-text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  color: var(--color-text);
  flex-shrink: 0;
}
.theme-toggle:hover {
  background: var(--color-surface-offset);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  color: var(--color-text);
}
.nav-toggle:hover {
  background: var(--color-surface-offset);
}
@media (min-width: 960px) {
  .nav-toggle {
    display: none;
  }
}

.mobile-nav {
  position: fixed;
  inset: 0;
  top: 0;
  z-index: 99;
  background: var(--color-bg);
  display: flex;
  flex-direction: column;
  padding: var(--space-24) var(--space-6) var(--space-8);
  gap: var(--space-8);
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 250ms var(--ease-out),
    transform 250ms var(--ease-out);
}
.mobile-nav.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  list-style: none;
}
.mobile-nav-links a {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-text);
  text-decoration: none;
  padding-block: var(--space-3);
  border-bottom: 1px solid var(--color-divider);
}
@media (min-width: 960px) {
  .mobile-nav {
    display: none;
  }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  padding-block: clamp(var(--space-16), 10vw, var(--space-24)) clamp(var(--space-12), 6vw, var(--space-20));
  border-top: none;
}
.hero-grid {
  display: grid;
  gap: var(--space-12);
  align-items: center;
}
@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: var(--space-16);
  }
}

.hero-copy h1 {
  margin-bottom: var(--space-6);
}
.hero-copy .lede {
  margin-bottom: var(--space-8);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-10);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5);
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-divider);
}
.hero-stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}
.hero-stat-pill svg {
  color: var(--color-primary);
  flex-shrink: 0;
}

.hero-visual {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-lg);
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, oklch(0.1 0.02 40 / 0.55) 100%);
  pointer-events: none;
}
.hero-visual-badge {
  position: absolute;
  left: var(--space-5);
  bottom: var(--space-5);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  background: color-mix(in oklab, var(--color-bg) 88%, transparent);
  backdrop-filter: blur(8px);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text);
}
.hero-visual-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-lime);
  flex-shrink: 0;
}

/* ==========================================================================
   The Problem We Solve section
   ========================================================================== */

.problem-section {
  background: var(--color-surface);
}
.problem-header {
  max-width: 60ch;
  margin-bottom: var(--space-10);
}
.problem-header .lede {
  margin-top: var(--space-4);
  max-width: 58ch;
}

.problem-bridge {
  margin-top: var(--space-2);
  display: flex;
  align-items: center;
  gap: var(--space-6);
  flex-wrap: wrap;
  background: var(--color-surface-offset);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
}
.problem-bridge-visual {
  flex: 0 0 auto;
  width: 120px;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.problem-bridge-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/5;
}
.problem-bridge-text {
  flex: 1 1 260px;
}
.problem-bridge-text p {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-text);
  font-weight: 500;
  line-height: 1.2;
  max-width: none;
}

/* ==========================================================================
   What We Do — cards
   ========================================================================== */

.wwd-grid {
  display: grid;
  gap: var(--space-6);
  margin-top: var(--space-12);
}
@media (min-width: 800px) {
  .wwd-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.wwd-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.wwd-card:nth-child(2) {
  background: var(--color-surface-offset);
}
.wwd-index {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-text-faint);
}
.wwd-card p {
  font-size: var(--text-sm);
}
.wwd-card .card-link {
  margin-top: auto;
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
}

/* ==========================================================================
   How We're Different (small supporting strip, not a comparison table)
   ========================================================================== */

.difference-section {
  background: var(--color-bg);
}
.difference-grid {
  display: grid;
  gap: var(--space-6);
  margin-top: var(--space-10);
  grid-template-columns: 1fr;
}
@media (min-width: 800px) {
  .difference-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.difference-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.difference-icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: color-mix(in oklab, var(--color-primary) 12%, var(--color-surface));
  color: var(--color-primary);
  flex-shrink: 0;
}
.difference-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--color-text);
}
.difference-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.compare-closing {
  margin-top: var(--space-8);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-text);
  max-width: 40ch;
}

/* ==========================================================================
   Who We Serve
   ========================================================================== */

.serve-section {
  background: var(--color-surface);
}
.serve-intro {
  margin-top: var(--space-4);
  max-width: 62ch;
}
.serve-grid {
  display: grid;
  gap: var(--space-5);
  margin-top: var(--space-10);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .serve-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1100px) {
  .serve-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.serve-card {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.serve-stage-num {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  color: var(--color-primary);
  font-weight: 600;
}
.serve-card h3 {
  font-size: var(--text-base);
}
.serve-card p {
  font-size: var(--text-sm);
  flex: 1;
}
.serve-cta {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
}

.serve-categories {
  margin-top: var(--space-10);
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-divider);
  font-size: var(--text-sm);
}

/* ==========================================================================
   The Vantric View — dashboard mockup
   ========================================================================== */

.view-section {
  background: var(--color-bg);
}
.view-header {
  max-width: 52ch;
  margin-bottom: var(--space-12);
}
.dashboard-caption {
  margin-top: var(--space-4);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-style: italic;
}
.view-bullets {
  display: grid;
  gap: var(--space-4);
  margin-top: var(--space-10);
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .view-bullets {
    grid-template-columns: repeat(3, 1fr);
  }
}
.view-bullet {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.view-bullet .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-lime);
  margin-top: 7px;
  flex-shrink: 0;
}
.view-bullet strong {
  color: var(--color-text);
  display: block;
  font-size: var(--text-sm);
}

/* Dashboard chrome */
.dashboard {
  background: #1b1815;
  color: #f7f2e9;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid #322c25;
  font-family: var(--font-body);
}
.dash-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-6);
  border-bottom: 1px solid #2b2621;
  gap: var(--space-4);
  flex-wrap: wrap;
}
.dash-brand {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 600;
  font-size: var(--text-sm);
}
.dash-brand .dot-live {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c8ff3d;
  box-shadow: 0 0 0 3px rgba(200, 255, 61, 0.18);
}
.dash-tabs {
  display: flex;
  gap: var(--space-1);
  background: #14120f;
  border-radius: var(--radius-full);
  padding: 4px;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.dash-tabs::-webkit-scrollbar {
  display: none;
}
.dash-tab {
  font-size: var(--text-xs);
  font-weight: 600;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  color: #b3a99a;
  white-space: nowrap;
  flex-shrink: 0;
}
@media (max-width: 480px) {
  .dash-tab {
    padding: var(--space-2) var(--space-3);
  }
}
.dash-tab.is-active {
  background: #f7f2e9;
  color: #14120f;
}
.dash-account {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: #b3a99a;
}
.dash-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #e8a83d;
  color: #14120f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}

.dash-body {
  padding: var(--space-6);
  display: grid;
  gap: var(--space-5);
  grid-template-columns: 1fr;
}
@media (min-width: 760px) {
  .dash-body {
    grid-template-columns: 1.3fr 1fr;
  }
}

.dash-panel {
  background: #201c18;
  border: 1px solid #2b2621;
  border-radius: var(--radius-lg);
  padding: var(--space-5);
}
.dash-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-4);
}
.dash-panel-title {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #b3a99a;
}
.dash-panel-value {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: #f7f2e9;
  font-variant-numeric: tabular-nums;
}

/* Spend tracker */
.spend-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: var(--space-3);
}
.spend-figures {
  font-size: var(--text-xs);
  color: #7c7264;
  font-variant-numeric: tabular-nums;
}
.spend-bar-track {
  height: 10px;
  border-radius: var(--radius-full);
  background: #14120f;
  overflow: hidden;
  margin-bottom: var(--space-3);
}
.spend-bar-fill {
  height: 100%;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, #e8a83d, #f0b84a);
  width: 68%;
}
.spend-legend {
  display: flex;
  gap: var(--space-4);
  font-size: var(--text-xs);
  color: #7c7264;
}
.spend-legend span {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
}
.spend-legend .swatch {
  width: 8px;
  height: 8px;
  border-radius: 2px;
}
.swatch.actual {
  background: #e8a83d;
}
.swatch.budget {
  background: #3a332b;
}

/* Program timeline strip */
.timeline-strip {
  display: flex;
  gap: var(--space-2);
  margin-top: var(--space-5);
}
.timeline-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.timeline-track {
  height: 6px;
  border-radius: var(--radius-full);
  background: #14120f;
  overflow: hidden;
}
.timeline-fill {
  height: 100%;
  background: #c8ff3d;
}
.timeline-track.is-pending .timeline-fill {
  background: #3a332b;
  width: 0%;
}
.timeline-label {
  font-size: 11px;
  color: #7c7264;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.timeline-label.is-current {
  color: #c8ff3d;
}

/* Inventory panel */
.inv-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.inv-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid #2b2621;
  font-size: var(--text-xs);
}
.inv-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.inv-name {
  color: #f7f2e9;
  font-weight: 600;
}
.inv-sub {
  color: #7c7264;
  font-size: 11px;
}
.inv-status {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}
.inv-status.ok {
  background: rgba(200, 255, 61, 0.16);
  color: #c8ff3d;
}
.inv-status.low {
  background: rgba(255, 106, 69, 0.18);
  color: #ff8563;
}

.dash-reorder-btn {
  margin-top: var(--space-4);
  width: 100%;
  background: #c8ff3d;
  color: #14170a;
  font-weight: 700;
  font-size: var(--text-xs);
  padding: var(--space-3);
  border-radius: var(--radius-md);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.dash-reorder-btn:hover {
  background: #d4ff5e;
}

.dash-panel--wide {
  grid-column: 1 / -1;
}

/* ==========================================================================
   How It Works — process steps
   ========================================================================== */

.how-section {
  background: var(--color-surface);
  overflow: hidden;
}
.how-visual {
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: var(--space-12);
  aspect-ratio: 21/9;
}
.how-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.how-steps {
  display: grid;
  gap: var(--space-8);
  grid-template-columns: 1fr;
  position: relative;
}
@media (min-width: 800px) {
  .how-steps {
    grid-template-columns: repeat(4, 1fr);
  }
  .how-steps::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 5%;
    right: 5%;
    height: 1px;
    background: var(--color-divider);
  }
}
.how-step {
  position: relative;
  padding-top: var(--space-10);
}
.how-step-num {
  position: absolute;
  top: 0;
  left: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-primary-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 500;
  z-index: 1;
}
.how-step h3 {
  margin-bottom: var(--space-2);
}
.how-step p {
  font-size: var(--text-sm);
}

/* ==========================================================================
   Complexity / Compliance
   ========================================================================== */

.compliance-section {
  background: var(--color-bg);
}
.compliance-grid {
  display: grid;
  gap: var(--space-10);
  align-items: start;
}
@media (min-width: 900px) {
  .compliance-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.compliance-copy p {
  font-size: var(--text-base);
}
.rigor-steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.rigor-step {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
}
.rigor-step-label {
  font-family: var(--font-display);
  font-size: var(--text-base);
  color: var(--color-primary);
  flex-shrink: 0;
  width: 90px;
}
.rigor-step-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* ==========================================================================
   Founder note
   ========================================================================== */

.founder-section {
  background: var(--color-surface);
}
.founder-inner {
  max-width: var(--content-narrow);
  margin-inline: auto;
}
.founder-mark {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: var(--space-4);
}
.founder-quote {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.45;
  max-width: none;
}
.founder-byline {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-6);
}
.founder-avatar {
  flex-shrink: 0;
  border-radius: var(--radius-lg);
}
.founder-byline-text {
  display: flex;
  flex-direction: column;
}
.founder-name {
  font-size: var(--text-sm);
  color: var(--color-text);
  font-weight: 600;
}
.founder-title {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* ==========================================================================
   Brands We've Worked With
   ========================================================================== */

.brands-section {
  background: #14120f;
  color: #f7f2e9;
}
.brands-section .eyebrow--inverse {
  color: #e8a83d;
}
.brands-section .eyebrow--inverse::before {
  background: #e8a83d;
}
.brands-title {
  color: #f7f2e9;
  max-width: 720px;
}
.brands-lede {
  color: #cfc6b6;
  max-width: 640px;
  margin-bottom: var(--space-10);
}
.experience-list-wrap {
  border-top: 1px solid #3a332b;
  padding-top: var(--space-6);
  max-width: 760px;
}
.experience-list-label {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #8f867a;
  margin-bottom: var(--space-3);
}
.experience-list {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 500;
  color: #f7f2e9;
  line-height: 1.5;
}
.brands-disclaimer {
  margin-top: var(--space-8);
  font-size: var(--text-xs);
  color: #8f867a;
  max-width: 640px;
}
@media (max-width: 640px) {
  .experience-list {
    font-size: var(--text-base);
  }
}

/* ==========================================================================
   Contact / Final CTA
   ========================================================================== */

.contact-section {
  background: var(--color-bg);
  position: relative;
  overflow: hidden;
}
.contact-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.contact-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.16;
}
[data-theme='light'] .contact-visual img {
  opacity: 0.1;
}
.contact-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--color-bg) 0%, color-mix(in oklab, var(--color-bg) 70%, transparent) 55%, var(--color-bg) 100%);
}
.contact-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--space-12);
}
@media (min-width: 900px) {
  .contact-inner {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}
.contact-copy h2 {
  margin-bottom: var(--space-5);
}
.contact-detail {
  margin-top: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.contact-detail a {
  color: var(--color-text);
  font-weight: 600;
}

.contact-form {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  box-shadow: var(--shadow-md);
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.form-field label {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.form-field input,
.form-field textarea {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  font-size: var(--text-base);
  color: var(--color-text);
  min-height: 44px;
}
.form-field textarea {
  min-height: 120px;
  resize: vertical;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-highlight);
}
.form-submit {
  margin-top: var(--space-2);
}

.form-success {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
  text-align: left;
  padding: var(--space-4) 0;
}
.form-success.is-visible {
  display: flex;
}
.form-success-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-lime);
  color: var(--color-lime-ink);
  display: flex;
  align-items: center;
  justify-content: center;
}
.form-fields-group {
  display: contents;
}
.contact-form.is-submitted .form-fields-group {
  display: none;
}

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

.footer {
  background: #161310;
  color: #f7f2e9;
  padding-block: var(--space-16) var(--space-8);
}
[data-theme='dark'] .footer {
  background: #0f0d0b;
}
.footer-top {
  display: grid;
  gap: var(--space-10);
  margin-bottom: var(--space-12);
}
@media (min-width: 800px) {
  .footer-top {
    grid-template-columns: 1.2fr 1fr;
    align-items: start;
  }
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
  color: #f7f2e9;
  text-decoration: none;
}
.footer-brand .logo-mark {
  color: #f7f2e9;
}
.footer-brand .logo-wordmark {
  color: #f7f2e9;
}
.footer-tagline {
  color: #b3a99a;
  font-size: var(--text-sm);
  max-width: 32ch;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
  list-style: none;
}
.footer-links a {
  color: #b3a99a;
  text-decoration: none;
  font-size: var(--text-sm);
}
.footer-links a:hover {
  color: #f7f2e9;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-8);
  border-top: 1px solid #2b2621;
  font-size: var(--text-xs);
  color: #7c7264;
}
.footer-bottom a {
  color: #7c7264;
  text-decoration: none;
  font-weight: 600;
}
.footer-bottom a:hover {
  color: #f7f2e9;
}

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

.reveal {
  opacity: 1;
}
@supports (animation-timeline: view()) {
  .reveal {
    opacity: 0;
    animation: reveal-fade linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 45%;
  }
}
@keyframes reveal-fade {
  to {
    opacity: 1;
  }
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -48px;
  left: var(--space-4);
  z-index: 200;
  background: var(--color-primary);
  color: var(--color-primary-ink);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: var(--text-sm);
  transition: top var(--transition-interactive);
}
.skip-link:focus {
  top: var(--space-4);
}

/* Utility */
.visually-hide-desktop {
  display: block;
}
@media (min-width: 960px) {
  .visually-hide-desktop {
    display: none;
  }
}
