/* ─────────────────────────────────────────────
   TransitSign — marketing site
   Amber-on-dark. Trebuchet MS throughout (bold headings + labels).
   bold for labels/UI.
   ───────────────────────────────────────────── */

:root {
  --bg:        #0b0a09;   /* near-black, faintly warm */
  --bg-2:      #131110;   /* raised panels */
  --ink:       #efe6d8;   /* warm off-white text */
  --ink-soft:  #b7ab98;   /* muted body */
  --amber:     #ff9a2e;   /* the sign */
  --amber-lit: #ffb24d;   /* brighter highlight */
  --amber-dim: #5a3410;   /* unlit dot / borders */
  --wood:      #6b4423;   /* craft accent */
  --serif: var(--sans);
  --pixel: "VT323", monospace;
  --sans: "Trebuchet MS", "Lucida Grande", "Lucida Sans Unicode", "Segoe UI", sans-serif;
  --maxw: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0; overflow-x: clip;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--sans); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; }

p { margin: 0 0 1em; }

a { color: var(--amber-lit); text-decoration: none; }

.eyebrow {
  font-family: var(--sans); font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0 0 1rem;
}
.eyebrow.center { text-align: center; }
.center { text-align: center; }

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--sans); font-weight: 700;
  font-size: 1.01rem;
  letter-spacing: 0.01em;
  color: #1a1206;
  background: linear-gradient(to bottom right, var(--amber-lit), var(--amber));
  padding: 0.55em 1.4em;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  box-shadow: 0 0 24px rgba(255,154,46,0.25);
  transition: transform 0.12s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 0 36px rgba(255,154,46,0.45); }

/* ───────────── Nav ───────────── */
.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(20px, 5vw, 48px);
  background: rgba(11,10,9,0.82);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,154,46,0.12);
}
.wordmark {
  font-family: var(--sans); font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.14em;
  color: var(--ink);
}
.wordmark span { color: var(--amber); }
.nav-cta {
  font-family: var(--sans); font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  color: var(--amber-lit);
  border: 1px solid var(--amber-dim);
  padding: 4px 16px;
  border-radius: 4px;
}
.nav-cta:hover { border-color: var(--amber); }
.nav-links { display: flex; align-items: center; gap: clamp(14px, 2.5vw, 28px); }
.nav-links a:not(.nav-cta) { font-family: var(--sans); font-weight: 700; font-size: 0.86rem; letter-spacing: 0.01em; color: var(--ink-soft); }
.nav-links a:not(.nav-cta):hover { color: var(--amber-lit); }

.btn-ghost {
  color: var(--amber-lit); background: transparent;
  border: 1px solid var(--amber-dim); box-shadow: none;
}
.btn-ghost:hover { border-color: var(--amber); box-shadow: 0 0 24px rgba(255,154,46,0.2); }

/* ───────────── Sections ───────────── */
section { padding: clamp(34px, 5vw, 64px) clamp(20px, 5vw, 48px); }

/* Subtle centered hairline between sections (faded amber, not a hard rule). */
main > section { position: relative; }
main > section + section::before {
  content: "";
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: min(720px, 82%); height: 1px;
  background: linear-gradient(to right, transparent, rgba(255,154,46,0.22), transparent);
}

/* ───────────── Hero ───────────── */
/* Full-bleed photo; a dark wash from the left keeps the text readable and
   lets the sign (right side of the photo) show in full. */
.hero {
  display: flex; align-items: center;
  min-height: clamp(520px, 78vh, 760px);
  padding-top: clamp(48px, 8vw, 96px); padding-bottom: clamp(48px, 8vw, 96px);
  background:
    linear-gradient(to top, var(--bg) 0, rgba(11,10,9,0) 22%),
    linear-gradient(90deg, rgba(11,10,9,0.96) 0%, rgba(11,10,9,0.9) 28%, rgba(11,10,9,0.45) 48%, rgba(11,10,9,0) 64%),
    url("assets/images/hero-bg.jpg?v=2") 70% center / cover no-repeat,
    var(--bg);
}
.hero-text { width: 100%; max-width: var(--maxw); margin: 0 auto; }
.hero .lede, .hero-price { text-shadow: 0 1px 12px rgba(0,0,0,0.6); }

.hero-price { font-family: var(--sans); font-weight: 400; font-size: 0.94rem; letter-spacing: 0.01em; color: var(--ink-soft); margin: 0 0 1.4em; }
.hero-price strong { color: var(--amber-lit); font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.neighborhoods h2 { font-size: clamp(1.8rem, 4.5vw, 3rem); margin: 0 0 0.9em; }
.carousel {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px;
  background: #000;
  border-radius: 14px;
  outline: none;
  /* the "wood cabinet" hint around the panel */
  box-shadow:
    0 0 0 10px #2a1c10,
    0 0 0 12px #3d2817,
    0 30px 80px rgba(0,0,0,0.6),
    0 0 60px rgba(255,154,46,0.12);
}
.carousel-viewport { overflow: hidden; border-radius: 4px; touch-action: pan-y; }
.carousel-track { display: flex; transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
.carousel-slide {
  position: relative; flex: 0 0 100%;
  /* hero band: big on desktop, scales down with the viewport on mobile */
  height: clamp(320px, 56vh, 620px);
}
.carousel-slide img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* title overlay — positioned per-slide from the image-space coords in the data */
.carousel-caption {
  position: absolute;
  max-width: 82%;
  display: flex; flex-direction: column; align-items: flex-start; gap: 0.5em;
  pointer-events: none;
}
.carousel-title {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(1.5rem, 4vw, 2.6rem); line-height: 1.05;
  color: var(--ink);
  text-shadow: 0 2px 14px rgba(0,0,0,0.85);
}
/* stop: an amber pill echoing the "Inquire" button */
.carousel-stop {
  font-family: var(--sans); font-weight: 700; letter-spacing: 0.01em; line-height: 1;
  font-size: clamp(0.76rem, 2.2vw, 0.94rem);
  color: #1a1206;
  background: linear-gradient(to bottom right, var(--amber-lit), var(--amber));
  padding: 0.34em 0.9em;
  border-radius: 999px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.35), 0 0 24px rgba(255,154,46,0.25);
}

/* prev / next */
.carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 2rem; line-height: 1;
  color: var(--ink);
  background: rgba(11,10,9,0.55);
  border: 1px solid rgba(255,154,46,0.25);
  border-radius: 50%; cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.carousel-arrow:hover { background: rgba(11,10,9,0.82); border-color: var(--amber); }
.carousel-arrow.prev { left: 26px; }
.carousel-arrow.next { right: 26px; }

/* dots */
.carousel-dots { display: flex; justify-content: center; gap: 10px; margin-top: 16px; }
.carousel-dot {
  width: 10px; height: 10px; padding: 0;
  border-radius: 50%;
  border: 1px solid var(--amber-dim); background: transparent; cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.carousel-dot:hover { border-color: var(--amber); }
.carousel-dot.active { background: var(--amber); border-color: var(--amber); box-shadow: 0 0 10px rgba(255,154,46,0.6); }

.hero h1 { font-size: clamp(2.4rem, 4.6vw, 3.5rem); margin: 0 0 0.4em; white-space: nowrap; }
.hero .lede { max-width: 480px; margin: 0 0 1.2em; font-size: 1.2rem; color: var(--ink-soft); }
.scroll-hint {
  font-family: var(--sans); font-weight: 700; color: var(--amber-dim);
  letter-spacing: 0.2em; margin-top: 3em; font-size: 0.79rem;
}

/* ───────────── Video ───────────── */
.video-frame {
  position: relative; width: 100%; aspect-ratio: 16 / 9;
  border-radius: 14px; overflow: hidden;
  border: 1px solid var(--amber-dim);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 40px rgba(255,154,46,0.1);
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ───────────── Hook ───────────── */
.hook {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.hook-photo {
  display: block; width: 100%; height: auto;
  border-radius: 10px; border: 1px solid var(--amber-dim);
}
.hook h2 { font-size: clamp(2rem, 5.5vw, 3.6rem); margin: 0 0 0.6em; }
.hook p { font-size: 1.3rem; font-style: italic; color: var(--ink-soft); font-family: var(--serif); }

/* ───────────── Feature (what it is) ───────────── */
.feature { max-width: var(--maxw); margin: 0 auto; }
.feature-row {
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.feature .video-frame { margin-top: clamp(28px, 5vw, 48px); }
.feature > h2 { margin-bottom: 1.2em; }
.show-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 4vw, 40px); }
.show-list h3, .setup-list h3 { font-size: 1.4rem; margin: 0 0 0.3em; color: var(--ink); }
.show-list p, .setup-list p { color: var(--ink-soft); font-size: 1rem; margin: 0; }

/* ───────────── Craft + setup ───────────── */
.duo {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 5vw, 64px);
}
.duo h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin: 0 0 0.8em; }
.duo-note { color: var(--ink-soft); font-family: var(--serif); font-style: italic; font-size: 1.1rem; margin-top: 1em; }
.duo-setup { border-left: 1px solid rgba(255,154,46,0.18); padding-left: clamp(24px, 4vw, 48px); }
.setup-list { list-style: none; counter-reset: step; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 26px; }
.setup-list li { counter-increment: step; position: relative; padding-left: 72px; min-height: 52px; }
.step-icon {
  position: absolute; left: 0; top: 0;
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: var(--amber-lit);
  background: var(--bg-2); border: 1px solid var(--amber-dim);
  box-shadow: 0 0 18px rgba(255,154,46,0.12);
}
.step-icon svg { width: 36px; height: 36px; filter: drop-shadow(0 0 4px rgba(255,154,46,0.45)); }
.setup-list li::before {
  content: counter(step);
  position: absolute; left: 38px; top: -7px; z-index: 1;
  width: 20px; height: 20px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-weight: 700; font-size: 0.72rem; color: #1a1206;
  background: linear-gradient(to bottom right, var(--amber-lit), var(--amber));
}

/* ───────────── Specs + FAQ ───────────── */
.details {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.details h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin: 0 0 0.7em; }
.spec-list { list-style: none; padding: 0; margin: 0 0 24px; }
.spec-list li { display: flex; align-items: baseline; gap: 16px; padding: 9px 0; border-bottom: 1px solid rgba(255,154,46,0.1); font-size: 1rem; }
.spec-list span { flex: 0 0 110px; font-family: var(--sans); font-weight: 700; font-size: 0.83rem; letter-spacing: 0.01em; color: var(--amber); }
.details-photos { grid-column: 1 / -1; display: flex; gap: 20px; align-items: flex-start; }
.details-photos img { min-width: 0; width: 100%; height: auto; }
.faq details { border-bottom: 1px solid rgba(255,154,46,0.1); }
.faq summary {
  cursor: pointer; list-style: none; padding: 12px 28px 12px 0; position: relative;
  font-family: var(--serif); font-size: 1.2rem; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 8px; font-family: var(--sans); font-weight: 700; font-size: 1.15rem; color: var(--amber); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-soft); font-size: 1rem; margin: 0 0 14px; }
.gift {
  margin-top: 32px; padding: 22px 24px;
  background: var(--bg-2); border: 1px solid var(--amber-dim); border-radius: 12px;
}
.gift h3 { font-size: 1.5rem; margin: 0 0 0.4em; }
.gift p { color: var(--ink-soft); font-size: 1rem; margin: 0; }
.inquire .gift { margin: 1.6em 0 2em; }
.gift a { font-family: var(--sans); font-weight: 700; font-size: 0.9rem; letter-spacing: 0.01em; }
.feature h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); margin: 0 0 0.6em; }
.feature p { color: var(--ink-soft); }
.feature .aside { color: var(--amber-lit); font-family: var(--serif); font-style: italic; font-size: 1.15rem; }

/* ───────────── Craft ───────────── */
.craft { max-width: var(--maxw); margin: 0 auto; }
.craft h2 { font-size: clamp(2rem, 5vw, 3.4rem); margin: 0 0 0.7em; }
.craft-lede { max-width: 680px; margin: 0 auto 3em; text-align: center; color: var(--ink-soft); font-size: 1.2rem; }
.craft-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.craft-spec { margin-top: 20px; }

/* ───────────── Steps ───────────── */
.steps { max-width: var(--maxw); margin: 0 auto; }
.steps h2 { font-size: clamp(1.8rem, 4.5vw, 3rem); margin: 0 0 2.2em; }
.step-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 48px); }
.step-num { font-family: var(--sans); font-weight: 700; font-size: 1.58rem; color: var(--amber); }
.step-list h3 { font-size: 1.5rem; margin: 0.3em 0 0.4em; }
.step-list p { color: var(--ink-soft); font-size: 1.05rem; }

/* ───────────── Tiers ───────────── */
.tiers { max-width: var(--maxw); margin: 0 auto; }
.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 1.5rem; }
.tier {
  background: var(--bg-2);
  border: 1px solid rgba(255,154,46,0.12);
  border-radius: 14px;
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
}
.tier.featured { border-color: var(--amber); box-shadow: 0 0 32px rgba(255,154,46,0.12); }
.tier h3 { font-size: 1.9rem; margin: 0 0 2px; }
.tier-tag { font-family: var(--sans); font-weight: 700; color: var(--amber); letter-spacing: 0.01em; font-size: 0.83rem; margin: 0 0 14px; }
.tier p { color: var(--ink-soft); font-size: 0.98rem; }
.tier-cta { font-family: var(--sans); font-weight: 700; font-size: 0.9rem; color: var(--amber-lit); margin-top: auto; padding-top: 16px; }
.tier-cta:hover { color: var(--amber); }

/* ───────────── Gallery ───────────── */
.gallery { max-width: var(--maxw); margin: 0 auto; }
.gallery-grid {
  display: grid; gap: 20px;
  grid-template-columns: 2fr 1fr;
  grid-auto-rows: 1fr;
}
.gallery-grid .ph-hero-shot { grid-row: span 2; }

/* ───────────── Inquire ───────────── */
.inquire { max-width: 640px; margin: 0 auto; }
.inquire h2 { font-size: clamp(2rem, 5vw, 3.4rem); margin: 0 0 0.5em; }
.inquire-price {
  text-align: center; margin: 0 0 0.35em;
  font-family: var(--serif); font-size: clamp(1.7rem, 4.5vw, 2.6rem);
  color: var(--ink);
}
.inquire-price strong { color: var(--amber-lit); font-weight: 700; }
.inquire-price span {
  display: block; margin-top: 0.2em;
  font-family: var(--sans); font-weight: 700; font-size: 0.76rem; letter-spacing: 0.01em;
  color: var(--ink-soft);
}
.inquire-lede { text-align: center; color: var(--ink-soft); margin-bottom: 2.5em; font-size: 1.15rem; }
.inquire-form { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-family: var(--sans); font-weight: 700; font-size: 0.86rem; letter-spacing: 0.01em; color: var(--ink); }
.field .hint { color: var(--ink-soft); font-size: 0.85rem; }
.field input, .field textarea, .field select {
  font-family: var(--sans); font-size: 1rem; color: var(--ink);
  background: var(--bg-2); border: 1px solid var(--amber-dim);
  border-radius: 6px; padding: 12px 14px; outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field select { cursor: pointer; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--amber); box-shadow: 0 0 0 3px rgba(255,154,46,0.18); }
.field input::placeholder, .field textarea::placeholder { color: #6f6453; }
.inquire-form .btn { align-self: flex-start; margin-top: 6px; }
.form-note { font-size: 0.85rem; color: var(--ink-soft); margin: 0; }
.form-success { color: var(--amber-lit); font-family: var(--serif); font-style: italic; font-size: 1.15rem; }

/* ───────────── Footer ───────────── */
.footer { text-align: center; padding: clamp(48px, 8vw, 80px) 20px; border-top: 1px solid rgba(255,154,46,0.1); }
.footer .wordmark { display: inline-block; margin-bottom: 1em; }
.footer p { color: var(--ink-soft); font-size: 0.95rem; margin: 0.3em 0; }
.footer .fine-print { max-width: 620px; margin: 1.4em auto 0; font-size: 0.78rem; line-height: 1.5; color: #6f6453; }
.footer .copy { color: #5a5345; font-size: 0.85rem; margin-top: 1.5em; }

/* ───────────── Image placeholders ───────────── */
.ph {
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  aspect-ratio: 4 / 3;
  background:
    repeating-linear-gradient(45deg, rgba(255,154,46,0.03) 0 12px, transparent 12px 24px),
    var(--bg-2);
  border: 1px dashed var(--amber-dim);
  border-radius: 10px;
  color: var(--amber);
  padding: 16px;
}
.ph span { font-family: var(--sans); font-weight: 700; font-size: 0.94rem; letter-spacing: 0.01em; line-height: 1.3; }
.ph span em { display: inline-block; margin-top: 6px; font-family: var(--sans); font-style: normal; font-size: 0.8rem; color: var(--ink-soft); letter-spacing: 0; }
.ph-portrait { aspect-ratio: 3 / 4; }
.ph-wide { aspect-ratio: 16 / 9; }
.ph-hero-shot { aspect-ratio: auto; height: 100%; min-height: 280px; }
.craft-photo {
  display: block; width: 100%; min-width: 0; max-width: 506px; height: auto;
  aspect-ratio: 506 / 285;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--amber-dim);
}
.feature-photo {
  display: block; width: 100%; min-width: 0; max-width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid var(--amber-dim);
}
.photo-note {
  margin: 0.7em 0 0;
  font-family: var(--sans); font-weight: 700;
  font-size: 0.76rem; letter-spacing: 0.01em;
  color: var(--amber);
  text-align: center;
}

/* ───────────── Responsive ───────────── */
@media (max-width: 760px) {
  body { font-size: 17px; }
  .hook { grid-template-columns: 1fr; }
  /* Phones: photo as a band across the top, text below on the dark page. */
  .hero {
    min-height: 0;
    padding-top: calc(66vw + 8px);
    background:
      linear-gradient(to bottom, rgba(11,10,9,0) 44vw, var(--bg) 68vw),
      url("assets/images/hero-bg.jpg?v=2") 88% top / auto 68vw no-repeat,
      var(--bg);
  }
  .nav-links a:not(.nav-cta) { display: none; }
  .duo, .details { grid-template-columns: 1fr; }
  .details-photos { flex-direction: column; }
  .carousel-arrow { display: none; }
  .duo-setup { border-left: none; padding-left: 0; }
  .show-list { grid-template-columns: 1fr; gap: 20px; }
  .feature-row { grid-template-columns: 1fr; }
  .feature-media { order: -1; }
  .craft-grid { grid-template-columns: 1fr; }
  .step-list { grid-template-columns: 1fr; gap: 32px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .tier-grid { grid-template-columns: 1fr; }
  .gallery-grid .ph-hero-shot { grid-row: auto; min-height: 220px; }
}

/* Touch screens swipe instead of using arrows */
@media (hover: none) and (pointer: coarse) {
  .carousel-arrow { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
