/* Flooring WebPros — homepage */
:root {
  --ink: #1c1814;
  --ink-2: #4a4038;
  --ink-3: #7a6e63;
  --paper: #fbf8f3;
  --cream: #f3ece1;
  --line: #e4dacb;
  --oak: #b67c45;
  --oak-deep: #8a5a2b;
  --oak-light: #e9cfa9;
  --accent: #c2551f;
  --accent-hover: #a8461a;
  --dark: #1c1814;
  --dark-2: #2a241e;
  --radius: 14px;
  --wrap: 1200px;
  --header-h: 72px;
  --f-display: "Archivo", system-ui, sans-serif;
  --f-serif: "Instrument Serif", Georgia, serif;
  color-scheme: light;
}

*, *::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(--f-display);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.08; font-weight: 800; letter-spacing: -0.02em; font-stretch: 92%; }
p { margin: 0; }
em { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: 0; }
.material-symbols-outlined { font-size: 26px; line-height: 1; }
.sr, .sr-early {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
@media (min-width: 768px) { .wrap { width: min(var(--wrap), 100% - 64px); } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 2px solid transparent;
  font: 700 15px/1 var(--f-display); letter-spacing: 0.01em; text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-hover); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-ghost-light { border-color: rgba(255,255,255,.7); color: #fff; background: rgba(28,24,20,.2); backdrop-filter: blur(6px); }
.btn-ghost-light:hover { background: #fff; color: var(--ink); }

/* Announcement bar */
.announce { background: var(--oak-light); color: var(--ink); font-size: 14px; text-align: center; padding: 9px 16px; line-height: 1.4; position: relative; z-index: 60; }
.announce a { font-weight: 800; white-space: nowrap; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(251,248,243,0); color: #fff;
  transition: background .3s, color .3s, box-shadow .3s;
}
.site-header.solid, .site-header.open { background: rgba(251,248,243,.94); color: var(--ink); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(10px); }
.header-row { height: 100%; display: flex; align-items: center; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 19px; letter-spacing: -0.01em; white-space: nowrap; }
.logo b { font-weight: 900; }
.logo-mark { display: grid; grid-template-columns: repeat(3, 6px); gap: 2px; transform: skewX(-12deg); }
.logo-mark i { height: 22px; border-radius: 2px; background: var(--oak); }
.logo-mark i:nth-child(2) { background: var(--accent); height: 22px; transform: translateY(-3px); }
.logo-mark i:nth-child(3) { background: var(--oak-light); }
.nav { display: none; gap: 26px; margin-left: auto; font-size: 15px; font-weight: 600; }
.nav a { text-decoration: none; opacity: .9; }
.nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; }
.header-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.header-phone { display: none; align-items: center; gap: 6px; font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap; }
.header-phone .material-symbols-outlined { font-size: 20px; }
.menu-btn { width: 44px; height: 44px; display: grid; place-content: center; gap: 6px; background: none; border: 0; color: inherit; cursor: pointer; padding: 0; }
.menu-btn span { display: block; width: 22px; height: 2px; background: currentColor; transition: transform .25s; }
.site-header.open .menu-btn span:first-child { transform: translateY(4px) rotate(45deg); }
.site-header.open .menu-btn span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mobile-nav {
  display: none; position: absolute; inset: var(--header-h) 0 auto 0; background: var(--paper); color: var(--ink);
  padding: 8px 16px 24px; box-shadow: 0 20px 40px rgba(0,0,0,.12); flex-direction: column;
}
.site-header.open .mobile-nav { display: flex; }
.mobile-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 700; font-size: 18px; }
.mobile-nav .btn { margin-top: 18px; }
.mobile-nav .mobile-phone { text-align: center; border: 0; font-size: 16px; }
@media (max-width: 479px) { .header-actions .btn-sm { display: none; } }
@media (min-width: 1080px) {
  .nav { display: flex; }
  .header-actions { margin-left: 8px; }
  .menu-btn { display: none; }
}
@media (min-width: 1240px) { .header-phone { display: inline-flex; } }

/* Hero — scroll scrubbed */
.hero { position: relative; height: 420vh; margin-top: calc(-1 * var(--header-h)); background: var(--dark); color: #fff; }
.hero-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; background: #3b2a1a url("frames/f001.webp") center/cover; }
.hero-shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(20,15,10,.55) 0%, rgba(20,15,10,.05) 30%, rgba(20,15,10,.1) 55%, rgba(20,15,10,.7) 100%),
    linear-gradient(90deg, rgba(20,15,10,.5) 0%, rgba(20,15,10,0) 65%);
}
.hero-stage { position: relative; height: 100%; }
.stage {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding-bottom: clamp(88px, 14vh, 140px); opacity: 0; visibility: hidden; will-change: opacity, transform;
}
.stage.on { visibility: visible; }
.stage-2 { justify-content: center; padding-bottom: 0; }
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--oak-deep); margin-bottom: 14px; }
.eyebrow-light { color: var(--oak-light); }
.hero-title { font-size: clamp(44px, 8.6vw, 116px); font-weight: 900; font-stretch: 82%; letter-spacing: -0.035em; line-height: .95; max-width: 12ch; text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.hero-big { font-size: clamp(48px, 10vw, 140px); font-weight: 900; font-stretch: 82%; letter-spacing: -0.035em; line-height: .92; max-width: 9ch; text-shadow: 0 2px 30px rgba(0,0,0,.3); }
.hero-big em { display: block; color: var(--oak-light); font-size: 1.04em; }
.hero-sub-title { font-size: clamp(30px, 4.6vw, 60px); font-weight: 900; font-stretch: 85%; letter-spacing: -0.03em; line-height: 1; max-width: 16ch; margin-bottom: 18px; }
.hero-sub-title em { display: block; color: var(--oak-light); }
.hero-sub { font-size: clamp(17px, 1.6vw, 20px); max-width: 56ch; opacity: .95; margin-bottom: 26px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.micro { margin-top: 16px; font-size: 14px; opacity: .85; }
.scroll-cue { display: inline-flex; align-items: center; gap: 12px; margin-top: 28px; font-size: 14px; font-weight: 600; opacity: .85; }
.scroll-cue span { width: 22px; height: 36px; border: 2px solid currentColor; border-radius: 12px; position: relative; }
.scroll-cue span::after { content: ""; position: absolute; left: 50%; top: 6px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: currentColor; animation: cue 1.6s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }
.hero-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.15); }
.hero-progress span { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(0); background: var(--oak-light); }
@media (max-width: 600px) {
  .btn-row .btn { width: 100%; }
  .hero-shade { background: linear-gradient(180deg, rgba(20,15,10,.5) 0%, rgba(20,15,10,.15) 25%, rgba(20,15,10,.75) 70%, rgba(20,15,10,.85) 100%); }
  .hero { height: 360vh; }
}

/* Reduced motion: static hero with everything shown */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero { height: auto; }
  .hero-sticky { position: relative; height: auto; min-height: 100svh; }
  .hero-canvas { background-image: url("frames/f132.webp"); }
  .stage-1, .stage-2 { display: none; }
  .stage-3 { position: relative; opacity: 1; visibility: visible; min-height: 100svh; padding-top: calc(var(--header-h) + 40px); }
  .hero-progress, .scroll-cue span::after { display: none; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
.no-js .stage-1, .no-js .stage-2 { display: none; }
.no-js .stage-3 { opacity: 1; visibility: visible; }

/* Trust strip */
.trust { background: var(--ink); color: #f3ece1; border-top: 1px solid rgba(255,255,255,.08); }
.trust-row { list-style: none; margin: 0 auto; padding: 18px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; font-size: 14px; font-weight: 600; }
.trust-row b { color: var(--oak-light); }
.stars { color: #f2b544; letter-spacing: 2px; }
@media (min-width: 900px) { .trust-row { display: flex; justify-content: space-between; font-size: 15px; } }

/* Sections */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-dark { background: var(--dark); color: #f3ece1; }
.section-cream { background: var(--cream); }
.section-oak { background: linear-gradient(180deg, var(--paper), var(--cream)); }
.section-head { max-width: 760px; margin: 0 auto clamp(40px, 6vw, 64px); text-align: center; }
.section-head.left { text-align: left; margin-left: 0; }
.section-head h2 { font-size: clamp(34px, 5vw, 60px); font-stretch: 85%; font-weight: 900; letter-spacing: -0.03em; }
.lede { margin-top: 18px; font-size: clamp(17px, 1.5vw, 19px); color: var(--ink-2); }
.section-dark .lede { color: #d6ccbe; }
.under-line { text-align: center; margin-top: 40px; font-weight: 600; color: var(--ink-2); }
.section-dark .under-line { color: #d6ccbe; }
.under-line a { color: var(--accent); font-weight: 800; text-decoration: none; white-space: nowrap; }
.under-line a:hover { text-decoration: underline; }
.center { text-align: center; margin-top: 44px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* Who we serve */
.trade-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .trade-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .trade-grid { grid-template-columns: repeat(4, 1fr); } }
.trade { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 14px 22px; transition: transform .25s, box-shadow .25s; }
.trade:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(60,40,20,.12); }
.trade h3 { font-size: 19px; margin: 18px 6px 8px; }
.trade p { font-size: 15px; color: var(--ink-2); margin: 0 6px; }
.swatch { height: 120px; border-radius: 10px; }
.sw-hardwood {
  background:
    repeating-linear-gradient(90deg, rgba(0,0,0,.18) 0 1px, transparent 1px 48px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.05) 0 2px, rgba(0,0,0,.05) 2px 5px),
    linear-gradient(90deg, #a8703c, #c48a50 25%, #9c6534 50%, #b9814a 75%, #a06a38);
}
/* Hover a trade card: its photo fills the section background */
.trade-section { position: relative; isolation: isolate; clip-path: inset(0); }
/* Fixed to the viewport (clipped to the section) so the photo is screen-sized, not stretched over the whole tall section */
.trade-bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.trade-bg-layer { position: absolute; inset: -20px; background: center/cover no-repeat; opacity: 0; transform: scale(1.06); filter: blur(1px); transition: opacity .6s ease, transform 1.4s ease; }
.trade-bg-layer.on { opacity: 1; transform: scale(1); }
.trade-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(28,24,20,.72), rgba(28,24,20,.45) 45%, rgba(28,24,20,.7)); opacity: 0; transition: opacity .6s ease; }
.trade-section.has-bg .trade-bg::after { opacity: 1; }
.trade-section .section-head h2, .trade-section .lede, .trade-section .eyebrow, .trade-section .under-line, .trade-section .under-line a { transition: color .4s ease; }
.trade-section.has-bg .section-head h2 { color: #fff; }
.trade-section.has-bg .lede, .trade-section.has-bg .under-line { color: #efe6da; }
.trade-section.has-bg .eyebrow, .trade-section.has-bg .under-line a { color: var(--oak-light); }
.trade-section.has-bg .trade:not(.active) { opacity: .82; }
.trade { transition: transform .25s, box-shadow .25s, opacity .3s; }
.trade.active { transform: translateY(-4px); box-shadow: 0 22px 50px rgba(0,0,0,.35); }
.trade[data-bg] .swatch { background: var(--bg) center/cover no-repeat; }
/* Phones: cards stack on scroll; covered cards shrink and darken (driven by main.js) */
@media (max-width: 559px) {
  .trade-grid > .trade { position: sticky; top: calc(var(--header-h) + 14px + var(--i, 0) * 10px); transform-origin: 50% 0; box-shadow: 0 -8px 30px rgba(0,0,0,.18); transition: box-shadow .25s, opacity .7s ease; }
  .trade-grid > .trade.reveal.in, .trade-grid > .trade.active, .trade-grid > .trade:hover { transform: scale(var(--s, 1)); filter: brightness(var(--b, 1)); }
  .trade-section.has-bg .trade:not(.active) { opacity: 1; }
  /* 20% narrower on each side so more of the background photo shows */
  .trade-grid > .trade { width: 60%; justify-self: center; padding: 10px 10px 16px; }
  .trade-grid > .trade .swatch { height: 96px; }
  .trade-grid > .trade h3 { font-size: 16px; margin: 12px 4px 6px; }
  .trade-grid > .trade p { font-size: 13px; margin: 0 4px; }
}
@media (prefers-reduced-motion: reduce) { .trade-bg-layer, .trade-bg-layer.on { transform: none; transition: opacity .2s; } }
.sw-carpet { background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.18) 1px, transparent 1.5px) 0 0/5px 5px, radial-gradient(circle at 70% 60%, rgba(0,0,0,.15) 1px, transparent 1.5px) 0 0/4px 4px, #8d8f84; }
.sw-tile { background: repeating-linear-gradient(0deg, #bdb5a8 0 3px, transparent 3px 40px), repeating-linear-gradient(90deg, #bdb5a8 0 3px, transparent 3px 40px), linear-gradient(135deg, #ece7de, #d9d2c6); }
.sw-lvp { background: repeating-linear-gradient(90deg, rgba(0,0,0,.14) 0 1px, transparent 1px 70px), repeating-linear-gradient(0deg, transparent 0 39px, rgba(0,0,0,.14) 39px 40px), linear-gradient(90deg, #b7a58d, #cbbba3 40%, #ad9b82 70%, #c3b29a); }
.sw-epoxy { background: radial-gradient(circle, #f4f1ea 1px, transparent 1.6px) 0 0/9px 9px, radial-gradient(circle, #2b2b2b 1px, transparent 1.6px) 4px 4px/11px 11px, radial-gradient(circle, #c2551f 1px, transparent 1.6px) 2px 6px/13px 13px, linear-gradient(135deg, #7d7f82, #5d6064); }
.sw-refinish { background: linear-gradient(90deg, rgba(120,100,80,.85) 0 50%, transparent 50%), repeating-linear-gradient(90deg, rgba(0,0,0,.18) 0 1px, transparent 1px 40px), linear-gradient(90deg, #c48a50, #d79c5e); }
.sw-showroom { background: linear-gradient(90deg, #6b4b2e 0 25%, #a88f72 25% 50%, #3e3a36 50% 75%, #d9cdb9 75%); }
.sw-commercial { background: repeating-linear-gradient(45deg, #4b5563 0 10px, #556070 10px 20px); }

/* Problem */
.pain-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .pain-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .pain-grid { grid-template-columns: repeat(3, 1fr); } }
.pain { background: var(--dark-2); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); padding: 26px; }
.pain .material-symbols-outlined { color: #ef8a5a; font-size: 30px; }
.pain h3 { font-size: 21px; margin: 16px 0 8px; color: #fff; }
.pain p { color: #cfc4b5; font-size: 16px; }
.transition { margin: 56px auto 0; max-width: 820px; text-align: center; font-size: clamp(22px, 3vw, 34px); font-weight: 800; font-stretch: 88%; line-height: 1.2; letter-spacing: -0.02em; }
.transition em { color: var(--oak-light); }

/* Services */
.service-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; grid-template-columns: 1fr; }
@media (min-width: 640px) { .service-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .service-grid { grid-template-columns: repeat(4, 1fr); } }
.service { background: var(--paper); padding: 28px 24px; transition: background .2s; }
.service:hover { background: #fff; }
.service .material-symbols-outlined { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; background: var(--cream); color: var(--oak-deep); }
.service h3 { font-size: 19px; margin: 18px 0 8px; }
.service p { font-size: 15px; color: var(--ink-2); }

/* Features */
.feature-layout { display: grid; gap: 56px; align-items: center; }
@media (min-width: 1000px) { .feature-layout { grid-template-columns: 1.15fr .85fr; gap: 72px; } }
.feature-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
@media (min-width: 640px) { .feature-list { grid-template-columns: 1fr 1fr; gap: 4px 28px; } }
.feature-list li { padding: 16px 0 16px 30px; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-2); position: relative; }
.feature-list li::before { content: ""; position: absolute; left: 0; top: 21px; width: 14px; height: 14px; border-radius: 4px; background: var(--oak); transform: rotate(45deg) scale(.75); }
.feature-list b { display: block; color: var(--ink); font-size: 17px; margin-bottom: 4px; }

.phone-wrap { display: grid; justify-items: center; gap: 16px; }
.phone {
  position: relative; width: min(340px, 100%); border-radius: 44px; padding: 14px; background: #17130f;
  box-shadow: 0 40px 80px rgba(60,40,20,.28), inset 0 0 0 2px #3a332b;
}
.phone-notch { position: absolute; top: 22px; left: 50%; width: 92px; height: 24px; margin-left: -46px; background: #17130f; border-radius: 14px; z-index: 3; }
.phone-screen { background: var(--paper); border-radius: 32px; padding: 58px 20px 22px; min-height: 560px; display: flex; flex-direction: column; }
.ph-brand { font-weight: 900; font-size: 15px; letter-spacing: -0.01em; }
.ph-brand small { font-weight: 600; color: var(--ink-3); }
.ph-title { font-size: 26px; font-stretch: 85%; margin: 14px 0 22px; letter-spacing: -0.02em; }
.ph-label { font-size: 13px; font-weight: 700; color: var(--ink-2); display: block; margin-bottom: 10px; }
.ph-label output { color: var(--ink); font-size: 15px; font-weight: 900; }
input[type="range"] { width: 100%; accent-color: var(--accent); margin: 0 0 22px; height: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chips button { border: 1.5px solid var(--line); background: #fff; color: var(--ink); border-radius: 999px; padding: 8px 13px; font: 700 13px var(--f-display); cursor: pointer; min-height: 36px; }
.chips button[aria-checked="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.ph-price { background: var(--cream); border-radius: 16px; padding: 16px; margin-bottom: 16px; }
.ph-price span { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); }
.ph-price strong { font-size: 28px; font-weight: 900; font-stretch: 85%; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.ph-cta { margin-top: auto; border: 0; border-radius: 14px; background: var(--accent); color: #fff; font: 800 15px var(--f-display); min-height: 52px; cursor: pointer; }
.ph-cta:hover { background: var(--accent-hover); }
.ph-fine { font-size: 11px; color: var(--ink-3); text-align: center; margin-top: 10px; }
.lead-toast {
  position: absolute; z-index: 4; left: 24px; right: 24px; top: 54px; display: flex; gap: 12px; align-items: center;
  background: rgba(28,24,20,.94); color: #fff; padding: 12px 14px; border-radius: 18px; box-shadow: 0 16px 30px rgba(0,0,0,.3);
  transform: translateY(-16px) scale(.96); opacity: 0; transition: transform .45s cubic-bezier(.2,.9,.3,1.2), opacity .3s; pointer-events: none;
}
.lead-toast.show { transform: none; opacity: 1; }
.lead-toast .material-symbols-outlined { color: #ffb37f; }
.lead-toast b { display: block; font-size: 13px; }
.lead-toast span.lead-text { font-size: 13px; opacity: .85; }
.phone-caption { font-size: 14px; color: var(--ink-3); font-weight: 600; }

/* How it works */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: s; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(5, 1fr); } }
.step { position: relative; padding: 26px 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.step-n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--oak); color: #fff; font-weight: 900; font-size: 18px; }
.step:nth-child(2) .step-n { background: var(--accent); }
.step h3 { font-size: 19px; margin: 18px 0 8px; }
.step p { font-size: 15px; color: var(--ink-2); }

/* Pricing */
.plans { display: grid; gap: 18px; align-items: stretch; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 32px 28px; display: flex; flex-direction: column; }
.plan h3 { font-size: 24px; }
.price { margin: 14px 0 22px; color: var(--ink-2); font-weight: 600; }
.price b { font-size: 46px; font-weight: 900; font-stretch: 85%; letter-spacing: -0.03em; color: var(--ink); }
.price span { display: block; font-weight: 800; color: var(--oak-deep); font-size: 18px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; font-size: 15px; }
.plan li { padding-left: 26px; position: relative; color: var(--ink-2); }
.plan li::before { content: "check"; font-family: "Material Symbols Outlined"; position: absolute; left: 0; top: -1px; font-size: 19px; color: var(--oak-deep); }
.plan li:has(b)::before { content: ""; }
.plan li:has(b) { padding-left: 0; color: var(--ink); }
.plan .btn { margin-top: auto; }
.plan-pop { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: 0 30px 60px rgba(28,24,20,.25); }
@media (min-width: 900px) { .plan-pop { transform: translateY(-14px); } }
.plan-pop.reveal.in { transform: none; }
@media (min-width: 900px) { .plan-pop.reveal.in { transform: translateY(-14px); } }
.plan-pop .price, .plan-pop li { color: #d6ccbe; }
.plan-pop .price b, .plan-pop li:has(b) { color: #fff; }
.plan-pop .price span { color: var(--oak-light); }
.plan-pop li::before { color: var(--oak-light); }
.badge { position: absolute; top: -13px; left: 28px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }

/* Results + portfolio */
.stats { list-style: none; margin: 0 0 80px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,.1); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stats li { background: var(--dark); padding: 28px 20px; text-align: center; }
.stats b { display: block; font-size: clamp(38px, 5vw, 60px); font-weight: 900; font-stretch: 82%; letter-spacing: -0.03em; color: var(--oak-light); font-variant-numeric: tabular-nums; }
.stats span { font-size: 14px; color: #cfc4b5; }
.sub-head { font-size: clamp(24px, 3vw, 32px); margin-bottom: 28px; text-align: center; }
.builds { display: grid; gap: 28px; }
@media (min-width: 900px) { .builds { grid-template-columns: repeat(3, 1fr); } }
.browser { position: relative; border-radius: 14px; background: #3a332b; padding-bottom: 0; margin-bottom: 18px; margin-right: 26px; }
.browser-bar { display: flex; gap: 6px; padding: 10px 12px; }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.3); }
.browser-view {
  aspect-ratio: 16/10; border-radius: 0 0 14px 14px; background: var(--img) center/cover; position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 16px; gap: 8px;
}
.browser-view::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.3), rgba(0,0,0,.05) 40%, rgba(0,0,0,.55)); }
.browser-view > * { position: relative; }
.mini-nav { position: absolute !important; top: 12px; left: 16px; font-size: 11px; font-weight: 900; letter-spacing: .02em; }
.mini-h { font-size: clamp(17px, 2vw, 22px); font-weight: 900; font-stretch: 85%; line-height: 1.05; max-width: 14ch; }
.mini-btn { align-self: flex-start; background: var(--accent); font-size: 10px; font-weight: 800; padding: 6px 10px; border-radius: 999px; }
.mini-phone { position: absolute; right: -26px; bottom: -14px; width: 26%; aspect-ratio: 9/18; border-radius: 12px; border: 4px solid #17130f; background: var(--img) center/cover; box-shadow: 0 16px 30px rgba(0,0,0,.4); }
.build-tag { font-weight: 800; font-size: 16px; }
.demo-pill { display: table; margin-bottom: 10px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; border: 1px solid var(--oak-light); color: var(--oak-light); padding: 3px 8px; border-radius: 999px; }
.build-line { color: #cfc4b5; font-size: 15px; margin-top: 6px; }

/* Promise */
.promise-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .promise-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .promise-grid { grid-template-columns: repeat(4, 1fr); } }
.promise { padding: 28px 24px; border-radius: var(--radius); background: var(--cream); }
.promise .material-symbols-outlined { color: var(--accent); font-size: 32px; }
.promise h3 { font-size: 20px; margin: 16px 0 8px; }
.promise p { color: var(--ink-2); font-size: 15px; }

/* Compare table */
.table-scroll { overflow-x: auto; border-radius: 18px; border: 1px solid var(--line); background: #fff; -webkit-overflow-scrolling: touch; }
.compare { width: 100%; min-width: 680px; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare thead th { font-size: 14px; font-weight: 800; color: var(--ink-2); background: var(--paper); }
.compare tbody th { font-weight: 700; width: 24%; }
.compare td { color: var(--ink-2); }
.compare .us { background: #fff5ec; color: var(--ink); font-weight: 800; }
.compare thead .us { background: var(--accent); color: #fff; }

/* FAQ */
.faq-layout { display: grid; gap: 32px; }
@media (min-width: 1000px) { .faq-layout { grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; } .faq-layout .section-head { position: sticky; top: calc(var(--header-h) + 32px); } }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; font-weight: 800; font-size: 18px; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "add"; font-family: "Material Symbols Outlined"; font-weight: 300; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 26px; transition: transform .25s; color: var(--oak-deep); }
.faq-list details[open] summary::after { content: "remove"; }
.faq-list details p { padding: 0 44px 24px 0; color: var(--ink-2); }

/* Final CTA */
.final { position: relative; background: var(--dark) var(--img) center/cover; color: #fff; }
.final::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,15,10,.92) 0%, rgba(20,15,10,.75) 55%, rgba(20,15,10,.6)); }
.final-layout { position: relative; display: grid; gap: 40px; align-items: center; }
@media (min-width: 1000px) { .final-layout { grid-template-columns: 1fr 1fr; gap: 72px; } }
.final h2 { font-size: clamp(38px, 5.4vw, 68px); font-weight: 900; font-stretch: 82%; letter-spacing: -0.03em; }
.final .lede { color: #e5dccf; }
.talk { margin-top: 36px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.2); }
.talk p { color: #cfc4b5; font-size: 15px; }
.talk a { display: inline-flex; align-items: center; gap: 8px; font-size: clamp(22px, 2.6vw, 30px); font-weight: 900; text-decoration: none; margin: 4px 0; }
.lead-form { background: var(--paper); color: var(--ink); border-radius: 22px; padding: clamp(22px, 3vw, 36px); display: grid; grid-template-columns: 1fr 1fr; gap: 14px; box-shadow: 0 30px 70px rgba(0,0,0,.35); }
.field { grid-column: 1 / -1; display: grid; gap: 6px; }
@media (min-width: 520px) { .field.half { grid-column: span 1; } }
.field label { font-size: 14px; font-weight: 700; }
.field label span { font-weight: 500; color: var(--ink-3); }
.field input, .field select {
  width: 100%; min-height: 50px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff;
  font: 500 16px var(--f-display); color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--oak); box-shadow: 0 0 0 4px rgba(182,124,69,.2); }
.field.invalid input, .field.invalid select { border-color: #c0392b; }
.lead-form .btn-block, .form-note, .form-status { grid-column: 1 / -1; }
.form-note { text-align: center; font-size: 14px; color: var(--ink-3); }
.form-status { text-align: center; font-weight: 700; font-size: 15px; }
.form-status:empty { display: none; }
.form-status.ok { color: #2f7a43; }
.form-status.err { color: #b0331f; }

/* Footer */
.footer { background: #120f0c; color: #cfc4b5; padding: 72px 0 28px; font-size: 15px; }
.footer-top { display: grid; gap: 48px; }
@media (min-width: 1000px) { .footer-top { grid-template-columns: 1fr 2fr; } }
.logo-light { color: #fff; }
.footer-brand p { margin-top: 16px; max-width: 34ch; }
.footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
@media (min-width: 760px) { .footer-cols { grid-template-columns: repeat(4, 1fr); } }
.footer h4 { color: #fff; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.footer-cols a:not(.btn) { display: block; text-decoration: none; padding: 5px 0; }
.footer-cols a:not(.btn):hover { color: #fff; }
.footer-cols .btn { margin-top: 10px; }
.footer-bottom { margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; font-size: 14px; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: #fff; }

/* Sticky mobile CTA */
.mobile-cta {
  position: fixed; z-index: 40; left: 12px; right: 12px; bottom: 12px; display: flex; gap: 8px;
  padding: 8px; border-radius: 999px; background: rgba(28,24,20,.9); backdrop-filter: blur(10px);
  transform: translateY(140%); transition: transform .35s ease;
}
.mobile-cta.show { transform: none; }
.mobile-cta .btn:first-child { flex: 1; }
.mobile-cta .btn-ghost-light { width: 48px; padding: 0; }
@media (min-width: 900px) { .mobile-cta { display: none; } }

/* ===================== Inner pages ===================== */
.page-hero { position: relative; background: var(--dark) url('/frames/f132.webp') center/cover; color: #fff; padding: clamp(64px, 9vw, 120px) 0 clamp(56px, 7vw, 96px); }
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,15,10,.94), rgba(20,15,10,.78) 60%, rgba(20,15,10,.6)); }
.page-hero .wrap { position: relative; }
.crumbs { font-size: 14px; color: #cfc4b5; margin-bottom: 22px; }
.crumbs a { color: var(--oak-light); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.page-hero h1 { font-size: clamp(40px, 6.4vw, 84px); font-weight: 900; font-stretch: 80%; letter-spacing: -0.035em; line-height: .98; max-width: 16ch; }
.page-hero .lede { color: #e5dccf; max-width: 62ch; }
.page-hero .btn-row { margin-top: 32px; }

.jump { position: sticky; top: var(--header-h); z-index: 20; background: rgba(251,248,243,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.jump .wrap { display: flex; gap: 8px; overflow-x: auto; padding: 12px 0; scrollbar-width: none; }
.jump .wrap::-webkit-scrollbar { display: none; }
.jump a { flex: none; text-decoration: none; font-size: 14px; font-weight: 700; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; }
.jump a:hover { border-color: var(--ink); }

.detail { display: grid; gap: 28px; padding: clamp(48px, 7vw, 88px) 0; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 70px); }
.detail:first-child { border-top: 0; }
@media (min-width: 900px) { .detail { grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; } }
.detail-icon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 14px; background: var(--cream); color: var(--accent); margin-bottom: 20px; }
.detail-icon .material-symbols-outlined { font-size: 30px; }
.detail h2 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 900; font-stretch: 84%; letter-spacing: -0.03em; }
.detail .lede { margin-top: 14px; }
.detail h3 { font-size: 15px; letter-spacing: .1em; text-transform: uppercase; color: var(--oak-deep); margin: 0 0 12px; }
.detail-body { display: grid; gap: 28px; }
.detail-media { border-radius: 18px; overflow: hidden; aspect-ratio: 16/10; background: var(--cream); }
.detail-media img { width: 100%; height: 100%; object-fit: cover; }
.tag { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: var(--cream); color: var(--oak-deep); margin: 18px 6px 0 0; }
.tag.hot { background: var(--accent); color: #fff; }

.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 640px) { .checks.two { grid-template-columns: 1fr 1fr; column-gap: 24px; } }
.checks li { position: relative; padding-left: 28px; color: var(--ink-2); font-size: 16px; }
.checks li::before { content: "check_circle"; font-family: "Material Symbols Outlined"; position: absolute; left: 0; top: 0; font-size: 20px; color: var(--oak-deep); }
.checks li b { color: var(--ink); }
.section-dark .checks li { color: #d6ccbe; }
.section-dark .checks li b { color: #fff; }
.section-dark .checks li::before { color: var(--oak-light); }

.note { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 12px; padding: 18px 20px; font-size: 15px; color: var(--ink-2); }
.note b { color: var(--ink); }
.chips-list { display: flex; flex-wrap: wrap; gap: 8px; }
.chips-list span { font-size: 14px; font-weight: 600; padding: 7px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); }

.card-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .card-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .card-grid.three { grid-template-columns: repeat(3, 1fr); } .card-grid.four { grid-template-columns: repeat(4, 1fr); } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; }
.card .material-symbols-outlined { color: var(--accent); font-size: 30px; }
.card h3 { font-size: 20px; margin: 14px 0 8px; }
.card p { color: var(--ink-2); font-size: 15px; }
.section-dark .card { background: var(--dark-2); border-color: rgba(255,255,255,.08); }
.section-dark .card h3 { color: #fff; }
.section-dark .card p { color: #cfc4b5; }

.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.tl { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding-bottom: 48px; position: relative; scroll-margin-top: calc(var(--header-h) + 24px); }
.tl::before { content: ""; position: absolute; left: 27px; top: 56px; bottom: 0; width: 2px; background: var(--line); }
.tl:last-child::before { display: none; }
.tl .step-n { width: 56px; height: 56px; font-size: 22px; }
.tl-day { font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.tl h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 900; font-stretch: 85%; margin: 6px 0 10px; letter-spacing: -0.02em; }
.tl > div > p { color: var(--ink-2); max-width: 70ch; }
.split { display: grid; gap: 16px; margin-top: 20px; }
@media (min-width: 760px) { .split { grid-template-columns: 1fr 1fr; } }
.split > div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; }
.split h3 { font-size: 15px; margin-bottom: 10px; }

.faq-group { margin-top: 56px; scroll-margin-top: calc(var(--header-h) + 70px); }
.faq-group:first-child { margin-top: 0; }
.faq-group > h2 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 900; font-stretch: 86%; margin-bottom: 8px; }
.faq-list details p + p { margin-top: -12px; }

.cta-band { background: var(--ink); color: #fff; border-radius: 24px; padding: clamp(32px, 5vw, 64px); display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1.4fr auto; } }
.cta-band h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 900; font-stretch: 84%; letter-spacing: -0.03em; }
.cta-band p { color: #d6ccbe; margin-top: 10px; }

.compare.feat td, .compare.feat th { text-align: center; }
.compare.feat tbody th, .compare.feat thead th:first-child { text-align: left; }
.compare.feat .yes::before { content: "check"; font-family: "Material Symbols Outlined"; color: var(--oak-deep); font-size: 22px; }
.compare.feat .no::before { content: "—"; color: var(--ink-3); }
.compare.feat .group th { background: var(--cream); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--oak-deep); }

.nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; opacity: 1; }
.mobile-nav a[aria-current="page"] { color: var(--accent); }

/* ===================== Services page ===================== */
/* Hero */
.svc-hero { position: relative; min-height: min(92svh, 860px); display: flex; align-items: center; overflow: hidden; background: var(--dark); color: #fff; }
.svc-wall { position: absolute; top: -30%; bottom: -30%; right: -4%; width: 60%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; transform: perspective(1400px) rotateX(16deg) rotateY(-18deg) rotateZ(10deg); opacity: 0; transition: opacity 1.4s ease; }
.svc-hero.ready .svc-wall { opacity: 1; }
.svc-wall .col { display: flex; flex-direction: column; gap: 16px; animation: wallUp 46s linear infinite; }
.svc-wall .col:nth-child(2) { animation-name: wallDown; animation-duration: 54s; }
.svc-wall .col:nth-child(3) { animation-duration: 40s; }
.svc-wall img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 18px; box-shadow: 0 20px 40px rgba(0,0,0,.4); }
@keyframes wallUp { from { transform: translateY(0); } to { transform: translateY(calc(-50% - 8px)); } }
@keyframes wallDown { from { transform: translateY(calc(-50% - 8px)); } to { transform: translateY(0); } }
@media (max-width: 899px) { .svc-wall { width: 130%; right: -45%; opacity: .5; } .svc-hero.ready .svc-wall { opacity: .5; } }
.svc-hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,15,10,.97) 0%, rgba(20,15,10,.9) 38%, rgba(20,15,10,.35) 70%, rgba(20,15,10,.15)), linear-gradient(0deg, rgba(20,15,10,.7), transparent 30%); }
.svc-hero-inner { position: relative; padding: clamp(72px, 10vw, 120px) 0; transform: translateY(var(--hy, 0)); opacity: var(--ho, 1); }
.svc-hero h1 { font-size: clamp(44px, 7.4vw, 104px); font-weight: 900; font-stretch: 78%; letter-spacing: -0.04em; line-height: .95; max-width: 13ch; margin-bottom: 22px; }
.svc-hero h1 em { color: var(--oak-light); }
.svc-hero .lede { color: #e5dccf; max-width: 56ch; }
.svc-hero .btn-row { margin-top: 32px; }
.split-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split-words .w > span { display: inline-block; transform: translateY(110%); transition: transform .9s cubic-bezier(.2,.8,.2,1); transition-delay: calc(var(--i) * 70ms + 150ms); }
.svc-hero.ready .split-words .w > span { transform: none; }
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; transition-delay: .7s; }
.svc-hero.ready .fade-up { opacity: 1; transform: none; }
.svc-hero.ready .btn-row.fade-up { transition-delay: .85s; }
.float-chips { display: none; list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; pointer-events: none; }
@media (min-width: 1100px) { .float-chips { display: block; } }
.float-chips li { position: absolute; left: var(--x); top: var(--y); display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(10px); font-weight: 700; font-size: 15px; opacity: 0; transform: translateY(30px) scale(.9); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); transition-delay: calc(1s + var(--d) * .4); }
.float-chips li .material-symbols-outlined { color: var(--oak-light); font-size: 20px; }
.svc-hero.ready .float-chips li { opacity: 1; transform: none; animation: bob 6s ease-in-out infinite; animation-delay: calc(2s + var(--d)); }
@keyframes bob { 50% { transform: translateY(-12px); } }

/* Marquee */
.marquee { background: var(--dark); padding: 18px 0 22px; overflow: hidden; }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marquee 50s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee figure { margin: 0; position: relative; width: clamp(180px, 22vw, 280px); aspect-ratio: 16/10; border-radius: 14px; overflow: hidden; flex: none; }
.marquee img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.marquee figure:hover img { transform: scale(1.08); }
.marquee figcaption { position: absolute; left: 10px; bottom: 10px; font-size: 13px; font-weight: 800; color: #fff; background: rgba(20,15,10,.6); backdrop-filter: blur(6px); padding: 4px 10px; border-radius: 999px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Jump bar: active chip + progress */
.jump a { transition: background .25s, color .25s, border-color .25s; }
.jump a.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.jump-progress { position: absolute; left: 0; bottom: -1px; height: 3px; width: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

/* Service rows */
.svc { padding: clamp(72px, 10vw, 140px) 0; scroll-margin-top: calc(var(--header-h) + 50px); overflow: clip; }
.svc.alt { background: var(--cream); }
.svc-row { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .svc-row { grid-template-columns: 1fr 1.1fr; gap: 80px; } .svc.alt .svc-copy { order: 2; } }
.svc-num { font-size: clamp(64px, 8vw, 110px); font-weight: 900; font-stretch: 75%; line-height: .8; color: transparent; -webkit-text-stroke: 1.5px var(--oak); margin-bottom: 8px; }
.svc h2 { font-size: clamp(34px, 4.4vw, 58px); font-weight: 900; font-stretch: 80%; letter-spacing: -0.035em; }
.svc .lede { margin: 16px 0 26px; }
.svc .note { margin-top: 22px; }
.plan-tags { margin-top: 6px; }
.svc-copy > * { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.svc.in .svc-copy > * { opacity: 1; transform: none; }
.svc.in .svc-copy > :nth-child(2) { transition-delay: .08s; } .svc.in .svc-copy > :nth-child(3) { transition-delay: .16s; }
.svc.in .svc-copy > :nth-child(4) { transition-delay: .24s; } .svc.in .svc-copy > :nth-child(5) { transition-delay: .32s; } .svc.in .svc-copy > :nth-child(6) { transition-delay: .4s; }
.svc-visual { position: relative; perspective: 1400px; opacity: 0; transform: translateY(70px) scale(.94) rotateX(8deg); transition: opacity .9s ease .1s, transform 1.1s cubic-bezier(.2,.8,.2,1) .1s; }
.svc.in .svc-visual { opacity: 1; transform: none; }
.depth { transform: translateY(calc(var(--py, 0px) * var(--k, -0.6))); }

/* Shared mockup bits */
.mk-badge { position: absolute; left: var(--bx); top: var(--by); z-index: 4; display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--ink); padding: 10px 16px; border-radius: 999px; box-shadow: 0 14px 34px rgba(40,25,10,.22); font-size: 14px; font-weight: 600; white-space: nowrap; opacity: 0; scale: .6; transition: opacity .5s ease 1s, scale .6s cubic-bezier(.3,1.6,.5,1) 1s; }
.mk-badge b { font-size: 18px; font-weight: 900; }
.mk-badge .material-symbols-outlined { color: var(--accent); }
.svc.play .mk-badge { opacity: 1; scale: 1; }

.mk-laptop { background: #1d1813; border-radius: 16px; padding: 0 10px 10px; box-shadow: 0 40px 80px rgba(40,25,10,.35); }
.mk-bar { display: flex; align-items: center; gap: 6px; padding: 10px 4px; }
.mk-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.25); }
.mk-bar span { margin-left: 10px; flex: 1; max-width: 220px; font-size: 11px; color: #cfc4b5; background: rgba(255,255,255,.08); border-radius: 999px; padding: 3px 10px; }
.mk-screen { aspect-ratio: 16/10; overflow: hidden; border-radius: 6px; background: #fbf8f3; }
.mk-page { animation: mkscroll 9s ease-in-out infinite alternate; animation-play-state: paused; }
.svc.play .mk-page { animation-play-state: running; }
@keyframes mkscroll { 0%, 12% { transform: translateY(0); } 88%, 100% { transform: translateY(-48%); } }
.mk-hero { aspect-ratio: 16/8; background: linear-gradient(90deg, rgba(20,15,10,.75), rgba(20,15,10,.1)), var(--img) center/cover; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 8px; padding: 6%; color: #fff; }
.mk-hero b { font-size: clamp(14px, 2vw, 24px); font-weight: 900; font-stretch: 82%; line-height: 1; max-width: 12ch; }
.mk-hero span { font-size: 10px; font-weight: 800; background: var(--accent); padding: 5px 10px; border-radius: 999px; }
.mk-hero.small { aspect-ratio: 16/6; }
.mk-row { display: grid; grid-auto-flow: column; gap: 8px; padding: 12px 6%; }
.mk-row i { height: 44px; border-radius: 8px; background: var(--cream); }
.mk-gal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 0 6% 12px; }
.mk-gal img { aspect-ratio: 1; object-fit: cover; border-radius: 6px; }
.mk-gal.one { grid-template-columns: 1fr; } .mk-gal.one img { aspect-ratio: 16/11; }

.mk-phone { position: relative; width: min(270px, 72%); margin-inline: auto; aspect-ratio: 9/18.5; border: 9px solid #17130f; border-radius: 36px; background: #fbf8f3; box-shadow: 0 40px 80px rgba(40,25,10,.35); overflow: hidden; }
.mk-phone::before { content: ""; position: absolute; top: 6px; left: 50%; translate: -50% 0; width: 34%; height: 18px; border-radius: 999px; background: #17130f; z-index: 2; }
.mk-phone-screen { height: 100%; overflow: hidden; }
.mk-phone-float { position: absolute; width: 30%; right: -3%; bottom: -10%; border-width: 6px; border-radius: 24px; z-index: 3; }
.mk-phone-float::before { height: 10px; }
.mk-phone-float .mk-page { animation-duration: 7s; }
.mk-phone-float .mk-hero { aspect-ratio: 9/11; }

/* Search */
.mk-search { background: #fff; border-radius: 20px; padding: clamp(16px, 2.4vw, 26px); box-shadow: 0 40px 80px rgba(40,25,10,.18); border: 1px solid var(--line); }
.mk-search-bar { display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--line); border-radius: 999px; padding: 12px 18px; font-size: clamp(14px, 1.5vw, 17px); min-height: 52px; }
.mk-search-bar .material-symbols-outlined { color: var(--ink-3); }
.caret { width: 2px; height: 20px; background: var(--accent); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.mk-results { list-style: none; margin: 18px 0 0; padding: 0; position: relative; height: calc(5 * 66px); }
.mk-results li { position: absolute; left: 0; right: 0; top: calc(var(--r, 0) * 66px); height: 58px; padding: 8px 14px; border-radius: 12px; display: flex; flex-direction: column; justify-content: center; transition: top 1s cubic-bezier(.5,0,.2,1), background .4s, box-shadow .4s; }
.mk-results b { color: #1a0dab; font-size: 16px; font-weight: 600; letter-spacing: 0; display: flex; align-items: center; gap: 8px; }
.mk-results span { color: #0b6b3a; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mk-results li.you { background: #fff5ec; box-shadow: inset 0 0 0 1.5px var(--accent); }
.rank { font-family: var(--f-display); font-style: normal; font-size: 12px; font-weight: 900; background: var(--accent); color: #fff; padding: 2px 8px; border-radius: 999px; opacity: 0; scale: .4; transition: opacity .4s, scale .5s cubic-bezier(.3,1.6,.5,1); }
.mk-results.done .rank { opacity: 1; scale: 1; }

/* Map */
.mk-map { position: relative; aspect-ratio: 4/3.4; border-radius: 22px; overflow: hidden; box-shadow: 0 40px 80px rgba(40,25,10,.25);
  background:
    radial-gradient(circle at 78% 22%, #cfe3c3 0 12%, transparent 12.5%),
    radial-gradient(circle at 18% 70%, #cfe3c3 0 9%, transparent 9.5%),
    linear-gradient(180deg, transparent 47%, #fff 47% 51%, transparent 51%),
    linear-gradient(90deg, transparent 31%, #fff 31% 34%, transparent 34%, transparent 70%, #fff 70% 72.5%, transparent 72.5%),
    linear-gradient(28deg, transparent 58%, #f6e7b8 58% 61%, transparent 61%),
    repeating-linear-gradient(0deg, transparent 0 38px, rgba(255,255,255,.7) 38px 40px),
    repeating-linear-gradient(90deg, transparent 0 46px, rgba(255,255,255,.7) 46px 48px),
    #ebe6dc; }
.pin { position: absolute; width: 18px; height: 18px; border-radius: 50% 50% 50% 0; rotate: -45deg; background: #e5483d; box-shadow: 0 4px 8px rgba(0,0,0,.25); opacity: 0; translate: 0 -60px; }
.pin.p1 { left: 22%; top: 20%; } .pin.p2 { left: 48%; top: 30%; } .pin.p3 { left: 80%; top: 44%; }
.pin.you { left: 58%; top: 12%; width: auto; height: auto; rotate: 0deg; border-radius: 50%; background: var(--accent); color: #fff; padding: 8px; }
.pin.you::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--accent); animation: ring 1.8s ease-out infinite; }
@keyframes ring { from { opacity: .9; scale: .8; } to { opacity: 0; scale: 1.8; } }
.svc.play .pin { animation: drop .7s cubic-bezier(.3,1.5,.5,1) forwards; }
.svc.play .pin.p2 { animation-delay: .15s; } .svc.play .pin.p3 { animation-delay: .3s; } .svc.play .pin.you { animation-delay: .55s; }
@keyframes drop { to { opacity: 1; translate: 0 0; } }
.mk-place { position: absolute; left: 5%; right: 5%; bottom: 5%; display: flex; gap: 14px; align-items: center; background: #fff; border-radius: 16px; padding: 12px; box-shadow: 0 20px 40px rgba(0,0,0,.18); opacity: 0; translate: 0 40px; transition: opacity .6s ease 1.1s, translate .8s cubic-bezier(.2,.8,.2,1) 1.1s; }
.svc.play .mk-place { opacity: 1; translate: 0 0; }
.mk-place img { width: 30%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
.mk-place b { font-size: clamp(15px, 1.6vw, 19px); }
.stars-row { font-size: 13px; margin: 4px 0 10px; }
.stars-fill { color: #f5a524; letter-spacing: 1px; background: linear-gradient(90deg, #f5a524 var(--sf, 0%), #ddd var(--sf, 0%)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; transition: --sf 1s; }
.svc.play .stars-fill { animation: starfill 1.2s ease 1.6s forwards; }
@property --sf { syntax: "<percentage>"; inherits: false; initial-value: 0%; }
@keyframes starfill { to { --sf: 100%; } }
.muted { color: var(--ink-3); }
.mk-place-btns { display: flex; gap: 6px; flex-wrap: wrap; }
.mk-place-btns span { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; color: #1a73e8; border: 1px solid #dadce0; border-radius: 999px; padding: 4px 10px; }
.mk-place-btns i { font-size: 16px; font-style: normal; }

/* Lead form phone */
.mk-form { padding: 40px 18px 18px; display: flex; flex-direction: column; gap: 10px; }
.mk-form-title { font-size: 19px; font-weight: 900; font-stretch: 85%; margin-bottom: 4px; }
.mk-form label { font-size: 11px; font-weight: 700; color: var(--ink-3); display: grid; gap: 4px; }
.mk-form label .type-target { display: block; min-height: 36px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; padding: 8px 10px; font-size: 14px; font-weight: 600; color: var(--ink); transition: border-color .3s; }
.mk-form label .type-target.typing { border-color: var(--accent); }
.mk-submit { margin-top: 6px; text-align: center; background: var(--accent); color: #fff; font-weight: 800; font-size: 14px; padding: 12px; border-radius: 999px; transition: transform .2s, background .2s; }
.mk-submit.press { transform: scale(.94); background: var(--accent-hover); }
.mk-toast { position: absolute; z-index: 4; top: 8%; right: 0; display: flex; gap: 10px; align-items: center; background: #fff; border-radius: 16px; padding: 12px 16px; box-shadow: 0 20px 44px rgba(0,0,0,.22); opacity: 0; translate: 30px -10px; scale: .9; transition: opacity .5s, translate .6s cubic-bezier(.3,1.4,.5,1), scale .6s cubic-bezier(.3,1.4,.5,1); }
.mk-toast.show { opacity: 1; translate: 0 0; scale: 1; }
.mk-toast .material-symbols-outlined { color: #fff; background: var(--accent); border-radius: 10px; padding: 7px; }
.mk-toast b { display: block; font-size: 14px; }
.mk-toast div span { font-size: 13px; color: var(--ink-2); }
@media (min-width: 960px) { .mk-toast { right: -6%; } }

/* Before / after */
.ba { position: relative; aspect-ratio: 16/10; border-radius: 22px; overflow: hidden; box-shadow: 0 40px 80px rgba(40,25,10,.3); user-select: none; touch-action: pan-y; }
.ba > img, .ba-before img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; translate: -50% 0; background: #fff; pointer-events: none; }
.ba-handle .material-symbols-outlined { position: absolute; top: 50%; left: 50%; translate: -50% -50%; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--ink); box-shadow: 0 6px 20px rgba(0,0,0,.3); }
.ba-label { position: absolute; top: 14px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: rgba(20,15,10,.6); backdrop-filter: blur(6px); padding: 5px 10px; border-radius: 999px; pointer-events: none; }
.ba-label.l { left: 14px; } .ba-label.r { right: 14px; }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.ba-range:focus-visible + * { outline: none; }
.ba:has(.ba-range:focus-visible) { outline: 3px solid var(--accent); outline-offset: 4px; }

/* SMS + reviews */
.mk-sms { padding: 34px 12px 14px; display: flex; flex-direction: column; gap: 8px; background: #fff; }
.sms-head { text-align: center; font-size: 12px; font-weight: 800; padding-bottom: 8px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.bubble { max-width: 84%; font-size: 13px; line-height: 1.35; padding: 9px 12px; border-radius: 16px; opacity: 0; translate: 0 14px; transition: opacity .4s, translate .5s cubic-bezier(.2,.8,.2,1); }
.bubble.in { background: #ececec; border-bottom-left-radius: 4px; }
.bubble.link { background: #e3edff; color: #1a73e8; font-weight: 700; border-bottom-left-radius: 4px; }
.bubble.out { align-self: flex-end; background: var(--accent); color: #fff; border-bottom-right-radius: 4px; }
.svc.play .bubble { opacity: 1; translate: 0 0; }
.svc.play .bubble.link { transition-delay: .6s; } .svc.play .bubble.out { transition-delay: 1.3s; }
.big-stars { display: flex; justify-content: center; gap: 4px; margin-top: auto; padding-bottom: 10px; }
.big-stars span { font-size: 34px; color: #e2dbd0; transition: color .3s, scale .4s cubic-bezier(.3,1.8,.5,1); }
.svc.play .big-stars span { color: #f5a524; scale: 1.15; }
.svc.play .big-stars span:nth-child(1) { transition-delay: 1.9s; } .svc.play .big-stars span:nth-child(2) { transition-delay: 2.05s; } .svc.play .big-stars span:nth-child(3) { transition-delay: 2.2s; } .svc.play .big-stars span:nth-child(4) { transition-delay: 2.35s; } .svc.play .big-stars span:nth-child(5) { transition-delay: 2.5s; }
.mk-review { position: absolute; z-index: 3; width: min(220px, 46%); background: #fff; border-radius: 14px; padding: 12px 14px; box-shadow: 0 20px 44px rgba(40,25,10,.22); font-size: 13px; opacity: 0; scale: .7; transition: opacity .5s, scale .6s cubic-bezier(.3,1.5,.5,1); }
.mk-review b { color: #f5a524; letter-spacing: 1px; }
.mk-review p { color: var(--ink-2); margin-top: 4px; }
.mk-review.r1 { left: 0; top: 16%; } .mk-review.r2 { right: 0; bottom: 14%; }
.svc.play .mk-review { opacity: 1; scale: 1; }
.svc.play .mk-review.r1 { transition-delay: 2.8s; } .svc.play .mk-review.r2 { transition-delay: 3.1s; }

/* Ads */
.mk-ads { display: grid; gap: 14px; }
.mk-ad, .mk-chart { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; box-shadow: 0 24px 50px rgba(40,25,10,.14); }
.mk-ad .sp { font-size: 12px; font-weight: 800; }
.mk-ad .url { display: block; font-size: 13px; color: #0b6b3a; }
.mk-ad b { display: block; color: #1a0dab; font-size: clamp(16px, 1.7vw, 20px); font-weight: 600; letter-spacing: 0; margin: 4px 0; line-height: 1.25; }
.mk-ad p { font-size: 14px; color: var(--ink-2); }
.mk-chart-title { font-weight: 800; font-size: 15px; margin-bottom: 12px; }
.mk-chart-title small { font-weight: 600; color: var(--ink-3); font-size: 12px; margin-left: 6px; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 140px; border-bottom: 1px solid var(--line); }
.bars i { flex: 1; height: 0; border-radius: 6px 6px 0 0; background: linear-gradient(180deg, var(--accent), var(--oak)); transition: height 1s cubic-bezier(.2,.8,.2,1); }
.svc.play .bars i { height: var(--h); }
.bars i:nth-child(2) { transition-delay: .08s; } .bars i:nth-child(3) { transition-delay: .16s; } .bars i:nth-child(4) { transition-delay: .24s; } .bars i:nth-child(5) { transition-delay: .32s; } .bars i:nth-child(6) { transition-delay: .4s; } .bars i:nth-child(7) { transition-delay: .48s; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; text-align: center; }
.kpis span { font-size: 12px; color: var(--ink-3); font-weight: 600; }
.kpis b { display: block; font-size: 28px; font-weight: 900; color: var(--ink); font-stretch: 85%; }

/* Care dashboard */
.mk-dash { background: var(--ink); color: #fff; border-radius: 22px; padding: clamp(20px, 3vw, 32px); display: grid; gap: 24px; align-items: center; box-shadow: 0 40px 80px rgba(40,25,10,.35); }
@media (min-width: 560px) { .mk-dash { grid-template-columns: auto 1fr; } }
.gauge { position: relative; width: 160px; height: 160px; margin-inline: auto; display: grid; place-content: center; text-align: center; }
.gauge svg { position: absolute; inset: 0; rotate: -90deg; }
.gauge circle { fill: none; stroke: rgba(255,255,255,.1); stroke-width: 10; }
.gauge .g-val { stroke: var(--oak-light); stroke-linecap: round; stroke-dasharray: 314; stroke-dashoffset: 314; transition: stroke-dashoffset 1.8s cubic-bezier(.2,.8,.2,1) .2s; }
.svc.play .gauge .g-val { stroke-dashoffset: 4; }
.gauge b { font-size: 30px; font-weight: 900; font-stretch: 85%; line-height: 1; }
.gauge span { font-size: 12px; color: #cfc4b5; }
.mk-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.mk-checks li { display: flex; align-items: center; gap: 10px; font-size: 15px; background: rgba(255,255,255,.06); border-radius: 12px; padding: 10px 12px; opacity: 0; translate: 24px 0; transition: opacity .5s, translate .6s cubic-bezier(.2,.8,.2,1); }
.mk-checks .material-symbols-outlined { color: #7bd88f; font-size: 22px; }
.svc.play .mk-checks li { opacity: 1; translate: 0 0; }
.svc.play .mk-checks li:nth-child(2) { transition-delay: .5s; } .svc.play .mk-checks li:nth-child(3) { transition-delay: .9s; } .svc.play .mk-checks li:nth-child(4) { transition-delay: 1.3s; }

/* Cards tilt */
.tilt-grid .card { transition: transform .3s ease, box-shadow .3s ease; transform: perspective(800px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.tilt-grid .card:hover { box-shadow: 0 30px 60px rgba(0,0,0,.35); }
.tilt-grid .card.reveal:not(.in) { transform: translateY(24px); }

/* Final photo CTA */
.final-photo { position: relative; padding: clamp(96px, 14vw, 180px) 0; color: #fff; overflow: hidden; }
.final-photo::before { content: ""; position: absolute; inset: -15% 0; background: var(--img) center/cover; transform: translateY(var(--fy, 0)); }
.final-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,15,10,.9), rgba(20,15,10,.55)); }
.final-photo .wrap { position: relative; z-index: 1; }
.final-photo h2 { font-size: clamp(40px, 6vw, 80px); font-weight: 900; font-stretch: 78%; letter-spacing: -0.04em; max-width: 14ch; }
.final-photo .lede { color: #e5dccf; max-width: 52ch; }
.final-photo .btn-row { margin-top: 30px; }

@media (prefers-reduced-motion: reduce) {
  .split-words .w > span, .fade-up, .svc-copy > *, .svc-visual { transform: none !important; opacity: 1 !important; transition: none !important; }
  .marquee-track, .mk-page, .float-chips li, .svc-wall .col { animation: none !important; }
}
/* Floating layers drift at different speeds while scrolling (--py set by services.js) */
.svc-visual .mk-badge, .svc-visual .mk-toast, .svc-visual .mk-review, .svc-visual .mk-phone-float { transform: translateY(calc(var(--py, 0px) * var(--k, -0.6))); }
.svc-visual .mk-phone-float { --k: -0.35; }
.svc-visual .mk-review.r2 { --k: 0.5; }
.mk-review.r1 { left: 0; top: 56%; }
.mk-review.r2 { right: 0; top: 68%; bottom: auto; }
.svc.alt .tag:not(.hot) { background: #fff; }
@media (max-width: 959px) {
  .mk-badge { left: auto; right: 3%; top: -18px; font-size: 13px; padding: 8px 12px; }
  .mk-badge b { font-size: 16px; }
  .mk-phone-float .mk-hero span { display: none; }
}

/* ===================== Who We Serve page ===================== */
.wws-hero { position: relative; min-height: min(90svh, 840px); display: flex; align-items: flex-end; overflow: hidden; background: #120f0c; color: #fff; }
.wws-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.14); transition: opacity 1.3s ease, transform 7s linear; }
.wws-bg img.on { opacity: 1; transform: scale(1); }
.wws-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(18,15,12,.95) 0%, rgba(18,15,12,.55) 45%, rgba(18,15,12,.25)), linear-gradient(90deg, rgba(18,15,12,.75), transparent 70%); }
.wws-inner { position: relative; padding: clamp(96px, 14vw, 160px) 0 clamp(40px, 6vw, 72px); }
.wws-hero h1 { font-size: clamp(44px, 7.6vw, 112px); font-weight: 900; font-stretch: 78%; letter-spacing: -0.04em; line-height: .95; margin-bottom: 22px; }
.rot-wrap { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .1em; margin-bottom: -.1em; }
.rot { display: inline-block; font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: 0; color: var(--oak-light); transition: transform .45s cubic-bezier(.6,0,.3,1), opacity .45s; }
.rot.out { transform: translateY(-105%); opacity: 0; }
.rot.enter { transform: translateY(105%); opacity: 0; transition: none; }
.wws-hero .lede { color: #e5dccf; max-width: 60ch; }
.wws-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.wws-pill { position: relative; overflow: hidden; text-decoration: none; font-size: 14px; font-weight: 700; padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.08); backdrop-filter: blur(8px); transition: background .3s, color .3s; }
.wws-pill:hover { background: rgba(255,255,255,.2); }
.wws-pill.active { background: #fff; color: var(--ink); }
.wws-pill::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }
.wws-pill.active::after { animation: pillfill var(--dur, 3s) linear forwards; }
@keyframes pillfill { to { transform: scaleX(1); } }

/* Scroll story */
.story { padding: clamp(24px, 4vw, 48px) 0 clamp(48px, 7vw, 96px); }
.story-grid { display: grid; }
@media (min-width: 960px) { .story-grid { grid-template-columns: 1.1fr 1fr; gap: 72px; } }
.story-panel { display: none; }
@media (min-width: 960px) {
  .story-panel { display: flex; flex-direction: column; justify-content: center; gap: 22px; position: sticky; top: var(--header-h); height: calc(100vh - var(--header-h)); align-self: start; }
}
.story-browser { background: #1d1813; border-radius: 18px; padding: 0 10px 10px; box-shadow: 0 40px 90px rgba(40,25,10,.35); }
.story-screens { position: relative; aspect-ratio: 16/10.5; border-radius: 8px; overflow: hidden; background: #2a241e; }
.story-screen { position: absolute; inset: 0; background: var(--img) center/cover; color: #fff; display: flex; flex-direction: column; align-items: flex-start; padding: 4% 5% 5%; clip-path: inset(0 0 0 100%); transition: clip-path 1s cubic-bezier(.7,0,.2,1); }
.story-screen::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18,15,12,.82), rgba(18,15,12,.25)); }
.story-screen > * { position: relative; }
.story-screen.prev { clip-path: inset(0); z-index: 1; }
.story-screen.on { clip-path: inset(0); z-index: 2; }
.ss-nav { width: 100%; display: flex; align-items: center; gap: 12px; font-size: 12px; }
.ss-nav b { font-weight: 900; margin-right: auto; }
.ss-nav i { width: 34px; height: 6px; border-radius: 3px; background: rgba(255,255,255,.35); }
.ss-nav span { font-size: 10px; font-weight: 800; background: var(--accent); padding: 5px 10px; border-radius: 999px; }
.ss-h { margin-top: auto; font-size: clamp(26px, 3vw, 44px); font-weight: 900; font-stretch: 80%; letter-spacing: -0.03em; line-height: 1; max-width: 13ch; }
.ss-h em { color: var(--oak-light); }
.ss-cta { margin-top: 14px; font-size: 13px; font-weight: 800; background: var(--accent); padding: 9px 16px; border-radius: 999px; }
.ss-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.ss-chips span { font-size: 11px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(6px); }
.story-screen .ss-h, .story-screen .ss-cta, .story-screen .ss-chips { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.story-screen.on .ss-h { opacity: 1; transform: none; transition-delay: .45s; }
.story-screen.on .ss-cta { opacity: 1; transform: none; transition-delay: .6s; }
.story-screen.on .ss-chips { opacity: 1; transform: none; transition-delay: .75s; }
.story-meta { display: flex; align-items: center; gap: 18px; }
.story-count { display: flex; align-items: baseline; gap: 6px; }
.story-count b { font-size: 56px; font-weight: 900; font-stretch: 75%; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--oak); }
.story-count span { color: var(--ink-3); font-weight: 700; }
.story-meta > div { flex: 1; }
.story-name { font-weight: 800; font-size: 18px; margin-bottom: 8px; }
.story-rail { display: flex; gap: 6px; }
.story-rail i { flex: 1; height: 4px; border-radius: 2px; background: var(--line); transition: background .4s; }
.story-rail i.done { background: var(--oak); }
.story-rail i.on { background: var(--accent); }
.story-badge { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; font-size: 15px; font-weight: 600; box-shadow: 0 14px 30px rgba(40,25,10,.12); }
.story-badge .material-symbols-outlined { color: var(--accent); }
.story-search { transition: opacity .3s; }
.story-step { padding: 56px 0; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 16px); }
.story-step:first-child { border-top: 0; }
@media (min-width: 960px) {
  .story-step { min-height: 92vh; display: flex; flex-direction: column; justify-content: center; border-top: 0; opacity: .28; transition: opacity .5s ease; }
  .story-step.on { opacity: 1; }
}
.story-inline { position: relative; border-radius: 18px; overflow: hidden; margin-bottom: 26px; box-shadow: 0 24px 50px rgba(40,25,10,.2); }
.story-inline img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.story-inline span { position: absolute; left: 12px; bottom: 12px; font-size: 13px; font-weight: 800; color: #fff; background: rgba(18,15,12,.6); backdrop-filter: blur(6px); padding: 5px 12px; border-radius: 999px; }
@media (min-width: 960px) { .story-inline { display: none; } }
.step-k { font-size: 15px; font-weight: 900; color: var(--accent); letter-spacing: .08em; margin-bottom: 10px; }
.step-k span { color: var(--ink-3); }
.story-step h2 { font-size: clamp(32px, 4vw, 54px); font-weight: 900; font-stretch: 80%; letter-spacing: -0.035em; }
.story-step .lede { margin: 14px 0 26px; }
.story-step h3 { font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--oak-deep); margin: 22px 0 12px; }

/* Niche marquee */
.niche { padding: clamp(72px, 10vw, 128px) 0; overflow: hidden; }
.niche-row { overflow: hidden; padding: 6px 0; }
.niche-track { display: flex; align-items: center; gap: 28px; width: max-content; animation: marquee 38s linear infinite; }
.niche-row.rev .niche-track { animation-direction: reverse; animation-duration: 44s; }
.niche-track span { font-size: clamp(40px, 7vw, 96px); font-weight: 900; font-stretch: 78%; letter-spacing: -0.03em; white-space: nowrap; line-height: 1.1; }
.niche-row.rev .niche-track span { color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.niche-track b { color: var(--accent); font-size: clamp(24px, 3vw, 40px); }

@media (prefers-reduced-motion: reduce) {
  .niche-track, .wws-pill.active::after { animation: none !important; }
  .story-screen, .story-screen * { transition: none !important; }
}
/* Who We Serve hero: trade name + "pros." always on their own line, never wraps */
.wws-hero h1 .l1, .wws-hero h1 .l2 { display: block; }
.wws-hero h1 .l2 { white-space: nowrap; }
@media (max-width: 760px) { .wws-hero h1 { font-size: min(56px, 10.8vw); } }

/* ===================== Portfolio page ===================== */
/* Mini demo site, scales with its container */
.pf-screen { container-type: inline-size; aspect-ratio: 16/10; overflow: hidden; border-radius: 6px; background: #fbf8f3; position: relative; }
.ms { font-size: 1.5cqw; color: var(--ink); background: #fbf8f3; transition: transform 1s cubic-bezier(.5,0,.3,1); line-height: 1.35; }
.ms-nav { display: flex; align-items: center; gap: 1.2em; padding: 1.2em 2em; }
.ms-nav b { font-weight: 900; margin-right: auto; font-size: 1.15em; }
.ms-nav i { width: 3.4em; height: .5em; border-radius: .3em; background: var(--line); }
.ms-nav span, .ms-cta, .ms-foot span { background: var(--accent); color: #fff; font-weight: 800; border-radius: 999px; padding: .6em 1.2em; font-size: .85em; white-space: nowrap; }
.ms-hero { aspect-ratio: 16/7; background: linear-gradient(90deg, rgba(18,15,12,.82), rgba(18,15,12,.15)), var(--img) center/cover; color: #fff; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 1.2em; padding: 0 2.4em; }
.ms-h { font-size: 3.4em; font-weight: 900; font-stretch: 80%; letter-spacing: -0.03em; line-height: 1; max-width: 12ch; }
.ms-h em { color: var(--oak-light); }
.ms-cta { font-size: 1em; }
.ms-feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1em; padding: 1.8em 2.4em; }
.ms-feats span { display: flex; flex-direction: column; gap: .5em; background: #fff; border: 1px solid var(--line); border-radius: .9em; padding: 1.1em; font-weight: 700; font-size: 1em; }
.ms-feats i { color: var(--accent); font-size: 2em; font-style: normal; line-height: 1; }
.ms-sub { padding: 0 1.2em 0 2.4em; font-weight: 900; font-size: 1.5em; margin-bottom: .6em; font-stretch: 85%; }
.ms-gal { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7em; padding: 0 2.4em 1.8em; }
.ms-gal img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: .7em; }
.ms-rev { margin: 0 2.4em 1.8em; background: var(--cream); border-radius: .9em; padding: 1.2em 1.4em; display: flex; gap: 1em; align-items: center; font-size: 1.05em; }
.ms-rev b { color: #f5a524; letter-spacing: .1em; white-space: nowrap; }
.ms-foot { background: var(--ink); color: #fff; padding: 2.2em 2.4em; display: flex; justify-content: space-between; align-items: center; gap: 1em; }
.ms-foot b { font-size: 1.8em; font-weight: 900; font-stretch: 82%; }
.pf-browser { background: #1d1813; border-radius: 14px; padding: 0 8px 8px; box-shadow: 0 30px 60px rgba(40,25,10,.28); }

/* Hero with fanned cards */
.pf-hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(60% 70% at 78% 50%, rgba(194,85,31,.35), transparent 70%), linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 0 0/48px 48px, linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0/48px 48px, #120f0c; }
.pf-hero-inner { display: grid; gap: 40px; align-items: center; padding: clamp(72px, 9vw, 120px) 0 clamp(56px, 7vw, 100px); }
@media (min-width: 1000px) { .pf-hero-inner { grid-template-columns: .95fr 1.05fr; gap: 24px; } }
.pf-hero h1 { font-size: clamp(42px, 6.4vw, 92px); font-weight: 900; font-stretch: 78%; letter-spacing: -0.04em; line-height: .96; max-width: 12ch; margin-bottom: 20px; }
.pf-hero h1 em { color: var(--oak-light); }
.pf-hero .lede { color: #e5dccf; max-width: 50ch; }
.pf-hero .btn-row { margin-top: 30px; }
.pf-hero-copy > * { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.pf-hero.ready .pf-hero-copy > * { opacity: 1; transform: none; }
.pf-hero.ready .pf-hero-copy > :nth-child(3) { transition-delay: .1s; } .pf-hero.ready .pf-hero-copy > :nth-child(4) { transition-delay: .2s; } .pf-hero.ready .pf-hero-copy > :nth-child(5) { transition-delay: .3s; }
.pf-fan { position: relative; height: clamp(260px, 42vw, 520px); perspective: 1600px; }
.pf-fan-in { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateY(calc(var(--mx, 0) * 10deg)) rotateX(calc(var(--my, 0) * -8deg)); transition: transform .4s ease-out; }
.fan-card { position: absolute; left: 50%; top: 50%; width: 74%; opacity: 0; transform: translate(-50%, 10%) scale(.7); transition: transform 1.1s cubic-bezier(.2,.9,.2,1), opacity .6s ease; transition-delay: calc(var(--n) * 110ms + 200ms); }
.pf-hero.ready .fan-card { opacity: 1; }
.pf-hero.ready .fan-card:nth-child(1) { transform: translate(-50%, -50%) translateX(-34%) translateY(9%) rotate(-14deg) scale(.86); z-index: 1; }
.pf-hero.ready .fan-card:nth-child(2) { transform: translate(-50%, -50%) translateX(-17%) translateY(2%) rotate(-7deg) scale(.93); z-index: 2; }
.pf-hero.ready .fan-card:nth-child(3) { transform: translate(-50%, -50%) translateY(-3%); z-index: 5; }
.pf-hero.ready .fan-card:nth-child(4) { transform: translate(-50%, -50%) translateX(17%) translateY(2%) rotate(7deg) scale(.93); z-index: 4; }
.pf-hero.ready .fan-card:nth-child(5) { transform: translate(-50%, -50%) translateX(34%) translateY(9%) rotate(14deg) scale(.86); z-index: 3; }
.fan-card .pf-browser { box-shadow: 0 30px 70px rgba(0,0,0,.55); }
.fan-card:nth-child(3) .ms { animation: msauto 10s ease-in-out 2s infinite alternate; }

/* Stats band */
.pf-stats { background: var(--dark); padding: 0 0 clamp(48px, 6vw, 80px); }
.pf-stats .stats { margin: 0 auto; }

/* Filters + grid */
.pf-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 40px; }
.pf-filter { font: 700 14px var(--f-display); padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.pf-filter:hover { border-color: var(--ink); }
.pf-filter.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.pf-grid { display: grid; gap: 40px 28px; }
@media (min-width: 760px) { .pf-grid { grid-template-columns: 1fr 1fr; } }
.pf-card.hide { display: none; }
.pf-card.pop { animation: pfIn .55s cubic-bezier(.2,.8,.2,1); }
@keyframes pfIn { from { opacity: 0; transform: translateY(24px) scale(.97); } }
.pf-open { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; text-align: left; border-radius: 14px; transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.pf-open:hover { transform: translateY(-6px); }
.pf-open:hover .pf-browser { box-shadow: 0 40px 80px rgba(40,25,10,.35); }
.pf-card:hover .ms, .pf-open:focus-visible .ms { transform: translateY(calc(-1 * var(--scroll, 0px))); transition: transform 4.5s ease-in-out; }
.pf-card.auto .ms { animation: msauto 9s ease-in-out infinite alternate; }
@keyframes msauto { 0%, 10% { transform: translateY(0); } 90%, 100% { transform: translateY(calc(-1 * var(--scroll, 0px))); } }
.pf-info { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-top: 18px; }
.pf-info .demo-pill, .pf-m-info .demo-pill { margin: 0; color: var(--oak-deep); border-color: var(--oak); }
.pf-info h3 { font-size: 22px; }
.pf-info p { width: 100%; color: var(--ink-3); font-size: 15px; }

/* Old vs new */
.pf-vs { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1000px) { .pf-vs { grid-template-columns: .85fr 1.15fr; gap: 64px; } }
.pf-vs h2 { font-size: clamp(34px, 4.4vw, 58px); font-weight: 900; font-stretch: 80%; letter-spacing: -0.035em; }
.pf-vs h2 em { color: var(--oak-light); }
.pf-vs .lede { margin: 16px 0 24px; }
.vs { position: relative; aspect-ratio: 16/11; border-radius: 18px; overflow: hidden; box-shadow: 0 40px 90px rgba(0,0,0,.5); container-type: inline-size; user-select: none; touch-action: pan-y; }
.vs-new, .vs-old { position: absolute; inset: 0; }
.vs-new .pf-browser { height: 100%; border-radius: 0; display: flex; flex-direction: column; }
.vs-new .pf-screen { aspect-ratio: auto; flex: 1; border-radius: 4px; }
.vs-old { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.old-site { height: 100%; background: #f0ecd8 repeating-linear-gradient(45deg, rgba(0,0,0,.03) 0 4px, transparent 4px 8px); color: #000; font-family: "Times New Roman", Times, serif; font-size: 1.9cqw; overflow: hidden; }
.os-top { background: linear-gradient(#000080, #0000c8); color: #ffff00; padding: .5em 1em; display: flex; justify-content: space-between; align-items: center; }
.os-top b { font-family: Impact, "Arial Black", sans-serif; font-size: 2.2em; letter-spacing: .04em; text-shadow: 2px 2px 0 #f00; }
.os-top span { font-style: italic; font-weight: bold; }
.os-marq { background: #ffff00; color: #f00; font-weight: bold; white-space: nowrap; overflow: hidden; padding: .25em 0; }
.os-marq { animation: osm 16s linear infinite; }
.os-body { display: flex; height: 100%; }
.os-side { width: 22%; background: #000080; padding: .8em .6em; display: flex; flex-direction: column; gap: .5em; }
.os-side a { color: #00ffff; text-decoration: underline; }
.os-main { flex: 1; padding: .8em 1.2em; }
.os-h { font-family: "Comic Sans MS", "Comic Sans", cursive; color: #800000; font-size: 1.7em; text-decoration: underline; margin-bottom: .4em; }
.os-main p { font-size: 1em; line-height: 1.3; }
.os-main img { width: 36%; border: 4px ridge #999; margin: .6em 0; filter: saturate(.6) contrast(.9) blur(.4px); }
.os-small { font-size: .8em !important; color: #555; }
.os-count span { font-family: monospace; background: #000; color: #0f0; padding: 0 .3em; }

/* 7-day timeline */
.pf-time { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; position: relative; }
@media (min-width: 760px) { .pf-time { grid-template-columns: repeat(4, 1fr); padding-top: 36px; } }
.pf-time::before, .pf-time::after { content: ""; position: absolute; left: 10px; top: 0; bottom: 0; width: 3px; background: var(--line); }
.pf-time::after { background: var(--accent); transform-origin: 50% 0; transform: scaleY(0); transition: transform 1.6s cubic-bezier(.5,0,.2,1); }
@media (min-width: 760px) {
  .pf-time::before, .pf-time::after { left: 0; right: 0; top: 9px; bottom: auto; width: auto; height: 3px; }
  .pf-time::after { transform-origin: 0 50%; transform: scaleX(0); }
}
.pf-time.in::after { transform: none; }
.pf-time li { position: relative; padding-left: 40px; opacity: 0; transform: translateY(16px); transition: opacity .5s, transform .6s cubic-bezier(.2,.8,.2,1); }
@media (min-width: 760px) { .pf-time li { padding-left: 0; padding-top: 16px; } }
.pf-time li::before { content: ""; position: absolute; left: 1px; top: 4px; width: 21px; height: 21px; border-radius: 50%; background: #fff; border: 5px solid var(--accent); }
@media (min-width: 760px) { .pf-time li::before { left: 0; top: -36px; } }
.pf-time.in li { opacity: 1; transform: none; }
.pf-time.in li:nth-child(2) { transition-delay: .4s; } .pf-time.in li:nth-child(3) { transition-delay: .8s; } .pf-time.in li:nth-child(4) { transition-delay: 1.2s; }
.pf-time b { display: block; font-size: 28px; font-weight: 900; font-stretch: 82%; color: var(--accent); }
.pf-time span { color: var(--ink-2); }

/* Preview modal */
.pf-modal { width: min(1180px, 100% - 24px); max-height: calc(100dvh - 32px); border: 0; border-radius: 24px; padding: clamp(18px, 3vw, 36px); background: var(--paper); color: var(--ink); box-shadow: 0 40px 120px rgba(0,0,0,.5); overflow: auto; }
.pf-modal::backdrop { background: rgba(18,15,12,.72); backdrop-filter: blur(6px); }
.pf-modal[open] { animation: pfPop .4s cubic-bezier(.2,.9,.3,1.1); }
@keyframes pfPop { from { opacity: 0; transform: translateY(30px) scale(.96); } }
.pf-close { position: absolute; top: 12px; right: 12px; z-index: 5; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; cursor: pointer; display: grid; place-items: center; }
.pf-m-grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .pf-m-grid { grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: center; } }
.pf-m-view { position: relative; padding: 0 12% 6% 0; }
.pf-m-laptop .ms { animation: msauto 10s ease-in-out 1s infinite alternate; }
.pf-m-phone { position: absolute; right: 0; bottom: 0; width: 26%; border: 6px solid #17130f; border-radius: 22px; overflow: hidden; background: #fbf8f3; box-shadow: 0 30px 60px rgba(0,0,0,.35); }
.pf-m-phone .pf-screen { aspect-ratio: 9/18; border-radius: 0; }
.pf-m-phone .ms { font-size: 4.2cqw; animation: msauto 9s ease-in-out .5s infinite alternate; }
.pf-m-phone .ms-nav i, .pf-m-phone .ms-nav span { display: none; }
.pf-m-phone .ms-hero { aspect-ratio: 9/11; }
.pf-m-phone .ms-feats, .pf-m-phone .ms-gal { grid-template-columns: 1fr; }
.pf-m-info h2 { font-size: clamp(28px, 3vw, 40px); font-weight: 900; font-stretch: 82%; letter-spacing: -0.03em; margin: 12px 0 4px; }
.pf-m-meta { color: var(--ink-3); margin-bottom: 14px; }
.pf-m-idea { color: var(--ink-2); }
.pf-m-info h3 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--oak-deep); margin: 22px 0 10px; }
.pf-m-info .btn { margin-top: 26px; }

@media (prefers-reduced-motion: reduce) {
  .ms, .os-marq, .fan-card, .pf-time::after, .pf-time li { animation: none !important; transition: none !important; }
}
.vs .ba-label { top: auto; bottom: 14px; z-index: 3; }
@keyframes osm { from { text-indent: 2%; } to { text-indent: -160%; } }

/* ===================== Pricing page ===================== */
.pr-hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(50% 60% at 75% 40%, rgba(233,207,169,.18), transparent 70%), linear-gradient(160deg, #1c1814, #120f0c 60%); }
.pr-hero-inner { display: grid; gap: 48px; align-items: center; padding: clamp(72px, 9vw, 120px) 0 clamp(64px, 8vw, 110px); }
@media (min-width: 1000px) { .pr-hero-inner { grid-template-columns: 1.05fr .95fr; } }
.pr-hero h1 { font-size: clamp(44px, 7vw, 100px); font-weight: 900; font-stretch: 78%; letter-spacing: -0.04em; line-height: .95; max-width: 11ch; margin-bottom: 20px; }
.pr-hero h1 em { color: var(--oak-light); }
.pr-hero .lede { color: #e5dccf; max-width: 50ch; }
.pr-hero .btn-row { margin-top: 30px; }
.pr-hero-copy > * { opacity: 0; transform: translateY(26px); transition: opacity .8s, transform .8s cubic-bezier(.2,.8,.2,1); }
.pr-hero.ready .pr-hero-copy > * { opacity: 1; transform: none; }
.pr-hero.ready .pr-hero-copy > :nth-child(4) { transition-delay: .1s; } .pr-hero.ready .pr-hero-copy > :nth-child(5) { transition-delay: .2s; }

.pr-printer { position: relative; width: min(380px, 88%); margin-inline: auto; padding-top: 10px; }
.pr-slot { height: 22px; border-radius: 11px; background: #050403; box-shadow: inset 0 3px 8px rgba(0,0,0,.9), 0 1px 0 rgba(255,255,255,.12); position: relative; z-index: 2; }
.pr-paper-clip { margin: -11px 18px 0; overflow: hidden; padding-bottom: 40px; }
.receipt { position: relative; background: #fbf8f3; color: var(--ink); padding: 26px 24px 30px; font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 14px; transform: translateY(-101%); box-shadow: 0 30px 60px rgba(0,0,0,.5);
  -webkit-mask: linear-gradient(#000, #000) top/100% calc(100% - 10px) no-repeat, radial-gradient(circle at 8px 100%, transparent 7px, #000 7.5px) bottom/16px 10px repeat-x;
  mask: linear-gradient(#000, #000) top/100% calc(100% - 10px) no-repeat, radial-gradient(circle at 8px 100%, transparent 7px, #000 7.5px) bottom/16px 10px repeat-x; }
.pr-hero.ready .receipt { animation: print 2.8s steps(14, end) .5s forwards; }
@keyframes print { to { transform: translateY(0); } }
.rc-head { text-align: center; border-bottom: 2px dashed var(--line); padding-bottom: 12px; margin-bottom: 12px; }
.rc-head b { display: block; font-size: 17px; letter-spacing: .12em; }
.rc-head span { color: var(--ink-3); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.rc-line, .rc-total { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; }
.rc-line span { color: var(--ink-2); }
.rc-total { border-top: 2px dashed var(--line); margin-top: 10px; padding-top: 14px; font-size: 18px; font-weight: 800; }
.rc-total b { color: var(--accent); font-size: 26px; }
.rc-note { font-size: 12px; color: var(--ink-3); margin-top: 8px; font-family: var(--f-display); }
.rc-bar { height: 34px; margin-top: 16px; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 8px, var(--ink) 8px 11px, transparent 11px 13px); opacity: .85; }
.stamp { position: absolute; right: -6%; bottom: 6%; width: 140px; z-index: 3; opacity: 0; transform: scale(2.2) rotate(-30deg); transition: opacity .25s ease 3.4s, transform .5s cubic-bezier(.3,1.6,.5,1) 3.4s; }
.pr-hero.ready .stamp { opacity: 1; transform: scale(1) rotate(-12deg); }
.stamp text { font: 800 15px var(--f-display); letter-spacing: .14em; fill: var(--accent); }
.stamp > text:first-of-type { animation: spin 18s linear infinite; transform-origin: 100px 100px; transform-box: view-box; }
.stamp circle { fill: var(--accent); }
.stamp .stamp-c { font-size: 30px; font-weight: 900; fill: #fff; letter-spacing: 0; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 520px) { .stamp { width: 110px; right: -4%; } }

/* Toggle */
.pr-toggle { position: relative; display: flex; width: max-content; margin: -16px auto 48px; padding: 5px; border-radius: 999px; background: #fff; border: 1px solid var(--line); }
.pr-toggle button { position: relative; z-index: 1; font: 700 15px var(--f-display); padding: 10px 20px; border: 0; background: none; color: var(--ink-2); cursor: pointer; border-radius: 999px; transition: color .3s; }
.pr-toggle button.on { color: #fff; }
.pr-toggle-pill { position: absolute; top: 5px; bottom: 5px; left: var(--pl, 5px); width: var(--pw, 100px); border-radius: 999px; background: var(--ink); transition: left .4s cubic-bezier(.3,1.3,.5,1), width .4s cubic-bezier(.3,1.3,.5,1); }
.pr-for { color: var(--ink-3); font-size: 15px; margin: 6px 0 4px; }
.plan-pop .pr-for { color: #cfc4b5; }
.pr-big { font-variant-numeric: tabular-nums; }
.pr-sub { display: block; }
.pr-plans .plan { transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s; }
@media (hover: hover) { .pr-plans .plan:not(.plan-pop):hover { transform: translateY(-8px); box-shadow: 0 30px 60px rgba(40,25,10,.15); } }

/* Payback calculator */
.pr-calc { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1000px) { .pr-calc { grid-template-columns: .9fr 1.1fr; gap: 64px; } }
.pr-calc h2 { font-size: clamp(34px, 4.4vw, 58px); font-weight: 900; font-stretch: 80%; letter-spacing: -0.035em; }
.pr-calc h2 em { color: var(--oak-light); }
.pr-calc .lede { margin-top: 16px; }
.calc-card { background: var(--dark-2); border: 1px solid rgba(255,255,255,.08); border-radius: 22px; padding: clamp(22px, 3vw, 36px); }
.calc-plans { display: inline-flex; gap: 6px; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.06); margin-bottom: 24px; }
.calc-plans button { font: 700 14px var(--f-display); padding: 8px 16px; border-radius: 999px; border: 0; background: none; color: #cfc4b5; cursor: pointer; }
.calc-plans button.on { background: var(--oak-light); color: var(--ink); }
.calc-label { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; color: #d6ccbe; }
.calc-label output { font-size: 30px; font-weight: 900; color: #fff; font-stretch: 85%; }
#job { width: 100%; margin: 14px 0 26px; accent-color: var(--accent); height: 28px; }
.calc-bars { display: grid; gap: 12px; }
.calc-bars div { display: grid; grid-template-columns: 120px 1fr auto; gap: 12px; align-items: center; font-size: 14px; color: #cfc4b5; }
.calc-bars i { height: 14px; border-radius: 7px; width: var(--w, 0%); background: var(--oak); transition: width .5s cubic-bezier(.2,.8,.2,1); }
.calc-bars .cb-job { background: linear-gradient(90deg, var(--accent), #ef8a5a); }
.calc-bars b { color: #fff; font-variant-numeric: tabular-nums; min-width: 70px; text-align: right; }
.calc-result { display: flex; align-items: center; gap: 18px; margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); }
.calc-x { font-size: clamp(54px, 7vw, 84px); font-weight: 900; font-stretch: 75%; line-height: 1; color: var(--oak-light); font-variant-numeric: tabular-nums; }
.calc-result span { color: #d6ccbe; }
.calc-result span b { color: #fff; }
.calc-fine { font-size: 13px; color: #9c9184; margin-top: 12px; }
@media (max-width: 520px) { .calc-bars div { grid-template-columns: 1fr auto; } .calc-bars i { grid-column: 1 / -1; grid-row: 2; } }

/* Feature table */
.pr-table thead th { position: sticky; top: 0; }
.pr-table thead th small { display: block; font-weight: 600; font-size: 12px; opacity: .8; margin-top: 2px; }
.pr-table .yes::before { display: inline-block; transform: scale(0); transition: transform .4s cubic-bezier(.3,1.7,.5,1); }
.pr-table.in .yes::before { transform: scale(1); }
.pr-table td:nth-child(3) { background: #fff8f1; }

/* Us vs others bars */
.vsbars { display: grid; gap: 20px; }
@media (min-width: 900px) { .vsbars { grid-template-columns: 1fr 1fr; } }
.vsb { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px 24px; }
.vsb h3 { font-size: 20px; margin-bottom: 18px; }
.vsb-row { display: grid; grid-template-columns: 1fr; gap: 6px; margin-top: 16px; }
.vsb-row span { font-size: 14px; font-weight: 700; color: var(--ink-2); }
.vsb-row i { height: 18px; border-radius: 9px; background: #d9cfc0; width: 0; transition: width 1.2s cubic-bezier(.2,.8,.2,1); }
.vsb-row i.time { background: repeating-linear-gradient(-45deg, #d9cfc0 0 8px, #ebe3d7 8px 16px); }
.vsb-row.us i { background: var(--accent); }
.vsb-row.us span { color: var(--accent); }
.vsb.in .vsb-row i { width: var(--w); }
.vsb-row b { font-size: 15px; }
.vsb-row:nth-of-type(2) i { transition-delay: .2s; } .vsb-row:nth-of-type(3) i { transition-delay: .4s; }

@media (prefers-reduced-motion: reduce) {
  .receipt { transform: none !important; animation: none !important; }
  .stamp > text:first-of-type { animation: none; }
}
.pr-table .yes::before { transition-delay: var(--d, 0ms); }
.stamp { top: -7%; right: -14%; bottom: auto; }
@media (max-width: 520px) { .stamp { right: -8%; top: -6%; } }
@media (max-width: 520px) { .stamp { right: -13%; top: -10%; width: 100px; } }

/* ===================== How It Works page ===================== */
.hw-hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(45% 60% at 80% 55%, rgba(182,124,69,.28), transparent 70%), #120f0c; }
.hw-hero-inner { display: grid; gap: 48px; align-items: center; padding: clamp(72px, 9vw, 120px) 0 clamp(64px, 8vw, 110px); }
@media (min-width: 1000px) { .hw-hero-inner { grid-template-columns: .95fr 1.05fr; } }
.hw-hero h1 { font-size: clamp(44px, 6.8vw, 96px); font-weight: 900; font-stretch: 78%; letter-spacing: -0.04em; line-height: .95; max-width: 12ch; margin-bottom: 20px; }
.hw-hero h1 em { color: var(--oak-light); }
.hw-hero .lede { color: #e5dccf; max-width: 50ch; }
.hw-hero .btn-row { margin-top: 30px; }
.hw-hero-copy > * { opacity: 0; transform: translateY(26px); transition: opacity .8s, transform .8s cubic-bezier(.2,.8,.2,1); }
.hw-hero.ready .hw-hero-copy > * { opacity: 1; transform: none; }
.hw-hero.ready .hw-hero-copy > :nth-child(4) { transition-delay: .1s; } .hw-hero.ready .hw-hero-copy > :nth-child(5) { transition-delay: .2s; }

/* Calendar */
.cal { position: relative; background: #fbf8f3; color: var(--ink); border-radius: 22px; padding: clamp(16px, 2.4vw, 26px); box-shadow: 0 40px 90px rgba(0,0,0,.5); opacity: 0; transform: translateY(40px) rotate(2deg); transition: opacity .8s, transform 1s cubic-bezier(.2,.8,.2,1); }
.hw-hero.ready .cal { opacity: 1; transform: rotate(-1.5deg); }
.cal-title { display: flex; align-items: center; gap: 8px; font-weight: 900; font-size: 18px; margin-bottom: 14px; }
.cal-title .material-symbols-outlined { color: var(--accent); }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); grid-template-rows: 34px 64px 64px; column-gap: 6px; }
.cal-day { grid-row: 1 / span 3; border-radius: 12px; background: #fff; border: 1px solid var(--line); padding: 8px 6px; text-align: center; }
.cal-day b { font-size: 12px; color: var(--ink-3); }
.cal-day.launch { transition: background .4s ease 3.6s, border-color .4s ease 3.6s; }
.hw-hero.ready .cal-day.launch { background: #fff1e8; border-color: var(--accent); }
.ev { grid-row: 2; grid-column: var(--c); z-index: 1; align-self: center; margin: 0 4px; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 4px; border-radius: 10px; background: var(--ink); color: #fff; font-size: 11px; font-weight: 800; text-align: center; line-height: 1.1; opacity: 0; scale: .5; transition: opacity .3s, scale .5s cubic-bezier(.3,1.7,.5,1); }
.ev i { font-style: normal; font-size: 20px; color: var(--oak-light); }
.ev3 { grid-row: 3; grid-column: 3 / span 4; flex-direction: row; justify-content: center; gap: 8px; background: linear-gradient(90deg, var(--oak), var(--accent)); scale: 1; opacity: 1; transform-origin: 0 50%; transform: scaleX(0); transition: transform 1.6s cubic-bezier(.6,0,.2,1) 1.8s; font-size: 13px; }
.ev3 i { color: #fff; }
.ev4 { background: var(--accent); }
.ev4 i { color: #fff; }
.hw-hero.ready .ev1 { opacity: 1; scale: 1; transition-delay: .7s; }
.hw-hero.ready .ev2 { opacity: 1; scale: 1; transition-delay: 1.2s; }
.hw-hero.ready .ev3 { transform: none; }
.hw-hero.ready .ev4 { opacity: 1; scale: 1; transition-delay: 3.6s; }
@media (max-width: 560px) { .ev1, .ev2, .ev4 { font-size: 0; gap: 0; padding: 8px 0; } .ev1 i, .ev2 i, .ev4 i { font-size: 20px; } .cal-day b { font-size: 10px; } }

/* Confetti */
.confetti { position: absolute; right: 9%; top: 52%; width: 0; height: 0; pointer-events: none; z-index: 3; }
.confetti i { position: absolute; width: 8px; height: 12px; border-radius: 2px; opacity: 0; }
.confetti i:nth-child(3n) { background: var(--accent); } .confetti i:nth-child(3n+1) { background: var(--oak-light); } .confetti i:nth-child(3n+2) { background: #7bd88f; }
.confetti i:nth-child(1) { --x: -90px; --y: -110px; --r: 220deg; } .confetti i:nth-child(2) { --x: -40px; --y: -140px; --r: -160deg; } .confetti i:nth-child(3) { --x: 20px; --y: -130px; --r: 300deg; }
.confetti i:nth-child(4) { --x: 70px; --y: -100px; --r: -240deg; } .confetti i:nth-child(5) { --x: 100px; --y: -40px; --r: 180deg; } .confetti i:nth-child(6) { --x: -110px; --y: -40px; --r: -200deg; }
.confetti i:nth-child(7) { --x: -70px; --y: 30px; --r: 260deg; } .confetti i:nth-child(8) { --x: 60px; --y: 40px; --r: -280deg; } .confetti i:nth-child(9) { --x: 0px; --y: -170px; --r: 120deg; }
.confetti i:nth-child(10) { --x: -130px; --y: -90px; --r: -90deg; } .confetti i:nth-child(11) { --x: 130px; --y: -80px; --r: 90deg; } .confetti i:nth-child(12) { --x: 30px; --y: 60px; --r: -120deg; }
@keyframes burst { 0% { opacity: 1; transform: translate(0, 0) rotate(0); } 80% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--x), calc(var(--y) + 80px)) rotate(var(--r)); } }
.hw-hero.ready .cal .confetti i { animation: burst 1.4s cubic-bezier(.2,.7,.4,1) 3.75s forwards; }

/* Road */
.road { list-style: none; margin: 0; padding: 0; position: relative; }
.road-line { position: absolute; top: 0; bottom: 0; left: 21px; width: 4px; border-radius: 2px; background: var(--line); }
@media (min-width: 960px) { .road-line { left: 50%; translate: -50% 0; } }
.road-fill { position: absolute; inset: 0; border-radius: 2px; background: linear-gradient(var(--oak), var(--accent)); transform-origin: 50% 0; transform: scaleY(var(--p, 0)); }
.road-dot { position: absolute; left: 50%; top: calc(var(--p, 0) * 100%); width: 22px; height: 22px; translate: -50% -50%; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 6px rgba(194,85,31,.2), 0 0 24px rgba(194,85,31,.6); }
.stop { position: relative; display: grid; gap: 28px; padding: 0 0 clamp(64px, 9vw, 120px) 56px; scroll-margin-top: calc(var(--header-h) + 24px); }
.stop:last-child { padding-bottom: 0; }
@media (min-width: 960px) {
  .stop { grid-template-columns: 1fr 1fr; gap: 120px; padding-left: 0; align-items: center; }
  .stop:nth-child(odd) .stop-copy { order: 2; }
}
.stop-k { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.stop .step-n { transition: background .4s, transform .5s cubic-bezier(.3,1.7,.5,1); }
.stop.in .step-n { background: var(--accent); transform: scale(1.12); }
.when { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--oak-deep); }
.stop h2 { font-size: clamp(30px, 3.8vw, 50px); font-weight: 900; font-stretch: 80%; letter-spacing: -0.035em; margin-bottom: 12px; }
.stop-copy > p:not(.stop-k) { color: var(--ink-2); max-width: 54ch; }
.stop-copy, .stop-vis { opacity: 0; transform: translateY(40px); transition: opacity .8s, transform .9s cubic-bezier(.2,.8,.2,1); }
.stop-vis { transition-delay: .15s; }
.stop.in .stop-copy, .stop.in .stop-vis { opacity: 1; transform: none; }

/* Step visuals */
.v-call { background: var(--ink); color: #fff; border-radius: 26px; padding: 30px 24px; text-align: center; box-shadow: 0 30px 70px rgba(40,25,10,.3); max-width: 380px; margin-inline: auto; display: grid; justify-items: center; gap: 6px; }
.v-avatar { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); font-weight: 900; font-size: 24px; margin-bottom: 6px; box-shadow: 0 0 0 0 rgba(194,85,31,.6); }
.stop.in .v-avatar { animation: callpulse 1.8s ease-out infinite; }
@keyframes callpulse { to { box-shadow: 0 0 0 22px rgba(194,85,31,0); } }
.v-status { font-size: 13px; color: #7bd88f; font-weight: 700; }
.v-timer { font-size: 38px; font-weight: 900; font-variant-numeric: tabular-nums; font-stretch: 85%; }
.v-wave { display: flex; gap: 4px; align-items: center; height: 40px; margin: 6px 0 12px; }
.v-wave i { width: 5px; height: 30%; border-radius: 3px; background: var(--oak-light); }
.stop.in .v-wave i { animation: wave 1s ease-in-out infinite alternate; }
.v-wave i:nth-child(2n) { animation-delay: .2s !important; } .v-wave i:nth-child(3n) { animation-delay: .4s !important; } .v-wave i:nth-child(5n) { animation-delay: .1s !important; }
@keyframes wave { to { height: 100%; } }
.v-notes { display: grid; gap: 6px; width: 100%; }
.v-notes span { font-size: 14px; text-align: left; background: rgba(255,255,255,.07); border-radius: 10px; padding: 8px 12px; opacity: 0; translate: -16px 0; transition: opacity .4s, translate .5s; }
.stop.in .v-notes span { opacity: 1; translate: 0 0; }
.stop.in .v-notes span:nth-child(1) { transition-delay: 1s; } .stop.in .v-notes span:nth-child(2) { transition-delay: 1.6s; } .stop.in .v-notes span:nth-child(3) { transition-delay: 2.2s; }

.v-mock { position: relative; background: #1d1813; border-radius: 16px; padding: 0 8px 8px; box-shadow: 0 30px 70px rgba(40,25,10,.3); }
.v-mock-screen { aspect-ratio: 16/10; border-radius: 6px; background: linear-gradient(90deg, rgba(18,15,12,.8), rgba(18,15,12,.1)), var(--img) center/cover; color: #fff; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 12px; padding: 0 7%; }
.v-mock-screen b { font-size: clamp(22px, 2.8vw, 34px); font-weight: 900; font-stretch: 80%; line-height: 1; max-width: 12ch; }
.v-mock-screen em { color: var(--oak-light); }
.v-mock-screen span { font-size: 12px; font-weight: 800; background: var(--accent); padding: 7px 14px; border-radius: 999px; }
.pin-c { position: absolute; z-index: 2; font-size: 13px; font-weight: 700; background: #fff; color: var(--ink); padding: 8px 12px; border-radius: 12px 12px 12px 2px; box-shadow: 0 12px 30px rgba(0,0,0,.25); opacity: 0; scale: .5; transition: opacity .3s, scale .5s cubic-bezier(.3,1.7,.5,1); }
.pin-c::before { content: ""; position: absolute; left: -6px; bottom: -6px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); border: 2px solid #fff; }
.pin-c.c1 { left: 52%; top: 20%; } .pin-c.c2 { left: 30%; bottom: 14%; }
.stop.in .pin-c.c1 { opacity: 1; scale: 1; transition-delay: .9s; } .stop.in .pin-c.c2 { opacity: 1; scale: 1; transition-delay: 1.5s; }
.v-approve { position: absolute; right: -10px; top: -16px; z-index: 3; display: inline-flex; align-items: center; gap: 6px; background: #1f9d55; color: #fff; font-weight: 800; font-size: 14px; padding: 10px 16px; border-radius: 999px; box-shadow: 0 14px 30px rgba(31,157,85,.4); opacity: 0; transform: scale(1.8) rotate(-12deg); transition: opacity .2s, transform .5s cubic-bezier(.3,1.6,.5,1); }
.v-approve i { font-style: normal; }
.stop.in .v-approve { opacity: 1; transform: rotate(-6deg); transition-delay: 2.4s; }

.v-build { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px; box-shadow: 0 30px 70px rgba(40,25,10,.14); }
.v-build-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.v-pct { font-size: 28px; font-weight: 900; color: var(--accent); font-variant-numeric: tabular-nums; }
.v-prog { height: 10px; border-radius: 5px; background: var(--cream); overflow: hidden; margin-bottom: 18px; }
.v-prog i { display: block; height: 100%; width: var(--w, 0%); background: linear-gradient(90deg, var(--oak), var(--accent)); transition: width .3s; }
.v-build ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.v-build li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--ink-3); transition: color .3s; }
.v-build li::before { content: "radio_button_unchecked"; font-family: "Material Symbols Outlined"; font-size: 22px; color: var(--line); }
.v-build li.done { color: var(--ink); }
.v-build li.done::before { content: "check_circle"; color: #1f9d55; animation: tick .4s cubic-bezier(.3,1.7,.5,1); }
@keyframes tick { from { transform: scale(.3); } }

.v-launch { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px; box-shadow: 0 30px 70px rgba(40,25,10,.14); display: grid; gap: 14px; }
.v-domain { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 18px; }
.v-domain .material-symbols-outlined { color: var(--ink-3); }
.v-state { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 800; padding: 6px 12px; border-radius: 999px; background: #fff4dc; color: #a86a00; }
.v-state i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: blink 1s steps(1) infinite; }
.v-state em { font-style: normal; } .v-state .s-live { display: none; }
.v-launch.live .v-state { background: #e3f6ea; color: #1f9d55; }
.v-launch.live .v-state i { animation: none; }
.v-launch.live .s-build { display: none; } .v-launch.live .s-live { display: inline; }
.v-result, .v-lead { opacity: 0; translate: 0 20px; transition: opacity .5s, translate .6s cubic-bezier(.2,.8,.2,1); }
.v-launch.live .v-result { opacity: 1; translate: 0 0; transition-delay: .3s; }
.v-launch.live .v-lead { opacity: 1; translate: 0 0; transition-delay: 1.1s; }
.v-result { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.v-result .sp { font-size: 12px; color: #0b6b3a; }
.v-result b { display: block; color: #1a0dab; font-weight: 600; font-size: 17px; letter-spacing: 0; margin: 2px 0 4px; }
.v-result p { font-size: 14px; color: var(--ink-2); }
.v-lead { display: flex; gap: 12px; align-items: center; background: var(--ink); color: #fff; border-radius: 14px; padding: 12px 14px; }
.v-lead .material-symbols-outlined { background: var(--accent); border-radius: 10px; padding: 7px; }
.v-lead b { display: block; font-size: 14px; } .v-lead div span { font-size: 13px; color: #cfc4b5; }
.confetti.c2 { right: 18%; top: 10%; }
.v-launch.live .confetti.c2 i { animation: burst 1.4s cubic-bezier(.2,.7,.4,1) .1s forwards; }

.v-grow { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px; box-shadow: 0 30px 70px rgba(40,25,10,.14); }
.v-grow-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.v-grow-head small { color: var(--ink-3); font-size: 12px; }
.v-grow svg { width: 100%; height: 180px; display: block; }
.g-line { stroke-dasharray: 420; stroke-dashoffset: 420; transition: stroke-dashoffset 2s cubic-bezier(.5,0,.2,1) .2s; }
.g-area { opacity: 0; transition: opacity 1s ease 1.4s; }
.stop.in .g-line { stroke-dashoffset: 0; } .stop.in .g-area { opacity: 1; }
.v-months { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-3); margin-top: 8px; }

/* Readiness */
.hw-ready { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .hw-ready { grid-template-columns: .9fr 1.1fr; gap: 72px; } }
.hw-ready h2 { font-size: clamp(36px, 4.6vw, 60px); font-weight: 900; font-stretch: 80%; letter-spacing: -0.035em; }
.hw-ready h2 em { color: var(--oak-light); }
.hw-ready .lede { margin: 14px 0 28px; }
.ring-wrap { position: relative; width: 150px; height: 150px; }
.ring { width: 100%; height: 100%; rotate: -90deg; }
.ring circle { fill: none; stroke: rgba(255,255,255,.1); stroke-width: 10; }
.ring .ring-val { stroke: var(--oak-light); stroke-linecap: round; stroke-dasharray: 327; stroke-dashoffset: 327; transition: stroke-dashoffset .6s cubic-bezier(.2,.8,.2,1), stroke .3s; }
.ring-wrap.full .ring-val { stroke: #7bd88f; }
.ring-txt { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring-n { font-size: 34px; font-weight: 900; font-stretch: 85%; line-height: 1; }
.ring-txt span { font-size: 13px; color: #cfc4b5; }
.ready-msg { margin-top: 16px; font-weight: 700; color: #e5dccf; min-height: 1.6em; }
.ready-msg a { color: var(--oak-light); }
.ready-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ready-list label { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 16px; background: var(--dark-2); border: 1px solid rgba(255,255,255,.08); cursor: pointer; transition: border-color .3s, background .3s, transform .2s; }
.ready-list label:hover { border-color: rgba(255,255,255,.25); }
.ready-list label:active { transform: scale(.98); }
.ready-list input { position: absolute; opacity: 0; pointer-events: none; }
.ready-list .box { flex: none; width: 28px; height: 28px; border-radius: 8px; border: 2px solid rgba(255,255,255,.3); display: grid; place-items: center; transition: background .3s, border-color .3s; }
.ready-list .box::after { content: "check"; font-family: "Material Symbols Outlined"; font-size: 20px; color: var(--ink); transform: scale(0); transition: transform .35s cubic-bezier(.3,1.8,.5,1); }
.ready-list input:checked + .box { background: var(--oak-light); border-color: var(--oak-light); }
.ready-list input:checked + .box::after { transform: scale(1); }
.ready-list input:focus-visible + .box { outline: 3px solid var(--accent); outline-offset: 3px; }
.ready-list label:has(input:checked) { border-color: rgba(233,207,169,.5); background: #302820; }
.ready-list b { display: block; color: #fff; }
.ready-list small { color: #cfc4b5; font-size: 14px; }

@media (prefers-reduced-motion: reduce) {
  .stop-copy, .stop-vis, .cal, .ev, .ev3 { transition: none !important; opacity: 1 !important; transform: none !important; scale: 1 !important; }
  .confetti { display: none; }
}
.cal-day:nth-child(1) { grid-column: 1; } .cal-day:nth-child(2) { grid-column: 2; } .cal-day:nth-child(3) { grid-column: 3; } .cal-day:nth-child(4) { grid-column: 4; }
.cal-day:nth-child(5) { grid-column: 5; } .cal-day:nth-child(6) { grid-column: 6; } .cal-day:nth-child(7) { grid-column: 7; }
.v-state em { font-family: var(--f-display); letter-spacing: 0; font-weight: 800; }

/* ===================== FAQ page ===================== */
.fq-hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(60% 80% at 50% 110%, rgba(194,85,31,.35), transparent 70%), #120f0c; text-align: center; }
.fq-bubbles { position: absolute; inset: 0; pointer-events: none; }
.fq-bubbles span { position: absolute; left: var(--x); bottom: -60px; white-space: nowrap; font-size: 14px; font-weight: 700; color: rgba(255,255,255,.55); padding: 9px 16px; border-radius: 18px 18px 18px 4px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); scale: var(--s); animation: rise 23s linear infinite; animation-delay: var(--d); translate: -50% 0; }
@keyframes rise { 0% { transform: translateY(0); opacity: 0; } 10% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateY(calc(-1 * (100vh + 120px))); opacity: 0; } }
@media (max-width: 700px) { .fq-bubbles span:nth-child(even) { display: none; } }
.fq-hero-inner { position: relative; padding: clamp(80px, 11vw, 140px) 0 clamp(72px, 9vw, 120px); display: flex; flex-direction: column; align-items: center; }
.fq-hero h1 { font-size: clamp(42px, 6.6vw, 92px); font-weight: 900; font-stretch: 78%; letter-spacing: -0.04em; line-height: .96; max-width: 14ch; margin-bottom: 34px; }
.fq-hero h1 em { color: var(--oak-light); }
.fq-hero > .fq-hero-inner > * { opacity: 0; transform: translateY(24px); transition: opacity .8s, transform .8s cubic-bezier(.2,.8,.2,1); }
.fq-hero.ready > .fq-hero-inner > * { opacity: 1; transform: none; }
.fq-hero.ready .fq-search { transition-delay: .2s; } .fq-hero.ready .fq-try { transition-delay: .35s; }
.fq-search { width: min(680px, 100%); display: flex; align-items: center; gap: 12px; background: #fff; color: var(--ink); border-radius: 999px; padding: 8px 10px 8px 22px; box-shadow: 0 30px 70px rgba(0,0,0,.45), 0 0 0 0 rgba(194,85,31,.5); transition: box-shadow .3s; }
.fq-search:focus-within { box-shadow: 0 30px 70px rgba(0,0,0,.45), 0 0 0 5px rgba(194,85,31,.45); }
.fq-search .material-symbols-outlined { color: var(--accent); font-size: 28px; }
.fq-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: 600 clamp(16px, 2vw, 20px) var(--f-display); color: var(--ink); padding: 12px 0; }
.fq-search input::placeholder { color: var(--ink-3); }
.fq-count { flex: none; font-size: 13px; font-weight: 800; color: var(--ink-2); background: var(--cream); padding: 8px 12px; border-radius: 999px; }
.fq-try { margin-top: 18px; color: #cfc4b5; font-size: 14px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center; }
.fq-try button { font: 700 13px var(--f-display); color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); border-radius: 999px; padding: 6px 12px; cursor: pointer; }
.fq-try button:hover { background: rgba(255,255,255,.18); }

.fq-body { padding-top: clamp(40px, 6vw, 72px); }
.fq-layout { display: grid; gap: 32px; }
@media (min-width: 1000px) { .fq-layout { grid-template-columns: 280px 1fr; gap: 64px; align-items: start; } }
.fq-side { display: contents; }
@media (min-width: 1000px) { .fq-side { display: grid; gap: 22px; position: sticky; top: calc(var(--header-h) + 24px); } }
.fq-cats { position: sticky; top: var(--header-h); z-index: 10; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 12px 16px; margin: 0 -16px; background: rgba(251,248,243,.95); backdrop-filter: blur(10px); }
.fq-cats::-webkit-scrollbar { display: none; }
.fq-cats a { flex: none; display: flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; font-size: 14px; padding: 9px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; transition: background .25s, color .25s, border-color .25s; }
.fq-cats a .material-symbols-outlined { font-size: 20px; color: var(--accent); transition: color .25s; }
.fq-cats a b { font-size: 12px; background: var(--cream); color: var(--ink-2); padding: 1px 8px; border-radius: 999px; transition: background .25s, color .25s; }
.fq-cats a.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.fq-cats a.active .material-symbols-outlined { color: var(--oak-light); }
.fq-cats a.active b { background: rgba(255,255,255,.15); color: #fff; }
@media (min-width: 1000px) {
  .fq-cats { position: static; flex-direction: column; overflow: visible; padding: 0; margin: 0; background: none; backdrop-filter: none; }
  .fq-cats a { border-radius: 14px; padding: 12px 14px; }
  .fq-cats a b { margin-left: auto; }
}
.fq-help { display: none; }
@media (min-width: 1000px) { .fq-help { display: grid; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 18px; } }
.chat { display: grid; gap: 8px; margin-bottom: 6px; }
.bub { font-size: 14px; padding: 9px 13px; border-radius: 16px; max-width: 90%; }
.bub.them { background: var(--cream); border-bottom-left-radius: 4px; }
.bub.us { justify-self: end; background: var(--accent); color: #fff; border-bottom-right-radius: 4px; opacity: 0; translate: 0 10px; transition: opacity .4s, translate .5s; }
.bub.typing { justify-self: end; display: flex; gap: 4px; background: var(--accent); padding: 12px 14px; border-bottom-right-radius: 4px; }
.bub.typing i { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: dots 1s ease-in-out infinite; }
.bub.typing i:nth-child(2) { animation-delay: .15s; } .bub.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dots { 50% { transform: translateY(-4px); opacity: .5; } }
.chat.done .bub.typing { display: none; }
.chat.done .bub.us { opacity: 1; translate: 0 0; }

.fq-main { min-width: 0; }
.fq-group { scroll-margin-top: calc(var(--header-h) + 80px); }
@media (min-width: 1000px) { .fq-group { scroll-margin-top: calc(var(--header-h) + 24px); } }
.fq-group > h2 { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.fq-group > h2 .material-symbols-outlined { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--cream); color: var(--accent); font-size: 24px; }
.fq-group[hidden], .fq[hidden] { display: none; }
.fq summary { transition: color .2s; }
.fq summary:hover { color: var(--accent); }
.fq-a { overflow: hidden; }
.fq-a p { padding: 0 44px 24px 0; color: var(--ink-2); }
.fq[open] summary { color: var(--accent); }
.fq summary::after { transition: transform .3s ease; }
.fq[open] summary::after { content: "add"; transform: translateY(-50%) rotate(45deg); }
.fq mark { background: #ffe2b8; color: inherit; border-radius: 3px; padding: 0 2px; }
.fq.flash { animation: flash 1.2s ease; }
@keyframes flash { 0%, 100% { background: transparent; } 25% { background: #fff1e3; } }
.fq-empty { text-align: center; padding: 56px 24px; border: 2px dashed var(--line); border-radius: 22px; }
.fq-empty .material-symbols-outlined { font-size: 44px; color: var(--accent); }
.fq-empty h2 { font-size: 28px; margin: 10px 0 6px; }
.fq-empty p { color: var(--ink-2); }
.fq-empty .btn-row { justify-content: center; margin-top: 20px; }
@media (prefers-reduced-motion: reduce) { .fq-bubbles { display: none; } }
.faq-list .fq[open] summary::after { content: "add"; transform: translateY(-50%) rotate(45deg); }

/* Portfolio: featured project */
.feat { background: linear-gradient(180deg, var(--paper), var(--cream)); }
.feat-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1000px) { .feat-grid { grid-template-columns: .9fr 1.1fr; gap: 72px; } }
.feat-open { display: block; width: min(560px, 100%); margin-inline: auto; padding: 0; border: 0; background: none; cursor: zoom-in; position: relative; text-align: left; transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.feat-open:hover { transform: translateY(-6px) rotate(-.5deg); }
.feat-open .pf-browser { box-shadow: 0 50px 100px rgba(40,25,10,.35); }
.feat-screen { height: clamp(420px, 62vh, 640px); overflow: hidden; border-radius: 6px; background: #f6f1e8; }
.feat-screen img { width: 100%; height: auto; display: block; animation: featscroll var(--dur, 26s) ease-in-out infinite alternate; }
.feat-open:hover .feat-screen img, .feat-open:focus-visible .feat-screen img { animation-play-state: paused; }
@keyframes featscroll { 0%, 6% { transform: translateY(0); } 94%, 100% { transform: translateY(calc(-1 * var(--scroll, 0px))); } }
.feat-hint { position: absolute; right: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 800; color: #fff; background: rgba(18,15,12,.75); backdrop-filter: blur(6px); padding: 8px 14px; border-radius: 999px; opacity: 0; translate: 0 8px; transition: opacity .3s, translate .3s; }
.feat-open:hover .feat-hint, .feat-open:focus-visible .feat-hint { opacity: 1; translate: 0 0; }
@media (hover: none) { .feat-hint { opacity: 1; translate: 0 0; } }
.feat-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.feat-tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(194,85,31,.5); animation: callpulse 1.8s ease-out infinite; }
.feat-copy h2 { font-size: clamp(38px, 5vw, 68px); font-weight: 900; font-stretch: 80%; letter-spacing: -0.035em; line-height: 1; }
.feat-meta { color: var(--ink-3); font-weight: 600; margin: 10px 0 0; }
.feat-copy .lede { margin: 18px 0 24px; }
.feat-chips { margin: 22px 0 28px; }
.feat-modal { width: min(560px, 100% - 24px); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 18px; background: #f6f1e8; overflow: auto; box-shadow: 0 40px 120px rgba(0,0,0,.5); }
.feat-modal::backdrop { background: rgba(18,15,12,.75); backdrop-filter: blur(6px); }
.feat-modal[open] { animation: pfPop .4s cubic-bezier(.2,.9,.3,1.1); }
.feat-modal img { width: 100%; height: auto; display: block; }
.feat-modal .pf-close { position: sticky; top: 12px; float: right; margin: 12px 12px -56px 0; }
@media (prefers-reduced-motion: reduce) { .feat-screen img { animation: none; } .feat-screen { overflow: auto; } }
.feat-tag .dot { animation: dotpulse 1.8s ease-out infinite; }
@keyframes dotpulse { from { box-shadow: 0 0 0 0 rgba(194,85,31,.55); } to { box-shadow: 0 0 0 8px rgba(194,85,31,0); } }
/* Homepage hero: keep scrubbing on the GPU */
.stage { will-change: opacity, transform; }
.hero-progress span { will-change: transform; }
