/* ======================================================================
   LEAD LANTERN — SHARED STYLES
   Every page of the site uses this one file, so a change here changes
   the whole site. Most people only ever touch "BRAND COLOURS" below.
   ====================================================================== */

/* ================= BRAND COLOURS & FONTS =================
   Change a colour here and it changes everywhere on the site. */
:root {
  --bg: #FBF7EF;          /* page background (warm cream) */
  --card: #ffffff;        /* white cards */
  --ink: #12313A;         /* main text, dark buttons and dark sections (deep teal ink) */
  --muted: #56676b;       /* grey paragraph text */
  --line: #E9E4DA;        /* thin borders */
  --accent: #0F8C7E;      /* accent colour (teal). Change this one value to recolour the site */
  --accent-soft: #d2ebe7; /* light accent (bars, avatars) */
  --accent-pale: #ecf6f4; /* call-to-action and paid-offer backgrounds */
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Instrument Sans", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --radius: 14px;
  --max: 1120px;
}

/* ================= BASICS ================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; margin: 0; letter-spacing: -0.015em; }
p { margin: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
section { padding: 96px 0; }
.eyebrow {
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 14px; display: block;
}
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(32px, 4.4vw, 44px); font-weight: 500; margin-bottom: 16px; }
.section-head p { color: var(--muted); font-size: 18px; }

/* Buttons */
.btn {
  display: inline-block; padding: 13px 22px; border-radius: 999px;
  font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer;
  border: 1.5px solid var(--ink); transition: transform .15s, background .15s, color .15s;
  font-family: var(--font-body);
}
.btn:hover { transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #1d4752; }
.btn-light { background: transparent; color: var(--ink); }
.btn-light:hover { background: var(--ink); color: #fff; }

/* ================= HEADER ================= */
header {
  position: sticky; top: 0; z-index: 50; background: rgba(251,247,239,.92);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 20px; position: relative; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 20px; text-decoration: none; }
.logo-mark { height: 40px; width: auto; flex: none; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links > a, .nav-trigger { text-decoration: none; color: var(--muted); font-size: 15.5px; }
.nav-links > a:hover, .nav-trigger:hover { color: var(--ink); }
.nav .btn { padding: 9px 17px; font-size: 14.5px; }
.menu-toggle { display: none; background: none; border: 1.5px solid var(--ink); border-radius: 8px; padding: 6px 10px; font: inherit; font-size: 14px; cursor: pointer; color: var(--ink); }

/* ---- Services dropdown ---- */
.has-menu { position: relative; }
.nav-trigger {
  background: none; border: 0; padding: 0; font-family: var(--font-body); cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
}
.caret { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .15s; }
.has-menu.open .caret { transform: rotate(-135deg) translateY(-1px); }
.has-menu.current .nav-trigger { color: var(--ink); }
.mega {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  padding-top: 18px; display: none; z-index: 60;
}
.has-menu:hover .mega, .has-menu.open .mega { display: block; }
.mega-inner {
  width: 640px; background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 22px 50px -24px rgba(18,49,58,.32); padding: 22px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px 26px;
}
.mega-group { display: grid; gap: 2px; align-content: start; }
.mega-label { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.mega a { text-decoration: none; font-size: 15px; color: var(--ink); padding: 6px 8px; margin: 0 -8px; border-radius: 8px; }
.mega a:hover { background: var(--bg); }
.mega a[aria-current="page"] { background: var(--accent-pale); }
.mega-all { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 14px !important; margin-top: 2px !important; font-weight: 600; }

/* ================= HERO ================= */
.hero { padding: 80px 0 90px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(42px, 6.2vw, 68px); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 26px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-lead { color: var(--muted); font-size: 19px; max-width: 540px; margin-bottom: 32px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 44px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.stat b { display: block; font-family: var(--font-display); font-size: 27px; font-weight: 700; }
.stat span { color: var(--muted); font-size: 14.5px; }

.report { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 24px; box-shadow: 0 18px 40px -22px rgba(18,49,58,.22); }
.report-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 1px dashed var(--line); }
.report-top h3 { font-family: var(--font-body); font-size: 16.5px; font-weight: 600; letter-spacing: 0; }
.tag { font-family: var(--font-mono); font-size: 11.5px; border: 1px solid var(--line); border-radius: 999px; padding: 3px 9px; color: var(--muted); white-space: nowrap; }
.bar-row { padding: 12px 0; border-bottom: 1px dashed var(--line); }
.bar-label { display: flex; justify-content: space-between; font-size: 14.5px; margin-bottom: 7px; }
.bar-label b { font-family: var(--font-mono); font-weight: 500; }
.bar { height: 7px; background: var(--accent-soft); border-radius: 99px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--accent); border-radius: 99px; }
.report-note { color: var(--muted); font-size: 13.5px; margin-top: 16px; }

/* ================= PLANS / TABS ================= */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.tab {
  font: 500 15.5px var(--font-body); padding: 10px 18px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer;
}
.tab:hover { border-color: var(--ink); }
.tab[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.panel[hidden] { display: none; }
.panel-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; margin-bottom: 28px; }
.panel-intro h3 { font-size: clamp(26px, 3vw, 31px); font-weight: 500; }
.panel-intro p { color: var(--muted); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--accent); }
.plan-tier { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.plan-tier .pop { color: var(--accent); }
.plan h4 { font-size: 21px; font-weight: 500; margin-bottom: 22px; }
.price { margin-bottom: 20px; color: var(--muted); font-size: 15px; }
.price b { font-family: var(--font-display); font-size: 30px; font-weight: 700; color: var(--ink); }
.price.custom b { font-size: 29px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 22px; flex: 1; }
.plan li { position: relative; padding-left: 22px; margin-bottom: 9px; font-size: 15.5px; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 600; }
.best { border-top: 1px solid var(--line); padding-top: 14px; color: var(--muted); font-size: 14.5px; }
.fine-print { margin-top: 22px; color: var(--muted); font-size: 14.5px; }
.fine-print b { color: var(--ink); }

/* ================= SERVICES (homepage section) ================= */
.svc-head .btn { margin-top: 26px; }
.svc-group { display: grid; grid-template-columns: 0.8fr 2fr; gap: 40px; padding: 34px 0; border-top: 1px solid var(--line); }
.svc-group-head h3 { font-size: 26px; font-weight: 500; margin-bottom: 8px; }
.svc-group-head p { color: var(--muted); font-size: 15.5px; }
.svc-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-content: start; }
.svc-card {
  display: flex; flex-direction: column; gap: 8px; text-decoration: none;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
  transition: border-color .15s, transform .15s;
}
.svc-card:hover { border-color: var(--ink); transform: translateY(-2px); }
.svc-card h4 { font-family: var(--font-body); font-size: 17.5px; font-weight: 600; letter-spacing: 0; }
.svc-card p { color: var(--muted); font-size: 15px; flex: 1; }
.more { font-size: 14.5px; font-weight: 600; color: var(--accent); }

/* ================= PROCESS (dark) ================= */
.dark { background: var(--ink); color: #fff; }
.dark .section-head p { color: #b5c8ca; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.steps.five { grid-template-columns: repeat(5, 1fr); gap: 20px; }
.step { border-top: 2px solid var(--accent); padding-top: 24px; }
.step .eyebrow { margin-bottom: 10px; }
.step h3 { font-family: var(--font-body); font-size: 19px; font-weight: 600; letter-spacing: 0; margin-bottom: 6px; }
.step p { color: #b5c8ca; font-size: 15.5px; }

/* ================= GROWTH AUDIT ================= */
.audit { background: var(--accent-pale); border-radius: 22px; padding: 52px 44px; display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.audit h2 { font-size: clamp(30px, 3.6vw, 36px); font-weight: 500; margin-bottom: 14px; }
.audit > div > p { color: var(--muted); margin-bottom: 22px; }
.audit-price { color: var(--muted); font-size: 15px; margin-bottom: 26px; }
.audit-price b { font-family: var(--font-display); font-size: 25px; color: var(--ink); margin-right: 4px; }
.audit ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.audit li { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; font-size: 15.5px; }

/* ================= FOUNDERS ================= */
.founders { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.founder { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; gap: 20px; }
.avatar { flex: none; width: 54px; height: 54px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-family: var(--font-mono); font-weight: 500; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.founder h3 { font-size: 21px; font-weight: 500; }
.role { display: block; font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 4px 0 12px; }
.founder p { color: var(--muted); font-size: 15.5px; }

/* ================= FAQ ================= */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; font-weight: 500; font-size: 17.5px; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding: 0 40px 22px 0; }

/* ================= CONTACT ================= */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: start; }
.contact-grid h2 { font-size: clamp(32px, 4.4vw, 44px); font-weight: 500; margin-bottom: 16px; }
.contact-grid > div > p { color: var(--muted); margin-bottom: 26px; }
.contact-lines { display: grid; gap: 8px; font-size: 15.5px; }
.contact-lines a { font-family: var(--font-mono); font-size: 14.5px; }
form { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 28px; display: grid; gap: 18px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: grid; gap: 6px; font-size: 14.5px; font-weight: 500; }
input, select, textarea {
  font: inherit; font-size: 16px; padding: 11px 13px; border: 1px solid var(--line);
  border-radius: 9px; background: #fffdf9; color: var(--ink); width: 100%;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
textarea { min-height: 110px; resize: vertical; }
form .btn { justify-self: start; }
.form-msg { font-size: 15px; padding: 12px 14px; border-radius: 9px; background: var(--accent-pale); }
.form-msg[hidden] { display: none; }
.hp { position: absolute; left: -9999px; }

/* ================= SERVICE PAGES ================= */
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 26px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.svc-hero { padding: 64px 0 80px; }
.svc-hero h1 { font-size: clamp(38px, 5.2vw, 58px); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 22px; }
.svc-hero .hero-grid { align-items: start; }
.best-box { margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--line); max-width: 540px; }
.best-box span { display: block; font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.included { list-style: none; padding: 0; margin: 0; }
.included li { position: relative; padding: 12px 0 12px 26px; border-bottom: 1px dashed var(--line); font-size: 15.5px; }
.included li:last-child { border-bottom: 0; }
.included li::before { content: "✓"; position: absolute; left: 2px; top: 12px; color: var(--accent); font-weight: 600; }
.svc-note { margin-top: 14px; font-size: 14px; color: var(--muted); }
.cta-box { background: var(--accent-pale); border-radius: 22px; padding: 52px 44px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.cta-box h2 { font-size: clamp(30px, 3.6vw, 38px); font-weight: 500; margin-bottom: 14px; }
.cta-box p { color: var(--muted); }
.cta-box .btn { justify-self: end; }
.other-svcs { display: flex; flex-wrap: wrap; gap: 10px; }
.other-svcs a { text-decoration: none; font-size: 15px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); }
.other-svcs a:hover { border-color: var(--ink); }

/* ================= FOOTER ================= */
footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ================= TABLET & MOBILE ================= */
@media (max-width: 1080px) {
  .steps.five { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  section { padding: 72px 0; }
  .hero { padding: 48px 0 64px; }
  .svc-hero { padding: 40px 0 64px; }
  .hero-grid, .panel-intro, .audit, .contact-grid, .founders, .svc-group, .cta-box { grid-template-columns: 1fr; }
  .svc-group { gap: 18px; }
  .cta-box { padding: 36px 24px; }
  .cta-box .btn { justify-self: start; }
  .plans, .services { grid-template-columns: 1fr; }
  .steps, .steps.five { grid-template-columns: 1fr 1fr; }
  .audit { padding: 36px 24px; }
  .nav-links {
    display: none; position: absolute; top: 66px; left: 0; right: 0; background: var(--bg);
    flex-direction: column; align-items: stretch; gap: 0; border-bottom: 1px solid var(--line);
    padding: 8px 24px 16px; max-height: calc(100vh - 66px); overflow-y: auto;
  }
  .nav-links.open { display: flex; }
  .nav-links > a, .nav-trigger { padding: 10px 0; font-size: 17px; }
  .nav-trigger { width: 100%; justify-content: space-between; }
  .mega { position: static; transform: none; padding-top: 0; }
  .has-menu:hover .mega { display: none; }
  .has-menu.open .mega { display: block; }
  .mega-inner { width: auto; grid-template-columns: 1fr; box-shadow: none; padding: 16px; gap: 14px; margin-bottom: 8px; }
  .menu-toggle { display: block; }
  .nav > .btn { display: none; }
}
@media (max-width: 560px) {
  .stats { grid-template-columns: 1fr 1fr; gap: 24px; }
  .steps, .steps.five, .row, .svc-cards { grid-template-columns: 1fr; }
  .founder { flex-direction: column; }
}

/* Keyboard focus ring */
.nav-trigger:focus-visible, .mega a:focus-visible, .svc-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.nav-trigger:focus:not(:focus-visible) { outline: none; }

/* ================= HERO FACTS (icons under the buttons) ================= */
.facts { list-style: none; padding: 28px 0 0; margin: 36px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 18px 32px; max-width: 560px; }
.facts li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); font-size: 15px; line-height: 1.5; }
.facts svg { flex: none; width: 20px; height: 20px; margin-top: 1px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ================= HERO LIGHTHOUSE ================= */
.lighthouse { background: #fef8ed; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 40px -22px rgba(18,49,58,.22); aspect-ratio: 1 / 0.97; display: grid; place-items: center; }
.lighthouse svg { width: auto; height: 62%; }

/* ================= FREE AUDIT & BLUEPRINT ================= */
.offers { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.offer { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; display: flex; flex-direction: column; }
.offer.paid { background: var(--accent-pale); border: 2px solid var(--accent); }
.offer h3 { font-size: 25px; font-weight: 500; margin-bottom: 14px; }
.offer-price { color: var(--muted); font-size: 14.5px; margin-bottom: 16px; }
.offer-price b { font-family: var(--font-display); font-size: 25px; color: var(--ink); margin-right: 2px; }
.offer-lead { color: var(--muted); margin-bottom: 12px; }
.offer-plus { font-weight: 600; font-size: 15.5px; margin-top: 4px; }
.offer .included { flex: 1; margin-bottom: 26px; }
.offer .included li { border-bottom: 0; padding: 6px 0 6px 24px; }
.offer .included li::before { top: 6px; }
.offer .btn { align-self: flex-start; }

/* ================= TESTIMONIALS ================= */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.quote { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; }
.quote blockquote { margin: 0 0 22px; font-family: var(--font-display); font-size: 20px; line-height: 1.35; flex: 1; }
.quote figcaption { border-top: 1px solid var(--line); padding-top: 16px; color: var(--muted); font-size: 14.5px; }

@media (max-width: 900px) {
  .offers, .quotes { grid-template-columns: 1fr; }
  .lighthouse { max-width: 420px; }
}
@media (max-width: 560px) {
  .facts { grid-template-columns: 1fr; }
}

/* ================= INDUSTRIES DROPDOWN ================= */
.mega-inner.narrow { width: 280px; grid-template-columns: 1fr; gap: 2px; }
.mega-inner.narrow .mega-all { margin-top: 10px !important; }
.panel-more { margin-top: 18px; }

/* ================= INDUSTRY PAGES ================= */
.ind-hero { max-width: 760px; }
.ind-hero h1 { font-size: clamp(38px, 5.2vw, 58px); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 22px; }
.chips { list-style: none; padding: 26px 0 0; margin: 32px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: 14px; padding: 6px 12px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); color: var(--muted); }
.pains { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.pain { background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--radius); padding: 24px 26px; }
.pain h3 { font-family: var(--font-body); font-size: 18px; font-weight: 600; letter-spacing: 0; margin-bottom: 8px; }
.pain p { color: var(--muted); font-size: 15.5px; }
.fixes { list-style: none; counter-reset: fix; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.fixes li { counter-increment: fix; border-top: 2px solid var(--accent); padding-top: 22px; }
.fixes li::before { content: "0" counter(fix); display: block; font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .14em; color: var(--accent); margin-bottom: 10px; }
.fixes h3 { font-family: var(--font-body); font-size: 18px; font-weight: 600; letter-spacing: 0; margin-bottom: 6px; }
.fixes p { color: #b5c8ca; font-size: 15px; margin-bottom: 12px; }
.fixes .more { color: #5fcbbb; text-decoration: none; font-size: 14px; }
.fixes .more:hover { text-decoration: underline; }
.note { margin-top: 36px; padding: 16px 20px; border: 1px solid #2d525b; border-radius: 12px; color: #d5e2e3; font-size: 15px; max-width: 760px; }
.cta-box .eyebrow { margin-bottom: 10px; }
@media (max-width: 900px) { .pains { grid-template-columns: 1fr; } }
.pains.three { grid-template-columns: repeat(3, 1fr); }
.fixes { grid-template-columns: repeat(5, 1fr); gap: 20px; }
@media (max-width: 1080px) { .fixes { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) { .pains.three { grid-template-columns: 1fr; } .fixes { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .fixes { grid-template-columns: 1fr; } }

/* Lighter accent for small text on dark navy sections, so it stays readable */
.dark .eyebrow, .dark .fixes li::before { color: #5fcbbb; }

/* ================= FORM CONSENT CHECKBOX ================= */
label.consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 14px; color: var(--muted); line-height: 1.5; }
label.consent input { width: 18px; height: 18px; flex: none; margin: 2px 0 0; accent-color: var(--accent); padding: 0; }
label.consent a { color: var(--ink); }

/* ================= FOOTER ================= */
footer.site-footer { border-top: 1px solid var(--line); padding: 56px 0 0; color: var(--muted); font-size: 15px; display: block; }
footer.site-footer .wrap.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; justify-content: initial; }
.footer-brand .logo { font-size: 20px; color: var(--ink); }
.footer-brand .footer-tag { font-family: var(--font-display); font-size: 19px; font-weight: 500; line-height: 1.3; color: var(--ink); margin: 16px 0 8px; max-width: 300px; }
.footer-brand p { margin-bottom: 18px; max-width: 280px; }
.socials { display: flex; flex-wrap: wrap; gap: 8px; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; color: var(--ink); border: 1px solid var(--line); border-radius: 50%; background: var(--card); transition: color .15s, border-color .15s, transform .15s; }
.socials a:hover { transform: translateY(-1px); }
.social-icon { width: 17px; height: 17px; }
.socials a:hover { border-color: var(--accent); color: var(--accent); }
.site-footer h3 { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer ul a { text-decoration: none; }
.site-footer ul a:hover, .footer-bottom a:hover { color: var(--accent); }
footer.site-footer .wrap.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 44px; padding-top: 22px; padding-bottom: 28px; border-top: 1px solid var(--line); font-size: 13.5px; }
.footer-bottom a { text-decoration: none; color: var(--ink); }
@media (max-width: 900px) { footer.site-footer .wrap.footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { footer.site-footer .wrap.footer-grid { grid-template-columns: 1fr; } }

/* ================= LEGAL PAGES ================= */
.legal { padding: 56px 0 96px; }
.legal .wrap { max-width: 800px; }
.legal h1 { font-size: clamp(36px, 5vw, 52px); font-weight: 700; letter-spacing: -0.025em; margin-bottom: 10px; }
.legal-date { color: var(--muted); font-size: 14.5px; margin-bottom: 30px; }
.legal-lead { font-size: 19px; color: var(--ink); padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.legal h2 { font-family: var(--font-body); font-size: 21px; font-weight: 600; letter-spacing: 0; margin: 40px 0 12px; }
.legal p, .legal li { color: #34484d; }
.legal p { margin-bottom: 12px; }
.legal ul { padding-left: 22px; margin: 0 0 14px; display: grid; gap: 6px; }
.legal a { color: var(--accent); }
.contact-card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; line-height: 1.8; }
mark.fill { background: #fff0b3; color: var(--ink); padding: 1px 5px; border-radius: 4px; }

/* ================= IMAGES (all pages) =================
   One frame style for every photo and illustration, so they sit in the design. */
.img-slot { margin: 0; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--ink); box-shadow: 0 24px 48px -28px rgba(18,49,58,.45), 0 0 0 1px rgba(18,49,58,.06); }
.img-slot img { display: block; width: 100%; height: 100%; object-fit: cover; }
.img-slot[hidden] { display: none; }
.img-slot.wide { aspect-ratio: 16 / 9; }
.img-slot.hero-photo { aspect-ratio: 4 / 5; }
.img-slot.banner { aspect-ratio: 16 / 7; margin-bottom: 28px; }
.svc-hero .hero-grid { align-items: center; }
/* when a page has no image for a spot, the text takes the full width */
.hero-grid.no-img, .get-grid.no-img, .pains-head.no-img, .audit-head.no-img { grid-template-columns: 1fr; }
.get-grid.no-img .deliverables { grid-template-columns: 1fr 1fr; column-gap: 40px; }
.cta-box.with-img { grid-template-columns: 1.2fr 1fr; }
.cta-box.with-img .btn { margin-top: 22px; justify-self: start; }
.cta-box.with-img .img-slot { box-shadow: 0 18px 36px -24px rgba(18,49,58,.5); }
.cta-box.with-img.no-img { grid-template-columns: 1fr; }
.pains-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; margin-bottom: 44px; }
.pains-head .section-head { margin-bottom: 0; }
.audit-head { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; margin-bottom: 44px; }
.audit-head .section-head { margin-bottom: 0; }
.audit-head .img-slot { max-width: 420px; justify-self: end; width: 100%; }
.contact-photo { margin-top: 30px; }
@media (max-width: 900px) {
  .cta-box.with-img, .pains-head, .audit-head { grid-template-columns: 1fr; gap: 28px; }
  .audit-head .img-slot { justify-self: start; }
  .img-slot.hero-photo { aspect-ratio: 4 / 3; }
  .img-slot.banner { aspect-ratio: 16 / 9; }
  .get-grid.no-img .deliverables { grid-template-columns: 1fr; }
}

/* ================= SERVICE PAGES: SECTIONS ================= */
.incl-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.incl-grid li { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px 18px 50px; font-size: 16px; }
.incl-grid li::before { content: "✓"; position: absolute; left: 18px; top: 17px; width: 22px; height: 22px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-size: 13px; font-weight: 700; }
.get-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.get-title { font-size: clamp(28px, 3.4vw, 36px); font-weight: 500; margin-bottom: 22px; }
.deliverables { list-style: none; counter-reset: dl; padding: 0; margin: 0; display: grid; gap: 4px; }
.deliverables li { counter-increment: dl; display: flex; gap: 16px; align-items: baseline; padding: 12px 0; border-bottom: 1px dashed var(--line); font-size: 16.5px; }
.deliverables li::before { content: counter(dl, decimal-leading-zero); font-family: var(--font-mono); font-size: 12.5px; color: var(--accent); flex: none; width: 22px; }
.pkgs-head { margin-top: 56px; }
.pkgs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.pkg { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.pkg h3 { font-family: var(--font-body); font-size: 17px; font-weight: 600; letter-spacing: 0; margin-bottom: 6px; }
.pkg p { color: var(--muted); font-size: 15px; }
.ind-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.ind-card { display: flex; flex-direction: column; gap: 8px; text-decoration: none; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; transition: border-color .15s, transform .15s; }
.ind-card:hover { border-color: var(--ink); transform: translateY(-2px); }
.ind-card h3 { font-family: var(--font-body); font-size: 17.5px; font-weight: 600; letter-spacing: 0; }
.ind-card p { color: var(--muted); font-size: 15px; flex: 1; }
@media (max-width: 900px) {
  .incl-grid, .get-grid { grid-template-columns: 1fr; }
  .get-grid { gap: 32px; }
  .pkgs { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) { .pkgs { grid-template-columns: 1fr; } }

/* Illustration that melts into the dark navy section instead of sitting in a card */
.dark .img-slot.blend { background: transparent; box-shadow: none; border-radius: 24px; margin: 8px 0 44px;
  -webkit-mask-image: radial-gradient(ellipse 75% 85% at 50% 50%, #000 60%, transparent 100%);
          mask-image: radial-gradient(ellipse 75% 85% at 50% 50%, #000 60%, transparent 100%); }
.not-found { padding: 80px 0 110px; }
.not-found h1 { font-size: clamp(40px, 5.6vw, 62px); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 20px; }

/* ================= HOW WE WORK PAGE ================= */
.process-more { margin-top: 36px; }
.dark .process-more .more { color: #5fcbbb; text-decoration: none; font-weight: 600; }
.weeks { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.week { display: grid; grid-template-columns: 0.8fr 2fr; gap: 40px; padding: 30px 0; border-top: 1px solid #2d525b; }
.week-label h3 { font-size: 26px; font-weight: 500; }
.week-body > p { color: #d5e2e3; font-size: 17px; margin-bottom: 14px; }
.dark .week .included li { border-bottom-color: #2d525b; color: #b5c8ca; padding-top: 8px; padding-bottom: 8px; }
.dark .week .included li::before { color: #5fcbbb; top: 8px; }
.steps.light .step p { color: var(--muted); }
.steps.light .step h3 { color: var(--ink); }
.pkgs.three { grid-template-columns: repeat(3, 1fr); }
.pkgs.three .eyebrow { margin-bottom: 8px; }
.get-grid.need { margin-top: 72px; align-items: start; }
.muted { color: var(--muted); }
.incl-grid.one { grid-template-columns: 1fr; }
.incl-grid.one li strong { color: var(--ink); }
@media (max-width: 900px) { .week { grid-template-columns: 1fr; gap: 12px; } .pkgs.three { grid-template-columns: 1fr; } }

/* ================= BLOG & GUIDES ================= */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card { display: flex; flex-direction: column; gap: 10px; text-decoration: none; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 14px 14px 22px; transition: transform .15s, border-color .15s; }
.post-card:hover { transform: translateY(-3px); border-color: var(--ink); }
.post-card .img-slot { border-radius: 12px; box-shadow: none; margin-bottom: 6px; }
.post-card h3, .post-card p, .post-card .post-meta, .post-card .post-tags { padding: 0 8px; }
.post-card h3 { font-family: var(--font-body); font-size: 18.5px; font-weight: 600; letter-spacing: 0; line-height: 1.3; }
.post-card p { color: var(--muted); font-size: 15px; flex: 1; }
.post-meta { font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; color: var(--muted); }
.post-meta .kind { color: var(--accent); text-transform: uppercase; letter-spacing: .12em; }
.post-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.post-tags span { font-size: 12.5px; padding: 3px 10px; border-radius: 999px; background: var(--accent-pale); color: var(--ink); }
.article { padding: 56px 0 80px; }
.article .wrap { max-width: 800px; }
.article h1 { font-size: clamp(34px, 4.8vw, 50px); font-weight: 700; letter-spacing: -0.025em; margin: 12px 0 16px; }
.article .legal-lead { border-bottom: 0; padding-bottom: 8px; }
.article-img { margin: 18px 0 36px; }
.article-body h2 { font-family: var(--font-body); font-size: 23px; font-weight: 600; letter-spacing: 0; margin: 40px 0 12px; }
.article-body p, .article-body li { color: #34484d; font-size: 17.5px; line-height: 1.7; }
.article-body p { margin-bottom: 16px; }
.article-body ul, .article-body ol { padding-left: 24px; margin: 0 0 18px; display: grid; gap: 10px; }
.article-body strong { color: var(--ink); }
.article-body a { color: var(--accent); }
.article-tip { margin-top: 40px; background: var(--accent-pale); border-left: 3px solid var(--accent); border-radius: 12px; padding: 20px 22px; font-size: 16.5px; color: var(--ink); }
.article-table { width: 100%; border-collapse: collapse; margin: 8px 0 24px; font-size: 16px; background: var(--card); border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.article-table th, .article-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.article-table th { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: #f6f2ea; }
.article-related { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
@media (max-width: 900px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .post-grid { grid-template-columns: 1fr; } }

/* Blog & Guides dropdown */
.mega-inner.blog-menu { width: 560px; }
.nav-links { gap: 24px; }

/* Switch to the compact "Menu" button below 1100px so the menu never wraps */
.nav-links > a, .nav-trigger, .logo { white-space: nowrap; }
@media (max-width: 1100px) {
  .nav-links {
    display: none; position: absolute; top: 66px; left: 0; right: 0; background: var(--bg);
    flex-direction: column; align-items: stretch; gap: 0; border-bottom: 1px solid var(--line);
    padding: 8px 24px 16px; max-height: calc(100vh - 66px); overflow-y: auto;
  }
  .nav-links.open { display: flex; }
  .nav-links > a, .nav-trigger { padding: 10px 0; font-size: 17px; }
  .nav-trigger { width: 100%; justify-content: space-between; }
  .mega { position: static; transform: none; padding-top: 0; }
  .has-menu:hover .mega { display: none; }
  .has-menu.open .mega { display: block; }
  .mega-inner, .mega-inner.narrow, .mega-inner.blog-menu { width: auto; grid-template-columns: 1fr; box-shadow: none; padding: 16px; gap: 14px; margin-bottom: 8px; }
  .menu-toggle { display: block; }
  .nav > .btn { display: none; }
}

/* Readability: small teal text uses a slightly deeper teal (passes WCAG AA contrast) */
:root { --accent-text: #0B7A6E; }
.eyebrow, .post-meta .kind, .more, .article-body a, .legal a, .mega-label, .plan-tier .pop { color: var(--accent-text); }
.dark .eyebrow { color: #5fcbbb; }
.avatar { color: var(--ink); }

/* Hero numbers: big figure first, label underneath */
.facts.stats-row { grid-template-columns: repeat(3, 1fr); gap: 22px 28px; max-width: 600px; }
.facts.stats-row li { display: block; }
.facts.stats-row b { display: block; font-family: var(--font-display); font-size: 28px; font-weight: 700; color: var(--ink); line-height: 1.1; margin-bottom: 4px; letter-spacing: -0.01em; }
.facts.stats-row span { font-size: 14px; color: var(--muted); line-height: 1.4; display: block; }
@media (max-width: 560px) { .facts.stats-row { grid-template-columns: 1fr 1fr; } }
