/* Northline Web Studio — styles.css
   4-colour premium system: warm bone paper, warm-black ink, deep espresso
   for dark sections, ONE ember accent (buttons, markers, eyebrows only —
   never body text). Instrument Serif for display headings (h1/h2,
   pull-quotes), Inter for everything else. All derived tones come from
   the 4 hues via the tokens below — no extra colours. */
:root {
  --paper: #F7F3EB;  /* warm bone — light background */
  --ink: #1B1611;    /* warm black — body text, 16.2:1 on paper */
  --coal: #131009;   /* deep espresso — dark sections, 17.2:1 for paper text */
  --ember: #B54A0E;  /* restrained ember — accent only: 4.8:1 on paper, 3.6:1 on coal */
  --muted: #544F4A;  /* secondary text on paper — 7.3:1 */
  --paper-dim: #B7B3AC; /* secondary text on coal — 9.1:1 */
  --line: #D8D4CC;   /* hairlines */
  --wash: #F0E2D5;   /* ember tint wash for highlight boxes */
  --alt: #EEEAE2;     /* alternate section background */
  /* legacy aliases: old navy/amber/slate names → new system (do not add new hues) */
  --navy-950: var(--coal);
  --navy-900: var(--coal);
  --navy-800: var(--ink);
  --slate-700: var(--muted);
  --slate-200: var(--line);
  --slate-100: var(--alt);
  --white: #ffffff;
  --amber-500: var(--ember);
  --amber-600: var(--ember);
  --amber-100: var(--wash);
  --green-600: var(--ember);
  --radius: 10px;
  --shadow: 0 2px 10px rgba(19, 16, 9, 0.07);
  --font-display: "Instrument Serif", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--navy-950);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

h1, h2 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0;
  color: var(--navy-950);
}
h3, h4 {
  font-family: var(--font-body);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--navy-950);
}

h1 { font-size: clamp(2.5rem, 5.2vw, 3.9rem); }
h1 em, h2 em { font-style: italic; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 0.5em; }
h3 { font-size: 1.15rem; margin-bottom: 0.35em; }
h4 { font-size: 1rem; margin-bottom: 0.3em; }

p { margin-bottom: 1em; color: var(--slate-700); }

a { color: var(--amber-600); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.section { padding: 76px 0; border-top: 1px solid var(--slate-200); }
.section:first-of-type { border-top: none; }
.section-alt { background: var(--slate-100); }
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--amber-600); margin-bottom: 16px;
}
.eyebrow::before { content: "> "; color: var(--amber-500); }
.lead { font-size: 1.12rem; max-width: 660px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.rule { border: none; border-top: 1px solid var(--slate-200); margin: 40px 0; }

/* ---------- Buttons (flat, square-ish) ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700; font-size: 1rem;
  padding: 13px 26px;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none !important;
}
.btn-primary { background: var(--ember); color: var(--paper); }
.btn-primary:hover { background: color-mix(in srgb, var(--ember) 82%, var(--coal)); color: var(--paper); }
.btn-outline { border-color: var(--navy-900); color: var(--navy-950); background: transparent; }
.btn-outline:hover { background: var(--navy-900); color: #fff; }
.btn-light { background: #fff; color: var(--navy-950); }
.btn-light:hover { background: var(--slate-100); }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--slate-200);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
}
.brand {
  font-family: var(--font-body); font-weight: 700; font-size: 1.02rem;
  letter-spacing: 0.01em;
  color: var(--navy-950); text-decoration: none !important;
  display: flex; align-items: center; gap: 10px;
  white-space: nowrap; flex-shrink: 0;
}
.brand-mark {
  width: 30px; height: 30px; border-radius: 7px;
  background: var(--coal);
  color: var(--paper);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1rem; font-weight: 700;
}
.nav-links { display: flex; align-items: center; gap: 18px; list-style: none; flex-wrap: nowrap; }
.nav-links a {
  color: var(--slate-700); font-weight: 600; font-size: 0.92rem;
  text-decoration: none !important; white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { color: var(--navy-950); }
.nav-cta {
  background: var(--navy-950); color: #fff !important;
  padding: 8px 16px; border-radius: 8px; font-size: 0.85rem !important;
  white-space: nowrap; flex-shrink: 0;
}
.nav-cta:hover { background: var(--navy-800); text-decoration: none !important; }
.nav-cta-secondary {
  background: transparent !important; color: var(--navy-950) !important;
  border: 2px solid var(--navy-900); padding: 6px 14px !important;
}
.nav-cta-secondary:hover { background: var(--navy-900) !important; color: #fff !important; }
.menu-toggle {
  display: none; background: none; border: none; cursor: pointer;
  font-size: 1.7rem; color: var(--navy-950); line-height: 1;
}

/* Collapse to hamburger below 1150px so header CTAs never crowd/overlap */
@media (max-width: 1150px) {
  .nav-links {
    display: none; position: absolute; top: 70px; left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: stretch;
    padding: 12px 24px 20px; border-bottom: 1px solid var(--slate-200);
    gap: 0; flex-wrap: wrap;
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-top: 1px solid var(--slate-100); width: 100%; }
  .nav-links a { display: block; padding: 14px 4px; white-space: normal; }
  .nav-cta { text-align: center; margin-top: 10px; }
  .menu-toggle { display: block; }
}

/* ---------- Value-stack / bonus line ---------- */
.bonus-line {
  border-left: 4px solid var(--amber-500);
  background: var(--amber-100);
  padding: 12px 16px;
  font-size: 0.95rem; color: var(--navy-900); margin-top: 14px;
}
.bonus-line strong { color: var(--navy-950); }
/* bonus-line inside dark bundle cards: beat .card-dark p so text stays dark on the light wash */
.card-dark .bonus-line { color: var(--ink); }
.card-dark .bonus-line strong { color: var(--ink); }

/* ---------- Hero (flat navy, real logo, no glow) ---------- */
.hero {
  background: var(--navy-950);
  color: #fff; padding: 88px 0 72px;
}
.hero-logo {
  width: 148px; height: 148px; border-radius: 14px;
  margin-bottom: 26px;
  border: 1px solid rgba(255,255,255,0.14);
}
.hero h1 { color: #fff; max-width: 720px; margin-bottom: 18px; }
.hero h1 .accent { color: var(--amber-500); }
.hero p.lead { color: var(--paper-dim); max-width: 640px; font-size: 1.15rem; }
.hero .kicker {
  font-family: var(--font-body);
  font-size: 0.85rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--paper); margin-bottom: 18px;
}
.hero .kicker::before { content: "> "; color: var(--ember); }
.hero .btn-row .btn-outline { border-color: rgba(255,255,255,0.45); color: #fff; }
.hero .btn-row .btn-outline:hover { background: #fff; color: var(--navy-950); }

/* ---------- Hero WOW (homepage): oversized type + full-width signal visual ---------- */
.hero-wow { padding: 118px 0 84px; overflow: hidden; position: relative; }
.hero-wow .kicker { margin-bottom: 26px; }
.hero-wow h1 {
  font-size: clamp(3.2rem, 8vw, 6rem);
  line-height: 1.02; letter-spacing: -0.015em;
  max-width: 1020px; margin-bottom: 26px; color: var(--paper);
}
.hero-wow h1 em { font-style: italic; color: var(--ember); }
.hero-wow .lead { font-size: 1.25rem; max-width: 640px; margin-bottom: 34px; }
.hero-wow .btn-row { margin-bottom: 6px; }
.btn-dark-ghost {
  border: 2px solid rgba(247,243,235,0.4); color: var(--paper);
  background: transparent;
}
.btn-dark-ghost:hover {
  border-color: var(--paper); background: rgba(247,243,235,0.08);
  color: var(--paper); transform: translateY(-1px);
}
.hero-call { margin-top: 22px; font-size: 0.98rem; color: var(--paper-dim); }
.hero-call a { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }
.hero-signal { margin: 60px 0 10px; }
.hero-signal svg { width: 100%; height: auto; display: block; }
.sig-draw {
  fill: none; stroke: var(--ember); stroke-width: 5; stroke-linecap: round;
  stroke-dasharray: 1400; stroke-dashoffset: 1400;
  animation: sig-draw 1.5s ease-out forwards;
}
.sig-draw.s2 { animation-delay: 0.35s; }
.sig-draw.s3 { animation-delay: 0.7s; }
@keyframes sig-draw { to { stroke-dashoffset: 0; } }
.sig-fade { opacity: 0; animation: sig-fade 0.8s ease-out forwards; }
.sig-fade.f1 { animation-delay: 0.15s; }
.sig-fade.f2 { animation-delay: 0.8s; }
.sig-fade.f3 { animation-delay: 1.15s; }
.sig-fade.f4 { animation-delay: 1.5s; }
@keyframes sig-fade { to { opacity: 1; } }
.hero-wow .hero-stats {
  margin-top: 52px; padding-top: 30px;
  border-top: 1px solid rgba(247,243,235,0.14);
  max-width: 1080px;
}
.hero-wow .hstat b { font-size: 2rem; }
/* links/prices on dark cards: ember fails 4.5:1 on coal, use paper instead */
.card-dark .price { color: var(--paper); }
.card-dark a { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }

.trustbar {
  background: var(--navy-950); border-top: 1px solid rgba(255,255,255,0.12);
  color: var(--paper-dim); padding: 14px 0; font-size: 0.9rem;
}
.trustbar .container {
  display: flex; flex-wrap: wrap; gap: 10px 0;
  align-items: center; justify-content: flex-start;
}
.trustbar span { padding: 0 22px; border-right: 1px solid rgba(255,255,255,0.14); }
.trustbar span:first-child { padding-left: 0; }
.trustbar span:last-child { border-right: none; }
.trustbar a { color: #fff; }

/* ---------- Service menu list (price-list style rows) ---------- */
.menu-list { margin-top: 36px; border-top: 2px solid var(--navy-950); }
.menu-row {
  display: grid; grid-template-columns: 1fr auto; gap: 8px 28px;
  padding: 22px 4px; border-bottom: 1px solid var(--slate-200);
  align-items: baseline;
}
.menu-row h3 { margin-bottom: 4px; font-size: 1.12rem; }
.menu-row h3 .m-num {
  font-family: var(--font-body); font-weight: 700; font-size: 0.85rem;
  color: var(--amber-600); margin-right: 10px; letter-spacing: 0.06em;
}
.menu-row p { margin-bottom: 0; font-size: 0.98rem; max-width: 620px; }
.menu-row .m-price {
  font-family: var(--font-body); font-weight: 700; font-size: 1rem;
  color: var(--navy-950); white-space: nowrap; text-align: right;
}
.menu-row .m-price small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 0.82rem; color: var(--slate-700); }

/* ---------- Cards / grids (flat, no hover-lift) ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.custom-quote .card-grid { grid-template-columns: repeat(2, 1fr); }
.founding-box {
  margin: 56px auto 0; max-width: 820px; text-align: center;
  background: #fff; border: 1px solid var(--border); border-left: 4px solid var(--ember);
  padding: 44px 40px; border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: 0 18px 40px -28px rgba(19,16,9,0.35);
}
.founding-box .lead { margin-left: auto; margin-right: auto; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 40px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }

.card {
  background: #fff; border: 1px solid var(--slate-200);
  border-radius: var(--radius); padding: 28px 24px;
}
.card-dark {
  background: var(--navy-950); border-color: var(--navy-950); color: #fff;
}
.card-dark h3 { color: #fff; }
.card-dark p { color: var(--paper-dim); }
.card-dark .price { color: var(--paper); }
.card-dark .price::before { color: var(--ember); }
.card-dark .terms-line { color: var(--paper-dim); }
.card-dark .tag { color: var(--paper-dim); }
.card-dark a:not(.btn) { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }
.card-dark a:not(.btn):hover { color: #fff; }
.card-accent { border-top: 4px solid var(--amber-500); }
.price {
  display: inline-block; margin-top: 10px;
  font-family: var(--font-body); font-weight: 700;
  font-size: 0.98rem; color: var(--navy-900);
}
.price::before { content: "> "; color: var(--amber-600); }
.tag {
  display: inline-block; font-family: var(--font-body);
  font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 3px 0; margin-bottom: 10px; color: var(--slate-700);
  border-bottom: 2px solid var(--amber-500);
}
.tag-once, .tag-monthly, .tag-bundle { color: var(--slate-700); }

/* ---------- Steps (editorial numbered rows) ---------- */
.steps { counter-reset: step; margin-top: 36px; border-top: 2px solid var(--navy-950); }
.step {
  position: relative; background: transparent; border: none;
  border-bottom: 1px solid var(--slate-200);
  border-radius: 0; padding: 24px 8px 24px 72px;
}
.step::before {
  counter-increment: step; content: "0" counter(step);
  position: absolute; left: 8px; top: 22px;
  font-family: var(--font-body); font-weight: 700; font-size: 1.3rem;
  color: var(--amber-600); background: none; width: auto; height: auto;
  border-radius: 0; display: block;
}

/* ---------- FAQ (hairline rows, no boxes) ---------- */
.faq { max-width: 760px; margin: 36px 0 0; }
.faq-item {
  border: none; border-bottom: 1px solid var(--slate-200);
  border-radius: 0; margin-bottom: 0; background: transparent; overflow: hidden;
}
.faq-item:first-child { border-top: 1px solid var(--slate-200); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 18px 4px; font-family: var(--font-body);
  font-size: 1.02rem; font-weight: 700; color: var(--navy-950);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-q .plus { color: var(--amber-600); font-size: 1.3rem; font-weight: 400; transition: transform 0.2s; flex-shrink: 0; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.faq-a p { padding: 0 4px 20px; margin: 0; font-size: 0.98rem; }

/* ---------- CTA banner (flat navy) ---------- */
.cta-banner {
  background: var(--navy-950);
  border-top: 6px solid var(--amber-500);
  border-radius: 14px; padding: 56px 44px; color: #fff;
  text-align: center;
}
.cta-banner h2 { color: #fff; }
.cta-banner p { color: var(--paper-dim); max-width: 560px; margin: 0 auto 8px; }
.cta-banner p a { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Work ---------- */
.sample-label {
  display: inline-block; background: var(--slate-100); color: var(--slate-700);
  font-weight: 700; font-size: 0.82rem; padding: 6px 14px;
  border-radius: 6px; margin-bottom: 14px; border: 1px solid var(--slate-200);
}

/* ---------- About ---------- */
.about-hero { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 52px; align-items: start; }
.about-card {
  background: var(--navy-950); color: #fff; border-radius: var(--radius); padding: 40px 34px;
}
.about-card h3 { color: #fff; }
.about-card p { color: var(--paper-dim); }
.fact-row { display: flex; gap: 12px; margin-top: 16px; align-items: flex-start; }
.fact-row .dot { color: var(--paper-dim); font-weight: 700; font-size: 1.1rem; line-height: 1.5; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 44px; margin-top: 40px; align-items: start; }
.contact-card {
  background: #fff; border: 1px solid var(--slate-200);
  border-radius: var(--radius); padding: 26px;
  margin-bottom: 16px;
}
.contact-card h3 { margin-bottom: 6px; font-size: 1.05rem; }
.contact-card p { margin-bottom: 4px; font-size: 0.97rem; }
.contact-card a.big { font-family: var(--font-body); font-weight: 700; font-size: 1.05rem; color: var(--navy-950); }
.form-card {
  background: #fff; border: 1px solid var(--slate-200);
  border-radius: var(--radius); padding: 34px;
}
label { display: block; font-weight: 600; font-size: 0.95rem; margin: 16px 0 6px; color: var(--navy-950); }
input[type="text"], input[type="email"], input[type="tel"], textarea, select {
  width: 100%; padding: 12px 14px; font-size: 1rem; font-family: var(--font-body);
  border: 1.5px solid var(--slate-200); border-radius: 8px; background: #fff;
}
input:focus, textarea:focus, select:focus {
  outline: none; border-color: var(--amber-600); box-shadow: 0 0 0 3px rgba(181,74,14,0.18);
}
textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: 0.88rem; color: var(--slate-700); margin-top: 14px; }

/* ---------- Footer ---------- */
footer { background: var(--coal); color: var(--paper-dim); padding: 60px 0 30px; margin-top: 0; border-top: 4px solid var(--ember); }
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 34px;
}
.footer-mini { margin-top: 18px; }
.footer-mini h4 { margin-bottom: 10px; }
footer address { font-style: normal; font-size: 0.95rem; }
footer address a { color: #fff; }
footer h4 {
  color: #fff; font-family: var(--font-body);
  font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 14px;
}
footer ul { list-style: none; }
footer ul li { margin-bottom: 8px; font-size: 0.95rem; }
footer a { color: var(--paper-dim); }
footer a:hover { color: var(--paper); }
.footer-brand { color: var(--paper); font-family: var(--font-display); font-weight: 400; font-size: 1.7rem; margin-bottom: 12px; display: block; letter-spacing: 0.01em; }
.footer-logo { width: 92px; height: 92px; border-radius: 10px; margin-bottom: 14px; border: 1px solid rgba(255,255,255,0.14); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 0.86rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-3, .grid-4, .card-grid { grid-template-columns: repeat(2, 1fr); }
  .about-hero, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .grid-3, .grid-2, .grid-4, .card-grid, .custom-quote .card-grid { grid-template-columns: 1fr; }
  .nav-links {
    display: none; position: absolute; top: 70px; left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: stretch;
    padding: 12px 24px 20px; border-bottom: 1px solid var(--slate-200);
    gap: 0;
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-top: 1px solid var(--slate-100); }
  .nav-links a { display: block; padding: 14px 4px; }
  .nav-cta { text-align: center; margin-top: 10px; }
  .menu-toggle { display: block; }
  .nav { position: sticky; }
  .cta-banner { padding: 40px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .step { padding: 20px 4px 20px 60px; }
  .step::before { left: 4px; top: 18px; }
  .menu-row { grid-template-columns: 1fr; gap: 6px; }
  .menu-row .m-price { text-align: left; }
  .trustbar span { padding: 4px 14px 4px 0; border-right: none; }
  .hero-logo { width: 112px; height: 112px; }
}

/* ---------- Second-wave conversion additions ---------- */
.terms-line {
  font-size: 0.87rem; color: var(--slate-700); margin-top: 10px;
}
.compare-wrap { overflow-x: auto; margin-top: 24px; }
.compare-table {
  width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 560px;
  background: #fff;
}
.compare-table th, .compare-table td {
  text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--slate-200);
  vertical-align: top;
}
.compare-table thead th {
  background: var(--navy-950); color: #fff; font-family: var(--font-body);
  font-size: 0.95rem; white-space: nowrap; font-weight: 700;
}
.compare-table thead th:first-child { border-radius: 10px 0 0 0; }
.compare-table thead th:last-child { border-radius: 0 10px 0 0; }
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table td.hl { background: var(--amber-100); font-weight: 600; color: var(--navy-950); }
.compare-note { font-size: 0.85rem; color: var(--slate-700); margin-top: 10px; }
.checklist { list-style: none; padding: 0; margin: 20px 0 0; }
.checklist li {
  padding: 11px 0 11px 34px; position: relative;
  border-bottom: 1px solid var(--slate-100); font-size: 0.98rem;
}
.checklist li:last-child { border-bottom: none; }
.checklist li::before {
  content: "✓"; position: absolute; left: 8px; top: 11px;
  color: var(--green-600); font-weight: 700; font-size: 1.05rem;
}

/* ---------- Redesign pass: guarantees, 404, section variety ---------- */
.section-narrow .container { max-width: 780px; }

.guarantees { list-style: none; margin: 32px 0 0; padding: 0; border-top: 2px solid var(--navy-950); }
.guarantees li {
  display: grid; grid-template-columns: 56px 1fr; gap: 18px;
  padding: 22px 4px; border-bottom: 1px solid var(--slate-200); align-items: baseline;
}
.guarantees .g-num {
  font-family: var(--font-body); font-weight: 700; font-size: 0.95rem;
  color: var(--amber-600);
}
.guarantees h3 { margin-bottom: 4px; }
.guarantees p { margin-bottom: 0; font-size: 0.98rem; max-width: 600px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-top: 36px; }
.split.tight { gap: 32px; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; gap: 28px; } }

.stat-band {
  background: var(--navy-950); color: #fff; border-radius: var(--radius);
  padding: 44px 40px; margin-top: 40px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.stat-band .stat { border-left: 3px solid var(--amber-500); padding-left: 18px; }
.stat-band .stat b {
  display: block; font-family: var(--font-body); font-weight: 700;
  font-size: 1.6rem; color: var(--amber-500); margin-bottom: 6px;
}
.stat-band .stat span { color: var(--paper-dim); font-size: 0.95rem; }
@media (max-width: 700px) { .stat-band { grid-template-columns: 1fr; padding: 32px 28px; } }

.err404 { text-align: center; padding: 90px 0; }
.err404 .code {
  font-family: var(--font-body); font-weight: 700;
  font-size: clamp(4rem, 12vw, 7rem); color: var(--navy-950); line-height: 1;
}
.err404 h1 { margin: 18px 0 12px; }

.deposit-note {
  border: 1.5px solid var(--slate-200); border-left: 4px solid var(--amber-500);
  background: #fff; border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 22px; margin-top: 28px; font-size: 0.97rem;
}
.deposit-note strong { color: var(--navy-950); }
.deposit-note .mono { font-family: var(--font-body); font-size: 0.9rem; }

.local-note {
  background: var(--amber-100); border-radius: var(--radius);
  padding: 22px 26px; margin-top: 32px; font-size: 0.98rem; color: var(--navy-900);
}
.local-note strong { color: var(--navy-950); }

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

/* ---------- Upgrade pass (Sep 2026): visual refresh ----------
   Flat editorial system kept. Tasteful motion only, JS-gated so
   no-JS and reduced-motion users always see full content. */

/* Hero stat strip */
.hero-stats {
  display: flex; flex-wrap: wrap;
  margin-top: 34px; padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,0.14);
  max-width: 900px;
}
.hstat { padding: 2px 26px; border-right: 1px solid rgba(255,255,255,0.14); }
.hstat:first-child { padding-left: 0; }
.hstat:last-child { border-right: none; }
.hstat b {
  display: block; font-family: var(--font-body); font-weight: 700;
  font-size: 1.5rem; color: var(--amber-500); line-height: 1.15;
}
.hstat span { font-size: 0.86rem; color: var(--paper-dim); }
@media (max-width: 700px) {
  .hstat { padding: 10px 18px 10px 0; border-right: none; flex: 1 1 40%; }
}

/* Pain-point cards */
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.pain-card {
  background: #fff; border: 1px solid var(--slate-200);
  border-radius: var(--radius); padding: 28px 24px;
  transition: border-color 0.2s ease;
}
.pain-card:hover { border-color: var(--navy-900); }
.pain-num {
  font-family: var(--font-body); font-weight: 700; font-size: 0.95rem;
  color: var(--amber-600); letter-spacing: 0.06em; margin-bottom: 12px; display: block;
}
.pain-card h3 { margin-bottom: 8px; }
.pain-card p { font-size: 0.96rem; margin-bottom: 0; }
@media (max-width: 800px) { .pain-grid { grid-template-columns: 1fr; } }

/* Pull quote (repeats existing copy — never invented) */
.pull-quote {
  border-left: 4px solid var(--amber-500);
  margin: 40px 0; padding: 6px 0 6px 26px;
}
.pull-quote p {
  font-family: var(--font-display); font-size: 1.45rem; line-height: 1.35;
  color: var(--navy-950); margin-bottom: 8px; max-width: 640px;
}
.pull-quote cite {
  font-family: var(--font-body); font-style: normal; font-size: 0.85rem;
  color: var(--slate-700); letter-spacing: 0.04em;
}

/* Photo-ready empty frame (no photo, no AI image, no placeholder face) */
.photo-frame {
  width: 100%; max-width: 340px; aspect-ratio: 4 / 5;
  border: 2px dashed var(--slate-200); border-radius: var(--radius);
  background: var(--slate-100);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; text-align: center; padding: 24px;
}
.photo-frame-g {
  font-family: var(--font-display); font-size: 4rem; line-height: 1;
  color: var(--navy-900);
}
.photo-frame-cap {
  font-family: var(--font-body); font-size: 0.8rem; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--slate-700); line-height: 1.6;
}
.founder-split { align-items: start; }

/* Performance proof note */
.perf-note {
  border: 1.5px solid var(--slate-200); border-radius: var(--radius);
  background: #fff; padding: 26px 30px; margin-top: 40px;
}
.perf-note .scores {
  font-family: var(--font-body); font-weight: 700; font-size: 1.05rem;
  color: var(--navy-950); margin-bottom: 8px;
}
.perf-note .scores b { color: var(--amber-600); }
.perf-note .scores small { font-weight: 400; font-size: 0.85rem; color: var(--slate-700); }
.perf-note p { font-size: 0.96rem; margin-bottom: 0; }

/* Build log */
.build-log { margin-top: 36px; border-top: 2px solid var(--navy-950); }
.build-entry {
  display: grid; grid-template-columns: 130px 1fr; gap: 20px;
  padding: 18px 4px; border-bottom: 1px solid var(--slate-200);
}
.build-entry time {
  font-family: var(--font-body); font-weight: 700; font-size: 0.85rem;
  color: var(--amber-600); white-space: nowrap;
}
.build-entry p { margin-bottom: 0; font-size: 0.97rem; }
@media (max-width: 640px) { .build-entry { grid-template-columns: 1fr; gap: 4px; } }

/* Scroll reveals — applied by JS only; content fully visible without JS */
html.js .rv { opacity: 0; transform: translateY(16px); transition: opacity 0.55s ease, transform 0.55s ease; }
html.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .rv { opacity: 1; transform: none; transition: none; }
}

/* ---------- Premium hover polish: gentle lift, no glow ---------- */
.btn { transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease; }
.btn-primary:hover { transform: translateY(-1px); }
.card { transition: border-color 0.2s ease, transform 0.25s ease, box-shadow 0.25s ease; }
.card:hover { border-color: var(--line); transform: translateY(-3px); box-shadow: 0 12px 30px rgba(19,16,9,0.10); }
.menu-row { transition: background-color 0.2s ease; }
.menu-row:hover { background: #fff; }
.demo-card { transition: border-color 0.2s ease, transform 0.25s ease, box-shadow 0.25s ease; }
.demo-card:hover { border-color: var(--line); transform: translateY(-3px); box-shadow: 0 12px 30px rgba(19,16,9,0.10); }
.nav-links a { transition: color 0.15s ease; }
@media (prefers-reduced-motion: reduce) {
  .btn, .card, .demo-card { transition: none; }
  .btn-primary:hover, .btn-dark-ghost:hover, .card:hover, .demo-card:hover { transform: none; }
}

/* ---------- Animated hero visual: a website being built (pure SVG + CSS) ---------- */
.hero-layout { display:grid; grid-template-columns:1.05fr 0.95fr; gap:56px; align-items:center; }
.hero-layout h1 { font-size: clamp(2.6rem, 5.2vw, 3.9rem); max-width: none; }
.hero-visual svg { width:100%; height:auto; display:block; }
.bv-frame { fill:rgba(255,255,255,.03); stroke:rgba(255,255,255,.25); stroke-width:2; }
.bv-chrome { stroke:rgba(255,255,255,.22); stroke-width:2; fill:none; }
.bv-dot { fill:none; stroke:rgba(255,255,255,.4); stroke-width:2; }
.bv-block { fill:rgba(255,255,255,.07); stroke:rgba(255,255,255,.15); stroke-width:1.5; }
.bv-cta { fill:var(--ember); }
.bv-draw { stroke:var(--ember); stroke-width:7; stroke-linecap:round; stroke-dasharray:220; stroke-dashoffset:220; animation:bv-draw 1s ease-out forwards; }
.bv-draw.thin { stroke:rgba(255,255,255,.35); stroke-width:4; }
.bv-fade { opacity:0; animation:bv-fade .7s ease-out forwards; }
.bv-cta-anim { fill:var(--ember); opacity:0; transform-box:fill-box; transform-origin:center; animation:bv-fade .7s ease-out 1.2s forwards, bv-pulse 2.8s ease-in-out 2.6s infinite; }
.d1{animation-delay:.3s}.d2{animation-delay:.45s}.d3{animation-delay:.7s}.d4{animation-delay:.85s}.d5{animation-delay:1s}.d6{animation-delay:1.1s}
.f1{animation-delay:.15s}.f2{animation-delay:.5s}.f3{animation-delay:.6s}.f5{animation-delay:1.4s}.f6{animation-delay:1.55s}.f7{animation-delay:1.7s}
@keyframes bv-draw { to { stroke-dashoffset:0; } }
@keyframes bv-fade { to { opacity:1; } }
@keyframes bv-pulse { 0%,100% { transform:scale(1); } 50% { transform:scale(1.07); } }
@media (max-width:900px){ .hero-layout{grid-template-columns:1fr; gap:36px;} .hero-visual{max-width:520px;} }
@media (prefers-reduced-motion:reduce){
  .bv-draw,.bv-fade,.bv-cta-anim{animation:none!important;opacity:1!important;stroke-dashoffset:0!important;transform:none!important;}
  .sig-draw,.sig-fade{animation:none!important;opacity:1!important;stroke-dashoffset:0!important;}
}

/* ---------- Animated service-card icons (draw on scroll, pure SVG + CSS) ---------- */
.svc-icon { width:36px; height:36px; color:var(--amber-600); display:block; margin-bottom:12px; }
.svc-icon .draw-line { stroke-dasharray:120; stroke-dashoffset:120; }
html.js .rv.in .svc-icon .draw-line { animation:svc-draw 1s ease-out forwards; }
html:not(.js) .svc-icon .draw-line { stroke-dashoffset:0; }
@keyframes svc-draw { to { stroke-dashoffset:0; } }
@media (prefers-reduced-motion:reduce){
  .svc-icon .draw-line { stroke-dashoffset:0!important; animation:none!important; }
}

/* ---------- Animated thank-you check (pure SVG + CSS) ---------- */
.ty-check { width:84px; height:84px; display:block; margin:0 auto 20px; color:var(--amber-600); }
.ty-check .ty-circle { stroke-dasharray:320; stroke-dashoffset:320; animation:ty-draw 1s ease-out .2s forwards; }
.ty-check .ty-tick { stroke-dasharray:120; stroke-dashoffset:120; animation:ty-draw .6s ease-out 1s forwards; }
@keyframes ty-draw { to { stroke-dashoffset:0; } }
@media (prefers-reduced-motion:reduce){
  .ty-check .ty-circle,.ty-check .ty-tick { stroke-dashoffset:0!important; animation:none!important; }
}

/* ---------- Pain-point cards ---------- */
.pain-grid { margin-top: 8px; }
.pain-card { border-top: 3px solid var(--amber-500); }
.pain-card h3 { font-size: 1.2rem; }
.section-note { max-width: 660px; margin: 28px auto 0; text-align: center; color: var(--muted); font-size: 1.02rem; }

/* ---------- Performance proof + build log ---------- */
.perf-note { max-width: 720px; margin: 28px auto 0; text-align: center; color: var(--muted); font-size: 0.95rem; }
.build-log { max-width: 780px; margin: 32px auto 0; }
.build-entry { display: grid; grid-template-columns: 110px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--border); }
.build-entry:first-child { border-top: 1px solid var(--border); }
.build-date { font-family: var(--font-body); font-size: 0.85rem; color: var(--amber-600); font-weight: 700; padding-top: 3px; letter-spacing: 0.02em; }
.build-entry p { margin: 0; }
/* ---------- Founder photo placeholder (photo coming soon — intentional, not raw text) ---------- */
.founder-frame {
  width: 220px; height: 260px;
  display: flex; align-items: center; justify-content: center;
  background: var(--alt);
  border: 2px dashed var(--ember);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.95rem; text-align: center; line-height: 1.5;
}
.about-card .founder-frame { margin: 0 auto 24px; }
@media (max-width: 640px){ .build-entry { grid-template-columns: 1fr; gap: 6px; } }

/* ---------- Custom quote section (services) ---------- */
.custom-quote { background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius); padding: 48px 40px; }
.custom-quote h2 { margin-top: 0; }
.own-line { max-width: 700px; margin: 32px auto 28px; text-align: center; font-size: 1.05rem; padding-top: 24px; border-top: 2px solid var(--amber-500); }
@media (max-width: 640px){ .custom-quote { padding: 32px 24px; } }

/* ---------- Gradient divider ---------- */
.divider { height:3px; border:none; margin:40px 0;
  background:linear-gradient(90deg, transparent, var(--amber-500), transparent); }

/* ---------- Anatomy diagram: what every Northline site is built to do ---------- */
.anatomy { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin-top: 38px; box-shadow: var(--shadow); }
.anatomy-chrome { background: var(--coal); padding: 13px 20px; display: flex; align-items: center; gap: 8px; }
.anatomy-chrome .a-dot { width: 11px; height: 11px; border-radius: 50%; background: rgba(247,243,235,0.22); }
.anatomy-chrome em { font-style: normal; color: var(--paper-dim); font-size: 0.85rem; margin-left: 12px; letter-spacing: 0.03em; }
.anatomy-chrome .a-call { margin-left: auto; background: var(--ember); color: var(--paper); font-size: 0.78rem; font-weight: 700; padding: 7px 15px; border-radius: 999px; white-space: nowrap; }
.anatomy-list { list-style: none; margin: 0; padding: 6px 0; }
.anatomy-list li { display: grid; grid-template-columns: 72px 1fr; gap: 22px; align-items: start; padding: 20px 28px; border-top: 1px solid var(--line); }
.anatomy-list li:first-child { border-top: none; }
.a-num { font-family: var(--font-display); font-size: 1.9rem; line-height: 1; color: var(--ember); padding-top: 2px; }
.anatomy-list p { margin: 0; font-size: 0.99rem; color: var(--muted); }
.anatomy-list p strong { color: var(--ink); font-weight: 700; }
@media (max-width: 640px) { .anatomy-list li { grid-template-columns: 52px 1fr; gap: 14px; padding: 16px 20px; } .a-num { font-size: 1.5rem; } }

/* ---------- Framed decorative visuals ---------- */
.fig-visual { margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--coal); }
.fig-visual img { width: 100%; height: auto; display: block; transition: transform 0.5s ease; }
.fig-visual:hover img { transform: scale(1.02); }
@media (prefers-reduced-motion: reduce) { .fig-visual img { transition: none; } .fig-visual:hover img { transform: none; } }
