/* ==========================================================================
   Mountain West Structures — Metal Horse Barns
   Art direction: Montana rustic-western. Burnished slate, weathered barnwood,
   bone canvas, brand crimson accent. Bespoke Slab display + Switzer body.
   ========================================================================== */

:root,
[data-theme='light'] {
  /* Type scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 5rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Surfaces — bone canvas / weathered paper */
  --color-bg: #f6f2e9;
  --color-surface: #fbf8f1;
  --color-surface-2: #fffdf8;
  --color-surface-offset: #ece5d6;
  --color-surface-offset-2: #e2d9c6;
  --color-divider: #ddd3bf;
  --color-border: #cfc4ac;

  /* Text — dark umber */
  --color-text: #221d17;
  --color-text-muted: #6c6154;
  --color-text-faint: #a2988a;
  --color-text-inverse: #f8f5ee;

  /* Accent — brand crimson */
  --color-primary: #ab1f2b;
  --color-primary-hover: #8c1822;
  --color-primary-active: #6d121a;
  --color-primary-highlight: #f0dcd8;

  /* Secondary — saddle tan (hairlines, eyebrows, icons only) */
  --color-tan: #916230;
  --color-tan-soft: #c9a577;

  /* Diagram accent — exterior dutch doors */
  --color-plan-dutch: #2f7d4f;

  /* Slate — burnished slate dark bands */
  --color-slate: #2b2723;
  --color-slate-2: #37322c;

  --radius-sm: 0.25rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.625rem;
  --radius-full: 9999px;

  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);

  --shadow-sm: 0 1px 2px oklch(0.2 0.02 60 / 0.08);
  --shadow-md: 0 6px 18px oklch(0.2 0.02 60 / 0.1);
  --shadow-lg: 0 18px 44px oklch(0.2 0.02 60 / 0.16);

  --content-narrow: 660px;
  --content-default: 1000px;
  --content-wide: 1240px;

  --font-display: 'Bespoke Slab', 'Georgia', serif;
  --font-body: 'Switzer', 'Helvetica Neue', sans-serif;
}

[data-theme='dark'] {
  --color-bg: #15120e;
  --color-surface: #1c1813;
  --color-surface-2: #221d17;
  --color-surface-offset: #221d17;
  --color-surface-offset-2: #2b251d;
  --color-divider: #2c261e;
  --color-border: #423a2f;

  --color-text: #e7e0d2;
  --color-text-muted: #9d9384;
  --color-text-faint: #6e6558;
  --color-text-inverse: #1a1611;

  --color-primary: #e06a63;
  --color-primary-hover: #ef8079;
  --color-primary-active: #f59a93;
  --color-primary-highlight: #3b2622;

  --color-tan: #c9a577;
  --color-tan-soft: #8a6b45;
  --color-plan-dutch: #58c68a;

  --color-slate: #221d17;
  --color-slate-2: #2b251d;

  --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.4);
  --shadow-md: 0 6px 18px oklch(0 0 0 / 0.5);
  --shadow-lg: 0 18px 44px oklch(0 0 0 / 0.6);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg: #15120e;
    --color-surface: #1c1813;
    --color-surface-2: #221d17;
    --color-surface-offset: #221d17;
    --color-surface-offset-2: #2b251d;
    --color-divider: #2c261e;
    --color-border: #423a2f;
    --color-text: #e7e0d2;
    --color-text-muted: #9d9384;
    --color-text-faint: #6e6558;
    --color-text-inverse: #1a1611;
    --color-primary: #e06a63;
    --color-primary-hover: #ef8079;
    --color-primary-active: #f59a93;
    --color-primary-highlight: #3b2622;
    --color-tan: #c9a577;
    --color-tan-soft: #8a6b45;
    --color-plan-dutch: #58c68a;
    --color-slate: #221d17;
    --color-slate-2: #2b251d;
  }
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  min-height: 100dvh;
  line-height: 1.65;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: hidden;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}
ul[role='list'],
ol[role='list'] {
  list-style: none;
}
input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  background: none;
  border: none;
}
table {
  border-collapse: collapse;
  width: 100%;
}

h1,
h2,
h3,
h4 {
  text-wrap: balance;
  line-height: 1.12;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.015em;
}
p,
li,
figcaption {
  text-wrap: pretty;
  max-width: 68ch;
}

a {
  color: inherit;
}

::selection {
  background: color-mix(in oklab, var(--color-primary) 25%, transparent);
  color: var(--color-text);
}

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

a,
button,
[role='button'] {
  transition:
    color var(--transition-interactive),
    background var(--transition-interactive),
    border-color var(--transition-interactive),
    box-shadow var(--transition-interactive),
    transform var(--transition-interactive);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Layout primitives ---------- */
.wrap {
  width: min(100% - var(--space-8), var(--content-wide));
  margin-inline: auto;
}
.wrap--default {
  width: min(100% - var(--space-8), var(--content-default));
  margin-inline: auto;
}
.wrap--narrow {
  width: min(100% - var(--space-8), var(--content-narrow));
  margin-inline: auto;
}

section {
  padding-block: clamp(var(--space-16), 8vw, var(--space-32));
}

.band-dark {
  background: var(--color-slate);
  color: #ece5d6;
}
.band-dark h2,
.band-dark h3 {
  color: #fbf8f1;
}
.band-dark .eyebrow {
  color: var(--color-tan-soft);
}
.band-offset {
  background: var(--color-surface-offset);
}

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-tan);
  margin-bottom: var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.eyebrow::after {
  content: '';
  flex: 1;
  height: 1px;
  background: currentColor;
  opacity: 0.35;
  max-width: 4rem;
}

.section-head {
  margin-bottom: clamp(var(--space-10), 4vw, var(--space-16));
}
.section-head h2 {
  font-size: var(--text-xl);
}
.section-head p {
  margin-top: var(--space-4);
  color: var(--color-text-muted);
  font-size: var(--text-base);
}
.band-dark .section-head p {
  color: #b9ae9c;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-md);
  text-decoration: none;
  border: 1.5px solid transparent;
  white-space: nowrap;
}
.btn--primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
[data-theme='dark'] .btn--primary {
  color: #1a1611;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .btn--primary {
    color: #1a1611;
  }
}
.btn--primary:hover {
  background: var(--color-primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn--ghost {
  border-color: currentColor;
  color: inherit;
  opacity: 0.9;
}
.btn--ghost:hover {
  opacity: 1;
  background: color-mix(in oklab, currentColor 8%, transparent);
}
.btn--lg {
  font-size: var(--text-base);
  padding: var(--space-4) var(--space-8);
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--color-bg) 92%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition:
    border-color var(--transition-interactive),
    box-shadow var(--transition-interactive);
}
.header--scrolled {
  border-bottom-color: var(--color-divider);
  box-shadow: var(--shadow-sm);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: var(--space-3);
}
.header__logo img {
  height: 42px;
  width: auto;
}
.header__logo .logo-light-ink {
  display: none;
}
[data-theme='dark'] .header__logo .logo-dark-ink {
  display: none;
}
[data-theme='dark'] .header__logo .logo-light-ink {
  display: block;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .header__logo .logo-dark-ink {
    display: none;
  }
  :root:not([data-theme]) .header__logo .logo-light-ink {
    display: block;
  }
}
.header__nav {
  display: none;
  gap: var(--space-6);
  font-size: var(--text-sm);
}
.header__nav a {
  text-decoration: none;
  color: var(--color-text-muted);
  font-weight: 500;
}
.header__nav a:hover {
  color: var(--color-primary);
}
.header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.theme-toggle {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
}
.theme-toggle:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.header__phone-label {
  display: none;
}
@media (min-width: 900px) {
  .header__nav {
    display: flex;
  }
  .header__phone-label {
    display: inline;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-block: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  min-height: clamp(28rem, 38vw, 46rem);
  background: var(--color-slate);
  color: #f3ece0;
  isolation: isolate;
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__media,
.hero__media picture {
  display: block;
  width: 100%;
  height: 100%;
}
.hero__media img,
.hero__media svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 46% 42%;
  filter: brightness(1.08) saturate(1.06);
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      100deg,
      oklch(0.19 0.015 60 / 0.93) 0%,
      oklch(0.19 0.015 60 / 0.86) 32%,
      oklch(0.19 0.015 60 / 0.6) 58%,
      oklch(0.19 0.015 60 / 0.16) 100%
    ),
    linear-gradient(
      to bottom,
      oklch(0.19 0.015 60 / 0.25) 0%,
      oklch(0.19 0.015 60 / 0) 30%
    );
}
.hero__inner {
  align-self: center;
  padding-block: clamp(var(--space-16), 7vw, var(--space-24));
  max-width: 42rem;
}
.hero__eyebrow {
  color: var(--color-tan-soft);
}
.hero h1 {
  font-size: var(--text-2xl);
  color: #fdfaf4;
  margin-bottom: var(--space-5);
}
.hero h1 em {
  font-style: normal;
  color: var(--color-tan-soft);
}
.hero__lede {
  font-size: var(--text-lg);
  color: #ded5c5;
  max-width: 34rem;
  line-height: 1.5;
}
.hero__cta {
  margin-top: var(--space-8);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
}
.hero__cta .btn--ghost {
  color: #ece5d6;
}
.hero__note {
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  color: #cabfab;
  letter-spacing: 0.01em;
}

/* Trust strip */
.trust {
  border-top: 1px solid oklch(1 0 0 / 0.1);
  background: oklch(0.16 0.012 60 / 0.65);
}
.trust__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6) var(--space-4);
  padding-block: var(--space-8);
}
@media (min-width: 780px) {
  .trust__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.trust__item {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
}
.trust__item svg {
  flex: none;
  color: var(--color-tan-soft);
  margin-top: 2px;
}
.trust__item strong {
  display: block;
  font-size: var(--text-sm);
  color: #f3ece0;
  font-weight: 600;
  line-height: 1.3;
}
.trust__item span {
  font-size: var(--text-xs);
  color: #9d9280;
}

/* ---------- Prose / intro ---------- */
.lede-grid {
  display: grid;
  gap: clamp(var(--space-8), 5vw, var(--space-16));
  align-items: start;
}
@media (min-width: 900px) {
  .lede-grid {
    grid-template-columns: 1fr 1.15fr;
  }
}
.lede-grid h2 {
  font-size: var(--text-xl);
  position: sticky;
  top: 6rem;
}
.lede-grid p + p {
  margin-top: var(--space-5);
}
.lede-grid p {
  color: var(--color-text-muted);
}
.lede-grid p strong {
  color: var(--color-text);
  font-weight: 600;
}

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
}
@media (min-width: 820px) {
  .gallery {
    grid-template-columns: repeat(4, 1fr);
  }
  .gallery figure:first-child {
    grid-column: span 2;
    grid-row: span 2;
  }
}
.gallery figure {
  margin: 0;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-surface-offset-2);
  border: 1px solid var(--color-border);
}
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery figure {
  aspect-ratio: 4 / 3;
}
@media (min-width: 820px) {
  .gallery figure.gallery__wide {
    grid-column: span 2;
    aspect-ratio: 8 / 3;
  }
  .gallery figure:first-child {
    aspect-ratio: auto;
  }
}
.gallery__btn,
.gallery__btn picture {
  display: block;
  width: 100%;
  height: 100%;
}
.gallery__btn {
  padding: 0;
  border: 0;
  margin: 0;
  background: none;
  cursor: zoom-in;
  appearance: none;
}
.gallery__btn img {
  display: block;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.gallery figure:hover .gallery__btn img {
  transform: scale(1.035);
}
.gallery__btn:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: -3px;
}
@media (prefers-reduced-motion: reduce) {
  .gallery__btn img {
    transition: none;
  }
  .gallery figure:hover .gallery__btn img {
    transform: none;
  }
}
.gallery figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: var(--space-6) var(--space-4) var(--space-3);
  font-size: var(--text-xs);
  color: #f3ece0;
  background: linear-gradient(to top, oklch(0.18 0.01 60 / 0.85), transparent);
  max-width: none;
}

/* Placeholder tile (until real photos land) */
.ph {
  aspect-ratio: 4 / 3;
  display: grid;
  place-content: center;
  gap: var(--space-2);
  justify-items: center;
  text-align: center;
  padding: var(--space-6);
  background:
    repeating-linear-gradient(
      -45deg,
      transparent 0 10px,
      color-mix(in oklab, var(--color-tan) 8%, transparent) 10px 11px
    ),
    var(--color-surface-offset);
  color: var(--color-text-faint);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}
.ph svg {
  color: var(--color-tan-soft);
}

/* ---------- Option card CTA ---------- */
.option__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  margin-top: auto;
  padding-top: var(--space-3);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  border-bottom: 0;
}
.option__cta svg {
  transition: transform 0.25s ease;
}
.option__cta:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.option__cta:hover svg {
  transform: translateX(2px);
}

/* ---------- Lightbox ---------- */
.lightbox {
  inset: 0;
  margin: auto;
  width: min(94vw, 66rem);
  max-width: none;
  max-height: 92dvh;
  padding: 0;
  border: 1px solid oklch(1 0 0 / 0.14);
  border-radius: var(--radius-lg);
  background: #17140f;
  color: #f3ece0;
  overflow: hidden;
}
.lightbox::backdrop {
  background: oklch(0.13 0.008 60 / 0.88);
  backdrop-filter: blur(3px);
}
.lightbox img {
  display: block;
  width: 100%;
  max-height: calc(92dvh - 4.5rem);
  object-fit: contain;
  background: #100e0b;
}
.lightbox__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-3) var(--space-4);
  border-top: 1px solid oklch(1 0 0 / 0.1);
}
.lightbox__caption {
  margin: 0;
  font-size: var(--text-sm);
  color: #d9cfbe;
}
.lightbox__nav {
  display: flex;
  gap: var(--space-2);
  flex-shrink: 0;
}
.lightbox__nav button {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  border: 1px solid oklch(1 0 0 / 0.18);
  background: oklch(1 0 0 / 0.06);
  color: #f3ece0;
  cursor: pointer;
  transition: background 0.2s ease;
}
.lightbox__nav button:hover {
  background: oklch(1 0 0 / 0.16);
}
.lightbox__nav button:focus-visible {
  outline: 2px solid var(--color-tan-soft);
  outline-offset: 2px;
}

/* ---------- Feature list ---------- */
.features {
  display: grid;
  gap: var(--space-8);
}
@media (min-width: 720px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1080px) {
  .features {
    grid-template-columns: repeat(3, 1fr);
  }
}
.feature {
  padding-top: var(--space-5);
  border-top: 2px solid var(--color-tan-soft);
}
.feature h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
  letter-spacing: -0.005em;
}
.feature p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

/* ---------- Floor plans ---------- */
.plans {
  display: grid;
  gap: var(--space-8);
}
@media (min-width: 900px) {
  .plans {
    grid-template-columns: repeat(2, 1fr);
  }
}
.plan-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
}
.plan-card__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
  flex-wrap: wrap;
}
.plan-card__head h3 {
  font-size: var(--text-lg);
}
.plan-card__head span {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}
.plan-card svg {
  width: 100%;
  height: auto;
}
.plan-card ul {
  list-style: none;
  margin-top: var(--space-5);
  display: grid;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.plan-card li {
  padding-left: var(--space-5);
  position: relative;
}
.plan-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 2px;
  background: var(--color-tan-soft);
}
.plan-note {
  margin-top: var(--space-6);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

/* ---------- Pricing ---------- */
.pricing {
  display: grid;
  gap: var(--space-6);
}
@media (min-width: 860px) {
  .pricing {
    grid-template-columns: repeat(2, 1fr);
  }
}
.price-card {
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(var(--space-6), 3vw, var(--space-8));
  box-shadow: var(--shadow-sm);
}
.price-card--feature {
  border-color: var(--color-primary);
  border-width: 1.5px;
  box-shadow: var(--shadow-md);
}
.price-card__tag {
  align-self: flex-start;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: var(--color-primary-highlight);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
}
.price-card h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-1);
}
.price-card__sub {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  margin-bottom: var(--space-6);
}
.price-card__amount {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  flex-wrap: wrap;
}
.price-card__amount small {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.price-card__delivery {
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px dashed var(--color-border);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-4);
  text-wrap: pretty;
}
.price-card__delivery strong {
  color: var(--color-text);
  font-weight: 600;
  white-space: nowrap;
}
.price-card__list {
  list-style: none;
  margin-top: var(--space-6);
  display: grid;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.price-card__list li {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
}
.price-card__list svg {
  flex: none;
  margin-top: 0.35em;
  color: var(--color-tan);
}
.price-card .btn {
  margin-top: var(--space-8);
  align-self: flex-start;
}
.price-disclaimer {
  margin-top: var(--space-8);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  max-width: 60ch;
}

/* Upgrade row */
.upgrades {
  margin-top: var(--space-8);
  display: grid;
  gap: var(--space-4);
}
@media (min-width: 720px) {
  .upgrades {
    grid-template-columns: repeat(2, 1fr);
  }
}
.upgrade {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  background: var(--color-surface-2);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
}
.upgrade strong {
  font-weight: 600;
}
.upgrade span {
  color: var(--color-text-muted);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* ---------- Spec table ---------- */
.spec-table-wrap {
  overflow-x: auto;
  border: 1px solid oklch(1 0 0 / 0.14);
  border-radius: var(--radius-lg);
}
.spec-table {
  min-width: 34rem;
  font-size: var(--text-sm);
}
.spec-table th,
.spec-table td {
  text-align: left;
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid oklch(1 0 0 / 0.09);
  vertical-align: top;
}
.spec-table thead th {
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-tan-soft);
  font-weight: 700;
  background: oklch(1 0 0 / 0.04);
}
.spec-table tbody tr:last-child th,
.spec-table tbody tr:last-child td {
  border-bottom: none;
}
.spec-table tbody th {
  font-weight: 600;
  color: #f3ece0;
  font-family: var(--font-body);
  white-space: nowrap;
}
.spec-table td {
  color: #c4b9a6;
}

/* ---------- Two-column media rows ---------- */
.split {
  display: grid;
  gap: clamp(var(--space-8), 5vw, var(--space-16));
  align-items: center;
}
@media (min-width: 900px) {
  .split {
    grid-template-columns: 1.05fr 1fr;
  }
  .split--reverse .split__media {
    order: -1;
  }
}
.split__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-surface-offset);
}
.split__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.split h2 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-4);
}
.split p {
  color: var(--color-text-muted);
}
.split p + p {
  margin-top: var(--space-4);
}
.split .btn {
  margin-top: var(--space-6);
}
.band-dark .split p {
  color: #b9ae9c;
}

/* ---------- Options ---------- */
.options {
  display: grid;
  gap: var(--space-6);
}
@media (min-width: 720px) {
  .options {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1060px) {
  .options {
    grid-template-columns: repeat(3, 1fr);
  }
}
.option {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}
.option__icon {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border-radius: var(--radius-md);
  background: var(--color-surface-offset);
  color: var(--color-tan);
  margin-bottom: var(--space-4);
}
.option h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-base);
  margin-bottom: var(--space-2);
}
.option p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.option a {
  color: var(--color-primary);
  font-weight: 600;
  text-underline-offset: 3px;
}

/* ---------- In stock ---------- */
.stock {
  background: var(--color-surface);
  border: 1.5px solid var(--color-primary);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
}
@media (min-width: 900px) {
  .stock {
    grid-template-columns: 1fr 1.1fr;
  }
}
.stock__body {
  padding: clamp(var(--space-6), 4vw, var(--space-12));
}
.stock__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}
.stock__badge::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--color-primary) 20%, transparent);
}
.stock h2 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
}
.stock > .split__media,
.stock__media {
  background: var(--color-surface-offset);
  border-left: 1px solid var(--color-border);
}
.stock__media {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 1px;
}
.stock__media picture {
  display: block;
  min-height: 12rem;
  overflow: hidden;
}
.stock__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 55%;
  display: block;
}
.stock dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
  margin-block: var(--space-6);
}
.stock dt {
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  font-weight: 600;
}
.stock dd {
  font-size: var(--text-sm);
  font-weight: 600;
  margin-top: 2px;
}
.stock__caveat {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  padding: var(--space-4);
  background: var(--color-surface-offset);
  border-left: 3px solid var(--color-tan-soft);
  border-radius: var(--radius-sm);
}

/* ---------- FAQ ---------- */
.faq {
  border-top: 1px solid var(--color-border);
}
.faq details {
  border-bottom: 1px solid var(--color-border);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: var(--space-5) var(--space-10) var(--space-5) 0;
  font-weight: 600;
  font-size: var(--text-base);
  position: relative;
  display: block;
  transition: color var(--transition-interactive);
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary:hover {
  color: var(--color-primary);
}
.faq summary::after {
  content: '';
  position: absolute;
  right: var(--space-2);
  top: 50%;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--color-tan);
  border-bottom: 2px solid var(--color-tan);
  transform: translateY(-70%) rotate(45deg);
  transition: transform var(--transition-interactive);
}
.faq details[open] summary::after {
  transform: translateY(-30%) rotate(225deg);
}
.faq details[open] summary {
  color: var(--color-primary);
}
.faq__answer {
  padding-bottom: var(--space-6);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}
.faq__answer p + p {
  margin-top: var(--space-3);
}

/* ---------- Final CTA ---------- */
.cta {
  text-align: center;
}
.cta h2 {
  font-size: var(--text-2xl);
  color: #fdfaf4;
  margin-bottom: var(--space-4);
}
.cta p {
  margin-inline: auto;
  color: #c4b9a6;
  font-size: var(--text-lg);
  margin-bottom: var(--space-8);
}
.cta__phone {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: #fdfaf4;
  text-decoration: none;
  padding: var(--space-4) var(--space-8);
  border: 2px solid var(--color-tan-soft);
  border-radius: var(--radius-md);
}
.cta__phone:hover {
  background: var(--color-tan-soft);
  color: #1a1611;
}
.cta__hours {
  margin-top: var(--space-5);
  font-size: var(--text-sm);
  color: #9d9280;
  margin-inline: auto;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--color-slate-2);
  color: #b9ae9c;
  padding-block: var(--space-12);
  font-size: var(--text-sm);
}
.footer__inner {
  display: grid;
  gap: var(--space-8);
}
@media (min-width: 820px) {
  .footer__inner {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}
.footer__logo img {
  height: 40px;
  width: auto;
  opacity: 0.92;
  margin-bottom: var(--space-4);
}
.footer h4 {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-tan-soft);
  font-weight: 700;
  margin-bottom: var(--space-3);
}
.footer ul {
  list-style: none;
  display: grid;
  gap: var(--space-2);
}
.footer a {
  text-decoration: none;
  color: #b9ae9c;
}
.footer a:hover {
  color: #f3ece0;
}
.footer__legal {
  margin-top: var(--space-10);
  padding-top: var(--space-6);
  border-top: 1px solid oklch(1 0 0 / 0.1);
  font-size: var(--text-xs);
  color: #857b6b;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-6);
  justify-content: space-between;
}
.footer__legal p {
  max-width: none;
}

/* ---------- Mobile sticky call bar ---------- */
.callbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  padding: var(--space-3) var(--space-4)
    calc(var(--space-3) + env(safe-area-inset-bottom, 0px));
  background: color-mix(in oklab, var(--color-bg) 94%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--color-divider);
}
.callbar .btn {
  width: 100%;
}
@media (min-width: 900px) {
  .callbar {
    display: none;
  }
}
@media (max-width: 899px) {
  body {
    padding-bottom: 4.5rem;
  }
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 700ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Warranty band ---------- */
.warranty {
  background: var(--color-slate);
  color: #f0e9dc;
  padding-block: clamp(var(--space-16), 8vw, var(--space-24));
}
.warranty__inner {
  display: grid;
  gap: var(--space-8);
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 780px) {
  .warranty__inner {
    grid-template-columns: auto 1fr;
    gap: var(--space-12);
  }
}
.warranty__seal {
  color: var(--color-tan-soft);
  line-height: 0;
}
[data-theme='dark'] .warranty__seal {
  color: var(--color-tan);
}
.warranty__body {
  max-width: 56ch;
}
.warranty__body .eyebrow {
  color: var(--color-tan-soft);
}
[data-theme='dark'] .warranty__body .eyebrow {
  color: var(--color-tan);
}
.warranty__body h2 {
  color: #fbf6ec;
  margin-bottom: var(--space-4);
}
.warranty__body p {
  color: #d9d0c1;
}
.warranty__body p + p {
  margin-top: var(--space-4);
}
.warranty__fine {
  font-size: var(--text-sm);
  color: #b4aa9a !important;
}
.warranty .btn--ghost {
  margin-top: var(--space-6);
  color: #f5efe3;
  border-color: oklch(1 0 0 / 0.35);
}
[data-theme='dark'] .warranty {
  border-block: 1px solid oklch(1 0 0 / 0.09);
  background: var(--color-slate-2);
}

/* Specs table stacks into label/value rows on small screens */
@media (max-width: 700px) {
  .spec-table-wrap {
    overflow-x: visible;
    border: none;
    border-radius: 0;
  }
  .spec-table,
  .spec-table tbody,
  .spec-table tbody tr,
  .spec-table tbody th,
  .spec-table tbody td {
    display: block;
    width: 100%;
    min-width: 0;
  }
  .spec-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .spec-table tbody tr {
    border: 1px solid oklch(1 0 0 / 0.14);
    border-radius: var(--radius-md);
    padding: var(--space-4) var(--space-5);
  }
  .spec-table tbody tr + tr {
    margin-top: var(--space-3);
  }
  .spec-table tbody th,
  .spec-table tbody td {
    padding: 0;
    border-bottom: none;
    white-space: normal;
  }
  .spec-table tbody th {
    font-size: var(--text-xs);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-tan-soft);
    margin-bottom: var(--space-2);
  }
  .spec-table tbody td {
    color: #d6ccbb;
  }
}

@media (max-width: 700px) {
  .plan-card {
    padding-inline: var(--space-4);
  }
  .stock__media .ph {
    min-height: 12rem !important;
  }
}
.hero__eyebrow {
  flex-wrap: wrap;
  row-gap: var(--space-1);
}
.hero__eyebrow span {
  white-space: nowrap;
}
@media (max-width: 700px) {
  .hero__media img {
    object-position: 32% 46%;
  }
}

/* ---------- In-stock spec columns ---------- */
.stock-specs {
  display: grid;
  gap: clamp(var(--space-6), 4vw, var(--space-10));
  margin-top: clamp(2rem, 4vw, 3rem);
  padding: clamp(var(--space-6), 3vw, var(--space-8));
  background: var(--color-surface-offset);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}
@media (min-width: 760px) {
  .stock-specs {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  }
}
.stock-specs__list {
  list-style: none;
  margin: var(--space-4) 0 0;
  padding: 0;
  display: grid;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.stock-specs__list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: var(--space-2);
  border-bottom: 1px dashed var(--color-border);
}
.stock-specs__list li:last-child {
  border-bottom: 0;
}
.stock-specs__list strong {
  color: var(--color-text);
  font-weight: 600;
  font-variant-numeric: tabular-nums lining-nums;
  white-space: nowrap;
}
.stock-specs__list--plain li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-3);
  border-bottom: 0;
  padding-block: var(--space-1);
}
.stock-specs__list--plain li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: var(--radius-full);
  background: var(--color-tan);
  transform: translateY(0.55em);
}
