/* ============================================
   KILOWATT — design system · "Sunny Side"
   Applied site-wide. Class names match the
   previous system; only the styling changes.
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wdth,wght@12..96,75..100,200..800&family=Inter+Tight:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  /* Sunny Side palette */
  --butter:       #FBF3D9;
  --butter-deep:  #F5E9B8;
  --paper:        #FFFDF6;
  --ink:          #1A1A1A;
  --ink-soft:     #4A4A4A;
  --ink-mute:     #7A7A75;
  --leaf:         #00936F;
  --leaf-deep:    #006F4A;
  --leaf-bright: #2BD89C;
  --sun:          #FFC93C;
  --sun-deep:     #F0A500;
  --coral:        #FF7152;
  --sky:          #BAE7E3;

  /* Legacy aliases — kept so any direct var() refs still resolve */
  --cream:        var(--butter);
  --deep:         var(--ink);
  --mid:          var(--ink-soft);
  --copper:       var(--leaf);
  --copper-light: var(--leaf-bright);
  --subtle:       var(--ink-mute);
  --subtle-light: rgba(255,253,246,0.65);
  --line:         var(--ink);

  /* Shape language */
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 32px;
  --r-xl: 48px;
  --shadow: 12px 12px 0 0 var(--ink);
  --shadow-soft: 0 8px 24px rgba(26,26,26,0.06);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--butter);
  color: var(--ink);
  font-family: 'Inter Tight', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--sun); color: var(--ink); }

/* Typography */
.ff-display { font-family: 'Bricolage Grotesque', system-ui, sans-serif; }
.ff-body    { font-family: 'Inter Tight', system-ui, sans-serif; }
.ff-mono    { font-family: 'JetBrains Mono', ui-monospace, monospace; letter-spacing: -0.01em; }

h1, h2, h3, h4 {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-variation-settings: 'opsz' 96, 'wdth' 100, 'wght' 600;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.98;
  margin: 0 0 0.4em;
}
h1 { font-size: clamp(56px, 12vw, 152px); letter-spacing: -0.045em; line-height: 0.92; }
h2 { font-size: clamp(36px, 7vw, 72px); }
h3 { font-size: clamp(22px, 3vw, 30px); font-variation-settings: 'opsz' 32, 'wdth' 100, 'wght' 600; letter-spacing: -0.03em; line-height: 1.05; }
h4 { font-size: 20px; font-variation-settings: 'opsz' 24, 'wdth' 100, 'wght' 600; letter-spacing: -0.025em; }

p { margin: 0 0 1em; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--leaf); }
strong { font-weight: 700; }
em, em.copper {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-style: italic;
  font-variation-settings: 'opsz' 96, 'wdth' 90, 'wght' 500;
  font-weight: 500;
  color: var(--leaf);
  position: relative;
  display: inline-block;
}
em.copper::after {
  content: '';
  position: absolute;
  bottom: 0.06em;
  left: -0.04em;
  right: -0.04em;
  height: 0.18em;
  background: var(--sun);
  border-radius: 999px;
  z-index: -1;
}

/* Layout */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 760px; margin: 0 auto; padding: 0 24px; }
@media (min-width: 720px) {
  .container { padding: 0 32px; }
  .container-narrow { padding: 0 32px; }
}

/* Eyebrow — pill */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--paper);
  border: 2px solid var(--ink);
  padding: 6px 14px;
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
  padding: 14px 24px;
  border-bottom: 2px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  background: var(--butter);
  z-index: 100;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}
.brand-mark {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-variation-settings: 'opsz' 24, 'wdth' 100, 'wght' 700;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.04em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-mark svg { display: block; width: 28px; height: 42px; flex-shrink: 0; }
.brand-mark::before { content: none; }
.brand-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.nav { display: flex; gap: 6px; align-items: center; }
.nav a {
  font-family: 'Inter Tight', sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink);
  padding: 8px 14px;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.nav a:hover { background: var(--ink); color: var(--paper); }
.nav a:last-of-type {
  background: var(--ink);
  color: var(--paper);
  border: 2px solid var(--ink);
  padding: 8px 16px;
  font-weight: 600;
  margin-left: 8px;
}
.nav a:last-of-type:hover { background: var(--leaf); color: var(--paper); transform: translateY(-1px); }

@media (max-width: 900px) {
  .brand-tag { display: none; }
}
@media (max-width: 720px) {
  .nav { gap: 14px; }
  .nav a { font-size: 12px; padding: 6px 10px; }
  .nav a:last-of-type { padding: 6px 12px; }
}

/* ============================================
   HERO
   ============================================ */
.hero {
  padding: 48px 24px 56px;
  max-width: 1200px;
  margin: 0 auto;
}
.hero h1 { max-width: 14ch; margin-bottom: 28px; }
.hero p.lede {
  font-size: clamp(18px, 4vw, 22px);
  line-height: 1.45;
  max-width: 36ch;
  margin-top: 0;
  margin-bottom: 36px;
  color: var(--ink-soft);
}

/* ============================================
   BUTTONS / PILLS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-variation-settings: 'wght' 600;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.02em;
  text-decoration: none;
  border: 2px solid var(--ink);
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.btn-primary { background: var(--leaf); color: var(--paper); }
.btn-primary:hover {
  background: var(--ink);
  color: var(--paper);
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--ink);
}
.btn-outline { background: var(--paper); color: var(--ink); }
.btn-outline:hover {
  background: var(--sun);
  color: var(--ink);
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--ink);
}

.pill {
  padding: 8px 14px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  font-family: 'Inter Tight', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  color: var(--ink);
  transition: all 0.15s ease;
  letter-spacing: 0;
}
.pill:hover { background: var(--sun); color: var(--ink); }
.pill.on { background: var(--ink); color: var(--paper); }
.pill-group { display: flex; flex-wrap: wrap; gap: 8px; }

/* ============================================
   FORM ELEMENTS
   ============================================ */
.field { margin-bottom: 24px; }
.field-label {
  display: block;
  font-family: 'Inter Tight', sans-serif;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.005em;
}
.field-help {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--ink-mute);
  margin-top: 8px;
  line-height: 1.45;
}
.input-clean {
  width: 100%;
  background: var(--butter-deep);
  border: 2px solid var(--ink);
  border-radius: var(--r-sm);
  outline: none;
  font-family: 'JetBrains Mono', monospace;
  font-size: 16px;
  font-weight: 600;
  padding: 12px 14px;
  color: var(--ink);
  transition: background 0.15s ease;
}
.input-clean::placeholder { color: rgba(26,26,26,0.35); }
.input-clean:focus { background: var(--sun); }

.slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  background: var(--ink);
  border-radius: 999px;
  outline: none;
  margin: 10px 0;
}
.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  background: var(--sun);
  border: 2px solid var(--ink);
  border-radius: 50%;
  cursor: pointer;
}
.slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  background: var(--sun);
  border: 2px solid var(--ink);
  border-radius: 50%;
  cursor: pointer;
}

.slider-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 6px;
}
.slider-value {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-variation-settings: 'wght' 600;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--leaf);
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 14px;
  cursor: pointer;
}
.checkbox input { margin-top: 3px; accent-color: var(--leaf); }

/* ============================================
   CALCULATOR LAYOUT
   ============================================ */
.calc-wrap {
  border: 2px solid var(--ink);
  border-radius: var(--r-lg);
  display: grid;
  grid-template-columns: 3fr 2fr;
  background: var(--ink);
  gap: 2px;
  overflow: hidden;
}
.calc-inputs {
  background: var(--paper);
  padding: 40px;
}
.calc-results {
  background: var(--ink);
  color: var(--paper);
  padding: 40px;
}
.calc-section-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 28px;
  color: var(--ink-mute);
}
.calc-results .calc-section-label { color: var(--sun); }
@media (max-width: 800px) {
  .calc-wrap { grid-template-columns: 1fr; }
  .calc-inputs, .calc-results { padding: 28px; }
}

/* Stat block (results) */
.stat { margin-bottom: 24px; }
.stat-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  color: rgba(255,253,246,0.55);
}
.stat-label-icon { color: var(--sun); }
.stat-value {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-variation-settings: 'opsz' 48, 'wdth' 100, 'wght' 600;
  font-size: clamp(22px, 5vw, 30px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--paper);
}
.stat-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  margin-top: 4px;
  color: rgba(255,253,246,0.55);
}

.stat-hero {
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1.5px dashed rgba(255,253,246,0.2);
}
.stat-hero-value {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-variation-settings: 'opsz' 96, 'wdth' 95, 'wght' 600;
  font-size: clamp(64px, 14vw, 96px);
  font-weight: 600;
  line-height: 0.9;
  color: var(--sun);
  letter-spacing: -0.055em;
}
.stat-hero-unit {
  font-family: 'Inter Tight', sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 18px;
  margin-left: 12px;
  color: var(--paper);
}

/* ============================================
   CARDS
   ============================================ */
.card {
  border: 2px solid var(--ink);
  border-radius: var(--r-lg);
  padding: 28px 24px 22px;
  background: var(--paper);
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  min-height: 220px;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}
.card:hover {
  transform: translate(-4px, -4px);
  box-shadow: var(--shadow);
  background: var(--paper);
  color: var(--ink);
}
.card p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.45;
  margin: 0 0 18px;
  flex: 1;
}
.card-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 12px;
  font-weight: 500;
}
.card-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-variation-settings: 'opsz' 32, 'wdth' 100, 'wght' 600;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.0;
  margin-bottom: 10px;
  color: inherit;
}
.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1.5px dashed rgba(26,26,26,0.22);
  padding-top: 14px;
  margin-top: auto;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.card-arrow {
  width: 32px;
  height: 32px;
  background: var(--leaf);
  color: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.card:hover .card-arrow {
  background: var(--sun);
  color: var(--ink);
  transform: rotate(-45deg);
}

.grid-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  background: transparent;
  border: none;
}
@media (min-width: 640px) { .grid-cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .grid-cards { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

/* Color-rotate cards for rhythm. Only when there are >=4 cards (calc/guide grids). */
.grid-cards > .card:nth-child(6n+1) { background: var(--sun); }
.grid-cards > .card:nth-child(6n+3) { background: var(--leaf-bright); }
.grid-cards > .card:nth-child(6n+4) { background: var(--coral); color: var(--paper); }
.grid-cards > .card:nth-child(6n+4) p { color: rgba(255,253,246,0.85); }
.grid-cards > .card:nth-child(6n+4) .card-meta { color: rgba(255,253,246,0.75); border-color: rgba(255,253,246,0.25); }
.grid-cards > .card:nth-child(6n+4) .card-eyebrow { color: rgba(255,253,246,0.85); }
.grid-cards > .card:nth-child(6n+6) { background: var(--sky); }

/* ============================================
   PROSE (GUIDES)
   ============================================ */
.prose {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}
.prose h2 { margin-top: 64px; font-size: clamp(32px, 5vw, 48px); }
.prose h3 { margin-top: 40px; font-size: 24px; }
.prose p, .prose li { font-size: 17px; line-height: 1.65; }
.prose ul, .prose ol { padding-left: 22px; margin-bottom: 1em; }
.prose li { margin-bottom: 8px; }
.prose blockquote {
  border-left: 4px solid var(--leaf);
  margin: 28px 0;
  padding: 6px 24px;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-variation-settings: 'wdth' 95, 'wght' 500;
  font-style: italic;
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.prose .callout {
  background: var(--ink);
  color: var(--paper);
  padding: 28px 32px;
  margin: 32px 0;
  border-radius: var(--r-md);
  border-left: 4px solid var(--sun);
}
.prose .callout p:last-child { margin-bottom: 0; }
.prose .callout strong { color: var(--sun); }
.prose a { color: var(--leaf); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.prose a:hover { color: var(--ink); background: var(--sun); }

/* ============================================
   LEAD FORM
   ============================================ */
.lead-form {
  background: var(--ink);
  color: var(--paper);
  padding: 36px;
  border-radius: var(--r-lg);
  position: relative;
}
.lead-form .input-clean {
  background: rgba(255,253,246,0.08);
  border-color: rgba(255,253,246,0.25);
  color: var(--paper);
  font-size: 16px;
}
.lead-form .input-clean::placeholder { color: rgba(255,253,246,0.4); }
.lead-form .input-clean:focus { background: rgba(255,253,246,0.16); border-color: var(--sun); }
.lead-form .field-label { color: var(--paper); }
.lead-form .field-help { color: rgba(255,253,246,0.55); }
.lead-form-stack > * { margin-bottom: 16px; }
.lead-form-success {
  text-align: center;
  padding: 32px 0;
}
.success-tick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border: 2px solid var(--sun);
  border-radius: 50%;
  margin-bottom: 20px;
  color: var(--sun);
  font-size: 22px;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  border-top: 2px solid var(--ink);
  padding: 36px 24px 28px;
  margin-top: 96px;
  background: var(--butter);
}
.site-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
@media (min-width: 720px) {
  .site-footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a {
  color: var(--ink);
  text-decoration: none;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.footer-links a:hover { color: var(--leaf); }

/* ============================================
   UTILITIES
   ============================================ */
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mt-12 { margin-top: 48px; }
.mt-16 { margin-top: 96px; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 8px; }
.mb-4 { margin-bottom: 20px; }
.mb-6 { margin-bottom: 28px; }
.mb-8 { margin-bottom: 36px; }

.divider {
  height: 2px;
  background: var(--ink);
  margin: 40px 0;
}

.split-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 800px) {
  .split-cols { grid-template-columns: 1fr; gap: 32px; }
}
.split-cols p {
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin-bottom: 1em;
}

.copper { color: var(--leaf); }
.subtle { color: var(--ink-mute); }

.tag {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  padding: 4px 10px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: var(--butter-deep);
  text-transform: uppercase;
}

/* ============================================
   PAYBACK TIMELINE
   ============================================ */
.payback-vis { margin: 0 0 28px; }
.payback-track {
  height: 8px;
  background: rgba(255,253,246,0.12);
  border-radius: 999px;
  position: relative;
  margin: 10px 0 6px;
  overflow: hidden;
}
.payback-fill {
  height: 100%;
  background: var(--sun);
  border-radius: 999px;
  transition: width 0.4s cubic-bezier(0.34,1.2,0.64,1), background 0.3s ease;
  max-width: 100%;
  position: relative;
}
.payback-axis {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: rgba(255,253,246,0.55);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.payback-axis .payback-yr {
  font-weight: 700;
  color: var(--sun);
  transition: color 0.3s ease;
}

/* ============================================
   VERDICT BOX
   ============================================ */
.verdict-box {
  border-left: 4px solid var(--sun);
  background: rgba(255,253,246,0.04);
  padding: 16px 20px;
  margin-bottom: 28px;
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  transition: border-color 0.3s ease;
}
.verdict-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,253,246,0.55);
  margin-bottom: 6px;
}
.verdict-heading {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-variation-settings: 'opsz' 32, 'wdth' 100, 'wght' 600;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--sun);
  margin-bottom: 4px;
  transition: color 0.3s ease;
  line-height: 1.1;
}
.verdict-detail {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: rgba(255,253,246,0.6);
  line-height: 1.55;
}

/* ============================================
   SHARE ROW
   ============================================ */
.share-row {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1.5px dashed rgba(255,253,246,0.18);
}
.share-btn {
  width: 100%;
  justify-content: center;
  background: transparent;
  color: rgba(255,253,246,0.75);
  border: 2px solid rgba(255,253,246,0.25);
  font-size: 13px;
  font-family: 'Inter Tight', sans-serif;
  font-weight: 600;
  letter-spacing: 0;
  padding: 12px 18px;
}
.share-btn:hover {
  background: var(--sun);
  color: var(--ink);
  border-color: var(--sun);
  transform: none;
  box-shadow: none;
}

/* ============================================
   MOBILE NAV
   ============================================ */
.nav-toggle {
  display: none;
  background: var(--ink);
  color: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 8px 16px;
  cursor: pointer;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
}
.nav-close-btn {
  display: none;
  position: absolute;
  top: 22px;
  right: 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--ink);
}
@media (max-width: 600px) {
  .nav-toggle { display: inline-flex; }
  .nav-close-btn { display: block; }
  .nav {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--butter);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    z-index: 500;
  }
  .nav.is-open { display: flex; }
  .nav a {
    font-family: 'Bricolage Grotesque', sans-serif !important;
    font-variation-settings: 'wght' 600;
    font-size: 30px !important;
    font-weight: 600 !important;
    letter-spacing: -0.03em;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    color: var(--ink) !important;
    margin-left: 0 !important;
  }
}

/* ============================================
   RESPONSIVE INPUT GRIDS
   ============================================ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}
.three-col {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}
.calc-wrap-equal {
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 480px) {
  .two-col   { grid-template-columns: 1fr; gap: 0; }
  .three-col { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 360px) {
  .three-col { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
  .calc-wrap-equal { grid-template-columns: 1fr; }
}

/* ============================================
   CITY PAGE INFO BAR
   ============================================ */
.city-stats {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 16px;
  padding: 16px 20px;
  border: 2px solid var(--ink);
  border-radius: var(--r-md);
  background: var(--paper);
}

/* ============================================
   COMPREHENSIVE MOBILE OVERRIDES
   ============================================ */
@media (max-width: 600px) {
  .hero { padding: 28px 20px 28px; }
  .hero p.lede { margin-bottom: 24px; }
  .lead-form { padding: 24px 20px; }
  .card { padding: 24px 20px; min-height: 200px; }
  .prose { padding: 0 20px; }
  .prose h2 { margin-top: 40px; }
  .site-footer { padding: 28px 20px 22px; margin-top: 64px; }
  .mt-16 { margin-top: 64px; }
}

@media (max-width: 480px) {
  .container, .container-narrow { padding: 0 16px; }
  .calc-inputs, .calc-results { padding: 24px 20px; }
  .calc-section-label { margin-bottom: 22px; }
  .stat-hero { margin-bottom: 22px; padding-bottom: 22px; }
  .stat { margin-bottom: 20px; }
  .field { margin-bottom: 22px; }
  .slider-value { font-size: 17px; }
  .stat-hero-unit { font-size: 15px; margin-left: 8px; }
  .verdict-heading { font-size: 19px; }
}

@media (max-width: 400px) {
  .site-header { padding: 12px 18px; }
  .brand-mark { font-size: 19px; }
  .brand-mark svg { width: 24px; height: 36px; }
}
