/* ============================================================
   ATTORNEY AMIGOS — V3 DARK EDITORIAL
   Design system: high-contrast dark, saturated AA-green dopamine
   accent, asymmetric grid, numbered chapters, restrained motion.
   ============================================================ */

/* --- DESIGN TOKENS --- */
:root {
  /* Palette — dark editorial w/ saturated accent */
  --bg: #0B0E0D;            /* near-black, hint of warmth */
  --bg-warm: #11161A;        /* slightly elevated card surface */
  --bg-paper: #161B1E;       /* card surface */
  --ink: #F4F1EC;            /* warm off-white type */
  --ink-soft: #D9D5CD;
  --body: #A8A89D;
  --muted: #6E6E62;
  --rule: rgba(244, 241, 236, 0.08);
  --rule-strong: rgba(244, 241, 236, 0.18);
  --accent: #22C55E;         /* AA green, full saturation — dopamine pop */
  --accent-soft: rgba(34, 197, 94, 0.10);
  --accent-glow: rgba(34, 197, 94, 0.25);
  --sand: #D8956D;           /* tiny copper flourish, used sparingly */
  --dark: #08090A;           /* deepest layer (footer base) */
  --dark-ink: #F4F1EC;

  /* Type */
  --serif: 'Newsreader', 'Source Serif Pro', Georgia, serif;
  --sans: 'Inter Tight', 'Inter', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', 'SF Mono', Menlo, monospace;

  /* Spacing — 8px baseline */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px;
  --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px;
  --s-9: 96px; --s-10: 128px; --s-11: 192px; --s-12: 256px;

  /* Type scale — fluid */
  --t-mono: clamp(11px, 0.74vw, 12px);
  --t-meta: clamp(12px, 0.83vw, 13px);
  --t-body: clamp(16px, 1.18vw, 18px);
  --t-lead: clamp(19px, 1.46vw, 22px);
  --t-h3: clamp(22px, 1.94vw, 28px);
  --t-h2: clamp(40px, 4.4vw, 64px);
  --t-display: clamp(48px, 6.4vw, 96px);

  /* Layout */
  --max: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
  --col: calc((var(--max) - 11 * var(--s-5)) / 12);

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 200ms;
  --dur: 400ms;
  --dur-slow: 800ms;
}

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

/* --- RESET + BASE --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

html.lenis { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  font-family: var(--sans);
  font-size: var(--t-body);
  line-height: 1.55;
  color: var(--body);
  background: var(--bg);
  overflow-x: hidden;
  font-feature-settings: 'ss01', 'cv11';
  position: relative;
}

/* Ambient noise texture — adds dimension to the dark surface */
body::before {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none;
  opacity: 0.04;
  z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 320 320' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* Ambient gradient mesh — subtle depth in the void */
body::after {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 1200px 800px at 80% -10%, rgba(34, 197, 94, 0.06), transparent 60%),
    radial-gradient(ellipse 800px 600px at 10% 110%, rgba(216, 149, 109, 0.04), transparent 60%);
}

/* Lift everything above the gradient mesh */
nav, .hero, .trust, .marquee, .stats-band, .chapter, .interlude, footer { position: relative; z-index: 2; }

/* --- TYPOGRAPHY --- */
.serif { font-family: var(--serif); }
.mono  { font-family: var(--mono); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.018em;
  color: var(--ink);
}

p { color: var(--body); }

a {
  color: var(--ink);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out);
}
a:hover { color: var(--accent); }

::selection { background: var(--accent); color: var(--bg); }

/* --- LAYOUT PRIMITIVES --- */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--s-5);
}

/* The asymmetric chapter section: number-left, headline-center, copy-right */
.chapter {
  position: relative;
  padding: 80px 0 80px;       /* 96 → 80 (~15% reduction) per direction */
  border-top: 1px solid var(--rule);
}
.chapter:first-of-type { border-top: 0; }
.chapter + .chapter { padding-top: 80px; }

.chapter-grid {
  display: grid;
  grid-template-columns: 1fr 7fr 4fr;
  gap: var(--s-7);
  align-items: start;
}

.chapter-num {
  font-family: var(--mono);
  font-size: var(--t-mono);
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.08em;
  padding-top: var(--s-3);
}

.chapter-head h2 {
  font-size: var(--t-h2);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.chapter-head h2 em {
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}

.chapter-aside {
  padding-top: var(--s-3);
  font-size: var(--t-body);
  color: var(--body);
  line-height: 1.6;
  max-width: 32ch;
}

@media (max-width: 760px) {
  .chapter { padding: var(--s-9) 0; }
  .chapter-grid {
    grid-template-columns: 1fr;
    gap: var(--s-5);
  }
  .chapter-aside { max-width: none; }
}

/* --- SCROLL PROGRESS --- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  z-index: 60;
  background: linear-gradient(90deg, transparent, var(--accent) 30%, var(--accent) 70%, transparent);
  pointer-events: none;
  transition: width 80ms linear, opacity var(--dur) var(--ease-out);
  box-shadow: 0 0 12px var(--accent-glow);
  opacity: 0;
}
.scroll-progress.is-active { opacity: 1; }

/* --- NAV --- */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: var(--s-4) 0;
  background: rgba(11, 14, 13, 0.55);
  backdrop-filter: saturate(140%) blur(18px);
  -webkit-backdrop-filter: saturate(140%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease-out), background var(--dur) var(--ease-out);
}
nav.scrolled {
  background: rgba(11, 14, 13, 0.85);
  border-bottom-color: var(--rule);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  display: flex; align-items: center; gap: var(--s-3);
  font-family: var(--serif);
  font-weight: 500;
  font-size: 19px;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.nav-brand .mark {
  position: relative;
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.nav-brand .mark img {
  width: 78%; height: 78%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 8px rgba(34, 197, 94, 0.22));
  position: relative; z-index: 1;
}
/* Slow-spinning orbit ring around the brand mark */
.nav-brand .mark::before {
  content: '';
  position: absolute; inset: 0;
  border: 1.5px solid rgba(34, 197, 94, 0.20);
  border-radius: 50%;
  animation: spin-slow 30s linear infinite;
}
.nav-brand .mark::after {
  content: '';
  position: absolute;
  top: -2px; left: 50%;
  width: 5px; height: 5px;
  background: var(--accent);
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.5);
  /* Riding the spinning ring via shared transform-origin */
  animation: orbit-dot 30s linear infinite;
  transform-origin: 50% 20px;
}
@keyframes spin-slow {
  to { transform: rotate(360deg); }
}
@keyframes orbit-dot {
  to { transform: translateX(-50%) rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .nav-brand .mark::before,
  .nav-brand .mark::after { animation: none; }
}
.nav-links {
  display: flex; align-items: center; gap: var(--s-7);
  font-family: var(--sans);
  font-size: 14px;
}
.nav-links a {
  color: var(--ink-soft);
  font-weight: 500;
  position: relative;
  padding-bottom: 2px;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur) var(--ease-out);
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta {
  display: inline-flex; align-items: center; gap: var(--s-2);
  padding: 10px 18px;
  background: var(--accent);
  color: var(--bg) !important;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.005em;
  border-radius: 999px;
  transition: background var(--dur-fast), transform var(--dur-fast), box-shadow var(--dur-fast);
  box-shadow: 0 0 0 0 var(--accent-glow);
}
.nav-cta:hover { background: var(--ink); color: var(--bg) !important; transform: translateY(-1px); box-shadow: 0 8px 24px var(--accent-glow); }
.nav-cta::after { display: none !important; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--rule-strong);
  width: 40px; height: 40px;
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
  align-items: center; justify-content: center;
  flex-shrink: 0;
}
.nav-toggle .bars { display: flex; flex-direction: column; gap: 4px; }
.nav-toggle .bars span { display: block; width: 16px; height: 1.5px; background: var(--ink); transition: transform 200ms, opacity 200ms; }
.nav-toggle.is-open .bars span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle.is-open .bars span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open .bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 800px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; top: 64px; left: 0; right: 0;
    flex-direction: column; gap: var(--s-4);
    padding: var(--s-5) var(--gutter) var(--s-6);
    background: rgba(11, 14, 13, 0.96);
    backdrop-filter: saturate(140%) blur(20px);
    -webkit-backdrop-filter: saturate(140%) blur(20px);
    border-bottom: 1px solid var(--rule-strong);
    transform: translateY(-110%);
    transition: transform 280ms var(--ease-out);
    align-items: stretch;
    pointer-events: none;
  }
  .nav-links.is-open { transform: translateY(0); pointer-events: auto; }
  .nav-links a {
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 400;
    color: var(--ink);
    padding: var(--s-2) 0;
    border-bottom: 1px solid var(--rule);
  }
  .nav-links a:last-child { border-bottom: 0; }
  .nav-links .nav-cta {
    text-align: center;
    justify-content: center;
    padding: 14px 22px;
    font-size: 15px;
    margin-top: var(--s-2);
    border-bottom: 0;
  }
}

/* --- HERO --- */
.hero {
  position: relative;
  padding: var(--s-9) 0 var(--s-10); /* top-strips already cleared the fixed nav */
  overflow: hidden;
}

.hero-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 6fr 5fr;     /* text column wider so display headline fits */
  gap: var(--s-7);
  align-items: stretch;
  min-height: 64vh;
}

.hero-eyebrow {
  font-family: var(--mono);
  font-size: var(--t-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex; align-items: center; gap: var(--s-2);
  margin-bottom: var(--s-6);
}
.hero-eyebrow .dot {
  width: 6px; height: 6px; background: var(--accent);
  border-radius: 50%;
  animation: pulse-dot 2.4s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.78); }
}

.hero-title {
  font-family: var(--serif);
  font-size: var(--t-display);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.028em;
  color: var(--ink);
  margin-bottom: var(--s-6);
}
.hero-title em {
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}

.hero-sub {
  font-family: var(--serif);
  font-size: var(--t-lead);
  font-weight: 400;
  line-height: 1.45;
  color: var(--body);
  max-width: 38ch;
  margin-bottom: var(--s-5);
}

.hero-accent {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(17px, 1.3vw, 19px);
  line-height: 1.5;
  color: var(--accent);
  max-width: 44ch;
  margin-bottom: var(--s-7);
  border-left: 2px solid var(--accent);
  padding-left: var(--s-4);
  text-shadow: 0 1px 12px rgba(34, 197, 94, 0.15);
}
.hero-accent em {
  font-weight: 500;
  font-style: italic;
  color: var(--ink);
}

.hero-actions {
  display: flex; flex-wrap: wrap;
  gap: var(--s-4);
  align-items: center;
  margin-bottom: var(--s-7);
}
.hero-actions .hero-call {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding-left: var(--s-3);
  border-left: 1px solid var(--rule);
}
.hero-actions .hero-call .num {
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--ink);
}
.hero-actions .hero-call .num:hover { color: var(--accent); }
.hero-actions .hero-call .pulse {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse-dot 2.4s ease-in-out infinite;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--s-2);
  padding: 16px 26px;
  line-height: 1;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.005em;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease-out);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: var(--bg);
  box-shadow: 0 4px 0 0 rgba(0,0,0,0), 0 0 0 0 var(--accent-glow);
  transition: background 250ms cubic-bezier(0.4,0,0.2,1),
              transform 250ms cubic-bezier(0.4,0,0.2,1),
              box-shadow 250ms cubic-bezier(0.4,0,0.2,1);
}
.btn-primary:hover {
  background: #16a34a; /* deeper green for hover */
  color: var(--bg);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(34, 197, 94, 0.32);
}
.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.25);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--rule-strong);
}
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); background: rgba(244, 241, 236, 0.04); }
.btn .arrow { transition: transform var(--dur-fast); }
.btn:hover .arrow { transform: translateX(3px); }

/* Hero ambient media slot (right side) */
.hero-media {
  position: relative;
  align-self: start;
  margin-top: var(--s-4);
  background: var(--bg-warm);
  border-radius: 2px;
  overflow: hidden;
  border: 1px solid var(--rule-strong);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
  min-height: 580px;
}
.hero-media video,
.hero-media img,
.hero-media .placeholder {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(0.15) contrast(1.04);
}
.hero-media .placeholder {
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
  background:
    repeating-linear-gradient(45deg, transparent 0 32px, rgba(244, 241, 236, 0.02) 32px 33px),
    linear-gradient(180deg, var(--bg-warm), var(--dark));
  color: var(--accent);
  font-family: var(--mono);
  font-size: var(--t-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  padding: var(--s-5);
}
.hero-media .placeholder span {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink-soft);
  margin-top: var(--s-3);
  max-width: 32ch;
  line-height: 1.5;
}
/* Subtle inset glow on hero media to keep it lifted in dark scene */
.hero-media::after {
  content: ''; position: absolute; inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 80px rgba(34, 197, 94, 0.06);
}

/* Hero ambient video (Lady Justice + flag, dark-graded) */
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(0.20) contrast(1.06) brightness(0.78) saturate(0.85);
  z-index: 0;
  display: block;
}
.hero-media::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11,14,13,0.10) 0%, rgba(11,14,13,0.55) 70%, rgba(11,14,13,0.85) 100%),
    radial-gradient(ellipse 70% 50% at 100% 0%, rgba(34, 197, 94, 0.10), transparent 60%);
  pointer-events: none;
  z-index: 1;
}
.hero-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(20px, 2.4vw, 32px);
  pointer-events: none;
}
.hvo-status {
  display: inline-flex;
  align-items: center; gap: 10px;
  padding: 8px 14px;
  background: rgba(11, 14, 13, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(244, 241, 236, 0.10);
  border-radius: 999px;
  align-self: flex-start;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.hvo-pulse {
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
  animation: hp-pulse 2s ease-out infinite;
}
@keyframes hp-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6); }
  70%  { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}
.hvo-caption {
  font-family: var(--serif);
  font-size: clamp(20px, 1.85vw, 28px);
  line-height: 1.25;
  letter-spacing: -0.012em;
  color: var(--ink);
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
  max-width: 22ch;
}
.hvo-caption em { font-style: italic; color: var(--ink); }
.hvo-attrib {
  display: block;
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 10.5px;
  font-style: normal;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  text-shadow: none;
}
@media (prefers-reduced-motion: reduce) {
  .hvo-pulse { animation: none; }
  .hero-video { display: none; }
  .hero-media { background: linear-gradient(180deg, var(--bg-paper), var(--dark)); }
}

/* Hero meta strip below */
.hero-meta {
  max-width: var(--max);
  margin: var(--s-9) auto 0;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--s-5);
  align-items: end;
  border-top: 1px solid var(--rule);
  padding-top: var(--s-7);
}
.hero-meta .label {
  font-family: var(--mono);
  font-size: var(--t-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--s-2);
  display: block;
}
.hero-meta .value {
  font-family: var(--serif);
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.hero-meta .value em {
  font-family: var(--mono);
  font-size: 0.62em;
  font-weight: 500;
  color: var(--accent);
  font-style: normal;
  margin-left: 6px;
  vertical-align: 18%;
}
.hero-meta .lead-copy {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.6;
  color: var(--body);
  max-width: 42ch;
}

@media (max-width: 760px) {
  .hero { padding: 112px 0 var(--s-8); }
  .hero-grid { grid-template-columns: 1fr; min-height: auto; gap: var(--s-7); }
  .hero-media { aspect-ratio: 5 / 4; }
  .hero-meta { grid-template-columns: 1fr 1fr; gap: var(--s-5); }
  .hero-meta .lead-copy { grid-column: 1 / -1; margin-bottom: var(--s-4); }
}

/* --- TOP STRIPS (slogan + marquee, above hero) --- */
.top-strips {
  position: relative;
  z-index: 2;
  padding-top: 64px; /* clear fixed nav */
  background: var(--bg);
}
.slogan-bar {
  display: flex; align-items: center; justify-content: center;
  gap: clamp(14px, 2vw, 28px);
  padding: var(--s-4) var(--gutter);
  background:
    radial-gradient(ellipse 60% 200% at 50% 50%, rgba(34, 197, 94, 0.08), transparent 60%),
    var(--bg);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  font-family: var(--serif);
  font-size: clamp(15px, 1.4vw, 19px);
  letter-spacing: -0.005em;
  color: var(--ink);
}
.slogan-bar em {
  font-style: italic;
  color: var(--ink);
}
.slogan-bar em:nth-child(2) { color: var(--accent); }
.slogan-bar em:nth-child(3) { color: var(--ink-soft); }
.slogan-bar .slogan-line {
  display: inline-flex; gap: 8px; align-items: baseline;
}
.slogan-bar .slogan-mark {
  color: var(--accent);
  font-size: 0.85em;
}

/* --- STATS BAND (between hero and chapter 01) --- */
.stats-band {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background:
    radial-gradient(ellipse 60% 200% at 50% 50%, rgba(34, 197, 94, 0.04), transparent 70%),
    rgba(244, 241, 236, 0.015);
  padding: var(--s-7) 0;
}
.stats-band-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--s-5);
  align-items: end;
}
.sb-item { display: flex; flex-direction: column; gap: 6px; }
.sb-num {
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.025em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.sb-num em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 0.42em;
  font-weight: 500;
  color: var(--accent);
  vertical-align: 28%;
  margin-left: 4px;
  letter-spacing: 0.02em;
}
.sb-lbl {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.35;
}
@media (max-width: 760px) {
  .stats-band-inner { grid-template-columns: repeat(2, 1fr); gap: var(--s-5) var(--s-4); }
  .sb-num { font-size: clamp(40px, 9vw, 56px); }
}

/* --- INTERLUDE STRIP (depo symbol ambient) --- */
.interlude {
  height: clamp(220px, 28vw, 320px);
  overflow: hidden;
  background: var(--dark);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.interlude-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  /* Re-tone the blue 3D symbols toward our editorial green, but brighter so they read */
  filter: grayscale(0.55) brightness(0.95) contrast(1.10) sepia(0.45) hue-rotate(60deg) saturate(1.6);
  opacity: 0.85;
}
.interlude::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 65% at 50% 50%, transparent 35%, rgba(11,14,13,0.65) 95%),
    linear-gradient(90deg, var(--bg) 0%, transparent 14%, transparent 86%, var(--bg) 100%);
  pointer-events: none;
}
.interlude-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
  pointer-events: none;
  padding: 0 var(--gutter);
}
.interlude-line {
  display: inline-flex;
  align-items: center; gap: clamp(14px, 2vw, 28px);
  font-family: var(--serif);
  font-size: clamp(22px, 2.6vw, 38px);
  letter-spacing: -0.012em;
  color: var(--ink);
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
}
.interlude-line .mono {
  font-family: var(--mono);
  color: var(--accent);
  font-size: 0.85em;
}
.interlude-line .serif { font-style: italic; }
@media (prefers-reduced-motion: reduce) {
  .interlude-video { display: none; }
  .interlude { background: linear-gradient(180deg, var(--bg-paper), var(--dark)); }
}

/* --- COUNTIES MARQUEE --- */
.marquee {
  position: relative;
  padding: var(--s-6) 0;
  background:
    linear-gradient(180deg, rgba(244, 241, 236, 0.015), rgba(244, 241, 236, 0.025));
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
}
.marquee-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: marquee-scroll 60s linear infinite;
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 30px);
  color: var(--ink);
  letter-spacing: -0.01em;
  white-space: nowrap;
  font-weight: 400;
}
.marquee-set { display: inline-flex; align-items: center; gap: 18px; padding-right: 56px; }
.marquee-set .dot-sep { color: var(--accent); font-size: 0.65em; }
.marquee-set .dot-sep:first-child { color: var(--accent); }
.marquee-fade-l, .marquee-fade-r {
  position: absolute; top: 0; bottom: 0; width: 80px; pointer-events: none; z-index: 2;
}
.marquee-fade-l { left: 0; background: linear-gradient(90deg, var(--bg) 30%, transparent); }
.marquee-fade-r { right: 0; background: linear-gradient(270deg, var(--bg) 30%, transparent); }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}
.marquee:hover .marquee-track { animation-play-state: paused; }

/* --- REVEAL ANIMATIONS --- */
/* Initial state hidden ONLY when JS has booted — keeps content visible if scripts fail/slow */
html.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
  will-change: opacity, transform;
}
html.js .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-d-1 { transition-delay: 80ms; }
.reveal-d-2 { transition-delay: 160ms; }
.reveal-d-3 { transition-delay: 240ms; }
.reveal-d-4 { transition-delay: 320ms; }

/* Magnetic cursor reactor */
.magnetic { display: inline-block; will-change: transform; }

/* Custom cursor (optional, only on hover-capable devices) */
@media (hover: hover) and (pointer: fine) {
  body { cursor: none; }
  .cursor {
    position: fixed; pointer-events: none; z-index: 9999;
    width: 8px; height: 8px;
    background: var(--ink);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 200ms var(--ease-out), height 200ms var(--ease-out),
                background 200ms var(--ease-out), opacity 200ms var(--ease-out);
    mix-blend-mode: difference;
  }
  .cursor.hover {
    width: 36px; height: 36px;
    background: var(--accent);
    opacity: 0.8;
  }
  a, button, .magnetic, .nav-cta, .btn { cursor: none; }
}

/* --- SERVICE CARDS (Chapter 01) --- */
.service-rail {
  margin-top: var(--s-9);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--s-5);
  border-top: 1px solid var(--rule);
}
.service-card {
  grid-column: span 4;
  padding: var(--s-7) var(--s-5) var(--s-6);
  border-right: 1px solid var(--rule);
  position: relative;
  display: flex; flex-direction: column;
  min-height: 380px;
  transition: background var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.service-card:hover {
  background:
    linear-gradient(180deg, rgba(34, 197, 94, 0.04), transparent 70%);
}
.service-card:hover .title { color: var(--ink); }
.service-card:hover .num::after { background: var(--accent); transition: background var(--dur) var(--ease-out); }
.service-card:last-child { border-right: 0; }
.service-card .num {
  font-family: var(--mono);
  font-size: var(--t-mono);
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: var(--s-5);
  display: flex; align-items: center; gap: var(--s-2);
}
.service-card .num::after {
  content: ''; flex: 1;
  height: 1px; background: var(--rule);
  margin-left: var(--s-3);
}
.service-card .title {
  font-family: var(--serif);
  font-size: clamp(26px, 2.4vw, 34px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: var(--s-4);
  max-width: 14ch;
}
.service-card .body {
  font-family: var(--sans);
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--body);
  max-width: 36ch;
  margin-bottom: var(--s-5);
  flex: 1;
}
.service-card .specs {
  display: flex; flex-direction: column; gap: 4px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.05em;
  color: var(--muted);
  text-transform: uppercase;
  padding-top: var(--s-4);
  border-top: 1px dashed var(--rule);
}
.service-card .specs strong {
  color: var(--ink);
  font-weight: 500;
  letter-spacing: 0.04em;
}
.service-card.lead .title em {
  font-style: italic;
  color: var(--accent);
}
.service-card.lead .num strong {
  color: var(--accent);
  font-weight: 600;
}

@media (max-width: 760px) {
  .service-rail { grid-template-columns: 1fr; gap: 0; }
  .service-card { grid-column: span 1; border-right: 0; border-bottom: 1px solid var(--rule); padding: var(--s-6) 0; }
  .service-card:last-child { border-bottom: 0; }
}

/* --- PROCESS / STEPS (Chapter 02) --- */
.steps {
  margin-top: var(--s-9);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--s-5);
}
.step {
  grid-column: span 4;
  padding-top: var(--s-6);
  border-top: 2px solid var(--ink);
}
.step .meta {
  font-family: var(--mono);
  font-size: var(--t-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--s-3);
}
.step .meta strong {
  color: var(--accent);
  font-weight: 600;
  margin-right: var(--s-3);
}
.step .h {
  font-family: var(--serif);
  font-size: clamp(22px, 2.0vw, 28px);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: var(--s-3);
  letter-spacing: -0.01em;
}
.step .p {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--body);
  max-width: 36ch;
}

@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; }
  .step { grid-column: span 1; }
}

/* --- OLD WAY vs AMIGO WAY (Interlude before Pricing) --- */
.compare {
  margin-top: var(--s-7);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-5);
}
.compare-col {
  border: 1px solid var(--rule-strong);
  padding: var(--s-6);
  position: relative;
}
.compare-col.compare-old {
  background: rgba(244, 241, 236, 0.015);
  opacity: 0.92;
}
.compare-col.compare-new {
  background:
    radial-gradient(ellipse at top right, rgba(34, 197, 94, 0.10), transparent 60%),
    var(--bg-paper);
  border-color: rgba(34, 197, 94, 0.35);
  box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.15), 0 24px 48px rgba(0, 0, 0, 0.3);
}
.compare-label {
  font-family: var(--mono);
  font-size: var(--t-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: var(--s-5);
  padding-bottom: var(--s-3);
  border-bottom: 1px solid var(--rule);
}
.compare-old .compare-label { color: var(--muted); }
.compare-new .compare-label { color: var(--accent); }
.compare-col ul {
  list-style: none;
  display: flex; flex-direction: column;
  gap: var(--s-3);
  font-family: var(--sans);
  font-size: 15.5px;
  line-height: 1.55;
}
.compare-col ul li {
  display: flex; align-items: flex-start; gap: var(--s-3);
  color: var(--ink-soft);
}
.compare-col ul li::before {
  font-family: var(--mono);
  font-size: 13px;
  flex-shrink: 0;
  width: 16px;
  margin-top: 2px;
}
.compare-old ul li { color: var(--body); }
.compare-old ul li::before { content: '✕'; color: rgba(244, 241, 236, 0.32); }
.compare-new ul li::before { content: '+'; color: var(--accent); font-weight: 700; }

@media (max-width: 800px) {
  .compare { grid-template-columns: 1fr; }
}

/* --- PRICING MANIFESTO (Chapter 03) --- */
.manifesto {
  margin-top: var(--s-9);
  list-style: none;
  display: flex;
  flex-direction: column;
}
.manifesto-item {
  display: grid;
  grid-template-columns: 60px 1fr 2fr;
  gap: var(--s-6);
  align-items: baseline;
  padding: clamp(28px, 3vw, 44px) 0;
  border-top: 1px solid var(--rule);
  position: relative;
  transition: background var(--dur) var(--ease-out);
}
.manifesto-item:last-child { border-bottom: 1px solid var(--rule); }
.manifesto-item:hover {
  background: linear-gradient(90deg, rgba(34, 197, 94, 0.04), transparent 70%);
}
.manifesto-item .m-num {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--muted);
  align-self: start;
  padding-top: 14px;
}
.manifesto-item .m-line {
  font-family: var(--serif);
  font-size: clamp(34px, 4.4vw, 64px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.022em;
  color: var(--ink);
}
.manifesto-item:nth-child(odd) .m-line em,
.manifesto-item:hover .m-line {
  color: var(--ink);
}
.manifesto-item:hover .m-num { color: var(--accent); }
.manifesto-item .m-note {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.55;
  color: var(--body);
  max-width: 42ch;
  align-self: center;
}

.manifesto-cta {
  margin-top: var(--s-7);
  display: flex; align-items: center;
  gap: var(--s-5);
  flex-wrap: wrap;
}
.manifesto-cta-note {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: var(--ink-soft);
}

@media (max-width: 760px) {
  .manifesto-item {
    grid-template-columns: 1fr;
    gap: var(--s-3);
    padding: var(--s-6) 0;
  }
  .manifesto-item .m-num { padding-top: 0; }
  .manifesto-item .m-line { font-size: clamp(32px, 9vw, 44px); }
}

/* --- STORY (Chapter 04) --- */
.story-grid {
  margin-top: var(--s-9);
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: var(--s-8);
  align-items: start;
}
.story-card {
  position: relative;
  padding: clamp(28px, 3vw, 44px);
  background:
    radial-gradient(ellipse 90% 60% at 0% 0%, rgba(34, 197, 94, 0.07), transparent 55%),
    linear-gradient(180deg, var(--bg-paper), #0E1311);
  border: 1px solid var(--rule-strong);
  display: flex; flex-direction: column; gap: var(--s-5);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
  min-height: 460px;
}
.story-card::before {
  content: '"';
  position: absolute; top: 8px; right: 18px;
  font-family: var(--serif);
  font-size: 220px;
  line-height: 1;
  color: var(--accent);
  opacity: 0.10;
  pointer-events: none;
  font-style: italic;
}
.story-card-mono {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--accent);
}
.story-card-quote {
  font-family: var(--serif);
  font-size: clamp(26px, 2.5vw, 36px);
  line-height: 1.18;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin: var(--s-3) 0 var(--s-5);
}
.story-card-quote em { font-style: italic; }
.story-card-meta {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--s-5);
  margin-top: auto;
}
.story-card-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.story-card-name {
  font-family: var(--serif);
  font-size: 19px;
  color: var(--ink-soft);
  letter-spacing: -0.005em;
}
.story-card-divider {
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0.45;
}
.story-card-foot {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--muted);
}
.story-card-year {
  font-family: var(--serif);
  font-size: 28px;
  letter-spacing: -0.01em;
  color: var(--accent);
  text-transform: none;
}
.story-prose {
  display: flex; flex-direction: column; gap: var(--s-5);
}
.story-prose p {
  font-family: var(--serif);
  font-size: 19.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 56ch;
}
.story-prose p strong {
  color: var(--ink);
  font-weight: 500;
}
.story-pullquote {
  margin-top: var(--s-5);
  padding: var(--s-5);
  background: var(--bg-paper);
  border-left: 3px solid var(--accent);
  box-shadow: -8px 0 24px rgba(34, 197, 94, 0.05);
}
.story-pullquote q {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1.4;
  color: var(--ink);
  display: block;
  margin-bottom: var(--s-3);
  quotes: '"' '"';
}
.story-pullquote .attrib {
  font-family: var(--mono);
  font-size: var(--t-mono);
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
}
.story-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-5);
  margin-top: var(--s-6);
  padding-top: var(--s-6);
  border-top: 1px solid var(--rule);
}
.story-meta .item .label {
  font-family: var(--mono);
  font-size: var(--t-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--s-2);
}
.story-meta .item .value {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 400;
  line-height: 1;
  color: var(--ink);
}

@media (max-width: 760px) {
  .story-grid { grid-template-columns: 1fr; gap: var(--s-6); }
  .story-card { min-height: 0; }
}

/* --- COMMERCIAL EMBED (Chapter 04, below story-grid) --- */
.commercial {
  margin-top: var(--s-9);
  padding-top: var(--s-7);
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: var(--s-8);
  align-items: center;
}
.commercial-meta .mono {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--s-3);
  display: block;
}
.commercial-h {
  font-family: var(--serif);
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: var(--s-4);
}
.commercial-h em { font-style: italic; color: var(--accent); }
.commercial-p {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.55;
  color: var(--body);
  max-width: 42ch;
}
.commercial-player {
  position: relative;
  background: var(--bg-warm);
  border: 1px solid var(--rule-strong);
  cursor: pointer;
  padding: 0;
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  transition: border-color var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.commercial-player:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(34, 197, 94, 0.3);
}
.commercial-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.commercial-play {
  position: absolute;
  bottom: 16px; left: 16px;
  display: inline-flex;
  align-items: center; gap: 10px;
  padding: 10px 16px 10px 14px;
  background: rgba(11, 14, 13, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(244, 241, 236, 0.10);
  border-radius: 999px;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}
.commercial-player:hover .commercial-play {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}
.commercial-player.is-playing .commercial-play { display: none; }

@media (max-width: 760px) {
  .commercial { grid-template-columns: 1fr; gap: var(--s-5); }
  .commercial-player { max-width: 280px; margin: 0 auto; }
}

/* --- TEXAS (Chapter 05) --- */
/* Slim coverage strip — supporting evidence, not a hero moment */
.coverage-strip {
  margin-top: var(--s-7);
  padding: var(--s-6) var(--s-6);
  background:
    radial-gradient(ellipse 600px 300px at 0% 50%, rgba(34, 197, 94, 0.10), transparent 60%),
    var(--bg-paper);
  border: 1px solid var(--rule-strong);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--s-7);
  align-items: center;
}
.coverage-num {
  display: flex; flex-direction: column;
  border-right: 1px solid var(--rule-strong);
  padding-right: var(--s-7);
  min-width: 200px;
}
.coverage-num .big {
  font-family: var(--serif);
  font-size: clamp(72px, 9vw, 124px);
  line-height: 0.9;
  font-weight: 300;
  color: var(--ink);
  letter-spacing: -0.04em;
}
.coverage-num .lbl {
  font-family: var(--mono);
  font-size: var(--t-mono);
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: var(--s-3);
  line-height: 1.6;
}
.coverage-cities {
  display: flex; flex-wrap: wrap;
  gap: 6px var(--s-5);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--body);
  text-transform: uppercase;
}
.coverage-cities span { white-space: nowrap; transition: color var(--dur-fast); }
.coverage-cities span:hover { color: var(--ink); }
.coverage-cities span::before { content: '·'; margin-right: var(--s-3); color: var(--accent); }
.coverage-cities span:first-child::before { display: none; }
@media (max-width: 760px) {
  .coverage-strip { grid-template-columns: 1fr; gap: var(--s-5); }
  .coverage-num { border-right: 0; border-bottom: 1px solid var(--rule-strong); padding-right: 0; padding-bottom: var(--s-5); }
}

/* (Old .texas-banner styles kept dormant in case we re-introduce a hero moment later) */
.texas-banner {
  margin-top: var(--s-7);
  padding: var(--s-8) var(--s-7);
  background:
    radial-gradient(ellipse 800px 600px at 80% 30%, rgba(34, 197, 94, 0.12), transparent 50%),
    radial-gradient(ellipse 600px 400px at 10% 90%, rgba(216, 149, 109, 0.08), transparent 50%),
    var(--dark);
  color: var(--ink);
  position: relative; overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-7);
  align-items: end;
  border: 1px solid var(--rule-strong);
}
.texas-banner::before {
  /* Faint topographic line texture */
  content: '';
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent 0 40px, rgba(244, 241, 236, 0.015) 40px 41px),
    repeating-linear-gradient(90deg, transparent 0 40px, rgba(244, 241, 236, 0.012) 40px 41px);
  pointer-events: none;
}
.texas-banner > * { position: relative; }
.texas-big {
  font-family: var(--serif);
  font-size: clamp(120px, 18vw, 280px);
  line-height: 0.85;
  font-weight: 300;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.texas-big sup {
  font-family: var(--mono);
  font-size: 0.18em;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.08em;
  vertical-align: 70%;
  margin-left: 8px;
}
.texas-side .label {
  font-family: var(--mono);
  font-size: var(--t-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--s-3);
}
.texas-side h3 {
  font-family: var(--serif);
  font-size: clamp(28px, 2.6vw, 38px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: var(--s-4);
}
.texas-side p {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 38ch;
  margin-bottom: var(--s-5);
}
.texas-cities {
  display: flex; flex-wrap: wrap;
  gap: var(--s-3) var(--s-5);
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--body);
  text-transform: uppercase;
}
.texas-cities span { white-space: nowrap; }
.texas-cities span::before { content: '·'; margin-right: var(--s-3); color: var(--accent); }
.texas-cities span:first-child::before { display: none; }

@media (max-width: 760px) {
  .texas-banner { grid-template-columns: 1fr; padding: var(--s-7) var(--s-5); }
  .texas-big { font-size: clamp(100px, 28vw, 200px); }
}

/* --- CONTACT (Chapter 06) --- */
.contact-grid {
  margin-top: var(--s-9);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-8);
  align-items: start;
}
.contact-actions { display: flex; flex-direction: column; gap: var(--s-4); }
.contact-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  align-items: baseline;
  padding: var(--s-4) 0;
  border-bottom: 1px solid var(--rule);
}
.contact-row .label {
  font-family: var(--mono);
  font-size: var(--t-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-row .value {
  font-family: var(--serif);
  font-size: 21px;
  color: var(--ink);
  font-weight: 400;
}
.contact-row .value a { color: var(--ink); }
.contact-row .value a:hover { color: var(--accent); }
.contact-aside {
  background:
    radial-gradient(ellipse at top right, rgba(34, 197, 94, 0.08), transparent 60%),
    var(--bg-paper);
  border: 1px solid var(--rule-strong);
  padding: var(--s-6);
}

/* --- SCHEDULE FORM --- */
.depo-form {
  background:
    radial-gradient(ellipse at top right, rgba(34, 197, 94, 0.08), transparent 60%),
    var(--bg-paper);
  border: 1px solid var(--rule-strong);
  padding: var(--s-6);
  display: flex; flex-direction: column;
  gap: var(--s-5);
  position: relative;
}
.depo-form .form-meta {
  font-family: var(--mono);
  font-size: var(--t-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex; align-items: center; gap: var(--s-3);
  padding-bottom: var(--s-4);
  border-bottom: 1px solid var(--rule);
}
.depo-form .form-meta strong {
  color: var(--accent);
  font-weight: 600;
}
.depo-form .form-meta .hint {
  margin-left: auto;
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--ink-soft);
  text-transform: none;
  letter-spacing: 0;
}
.depo-form .field-row {
  display: grid;
  gap: var(--s-3);
}
.depo-form .field-row.two-col {
  grid-template-columns: 1fr 1fr;
}
.depo-form label {
  display: flex; flex-direction: column;
  gap: 6px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.depo-form label .req { color: var(--accent); margin-left: 4px; }

/* Multi-select checkbox group (services) */
.depo-form .checkbox-group {
  border: 1px solid var(--rule);
  background: rgba(11, 14, 13, 0.55);
  padding: 14px 16px 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
}
.depo-form .checkbox-group legend {
  grid-column: 1 / -1;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0 6px;
  margin-bottom: 4px;
}
.depo-form .checkbox-group .legend-hint {
  color: var(--ink-soft);
  font-style: italic;
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--serif);
  font-size: 12.5px;
  margin-left: 6px;
}
.depo-form .check {
  display: inline-flex;
  flex-direction: row !important;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-family: var(--sans);
  font-size: 15px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-soft);
  cursor: pointer;
}
.depo-form .check input[type="checkbox"] {
  width: 18px; height: 18px;
  flex: 0 0 auto;
  appearance: none;
  -webkit-appearance: none;
  background: rgba(11, 14, 13, 0.7);
  border: 1px solid var(--rule-strong);
  border-radius: 3px;
  cursor: pointer;
  position: relative;
  margin: 0;
  padding: 0;
  transition: border-color var(--dur-fast), background var(--dur-fast);
}
.depo-form .check input[type="checkbox"]:hover { border-color: var(--ink-soft); }
.depo-form .check input[type="checkbox"]:checked {
  background: var(--accent);
  border-color: var(--accent);
}
.depo-form .check input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 5px; top: 1px;
  width: 6px; height: 11px;
  border: solid var(--bg);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.depo-form .check:hover span { color: var(--ink); }
.depo-form .checkbox-group.is-invalid {
  border-color: #ff7676;
  box-shadow: 0 0 0 1px rgba(255, 118, 118, 0.2);
}
@media (max-width: 600px) {
  .depo-form .checkbox-group { grid-template-columns: 1fr; }
}
.depo-form input,
.depo-form select,
.depo-form textarea {
  width: 100%;
  background: rgba(11, 14, 13, 0.55);
  border: 1px solid var(--rule);
  border-radius: 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;            /* 16px+ avoids iOS auto-zoom on focus */
  letter-spacing: 0;
  text-transform: none;
  padding: 12px 14px;
  transition: border-color var(--dur-fast), background var(--dur-fast), box-shadow var(--dur-fast);
  appearance: none;
}
.depo-form input::placeholder,
.depo-form textarea::placeholder { color: var(--muted); }
.depo-form input:focus,
.depo-form select:focus,
.depo-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-soft);
  background: rgba(11, 14, 13, 0.85);
}
.depo-form textarea { resize: vertical; min-height: 84px; font-family: var(--sans); }
.depo-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2322C55E' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.depo-form input[type="file"] {
  font-family: var(--mono);
  font-size: 12px;
  padding: 10px 14px;
  cursor: pointer;
}
.depo-form input[type="file"]::file-selector-button {
  background: var(--accent);
  color: var(--bg);
  border: 0;
  padding: 6px 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  margin-right: var(--s-3);
}
.depo-form input[type="file"]::file-selector-button:hover { background: var(--ink); color: var(--bg); }
.depo-form small.hint-text {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 2px;
}
.depo-form .submit-row {
  display: flex; flex-wrap: wrap;
  align-items: center; gap: var(--s-4);
  padding-top: var(--s-3);
  border-top: 1px solid var(--rule);
}
.depo-form .submit-row .btn { padding: 14px 24px; font-size: 15px; }
.depo-form .submit-row small {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--ink-soft);
}
.depo-form .hp { position: absolute; left: -9999px; top: -9999px; }

/* Form success/error states */
.form-result {
  display: none;
  padding: var(--s-7) var(--s-6);
  text-align: center;
}
.form-result .h {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: var(--s-4);
}
.form-result .h em { font-style: italic; color: var(--accent); }
.form-result p {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 36ch;
  margin: 0 auto var(--s-4);
}
.form-result .meta {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.depo-form.is-submitted .field-row,
.depo-form.is-submitted .form-meta,
.depo-form.is-submitted .submit-row { display: none; }
.depo-form.is-submitted .form-result.success { display: block; }
.depo-form.is-error .form-result.error { display: block; }
.depo-form.is-error .submit-row .btn { background: var(--ink); }

@media (max-width: 700px) {
  .depo-form { padding: var(--s-5); }
  .depo-form .field-row.two-col { grid-template-columns: 1fr; }
  .depo-form .form-meta { flex-direction: column; align-items: flex-start; gap: 6px; }
  .depo-form .form-meta .hint { margin-left: 0; }
  .depo-form .submit-row { flex-direction: column; align-items: flex-start; }
  .depo-form .submit-row .btn { width: 100%; justify-content: center; }
}

/* --- FOOTER --- */
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--s-7);
  padding-bottom: var(--s-7);
  border-bottom: 1px solid rgba(244, 241, 236, 0.08);
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--s-6); }
  .footer-grid > div:first-child { grid-column: 1 / -1; margin-bottom: var(--s-2); }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* Reduce hero padding on small screens */
@media (max-width: 600px) {
  .hero { padding: 112px 0 var(--s-7); }
  :root { --t-display: clamp(40px, 11vw, 64px); }
  .hero-title { line-height: 1.0; }
  .nav-inner { padding: 0 var(--gutter); }
  .container { padding: 0 18px; }
  :root { --gutter: 18px; }
  .chapter { padding: 56px 0; }
}
.contact-aside .h {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: var(--s-4);
  color: var(--ink);
}
.contact-aside p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--body);
  margin-bottom: var(--s-5);
}

@media (max-width: 760px) {
  .contact-grid { grid-template-columns: 1fr; gap: var(--s-6); }
}


/* --- Site footer mobile collapse (added phase 4 for multi-page) --- */
@media (max-width: 760px) {
  .site-footer > .container:first-child {
    grid-template-columns: 1fr 1fr !important;
    gap: var(--s-5) !important;
  }
  .site-footer > .container:last-child {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: var(--s-2) !important;
    text-align: left;
  }
}
@media (max-width: 540px) {
  .site-footer > .container:first-child {
    grid-template-columns: 1fr !important;
  }
}
