@import url('https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@700;800;900&family=JetBrains+Mono:wght@400;500;600&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --bg:         #0d0d0d;
  --surface:    #161616;
  --surface2:   #1f1f1f;
  --border:     #2a2a2a;
  --gold:       #8B6914;
  --gold-light: #C8951A;
  --gold-glow:  #D4A017;
  --text:       #f0f0f0;
  --muted:      #888888;
  --silver:     #c8c8c8;
  --nav-h:      72px;

  /* Build pipeline status colors - shared by track.html and inshop.html */
  --s-intake:        #555555;
  --s-parts-ordered: #8a6a00;
  --s-in-progress:   #1a4f8a;
  --s-testing:       #5a2d82;
  --s-atf-filed:     #7a3d00;
  --s-atf-approved:  #1a6b3a;
  --s-ready:         #1a5c1a;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }

/* ── NAVBAR ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  background: rgba(13,13,13,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  line-height: 1;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.nav-logo-img {
  height: 44px;
  width: auto;
  flex-shrink: 0;
  filter: drop-shadow(0 0 6px rgba(200,149,26,0.45));
}

.footer-logo-img {
  height: 84px;
  width: auto;
  display: block;
  margin-bottom: 18px;
  filter: drop-shadow(0 0 14px rgba(200,149,26,0.55)) drop-shadow(0 0 32px rgba(200,149,26,0.2));
}

.hero-logo {
  position: absolute;
  right: 6%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  pointer-events: none;
}

.hero-logo img {
  width: 230px;
  height: auto;
  filter:
    drop-shadow(0 0 20px rgba(200,149,26,0.65))
    drop-shadow(0 0 50px rgba(200,149,26,0.3))
    drop-shadow(0 2px 8px rgba(0,0,0,0.6));
}

.nav-logo .wordmark {
  font-family: 'Big Shoulders Display', sans-serif; font-weight: 800;
  font-size: 22px;
  letter-spacing: 2px;
  color: var(--text);
}

.nav-logo .sub {
  font-size: 9px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--text); }

.nav-links a.active::after {
  content: '';
  display: block;
  height: 2px;
  background: var(--gold-light);
  margin-top: 3px;
  border-radius: 1px;
}

.nav-cta {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 10px 22px;
  border: 1px solid var(--gold);
  color: var(--gold-glow);
  border-radius: 2px;
  transition: all 0.2s;
}

.nav-cta:hover {
  background: var(--gold);
  color: #fff;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 12px 8px;
  margin-right: -8px;
}
.hamburger span {
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: all 0.25s;
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 72vh;
  min-height: 72svh;
  display: flex;
  align-items: center;
  padding: 0 48px;
  padding-top: var(--nav-h);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 60% 50%, rgba(139,105,20,0.12) 0%, transparent 70%),
    linear-gradient(135deg, #0d0d0d 0%, #141414 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.hero h1 {
  font-family: 'Big Shoulders Display', sans-serif; font-weight: 800;
  font-size: clamp(56px, 8vw, 96px);
  line-height: 0.95;
  letter-spacing: 2px;
  color: var(--text);
  margin-bottom: 20px;
}

.hero h1 span { color: var(--gold-light); }

.hero-desc {
  font-size: 17px;
  color: var(--muted);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 28px;
}

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 14px 32px;
  background: var(--gold);
  color: #fff;
  border: 1px solid var(--gold);
  border-radius: 2px;
  transition: all 0.2s;
}

.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 14px 32px;
  background: transparent;
  color: var(--silver);
  border: 1px solid var(--border);
  border-radius: 2px;
  transition: all 0.2s;
}

.btn-secondary:hover {
  border-color: var(--silver);
  color: var(--text);
}

.hero-stamp {
  position: absolute;
  bottom: 40px;
  right: 48px;
  width: 150px;
  height: 150px;
  border: 2px solid var(--gold-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(-8deg);
  opacity: 0.9;
}

.hero-stamp::before {
  content: '';
  position: absolute;
  inset: 7px;
  border: 1px solid var(--gold-light);
  border-radius: 50%;
  opacity: 0.55;
}

.stamp-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
  padding: 0 14px;
}

.stamp-top,
.stamp-bottom {
  font-family: 'JetBrains Mono', monospace;
  font-size: 7px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-light);
}

.stamp-main {
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 800;
  font-size: 26px;
  letter-spacing: 1px;
  color: var(--text);
  margin: 2px 0;
}

/* ── SECTION BASE ── */
section { padding: 56px 48px; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  width: 24px; height: 1px;
  background: var(--gold-light);
}

h2.section-title {
  font-family: 'Big Shoulders Display', sans-serif; font-weight: 800;
  font-size: clamp(36px, 5vw, 60px);
  letter-spacing: 2px;
  line-height: 1;
  color: var(--text);
  margin-bottom: 12px;
}

.section-sub {
  font-size: 16px;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 36px;
}

/* ── SERVICES (homepage teaser — full detail lives on services.html) ── */
.services-tags {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  margin-bottom: 28px;
}

.services-tag {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  padding: 18px 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text);
  transition: background 0.2s, color 0.2s;
}

.services-tag:hover {
  background: var(--surface2);
  color: var(--gold-light);
}

.tag-num {
  font-family: 'Big Shoulders Display', sans-serif; font-weight: 800;
  font-size: 16px;
  letter-spacing: 1px;
  color: var(--gold-light);
  flex-shrink: 0;
}

/* ── ABOUT STRIP ── */
.about-strip {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.about-text p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 14px;
}

.about-text p:last-of-type { margin-bottom: 24px; }

.about-callouts {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.callout {
  padding: 18px 24px;
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  background: var(--bg);
}

.callout h4 {
  font-family: 'Big Shoulders Display', sans-serif; font-weight: 800;
  font-size: 18px;
  letter-spacing: 1.5px;
  color: var(--text);
  margin-bottom: 6px;
}

.callout p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

/* ── GALLERY GRID ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.gallery-grid .wide { grid-column: span 2; }
.gallery-grid .tall { grid-row: span 2; }

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
  background: var(--surface2);
  border: 1px solid var(--border);
}

.gallery-grid .tall { aspect-ratio: 2/3; }

.gallery-item-inner {
  position: absolute;
  inset: 0;
  background: var(--surface2);
  transition: transform 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
}

.gallery-item:hover .gallery-item-inner { transform: scale(1.04); }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-placeholder {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--border);
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface2) 100%);
  min-height: 240px;
}

.gallery-placeholder svg { opacity: 0.3; }
.gallery-placeholder span { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; opacity: 0.4; }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-overlay-text h4 {
  font-family: 'Big Shoulders Display', sans-serif; font-weight: 800;
  font-size: 18px;
  letter-spacing: 1.5px;
  color: #fff;
}

.gallery-overlay-text span {
  font-size: 12px;
  color: var(--gold-light);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* ── AGE GATE ── */
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(6,6,6,0.97);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.age-gate-card {
  max-width: 480px;
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--gold);
  padding: 40px 36px;
  text-align: center;
}

.age-gate-logo {
  height: 96px;
  width: auto;
  display: block;
  margin: 0 auto 24px;
  filter: drop-shadow(0 0 14px rgba(200,149,26,0.55)) drop-shadow(0 0 32px rgba(200,149,26,0.2));
}

.age-gate-card h2 {
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 800;
  font-size: 24px;
  letter-spacing: 1px;
  color: var(--text);
  margin-bottom: 16px;
}

.age-gate-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 28px;
}

.age-gate-card p strong {
  color: var(--gold-light);
}

.age-gate-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.age-gate-actions .btn-primary,
.age-gate-actions .btn-secondary {
  justify-content: center;
  cursor: pointer;
  width: 100%;
  border: none;
  font: inherit;
  letter-spacing: 1.5px;
}

.age-gate-actions .btn-primary { border: 1px solid var(--gold); }
.age-gate-actions .btn-secondary { border: 1px solid var(--border); }

@media (max-width: 480px) {
  .age-gate-card { padding: 32px 24px; }
  .age-gate-logo { height: 76px; margin-bottom: 20px; }
}

/* ── LIGHTBOX ── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0,0,0,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}

.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border: 1px solid var(--border);
}

.lightbox-close {
  position: absolute;
  top: 16px; right: 20px;
  font-size: 32px;
  color: var(--muted);
  cursor: pointer;
  background: none;
  border: none;
  transition: color 0.2s;
  padding: 8px;
  line-height: 1;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-close:hover { color: var(--text); }

.lightbox-caption {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}
.lightbox-caption h4 {
  font-family: 'Big Shoulders Display', sans-serif; font-weight: 800;
  font-size: 22px;
  letter-spacing: 2px;
}
.lightbox-caption span {
  font-size: 12px;
  color: var(--gold-light);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ── UPDATES ── */
.updates-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  max-width: 900px;
}

.update-card {
  background: var(--surface);
  padding: 28px 32px;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 32px;
  transition: background 0.2s;
}

.update-card:hover { background: var(--surface2); }

.update-date {
  text-align: right;
  padding-top: 4px;
}

.update-date .month {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-light);
}

.update-date .day {
  font-family: 'Big Shoulders Display', sans-serif; font-weight: 800;
  font-size: 48px;
  line-height: 1;
  color: var(--text);
}

.update-date .year {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 1px;
}

.update-body .tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 3px 10px;
  border: 1px solid var(--gold);
  color: var(--gold-light);
  border-radius: 1px;
  margin-bottom: 10px;
}

.update-body h3 {
  font-family: 'Big Shoulders Display', sans-serif; font-weight: 800;
  font-size: 26px;
  letter-spacing: 1.5px;
  color: var(--text);
  margin-bottom: 8px;
}

.update-body p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.update-body .read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-top: 14px;
  transition: gap 0.2s;
}

.update-body .read-more:hover { gap: 10px; }

/* ── INLINE PHONE LINKS ── */
/* One consistent look for the phone number wherever it's mentioned mid-copy, instead of a one-off inline style at each spot. */
.tel-link {
  color: var(--gold-light);
  font-weight: 600;
}
.tel-link:hover { color: var(--gold-glow); }

.board-tel {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-light);
}
.board-tel:hover { color: var(--gold-glow); }

/* ── CONTACT ── */
.map-placeholder {
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  min-height: 220px;
  text-align: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  max-width: 1100px;
}

.contact-info { display: flex; flex-direction: column; gap: 20px; }

.info-block h4 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 8px;
}

.info-block p, .info-block a {
  font-size: 16px;
  color: var(--silver);
  line-height: 1.6;
}

.info-block a:hover { color: var(--text); }

.contact-form { display: flex; flex-direction: column; gap: 14px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 12px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  border-radius: 2px;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold-light);
}

.form-group select option { background: var(--surface); }

.form-group textarea { resize: vertical; min-height: 120px; }

.form-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 36px 48px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 32px;
}

.footer-brand .wordmark {
  font-family: 'Big Shoulders Display', sans-serif; font-weight: 800;
  font-size: 24px;
  letter-spacing: 2px;
  color: var(--text);
}

.footer-brand .sub {
  font-size: 9px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-top: 2px;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h5 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul a {
  font-size: 13px;
  color: var(--muted);
  transition: color 0.2s;
}

.footer-col ul a:hover { color: var(--text); }

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

.footer-bottom p {
  font-size: 12px;
  color: var(--muted);
}

.footer-bottom .ffl-badge {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-light);
  border: 1px solid var(--gold);
  padding: 4px 12px;
  border-radius: 1px;
}

/* ── PAGE HEADER ── */
.page-header {
  padding: 160px 48px 32px;
  background:
    radial-gradient(ellipse 60% 80% at 20% 50%, rgba(139,105,20,0.08) 0%, transparent 60%),
    var(--bg);
  border-bottom: 1px solid var(--border);
}

.page-header h1 {
  font-family: 'Big Shoulders Display', sans-serif; font-weight: 800;
  font-size: clamp(48px, 7vw, 80px);
  letter-spacing: 2px;
  line-height: 1;
  color: var(--text);
  margin-bottom: 10px;
}

.page-header p {
  font-size: 16px;
  color: var(--muted);
  max-width: 480px;
}

/* ── ADMIN BAR (shared — any page can show this when an admin session is active) ── */
.admin-bar {
  display: none;
  background: rgba(139,105,20,0.1);
  border-bottom: 1px solid rgba(139,105,20,0.35);
  padding: 10px 48px;
  padding-top: calc(var(--nav-h) + 10px);
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.admin-bar.visible { display: flex; }
.admin-bar-label {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-light);
  display: flex;
  align-items: center;
  gap: 8px;
}
.admin-bar-label::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold-light);
}
.admin-bar-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.admin-bar a, .admin-bar button {
  font-family: 'Big Shoulders Display', sans-serif; font-weight: 800;
  font-size: 13px;
  letter-spacing: 2px;
  padding: 7px 16px;
  border: 1px solid var(--gold);
  color: var(--gold-light);
  background: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.admin-bar a:hover, .admin-bar button:hover {
  background: var(--gold);
  color: #fff;
}
.admin-bar a.solid { background: var(--gold); color: #fff; }
.admin-bar a.solid:hover { background: var(--gold-light); }
@media (max-width: 900px) {
  .admin-bar { padding: 10px 20px; padding-top: calc(var(--nav-h) + 10px); }
}

/* ── GALLERY PAGE FILTER ── */
.filter-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.filter-btn {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 8px 18px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Inter', sans-serif;
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--gold-light);
  color: var(--gold-light);
}

/* ── DIVIDER ── */
.divider {
  width: 48px; height: 2px;
  background: var(--gold);
  margin: 16px 0;
}

/* ── NAV COLLAPSE (≤1100px) — 7 nav items need room before the bar crowds ── */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-logo .sub-ffl { display: none; }
  .hamburger { display: flex; }

  .nav-mobile-open .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    gap: 0;
    z-index: 99;
    padding: 0 20px;
  }

  .nav-mobile-open .nav-links li a {
    display: block;
    padding: 18px 0;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
    color: var(--text);
  }

  .nav-mobile-open .nav-links li:last-child a { border-bottom: none; }
}

/* ── TABLET (≤900px) ── */
@media (max-width: 900px) {
  .build-preview-grid { grid-template-columns: 1fr; }
  .cred-strip { grid-template-columns: repeat(2, 1fr); }
  .services-tags { grid-template-columns: repeat(2, 1fr); }
  .cta-strip { padding: 40px 20px; }
  .cta-strip-inner { flex-direction: column; align-items: flex-start; gap: 24px; }
  .nav { padding: 0 20px; }
  .hero-logo { display: none; }
  .nav-logo-img { height: 38px; }

  section { padding: 40px 20px; }
  .hero { padding: 20px; padding-top: calc(var(--nav-h) + 32px); padding-bottom: 48px; align-items: flex-start; }
  .page-header { padding: calc(var(--nav-h) + 32px) 20px 20px; }
  .hero h1 { font-size: clamp(42px, 11vw, 60px); }
  .hero-desc { font-size: 15px; }
  .hero-stamp { display: none; }

  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .gallery-grid .wide { grid-column: span 1; }
  .gallery-grid .tall { aspect-ratio: 4/3; grid-row: span 1; }
  .gallery-overlay { opacity: 1; background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 55%); }

  .about-inner { grid-template-columns: 1fr; gap: 32px; }

  .updates-list { max-width: 100%; }
  .update-card { grid-template-columns: 1fr; gap: 8px; padding: 20px 16px; }
  .update-date { text-align: left; display: flex; align-items: baseline; gap: 10px; }
  .update-date .day { font-size: 28px; }
  .update-body h3 { font-size: 21px; }

  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .form-group input,
  .form-group select,
  .form-group textarea { font-size: 16px; }

  footer { padding: 32px 20px; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; margin-bottom: 24px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

/* ── CREDENTIALS STRIP ── */
.cred-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border-bottom: 1px solid var(--border);
}
.cred-item {
  background: var(--surface);
  padding: 20px 28px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: background 0.2s;
}
.cred-item:hover { background: var(--surface2); }
.cred-label {
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-light);
}
.cred-val {
  font-family: 'Big Shoulders Display', sans-serif; font-weight: 800;
  font-size: 17px;
  letter-spacing: 1.5px;
  color: var(--text);
}

/* ── FAQ ACCORDION ── */
.faq-item { cursor: pointer; user-select: none; }
.faq-item:focus-visible { outline: 2px solid var(--gold-light); outline-offset: -2px; }
.faq-item h4 {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item h4::after {
  content: '+';
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 300;
  color: var(--gold-light);
  flex-shrink: 0;
  margin-left: 16px;
  transition: transform 0.25s;
}
.faq-item.open h4::after { transform: rotate(45deg); }
.faq-item p {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, margin-top 0.2s;
  margin-top: 0;
}
.faq-item.open p { max-height: 200px; margin-top: 10px; }

/* ── CTA STRIP ── */
.cta-strip {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 56px 48px;
}
.cta-strip-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}
.cta-strip h2 {
  font-family: 'Big Shoulders Display', sans-serif; font-weight: 800;
  font-size: clamp(28px, 4vw, 48px);
  letter-spacing: 2px;
  color: var(--text);
  margin-top: 8px;
}
.cta-strip-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

/* ── BUILD BOARD PREVIEW (homepage) ── */
.build-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  margin-bottom: 32px;
}
.build-preview-card {
  background: var(--surface);
  padding: 24px;
  transition: background 0.2s;
  text-decoration: none;
  display: flex;
  flex-direction: column;
}
.build-preview-card:hover { background: var(--surface2); }
.bp-label {
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 8px;
}
.bp-title {
  font-family: 'Big Shoulders Display', sans-serif; font-weight: 800;
  font-size: 20px;
  letter-spacing: 1.5px;
  color: var(--text);
  margin-bottom: 4px;
}
.bp-meta { font-size: 12px; color: var(--muted); margin-bottom: 16px; }
.bp-progress-wrap { display: flex; flex-direction: column; gap: 6px; }
.bp-progress-labels {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--muted);
}
.bp-progress-bar { height: 2px; background: var(--border); overflow: hidden; }
.bp-progress-fill { height: 100%; background: var(--gold-light); }
.bp-status {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 3px 10px;
  margin-top: 14px;
  align-self: flex-start;
}
.bp-status.intake        { color: #888; border: 1px solid #555; }
.bp-status.parts-ordered { color: #a0a0f0; border: 1px solid #5555aa; }
.bp-status.in-progress   { color: #7ec8e3; border: 1px solid #336688; }
.bp-status.testing       { color: #f0d060; border: 1px solid #887700; }
.bp-status.atf-filed     { color: #e07b39; border: 1px solid #7a3d00; }
.bp-status.atf-approved  { color: #4caf50; border: 1px solid #2d7a3a; }
.bp-status.ready         { color: #4caf50; border: 1px solid #2d7a3a; }

/* ── LOADING SHIMMER ── */
@keyframes shimmer {
  0%   { background-position: -600px 0; }
  100% { background-position: 600px 0; }
}
.shimmer-block {
  background: linear-gradient(90deg, var(--surface) 25%, var(--surface2) 50%, var(--surface) 75%);
  background-size: 1200px 100%;
  animation: shimmer 1.6s infinite linear;
  border-radius: 2px;
}

/* ── MOBILE (≤580px) ── */
@media (max-width: 580px) {
  .cred-strip { grid-template-columns: repeat(2, 1fr); }
  .services-tags { grid-template-columns: 1fr; }
  .map-placeholder { padding: 32px 20px; }
  .gallery-coming-soon { padding: 40px 24px; }
  .cred-item { padding: 14px 16px; }
  .cred-val { font-size: 14px; }
  .cta-strip { padding: 32px 16px; }
  .cta-strip-actions { width: 100%; }
  .cta-strip-actions .btn-primary,
  .cta-strip-actions .btn-secondary { flex: 1; justify-content: center; }
  .nav-logo .wordmark { font-size: 17px; letter-spacing: 1px; }
  .nav-logo .sub { display: none; }
  .nav-logo-img { height: 32px; }
  .footer-logo-img { height: 68px; }

  section { padding: 32px 16px; }
  .page-header { padding: calc(var(--nav-h) + 24px) 16px 24px; }

  .gallery-grid { grid-template-columns: 1fr; gap: 8px; }
  .gallery-grid .wide,
  .gallery-grid .tall { grid-column: span 1; grid-row: span 1; aspect-ratio: 4/3; }

  .hero h1 { font-size: clamp(38px, 10vw, 52px); }
  .hero-desc { font-size: 14px; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }

  .update-card { padding: 16px; }

  footer { padding: 28px 16px; }
  .footer-bottom .ffl-badge { font-size: 10px; }

  .lightbox img { max-width: 95vw; max-height: 75vh; }
  .lightbox-caption h4 { font-size: 18px; }
  .lightbox-caption span { font-size: 10px; }
}
