/* ==========================================================================
   FenBarns (fenbarns.com) — Architectural Post-Frame Flagship Stylesheet
   Palette:
     Timber Slate:          #161311
     Warm Barnwood Charcoal:#231D1A
     Barnwood Rust Copper:  #B84A27 / #DF6A42
     Warm Architectural Cream: #F7F4EF
     Crisp White Cards:     #FFFFFF
     Ink:                   #181412
   Typography: Playfair Display + Manrope
   ========================================================================== */

:root {
  --slate: #161311;
  --slate-deep: #100D0B;
  --charcoal: #231D1A;
  --charcoal-soft: #2E2622;
  --copper: #B84A27;
  --copper-bright: #DF6A42;
  --copper-hover: #C9552E;
  --copper-soft: rgba(184, 74, 39, 0.12);
  --amber-glow: #F3AD56;
  --cream: #F7F4EF;
  --cream-alt: #EFEAE1;
  --white: #FFFFFF;
  --ink: #181412;
  --ink-muted: #5A514A;
  --ink-subtle: #7A7068;
  --border-light: rgba(24, 20, 18, 0.11);
  --border-light-strong: rgba(24, 20, 18, 0.2);
  --border-dark: rgba(247, 244, 239, 0.12);
  --border-dark-strong: rgba(247, 244, 239, 0.22);

  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --shadow-sm: 0 4px 16px rgba(22, 19, 17, 0.06);
  --shadow-md: 0 14px 36px rgba(22, 19, 17, 0.10);
  --shadow-lg: 0 24px 64px rgba(14, 11, 9, 0.28);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  --container: 1220px;
  --header-h: 78px;
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background-color: var(--cream);
  line-height: 1.62;
  overflow-x: hidden;
}

body.drawer-open {
  overflow: hidden;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font-family: inherit;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.9em;
}

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

/* Skip Link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 9999;
  padding: 10px 18px;
  background: var(--copper);
  color: var(--white);
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 14px;
}

/* Container & Section Layout */
.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.section {
  padding: clamp(76px, 8.5vw, 122px) 0;
  position: relative;
}

.section-cream {
  background: var(--cream);
  color: var(--ink);
}

.section-cream-alt {
  background: var(--cream-alt);
  color: var(--ink);
}

.section-slate {
  background: var(--slate);
  color: var(--cream);
}

.section-charcoal {
  background: var(--charcoal);
  color: var(--cream);
}

/* Section Headers & Typography */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 14px;
}

.eyebrow-copper {
  color: var(--copper-bright);
}

.eyebrow-hero {
  padding: 7px 14px;
  background: rgba(22, 19, 17, 0.62);
  border: 1px solid rgba(223, 106, 66, 0.42);
  border-radius: 999px;
  color: #F7D4C6;
  backdrop-filter: blur(10px);
  margin-bottom: 24px;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--copper-bright);
  box-shadow: 0 0 0 0 rgba(223, 106, 66, 0.7);
  animation: pulseDot 2.2s infinite;
}

@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(223, 106, 66, 0.7); }
  70% { box-shadow: 0 0 0 9px rgba(223, 106, 66, 0); }
  100% { box-shadow: 0 0 0 0 rgba(223, 106, 66, 0); }
}

.section-header {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 28px 48px;
  align-items: end;
  margin-bottom: clamp(42px, 5vw, 64px);
}

.section-header-center {
  grid-template-columns: 1fr;
  text-align: center;
  justify-items: center;
  max-width: 760px;
  margin-inline: auto;
}

.section-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.6vw, 3.15rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.section-title em {
  font-style: italic;
  color: var(--copper);
}

.section-title-light {
  color: var(--white);
}

.section-title-light em {
  color: var(--copper-bright);
}

.section-subtitle {
  margin: 0;
  font-size: 1.03rem;
  color: var(--ink-muted);
  line-height: 1.68;
}

.section-subtitle-light {
  color: rgba(247, 244, 239, 0.74);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.22s var(--ease-out), background-color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, color 0.22s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-sm {
  padding: 10px 18px;
  font-size: 0.86rem;
}

.btn-lg {
  padding: 15px 28px;
  font-size: 0.98rem;
}

.btn-block {
  width: 100%;
}

.btn-copper {
  background: linear-gradient(135deg, var(--copper) 0%, var(--copper-bright) 100%);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(184, 74, 39, 0.34);
}

.btn-copper:hover {
  background: linear-gradient(135deg, var(--copper-hover) 0%, #E7744C 100%);
  box-shadow: 0 12px 30px rgba(184, 74, 39, 0.46);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(12px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-slate {
  background: var(--slate);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.12);
}

.btn-slate:hover {
  background: var(--charcoal-soft);
}

.btn-outline-dark {
  background: transparent;
  color: var(--white);
  border-color: rgba(247, 244, 239, 0.26);
}

.btn-outline-dark:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--copper-bright);
}

.btn-ghost-dark {
  background: transparent;
  color: var(--ink-muted);
  border-color: var(--border-light-strong);
}

.btn-ghost-dark:hover {
  color: var(--ink);
  border-color: var(--ink);
}

/* ==========================================================================
   1. STICKY GLASSMORPHIC HEADER & MOBILE DRAWER
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: linear-gradient(to bottom, rgba(22, 19, 17, 0.68), rgba(22, 19, 17, 0));
  border-bottom: 1px solid transparent;
  transition: background-color 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease, box-shadow 0.35s ease;
}

.site-header.is-scrolled {
  background: rgba(22, 19, 17, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: rgba(247, 244, 239, 0.11);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  flex-shrink: 0;
}

.brand-mark {
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-out);
}

.brand:hover .brand-mark {
  transform: scale(1.04);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.32rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--white);
}

.brand-sub {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(247, 244, 239, 0.62);
  margin-top: 2px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  position: relative;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(247, 244, 239, 0.82);
  transition: color 0.2s ease;
  padding: 6px 0;
}

.site-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--copper-bright);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease-out);
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--white);
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px 9px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Mobile Drawer */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1090;
  background: rgba(14, 11, 9, 0.68);
  backdrop-filter: blur(6px);
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(88vw, 360px);
  z-index: 1100;
  background: var(--slate);
  border-left: 1px solid var(--border-dark);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.34s var(--ease-out);
}

.mobile-drawer.is-open {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-dark);
}

.drawer-close {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  color: var(--white);
  cursor: pointer;
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px 0;
  flex: 1;
}

.drawer-nav a {
  padding: 13px 12px;
  border-radius: var(--radius-sm);
  color: rgba(247, 244, 239, 0.88);
  font-weight: 600;
  font-size: 0.98rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background-color 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}

.drawer-nav a:hover {
  background: rgba(223, 106, 66, 0.14);
  color: var(--white);
  padding-left: 18px;
}

.drawer-footer {
  padding-top: 18px;
  border-top: 1px solid var(--border-dark);
}

.drawer-meta {
  margin: 14px 0 0;
  font-size: 0.84rem;
  color: rgba(247, 244, 239, 0.64);
  text-align: center;
}

.drawer-meta a {
  color: var(--copper-bright);
  font-weight: 700;
}

/* ==========================================================================
   2. HERO SECTION & 4-STAT PROOF BAR
   ========================================================================== */
.hero {
  position: relative;
  min-height: min(96vh, 880px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: calc(var(--header-h) + 54px);
  padding-bottom: 42px;
  background: var(--slate);
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 54%;
  transform: scale(1.02);
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(22, 19, 17, 0.90) 0%, rgba(22, 19, 17, 0.72) 46%, rgba(22, 19, 17, 0.26) 100%),
    linear-gradient(to top, rgba(22, 19, 17, 0.94) 0%, rgba(22, 19, 17, 0.28) 38%, rgba(22, 19, 17, 0.35) 100%);
}

.hero-container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 54px;
}

.hero-content {
  max-width: 720px;
}

.hero-title {
  margin: 0 0 22px;
  font-family: var(--font-serif);
  font-size: clamp(2.45rem, 5.1vw, 4.2rem);
  font-weight: 600;
  line-height: 1.07;
  letter-spacing: -0.02em;
  color: var(--white);
}

.hero-title em {
  font-style: italic;
  color: #F4B395;
}

.hero-lead {
  margin: 0 0 32px;
  max-width: 610px;
  font-size: clamp(1.02rem, 1.4vw, 1.15rem);
  color: rgba(247, 244, 239, 0.86);
  line-height: 1.66;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* 4-Stat Proof Bar */
.hero-proof-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(22, 19, 17, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(247, 244, 239, 0.14);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.proof-stat {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-right: 1px solid rgba(247, 244, 239, 0.1);
}

.proof-stat:last-child {
  border-right: none;
}

.proof-value {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
}

.proof-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--copper-bright);
}

/* ==========================================================================
   3. 3-CARD EDITORIAL GALLERY & PHOTO SWAP CALLOUT
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.gallery-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.35s ease;
}

.gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(184, 74, 39, 0.32);
}

.gallery-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, #2A221E 0%, #1C1714 100%);
}

.gallery-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}

.gallery-card:hover .gallery-media img {
  transform: scale(1.07);
}

.gallery-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 12px;
  background: rgba(22, 19, 17, 0.82);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 3px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
}

.gallery-body {
  padding: 24px 24px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.gallery-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 10px;
}

.meta-sep {
  opacity: 0.5;
}

.gallery-title {
  margin: 0 0 12px;
  font-family: var(--font-serif);
  font-size: 1.44rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
}

.gallery-desc {
  margin: 0 0 20px;
  font-size: 0.93rem;
  color: var(--ink-muted);
  line-height: 1.62;
  flex: 1;
}

.gallery-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

.gallery-specs span {
  padding: 5px 10px;
  background: var(--cream);
  border: 1px solid var(--border-light);
  border-radius: 3px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ink);
}

/* Builder Photo Swap Callout */
.photo-swap-callout {
  margin-top: 34px;
  padding: 22px 28px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--copper);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: var(--shadow-sm);
}

.swap-callout-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--copper-soft);
  color: var(--copper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.swap-callout-copy {
  flex: 1;
}

.swap-callout-copy strong {
  display: block;
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 4px;
}

.swap-callout-copy p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-muted);
}

/* ==========================================================================
   4. LIVE POLE BARN ESTIMATOR & ANIMATED ARCHITECTURAL SVG VISUALIZER
   ========================================================================== */
.estimator-section {
  background:
    radial-gradient(circle at 84% 12%, rgba(184, 74, 39, 0.14), transparent 44%),
    linear-gradient(180deg, var(--slate) 0%, #1B1613 100%);
}

.estimator-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 30px;
  align-items: start;
}

/* Controls Column */
.estimator-controls {
  background: var(--charcoal);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
}

.control-block {
  padding-bottom: 22px;
  margin-bottom: 22px;
  border-bottom: 1px solid rgba(247, 244, 239, 0.09);
}

.control-block-last {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
}

.control-label-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.control-label {
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream);
}

.control-hint {
  font-size: 0.78rem;
  color: rgba(247, 244, 239, 0.56);
}

.control-readout-group {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.readout-dim {
  padding: 3px 9px;
  background: rgba(223, 106, 66, 0.18);
  border: 1px solid rgba(223, 106, 66, 0.45);
  border-radius: 3px;
  font-size: 0.82rem;
  font-weight: 800;
  color: #FBC0A7;
}

.readout-sqft {
  font-family: var(--font-serif);
  font-size: 1.32rem;
  font-weight: 700;
  color: var(--white);
}

/* Copper Range Slider */
.slider-wrap {
  margin-bottom: 14px;
}

.copper-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(
    to right,
    var(--copper-bright) 0%,
    var(--copper-bright) var(--slider-pct, 38%),
    rgba(255, 255, 255, 0.14) var(--slider-pct, 38%),
    rgba(255, 255, 255, 0.14) 100%
  );
  outline: none;
  cursor: pointer;
}

.copper-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--white);
  border: 4px solid var(--copper-bright);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.45);
  cursor: grab;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.copper-slider::-webkit-slider-thumb:hover {
  transform: scale(1.12);
  box-shadow: 0 0 0 6px rgba(223, 106, 66, 0.22);
}

.copper-slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--white);
  border: 4px solid var(--copper-bright);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.45);
  cursor: grab;
}

.slider-scale {
  display: flex;
  justify-content: space-between;
  margin-top: 7px;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(247, 244, 239, 0.48);
}

.preset-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.preset-chip {
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  color: rgba(247, 244, 239, 0.76);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.preset-chip:hover {
  border-color: rgba(223, 106, 66, 0.55);
  color: var(--white);
}

.preset-chip.is-active {
  background: rgba(184, 74, 39, 0.25);
  border-color: var(--copper-bright);
  color: var(--white);
}

/* Option Cards */
.option-grid {
  display: grid;
  gap: 10px;
}

.option-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.option-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.option-card {
  position: relative;
  text-align: left;
  padding: 13px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  color: var(--cream);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: background-color 0.22s ease, border-color 0.22s ease, transform 0.22s var(--ease-out), box-shadow 0.22s ease;
}

.option-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(223, 106, 66, 0.45);
}

.option-card.is-active {
  background: rgba(184, 74, 39, 0.20);
  border-color: var(--copper-bright);
  box-shadow: inset 0 0 0 1px rgba(223, 106, 66, 0.35);
}

.option-card-compact {
  padding: 12px 11px;
}

.option-title {
  font-size: 0.87rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.25;
}

.option-sub {
  font-size: 0.74rem;
  color: rgba(247, 244, 239, 0.62);
  line-height: 1.3;
}

.option-tag {
  display: inline-block;
  align-self: flex-start;
  padding: 2px 7px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.7rem;
  font-weight: 800;
  color: rgba(247, 244, 239, 0.88);
}

.option-tag-copper {
  background: rgba(223, 106, 66, 0.25);
  color: #FFBEA4;
}

.option-tag-amber {
  background: rgba(243, 173, 86, 0.24);
  color: #FFD9A0;
}

/* Segmented Bay Door Selector */
.segment-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.segment-btn {
  padding: 11px 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  color: var(--cream);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.segment-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(223, 106, 66, 0.5);
}

.segment-btn.is-active {
  background: linear-gradient(135deg, rgba(184, 74, 39, 0.34), rgba(223, 106, 66, 0.24));
  border-color: var(--copper-bright);
  color: var(--white);
}

.seg-num {
  font-family: var(--font-serif);
  font-size: 1.24rem;
  font-weight: 700;
  line-height: 1.1;
}

.seg-lbl {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(247, 244, 239, 0.68);
}

.segment-btn.is-active .seg-lbl {
  color: #FFD1BE;
}

/* Toggle Switches */
.toggle-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toggle-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 15px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color 0.22s ease, background-color 0.22s ease;
}

.toggle-card:hover {
  border-color: rgba(223, 106, 66, 0.45);
  background: rgba(255, 255, 255, 0.07);
}

.toggle-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.toggle-title {
  font-size: 0.89rem;
  font-weight: 700;
  color: var(--white);
}

.toggle-sub {
  font-size: 0.76rem;
  color: rgba(247, 244, 239, 0.6);
  line-height: 1.35;
}

.toggle-switch {
  position: relative;
  width: 48px;
  height: 28px;
  flex-shrink: 0;
}

.toggle-switch input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}

.switch-track {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  transition: background-color 0.28s ease, border-color 0.28s ease;
}

.switch-track::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  transition: transform 0.28s var(--ease-out);
}

.toggle-switch input:checked + .switch-track {
  background: var(--copper-bright);
  border-color: var(--copper-bright);
}

.toggle-switch input:checked + .switch-track::after {
  transform: translateX(20px);
}

.toggle-switch input:focus-visible + .switch-track {
  outline: 2px solid var(--amber-glow);
  outline-offset: 2px;
}

/* Right Stage: SVG Visualizer + Estimate + Live Builder Inbox */
.estimator-stage {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.visualizer-card {
  background: var(--slate-deep);
  border: 1px solid rgba(247, 244, 239, 0.14);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.visualizer-topbar {
  padding: 13px 18px;
  background: rgba(35, 29, 26, 0.92);
  border-bottom: 1px solid rgba(247, 244, 239, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.vis-title-group {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.vis-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--copper-bright);
  box-shadow: 0 0 10px var(--copper-bright);
}

.vis-cad-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: rgba(247, 244, 239, 0.78);
}

.vis-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.vis-badge {
  padding: 4px 10px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.71rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--cream);
}

.vis-badge-copper {
  background: rgba(184, 74, 39, 0.26);
  border-color: rgba(223, 106, 66, 0.5);
  color: #FFC9B3;
}

.visualizer-canvas {
  position: relative;
  width: 100%;
  background: #14100E;
}

#barn-visualizer-svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Smooth Architectural SVG Layer Transitions */
.svg-color-transition {
  transition: fill 0.42s ease, stroke 0.42s ease, opacity 0.4s ease;
}

.svg-smooth-fade {
  transition: opacity 0.4s var(--ease-out);
}

.svg-slab-layer {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out);
}

.svg-slab-layer.is-on {
  opacity: 1;
  transform: translateY(0);
}

.svg-insulation-layer {
  opacity: 0;
  transform: translateX(10px);
  transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out);
  pointer-events: none;
}

.svg-insulation-layer.is-on {
  opacity: 1;
  transform: translateX(0);
}

.svg-bay-door {
  transition: opacity 0.38s var(--ease-out), transform 0.38s var(--ease-out);
  transform-box: fill-box;
  transform-origin: center bottom;
}

.svg-bay-door.is-hidden {
  opacity: 0;
  transform: scaleY(0.76);
  pointer-events: none;
}

.svg-bay-door.is-visible {
  opacity: 1;
  transform: scaleY(1);
}

.svg-lights-layer .lamp-beam,
.svg-lights-layer .lamp-bulb-glow,
.svg-elec-glow {
  opacity: 0;
  transition: opacity 0.48s ease;
}

.svg-lights-layer.is-on .lamp-beam,
.svg-lights-layer.is-on .lamp-bulb-glow,
.svg-elec-glow.is-on {
  opacity: 1;
}

.svg-lights-layer .lamp-bulb {
  fill: #4A423C;
  transition: fill 0.42s ease;
}

.svg-lights-layer.is-on .lamp-bulb {
  fill: #FFF1C9;
}

.vis-telemetry {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(247, 244, 239, 0.1);
  background: rgba(28, 23, 20, 0.95);
}

.tel-item {
  padding: 11px 14px;
  border-right: 1px solid rgba(247, 244, 239, 0.08);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tel-item:last-child {
  border-right: none;
}

.tel-k {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(247, 244, 239, 0.48);
}

.tel-v {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--cream);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tel-v-active {
  color: #D8E8CF;
}

.tel-v-amber {
  color: #FFD592;
}

/* Estimate Readout Card */
.estimate-readout-card {
  background: linear-gradient(135deg, #27201C 0%, #1F1916 100%);
  border: 1px solid rgba(223, 106, 66, 0.34);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
}

.estimate-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(247, 244, 239, 0.1);
}

.estimate-eyebrow {
  display: block;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--copper-bright);
  margin-bottom: 6px;
}

.estimate-range {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.08;
  font-variant-numeric: tabular-nums;
}

.estimate-timeline-box {
  text-align: right;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
}

.timeline-label {
  display: block;
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(247, 244, 239, 0.56);
}

.timeline-val {
  font-size: 0.94rem;
  font-weight: 800;
  color: var(--cream);
}

.estimate-breakdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.break-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.break-item span {
  font-size: 0.72rem;
  color: rgba(247, 244, 239, 0.58);
}

.break-item strong {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  font-variant-numeric: tabular-nums;
}

/* Live Builder Inbox Lead Preview Card */
.inbox-preview-card {
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-md);
}

.inbox-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.inbox-meta-left {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.inbox-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #2C8A56;
}

.inbox-title {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink);
}

.inbox-tag {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--copper-soft);
  color: var(--copper);
  font-size: 0.73rem;
  font-weight: 800;
}

.inbox-envelope {
  padding: 12px 14px;
  background: var(--cream);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
}

.inbox-row-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.76rem;
  color: var(--ink-muted);
  margin-bottom: 4px;
}

.inbox-time {
  font-weight: 700;
  color: var(--copper);
}

.inbox-subject {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--ink);
}

.inbox-specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px 14px;
  padding-bottom: 16px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border-light);
}

.inbox-spec {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.inbox-spec span {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--ink-subtle);
}

.inbox-spec strong {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--ink);
}

.inbox-budget {
  color: var(--copper) !important;
}

.inbox-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.inbox-footer p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--ink-muted);
  max-width: 310px;
  line-height: 1.45;
}

/* ==========================================================================
   5. BEFORE VS. AFTER COMPARISON
   ========================================================================== */
.comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.compare-card {
  border-radius: var(--radius-lg);
  padding: 36px 34px;
}

.compare-before {
  background: var(--white);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.compare-after {
  background: var(--slate);
  color: var(--cream);
  border: 1px solid rgba(223, 106, 66, 0.38);
  box-shadow: var(--shadow-lg);
}

.compare-header {
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-light);
}

.compare-after .compare-header {
  border-bottom-color: var(--border-dark);
}

.compare-pill {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 3px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.compare-pill-muted {
  background: var(--cream-alt);
  color: var(--ink-muted);
}

.compare-pill-copper {
  background: rgba(223, 106, 66, 0.22);
  color: #FFBEA4;
  border: 1px solid rgba(223, 106, 66, 0.45);
}

.compare-header h3 {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-size: 1.62rem;
  font-weight: 600;
  line-height: 1.2;
}

.compare-after .compare-header h3 {
  color: var(--white);
}

.compare-header p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--ink-muted);
}

.compare-after .compare-header p {
  color: rgba(247, 244, 239, 0.7);
}

.compare-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.compare-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.icon-x,
.icon-check {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}

.icon-x {
  background: rgba(184, 74, 39, 0.11);
  color: var(--copper);
}

.icon-check {
  background: rgba(223, 106, 66, 0.24);
  color: #FFB999;
  border: 1px solid rgba(223, 106, 66, 0.5);
}

.compare-list strong {
  display: block;
  font-size: 0.98rem;
  margin-bottom: 4px;
}

.compare-after .compare-list strong {
  color: var(--white);
}

.compare-list p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-muted);
  line-height: 1.55;
}

.compare-after .compare-list p {
  color: rgba(247, 244, 239, 0.72);
}

/* ==========================================================================
   6. FLAT TRANSPARENT PRICING ($450 / $550)
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 980px;
  margin-inline: auto;
}

.pricing-card {
  position: relative;
  background: var(--slate);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 36px 34px;
  display: flex;
  flex-direction: column;
}

.pricing-card-featured {
  background: linear-gradient(165deg, #211A17 0%, #161311 100%);
  border: 1.5px solid var(--copper-bright);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  right: 28px;
  padding: 6px 14px;
  background: linear-gradient(135deg, var(--copper), var(--copper-bright));
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 3px;
  box-shadow: 0 6px 18px rgba(184, 74, 39, 0.45);
}

.pricing-card-top {
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-dark);
}

.pricing-kicker {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(247, 244, 239, 0.56);
  margin-bottom: 8px;
}

.pricing-kicker-copper {
  color: var(--copper-bright);
}

.pricing-name {
  margin: 0 0 10px;
  font-family: var(--font-serif);
  font-size: 1.78rem;
  font-weight: 600;
  color: var(--white);
}

.pricing-summary {
  margin: 0 0 22px;
  font-size: 0.93rem;
  color: rgba(247, 244, 239, 0.72);
  line-height: 1.6;
}

.pricing-figure {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.price-currency {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--copper-bright);
}

.price-amount {
  font-family: var(--font-serif);
  font-size: 3.45rem;
  font-weight: 700;
  line-height: 1;
  color: var(--white);
}

.price-term {
  margin-left: 8px;
  font-size: 0.86rem;
  font-weight: 700;
  color: rgba(247, 244, 239, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pricing-features {
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
  flex: 1;
}

.pricing-features li {
  position: relative;
  padding-left: 24px;
  font-size: 0.93rem;
  color: rgba(247, 244, 239, 0.84);
  line-height: 1.5;
}

.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--copper-bright);
  font-weight: 800;
}

.pricing-guarantee {
  max-width: 980px;
  margin: 28px auto 0;
  padding: 18px 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(247, 244, 239, 0.82);
  font-size: 0.92rem;
}

.pricing-guarantee svg {
  color: var(--copper-bright);
  flex-shrink: 0;
}

/* ==========================================================================
   7. 3-STEP 24-HOUR TURNKEY LAUNCH
   ========================================================================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.process-step {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.step-num {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1;
  color: var(--copper);
  margin-bottom: 14px;
}

.step-bar {
  width: 46px;
  height: 3px;
  background: var(--slate);
  margin-bottom: 18px;
}

.process-step h3 {
  margin: 0 0 12px;
  font-family: var(--font-serif);
  font-size: 1.42rem;
  font-weight: 600;
  color: var(--ink);
}

.process-step p {
  margin: 0 0 22px;
  font-size: 0.94rem;
  color: var(--ink-muted);
  line-height: 1.64;
  flex: 1;
}

.step-time {
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--copper);
}

/* ==========================================================================
   8. FAQ ACCORDION
   ========================================================================== */
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 48px;
  align-items: start;
}

.faq-desk-card {
  margin-top: 28px;
  padding: 22px 24px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--copper);
  border-radius: var(--radius-md);
}

.faq-desk-label {
  display: block;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-subtle);
  margin-bottom: 6px;
}

.faq-desk-link {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--copper);
  margin-bottom: 8px;
}

.faq-desk-link:hover {
  text-decoration: underline;
}

.faq-desk-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ink-muted);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.faq-item.is-open {
  border-color: rgba(184, 74, 39, 0.36);
  box-shadow: var(--shadow-sm);
}

.faq-trigger {
  width: 100%;
  padding: 20px 24px;
  background: transparent;
  border: none;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
}

.faq-icon {
  position: relative;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  background: var(--copper);
  transform: translate(-50%, -50%);
  transition: transform 0.28s var(--ease-out), opacity 0.28s ease;
}

.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item.is-open .faq-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
  opacity: 0;
}

.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.34s var(--ease-out);
}

.faq-item.is-open .faq-panel {
  grid-template-rows: 1fr;
}

.faq-panel-inner {
  overflow: hidden;
}

.faq-panel-inner p {
  margin: 0;
  padding: 0 24px 22px;
  font-size: 0.94rem;
  color: var(--ink-muted);
  line-height: 1.66;
}

/* ==========================================================================
   9. PRIVATE PREVIEW FORM
   ========================================================================== */
.preview-section {
  background:
    radial-gradient(circle at 12% 88%, rgba(184, 74, 39, 0.16), transparent 46%),
    var(--slate);
}

.preview-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 48px;
  align-items: start;
}

.preview-highlights {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.preview-highlight {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.ph-dot {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--copper-bright);
  margin-top: 7px;
  flex-shrink: 0;
}

.preview-highlight strong {
  display: block;
  color: var(--white);
  font-size: 0.98rem;
  margin-bottom: 3px;
}

.preview-highlight p {
  margin: 0;
  font-size: 0.91rem;
  color: rgba(247, 244, 239, 0.72);
}

.preview-highlight a {
  color: var(--copper-bright);
  font-weight: 700;
}

.preview-form-card {
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: 34px 32px;
  box-shadow: var(--shadow-lg);
}

.attached-spec-banner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 15px;
  margin-bottom: 20px;
  background: var(--cream);
  border: 1px solid rgba(184, 74, 39, 0.35);
  border-left: 4px solid var(--copper);
  border-radius: var(--radius-sm);
}

.attached-spec-banner[hidden] {
  display: none;
}

.attached-spec-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 3px;
}

.attached-spec-banner p {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
}

.attached-spec-clear {
  background: transparent;
  border: none;
  font-size: 1.25rem;
  line-height: 1;
  color: var(--ink-subtle);
  cursor: pointer;
  padding: 2px 6px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.form-field {
  margin-bottom: 16px;
}

.form-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}

.req {
  color: var(--copper);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--cream);
  border: 1px solid var(--border-light-strong);
  border-radius: var(--radius-sm);
  font-size: 0.94rem;
  color: var(--ink);
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--copper);
  box-shadow: 0 0 0 3px rgba(184, 74, 39, 0.14);
}

.form-field textarea {
  resize: vertical;
  min-height: 86px;
}

.form-error {
  margin: 0 0 14px;
  padding: 10px 14px;
  background: rgba(184, 74, 39, 0.1);
  border: 1px solid rgba(184, 74, 39, 0.35);
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  font-weight: 700;
  color: #9A3516;
}

.form-footnote {
  margin: 14px 0 0;
  text-align: center;
  font-size: 0.83rem;
  color: var(--ink-muted);
}

.form-footnote a {
  color: var(--copper);
  font-weight: 700;
}

/* Success Panel */
.form-success {
  text-align: left;
}

.success-check {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(44, 138, 86, 0.14);
  color: #1F7245;
  font-size: 1.35rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.form-success h3 {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-size: 1.55rem;
  color: var(--ink);
}

.form-success p {
  margin: 0 0 16px;
  font-size: 0.92rem;
  color: var(--ink-muted);
}

.success-summary {
  margin: 0 0 20px;
  padding: 16px;
  background: var(--cream);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--ink);
  white-space: pre-wrap;
  word-break: break-word;
}

.success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ==========================================================================
   10. TIMBER SLATE FOOTER
   ========================================================================== */
.site-footer {
  background: var(--slate-deep);
  color: rgba(247, 244, 239, 0.74);
  border-top: 1px solid rgba(247, 244, 239, 0.1);
  padding: 68px 0 34px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.45fr 0.75fr 0.75fr 1.05fr;
  gap: 36px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(247, 244, 239, 0.09);
}

.footer-tagline {
  margin: 16px 0 0;
  max-width: 340px;
  font-size: 0.9rem;
  line-height: 1.64;
  color: rgba(247, 244, 239, 0.64);
}

.footer-nav-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav-col h4 {
  margin: 0 0 6px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
}

.footer-nav-col a {
  font-size: 0.9rem;
  color: rgba(247, 244, 239, 0.68);
  transition: color 0.2s ease;
}

.footer-nav-col a:hover {
  color: var(--copper-bright);
}

.footer-email {
  font-family: var(--font-serif);
  font-size: 1.2rem !important;
  font-weight: 600;
  color: var(--copper-bright) !important;
}

.footer-note {
  margin: 4px 0 0;
  font-size: 0.84rem;
  line-height: 1.58;
  color: rgba(247, 244, 239, 0.56);
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: rgba(247, 244, 239, 0.52);
}

.footer-bottom p {
  margin: 0;
}

/* ==========================================================================
   SCROLL REVEAL ANIMATION
   ========================================================================== */
.js-ready .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.js-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .js-ready .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .eyebrow-dot {
    animation: none;
  }
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1120px) {
  .estimator-shell {
    grid-template-columns: 1fr;
  }
  .section-header {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (max-width: 960px) {
  .site-nav,
  .header-actions .btn {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .gallery-grid,
  .process-grid,
  .comparison-grid,
  .pricing-grid,
  .faq-layout,
  .preview-grid {
    grid-template-columns: 1fr;
  }
  .hero-proof-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  .proof-stat:nth-child(2) {
    border-right: none;
  }
  .proof-stat:nth-child(1),
  .proof-stat:nth-child(2) {
    border-bottom: 1px solid rgba(247, 244, 239, 0.1);
  }
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, var(--container));
  }
  .hero {
    min-height: auto;
    padding-top: calc(var(--header-h) + 34px);
    padding-bottom: 34px;
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .photo-swap-callout {
    flex-direction: column;
    align-items: flex-start;
  }
  .estimator-controls {
    padding: 20px 18px;
  }
  .option-grid-2,
  .option-grid-3 {
    grid-template-columns: 1fr;
  }
  .vis-telemetry,
  .estimate-breakdown {
    grid-template-columns: repeat(2, 1fr);
  }
  .tel-item:nth-child(2) {
    border-right: none;
  }
  .tel-item:nth-child(1),
  .tel-item:nth-child(2) {
    border-bottom: 1px solid rgba(247, 244, 239, 0.08);
  }
  .inbox-specs-grid,
  .form-row-2,
  .footer-top {
    grid-template-columns: 1fr;
  }
  .estimate-top {
    flex-direction: column;
    align-items: flex-start;
  }
  .estimate-timeline-box {
    text-align: left;
  }
  .compare-card,
  .pricing-card,
  .preview-form-card {
    padding: 26px 20px;
  }
}
