/* ============================================================
   MORGAN MUSCLE CARS — Global Stylesheet
   ============================================================ */

:root {
  /* Color tokens */
  --bg-primary:     #14100F;
  --bg-secondary:   #1E1816;
  --bg-elevated:    #2A2220;
  --surface-warm:   #3A2E2A;

  --text-primary:   #F5EFE8;
  --text-secondary: #A89E95;
  --text-muted:     #6B625B;

  --accent-primary: #E63946;
  --accent-hover:   #FF4D5C;
  --accent-glow:    rgba(230, 57, 70, 0.15);

  --divider:        rgba(245, 239, 232, 0.08);

  /* Type */
  --font-display: "Anton", "Bebas Neue", "Oswald", Impact, sans-serif;
  --font-body:    "Source Serif 4", "Iowan Old Style", "Charter", Georgia, serif;
  --font-mono:    "JetBrains Mono", "IBM Plex Mono", ui-monospace, Menlo, monospace;

  /* Layout */
  --maxw: 1440px;
  --gutter: 40px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { display: block; padding: 0; width: 100%; }

/* --- Typography primitives --- */
.display {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 0.92;
  text-transform: uppercase;
}
.mono {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}
.mono-sm {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.accent { color: var(--accent-primary); }

/* --- Layout wrappers --- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.container-wide {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.section {
  padding-top: 70px;
  padding-bottom: 70px;
  position: relative;
}
.section-tight { padding-top: 50px; padding-bottom: 50px; }
.section-contrast { background: var(--bg-secondary); }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 14px 40px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  transition: background 300ms ease, border-color 300ms ease;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(20, 16, 15, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--divider);
}
.nav-logo { display: flex; align-items: center; }
/* height crops the logo PNG's baked-in transparent top/bottom margins (the file
   is 65% empty vertically) so the nav isn't inflated by dead space. Width is
   unchanged, so the visible wordmark stays the exact same size. */
.nav-logo-img { width: 375px; height: 85px; object-fit: cover; object-position: center; display: block; }
.nav-links {
  display: flex;
  gap: 48px;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-self: center;
}
.nav-link {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-primary);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
  position: relative;
  padding: 6px 0;
  transition: color 200ms ease;
}
.nav-link:hover { color: var(--text-primary); }
.nav-link.is-active { color: var(--text-primary); }
.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--accent-primary);
}
.nav-burger {
  display: none;
  width: 28px;
  height: 18px;
  position: relative;
  background: transparent;
  border: 0;
  padding: 0;
}
.nav-burger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  transform-origin: center;
  transition: transform 250ms ease, opacity 200ms ease;
}
.nav-burger span:nth-child(1) { top: 0; }
.nav-burger span:nth-child(2) { top: calc(50% - 1px); }
.nav-burger span:nth-child(3) { top: calc(100% - 2px); }
.nav-burger.is-open span:nth-child(1) { top: calc(50% - 1px); transform: rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.is-open span:nth-child(3) { top: calc(50% - 1px); transform: rotate(-45deg); }

/* CTA button */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 32px;
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  transition: all 250ms ease;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: var(--accent-primary);
  color: var(--text-primary);
}
.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 0 0 4px var(--accent-glow);
}
.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--divider);
}
.btn-ghost:hover { border-color: var(--text-primary); }
.btn-arrow { font-size: 14px; transform: translateY(-1px); }
/* Phone buttons: mono letter-spacing inflates the gaps between words and around
   the parentheses — pull the word spacing back so the number reads evenly. */
a[href^="tel:"].btn { word-spacing: -0.2em; }
.nav-cta { padding: 12px 20px; font-size: 11px; } /* kept at old size per request */

/* ============================================================
   HERO (home)
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 720px;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  background: var(--bg-elevated);
}
.hero-media img,
.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(20,16,15,0.25) 0%,
    rgba(20,16,15,0) 30%,
    rgba(20,16,15,0) 60%,
    rgba(20,16,15,0.85) 100%);
}
.hero-meta {
  position: absolute;
  left: 40px;
  bottom: 32px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 18px;
}
.hero-meta-dot {
  width: 8px; height: 8px;
  background: var(--accent-primary);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--accent-glow);
}
.hero-meta-right {
  position: absolute;
  right: 40px;
  bottom: 32px;
  z-index: 2;
}
.hero-scroll-hint {
  cursor: pointer;
  padding: 8px 12px;
  margin: -8px -12px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.hero-scroll-hint:hover {
  opacity: 0.7;
  transform: translateY(2px);
}
.hero-scroll-hint:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 4px;
}

/* Hero kicker (the giant tagline below the hero image) */
.hero-kicker {
  padding: 80px 40px 80px;
  text-align: center;
  background: var(--bg-primary);
}
.hero-kicker-cta { display: none; }
.hero-kicker-eyebrow {
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.hero-kicker-title {
  font-family: var(--font-display);
  font-size: clamp(72px, 11vw, 180px);
  line-height: 0.88;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin: 0;
}
.hero-kicker-title .accent { color: var(--accent-primary); }
.hero-kicker-sub {
  margin: 32px auto 0;
  max-width: 640px;
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 1.6;
}

/* ============================================================
   Section headers (mono eyebrow + display title)
   ============================================================ */
.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 40px;
  margin-bottom: 50px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--divider);
}
.section-head-left { display: flex; flex-direction: column; gap: 20px; }
.section-head-title {
  font-family: var(--font-display);
  font-size: clamp(56px, 8vw, 128px);
  line-height: 0.9;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  margin: 0;
}
.section-head-title .accent { color: var(--accent-primary); }
.section-head-right {
  text-align: right;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.65;
  max-width: 420px;
  justify-self: end;
}

/* ============================================================
   Three-pillar cards (used for "what we build" / "what we believe")
   ============================================================ */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--divider);
  border: 1px solid var(--divider);
}
.pillar {
  background: var(--bg-primary);
  padding: 48px 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 360px;
  transition: background 250ms ease;
}
.pillar:hover { background: var(--bg-secondary); }
.pillar-index {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--accent-primary);
  text-transform: uppercase;
}
.pillar-title {
  font-family: var(--font-display);
  font-size: 38px;
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin: 0;
}
.pillar-text {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
}
.pillar-foot {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--divider);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.pillars.is-duo { grid-template-columns: 1fr 1fr; }
.pillars.is-duo .pillar { min-height: 320px; }

/* ============================================================
   Services list (numbered rows, "What we do")
   ============================================================ */
.services {
  display: flex;
  flex-direction: column;
}
.service-row {
  display: grid;
  grid-template-columns: 140px 1.2fr 2fr;
  gap: 40px;
  align-items: start;
  padding: 56px 0;
  background: var(--bg-primary);
  border-top: 1px solid var(--divider);
}
.service-row:last-child { border-bottom: 1px solid var(--divider); }
.service-number {
  font-family: var(--font-display);
  font-size: 96px;
  line-height: 0.9;
  color: var(--bg-elevated);
  letter-spacing: -0.04em;
  transition: color 250ms ease;
}
.service-row:hover .service-number { color: var(--accent-primary); }
.service-title {
  font-family: var(--font-display);
  font-size: 36px;
  line-height: 1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin: 0;
}
.service-body {
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.65;
  margin: 0;
  max-width: 560px;
}

/* Section meta — small counter + label above the big section title */
.section-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}
.section-meta-count {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--accent-primary);
  text-transform: uppercase;
}
.section-meta-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--text-muted);
  text-transform: uppercase;
}
.section-head-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--accent-primary);
  text-transform: uppercase;
  display: block;
  margin-bottom: 14px;
}

/* ============================================================
   Process timeline (home page "How We Build")
   ============================================================ */
.section-head.is-centered {
  display: block;
  text-align: center;
  padding-bottom: 0;
  border-bottom: none;
  margin-bottom: 32px;
}
.process { position: relative; }
.process-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding-top: 24px;
}
.process-track::before {
  content: "";
  position: absolute;
  top: 36px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--accent-primary);
  opacity: 0.5;
}
.process-node {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 0 20px;
}
.process-dot {
  width: 14px;
  height: 14px;
  background: var(--bg-primary);
  border: 1.5px solid var(--accent-primary);
  border-radius: 50%;
  position: relative;
  z-index: 2;
  transition: all 300ms ease;
}
.process-node:hover .process-dot {
  background: var(--accent-primary);
  box-shadow: 0 0 0 6px var(--accent-glow);
}
.process-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--text-muted);
  text-transform: uppercase;
}
.process-title {
  font-family: var(--font-display);
  font-size: 32px;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  line-height: 1;
  margin: 0;
}
.process-desc {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
  max-width: 320px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 500ms ease, opacity 300ms ease;
}
.process-node:hover .process-desc,
.process-node:focus-within .process-desc {
  max-height: 400px;
  opacity: 1;
}

/* ============================================================
   Builds 2x2 grid (home page teaser)
   ============================================================ */
.builds-2x2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 30px auto 0;
  max-width: 1080px;
}
.builds-2x2 .build-card { gap: 14px; }
.builds-2x2 .build-card-img { aspect-ratio: 16 / 10; }

/* ============================================================
   Big CTA section
   ============================================================ */
.cta-section {
  padding: 140px 40px;
  text-align: center;
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
  background: var(--bg-primary);
}
.cta-eyebrow { margin-bottom: 28px; display: inline-flex; gap: 12px; align-items: center; }
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(64px, 9vw, 160px);
  line-height: 0.9;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  margin: 0 0 36px;
}
.cta-title .accent { color: var(--accent-primary); }
.cta-sub {
  max-width: 540px;
  margin: 0 auto 40px;
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.6;
}
.cta-row {
  display: inline-flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  border-top: 1px solid var(--accent-primary);
  padding: 64px 0 40px;
  background: var(--bg-primary);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 60px;
}
.footer-brand { display: flex; flex-direction: column; gap: 18px; }
.footer-word {
  font-family: var(--font-display);
  font-size: 36px;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 1;
}
.footer-copy {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.2em;
  line-height: 1.7;
  text-transform: uppercase;
}
.footer-col { display: flex; flex-direction: column; gap: 14px; }
.footer-col-title {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.22em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.footer-areas { margin-top: 44px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.08); }
.footer-areas-links { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; margin: 0; }
.footer-areas-links a { white-space: nowrap; }
.footer-areas-links span { color: var(--text-muted); }
.footer-link {
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: color 200ms ease;
}
.footer-link:hover { color: var(--accent-primary); }
.footer-address,
.footer-hours {
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.04em;
  font-style: normal;
  line-height: 1.7;
}
.footer-hours { margin-top: 4px; }
.footer-social { display: flex; gap: 14px; margin-top: 8px; }
.footer-social-btn {
  width: 36px;
  height: 36px;
  border: 1px solid var(--divider);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all 250ms ease;
}
.footer-social-btn:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}
.footer-social-icon { width: 18px; height: 18px; }

/* ============================================================
   ABOUT / STORY PAGE
   ============================================================ */
.about-hero {
  padding-top: 280px;
  padding-bottom: 24px;
}
.about-hero-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 60px;
}
.about-hero-head.is-centered {
  display: block;
  text-align: center;
  margin-bottom: 40px;
}
.about-hero-title {
  font-family: var(--font-display);
  font-size: clamp(56px, 8vw, 140px);
  line-height: 0.9;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 16px 0 0;
}
.about-hero-title .accent { color: var(--accent-primary); }
.about-hero-tagline {
  font-family: var(--font-body);
  font-size: clamp(19px, 2.2vw, 26px);
  line-height: 1.5;
  color: var(--text-secondary);
  margin: 22px auto 0;
  max-width: 640px;
}
.about-hero-sub {
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 1.6;
  max-width: 460px;
  justify-self: end;
}
.about-hero-image {
  aspect-ratio: 21 / 9;
  margin-top: 40px;
  overflow: hidden;
}
.about-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.about-story {
  display: flex;
  align-items: center;
  gap: 56px;
  padding-top: 40px;
  padding-bottom: 100px;
}
.about-story-prose {
  flex: 1 1 0;
  min-width: 0;
}
.about-story-eyebrow {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}
.about-story-eyebrow-line {
  width: 40px;
  height: 1px;
  background: var(--accent-primary);
}
.about-story-prose p {
  font-size: 19px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0 0 28px;
  max-width: 720px;
}
.about-story-prose p:first-child::first-letter {
  font-family: var(--font-display);
  font-size: 78px;
  line-height: 0.85;
  float: left;
  padding: 6px 16px 0 0;
  color: var(--accent-primary);
}
.about-story-prose p strong {
  color: var(--text-primary);
  font-weight: 600;
}

.story-portrait {
  flex: 0 0 540px;
  max-width: 540px;
  margin: 0;
}
.story-portrait-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
  border: 1px solid var(--divider);
}

/* Family photo strip under the story */
.story-gallery-section {
  padding-top: 8px;
  padding-bottom: 40px;
}
/* Full-bleed single row: five equal cells edge-to-edge across the viewport.
   Images fill their cell (cover) — outer edges crop rather than letterbox. */
.story-gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  width: 100vw;
  margin-left: calc(50% - 50vw);
}
.story-gallery figure {
  margin: 0;
  min-width: 0;
}
.story-gallery-img {
  display: block;
  width: 100%;
  height: clamp(170px, 20vw, 340px);
  object-fit: cover;
  object-position: center;
}

.about-stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
}
.about-stat {
  padding: 40px 32px;
  border-right: 1px solid var(--divider);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.about-stat:last-child { border-right: none; }
.about-stat-value {
  font-family: var(--font-display);
  font-size: 64px;
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}
.about-stat-value .accent { color: var(--accent-primary); }
.about-stat-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* ============================================================
   STORY CHAPTERS — long-form narrative sections
   ============================================================ */
.story-chapter {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.story-chapter.is-reversed .story-chapter-media { order: 2; }
.story-chapter-body { max-width: 640px; }
.story-chapter-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.4vw, 60px);
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin: 0 0 28px;
}
.story-chapter-title .accent { color: var(--accent-primary); }
.story-chapter-lead {
  font-size: 23px;
  line-height: 1.5;
  color: var(--text-primary);
  margin: 0 0 22px;
}
.story-chapter-body p {
  font-size: 19px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0 0 22px;
}
.story-chapter-body p:last-child { margin-bottom: 0; }
.story-chapter-body strong { color: var(--text-primary); font-weight: 600; }

.story-chapter-photo {
  width: 100%;
  height: auto;
  border-radius: 4px;
  border: 1px solid var(--divider);
}
/* Labeled placeholder for photos not yet supplied */
.story-photo-placeholder {
  aspect-ratio: 4 / 3;
  border: 1px dashed rgba(245, 239, 232, 0.16);
  border-radius: 4px;
  background: linear-gradient(135deg, var(--bg-secondary), var(--bg-elevated));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  text-align: center;
}
.story-photo-placeholder span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 300px;
}

/* Pat's Pony — emotional centerpiece, single centered column */
.story-feature { max-width: 820px; margin: 0 auto; text-align: center; }
.story-feature .story-chapter-title { font-size: clamp(40px, 5.4vw, 76px); }
.story-feature .story-chapter-lead { font-size: 24px; }
.story-feature .story-chapter-body p { margin-left: auto; margin-right: auto; }

/* Pat's Pony — text left, photo floated right with wrap */
.story-pony { max-width: 1080px; margin: 0 auto; }
.story-pony::after { content: ""; display: table; clear: both; }
.story-pony-media {
  float: right;
  width: 42%;
  max-width: 460px;
  margin: 8px 0 24px 48px;
}
.story-pony-media .story-chapter-photo { width: 100%; height: auto; }
.story-pony-media figcaption {
  margin-top: 16px;
  font-size: 15px;
  color: var(--text-secondary);
}
.story-pony-media figcaption a {
  color: var(--text-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.story-pony-media figcaption a:hover { color: var(--accent-primary); }
.story-pony .story-chapter-title { font-size: clamp(40px, 5.4vw, 72px); margin-bottom: 24px; }
.story-pony .story-chapter-lead { font-size: 24px; }
.story-pony-body p {
  font-size: 19px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0 0 22px;
}
.story-pony-body p:last-child { margin-bottom: 0; }
.story-pony-body strong { color: var(--text-primary); font-weight: 600; }

/* Closing note above the footer */
.story-signoff {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 2;
  padding-top: 70px;
  padding-bottom: 70px;
}
.story-signoff strong { color: var(--text-secondary); font-weight: 500; }

/* ============================================================
   BUILDS / SHOWROOM PAGE
   ============================================================ */
.showroom-hero {
  padding-top: 260px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--divider);
}
.showroom-hero-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}
/* Header periods: letters like E/S sit closer to the period than P does, so the
   red showroom-title periods get a push to match the airy gap on "A Family Shop."
   Adjust this one value to shift every wrapped terminal-period title at once. */
.title-stop { margin-left: 0.08em; }
.showroom-hero-title {
  font-family: var(--font-display);
  font-size: clamp(72px, 12vw, 180px);
  line-height: 0.85;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 0;
}
.showroom-hero-meta {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.65;
  max-width: 360px;
  text-align: right;
}

.inventory-intro {
  max-width: 820px;
  margin: 12px auto 64px;
  padding: 0 24px;
}
.inventory-intro p {
  margin: 0;
  padding: 30px 34px;
  background: var(--bg-secondary);
  border: 1px solid var(--divider);
  border-left: 3px solid var(--accent-primary);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-secondary);
}
.inventory-intro a {
  color: var(--text-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.inventory-intro a:hover { color: var(--accent-primary); }

.showroom-grid-section {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding-left: 24px;
  padding-right: 24px;
  box-sizing: border-box;
}
.showroom-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 24px;
  padding-top: 60px;
  padding-bottom: 120px;
}
.build-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  cursor: pointer;
  position: relative;
}
.build-card-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
  background: var(--bg-elevated);
}
.build-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.build-card:hover .build-card-img img { transform: scale(1.03); }

/* Title overlaid on the image, always visible, with bottom gradient backdrop. */
.build-card-title-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 28px 24px 22px;
  background: linear-gradient(180deg, rgba(20,16,15,0) 0%, rgba(20,16,15,0.85) 100%);
  pointer-events: none;
}
.build-card-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 44px);
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin: 0;
}
.build-card-price {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--accent-primary);
  margin-top: 12px;
}
.build-card-sold {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-primary);
  background: var(--accent-primary);
  padding: 8px 14px 8px 17px;
}
.build-hero-price.is-sold,
.photos-page-price.is-sold {
  color: var(--accent-primary);
  text-transform: uppercase;
}
.build-card-hover {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,16,15,0) 40%, rgba(20,16,15,0.9) 100%);
  opacity: 0;
  transition: opacity 300ms ease;
  display: flex;
  align-items: flex-end;
  padding: 20px;
}
.build-card:hover .build-card-hover { opacity: 1; }
.build-card-hover-stats {
  display: flex;
  gap: 24px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--accent-primary);
  text-transform: uppercase;
}
.build-card-name {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin: 0;
}
.build-card-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--text-muted);
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
}

/* When the grid has only one card, center it and cap width. */
.showroom-grid.is-single {
  grid-template-columns: minmax(320px, 520px);
  justify-content: center;
  padding-top: 40px;
  padding-bottom: 60px;
}
.showroom-grid.is-single .build-card-img { aspect-ratio: 16 / 10; }


.showroom-note {
  text-align: center;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 20px 0 80px;
}

/* ============================================================
   Scroll reveal utility
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 800ms ease, transform 800ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   START A BUILD — multi-step form
   ============================================================ */
.form-shell {
  max-width: 760px;
  margin: 0 auto;
  padding: 140px 24px 56px;
  box-sizing: border-box;
  /* Center the questionnaire in the viewport on load. min-height (not height)
     lets tall steps grow past the fold and scroll normally instead of clipping.
     `safe center` keeps a tall step from overflowing upward under the fixed
     nav — it falls back to top-aligned (respecting padding-top) when the
     content is taller than the available space. */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: safe center;
}

.form-shell .page-header {
  text-align: center;
  padding-bottom: 18px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--divider);
}
.form-shell .page-eyebrow {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 11px;
  color: var(--accent-primary);
  margin-bottom: 18px;
}
.form-shell .page-title {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(38px, 5vw, 56px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.form-shell .page-lede {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto;
}

/* --- Progress --- */
.progress { margin-bottom: 40px; }
.progress-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.progress-track {
  width: 100%;
  height: 2px;
  background: var(--divider);
  position: relative;
  overflow: hidden;
}
.progress-bar {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  background: var(--accent-primary);
  width: 0%;
  transition: width 0.4s ease;
}

/* --- Steps --- */
.step { display: none; animation: stepFade 0.4s ease; }
.step.is-active { display: block; }
@keyframes stepFade {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.step-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 44px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
/* The wizard moves focus here on each step so screen readers announce it.
   It's a heading, not a control — suppress the visible focus ring. */
.step-title:focus,
.step-title:focus-visible { outline: none; }
.step-help {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 28px;
}

/* --- Radio cards --- */
.radio-card-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: none;
  padding: 0;
  margin: 0;
}
.radio-card { position: relative; }
.radio-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.radio-card label {
  display: block;
  padding: 18px 24px;
  background: var(--bg-elevated);
  border: 1px solid var(--divider);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
  font-size: 16px;
  line-height: 1.4;
  color: var(--text-primary);
}
.radio-card label:hover {
  border-color: var(--text-muted);
  background: var(--surface-warm);
}
.radio-card input[type="radio"]:checked + label {
  border-color: var(--accent-primary);
  background: var(--accent-glow);
}
.radio-card input[type="radio"]:focus-visible + label {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
}

/* --- Text inputs --- */
.field { margin-bottom: 20px; }
.field-row { display: grid; grid-template-columns: 1fr; gap: 16px; margin-bottom: 20px; }
@media (min-width: 600px) { .field-row.cols-3 { grid-template-columns: 120px 1fr 1fr; } }
.field-label {
  display: block;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.text-input,
.textarea-input {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--divider);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.4;
  transition: border-color 0.2s ease;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}
.text-input:focus,
.textarea-input:focus {
  outline: none;
  border-color: var(--accent-primary);
}
.textarea-input { resize: vertical; min-height: 160px; }
.text-input::placeholder,
.textarea-input::placeholder { color: var(--text-muted); }

/* --- File input --- */
.file-drop {
  border: 1px dashed var(--text-muted);
  background: var(--bg-elevated);
  padding: 36px 24px;
  text-align: center;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.file-drop:hover,
.file-drop.is-active {
  border-color: var(--accent-primary);
  background: var(--accent-glow);
}
.file-drop input[type="file"] { display: none; }
.file-drop-button {
  display: inline-block;
  padding: 12px 22px;
  background: transparent;
  border: 1px solid var(--text-muted);
  color: var(--text-primary);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 11px;
  margin-top: 14px;
  cursor: pointer;
  transition: border-color 200ms ease;
}
.file-drop-button:hover { border-color: var(--accent-primary); }
.file-drop-help { font-size: 14px; color: var(--text-secondary); }
.file-list {
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

/* --- Errors --- */
.field-error {
  color: #ff6b6b;
  font-size: 14px;
  margin-top: 10px;
  display: none;
}
.step.has-error .field-error { display: block; }

/* --- Step nav --- */
.step-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--divider);
}
.btn-ghost.is-hidden { visibility: hidden; }

/* --- Confirmation --- */
.confirmation {
  display: none;
  text-align: center;
  padding: 40px 0;
}
.confirmation.is-active { display: block; }
.confirmation-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 64px);
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.confirmation-body {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 480px;
  margin: 0 auto 36px;
}

/* --- Honeypot (visually hidden, accessible to bots) --- */
.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

/* ============================================================
   BUILD DETAIL — case study page
   ============================================================ */
.breadcrumbs {
  padding-top: 28px;
  padding-bottom: 0;
}
.breadcrumbs-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.breadcrumbs-item a {
  color: var(--text-secondary);
  transition: color 200ms ease;
}
.breadcrumbs-item a:hover { color: var(--accent-primary); }
.breadcrumbs-item[aria-current="page"] { color: var(--text-primary); }
.breadcrumbs-sep { color: var(--text-muted); }

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

/* 1. Hero */
.build-hero {
  position: relative;
  width: 100%;
  height: 78vh;
  min-height: 560px;
  overflow: hidden;
}
.build-hero-media {
  position: absolute;
  inset: 0;
}
.build-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.build-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(20,16,15,0.55) 0%,
    rgba(20,16,15,0.15) 35%,
    rgba(20,16,15,0.25) 65%,
    rgba(20,16,15,0.92) 100%);
}
.build-hero-overlay {
  position: absolute;
  left: 40px;
  right: 40px;
  bottom: 48px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
}
.build-hero-eyebrow {
  color: var(--text-secondary);
}
.build-hero-title {
  font-family: var(--font-display);
  font-size: clamp(64px, 11vw, 180px);
  line-height: 0.85;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  margin: 0;
}
.build-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--accent-primary);
  text-transform: uppercase;
  padding-top: 12px;
}
.build-hero-price {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

/* 2. Story */
.build-story {
  padding-top: 56px;
  padding-bottom: 100px;
}
.build-story .build-story-eyebrow { display: none; }
.build-story-prose {
  column-count: 2;
  column-gap: 64px;
  max-width: none;
}
.build-story-eyebrow {
  position: sticky;
  top: 140px;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.build-story-rule {
  width: 40px;
  height: 1px;
  background: var(--accent-primary);
}
.build-section-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.92;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 0 0 36px;
}
.build-section-title .accent { color: var(--accent-primary); }
.build-story-prose p {
  font-size: 19px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0 0 28px;
  max-width: none;
}
.build-story-prose p strong { color: var(--text-primary); font-weight: 600; }
.build-story-prose p a {
  color: var(--text-primary);
  border-bottom: 1px solid var(--accent-primary);
  transition: color 200ms ease;
}
.build-story-prose p a:hover { color: var(--accent-primary); }
.build-story-lede {
  font-size: 22px !important;
  color: var(--text-primary) !important;
  line-height: 1.55 !important;
}

/* Editorial intro paragraph that opens the photo gallery — lede teaser
   from the build story, with a magazine-style drop cap. */
.build-gallery-intro {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.build-gallery-intro p {
  font-family: var(--font-body);
  font-size: 24px;
  line-height: 1.45;
  color: var(--text-primary);
  margin: 0;
}

/* 3. Build video */
.build-video-section {
  padding-top: 100px;
  padding-bottom: 100px;
}
.build-video-wrap {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 40px auto 0;
  aspect-ratio: 16 / 9;
  background: var(--bg-elevated);
}
.build-video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* 4. Specs */
.build-specs {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  padding-top: 100px;
  padding-bottom: 100px;
  border-top: 1px solid var(--divider);
}
.build-specs-intro {
  position: sticky;
  top: 180px;
  align-self: start;
}
.build-specs-lede {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 460px;
  margin: 0;
}
.build-specs-list {
  margin: 0;
  display: flex;
  flex-direction: column;
}
.build-spec {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  padding: 28px 0;
  border-top: 1px solid var(--divider);
}
.build-spec:last-child { border-bottom: 1px solid var(--divider); }
.build-spec-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--accent-primary);
  text-transform: uppercase;
  padding-top: 4px;
}
.build-spec-value {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-primary);
}
.build-spec-value em {
  display: block;
  margin-top: 6px;
  color: var(--text-muted);
  font-size: 15px;
  font-style: italic;
}

/* 5. Gallery */
.build-gallery-section {
  padding-top: 100px;
  padding-bottom: 0;
}
.build-gallery {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.build-gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-elevated);
}
/* The story begins in the empty cells of the last gallery row.
   Spans the right 2 columns when a single orphan image sits on the left. */
.build-gallery-story-start {
  grid-column: 2 / 4;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  padding: 24px 24px 24px 48px;
}
.build-gallery-story-start .build-story-rule {
  width: 40px;
  height: 1px;
  background: var(--accent-primary);
  margin: 0;
}
.build-gallery-story-start .build-section-title {
  margin: 0;
}
.build-gallery-story-start .build-story-lede {
  font-size: 22px;
  color: var(--text-primary);
  line-height: 1.55;
  margin: 0;
  max-width: 720px;
}
.build-gallery-trigger {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}
.build-gallery-trigger img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.build-gallery-trigger:hover img { transform: scale(1.04); }
.build-gallery-trigger:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
}
.build-gallery-note {
  text-align: center;
  color: var(--text-muted);
  margin-top: 32px;
}
.build-story-cta {
  margin-top: 96px;
  margin-bottom: 120px;
  text-align: center;
}
.build-gallery-after-cta {
  margin-top: 48px;
  text-align: center;
}

/* "The Shop" coming-soon page */
.shop-hero {
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
  padding-top: 240px;
  padding-bottom: 80px;
}
.shop-hero-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.shop-hero-eyebrow {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-primary);
  margin: 0 0 24px;
}
.shop-hero-title {
  font-family: var(--font-display);
  font-size: clamp(72px, 14vw, 200px);
  line-height: 0.9;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 0 0 32px;
}
.shop-hero-lede {
  font-family: var(--font-body);
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.45;
  color: var(--text-primary);
  margin: 0 0 24px;
}
.shop-hero-meta {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0 0 40px;
}
.shop-hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Inquire modal — for-sale build CTA */
.inquire-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.inquire-modal.is-open { display: flex; }
.inquire-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}
.inquire-modal-card {
  position: relative;
  width: 100%;
  max-width: 480px;
  background: var(--bg-elevated, #1f1a18);
  border: 1px solid var(--divider, rgba(255,255,255,0.08));
  padding: 40px 32px 32px;
  z-index: 1;
}
.inquire-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  width: 32px;
  height: 32px;
  font-size: 28px;
  line-height: 1;
  color: var(--text-secondary);
  background: transparent;
  border: 0;
  cursor: pointer;
}
.inquire-modal-close:hover { color: var(--text-primary); }
.inquire-modal-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}
.inquire-modal-meta {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-secondary);
  margin: 0 0 24px;
}
.inquire-form { display: flex; flex-direction: column; gap: 16px; }
.inquire-field { display: flex; flex-direction: column; gap: 6px; }
.inquire-field > span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
}
.inquire-field input {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--divider, rgba(255,255,255,0.12));
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  padding: 12px 14px;
  outline: none;
  transition: border-color 150ms ease;
}
.inquire-field input:focus { border-color: var(--accent-primary); }
.inquire-submit { margin-top: 8px; align-self: flex-start; }
.inquire-success {
  display: none;
  color: var(--text-primary);
  font-size: 17px;
  line-height: 1.6;
  margin: 4px 0 0;
}
.inquire-form.is-sent .inquire-field,
.inquire-form.is-sent .inquire-submit { display: none; }
.inquire-form.is-sent .inquire-success { display: block; }
.build-more-photos-cta {
  text-align: center;
}
.build-gallery-more {
  text-align: center;
}
/* Dedicated photo gallery page */
.photos-page-header {
  padding-top: 260px;
  padding-bottom: 24px;
}
.photos-page-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 8vw, 120px);
  line-height: 0.92;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 0 0 16px;
}
.photos-page-meta {
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--text-secondary);
  margin: 0;
  max-width: 640px;
}
.photos-page-sale {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.photos-page-price {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}
.photos-page-grid-section {
  padding-top: 24px;
  padding-bottom: 100px;
}
.build-gallery-more-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.build-gallery-more-grid {
  margin-top: 24px;
  text-align: left;
}

/* 6. Owner quote */
.build-quote-section {
  padding: 140px 0;
  text-align: center;
  border-top: 1px solid var(--divider);
}
.build-quote {
  margin: 28px auto 0;
  max-width: 780px;
}
.build-quote-text {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  margin: 0 0 32px;
  color: var(--text-primary);
}
.build-quote-attr {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
}
.build-quote-name {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-primary);
}
.build-quote-role {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(10, 8, 7, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 60px 64px;
}
.lightbox.is-open { display: flex; }
.lightbox-figure {
  margin: 0;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.lightbox-img {
  max-width: 100%;
  max-height: calc(100vh - 140px);
  object-fit: contain;
  display: block;
}
.lightbox-caption {
  color: var(--text-secondary);
  text-align: center;
  max-width: 720px;
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: transparent;
  border: 1px solid var(--divider);
  color: var(--text-primary);
  font-family: var(--font-display);
  cursor: pointer;
  transition: border-color 200ms ease, color 200ms ease;
}
.lightbox-close {
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  font-size: 28px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  font-size: 36px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}
body.lightbox-open { overflow: hidden; }

/* ============================================================
   RESPONSIVE — Mobile (390px target)
   ============================================================ */
@media (max-width: 900px) {
  :root { --gutter: 20px; }
  .section { padding-top: 60px; padding-bottom: 60px; }

  .nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px;
    background: var(--bg-primary);
    border-bottom-color: var(--divider);
  }
  .nav-logo-img { width: 206px; height: 48px; }
  .nav-burger { width: 22px; height: 14px; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    transform: none;
    flex-direction: column;
    gap: 0;
    background: rgba(20, 16, 15, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--divider);
    border-bottom: 1px solid var(--divider);
    padding: 16px 24px 20px;
    z-index: 95;
  }
  .nav-links.is-open { display: flex; }
  .nav-links li { padding: 18px 0; border-bottom: 1px solid var(--divider); }
  .nav-links li:last-child { border-bottom: none; }
  .nav-links .nav-link { font-size: 16px; }
  .nav-cta { display: none; }
  .nav-burger { display: flex; }

  /* Mobile nav is shorter (smaller logo), so the form needs less top clearance. */
  .form-shell { padding-top: 96px; }

  /* Mobile: show the full 16:9 hero video (no vertical crop), clear of the fixed nav */
  .hero { height: auto; min-height: 0; padding-top: 64px; }
  .hero-media { position: relative; aspect-ratio: 16 / 9; }
  .hero-meta, .hero-meta-right { left: 20px; right: 20px; bottom: 20px; }
  .hero-kicker { padding: 60px 20px 60px; }
  .hero-kicker-sub { font-size: 16px; }
  .hero-kicker-cta { display: inline-flex; margin-top: 28px; }

  /* CTA title: cap font-size so "BRING YOUR RIDE" fits on one line */
  .cta-title { font-size: clamp(48px, 12vw, 64px); }

  /* About / Story page: tighten header-to-body gap */
  .about-hero { padding-top: 130px; padding-bottom: 8px; }
  .about-hero-head { margin-bottom: 8px; }
  .about-hero-head.is-centered { margin-bottom: 8px; }
  .about-story { padding-top: 16px; padding-bottom: 60px; }

  .section-head {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .section-head-right { text-align: left; justify-self: start; }

  .pillars { grid-template-columns: 1fr; }
  .pillars.is-duo { grid-template-columns: 1fr; }
  .pillar { min-height: auto; padding: 36px 24px; }

  .builds-2x2 { grid-template-columns: 1fr; }

  .process-track { grid-template-columns: 1fr; gap: 40px; }
  .process-track::before { display: none; }
  .process-node { align-items: flex-start; text-align: left; padding: 0; }
  .process-desc { max-height: none; opacity: 1; }

  .service-row {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 36px 0;
  }
  .service-number { font-size: 64px; }
  .service-title { font-size: 28px; }

  .cta-section { padding: 100px 20px; }

  .footer-grid { grid-template-columns: 1fr; gap: 40px; }

  .about-hero { padding-top: 180px; }
  .about-hero-head { grid-template-columns: 1fr; gap: 24px; }
  .about-hero-sub { justify-self: start; text-align: left; }
  .about-story {
    flex-direction: column;
    gap: 32px;
    padding-top: 80px;
    padding-bottom: 80px;
  }
  .story-portrait {
    position: static;
    flex-basis: auto;
    max-width: 460px;
  }
  .story-gallery { gap: 2px; }
  .story-gallery-section { padding-bottom: 28px; }
  .story-chapter {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .story-chapter.is-reversed .story-chapter-media { order: 0; }
  .story-chapter-body { max-width: none; }
  .story-chapter-lead { font-size: 21px; }
  .story-pony-media {
    float: none;
    width: 100%;
    max-width: none;
    margin: 0 0 28px;
  }
  .about-story-eyebrow {
    position: static;
    flex-direction: row;
    align-items: center;
  }
  .about-stat-strip { grid-template-columns: 1fr; }
  .about-stat { border-right: none; border-bottom: 1px solid var(--divider); }
  .about-stat:last-child { border-bottom: none; }

  .showroom-hero { padding-top: 170px; }
  .photos-page-header { padding-top: 170px; }
  .showroom-hero-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .showroom-hero-meta { text-align: left; }
  .inventory-intro { margin-bottom: 48px; }
  .inventory-intro p { padding: 24px 22px; font-size: 16px; }
  .showroom-grid { grid-template-columns: 1fr; gap: 32px; padding-bottom: 80px; }

  /* Build detail — mobile */
  .build-hero { height: 70vh; min-height: 480px; }
  .build-hero-overlay { left: 20px; right: 20px; bottom: 28px; gap: 14px; }
  .build-hero-meta { gap: 6px 18px; font-size: 10px; }

  .build-story {
    padding-top: 40px;
    padding-bottom: 70px;
  }
  .build-story-prose {
    column-count: 1;
  }
  .build-story-prose p { font-size: 17px; }
  .build-story-lede { font-size: 19px !important; }

  .build-video-section { padding-top: 70px; padding-bottom: 70px; }

  .build-specs {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 70px;
    padding-bottom: 70px;
  }
  .build-specs-intro { position: static; }
  .build-spec {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 22px 0;
  }

  .build-gallery-section { padding-top: 70px; padding-bottom: 0; }
  .build-gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
  .build-gallery-story-start {
    grid-column: 1 / -1;
    padding: 36px 0 8px;
  }
  .build-gallery-story-start .build-story-lede { font-size: 19px; }

  .build-quote-section { padding: 90px 0; }

  .lightbox { padding: 56px 16px; }
  .lightbox-prev, .lightbox-next { width: 44px; height: 44px; font-size: 28px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--divider);
}
.faq-item {
  border-bottom: 1px solid var(--divider);
}
.faq-question {
  cursor: pointer;
  list-style: none;
  padding: 28px 56px 28px 0;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 28px);
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--text-primary);
  position: relative;
  transition: color 200ms ease;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 300;
  color: var(--accent-primary);
  transition: transform 240ms ease;
  line-height: 1;
}
.faq-item[open] .faq-question::after {
  transform: translateY(-50%) rotate(45deg);
}
.faq-question:hover { color: var(--accent-primary); }
.faq-answer {
  padding: 0 56px 28px 0;
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.7;
  max-width: 72ch;
}
.faq-answer p { margin: 0; }

/* ===== SERVICE LANDING PAGES ===== */
.svc-lede { max-width: 780px; }
.svc-lede p {
  font-size: 20px;
  line-height: 1.62;
  color: var(--text-secondary);
  margin: 0 0 24px;
}
.svc-lede p:first-of-type {
  color: var(--text-primary);
  font-size: 23px;
  line-height: 1.5;
}
.svc-lede p a {
  color: var(--text-primary);
  border-bottom: 1px solid var(--accent-primary);
  transition: color 200ms ease;
}
.svc-lede p a:hover { color: var(--accent-primary); }
.svc-crosslinks {
  margin-top: 4px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
}
.svc-crosslinks a {
  color: var(--text-primary);
  border-bottom: 1px solid var(--accent-primary);
  transition: color 200ms ease;
}
.svc-crosslinks a:hover { color: var(--accent-primary); }

/* ---------- Local area / service-area pages ---------- */
.area-hero {
  text-align: center;
  padding: 170px 24px 60px;
  border-bottom: 1px solid var(--divider);
}
.area-hero-kicker {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent-primary);
  margin: 0 0 18px;
}
.area-hero-title {
  font-family: var(--font-display);
  font-size: clamp(56px, 9vw, 104px);
  line-height: 0.9;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 0;
}
.area-hero-title .accent { color: var(--accent-primary); }
.area-hero-meta {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.6;
  max-width: 540px;
  margin: 22px auto 0;
}
.area-section { padding: 72px 24px; }
.area-section.contrast {
  background: var(--bg-secondary);
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
}
.area-wrap { max-width: 680px; margin: 0 auto; text-align: center; }
.area-heading {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.5vw, 44px);
  line-height: 1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin: 0 0 26px;
}
.area-heading .accent { color: var(--accent-primary); }
.area-prose p {
  font-size: 18px;
  line-height: 1.75;
  color: var(--text-secondary);
  margin: 0 0 20px;
}
.area-prose p:last-child { margin-bottom: 0; }
.area-crosslinks {
  margin-top: 30px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.03em;
  color: var(--text-muted);
}
.area-crosslinks a { color: var(--text-secondary); border-bottom: 1px solid var(--accent-primary); }
.area-crosslinks a:hover { color: var(--accent-primary); }
.area-faqwrap { max-width: 720px; margin: 0 auto; text-align: left; }
