/* =========================================================
   Wrenfield Kitchen & Bath (demo) + LaunchPoint product frame
   Restrained, editorial, dark luxury
   No web fonts, no libraries. Works offline from file://
   ========================================================= */

:root {
  --ink: #0f0e0c;
  --stone: #1a1816;
  --bone: #ece6dc;
  --bone-2: #a8a196;
  --brass: #b89a6a;
  --brass-hi: #cdb07f;
  --rule: rgba(236, 230, 220, 0.12);
  --err: #e0a08a;

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;

  --gutter: 16px;
  --max: 1320px;
  --section: clamp(96px, 14vw, 200px);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --header-h: 64px;
}
@media (min-width: 768px) { :root { --gutter: 48px; --header-h: 76px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; margin: 0; font-variant-numeric: oldstyle-nums; }
p { margin: 0; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--brass); color: var(--ink); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

.fill { color: var(--brass-hi); font-weight: 600; font-family: var(--sans); letter-spacing: 0.02em; }

/* ---------- labels ---------- */
.eyebrow, .section-num, .label, .state {
  font: 500 12px/1.4 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bone-2);
}
.label { color: var(--bone-2); margin-bottom: 28px; font-family: var(--sans); }


/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  padding-inline: var(--gutter);
  background: linear-gradient(to bottom, rgba(15, 14, 12, 0.72), rgba(15, 14, 12, 0));
  border-bottom: 1px solid transparent;
  transition: background-color 200ms var(--ease-out), border-color 200ms var(--ease-out);
}
.site-header.is-solid {
  background: rgba(15, 14, 12, 0.86);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom-color: var(--rule);
}
.wordmark { font-family: var(--serif); font-size: 19px; text-decoration: none; letter-spacing: 0.01em; color: var(--bone); }
.wordmark em { font-style: italic; color: var(--brass-hi); }
.header-cta {
  font: 500 12px/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--bone);
  text-decoration: none; padding: 12px 16px; border: 1px solid rgba(184, 154, 106, 0.6); background: transparent; cursor: pointer;
  transition: background-color 180ms var(--ease-out), color 180ms var(--ease-out), transform 120ms var(--ease-out);
}
.site-nav { display: none; gap: 32px; margin-left: auto; margin-right: 32px; }
.site-nav a { font: 500 12px/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; color: var(--bone-2); transition: color 180ms var(--ease-out); }
@media (min-width: 1024px) { .site-nav { display: flex; } }
@media (hover: hover) and (pointer: fine) { .site-nav a:hover { color: var(--bone); } }

/* ---------- CTA ---------- */
.cta {
  display: inline-flex; align-items: center; gap: 16px;
  font: 500 15px/1.35 var(--sans); letter-spacing: 0.01em;
  color: var(--bone); text-decoration: none;
  padding: 18px 26px; border: 1px solid var(--brass);
  background: transparent; cursor: pointer;
  transition: background-color 180ms var(--ease-out), color 180ms var(--ease-out), border-color 180ms var(--ease-out);
}
.cta::after { content: "→"; font-family: var(--serif); font-size: 18px; color: var(--brass-hi); transition: color 180ms var(--ease-out); }
.cta:active { background: rgba(184, 154, 106, 0.18); }
@media (hover: hover) and (pointer: fine) {
  .cta:hover, .header-cta:hover { background: var(--brass); color: var(--ink); border-color: var(--brass); }
  .cta:hover::after { color: var(--ink); }
}
.cta-band { padding-block: clamp(56px, 8vw, 96px); display: flex; justify-content: flex-start; border-top: 1px solid var(--rule); }
.cta-band .cta { max-width: 100%; }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-layer {
  position: absolute; inset: 0;
  transform: translate3d(0, 0, 0) scale(1.06); transform-origin: 50% 30%;
  will-change: transform;
}
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }

/* Portal: the finished room shows through a soft circle that follows the
   pointer (desktop) or opens with scroll and touch (phones). JS drives
   --px/--py/--pr; nothing moves without input. */
.hero-finished { clip-path: inset(0 0 0 100%); }
.hero-stick { display: contents; }
.hero-wipe-edge { display: none; }
/* CSS fallback ring: an SVG path tracing the same organic blob as the clip */
.portal-ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; opacity: 0; }
.portal-ring path { fill: none; stroke: rgba(205, 176, 127, 0.8); stroke-width: 1.2; }
.portal-hint {
  position: absolute; right: var(--gutter); top: calc(var(--header-h) + 40px); z-index: 1;
  font: 500 11px/1.4 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--bone);
  padding: 7px 11px; background: rgba(15, 14, 12, 0.5);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: opacity 200ms var(--ease-out);
}
.portal-hint .hint-touch { display: none; }
@media (pointer: coarse) { .portal-hint .hint-fine { display: none; } .portal-hint .hint-touch { display: inline; } }
.hero.is-explored .portal-hint { opacity: 0; }

/* Liquid-glass portal (WebGL). Hidden until its textures are ready; the CSS
   mask portal above stays as the fallback. */
.hero-gl { position: absolute; inset: 0; width: 100%; height: 100%; display: none; }
.hero.has-gl .hero-gl { display: block; }
.hero.has-gl .portal-ring { display: none; }
.hero { touch-action: pan-y; }
@media (hover: hover) and (pointer: fine) { .hero { cursor: crosshair; } .hero a, .hero button { cursor: pointer; } }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(15, 14, 12, 0.95) 0%, rgba(15, 14, 12, 0.6) 30%, rgba(15, 14, 12, 0) 62%),
    linear-gradient(to right, rgba(15, 14, 12, 0.62), rgba(15, 14, 12, 0.18) 48%, rgba(15, 14, 12, 0) 64%);
}
.hero-copy { padding-top: calc(var(--header-h) + 40px); padding-bottom: clamp(48px, 7vw, 88px); }
.hero h1 { font-size: clamp(2.5rem, 6vw, 5.6rem); line-height: 1.02; max-width: 15ch; margin-top: 20px; }
.hero h1 span { display: block; color: var(--bone-2); font-style: italic; }
.lede { max-width: 56ch; margin-top: 28px; font-size: clamp(17px, 1.4vw, 19px); color: rgba(236, 230, 220, 0.88); }

.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; margin-top: 40px; }
.text-link {
  font: 500 14px/1.4 var(--sans); letter-spacing: 0.02em; color: var(--bone); background: none; border: 0; padding: 4px 0; cursor: pointer;
  text-decoration: underline; text-decoration-color: rgba(184, 154, 106, 0.7); text-underline-offset: 5px; text-decoration-thickness: 1px;
  transition: text-decoration-color 180ms var(--ease-out), opacity 120ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) { .text-link:hover { text-decoration-color: var(--brass-hi); } }

/* ---------- section heads ---------- */
.section-head { padding-top: var(--section); padding-bottom: clamp(40px, 6vw, 80px); }
.section-head h2 { font-size: clamp(2.2rem, 4.6vw, 4.2rem); line-height: 1.05; margin-top: 18px; max-width: 18ch; }
.section-sub { margin-top: 24px; max-width: 60ch; color: var(--bone-2); }

/* ---------- WORK: sticky scroll scenes ---------- */
.scene { position: relative; height: 320vh; }
.scene + .scene { margin-top: 0; }
.scene-stick {
  position: sticky; top: 0; height: 100vh; height: 100svh;
  display: flex; flex-direction: column; justify-content: center; gap: 24px;
  padding-top: var(--header-h); padding-bottom: 24px;
  overflow: hidden;
}
.scene-text { display: grid; gap: 8px; }
.scene-text h3 { font-size: clamp(1.6rem, 2.8vw, 2.4rem); line-height: 1.1; }
.scene-text p:not(.section-num) { color: var(--bone-2); max-width: 52ch; font-size: 15px; }

.scrub {
  position: relative; margin: 0 auto; width: 100%;
  max-width: var(--max);
  aspect-ratio: 16 / 9;
  max-height: calc(100svh - var(--header-h) - 180px);
  background: var(--stone);
  overflow: hidden;
}
@supports not (aspect-ratio: 16 / 9) { .scrub { height: 56.25vw; } }
.scrub > img, .scrub-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scrub-after { clip-path: inset(0 0 0 100%); }
.scrub-video { opacity: 0; }
.scrub.is-video .scrub-video { opacity: 1; }
.scrub.is-video .scrub-edge { display: none; }
.scrub-edge {
  position: absolute; top: 0; bottom: 0; left: 0; width: 1px;
  background: var(--brass-hi); box-shadow: 0 0 0 0.5px rgba(15, 14, 12, 0.4);
  transform: translate3d(0, 0, 0); will-change: transform;
}

.state {
  position: absolute; top: 16px; padding: 6px 10px;
  background: rgba(15, 14, 12, 0.58); color: var(--bone);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.state-before { left: 16px; }
.state-after { right: 16px; opacity: 0; }
.scrub-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(236, 230, 220, 0.14); }
.scrub-progress i { display: block; height: 100%; background: var(--brass); transform-origin: 0 50%; transform: scaleX(0); will-change: transform; }

@media (min-width: 1024px) {
  .scene-stick { justify-content: center; }
  .scene-text { grid-template-columns: 200px 1fr 1fr; align-items: end; column-gap: 24px; }
  .scene-text .section-num { grid-row: 1; }
  .scene-text h3 { grid-column: 2; }
  .scene-text p:not(.section-num) { grid-column: 3; }
  .scrub { width: calc(100% - var(--gutter) * 2); }
}
@media (max-width: 767px) {
  .scene { height: 260vh; }
  .scrub { max-height: none; }
  .state { top: 10px; font-size: 10px; }
  .state-before { left: 10px; } .state-after { right: 10px; }
}

/* ---------- light sections ---------- */
.light { background: var(--bone); color: var(--ink); color-scheme: light; }
.light .section-num, .light .label { color: #6d665c; }
.light .fill { color: #7a5f33; }
.light :focus-visible { outline-color: #7a5f33; }
.light .cta { color: var(--ink); border-color: #7a5f33; }
.light .cta::after { color: #7a5f33; }

/* ---------- PROCESS ---------- */
.process { padding-bottom: var(--section); }
.process-grid { display: grid; gap: 64px; }
@media (min-width: 900px) { .process-grid { grid-template-columns: 5fr 7fr; gap: 96px; } }
.asks, .steps { list-style: none; margin: 0; padding: 0; counter-reset: n; }
.asks li {
  counter-increment: n; display: grid; grid-template-columns: 48px 1fr; row-gap: 4px;
  padding: 20px 0; border-top: 1px solid rgba(15, 14, 12, 0.14);
  font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.25;
}
.asks li::before { content: counter(n, decimal-leading-zero); font: 500 12px/2.4 var(--sans); letter-spacing: 0.12em; color: #7a5f33; grid-row: span 2; }
.asks small { grid-column: 2; font: 400 15px/1.5 var(--sans); color: #5d574e; }
.steps li { counter-increment: n; position: relative; padding: 0 0 32px 40px; }
.steps li::before {
  content: counter(n); position: absolute; left: 0; top: 2px;
  width: 24px; height: 24px; border: 1px solid #7a5f33; border-radius: 50%;
  font: 500 11px/22px var(--sans); text-align: center; color: #7a5f33;
}
.steps li::after { content: ""; position: absolute; left: 12px; top: 30px; bottom: 4px; width: 1px; background: rgba(15, 14, 12, 0.16); }
.steps li:last-child::after { display: none; }
.steps b { font-family: var(--serif); font-weight: 400; font-size: 1.35rem; display: block; margin-bottom: 4px; }
.steps p { color: #4a453e; max-width: 52ch; }

/* ---------- BENEFITS ---------- */
.benefits { padding-bottom: var(--section); }
.benefits-grid { display: grid; gap: 64px; }
@media (min-width: 1000px) { .benefits-grid { grid-template-columns: 8fr 4fr; gap: 96px; } }
.gets { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
@media (min-width: 700px) { .gets { grid-template-columns: 1fr 1fr; column-gap: 48px; } }
.gets li { padding: 28px 0 32px; border-top: 1px solid var(--rule); }
.gets h3 { font-size: 1.45rem; line-height: 1.2; margin-bottom: 10px; }
.gets p { color: var(--bone-2); }
.excluded { align-self: start; background: var(--stone); padding: 32px; border-left: 2px solid var(--brass); }
.excluded .label { margin-bottom: 16px; color: var(--brass); }
.excluded ul { list-style: none; margin: 0; padding: 0; }
.excluded li { padding: 14px 0; border-top: 1px solid var(--rule); color: var(--bone-2); font-size: 15px; }
.excluded li:first-child { border-top: 0; padding-top: 0; }
.excluded b { color: var(--bone); font-weight: 500; display: block; }

/* ---------- FAQ ---------- */
.faq { padding-bottom: var(--section); }
.faq-wrap { display: grid; gap: 0 96px; }
@media (min-width: 1000px) { .faq-wrap { grid-template-columns: 4fr 8fr; } .faq-wrap .section-head { padding-bottom: 0; } .faq-list { padding-top: var(--section); } }
.faq-list { border-bottom: 1px solid var(--rule); }
.faq details { border-top: 1px solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 24px 48px 24px 0;
  font-family: var(--serif); font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 14px; height: 1px; background: var(--brass);
  transition: transform 200ms var(--ease-out);
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq details > div { padding: 0 0 28px; display: grid; gap: 14px; color: var(--bone-2); max-width: 64ch; }


.form { display: grid; gap: 22px; }
/* FORM (inside the LaunchPoint panel) */
@media (min-width: 560px) { .form { grid-template-columns: 1fr 1fr; column-gap: 20px; } .form fieldset, .form .field:nth-of-type(5), .form .field:last-of-type, .form .submit, .form .form-note { grid-column: 1 / -1; } }
.field { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { font: 500 13px/1.3 var(--sans); letter-spacing: 0.04em; color: var(--ink); padding: 0; }
.field label small, .field legend small { color: #6d665c; font-weight: 400; letter-spacing: 0; margin-left: 6px; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="url"] {
  width: 100%; font: 400 17px/1.4 var(--sans); color: var(--ink);
  padding: 14px 14px; background: #f6f2ea; border: 1px solid rgba(15, 14, 12, 0.22); border-radius: 0;
  transition: border-color 160ms var(--ease-out), background-color 160ms var(--ease-out);
  -webkit-appearance: none; appearance: none;
}
.field input::placeholder { color: #9a9286; }
.field input:focus { border-color: #7a5f33; background: #fffdf8; outline: none; box-shadow: 0 0 0 1px #7a5f33; }
.field input[aria-invalid="true"] { border-color: #a4472a; }
.checks { display: flex; flex-wrap: wrap; gap: 10px; }
.checks label {
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
  padding: 12px 16px; border: 1px solid rgba(15, 14, 12, 0.22); background: #f6f2ea;
  font: 400 15px/1 var(--sans); letter-spacing: 0;
}
.checks input { width: 16px; height: 16px; accent-color: #7a5f33; margin: 0; }
.checks label:has(input:checked) { border-color: #7a5f33; background: #fffdf8; }
.err { min-height: 0; font-size: 14px; color: #a4472a; }
.err:empty { display: none; }
.submit { justify-self: start; margin-top: 8px; color: var(--ink); }
.form-note { font-size: 14px; color: #4a453e; }
.form-note:empty { display: none; }

.confirm { padding: 32px; background: #f6f2ea; border-left: 2px solid #7a5f33; }
.confirm h3 { font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.1; margin: 14px 0 18px; outline: none; }
.confirm p:not(.section-num) { color: #4a453e; max-width: 52ch; }
.confirm strong { color: var(--ink); }

/* ---------- footer ---------- */
.site-footer { padding-block: 64px; border-top: 1px solid var(--rule); }
.footer-grid { display: grid; gap: 20px; justify-items: start; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 3fr 6fr 3fr; gap: 48px; align-items: start; } .footer-link { justify-self: end; } }
.disclosure { color: var(--bone-2); font-size: 14px; max-width: 64ch; }

/* ---------- reduced motion: no scrub, no parallax ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero-layer { transform: none; }
  .hero-base, .portal-ring, .portal-hint { display: none; }
  .hero-finished { clip-path: none; }
  .scene { height: auto; }
  .scene-stick { position: relative; height: auto; padding-block: 48px; }
  .scrub { aspect-ratio: auto; max-height: none; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: none; }
  .scrub > img { position: relative; aspect-ratio: 16 / 9; height: auto; clip-path: none; }
  .scrub-video, .scrub-edge, .scrub-progress { display: none; }
  .state-after { opacity: 1; right: auto; left: calc(50% + 12px); }
}

/* ---------- small screens: header + stacked hero ---------- */
.wordmark, .header-cta { white-space: nowrap; }
@media (max-width: 767px) {
  .site-header .wordmark { font-size: 16px; }
  .header-cta { padding: 10px 12px; font-size: 11px; letter-spacing: 0.12em; }
  .hero { display: block; min-height: 0; }
  .hero-media { position: relative; height: 62svh; min-height: 360px; overflow: hidden; }
  .hero-media::after { background: linear-gradient(to top, var(--ink) 0%, rgba(15, 14, 12, 0) 45%), linear-gradient(to bottom, rgba(15, 14, 12, 0.55), rgba(15, 14, 12, 0) 30%); }
  .portal-hint { top: calc(var(--header-h) + 6px); left: var(--gutter); right: auto; font-size: 10px; }
  .hero-copy { padding-top: 8px; }
  .hero h1 { margin-top: 14px; }
}
@media (max-width: 767px) and (prefers-reduced-motion: no-preference) {
  .scrub { aspect-ratio: 4 / 5; max-height: calc(100svh - var(--header-h) - 190px); }
  .scene[data-scene="kitchen"] .scrub > img { object-position: 62% 50%; }
  .scene[data-scene="bath"] .scrub > img { object-position: 40% 50%; }
  .scene[data-scene="detail"] .scrub > img { object-position: 55% 50%; }
}

/* =========================================================
   LaunchPoint product frame
   The site body is the fictional remodeler; everything commercial
   lives in this frame and its panel.
   ========================================================= */
:root { --lp-ink: #14130f; --lp-paper: #f3eee5; --bar-h: 0px; }
.lp-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brass); flex: none; box-shadow: 0 0 0 3px rgba(184, 154, 106, 0.22); }

/* Desktop: floating badge, top-left under the header */
.lp-badge {
  position: fixed; z-index: 45; left: var(--gutter); top: calc(var(--header-h) + 12px);
  display: none; align-items: center; gap: 10px;
  font: 400 13px/1.3 var(--sans); color: var(--lp-ink); text-align: left;
  padding: 10px 16px 10px 14px; border: 0; border-radius: 999px; cursor: pointer;
  background: rgba(243, 238, 229, 0.94);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.28);
  transition: opacity 200ms var(--ease-out), transform 120ms var(--ease-out), background-color 180ms var(--ease-out);
}
.lp-badge b { font-weight: 600; }
@media (min-width: 768px) { .lp-badge { display: inline-flex; } }
@media (hover: hover) and (pointer: fine) { .lp-badge:hover { background: #fff; } }

/* Mobile: slim fixed bottom bar, the page's sticky CTA */
.lp-bar {
  position: fixed; z-index: 45; left: 0; right: 0; bottom: 0;
  display: flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  font: 400 14px/1.3 var(--sans); color: var(--lp-ink); text-align: left;
  background: var(--lp-paper); border: 0; border-top: 1px solid rgba(15, 14, 12, 0.12); cursor: pointer;
  transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out), background-color 120ms var(--ease-out);
}
.lp-bar b { font-weight: 600; }
.lp-bar-arrow { margin-left: auto; font-family: var(--serif); font-size: 18px; color: #7a5f33; }
@media (min-width: 768px) { .lp-bar { display: none; } }
@media (max-width: 767px) {
  :root { --bar-h: calc(52px + env(safe-area-inset-bottom)); }
  body { padding-bottom: var(--bar-h); }
}

/* The frame steps aside while the panel (and its form) is open */
body.panel-open .lp-badge, body.panel-open .lp-bar { opacity: 0; pointer-events: none; }
body.panel-open .lp-bar { transform: translateY(100%); }
html.panel-lock { overflow: hidden; }

/* Desktop: clear the badge */
@media (min-width: 768px) {
  .hero-copy { padding-top: calc(var(--header-h) + 96px); }
  .scene-stick { padding-top: calc(var(--header-h) + 60px); }
  .scrub { max-height: calc(100svh - var(--header-h) - 240px); }
}

/* ---------- product panel ---------- */
.lp-panel {
  color-scheme: light;
  padding: 0; border: 0; margin: 0 0 0 auto;
  width: min(560px, 100vw); max-width: 100vw; height: 100dvh; max-height: 100dvh;
  background: var(--lp-paper); color: var(--lp-ink);
  overflow: hidden; overscroll-behavior: contain;
  transition: transform 260ms var(--ease-out), opacity 260ms var(--ease-out), overlay 260ms allow-discrete, display 260ms allow-discrete;
}
.lp-panel[open] { transform: none; opacity: 1; }
@starting-style { .lp-panel[open] { transform: translateX(32px); opacity: 0; } }
.lp-panel::backdrop { background: rgba(10, 9, 8, 0.55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.lp-sheet { height: 100%; overflow-y: auto; overscroll-behavior: contain; padding: 0 32px 48px; }
@media (max-width: 767px) { .lp-panel { width: 100vw; } .lp-sheet { padding: 0 20px calc(40px + env(safe-area-inset-bottom)); } }

.lp-head {
  position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between;
  margin: 0 -32px; padding: 18px 32px; background: rgba(243, 238, 229, 0.94);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(15, 14, 12, 0.08);
}
@media (max-width: 767px) { .lp-head { margin: 0 -20px; padding: 14px 20px; } }
.lp-brand { display: inline-flex; align-items: center; gap: 10px; font: 600 12px/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; }
.lp-close {
  width: 40px; height: 40px; border: 1px solid rgba(15, 14, 12, 0.18); border-radius: 50%; background: transparent;
  font: 300 24px/1 var(--sans); color: var(--lp-ink); cursor: pointer; transition: transform 120ms var(--ease-out), background-color 180ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) { .lp-close:hover { background: rgba(15, 14, 12, 0.06); } }
.lp-from-cta { margin-top: 24px; padding: 12px 14px; background: rgba(184, 154, 106, 0.16); border-left: 2px solid #7a5f33; font-size: 14px; color: #3d3831; }
.lp-panel h2 { font-size: clamp(2rem, 4vw, 2.6rem); line-height: 1.08; margin: 28px 0 8px; }
.lp-block { padding: 22px 0; border-top: 1px solid rgba(15, 14, 12, 0.1); display: grid; gap: 8px; }
.lp-block:first-of-type { border-top: 0; }
.lp-block h3 { font: 600 12px/1.4 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: #6d665c; }
.lp-block p { color: #2b2823; font-size: 16px; }
.lp-panel .fill { color: #7a5f33; }
.lp-price { font-family: var(--serif); font-size: 1.35rem !important; }
.lp-meta { font-size: 15px !important; }
.lp-reel { grid-template-columns: 148px 1fr; align-items: center; gap: 20px; }
.lp-reel video { width: 148px; height: auto; aspect-ratio: 9 / 16; object-fit: cover; background: #ddd5c8; }
.lp-claim { margin: 12px -32px 0; padding: 36px 32px 8px; background: var(--bone); border-top: 1px solid rgba(15, 14, 12, 0.1); }
@media (max-width: 767px) { .lp-claim { margin: 12px -20px 0; padding: 28px 20px 8px; } }
.lp-claim h3#claim-title { font-size: clamp(1.7rem, 3vw, 2.1rem); line-height: 1.1; margin: 12px 0 10px; outline: none; }
.claim-sub { color: #4a453e; margin-bottom: 24px; font-size: 15px; }
.lp-alt { color: var(--lp-ink); margin-top: 20px; }
.lp-contact { margin-top: 20px; font-size: 14px; color: #4a453e; }
.lp-claim .confirm { margin-top: 8px; }

/* ---------- press states (touch + mouse), hover stays fine-pointer only ---------- */
.cta:active, .header-cta:active, .lp-badge:active, .lp-close:active, .checks label:active { transform: scale(0.97); }
.lp-bar:active { background: #e8e1d5; }
.text-link:active { opacity: 0.6; }
.faq summary:active { opacity: 0.7; }
.cta { transition: background-color 180ms var(--ease-out), color 180ms var(--ease-out), border-color 180ms var(--ease-out), transform 120ms var(--ease-out); }

/* ---------- mobile: full-bleed chapters with captions on the imagery ---------- */
@media (max-width: 767px) and (prefers-reduced-motion: no-preference) {
  .scene-stick {
    justify-content: flex-start; gap: 0;
    padding-top: var(--header-h); padding-bottom: var(--bar-h);
  }
  .scrub { aspect-ratio: auto; height: calc(100svh - var(--header-h) - var(--bar-h)); max-height: none; max-width: none; }
  .scene-text {
    position: absolute; left: 0; right: 0; bottom: var(--bar-h); z-index: 3; pointer-events: none;
    padding-top: 96px; padding-bottom: 28px; gap: 6px;
    background: linear-gradient(to top, rgba(15, 14, 12, 0.92) 0%, rgba(15, 14, 12, 0.7) 45%, rgba(15, 14, 12, 0) 100%);
  }
  .scene-text h3 { font-size: 1.9rem; }
  .scene-text p:not(.section-num) { color: rgba(236, 230, 220, 0.86); }
  .scrub-progress { top: 0; bottom: auto; }
  .state { top: 14px; }
}

/* Header CTA: short label on phones so it never crowds the wordmark */
.header-cta .cta-short { display: none; }
@media (max-width: 767px) { .header-cta .cta-long { display: none; } .header-cta .cta-short { display: inline; } }

/* Form honeypot: off-screen for people, still in the DOM for bots */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.lp-contact a { color: var(--lp-ink); text-decoration: underline; text-decoration-color: #7a5f33; text-underline-offset: 4px; }

/* =========================================================
   Touch devices: no lens. Pinned full-bleed hero; scroll wipes in the
   finished room (reversible, eased, parks). Copy sits over the image.
   ========================================================= */
@media (hover: none) and (pointer: coarse) and (prefers-reduced-motion: no-preference) {
  .hero { display: block; min-height: 0; height: 220svh; overflow: clip; touch-action: auto; }
  .hero-stick { display: block; position: sticky; top: 0; height: 100svh; overflow: hidden; isolation: isolate; }
  .hero-media { position: absolute; inset: 0; height: auto; min-height: 0; z-index: 0; }
  .hero-layer { transform: none !important; }
  .hero-gl, .portal-ring { display: none !important; }
  .hero-media::after { background: linear-gradient(to top, rgba(15,14,12,.95) 0%, rgba(15,14,12,.75) 30%, rgba(15,14,12,0) 62%), linear-gradient(to bottom, rgba(15,14,12,.5), rgba(15,14,12,0) 18%); }
  .hero-wipe-edge { display: block; position: absolute; top: 0; bottom: 0; left: 0; width: 1px; z-index: 1; background: var(--brass-hi); will-change: transform; transform: translate3d(100vw, 0, 0); }
  .portal-hint { top: calc(var(--header-h) + 10px); left: var(--gutter); right: auto; font-size: 10px; }
  .hero-copy { position: absolute; left: 0; right: 0; bottom: var(--bar-h); z-index: 2; padding-top: 0; padding-bottom: 28px; }
  .hero h1 { font-size: clamp(2.1rem, 9vw, 3rem); margin-top: 10px; }
  .lede { font-size: 16px; margin-top: 14px; }
  .hero-actions { margin-top: 20px; gap: 14px 24px; }
}
