/* Ivan's Pro Painting, video scroll homepage (staging).
   Layout: the "Modernist" system from the 3D demo (Archivo, square corners, rules, copy flush left).
   Color: ivanspropainting.com live theme (styles-v3.css): navy #0b1e35, deep red #9e1b1b for fills,
   white + #f2f6fb light surfaces, #d7e0ec lines, red-tint / pale blue accents on navy, gold stars. */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(/fonts/archivo-latin.woff2) format("woff2");
}
@font-face {
  font-family: "Archivo";
  font-style: italic;
  font-weight: 800 900;
  font-display: swap;
  src: url(/fonts/archivo-italic-latin.woff2) format("woff2");
}

:root {
  /* dark surfaces (navy, never near-black) */
  --ink: #0b1e35;             /* navy: page, scenes */
  --ink-2: #0f2440;           /* media backing */
  --ink-3: #163256;
  --ink-deep: #061524;        /* mobile bar */
  --foot: #071627;            /* footer */
  /* light surfaces */
  --paper: #ffffff;
  --paper-2: #f2f6fb;         /* bg-soft */
  --paper-3: #eef3fa;         /* tint / hover */
  --line: #d7e0ec;            /* rules on light */
  --text-dark: #0b1e35;       /* headings on light */
  --muted-dark: #4a5567;      /* body on light, 7.5:1 */
  /* text on navy */
  --muted-light: #b9c6d8;     /* 9.6:1 */
  --soft-light: #c3d2e6;
  --body-light: #dbe5f2;
  /* accents */
  --red: #9e1b1b;             /* action fill only, white text 8:1 */
  --red-hover: #7a1414;
  --red-active: #5e0f0f;
  --accent-dark: #e0938c;     /* red-tint: marks + accent text on navy, 6.9:1 */
  --blue-mid: #1f5fa8;        /* labels + links on light, 6.4:1 */
  --blue-pale: #8fb8e8;       /* emphasis + hover on navy */
  --gold: #d8a657;            /* review stars */
  --rule-ink: rgba(255, 255, 255, .12);
  --rule-ink-2: rgba(255, 255, 255, .22);
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --hdr: 64px;
  --pad: clamp(24px, 3.4vw, 48px);
  --mbar: 0px;
  --ov: .78;                  /* video overlay darkness (tweakable) */
  --ext-len: 150vh;           /* pinned scroll per scene (tweakable) */
  --int-len: 150vh;
  --proof-len: 200vh;
}
@media (max-width: 759px) {
  :root { --pad: 16px; --mbar: 66px; --hdr: 60px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--hdr); scroll-padding-bottom: calc(var(--mbar) + 12px); }
.est-form { scroll-margin-bottom: calc(var(--mbar) + 12px); }
html, body { margin: 0; background: var(--ink); color: var(--paper); overscroll-behavior-y: none; }
body { font-family: var(--font); font-size: 16px; line-height: 1.55; font-weight: 400; }
img, video, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--font); margin: 0; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-underline-offset: 3px; }
a:hover { color: var(--blue-pale); }
button { font: inherit; color: inherit; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--accent-dark); outline-offset: 2px; }
.light :focus-visible, .site-header :focus-visible, .menu :focus-visible, .est-form :focus-visible { outline-color: var(--red); }
::selection { background: rgba(158, 27, 27, .3); }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; justify-content: flex-start;
  min-height: 48px; padding: 0 20px; border: 2px solid transparent; border-radius: 0;
  font: 800 15px/1.1 var(--font); letter-spacing: 0; text-decoration: none; cursor: pointer;
  white-space: nowrap; transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.btn svg { flex: none; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-hover); color: #fff; }
.btn-primary:active { background: var(--red-active); }
.btn-line { border-color: var(--rule-ink-2); color: #fff; background: transparent; }
.btn-line:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .06); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: progress; }
.btn-icon { width: 44px; height: 44px; min-height: 44px; padding: 0; justify-content: center; background: transparent; border: 0; color: var(--text-dark); cursor: pointer; }
.btn-icon:hover { color: var(--blue-mid); }

.tel-link { font-weight: 700; font-size: 15px; white-space: nowrap; font-variant-numeric: tabular-nums; }
/* section labels: wide-tracked and hairline-led, like the live site's eyebrows */
.tag {
  display: inline-flex; align-items: center; gap: 12px; justify-self: start; align-self: start;
  font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-dark);
}
.tag::before { content: ""; width: 28px; height: 1px; background: currentColor; flex: none; }
.light .tag { color: var(--blue-mid); }
.kicker { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-dark); }
.kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; flex: none; }

/* ---------- always on screen ---------- */
.skip {
  position: fixed; left: 8px; top: -80px; z-index: 70; padding: 12px 16px;
  background: var(--red); color: #fff; font-weight: 800; text-decoration: none;
}
.skip:focus { top: 8px; color: #fff; }
.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 45;
  background: var(--red); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none;
}
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40; height: var(--hdr);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px;
  padding: 0 var(--pad); border-bottom: 1px solid var(--line);
  background: #fff; color: var(--text-dark);
}
.site-header .left { display: flex; align-items: center; margin-left: -10px; }
.site-header .logo img { height: 34px; width: auto; }
.site-header .right { display: flex; justify-content: flex-end; align-items: center; gap: 20px; }
.site-header .right .tel-link { text-decoration: none; color: var(--text-dark); }
.site-header .right .tel-link:hover { color: var(--blue-mid); }
.hdr-call-icon { display: none; }
@media (min-width: 760px) and (max-width: 959px) {
  .site-header .right { gap: 12px; }
  .site-header .right .tel-link { font-size: 14px; }
  .site-header .right .btn-primary { padding: 0 14px; font-size: 14px; }
  .walk-copy, .proof-copy { width: min(480px, 46vw); }
}
@media (max-width: 759px) {
  .site-header .logo img { height: 28px; }
  .site-header .right .tel-link, .site-header .right .btn-primary { display: none; }
  .hdr-call-icon { display: inline-flex; margin-right: -10px; }
}
.menu {
  position: fixed; top: var(--hdr); left: 0; z-index: 41; width: min(360px, 100vw);
  display: grid; background: #fff; color: var(--text-dark); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.menu a { padding: 18px var(--pad); font-weight: 800; font-size: 20px; text-decoration: none; border-bottom: 1px solid var(--line); }
.menu a:hover { color: var(--blue-mid); }
.menu a:last-child { border-bottom: 0; color: var(--red); }

.mobile-bar { display: none; }
@media (max-width: 759px) {
  .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 42; display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); background: var(--ink-deep); border-top: 1px solid var(--rule-ink);
  }
  .mobile-bar .btn { justify-content: center; min-height: 48px; }
}

/* ---------- scene media ---------- */
.media { position: absolute; inset: 0; overflow: hidden; background: var(--ink-2); }
.layer { position: absolute; inset: 0; opacity: 0; transition: opacity .7s cubic-bezier(.4, 0, .2, 1); }
.layer.on { opacity: 1; }
.slot, .slot video { position: absolute; inset: 0; width: 100%; height: 100%; }
.slot video { object-fit: cover; }
/* navy overlay, left + bottom only: the paint on the right of frame stays true color */
.shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(11, 30, 53, var(--ov)) 0%, rgba(11, 30, 53, calc(var(--ov) * .62)) 36%, rgba(11, 30, 53, 0) 68%),
    linear-gradient(0deg, rgba(11, 30, 53, var(--ov)) 0%, rgba(11, 30, 53, 0) 42%);
}
@media (max-width: 759px) {
  .shade {
    background:
      linear-gradient(0deg, rgba(11, 30, 53, calc(var(--ov) + .1)) 0%, rgba(11, 30, 53, calc(var(--ov) * .8)) 42%, rgba(11, 30, 53, calc(var(--ov) * .25)) 72%, rgba(11, 30, 53, calc(var(--ov) * .35)) 100%);
  }
}
/* placeholder frame: solid dark, labeled with the file name */
.ph {
  position: absolute; inset: 0; background: #12294a;
  display: grid; align-content: start; justify-items: end; text-align: right;
  padding: calc(var(--hdr) + 68px) var(--pad) 0 40%;
  color: rgba(255, 255, 255, .5);
}
.ph::after { content: ""; position: absolute; inset: 14px; border: 2px dashed rgba(255, 255, 255, .1); pointer-events: none; }
.ph-name { font-weight: 900; font-style: italic; font-size: clamp(28px, 4vw, 64px); line-height: 1; letter-spacing: -0.02em; text-transform: lowercase; color: rgba(255, 255, 255, .34); }
.ph-meta { margin-top: 10px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.ph-time { margin-top: 14px; font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.ph-bar { margin-top: 8px; width: min(320px, 36vw); height: 2px; background: rgba(255, 255, 255, .14); }
.ph-bar i { display: block; height: 100%; width: 100%; background: rgba(255, 255, 255, .55); transform-origin: 0 50%; transform: scaleX(0); }
@media (max-width: 759px) {
  .ph { justify-items: start; text-align: left; padding: calc(var(--hdr) + 108px) var(--pad) 0; }
  .ph-bar { width: 60vw; }
}
.scene-tag {
  position: absolute; z-index: 3; top: calc(var(--hdr) + 16px); right: var(--pad);
  padding: 6px 10px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  background: rgba(11, 30, 53, .8); border: 1px solid var(--rule-ink-2); color: var(--soft-light);
  pointer-events: none;
}
@media (max-width: 759px) { .scene-tag { right: auto; left: var(--pad); top: calc(var(--hdr) + 12px); font-size: 11px; } }

/* text that lands as the clip finishes */
.land > * { opacity: 0; transform: translateY(16px); transition: opacity .4s cubic-bezier(.2, .7, .2, 1), transform .4s cubic-bezier(.2, .7, .2, 1); }
.land.in > * { opacity: 1; transform: none; }
.land.in > :nth-child(2) { transition-delay: .06s; }
.land.in > :nth-child(3) { transition-delay: .12s; }
.land.in > :nth-child(4) { transition-delay: .18s; }
.land:focus-within > * { opacity: 1; transform: none; }

/* ---------- 1. hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; touch-action: pan-y; }
.hero-copy {
  position: absolute; z-index: 2; left: var(--pad); top: 50%; transform: translateY(-46%);
  width: min(620px, calc(100vw - 2 * var(--pad))); display: grid; gap: 16px;
}
.hero h1 { font-weight: 800; font-size: clamp(32px, min(4.4vw, 7vh), 62px); line-height: 1.02; }
.hero .lede { font-size: clamp(16px, 1.3vw, 19px); line-height: 1.45; color: var(--soft-light); max-width: 520px; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 4px; }
.trust-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; min-height: 28px; font-size: 13px; font-weight: 500; color: var(--soft-light); }
.hero-foot {
  position: absolute; z-index: 2; left: var(--pad); right: var(--pad); bottom: calc(var(--mbar) + 24px);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.scroll-hint { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--body-light); }
.toggle { display: inline-flex; border: 1px solid var(--rule-ink-2); background: rgba(11, 30, 53, .6); }
.toggle button {
  min-height: 44px; padding: 0 18px; border: 0; background: transparent; cursor: pointer;
  font-weight: 800; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; color: var(--soft-light);
}
.toggle button + button { border-left: 1px solid var(--rule-ink-2); }
.toggle button[aria-checked="true"] { background: #fff; color: var(--text-dark); }
.toggle button:not([aria-checked="true"]):hover { color: #fff; background: rgba(255, 255, 255, .08); }
.toggle button:focus-visible { outline-offset: -4px; outline-color: var(--red); }
.hero-play { min-height: 44px; padding: 0 16px; border: 1px solid var(--rule-ink-2); background: rgba(11, 30, 53, .6); font-weight: 800; font-size: 14px; cursor: pointer; }
@media (max-width: 759px) {
  .hero-copy { top: auto; bottom: calc(var(--mbar) + 20px); transform: none; gap: 12px; }
  .hero .lede { font-size: 15px; }
  .hero-foot { bottom: auto; top: calc(var(--hdr) + 52px); justify-content: flex-end; }
  .scroll-hint { display: none; }
  .toggle button { min-height: 40px; padding: 0 12px; font-size: 12px; }
  .cta-row .tel-link { display: none; }
}
@media (max-width: 759px) and (max-height: 640px) { .hero .lede { display: none; } }

/* badge rows (only rendered for verified badges with official files) */
.badge-row { display: flex; flex-wrap: wrap; align-items: stretch; gap: 0; border: 1px solid var(--rule-ink-2); }
.badge-row a { display: grid; place-items: center; padding: 4px 8px; }
.badge-row a + a { border-left: 1px solid var(--rule-ink-2); }
.badge-row img { height: 28px; width: auto; }
.badge-row .on-light { background: #fff; }
.badge-row--form { border-color: var(--line); margin-top: 4px; }
.badge-row--form a + a { border-left-color: var(--line); }
.badge-row--form img { height: 24px; }
.badge-row--footer img { height: 26px; }

/* ---------- 2-3. the tour (exterior walk into interior walk) ---------- */
.tour { position: relative; height: calc(100vh + var(--ext-len) + var(--int-len)); height: calc(100svh + var(--ext-len) + var(--int-len)); }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.walk-copy {
  position: absolute; z-index: 2; left: var(--pad); top: 50%; transform: translateY(-50%);
  width: min(460px, 40vw); display: grid; gap: 16px;
}
.walk-copy h2, .proof h3 { font-weight: 800; font-size: clamp(34px, 4.2vw, 64px); line-height: 1; }
.walk-copy p, .beat p { font-size: clamp(16px, 1.3vw, 19px); line-height: 1.5; color: var(--body-light); }
.dock { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding-top: 20px; border-top: 1px solid var(--rule-ink-2); }
@media (max-width: 759px) {
  .walk-copy { top: auto; bottom: calc(var(--mbar) + 24px); transform: none; width: auto; right: var(--pad); gap: 12px; }
  .walk-copy h2, .proof h3 { font-size: clamp(30px, 8.6vw, 40px); }
}

/* ---------- 4. proof beats ---------- */
.proof { position: relative; height: calc(100vh + var(--proof-len)); height: calc(100svh + var(--proof-len)); }
.proof-copy {
  position: absolute; z-index: 2; left: var(--pad); top: 50%; transform: translateY(-50%);
  width: min(480px, 40vw); display: grid; gap: 28px;
}
.beats { display: grid; }
.beat { grid-area: 1 / 1; display: grid; gap: 16px; align-content: start; opacity: 0; transform: translateY(16px); transition: opacity .25s ease-in, transform .25s ease-in; }
.beat.on { opacity: 1; transform: none; transition: opacity .4s cubic-bezier(.2, .7, .2, 1) .12s, transform .4s cubic-bezier(.2, .7, .2, 1) .12s; }
.beat-nav {
  position: fixed; right: var(--pad); top: 50%; transform: translateY(-50%); z-index: 20;
  display: flex; flex-direction: column; gap: 10px; opacity: 0; visibility: hidden; transition: opacity .4s ease, visibility .4s;
}
.beat-nav.show { opacity: 1; visibility: visible; }
.beat-nav button {
  width: 44px; height: 44px; display: grid; place-items: center; padding: 0; cursor: pointer;
  background: rgba(11, 30, 53, .55); border: 1px solid var(--rule-ink-2); color: var(--body-light); transition: background .3s, border-color .3s, color .3s;
}
.beat-nav button:hover { border-color: #fff; }
.beat-nav button[aria-current="step"] { background: var(--red); border-color: var(--red); color: #fff; }
@media (max-width: 759px) {
  .proof-copy { top: auto; bottom: calc(var(--mbar) + 24px); transform: none; width: auto; right: var(--pad); gap: 20px; }
  .beat-nav { top: calc(var(--hdr) + 52px); transform: none; flex-direction: row; gap: 6px; }
  .beat-nav button { width: 40px; height: 40px; }
}

/* ---------- light sections ---------- */
.light { position: relative; background: var(--paper); color: var(--text-dark); }
.light.soft { background: var(--paper-2); }
.light a:hover { color: var(--blue-mid); }
.light .btn-primary:hover { color: #fff; }
.sec-head { display: grid; gap: 20px; max-width: 760px; margin-bottom: 40px; }
.sec-head h2 { font-weight: 800; font-size: clamp(32px, 4vw, 56px); line-height: 1.02; }
.sec-head p { font-size: 18px; line-height: 1.5; color: var(--muted-dark); }
.grid-rule { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.grid-rule > * { background: #fff; }

/* 4b. trust strip */
.trust { padding: clamp(56px, 7vw, 104px) var(--pad); }
.trust h2 { font-weight: 900; font-style: italic; text-transform: uppercase; font-size: clamp(34px, 5vw, 76px); line-height: .92; letter-spacing: -0.03em; margin-bottom: 32px; }
.trust-strip { display: grid; grid-template-columns: 1fr auto; align-items: stretch; border: 1px solid var(--line); background: #fff; }
.cells { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 1px; background: var(--line); margin: 0; padding: 0; list-style: none; }
.cells > * { background: #fff; padding: 20px; display: grid; gap: 8px; align-content: start; }
.cells .big { font-weight: 900; font-size: clamp(20px, 2vw, 28px); line-height: 1.05; letter-spacing: -0.02em; }
.cells .small { font-size: 14px; color: var(--muted-dark); line-height: 1.4; }
.cells a { text-decoration: none; justify-items: center; text-align: center; }
.cells a img { height: 56px; width: auto; }
.trust-cta { display: grid; align-content: center; padding: 20px; border-left: 1px solid var(--line); }
@media (max-width: 899px) {
  .trust-strip { grid-template-columns: 1fr; }
  .cells { grid-auto-flow: row; grid-template-columns: 1fr 1fr; }
  .trust-cta { border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- 5. statement ---------- */
.statement { position: relative; height: 170vh; }
.statement .stage { display: grid; align-items: center; }
.knock { position: absolute; inset: 0; isolation: isolate; }
.knock .slot { position: absolute; inset: 0; }
.mask { position: absolute; inset: 0; display: grid; align-items: center; }
.stmt-text {
  position: relative; margin: 0 var(--pad); display: grid; font-weight: 900; font-style: italic; text-transform: uppercase;
  font-size: clamp(44px, 10vw, 210px); line-height: .86; letter-spacing: -0.03em; color: var(--blue-pale);
  opacity: 0; transform: translateY(6vh); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1);
}
.statement.in .stmt-text { opacity: 1; transform: none; }
/* prep footage through the letterforms, exact knockout:
   layer 1 multiplies white type on black (video inside, black outside),
   layer 2 lightens black type on navy (outside becomes navy, inside untouched) */
.mask-2 { display: none; }
.statement.has-video .mask { background: #000; mix-blend-mode: multiply; }
.statement.has-video .mask .stmt-text { color: #fff; }
.statement.has-video .mask-2 { display: grid; background: var(--ink); mix-blend-mode: lighten; }
.statement.has-video .mask-2 .stmt-text { color: #000; }
.stmt-rule { position: absolute; left: var(--pad); bottom: calc(var(--mbar) + 40px); width: 48px; height: 2px; background: var(--accent-dark); }

/* ---------- 6. services ---------- */
.services { padding: clamp(64px, 9vw, 128px) var(--pad); }
.svc-grid { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1099px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 599px) { .svc-grid { grid-template-columns: 1fr; } }
.svc { display: grid; grid-template-rows: auto 1fr; color: var(--text-dark); text-decoration: none; transition: background .2s; }
.svc:hover { background: var(--paper-2) !important; color: var(--text-dark) !important; }
.svc .ph-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.svc img { width: 100%; height: 100%; object-fit: cover; }
.svc .body { padding: 24px; display: grid; gap: 10px; align-content: start; }
.svc h3 { font-weight: 800; font-size: 22px; }
.svc p { font-size: 15px; line-height: 1.5; color: var(--muted-dark); }
.svc .more { font-weight: 700; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-mid); }
.row-end { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.row-end .links { display: flex; flex-wrap: wrap; gap: 8px 24px; font-weight: 700; font-size: 16px; }
.row-end .links span { color: var(--muted-dark); }
.row-end .act { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.row-end .act span { font-size: 14px; color: var(--muted-dark); }

/* ---------- 7. reviews ---------- */
.reviews { padding: 0 var(--pad) clamp(64px, 9vw, 128px); }
.reviews .sec-head { padding-top: clamp(48px, 6vw, 96px); }
.rating-grid { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 899px) { .rating-grid { grid-template-columns: repeat(2, 1fr); } }
.rating-grid > div { padding: 20px 24px; display: grid; gap: 4px; }
.rating-grid .n { font-weight: 900; font-size: 36px; letter-spacing: -0.02em; line-height: 1.1; }
.rating-grid .n span { color: var(--gold); }
.rating-grid .l { font-size: 14px; color: var(--muted-dark); }
.review-grid { grid-template-columns: repeat(3, 1fr); border-top: 0; }
@media (max-width: 1099px) { .review-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 699px) { .review-grid { grid-template-columns: 1fr; } }
.review-grid figure { margin: 0; padding: 28px 24px; display: grid; gap: 16px; align-content: space-between; }
.review-grid blockquote { margin: 0; display: grid; gap: 12px; }
.review-grid .stars { color: var(--gold); letter-spacing: 2px; }
.review-grid blockquote p { font-size: 16px; line-height: 1.55; color: #33404f; }
.review-grid figcaption { font-size: 14px; font-weight: 700; }
.review-grid figcaption span { font-weight: 500; color: var(--muted-dark); }
.reviews .foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; padding-top: 24px; }
.reviews .foot .act { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }

/* ---------- 8. before / after (only if the editor delivers ba-*) ---------- */
.ba { padding: 0 var(--pad) clamp(64px, 9vw, 128px); }
.ba-grid { grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); }
.ba-item { padding: 16px; display: grid; gap: 12px; }
.ba-frame { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-2); --pos: 50%; }
.ba-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-frame .after { clip-path: inset(0 0 0 var(--pos)); }
.ba-frame .handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; pointer-events: none; }
.ba-frame .handle::after { content: "\2194"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 40px; height: 40px; display: grid; place-items: center; background: #fff; color: var(--text-dark); font-weight: 800; }
.ba-frame input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba-frame:has(input:focus-visible) { outline: 2px solid var(--red); outline-offset: 2px; }
.ba-label { position: absolute; top: 12px; padding: 4px 8px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: rgba(11, 30, 53, .85); color: #fff; pointer-events: none; }
.ba-label.b { left: 12px; } .ba-label.a { right: 12px; }
.ba-item p { font-size: 14px; color: var(--muted-dark); }

/* ---------- 9. FAQ (light, like the live site) ---------- */
.faq-head { position: relative; padding: clamp(80px, 14vh, 160px) var(--pad) 32px; overflow: hidden; }
.roll-head {
  font-weight: 900; font-style: italic; text-transform: uppercase; font-size: clamp(48px, 9vw, 160px);
  line-height: .88; letter-spacing: -0.03em; will-change: transform, opacity; color: var(--text-dark);
}
.faq { padding: 0 var(--pad) clamp(64px, 9vw, 128px); }
.faq-list { max-width: 900px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0; cursor: pointer; font-weight: 800; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.25; color: var(--text-dark);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--blue-mid); }
.faq summary h3 { font: inherit; letter-spacing: -0.01em; }
.faq summary .sign { flex: none; width: 24px; font-weight: 500; font-size: 28px; line-height: 1; color: var(--red); }
.faq summary .sign::before { content: "+"; }
.faq details[open] summary .sign::before { content: "\2013"; }
.faq .ans { padding: 0 0 24px; max-width: 720px; font-size: 17px; line-height: 1.55; color: var(--muted-dark); }
.faq .after { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; padding-top: 32px; }

/* ---------- 10. close + form ---------- */
.close { position: relative; padding: clamp(72px, 10vw, 136px) var(--pad); scroll-margin-top: var(--hdr); overflow: hidden; }
.close .media { z-index: 0; }
.close .shade { background: rgba(11, 30, 53, calc(var(--ov) + .06)); }
.close-grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); gap: clamp(32px, 5vw, 80px); align-items: start; }
.close-copy { display: grid; gap: 22px; }
.close-copy h2 { font-weight: 900; font-style: italic; text-transform: uppercase; font-size: clamp(44px, 6vw, 96px); line-height: .9; letter-spacing: -0.03em; }
.close-copy > p { font-size: 18px; line-height: 1.5; color: var(--soft-light); max-width: 460px; }
.big-tel { font-weight: 900; font-size: clamp(30px, 3.4vw, 46px); letter-spacing: -0.02em; text-decoration: none; font-variant-numeric: tabular-nums; }
.trust-lines { display: grid; border-top: 1px solid var(--rule-ink-2); margin: 0; padding: 0; list-style: none; }
.trust-lines li { padding: 14px 0; border-bottom: 1px solid var(--rule-ink-2); font-size: 15px; font-weight: 700; color: var(--body-light); }
.close .scene-tag { top: 16px; }
.close .ph > * { display: none; } /* the tag already says placeholder; a label here would sit behind the copy */

.est-form { display: grid; gap: 18px; padding: clamp(20px, 3vw, 32px); background: #fff; color: var(--text-dark); border: 1px solid var(--line); border-top: 3px solid var(--red); }
.est-form h3 { font-weight: 800; font-size: 24px; }
.form-body { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 700; }
.input {
  width: 100%; min-height: 48px; padding: 10px 12px; font: 400 16px/1.3 var(--font); color: var(--text-dark);
  background: #fff; border: 1px solid #7a8ba3; border-radius: 0; caret-color: var(--red);
}
.input:hover { border-color: var(--text-dark); }
.input:focus-visible { border-color: var(--red); outline: 2px solid var(--red); outline-offset: 0; }
.input[aria-invalid="true"] { border-color: var(--red); }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--text-dark) 50%), linear-gradient(135deg, var(--text-dark) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 14px) 21px; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.err { font-size: 14px; font-weight: 700; color: var(--red); }
.form-note { font-size: 13px; color: var(--muted-dark); }
.form-fail { padding: 12px; border: 1px solid var(--red); font-size: 14px; font-weight: 700; color: var(--red); }
.form-fail a { color: var(--red); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-success { display: grid; gap: 14px; padding: 12px 0; }
.form-success::before { content: ""; width: 48px; height: 2px; background: var(--red); }
.form-success h3 { font-size: 32px; line-height: 1.05; }
.form-success p { font-size: 17px; line-height: 1.5; color: var(--muted-dark); }
.form-success a { font-weight: 700; color: var(--blue-mid); }

/* ---------- footer ---------- */
.site-footer { position: relative; background: var(--foot); color: #9aa9bd; padding: clamp(56px, 7vw, 96px) var(--pad) calc(var(--mbar) + 32px); display: grid; gap: 40px; }
.foot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 32px; }
.foot-grid > div { display: grid; gap: 10px; align-content: start; font-size: 15px; }
.foot-grid img.logo { height: 44px; width: auto; }
.foot-grid .blurb { color: #9aa9bd; max-width: 300px; line-height: 1.5; }
.foot-grid .h { font-weight: 800; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-dark); padding-bottom: 6px; border-bottom: 1px solid rgba(255, 255, 255, .10); }
.foot-grid a { text-decoration: none; color: #ccd7e5; }
.foot-grid a:hover { color: #fff; text-decoration: underline; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .10); font-size: 13px; color: #9aa9bd; }

/* ---------- staging tweak panel ---------- */
.tw-btn {
  position: fixed; left: 12px; top: calc(var(--hdr) + 12px); z-index: 50; min-height: 36px; padding: 0 12px;
  border: 1px solid var(--rule-ink-2); background: rgba(11, 30, 53, .88); color: var(--soft-light);
  font: 800 12px/1 var(--font); letter-spacing: .08em; text-transform: uppercase; cursor: pointer;
}
.tw-btn:hover { color: #fff; border-color: #fff; }
.tw-panel {
  position: fixed; left: 12px; top: calc(var(--hdr) + 56px); z-index: 51; width: min(340px, calc(100vw - 24px));
  max-height: calc(100vh - var(--hdr) - var(--mbar) - 80px); overflow: auto;
  padding: 16px; display: grid; gap: 14px; background: var(--ink); border: 1px solid var(--rule-ink-2); font-size: 13px;
}
.menu .menu-tw { display: none; padding: 18px var(--pad); border: 0; border-top: 1px solid var(--line); background: transparent; text-align: left; font-weight: 800; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-dark); cursor: pointer; }
@media (max-width: 759px) {
  .tw-btn { display: none; }
  .menu .menu-tw { display: block; }
  .tw-panel { left: 8px; right: 8px; width: auto; top: calc(var(--hdr) + 8px); max-height: calc(100vh - var(--hdr) - var(--mbar) - 24px); }
}
.tw-panel h2 { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-light); }
.tw-row { display: grid; gap: 6px; }
.tw-row label { display: flex; justify-content: space-between; font-weight: 700; }
.tw-row output { font-variant-numeric: tabular-nums; color: var(--muted-light); }
.tw-row input[type="range"] { width: 100%; accent-color: var(--accent-dark); }
.tw-row select { min-height: 36px; background: var(--ink-3); color: #fff; border: 1px solid var(--rule-ink-2); font: inherit; padding: 0 8px; }
.tw-log { margin: 0; padding: 8px; list-style: none; background: var(--ink-2); border: 1px solid var(--rule-ink); font: 12px/1.5 ui-monospace, Consolas, monospace; color: var(--soft-light); max-height: 160px; overflow: auto; }
.tw-actions { display: flex; gap: 8px; }
.tw-actions button { flex: 1; min-height: 36px; border: 1px solid var(--rule-ink-2); background: transparent; font-weight: 800; cursor: pointer; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
  .land > *, .beat, .stmt-text, .layer { transform: none !important; transition: opacity .3s linear !important; }
}
