/* ===========================================
   SelfMade × Comma · proposal site
   Brand chrome: SelfMade (NOT Comma's monochrome)
   =========================================== */

:root {
  /* SelfMade locked palette */
  --bone:    #F9F7F0;
  --blue:    #0078E7;
  --blue-dark: #005FB8;
  --carmine: #B43E50;
  --forest:  #718853;
  --mustard: #D0AA29;
  --pink:    #DFA9BB;
  --orange:  #D16D48;
  --ink:     #363636;
  --ink-soft: #4A4A4A;
  --muted:   #7B7E7E;
  --line:    #E8E3D4;
  --card:    #FFFFFF;
  --pos-green: #17B968;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04), 0 2px 8px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.06), 0 12px 32px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.10), 0 2px 6px rgba(0,0,0,0.06);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bone);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Typography roles
   Display: Archivo Black (web proxy for Gopher Black)
   Body: Inter (web proxy for Apercu Pro)                 */
.display { font-family: 'Archivo Black', system-ui, sans-serif; font-weight: 900; letter-spacing: -0.02em; line-height: 1.02; color: var(--ink); }
.hand { font-family: 'Caveat', cursive; font-weight: 600; }
.mono-label {
  font-family: 'Archivo Black', sans-serif;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img { display: block; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
section { padding: 96px 0; position: relative; }

/* ============= NAV ============= */
nav.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(249, 247, 240, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
nav.top.scrolled { border-bottom-color: var(--line); }
nav.top .inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 32px; max-width: 1240px; margin: 0 auto; gap: 16px;
}
nav .brand {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Archivo Black'; font-weight: 900;
  font-size: 20px; color: var(--blue); letter-spacing: -0.01em;
}
nav .brand .x { color: var(--ink); margin: 0 4px; font-weight: 700; opacity: 0.55; font-size: 18px; }
nav .brand .brand-sm { line-height: 1; }
nav .brand .comma-logo-nav { height: 18px; width: auto; vertical-align: -3px; display: inline-block; }
nav .links { display: flex; gap: 24px; font-size: 14px; font-weight: 500; }
nav .links a { color: var(--ink-soft); }
nav .links a:hover { color: var(--ink); text-decoration: none; }
nav .pill {
  background: var(--blue); color: var(--bone);
  padding: 10px 18px; border-radius: 999px;
  font-family: 'Archivo Black';
  font-weight: 900; font-size: 13px;
  letter-spacing: 0.04em;
  transition: transform .15s ease, box-shadow .15s ease;
}
nav .pill:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); text-decoration: none; }
@media (max-width: 900px) { nav .links { display: none; } }

/* ============= HERO ============= */
.hero { padding: 80px 0 72px; }
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(440px, 1fr) minmax(480px, 1.05fr);
  gap: 56px; align-items: center;
}
@media (max-width: 1080px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
}
.hero-left { position: relative; z-index: 2; }
.hero h1 {
  font-size: clamp(44px, 5.6vw, 80px);
  margin: 24px 0 28px;
}
.hero h1 .circled {
  position: relative; display: inline-block; padding: 0 8px;
}
.hero h1 .circled::after {
  content: "";
  position: absolute; inset: -6px -4px -8px -4px;
  border: 3px solid var(--ink);
  border-radius: 58% 42% 53% 47% / 48% 50% 50% 52%;
  transform: rotate(-2deg);
  pointer-events: none;
}
.hero h1 .comma-logo-hero {
  height: 0.7em;
  width: auto;
  display: inline-block;
  vertical-align: 0.04em;
}
.hero .lead {
  font-size: 19px; line-height: 1.6; max-width: 600px; color: var(--ink-soft);
}
.hero .meta {
  display: flex; gap: 24px; margin-top: 32px;
  font-size: 13px; color: var(--muted); flex-wrap: wrap;
}
.hero .meta span b { color: var(--ink); font-weight: 700; }
.hero .scribble {
  margin-top: 24px; color: var(--carmine);
  font-size: 26px; transform: rotate(-2deg); display: inline-block;
}

.hero-btns { margin-top: 28px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 30px; border-radius: 999px;
  font-family: 'Archivo Black';
  font-weight: 900; font-size: 14px;
  letter-spacing: 0.04em;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.hero-btn-primary { background: var(--blue); color: var(--bone); box-shadow: var(--shadow-sm); }
.hero-btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); text-decoration: none; }
.hero-btn-secondary { background: transparent; color: var(--ink); border: 2px solid var(--ink); }
.hero-btn-secondary:hover { background: var(--ink); color: var(--bone); text-decoration: none; }

/* Hero gallery: 6 spec ad tiles */
.hero-gallery {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  aspect-ratio: 3 / 2.4;
  width: 100%;
}
.hero-gallery .tile {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: var(--card);
  box-shadow: 0 1px 2px rgba(0,0,0,0.06), 0 6px 14px rgba(0,0,0,0.06);
  transition: transform 200ms ease, box-shadow 200ms ease;
  cursor: pointer;
}
.hero-gallery .tile:nth-child(1) { transform: rotate(-1.2deg); }
.hero-gallery .tile:nth-child(2) { transform: rotate(0.6deg); }
.hero-gallery .tile:nth-child(3) { transform: rotate(-0.4deg); }
.hero-gallery .tile:nth-child(4) { transform: rotate(0.8deg); }
.hero-gallery .tile:nth-child(5) { transform: rotate(-0.6deg); }
.hero-gallery .tile:nth-child(6) { transform: rotate(1deg); }
.hero-gallery .tile:hover {
  transform: rotate(0) translateY(-4px) scale(1.03);
  box-shadow: 0 12px 24px rgba(0,0,0,0.16), 0 24px 36px rgba(0,0,0,0.10);
  z-index: 5;
}
.hero-gallery .tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-gallery .badge {
  position: absolute; top: 8px; right: 8px;
  background: var(--ink); color: var(--bone);
  padding: 6px 12px 6px 10px;
  border-radius: 999px;
  font-family: 'Archivo Black';
  font-weight: 900; font-size: 10px;
  letter-spacing: 0.1em;
  display: flex; align-items: center; gap: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.18);
  z-index: 10;
  pointer-events: none;
}
.hero-gallery .badge::before {
  content: ""; width: 7px; height: 7px; border-radius: 4px;
  background: var(--pos-green);
  box-shadow: 0 0 0 3px rgba(23,185,104,0.25);
}

/* ============= SECTION HEADER ============= */
.sec-head { margin-bottom: 56px; max-width: 880px; }
.sec-head h2 {
  font-size: clamp(36px, 5vw, 60px);
  margin: 14px 0 16px;
}
.sec-head p {
  font-size: 19px; color: var(--ink-soft); line-height: 1.55;
  max-width: 740px;
}
.inline-link {
  color: var(--blue); font-weight: 700;
  border-bottom: 1.5px solid var(--blue);
}
.inline-link:hover { text-decoration: none; border-bottom-color: var(--blue-dark); }

/* ============= PROBLEM ============= */
.problem {
  background: var(--card);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 8px;
}
@media (max-width: 900px) { .problem-grid { grid-template-columns: 1fr; } }
.problem-card {
  background: var(--bone);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px 30px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.problem-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card-eyebrow {
  font-family: 'Archivo Black';
  font-weight: 900; font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--carmine);
  margin-bottom: 12px;
}
.card-stat {
  font-family: 'Archivo Black';
  font-weight: 900;
  font-size: clamp(40px, 4.5vw, 56px);
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--blue);
  margin-bottom: 8px;
}
.problem-card h3 {
  font-family: 'Archivo Black';
  font-weight: 900;
  font-size: 24px;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 12px;
  line-height: 1.15;
}
.problem-card p {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.55;
}

.problem-quote {
  margin-top: 48px;
  padding: 36px 40px;
  background: var(--ink);
  color: var(--bone);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}
.problem-quote::before {
  content: """;
  position: absolute;
  top: 12px; left: 24px;
  font-family: Georgia, serif;
  font-size: 120px;
  color: rgba(208, 170, 41, 0.20);
  line-height: 1;
  pointer-events: none;
}
.quote-text {
  position: relative;
  font-family: 'Archivo Black';
  font-weight: 900;
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.45;
  letter-spacing: -0.01em;
  max-width: 920px;
}
.quote-cite {
  position: relative;
  margin-top: 16px;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--mustard);
  font-weight: 600;
}

/* ============= SOLUTION ============= */
.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 1000px) { .solution-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .solution-grid { grid-template-columns: 1fr; } }
.solution-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 30px 28px;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  display: flex; flex-direction: column;
}
.solution-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--blue); }
.card-num {
  font-family: 'Archivo Black';
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 0.14em;
  color: var(--carmine);
  margin-bottom: 14px;
}
.solution-card h3 {
  font-family: 'Archivo Black';
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 12px;
  line-height: 1.15;
}
.solution-card p {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
}
.solution-card p b { color: var(--ink); font-weight: 700; }

/* ============= WORK PREVIEW ============= */
.work-preview {
  background: var(--card);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 900px) { .preview-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .preview-grid { grid-template-columns: 1fr; } }
.preview-tile {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: var(--bone);
  aspect-ratio: 1 / 1;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  transition: transform .2s ease, box-shadow .2s ease;
  display: block;
}
.preview-tile:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.10); text-decoration: none; }
.preview-tile img { width: 100%; height: 100%; object-fit: cover; }
.preview-tile .tile-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.85));
  color: var(--bone);
  padding: 28px 14px 12px;
  font-size: 12px; letter-spacing: 0.02em;
  opacity: 0;
  transition: opacity .2s ease;
}
.preview-tile:hover .tile-cap { opacity: 1; }
.preview-tile .tile-cap b {
  font-family: 'Archivo Black'; font-weight: 900; font-size: 11px;
  letter-spacing: 0.08em; margin-right: 8px;
}
.preview-cta { margin-top: 40px; text-align: center; }
.ghost-pill {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
  font-family: 'Archivo Black';
  font-weight: 900; font-size: 13px;
  letter-spacing: 0.08em; text-transform: uppercase;
  transition: background .15s ease, color .15s ease, transform .15s ease;
}
.ghost-pill:hover { background: var(--blue); color: var(--bone); transform: translateY(-1px); text-decoration: none; }

/* ============= CHART ============= */
.chart-sec { background: var(--bone); }
.chart-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 40px 36px;
  box-shadow: var(--shadow-sm);
}
.chart-legend {
  display: flex; gap: 28px; flex-wrap: wrap;
  margin-bottom: 28px;
  font-size: 13px; color: var(--muted);
  font-weight: 500;
}
.chart-legend .swatch {
  display: inline-block; width: 18px; height: 6px;
  border-radius: 3px; margin-right: 8px; vertical-align: middle;
}
.chart-legend .swatch.your { background: var(--carmine); }
.chart-legend .swatch.other { background: var(--forest); }
.chart-bars {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.chart-row {
  display: grid;
  grid-template-columns: 260px 1fr 90px;
  gap: 16px; align-items: center;
}
.chart-row .row-label {
  font-size: 14px; color: var(--ink);
  font-weight: 600;
  text-align: right;
  line-height: 1.3;
}
.chart-row .row-track {
  background: #F4F2EA;
  border-radius: 8px;
  height: 22px;
  overflow: hidden;
  position: relative;
}
.chart-row .row-bar {
  height: 100%;
  border-radius: 8px;
  transition: width .8s cubic-bezier(0.4, 0, 0.2, 1);
}
.chart-row .row-value {
  font-family: 'Archivo Black';
  font-weight: 900;
  font-size: 18px;
  color: var(--ink);
  text-align: right;
  letter-spacing: -0.01em;
}
.chart-row .row-value small {
  font-size: 11px;
  color: var(--muted);
  font-family: 'Inter';
  font-weight: 600;
  margin-left: 4px;
}
.chart-row-highlight .row-label { color: var(--carmine); font-weight: 700; }
.chart-row-highlight .row-value { color: var(--carmine); }
.chart-row-current .row-label { color: var(--ink); font-weight: 700; }
.chart-row-current .row-track { background: #EFEDE3; }

.chart-note {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 880px;
}
@media (max-width: 760px) {
  .chart-row { grid-template-columns: 150px 1fr 80px; gap: 10px; }
  .chart-row .row-label { font-size: 12px; }
  .chart-row .row-value { font-size: 15px; }
}

/* ============= TIERS ============= */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 1080px) { .tier-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .tier-grid { grid-template-columns: 1fr; } }
.tier-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 32px 26px 26px;
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.tier-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.tier-stripe {
  position: absolute; top: 0; left: 0; right: 0;
  height: 6px;
}
.stripe-forest  { background: var(--forest); }
.stripe-blue    { background: var(--blue); }
.stripe-carmine { background: var(--carmine); }
.stripe-mustard { background: var(--mustard); }

.tier-recommended {
  background: linear-gradient(180deg, #FEF5F7 0%, var(--card) 100%);
  border-color: var(--carmine);
  box-shadow: 0 8px 32px rgba(180, 62, 80, 0.10);
}
.tier-recommended:hover { box-shadow: 0 12px 40px rgba(180, 62, 80, 0.16); transform: translateY(-4px); }

.tier-flag {
  position: absolute;
  top: 16px; right: 18px;
  background: var(--carmine); color: var(--bone);
  padding: 5px 12px; border-radius: 999px;
  font-family: 'Archivo Black';
  font-weight: 900; font-size: 10px;
  letter-spacing: 0.12em; text-transform: uppercase;
}
.tier-eyebrow {
  font-family: 'Archivo Black';
  font-weight: 900; font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
  margin-top: 6px;
}
.tier-card h3 {
  font-family: 'Archivo Black';
  font-weight: 900;
  font-size: clamp(22px, 2vw, 26px);
  letter-spacing: -0.018em;
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: 14px;
}
.tier-price {
  font-family: 'Archivo Black';
  font-weight: 900;
  font-size: clamp(28px, 3vw, 36px);
  letter-spacing: -0.025em;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 22px;
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.tier-price small {
  font-size: 13px;
  color: var(--muted);
  font-family: 'Inter';
  font-weight: 600;
  letter-spacing: 0;
}
.tier-recommended .tier-price { color: var(--carmine); }
.tier-features {
  list-style: none;
  margin: 0 0 22px 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
  flex: 1;
}
.tier-features li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-soft);
  margin-bottom: 11px;
}
.tier-features li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--blue);
}
.tier-recommended .tier-features li::before { background: var(--carmine); }
.tier-fit {
  padding: 14px 16px;
  background: var(--bone);
  border-radius: 12px;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.5;
  font-style: italic;
}
.tier-recommended .tier-fit {
  background: rgba(180, 62, 80, 0.06);
  color: var(--ink);
}

.tier-footnote {
  margin-top: 28px;
  padding: 20px 24px;
  background: var(--bone);
  border-radius: 14px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}

/* ============= PACKAGE / PRICING (slider + 3 tiers + add-ons + total) ============= */
.pkg-section { padding: clamp(64px, 8vw, 110px) 0; background: var(--bone); }

/* Slider */
.pkg-slider-wrap {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 32px 24px;
  margin-top: 36px;
  box-shadow: var(--shadow-sm);
}
.pkg-slider-top {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 22px; flex-wrap: wrap; gap: 12px;
}
.pkg-slider-label {
  font-family: 'Archivo Black', sans-serif;
  font-weight: 900; font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--blue);
}
.pkg-slider-savings {
  font-family: 'Archivo Black', sans-serif;
  font-weight: 900; font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--bone);
  background: var(--carmine);
  padding: 7px 14px;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(180,62,80,0.28);
  transition: background 160ms ease, transform 160ms ease;
}

/* 5-stop tick row above the slider track.
   Native range inputs in WebKit / Blink / Gecko keep the thumb's edges within the
   track bounds: at value=min the thumb's center sits at THUMB_RADIUS from the track's
   left edge; at value=max the thumb's center sits at (track_width - THUMB_RADIUS) from
   the left. The thumb center traces a percentage of the "inset" range
   [THUMB_RADIUS, track_width - THUMB_RADIUS] as the value moves from min to max.

   To make each tick label align dead-center under the thumb at each snap stop, the
   tick row is positioned over that inset range. Inset from the slider track by
   THUMB_RADIUS (13px) on each side. Then ticks at left: 0/25/50/75/100% with
   translateX(-50%) anchor to the exact x-coordinates the thumb center hits. */
.pkg-slider-track-wrap {
  position: relative;
  padding: 0 22px; /* outer breathing room so leftmost / rightmost tick labels don't clip */
}
@media (max-width: 720px) {
  .pkg-slider-track-wrap { padding: 0 16px; }
}
.pkg-slider-ticks {
  position: relative;
  height: 56px;
  margin: 30px 13px 6px; /* THUMB_RADIUS inset on each side to match thumb travel zone; top breathing room for the "Recommended for Comma" badge that floats above the $400K tick */
}
.pkg-slider-stop {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  appearance: none; background: transparent; border: 0;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 8px 6px 10px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 140ms ease, transform 120ms ease;
  font-family: 'Inter', sans-serif;
  white-space: nowrap;
}
.pkg-slider-stop[data-idx="0"] { left: 0%; }
.pkg-slider-stop[data-idx="1"] { left: 25%; }
.pkg-slider-stop[data-idx="2"] { left: 50%; }
.pkg-slider-stop[data-idx="3"] { left: 75%; }
.pkg-slider-stop[data-idx="4"] { left: 100%; }
.pkg-slider-stop:hover { background: rgba(180, 62, 80, 0.06); }
.pkg-slider-stop.active {
  background: rgba(180, 62, 80, 0.10);
  transform: translateX(-50%) translateY(-1px);
}
.pkg-slider-stop .stop-dollar {
  font-family: 'Archivo Black', sans-serif;
  font-weight: 900; font-size: 14px; letter-spacing: -0.01em;
  color: var(--ink-soft);
}
.pkg-slider-stop .stop-meta {
  font-family: 'Inter', sans-serif;
  font-size: 11px; font-weight: 600; color: var(--muted);
  letter-spacing: 0.02em;
}
.pkg-slider-stop.active .stop-dollar { color: var(--carmine); }
.pkg-slider-stop.active .stop-meta { color: var(--ink-soft); }

/* "Recommended for Comma" editorial pill — floats above the $400K tick.
   Carmine fill + bone text in Archivo Black small-caps. Down-pointing
   triangle anchors it to the tick label below. Editorial chrome, not a
   sale banner — kept narrow, restrained shadow, no animation. */
.pkg-slider-stop--rec { overflow: visible; }
.rec-badge {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--carmine);
  color: var(--bone);
  font-family: 'Archivo Black', sans-serif;
  font-weight: 900;
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 6px 11px 5px;
  border-radius: 3px;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(180, 62, 80, 0.28);
  pointer-events: none;
  z-index: 2;
}
.rec-badge::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid var(--carmine);
}

/* Slider: width matches the tick row exactly so the thumb's snap positions
   align with the tick anchor points. */
.pkg-slider {
  display: block;
  width: 100%;
  height: 8px; -webkit-appearance: none; appearance: none;
  background: rgba(54,54,54,0.15); border-radius: 999px; outline: none;
  margin: 4px 0 0;
}
.pkg-slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 26px; height: 26px; background: var(--carmine); border: 3px solid var(--bone);
  border-radius: 50%; cursor: pointer;
  box-shadow: 0 2px 8px rgba(180,62,80,0.40);
  transition: transform 120ms ease;
}
.pkg-slider::-webkit-slider-thumb:hover { transform: scale(1.10); }
.pkg-slider::-moz-range-thumb {
  width: 26px; height: 26px; background: var(--carmine); border: 3px solid var(--bone);
  border-radius: 50%; cursor: pointer;
  box-shadow: 0 2px 8px rgba(180,62,80,0.40);
}
.pkg-slider-affordance {
  margin-top: 14px;
  font-family: 'Inter', sans-serif;
  font-size: 12.5px; color: var(--muted);
  font-style: italic;
  letter-spacing: 0.01em;
}

@media (max-width: 720px) {
  .pkg-slider-ticks { height: 60px; margin-top: 28px; }
  .pkg-slider-stop { padding: 6px 4px 8px; }
  .pkg-slider-stop .stop-dollar { font-size: 12px; }
  .pkg-slider-stop .stop-meta { font-size: 10px; }
  .rec-badge { font-size: 8.5px; padding: 5px 8px 4px; letter-spacing: 0.12em; }
}

/* Editorial readout. Replaces the SaaS "proposal total" card */
.editorial-readout {
  margin-top: 36px;
  padding: 36px 40px 32px;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--carmine);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}
@media (max-width: 720px) { .editorial-readout { padding: 28px 24px 24px; } }
.editorial-pull {
  font-family: 'Archivo Black', sans-serif;
  font-weight: 900; font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.32; letter-spacing: -0.018em;
  color: var(--ink);
  margin: 0 0 22px;
}
.editorial-pull b { font-weight: 900; color: var(--carmine); }
.editorial-pull #er-per { color: var(--ink); }
.editorial-addon {
  font-family: 'Inter', sans-serif;
  font-size: 15.5px; line-height: 1.55;
  color: var(--ink-soft);
  margin: 0 0 18px;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
}
.editorial-addon b { color: var(--ink); font-weight: 700; }
.editorial-quote {
  font-family: 'Inter', sans-serif;
  font-size: 13.5px; line-height: 1.55;
  color: var(--muted);
  font-style: italic;
  margin: 0;
}
.editorial-cite {
  font-style: normal;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.02em;
  margin-left: 4px;
}

/* LP add-on toggle. Single fixed option: 2 LPs / month, +$3,000 */
.lp-toggle {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  margin-top: 22px;
  background: rgba(0, 120, 231, 0.04);
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease;
  user-select: none;
}
.lp-toggle:hover {
  background: rgba(0, 120, 231, 0.08);
  border-color: rgba(0, 120, 231, 0.25);
}
.lp-toggle input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.lp-toggle-box {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border: 2px solid var(--ink-soft);
  border-radius: 6px;
  background: var(--card);
  position: relative;
  transition: background 140ms ease, border-color 140ms ease;
}
.lp-toggle-box::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 6px;
  height: 11px;
  border: solid var(--card);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transform-origin: center;
  transition: transform 160ms ease;
}
.lp-toggle input[type="checkbox"]:checked ~ .lp-toggle-box {
  background: var(--carmine);
  border-color: var(--carmine);
}
.lp-toggle input[type="checkbox"]:checked ~ .lp-toggle-box::after {
  transform: rotate(45deg) scale(1);
}
.lp-toggle input[type="checkbox"]:focus-visible ~ .lp-toggle-box {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
.lp-toggle-copy {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
}
.lp-toggle-headline {
  font-family: 'Inter', sans-serif;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
}
.lp-toggle-headline b {
  color: var(--carmine);
  font-weight: 800;
}
.lp-toggle-sub {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
  line-height: 1.5;
}
@media (max-width: 720px) {
  .lp-toggle { padding: 16px; }
  .lp-toggle-headline { font-size: 14.5px; }
  .lp-toggle-sub { font-size: 12.5px; }
}

/* All-in monthly cost. Final sticker price below the editorial readout. */
.all-in-block {
  margin-top: 22px;
  padding: 28px 32px;
  background: var(--ink);
  color: var(--bone);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  box-shadow: var(--shadow-md);
}
.all-in-label {
  font-family: 'Archivo Black', sans-serif;
  font-weight: 900;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mustard);
}
.all-in-amount {
  font-family: 'Archivo Black', sans-serif;
  font-weight: 900;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.0;
  letter-spacing: -0.025em;
  color: var(--bone);
  margin-top: 2px;
  transition: color 160ms ease;
}
.all-in-detail {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: rgba(249, 247, 240, 0.7);
  letter-spacing: 0.01em;
  margin-top: 4px;
}
.all-in-detail .all-in-plus {
  display: inline-block;
  margin: 0 4px;
  color: var(--mustard);
  font-weight: 700;
}
@media (max-width: 720px) {
  .all-in-block { padding: 22px 24px; }
  .all-in-detail { font-size: 13px; }
}

/* Scale-up note */
.scale-note {
  margin-top: 28px;
  font-size: 14.5px; line-height: 1.6; color: var(--ink-soft);
  padding: 20px 26px;
  background: rgba(0,120,231,0.06);
  border-radius: 12px;
  border-left: 4px solid var(--blue);
}
.scale-note b { color: var(--blue); font-weight: 700; }

/* Timeline anchor note */
.tier-anchor-note {
  margin-top: 28px; margin-bottom: 32px;
  padding: 18px 22px;
  background: rgba(180, 62, 80, 0.06);
  border-left: 4px solid var(--carmine);
  border-radius: 10px;
  font-size: 14.5px; line-height: 1.55;
  color: var(--ink-soft);
}
.tier-anchor-note b { color: var(--carmine); font-weight: 800; }

/* ============= TIMELINE ============= */
.timeline { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
@media (max-width: 900px) { .timeline-grid { grid-template-columns: 1fr; } }
.timeline-step {
  background: var(--bone);
  border-radius: 20px;
  padding: 28px 24px;
  border-top: 4px solid var(--blue);
}
.timeline-step:nth-child(2) { border-top-color: var(--forest); }
.timeline-step:nth-child(3) { border-top-color: var(--mustard); }
.timeline-step:nth-child(4) { border-top-color: var(--carmine); }
.step-marker {
  display: inline-block;
  margin-bottom: 16px;
}
.step-marker span {
  font-family: 'Archivo Black';
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--blue);
}
.timeline-step:nth-child(2) .step-marker span { color: var(--forest); }
.timeline-step:nth-child(3) .step-marker span { color: var(--mustard); }
.timeline-step:nth-child(4) .step-marker span { color: var(--carmine); }
.timeline-step h3 {
  font-family: 'Archivo Black';
  font-weight: 900;
  font-size: 19px;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.2;
}
.timeline-step p {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.55;
}

/* ============= ABOUT ============= */
.about { background: var(--bone); }
.about-card {
  background: var(--card);
  border-radius: 28px;
  padding: clamp(40px, 5vw, 64px);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.about-left h2 { font-size: clamp(36px, 5vw, 56px); margin: 14px 0 20px; }
.about-left p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 920px;
}
.about-left p b { color: var(--ink); font-weight: 700; }
.about-stats {
  display: flex; gap: 48px; flex-wrap: wrap;
  margin-top: 36px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}
.about-stat .n {
  font-family: 'Archivo Black';
  font-weight: 900;
  font-size: clamp(36px, 4vw, 48px);
  color: var(--blue);
  letter-spacing: -0.025em;
  line-height: 1;
}
.about-stat .l {
  margin-top: 6px;
  font-size: 14px;
  color: var(--muted);
  font-family: 'Archivo Black';
  font-weight: 900;
  letter-spacing: 0.04em;
  max-width: 220px;
}

/* ============= CTA ============= */
.cta-section { padding-bottom: 64px; }
.cta {
  background: var(--blue);
  color: var(--bone);
  border-radius: 32px;
  padding: clamp(48px, 6vw, 80px) clamp(28px, 4vw, 56px);
  text-align: center;
  position: relative; overflow: hidden;
}
.cta::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 80%, rgba(208,170,41,0.32), transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(223,169,187,0.30), transparent 50%);
  pointer-events: none;
}
.cta h2 {
  position: relative;
  font-family: 'Archivo Black';
  font-weight: 900;
  font-size: clamp(36px, 5vw, 56px);
  color: var(--bone);
  letter-spacing: -0.025em;
  line-height: 1.05;
}
.cta p {
  position: relative;
  font-size: 18px; margin-top: 16px;
  max-width: 660px; margin-left: auto; margin-right: auto;
  color: rgba(249, 247, 240, 0.92);
  line-height: 1.55;
}
.cta .btns {
  position: relative;
  margin-top: 36px;
  display: inline-flex; gap: 14px; flex-wrap: wrap; justify-content: center;
}
.cta .btn {
  display: inline-block; padding: 16px 28px; border-radius: 999px;
  font-family: 'Archivo Black';
  font-weight: 900; font-size: 15px;
  transition: transform .15s ease, box-shadow .15s ease;
  letter-spacing: 0.02em;
}
.cta .btn-primary { background: var(--bone); color: var(--ink); }
.cta .btn-primary:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); text-decoration: none; }
.cta .btn-ghost { background: transparent; color: var(--bone); border: 2px solid rgba(249, 247, 240, 0.5); }
.cta .btn-ghost:hover { border-color: var(--bone); text-decoration: none; }

/* ============= FOOTER ============= */
footer { padding: 40px 0 72px; color: var(--muted); font-size: 14px; }
footer .wrap {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
}
footer .footer-brand {
  font-family: 'Archivo Black';
  font-weight: 900;
  color: var(--blue);
  font-size: 16px;
  letter-spacing: 0.04em;
}
footer .footer-text a { color: var(--blue); font-weight: 600; }

/* ============= WORK.HTML EXTRAS ============= */
.work-hero { padding: 80px 0 56px; }
.work-hero h1 {
  font-size: clamp(40px, 6vw, 80px);
  margin: 20px 0 24px;
}
.work-hero h1 .circled {
  position: relative; display: inline-block; padding: 0 8px;
}
.work-hero h1 .circled::after {
  content: "";
  position: absolute; inset: -6px -4px -8px -4px;
  border: 3px solid var(--ink);
  border-radius: 58% 42% 53% 47% / 48% 50% 50% 52%;
  transform: rotate(-2deg);
  pointer-events: none;
}
.work-hero h1 .comma-logo-hero {
  height: 0.7em;
  width: auto;
  display: inline-block;
  vertical-align: 0.04em;
}
.work-hero .lead {
  font-size: clamp(17px, 1.6vw, 21px);
  max-width: 820px; color: var(--ink-soft);
  line-height: 1.55; margin: 0 0 28px;
}
.work-stats {
  display: flex; flex-wrap: wrap; gap: 28px 44px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: 8px;
}
.work-stat .n {
  font-family: 'Archivo Black';
  font-weight: 900;
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1; color: var(--blue);
  letter-spacing: -0.025em;
}
.work-stat .l {
  font-size: 13px;
  color: var(--muted);
  margin-top: 6px;
  font-family: 'Archivo Black';
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ad-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 0;
}
@media (max-width: 900px) { .ad-grid { grid-template-columns: 1fr; } }
.ad-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .15s ease, box-shadow .15s ease;
}
.ad-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.ad-card .ad-img {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--bone);
  overflow: hidden;
  cursor: zoom-in;
}
.ad-card .ad-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ad-card .ad-num {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(54, 54, 54, 0.86);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: var(--bone);
  padding: 6px 12px;
  border-radius: 999px;
  font-family: 'Archivo Black';
  font-weight: 900; font-size: 12px;
  letter-spacing: 0.08em;
}
.ad-card .ad-meta {
  padding: 22px 24px 26px;
  display: flex; flex-direction: column; gap: 10px;
  flex: 1;
}
.ad-card .ad-title {
  font-family: 'Archivo Black';
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.015em;
  color: var(--ink);
  line-height: 1.15;
}
.ad-card .ad-format {
  font-family: 'Archivo Black';
  font-weight: 900; font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--carmine);
}
.ad-card .ad-pae {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.ad-card .ad-pae b { color: var(--ink); font-weight: 600; }
.ad-card .ad-scene {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin-top: 6px;
}

.voice-card {
  margin-top: 80px;
  background: var(--ink);
  color: var(--bone);
  border-radius: 28px;
  padding: clamp(36px, 5vw, 56px);
  position: relative;
  overflow: hidden;
}
.voice-card::before {
  content: "";
  position: absolute;
  inset: -30% -10% auto auto;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(208, 170, 41, 0.20), transparent 65%);
  filter: blur(20px);
  pointer-events: none;
}
.voice-card > * { position: relative; }
.voice-card .v-eyebrow {
  font-family: 'Archivo Black';
  font-weight: 900; font-size: 12px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--mustard);
  margin-bottom: 14px;
}
.voice-card h2 {
  font-family: 'Archivo Black';
  font-weight: 900;
  font-size: clamp(28px, 3.5vw, 42px);
  letter-spacing: -0.02em;
  color: var(--bone);
  margin-bottom: 24px;
  line-height: 1.1;
}
.voice-card p {
  font-size: 16px; line-height: 1.65;
  color: rgba(249, 247, 240, 0.88);
  max-width: 920px;
}
.voice-card p b { color: var(--bone); font-weight: 700; }
.voice-card .v-stages {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .voice-card .v-stages { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .voice-card .v-stages { grid-template-columns: 1fr; } }
.v-stage {
  padding: 18px 16px;
  background: rgba(249, 247, 240, 0.04);
  border-radius: 12px;
  border: 1px solid rgba(249, 247, 240, 0.10);
}
.v-stage .num {
  font-family: 'Archivo Black';
  font-weight: 900;
  font-size: 22px;
  color: var(--mustard);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.v-stage h4 {
  font-family: 'Archivo Black';
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--bone);
  margin-bottom: 6px;
}
.v-stage p {
  font-size: 13px;
  color: rgba(249, 247, 240, 0.78);
  line-height: 1.5;
  margin: 0;
}

/* ============= LIGHTBOX (work.html) ============= */
.lb {
  display: none;
  position: fixed; inset: 0; z-index: 100;
  background: rgba(15, 15, 25, 0.92);
  align-items: center; justify-content: center;
  padding: 24px;
  cursor: zoom-out;
}
.lb.on { display: flex; }
.lb img { max-width: 96vw; max-height: 92vh; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,0.6); }
.lb .close {
  position: absolute;
  top: 24px; right: 28px;
  color: var(--bone);
  font-size: 28px; font-weight: 300;
  cursor: pointer;
}

/* ============= RESPONSIVE ============= */
@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  section { padding: 64px 0; }
  nav.top .inner { padding: 14px 20px; }
  .hero { padding: 56px 0 48px; }
  .hero .meta { gap: 14px 24px; }
  .about-stats { gap: 24px; }
  .work-stats { gap: 18px 28px; }
}
