@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/outfit-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  --ink: #071018;
  --ink-2: #0e1a24;
  --navy: #123044;
  --gold: #d4a017;
  --gold-2: #f0c14b;
  --sand: #f3ece0;
  --paper: #fbf7f0;
  --volt: #2fd39a;
  --rust: #c45c26;
  --muted: #3f4e58;
  --line: rgba(212, 160, 23, 0.28);
  --shadow: 0 24px 60px rgba(7, 16, 24, 0.18);
  --radius: 18px;
  --max: 1180px;
  --font: "Outfit", "Segoe UI", system-ui, sans-serif;
  --display: "Outfit", "Segoe UI", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  letter-spacing: 0.01em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.skip {
  position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--ink); padding: 8px 12px;
}
.skip:focus { left: 8px; z-index: 80; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(7, 16, 24, 0.86);
  border-bottom: 1px solid var(--line);
  color: #f6efe3;
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 72px; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 42px; height: 42px; border-radius: 10px; object-fit: cover; }
.brand b { font-family: var(--font); font-size: 1.05rem; font-weight: 700; letter-spacing: 0.01em; }
.brand small { display: block; color: var(--gold-2); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; }
.nav-links { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.nav-links a {
  text-decoration: none; font-size: 0.92rem; font-weight: 500; color: #dce6ec; opacity: 0.94;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold-2); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 999px; padding: 12px 18px; cursor: pointer;
  font-family: inherit; font-weight: 650; text-decoration: none;
}
.btn-gold { background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: #1a1204; }
.btn-ghost { background: transparent; color: #f6efe3; border: 1px solid var(--line); }
.btn-ink { background: var(--ink); color: var(--sand); }
.btn-wa { background: #1fa855; color: #fff; }
.foot-contact a { color: var(--gold-2); }
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 50;
  background: #1fa855; color: #fff; text-decoration: none;
  padding: 12px 16px; border-radius: 999px; font-weight: 700;
  box-shadow: var(--shadow);
}
.menu-toggle { display: none; background: none; border: 0; color: #fff; font-size: 1.4rem; }

/* Hero */
.hero {
  position: relative; min-height: 88vh; color: #f7f1e6;
  display: grid; place-items: end stretch;
  background: #071018 center/cover no-repeat;
  isolation: isolate;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,16,24,.25) 0%, rgba(7,16,24,.78) 70%, #071018 100%);
  z-index: -1;
}
.hero-inner { padding: 48px 0 64px; }
.kicker {
  color: var(--gold-2); letter-spacing: 0.12em; text-transform: uppercase;
  font-size: 0.8rem; font-weight: 650; margin: 0 0 12px;
}
h1, h2, h3, .display {
  font-family: var(--font);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.018em;
  text-wrap: balance;
}
.display {
  font-size: clamp(2.15rem, 5.2vw, 3.85rem); margin: 0 0 16px; max-width: 18ch; line-height: 1.15;
}
.lede { max-width: 62ch; font-size: 1.125rem; line-height: 1.65; color: var(--muted); }
.hero .lede { color: #efe6d6; max-width: 48ch; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 48px;
}
.stat {
  border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px;
  background: rgba(7,16,24,0.35);
}
.stat b { display: block; font-size: 1.45rem; color: var(--gold-2); }
.stat span { color: #c9d4dc; font-size: 0.82rem; }

/* Sections */
section { padding: 72px 0; }
.band-ink { background: var(--ink); color: var(--sand); }
.band-navy { background: var(--ink-2); color: var(--sand); }
.band-sand { background: var(--sand); }
.section-head { max-width: 62ch; margin-bottom: 32px; }
.section-head h2 { font-size: clamp(1.65rem, 3.2vw, 2.35rem); margin: 0 0 10px; line-height: 1.25; }
.city-cols { columns: 3; column-gap: 28px; }
.city-cols h3 { break-after: avoid; margin: 0 0 8px; font-size: 1rem; }
.city-cols ul { list-style: none; padding: 0; margin: 0 0 22px; break-inside: avoid; }
.city-cols a { display: block; text-decoration: none; padding: 3px 0; color: var(--navy); font-size: 0.92rem; }
.city-cols a:hover { color: var(--gold); }
.city-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 8px; }
.grid-3, .grid-4, .grid-2 { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff; border-radius: var(--radius); padding: 22px;
  box-shadow: var(--shadow); border: 1px solid rgba(18, 48, 68, 0.06);
}
.band-ink .card, .band-navy .card { background: #10202c; color: var(--sand); border-color: var(--line); }
.card h3 { margin: 0 0 8px; font-size: 1.28rem; font-weight: 700; line-height: 1.28; letter-spacing: -0.015em; }
.card p { margin: 0; color: var(--muted); line-height: 1.6; }
.band-ink .card p, .band-navy .card p { color: #c5d0d6; }
.icon { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(212,160,23,.15); color: var(--gold); margin-bottom: 12px; font-weight: 800; }

.photo-card { overflow: hidden; padding: 0; }
.photo-card img { height: 210px; width: 100%; object-fit: cover; content-visibility: auto; }
.photo-card .pad { padding: 18px 20px 22px; }

table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid rgba(18,48,68,.1); vertical-align: top; }
th { font-size: 0.75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.table-wrap { overflow: auto; background: #fff; border-radius: var(--radius); padding: 8px 14px 16px; }

/* Calculators */
.calc-shell { display: grid; grid-template-columns: 250px 1fr 320px; gap: 18px; align-items: start; }
.calc-nav {
  position: sticky; top: 88px;
  background: var(--ink); color: #e8efe8; border-radius: var(--radius); padding: 14px;
}
.calc-nav button {
  width: 100%; text-align: left; background: transparent; border: 0; color: #d5dee4;
  padding: 9px 10px; border-radius: 10px; cursor: pointer; font: inherit; font-size: 0.88rem;
}
.calc-nav button.active, .calc-nav button:hover { background: rgba(212,160,23,.16); color: var(--gold-2); }
.calc-panel { display: none; }
.calc-panel.active { display: block; }
.field { margin-bottom: 14px; }
.field label { display: flex; justify-content: space-between; font-size: 0.86rem; font-weight: 650; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid rgba(18,48,68,.16); border-radius: 12px;
  padding: 10px 12px; font: inherit; background: #fff;
}
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.results {
  position: sticky; top: 88px;
  background: linear-gradient(180deg, #123044, #071018); color: #f4eee4;
  border-radius: var(--radius); padding: 20px;
}
.results h3 { margin: 0 0 8px; }
.metric { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.metric b { color: var(--gold-2); }
.note { font-size: 0.78rem; color: #b7c4cc; margin-top: 12px; }
.chip { display: inline-block; padding: 4px 9px; border-radius: 999px; background: rgba(47,211,154,.15); color: var(--volt); font-size: 0.75rem; font-weight: 700; }
.chip-skip { background: rgba(196,92,38,.18); color: var(--rust); }
.chip-vol { background: rgba(212,160,23,.2); color: #8a6a10; }
.band-ink .chip-vol { color: var(--gold-2); }
.lede-ink { color: var(--muted); max-width: 62ch; font-size: 1.1rem; line-height: 1.65; }
.band-ink .table-wrap { background: #10202c; color: #f4eee4; }
.band-ink th, .band-ink td { border-bottom-color: rgba(244,238,228,.12); }
.band-ink th { color: #9aa8b0; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.use-stat { font-size: 0.88rem; color: var(--muted); margin-top: 12px; line-height: 1.45; }
.use-stat b { color: var(--ink); }
.band-ink .use-stat b { color: var(--gold-2); }
.preset-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 16px; }
.preset-row button {
  background: #fff; border: 1px solid rgba(18,48,68,.16); border-radius: 999px;
  padding: 8px 14px; font: inherit; font-size: 0.86rem; font-weight: 650; cursor: pointer;
}
.preset-row button:hover, .preset-row button.active { background: var(--ink); color: var(--sand); }

.app-row { display: grid; grid-template-columns: 1.4fr 70px 80px 40px; gap: 8px; margin-bottom: 8px; align-items: center; }
.add-btn { background: none; border: 1px dashed var(--gold); color: var(--navy); border-radius: 10px; padding: 8px; width: 100%; cursor: pointer; }

.bom-total { font-size: 1.6rem; color: var(--gold-2); margin: 8px 0; }

footer {
  background: #050b10; color: #c9d4dc; padding: 42px 0 24px; font-size: 0.9rem;
}
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 24px; margin-bottom: 28px; }
footer a { color: #e8efe8; text-decoration: none; display: block; margin: 6px 0; }
.tiny { opacity: .7; font-size: .78rem; }
.tiny a { display: inline; margin: 0; color: var(--gold-2); }

.prose { max-width: 72ch; }
.prose h2 { margin-top: 1.6em; }
.faq details { background: #fff; border-radius: 14px; padding: 12px 16px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 700; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-grid .full { grid-column: 1 / -1; }

.lookup-bar {
  display: grid; grid-template-columns: 1.2fr 1.2fr auto; gap: 14px; align-items: end;
  margin-bottom: 18px;
}
.shop-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.shop-card h3 { font-size: 1.15rem; }
.shop-top { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.shop-kind { font-size: 0.82rem; margin: 0 0 8px; }
.shop-phone { font-weight: 700; color: var(--navy); }
.shop-card .tiny { display: inline-block; margin-top: 4px; }

.crumbs { font-size: 0.82rem; color: var(--muted); margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.crumbs a { color: var(--navy); text-decoration: none; }
.crumbs a:hover { color: var(--gold); }
.learn-page h1 { max-width: 28ch; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.learn-page h2 { margin-top: 1.6em; }
.learn-page .lede-ink { max-width: 72ch; }
.also-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 12px 0 8px; }
.learn-steps { max-width: 72ch; padding-left: 1.2em; }
.learn-steps li { margin: 6px 0; }
.learn-page .prose, .learn-page p { max-width: 72ch; }

.learn-illu { margin: 8px 0 18px; max-width: 420px; }
.learn-illu svg { width: 100%; height: auto; display: block; border-radius: 16px; background: linear-gradient(180deg, #0e1a24, #123044); }
.illu-sun { transform-origin: 58px 36px; animation: spin-slow 22s linear infinite; }
.illu-panel { animation: shimmer 5s ease-in-out infinite; }
.illu-pulse { animation: pulse-gold 2.4s ease-in-out infinite; }
.illu-fill { animation: fill-bat 3.6s ease-in-out infinite alternate; }
.illu-flow { stroke-dasharray: 12 8; animation: dash 2.8s linear infinite; }
@keyframes spin-slow { to { transform: rotate(360deg); } }
@keyframes shimmer { 0%,100% { opacity: .7; } 50% { opacity: 1; } }
@keyframes pulse-gold { 0%,100% { opacity: .55; } 50% { opacity: 1; } }
@keyframes fill-bat { from { width: 28px; } to { width: 86px; } }
@keyframes dash { to { stroke-dashoffset: -40; } }
@media (prefers-reduced-motion: reduce) {
  .illu-sun, .illu-panel, .illu-pulse, .illu-fill, .illu-flow { animation: none; }
}

.quick-answer, .important-callout, .takeaways {
  max-width: 72ch; border-radius: var(--radius); padding: 16px 18px; margin: 14px 0 18px;
}
.quick-answer { background: #fff; border: 1px solid rgba(212,160,23,.45); box-shadow: var(--shadow); }
.important-callout { background: rgba(196,92,38,.1); border-left: 4px solid var(--rust); }
.takeaways { background: #fff; border: 1px solid rgba(18,48,68,.08); }
.takeaways ul, .pro-card ul, .con-card ul { margin: 8px 0 0; padding-left: 1.15em; }
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 12px 0 22px; }
.pro-card { border-top: 4px solid var(--volt); }
.con-card { border-top: 4px solid var(--rust); }
@media (max-width: 980px) { .pros-cons { grid-template-columns: 1fr; } }

.seo-chain, .seo-hubs {
  width: min(var(--max), calc(100% - 40px)); margin: 0 auto;
}
.seo-chain {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 22px 0 8px; border-top: 1px solid rgba(18,48,68,.12);
}
.seo-chain a, .seo-hubs a { color: var(--navy); text-decoration: none; font-weight: 650; }
.seo-chain a:hover, .seo-hubs a:hover { color: var(--gold); }
.seo-mid { opacity: .75; }
.seo-hubs { display: flex; flex-wrap: wrap; gap: 10px 14px; padding: 8px 0 28px; font-size: 0.88rem; }
.map-cols { columns: 3; column-gap: 28px; list-style: none; padding: 0; }
.map-cols li { break-inside: avoid; padding: 3px 0; }
.map-cols a { color: var(--navy); text-decoration: none; }
.map-cols a:hover { color: var(--gold); }
@media (max-width: 980px) { .map-cols { columns: 1; } }

@media (max-width: 980px) {
  .city-cols { columns: 1; }
  .stats, .grid-4, .grid-3, .calc-shell, .foot-grid, .grid-2, .form-grid, .row-2, .lookup-bar, .shop-grid { grid-template-columns: 1fr; }
  .calc-nav, .results { position: static; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 72px;
    background: #071018; padding: 16px 20px 24px;
  }
  .menu-toggle { display: block; }
  .hero { min-height: 78vh; }
}
@media print {
  .site-header, .calc-nav, footer, .hero-cta, .menu-toggle { display: none !important; }
  .calc-shell { display: block; }
  body { background: #fff; }
}
