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

/* Force light mode — prevent iOS/Android dark mode from inverting */
:root { color-scheme: light only; }
html { background: #F7F5F0 !important; }
body { background: #F7F5F0 !important; color: #28261F !important; }
@media (prefers-color-scheme: dark) {
  /* Force ALL elements to cream/charcoal — no revert, explicit values only */
  html, body { background: #F7F5F0 !important; color: #28261F !important; }
  
  /* Page wrapper and generic sections — cream bg, no div catch-all */
  .page, .section { background: transparent !important; }
  article, aside, main { background-color: inherit !important; }
  
  /* Explicit section backgrounds */
  .section { background: transparent !important; color: #28261F !important; }
  
  /* Schedule table — explicit white text on dark sections, dark on light */
  .sched td { color: inherit !important; }
  .sched { background: transparent !important; }
  
  /* All general text */
  p, h1, h2, h3, h4, span, li, td, th, label { color: inherit !important; }

  /* Compare table */
  .compare-table, .comp-table { width: 100%; border-collapse: collapse; }
  .compare-cell { background: #fff !important; color: #28261F !important; }
  .compare-row-label { background: #F7F5F0 !important; color: #28261F !important; }
  .compare-th { background: #F7F5F0 !important; color: #8A8680 !important; }
  .compare-th--works { background: #1A3828 !important; color: rgba(255,255,255,0.7) !important; }
  .compare-cell--works { background: rgba(26,56,40,0.04) !important; color: #28261F !important; }
  .compare-note { color: #8A8680 !important; }
  
  /* Preserve ALL intentional forest-green backgrounds */
  .hero, .hero-bg, .zillow-block, .mission,
  .calc-cta, .stats-strip, .oh-callout-dark,
  .works-calc .wc-header, .works-calc .wc-cta { 
    background-color: #1A3828 !important; 
  }
  /* Zillow section stats */
  .zillow-proof { background: rgba(255,255,255,0.04) !important; }
  .zillow-proof-num { color: #fff !important; }
  .zillow-proof-label { color: rgba(255,255,255,0.55) !important; }
  
  /* Hero text — must stay white on forest green */
  .hero-headline { color: #fff !important; }
  .hero-sub, .hero-eyebrow { color: rgba(255,255,255,0.75) !important; }
  .hero-headline em { color: rgba(255,255,255,0.85) !important; }
  
  /* Zillow section text — stays white on forest green */
  .zillow-block h2, .zillow-block p, .zillow-block span,
  .zillow-headline, .zillow-sub, .zillow-eyebrow,
  .zillow-proof-num, .zillow-proof-label { color: inherit !important; }
  
  /* Spaces section — dark text on cream background (must override line 23's color:inherit) */
  .spaces-eyebrow { color: #1A3828 !important; }
  .spaces-headline { color: #121110 !important; }
  .spaces-headline em { color: #28261F !important; }
  .spaces-sub { color: #28261F !important; }

  /* Section text — strip explicit colors so they inherit body's #28261F (cream-themed sections) */
  .section-headline, .section-body, .section-eyebrow { color: inherit !important; }

  /* Dark background page overrides */
  .page:last-of-type { background: #1A3828 !important; color: rgba(255,255,255,0.78) !important; }
  .page:last-of-type .section { background: transparent !important; color: rgba(255,255,255,0.78) !important; }
  .page:last-of-type .section-eyebrow { color: rgba(255,255,255,0.65) !important; }
  .page:last-of-type .section-headline { color: rgba(255,255,255,0.85) !important; }
  .page:last-of-type .section-headline em { color: rgba(255,255,255,0.85) !important; }
  .page:last-of-type .section-body { color: rgba(255,255,255,0.78) !important; }
  .page:last-of-type .work-week-preface { color: rgba(255,255,255,0.78) !important; }
  .page:last-of-type .work-week-preface p, .page:last-of-type .work-week-preface h2, .page:last-of-type .work-week-preface em { color: rgba(255,255,255,0.78) !important; }

  /* Preserve cream page background globally */
  body { background: #F7F5F0 !important; }
}

:root {
  --forest:     #1A3828;
  --forest-mid: #2C5840;
  --forest-lt:  #3D7554;
  --forest-pale:#EDF1EE;
  --cream:      #F7F5F0;
  --off-white:  #FAFAF7;
  --warm-gray:  #5A5651;
  --mid-gray:   #C2BDB6;
  --rule:       #D4CEC6;
  --dark:       #121110;
  --charcoal:   #28261F;
  --serif:     'Source Serif 4', Georgia, serif;
  --body:      'Source Serif 4', Georgia, serif;
  --mono:      'JetBrains Mono Variable', monospace;
}

html { font-size: 16px; background: var(--cream); scroll-behavior: smooth; }
body { font-family: var(--body); color: var(--charcoal); background: var(--cream); -webkit-font-smoothing: antialiased; }

/* ── NAV ── */
.topbar {
  position: fixed; top: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 56px;
  background: rgba(247,245,240,0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--rule);
  z-index: 200;
}
.nav-logo img { height: 32px; width: auto; display: block; }
.nav-logo-img {
  height: 40px;
  width: auto;
  display: block;
  filter: brightness(0) saturate(100%) invert(15%) sepia(35%) saturate(700%) hue-rotate(112deg) brightness(0.9);
}
.nav-right { display: flex; align-items: center; gap: 28px; }
.nav-phone { font-family: var(--mono); font-size: 11px; color: var(--warm-gray); letter-spacing: 0.05em; }
.nav-tag {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--forest-mid);
  border: 1px solid var(--forest-mid); padding: 6px 16px;
}

/* ── HERO ── */
.hero {
  position: relative; height: 100vh; min-height: 700px;
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden; padding-top: 64px;
  color: rgba(255,255,255,0.78) !important;
}

/* ── HERO LOGO WATERMARK ── */
.hero-logo-lockup {
  position: relative;
  z-index: 10;
  pointer-events: none;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  background: var(--forest);
}

/* Subtle depth — darker at edges, slightly lighter at top center */
.hero-glow {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse 70% 55% at 50% 0%, rgba(61,117,84,0.18) 0%, transparent 65%),
    radial-gradient(ellipse 100% 50% at 50% 100%, rgba(8,18,12,0.55) 0%, transparent 70%);
}

/* Fine noise grain for organic texture */
.hero-grain {
  position: absolute; inset: 0; z-index: 2; opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}

.hero-overlay {
  position: absolute; inset: 0; z-index: 3;
  background: linear-gradient(
    to bottom,
    rgba(26,56,40,0) 0%,
    rgba(26,56,40,0) 35%,
    rgba(14,30,20,0.5) 65%,
    rgba(10,22,14,0.92) 100%
  );
}

.hero-content {
  position: relative; z-index: 5;
  padding: 0 56px 96px;
  max-width: 960px;
}
.hero-eyebrow {
  font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: 0.28em;
  text-transform: uppercase; color: rgba(255,255,255,0.85);
  margin-bottom: 20px;
}
.hero-headline {
  font-family: var(--serif); font-size: clamp(38px, 6.8vw, 90px);
  font-weight: 400; line-height: 1.02; color: #fff;
  letter-spacing: -0.016em; margin-bottom: 26px;
}
.hero-headline em { font-style: italic; color: rgba(255,255,255,0.85); }
.hero-sub {
  font-family: var(--body); font-size: 18px; line-height: 1.72;
  color: rgba(255,255,255,0.78); max-width: 540px;
}

/* ── STATS ── */
.stats-strip {
  background: var(--forest);
  display: grid; grid-template-columns: repeat(4, 1fr);
  color: rgba(255,255,255,0.78) !important;
}
.stat-cell { padding: 40px 44px; border-right: 1px solid rgba(255,255,255,0.08); }
.stat-cell:last-child { border-right: none; }
.stat-num { font-family: var(--serif); font-size: 46px; font-weight: 400; color: #fff; line-height: 1; margin-bottom: 8px; }
.stat-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255,255,255,0.75); }

/* ── LAYOUT ── */
.page { background: var(--cream); padding-bottom: 0; margin-bottom: 0; }
.section { max-width: 1120px; margin: 0 auto; padding: 96px 56px; }
.work-week-preface { max-width: 1120px; margin: 0 auto; padding: 96px 56px; }
.working-together { max-width: 1120px; margin: 0 auto; padding: 96px 56px; }
.section-eyebrow { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.26em; text-transform: uppercase; color: var(--forest-mid); margin-bottom: 24px; }
.section-headline { font-family: var(--serif); font-size: clamp(34px, 4vw, 56px); font-weight: 400; line-height: 1.06; color: var(--dark); margin-bottom: 20px; }
.section-headline em { font-style: italic; }
.section-body { font-size: 18px; line-height: 1.72; color: var(--charcoal); max-width: 580px; margin-bottom: 56px; }

/* Dark green sections with light text */
.page:last-of-type { background: var(--forest) !important; color: rgba(255,255,255,0.78) !important; }
.page:last-of-type .section { color: rgba(255,255,255,0.78) !important; padding: 96px 56px; }
.page:last-of-type .section-headline { color: rgba(255,255,255,0.85) !important; }
.page:last-of-type .section-headline em { color: rgba(255,255,255,0.85) !important; }
.page:last-of-type .section-body { color: rgba(255,255,255,0.78) !important; }
.page:last-of-type .section-eyebrow { color: rgba(255,255,255,0.65) !important; }
.page:last-of-type .oh-label { color: rgba(255,255,255,0.6) !important; }
.page:last-of-type .oh-text { color: rgba(255,255,255,0.78) !important; }
.page:last-of-type .oh-callout-stat { color: rgba(255,255,255,0.9) !important; }
.page:last-of-type .oh-callout-text { color: rgba(255,255,255,0.78) !important; }
.page:last-of-type .work-week-preface { color: rgba(255,255,255,0.78) !important; }
.page:last-of-type .toolkit-label { color: rgba(255,255,255,0.5) !important; }
.page:last-of-type .toolkit-note { color: rgba(255,255,255,0.4) !important; }
.page:last-of-type .tk { color: rgba(255,255,255,0.78) !important; }
.page:last-of-type .sched td { color: rgba(255,255,255,0.85) !important; }
.page:last-of-type .coach-label { color: rgba(255,255,255,0.5) !important; }
.page:last-of-type .coach-text { color: rgba(255,255,255,0.78) !important; }
.page:last-of-type .divider { border-top-color: rgba(255,255,255,0.12) !important; }
.page:last-of-type p, .page:last-of-type span, .page:last-of-type div { color: rgba(255,255,255,0.78) !important; }
.divider { border: none; border-top: 1px solid var(--rule); margin: 0 56px; }



/* ── OUTCOME GRID ── */
.outcome-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; border: 1px solid var(--rule);
}
.outcome-col {
  padding: 40px 36px 48px;
  border-right: 1px solid var(--rule);
}
.outcome-col:last-child { border-right: none; }
.outcome-col--mid { background: rgba(26,56,40,0.09); border-left: 2px solid var(--forest-mid); border-right: 2px solid var(--forest-mid); }
.outcome-label {
  font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--forest-mid);
  margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--rule);
}
.outcome-icon {
  font-family: var(--mono); font-size: 13px; color: var(--forest-mid);
  margin-bottom: 20px; letter-spacing: 0.3em;
}
.oi {
  font-size: 15px; line-height: 1.5; color: var(--charcoal);
  padding: 11px 0; border-bottom: 1px solid var(--rule);
  display: flex; align-items: flex-start; gap: 10px;
}
.oi:last-child { border-bottom: none; }
.oi::before {
  content: '·'; color: var(--forest-mid); flex-shrink: 0;
  font-size: 18px; line-height: 1.2;
}

/* ── WEEK + TOOLKIT ── */
.week-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  align-items: start;
}
.week-schedule {}
.week-toolkit {}
.toolkit-label {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--warm-gray);
  margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--rule);
}
.toolkit-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border: 1px solid var(--rule); margin-bottom: 16px;
}
.tk {
  padding: 14px 16px; font-size: 14px; color: var(--charcoal);
  border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
}
.tk:nth-child(even) { border-right: none; }
.tk:nth-last-child(-n+2) { border-bottom: none; }
.toolkit-note {
  font-family: var(--mono); font-size: 10px; color: var(--forest-mid);
  letter-spacing: 0.1em;
}

/* ── COMP FEES ROW ── */
.comp-fees-row {
  display: grid; grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--rule); margin: 32px auto 0;
  max-width: 760px;
}
.comp-fee-item {
  padding: 28px 32px; border-right: 1px solid var(--rule);
  display: flex; flex-direction: column; gap: 6px;
}
.comp-fee-item:last-child { border-right: none; }
.comp-fee-num {
  font-family: var(--serif); font-size: 40px; font-weight: 400;
  color: var(--forest-mid); line-height: 1;
}
.comp-fee-label {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em;
  color: var(--warm-gray); line-height: 1.5;
}

/* ── CALCULATOR CTA ── */
.calc-cta {
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px; padding: 36px 40px;
  background: var(--forest); margin-bottom: 32px;
  flex-wrap: wrap; color: rgba(255,255,255,0.78) !important;
}
.calc-eyebrow {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em;
  color: rgba(255,255,255,0.4); margin-bottom: 10px;
}
.calc-headline {
  font-family: var(--serif); font-size: 26px; font-weight: 400;
  color: #fff; line-height: 1.15; margin-bottom: 8px;
}
.calc-sub {
  font-size: 14px; line-height: 1.65; color: rgba(255,255,255,0.5);
  max-width: 400px;
}
.calc-btn {
  display: inline-block; padding: 16px 28px;
  background: transparent; color: #fff;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.18em;
  text-transform: uppercase; text-decoration: none; white-space: nowrap;
  font-weight: 500; flex-shrink: 0; cursor: pointer;
  border: 1px solid rgba(255,255,255,0.55);
  transition: all 0.2s;
}
.calc-btn:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.9); }
.calc-btn:hover { opacity: 0.88; }
.wide-space-caps { letter-spacing: 0.55em; word-spacing: 0.8em; text-transform: uppercase; }

/* compare table — now 4 columns */
.compare-th-label { width: 20%; min-width: 130px; }
.compare-th { width: 20%; min-width: 130px; }
.compare-row-label { width: 16%; min-width: 120px; font-size: 12px; padding: 16px 14px; }
.compare-th { padding: 14px 14px; font-size: 8px; }
.compare-cell { padding: 16px 14px; font-size: 13px; }
.compare-note { font-size: 10px; }
.compare-table-wrap { overflow-x: auto; margin-bottom: 20px; }
.compare-table {
  width: 100%; border-collapse: collapse;
  border: 1px solid var(--rule);
}
.compare-th-label {
  width: 22%; padding: 16px 20px;
  background: var(--cream); border-bottom: 2px solid var(--rule);
  border-right: 1px solid var(--rule);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.15em;
  color: var(--warm-gray); text-transform: uppercase;
}
.compare-th {
  padding: 16px 20px; text-align: left;
  background: var(--cream); border-bottom: 2px solid var(--rule);
  border-right: 1px solid var(--rule);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em;
  color: var(--warm-gray); text-transform: uppercase;
}
.compare-th:last-child { border-right: none; }
.compare-th--works {
  background: var(--forest); color: rgba(255,255,255,0.7);
}
.compare-row-label {
  padding: 20px 20px; font-size: 13px; color: var(--charcoal);
  border-bottom: 1px solid var(--rule); border-right: 1px solid var(--rule);
  font-family: var(--mono); letter-spacing: 0.04em; vertical-align: top;
  width: 22%;
}
.compare-cell {
  padding: 20px 20px; font-size: 14px; color: var(--charcoal);
  border-bottom: 1px solid var(--rule); border-right: 1px solid var(--rule);
  vertical-align: top; line-height: 1.4;
}
.compare-cell:last-child { border-right: none; }
.compare-cell--works {
  background: rgba(26,56,40,0.04); font-weight: 500;
  border-left: 2px solid var(--forest);
}
.compare-note {
  display: block; font-family: var(--mono); font-size: 11px;
  color: var(--warm-gray); letter-spacing: 0.03em; margin-top: 5px;
  font-weight: 500; line-height: 1.5;
}
.compare-note-footer {
  font-family: var(--mono); font-size: 10px; color: var(--mid-gray);
  letter-spacing: 0.06em; line-height: 1.6; margin-top: 16px;
}
.overhead-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 0; border: 1px solid var(--rule); margin-bottom: 40px;
}
.oh-item {
  padding: 36px 36px 40px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.oh-item:nth-child(even) { border-right: none; }
.oh-item:nth-last-child(-n+2) { border-bottom: none; }
.oh-label {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--forest-mid);
  margin-bottom: 14px;
}
.oh-text { font-size: 15px; line-height: 1.72; color: var(--warm-gray); }
.oh-callout {
  display: flex; align-items: center; gap: 36px;
  padding: 32px 36px; border: 1px solid var(--rule);
  border-left: 4px solid var(--forest);
  background: var(--off-white);
}
.oh-callout-stat {
  font-family: var(--serif); font-size: 64px; font-weight: 400;
  color: var(--forest); line-height: 1; flex-shrink: 0;
}
.oh-callout-text { font-size: 17px; line-height: 1.68; color: var(--charcoal); }

/* ── SPACES BLOCK ── */
.spaces-block {
  background: var(--cream);
  padding: 0;
  overflow: hidden;
  border-top: 1px solid var(--rule);
}
.spaces-inner {
  position: relative;
  padding-top: 0; max-width: 1120px; margin: 0 auto; padding: 96px 56px; }
.spaces-header {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  align-items: start; margin-bottom: 56px;
}
.spaces-eyebrow {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.26em;
  text-transform: uppercase; color: var(--forest); margin-bottom: 20px;
}
.spaces-headline {
  font-family: var(--serif); font-size: clamp(32px, 4vw, 52px);
  font-weight: 400; color: var(--dark); line-height: 1.08;
}
.spaces-headline em { font-style: italic; color: var(--charcoal); }
.spaces-sub {
  font-size: 17px; line-height: 1.72; color: var(--charcoal);
  padding-top: 8px;
}
.spaces-3grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 3px;
  margin-bottom: 32px;
}
.spaces-photo { position: relative; overflow: hidden; }
.spaces-photo img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.6s ease;
}
.spaces-photo:hover img { transform: scale(1.015); }
.spaces-photo--hero {
  grid-row: 1 / 3;
}
.spaces-photo--hero img { height: 580px; }
.spaces-3grid .spaces-photo:not(.spaces-photo--hero) img { height: 287px; object-position: center; }
.spaces-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 10px 16px;
  background: rgba(247,245,240,0.9);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  color: var(--charcoal); text-transform: uppercase;
}
.spaces-markets {
  display: flex; align-items: center; flex-wrap: wrap; gap: 12px;
  padding-top: 24px; border-top: 1px solid var(--rule);
}
.sm-item {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em;
  color: rgba(255,255,255,0.4); text-transform: uppercase;
}
.sm-div { color: rgba(255,255,255,0.15); }

/* ── PAGE TAIL ── */
.page-tail { background: var(--cream); }
.zillow-proof-row {
  display: flex; gap: 0; margin-bottom: 52px;
  border: 1px solid rgba(255,255,255,0.10);
}
.zillow-proof-row .zillow-proof {
  flex: 1; padding: 28px 32px; margin: 0;
  border: none; border-right: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
}
.zillow-proof-row .zillow-proof:last-child { border-right: none; }
.zillow-explainer {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-bottom: 48px;
}
.ze-label {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(255,255,255,0.35);
  margin-bottom: 14px; padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.ze-text { font-size: 15px; line-height: 1.72; color: rgba(255,255,255,0.78); }
.zillow-note {
  margin-top: 40px; padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em;
  color: rgba(255,255,255,0.28); line-height: 1.6;
}

/* ── AI COACH NOTE ── */
.coach-note {
  background: var(--cream); border-left: 4px solid var(--forest); border-top: 1px solid var(--rule); border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  padding: 32px 36px; margin-bottom: 52px;
}
.coach-label {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--forest-mid);
  margin-bottom: 14px;
}
.coach-text { font-size: 16px; line-height: 1.72; color: var(--charcoal); max-width: 760px; }
.system-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--rule); }
.sys-pillar { padding: 40px 32px 44px; border-right: 1px solid var(--rule); }
.sys-pillar:last-child { border-right: none; }
.sys-num { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; color: var(--forest-mid); margin-bottom: 20px; display: block; }
.sys-bar { width: 24px; height: 1.5px; background: var(--forest-mid); margin-bottom: 20px; }
.sys-title { font-family: var(--serif); font-size: 19px; color: var(--dark); margin-bottom: 14px; font-weight: 400; line-height: 1.25; }
.sys-body { font-size: 14px; line-height: 1.7; color: var(--warm-gray); }

/* ── COMPENSATION ── */
.comp-table { width: 100%; border-collapse: collapse; }
.comp-table tr { border-bottom: 1px solid var(--rule); }
.comp-table tr:first-child { border-top: 1px solid var(--rule); }
.comp-table td { padding: 24px 16px; vertical-align: middle; }
.comp-label { font-size: 15px; color: var(--warm-gray); width: 62%; }
.comp-label small { display: block; font-family: var(--mono); font-size: 11px; font-weight: 500; color: var(--warm-gray); letter-spacing: 0.04em; margin-top: 6px; line-height: 1.5; }
.comp-val { font-family: var(--serif); font-size: 34px; color: var(--dark); text-align: right; font-weight: 400; }
.comp-val.green { color: var(--forest-mid); }

/* ── ZILLOW — DARK ── */
.zillow-block { background: var(--forest); padding: 80px 56px; position: relative; overflow: hidden; color: rgba(255,255,255,0.78) !important; }
.zillow-inner { max-width: 1120px; margin: 0 auto; position: relative; z-index: 2; }
.zillow-eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; color: rgba(255,255,255,0.65); margin-bottom: 20px; }
.zillow-headline { font-family: var(--serif); font-size: clamp(34px, 4.5vw, 56px); color: #fff; font-weight: 400; line-height: 1.06; margin-bottom: 20px; }
.zillow-headline em { font-style: italic; color: rgba(255,255,255,0.85); }
.zillow-sub { font-size: 17px; line-height: 1.72; color: rgba(255,255,255,0.78); max-width: 620px; margin-bottom: 52px; }
.zillow-proof { display: inline-block; padding: 24px 32px; border: 1px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.04); margin-bottom: 52px; }
.zillow-proof-num { font-family: var(--serif); font-size: 48px; color: #fff; font-weight: 400; line-height: 1; }
.zillow-proof-label { font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: 0.06em; color: rgba(255,255,255,0.75); margin-top: 8px; text-transform: uppercase; }
.zillow-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; max-width: 680px; }
.z-col-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.65); margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.z-item { font-size: 14px; color: rgba(255,255,255,0.78); padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,0.06); display: flex; gap: 12px; align-items: flex-start; }
.z-item:last-child { border-bottom: none; }
.z-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--forest-lt); flex-shrink: 0; margin-top: 8px; }

/* ── EDUCATION ── */
.layer { display: grid; grid-template-columns: 80px 1fr; padding: 40px 0; border-bottom: 1px solid var(--rule); }
.layer:first-child { border-top: 1px solid var(--rule); }
.layer-num { font-family: var(--serif); font-size: 48px; font-style: italic; color: var(--mid-gray); line-height: 1; }
.layer-eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--forest-mid); margin-bottom: 10px; }
.layer-title { font-family: var(--serif); font-size: 22px; color: var(--dark); margin-bottom: 12px; font-weight: 400; }
.layer-body { font-size: 15px; line-height: 1.7; color: var(--warm-gray); max-width: 620px; }

/* ── SERVICES ── */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--rule); }
.svc-col { padding: 36px 32px 44px; border-right: 1px solid var(--rule); }
.svc-col:last-child { border-right: none; }
.svc-lbl { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--warm-gray); margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--rule); }
.svc-item { font-size: 14px; line-height: 1.5; color: var(--charcoal); padding: 9px 0; border-bottom: 1px solid var(--rule); display: flex; gap: 12px; align-items: flex-start; }
.svc-item:last-child { border-bottom: none; }
.s-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--forest-mid); flex-shrink: 0; margin-top: 8px; }
.svc-fee { font-family: var(--mono); font-size: 12px; color: var(--forest-mid); letter-spacing: 0.1em; margin-top: 20px; }

/* ── VALUES ── */
.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid var(--rule); }
.val-item { padding: 36px 36px 40px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.val-item:nth-child(even) { border-right: none; }
.val-item:nth-last-child(-n+2) { border-bottom: none; }
.val-title { font-family: var(--serif); font-size: 19px; color: var(--dark); margin-bottom: 10px; font-weight: 400; }
.val-body { font-size: 14px; line-height: 1.7; color: var(--warm-gray); }

/* ── SCHEDULE ── */
.sched { width: 100%; border-collapse: collapse; }
.sched tr { border-bottom: 1px solid var(--rule); }
.sched tr:first-child { border-top: 1px solid var(--rule); }
.sched td { padding: 18px 0; font-size: 15px; }
.sched td:last-child { font-family: var(--mono); font-size: 11px; color: var(--warm-gray); text-align: right; letter-spacing: 0.06em; }

/* ── TECH ── */
.tech-grid { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--rule); }
.tech-item { padding: 22px 20px; text-align: center; font-size: 15px; color: var(--charcoal); border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.tech-item:nth-child(5n) { border-right: none; }
.tech-item:nth-last-child(-n+5) { border-bottom: none; }

/* ── LOCATIONS ── */
.loc-grid { display: grid; grid-template-columns: repeat(6, 1fr); border: 1px solid var(--rule); }
.loc-item { padding: 28px 16px; border-right: 1px solid var(--rule); text-align: center; }
.loc-item:last-child { border-right: none; }
.loc-name { font-family: var(--serif); font-size: 18px; color: var(--dark); }
.loc-state { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; color: var(--warm-gray); margin-top: 5px; }

/* ── MISSION CLOSE ── */
.mission { background: var(--forest); padding: 96px 56px; position: relative; overflow: hidden; color: rgba(255,255,255,0.78) !important; }
.mission-inner { max-width: 1120px; margin: 0 auto; position: relative; z-index: 2; }
.mission-eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; color: rgba(255,255,255,0.75); margin-bottom: 28px; }
.mission-headline { font-family: var(--serif); font-size: clamp(38px, 5.5vw, 72px); font-weight: 400; color: #fff; line-height: 1.05; margin-bottom: 28px; }
.mission-headline em { font-style: italic; color: rgba(255,255,255,0.85); }
.mission-body { font-size: 19px; line-height: 1.72; color: rgba(255,255,255,0.78); max-width: 640px; margin-bottom: 64px; }
.mission-cta { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 56px; display: flex; align-items: flex-end; justify-content: space-between; }
.cta-headline { font-family: var(--serif); font-size: 36px; font-style: italic; color: #fff; font-weight: 400; line-height: 1.15; }
.cta-eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255,255,255,0.75); margin-bottom: 12px; }
.cta-contact { text-align: right; }
.cta-phone { font-family: var(--serif); font-size: 32px; color: #fff; display: block; margin-bottom: 4px; }
.cta-email { font-family: var(--mono); font-size: 11px; color: rgba(255,255,255,0.75); letter-spacing: 0.08em; display: block; margin-bottom: 24px; }
.cta-btn {
  display: inline-block; padding: 16px 40px;
  background: #fff; color: var(--forest);
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.22em;
  text-transform: uppercase; text-decoration: none; cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  font-weight: 500; border: none;
}
.cta-btn:hover { background: rgba(255,255,255,0.88); transform: translateY(-1px); }

/* ── FOOTER ── */
footer { border-top: 1px solid var(--rule); padding: 28px 56px; display: flex; align-items: center; justify-content: space-between; }
.foot-left { display: flex; align-items: center; gap: 16px; }
.foot-left img { height: 18px; width: auto; filter: brightness(0); opacity: 0.3; }
.foot-addr { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--warm-gray); }
.foot-right { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; color: var(--mid-gray); }

/* ══════════════════════════════════════════════════
   RESPONSIVE — Tablet (≤900px)
══════════════════════════════════════════════════ */
@media (max-width: 900px) {
  /* Nav */
  .topbar { padding: 14px 24px; }
  .nav-phone { display: none; }

  /* Hero */
  .hero-content { padding: 0 24px 56px; }

  /* Stats */
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .stat-cell { padding: 28px 24px; }

  /* Sections */
  .section { padding: 56px 24px; }
  .divider { margin: 0 24px; }

  /* Outcome grid */
  .outcome-grid { grid-template-columns: 1fr; }
  .outcome-col { border-right: none; border-bottom: 1px solid var(--rule); }
  .outcome-col:last-child { border-bottom: none; }

  /* Comp */
  .comp-fees-row { grid-template-columns: 1fr; }
  .comp-fee-item { border-right: none; border-bottom: 1px solid var(--rule); }
  .comp-fee-item:last-child { border-bottom: none; }

  .calc-cta { flex-direction: column; align-items: flex-start; gap: 24px; padding: 28px 24px; }
  .compare-table { min-width: 900px; table-layout: fixed; }
  .compare-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 -24px;
    padding: 0 24px;
  }
  .compare-table { min-width: 620px; }

  /* Values */
  .values-grid { grid-template-columns: 1fr; }
  .val-item { border-right: none !important; }
  .val-item:nth-last-child(-n+2) { border-bottom: 1px solid var(--rule); }
  .val-item:last-child { border-bottom: none; }

  /* Zillow */
  .zillow-block { padding: 56px 24px; }
  .zillow-proof-row { flex-direction: column; }
  .zillow-proof-row .zillow-proof { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.10); }
  .zillow-proof-row .zillow-proof:last-child { border-bottom: none; }
  .zillow-explainer { grid-template-columns: 1fr; gap: 32px; }
  .zillow-cols { grid-template-columns: 1fr; gap: 28px; }

  /* Week */
  .week-layout { grid-template-columns: 1fr; gap: 40px; }
  .toolkit-grid { grid-template-columns: repeat(2, 1fr); }
  .tk:nth-child(even) { border-right: none; }
  .tk:nth-child(2n) { border-right: none; }

  /* Overhead */
  .overhead-grid { grid-template-columns: 1fr; }
  .oh-item { border-right: none; }

  /* System grid — was 4col, stack to 2 on tablet */
  .system-grid { grid-template-columns: repeat(2, 1fr); }

  /* Mono labels — reduce letter-spacing so they don't break mid-word on tablet */
  .oh-label, .sys-label, .toolkit-label, .coach-label,
  .zillow-eyebrow, .spaces-eyebrow, .section-eyebrow {
    letter-spacing: 0.10em;
    word-break: keep-all;
  }
  .oh-item { border-right: none !important; }
  .oh-item:nth-last-child(-n+2) { border-bottom: 1px solid var(--rule); }
  .oh-item:last-child { border-bottom: none; }
  .oh-callout { flex-direction: column; gap: 16px; }
  .oh-callout-stat { font-size: 48px; }

  /* Spaces */
  .spaces-inner {
  position: relative;
  padding-top: 0; padding: 56px 24px; }
  .spaces-header { grid-template-columns: 1fr; gap: 24px; }
  .spaces-3grid { grid-template-columns: 1fr; }
  .spaces-photo--hero { grid-row: auto; }
  .spaces-photo--hero img { height: 260px; }
  .spaces-3grid .spaces-photo:not(.spaces-photo--hero) img { height: 220px; }
  .spaces-markets { gap: 8px; }

  /* Mission */
  .mission { padding: 56px 24px; }
  .mission-cta { flex-direction: column; gap: 36px; align-items: flex-start; }
  .cta-contact { text-align: left; width: 100%; }
  .cta-headline { font-size: 28px; }

  /* Footer */
  footer { padding: 20px 24px; flex-direction: column; gap: 10px; text-align: center; }
  .foot-left { flex-direction: column; gap: 8px; }
}

/* ══════════════════════════════════════════════════
   RESPONSIVE — Phone (≤600px)
══════════════════════════════════════════════════ */
@media (max-width: 600px) {
  /* Nav — minimal */
  .topbar { padding: 12px 20px; }
  .nav-logo img { height: 26px; }
  .nav-tag { font-size: 10px; padding: 5px 12px; letter-spacing: 0.14em; }

  /* Hero */
  .hero { min-height: 600px; }
  .hero-headline { font-size: clamp(36px, 9vw, 52px); line-height: 1.05; }
  .hero-sub { font-size: 16px; }
  .hero-content { padding: 0 20px 48px; }
  .hero-eyebrow { font-size: 12px; letter-spacing: 0.18em; }

  /* Stats — stack 2×2 tightly */
  .stat-num { font-size: 34px; }
  .stat-cell { padding: 22px 20px; }

  /* Sections */
  .section { padding: 48px 20px; }
  .divider { margin: 0 20px; }
  .section-headline { font-size: clamp(28px, 7vw, 44px); }

  /* Outcome */
  .outcome-col { padding: 28px 20px 32px; }
  .outcome-label { font-size: 11px; }

  /* Comp table */
  .comp-table td { padding: 20px 0; }
  .comp-val { font-size: 24px; }
  .comp-fees-row { border: none; gap: 0; }
  .comp-fee-item { padding: 20px; border: 1px solid var(--rule); margin-bottom: -1px; }
  .comp-fee-num { font-size: 32px; }

  /* Compare — horizontal scroll, tighter */
  .compare-table-wrap { margin: 0 -20px; padding: 0; }
  .compare-table { min-width: 700px; font-size: 11px; }
  .compare-cell, .compare-row-label { padding: 12px 10px; }
  .compare-note { font-size: 9px; }

  /* Zillow */
  .zillow-block { padding: 48px 20px; }
  .zillow-headline { font-size: clamp(28px, 7.5vw, 44px); }
  .zillow-sub { font-size: 15px; }
  .zillow-proof-num { font-size: 36px; }

  /* Values */
  .val-item { padding: 28px 20px 32px; }

  /* Overhead */
  .oh-item { padding: 24px 20px 28px; }
  .oh-callout { padding: 24px 20px; }

  /* System grid — single column on phone */
  .system-grid { grid-template-columns: 1fr; }

  /* Calc CTA — stack button below text, full width */
  .calc-cta { flex-direction: column; align-items: flex-start; gap: 20px; padding: 24px 20px; }
  .calc-btn { width: 100%; text-align: center; padding: 14px 20px; white-space: normal; }

  /* Labels — prevent mid-word break on narrow screens */
  .oh-label, .outcome-label, .toolkit-label, .coach-label,
  .section-eyebrow, .zillow-eyebrow, .spaces-eyebrow,
  .spaces-markets .sm-item {
    letter-spacing: 0.06em;
    word-break: keep-all;
    overflow-wrap: normal;
    white-space: normal;
  }
  /* Specific long labels — drop spacing further */
  .coach-label, .zillow-eyebrow, .zillow-col-label {
    letter-spacing: 0.04em;
    font-size: 10px;
    word-break: keep-all;
    white-space: normal;
  }

  /* Coach note */
  .coach-note { padding: 20px 16px; margin-left: 0; margin-right: 0; width: 100%; box-sizing: border-box; border-left-width: 3px; }

  /* Week */
  .toolkit-grid { grid-template-columns: repeat(2, 1fr); }
  .tk { padding: 12px 14px; font-size: 13px; }

  /* Spaces */
  .spaces-inner {
  position: relative;
  padding-top: 0; padding: 48px 20px; }
  .spaces-photo--hero img { height: 200px; }

  /* Mission */
  .mission { padding: 48px 20px; }
  .mission-headline { font-size: clamp(32px, 8vw, 52px); }
  .mission-body { font-size: 16px; }
  .cta-phone { font-size: 24px; }
  .mission-cta { padding-top: 36px; }

  /* Footer */
  footer { padding: 18px 20px; }
  .foot-addr { font-size: 10px; letter-spacing: 0.08em; }
}

/* ── HERO LOGO ANIMATION ── */
@keyframes wLogo-enter {
  from { opacity: 0; transform: translateY(-20px) scale(0.78); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.hero-logo-lockup {
  animation: wLogo-enter 2.4s cubic-bezier(0.16, 1, 0.3, 1) both;
  will-change: transform;
}
.hero-logo-img {
  width: 140px;
  height: auto;
  display: block;
  opacity: 1;
  filter: brightness(0) invert(1);
  will-change: transform;
  border: none;
  outline: none;
  box-shadow: none;
  background: transparent;
}
.works-calc {
  /* ---- Design tokens (matched to works-platform-FINAL.html spec) ---- */
  --forest:      #1A3828;
  --forest-mid:  #2C5840;
  --forest-lt:   #3D7554;
  --forest-pale: #EDF1EE;
  --cream:       #F7F5F0;
  --off-white:   #FAFAF7;
  --warm-gray:   #8A8680;
  --mid-gray:    #C2BDB6;
  --rule:        #D4CEC6;
  --dark:        #121110;
  --charcoal:    #28261F;

  --serif: 'Source Serif 4', Georgia, serif;
  --body:  'Source Serif 4', Georgia, serif;
  --mono:  'JetBrains Mono Variable', ui-monospace, monospace;

  font-family: var(--body);
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;

  max-width: 1120px;
  margin: 0 auto;
  padding: 0;
}
.works-calc *,
.works-calc *::before,
.works-calc *::after { box-sizing: border-box; }

/* Prevent any accidental horizontal scroll on narrow viewports. Numbers use  */
/* tabular-nums so they can't wrap; labels wrap naturally.                    */
.works-calc { overflow-x: hidden; }
.works-calc, .works-calc * { overflow-wrap: break-word; }

.works-calc button { font-family: inherit; cursor: pointer; }

/* ================= HEADER ================= */
/* Solid forest block at the top. Logo, eyebrow, headline, and subtitle all  */
/* sit on dark. Main area below carries a green-to-cream fade so the forest  */
/* feel extends down through the hero take-home number before reaching the   */
/* income stack and tier grid on cream.                                      */
.works-calc .wc-header {
  padding: 72px 56px 64px;
  background: var(--forest);
  color: var(--cream);
  position: relative;
}
@media (max-width: 880px) {
  .works-calc .wc-header { padding: 44px 24px 40px; }
}
@media (max-width: 520px) {
  .works-calc .wc-header { padding: 32px 18px 36px; }
  .works-calc .wc-brand { margin-bottom: 40px; gap: 12px; }
  .works-calc .wc-logo { height: 32px; }
  .works-calc .wc-subtitle { font-size: 16px; line-height: 1.55; }
}

/* Logo + eyebrow row sitting on the dark portion */
.works-calc .wc-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 56px;
}
.works-calc .wc-logo {
  width: auto;
  height: 38px;
  display: block;
  flex-shrink: 0;
}

.works-calc .wc-eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cream);
  font-weight: 400;
  opacity: 0.85;
}

.works-calc .wc-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 4.6vw, 64px);
  line-height: 1.04;
  color: var(--cream);
  margin: 0 0 20px 0;
  letter-spacing: -0.015em;
}
.works-calc .wc-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--forest-pale);   /* soft sage for the italicized "actually" */
}

.works-calc .wc-subtitle {
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.65;
  color: var(--forest-pale);
  max-width: 600px;
  margin: 0;
  font-style: italic;
}

/* ================= DIVIDERS ================= */
/* Divider between header and main is removed — we use a gradient instead     */
/* which visually bridges the dark header into the cream main area.           */
.works-calc .wc-divider {
  display: none;
}

/* ================= LAYOUT ================= */
/* Main area has a forest-to-cream gradient at the top that carries the       */
/* green feel down through the hero take-home callout, then lands on cream   */
/* so the income stack and tier grid read cleanly.                            */
.works-calc .wc-main {
  padding: 72px 56px 48px;
  background:
    linear-gradient(
      180deg,
      var(--forest)      0px,
      var(--forest)      80px,
      var(--forest-mid)  200px,
      #5a6d5f            340px,
      #9d9d92            460px,
      var(--cream)       580px
    )
    var(--cream) no-repeat;
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 960px) {
  .works-calc .wc-main {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px 24px 32px;
  }
  /* At mobile widths, results appear first (agents want the number fast);    */
  /* inputs move below so they can tweak and scroll back up to see changes.   */
  .works-calc .wc-inputs  { order: 2; }
  .works-calc .wc-results { order: 1; }
}
@media (max-width: 520px) {
  .works-calc .wc-main { padding: 28px 16px 24px; gap: 32px; }
}

/* ================= INPUT COLUMN ================= */
/* Inputs sit on the gradient zone (top of main area). We give them a cream  */
/* panel with a soft border so they're readable against the forest backdrop  */
/* above, and blend in once the gradient resolves to cream further down.     */
.works-calc .wc-inputs {
  position: sticky;
  top: 24px;
  background: var(--cream);
  border: 1px solid var(--rule);
  padding: 32px 28px;
}
@media (max-width: 960px) {
  .works-calc .wc-inputs { position: static; padding: 24px 22px; }
}

.works-calc .wc-input-section { margin-bottom: 40px; }
.works-calc .wc-input-section:last-child { margin-bottom: 0; }

.works-calc .wc-section-eyebrow {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--forest-mid);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 400;
}

.works-calc .wc-field { margin-bottom: 18px; }
.works-calc .wc-field:last-child { margin-bottom: 0; }
.works-calc .wc-field.wc-field-nested {
  padding-left: 20px;
  border-left: 1px solid var(--rule);
  margin-left: 4px;
}

.works-calc .wc-field-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--warm-gray);
  display: block;
  margin-bottom: 6px;
  font-weight: 400;
}

.works-calc .wc-field input[type="number"] {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--rule);
  background: white;
  font-family: var(--body);
  font-size: 16px;
  color: var(--charcoal);
  border-radius: 0;
  -moz-appearance: textfield;
  appearance: textfield;
  transition: border-color 0.15s ease, border-left-width 0.15s ease, padding-left 0.15s ease;
  line-height: 1.2;
}
.works-calc .wc-field input[type="number"]::-webkit-outer-spin-button,
.works-calc .wc-field input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.works-calc .wc-field input[type="number"]:focus {
  outline: none;
  border-left: 2px solid var(--forest);
  padding-left: 15px;
}
.works-calc .wc-field input[type="number"].wc-invalid {
  border-color: #a85a48;
  background: #fdf4f1;
}

/* Toggle — Yes/No pill */
.works-calc .wc-toggle {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 400;
  background: var(--rule);
  color: var(--warm-gray);
  border: none;
  padding: 6px 14px;
  border-radius: 0;
  transition: background 0.15s ease, color 0.15s ease;
}
.works-calc .wc-toggle.wc-on {
  background: var(--forest);
  color: white;
}

.works-calc .wc-subfields { display: none; padding-top: 4px; }
.works-calc .wc-subfields.wc-open { display: block; }

.works-calc .wc-warn {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: #a85a48;
  margin-top: 12px;
  padding: 10px 12px;
  background: #fdf4f1;
  border-left: 2px solid #a85a48;
  line-height: 1.6;
  display: none;
}
.works-calc .wc-warn.wc-show { display: block; }

/* ================= RESULTS COLUMN ================= */
.works-calc .wc-results { min-width: 0; }

/* ---- Take-home callout (matches .coach-note pattern) ---- */
.works-calc .wc-takehome {
  background: var(--cream);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--forest);
  padding: 32px 36px;
  margin-bottom: 56px;
}
@media (max-width: 520px) {
  .works-calc .wc-takehome { padding: 22px 20px 22px 18px; margin-bottom: 36px; }
}
.works-calc .wc-takehome-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--forest-mid);
  margin-bottom: 14px;
  font-weight: 400;
}
.works-calc .wc-takehome-num {
  font-family: var(--serif);
  font-size: clamp(52px, 7vw, 78px);
  font-weight: 400;
  line-height: 1;
  color: var(--dark);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  font-variant-numeric: tabular-nums;
}
.works-calc .wc-takehome-tier {
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--warm-gray);
  font-style: italic;
}
.works-calc .wc-takehome-tier strong {
  font-style: normal;
  font-weight: 500;
  color: var(--charcoal);
}

/* ---- Income stack ---- */
.works-calc .wc-stack-eyebrow {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--forest-mid);
  margin-bottom: 20px;
  font-weight: 400;
}

/* Income stack wrapper — gives the rows a cream-backed panel so the text     */
/* reads cleanly whether it lands on gradient or full cream at any viewport.  */
.works-calc .wc-stack-wrap {
  background: var(--cream);
  padding: 24px 28px 8px;
  border: 1px solid var(--rule);
  margin-bottom: 56px;
}
@media (max-width: 520px) {
  .works-calc .wc-stack-wrap { padding: 18px 20px 4px; margin-bottom: 36px; }
}

.works-calc .wc-stack {
  border-top: 1px solid var(--rule);
  margin-bottom: 0;
}
.works-calc .wc-stack-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
}
.works-calc .wc-stack-row:last-child { border-bottom: none; }
@media (max-width: 520px) {
  .works-calc .wc-stack-row { padding: 16px 0; gap: 16px; }
}

.works-calc .wc-stack-name {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 4px;
  letter-spacing: -0.005em;
}
@media (max-width: 520px) {
  .works-calc .wc-stack-name { font-size: 17px; }
}
.works-calc .wc-stack-sub {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--warm-gray);
  font-weight: 400;
}

.works-calc .wc-stack-num {
  font-family: var(--serif);
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 400;
  line-height: 1;
  color: var(--charcoal);
  letter-spacing: -0.015em;
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.works-calc .wc-stack-num.wc-muted {
  color: var(--mid-gray);
  font-style: italic;
  font-size: clamp(20px, 2.4vw, 26px);
}

/* ---- Tier comparison — 4-column outcome grid ---- */
.works-calc .wc-tiers-header { margin-bottom: 24px; }
.works-calc .wc-tiers-eyebrow {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--forest-mid);
  margin-bottom: 14px;
  font-weight: 400;
}
.works-calc .wc-tiers-title {
  font-family: var(--serif);
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--dark);
  letter-spacing: -0.01em;
  margin: 0 0 10px 0;
}
.works-calc .wc-tiers-title em { font-style: italic; }
.works-calc .wc-tiers-sub {
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--warm-gray);
  max-width: 520px;
  margin: 0;
}

.works-calc .wc-tier-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--rule);
  background: var(--off-white);
  margin-top: 28px;
  margin-bottom: 40px;
  overflow: hidden;             /* clip any active-state shadows at the grid edge */
}
@media (max-width: 1020px) {
  .works-calc .wc-tier-grid { grid-template-columns: repeat(3, 1fr); }
}
/* Below 720px we go straight to single-column stacked cards. 2-col would      */
/* leave the 5th card orphaned, and at phone widths each card benefits from    */
/* full width for legibility anyway.                                           */
@media (max-width: 720px) {
  .works-calc .wc-tier-grid { grid-template-columns: 1fr; }
}

.works-calc .wc-tier-col {
  padding: 44px 20px 28px;      /* extra top padding leaves room for the "Current" bar */
  background: var(--off-white);
  border-right: 1px solid var(--rule);
  position: relative;
}
.works-calc .wc-tier-col:last-child { border-right: none; }
@media (max-width: 1020px) {
  .works-calc .wc-tier-col:nth-child(3n) { border-right: none; }
  .works-calc .wc-tier-col:nth-child(-n+3) { border-bottom: 1px solid var(--rule); }
}
@media (max-width: 720px) {
  .works-calc .wc-tier-col {
    border-right: none;
    border-bottom: 1px solid var(--rule);
    padding: 44px 22px 24px;    /* tighter horizontal padding on phones */
  }
  .works-calc .wc-tier-col:last-child { border-bottom: none; }
  /* Drop the min-heights that align columns — meaningless when stacked */
  .works-calc .wc-tier-label { min-height: 0; }
  .works-calc .wc-tier-name { min-height: 0; }
}

/* Active column: tint background + inset shadow borders.                      */
/* Using inset box-shadow (not real borders) means no layout shift, no width   */
/* drift, and the grid's overflow:hidden clips anything that would extend      */
/* past the outer edge — so edge columns can be active without bleeding.       */
.works-calc .wc-tier-col.wc-active {
  background: rgba(26, 56, 40, 0.09);
  box-shadow:
    inset  2px 0 0 0 var(--forest-mid),
    inset -2px 0 0 0 var(--forest-mid);
}

/* "Current" bar — a forest strip across the top of the active column.          */
/* Replaces the old text badge. Reads instantly as "you are here."              */
.works-calc .wc-tier-col.wc-active::before {
  content: 'Current';
  position: absolute;
  top: 0; left: 0; right: 0;
  background: var(--forest);
  color: var(--cream);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-align: center;
  padding: 7px 0;
  font-weight: 400;
}

.works-calc .wc-tier-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--forest-mid);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 18px;
  font-weight: 400;
  line-height: 1.35;
  min-height: 42px;             /* keeps tier names on 1-2 lines aligned across columns */
}

.works-calc .wc-tier-ratio {
  font-family: var(--serif);
  font-size: 32px;              /* slimmer than before to fit 5 columns */
  font-weight: 400;
  line-height: 1;
  color: var(--dark);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  margin-bottom: 6px;
}
.works-calc .wc-tier-name {
  font-family: var(--body);
  font-size: 14px;
  font-style: italic;
  color: var(--warm-gray);
  margin-bottom: 18px;
  line-height: 1.4;
  min-height: 56px;             /* align across columns regardless of description length */
}

.works-calc .wc-tier-lines { margin-bottom: 18px; }
.works-calc .wc-tier-line {
  font-family: var(--body);
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--charcoal);
  padding: 9px 0;
  border-bottom: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  position: relative;
}
.works-calc .wc-tier-line::before {
  content: '·';
  color: var(--forest-mid);
  font-size: 16px;
  margin-right: 8px;
  line-height: 1;
}
.works-calc .wc-tier-line-label { flex: 1; color: var(--charcoal); }
.works-calc .wc-tier-line-val {
  font-variant-numeric: tabular-nums;
  color: var(--charcoal);
  white-space: nowrap;
}

.works-calc .wc-tier-total-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--forest-mid);
  margin-top: 18px;
  margin-bottom: 8px;
  font-weight: 400;
}
.works-calc .wc-tier-total {
  font-family: var(--serif);
  font-size: 26px;              /* slimmer for 5-col fit */
  font-weight: 400;
  line-height: 1;
  color: var(--dark);
  letter-spacing: -0.015em;
  font-variant-numeric: tabular-nums;
  margin-bottom: 12px;
}
.works-calc .wc-tier-meta {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--warm-gray);
  font-weight: 400;
  line-height: 1.5;
}

/* ---- Time Value callout ---- */
.works-calc .wc-time {
  background: var(--forest-pale);
  border-left: 4px solid var(--forest);
  border-top: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 32px 36px;
  margin-bottom: 56px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 720px) {
  .works-calc .wc-time { grid-template-columns: 1fr; gap: 20px; padding: 28px; }
}

.works-calc .wc-time-left {
  border-right: 1px solid var(--rule);
  padding-right: 40px;
  min-width: 200px;
}
@media (max-width: 720px) {
  .works-calc .wc-time-left { border-right: none; border-bottom: 1px solid var(--rule); padding-right: 0; padding-bottom: 20px; }
}

.works-calc .wc-time-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--forest-mid);
  margin-bottom: 12px;
  font-weight: 400;
}
.works-calc .wc-time-num {
  font-family: var(--serif);
  font-size: clamp(42px, 5.4vw, 60px);
  font-weight: 400;
  line-height: 1;
  color: var(--dark);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
}
.works-calc .wc-time-num .wc-per {
  font-size: 0.36em;
  font-style: italic;
  color: var(--warm-gray);
  font-family: var(--body);
  font-weight: 400;
}
.works-calc .wc-time-sub {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--warm-gray);
  font-weight: 400;
}

.works-calc .wc-time-right {
  font-family: var(--body);
  font-size: 17px;
  font-style: italic;
  line-height: 1.6;
  color: var(--charcoal);
}
.works-calc .wc-time-right strong {
  font-style: normal;
  font-weight: 500;
  color: var(--forest);
}

/* ---- Goal line ---- */
.works-calc .wc-goal {
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--charcoal);
  padding: 24px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin-bottom: 48px;
  font-style: italic;
}
.works-calc .wc-goal strong {
  font-style: normal;
  font-weight: 500;
  color: var(--forest);
}

/* ---- CTA (removed) ---- */
.works-calc .wc-cta-UNUSED {
  padding: 48px 56px;
  background: var(--forest);
  color: var(--cream);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}
@media (max-width: 720px) {
  .works-calc .wc-cta { grid-template-columns: 1fr; padding: 32px 24px; gap: 24px; }
}
@media (max-width: 520px) {
  .works-calc .wc-cta { padding: 26px 20px; gap: 20px; }
  .works-calc .wc-cta-btn {
    justify-content: center;
    width: 100%;
    padding: 16px 20px;
  }
}

.works-calc .wc-cta-eyebrow {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--forest-pale);
  margin-bottom: 12px;
  font-weight: 400;
  opacity: 0.7;
}
.works-calc .wc-cta-heading {
  font-family: var(--serif);
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--cream);
}
.works-calc .wc-cta-heading em { font-style: italic; }
.works-calc .wc-cta-btn {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  font-weight: 400;
  background: transparent;
  color: var(--cream);
  padding: 18px 32px;
  text-decoration: none;
  border: 1px solid var(--cream);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.works-calc .wc-cta-btn:hover {
  background: var(--cream);
  color: var(--forest);
}

/* ---- Footnote ---- */
.works-calc .wc-foot {
  padding: 32px 56px 48px;
  background: var(--cream);
  border-top: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.06em;
  color: var(--warm-gray);
  line-height: 1.8;
  font-weight: 400;
}
@media (max-width: 880px) { .works-calc .wc-foot { padding: 24px 24px 32px; } }

/* ================= PRINT ================= */
@media print {
  @page { size: letter; margin: 0.5in; }
  body { background: white; }
  .works-calc {
    max-width: 100%;
    font-size: 10.5pt;
    background: white;
  }
  .works-calc .wc-header {
    padding: 0 0 16px;
    background: white !important;
  }
  .works-calc .wc-title { color: var(--dark) !important; }
  .works-calc .wc-title em { color: var(--warm-gray) !important; }
  .works-calc .wc-eyebrow { color: var(--forest-mid) !important; opacity: 1; }
  .works-calc .wc-subtitle { color: var(--warm-gray) !important; }
  /* Logo is white-on-transparent — on white print bg it'd be invisible.      */
  /* Wrap it in a forest-green tile so it prints as white-on-forest.          */
  .works-calc .wc-logo {
    background: var(--forest);
    padding: 6px;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .works-calc .wc-brand { margin-bottom: 20px; }
  .works-calc .wc-divider { margin: 0; }
  .works-calc .wc-main {
    padding: 16px 0;
    grid-template-columns: 230px 1fr;
    gap: 24px;
  }
  .works-calc .wc-inputs { position: static; }
  .works-calc .wc-field input[type="number"] {
    border: none;
    border-bottom: 1px solid var(--rule);
    padding: 4px 0;
    background: transparent;
  }
  .works-calc .wc-toggle { border: 1px solid var(--rule); }
  .works-calc .wc-takehome { page-break-inside: avoid; margin-bottom: 24px; }
  .works-calc .wc-stack { margin-bottom: 24px; }
  .works-calc .wc-tier-grid { page-break-inside: avoid; }
  .works-calc .wc-time {
    background: white !important;
    page-break-inside: avoid;
  }
  .works-calc .wc-cta {
    background: white !important;
    color: var(--forest) !important;
    border: 1px solid var(--forest);
    page-break-inside: avoid;
    padding: 24px;
  }
  .works-calc .wc-cta-heading { color: var(--forest) !important; }
  .works-calc .wc-cta-eyebrow { color: var(--warm-gray) !important; opacity: 1; }
  .works-calc .wc-cta-btn { display: none; }
  .works-calc .wc-foot { padding: 16px 0; }
}

#works-calc-modal {
  display: none;
  position: fixed; inset: 0; z-index: 9000;
  overflow-y: auto; background: var(--cream);
}
#works-calc-modal.open { display: block; }
.calc-modal-close {
  position: sticky; top: 0; z-index: 9001;
  display: flex; justify-content: flex-end; align-items: center;
  padding: 14px 20px; background: var(--forest);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.calc-modal-close button {
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(255,255,255,0.7);
  background: transparent; border: 1px solid rgba(255,255,255,0.25);
  padding: 8px 18px; cursor: pointer;
}
.calc-modal-close button:hover { color: #fff; border-color: rgba(255,255,255,0.6); }
.works-calc {
  /* ---- Design tokens (matched to works-platform-FINAL.html spec) ---- */
  --forest:      #1A3828;
  --forest-mid:  #2C5840;
  --forest-lt:   #3D7554;
  --forest-pale: #EDF1EE;
  --cream:       #F7F5F0;
  --off-white:   #FAFAF7;
  --warm-gray:   #8A8680;
  --mid-gray:    #C2BDB6;
  --rule:        #D4CEC6;
  --dark:        #121110;
  --charcoal:    #28261F;

  --serif: 'Source Serif 4', Georgia, serif;
  --body:  'Source Serif 4', Georgia, serif;
  --mono:  'JetBrains Mono Variable', ui-monospace, monospace;

  font-family: var(--body);
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;

  max-width: 1120px;
  margin: 0 auto;
  padding: 0;
}
.works-calc *,
.works-calc *::before,
.works-calc *::after { box-sizing: border-box; }

/* Prevent any accidental horizontal scroll on narrow viewports. Numbers use  */
/* tabular-nums so they can't wrap; labels wrap naturally.                    */
.works-calc { overflow-x: hidden; }
.works-calc, .works-calc * { overflow-wrap: break-word; }

.works-calc button { font-family: inherit; cursor: pointer; }

/* ================= HEADER ================= */
/* Solid forest block at the top. Logo, eyebrow, headline, and subtitle all  */
/* sit on dark. Main area below carries a green-to-cream fade so the forest  */
/* feel extends down through the hero take-home number before reaching the   */
/* income stack and tier grid on cream.                                      */
.works-calc .wc-header {
  padding: 72px 56px 64px;
  background: var(--forest);
  color: var(--cream);
  position: relative;
}
@media (max-width: 880px) {
  .works-calc .wc-header { padding: 44px 24px 40px; }
}
@media (max-width: 520px) {
  .works-calc .wc-header { padding: 32px 18px 36px; }
  .works-calc .wc-brand { margin-bottom: 40px; gap: 12px; }
  .works-calc .wc-logo { height: 32px; }
  .works-calc .wc-subtitle { font-size: 16px; line-height: 1.55; }
}

/* Logo + eyebrow row sitting on the dark portion */
.works-calc .wc-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 56px;
}
.works-calc .wc-logo {
  width: auto;
  height: 38px;
  display: block;
  flex-shrink: 0;
}

.works-calc .wc-eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cream);
  font-weight: 400;
  opacity: 0.85;
}

.works-calc .wc-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 4.6vw, 64px);
  line-height: 1.04;
  color: var(--cream);
  margin: 0 0 20px 0;
  letter-spacing: -0.015em;
}
.works-calc .wc-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--forest-pale);   /* soft sage for the italicized "actually" */
}

.works-calc .wc-subtitle {
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.65;
  color: var(--forest-pale);
  max-width: 600px;
  margin: 0;
  font-style: italic;
}

/* ================= DIVIDERS ================= */
/* Divider between header and main is removed — we use a gradient instead     */
/* which visually bridges the dark header into the cream main area.           */
.works-calc .wc-divider {
  display: none;
}

/* ================= LAYOUT ================= */
/* Main area has a forest-to-cream gradient at the top that carries the       */
/* green feel down through the hero take-home callout, then lands on cream   */
/* so the income stack and tier grid read cleanly.                            */
.works-calc .wc-main {
  padding: 72px 56px 48px;
  background:
    linear-gradient(
      180deg,
      var(--forest)      0px,
      var(--forest)      80px,
      var(--forest-mid)  200px,
      #5a6d5f            340px,
      #9d9d92            460px,
      var(--cream)       580px
    )
    var(--cream) no-repeat;
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 960px) {
  .works-calc .wc-main {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px 24px 32px;
  }
  /* At mobile widths, results appear first (agents want the number fast);    */
  /* inputs move below so they can tweak and scroll back up to see changes.   */
  .works-calc .wc-inputs  { order: 2; }
  .works-calc .wc-results { order: 1; }
}
@media (max-width: 520px) {
  .works-calc .wc-main { padding: 28px 16px 24px; gap: 32px; }
}

/* ================= INPUT COLUMN ================= */
/* Inputs sit on the gradient zone (top of main area). We give them a cream  */
/* panel with a soft border so they're readable against the forest backdrop  */
/* above, and blend in once the gradient resolves to cream further down.     */
.works-calc .wc-inputs {
  position: sticky;
  top: 24px;
  background: var(--cream);
  border: 1px solid var(--rule);
  padding: 32px 28px;
}
@media (max-width: 960px) {
  .works-calc .wc-inputs { position: static; padding: 24px 22px; }
}

.works-calc .wc-input-section { margin-bottom: 40px; }
.works-calc .wc-input-section:last-child { margin-bottom: 0; }

.works-calc .wc-section-eyebrow {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--forest-mid);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 400;
}

.works-calc .wc-field { margin-bottom: 18px; }
.works-calc .wc-field:last-child { margin-bottom: 0; }
.works-calc .wc-field.wc-field-nested {
  padding-left: 20px;
  border-left: 1px solid var(--rule);
  margin-left: 4px;
}

.works-calc .wc-field-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--warm-gray);
  display: block;
  margin-bottom: 6px;
  font-weight: 400;
}

.works-calc .wc-field input[type="number"] {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--rule);
  background: white;
  font-family: var(--body);
  font-size: 16px;
  color: var(--charcoal);
  border-radius: 0;
  -moz-appearance: textfield;
  appearance: textfield;
  transition: border-color 0.15s ease, border-left-width 0.15s ease, padding-left 0.15s ease;
  line-height: 1.2;
}
.works-calc .wc-field input[type="number"]::-webkit-outer-spin-button,
.works-calc .wc-field input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.works-calc .wc-field input[type="number"]:focus {
  outline: none;
  border-left: 2px solid var(--forest);
  padding-left: 15px;
}
.works-calc .wc-field input[type="number"].wc-invalid {
  border-color: #a85a48;
  background: #fdf4f1;
}

/* Toggle — Yes/No pill */
.works-calc .wc-toggle {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 400;
  background: var(--rule);
  color: var(--warm-gray);
  border: none;
  padding: 6px 14px;
  border-radius: 0;
  transition: background 0.15s ease, color 0.15s ease;
}
.works-calc .wc-toggle.wc-on {
  background: var(--forest);
  color: white;
}

.works-calc .wc-subfields { display: none; padding-top: 4px; }
.works-calc .wc-subfields.wc-open { display: block; }

.works-calc .wc-warn {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: #a85a48;
  margin-top: 12px;
  padding: 10px 12px;
  background: #fdf4f1;
  border-left: 2px solid #a85a48;
  line-height: 1.6;
  display: none;
}
.works-calc .wc-warn.wc-show { display: block; }

/* ================= RESULTS COLUMN ================= */
.works-calc .wc-results { min-width: 0; }

/* ---- Take-home callout (matches .coach-note pattern) ---- */
.works-calc .wc-takehome {
  background: var(--cream);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--forest);
  padding: 32px 36px;
  margin-bottom: 56px;
}
@media (max-width: 520px) {
  .works-calc .wc-takehome { padding: 22px 20px 22px 18px; margin-bottom: 36px; }
}
.works-calc .wc-takehome-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--forest-mid);
  margin-bottom: 14px;
  font-weight: 400;
}
.works-calc .wc-takehome-num {
  font-family: var(--serif);
  font-size: clamp(52px, 7vw, 78px);
  font-weight: 400;
  line-height: 1;
  color: var(--dark);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  font-variant-numeric: tabular-nums;
}
.works-calc .wc-takehome-tier {
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--warm-gray);
  font-style: italic;
}
.works-calc .wc-takehome-tier strong {
  font-style: normal;
  font-weight: 500;
  color: var(--charcoal);
}

/* ---- Income stack ---- */
.works-calc .wc-stack-eyebrow {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--forest-mid);
  margin-bottom: 20px;
  font-weight: 400;
}

/* Income stack wrapper — gives the rows a cream-backed panel so the text     */
/* reads cleanly whether it lands on gradient or full cream at any viewport.  */
.works-calc .wc-stack-wrap {
  background: var(--cream);
  padding: 24px 28px 8px;
  border: 1px solid var(--rule);
  margin-bottom: 56px;
}
@media (max-width: 520px) {
  .works-calc .wc-stack-wrap { padding: 18px 20px 4px; margin-bottom: 36px; }
}

.works-calc .wc-stack {
  border-top: 1px solid var(--rule);
  margin-bottom: 0;
}
.works-calc .wc-stack-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
}
.works-calc .wc-stack-row:last-child { border-bottom: none; }
@media (max-width: 520px) {
  .works-calc .wc-stack-row { padding: 16px 0; gap: 16px; }
}

.works-calc .wc-stack-name {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 4px;
  letter-spacing: -0.005em;
}
@media (max-width: 520px) {
  .works-calc .wc-stack-name { font-size: 17px; }
}
.works-calc .wc-stack-sub {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--warm-gray);
  font-weight: 400;
}

.works-calc .wc-stack-num {
  font-family: var(--serif);
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 400;
  line-height: 1;
  color: var(--charcoal);
  letter-spacing: -0.015em;
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.works-calc .wc-stack-num.wc-muted {
  color: var(--mid-gray);
  font-style: italic;
  font-size: clamp(20px, 2.4vw, 26px);
}

/* ---- Tier comparison — 4-column outcome grid ---- */
.works-calc .wc-tiers-header { margin-bottom: 24px; }
.works-calc .wc-tiers-eyebrow {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--forest-mid);
  margin-bottom: 14px;
  font-weight: 400;
}
.works-calc .wc-tiers-title {
  font-family: var(--serif);
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--dark);
  letter-spacing: -0.01em;
  margin: 0 0 10px 0;
}
.works-calc .wc-tiers-title em { font-style: italic; }
.works-calc .wc-tiers-sub {
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--warm-gray);
  max-width: 520px;
  margin: 0;
}

.works-calc .wc-tier-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--rule);
  background: var(--off-white);
  margin-top: 28px;
  margin-bottom: 40px;
  overflow: hidden;             /* clip any active-state shadows at the grid edge */
}
@media (max-width: 1020px) {
  .works-calc .wc-tier-grid { grid-template-columns: repeat(3, 1fr); }
}
/* Below 720px we go straight to single-column stacked cards. 2-col would      */
/* leave the 5th card orphaned, and at phone widths each card benefits from    */
/* full width for legibility anyway.                                           */
@media (max-width: 720px) {
  .works-calc .wc-tier-grid { grid-template-columns: 1fr; }
}

.works-calc .wc-tier-col {
  padding: 44px 20px 28px;      /* extra top padding leaves room for the "Current" bar */
  background: var(--off-white);
  border-right: 1px solid var(--rule);
  position: relative;
}
.works-calc .wc-tier-col:last-child { border-right: none; }
@media (max-width: 1020px) {
  .works-calc .wc-tier-col:nth-child(3n) { border-right: none; }
  .works-calc .wc-tier-col:nth-child(-n+3) { border-bottom: 1px solid var(--rule); }
}
@media (max-width: 720px) {
  .works-calc .wc-tier-col {
    border-right: none;
    border-bottom: 1px solid var(--rule);
    padding: 44px 22px 24px;    /* tighter horizontal padding on phones */
  }
  .works-calc .wc-tier-col:last-child { border-bottom: none; }
  /* Drop the min-heights that align columns — meaningless when stacked */
  .works-calc .wc-tier-label { min-height: 0; }
  .works-calc .wc-tier-name { min-height: 0; }
}

/* Active column: tint background + inset shadow borders.                      */
/* Using inset box-shadow (not real borders) means no layout shift, no width   */
/* drift, and the grid's overflow:hidden clips anything that would extend      */
/* past the outer edge — so edge columns can be active without bleeding.       */
.works-calc .wc-tier-col.wc-active {
  background: rgba(26, 56, 40, 0.09);
  box-shadow:
    inset  2px 0 0 0 var(--forest-mid),
    inset -2px 0 0 0 var(--forest-mid);
}

/* "Current" bar — a forest strip across the top of the active column.          */
/* Replaces the old text badge. Reads instantly as "you are here."              */
.works-calc .wc-tier-col.wc-active::before {
  content: 'Current';
  position: absolute;
  top: 0; left: 0; right: 0;
  background: var(--forest);
  color: var(--cream);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-align: center;
  padding: 7px 0;
  font-weight: 400;
}

.works-calc .wc-tier-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--forest-mid);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 18px;
  font-weight: 400;
  line-height: 1.35;
  min-height: 42px;             /* keeps tier names on 1-2 lines aligned across columns */
}

.works-calc .wc-tier-ratio {
  font-family: var(--serif);
  font-size: 32px;              /* slimmer than before to fit 5 columns */
  font-weight: 400;
  line-height: 1;
  color: var(--dark);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  margin-bottom: 6px;
}
.works-calc .wc-tier-name {
  font-family: var(--body);
  font-size: 14px;
  font-style: italic;
  color: var(--warm-gray);
  margin-bottom: 18px;
  line-height: 1.4;
  min-height: 56px;             /* align across columns regardless of description length */
}

.works-calc .wc-tier-lines { margin-bottom: 18px; }
.works-calc .wc-tier-line {
  font-family: var(--body);
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--charcoal);
  padding: 9px 0;
  border-bottom: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  position: relative;
}
.works-calc .wc-tier-line::before {
  content: '·';
  color: var(--forest-mid);
  font-size: 16px;
  margin-right: 8px;
  line-height: 1;
}
.works-calc .wc-tier-line-label { flex: 1; color: var(--charcoal); }
.works-calc .wc-tier-line-val {
  font-variant-numeric: tabular-nums;
  color: var(--charcoal);
  white-space: nowrap;
}

.works-calc .wc-tier-total-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--forest-mid);
  margin-top: 18px;
  margin-bottom: 8px;
  font-weight: 400;
}
.works-calc .wc-tier-total {
  font-family: var(--serif);
  font-size: 26px;              /* slimmer for 5-col fit */
  font-weight: 400;
  line-height: 1;
  color: var(--dark);
  letter-spacing: -0.015em;
  font-variant-numeric: tabular-nums;
  margin-bottom: 12px;
}
.works-calc .wc-tier-meta {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--warm-gray);
  font-weight: 400;
  line-height: 1.5;
}

/* ---- Time Value callout ---- */
.works-calc .wc-time {
  background: var(--forest-pale);
  border-left: 4px solid var(--forest);
  border-top: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 32px 36px;
  margin-bottom: 56px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 720px) {
  .works-calc .wc-time { grid-template-columns: 1fr; gap: 20px; padding: 28px; }
}

.works-calc .wc-time-left {
  border-right: 1px solid var(--rule);
  padding-right: 40px;
  min-width: 200px;
}
@media (max-width: 720px) {
  .works-calc .wc-time-left { border-right: none; border-bottom: 1px solid var(--rule); padding-right: 0; padding-bottom: 20px; }
}

.works-calc .wc-time-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--forest-mid);
  margin-bottom: 12px;
  font-weight: 400;
}
.works-calc .wc-time-num {
  font-family: var(--serif);
  font-size: clamp(42px, 5.4vw, 60px);
  font-weight: 400;
  line-height: 1;
  color: var(--dark);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
}
.works-calc .wc-time-num .wc-per {
  font-size: 0.36em;
  font-style: italic;
  color: var(--warm-gray);
  font-family: var(--body);
  font-weight: 400;
}
.works-calc .wc-time-sub {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--warm-gray);
  font-weight: 400;
}

.works-calc .wc-time-right {
  font-family: var(--body);
  font-size: 17px;
  font-style: italic;
  line-height: 1.6;
  color: var(--charcoal);
}
.works-calc .wc-time-right strong {
  font-style: normal;
  font-weight: 500;
  color: var(--forest);
}

/* ---- Goal line ---- */
.works-calc .wc-goal {
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--charcoal);
  padding: 24px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin-bottom: 48px;
  font-style: italic;
}
.works-calc .wc-goal strong {
  font-style: normal;
  font-weight: 500;
  color: var(--forest);
}

/* ---- CTA (removed) ---- */
.works-calc .wc-cta-UNUSED {
  padding: 48px 56px;
  background: var(--forest);
  color: var(--cream);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}
@media (max-width: 720px) {
  .works-calc .wc-cta { grid-template-columns: 1fr; padding: 32px 24px; gap: 24px; }
}
@media (max-width: 520px) {
  .works-calc .wc-cta { padding: 26px 20px; gap: 20px; }
  .works-calc .wc-cta-btn {
    justify-content: center;
    width: 100%;
    padding: 16px 20px;
  }
}

.works-calc .wc-cta-eyebrow {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--forest-pale);
  margin-bottom: 12px;
  font-weight: 400;
  opacity: 0.7;
}
.works-calc .wc-cta-heading {
  font-family: var(--serif);
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--cream);
}
.works-calc .wc-cta-heading em { font-style: italic; }
.works-calc .wc-cta-btn {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  font-weight: 400;
  background: transparent;
  color: var(--cream);
  padding: 18px 32px;
  text-decoration: none;
  border: 1px solid var(--cream);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.works-calc .wc-cta-btn:hover {
  background: var(--cream);
  color: var(--forest);
}

/* ---- Footnote ---- */
.works-calc .wc-foot {
  padding: 32px 56px 48px;
  background: var(--cream);
  border-top: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.06em;
  color: var(--warm-gray);
  line-height: 1.8;
  font-weight: 400;
}
@media (max-width: 880px) { .works-calc .wc-foot { padding: 24px 24px 32px; } }

/* ================= PRINT ================= */
@media print {
  @page { size: letter; margin: 0.5in; }
  body { background: white; }
  .works-calc {
    max-width: 100%;
    font-size: 10.5pt;
    background: white;
  }
  .works-calc .wc-header {
    padding: 0 0 16px;
    background: white !important;
  }
  .works-calc .wc-title { color: var(--dark) !important; }
  .works-calc .wc-title em { color: var(--warm-gray) !important; }
  .works-calc .wc-eyebrow { color: var(--forest-mid) !important; opacity: 1; }
  .works-calc .wc-subtitle { color: var(--warm-gray) !important; }
  /* Logo is white-on-transparent — on white print bg it'd be invisible.      */
  /* Wrap it in a forest-green tile so it prints as white-on-forest.          */
  .works-calc .wc-logo {
    background: var(--forest);
    padding: 6px;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .works-calc .wc-brand { margin-bottom: 20px; }
  .works-calc .wc-divider { margin: 0; }
  .works-calc .wc-main {
    padding: 16px 0;
    grid-template-columns: 230px 1fr;
    gap: 24px;
  }
  .works-calc .wc-inputs { position: static; }
  .works-calc .wc-field input[type="number"] {
    border: none;
    border-bottom: 1px solid var(--rule);
    padding: 4px 0;
    background: transparent;
  }
  .works-calc .wc-toggle { border: 1px solid var(--rule); }
  .works-calc .wc-takehome { page-break-inside: avoid; margin-bottom: 24px; }
  .works-calc .wc-stack { margin-bottom: 24px; }
  .works-calc .wc-tier-grid { page-break-inside: avoid; }
  .works-calc .wc-time {
    background: white !important;
    page-break-inside: avoid;
  }
  .works-calc .wc-cta {
    background: white !important;
    color: var(--forest) !important;
    border: 1px solid var(--forest);
    page-break-inside: avoid;
    padding: 24px;
  }
  .works-calc .wc-cta-heading { color: var(--forest) !important; }
  .works-calc .wc-cta-eyebrow { color: var(--warm-gray) !important; opacity: 1; }
  .works-calc .wc-cta-btn { display: none; }
  .works-calc .wc-foot { padding: 16px 0; }
}
