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

/* ── DESIGN TOKENS ── */
:root {
  /* Brand: auburn (Molly) */
  --auburn-50:  #FBEFE9;  --auburn-100: #F5D2C2;  --auburn-200: #EDB098;
  --auburn-300: #E08A65;  --auburn-400: #D26538;  --auburn-500: #C44A1F;
  --auburn-600: #A93D17;  --auburn-700: #7E2E0F;  --auburn-800: #5A2009;
  --auburn-900: #3A1505;

  /* Brand: rose (Rosie) */
  --rose-50:  #FCE8EF;  --rose-200: #F5B6CC;  --rose-300: #E96D92;
  --rose-400: #E96D92;  --rose-500: #E84B7C;  --rose-700: #8A1F47;

  /* Brand: violet (Rosie's middle name) */
  --violet-50: #ECE6FB;  --violet-200: #C9BBF1;  --violet-300: #9B7FE3;
  --violet-400: #9B7FE3; --violet-500: #7C5BD9;  --violet-700: #3D2A85;

  /* Neutrals: ink (warm light-mode) */
  --ink-50:  #FAF6EE;  --ink-100: #F2EEE3;  --ink-200: #E8E2D2;
  --ink-300: #CAC4B3;  --ink-400: #B0AB9C;  --ink-500: #9F9A8C;
  --ink-600: #787469;  --ink-700: #6E6A60;  --ink-800: #33312C;
  --ink-900: #161513;

  /* Neutrals: obsidian (warm dark) */
  --obsidian-50:  #2A2925;  --obsidian-100: #33312C;
  --obsidian-200: #3F3D37;  --obsidian-300: #5A5750;

  /* Semantic status */
  --success:        #1FB088;
  --warning:        #B8830B;
  --danger:         #B82E2E;
  --info:           #3D5DB8;
  --terminal-green: #3DDDB0;

  /* Semantic surface/text */
  --bg:         #FAF6EE;
  --surface:    #FFFFFF;
  --fg:         #161513;
  --fg-muted:   #6E6A60;
  --fg-subtle:  #9F9A8C;
  --link:       #C44A1F;
  --border:     #E8E2D2;

  /* Terminal */
  --term-bg:     #2A2925;
  --term-chrome: #33312C;
  --term-text:   #B0AB9C;
  --term-dim:    #787469;
  --term-ok:     #3DDDB0;
  --term-dot:    #E84B7C;

  /* Elevation */
  --shadow-paper: 0 1px 2px rgba(22,21,19,0.04), 0 8px 24px rgba(22,21,19,0.06);
  --shadow-focus: 0 0 0 2px rgba(196,74,31,0.4);

  /* Legacy aliases — keep component references working */
  --orange:       #C44A1F;
  --orange-deep:  #A93D17;
  --orange-pale:  #FBEFE9;
  --orange-glow:  rgba(196, 74, 31, 0.18);
  --ink:          #161513;
  --ink-soft:     #33312C;
  --muted:        #6E6A60;
  --muted-light:  #9F9A8C;
  --border-light: #F2EEE3;
  --stone:        #F2EEE3;
  --stone-mid:    #E8E2D2;
  --white:        #FFFFFF;
  --dark:         #14130F;

  /* Typography */
  --serif: 'DM Serif Display', Georgia, serif;
  --sans:  'Plus Jakarta Sans', system-ui, sans-serif;
  --mono:  'JetBrains Mono', 'SFMono-Regular', Consolas, monospace;

  /* Spacing */
  --sp-4:   4px;   --sp-8:   8px;   --sp-12:  12px;  --sp-16:  16px;
  --sp-20:  20px;  --sp-24:  24px;  --sp-28:  28px;  --sp-32:  32px;
  --sp-40:  40px;  --sp-48:  48px;  --sp-64:  64px;  --sp-80:  80px;

  /* Radii */
  --r-sm:   4px;
  --r-md:   6px;
  --r-lg:   10px;
  --r-xl:   16px;
  --r-full: 999px;

  /* Motion */
  --ease:     cubic-bezier(.2,.7,.2,1);
  --dur-fast: 120ms;
  --dur:      180ms;
  --dur-slow: 240ms;
  --t-fast: 120ms var(--ease);
  --t-mid:  180ms var(--ease);

  --z-float: 10;
  --z-nav:   50;
}

/* ── DARK MODE TOKENS ── */
[data-theme="dark"] {
  --bg:        #1A1917;
  --surface:   #242220;
  --fg:        #FAF6EE;
  --fg-muted:  #B0AB9C;
  --fg-subtle: #787469;
  --border:    #3F3D37;

  --ink:          #FAF6EE;
  --ink-soft:     #D4CEBC;
  --muted:        #B0AB9C;
  --muted-light:  #9F9A8C;
  --border-light: #33312C;
  --stone:        #2A2925;
  --stone-mid:    #3F3D37;
  --white:        #242220;

  --shadow-paper: 0 1px 2px rgba(0,0,0,0.2), 0 8px 24px rgba(0,0,0,0.3);
}

/* ── DARK MODE COMPONENT OVERRIDES ── */
[data-theme="dark"] .btn {
  background: var(--obsidian-200);
  color: var(--fg);
}
[data-theme="dark"] .btn:hover { background: var(--auburn-500); color: #fff; }

[data-theme="dark"] .btn-orange { background: var(--auburn-500); color: #fff; }
[data-theme="dark"] .btn-orange:hover { background: var(--auburn-600); }

[data-theme="dark"] .btn-ghost {
  color: var(--fg-muted);
  border-color: var(--border);
  background: transparent;
}
[data-theme="dark"] .btn-ghost:hover {
  background: var(--obsidian-200);
  border-color: var(--obsidian-300);
  color: var(--fg);
}

[data-theme="dark"] .btn-secondary {
  color: var(--violet-300);
  border-color: var(--violet-400);
}
[data-theme="dark"] .btn-secondary:hover { background: rgba(155,127,227,0.15); }

[data-theme="dark"] .back-to-top { background: var(--obsidian-200); }

[data-theme="dark"] .audit-guarantee {
  background: rgba(196,74,31,0.1);
  border-color: rgba(196,74,31,0.25);
  color: var(--fg-muted);
}
[data-theme="dark"] .audit-guarantee strong { color: var(--fg); }

[data-theme="dark"] .form-input,
[data-theme="dark"] .form-textarea {
  border-color: var(--border);
  background: var(--surface);
  color: var(--ink);
}
[data-theme="dark"] .form-input::placeholder,
[data-theme="dark"] .form-textarea::placeholder { color: var(--muted-light); }
[data-theme="dark"] .back-to-top:hover { background: var(--auburn-500); }

/* ── BASE ── */
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
  font-size: 16px;
  transition: background-color var(--t-mid), color var(--t-mid);
}

a  { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: var(--sans); cursor: pointer; }

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1),
              transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.reveal.visible         { opacity: 1; transform: none; }
.reveal-delay-1         { transition-delay: 0.1s; }
.reveal-delay-2         { transition-delay: 0.2s; }
.reveal-delay-3         { transition-delay: 0.3s; }
.reveal-delay-4         { transition-delay: 0.4s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── UTILITIES ── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 var(--sp-48); }
.divider   { border: none; border-top: 1px solid var(--border); margin: 0; }

.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--orange); margin-bottom: var(--sp-20);
}
.kicker::before {
  content: ''; width: 28px; height: 1.5px;
  background: linear-gradient(90deg, var(--orange), var(--orange-deep));
  flex-shrink: 0;
}

.section-label {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted-light);
}

.grid-label {
  display: grid; grid-template-columns: 200px 1fr; gap: var(--sp-64);
}

.tag {
  display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: 0.04em;
  color: var(--orange); background: var(--orange-pale);
  border: 1px solid rgba(196,74,31,0.2);
  padding: 4px 10px; border-radius: 3px;
  transition: background var(--t-fast);
}
.tag:hover { background: rgba(196,74,31,0.12); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 700; letter-spacing: 0.01em;
  padding: 12px 24px; border-radius: var(--r-md); border: 1px solid transparent; cursor: pointer;
  background: var(--ink); color: #fff;
  transition: background var(--t-fast), box-shadow var(--t-fast), transform 0.1s;
}
.btn:hover  { background: var(--auburn-500); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { box-shadow: var(--shadow-focus); outline: none; }

.btn-orange { background: var(--auburn-500); }
.btn-orange:hover { background: var(--auburn-600); }

.btn-white { background: var(--white); color: var(--auburn-500); }
.btn-white:hover { background: var(--auburn-50); }

.btn-outline-white {
  background: transparent; color: white; border: 1px solid rgba(255,255,255,0.4);
}
.btn-outline-white:hover { border-color: white; background: rgba(255,255,255,0.08); }

.btn-ghost {
  background: transparent; color: var(--ink-800);
  border: 1px solid var(--ink-200); padding: 11px 24px;
}
.btn-ghost:hover { background: var(--ink-100); border-color: var(--ink-300); color: var(--ink); }

.btn-secondary {
  background: transparent; color: var(--violet-700);
  border: 1px solid var(--violet-500); padding: 12px 24px;
}
.btn-secondary:hover { background: var(--violet-50); }

.link-arrow {
  font-size: 13px; font-weight: 500; color: var(--muted);
  display: inline-flex; align-items: center; gap: 6px;
  transition: color var(--t-fast), gap var(--t-fast);
}
.link-arrow:hover { color: var(--ink); gap: 10px; }

/* ── NAV ── */
.nav {
  position: sticky; top: 0;
  z-index: var(--z-nav);
  width: 100%;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--t-mid), background var(--t-mid), border-color var(--t-mid);
}
.nav.scrolled {
  box-shadow: 0 1px 8px rgba(22,21,19,0.08);
}
.nav-inner {
  max-width: 1180px; margin: 0 auto;
  padding: 0 var(--sp-48);
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.nav-logo {
  font-family: var(--serif); font-size: 20px; letter-spacing: -0.01em;
  color: var(--ink); font-style: normal;
}
.nav-dot { display: none; }
.nav-links { display: flex; gap: var(--sp-32); list-style: none; }
.nav-links a {
  font-size: 15px; font-weight: 500; color: var(--ink);
  transition: color var(--t-fast);
  position: relative; cursor: pointer;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 1.5px; background: var(--auburn-500);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--t-fast);
}
.nav-links a:hover,
.nav-links a.active            { color: var(--auburn-500); }
.nav-links a:hover::after,
.nav-links a.active::after     { transform: scaleX(1); }
.nav-cta {
  font-size: 13px; font-weight: 700;
  padding: 8px 16px; background: var(--auburn-500); color: white; border-radius: var(--r-md);
  transition: background var(--t-fast); cursor: pointer;
}
.nav-cta:hover { background: var(--auburn-600); }

.theme-toggle {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: var(--r-md);
  background: none; border: 1px solid var(--border);
  color: var(--ink); cursor: pointer;
  transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast);
  flex-shrink: 0;
}
.theme-toggle:hover { background: var(--stone); }
.theme-toggle svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-sun  { display: none; }
.icon-moon { display: block; }
[data-theme="dark"] .icon-sun  { display: block; }
[data-theme="dark"] .icon-moon { display: none; }

/* Mobile nav */
.nav-hamburger {
  display: none; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  cursor: pointer; padding: 8px; background: none; border: none;
  width: 40px; height: 40px; border-radius: 8px;
  transition: background var(--t-fast);
}
.nav-hamburger:hover { background: var(--stone); }
.nav-hamburger span {
  display: block; width: 20px; height: 1.5px; background: var(--ink);
  transition: transform 0.2s, opacity 0.2s;
}
.nav-mobile {
  display: none;
  background: var(--surface);
  border-top: 1px solid var(--border); border-radius: 0 0 14px 14px;
  padding: var(--sp-16) var(--sp-24) var(--sp-20);
  flex-direction: column; gap: var(--sp-12);
}
.nav-mobile.open { display: flex; }
.nav-mobile a:not(.btn) {
  font-size: 15px; font-weight: 500; color: var(--muted);
  transition: color var(--t-fast); padding: 4px 0; cursor: pointer;
}
.nav-mobile a:not(.btn):hover { color: var(--ink); }
.nav-mobile .btn {
  text-align: center; margin-top: 4px;
}

/* ── HERO ── */
.hero-wrap {
  min-height: calc(100vh - 64px);
  display: flex; flex-direction: column; justify-content: center;
}
.hero {
  max-width: 1180px; margin: 0 auto;
  padding: 80px var(--sp-48);
}
.hero-eyebrow {
  display: flex; align-items: center; gap: var(--sp-12); flex-wrap: wrap;
  font-size: 12px; font-weight: 500; color: var(--muted);
  letter-spacing: 0.04em; margin-bottom: var(--sp-40);
  animation: fadeUp 0.5s cubic-bezier(0.16,1,0.3,1) both;
}
.hero-dot { color: var(--border); }
.status-pill {
  display: inline-flex; align-items: center; gap: 6px;
  color: #15803d; font-weight: 600;
}
.status-pip {
  width: 6px; height: 6px; border-radius: 50%; background: #22c55e;
  animation: pulse-green 2s ease infinite;
}
@keyframes pulse-green {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(72px, 11vw, 136px);
  line-height: 0.9; letter-spacing: -0.04em;
  color: var(--ink); margin-bottom: var(--sp-40);
  animation: fadeUp 0.65s cubic-bezier(0.16,1,0.3,1) 0.06s both;
}
.hero h1 em {
  font-style: italic; color: var(--orange); display: block;
  text-shadow: 0 0 80px rgba(196,74,31,0.2);
}
.hero-rule {
  border: none; border-top: 1px solid var(--border);
  margin: 0 0 var(--sp-40);
  animation: fadeUp 0.5s cubic-bezier(0.16,1,0.3,1) 0.14s both;
}
.hero-lower {
  display: grid; grid-template-columns: 1fr auto;
  gap: var(--sp-64); align-items: center;
  animation: fadeUp 0.5s cubic-bezier(0.16,1,0.3,1) 0.22s both;
}
.hero-bio {
  font-size: 18px; line-height: 1.8; color: var(--muted); max-width: 560px;
}
.hero-bio strong { color: var(--ink); font-weight: 500; }
.hero-actions { display: flex; align-items: center; gap: var(--sp-12); flex-shrink: 0; }

/* ── MARQUEE ── */
.marquee-wrap {
  background: var(--dark); border-top: 1px solid rgba(255,255,255,0.04);
  padding: 14px 0; overflow: hidden;
}
.marquee-track {
  display: flex; white-space: nowrap;
  animation: marquee 30s linear infinite; will-change: transform;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-item {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.3); padding: 0 var(--sp-24); flex-shrink: 0;
}
.marquee-sep { color: var(--orange); margin-left: 24px; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── SECTIONS ── */
.section { padding: var(--sp-64) 0; }
.section + .section { border-top: 1px solid var(--border); }

.section-header { margin-bottom: var(--sp-40); }
.section-header h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05; letter-spacing: -0.025em; color: var(--ink);
}
.section-header h2 em { font-style: italic; color: var(--orange); }

/* Section intro — homepage, full-width (no 200px sidebar) */
.section-intro {
  display: flex; flex-direction: column; gap: var(--sp-12);
  margin-bottom: var(--sp-40);
}
.section-intro h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05; letter-spacing: -0.025em; color: var(--ink);
}
.section-intro h2 em { font-style: italic; color: var(--orange); }

.section-more { margin-top: var(--sp-32); }

/* ── HOMEPAGE PROJECT ROWS ── */
.proj-list {
  display: flex; flex-direction: column;
  border-top: 1px solid var(--border);
}
.proj-row {
  display: grid; grid-template-columns: 52px 1fr 44px;
  gap: var(--sp-32); padding: var(--sp-32) 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none; color: inherit; cursor: pointer;
  align-items: flex-start;
  transition: padding-left var(--t-fast);
}
.proj-row:hover { padding-left: var(--sp-8); }

.proj-num {
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  color: var(--orange); padding-top: 12px;
}
.proj-name {
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 40px);
  letter-spacing: -0.02em; color: var(--ink);
  margin-bottom: var(--sp-8); line-height: 1.1;
  transition: color var(--t-fast);
}
.proj-row:hover .proj-name { color: var(--orange); }
.proj-desc {
  font-size: 15px; color: var(--muted); line-height: 1.75;
  margin-bottom: var(--sp-16); max-width: 640px;
}
.proj-arrow {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--stone); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 14px; flex-shrink: 0;
  margin-top: 6px;
  transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
}
.proj-row:hover .proj-arrow {
  background: var(--orange); color: white;
  transform: rotate(45deg); box-shadow: 0 4px 12px var(--orange-glow);
}

/* ── MISSION SECTION (dark full-bleed) ── */
.mission-section {
  background: var(--dark); padding: var(--sp-80) 0;
  position: relative; overflow: hidden;
}
.mission-section::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(196,74,31,0.07) 1px, transparent 1px);
  background-size: 36px 36px; pointer-events: none;
}
.mission-inner {
  max-width: 1180px; margin: 0 auto; padding: 0 var(--sp-48);
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--sp-80); align-items: center;
}
.mission-label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--orange); margin-bottom: var(--sp-24);
}
.mission-heading {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 64px);
  color: white; line-height: 1.0;
  letter-spacing: -0.03em; margin-bottom: var(--sp-28);
}
.mission-heading em { font-style: italic; color: var(--orange); }
.mission-body { font-size: 16px; line-height: 1.85; color: rgba(255,255,255,0.5); }
.mission-body strong { color: rgba(255,255,255,0.85); font-weight: 500; }

/* Stats — 2×2 grid */
.mission-stats { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-8); }
.mission-stat {
  padding: var(--sp-24);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-top: 2px solid var(--orange);
  border-radius: 10px;
  display: flex; flex-direction: column; gap: 6px;
  transition: background var(--t-fast);
}
.mission-stat:hover { background: rgba(255,255,255,0.07); }
.mission-stat-num {
  font-family: var(--serif); font-size: 52px; color: white; line-height: 1;
}
.mission-stat-num span { color: var(--orange); }
.mission-stat-desc { font-size: 12px; color: rgba(255,255,255,0.4); line-height: 1.45; }

/* ── ABOUT SNIPPET ── */
.about-cols {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--sp-48); font-size: 16px; line-height: 1.85; color: var(--muted);
}
.about-cols p + p { margin-top: var(--sp-20); }
.about-cols strong { color: var(--ink); font-weight: 500; }

/* ── CTA BANNER ── */
.cta-banner {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-deep) 100%);
  padding: var(--sp-80) 0; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; top: -60%; right: -10%;
  width: 500px; height: 500px; border-radius: 50%;
  background: rgba(255,255,255,0.06); pointer-events: none;
}
.cta-banner::after {
  content: ''; position: absolute; bottom: -40%; left: -5%;
  width: 350px; height: 350px; border-radius: 50%;
  background: rgba(255,255,255,0.04); pointer-events: none;
}
.cta-inner {
  max-width: 1180px; margin: 0 auto; padding: 0 var(--sp-48);
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--sp-64); align-items: center;
  position: relative; z-index: 1;
}
.cta-inner h2 {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 64px);
  color: white; line-height: 1.0; letter-spacing: -0.03em;
}
.cta-inner h2 em { font-style: italic; display: block; }
.cta-body p { font-size: 16px; color: rgba(255,255,255,0.85); line-height: 1.75; margin-bottom: var(--sp-28); }
.cta-actions { display: flex; gap: var(--sp-12); flex-wrap: wrap; }

/* ── DARK BAR ── */
.dark-bar {
  background: var(--dark); padding: var(--sp-48) 0;
  border-top: 1px solid rgba(255,255,255,0.04);
}
.dark-bar-inner {
  max-width: 1180px; margin: 0 auto; padding: 0 var(--sp-48);
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-32);
}
.dark-bar h3 {
  font-family: var(--serif); font-style: italic; font-size: 28px;
  color: white; margin-bottom: 6px;
}
.dark-bar p { font-size: 14px; color: rgba(255,255,255,0.35); }

/* ── INNER PAGE: PROJECT LIST (work.php) ── */
.project-list { display: flex; flex-direction: column; }
.project-item { padding: var(--sp-48) 0; border-bottom: 1px solid var(--border); }
.project-item:first-child { padding-top: 0; }
.project-header { display: grid; grid-template-columns: 200px 1fr; gap: var(--sp-80); }
.project-side { display: flex; flex-direction: column; gap: var(--sp-8); padding-top: 6px; }
.project-num { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; color: var(--orange); }
.project-year { font-size: 12px; color: var(--muted-light); }
.project-status {
  display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: 0.04em;
  padding: 5px 12px; border-radius: 20px; margin-top: var(--sp-8); width: fit-content;
}
.project-main h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 3.5vw, 48px);
  letter-spacing: -0.02em; line-height: 1.08; margin-bottom: var(--sp-16);
}
.project-main p { font-size: 16px; line-height: 1.85; color: var(--muted); margin-bottom: var(--sp-12); }
.project-main .detail { font-size: 15px; opacity: 0.8; margin-bottom: var(--sp-28); }

/* ── INNER PAGE: STACK GRID (about.php) ── */
.stack-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-8); }
.stack-cell {
  background: var(--white); border: 1px solid var(--border); border-radius: 10px;
  padding: var(--sp-24);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.stack-cell:hover {
  border-color: rgba(224,122,64,0.3);
  box-shadow: 0 4px 16px rgba(26,20,16,0.05);
}
.stack-cat {
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--orange); margin-bottom: var(--sp-12);
}
.stack-items { display: flex; flex-direction: column; gap: 4px; }
.stack-items li { font-size: 14px; font-weight: 500; list-style: none; color: var(--ink); }

/* ── INNER PAGE: TIMELINE (about.php) ── */
.timeline { display: flex; flex-direction: column; }
.timeline-row {
  display: flex; gap: var(--sp-32); padding: var(--sp-20) 0;
  border-bottom: 1px solid var(--border-light); align-items: flex-start;
  transition: padding-left var(--t-fast);
}
.timeline-row:hover { padding-left: 4px; }
.timeline-year {
  font-family: var(--serif); font-style: italic; font-size: 28px;
  color: var(--border); width: 60px; flex-shrink: 0; line-height: 1; padding-top: 4px;
  transition: color var(--t-fast);
}
.timeline-row:hover .timeline-year { color: var(--orange); }
.timeline-event { font-size: 15px; color: var(--muted); line-height: 1.75; padding-top: 4px; }

/* ── INNER PAGE: SERVICES (hire.php) ── */
.service-row {
  display: grid; grid-template-columns: 1fr 220px; gap: var(--sp-40);
  padding: var(--sp-40) 0; border-bottom: 1px solid var(--border);
  transition: padding-left var(--t-fast);
}
.service-row:first-child { padding-top: 0; }
.service-row:hover { padding-left: 4px; }
.service-num { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; color: var(--orange); margin-bottom: var(--sp-8); }
.service-name-link { color: inherit; text-decoration: none; transition: color var(--t-fast); }
.service-name-link:hover { color: var(--orange); }
.service-name { font-family: var(--serif); font-size: 26px; margin-bottom: var(--sp-8); line-height: 1.2; }
.service-desc { font-size: 15px; color: var(--muted); line-height: 1.78; }
.service-includes { display: flex; flex-direction: column; gap: var(--sp-12); padding-top: 6px; list-style: none; }
.service-includes li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: var(--muted); line-height: 1.65;
}
.service-includes li::before {
  content: ''; display: block; width: 5px; height: 5px;
  border-radius: 50%; background: var(--orange); flex-shrink: 0; margin-top: 5px;
}

/* ── INNER PAGE: PROCESS STEPS (hire.php) ── */
.process-steps { display: flex; flex-direction: column; }
.process-step {
  display: grid; grid-template-columns: 56px 1fr; gap: var(--sp-24);
  padding: var(--sp-28) 0; border-bottom: 1px solid var(--border);
  align-items: flex-start; transition: padding-left var(--t-fast);
}
.process-step:first-child { padding-top: 0; }
.process-step:hover { padding-left: 4px; }
.process-step-num {
  font-family: var(--serif); font-style: italic; font-size: 36px;
  color: var(--border); line-height: 1; padding-top: 2px;
  transition: color var(--t-fast);
}
.process-step:hover .process-step-num { color: var(--orange); }
.process-step-title { font-size: 16px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.process-step-desc { font-size: 14px; color: var(--muted); line-height: 1.72; }

/* ── INNER PAGE: FAQ (hire.php) ── */
.faq-item { border-bottom: 1px solid var(--border-light); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-16);
  padding: var(--sp-24) 0; font-size: 16px; font-weight: 600; color: var(--ink);
  cursor: pointer; transition: color var(--t-fast);
}
.faq-q:hover { color: var(--orange); }
.faq-icon {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--stone); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 16px; flex-shrink: 0;
  transition: background var(--t-fast), transform var(--t-fast);
}
.faq-item.open .faq-icon { background: var(--orange); color: white; transform: rotate(45deg); }
.faq-a {
  font-size: 15px; color: var(--muted); line-height: 1.78;
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s ease, padding-bottom 0.35s ease;
}
.faq-item.open .faq-a { max-height: 300px; padding-bottom: var(--sp-24); }

/* ── INNER PAGE: VIDEO LIST (videos.php) ── */
.video-list { display: flex; flex-direction: column; }
.video-row {
  display: grid; grid-template-columns: 56px 1fr auto;
  align-items: center; gap: var(--sp-28);
  padding: var(--sp-24) 0; border-bottom: 1px solid var(--border);
  transition: padding-left var(--t-fast), background var(--t-fast); cursor: pointer;
}
.video-row:first-child { border-top: 1px solid var(--border); }
.video-row:hover { padding-left: var(--sp-8); background: rgba(224,122,64,0.02); }
.video-ep {
  font-family: var(--serif); font-style: italic; font-size: 36px;
  color: var(--border); line-height: 1; transition: color var(--t-fast);
}
.video-row:hover .video-ep { color: var(--orange); }
.video-platform { font-size: 11px; color: var(--muted-light); margin-bottom: 3px; letter-spacing: 0.04em; }
.video-title { font-size: 16px; font-weight: 500; margin-bottom: 3px; }
.video-sub { font-size: 13px; color: var(--muted); }
.video-badge {
  font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted-light); border: 1px solid var(--border);
  padding: 6px 14px; border-radius: 20px; white-space: nowrap;
}

/* ── INNER PAGE: PLATFORM CARDS (videos.php) ── */
.platform-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-12); }

/* ── TIKTOK EMBEDS ── */
.tiktok-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-32); margin-top: var(--sp-40); }
.tiktok-embed-wrap { display: flex; flex-direction: column; gap: var(--sp-12); }
.tiktok-embed-wrap .tiktok-embed { margin: 0 !important; min-width: 0 !important; max-width: 100% !important; }
.tiktok-caption { font-size: 13px; color: var(--muted); line-height: 1.5; }
.platform-card {
  background: var(--white); border: 1px solid var(--border); border-radius: 14px;
  padding: var(--sp-32); cursor: pointer; display: flex; flex-direction: column;
  position: relative; overflow: hidden;
  transition: box-shadow var(--t-mid), transform var(--t-mid), border-color var(--t-mid);
}
.platform-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--orange-deep));
  transform: scaleX(0); transform-origin: left; transition: transform var(--t-mid);
}
.platform-card:hover {
  box-shadow: 0 8px 32px rgba(26,20,16,0.08); transform: translateY(-2px);
  border-color: rgba(224,122,64,0.3);
}
.platform-card:hover::before { transform: scaleX(1); }
.platform-name {
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--orange); margin-bottom: var(--sp-8);
}
.platform-handle {
  font-family: var(--serif); font-size: 22px; color: var(--ink);
  margin-bottom: var(--sp-8); transition: color var(--t-fast);
}
.platform-card:hover .platform-handle { color: var(--orange); }
.platform-desc { font-size: 14px; color: var(--muted); line-height: 1.65; flex: 1; }

/* ── BLOG ── */
.post-row {
  display: flex; justify-content: space-between; gap: var(--sp-24);
  padding: var(--sp-28) 0; border-bottom: 1px solid var(--border);
  transition: padding-left var(--t-fast); cursor: pointer;
}
.post-row:first-child { border-top: 1px solid var(--border); }
.post-row:hover { padding-left: 6px; }
.post-row a { flex: 1; }
.post-meta { display: flex; align-items: center; gap: var(--sp-8); margin-bottom: 6px; }
.post-date { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--orange); }
.post-read { font-size: 11px; color: var(--muted-light); }
.post-title {
  font-family: var(--serif); font-size: 22px; color: var(--ink);
  line-height: 1.25; margin-bottom: 6px; transition: color var(--t-fast);
}
.post-row:hover .post-title { color: var(--orange); }
.post-excerpt { font-size: 14px; color: var(--muted); line-height: 1.65; }
.post-tags { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex-shrink: 0; padding-top: var(--sp-24); }
.post-tag { font-size: 11px; font-weight: 600; color: var(--muted-light); border: 1px solid var(--border); padding: 4px 10px; border-radius: 20px; }

/* ── PROSE (blog posts) ── */
.prose { font-size: 17px; line-height: 1.85; color: var(--muted); }
.prose h2 { font-family: var(--serif); font-size: 30px; color: var(--ink); margin: 44px 0 14px; letter-spacing: -0.02em; }
.prose h3 { font-family: var(--serif); font-size: 22px; color: var(--ink); margin: 36px 0 10px; }
.prose p { margin-bottom: 22px; }
.prose strong { color: var(--ink); font-weight: 500; }
.prose a { color: var(--orange); border-bottom: 1px solid rgba(224,122,64,0.3); transition: border-color var(--t-fast); }
.prose a:hover { border-color: var(--orange); }
.prose ul, .prose ol { padding-left: var(--sp-24); margin-bottom: var(--sp-20); }
.prose li { margin-bottom: 8px; }
.prose blockquote {
  border-left: 3px solid var(--orange); padding-left: var(--sp-20);
  font-family: var(--serif); font-style: italic; font-size: 21px;
  color: var(--ink); margin: var(--sp-32) 0;
}
.prose code {
  background: var(--white); border: 1px solid var(--border); padding: 2px 6px;
  border-radius: 4px; font-size: 13.5px; font-family: var(--mono);
}
.prose pre {
  background: var(--ink-800); color: rgba(255,255,255,0.82);
  padding: var(--sp-20) var(--sp-24); border-radius: 6px;
  overflow-x: auto; margin-bottom: var(--sp-24); font-family: var(--mono);
}
.prose pre code { background: none; border: none; padding: 0; color: inherit; }
.prose hr { border: none; border-top: 1px solid var(--border); margin: var(--sp-40) 0; }

/* ── CONTACT ── */
.contact-grid { display: grid; grid-template-columns: 240px 1fr; gap: var(--sp-80); }
.contact-info { display: flex; flex-direction: column; gap: var(--sp-32); padding-top: 4px; }
.contact-info-label { font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-light); margin-bottom: 6px; }
.contact-info-val { font-size: 15px; font-weight: 600; color: var(--ink); }
.contact-info-sub { font-size: 13px; color: var(--muted); margin-top: 2px; }
.contact-socials { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.contact-socials a { font-size: 13px; font-weight: 500; color: var(--muted); transition: color var(--t-fast); display: inline-flex; align-items: center; gap: 4px; cursor: pointer; }
.contact-socials a:hover { color: var(--orange); }
.contact-direct { display: flex; flex-direction: column; gap: var(--sp-28); padding-top: 4px; }
.contact-direct-intro { font-size: 18px; line-height: 1.65; color: var(--ink-soft); }
.contact-direct-actions { display: flex; gap: var(--sp-16); flex-wrap: wrap; }
.contact-direct-note { font-size: 14px; line-height: 1.7; color: var(--muted); }

/* ── FORM ── */
.form { display: flex; flex-direction: column; gap: var(--sp-20); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-16); }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.form-input, .form-textarea {
  width: 100%; background: var(--white); border: 1px solid var(--ink-200); border-radius: var(--r-md);
  padding: 11px 12px; font-size: 14px; font-family: var(--sans);
  color: var(--ink); transition: border-color var(--t-fast), box-shadow var(--t-fast); outline: none;
}
.form-input:focus, .form-textarea:focus {
  border-color: var(--auburn-500); box-shadow: var(--shadow-focus);
}
.form-input.error, .form-textarea.error { border-color: var(--danger); }
.form-input::placeholder, .form-textarea::placeholder { color: var(--ink-500); }
.form-textarea { resize: vertical; min-height: 140px; }
.form-submit {
  align-self: flex-start; font-size: 13px; font-weight: 600; letter-spacing: 0.02em;
  padding: 13px 28px; background: var(--ink); color: white; border: none; border-radius: 7px;
  cursor: pointer; transition: background var(--t-fast), box-shadow var(--t-fast), transform 0.1s;
}
.form-submit:hover { background: var(--orange); box-shadow: 0 4px 16px var(--orange-glow); }
.form-submit:active { transform: scale(0.98); }
.alert { padding: 14px 18px; border-radius: 8px; font-size: 14px; font-weight: 500; }
.alert-success { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.alert-error   { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* ── FOOTER ── */
.footer { background: var(--dark); }
.footer-main {
  max-width: 1180px; margin: 0 auto; padding: var(--sp-64) var(--sp-48);
  display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: var(--sp-48);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-logo { font-family: var(--serif); font-style: italic; font-size: 20px; color: rgba(255,255,255,0.45); display: block; margin-bottom: var(--sp-12); }
.footer-logo span { font-style: normal; color: var(--orange); }
.footer-tagline { font-size: 14px; color: rgba(255,255,255,0.22); line-height: 1.65; max-width: 220px; }
.footer-domain { font-size: 13px; color: var(--orange); font-weight: 500; margin-top: var(--sp-16); }
.footer-family { margin-top: var(--sp-16); padding-top: var(--sp-16); border-top: 1px solid rgba(255,255,255,0.06); font-size: 12px; color: rgba(255,255,255,0.18); line-height: 1.6; }
.footer-col-label { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.2); margin-bottom: var(--sp-16); }
.footer-links { display: flex; flex-direction: column; gap: 10px; list-style: none; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,0.38); transition: color var(--t-fast); cursor: pointer; }
.footer-links a:hover { color: rgba(255,255,255,0.85); }
.footer-bar { max-width: 1180px; margin: 0 auto; padding: var(--sp-20) var(--sp-48); display: flex; justify-content: space-between; align-items: center; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.18); }

/* ── PAGE HEADER (inner pages) ── */
.page-header { padding: 80px 0 var(--sp-64); }
.page-header h1 {
  font-family: var(--serif);
  font-size: clamp(52px, 7vw, 92px);
  line-height: 0.92; letter-spacing: -0.035em; margin-bottom: var(--sp-24);
}
.page-header h1 em { font-style: italic; color: var(--orange); }
.page-header-desc { font-size: 18px; line-height: 1.75; color: var(--muted); max-width: 520px; }

/* ── PAGE FADE IN ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.page-header { animation: fadeUp 0.5s cubic-bezier(0.16,1,0.3,1) both; }

/* ── 404 ── */
.not-found { min-height: 80vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: var(--sp-48); }
.not-found-num { font-family: var(--serif); font-style: italic; font-size: 120px; color: var(--border); line-height: 1; margin-bottom: var(--sp-20); }
.not-found h1 { font-family: var(--serif); font-size: 32px; margin-bottom: var(--sp-12); }
.not-found p { font-size: 15px; color: var(--muted); line-height: 1.7; margin-bottom: var(--sp-28); max-width: 360px; }

/* ── BACK TO TOP ── */
.back-to-top {
  position: fixed; bottom: 28px; right: 28px;
  width: 44px; height: 44px; background: var(--ink); color: white;
  border: none; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; z-index: var(--z-float);
  box-shadow: 0 4px 16px rgba(26,20,16,0.2);
  transition: opacity var(--t-mid), background var(--t-fast), transform 0.1s;
}
.back-to-top:hover  { background: var(--orange); box-shadow: 0 4px 20px var(--orange-glow); }
.back-to-top:active { transform: scale(0.95); }
.back-to-top.visible { opacity: 1; }

/* ── ACCESSIBILITY ── */
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .container { padding: 0 var(--sp-24); }
  .nav-inner { padding: 0 var(--sp-24); }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }

  .hero { padding: 60px var(--sp-24) var(--sp-64); }
  .hero h1 { font-size: clamp(60px, 13vw, 96px); }
  .hero-lower { grid-template-columns: 1fr; gap: var(--sp-28); }
  .hero-actions { flex-wrap: wrap; }

  .proj-row { grid-template-columns: 40px 1fr; gap: var(--sp-16); }
  .proj-arrow { display: none; }

  .grid-label { grid-template-columns: 1fr; gap: var(--sp-16); }
  .mission-inner { grid-template-columns: 1fr; gap: var(--sp-48); padding: 0 var(--sp-24); }
  .mission-stats { grid-template-columns: 1fr 1fr; }
  .about-cols { grid-template-columns: 1fr; gap: var(--sp-20); }
  .stack-grid { grid-template-columns: 1fr 1fr; }
  .service-row { grid-template-columns: 1fr; }
  .cta-inner { grid-template-columns: 1fr; gap: var(--sp-32); padding: 0 var(--sp-24); }
  .dark-bar-inner { flex-direction: column; align-items: flex-start; padding: 0 var(--sp-24); }
  .footer-main { grid-template-columns: 1fr; padding: var(--sp-48) var(--sp-24); }
  .footer-bar { padding: var(--sp-16) var(--sp-24); flex-direction: column; gap: 8px; text-align: center; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .video-row { grid-template-columns: 44px 1fr; }
  .video-badge { display: none; }
  .page-header { padding: 56px 0 var(--sp-40); }
  .platform-grid { grid-template-columns: 1fr; }
  .tiktok-grid { grid-template-columns: 1fr; }
  .project-header { grid-template-columns: 1fr; gap: var(--sp-12); }
  .footer-family { max-width: 100%; }
}

/* ── TERMINAL (signature component) ── */
.terminal {
  background: var(--term-bg); border-radius: var(--r-md); overflow: hidden;
  font-family: var(--mono); font-size: 13px; line-height: 1.6;
}
.terminal-bar {
  background: var(--term-chrome);
  padding: 10px 14px; display: flex; align-items: center; justify-content: space-between; gap: 6px;
}
.terminal-dots { display: flex; gap: 6px; }
.dot { width: 10px; height: 10px; border-radius: var(--r-full); flex-shrink: 0; background: var(--term-dot); }
.terminal-path {
  font-family: var(--mono); font-size: 11px; color: var(--term-dim); letter-spacing: 0.04em;
}
.terminal pre {
  padding: var(--sp-16); margin: 0;
  background: var(--term-bg); color: var(--term-text);
  overflow-x: auto;
}
.terminal pre code { background: none; border: none; padding: 0; font-family: var(--mono); }
.c-prompt  { color: var(--term-dim); }
.c-cmd     { color: var(--term-text); }
.c-flag    { color: var(--term-dim); }
.c-success { color: var(--term-ok); }
.c-muted   { color: var(--term-dim); }

/* ── PILLS ── */
.pill {
  display: inline-flex; align-items: center;
  font-size: 11px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px; line-height: 1;
}
.pill--auburn { background: var(--auburn-50); color: var(--auburn-700); }
.pill--rose   { background: var(--rose-50);   color: var(--rose-700); }
.pill--violet { background: var(--violet-50); color: var(--violet-700); }

/* ── NAV: AI AUDIT HIGHLIGHT ── */
.nav-link-audit { color: var(--orange) !important; }
.nav-link-audit::after { background: var(--orange); }

/* ── HOMEPAGE: AUDIT BANNER (full-bleed dark) ── */
.audit-banner {
  background: #14130F;
  padding: var(--sp-80) 0;
  position: relative; overflow: hidden;
}
.audit-banner::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(196,74,31,0.07) 1px, transparent 1px);
  background-size: 24px 24px; pointer-events: none;
}
.audit-banner-inner {
  max-width: 1180px; margin: 0 auto; padding: 0 var(--sp-48);
  display: grid; grid-template-columns: 1fr auto;
  gap: var(--sp-64); align-items: center;
  position: relative; z-index: 1;
}
.audit-banner-text h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 4.5vw, 56px);
  color: white; line-height: 1.05; letter-spacing: -0.03em; margin-bottom: var(--sp-20);
}
.audit-banner-text h2 em { font-style: italic; color: #C44A1F; }
.audit-banner-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: #C44A1F; margin-bottom: var(--sp-20);
}
.audit-banner-desc {
  font-size: 16px; color: rgba(255,255,255,0.5); max-width: 480px; line-height: 1.75;
  margin-bottom: 0;
}
.audit-banner-aside { flex-shrink: 0; }
.audit-banner-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-top: 3px solid #C44A1F;
  border-radius: 16px;
  padding: var(--sp-40);
  display: flex; flex-direction: column; gap: var(--sp-12);
  min-width: 280px;
}
.audit-banner-pill {
  display: inline-block; align-self: flex-start;
  font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: white; background: #C44A1F; padding: 5px 12px; border-radius: 20px;
  margin-bottom: var(--sp-8);
}
.audit-banner-amount {
  font-family: var(--serif); font-size: 64px; color: white;
  line-height: 1; letter-spacing: -0.04em;
}
.audit-banner-note {
  font-size: 13px; color: rgba(255,255,255,0.4); line-height: 1.6;
}

/* ── HOMEPAGE: AUDIT CALLOUT ── */
.audit-callout {
  background: var(--dark);
  border-radius: 16px;
  padding: var(--sp-48) var(--sp-64);
  position: relative; overflow: hidden;
}
.audit-callout::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--orange-deep));
}
.audit-callout-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--orange); margin-bottom: var(--sp-24);
}
.audit-callout-body {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-64);
}
.audit-callout-text h2 {
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 40px);
  color: white; line-height: 1.05; letter-spacing: -0.025em; margin-bottom: var(--sp-16);
}
.audit-callout-text h2 em { font-style: italic; color: var(--orange); }
.audit-callout-text p { font-size: 15px; color: rgba(255,255,255,0.5); max-width: 480px; line-height: 1.75; }
.audit-callout-text .link-arrow { color: rgba(255,255,255,0.5) !important; }
.audit-callout-text .link-arrow:hover { color: var(--orange) !important; }
.audit-callout-aside {
  display: flex; flex-direction: column; align-items: flex-end; gap: var(--sp-20); flex-shrink: 0;
}
.audit-pilot-badge {
  background: rgba(196,74,31,0.1); border: 1px solid rgba(196,74,31,0.25);
  border-radius: 10px; padding: var(--sp-24) var(--sp-28); text-align: right;
}
.audit-pilot-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 8px;
}
.audit-pilot-price {
  font-family: var(--serif); font-size: 52px; color: white; line-height: 1; margin-bottom: 8px;
}
.audit-pilot-note { font-size: 12px; color: rgba(255,255,255,0.4); line-height: 1.5; }

/* ── AUDIT PAGE ── */
.audit-hero-actions {
  display: flex; align-items: center; gap: var(--sp-20); margin-top: var(--sp-32); flex-wrap: wrap;
}
.audit-hero-email { font-size: 14px; color: var(--muted); }
.audit-hero-email a { color: var(--orange); }

.audit-weeks { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-32); }
.audit-week {
  background: var(--white); border: 1px solid var(--border); border-radius: 10px;
  padding: var(--sp-32); border-top: 3px solid var(--orange);
}
.audit-week-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--orange); margin-bottom: var(--sp-20);
}

.audit-pricing { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-24); margin-bottom: var(--sp-32); }
.audit-price-card {
  background: var(--white); border: 1.5px solid var(--border); border-radius: 16px;
  padding: var(--sp-40); display: flex; flex-direction: column;
}
.audit-price-card--pilot {
  border-color: var(--auburn-500); box-shadow: 0 4px 24px var(--orange-glow);
}
.audit-price-badge {
  display: inline-flex; align-self: flex-start;
  font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: white; background: var(--orange); padding: 5px 12px; border-radius: 20px; margin-bottom: var(--sp-20);
}
.audit-price-amount {
  font-family: var(--serif); font-size: 64px; color: var(--ink);
  line-height: 1; margin-bottom: var(--sp-16); letter-spacing: -0.04em;
}
.audit-price-amount--muted { color: var(--muted-light); }
.audit-price-desc { font-size: 15px; color: var(--muted); line-height: 1.7; margin-bottom: 8px; }
.audit-price-split { font-size: 12px; font-weight: 600; color: var(--muted-light); letter-spacing: 0.04em; }

.audit-guarantee {
  background: var(--orange-pale); border: 1px solid rgba(224,122,64,0.2);
  border-radius: 10px; padding: var(--sp-20) var(--sp-24);
  font-size: 15px; color: var(--ink-soft); line-height: 1.7;
}
.audit-guarantee strong { color: var(--ink); }

.audit-fit { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-48); }
.audit-fit-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: var(--sp-20);
}
.audit-fit-label--yes { color: #15803d; }
.audit-fit-label--no  { color: var(--muted-light); }
.service-includes.audit-not-fit li::before { background: var(--muted-light); }

.audit-tiktok-note {
  font-size: 15px; color: var(--muted); line-height: 1.75; margin-top: var(--sp-24);
}
.audit-tiktok-note a { color: var(--orange); }

@media (max-width: 900px) {
  .audit-banner-inner { grid-template-columns: 1fr; gap: var(--sp-40); }
  .audit-banner-card { min-width: 0; }
  .audit-callout { padding: var(--sp-32) var(--sp-24); }
  .audit-callout-body { flex-direction: column; gap: var(--sp-32); align-items: flex-start; }
  .audit-callout-aside { align-items: flex-start; width: 100%; }
  .audit-pilot-badge { text-align: left; }
  .audit-weeks { grid-template-columns: 1fr; }
  .audit-pricing { grid-template-columns: 1fr; }
  .audit-fit { grid-template-columns: 1fr; gap: var(--sp-32); }
  .audit-price-card { padding: var(--sp-24); }
  .audit-week { padding: var(--sp-20); }
  .terminal { max-width: 100% !important; }
}

@media (max-width: 600px) {
  .hero h1 { font-size: clamp(52px, 14vw, 72px); }
  .hero-eyebrow { gap: 8px; font-size: 11px; }
  .stack-grid { grid-template-columns: 1fr; }
  .mission-stat-num { font-size: 40px; }

  .audit-price-amount { font-size: 52px; }
  .audit-guarantee { padding: var(--sp-16) var(--sp-20); font-size: 14px; }
  .audit-hero-actions { gap: var(--sp-12); }
  .cta-banner { padding: var(--sp-48) 0; }
  .cta-actions { flex-direction: column; }
  .cta-actions .btn { justify-content: center; width: 100%; }

  /* terminal: wrap instead of horizontal-scroll on mobile */
  .terminal pre { overflow-x: hidden; white-space: pre-wrap; word-break: break-word; }
}

@media (max-width: 480px) {
  .container { padding: 0 var(--sp-16); }
  .nav-inner  { padding: 0 var(--sp-16); }
  .section { padding: var(--sp-48) 0; }
  .page-header { padding: 40px 0 var(--sp-32); }
  .audit-price-card { padding: var(--sp-20); }
  .audit-week { padding: var(--sp-16); }
  .audit-price-amount { font-size: 48px; }
  .audit-weeks { gap: var(--sp-16); }
  .audit-pricing { gap: var(--sp-16); }
  .grid-label { gap: var(--sp-12); }
  .section-label { font-size: 10px; }
}
