/* Fonts: Cabinet Grotesk (Fontshare, ITF Free Font License), Geist + Geist Mono (SIL OFL) */
@font-face { font-family: "Cabinet Grotesk"; src: url("../fonts/cabinet-grotesk-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Cabinet Grotesk"; src: url("../fonts/cabinet-grotesk-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Geist"; src: url("../fonts/geist.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("../fonts/geist-mono.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

/* Shape rule: interactive elements are pills, containers 24px, media 14px. */
:root {
  --bg: #f3f3f0;
  --surface: #fbfbf9;
  --surface-2: #e9e9e4;
  --ink: #141517;
  --ink-2: #4f5258;
  --ink-3: #686b71;
  --line: rgb(20 21 23 / .11);
  --line-strong: rgb(20 21 23 / .28);
  --accent: #ec6440;
  --accent-ink: #b33d1a;
  --on-accent: #141517;
  --good: #1d8a4c;
  --warn: #b77a06;
  --poor: #c8361f;
  --shadow: 0 1px 2px rgb(40 32 24 / .05), 0 28px 60px -32px rgb(40 32 24 / .28);
  --shadow-lg: 0 2px 4px rgb(40 32 24 / .06), 0 40px 80px -36px rgb(40 32 24 / .45);
  --radius-card: 24px;
  --radius-media: 14px;
  --nav-h: 68px;
  --pad: clamp(16px, 4vw, 48px);
  --max: 1360px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --font-display: "Cabinet Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d0e10;
    --surface: #15161a;
    --surface-2: #1e2025;
    --ink: #ecebe6;
    --ink-2: #b1b2ad;
    --ink-3: #8e8f8b;
    --line: rgb(255 255 255 / .09);
    --line-strong: rgb(255 255 255 / .26);
    --accent: #ef6a47;
    --accent-ink: #f3906f;
    --good: #3fc47a;
    --warn: #e6ad3a;
    --poor: #f0654c;
    --shadow: 0 1px 0 rgb(255 255 255 / .04) inset, 0 30px 70px -34px rgb(0 0 0 / .7);
    --shadow-lg: 0 1px 0 rgb(255 255 255 / .06) inset, 0 44px 90px -36px rgb(0 0 0 / .85);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1rem/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.icon { width: 1.1em; height: 1.1em; fill: currentColor; flex: none; }

.skip {
  position: fixed; left: 16px; top: 12px; z-index: 100;
  padding: 10px 16px; border-radius: 999px;
  background: var(--ink); color: var(--bg); text-decoration: none; font-weight: 600;
  transform: translateY(-160%); transition: transform .3s var(--ease);
}
.skip:focus { transform: none; }

/* Navigation */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--nav-h);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav-inner {
  max-width: var(--max); height: 100%; margin: 0 auto; padding: 0 var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font: 800 1.2rem/1 var(--font-display); letter-spacing: -.02em; }
.brand-mark { width: 32px; height: 32px; flex: none; }
.brand-mark rect { fill: var(--accent); }
.brand-mark path { fill: none; stroke: var(--on-accent); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.nav-links { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 32px); }
.nav-links > a:not(.btn) {
  display: inline-flex; align-items: center; gap: 6px;
  text-decoration: none; font-weight: 500; font-size: .95rem; color: var(--ink-2);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
  padding-bottom: 2px; transition: background-size .4s var(--ease), color .2s;
}
.nav-links > a:not(.btn):hover { color: var(--ink); background-size: 100% 1.5px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  height: 52px; padding: 0 24px; border-radius: 999px;
  font: 600 1rem/1 var(--font-body); text-decoration: none; white-space: nowrap;
  border: 1.5px solid transparent;
  transition: background-color .25s, color .25s, border-color .25s, scale .2s var(--ease);
}
.btn:active { scale: .97; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: color-mix(in oklab, var(--accent) 86%, var(--ink)); }
.btn-ghost { border-color: var(--line-strong); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.btn-sm { height: 40px; padding: 0 16px; font-size: .9rem; }

/* Hero */
.hero {
  max-width: var(--max); min-height: 100dvh; margin: 0 auto;
  padding: calc(var(--nav-h) + clamp(24px, 5vh, 64px)) var(--pad) clamp(40px, 7vh, 80px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center; gap: clamp(32px, 4vw, 72px);
  perspective: 1600px;
}
.hero-title {
  margin: 0 0 .32em;
  font: 800 clamp(3.6rem, 9.4vw, 9.25rem)/.9 var(--font-display);
  letter-spacing: -.045em;
}
.hero-title .w-mask { padding-block: .08em; margin-block: -.08em; }
.hero-kicker {
  display: block; margin-bottom: 1.3rem;
  font: 500 clamp(.95rem, 1.25vw, 1.1rem)/1.3 var(--font-mono); letter-spacing: 0;
  color: var(--accent-ink);
}
.hero-name { display: block; }
.hero-sub {
  margin: 0 0 2.2rem; max-width: 30ch;
  font-size: clamp(1.15rem, 1.55vw, 1.4rem); line-height: 1.45; color: var(--ink-2);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-deck { position: relative; aspect-ratio: 1 / .84; transform-style: preserve-3d; }
.deck-card {
  position: absolute; margin: 0; width: 76%;
  border-radius: var(--radius-media); overflow: hidden;
  background: var(--surface); box-shadow: var(--shadow-lg);
  outline: 1px solid var(--line);
}
.deck-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.deck-1 { left: 0; top: 36%; rotate: -5deg; }
.deck-2 { left: 14%; top: 17%; rotate: 2.5deg; }
.deck-3 { left: 24%; top: 0; rotate: 8deg; }

.motion:not(.ready) [data-hero],
.motion:not(.ready) .deck-card { visibility: hidden; }

/* Marquee */
.marquee {
  overflow: hidden; background: var(--surface);
  border-block: 1px solid var(--line);
  padding: clamp(14px, 2.2vw, 26px) 0;
}
.marquee-track { display: flex; width: max-content; will-change: transform; }
.motion .marquee-track:not(.is-js) { animation: marquee 40s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee-group { display: flex; align-items: center; flex: none; gap: clamp(20px, 3vw, 44px); padding-right: clamp(20px, 3vw, 44px); }
.marquee span { font: 800 clamp(2.2rem, 6.4vw, 5.75rem)/1.05 var(--font-display); letter-spacing: -.035em; white-space: nowrap; }
.marquee .outline { color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.marquee .star { width: clamp(26px, 3.6vw, 52px); height: clamp(26px, 3.6vw, 52px); fill: var(--accent); flex: none; }

/* Section heads */
.section-head { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.h2 {
  margin: 0 0 .4em;
  font: 800 clamp(2.8rem, 6.6vw, 6.25rem)/.95 var(--font-display);
  letter-spacing: -.042em;
}
.line-mask { padding-block: .06em; margin-block: -.06em; }
.lead { margin: 0; max-width: 56ch; font-size: clamp(1.05rem, 1.3vw, 1.2rem); color: var(--ink-2); }

/* Work: sticky project stack */
.work { padding: clamp(96px, 15vh, 168px) 0 clamp(72px, 10vh, 120px); }
.stack {
  max-width: var(--max); margin: clamp(40px, 7vh, 80px) auto 0; padding: 0 var(--pad);
  display: grid; gap: clamp(20px, 4vh, 40px);
}
.project {
  position: relative; display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(20px, 2.6vw, 40px);
  padding: 14px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-card); box-shadow: var(--shadow);
  overflow: hidden; transform-origin: 50% 0;
}
/* Sticky (not JS pinning) so stacking never registers as layout shift.
   main.js scales and dims the covered card. */
@media (min-width: 900px) and (min-height: 760px) {
  .project {
    position: sticky;
    top: calc(var(--nav-h) + 20px + var(--i) * 14px);
    min-height: min(calc(100dvh - var(--nav-h) - 150px), 660px);
  }
}
.project-shade { position: absolute; inset: 0; z-index: 5; background: var(--bg); opacity: 0; pointer-events: none; will-change: opacity; }
.project-info { display: flex; flex-direction: column; padding: clamp(10px, 1.8vw, 26px); }
.project-title { margin: 0; font: 800 clamp(2rem, 3.3vw, 3.2rem)/.98 var(--font-display); letter-spacing: -.035em; }
.project-kind { margin: .7rem 0 0; font: 500 .9rem/1.4 var(--font-mono); color: var(--accent-ink); }
.project-desc { margin: 1rem 0 0; max-width: 46ch; color: var(--ink-2); }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: auto 0 0; padding-top: 1.6rem; }
.facts div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; }
.facts dd { margin: 0; font: 800 clamp(1.6rem, 2.3vw, 2.2rem)/1 var(--font-display); letter-spacing: -.03em; white-space: nowrap; }
.facts dt { font-size: .84rem; line-height: 1.3; color: var(--ink-3); }
.lh { margin-top: 1.3rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.lh-label { display: block; margin-bottom: .6rem; font: 500 .76rem/1 var(--font-mono); color: var(--ink-3); }
.lh ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.lh li { display: flex; flex-direction: column; gap: 5px; font-size: .78rem; line-height: 1.25; color: var(--ink-3); }
.lh b { font: 600 1.15rem/1 var(--font-mono); color: var(--ink); }
.project-link {
  display: inline-flex; align-items: center; gap: 8px; width: fit-content;
  margin-top: 1.3rem; padding-bottom: 3px;
  font-weight: 600; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
  transition: background-size .45s var(--ease);
}
.project-link:hover { background-size: 100% 1.5px; }
.project-link .icon { transition: transform .4s var(--ease); }
.project-link:hover .icon { transform: translate(3px, -3px); }

.project-media {
  position: relative; overflow: hidden; display: grid; place-items: center;
  min-height: 320px;
  padding: clamp(20px, 3vw, 44px) clamp(64px, 9vw, 132px) clamp(20px, 3vw, 44px) clamp(20px, 3vw, 44px);
  border-radius: calc(var(--radius-card) - 8px);
  background: color-mix(in oklab, var(--tint) 24%, var(--surface));
}
.browser {
  width: 100%; overflow: hidden;
  border-radius: var(--radius-media);
  background: var(--surface); outline: 1px solid var(--line);
  box-shadow: 0 34px 70px -34px color-mix(in oklab, var(--tint) 55%, rgb(0 0 0) 45%);
}
.browser-bar { height: 30px; display: flex; align-items: center; justify-content: center; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.browser-bar span { padding: 3px 14px; border-radius: 999px; background: var(--surface); font: 500 .72rem/1.3 var(--font-mono); color: var(--ink-3); }
.browser img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.phone {
  position: absolute; right: clamp(14px, 2.2vw, 30px); bottom: -9%;
  width: clamp(92px, 12.5vw, 184px);
  padding: 5px; border-radius: 28px; background: #141517;
  box-shadow: 0 30px 60px -24px rgb(0 0 0 / .55), 0 0 0 1px rgb(255 255 255 / .08) inset;
}
.phone img { width: 100%; aspect-ratio: 9 / 19.5; object-fit: cover; object-position: top; border-radius: 23px; }

/* About */
.services {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(96px, 15vh, 168px) var(--pad);
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 96px); align-items: start;
}
.services-intro { position: sticky; top: calc(var(--nav-h) + 40px); }
.services-intro .h2 { font-size: clamp(2.6rem, 4.6vw, 4.6rem); }
.service-list { list-style: none; margin: 0; padding: 0; }
.service { position: relative; display: grid; gap: 10px; padding: clamp(24px, 3.6vh, 38px) 0; border-top: 1px solid var(--line); }
.service:last-child { border-bottom: 1px solid var(--line); }
.service::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform .7s var(--ease);
}
.service h3 { margin: 0; font: 800 clamp(1.9rem, 3.6vw, 3.4rem)/1 var(--font-display); letter-spacing: -.035em; transition: transform .6s var(--ease), color .3s; }
.service p { margin: 0; max-width: 52ch; color: var(--ink-2); }
@media (hover: hover) {
  .service:hover::before { transform: scaleX(1); }
  .service:hover h3 { transform: translateX(14px); color: var(--accent-ink); }
}

/* Vitals */
.vitals { padding: clamp(96px, 15vh, 168px) 0; background: var(--surface); border-block: 1px solid var(--line); }
.vitals-grid {
  max-width: var(--max); margin: clamp(40px, 6vh, 64px) auto 0; padding: 0 var(--pad);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px;
}
.metric {
  position: relative; display: flex; flex-direction: column; gap: 12px; min-height: 210px;
  padding: clamp(18px, 2vw, 28px);
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-card);
}
.metric-lg { grid-column: span 2; grid-row: span 2; }
.metric-name { font-size: .92rem; font-weight: 500; color: var(--ink-2); }
.metric-value { display: flex; align-items: baseline; gap: 6px; margin-top: auto; }
.metric-value b { font: 600 clamp(2.6rem, 4.4vw, 4rem)/1 var(--font-body); letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.metric-lg .metric-value b { font-size: clamp(4.5rem, 10.5vw, 9.5rem); }
.metric-value small { font: 500 1rem/1 var(--font-mono); color: var(--ink-3); }
.metric-state { display: flex; align-items: center; gap: 8px; font: 500 .84rem/1.3 var(--font-mono); color: var(--ink-3); }
.metric-state::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; opacity: .5; flex: none; }
.metric[data-state="good"] .metric-state { color: var(--good); }
.metric[data-state="warn"] .metric-state { color: var(--warn); }
.metric[data-state="poor"] .metric-state { color: var(--poor); }
.metric[data-state] .metric-state::before { opacity: 1; }
.metric[data-state="info"] .metric-state { color: var(--ink-3); }
.metric-note { max-width: 44ch; font-size: .92rem; color: var(--ink-3); }

/* Load timeline: ticks on a hairline axis, values in the legend below */
.timeline { position: relative; height: 26px; margin-top: 8px; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 13px; height: 1px; background: var(--line-strong); }
.tl-mark { position: absolute; top: 2px; left: 0; width: 2px; height: 22px; margin-left: -1px; border-radius: 2px; opacity: 0; transition: left .9s var(--ease), opacity .4s; }
.tl-mark.is-set { opacity: 1; }
.tl-legend { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; font: 500 .76rem/1.3 var(--font-mono); color: var(--ink-3); }
.tl-legend li { display: flex; align-items: center; gap: 7px; }
.tl-legend li::before { content: ""; width: 3px; height: 12px; border-radius: 2px; }
.tl-legend b { font-weight: 600; color: var(--ink); }
[data-mark="ttfb"].tl-mark, .tl-legend [data-mark="ttfb"]::before { background: var(--ink-3); }
[data-mark="fcp"].tl-mark, .tl-legend [data-mark="fcp"]::before { background: var(--ink); }
[data-mark="lcp"].tl-mark, .tl-legend [data-mark="lcp"]::before { background: var(--accent); }
[data-mark="lcp"].tl-mark { width: 3px; margin-left: -1.5px; }

/* Contact */
.contact {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(112px, 18vh, 200px) var(--pad);
  display: flex; flex-direction: column; align-items: flex-start; gap: 24px;
}
.contact-title { margin: 0; max-width: 11ch; font: 800 clamp(3.2rem, 10vw, 10rem)/.9 var(--font-display); letter-spacing: -.05em; }
.email-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 12px; }
.email-link {
  padding-bottom: 6px;
  font: 800 clamp(1.7rem, 4.8vw, 3.75rem)/1.1 var(--font-display); letter-spacing: -.03em;
  text-decoration: none; overflow-wrap: anywhere;
  background: linear-gradient(var(--accent), var(--accent)) 0 100% / 100% 3px no-repeat;
  transition: color .3s;
}
.email-link:hover { color: var(--accent-ink); }
.btn-copy { height: 44px; padding: 0 18px; font-size: .95rem; }
.btn-copy.is-copied, .btn-copy.is-copied:hover { background: transparent; border-color: var(--good); color: var(--good); }
.contact-alt { margin: 4px 0 0; color: var(--ink-2); }
.contact-alt a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; }
.contact-alt a:hover { color: var(--accent-ink); }

.footer {
  max-width: var(--max); margin: 0 auto; padding: 28px var(--pad) 40px;
  display: flex; justify-content: space-between; gap: 16px;
  background: linear-gradient(var(--line), var(--line)) var(--pad) 0 / calc(100% - 2 * var(--pad)) 1px no-repeat;
  font-size: .9rem; color: var(--ink-3);
}
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--ink); }
.footer button { padding: 0; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; }
.footer button:hover { color: var(--ink); }

/* German landing pages */
.lp-hero .hero-title { font-size: clamp(2.4rem, 4.3vw, 4.1rem); line-height: 1.02; letter-spacing: -.035em; }
.lp-hero .hero-kicker { margin-bottom: 1.1rem; }
.lp-section { padding-top: clamp(88px, 13vh, 150px); }
.lp-stats {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--pad);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px);
}
.lp-stat { padding-top: 20px; border-top: 2px solid var(--ink); }
.lp-stat b { display: block; font: 800 clamp(2.6rem, 5vw, 4.4rem)/1 var(--font-display); letter-spacing: -.04em; }
.lp-stat span { display: block; max-width: 34ch; margin-top: 12px; font-size: .95rem; color: var(--ink-2); }

.refs {
  max-width: var(--max); margin: clamp(40px, 6vh, 64px) auto 0; padding: 0 var(--pad);
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px;
}
.ref {
  display: flex; flex-direction: column; gap: 22px; padding: 14px 14px 28px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-card); box-shadow: var(--shadow);
}
.ref-media {
  padding: clamp(18px, 3vw, 44px);
  border-radius: calc(var(--radius-card) - 8px);
  background: color-mix(in oklab, var(--tint) 24%, var(--surface));
}
.ref-body { display: flex; flex-direction: column; padding: 0 clamp(8px, 1.4vw, 18px); }
.ref h3 { margin: 0; font: 800 clamp(1.7rem, 2.6vw, 2.5rem)/1 var(--font-display); letter-spacing: -.035em; }
.ref .project-desc { max-width: 52ch; }
@media (min-width: 900px) {
  .ref:first-child { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; padding-bottom: 14px; }
  .ref:first-child .ref-body { padding: clamp(10px, 1.8vw, 26px); }
}

.benefits {
  max-width: var(--max); margin: clamp(40px, 6vh, 64px) auto 0; padding: 0 var(--pad);
  list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 56px);
}
.benefit { padding: 26px 0 34px; border-top: 1px solid var(--line); }
.benefit h3 { margin: 0 0 10px; font: 800 clamp(1.4rem, 2vw, 1.85rem)/1.1 var(--font-display); letter-spacing: -.025em; }
.benefit p { margin: 0; color: var(--ink-2); }

.steps {
  max-width: var(--max); margin: clamp(40px, 6vh, 64px) auto 0; padding: 0 var(--pad);
  list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px;
}
.step {
  padding: 26px 24px 30px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card);
  background-image: linear-gradient(var(--accent), var(--accent));
  background-size: 48px 3px; background-position: 24px 0; background-repeat: no-repeat;
}
.step h3 { margin: 6px 0 10px; font: 800 1.6rem/1.1 var(--font-display); letter-spacing: -.025em; }
.step p { margin: 0; color: var(--ink-2); }

/* Consent banner for ad conversion tracking (shown only when ads.js is configured) */
.consent {
  position: fixed; left: 16px; bottom: 16px; z-index: 60;
  width: min(420px, calc(100% - 32px));
  padding: 20px 20px 18px;
  background: var(--surface); border: 1px solid var(--line-strong);
  border-radius: var(--radius-card); box-shadow: var(--shadow-lg);
}
.consent p { margin: 0 0 14px; font-size: .92rem; color: var(--ink-2); }
.consent a { color: var(--ink); font-weight: 600; }
.consent-actions { display: flex; gap: 10px; }
.consent-actions .btn { flex: 1 1 0; height: 44px; padding: 0 16px; font-size: .95rem; }

/* Tablet and below */
@media (max-width: 899px) {
  .hero { grid-template-columns: minmax(0, 1fr); min-height: auto; padding-top: calc(var(--nav-h) + 40px); }
  .hero-deck { width: min(100%, 620px); margin: 12px auto 0; }
  .project { grid-template-columns: minmax(0, 1fr); }
  .project-media { order: -1; min-height: 0; }
  .facts { padding-top: 1.4rem; }
  .services { grid-template-columns: minmax(0, 1fr); }
  .services-intro { position: static; }
  .vitals-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric-lg { grid-row: auto; }
  .lp-stats { grid-template-columns: minmax(0, 1fr); }
  .refs { grid-template-columns: minmax(0, 1fr); }
  .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Phones */
@media (max-width: 640px) {
  :root { --nav-h: 60px; }
  .nav-links > a:not(.btn) { display: none; }
  .brand span { font-size: 1.05rem; }
  .hero-cta .btn { flex: 1 1 auto; }
  .project { padding: 10px; }
  .project-media { padding: 16px 64px 16px 16px; }
  .phone { width: 84px; border-radius: 18px; padding: 4px; }
  .phone img { border-radius: 14px; }
  .facts { gap: 10px; }
  .vitals-grid { grid-template-columns: minmax(0, 1fr); }
  .metric-lg { grid-column: auto; }
  .metric { min-height: 170px; }
  .footer { flex-direction: column; }
  .nav-links > a.nav-keep { display: inline-flex; }
  .benefits, .steps { grid-template-columns: minmax(0, 1fr); }
}

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
