/* KlevrFlow site styles.
   Brand: 60% navy, 30% mist, 10% forest green (calls to action and highlights). */

@font-face { font-family: "Sora"; font-weight: 600; font-style: normal; font-display: swap; src: url("/assets/fonts/sora-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Sora"; font-weight: 700; font-style: normal; font-display: swap; src: url("/assets/fonts/sora-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-style: normal; font-display: swap; src: url("/assets/fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("/assets/fonts/inter-latin-600-normal.woff2") format("woff2"); }

:root {
  --navy: #12294A;
  --navy-2: #0D1F39;      /* deeper navy for footer and contrast bands */
  --navy-3: #1B3660;      /* lifted navy for cards on navy */
  --mist: #ECEAE3;
  --mist-2: #E2DFD5;
  --forest: #2F6B4F;
  --forest-dark: #255A41;
  --white: #FFFFFF;
  --ink: #12294A;
  --text: #2E3A4E;
  --muted: #5B6679;
  --on-dark: #FFFFFF;
  --on-dark-muted: #BCC6D6;
  --line: #D8D4C8;
  --line-dark: rgba(255, 255, 255, 0.14);

  --f-display: "Sora", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --step-h1: clamp(2.35rem, 1.6rem + 3.6vw, 4.4rem);
  --step-h2: clamp(1.75rem, 1.35rem + 1.8vw, 2.7rem);
  --step-h3: 1.2rem;
  --radius: 14px;
  --container: 1180px;
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --section: clamp(64px, 5vw + 40px, 120px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--mist); color: var(--text); font: 400 1.0625rem/1.65 var(--f-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--forest); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--f-display); color: var(--ink); margin: 0; line-height: 1.12; text-wrap: balance; letter-spacing: -0.02em; }
h1 { font-size: var(--step-h1); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; }
h2 { font-size: var(--step-h2); font-weight: 700; }
h3 { font-size: var(--step-h3); font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--forest); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--white); color: var(--ink); padding: 10px 14px; border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--container) + 40px); margin-inline: auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.section { padding-block: var(--section); }
.section-head { display: grid; gap: 14px; max-width: 720px; margin-bottom: clamp(36px, 4vw, 56px); }
.eyebrow { font: 600 0.78rem/1 var(--f-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--forest); }
.eyebrow.on-dark { color: var(--on-dark-muted); }
.lead { font-size: clamp(1.08rem, 1rem + 0.35vw, 1.25rem); line-height: 1.6; color: var(--muted); max-width: 62ch; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: 600 0.98rem/1 var(--f-body); padding: 13px 20px; border-radius: 10px; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background-color .2s ease, transform .2s ease, border-color .2s ease, box-shadow .2s ease; white-space: nowrap; }
.btn-lg { padding: 16px 24px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--forest); color: var(--white); box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 6px 18px -8px rgba(47,107,79,.7); }
.btn-primary:hover { background: var(--forest-dark); transform: translateY(-1px); }
.btn-ghost-light { color: var(--white); border-color: rgba(255,255,255,.35); background: transparent; }
.btn-ghost-light:hover { border-color: var(--white); background: rgba(255,255,255,.06); }
.i-arrow { width: 16px; height: 16px; flex: none; transition: transform .2s ease; }
.btn:hover .i-arrow, .text-link:hover .i-arrow, a:hover > .more .i-arrow { transform: translateX(3px); }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--forest); }
.text-link:hover { text-decoration: underline; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy); border-bottom: 1px solid var(--line-dark); padding-top: env(safe-area-inset-top, 0px); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 74px; }
.brand { display: inline-flex; padding: 6px 0; }
.brand .logo { height: 28px; width: auto; }
.menu-list { list-style: none; display: flex; align-items: center; gap: 6px; }
.menu-list > li > a:not(.btn) { display: inline-block; color: var(--on-dark); text-decoration: none; font-weight: 500; font-size: 0.97rem; padding: 10px 14px; border-radius: 8px; }
.menu-list > li > a:not(.btn):hover, .menu-list > li > a[aria-current] { background: rgba(255,255,255,.08); }
.menu-cta { margin-left: 8px; }
.has-sub { position: relative; }
.submenu { list-style: none; position: absolute; left: -12px; top: calc(100% + 8px); width: 320px; background: var(--white); border-radius: var(--radius); padding: 10px; box-shadow: 0 24px 60px -20px rgba(13,31,57,.45); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s ease, transform .18s ease, visibility .18s; }
.submenu::before { content: ""; position: absolute; inset: -10px 0 auto 0; height: 10px; }
.has-sub:hover .submenu, .has-sub:focus-within .submenu { opacity: 1; visibility: visible; transform: none; }
.submenu a { display: grid; gap: 2px; padding: 10px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.96rem; }
.submenu a:hover, .submenu a[aria-current] { background: var(--mist); }
.sub-stage { font: 500 0.72rem/1.2 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: var(--forest); }
.menu-toggle { display: none; background: none; border: 0; width: 46px; height: 46px; border-radius: 10px; cursor: pointer; color: var(--white); position: relative; }
.menu-bars, .menu-bars::before, .menu-bars::after { position: absolute; left: 12px; width: 22px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s ease, opacity .2s; }
.menu-bars { top: 22px; }
.menu-bars::before { content: ""; left: 0; top: -7px; }
.menu-bars::after { content: ""; left: 0; top: 7px; }
.menu-toggle[aria-expanded="true"] .menu-bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-bars::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .menu-toggle { display: inline-block; }
  .menu { position: fixed; inset: calc(74px + env(safe-area-inset-top, 0px)) 0 0 0; background: var(--navy); padding: 16px var(--gutter-r) 32px var(--gutter); overflow-y: auto; display: none; }
  .menu.is-open { display: block; }
  .menu-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .menu-list > li > a:not(.btn) { display: block; font-size: 1.15rem; padding: 14px 8px; }
  .submenu { position: static; width: auto; opacity: 1; visibility: visible; transform: none; background: transparent; box-shadow: none; padding: 0 0 8px 8px; }
  .submenu a { color: var(--on-dark-muted); font-weight: 500; padding: 9px 8px; }
  .submenu a:hover { background: rgba(255,255,255,.06); }
  .sub-stage { display: none; }
  .menu-cta { margin: 18px 0 0; }
  .menu-cta .btn { width: 100%; padding: 16px; }
  body.menu-open { overflow: hidden; }
}

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--navy); color: var(--on-dark); overflow: hidden; isolation: isolate; }
.hero-wave { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; display: block; }
.hero-inner { padding-block: clamp(72px, 8vw, 132px) clamp(200px, 19vw, 280px); display: grid; gap: 22px; }
.hero h1 { color: var(--white); max-width: 15ch; }
.hero-sub { font-size: clamp(1.08rem, 1rem + 0.45vw, 1.3rem); line-height: 1.6; color: var(--on-dark-muted); max-width: 60ch; }
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 12px; }
.hero-link { display: inline-flex; align-items: center; gap: 8px; color: var(--on-dark-muted); font-weight: 500; text-decoration: none; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.25); }
.hero-link svg { width: 16px; height: 16px; transition: transform .2s ease; }
.hero-link:hover { color: var(--white); border-color: var(--white); }
.hero-link:hover svg { transform: translateY(2px); }

/* ---------- Problem (leaks) ---------- */
.problem { background: var(--mist); }
.leaks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.leak { display: grid; grid-template-rows: auto 1fr auto; gap: 10px; padding: 26px; background: var(--white); border-radius: var(--radius); text-decoration: none; color: var(--text); border: 1px solid transparent; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.leak:hover { border-color: var(--forest); transform: translateY(-2px); box-shadow: 0 16px 36px -24px rgba(18,41,74,.5); }
.leak h3 { font-size: 1.15rem; }
.leak p { color: var(--muted); font-size: 0.98rem; }
.leak-fix { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--forest); font-size: 0.93rem; padding-top: 6px; border-top: 1px solid var(--mist-2); margin-top: 6px; padding-top: 14px; }

/* ---------- Services ---------- */
.services { background: var(--white); }
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.svc-card { position: relative; display: grid; grid-template-rows: auto auto 1fr auto auto; gap: 12px; padding: 28px; border-radius: var(--radius); background: var(--mist); border: 1px solid var(--mist-2); transition: border-color .2s ease, transform .2s ease, background-color .2s ease; }
.svc-card:hover { border-color: var(--forest); transform: translateY(-2px); background: #F1EFE9; }
.svc-card h3 { font-size: 1.3rem; }
.svc-card h3 a { color: inherit; text-decoration: none; }
.svc-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.svc-card p { color: var(--muted); }
.stage { font: 600 0.74rem/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--forest); }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font-size: 0.8rem; font-weight: 500; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 5px 10px; }
.more { display: inline-flex; align-items: center; gap: 8px; color: var(--forest); font-weight: 600; font-size: 0.94rem; }
.svc-card:hover .i-arrow { transform: translateX(3px); }
.custom-panel { position: relative; margin-top: 18px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 28px 56px; align-items: center; padding: clamp(26px, 3.4vw, 44px); border-radius: var(--radius); background: var(--navy); color: var(--on-dark-muted); transition: transform .2s ease, box-shadow .2s ease; }
.custom-panel:hover { transform: translateY(-2px); box-shadow: 0 22px 44px -26px rgba(18,41,74,.7); }
.custom-copy { display: grid; gap: 12px; }
.custom-panel .stage { color: var(--on-dark-muted); }
.custom-panel h3 { color: var(--white); font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); }
.custom-panel h3 a { color: inherit; text-decoration: none; }
.custom-panel h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.custom-side { display: grid; gap: 18px; justify-items: start; }
.tags-dark li { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.18); color: var(--white); }
.custom-panel .more { color: var(--white); }
.custom-panel:hover .i-arrow { transform: translateX(3px); }

/* ---------- How we work ---------- */
.how { background: var(--navy); color: var(--on-dark); position: relative; overflow: hidden; }
.how h2, .how h3 { color: var(--white); }
.how .lead { color: var(--on-dark-muted); }
.how .eyebrow { color: var(--on-dark-muted); }
.how-flow { position: relative; }
/* The line runs through the centers of the four step circles (44px down) and sits behind them. */
.flow-line { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 88px; overflow: visible; pointer-events: none; z-index: 0; }
.steps-how { position: relative; z-index: 1; }
.flow-line { clip-path: inset(-12px calc(var(--flow-offset, 0) * 100%) -12px -12px); }
.flow-line path { fill: none; stroke: var(--forest); stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; counter-reset: none; }
.steps-how { padding-top: 86px; }
.step { display: grid; gap: 10px; align-content: start; }
.step-n { font: 600 0.85rem/1 var(--f-display); color: var(--forest); letter-spacing: .04em; }
.how .step-n { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); border: 2px solid var(--forest); color: var(--white); margin-top: -64px; margin-bottom: 8px; }
.step p { color: var(--muted); }
.how .step p { color: var(--on-dark-muted); }
.step-tag { font-size: 0.86rem; font-weight: 600; color: var(--white) !important; padding-top: 10px; border-top: 1px solid var(--line-dark); margin-top: 4px; }
.how-light { background: var(--white); color: var(--text); }
.how-light h2, .how-light h3 { color: var(--ink); }
.how-light .eyebrow { color: var(--forest); }
.how-light .step { padding-top: 18px; border-top: 2px solid var(--forest); }

/* ---------- Why ---------- */
.why { background: var(--mist); }
.why-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.why-item { display: grid; gap: 10px; align-content: start; padding-top: 22px; border-top: 2px solid var(--ink); }
.why-item p { color: var(--muted); }

/* ---------- Founder ---------- */
.founder { background: var(--white); }
.founder-grid { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.founder-photo { margin: 0; position: relative; }
.founder-photo img { width: 100%; border-radius: 22px; background: var(--white); box-shadow: 0 0 0 1px var(--mist-2); }
.founder-photo::after { content: ""; position: absolute; left: 10%; right: -14px; bottom: -14px; height: 40%; border-radius: 22px; background: var(--forest); z-index: -1; opacity: .9; }
.founder-photo { isolation: isolate; }
.founder-photo figcaption { margin-top: 14px; font-size: .92rem; color: var(--muted); }
.founder-copy { display: grid; gap: 18px; max-width: 62ch; }
.founder-copy p { font-size: 1.08rem; }
.sig { font-family: var(--f-display); font-weight: 600; color: var(--ink); }
.case-studies { margin-top: var(--section); display: grid; gap: 24px; }
.case-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.case { padding: 26px; border: 2px dashed var(--line); border-radius: var(--radius); display: grid; gap: 10px; }

/* ---------- FAQ ---------- */
.faq-section { background: var(--mist); }
.faq-wrap { max-width: 900px; }
.faq-list { display: grid; border-top: 1px solid var(--line); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-size: 1.1rem; }
.faq-icon { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--ink); position: relative; transition: transform .25s ease, background-color .2s; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.6px; background: var(--ink); transform: translate(-50%, -50%); }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .25s ease; }
.faq[open] .faq-icon { background: var(--forest); border-color: var(--forest); }
.faq[open] .faq-icon::before, .faq[open] .faq-icon::after { background: var(--white); }
.faq[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-a { padding: 0 48px 24px 0; color: var(--muted); max-width: 70ch; }

/* ---------- Booking ---------- */
.book { background: var(--navy); color: var(--on-dark); position: relative; overflow: hidden; }
.book h1, .book h2 { color: var(--white); }
.book .lead { color: var(--on-dark-muted); }
.book .eyebrow { color: var(--on-dark-muted); }
.book-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.book-copy { display: grid; gap: 18px; position: sticky; top: 110px; }
.checks { list-style: none; display: grid; gap: 12px; margin-top: 8px; }
.checks li { position: relative; padding-left: 34px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--forest) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12.5l3.5 3.5 7.5-8' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.book .checks li { color: var(--on-dark); }
.book-card { background: var(--white); color: var(--text); border-radius: 20px; padding: clamp(22px, 3vw, 36px); box-shadow: 0 40px 80px -40px rgba(0,0,0,.6); min-width: 0; }
.book-steps { list-style: none; display: flex; gap: 8px; margin-bottom: 24px; }
.book-steps li { flex: 1; display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .92rem; color: var(--muted); padding-bottom: 12px; border-bottom: 3px solid var(--mist-2); }
.book-steps li::before { content: attr(data-step-label); display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--mist); color: var(--muted); font-size: .82rem; }
.book-steps li.is-active { color: var(--ink); border-color: var(--forest); }
.book-steps li.is-active::before { background: var(--forest); color: var(--white); }
.book-steps li.is-done::before { content: "✓"; background: var(--ink); color: var(--white); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; margin-bottom: 18px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field.wide { grid-column: 1 / -1; }
.field label { font-size: .88rem; font-weight: 600; color: var(--ink); }
.opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; font: 400 1rem/1.4 var(--f-body); color: var(--ink); background: #F8F7F3; border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px; transition: border-color .15s, background-color .15s, box-shadow .15s; }
.field textarea { resize: vertical; min-height: 104px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%2312294A' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--forest); background: var(--white); box-shadow: 0 0 0 4px rgba(47,107,79,.15); }
.field.has-error input, .field.has-error select { border-color: #B3261E; }
.field-msg { font-size: .82rem; color: #B3261E; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { margin-bottom: 16px; }
.form-error { background: #FCECEA; color: #8C1D18; border-radius: 10px; padding: 12px 14px; margin-bottom: 14px; font-size: .95rem; }
.fine { font-size: .84rem; color: var(--muted); margin-top: 12px; text-align: center; }
.book-step2 { display: grid; gap: 16px; }
.step2-hello { font-family: var(--f-display); font-weight: 600; font-size: 1.15rem; color: var(--ink); outline: none; }
.cal-embed { min-height: 0; width: 100%; overflow: auto; }
.cal-embed:not(:empty) { min-height: 560px; }
.cal-fallback { display: grid; gap: 10px; color: var(--text); }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy); padding-block: clamp(56px, 6vw, 96px); }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { color: var(--white); max-width: 22ch; }

/* ---------- Inner pages ---------- */
.page-hero { background: var(--navy); color: var(--on-dark); padding-block: clamp(48px, 6vw, 96px) clamp(56px, 7vw, 110px); }
.page-hero-tight { padding-block: 28px 8px; }
.page-hero h1 { color: var(--white); max-width: 22ch; margin-bottom: 20px; }
.page-hero .lead { color: var(--on-dark-muted); }
.page-hero .eyebrow { margin-bottom: 18px; display: block; }
.page-hero-tight h1 { margin: 18px 0 40px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: .88rem; color: var(--on-dark-muted); margin-bottom: 28px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.crumbs a { color: var(--on-dark-muted); text-decoration: none; }
.crumbs a:hover { color: var(--white); text-decoration: underline; }
.page-hero-tight .crumbs ol { margin-bottom: 0; }
.split { background: var(--mist); }
.split-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.split-grid h2 { margin-top: 14px; }
.problem-list { list-style: none; display: grid; gap: 0; }
.problem-list li { padding: 18px 0 18px 36px; border-bottom: 1px solid var(--line); position: relative; font-size: 1.08rem; color: var(--ink); }
.problem-list li:first-child { border-top: 1px solid var(--line); }
.problem-list li::before { content: ""; position: absolute; left: 4px; top: 29px; width: 16px; height: 2.5px; border-radius: 2px; background: var(--forest); }
.builds { background: var(--white); }
.build-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 18px; }
.build { padding: 26px; background: var(--mist); border-radius: var(--radius); display: grid; gap: 10px; align-content: start; }
.build p { color: var(--muted); }
.outcomes { background: var(--mist); }
.outcomes-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.outcomes-grid h2 { margin: 14px 0 26px; }
.example { background: var(--navy); color: var(--on-dark); border-radius: 20px; padding: clamp(24px, 3vw, 36px); display: grid; gap: 14px; }
.example p { color: var(--on-dark); font-size: 1.04rem; }
.example-label { font: 600 .74rem/1 var(--f-body) !important; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted) !important; display: inline-flex; align-items: center; gap: 8px; }
.example-label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--forest); }
.example-note { font-size: .86rem !important; color: var(--on-dark-muted) !important; border-top: 1px solid var(--line-dark); padding-top: 12px; }
.svc-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-block: 40px 72px; }
.pager { display: grid; gap: 4px; padding: 20px 22px; border-radius: var(--radius); background: var(--white); text-decoration: none; color: var(--ink); font-family: var(--f-display); font-weight: 600; border: 1px solid var(--mist-2); }
.pager span { font: 500 .8rem/1.3 var(--f-body); color: var(--muted); }
.pager.next { text-align: right; }
.pager:hover { border-color: var(--forest); }
.svc-list { display: grid; gap: 0; }
.svc-row { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(20px, 4vw, 60px); padding-block: 36px; border-top: 1px solid var(--line); }
.svc-row:last-child { border-bottom: 1px solid var(--line); }
.svc-row-head { display: grid; gap: 12px; align-content: start; }
.svc-row-head h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.svc-row-head h2 a { color: inherit; text-decoration: none; }
.svc-row-head h2 a:hover { color: var(--forest); }
.svc-row-body { display: grid; gap: 16px; align-content: start; }
.svc-row-body p { color: var(--muted); }
.about-founder { padding-top: var(--section); }
.prose { max-width: 760px; display: grid; gap: 16px; }
.prose h2 { font-size: 1.45rem; margin-top: 20px; }
.prose ul { padding-left: 22px; display: grid; gap: 8px; }
.updated { color: var(--muted); font-size: .92rem; }
.legal { background: var(--white); }
.post-list { list-style: none; display: grid; gap: 18px; }
.post-list a { display: grid; gap: 8px; padding: 24px; background: var(--white); border-radius: var(--radius); text-decoration: none; color: var(--text); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-2); color: var(--on-dark-muted); padding-block: 72px 0; padding-bottom: env(safe-area-inset-bottom, 0px); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; padding-bottom: 56px; }
.footer-brand { display: grid; gap: 16px; align-content: start; max-width: 380px; }
.footer-brand .logo { height: 30px; width: auto; }
.footer-h { font: 600 .78rem/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--white); margin-bottom: 18px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { color: var(--on-dark-muted); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-base { border-top: 1px solid var(--line-dark); padding-block: 22px; font-size: .88rem; }

/* ---------- Logo hover (the "w" waves) ---------- */
.brand .logo-w { transition: d .3s ease; }

/* ---------- Reveal on scroll (only when JS is running and motion is allowed) ---------- */
.js-motion .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.js-motion .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .flow-line { display: none; }
  .steps-how { padding-top: 8px; }
  .how .step-n { margin-top: 0; }
}
@media (max-width: 900px) {
  .leaks, .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .book-grid, .founder-grid, .split-grid, .outcomes-grid, .svc-row, .custom-panel { grid-template-columns: minmax(0, 1fr); }
  .book-copy { position: static; }
  .founder-photo { max-width: 360px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  body { font-size: 1rem; }
  .leaks, .svc-grid, .why-grid, .steps, .case-grid { grid-template-columns: minmax(0, 1fr); }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-ctas .btn { width: 100%; }
  .brand .logo { height: 24px; }
  .svc-pager { grid-template-columns: 1fr; }
  .pager.next { text-align: left; }
  .faq-a { padding-right: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .book-card { border-radius: 16px; }
  .cta-inner .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
