/* =========================================================
   Eriksen & Hale | site styles
   Brand: charcoal #171B1C + teal #005E64 (from logo)
   ========================================================= */

:root {
  /* Brand */
  --ink: #171B1C;
  --ink-2: #222829;
  --ink-3: #2E3536;
  --teal: #005E64;
  --teal-hover: #00737A;
  --teal-bright: #34C3B6;   /* teal for use on dark backgrounds */
  --teal-tint: #E3F0EE;

  /* Neutrals */
  --paper: #F5F3EE;
  --paper-2: #ECE8E0;
  --white: #FFFFFF;
  --text: var(--ink);
  --text-muted: #555D5F;    /* 6.4:1 on paper */
  --text-on-dark: #F5F3EE;
  --text-on-dark-muted: #A9B2B3;
  --line: rgba(23, 27, 28, .12);
  --line-dark: rgba(245, 243, 238, .14);
  --error: #B42318;
  --star: #E0A100;

  /* Type */
  --font-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Space & shape */
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 10vw, 136px);
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(23,27,28,.06), 0 12px 32px -8px rgba(23,27,28,.18);

  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 88px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); line-height: 1.05; letter-spacing: -0.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--teal-bright); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.dark { background: var(--ink); color: var(--text-on-dark); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; }

/* ---------- Type ---------- */
.display {
  font-weight: 850;
  font-stretch: 114%;
  font-size: clamp(44px, 5.4vw, 80px);
  line-height: .95;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  text-wrap: balance;
}
.display em { font-style: normal; color: var(--teal); }
.display-sm { font-size: clamp(36px, 5.4vw, 76px); }
.h2 {
  font-weight: 800;
  font-stretch: 112%;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.kicker, .eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-stretch: 110%;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 18px;
}
.kicker {
  display: inline-flex; align-items: center;
  font-size: 16px; font-weight: 800; letter-spacing: .12em;
  padding: 11px 22px; border-radius: 999px;
  background: var(--teal); color: var(--white);
  box-shadow: 0 6px 18px -8px rgba(0,94,100,.6);
}
.dark .kicker { background: var(--teal-bright); color: var(--ink); box-shadow: 0 6px 22px -8px rgba(52,195,182,.55); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(0,94,100,.15); flex: none; }
.lede { font-size: clamp(17px, 1.5vw, 20px); color: var(--text-muted); max-width: 54ch; margin-top: 24px; }
.muted { color: var(--text-on-dark-muted); }
.muted-dark { color: var(--text-muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px;
  border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-display); font-weight: 700; font-stretch: 108%; font-size: 16px; letter-spacing: .01em;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--teal); color: var(--white); box-shadow: 0 8px 20px -8px rgba(0,94,100,.6); }
.btn-primary:hover { background: var(--teal-hover); }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: var(--paper); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-sm { min-height: 44px; padding: 10px 20px; font-size: 15px; }
.btn-lg { min-height: 60px; padding: 18px 34px; font-size: 18px; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; color: var(--teal);
  border-bottom: 2px solid currentColor; padding-bottom: 2px; min-height: 44px;
}
.link-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 243, 238, .86);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, background-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; flex: none; }
.brand img { width: 68px; height: auto; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-stretch: 115%; font-size: 22px; letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; }
.brand-name .amp { color: var(--teal); }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 4px; }
.main-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  text-decoration: none; font-weight: 600; font-size: 15px; color: var(--text-muted); border-radius: 999px;
  transition: color .2s, background-color .2s;
}
.main-nav a:hover { color: var(--ink); background: rgba(23,27,28,.05); }
.main-nav a { position: relative; }
.main-nav a.is-current { color: var(--teal); background: var(--teal-tint); }
.main-nav a::after {
  content: ""; position: absolute; left: 50%; bottom: 5px; width: 4px; height: 4px; margin-left: -2px;
  border-radius: 50%; background: var(--teal); opacity: 0; transform: scale(0); transition: opacity .2s, transform .25s var(--ease);
}
.main-nav a.is-current::after { opacity: 1; transform: scale(1); }
.mobile-nav a.is-current { color: var(--teal); }
.nav-toggle { display: none; }
.mobile-nav { border-top: 1px solid var(--line); background: var(--paper); }
.mobile-nav ul { padding: 12px var(--gutter) 20px; display: grid; gap: 4px; }
.mobile-nav a:not(.btn) { display: flex; align-items: center; min-height: 48px; font-weight: 700; font-size: 18px; text-decoration: none; border-bottom: 1px solid var(--line); }
.mobile-nav .btn { margin-top: 12px; width: 100%; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 7vw, 96px); overflow: hidden; }
.hero-arrow { position: absolute; inset: 8% 0 auto 0; width: 100%; height: 80%; pointer-events: none; opacity: .9; }
.hero-arrow-path { fill: none; stroke: var(--teal); stroke-width: 26; stroke-linecap: round; opacity: .07; stroke-dasharray: 1600; stroke-dashoffset: 1600; animation: draw 1.6s .2s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.hero-copy { padding-top: clamp(8px, 2vw, 32px); }
.hero-checks { display: grid; gap: 12px; margin-top: 32px; }
.hero-checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.hero-checks svg { flex: none; width: 24px; height: 24px; padding: 4px; margin-top: 1px; border-radius: 50%; background: var(--teal); fill: none; stroke: var(--white); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

.hero-proof { display: flex; align-items: center; gap: 16px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); font-size: 15px; color: var(--text-muted); }
.hero-proof strong { color: var(--ink); }
.avatars { display: flex; }
.avatars span {
  width: 42px; height: 42px; border-radius: 50%; border: 3px solid var(--paper);
  display: grid; place-items: center; margin-left: -10px;
  background: var(--ink-3); color: var(--white); font-family: var(--font-display); font-weight: 700; font-size: 13px;
}
.avatars span:first-child { margin-left: 0; background: var(--teal); }
.avatars span:nth-child(3) { background: #6B7A7B; }
.avatars span:last-child { background: var(--paper-2); color: var(--ink); }
.stars { color: var(--star); letter-spacing: 2px; }

/* ---------- Lead form ---------- */
.hero-form-wrap { position: relative; scroll-margin-top: calc(var(--header-h) + 16px); }
.lead-form {
  position: relative;
  background: var(--white);
  border-radius: 22px;
  padding: clamp(22px, 3vw, 34px);
  box-shadow: 0 2px 4px rgba(23,27,28,.04), 0 30px 60px -20px rgba(23,27,28,.28);
  border: 1px solid var(--line);
}
.lead-form::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; border-radius: 22px 22px 0 0;
  background: linear-gradient(90deg, var(--ink) 0 30%, var(--teal) 30% 100%);
}
.form-kicker { font-size: 13px; font-weight: 700; color: var(--teal); text-transform: uppercase; letter-spacing: .1em; }
.form-title { font-weight: 800; font-stretch: 108%; font-size: clamp(22px, 2.2vw, 27px); line-height: 1.12; margin-top: 8px; }
.form-sub { color: var(--text-muted); font-size: 15px; line-height: 1.5; margin-top: 10px; }
.progress { height: 6px; background: var(--paper-2); border-radius: 99px; margin-top: 20px; overflow: hidden; }
.progress-bar { display: block; height: 100%; width: var(--p); background: var(--teal); border-radius: 99px; transition: width .45s var(--ease); }
.step-count { font-size: 13px; color: var(--text-muted); margin-top: 8px; font-weight: 600; }

.step { border: 0; padding: 0; margin: 22px 0 0; min-width: 0; }
.step.is-active { animation: stepin .35s var(--ease); }
@keyframes stepin { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: none; } }
.step-q { font-family: var(--font-display); font-weight: 700; font-size: 18px; padding: 0; margin-bottom: 4px; }
.hint { font-size: 14px; color: var(--text-muted); }

.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.tile { position: relative; cursor: pointer; }
.tile input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.tile span {
  display: flex; align-items: center; gap: 10px; min-height: 54px; padding: 12px 14px;
  border: 2px solid var(--line); border-radius: var(--radius-sm);
  font-weight: 700; font-size: 15px; line-height: 1.25;
  transition: border-color .15s, background-color .15s;
}
.tile span::before {
  content: ""; flex: none; width: 20px; height: 20px; border-radius: 6px; border: 2px solid #9AA3A4;
  background: var(--white) center / 12px no-repeat;
  transition: background-color .15s, border-color .15s;
}
.tile:hover span { border-color: rgba(0,94,100,.45); }
.tile input:checked + span { border-color: var(--teal); background: var(--teal-tint); }
.tile input:checked + span::before {
  background-color: var(--teal); border-color: var(--teal);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10.5l4 4 8-9' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.tile input:focus-visible + span { outline: 3px solid var(--teal-bright); outline-offset: 2px; }
.tile-wide { grid-column: 1 / -1; }

.field { margin-top: 16px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field label, .field .label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.field input, .field select {
  width: 100%; min-height: 52px; padding: 12px 14px;
  border: 2px solid var(--line); border-radius: var(--radius-sm); background: var(--white);
  font-size: 16px; transition: border-color .15s, box-shadow .15s;
}
.field select {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 42px;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 8l5 5 5-5' fill='none' stroke='%23171B1C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 14px center / 18px no-repeat;
}
.field input::placeholder { color: #8A9293; }
.field input:hover, .field select:hover { border-color: rgba(23,27,28,.3); }
.field input:focus, .field select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(0,94,100,.15); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field .hint { margin-top: 6px; }
.field-error { color: var(--error); font-size: 14px; font-weight: 600; margin-top: 6px; }
.field-error:empty { display: none; }
.form-error { margin-top: 12px; }

.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; cursor: pointer; }
.pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pill span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; border: 2px solid var(--line); border-radius: 999px; font-weight: 700; font-size: 15px; transition: all .15s; }
.pill input:checked + span { border-color: var(--teal); background: var(--teal); color: var(--white); }
.pill input:focus-visible + span { outline: 3px solid var(--teal-bright); outline-offset: 2px; }

.consent { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; font-size: 14px; color: var(--text-muted); cursor: pointer; }
.consent input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--teal); cursor: pointer; }

.step-actions { display: flex; gap: 10px; margin-top: 22px; }
.step-actions .btn-primary { flex: 1; }
.micro { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; color: var(--text-muted); margin-top: 14px; text-align: center; }
.micro .lock { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

[data-submit] .spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.4); border-top-color: var(--white); animation: spin .7s linear infinite; }
[data-submit].is-loading .spinner { display: inline-block; }
[data-submit].is-loading { pointer-events: none; opacity: .9; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-success { padding-top: 22px; outline: none; }
.success-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--teal); display: grid; place-items: center; margin-bottom: 18px; }
.success-icon svg { width: 28px; height: 28px; fill: none; stroke: var(--white); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.form-success > p { margin-top: 12px; color: var(--text-muted); }
.next-list { display: grid; gap: 10px; margin-top: 20px; }
.next-list li { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 15px; }
.next-list span { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--teal-tint); color: var(--teal); display: grid; place-items: center; font-size: 13px; font-weight: 800; }

/* ---------- Client logo strip ---------- */
.logos { background: var(--ink); color: var(--paper); padding: 30px 0 34px; overflow: hidden; }
.logos-title {
  display: flex; align-items: center; justify-content: center; gap: 18px;
  padding: 0 var(--gutter); margin-bottom: 24px; text-align: center;
  font-family: var(--font-display); font-weight: 700; font-stretch: 110%; font-size: 13px;
  letter-spacing: .16em; text-transform: uppercase; color: var(--text-on-dark-muted);
}
.logos-title span { flex: 0 1 80px; height: 1px; background: var(--line-dark); }
.logo-marquee {
  display: flex; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.logo-track { flex: none; display: flex; align-items: center; gap: clamp(44px, 5vw, 72px); padding-right: clamp(44px, 5vw, 72px); animation: logos 45s linear infinite; }
.logo-marquee:hover .logo-track { animation-play-state: paused; }
@keyframes logos { to { transform: translateX(-100%); } }

.lb { display: flex; align-items: center; gap: 12px; color: rgba(245,243,238,.74); white-space: nowrap; transition: color .25s var(--ease); }
.lb:hover { color: var(--paper); }
.lb svg { flex: none; width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.lb-name { display: flex; flex-direction: column; line-height: 1; font-family: var(--font-display); }
.lb-main { font-size: 21px; }
.lb-sub { font-size: 10px; letter-spacing: .24em; text-transform: uppercase; margin-top: 5px; font-weight: 600; font-stretch: 110%; opacity: .85; }
.b-expanded .lb-main { font-weight: 800; font-stretch: 125%; text-transform: uppercase; letter-spacing: .02em; font-size: 18px; }
.b-condensed .lb-main { font-weight: 700; font-stretch: 70%; font-size: 26px; letter-spacing: .01em; }
.b-serifish .lb-main { font-weight: 500; font-stretch: 100%; font-size: 22px; letter-spacing: -.01em; font-style: italic; }
.b-heavy .lb-main { font-weight: 900; font-stretch: 100%; font-size: 22px; text-transform: uppercase; letter-spacing: -.02em; }
.b-wide .lb-main { font-weight: 600; font-stretch: 118%; font-size: 17px; text-transform: uppercase; letter-spacing: .28em; }
.b-heavy svg rect { fill: currentColor; fill-opacity: .25; }

/* ---------- Intro / value props ---------- */
.intro-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.big-stat { display: grid; gap: 14px; }
.big-num { font-family: var(--font-display); font-weight: 900; font-stretch: 116%; font-size: clamp(72px, 9.5vw, 136px); white-space: nowrap; line-height: .82; letter-spacing: -0.04em; }
.big-num sup { font-size: .4em; vertical-align: top; position: relative; top: .1em; color: var(--teal); }
.big-label { font-weight: 600; color: var(--text-muted); max-width: 30ch; font-size: 18px; }
.big-label strong { display: block; margin-top: 8px; color: var(--teal); font-weight: 800; font-size: 20px; }
.big-source { font-size: 12px; color: var(--text-muted); opacity: .8; }
.big-stats { display: grid; gap: 36px; }
.big-stat-sm { padding-top: 32px; border-top: 1px solid var(--line); grid-template-columns: auto 1fr; align-items: center; gap: 20px; }
.big-stat-sm .big-num { font-size: clamp(52px, 5.5vw, 76px); }
.big-stat-sm .big-label { font-size: 16px; max-width: 20ch; }
.intro-copy p:not(.kicker) { margin-top: 20px; color: var(--text-muted); font-size: 18px; max-width: 58ch; }
.intro-copy strong { color: var(--ink); }

.props { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(56px, 7vw, 96px); border-top: 1px solid var(--line); }
.prop { padding: 32px 28px 8px 0; }
.prop + .prop { padding-left: 28px; border-left: 1px solid var(--line); }
.prop svg { width: 34px; height: 34px; fill: none; stroke: var(--teal); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.prop h3 { font-size: 18px; font-weight: 800; font-stretch: 110%; text-transform: uppercase; margin-top: 22px; letter-spacing: .01em; }
.prop p { color: var(--text-muted); font-size: 15px; margin-top: 10px; }

/* ---------- Services (dark) ---------- */
.services-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(40px, 7vw, 110px); }
.services-side { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
.services-side .muted { margin-top: 20px; max-width: 44ch; font-size: 18px; }
.lead-feed { margin-top: 40px; background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: 18px; padding: 18px; max-width: 440px; }
.feed-head { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; padding: 2px 4px 14px; }
.feed-tag { margin-left: auto; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--text-on-dark-muted); border: 1px solid var(--line-dark); padding: 3px 8px; border-radius: 99px; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--teal-bright); box-shadow: 0 0 0 0 rgba(52,195,182,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(52,195,182,0); } 100% { box-shadow: 0 0 0 0 rgba(52,195,182,0); } }
.lead-feed ul { display: grid; gap: 8px; }
.lead-feed li { display: flex; justify-content: space-between; gap: 12px; align-items: center; background: var(--ink-3); border-radius: 12px; padding: 14px 16px; }
.lead-feed li:first-child { box-shadow: inset 3px 0 0 var(--teal-bright); }
.lead-feed strong { display: block; font-size: 15px; }
.lead-feed span { font-size: 13px; color: var(--text-on-dark-muted); }
.lead-feed time { flex: none; font-size: 12px; color: var(--text-on-dark-muted); }

.service-list { border-top: 1px solid var(--line-dark); }
.service { display: grid; grid-template-columns: 84px 1fr; gap: 20px; padding: 34px 0; border-bottom: 1px solid var(--line-dark); transition: padding-left .3s var(--ease); }
.service:hover { padding-left: 10px; }
.s-num { font-family: var(--font-body); font-weight: 800; font-size: 30px; line-height: 1; color: var(--teal-bright); padding-top: 4px;  -webkit-text-stroke: .045em currentColor; }
.service h3 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; font-stretch: 110%; text-transform: uppercase; }
.service p { color: var(--text-on-dark-muted); margin-top: 10px; max-width: 52ch; }

/* ---------- Problem ---------- */
.pains { background: var(--white); }
.pains + .intro { padding-top: var(--section); }
.pains-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(40px, 7vw, 110px); align-items: start; }
.pains-head { position: sticky; top: calc(var(--header-h) + 32px); }
.pains-head p:not(.kicker) { color: var(--text-muted); margin-top: 20px; font-size: 18px; max-width: 44ch; }
.pain-list { display: grid; gap: 12px; }
.pain { display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: start; padding: 26px 28px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); }
.pain-num { font-family: var(--font-body); font-weight: 800; font-size: 32px; line-height: 1; color: var(--teal); letter-spacing: -0.02em;  -webkit-text-stroke: .045em currentColor; }
.pain h3 { font-size: 20px; font-weight: 800; font-stretch: 108%; }
.pain p { color: var(--text-muted); margin-top: 6px; font-size: 16px; }

/* ---------- System mockups ---------- */
.mocks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mock-card { display: flex; flex-direction: column; }
.mock-card h3 { font-size: 22px; font-weight: 800; font-stretch: 108%; margin-top: 8px; }
.mock-card > p { color: var(--text-muted); font-size: 15px; margin-top: 8px; }
.mock-step { margin-top: 24px; font-family: var(--font-body); font-weight: 800; font-size: 15px; letter-spacing: .02em; color: var(--teal);  -webkit-text-stroke: .045em currentColor; }
.mock { height: 300px; border-radius: 20px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); padding: 20px; overflow: hidden; position: relative; font-size: 13px; line-height: 1.45; }

.m-browser { display: flex; align-items: center; gap: 6px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.m-browser i { width: 9px; height: 9px; border-radius: 50%; background: var(--paper-2); }
.m-browser span { margin-left: 10px; font-size: 12px; color: var(--text-muted); background: var(--paper); padding: 3px 10px; border-radius: 99px; }
.m-query { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 99px; font-weight: 600; font-size: 14px; }
.m-query svg { width: 16px; height: 16px; fill: none; stroke: var(--text-muted); stroke-width: 2; stroke-linecap: round; }
.m-ad { margin-top: 14px; padding: 14px; border-radius: 12px; background: var(--teal-tint); border: 1px solid rgba(0,94,100,.2); }
.m-sponsored { font-size: 11px; font-weight: 700; color: var(--ink); }
.m-ad strong { display: block; color: #1A4FB5; font-size: 15px; margin-top: 2px; }
.m-stars { display: block; color: var(--star); font-size: 12px; margin-top: 2px; }
.m-stars em { font-style: normal; color: var(--text-muted); }
.m-ad p { color: var(--text-muted); margin-top: 4px; }
.m-other { height: 10px; border-radius: 6px; background: var(--paper-2); margin-top: 16px; width: 90%; }
.m-other.short { width: 60%; margin-top: 8px; }

.mock-phone { background: var(--ink); border: 0; padding: 18px 18px 0; display: flex; flex-direction: column; gap: 10px; }
.m-notch { width: 90px; height: 22px; background: #000; border-radius: 0 0 14px 14px; margin: -18px auto 0; }
.m-time { color: var(--white); font-family: var(--font-display); font-weight: 700; font-size: 34px; text-align: center; font-stretch: 110%; }
.m-sms { background: rgba(245,243,238,.94); border-radius: 14px; padding: 12px 14px; }
.m-sms-2 { opacity: .7; transform: scale(.96); }
.m-app { font-size: 10px; font-weight: 700; letter-spacing: .08em; color: var(--text-muted); }
.m-sms strong { display: block; font-size: 14px; margin-top: 2px; }
.m-sms p { color: var(--text-muted); font-size: 12.5px; }

.m-report-title { display: flex; justify-content: space-between; align-items: center; font-weight: 800; font-size: 14px; }
.m-report-title span { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); border: 1px solid var(--line); padding: 2px 8px; border-radius: 99px; }
.m-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.m-kpis div { background: var(--paper); border-radius: 10px; padding: 10px 12px; }
.m-kpis span, .m-roas span { display: block; font-size: 11px; color: var(--text-muted); }
.m-kpis strong { font-family: var(--font-display); font-weight: 800; font-size: 24px; }
.m-kpis .m-rev { background: var(--teal-tint); }
.m-kpis .m-rev strong { color: var(--teal); }
.m-roas { margin-top: 8px; background: var(--ink); color: var(--white); border-radius: 10px; padding: 10px 12px; display: flex; justify-content: space-between; align-items: center; }
.m-roas span { color: var(--text-on-dark-muted); }
.m-roas strong { font-family: var(--font-display); font-weight: 900; font-stretch: 115%; font-size: 26px; color: var(--teal-bright); }

/* ---------- Fit check ---------- */
.fit { background: var(--white); }
.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.fit-card { border-radius: 20px; padding: clamp(24px, 3vw, 36px); }
.fit-card h3 { font-size: 22px; font-weight: 800; font-stretch: 110%; text-transform: uppercase; }
.fit-card ul { display: grid; gap: 14px; margin-top: 22px; }
.fit-card li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; font-weight: 600; }
.fit-card li::before { content: ""; width: 26px; height: 26px; border-radius: 50%; background: center / 14px no-repeat; }
.fit-yes { background: var(--teal); color: var(--white); }
.fit-yes li::before { background-color: rgba(255,255,255,.18); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10.5l4 4 8-9' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.fit-no { background: var(--paper); border: 1px solid var(--line); }
.fit-no li { color: var(--text-muted); }
.fit-no li::before { background-color: var(--paper-2); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 5l10 10M15 5L5 15' fill='none' stroke='%23555D5F' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E"); }

/* ---------- Misc additions ---------- */
.optional { font-weight: 500; color: var(--text-muted); }
.scarcity { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; font-size: 14px; color: var(--text-on-dark-muted); }

/* ---------- Section heads ---------- */
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head .h2 { max-width: 16ch; }
.section-sub { max-width: 40ch; color: var(--text-muted); }

/* ---------- Results ---------- */
.results { background: var(--white); }
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case { border-radius: 20px; padding: 32px; display: flex; flex-direction: column; min-height: 400px; transition: transform .3s var(--ease); }
.case:hover { transform: translateY(-4px); }
.case-type { font-family: var(--font-display); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .12em; }
.case-num { font-family: var(--font-display); font-weight: 900; font-stretch: 120%; font-size: clamp(64px, 7vw, 104px); line-height: .9; letter-spacing: -0.04em; margin-top: auto; padding-top: 48px; }
.case-label { font-size: 17px; font-weight: 600; margin-top: 10px; }
.case-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 28px 0 0; padding-top: 20px; border-top: 1px solid currentColor; border-top-color: rgba(127,127,127,.35); }
.case-meta dt { font-size: 13px; opacity: .78; }
.case-meta dd { margin: 2px 0 0; font-family: var(--font-display); font-weight: 800; font-size: 22px; }
.case-teal { background: var(--teal); color: var(--white); }
.case-ink { background: var(--ink); color: var(--white); }
.case-ink .case-num { color: var(--teal-bright); }
.case-paper { background: var(--paper); color: var(--ink); border: 1px solid var(--line); }
.case-paper .case-num { color: var(--teal); }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.step-card { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 28px 24px; display: flex; flex-direction: column; }
.step-card:not(:last-child)::after {
  content: ""; position: absolute; top: 46px; right: -16px; width: 16px; height: 2px; background: var(--teal);
}
.step-num { font-family: var(--font-body); font-weight: 800; font-size: 44px; line-height: 1; color: var(--teal); letter-spacing: -0.03em;  -webkit-text-stroke: .045em currentColor; }
.step-card h3 { font-size: 20px; font-weight: 800; font-stretch: 108%; margin-top: 28px; }
.step-card p { color: var(--text-muted); font-size: 15px; margin-top: 10px; flex: 1; }
.step-time { align-self: flex-start; margin-top: 22px; font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 99px; background: var(--teal-tint); color: var(--teal); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--teal); color: var(--white); padding: clamp(48px, 6vw, 72px) 0; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -80px; top: -120px; width: 420px; height: 420px; border-radius: 50%; border: 60px solid rgba(255,255,255,.06); pointer-events: none; }
.band-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; position: relative; z-index: 1; }
.band-inner .h2 { max-width: 20ch; font-size: clamp(26px, 3.2vw, 42px); }

/* ---------- Reviews ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.quote { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; }
.quote blockquote { margin: 18px 0 0; flex: 1; }
.quote blockquote p { font-size: 18px; line-height: 1.5; font-weight: 500; }
.quote figcaption { display: flex; align-items: center; gap: 14px; margin-top: 28px; font-size: 14px; color: var(--text-muted); }
.quote figcaption strong { display: block; color: var(--ink); font-size: 16px; }
.q-avatar { flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--paper-2); color: var(--ink); font-family: var(--font-display); font-weight: 800; }
.quote-feature { background: var(--ink); color: var(--text-on-dark); border-color: var(--ink); }
.quote-feature figcaption, .quote-feature figcaption span { color: var(--text-on-dark-muted); }
.quote-feature figcaption strong { color: var(--white); }
.quote-feature .q-avatar { background: var(--teal); color: var(--white); }

/* ---------- Guarantee ---------- */
.guarantee { padding-top: 0; }
.guarantee-inner { display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; background: var(--teal-tint); border: 2px dashed rgba(0,94,100,.35); border-radius: 24px; padding: clamp(28px, 5vw, 56px); }
.guarantee-inner .h2 { font-size: clamp(26px, 3.2vw, 40px); max-width: 24ch; }
.guarantee-inner p:not(.kicker) { color: var(--text-muted); margin-top: 16px; max-width: 64ch; }
.seal { width: clamp(120px, 14vw, 170px); }
.seal circle { fill: var(--teal); }
.seal text { fill: var(--white); font-family: var(--font-display); font-weight: 700; font-size: 9.4px; letter-spacing: 1.6px; }
.seal-check { fill: none; stroke: var(--white); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Team ---------- */
.team { background: var(--white); }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.photo { aspect-ratio: 4 / 5; border-radius: 18px; background: linear-gradient(160deg, var(--paper-2), var(--paper)); display: grid; place-items: center; overflow: hidden; position: relative; }
.photo::after { content: ""; position: absolute; inset: auto -20% -30% -20%; height: 60%; border-radius: 50%; background: rgba(0,94,100,.08); }
.photo span { font-family: var(--font-display); font-weight: 900; font-stretch: 125%; font-size: 56px; color: rgba(23,27,28,.12); }
.member h3 { font-size: 18px; font-weight: 800; font-stretch: 110%; text-transform: uppercase; margin-top: 18px; }
.member p { color: var(--text-muted); font-size: 15px; margin-top: 4px; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 7vw, 110px); align-items: start; }
.faq-grid > div:first-child { position: sticky; top: calc(var(--header-h) + 32px); }
.faq-grid .muted-dark { margin: 18px 0 28px; max-width: 36ch; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  min-height: 64px; padding: 20px 0; font-family: var(--font-display); font-weight: 700; font-stretch: 105%; font-size: 19px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--line);
  background: center / 14px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M7 1v12M1 7h12' stroke='%23005E64' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  transition: transform .25s var(--ease), background-color .2s;
}
.faq-list details[open] summary::after { transform: rotate(45deg); background-color: var(--teal-tint); }
.faq-list summary:hover { color: var(--teal); }
.faq-list details p { padding: 0 54px 24px 0; color: var(--text-muted); }

/* ---------- Final CTA ---------- */
.final-cta { position: relative; overflow: hidden; }
.final-cta::before { content: ""; position: absolute; inset: auto -10% -60% auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; border-radius: 50%; background: radial-gradient(closest-side, rgba(52,195,182,.16), transparent); pointer-events: none; }
.final-inner { position: relative; text-align: center; display: grid; justify-items: center; }
.final-inner .display { max-width: 16ch; }
.final-inner .muted { margin: 24px 0 36px; font-size: 18px; max-width: 46ch; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--text-on-dark-muted); border-top: 1px solid var(--line-dark); padding: 48px 0 calc(40px + env(safe-area-inset-bottom)); }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; }
.footer-brand img { width: 230px; height: auto; }
.site-footer nav ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 8px; }
.site-footer nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; text-decoration: none; font-weight: 600; font-size: 15px; }
.site-footer nav a:hover { color: var(--white); }
.footer-legal { font-size: 14px; }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta { display: none; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .main-nav, .header-cta { display: none; }
  .nav-toggle {
    display: inline-grid; place-content: center; gap: 6px; margin-left: auto;
    width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer;
  }
  .nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); transition: transform .25s var(--ease); }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

  .hero-grid { grid-template-columns: 1fr; row-gap: 0; }
  .hero-copy { display: contents; }
  .hero-copy > * { order: 0; }
  .hero-form-wrap { order: 1; max-width: 620px; width: 100%; margin-top: 28px; }
  .hero-checks { order: 2; margin-top: 36px; }
  .hero-proof { order: 3; }
  .props { grid-template-columns: 1fr 1fr; }
  .prop:nth-child(3) { padding-left: 0; border-left: 0; }
  .prop:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 8px; }
  .services-grid { grid-template-columns: 1fr; }
  .services-side { position: static; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step-card::after { display: none; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-grid, .pains-grid { grid-template-columns: 1fr; }
  .pains-head { position: static; }
  .mocks { grid-template-columns: 1fr 1fr; }
  .faq-grid > div:first-child { position: static; }
}

@media (max-width: 860px) {
  .intro-grid { grid-template-columns: 1fr; align-items: start; }
  .cases, .quotes, .mocks, .fit-grid { grid-template-columns: 1fr; }
  .case { min-height: 0; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .band-inner { flex-direction: column; align-items: flex-start; }
  .footer-inner { grid-template-columns: 1fr; justify-items: start; }
  .site-footer nav ul { justify-content: flex-start; margin-left: -10px; }
  .sticky-cta {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgba(245,243,238,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
    transform: translateY(110%); transition: transform .3s var(--ease);
  }
  .sticky-cta.is-shown { transform: none; }
  .site-footer { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  :root { --header-h: 72px; }
  .brand-name { font-size: 17px; }
  .brand img { width: 52px; }
  .display { font-size: clamp(38px, 11.5vw, 56px); font-stretch: 108%; }
  .lead-form { border-radius: 18px; }
  .lead-form::before { border-radius: 18px 18px 0 0; }
  .tiles { grid-template-columns: 1fr; }
  .tile-wide { grid-column: auto; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .hero-proof { align-items: flex-start; flex-direction: column; }
  .props { grid-template-columns: 1fr; }
  .prop, .prop + .prop { padding: 28px 0 4px; border-left: 0; }
  .prop + .prop { border-top: 1px solid var(--line); }
  .service { grid-template-columns: 1fr; gap: 8px; padding: 28px 0; }
  .steps, .team-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .member h3 { font-size: 15px; }
  .guarantee-inner { grid-template-columns: 1fr; }
  .faq-list summary { font-size: 17px; }
  .faq-list details p { padding-right: 0; }
  .lead-feed li { flex-direction: column; align-items: flex-start; gap: 4px; }
  .pain { grid-template-columns: 1fr; gap: 10px; padding: 22px; }
  .logos-title span { display: none; }
  .logos-title { letter-spacing: .1em; font-size: 12px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .logo-track { animation: none; }
  .logo-track[aria-hidden] { display: none; }
  .logo-marquee { justify-content: center; -webkit-mask-image: none; mask-image: none; }
  .logo-track:first-child { flex-wrap: wrap; justify-content: center; flex: 1; padding: 0 var(--gutter); row-gap: 28px; }
  .hero-arrow-path { stroke-dashoffset: 0; }
  .js .reveal { opacity: 1; transform: none; }
}

.services-side .tailored { margin-top: 16px; padding-left: 16px; border-left: 3px solid var(--teal-bright); }
.services-side .tailored strong { color: var(--white); }

/* ---------- Reviews carousel ---------- */
.q-pages { display: grid; }
.quote-page { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .6s var(--ease), transform .6s var(--ease), visibility 0s .6s; }
.quote-page.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .6s var(--ease), transform .6s var(--ease), visibility 0s; }
.q-controls { display: flex; gap: 10px; flex: none; }
.q-arrow { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.q-arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.q-arrow:hover { background: var(--teal); border-color: var(--teal); color: var(--white); }
.q-arrow:focus-visible, .q-dot:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.q-dots { display: flex; justify-content: center; gap: 4px; margin-top: 28px; }
.q-dot { width: 32px; height: 32px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; padding: 0; }
.q-dot::before { content: ""; width: 10px; height: 10px; border-radius: 99px; background: rgba(23,27,28,.22); transition: width .3s var(--ease), background-color .3s; }
.q-dot.is-active::before { width: 28px; background: var(--teal); }
@media (prefers-reduced-motion: reduce) { .quote-page, .quote-page.is-active { transition: none; transform: none; } }

/* ---------- Final CTA background photo ----------
   Drop a wide photo (~2000px) named final-bg.jpg into the assets folder. Without it the section stays plain dark. */
.final-cta { background-color: var(--ink); background-image: radial-gradient(ellipse 55% 60% at 50% 50%, rgba(23,27,28,.55), transparent 75%), linear-gradient(180deg, rgba(23,27,28,.5) 0%, rgba(23,27,28,.58) 55%, rgba(23,27,28,.85) 100%), url("../assets/final-bg.jpg"); background-size: cover; background-position: center; }

/* ---------- Project photo strip ---------- */
.work-strip { padding: 8px 0 clamp(48px, 6vw, 80px); overflow: hidden; }
.work-marquee { display: flex; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.work-track { flex: none; display: flex; gap: 16px; padding-right: 16px; animation: logos 90s linear infinite; }
.work-marquee:hover .work-track { animation-play-state: paused; }
.work-card { position: relative; flex: none; width: clamp(200px, 20vw, 300px); aspect-ratio: 3 / 2; border-radius: 20px; overflow: hidden; background: var(--paper-2); box-shadow: var(--shadow); }
.work-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.work-tag { position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: 999px; background: rgba(23,27,28,.72); color: var(--white); font-size: 12px; font-weight: 700; letter-spacing: .02em; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
@media (prefers-reduced-motion: reduce) {
  .work-track { animation: none; }
  .work-track[aria-hidden] { display: none; }
  .work-marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; padding: 0 var(--gutter); }
}

/* ---------- Before / after diary ---------- */
.diary { background: var(--paper); }
.ba { position: relative; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); user-select: none; -webkit-user-select: none; touch-action: pan-y; }
.ba-layer { padding: clamp(18px, 2.5vw, 32px); }
.ba-before { background: #EDEBE6; }
.ba-after { position: absolute; inset: 0; background: var(--white); clip-path: inset(0 0 0 var(--pos)); }
.cal-head { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin-bottom: 18px; min-height: 92px; }
.ba-after .cal-head { align-items: flex-end; text-align: right; }
.cal-head p { font-weight: 800; font-size: 17px; }
.cal-head .cal-total { font-size: 15px; font-weight: 700; color: var(--text-muted); }
.ba-after .cal-total { color: var(--teal); }
.ba-tag { padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.ba-tag-before { background: rgba(23,27,28,.1); color: var(--text-muted); }
.ba-tag-after { background: var(--teal); color: var(--white); }
.cal-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.cal-dname { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 8px; }
.cal-day { display: grid; gap: 8px; align-content: start; }
.cal-slot { min-height: 72px; border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; justify-content: center; gap: 3px; font-size: 13px; line-height: 1.3; }
.cal-slot b { font-size: 14px; }
.cal-slot.is-empty { border: 1.5px dashed rgba(23,27,28,.16); }
.cal-slot.is-bad { background: #F6E3DF; color: #8A3B2E; }
.cal-slot.is-bad b { text-decoration: line-through; }
.cal-slot.is-meh { background: rgba(23,27,28,.07); color: var(--text-muted); }
.cal-slot.is-booked { background: var(--teal); color: var(--white); box-shadow: 0 6px 16px -10px rgba(0,94,100,.8); }
.cal-slot.is-booked span { color: rgba(255,255,255,.82); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: var(--white); box-shadow: 0 0 0 1px rgba(23,27,28,.12); pointer-events: none; }
.ba-handle span { position: absolute; top: 50%; left: 50%; width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%; background: var(--ink); color: var(--white); display: grid; place-items: center; box-shadow: 0 6px 18px rgba(23,27,28,.3); }
.ba-handle svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.ba:has(.ba-range:focus-visible) .ba-handle span { outline: 3px solid var(--teal-bright); outline-offset: 3px; }
.ba-note { margin-top: 12px; font-size: 13px; color: var(--text-muted); }
@media (max-width: 860px) {
  .cal-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cal-day:nth-child(n+4) { display: none; }
  .cal-head { min-height: 0; }
  .cal-head p { font-size: 15px; }
  .cal-head .cal-total { font-size: 13px; }
  .cal-slot { min-height: 64px; padding: 8px 10px; font-size: 12px; }
  .cal-slot b { font-size: 13px; }
}
.diary + .intro { padding-top: 0; }

/* ---------- Honest trust elements ---------- */
.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; }
.avatars-founder span { width: 48px; height: 48px; font-size: 18px; background: var(--teal) !important; color: var(--white) !important; margin-left: 0; }
.trades .logo-track { gap: 0; padding-right: 0; animation-duration: 40s; }
.trade { display: flex; align-items: center; white-space: nowrap; font-family: var(--font-display); font-weight: 800; font-stretch: 112%; font-size: clamp(18px, 2vw, 24px); text-transform: uppercase; letter-spacing: .02em; color: rgba(245,243,238,.86); }
.trade::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal-bright); margin: 0 clamp(28px, 3.5vw, 48px); flex: none; }
.case-num-text { font-size: clamp(30px, 3.4vw, 44px) !important; line-height: 1.05 !important; }
.offer-cta { margin-top: 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 22px 26px; border-radius: 18px; background: var(--teal-tint); border: 1px solid rgba(0,94,100,.18); }
.offer-cta p { color: var(--ink); }
.compare-wrap { overflow-x: auto; border-radius: 22px; border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow); }
.compare-table { width: 100%; min-width: 680px; border-collapse: collapse; font-size: 15px; }
.compare-table th, .compare-table td { padding: 18px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.compare-table tbody tr:last-child th, .compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table thead th { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }
.compare-table thead th.us { color: var(--white); background: var(--teal); }
.compare-table tbody th { font-weight: 700; color: var(--ink); width: 34%; }
.compare-table td { color: var(--text-muted); }
.compare-table td.us { background: var(--teal-tint); color: var(--teal); font-weight: 800; }
.compare-table td.us svg { display: inline-block; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; vertical-align: -2px; margin-right: 8px; }
#offer .case { min-height: 280px; }
.compare-hint { display: none; font-size: 13px; font-weight: 700; color: var(--teal); margin-bottom: 10px; }
@media (max-width: 720px) { .compare-hint { display: block; } }
.avatars-founder img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid var(--white); box-shadow: 0 0 0 2px var(--teal); }
.photo.has-img::after { display: none; }
.photo.has-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }

/* ---------- Founder + team ---------- */
.team-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.founder { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(20px, 3vw, 36px); background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: clamp(18px, 2.4vw, 28px); box-shadow: var(--shadow); }
.founder-photo { border-radius: 16px; overflow: hidden; background: var(--paper-2); }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; display: block; min-height: 320px; }
.founder-role { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); }
.founder h3, .team-card h3 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 900; font-stretch: 112%; margin: 6px 0 14px; }
.founder-copy p:not(.founder-role) { color: var(--text-muted); font-size: 16px; line-height: 1.6; margin-top: 12px; }
.founder-copy strong { color: var(--ink); }
.team-card { background: var(--ink); color: var(--text-on-dark); border-radius: 22px; padding: clamp(22px, 2.6vw, 32px); display: flex; flex-direction: column; }
.team-card .founder-role { color: var(--teal-bright); }
.team-card > p:not(.founder-role) { color: var(--text-on-dark-muted); line-height: 1.6; }
.team-roles { display: grid; gap: 10px; margin: 22px 0; }
.team-roles li { display: flex; align-items: center; gap: 12px; font-weight: 700; padding: 12px 14px; border-radius: 12px; background: rgba(245,243,238,.06); border: 1px solid var(--line-dark); }
.team-roles li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal-bright); flex: none; }
.team-card .team-note { margin-top: auto; color: var(--white) !important; font-weight: 700; }
@media (max-width: 1080px) { .team-layout { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .founder { grid-template-columns: 1fr; } .founder-photo img { min-height: 0; aspect-ratio: 1; } }

/* ---------- Legal pages ---------- */
.legal { padding: calc(var(--header-h) + clamp(28px, 4vw, 48px)) 0 var(--section); background: var(--paper); }
.legal-inner { max-width: 760px; }
.legal h1 { margin-bottom: 8px; }
.legal-updated { color: var(--text-muted); font-size: 14px; margin-bottom: 28px; }
.legal h2 { font-family: var(--font-display); font-weight: 800; font-stretch: 108%; font-size: 22px; margin: 40px 0 12px; }
.legal p:not(.kicker), .legal li { color: #3B4244; font-size: 16px; line-height: 1.7; }
.legal p:not(.kicker) + p { margin-top: 12px; }
.legal ul { margin: 10px 0 0; padding-left: 0; display: grid; gap: 8px; }
.legal li { position: relative; padding-left: 22px; }
.legal li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
.legal a { color: var(--teal); }
.legal .ph { background: #FFF1A8; padding: 1px 4px; border-radius: 4px; }
.legal-back { margin-left: auto; white-space: nowrap; }
.footer-legal a, .consent a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 560px) { .hide-sm { display: none; } }
.consent-optional { margin-top: 10px; }
