/* ==========================================================================
   Clearview Estimates — Hero → House Build → Content Flow
   ========================================================================== */

:root {
  --bg: #000000;
  --bg-soft: #000000;
  --bg-panel: #000000;
  --text: #f5f5f7;
  --text-mute: #86868b;
  --text-dim: #5a5a5f;
  --accent: #A8842C;
  --accent-hover: #8D6E25;
  --hairline: rgba(245, 245, 247, 0.14);

  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-accent: 'Cormorant Garamond', 'Georgia', 'Times New Roman', serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
/* Anchor-link buffer — when the user (or scrollIntoView) jumps to a #id, leave
   room above the section so its eyebrow doesn't slide under the fixed header. */
html { scroll-padding-top: 90px; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; }

/* ==========================================================================
   LOADER
   ========================================================================== */

#loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease 0.2s, visibility 0s linear 0.8s;
}
#loader.hidden { opacity: 0; visibility: hidden; }

.loader-brand { display: flex; flex-direction: column; align-items: center; margin-bottom: 3rem; }
.loader-mark { font-family: var(--font-display); font-weight: 900; font-size: 2.5rem; letter-spacing: 0.02em; }
.loader-sub { font-size: 0.7rem; letter-spacing: 0.35em; text-transform: uppercase; color: var(--text-mute); margin-top: 0.4rem; }
.loader-bar-wrap { width: 240px; height: 1px; background: var(--hairline); overflow: hidden; }
#loader-bar { height: 100%; width: 0%; background: var(--accent); transition: width 0.2s ease-out; }
#loader-percent { margin-top: 1rem; font-size: 0.7rem; letter-spacing: 0.25em; color: var(--text-mute); font-variant-numeric: tabular-nums; }

/* ==========================================================================
   HEADER
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 3vw;
  background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 100%);
  pointer-events: none;
}
.site-header > * { pointer-events: auto; }

.wordmark { display: flex; flex-direction: column; line-height: 1; }
.wordmark-main { font-family: var(--font-display); font-weight: 900; font-size: 1.35rem; letter-spacing: 0.01em; }
.wordmark-main.small { font-size: 1.05rem; }
.wordmark-sub { font-size: 0.55rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--text-mute); margin-top: 0.25rem; }

.site-nav { display: flex; gap: 2rem; align-items: center; }
.site-nav a { font-size: 0.82rem; font-weight: 500; opacity: 0.85; transition: opacity 0.2s, color 0.2s; }
.site-nav a:hover { opacity: 1; color: var(--accent); }
.site-nav .nav-cta {
  padding: 0.55rem 1rem;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  opacity: 1;
}
.site-nav .nav-cta:hover { border-color: var(--accent); color: var(--accent); background: rgba(168, 132, 44, 0.08); }

/* ==========================================================================
   MOBILE NAV TOGGLE + MENU OVERLAY
   ========================================================================== */

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  z-index: 110;
  position: relative;
  padding: 0;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.nav-toggle:hover { border-color: var(--accent); }
.nav-toggle-icon {
  position: relative;
  display: block;
  width: 18px;
  height: 14px;
}
.nav-toggle-icon span {
  position: absolute;
  left: 0;
  right: 0;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.28s ease, opacity 0.2s ease, top 0.28s ease;
}
.nav-toggle-icon span:nth-child(1) { top: 0; }
.nav-toggle-icon span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.nav-toggle-icon span:nth-child(3) { top: 100%; transform: translateY(-100%); }

.nav-toggle.is-open .nav-toggle-icon span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.nav-toggle.is-open .nav-toggle-icon span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open .nav-toggle-icon span:nth-child(3) { top: 50%; transform: translateY(-50%) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 99;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 2rem 2.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 0.3s ease, transform 0.35s ease, visibility 0s linear 0.35s;
  pointer-events: none;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
  transition: opacity 0.3s ease, transform 0.35s ease, visibility 0s linear 0s;
}
body.menu-open { overflow: hidden; }

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  max-width: 32rem;
  margin: 0 auto;
  width: 100%;
}
.mobile-menu-link {
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text);
  text-decoration: none;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  transition: color 0.2s ease, padding-left 0.2s ease;
  opacity: 0;
  transform: translateY(20px);
}
.mobile-menu-link:active,
.mobile-menu-link:hover {
  color: var(--accent);
  padding-left: 0.4rem;
}
.mobile-menu-link.is-current { color: var(--accent); }
.mobile-menu-cta {
  margin-top: 1.2rem;
  background: var(--accent);
  color: #000 !important;
  padding: 1rem 1.4rem;
  border-radius: 4px;
  border: 0;
  justify-content: space-between;
  font-size: 1.15rem;
}
.mobile-menu-cta:active,
.mobile-menu-cta:hover {
  background: var(--accent-hover);
  color: #000 !important;
  padding-left: 1.4rem;
}

.mobile-menu.is-open .mobile-menu-link {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.4s ease, transform 0.45s ease, color 0.2s ease, padding-left 0.2s ease;
}
.mobile-menu.is-open .mobile-menu-link:nth-child(1) { transition-delay: 0.08s; }
.mobile-menu.is-open .mobile-menu-link:nth-child(2) { transition-delay: 0.14s; }
.mobile-menu.is-open .mobile-menu-link:nth-child(3) { transition-delay: 0.20s; }
.mobile-menu.is-open .mobile-menu-link:nth-child(4) { transition-delay: 0.26s; }
.mobile-menu.is-open .mobile-menu-link:nth-child(5) { transition-delay: 0.32s; }

.mobile-menu-foot {
  margin-top: 2.5rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--hairline);
  max-width: 32rem;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s ease 0.4s, transform 0.45s ease 0.4s;
}
.mobile-menu.is-open .mobile-menu-foot {
  opacity: 1;
  transform: translateY(0);
}
.mobile-menu-foot-link {
  color: var(--text-mute);
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: color 0.2s ease;
}
.mobile-menu-foot-link:hover,
.mobile-menu-foot-link:active { color: var(--accent); }

/* ==========================================================================
   HERO
   ========================================================================== */

#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #000;
  background-image:
    linear-gradient(90deg, rgba(10, 10, 12, 1.0) 0%, rgba(10, 10, 12, 1.0) 25%, rgba(10, 10, 12, 0.70) 55%, rgba(10, 10, 12, 0.43) 100%),
    url('/assets/hero-kitchen.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

/* Hero estimate panel — live sample of the deliverable, sits in the right half of the hero */
.hero-estimate {
  position: absolute;
  right: clamp(2rem, 5vw, 6rem);
  top: 50%;
  transform: translateY(-50%);
  width: clamp(340px, 36vw, 480px);
  z-index: 2;
  background: linear-gradient(180deg, rgba(168, 132, 44, 0.04) 0%, rgba(0, 0, 0, 0) 40%), #000;
  border: 1px solid var(--hairline);
  padding: 1.6rem 1.6rem 1.4rem;
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.55),
    0 0 60px rgba(168, 132, 44, 0.08);
  font-variant-numeric: tabular-nums;
}
.hero-estimate::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0, var(--accent) 50%, transparent 100%);
  opacity: 0.5;
}
.hero-estimate-head {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--hairline);
  margin-bottom: 0.8rem;
}
.hero-estimate-eyebrow {
  font-size: 0.66rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent);
}
.hero-estimate-meta {
  font-size: 0.78rem;
  color: var(--text-mute);
  letter-spacing: 0.02em;
}

.hero-estimate-rows {
  display: flex;
  flex-direction: column;
}
.hero-estimate-row {
  display: grid;
  grid-template-columns: 1.6rem 1fr auto;
  align-items: baseline;
  gap: 0.8rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  opacity: 0;
  transform: translateY(8px);
  animation: hero-estimate-row-in 0.55s ease-out forwards;
  animation-delay: calc(1.4s + (var(--i) * 0.18s));
}
.hero-estimate-num {
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--accent);
  font-weight: 500;
}
.hero-estimate-label {
  font-size: 0.92rem;
  color: var(--text);
  letter-spacing: -0.005em;
}
.hero-estimate-amount {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
}

.hero-estimate-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 1rem;
  padding: 0.95rem 1rem;
  background: var(--accent);
  color: #000;
  opacity: 0;
  transform: translateY(8px);
  animation: hero-estimate-row-in 0.7s ease-out forwards;
  animation-delay: 2.5s;
}
.hero-estimate-total-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hero-estimate-total-amount {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 900;
  letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums;
}

.hero-estimate-foot {
  font-size: 0.7rem;
  color: var(--text-mute);
  margin: 0.9rem 0 0;
  letter-spacing: 0.015em;
  line-height: 1.4;
  opacity: 0;
  animation: hero-estimate-row-in 0.6s ease-out forwards;
  animation-delay: 2.9s;
}

@keyframes hero-estimate-row-in {
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-estimate-row,
  .hero-estimate-total,
  .hero-estimate-foot {
    opacity: 1;
    transform: none;
    animation: none;
  }
}


/* Hero pill stats — three chunky outlined pills, [number | label] split.
   Inspired by the F1 race-position pill pattern (hairline outline,
   tighter side box for the headline number, wider box for the label). */
.hero-pills {
  list-style: none;
  margin: 2.8rem 0 0;
  padding: 0;
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  max-width: 44rem;
}
.hero-pill {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid var(--hairline);
  border-radius: 4px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: border-color 0.25s ease, background 0.25s ease;
}
.hero-pill:hover {
  border-color: rgba(168, 132, 44, 0.55);
  background: rgba(168, 132, 44, 0.06);
}
.hero-pill-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 0.9rem;
  border-right: 1px solid var(--hairline);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  letter-spacing: -0.02em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  line-height: 1;
  min-width: 3.6rem;
}
.hero-pill-label {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1;
  white-space: nowrap;
}

/* Rotating variant — pills stack on top of each other, only .is-active is shown.
   JS toggles .is-active every 3s. Keeps the chunky pill aesthetic but solves
   the multi-pill wrap problem on narrow viewports. */
.hero-pills.is-rotating {
  position: relative;
  display: block;
  min-height: 3.1rem;
}
.hero-pills.is-rotating .hero-pill {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.55s ease, transform 0.55s ease;
  pointer-events: none;
}
.hero-pills.is-rotating .hero-pill.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.hero-inner {
  position: relative;
  z-index: 3;
  max-width: min(880px, 80vw);
  padding: 5rem 5vw 0 5vw;
}

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2rem;
}

.hero-heading {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.2rem, 4.8vw, 5.2rem);
  line-height: 0.96;
  letter-spacing: -0.035em;
  margin-bottom: 1.8rem;
  max-width: 16ch;
}
/* SplitType output: each .word is overflow-clipped so chars rise from under it.
   Padding/margin trick prevents descenders/diacritics from being clipped. */
.hero-heading .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.18em;
  margin-bottom: -0.18em;
}
.hero-heading .char {
  display: inline-block;
  transform: translateY(110%);
  will-change: transform;
}

.hero-tagline {
  font-size: clamp(1rem, 1.4vw, 1.35rem);
  line-height: 1.45;
  color: var(--text-mute);
  max-width: 36rem;
  font-weight: 300;
}
/* SplitType lines on the tagline: each .line is its own overflow-clipped row
   so lines slide up from below cleanly. */
.hero-tagline[data-split-lines] .line {
  display: block;
  overflow: hidden;
}
.hero-tagline[data-split-lines] .line > .line-inner {
  display: inline-block;
  transform: translateY(110%);
  will-change: transform;
}

.hero-eyebrow { margin-bottom: 1.4rem; }

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  margin-top: 2.4rem;
  flex-wrap: wrap;
}
/* Hero CTA — clean. Two effects only:
   1. SWEEP: a darker-gold ::before wipes left -> right on hover.
   2. ARROW NUDGE: the → slides 6px right on hover, hinting at directional intent.
   No letterpress, no lift, no split. */
.hero-cta-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  transition: background 0.25s ease;
}
.hero-cta-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent-hover);
  z-index: -1;
  clip-path: inset(0 100% 0 0);
  -webkit-clip-path: inset(0 100% 0 0);
  transition: clip-path 0.45s cubic-bezier(0.65, 0, 0.35, 1);
  -webkit-transition: -webkit-clip-path 0.45s cubic-bezier(0.65, 0, 0.35, 1);
}
.hero-cta-primary:hover::before {
  clip-path: inset(0 0 0 0);
  -webkit-clip-path: inset(0 0 0 0);
}
.hero-cta-primary:hover { background: var(--accent); transform: none; }

.hero-cta-primary .cta-arrow {
  display: inline-block;
  transition: transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.hero-cta-primary:hover .cta-arrow {
  transform: translateX(6px);
}

@media (prefers-reduced-motion: reduce) {
  .hero-cta-primary::before,
  .hero-cta-primary .cta-arrow { transition: none; }
  .hero-cta-primary:hover .cta-arrow { transform: none; }
}
.hero-cta-secondary {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-mute);
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--hairline);
  transition: color 0.2s, border-color 0.2s;
}
.hero-cta-secondary:hover { color: var(--accent); border-color: var(--accent); }

/* ==========================================================================
   HOUSE BUILD SECTION (full-viewport, pinned)
   ========================================================================== */

#house-build {
  position: relative;
  width: 100%;
  height: 100vh; /* fallback for browsers without dvh support */
  height: 100dvh; /* iOS Safari: dynamic viewport height accounts for the collapsing
                     address bar, so the pinned section always matches the visible area
                     and the canvas doesn't crop mid-scroll */
  background: #000;
  overflow: hidden;
}

/* Canvas takes the right 60% of the viewport, medium size */
#house-build canvas {
  position: absolute;
  right: 0;
  top: 0;
  width: 62%;
  height: 100%;
  display: block;
  z-index: 1;
  background: #000000;
}

/* Chapter panels on the left 40% */
.house-chapters {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 42%;
  z-index: 2;
  pointer-events: none;
}

.house-chapter {
  position: absolute;
  left: 5vw;
  right: 2vw;
  top: 50%;
  transform: translateY(-40%);
  opacity: 0;
  will-change: opacity, transform;
  transition: opacity 0.15s linear, transform 0.3s ease-out;
  --num-y: 0px;
}

/* Ghost chapter number sits behind the copy and drifts upward through the chapter window. */
.chapter-number {
  position: absolute;
  left: -0.05em;
  top: -0.42em;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(8rem, 22vw, 22rem);
  line-height: 0.85;
  letter-spacing: -0.08em;
  color: rgba(168, 132, 44, 0.07);
  font-variant-numeric: tabular-nums;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  transform: translate3d(0, var(--num-y, 0px), 0);
  will-change: transform;
}

.chapter-label {
  position: relative;
  z-index: 1;
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.chapter-heading {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.9rem, 3.4vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 1.2rem;
  color: var(--text);
}

.chapter-body {
  position: relative;
  z-index: 1;
  font-size: clamp(0.95rem, 1.1vw, 1.15rem);
  color: rgba(245, 245, 247, 0.82);
  line-height: 1.55;
  font-weight: 300;
  max-width: 28rem;
}

.house-build-progress {
  position: absolute;
  left: 5vw;
  right: 5vw;
  bottom: 3vh;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  z-index: 2;
}
.house-build-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--accent);
  transform-origin: left center;
}

/* ==========================================================================
   CONTENT SECTIONS (normal flow after house build)
   ========================================================================== */

.content-wrap { position: relative; z-index: 5; background: #000; }

.content-section {
  position: relative;
  min-height: 90vh;
  padding: 12vh 5vw;
  display: flex;
  align-items: center;
}

.content-section.align-left .section-inner {
  margin-right: auto;
  margin-left: 0;
  max-width: 50vw;
}
.content-section.align-right .section-inner {
  margin-left: auto;
  margin-right: 0;
  max-width: 50vw;
}

.section-heading {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.2rem, 4.4vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
}

.section-body {
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  line-height: 1.55;
  color: rgba(245, 245, 247, 0.88);
  max-width: 32rem;
  font-weight: 400;
}

.section-note {
  margin-top: 1.2rem;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--text-dim);
}

.section-media {
  margin-top: 2.5rem;
  width: 30vw;
  max-width: 520px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-soft);
  border: 1px solid var(--hairline);
}

.section-media img,
.section-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.9) contrast(1.05);
}

/* Deliverable lede — bridges the heading and the bullet list with the four pillars */
.deliverable-lede {
  margin-top: 1.4rem;
  max-width: 44rem;
  font-size: 1.02rem;
  line-height: 1.6;
  color: rgba(245, 245, 247, 0.78);
}
.deliverable-lede strong {
  color: var(--text);
  font-weight: 600;
  border-bottom: 1px solid rgba(168, 132, 44, 0.45);
  padding-bottom: 0.05rem;
}

/* Bulleted deliverables list — matches the dash-marker style used on /pricing */
.deliverables-list {
  margin-top: 2rem;
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem 1.5rem;
  max-width: 44rem;
}
.deliverables-list li {
  position: relative;
  padding-left: 1.2rem;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.5;
}
.deliverables-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 0.6rem;
  height: 1px;
  background: var(--accent);
}

/* Proposal showcase — horizontal PDF page strip */
.content-section.has-showcase {
  flex-direction: column;
  align-items: stretch;
  gap: 3.5rem;
}
.content-section.has-showcase .section-inner {
  max-width: 50vw;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.content-section.has-showcase .deliverables-list {
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.proposal-download {
  margin-top: 2.2rem;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.2rem 0.9rem 1.1rem;
  border: 1px solid rgba(168, 132, 44, 0.45);
  background: rgba(168, 132, 44, 0.06);
  text-decoration: none;
  color: var(--text);
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.proposal-download:hover {
  background: rgba(168, 132, 44, 0.14);
  border-color: var(--accent);
  transform: translateY(-2px);
}
.proposal-download-icon {
  font-size: 1.2rem;
  color: var(--accent);
  line-height: 1;
}
.proposal-download-text { display: flex; flex-direction: column; gap: 0.15rem; }
.proposal-download-title {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.proposal-download-meta {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* Binder showcase — three deliverable pages auto-cycle with smooth crossfade */
.proposal-showcase {
  width: 100%;
  max-width: 608px;
  margin: 2rem auto 0;
  position: relative;
}
.proposal-cycle {
  position: relative;
  width: 100%;
  aspect-ratio: 8.5 / 11;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 50px 120px rgba(0, 0, 0, 0.9),
    0 8px 24px rgba(0, 0, 0, 0.7);
  overflow: hidden;
}
.proposal-cycle-page {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
  opacity: 0;
  animation: proposal-cycle-fade 15s ease-in-out infinite;
  will-change: opacity;
}
.proposal-cycle-page-1 { animation-delay: 0s; }
.proposal-cycle-page-2 { animation-delay: 3s; }
.proposal-cycle-page-3 { animation-delay: 6s; }
.proposal-cycle-page-4 { animation-delay: 9s; }
.proposal-cycle-page-5 { animation-delay: 12s; }

/* 5 pages × 3s offset on a 15s loop. Each page: fade in 0-10% (1.5s), hold 10-23%, fade out 23-33%.
   That gives roughly 1s of overlap between consecutive pages — smooth crossfade. */
@keyframes proposal-cycle-fade {
  0%   { opacity: 0; }
  10%  { opacity: 1; }
  23%  { opacity: 1; }
  33%  { opacity: 0; }
  100% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .proposal-cycle-page { animation: none; opacity: 0; }
  .proposal-cycle-page-1 { opacity: 1; }
}

/* Before/After compare slider — used inside .has-compare-stack */
.compare-slider {
  position: relative;
  width: 100%;
  max-width: 1200px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  cursor: grab;
  border: 1px solid var(--hairline);
  background: #000;
  touch-action: none;
}
.compare-slider.is-dragging { cursor: grabbing; }
.compare-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  -webkit-user-drag: none;
}
.compare-clip {
  position: absolute;
  inset: 0;
  width: 50%;
  overflow: hidden;
  pointer-events: none;
}
.compare-clip .compare-img-before {
  width: calc(100% / 0.5);
  min-width: none;
}
.compare-label {
  position: absolute;
  top: 1rem;
  padding: 0.35rem 0.7rem;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  pointer-events: none;
  z-index: 3;
}
.compare-label-before { left: 1rem; }
.compare-label-after { right: 1rem; }
.compare-label-accent {
  background: var(--accent);
  color: #000;
  border-color: rgba(0, 0, 0, 0.15);
}
.compare-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: #fff;
  transform: translateX(-50%);
  z-index: 4;
  pointer-events: none;
}
.compare-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: #fff;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s ease;
}
.compare-slider:hover .compare-handle,
.compare-slider:focus-visible .compare-handle {
  transform: translate(-50%, -50%) scale(1.08);
}

@media (max-width: 768px) {
  .compare-slider { aspect-ratio: 4 / 5; }
  .compare-handle { width: 44px; height: 44px; }
  .content-section.has-compare-stack { padding: 6vh 5vw 7vh; }
  .compare-stack { gap: 3rem; }
}

/* Reference renders — stacked before/after compare sliders */
.content-section.has-compare-stack {
  flex-direction: column;
  align-items: stretch;
  gap: 3rem;
  padding: 12vh 5vw;
}
.renders-inner {
  max-width: 44rem;
  margin: 0;
}
.compare-stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 5rem;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.compare-pair {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.compare-caption {
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(245, 245, 247, 0.72);
  max-width: 60ch;
}
.compare-caption strong { color: var(--text); font-weight: 600; }

@media (max-width: 768px) {
  .compare-stack { gap: 3.5rem; }
}

/* Supplier marquee — pricing sources */
.section-marquee {
  padding: 6rem 0 5rem;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  min-height: 0;
}
.section-marquee .section-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  padding: 0 1.5rem 3rem;
}
.section-marquee .section-heading {
  font-size: clamp(1.7rem, 2.8vw, 2.6rem);
  max-width: 30ch;
  margin-left: auto;
  margin-right: auto;
}
.section-marquee .section-body {
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}
.marquee {
  display: flex;
  overflow: hidden;
  width: 100%;
  /* Wider gradient mask so logos fade in/out smoothly at the edges instead of
     hard-cutting — gives the strip a more "infinite" feel. */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%);
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
}
.marquee-track {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 96px;
  padding-right: 96px;
  animation: marquee-scroll 62s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-logo {
  height: 56px;
  width: auto;
  flex: 0 0 auto;
  max-width: 200px;
  object-fit: contain;
  opacity: 0.85;
  filter: grayscale(0.15);
  transition: opacity 0.3s ease, filter 0.3s ease;
}
.marquee-logo:hover {
  opacity: 1;
  filter: grayscale(0);
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}
.marquee-disclaimer {
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--text-mute);
  margin: 2.5rem auto 0;
  max-width: 540px;
  padding: 0 1.5rem;
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; transform: translateX(0); }
  .marquee { overflow-x: auto; }
}
@media (max-width: 720px) {
  .section-marquee { padding: 3.5rem 0 3rem; }
  .marquee-logo { height: 36px; }
  .marquee-track { gap: 56px; padding-right: 56px; }
}

/* Testimonials — illustrative client quotes */
.section-testimonials {
  padding: 7rem 0;
  flex-direction: column;
  align-items: stretch;
  min-height: 0;
}
.section-testimonials .section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}
.section-testimonials .section-heading { margin-bottom: 3.5rem; }

/* Testimonials carousel — horizontal scroll-snap with prev/next + dot nav */
.testimonials-carousel {
  position: relative;
  outline: none;
}
.testimonials-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 0.5rem;
}
.testimonials-track::-webkit-scrollbar { display: none; }
.testimonials-track > .testimonial-card {
  flex: 0 0 calc((100% - 3rem) / 3); /* 3 visible on desktop, gap is 1.5rem * 2 */
  scroll-snap-align: start;
  min-width: 0;
}
.testimonials-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 2rem;
}
.testimonials-prev,
.testimonials-next {
  background: transparent;
  border: 1px solid var(--hairline);
  color: var(--text);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.testimonials-prev:hover,
.testimonials-next:hover,
.testimonials-prev:focus-visible,
.testimonials-next:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}
.testimonials-dots {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
}
.testimonials-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--hairline);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.testimonials-dot.is-active {
  background: var(--accent);
  transform: scale(1.3);
}
.testimonials-dot:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.testimonial-card {
  position: relative;
  border: 1px solid var(--hairline);
  padding: 2rem 1.75rem 1.75rem;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s ease;
}
.testimonial-card:hover { border-color: rgba(168, 132, 44, 0.3); }
.testimonial-quote-mark {
  position: absolute;
  top: 0.5rem;
  left: 1.5rem;
  font-size: 4rem;
  line-height: 0.7;
  font-weight: 900;
  color: var(--accent);
  font-family: Georgia, serif;
  pointer-events: none;
}
.testimonial-quote {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text);
  margin: 1.5rem 0 2rem;
  flex: 1 1 auto;
}
.testimonial-attribution {
  border-top: 1px solid var(--hairline);
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.testimonial-name {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
  font-weight: 500;
}
.testimonial-project {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
@media (max-width: 900px) {
  .testimonials-track { gap: 1rem; }
  .testimonials-track > .testimonial-card { flex: 0 0 100%; }
  .section-testimonials { padding: 5rem 0; }
  .testimonials-controls { gap: 1rem; margin-top: 1.5rem; }
}

/* Process steps — 2x2 grid */
.process-steps {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 2rem;
  max-width: 44rem;
}
.process-step {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  align-items: baseline;
}
.process-step-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2.2rem;
  line-height: 1;
  color: var(--accent);
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.process-step-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.25rem; }
.process-step-body { font-size: 0.95rem; color: rgba(245, 245, 247, 0.78); line-height: 1.5; }

/* ==========================================================================
   STATS SECTION
   ========================================================================== */

.section-stats {
  text-align: center;
  padding: 18vh 5vw;
  min-height: 100vh;
}

.stats-inner { max-width: 1200px; margin: 0 auto; }

.stats-heading {
  font-size: clamp(2.4rem, 5.2vw, 5.2rem);
  margin-bottom: 4rem;
  letter-spacing: -0.03em;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
}

.stat { display: flex; flex-direction: column; align-items: center; }

.stat-number {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.stat-suffix {
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-top: 0.75rem;
}

.stat-label {
  margin-top: 0.6rem;
  font-size: 0.9rem;
  max-width: 16rem;
  opacity: 0.85;
}

/* ==========================================================================
   FORM
   ========================================================================== */

.section-form { min-height: auto; padding: 10vh 5vw 8vh; }
.form-inner { max-width: 780px; width: 100%; margin-left: auto; margin-right: auto; }
.form-reassure { color: rgba(245, 245, 247, 0.72); margin-top: 0.5rem; }

.lead-form {
  margin-top: 2.5rem;
  display: grid;
  gap: 1.25rem;
}

.field {
  position: relative;
  padding-top: 1rem;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--hairline);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.85rem 0.1rem 0.6rem 0.1rem;
  outline: none;
  transition: border-color 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
}
.field textarea { resize: vertical; min-height: 6rem; }

.field label {
  position: absolute;
  left: 0.1rem;
  top: 1.85rem;
  font-size: 1rem;
  color: var(--text-mute);
  pointer-events: none;
  transition: transform 0.2s ease, font-size 0.2s ease, color 0.2s ease;
  transform-origin: left top;
}

.field input:focus,
.field textarea:focus,
.field select:focus { border-bottom-color: var(--accent); }

.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label,
.field-select label {
  transform: translateY(-1.4rem) scale(0.72);
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.field .opt {
  font-size: 0.75em;
  color: var(--text-dim);
  text-transform: none;
  letter-spacing: 0;
  margin-left: 0.4rem;
}

.field-select::after {
  content: "";
  position: absolute;
  right: 0.3rem;
  top: 2.2rem;
  width: 8px;
  height: 8px;
  border-right: 1px solid var(--text-mute);
  border-bottom: 1px solid var(--text-mute);
  transform: rotate(45deg);
  pointer-events: none;
}
.field-select select option { background: var(--bg-soft); color: var(--text); }

.field-file { padding-top: 0.5rem; }
.field-file .file-label {
  display: block;
  padding: 1rem 1.2rem;
  border: 1px dashed var(--hairline);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.field-file .file-label:hover { border-color: var(--accent); background: rgba(168, 132, 44, 0.04); }
.file-label-title { display: block; font-size: 0.95rem; font-weight: 500; }
.file-label-sub { display: block; font-size: 0.8rem; color: var(--text-mute); margin-top: 0.25rem; }
.field-file input[type="file"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
}

.cta-button {
  margin-top: 1rem;
  padding: 1.1rem 2rem;
  background: var(--accent);
  color: #000;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  justify-self: start;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.cta-button:hover { background: var(--accent-hover); transform: translateY(-1px); }
.cta-button:active { transform: translateY(0); }

/* Form success card — shown after successful submit */
.form-success-card {
  display: none;
  padding: 2.8rem 2.4rem;
  border: 1px solid rgba(168, 132, 44, 0.28);
  background: radial-gradient(140% 140% at 50% 0%, rgba(168, 132, 44, 0.12) 0%, rgba(0, 0, 0, 0) 60%);
  max-width: 38rem;
}
.section-form.is-submitted > .form-inner > .section-label,
.section-form.is-submitted > .form-inner > .section-heading,
.section-form.is-submitted > .form-inner > .section-body,
.section-form.is-submitted > .form-inner > .form-reassure,
.section-form.is-submitted #lead-form,
.section-form-inline.is-submitted #lead-form,
.section-form-inline.is-submitted .form-reassure { display: none; }

/* ==========================================================================
   FOUNDER BIO — Rick's photo + about-me on the right side of section 008
   ========================================================================== */

.has-founder .founder-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
  max-width: 1100px;
}
.founder-text { max-width: 32ch; }
.founder-bio {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  padding-top: 0.5rem;
}
.founder-bio-photo {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--hairline);
  margin-bottom: 1.25rem;
}
.founder-bio-name {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.founder-bio-role {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 0.25rem;
  margin-bottom: 1rem;
}
.founder-bio-text {
  margin: 0 0 1rem;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-mute);
  max-width: 38ch;
}
.founder-bio-text:last-child { margin-bottom: 0; }

@media (max-width: 900px) {
  .has-founder .founder-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .founder-bio { align-items: center; text-align: center; }
  .founder-bio-text { max-width: 38ch; }
  .founder-bio-photo { width: 180px; height: 180px; }
  .founder-bio-name { font-size: 1.4rem; }
}
.section-form.is-submitted .form-success-card,
.section-form-inline.is-submitted .form-success-card { display: block; }

.success-icon {
  width: 68px;
  height: 68px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.6rem;
  background: rgba(168, 132, 44, 0.05);
}
.success-label {
  color: var(--accent);
  display: block;
  margin-bottom: 0.8rem;
}
.success-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 1rem;
}
.success-name { color: var(--accent); }
.success-body {
  font-size: 1.05rem;
  color: rgba(245, 245, 247, 0.8);
  line-height: 1.55;
  margin: 0 0 2.4rem;
  max-width: 30rem;
}
.success-next {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.6rem;
}
.success-next-title {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245, 245, 247, 0.5);
  margin: 0 0 1.2rem;
}
.success-step {
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  gap: 1rem;
  align-items: baseline;
  padding: 0.9rem 0;
}
.success-step + .success-step {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.success-step-num {
  font-family: var(--font-display);
  font-weight: 900;
  color: var(--accent);
  font-size: 1.3rem;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.success-step-text {
  font-size: 0.95rem;
  color: rgba(245, 245, 247, 0.78);
  line-height: 1.5;
}

/* ==========================================================================
   SAMPLE BINDER LEAD MAGNET — section 004, sits between binder slider and renders
   ========================================================================== */

.section-sample {
  min-height: auto;
  padding: 10vh 5vw 9vh;
  text-align: center;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.sample-inner {
  max-width: 720px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.sample-inner .section-body {
  max-width: 48ch;
  margin-left: auto;
  margin-right: auto;
}
.sample-reassure {
  color: rgba(245, 245, 247, 0.55);
  margin-top: 0.9rem;
  font-size: 0.85rem;
  max-width: 44ch;
  margin-left: auto;
  margin-right: auto;
}

.sample-form {
  margin: 2.5rem auto 0;
  max-width: 34rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: stretch;
}
/* Boxed email input — direct grid child so it shares the row height with the
   CTA button. Bypasses .field/floating-label patterns from the lead form. */
.sample-form input[type="email"] {
  width: 100%;
  margin: 0;
  padding: 1.1rem 1.2rem;
  font-size: 1rem; /* 16px — prevents iOS auto-zoom on focus */
  font-family: var(--font-body);
  color: var(--text);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 0;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}
.sample-form input[type="email"]::placeholder {
  color: rgba(245, 245, 247, 0.5);
}
.sample-form input[type="email"]:focus {
  border-color: var(--accent);
}
.sample-form .cta-button {
  margin-top: 0;
  white-space: nowrap;
}

/* a11y label hidden for sighted users but read by screen readers */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sample-success-card {
  display: none;
  padding: 2.4rem 2rem;
  border: 1px solid rgba(168, 132, 44, 0.28);
  background: radial-gradient(140% 140% at 50% 0%, rgba(168, 132, 44, 0.12) 0%, rgba(0, 0, 0, 0) 60%);
  max-width: 38rem;
  margin: 0 auto;
  text-align: left;
}
.sample-success-card .success-heading {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
}
.section-sample.is-submitted > .sample-inner > .section-label,
.section-sample.is-submitted > .sample-inner > .section-heading,
.section-sample.is-submitted > .sample-inner > .section-body,
.section-sample.is-submitted > .sample-inner > .sample-reassure,
.section-sample.is-submitted #sample-form { display: none; }
.section-sample.is-submitted .sample-success-card { display: block; }

@media (max-width: 600px) {
  .sample-form {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  position: relative;
  z-index: 6;
  padding: 3rem 5vw 2rem;
  border-top: 1px solid var(--hairline);
  background: #000;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.footer-col h4 {
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 1rem;
  font-weight: 500;
}
.footer-col ul { list-style: none; }
.footer-col ul li,
.footer-col p {
  font-size: 0.88rem;
  line-height: 1.9;
  opacity: 0.9;
}
.footer-col p a { color: var(--accent); transition: color 0.2s; }
.footer-col p a:hover { color: var(--accent-hover); }
.footer-col .muted { color: var(--text-dim); font-size: 0.82rem; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 1.5rem;
  border-top: 1px solid var(--hairline);
  font-size: 0.75rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 0.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

/* ==========================================================================
   MOBILE
   ========================================================================== */

.mobile-break { display: none; }

/* ==========================================================================
   SECTION LEDE — reused by various intro paragraphs
   ========================================================================== */

.section-lede {
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  color: rgba(245, 245, 247, 0.92);
  font-weight: 500;
  max-width: 34rem;
  margin-top: -0.2rem;
  margin-bottom: 2.2rem;
  line-height: 1.4;
  letter-spacing: -0.005em;
}

/* ==========================================================================
   FAQ — accordion
   ========================================================================== */

.faq-list {
  margin-top: 1.6rem;
  max-width: 44rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.faq-item > summary {
  list-style: none;
  cursor: pointer;
  padding: 1.3rem 2.4rem 1.3rem 0;
  position: relative;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.005em;
  line-height: 1.35;
  transition: color 0.2s ease;
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::marker { display: none; }
.faq-item > summary:hover { color: var(--accent); }
.faq-chevron {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 1.6rem;
  color: var(--accent);
  line-height: 1;
  transition: transform 0.3s ease;
  width: 1.4rem;
  text-align: center;
}
.faq-item[open] > summary .faq-chevron {
  transform: translateY(-50%) rotate(45deg);
}
.faq-answer {
  padding: 0 2.4rem 1.4rem 0;
  color: rgba(245, 245, 247, 0.78);
  font-size: 0.98rem;
  line-height: 1.6;
  max-width: 42rem;
  animation: faq-fade-in 0.3s ease;
}
@keyframes faq-fade-in {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  .mobile-break { display: inline; }

  /* Header: near-opaque blurred backdrop so content can't bleed through the wordmark */
  .site-header {
    background: rgba(0, 0, 0, 0.94);
    backdrop-filter: blur(22px) saturate(1.3);
    -webkit-backdrop-filter: blur(22px) saturate(1.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.9rem 4vw;
  }
  .wordmark-main { font-size: 1.1rem; }
  .wordmark-sub { font-size: 0.48rem; }

  /* Desktop nav hides entirely on mobile; hamburger takes over */
  .site-nav { display: none; }
  .nav-toggle { display: inline-flex; }

  /* Mobile hero: text-only, vertically centered. Image background reads stronger since the estimate panel collapses. */
  #hero {
    justify-content: center;
    padding-bottom: 0;
    background-image:
      linear-gradient(180deg, rgba(10, 10, 12, 0.72) 0%, rgba(10, 10, 12, 0.95) 100%),
      url('/assets/hero-kitchen.jpg');
  }
  /* padding-top reserves room for the fixed .site-header so the eyebrow
     doesn't get clipped on short viewports (iPhone SE class). */
  .hero-inner { max-width: 100%; padding: 4.5rem 6vw 0; }
  .hero-heading {
    font-size: clamp(1.8rem, 8vw, 3.2rem);
    max-width: 100%;
    line-height: 1.02;
  }
  .hero-estimate { display: none; }
  .hero-inner { max-width: 100%; }
  .hero-ctas { gap: 1rem; margin-top: 1.8rem; }
  .hero-cta-secondary { font-size: 0.74rem; }
  .hero-pills {
    margin-top: 2rem;
    gap: 0.5rem;
  }
  .hero-pill-num { font-size: 0.95rem; padding: 0.55rem 0.7rem; min-width: 3.2rem; }
  .hero-pill-label { font-size: 0.62rem; padding: 0.55rem 0.8rem; letter-spacing: 0.18em; }

  .content-section { min-height: auto; padding: 7vh 6vw; }
  .content-section.align-left .section-inner,
  .content-section.align-right .section-inner { max-width: 100%; margin: 0; }

  /* Tighter mobile spacing for short-content sections */
  .section-marquee { padding: 3.5rem 0 3rem; }
  .content-section.has-compare-stack { padding: 5vh 5vw 6vh; }
  .section-testimonials { padding: 5vh 0 6vh; }
  .section-home-band { padding: 6vh 6vw; }

  .section-heading { font-size: clamp(1.8rem, 7.5vw, 2.8rem); }
  .deliverables-list { grid-template-columns: 1fr; gap: 0.6rem; }
  .process-steps { grid-template-columns: 1fr; gap: 1.2rem; }

  .stats-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .stat-number { font-size: clamp(2.6rem, 12vw, 4rem); }

  .section-media { width: 80vw; }

  .content-section.has-showcase .section-inner { max-width: 100%; }


  .proposal-showcase { max-width: 92vw; margin-top: 1.6rem; }
  .proposal-page { max-height: 72vh; }
  .proposal-next { width: 38px; height: 38px; }

  /* Mobile: canvas on top half, chapters below */
  #house-build canvas {
    position: absolute;
    left: 0; right: 0; top: 0;
    width: 100%;
    height: 50%;
  }
  .house-chapters {
    left: 0; right: 0;
    top: 50%;
    bottom: 0;
    width: 100%;
  }
  .house-chapter {
    left: 6vw;
    right: 6vw;
    top: 4vh;
    transform: translateY(0);
  }
  .chapter-heading { font-size: clamp(1.5rem, 6.5vw, 2.2rem); }
  .chapter-body { font-size: 0.95rem; }
  .chapter-number {
    font-size: clamp(5rem, 28vw, 11rem);
    top: -0.32em;
    color: rgba(168, 132, 44, 0.06);
  }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; }

  /* Section lede — tighter on mobile */
  .section-lede { font-size: 1rem; margin-bottom: 1.6rem; }

  /* Success card — tighter on mobile */
  .form-success-card { padding: 2rem 1.4rem; }
  .success-icon { width: 56px; height: 56px; margin-bottom: 1.2rem; }
  .success-icon svg { width: 32px; height: 32px; }
  .success-heading { font-size: 1.9rem; }
  .success-body { font-size: 0.98rem; margin-bottom: 1.8rem; }
  .success-next-title { margin-bottom: 1rem; }
  .success-step { padding: 0.8rem 0; gap: 0.8rem; grid-template-columns: 2rem 1fr; }
  .success-step-num { font-size: 1.1rem; }
  .success-step-text { font-size: 0.9rem; }

  /* FAQ — compact on mobile */
  .faq-list { margin-top: 1.2rem; }
  .faq-item > summary {
    font-size: 0.98rem;
    padding: 1.1rem 2rem 1.1rem 0;
    line-height: 1.3;
  }
  .faq-chevron { font-size: 1.4rem; }
  .faq-answer {
    font-size: 0.92rem;
    padding: 0 1.5rem 1.2rem 0;
  }
}

/* ==========================================================================
   WHY US — objection-handling brief (no canvas, no gimmick)
   ========================================================================== */

.section-why-us {
  padding: 14vh 7vw 12vh;
  min-height: 0;
  align-items: flex-start;
}
.section-why-us .section-inner {
  max-width: 60rem;
}
.section-why-us .section-heading {
  font-size: clamp(2.2rem, 4.6vw, 3.8rem);
  letter-spacing: -0.03em;
  margin-bottom: 1.4rem;
}
.section-why-us .section-lede {
  font-size: 1.1rem;
  color: rgba(245, 245, 247, 0.78);
  max-width: 44rem;
  margin-bottom: 3rem;
  line-height: 1.55;
}

.why-objections {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 1rem;
}
.why-objection {
  display: grid;
  grid-template-columns: 3.2rem 1fr;
  gap: 1.4rem;
  padding: 2.2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}
.why-objection:last-of-type {
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}
.why-objection-q {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2rem;
  letter-spacing: -0.04em;
  color: var(--accent);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.why-objection-content {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.why-objection-title {
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text);
  margin: 0;
  line-height: 1.25;
}
.why-objection-body {
  font-size: 1.02rem;
  line-height: 1.65;
  color: rgba(245, 245, 247, 0.8);
  max-width: 60ch;
  margin: 0;
}
.section-why-us .why-closer {
  margin-top: 2.8rem;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: 0.005em;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .section-why-us { padding: 10vh 6vw 10vh; }
  .why-objection {
    grid-template-columns: 2.4rem 1fr;
    gap: 1rem;
    padding: 1.6rem 0;
  }
  .why-objection-q { font-size: 1.6rem; }
  .why-objection-title { font-size: 1.15rem; }
  .why-objection-body { font-size: 0.96rem; }
}

/* ==========================================================================
   HOME — CTA BAND (replaces the legacy on-home lead form)
   ========================================================================== */

.section-home-band {
  padding: 9vh 7vw 11vh;
  align-items: center;
  text-align: center;
  min-height: 0;
}
.home-band-inner {
  max-width: 36rem;
  margin: 0 auto;
}
.home-band-inner .section-heading {
  margin-bottom: 1rem;
}
.home-band-inner .section-body {
  margin: 0 auto 2.4rem;
  max-width: 32rem;
  color: rgba(245, 245, 247, 0.78);
}
.home-band-ctas {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.6rem;
  flex-wrap: wrap;
}

@media (max-width: 720px) {
  .section-home-band { padding: 7vh 6vw 9vh; }
  .home-band-ctas { gap: 1rem; }
}

/* ==========================================================================
   SUBPAGES — /pricing, /contact
   ========================================================================== */

body.subpage { padding-top: 0; }
.subpage-wrap { padding-top: 6rem; }

.subpage-hero {
  padding: 10vh 7vw 4vh;
  align-items: flex-start;
  min-height: 0;
}
.subpage-hero .section-heading {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  letter-spacing: -0.03em;
}

/* Contact-page "Call Rick" hero card — primary call-to-action above the form */
.contact-call-card {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}
.contact-call-button {
  font-size: 1.05rem;
  padding: 1.1rem 1.6rem;
}
.contact-call-note {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-mute);
  letter-spacing: 0.01em;
}

/* Contact form heading sits ABOVE the form, smaller than the page H1 */
.form-eyebrow { display: block; }
.form-heading {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  margin: 0.4rem 0 0.5rem;
}

.site-nav a.is-current { color: var(--accent); opacity: 1; }

/* Pricing page */
.section-pricing {
  padding: 4vh 7vw 14vh;
  align-items: stretch;
  min-height: 0;
}
.pricing-inner {
  display: flex;
  flex-direction: column;
  gap: 5rem;
  align-items: stretch;
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
}

/* Three-tier grid */
.pricing-tiers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

.pricing-tier {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  padding: 2.4rem 1.8rem 2rem;
  border: 1px solid var(--hairline);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.015) 0%, rgba(0, 0, 0, 0) 60%);
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.pricing-tier:hover {
  border-color: rgba(168, 132, 44, 0.4);
}

/* Featured (middle) tier — the conversion target */
.pricing-tier-featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(168, 132, 44, 0.08) 0%, rgba(0, 0, 0, 0) 50%);
  transform: translateY(-12px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), 0 0 50px rgba(168, 132, 44, 0.06);
}
.pricing-tier-featured:hover {
  border-color: var(--accent);
}
.pricing-tier-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.32rem 0.85rem;
  font-size: 0.6rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 700;
  background: var(--accent);
  color: #000;
  white-space: nowrap;
  border-radius: 2px;
}

.pricing-tier-head {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-bottom: 0.4rem;
}
.pricing-tier-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}
.pricing-tier-fit {
  font-size: 0.92rem;
  color: var(--text-mute);
  line-height: 1.4;
  min-height: 2.6em; /* keep card heights aligned across tiers */
}

.pricing-tier-price {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  padding-bottom: 0.2rem;
}
.pricing-tier-currency {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--text-mute);
  line-height: 1;
}
.pricing-tier-amount {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.6rem, 4vw, 3.4rem);
  letter-spacing: -0.035em;
  color: var(--text);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.pricing-tier-unit {
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-left: 0.3rem;
}

.pricing-tier-speed {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.9rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-left: 2px solid var(--accent);
}
.pricing-tier-featured .pricing-tier-speed {
  background: rgba(168, 132, 44, 0.1);
}
.pricing-tier-speed-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.6rem;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.pricing-tier-speed-label {
  font-size: 0.82rem;
  color: var(--text);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
}

/* Per-tier bonuses list — short, sits between the speed badge and the CTA */
.pricing-tier-bonuses {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 0.7rem;
  border-top: 1px solid var(--hairline);
}
.pricing-tier-bonuses-base {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
  font-weight: 600;
}
.pricing-tier-bonuses ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
}
.pricing-tier-bonuses li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.86rem;
  line-height: 1.45;
  color: rgba(245, 245, 247, 0.82);
}
.pricing-tier-bonuses li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 0.55rem;
  height: 1px;
  background: var(--accent);
}
.pricing-tier-featured .pricing-tier-bonuses li {
  color: rgba(245, 245, 247, 0.92);
}

.pricing-tier-note {
  font-size: 0.78rem;
  color: var(--text-mute);
  margin: 0;
  letter-spacing: 0.02em;
}

.pricing-tier-cta {
  margin-top: auto;
  align-self: stretch;
  text-align: center;
  justify-content: center;
}
.pricing-tier-cta-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--hairline);
}
.pricing-tier-cta-ghost:hover {
  background: rgba(168, 132, 44, 0.08);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}

/* ULTIMATE EXPERIENCE — featured 4th tier, panoramic block below the 3-card row */
.pricing-ultimate {
  position: relative;
  display: block;
  padding: 3rem 2.4rem;
  margin-top: 1.5rem;
  border: 1px solid rgba(168, 132, 44, 0.45);
  background:
    linear-gradient(135deg, rgba(168, 132, 44, 0.1) 0%, rgba(168, 132, 44, 0.02) 60%, rgba(0, 0, 0, 0) 100%),
    #000;
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.55),
    0 0 60px rgba(168, 132, 44, 0.08);
}
.pricing-ultimate::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0, var(--accent) 30%, var(--accent) 70%, transparent 100%);
  opacity: 0.85;
}
.pricing-ultimate-tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.4rem 1rem;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  background: var(--accent);
  color: #000;
  white-space: nowrap;
  border-radius: 2px;
}
.pricing-ultimate-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 3rem;
  align-items: start;
}
.pricing-ultimate-head {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.pricing-ultimate-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.6vw, 2.3rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0;
  color: var(--text);
}
.pricing-ultimate-fit {
  font-size: 0.98rem;
  line-height: 1.55;
  color: rgba(245, 245, 247, 0.78);
  margin: 0 0 0.6rem;
  max-width: 38ch;
}
.pricing-ultimate-price-row {
  display: flex;
  align-items: stretch;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.4rem;
}
.pricing-ultimate-price {
  padding-bottom: 0;
}
.pricing-ultimate-speed {
  background: rgba(168, 132, 44, 0.12);
}
.pricing-ultimate-cta {
  margin-top: 0.4rem;
  align-self: flex-start;
  text-align: center;
  justify-content: center;
}
.pricing-ultimate-bonuses {
  border-left: 1px solid rgba(168, 132, 44, 0.25);
  padding-left: 2rem;
}
.pricing-ultimate-bonuses .pricing-tier-bonuses-base {
  font-size: 0.8rem;
  margin-bottom: 1.1rem;
}
.pricing-ultimate-bonuses ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}
.pricing-ultimate-bonuses li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(245, 245, 247, 0.85);
}
.pricing-ultimate-bonuses li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 0.7rem;
  height: 1px;
  background: var(--accent);
}
.pricing-ultimate-bonuses strong {
  color: var(--text);
  font-weight: 600;
}

@media (max-width: 880px) {
  .pricing-ultimate { padding: 2.4rem 1.6rem; }
  .pricing-ultimate-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .pricing-ultimate-bonuses {
    border-left: none;
    border-top: 1px solid rgba(168, 132, 44, 0.25);
    padding-left: 0;
    padding-top: 1.6rem;
  }
}

/* Shared deliverables band — appears below the three tiers */
.pricing-includes-band {
  border-top: 1px solid var(--hairline);
  padding-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  align-items: stretch;
}
.pricing-includes-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--text);
  line-height: 1.1;
}
.pricing-includes-lede {
  font-size: 1rem;
  color: rgba(245, 245, 247, 0.78);
  margin: 0 0 1rem;
  line-height: 1.65;
  max-width: 78ch;
}
.pricing-includes {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem 1.5rem;
}
.pricing-includes li {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text);
  padding-left: 1.2rem;
  position: relative;
}
.pricing-includes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 0.6rem;
  height: 1px;
  background: var(--accent);
}

.pricing-fineprint {
  border-top: 1px solid var(--hairline);
  padding-top: 2.4rem;
  max-width: 56rem;
}
.pricing-fineprint h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.8rem;
  letter-spacing: -0.005em;
}
.pricing-fineprint-h3 {
  margin-top: 1.6rem !important;
}
.pricing-fineprint p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(245, 245, 247, 0.72);
  margin: 0 0 0.9rem;
}
.pricing-fineprint-list {
  list-style: none;
  padding: 0;
  margin: 0 0 0.9rem;
  display: grid;
  gap: 0.7rem;
}
.pricing-fineprint-list li {
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(245, 245, 247, 0.78);
  padding-left: 1.2rem;
  position: relative;
}
.pricing-fineprint-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 0.6rem;
  height: 1px;
  background: var(--accent);
}
.pricing-fineprint-list strong {
  color: var(--text);
  font-weight: 600;
}
.pricing-fineprint-secondary {
  margin-top: 1.4rem !important;
}
.pricing-fineprint-secondary a {
  color: var(--accent);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  border-bottom: 1px solid rgba(168, 132, 44, 0.3);
  padding-bottom: 0.15rem;
  transition: border-color 0.2s;
}
.pricing-fineprint-secondary a:hover {
  border-color: var(--accent);
}

@media (max-width: 960px) {
  .pricing-tiers {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }
  /* Anchoring: show Same-Day ($1099) first, then Priority ($799), then Standard ($499). Ultimate ($2099) is outside .pricing-tiers and follows naturally. */
  .pricing-tiers > .pricing-tier:nth-child(1) { order: 3; }
  .pricing-tiers > .pricing-tier:nth-child(2) { order: 2; }
  .pricing-tiers > .pricing-tier:nth-child(3) { order: 1; }
  .pricing-tier-featured {
    transform: none;
  }
  .pricing-tier-fit {
    min-height: 0;
  }
  .pricing-includes-band {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }
  .pricing-includes {
    grid-template-columns: 1fr;
  }
  .pricing-inner {
    gap: 3.5rem;
  }
}

@media (max-width: 560px) {
  .pricing-tier { padding: 2rem 1.4rem; }
  .pricing-tier-amount { font-size: 2.4rem; }
}

/* Contact page */
.section-contact {
  padding: 4vh 7vw 12vh;
  align-items: stretch;
  min-height: 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 4rem;
  align-items: start;
  max-width: 1180px;
  width: 100%;
}
.contact-aside {
  border: 1px solid var(--hairline);
  padding: 2.2rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}
.contact-aside-block h4 {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
  font-weight: 500;
}
.contact-aside-block p,
.contact-aside-block a {
  font-size: 0.98rem;
  color: var(--text);
  line-height: 1.55;
}
.contact-aside-block a:hover { color: var(--accent); }
.contact-aside-block ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.92rem;
  color: rgba(245, 245, 247, 0.72);
  line-height: 1.8;
}
.contact-socials {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.contact-socials a {
  display: inline-block;
  font-size: 0.95rem;
  color: var(--text);
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 2px;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.contact-socials a:hover {
  color: var(--accent);
  border-color: var(--accent);
}
.contact-sample-card {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--hairline);
}

@media (max-width: 880px) {
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .contact-aside { padding: 1.8rem 1.4rem; }
  .section-contact { padding-bottom: 6vh; }
  .contact-sample-card { margin-top: 1rem; padding-top: 1.5rem; }
  .section-sample { padding: 5vh 5vw 6vh; }
}

/* ==========================================================================
   HERO — SCROLL-DRIVEN ENHANCEMENTS
   ========================================================================== */

/* Stitch: gradient at hero base fades into house-build's black canvas */
#hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 22vh;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, #000 100%);
  pointer-events: none;
  z-index: 2;
}

/* Hero content fade-out on scroll handoff, driven by --hero-exit (0 -> 1) */
#hero { --hero-exit: 0; }
.hero-inner {
  opacity: calc(1 - var(--hero-exit, 0) * 0.55);
  will-change: opacity;
}

/* Wavy hand-drawn underline beneath 'dark.' — injected as inline SVG by JS,
   draws in on stroke-dashoffset once the intro chars have landed. Lifted from
   Lando's current-page nav indicator pattern. */
.hero-word-dark.is-drawn { overflow: visible; }
.dark-underline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.04em;
  width: 100%;
  height: 0.26em;
  pointer-events: none;
  color: var(--accent);
  z-index: 2;
  overflow: visible;
}
.dark-underline path {
  fill: none;
  stroke: currentColor;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  /* Keep the stroke a constant pixel width even when the SVG is stretched
     non-uniformly to fit the word — otherwise it'd squash vertically. */
  vector-effect: non-scaling-stroke;
}
.hero-word-dark.is-drawn .dark-underline path {
  animation: draw-dark-underline 0.95s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}
@keyframes draw-dark-underline {
  to { stroke-dashoffset: 0; }
}

/* Edge vignette — soft uniform radial gradient (no corner concentrations,
   so no "halo" issue). Breathes in sync with the word's dim cycle for
   atmospheric depth. */
.page-vignette {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 79;
  opacity: 0;
  background: radial-gradient(
    ellipse 100% 100% at 50% 50%,
    transparent 30%,
    rgba(0, 0, 0, 0.5) 75%,
    rgba(0, 0, 0, 0.95) 100%
  );
  will-change: opacity;
}
.page-vignette.is-active {
  animation:
    vignette-enter 1.6s ease-out forwards,
    vignette-breathe 8s ease-in-out 1.6s infinite;
}
@keyframes vignette-enter {
  from { opacity: 0; }
  to   { opacity: 0.55; }
}
@keyframes vignette-breathe {
  /* Base 0.55 when the word is bright; peaks 0.95 when the word is pitch-dark,
     putting the page at its deepest darkness in unison with the word's loss. */
  0%, 31%  { opacity: 0.55; }
  62%, 69% { opacity: 0.95; }
  100%     { opacity: 0.55; }
}
/* 'dark.' renders identically to the rest of the headline — same Inter 900,
   same color, same size. The only thing that marks it is the wavy gold
   underline beneath. position: relative so the underline + scroll-fill ::after
   can absolute-anchor here. */
.hero-word-dark {
  position: relative;
}
.hero-word-dark::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  pointer-events: none;
  clip-path: inset(0 calc(100% - var(--dark-fill, 0%)) 0 0);
  -webkit-clip-path: inset(0 calc(100% - var(--dark-fill, 0%)) 0 0);
  transition: clip-path 0.05s linear;
}

/* Sticky CTA bar — slides up from bottom once #hero is out of view */
.sticky-cta-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  background: rgba(10, 10, 12, 0.92);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-top: 1px solid var(--hairline);
  transform: translateY(110%);
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
  pointer-events: none;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.sticky-cta-bar.is-visible {
  transform: translateY(0);
  pointer-events: auto;
}
.sticky-cta-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.85rem 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.sticky-cta-label {
  font-size: 0.88rem;
  letter-spacing: 0.01em;
  color: var(--text);
  opacity: 0.86;
  line-height: 1.3;
}
.sticky-cta-button {
  font-size: 0.82rem;
  padding: 0.7rem 1.1rem;
  white-space: nowrap;
  flex-shrink: 0;
}

@media (max-width: 720px) {
  .sticky-cta-label { display: none; }
  .sticky-cta-inner { justify-content: stretch; padding: 0.7rem 4vw; }
  .sticky-cta-button { width: 100%; text-align: center; justify-content: center; }
}

/* ==========================================================================
   BINDER TOUR — pinned horizontal scroll showcase of real PDF pages
   ========================================================================== */

.binder-tour {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background: #050507;
  overflow: hidden;
}

/* Header sits absolutely on top-left of the pinned section, stays visible
   throughout the horizontal scroll. */
.binder-tour-header {
  position: absolute;
  top: clamp(3rem, 7vh, 5rem);
  left: 5vw;
  right: 5vw;
  z-index: 3;
  max-width: 38rem;
  pointer-events: none;
}
.binder-tour-header .section-label {
  margin-bottom: 1rem;
}
.binder-tour-heading {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.8rem, 3.4vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 0.9rem;
}
.binder-tour-body {
  font-size: clamp(0.95rem, 1.1vw, 1.1rem);
  color: var(--text-mute);
  line-height: 1.5;
  font-weight: 300;
  max-width: 32rem;
}

/* Track wrapper occupies full viewport; track inside is wider than the
   viewport and translates left as the page scrolls (driven by GSAP). */
.binder-tour-track-wrap {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  z-index: 2;
}
.binder-tour-track {
  display: flex;
  gap: clamp(2rem, 4vw, 4rem);
  padding: 0 6vw 0 max(6vw, 38rem); /* left padding clears the header */
  align-items: center;
  will-change: transform;
}

.tour-card {
  flex: 0 0 auto;
  width: clamp(260px, 28vw, 440px);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: var(--text);
}
.tour-card-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  color: var(--accent);
  text-transform: uppercase;
}
.tour-card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1224 / 1584; /* matches PNG aspect from the script */
  background: #0d0d10;
  border: 1px solid var(--hairline);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(168, 132, 44, 0.04);
  transition: transform 0.35s var(--cubic, cubic-bezier(0.2, 0.8, 0.2, 1)), border-color 0.35s ease;
}
.tour-card:hover .tour-card-img-wrap {
  transform: translateY(-6px);
  border-color: rgba(168, 132, 44, 0.4);
}
.tour-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.tour-card-label {
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--text);
}

/* Final CTA card — invitation, not a page preview. */
.tour-card-cta {
  background: linear-gradient(180deg, rgba(168, 132, 44, 0.06), rgba(168, 132, 44, 0.02));
  border: 1px solid rgba(168, 132, 44, 0.35);
  padding: 2rem 1.6rem;
  justify-content: space-between;
  width: clamp(260px, 24vw, 360px);
  align-self: stretch;
}
.tour-card-cta .tour-card-num {
  font-size: 1.4rem;
  letter-spacing: 0;
}
.tour-cta-inner {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.tour-cta-eyebrow {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: clamp(1.2rem, 1.6vw, 1.6rem);
  line-height: 1.2;
  color: var(--text);
}

/* Mobile fallback: drop the pin, let the row scroll horizontally with finger.
   The pinned ScrollTrigger is disabled in JS below 720px. */
@media (max-width: 720px) {
  .binder-tour {
    height: auto;
    padding: 5vh 0 6vh;
  }
  .binder-tour-header {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    padding: 0 6vw;
    margin-bottom: 2rem;
  }
  .binder-tour-track-wrap {
    position: relative;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }
  .binder-tour-track {
    padding: 0 6vw;
    gap: 1.4rem;
  }
  .tour-card {
    width: 78vw;
    scroll-snap-align: start;
  }
  .tour-card-cta {
    width: 78vw;
  }
}

/* Respect reduced-motion: kill scroll-driven transforms, snap states */
@media (prefers-reduced-motion: reduce) {
  .hero-inner { opacity: 1 !important; }
  .hero-word-dark::after { clip-path: inset(0 0 0 0); -webkit-clip-path: inset(0 0 0 0); }
  .sticky-cta-bar { transition: none; }
  .hero-heading .char { transform: none; }
  .hero-tagline[data-split-lines] .line > .line-inner { transform: none; }
  .tour-card-img-wrap { transition: none; }
  /* Reduced motion: don't rotate the pills, show all three statically */
  .hero-pills.is-rotating { display: flex; min-height: 0; }
  .hero-pills.is-rotating .hero-pill { position: static; opacity: 1; transform: none; pointer-events: auto; transition: none; }
  /* Vignette: kill the breath, leave a static moderate edge darkness */
  .page-vignette.is-active { animation: none; opacity: 0.35; }
  /* Snap the underline drawn instead of animating the stroke-dashoffset */
  .dark-underline path { stroke-dashoffset: 0; }
  .hero-word-dark.is-drawn .dark-underline path { animation: none; }
}
