/* ===========================================================
   SwitchDome Canada — Concept 6: "Apidura Flow" (taste-skill build)
   Design read: redesign (preserve copy voice/IA) of a premium
   outdoor/expedition landing page for Canadian prefab-home buyers,
   rugged heritage-outdoor language, leaning on Apidura's expedition
   photography + condensed weight-contrast typography + the hero's
   photo bleeding down into the body rather than cutting to a hard
   section edge, accented with Machu Picchu's gold ceremonial motif
   further down the page (diamond photo frames, serif emphasis).
   Dials: DESIGN_VARIANCE 7, MOTION_INTENSITY 6, VISUAL_DENSITY 3
   Base taste references: apidura-ultralight-cycling (hex-grid-navigator),
   machu-picchu-excursion-route (documentary-expedition-editorial)
   =========================================================== */

:root {
  --charcoal: #171310;
  --charcoal-raised: #211C17;
  --snow: #F5F1E8;
  --muted-grey: #A79C8C;
  --champagne: #C9A24E;
  --champagne-dark: #2A2317;
  --forest: #2E4A3D;
  --amber: #C9A24E;
  --sage: #B8C79A;
  --border: rgba(245, 241, 232, 0.1);

  --font-body: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Oswald", "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;

  --container-width: 1200px;
  --section-pad-y: 120px;
  --section-pad-y-mobile: 64px;
}

h1, .h1 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 400;
  letter-spacing: 0.005em;
}
h1 strong, .h1 strong { font-weight: 700; }
h2, .h2 { font-family: var(--font-display); text-transform: uppercase; font-weight: 600; letter-spacing: 0.01em; }
.btn { text-transform: uppercase; letter-spacing: 0.04em; font-size: 14px; border-radius: 3px; }

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

html { scroll-behavior: smooth; }

body {
  background: var(--charcoal);
  color: var(--snow);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 32px;
}

.section {
  padding: var(--section-pad-y) 0;
}

.section-tight { padding: 80px 0; }

/* ---------- Typography ---------- */

.label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--champagne);
  margin-bottom: 16px;
}

h1, .h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 56px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--snow);
}

h2, .h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 40px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--snow);
}

h3, .h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--snow);
}

.statement {
  font-style: italic;
  font-weight: 300;
  font-size: 34px;
  line-height: 1.35;
  color: var(--snow);
}

.body-text {
  font-size: 17px;
  color: var(--muted-grey);
  line-height: 1.7;
}

.small-text {
  font-size: 14px;
  color: var(--muted-grey);
}

.center { text-align: center; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.12s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
/* Tactile press feedback on every button -- the same "yes, that
   registered" nudge as the image cards get on tap. */
.btn:active { transform: scale(0.96); }

.btn-primary {
  background: var(--champagne);
  color: var(--charcoal);
}
.btn-primary:hover { background: #d4c6ac; }
/* .main-nav a { color: var(--muted-grey) } otherwise outranks .btn-primary's
   text color on the header CTA (a class selector under .main-nav a beats a
   single class), washing the button text out to a near-invisible gold-on-gold.
   Pin it back explicitly, here where every page's header button lives. */
.main-nav .btn-primary,
.main-nav .btn-primary:hover { color: var(--charcoal); }

.btn-ghost {
  background: transparent;
  color: var(--snow);
  border-color: rgba(247, 247, 245, 0.35);
}
.btn-ghost:hover { border-color: var(--snow); }

.btn-link {
  color: var(--champagne);
  font-weight: 600;
  font-size: 15px;
  border-bottom: 1px solid var(--champagne);
  padding-bottom: 2px;
  display: inline-block;
}

/* ---------- Launch promo banner ---------- */

.promo-banner {
  background: linear-gradient(90deg, var(--champagne-dark), var(--charcoal-raised));
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
  text-align: center;
}
.promo-banner-text {
  font-size: 13px;
  color: var(--snow);
  letter-spacing: 0.01em;
}
.promo-banner-text strong { color: var(--champagne); font-weight: 700; }
@media (max-width: 680px) {
  .promo-banner-text { font-size: 12px; line-height: 1.5; display: block; }
}

/* ---------- Bulk order discount (resort-style panel) ---------- */

.bulk-discount {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  padding: 56px 48px;
  isolation: isolate;
}
.bulk-discount img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.bulk-discount::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(23,19,16,0.82) 0%, rgba(23,19,16,0.5) 45%, rgba(23,19,16,0.12) 100%);
  z-index: -1;
  pointer-events: none;
}
.bulk-discount-content { max-width: 480px; }
.bulk-discount .small-caps-gold { display: block; margin-bottom: 14px; }
.bulk-discount h3 { font-size: 26px; margin-bottom: 14px; text-transform: none; }
.bulk-discount p { color: var(--muted-grey); margin-bottom: 20px; }
.bulk-discount .price-row { display: flex; align-items: baseline; gap: 12px; margin-bottom: 20px; }
.bulk-discount .price-row .was { color: var(--muted-grey); text-decoration: line-through; font-size: 17px; }
.bulk-discount .price-row .now { color: var(--champagne); font-size: 30px; font-weight: 700; }
@media (max-width: 680px) {
  .bulk-discount { padding: 40px 24px; }
}

/* ---------- Header / Nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(27, 28, 32, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.08em;
  color: var(--snow);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.main-nav a {
  font-size: 15px;
  color: var(--muted-grey);
}
.main-nav a:hover, .main-nav a.active { color: var(--snow); }

.nav-toggle { display: none; }

/* ---------- Hero ---------- */

.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
}

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

.hero h1 { margin-bottom: 24px; }

.hero .body-text { font-size: 19px; margin-bottom: 40px; max-width: 560px; }

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.trust-strip {
  font-size: 13px;
  color: var(--muted-grey);
}

/* ---------- Scroll-scrubbed hero video ---------- */

.hero-scroll {
  position: relative;
  height: 280vh;
}

.hero-scroll-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-scroll-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-scroll-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.hero-scroll-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(27,28,32,0.55) 0%, rgba(27,28,32,0.25) 35%, rgba(27,28,32,0.5) 100%);
}

.hero-text {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  max-width: 560px;
  z-index: 2;
  will-change: transform, opacity;
}
/* Legibility handled by color + a tight per-letter shadow only -- no
   scrim panel behind the text, so there's no rectangular edge visible
   against the video. Small blur radii so the shadow hugs each glyph
   instead of reading as a soft glow. */
.hero-text h1 {
  color: var(--snow);
  text-shadow: 0 1px 2px rgba(0,0,0,0.9), 0 2px 6px rgba(0,0,0,0.75);
}
.hero-text .body-text {
  color: #EDE7DC;
  text-shadow: 0 1px 2px rgba(0,0,0,0.95), 0 1px 5px rgba(0,0,0,0.8);
}
.hero-text .trust-strip,
.hero-text .label {
  text-shadow: 0 1px 2px rgba(0,0,0,0.95), 0 1px 4px rgba(0,0,0,0.8);
}

.hero-text-a {
  left: 64px;
}

.hero-text-b {
  right: 64px;
  text-align: right;
  opacity: 0;
}
.hero-text-b .hero-actions,
.hero-text-b .btn-ghost { margin-left: auto; }

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--snow);
  opacity: 0.75;
  transition: opacity 0.3s ease;
}

/* Reduced motion / touch-device fallback: no pin, no scrub — just a normal
   looping background video. Two flavors:
   - plain .no-scrub (prefers-reduced-motion, on any device): a single
     static text panel, no extra motion introduced, respecting the user's
     stated preference for less animation.
   - .no-scrub.text-cycle (touch devices -- phone/iPad -- which never had
     scroll-scrub to begin with): the two text panels crossfade back and
     forth on a timer instead, so touch visitors still get *some* version
     of the two-message reveal the desktop scroll effect provides. */
.hero-scroll.no-scrub {
  height: 100vh;
}
.hero-scroll.no-scrub .hero-scroll-stage {
  position: relative;
}
.hero-scroll.no-scrub .hero-scroll-hint {
  display: none;
}
.hero-scroll.no-scrub .hero-text-b {
  display: none;
}
.hero-scroll.no-scrub.text-cycle .hero-text-a,
.hero-scroll.no-scrub.text-cycle .hero-text-b {
  transition: opacity 1s ease;
}
.hero-scroll.no-scrub.text-cycle .hero-text-b {
  display: block;
  opacity: 0;
}
.hero-scroll.no-scrub .hero-text-a {
  opacity: 1;
  transform: translateY(-50%);
}

/* ---------- Split section ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
}

.split-reverse { direction: rtl; }
.split-reverse > * { direction: ltr; }

.split img, .split .media-frame {
  border-radius: 8px;
  overflow: hidden;
}

.media-frame {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--charcoal-raised);
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; }

.media-frame.wide { aspect-ratio: 16/9; }

.play-button {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(247,247,245,0.15);
  border: 1px solid rgba(247,247,245,0.4);
  display: flex; align-items: center; justify-content: center;
}
.play-button::after {
  content: "";
  border-left: 16px solid var(--snow);
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  margin-left: 4px;
}

/* ---------- Cards / grids ---------- */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

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

.use-case-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--charcoal-raised);
  display: block;
  transition: transform 0.15s ease;
}
.use-case-card img {
  width: 100%; height: 100%; object-fit: cover;
  position: absolute; inset: 0;
  transition: transform 0.5s cubic-bezier(0.16,1,0.3,1);
}
.use-case-card:hover img { transform: scale(1.06); }
.use-case-card:active { transform: scale(0.98); }
.use-case-card .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.1) 60%);
  pointer-events: none;
}
.use-case-card .content {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 28px;
}
.use-case-card .tag {
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; margin-bottom: 10px; display: block;
}
.use-case-card .tag.forest { color: var(--forest); }
.use-case-card .tag.amber { color: var(--amber); }
.use-case-card .tag.sage { color: var(--sage); }
.use-case-card .tag.clay { color: #A0705A; }
.use-case-card h3 { margin-bottom: 8px; }
.use-case-card p { font-size: 14px; color: var(--muted-grey); margin-bottom: 12px; }

.proof-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.proof-item h4 { font-size: 17px; margin-bottom: 6px; }
.proof-item p { font-size: 14px; color: var(--muted-grey); }

/* ---------- Spring/winter hover reveal ----------
   Two stacked <img>s. The top one (winter) is clipped to a small
   soft-edged circle via a CSS mask, positioned at the cursor. Using
   mask-position (not re-drawing the gradient every frame, and not a
   real filter:blur()) keeps this compositor-cheap — no canvas, no
   per-frame image decoding, just a GPU-friendly property change. */

.season-compare {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 12px;
  overflow: hidden;
  cursor: crosshair;
  /* JS reads this to size the reveal mask, so the radius stays in
     sync between CSS and the mask-position math -- override it per
     breakpoint here, not in the script. */
  --reveal-radius: 265px;
}
.season-compare img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
.season-reveal {
  opacity: 0;
  transition: opacity 0.25s ease;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: calc(var(--reveal-radius) * 2) calc(var(--reveal-radius) * 2);
  mask-size: calc(var(--reveal-radius) * 2) calc(var(--reveal-radius) * 2);
  -webkit-mask-image: radial-gradient(circle var(--reveal-radius), black 45%, transparent 100%);
  mask-image: radial-gradient(circle var(--reveal-radius), black 45%, transparent 100%);
}
.season-compare.is-active .season-reveal {
  opacity: 1;
}

.season-tooltip {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  background: rgba(27, 28, 32, 0.85);
  border: 1px solid rgba(247, 247, 245, 0.15);
  color: var(--snow);
  font-size: 13px;
  line-height: 1.5;
  padding: 10px 16px;
  border-radius: 8px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.season-tooltip strong {
  color: var(--champagne);
  font-weight: 700;
}
.season-compare.is-active .season-tooltip {
  opacity: 1;
}

/* ---------- Real-photo gallery ---------- */

/* Asymmetric bento layout: one tall hero card on the left, two small
   cards stacked top-right, one wide card spanning the bottom-right. */
.photo-gallery {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  grid-template-rows: 0.68fr 1fr;
  gap: 20px;
  aspect-ratio: 1.75;
}
.gallery-card {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: var(--charcoal-raised);
  border: none;
  padding: 0;
  cursor: pointer;
  transform: scale(1);
  transition: transform 0.25s ease, opacity 0.25s ease, box-shadow 0.25s ease;
}
.gallery-card.card-hero { grid-column: 1; grid-row: 1 / span 2; }
.gallery-card.card-top-a { grid-column: 2; grid-row: 1; }
.gallery-card.card-top-b { grid-column: 3; grid-row: 1; }
.gallery-card.card-wide { grid-column: 2 / span 2; grid-row: 2; }

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gallery-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 24px;
  padding-top: 64px;
  background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
  color: var(--snow);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.gallery-caption-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
}
.gallery-caption-desc {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(247, 247, 245, 0.75);
  max-width: 44ch;
}
/* Hover "pop": the hovered card scales up and lifts, its siblings dim
   slightly so it reads as more prominent — pure transform/opacity, no
   layout reflow, so it stays smooth even on lower-powered laptops. */
.photo-gallery:hover .gallery-card {
  opacity: 0.85;
}
.gallery-card:hover {
  opacity: 1 !important;
  transform: scale(1.035);
  z-index: 2;
  box-shadow: 0 20px 45px rgba(0,0,0,0.45);
}
.gallery-card:active { transform: scale(0.985) !important; }
.gallery-card:focus-visible {
  outline: 2px solid var(--champagne);
  outline-offset: 2px;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(10, 10, 12, 0.94);
  align-items: center;
  justify-content: center;
}
.lightbox.is-open {
  display: flex;
}
.lightbox-figure {
  max-width: 88vw;
  max-height: 86vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lightbox-image {
  max-width: 88vw;
  max-height: 76vh;
  width: auto;
  height: auto;
  border-radius: 8px;
  object-fit: contain;
}
.lightbox-caption {
  margin-top: 16px;
  text-align: center;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.lightbox-caption-title {
  color: var(--snow);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
}
.lightbox-caption-desc {
  color: var(--muted-grey);
  font-size: 14px;
  line-height: 1.6;
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(247,247,245,0.2);
  color: var(--snow);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255,255,255,0.18);
}
.lightbox-close {
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  font-size: 26px;
  line-height: 1;
}
.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  font-size: 28px;
}
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

/* Flexible auto-flow gallery variant: used on the four non-Original model
   pages so photos can be freely added/deleted through the site editor.
   Unlike Original's fixed hero/top-a/top-b/wide bento grid above, each
   photo just carries a size class (assigned once from its aspect ratio
   when added) and grid-auto-flow: dense packs however many exist. */
.photo-gallery.pg-auto {
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: none;
  grid-auto-rows: 130px;
  grid-auto-flow: dense;
  aspect-ratio: unset;
}
.photo-gallery.pg-auto .gallery-card { grid-column: span 2; grid-row: span 2; }
.photo-gallery.pg-auto .gallery-card.gc-wide { grid-column: span 4; grid-row: span 2; }
.photo-gallery.pg-auto .gallery-card.gc-tall { grid-column: span 2; grid-row: span 3; }
.photo-gallery.pg-auto .gallery-card.gc-big { grid-column: span 4; grid-row: span 3; }
.photo-gallery.pg-auto .gallery-card.gc-add {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  border: 2px dashed var(--border);
  background: transparent;
  color: var(--muted-grey);
  font-size: 13px;
  font-weight: 600;
}
.photo-gallery.pg-auto .gallery-card.gc-add:hover {
  border-color: var(--champagne);
  color: var(--champagne);
  transform: none;
  box-shadow: none;
}
.photo-gallery.pg-auto .gallery-card.gc-add .gc-add-icon { font-size: 28px; line-height: 1; }
@media (max-width: 680px) {
  .photo-gallery.pg-auto { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .photo-gallery.pg-auto .gallery-card,
  .photo-gallery.pg-auto .gallery-card.gc-wide,
  .photo-gallery.pg-auto .gallery-card.gc-tall,
  .photo-gallery.pg-auto .gallery-card.gc-big { grid-column: span 1; grid-row: span 1; aspect-ratio: 4/3; }
  .photo-gallery.pg-auto .gallery-card.gc-add { aspect-ratio: 4/3; }
}

/* ---------- Dome anatomy hover ---------- */

.dome-anatomy {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: center;
}
.dome-anatomy + .dome-anatomy { margin-top: 56px; }
.dome-anatomy--reverse { grid-template-columns: 1fr 1.4fr; }
.dome-anatomy-media {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: var(--charcoal-raised);
  aspect-ratio: 1600 / 893;
}
.dome-anatomy-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* "Spotlight" hotspots, positioned as percentages of the media frame so
   they stay aligned with the underlying part as the image scales. Rather
   than an additive glow (which disappears over already-bright/warm
   photos), a huge box-shadow spread dims everything OUTSIDE the shape —
   clipped by the media frame's overflow:hidden — so the accent reads
   clearly no matter how light or dark the part underneath is. Pure
   opacity/transform — cheap for the compositor. */
.anatomy-hotspot {
  position: absolute;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0.85);
  background: radial-gradient(circle, rgba(226,190,130,0.16) 0%, rgba(226,190,130,0) 72%);
  box-shadow:
    0 0 0 9999px rgba(10,10,12,0.55),
    0 0 40px 12px rgba(226,190,130,0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.anatomy-hotspot.is-active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.anatomy-hotspot[data-part="exterior"]   { left: 81%;   top: 39%;   width: 21%; height: 37%; }
.anatomy-hotspot[data-part="joint"]      { left: 84%;   top: 39%;   width: 5.5%; height: 10%; }
.anatomy-hotspot[data-part="insulation"] { left: 70.1%; top: 41%;   width: 6.5%; height: 33%; }
.anatomy-hotspot[data-part="interior"]   { left: 66.1%; top: 40.2%; width: 5.5%; height: 31%; }
.anatomy-hotspot[data-part="glazing"]    { left: 29%;   top: 60%;   width: 17%; height: 34%; }
.anatomy-hotspot[data-part="ceiling"]    { left: 49%;   top: 11%;   width: 32%; height: 20%; }
.anatomy-hotspot[data-part="floor"]      { left: 47%;   top: 58%;   width: 22%; height: 22%; }
.anatomy-hotspot[data-part="bathroom"]   { left: 66%;   top: 57%;   width: 24%; height: 32%; }

.anatomy-list {
  display: flex;
  flex-direction: column;
  list-style: none;
  margin: 0;
  padding: 0;
}
.anatomy-item {
  padding: 22px 4px;
  border-bottom: 1px solid var(--border);
  cursor: default;
}
.anatomy-item:first-child { padding-top: 0; }
.anatomy-item:last-child { border-bottom: none; }
.anatomy-item h4 {
  margin-bottom: 8px;
  font-size: 17px;
  transition: color 0.2s ease;
}
.anatomy-item p {
  color: var(--muted-grey);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}
.anatomy-item.is-active h4 { color: var(--champagne); }
.anatomy-item:focus-visible {
  outline: 2px solid var(--champagne);
  outline-offset: 4px;
}

/* ---------- Model / pricing cards ---------- */

.model-card {
  background: var(--charcoal-raised);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.model-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.model-card .body { padding: 28px; }
.model-card .spec-line { font-size: 14px; color: var(--muted-grey); margin: 8px 0 16px; }
.model-card .price { font-size: 28px; font-weight: 700; margin-top: 8px; }
.model-card .price-note { font-size: 13px; color: var(--muted-grey); margin-bottom: 20px; }
.model-card .btn { width: 100%; }

.pricing-card {
  background: var(--charcoal-raised);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 40px 32px;
}
.pricing-card.featured { border-color: var(--champagne); }
.pricing-card .tier-name { font-size: 14px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--champagne); margin-bottom: 12px; }
.pricing-card .price { font-size: 36px; font-weight: 700; margin-bottom: 4px; }
.pricing-card .price-note { font-size: 13px; color: var(--muted-grey); margin-bottom: 24px; }
.pricing-card ul { list-style: none; margin-bottom: 28px; }
.pricing-card li { font-size: 15px; color: var(--muted-grey); padding: 8px 0; border-bottom: 1px solid var(--border); }

/* ---------- Stats ---------- */

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.stat-block .number { font-size: 48px; font-weight: 700; color: var(--snow); }
.stat-block .stat-label { font-size: 14px; color: var(--muted-grey); margin-top: 4px; }

/* ---------- Process steps ---------- */

.process-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}
.process-step .step-number {
  font-size: 14px; font-weight: 700; color: var(--champagne);
  margin-bottom: 16px;
}
.process-step h4 { font-size: 18px; margin-bottom: 8px; }
.process-step p { font-size: 14px; color: var(--muted-grey); }

/* ---------- Accordion / FAQ ---------- */

.accordion-item {
  border-bottom: 1px solid var(--border);
}
.accordion-question {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 0;
  cursor: pointer;
  font-size: 17px;
  font-weight: 600;
}
.accordion-plus {
  font-size: 22px; color: var(--champagne); transition: transform 0.2s ease;
  flex-shrink: 0; margin-left: 24px;
}
.accordion-item.open .accordion-plus { transform: rotate(45deg); }
.accordion-answer {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  transition: grid-template-rows 0.3s cubic-bezier(0.16,1,0.3,1);
  font-size: 15px;
  color: var(--muted-grey);
}
.accordion-answer > p { min-height: 0; overflow: hidden; }
.accordion-item.open .accordion-answer { grid-template-rows: 1fr; padding-bottom: 24px; }

/* ---------- Final CTA ---------- */

.final-cta {
  background: radial-gradient(circle at 50% 0%, rgba(198,183,155,0.12), transparent 60%), var(--charcoal-raised);
  text-align: center;
  padding: 100px 0;
}
.final-cta h2 { margin-bottom: 16px; }
.final-cta p { color: var(--muted-grey); margin-bottom: 32px; }

/* ---------- Footer ---------- */

/* Footer bookends the hero: the same landscape reappears behind
   it (Apidura's own footer repeats its hero photo), so the page
   reads as one wrapped surface instead of ending on a flat box
   that looks like a different site bolted on. */
.site-footer {
  position: relative;
  background: var(--charcoal-raised);
  padding: 96px 0 32px;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url(../shared-assets/video/hero-poster.jpg);
  background-size: cover;
  background-position: center 65%;
  opacity: 0.4;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 45%, black 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 45%, black 100%);
}
.site-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--charcoal) 0%, rgba(23,19,16,0.5) 40%, rgba(23,19,16,0.82) 100%);
}
.site-footer .container { position: relative; z-index: 2; }
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 48px;
}
.footer-top h5 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted-grey); margin-bottom: 16px; }
.footer-top ul { list-style: none; }
.footer-top li { margin-bottom: 10px; }
.footer-top a { font-size: 14px; color: var(--snow); opacity: 0.8; }
.footer-top a:hover { opacity: 1; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 24px; border-top: 1px solid var(--border);
  font-size: 13px; color: var(--muted-grey);
}
.footer-disclaimer {
  font-size: 12px; color: var(--muted-grey); opacity: 0.7;
  max-width: 720px; margin: 0 0 24px; line-height: 1.6;
}

/* ---------- Forms ---------- */

.quote-form { }
.form-step {
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
}
.form-step:first-child { padding-top: 0; }
.form-step:last-of-type { border-bottom: none; padding-bottom: 8px; }
.form-step-label {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.form-step-number {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--champagne-dark);
  color: var(--champagne);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
}
.form-step-title {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 17px;
  font-weight: 600;
  color: var(--snow);
}
.form-step-hint {
  font-size: 13px;
  color: var(--muted-grey);
  font-weight: 400;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-field { margin-bottom: 20px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  display: block; font-size: 14px; color: var(--muted-grey); margin-bottom: 8px;
  text-decoration: none;
}
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  background: var(--charcoal);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 14px 16px;
  color: var(--snow);
  font-family: var(--font-body);
  font-size: 15px;
  text-decoration: none;
}
.form-field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23A79C8C' stroke-width='1.5' fill='none' fill-rule='evenodd'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--champagne);
}
.form-field textarea { resize: vertical; min-height: 120px; }

/* ---------- Legal pages ---------- */

.legal-content h2 { font-size: 24px; margin: 40px 0 16px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { color: var(--muted-grey); margin-bottom: 16px; line-height: 1.8; }
.legal-content ul { color: var(--muted-grey); margin: 0 0 16px 24px; }

/* ---------- Sticky mobile quote bar ---------- */

.sticky-quote-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--charcoal-raised);
  border-top: 1px solid var(--border);
  padding: 14px 20px;
  z-index: 200;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.sticky-quote-bar.is-visible { display: flex; }
.sticky-quote-bar .btn { flex: 1; }
.sticky-quote-bar .dismiss {
  font-size: 20px; color: var(--muted-grey); cursor: pointer; padding: 0 4px;
}

/* ===========================================================
   Responsive — Tablet
   =========================================================== */
@media (max-width: 1024px) {
  h1, .h1 { font-size: 44px; }
  h2, .h2 { font-size: 32px; }
  .statement { font-size: 28px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stat-row { grid-template-columns: 1fr; gap: 24px; }
  .process-row { grid-template-columns: repeat(2, 1fr); }
}

/* ===========================================================
   Responsive — Phone
   =========================================================== */
@media (max-width: 680px) {
  .container { padding: 0 20px; }
  .section { padding: var(--section-pad-y-mobile) 0; }

  h1, .h1 { font-size: 34px; }
  h2, .h2 { font-size: 26px; }
  .statement { font-size: 22px; }

  .main-nav { display: none; }
  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    font-size: 22px;
    cursor: pointer;
  }
  /* The toggle only ever flipped a class before -- nothing rendered
     it, so tapping the hamburger did nothing visible. This is the
     dropdown panel that class is actually supposed to open. */
  .main-nav.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--charcoal-raised);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 12px 20px 20px;
    z-index: 150;
    box-shadow: 0 16px 32px rgba(0,0,0,0.4);
  }
  .main-nav.open a {
    padding: 14px 4px;
    font-size: 16px;
    border-bottom: 1px solid var(--border);
  }
  .main-nav.open a:last-child { border-bottom: none; }
  .main-nav.open a.btn-primary {
    margin-top: 8px;
    border-bottom: none;
    text-align: center;
  }
  .season-compare { --reveal-radius: 186px; }

  .hero { min-height: auto; padding: 120px 0 60px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  /* Buttons were fixed-width but their label text stayed nowrap, so
     longer CTAs ("Request My Quote & Permit Pre-Check" and similar)
     spilled past the button's visible edges instead of wrapping
     inside it. Let every button wrap and center its own text below
     this breakpoint. */
  .btn {
    white-space: normal;
    text-align: center;
    line-height: 1.3;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .dome-anatomy,
  .dome-anatomy--reverse {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .dome-anatomy + .dome-anatomy { margin-top: 28px; }
  .dome-anatomy--reverse .dome-anatomy-media { order: -1; }
  .anatomy-item { padding: 18px 4px; }

  .photo-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    aspect-ratio: unset;
  }
  .gallery-card.card-hero,
  .gallery-card.card-top-a,
  .gallery-card.card-top-b,
  .gallery-card.card-wide {
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 4 / 3;
  }
  .gallery-caption-title { font-size: 16px; }
  .gallery-caption-desc { font-size: 12px; }
  .gallery-card:hover { transform: none; }
  .lightbox-prev, .lightbox-next { width: 40px; height: 40px; font-size: 22px; }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
  .lightbox-close { top: 12px; right: 12px; width: 36px; height: 36px; font-size: 20px; }
  .lightbox-figure { max-width: 94vw; }
  .lightbox-image { max-width: 94vw; max-height: 70vh; }

  .hero-text { left: 20px !important; right: 20px !important; max-width: none; text-align: left !important; }
  .hero-text-b .hero-actions, .hero-text-b .btn-ghost { margin-left: 0; }
  .hero-scroll-hint { display: none; }

  .split, .split-reverse { grid-template-columns: 1fr; direction: ltr; }
  .split-reverse { direction: ltr; }

  .grid-2, .grid-3, .grid-4, .proof-grid { grid-template-columns: 1fr; }
  .process-row { grid-template-columns: 1fr; }

  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; align-items: flex-start; }

  .form-grid { grid-template-columns: 1fr; }

  .sticky-quote-bar.is-visible { display: flex; }
  body { padding-bottom: 76px; }
}

/* ===========================================================
   Concept 6 additions
   =========================================================== */

/* THE FLOW: hero's bottom fades to the page background as you
   scroll (opacity driven by the existing --hero-progress custom
   property main.js already writes on .hero-scroll-stage — no new
   scroll listener). The section right after starts on a matching
   full-bleed photo that itself fades to solid at its own foot, so
   the whole run from hero to hex-navigator reads as one continuous
   photographic surface, the way Apidura's desert road bleeds into
   its tan body instead of cutting to a hard edge. */
/* The video itself dissolves to solid page background WITHIN the
   pin, so the fade completes right as the pin releases — no second
   photo section needed below to finish the job. Full-height so the
   wash builds gradually across the whole scroll instead of snapping
   on only in the last moment. */
.hero-fade-out {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 0%, transparent 35%, var(--charcoal) 88%);
  opacity: var(--hero-progress, 0);
  pointer-events: none;
  z-index: 3;
}

/* Section right after the hero: plain solid ground, no repeated
   photo — the fade above already did that job. */
.navigator-section { position: relative; padding-top: 96px; }

/* Hex navigator (Apidura's pentagon hex-tile grid), reused as the
   base-design device */
.hex-gallery { display: flex; flex-direction: column; align-items: center; }
.hex-row { display: flex; gap: 26px; }
.hex-row--bottom { margin-top: -30px; }
.hex-tile {
  position: relative;
  width: 208px;
  height: 240px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  overflow: hidden;
  cursor: pointer;
  display: block;
  background: var(--charcoal-raised);
  transition: transform 0.25s ease, filter 0.25s ease;
}
.hex-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hex-tile .hex-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(23,19,16,0.92) 0%, rgba(23,19,16,0.2) 55%, rgba(23,19,16,0) 75%);
  display: flex; flex-direction: column; justify-content: flex-end; align-items: center;
  text-align: center; padding: 18px 20px 26px;
  pointer-events: none;
}
.hex-tile .hex-name, .hex-tile .hex-price { pointer-events: auto; }
.hex-tile .hex-name { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.04em; font-size: 16px; font-weight: 600; color: var(--snow); margin-bottom: 4px; }
.hex-tile .hex-price { font-size: 13px; color: var(--champagne); font-weight: 600; }
.hex-gallery:hover .hex-tile { filter: brightness(0.7); }
.hex-tile:hover { filter: brightness(1) !important; transform: scale(1.05); z-index: 2; }
.hex-tile:active { transform: scale(0.97) !important; }
.hex-tile:focus-visible { outline: 2px solid var(--champagne); outline-offset: 4px; }

/* Client Journey: a vertical scroll-reveal timeline replacing both
   the old diamond "What's inside" accent and the plain 4-step
   process grid. Starts at land (the real first decision a buyer
   makes), each step rises into place via IntersectionObserver as
   it's scrolled into view -- taste-skill's scroll-reveal-stagger
   pattern (native CSS + IO, no scroll-position math). */
.journey {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}
/* The section housing .journey clips anything the full-bleed photos
   below extend past the viewport edge, so they can safely reach all
   the way out without ever opening a horizontal scrollbar. */
.journey-section { overflow-x: hidden; }

/* Model photos that run from the timeline out to the edge of the
   page, one per step, alternating left/right. Sharp against the
   timeline side, faded via a mask gradient (not blur) toward the
   outer/page-edge side so they dissolve into the page background
   rather than reading as a cropped rectangle. They fade in as their
   step scrolls into view and fade back out on the way back up --
   not a one-time reveal like .is-visible, a continuous in/out toggle
   driven by IntersectionObserver watching each step (see main.js).
   Hidden below 1300px where there's no longer room beside the column. */
.journey-bg {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46vw;
  max-width: 620px;
  height: 360px;
  opacity: 0;
  transition: opacity 0.9s cubic-bezier(0.16,1,0.3,1);
  pointer-events: none;
  z-index: 0;
}
.journey-bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.journey-bg.journey-bg-left {
  right: 100%;
  margin-right: 36px;
  -webkit-mask-image: linear-gradient(to left, black 0%, black 55%, transparent 100%);
  mask-image: linear-gradient(to left, black 0%, black 55%, transparent 100%);
}
.journey-bg.journey-bg-right {
  left: 100%;
  margin-left: 36px;
  -webkit-mask-image: linear-gradient(to right, black 0%, black 55%, transparent 100%);
  mask-image: linear-gradient(to right, black 0%, black 55%, transparent 100%);
}
.journey-step.bg-in-view .journey-bg { opacity: 0.55; }
/* Tablet: no room beside the column for the side photos, and not
   enough width yet for the full-bleed mobile treatment either. */
@media (max-width: 1300px) and (min-width: 681px) { .journey-bg { display: none; } }
@media (prefers-reduced-motion: reduce) { .journey-bg { transition: none; } }

/* Mobile: the side-photo layout has nowhere to go, so each step gets
   its own full-bleed background photo instead -- faded top and
   bottom so consecutive steps blend into one another rather than
   reading as a stack of separate cards, toggled by the same
   .bg-in-view class the desktop version already uses. */
@media (max-width: 680px) {
  /* Same specificity as .journey-bg.journey-bg-left/-right above (one
     element + two classes each), so these -- being later in the
     file -- are what actually wins here. A bare ".journey-bg" rule
     would lose to those every time regardless of the media query. */
  .journey-bg,
  .journey-bg.journey-bg-left,
  .journey-bg.journey-bg-right {
    display: block;
    position: absolute;
    inset: -16px 0;
    width: auto;
    max-width: none;
    height: auto;
    margin: 0;
    z-index: -1;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 22%, black 78%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 22%, black 78%, transparent 100%);
  }
  .journey-step { overflow: visible; }
  .journey-step.bg-in-view .journey-bg { opacity: 0.3; }
}
.journey::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--champagne), var(--border));
}
.journey-step {
  position: relative;
  display: flex;
  gap: 28px;
  padding-bottom: 56px;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s cubic-bezier(0.16,1,0.3,1), transform 0.6s cubic-bezier(0.16,1,0.3,1);
}
.journey-step:last-child { padding-bottom: 0; }
.journey-step.is-visible { opacity: 1; transform: translateY(0); }
.journey-step-marker {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--charcoal-raised);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--muted-grey);
  position: relative;
  z-index: 1;
  transition: border-color 0.4s ease, color 0.4s ease, background 0.4s ease;
}
.journey-step.is-visible .journey-step-marker {
  border-color: var(--champagne);
  color: var(--champagne);
  background: var(--champagne-dark);
}
.journey-step-body { padding-top: 8px; }
.journey-step-body h4 { font-size: 20px; margin-bottom: 6px; text-transform: none; }
.journey-step-body p { color: var(--muted-grey); font-size: 15px; line-height: 1.65; max-width: 52ch; }
@media (prefers-reduced-motion: reduce) {
  .journey-step { opacity: 1; transform: none; transition: none; }
}

.small-caps-gold {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--champagne);
  font-weight: 600;
}
.serif-emphasis { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-weight: 400; }

.catalog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.dome-choice-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-bottom: 8px; }
.dome-choice-card { position: relative; cursor: pointer; text-decoration: none; }
.dome-choice-card input { position: absolute; opacity: 0; pointer-events: none; }
.dome-choice-card .dome-choice-body { border: 1px solid var(--border); border-radius: 6px; overflow: hidden; transition: border-color 0.2s ease, transform 0.2s ease; }
.dome-choice-card:hover .dome-choice-body { transform: translateY(-2px); }
.dome-choice-card:active .dome-choice-body { transform: scale(0.97); }
.dome-choice-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.dome-choice-card .dome-choice-label {
  display: block;
  padding: 12px 8px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  background: var(--charcoal-raised);
}
.dome-choice-card .dome-choice-label .small-text { text-decoration: none; display: block; margin-top: 2px; }
.dome-choice-card input:checked + .dome-choice-body { border-color: var(--champagne); box-shadow: 0 0 0 1px var(--champagne); }
.dome-choice-card input:checked + .dome-choice-body .dome-choice-label { background: var(--champagne-dark); }
.dome-choice-card input:focus-visible + .dome-choice-body { outline: 2px solid var(--champagne); outline-offset: 2px; }
.pill-group { display: flex; flex-wrap: wrap; gap: 10px; }
.pill-choice { position: relative; }
.pill-choice input { position: absolute; opacity: 0; pointer-events: none; }
.pill-choice .pill-body { display: inline-flex; align-items: center; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--border); font-size: 14px; color: var(--muted-grey); cursor: pointer; text-decoration: none; transition: all 0.2s ease; }
.pill-choice input:checked + .pill-body { border-color: var(--champagne); color: var(--snow); background: rgba(201, 162, 78, 0.14); }
.pill-choice input:focus-visible + .pill-body { outline: 2px solid var(--champagne); outline-offset: 2px; }

@media (max-width: 1024px) {
  .catalog-grid { grid-template-columns: repeat(2, 1fr); }
  .dome-choice-grid { grid-template-columns: repeat(3, 1fr); }
  .hex-tile { width: 168px; height: 194px; }
  .hex-row--bottom { margin-top: -24px; }
}
@media (max-width: 680px) {
  .catalog-grid { grid-template-columns: 1fr; }
  .dome-choice-grid { grid-template-columns: repeat(2, 1fr); }
  .hex-gallery { width: 100%; }
  .hex-row { flex-direction: column; width: 100%; gap: 12px; }
  .hex-row--bottom { margin-top: 12px; }
  .hex-tile { width: 100%; height: 210px; clip-path: none; border-radius: 10px; }
  .navigator-section { padding-top: 64px; }
  .journey::before { left: 21px; }
  .journey-step { gap: 18px; }
  .journey-step-marker { width: 42px; height: 42px; font-size: 16px; }
  .site-footer { padding: 64px 0 32px; }
  .form-step-label { gap: 10px; }
  .form-step-hint { flex-basis: 100%; }
}
