/* ============================================================
   The Byrne Buyer Guarantee — Warm Editorial Austin
   ============================================================ */

:root {
  /* Trust-building Byrne palette — cream + deep navy + KW red as accent */
  --bg: oklch(0.972 0.010 82);           /* warm cream white */
  --bg-cream: oklch(0.945 0.020 82);      /* soft cream card */
  --bg-deep: oklch(0.90 0.028 78);        /* toasted */
  --ink: oklch(0.22 0.035 258);           /* deep confident navy-ink */
  --ink-soft: oklch(0.40 0.03 258);       /* muted navy */
  --ink-quiet: oklch(0.55 0.02 258);      /* quiet caption */
  --line: oklch(0.86 0.015 80);           /* hairline */
  --line-strong: oklch(0.72 0.025 80);

  /* Primary accent: KW red (used sparingly for the guarantee mark & CTAs) */
  --brand-red: #C82127;                    /* pulled from KW logo */
  --brand-red-deep: #A31A1F;
  --brand-red-soft: oklch(0.88 0.05 25);

  /* Alias legacy tokens to the new palette so components keep working */
  --terracotta: var(--brand-red);
  --terracotta-deep: var(--brand-red-deep);
  --terracotta-soft: var(--brand-red-soft);
  --oak: oklch(0.42 0.08 145);

  /* Type */
  /* Calibri-style humanist sans (Carlito is metrics-compatible with Calibri) */
  --serif: "Carlito", "Calibri", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --sans: "Carlito", "Calibri", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;

  /* Scale */
  --nav-h: 72px;
  --gutter: clamp(20px, 4vw, 56px);
  --content-max: 1360px;
}

/* Palette variants (Tweak-driven) */
[data-palette="oak"] {
  --terracotta: oklch(0.45 0.09 150);
  --terracotta-deep: oklch(0.35 0.08 145);
  --terracotta-soft: oklch(0.86 0.05 140);
}
[data-palette="bluebonnet"] {
  --terracotta: oklch(0.42 0.11 265);
  --terracotta-deep: oklch(0.32 0.10 265);
  --terracotta-soft: oklch(0.87 0.04 260);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-feature-settings: "ss01", "cv11";
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Optional paper grain overlay */
body[data-grain="on"]::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.08;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.4' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.2  0 0 0 0 0.15  0 0 0 0 0.1  0 0 0 0.9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 50;
  display: flex;
  align-items: center;
  padding: 0 var(--gutter);
  transition: background 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: color-mix(in oklch, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.1) blur(12px);
  -webkit-backdrop-filter: saturate(1.1) blur(12px);
  border-bottom-color: var(--line);
}
.nav-inner {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
  text-decoration: none;
}
.wordmark img {
  height: 36px;
  width: auto;
  display: block;
}
.wordmark-divider {
  width: 1px; height: 22px; background: var(--line-strong); display: inline-block;
}
.wordmark-tag {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 15px;
  color: var(--ink-soft);
  letter-spacing: -0.005em;
}
@media (max-width: 640px) {
  .wordmark-divider, .wordmark-tag { display: none; }
}
.nav-links {
  display: flex; align-items: center; gap: 28px;
}
.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 150ms ease;
}
.nav-links a:hover { color: var(--ink); }

.nav-cta {
  background: var(--ink);
  color: var(--bg);
  border: none;
  padding: 11px 20px;
  border-radius: 999px;
  font: 500 14px/1 var(--sans);
  cursor: pointer;
  transition: transform 150ms ease, background 150ms ease;
}
.nav-cta:hover { background: var(--terracotta-deep); transform: translateY(-1px); }

@media (max-width: 720px) {
  .nav-links a:not(.nav-cta-wrap) { display: none; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding-top: calc(var(--nav-h) + 24px);
  padding-inline: var(--gutter);
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.hero-inner {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
  padding-block: 40px 72px;
}

.hero-eyebrow {
  font: 500 12px/1 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terracotta);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}
.hero-eyebrow::before {
  content: "";
  width: 32px; height: 1px;
  background: var(--terracotta);
  display: inline-block;
}

.hero-title {
  font-family: var(--serif);
  font-weight: 380;
  font-variation-settings: "opsz" 144, "SOFT" 60, "WONK" 1;
  font-size: clamp(48px, 7.4vw, 108px);
  line-height: 0.96;
  letter-spacing: -0.028em;
  color: var(--ink);
  margin-bottom: 32px;
  text-wrap: balance;
}
.hero-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--terracotta);
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}

.hero-sub {
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 44ch;
  margin-bottom: 40px;
  text-wrap: pretty;
}

.hero-ctas { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }

.btn-primary {
  background: var(--terracotta);
  color: #fff;
  border: none;
  padding: 16px 26px;
  border-radius: 999px;
  font: 500 15px/1 var(--sans);
  cursor: pointer;
  transition: transform 150ms ease, background 150ms ease, box-shadow 150ms ease;
  box-shadow: 0 1px 0 rgba(0,0,0,0.04), 0 8px 24px -12px oklch(0.58 0.15 45 / 0.5);
}
.btn-primary:hover {
  background: var(--terracotta-deep);
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.04), 0 12px 28px -12px oklch(0.58 0.15 45 / 0.55);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: none;
  padding: 16px 22px;
  font: 500 15px/1 var(--sans);
  cursor: pointer;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  transition: opacity 150ms ease;
}
.btn-ghost:hover { opacity: 0.6; }

.hero-trust {
  margin-top: 44px;
  display: flex;
  gap: 20px;
  align-items: center;
  color: var(--ink-quiet);
  font-size: 13px;
  letter-spacing: 0.02em;
}
.hero-trust::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--oak); display: inline-block;
}

/* Hero image side */
.hero-media {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 4px;
  overflow: hidden;
  background: linear-gradient(160deg, oklch(0.82 0.04 260), oklch(0.55 0.05 258));
}
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  z-index: 1;
}
.hero-media img + .placeholder { z-index: 0; }
.hero-media .placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.85);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  gap: 8px;
  background:
    repeating-linear-gradient(
      45deg,
      transparent 0 22px,
      rgba(255,255,255,0.06) 22px 44px
    );
}
.hero-media .placeholder span:first-child { font-size: 22px; letter-spacing: 0.24em; }

/* Guarantee shield — real brand asset */
.shield {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 120px;
  height: auto;
  z-index: 3;
  filter: drop-shadow(0 12px 28px rgba(20, 25, 45, 0.4));
  transition: transform 400ms cubic-bezier(0.2, 0.9, 0.3, 1);
}
.shield:hover { transform: translateY(-3px) rotate(-2deg); }
@media (max-width: 900px) {
  .shield { width: 84px; bottom: 14px; right: 14px; }
}

/* Trust bar — under hero, subtle credibility strip */
.trust-bar {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 24px var(--gutter);
  background: var(--bg-cream);
}
.trust-bar-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  align-items: center;
}
.trust-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.trust-item-value {
  font-family: var(--serif);
  font-weight: 420;
  font-size: 26px;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.015em;
  font-variation-settings: "opsz" 144;
}
.trust-item-value em {
  font-style: italic; font-weight: 300;
  color: var(--brand-red);
  font-variation-settings: "opsz" 144, "SOFT" 100;
}
.trust-item-label {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-quiet);
  font-weight: 500;
}
.trust-stars {
  display: inline-flex; gap: 2px; color: var(--brand-red);
  font-size: 14px; letter-spacing: 0.05em;
}
@media (max-width: 720px) {
  .trust-bar-inner { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

/* Full-bleed hero variation */
.hero.hero-fullbleed { padding-inline: 0; padding-top: 0; }
.hero.hero-fullbleed .hero-inner {
  display: block;
  padding: 0;
  max-width: none;
  position: relative;
  min-height: 100vh;
}
.hero.hero-fullbleed .hero-media {
  position: absolute; inset: 0;
  aspect-ratio: auto;
  border-radius: 0;
}
.hero.hero-fullbleed .hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(15,20,40,0.72) 0%, rgba(15,20,40,0.62) 40%, rgba(15,20,40,0.90) 100%),
    linear-gradient(90deg, rgba(15,20,40,0.75) 0%, rgba(15,20,40,0.35) 55%, rgba(15,20,40,0.10) 100%);
  z-index: 2;
}
.hero.hero-fullbleed .hero-media img { z-index: 1; }
.hero.hero-fullbleed .hero-content { z-index: 3; }
.hero.hero-fullbleed .hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: calc(var(--nav-h) + 80px) var(--gutter) 80px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
}
.hero.hero-fullbleed .hero-title,
.hero.hero-fullbleed .hero-sub { color: #fff; }
.hero.hero-fullbleed .hero-title em { color: var(--terracotta-soft); }
.hero.hero-fullbleed .hero-sub { color: rgba(255,255,255,0.85); }
.hero.hero-fullbleed .hero-eyebrow { color: var(--terracotta-soft); }
.hero.hero-fullbleed .hero-eyebrow::before { background: var(--terracotta-soft); }
.hero.hero-fullbleed .btn-ghost { color: #fff; border-bottom-color: #fff; }
.hero.hero-fullbleed .hero-trust { color: rgba(255,255,255,0.7); }
.hero.hero-fullbleed .seal { bottom: 40px; right: var(--gutter); }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-media { max-height: 60vh; }
}

/* ============================================================
   GUARANTEE BAR
   ============================================================ */
.guarantee-bar {
  background: var(--ink);
  color: var(--bg);
  padding: 96px var(--gutter);
  overflow: hidden;
  position: relative;
}
.guarantee-bar::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--brand-red);
}
.guarantee-bar-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 48px;
  align-items: center;
}
.guarantee-bar-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  opacity: 0.72;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  padding: 12px 0;
  border-top: 1px solid rgba(255,255,255,0.4);
  border-bottom: 1px solid rgba(255,255,255,0.4);
}
.guarantee-bar-text {
  font-family: var(--serif);
  font-weight: 350;
  font-style: italic;
  font-size: clamp(28px, 4vw, 56px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.guarantee-bar-text b {
  font-style: normal;
  font-weight: 500;
  color: #fff;
  border-bottom: 2px solid var(--brand-red);
  padding-bottom: 4px;
}

@media (max-width: 720px) {
  .guarantee-bar-inner { grid-template-columns: 1fr; gap: 24px; }
  .guarantee-bar-label { writing-mode: horizontal-tb; transform: none; border-left: none; border-right: none; padding: 8px 0; width: fit-content; }
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.section {
  padding: clamp(72px, 10vw, 140px) var(--gutter);
}
.section-inner {
  max-width: var(--content-max);
  margin: 0 auto;
}

.section-eyebrow {
  font: 500 12px/1 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terracotta);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.section-eyebrow::before {
  content: ""; width: 32px; height: 1px; background: var(--terracotta); display: inline-block;
}

.section-title {
  font-family: var(--serif);
  font-weight: 380;
  font-size: clamp(38px, 5.4vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  color: var(--ink);
  max-width: 18ch;
  text-wrap: balance;
  margin-bottom: 24px;
  font-variation-settings: "opsz" 144, "SOFT" 60;
}
.section-title em {
  font-style: italic; font-weight: 300; color: var(--terracotta);
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}

.section-lead {
  font-size: clamp(18px, 1.4vw, 20px);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 52ch;
  margin-bottom: 72px;
  text-wrap: pretty;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  border-top: 1px solid var(--line);
}
.step {
  padding: 48px 32px 40px 0;
  border-right: 1px solid var(--line);
  position: relative;
}
.step:last-child { border-right: none; padding-right: 0; }

.step-num {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: 88px;
  line-height: 1;
  color: var(--terracotta);
  margin-bottom: 32px;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}
.step-title {
  font-family: var(--serif);
  font-weight: 420;
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 14px;
  text-wrap: balance;
}
.step-desc {
  font-size: clamp(16px, 1.15vw, 17px);
  line-height: 1.65;
  color: var(--ink-soft);
  text-wrap: pretty;
}

@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step { border-right: none; border-bottom: 1px solid var(--line); padding: 40px 0; }
  .step:last-child { border-bottom: none; }
}

/* ============================================================
   PACKAGES (Premier Pro / Ultimate Showcase)
   ============================================================ */
.packages { background: var(--bg); }

.pkg-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 56px;
}
@media (max-width: 900px) {
  .pkg-grid { grid-template-columns: 1fr; }
}

.pkg {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 40px 40px 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: border-color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}
.pkg:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
  box-shadow: 0 20px 40px -20px rgba(20, 25, 45, 0.15);
}

.pkg-premium {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
  position: relative;
  overflow: hidden;
}
.pkg-premium::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--brand-red);
}
.pkg-premium:hover { border-color: var(--brand-red); }

.pkg-header { margin-bottom: 32px; }

.pkg-tag {
  display: inline-block;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-quiet);
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  margin-bottom: 20px;
}
.pkg-tag-accent {
  color: var(--brand-red-soft);
  border-color: rgba(255,255,255,0.2);
  background: rgba(200, 33, 39, 0.12);
}

.pkg-name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 40px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: inherit;
  margin-bottom: 24px;
  font-variation-settings: "opsz" 144, "SOFT" 60;
}
.pkg-premium .pkg-name { color: var(--bg); }

.pkg-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 4px;
}
.pkg-price-value {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: 64px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--brand-red);
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}
.pkg-premium .pkg-price-value { color: var(--brand-red-soft); }
.pkg-price-suffix {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}
.pkg-premium .pkg-price-suffix { color: rgba(255,255,255,0.7); }

.pkg-price-strike {
  font-size: 12px;
  color: var(--ink-quiet);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-weight: 500;
}
.pkg-premium .pkg-price-strike { color: rgba(255,255,255,0.55); }

.pkg-desc {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(17px, 1.3vw, 19px);
  line-height: 1.5;
  color: var(--ink-soft);
  font-weight: 400;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.pkg-premium .pkg-desc {
  color: rgba(255,255,255,0.75);
  border-top-color: rgba(255,255,255,0.12);
}

.pkg-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}
.pkg-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: clamp(15px, 1.1vw, 16px);
  line-height: 1.5;
  color: var(--ink);
}
.pkg-premium .pkg-list li { color: rgba(255,255,255,0.92); }

.pkg-list-heading {
  font-family: var(--serif) !important;
  font-style: italic;
  font-weight: 400 !important;
  font-size: 16px !important;
  color: rgba(255,255,255,0.7) !important;
  padding-bottom: 4px;
}
.pkg-list-heading::before {
  content: "→";
  margin-right: 8px;
  color: var(--brand-red-soft);
}
.pkg-plus {
  font-family: var(--mono);
  font-size: 10px !important;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4) !important;
  padding: 6px 0;
  border-top: 1px solid rgba(255,255,255,0.14);
  justify-content: center;
}

.pkg-check {
  color: var(--brand-red);
  font-weight: 600;
  flex-shrink: 0;
  width: 18px;
  display: inline-block;
  text-align: center;
  margin-top: 1px;
}
.pkg-list-accent .pkg-check { color: var(--brand-red-soft); }

.pkg-foot {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.pkg-premium .pkg-foot { border-top-color: rgba(255,255,255,0.14); }

.pkg-highlight {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--brand-red-soft);
  line-height: 1.45;
  margin-bottom: 12px;
}
.pkg-highlight b {
  font-style: normal;
  font-weight: 500;
  color: #fff;
}
.pkg-fine {
  font-size: 12px;
  color: var(--ink-quiet);
  line-height: 1.5;
}
.pkg-premium .pkg-fine { color: rgba(255,255,255,0.5); }

.pkg-cta-row {
  margin-top: 48px;
  display: flex;
  justify-content: center;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  background: var(--bg-cream);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}
.about-media {
  aspect-ratio: 4 / 5;
  border-radius: 4px;
  overflow: hidden;
  background: var(--bg-deep);
  position: relative;
}
.about-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.about-media .placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.85);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: repeating-linear-gradient(45deg, transparent 0 22px, rgba(255,255,255,0.06) 22px 44px);
}
.about-media-caption {
  position: absolute;
  bottom: 16px; left: 16px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(6px);
  padding: 10px 14px;
  border-radius: 4px;
  font-size: 12px;
  color: var(--ink);
  line-height: 1.3;
}
.about-media-caption strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 14px; margin-bottom: 2px; }
.about-media-caption span { color: var(--ink-quiet); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }
.about-body p {
  font-size: clamp(17px, 1.25vw, 18px);
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 20px;
  text-wrap: pretty;
}
.about-body p:first-of-type {
  font-family: var(--serif);
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.35;
  font-weight: 380;
  color: var(--ink);
  margin-bottom: 24px;
  font-variation-settings: "opsz" 144;
}
.about-body p:first-of-type::first-letter {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 3.4em;
  float: left;
  line-height: 0.9;
  padding: 8px 12px 0 0;
  color: var(--terracotta);
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}
.about-tagline {
  margin: 32px 0 0;
  padding: 24px 28px;
  background: var(--bg);
  border-left: 3px solid var(--brand-red);
  border-radius: 2px;
  font-family: var(--serif);
  font-size: clamp(19px, 1.6vw, 22px);
  line-height: 1.35;
  color: var(--ink);
  font-weight: 400;
  font-style: normal;
  text-wrap: balance;
  font-variation-settings: "opsz" 144, "SOFT" 60;
}
.about-tagline em {
  font-style: italic;
  font-weight: 300;
  color: var(--brand-red);
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}
.about-signature {
  margin-top: 32px;
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink);
  font-size: 18px;
}
.about-signature small {
  display: block;
  font-family: var(--sans);
  font-style: normal;
  font-size: 12px;
  color: var(--ink-quiet);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 4px;
}

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

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
  border-top: 1px solid var(--line);
  margin-top: 40px;
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  padding: 32px 60px 32px 0;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 400;
  line-height: 1.3;
  color: var(--ink);
  position: relative;
  transition: color 150ms ease;
}
.faq-q:hover { color: var(--terracotta-deep); }
.faq-q::after {
  content: "+";
  font-family: var(--sans);
  font-weight: 300;
  font-size: 28px;
  color: var(--terracotta);
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
  line-height: 1;
}
.faq-item.open .faq-q::after { content: "−"; }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 320ms cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-item.open .faq-a { max-height: 500px; }
.faq-a-inner {
  padding: 0 60px 32px 0;
  font-size: clamp(16px, 1.2vw, 17px);
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 68ch;
  text-wrap: pretty;
}

/* ============================================================
   CONTACT (closing CTA)
   ============================================================ */
.contact {
  background: var(--ink);
  color: var(--bg);
}
.contact .section-title { color: var(--bg); }
.contact .section-title em { color: var(--terracotta-soft); }
.contact .section-eyebrow { color: var(--terracotta-soft); }
.contact .section-eyebrow::before { background: var(--terracotta-soft); }
.contact .section-lead { color: oklch(0.82 0.02 70); }

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(32px, 6vw, 88px);
  align-items: end;
}
.contact-actions {
  display: flex; flex-direction: column; gap: 12px;
}
.contact-actions .btn-primary { align-self: flex-start; padding: 20px 34px; font-size: 16px; }
.contact-details {
  display: grid;
  gap: 20px;
}
.contact-details a {
  color: var(--bg);
  text-decoration: none;
  border-bottom: 1px solid oklch(0.55 0.03 60);
  padding-bottom: 3px;
  transition: border-color 150ms ease;
  font-size: 15px;
}
.contact-details a:hover { border-bottom-color: var(--terracotta-soft); }
.contact-detail-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: oklch(0.6 0.02 60);
  margin-bottom: 6px;
  display: block;
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--ink);
  color: oklch(0.62 0.02 60);
  padding: 40px var(--gutter);
  border-top: 1px solid oklch(0.32 0.02 60);
  font-size: 12px;
}
.footer-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-inner p { max-width: 60ch; text-wrap: pretty; }
.footer img {
  width: auto !important;
  max-width: 100%;
  height: 56px;
  align-self: flex-start;
  object-fit: contain;
  display: block;
}

/* ============================================================
   LEAD MODAL
   ============================================================ */
.modal-backdrop {
  position: fixed; inset: 0;
  background: oklch(0.20 0.02 55 / 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}
.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}
.modal {
  background: var(--bg);
  border-radius: 6px;
  width: 100%;
  max-width: 520px;
  max-height: 92vh;
  overflow-y: auto;
  padding: 44px 44px 40px;
  position: relative;
  transform: translateY(12px) scale(0.98);
  transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 40px 80px -20px rgba(30, 20, 10, 0.35);
}
.modal-backdrop.open .modal { transform: translateY(0) scale(1); }

.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: none;
  border: none;
  cursor: pointer;
  width: 36px; height: 36px;
  border-radius: 50%;
  color: var(--ink-soft);
  font-size: 22px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 150ms ease;
}
.modal-close:hover { background: var(--bg-cream); }

.modal-eyebrow {
  font: 500 11px/1 var(--sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 14px;
}
.modal-title {
  font-family: var(--serif);
  font-weight: 380;
  font-size: 34px;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 10px;
  text-wrap: balance;
  font-variation-settings: "opsz" 144, "SOFT" 60;
}
.modal-title em { font-style: italic; font-weight: 300; color: var(--terracotta); }
.modal-sub {
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-soft);
  margin-bottom: 28px;
  text-wrap: pretty;
}

.form-grid {
  display: grid;
  gap: 18px;
  margin-bottom: 20px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: 12px;
  color: var(--ink-quiet);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
}
.field input,
.field select {
  border: none;
  border-bottom: 1px solid var(--line-strong);
  padding: 10px 0 8px;
  font: 400 16px/1.4 var(--sans);
  color: var(--ink);
  background: transparent;
  transition: border-color 150ms ease;
}
.field input:focus,
.field select:focus {
  outline: none;
  border-bottom-color: var(--terracotta);
}
.field select { appearance: none; background: transparent; cursor: pointer; }

.modal .btn-primary {
  width: 100%;
  padding: 16px;
  font-size: 15px;
}

/* Checkbox opt-in inside the lead modal */
.checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: var(--bg-cream);
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
  transition: border-color 150ms ease, background 150ms ease;
  margin-top: 4px;
}
.checkbox-field:hover {
  border-color: var(--line-strong);
  background: color-mix(in oklch, var(--bg-cream) 70%, var(--bg));
}
.checkbox-field input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 1.5px solid var(--line-strong);
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  margin: 0;
  background: #fff;
  transition: background 150ms ease, border-color 150ms ease;
}
.checkbox-field input[type="checkbox"]:checked {
  background: var(--brand-red);
  border-color: var(--brand-red);
}
.checkbox-field input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 5px; top: 1px;
  width: 6px; height: 11px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.checkbox-field input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--brand-red);
  outline-offset: 2px;
}
.checkbox-label {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 14px;
  color: var(--ink);
  line-height: 1.4;
}
.checkbox-label strong {
  font-weight: 500;
  color: var(--ink);
}
.checkbox-label em {
  font-style: italic;
  font-size: 13px;
  color: var(--ink-quiet);
}

.modal-fine {
  font-size: 12px;
  color: var(--ink-quiet);
  margin-top: 16px;
  line-height: 1.5;
  text-wrap: pretty;
}

.modal-success {
  text-align: center;
  padding: 20px 0;
}
.modal-success .checkmark {
  width: 64px; height: 64px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: var(--terracotta);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px;
}
.modal-success h3 {
  font-family: var(--serif);
  font-weight: 380;
  font-size: 28px;
  color: var(--ink);
  margin-bottom: 10px;
}
.modal-success p {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.55;
}

/* ============================================================
   TWEAKS PANEL
   ============================================================ */
.tweaks-panel {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 150;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px 20px;
  box-shadow: 0 12px 40px -8px rgba(20, 15, 10, 0.2);
  width: 260px;
  font-size: 13px;
}
.tweaks-panel h4 {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 14px;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.tweaks-panel h4 button {
  background: none; border: none; cursor: pointer;
  color: var(--ink-quiet); font-size: 18px; line-height: 1;
}
.tweak-group {
  margin-bottom: 16px;
}
.tweak-group:last-child { margin-bottom: 0; }
.tweak-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-quiet);
  margin-bottom: 8px;
  font-weight: 500;
}
.tweak-radios {
  display: flex;
  gap: 4px;
  background: var(--bg-cream);
  border-radius: 8px;
  padding: 3px;
}
.tweak-radios button {
  flex: 1;
  background: transparent;
  border: none;
  padding: 8px 6px;
  font: 500 12px var(--sans);
  color: var(--ink-soft);
  border-radius: 6px;
  cursor: pointer;
  transition: background 150ms ease, color 150ms ease;
}
.tweak-radios button.active {
  background: var(--bg);
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.tweak-swatches {
  display: flex; gap: 8px;
}
.tweak-swatches button {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  padding: 0;
  transition: transform 150ms ease;
}
.tweak-swatches button.active {
  border-color: var(--ink);
  transform: scale(1.05);
}
.tweak-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}
.tweak-toggle input { accent-color: var(--terracotta); }

/* ============================================================
   MOBILE OPTIMIZATIONS
   ============================================================ */
@media (max-width: 720px) {
  :root {
    --gutter: 22px;
    --nav-h: 64px;
  }

  /* Section vertical rhythm — tighten on small screens */
  .section {
    padding: 72px var(--gutter);
  }
  .hero { padding-top: calc(var(--nav-h) + 20px); min-height: auto; }
  .hero-inner { padding-block: 20px 48px; }
  .hero.hero-fullbleed .hero-content {
    padding: calc(var(--nav-h) + 40px) var(--gutter) 40px;
  }

  /* Tap-friendly primary CTAs */
  .btn-primary {
    padding: 18px 24px;
    font-size: 16px;
    width: 100%;
    text-align: center;
  }
  .hero-ctas, .cta-pair { flex-direction: column; align-items: stretch; gap: 12px; width: 100%; }
  .cta-transitional { text-align: center; padding: 12px 0; align-self: stretch; }
  .btn-ghost { text-align: center; width: 100%; padding: 14px; }

  /* Full-bleed hero — special mobile handling.
     Kill the 100vh min-height, let content flow naturally,
     and let the image sit ABOVE the content instead of behind it. */
  .hero.hero-fullbleed {
    min-height: auto;
  }
  .hero.hero-fullbleed .hero-inner {
    display: flex;
    flex-direction: column;
    min-height: auto;
  }
  .hero.hero-fullbleed .hero-media {
    position: relative;
    height: 55vh;
    min-height: 320px;
    max-height: 480px;
    order: 1;
  }
  .hero.hero-fullbleed .hero-content {
    position: relative;
    min-height: auto;
    padding: 40px var(--gutter) 48px;
    background: var(--ink);
    color: #fff;
    order: 2;
    justify-content: flex-start;
  }
  .hero.hero-fullbleed .hero-media::after {
    /* Softer overlay on mobile since the image is its own zone now */
    background: linear-gradient(180deg, rgba(15,20,40,0.15) 0%, rgba(15,20,40,0.55) 100%);
  }
  .hero.hero-fullbleed .shield {
    /* Sit the shield on the image, not covering content */
    bottom: -32px;
    right: 20px;
    width: 88px;
    z-index: 4;
  }
  /* On mobile, the CTA pill background isn't needed — content is already on dark bg */
  .hero.hero-fullbleed .cta-transitional {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.5);
    border-radius: 0;
    padding: 12px 0;
    text-shadow: none;
  }
  .hero.hero-fullbleed .cta-transitional:hover {
    background: transparent;
    transform: none;
  }
  .hero.hero-fullbleed .hero-title,
  .hero.hero-fullbleed .hero-sub {
    text-shadow: none;
  }

  /* Nav */
  .nav-inner { gap: 12px; }
  .nav-cta { padding: 10px 16px; font-size: 13px; }
  .wordmark img { height: 30px; }

  /* Trust bar — 2x2 grid gets more room */
  .trust-bar { padding: 20px var(--gutter); }
  .trust-item-value { font-size: 22px; }

  /* Guarantee bar */
  .guarantee-bar { padding: 64px var(--gutter); }

  /* Steps & problem items — full-width single column w/ larger text */
  .step, .problem-item, .plan-step, .stakes-col {
    padding: 32px 0;
  }
  .stakes-col { padding: 32px 24px; }
  .step-num, .plan-step-num { font-size: 72px; margin-bottom: 20px; }
  .step-title, .plan-step-title { font-size: 24px; }
  .problem-item-title, .stakes-col-h { font-size: 22px; }

  /* Packages — full-width stacked cards, breathe */
  .pkg { padding: 32px 24px 28px; }
  .pkg-name { font-size: 32px; }
  .pkg-price-value { font-size: 52px; }

  /* About — image sizing */
  .about-media { aspect-ratio: 4 / 3; max-height: 60vh; }
  .about-body p:first-of-type::first-letter {
    font-size: 3em; padding: 4px 10px 0 0;
  }
  .about-tagline { padding: 20px; font-size: 18px; }

  /* Guide */
  .guide-media { aspect-ratio: 4 / 4.2; max-height: 60vh; }
  .guide-empathy { font-size: 22px; padding-left: 18px; }
  .guide-tagline { padding-left: 18px; font-size: 12px; }

  /* FAQ — larger tap area */
  .faq-q {
    padding: 24px 44px 24px 0;
    font-size: 19px;
  }
  .faq-q::after { font-size: 24px; }
  .faq-a-inner { padding: 0 0 24px 0; }

  /* Modal */
  .modal { padding: 32px 24px 28px; border-radius: 4px; }
  .modal-title { font-size: 28px; }
  .modal-sub { font-size: 16px; }
  .field input, .field select { font-size: 16px; padding: 12px 0 10px; }
  .field label { font-size: 12px; }

  /* Footer */
  .footer-inner { flex-direction: column; gap: 24px; }
  .footer-inner p { text-align: left !important; max-width: 100%; }

  /* Contact section */
  .contact-details a { font-size: 16px; }
  .contact-actions .btn-primary { align-self: stretch; }

  /* Close CTA */
  .close-cta { padding: 72px var(--gutter); }
  .close-cta h2 { font-size: clamp(40px, 10vw, 56px); }
  .close-cta p { font-size: 16px; }

  /* Guarantee bar text */
  .guarantee-bar-text { font-size: clamp(22px, 5vw, 30px); }

  /* Hero title on small phones — dial in */
  .hero-title { font-size: clamp(44px, 10vw, 60px); line-height: 1.02; }
  .section-title { font-size: clamp(34px, 8vw, 48px); }
}
