/* ============================================================
   GOLDEN FLAME FOOD TRAILERS — Design System
   "Forged Industrial Luxury"
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Brand palette — Gold + Royal Blue on deep navy */
  --gold:        #D4AF37;
  --gold-bright: #EAD07A;
  --gold-deep:   #A87E22;
  --blue:        #2150A0;
  --blue-bright: #3D6FD0;
  --blue-deep:   #15397A;
  /* --flame / --flame-deep kept as aliases (now royal blue) so the whole UI follows */
  --flame:       #2150A0;
  --flame-deep:  #15397A;
  --error:       #D64530;
  --char:        #16213A;
  --char-900:    #0C1322;
  --char-850:    #101A2E;
  --char-800:    #15213A;
  --char-700:    #1A2742;
  --char-600:    #283758;
  --char-500:    #38476C;
  --cream:       #F5E6D3;
  --cream-50:    #FBF5EC;
  --cream-100:   #F8EFE2;
  --steel:       #5F6B82;
  --steel-300:   #97A1B5;
  --steel-200:   #C3C9D4;

  /* Semantic */
  --bg:          #FBF5EC;
  --ink:         #18233D;
  --ink-soft:    #4B566E;
  --line:        rgba(24,35,61,.12);
  --line-strong: rgba(24,35,61,.22);
  --line-gold:   rgba(212,175,55,.32);
  --on-dark:     #ECE3D4;
  --on-dark-soft:#A7B0C4;
  --line-dark:   rgba(220,228,244,.13);

  /* Gradients */
  --grad-gold:  linear-gradient(135deg, #EAD07A 0%, #D4AF37 45%, #B8932B 100%);
  --grad-flame: linear-gradient(135deg, #3D6FD0 0%, #2150A0 55%, #15397A 100%);
  --grad-steel: linear-gradient(180deg, #15213A 0%, #101A2E 100%);

  /* Type */
  --font-display: "Archivo Expanded", "Archivo", system-ui, sans-serif;
  --font-body:    "Archivo", system-ui, -apple-system, Segoe UI, sans-serif;
  /* No monospace anywhere — labels/specs use the warm body face. */
  --font-mono:    "Archivo", system-ui, -apple-system, Segoe UI, sans-serif;

  /* Spacing / radius */
  --container: 1240px;
  --radius:    14px;
  --radius-sm: 9px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(20,18,12,.06);
  --shadow:    0 18px 50px -24px rgba(20,18,12,.45);
  --shadow-gold: 0 22px 60px -28px rgba(33,80,160,.5);

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
ul { list-style: none; padding: 0; }

/* ---------- Typography ---------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 800; line-height: 1.02; letter-spacing: -.01em; text-transform: uppercase; }
.display-1 { font-size: clamp(2.25rem, 6.4vw, 5.1rem); }
.display-2 { font-size: clamp(2rem, 4.6vw, 3.5rem); }
.display-3 { font-size: clamp(1.5rem, 3vw, 2.25rem); }

.eyebrow {
  font-family: var(--font-body);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: inline-flex;
  align-items: center;
  gap: .7em;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  border-radius: 2px;
  background: var(--flame);
  display: inline-block;
}
.on-dark .eyebrow, .eyebrow.on-dark { color: var(--gold); }

.lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--ink-soft); line-height: 1.55; }
.on-dark .lead { color: var(--on-dark-soft); }

.mono { font-family: var(--font-mono); }
.text-flame { color: var(--flame); }
.text-gold  { color: var(--gold-deep); }
.on-dark .text-gold { color: var(--gold); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(20px, 5vw, 56px); }
.container-narrow { max-width: 820px; }
.section { padding-block: clamp(64px, 8vw, 120px); position: relative; }
.section-sm { padding-block: clamp(48px, 6vw, 80px); }
.section.dark { background: var(--char-900); color: var(--on-dark); }
.section.charcoal { background: var(--char-700); color: var(--on-dark); }
.section.cream { background: var(--cream-50); }
.section.cream-deep { background: var(--cream-100); }

.section-head { max-width: 740px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head h2 { margin-bottom: 18px; }
.section-head p { font-size: 1.1rem; color: var(--ink-soft); }
.on-dark .section-head p, .section.dark .section-head p, .section.charcoal .section-head p { color: var(--on-dark-soft); }

.grid { display: grid; gap: clamp(16px, 2vw, 26px); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--grad-flame);
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: .82rem;
  padding: 16px 30px;
  border-radius: 100px;
  background: var(--btn-bg);
  color: #fff;
  position: relative;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), filter .2s var(--ease);
  box-shadow: 0 14px 32px -14px rgba(21,64,140,.55);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 20px 40px -14px rgba(21,64,140,.7); }
.btn:active { transform: translateY(0); }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.btn-gold { --btn-bg: var(--grad-gold); color: var(--char-900); box-shadow: 0 14px 32px -14px rgba(168,126,34,.7); }
.btn-gold:hover { box-shadow: 0 20px 40px -14px rgba(168,126,34,.85); }

.btn-ghost {
  background: transparent; color: var(--ink);
  border: 1.5px solid var(--line-strong);
  box-shadow: none;
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-deep); background: rgba(212,175,55,.06); box-shadow: none; }
.on-dark .btn-ghost, .btn-ghost.on-dark { color: var(--on-dark); border-color: var(--line-dark); }
.on-dark .btn-ghost:hover, .btn-ghost.on-dark:hover { border-color: var(--gold); color: var(--gold); }

.btn-lg { padding: 19px 38px; font-size: .9rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.link-arrow {
  font-family: var(--font-mono); font-size: .8rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep);
  display: inline-flex; align-items: center; gap: .5em;
}
.on-dark .link-arrow { color: var(--gold); }
.link-arrow .arrow { transition: transform .25s var(--ease); }
.link-arrow:hover .arrow { transform: translateX(4px); }

/* ---------- Header / Nav ---------- */
/* Light header — background matches the logo's cream so the logo blends in */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(251,250,247,.97);
  border-bottom: 1px solid rgba(24,35,61,.10);
  color: var(--ink);
}
/* Header gets a glass blur ONLY on wider screens where it has no fixed
   descendant — the mobile nav drawer is a fixed child, and backdrop-filter
   on an ancestor would trap it in the header's containing block. */
@media (min-width: 901px) {
  .site-header { background: rgba(251,250,247,.85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 82px; }
.brand { display: flex; align-items: center; gap: 13px; }
.brand img { height: 46px; width: auto; }
/* When the real logo file is present, main.js swaps the lockup for this image */
.brand.has-logo { gap: 0; }
.brand .brand-img { height: 62px; width: auto; }
/* Footer logo sits on a small cream plate so it stays clean on the dark footer */
.site-footer .brand .brand-img { height: 56px; background: #FBFAF7; border-radius: 10px; padding: 8px 12px; }
.brand-words { display: flex; flex-direction: column; line-height: 1; }
.brand-words .b1 { font-family: var(--font-display); font-weight: 800; font-size: 1.04rem; letter-spacing: .02em; color: var(--cream); text-transform: uppercase; }
.brand-words .b2 { font-family: var(--font-mono); font-size: .56rem; letter-spacing: .42em; color: var(--gold); text-transform: uppercase; margin-top: 4px; }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  font-size: .82rem; font-weight: 600; letter-spacing: .02em;
  padding: 10px 14px; border-radius: 8px; color: var(--ink-soft);
  transition: color .2s, background .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a.active { color: var(--blue); }
.nav-cta { display: flex; align-items: center; gap: 12px; margin-left: 8px; }
.nav-phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: .85rem; letter-spacing: .02em;
  color: var(--ink);
}
.nav-phone svg { color: var(--gold-deep); flex: none; }
.nav-phone .np-list { display: flex; flex-direction: column; line-height: 1.12; }
.nav-phone .np-list a { color: var(--ink); font-weight: 700; font-size: .78rem; letter-spacing: .01em; white-space: nowrap; }
.nav-phone .np-list a:hover { color: var(--blue); }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid rgba(24,35,61,.18); align-items: center; justify-content: center; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); position: relative; transition: .25s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink); transition: .25s; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
body.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; background: var(--char-900); color: var(--on-dark);
  overflow: hidden; isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 90% at 80% 10%, rgba(212,175,55,.16), transparent 55%),
    radial-gradient(90% 80% at 12% 100%, rgba(45,107,207,.18), transparent 55%),
    var(--char-900);
}
.hero-grid-lines {
  position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(var(--line-dark) 1px, transparent 1px), linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(circle at 70% 40%, #000, transparent 75%);
  mask-image: radial-gradient(circle at 70% 40%, #000, transparent 75%);
}
.hero-inner { display: grid; grid-template-columns: 1fr; gap: 40px; align-content: center; min-height: clamp(440px, 64vh, 660px); padding-block: clamp(60px, 8vw, 110px); }
.hero-copy { max-width: 660px; }
.hero h1 { margin: 20px 0 22px; }
.hero h1 .accent { color: var(--gold); }
.hero-sub { font-size: clamp(1.05rem, 1.5vw, 1.3rem); color: var(--on-dark-soft); max-width: 30ch; margin-bottom: 32px; }
.hero-cta { margin-bottom: 30px; }
.hero-meta { display: flex; gap: 28px; flex-wrap: wrap; padding-top: 26px; border-top: 1px solid var(--line-dark); }
.hero-meta .stat .n { font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; color: var(--cream); }
.hero-meta .stat .l { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-top: 2px; }
.hero-art { position: relative; }
.hero-art img { width: 100%; filter: drop-shadow(0 40px 60px rgba(0,0,0,.5)); }

/* --- Hero motion: warm, alive --- */
@keyframes gfFadeUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes gfFloat  { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes gfGlow   { 0%, 100% { opacity: .8; } 50% { opacity: 1; } }
.hero::before { animation: gfGlow 9s ease-in-out infinite; }
.hero-copy > * { opacity: 0; animation: gfFadeUp .85s var(--ease) forwards; }
.hero-copy > *:nth-child(1) { animation-delay: .05s; }
.hero-copy > *:nth-child(2) { animation-delay: .16s; }
.hero-copy > *:nth-child(3) { animation-delay: .27s; }
.hero-copy > *:nth-child(4) { animation-delay: .38s; }
.hero-copy > *:nth-child(5) { animation-delay: .49s; }
.hero-art { animation: gfFadeUp 1s var(--ease) .2s both; }
.hero-art img { animation: gfFloat 7s ease-in-out 1.1s infinite; }
@media (prefers-reduced-motion: reduce) {
  .hero::before, .hero-copy > *, .hero-art, .hero-art img { animation: none; opacity: 1; transform: none; }
}
.hero-tags {
  display: flex; gap: 10px; flex-wrap: wrap; margin-top: 30px;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(16,25,44,.85); border: 1px solid var(--line-gold);
  color: var(--cream); padding: 10px 16px 10px 13px; border-radius: 100px;
  font-size: .85rem; font-weight: 600; letter-spacing: .01em;
  box-shadow: 0 12px 30px -16px rgba(0,0,0,.7);
  transition: transform .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}
.hero-tag:hover { transform: translateY(-2px); border-color: var(--gold); background: rgba(26,39,66,.95); }
.hero-tag svg { width: 18px; height: 18px; color: var(--gold); flex: none; display: inline-block; }

/* ---------- Trust / Compliance bar ---------- */
.trust-bar { background: var(--char-850); border-block: 1px solid var(--line-dark); }
.trust-strip { display: flex; flex-wrap: wrap; align-items: stretch; }
.trust-item {
  flex: 1 1 220px; display: flex; align-items: center; gap: 16px;
  padding: 26px clamp(18px, 2.4vw, 34px);
  border-right: 1px solid var(--line-dark);
}
.trust-item:last-child { border-right: none; }
.trust-item .ic { flex: none; width: 42px; height: 42px; color: var(--gold); }
.trust-item .ic svg { width: 100%; height: 100%; }
.trust-item .t { font-family: var(--font-display); font-weight: 700; font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; color: var(--cream); }
.trust-item .d { font-size: .82rem; color: var(--on-dark-soft); font-style: italic; margin-top: 2px; }

/* Compliance badges */
.badges { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.badge {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 132px; height: 132px; border-radius: var(--radius);
  background: #fff; padding: 16px 14px; gap: 10px;
  box-shadow: 0 12px 34px -18px rgba(0,0,0,.55);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.badge:hover { transform: translateY(-5px); box-shadow: 0 20px 44px -20px rgba(0,0,0,.6); }
.badge img { width: 70px; height: 70px; object-fit: contain; }
.badge .bl { font-family: var(--font-body); font-size: .58rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--steel); text-align: center; }

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--line-gold); }
.section.cream .card, .section.cream-deep .card { background: #fff; }
.section.dark .card, .section.charcoal .card { background: var(--char-800); border-color: var(--line-dark); }
.section.dark .card:hover, .section.charcoal .card:hover { border-color: var(--gold); box-shadow: var(--shadow-gold); }

.feature-card .fc-ic { width: 50px; height: 50px; color: var(--gold-deep); margin-bottom: 20px; }
.section.dark .feature-card .fc-ic, .section.charcoal .feature-card .fc-ic { color: var(--gold); }
.feature-card h3 { font-size: 1.18rem; margin-bottom: 10px; }
.feature-card p { color: var(--ink-soft); font-size: .96rem; }
.section.dark .feature-card p, .section.charcoal .feature-card p { color: var(--on-dark-soft); }
.feature-card .fc-num { position: absolute; top: 18px; right: 22px; font-family: var(--font-mono); font-size: .72rem; color: var(--line-strong); letter-spacing: .1em; }
.section.dark .feature-card .fc-num { color: rgba(245,230,211,.2); }

/* Concept (trailer type) cards */
.concept-card {
  display: flex; flex-direction: column; gap: 0; padding: 0; cursor: pointer;
  background: var(--char-800); border: 1px solid var(--line-dark);
}
.concept-card .cc-art {
  aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(120% 120% at 50% 0%, rgba(212,175,55,.12), transparent 60%),
    var(--char-850);
  position: relative; overflow: hidden;
}
.concept-card .cc-art::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(12,19,34,.6));
}
.concept-card .cc-art svg { width: 46%; height: auto; color: var(--gold); position: relative; z-index: 1; transition: transform .4s var(--ease); }
.concept-card:hover .cc-art svg { transform: scale(1.08) translateY(-3px); }
.concept-card .cc-body { padding: 18px 20px 22px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.concept-card .cc-name { font-family: var(--font-display); font-weight: 700; font-size: 1rem; text-transform: uppercase; letter-spacing: .03em; color: var(--cream); }
.concept-card .cc-go { font-family: var(--font-mono); font-size: .96rem; color: var(--gold); transition: transform .25s var(--ease); }
.concept-card:hover .cc-go { transform: translateX(4px); }
.concept-card:hover { border-color: var(--gold); }

/* Build (gallery) cards */
.build-card { padding: 0; overflow: hidden; background: #fff; }
.build-card .bc-art {
  aspect-ratio: 16/11; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(120% 120% at 50% 10%, rgba(212,175,55,.14), transparent 60%), var(--char-850);
  position: relative;
}
.build-card .bc-art svg { width: 48%; color: var(--gold); }
.build-card .bc-tag {
  position: absolute; top: 14px; left: 14px;
  font-family: var(--font-mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase;
  background: rgba(12,19,34,.82); color: var(--gold); border: 1px solid var(--line-gold);
  padding: 6px 11px; border-radius: 6px;
}
.build-card .bc-body { padding: 22px 24px 26px; }
.build-card .bc-body h3 { font-size: 1.14rem; margin-bottom: 14px; }
.build-spec { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.build-spec .bs { font-family: var(--font-mono); font-size: .74rem; color: var(--ink-soft); }
.build-spec .bs b { color: var(--ink); font-weight: 700; }
.build-spec .bs .k { color: var(--gold-deep); display: block; font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 2px; }

/* ---------- Spec / blueprint signature ---------- */
.spec-line { display: flex; align-items: baseline; gap: 12px; font-family: var(--font-mono); font-size: .82rem; color: var(--ink-soft); }
.spec-line::before { content: ""; flex: none; width: 30px; height: 1px; background: var(--gold); position: relative; top: -4px; }
.specsheet {
  border: 1px solid var(--line-gold); border-radius: var(--radius);
  background: rgba(16,25,44,.5); padding: 26px; font-family: var(--font-mono);
}

/* ---------- Forms ---------- */
.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 48px); box-shadow: var(--shadow);
}
.section.dark .form-card, .section.charcoal .form-card { background: var(--char-800); border-color: var(--line-dark); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-family: var(--font-mono); font-size: .68rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep);
}
.section.dark .field label, .section.charcoal .field label { color: var(--gold); }
.field label .req { color: var(--flame); }
.field input, .field select, .field textarea {
  background: var(--cream-50); border: 1.5px solid var(--line);
  border-radius: var(--radius-sm); padding: 14px 16px; font-size: .98rem;
  transition: border-color .2s, box-shadow .2s, background .2s;
  width: 100%;
}
.section.dark .field input, .section.dark .field select, .section.dark .field textarea,
.section.charcoal .field input, .section.charcoal .field select, .section.charcoal .field textarea {
  background: var(--char-850); border-color: var(--line-dark); color: var(--cream);
}
.field textarea { resize: vertical; min-height: 116px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(212,175,55,.18); background: #fff;
}
.section.dark .field input:focus, .section.charcoal .field input:focus,
.section.dark .field select:focus, .section.charcoal .field select:focus,
.section.dark .field textarea:focus, .section.charcoal .field textarea:focus { background: var(--char-800); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23A87E22' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 42px; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--error); box-shadow: 0 0 0 4px rgba(214,69,48,.14); }
.field .err { font-size: .76rem; color: var(--error); font-weight: 600; display: none; }
.field.invalid .err { display: block; }

.radio-group { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-pill { position: relative; }
.radio-pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.radio-pill span {
  display: inline-flex; padding: 11px 20px; border-radius: 100px;
  border: 1.5px solid var(--line-strong); font-size: .86rem; font-weight: 600;
  transition: .2s;
}
.radio-pill input:checked + span { border-color: var(--gold); background: rgba(212,175,55,.12); color: var(--gold-deep); }
.radio-pill input:focus-visible + span { box-shadow: 0 0 0 4px rgba(212,175,55,.2); }

.form-note { font-size: .8rem; color: var(--steel); margin-top: 4px; }
.form-success {
  display: none; text-align: center; padding: 40px 20px;
}
.form-success.show { display: block; animation: pop .4s var(--ease); }
.form-success .fs-ic { width: 64px; height: 64px; margin: 0 auto 20px; color: var(--gold); }
.form-success h3 { font-size: 1.5rem; margin-bottom: 10px; }
.form-success p { color: var(--ink-soft); }
.section.dark .form-success p { color: var(--on-dark-soft); }
@keyframes pop { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: scale(1); } }

/* ---------- US Map (Leaflet) ---------- */
.map-wrap { position: relative; }
.us-leaflet {
  width: 100%; height: 540px; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line-gold); box-shadow: var(--shadow);
  background: #e9e7e2;
}
.us-leaflet .leaflet-container { background: #e9e7e2; font-family: var(--font-body); }
.us-leaflet .leaflet-control-attribution { font-size: 9px; background: rgba(255,255,255,.7); }
.us-leaflet .leaflet-bar a { color: var(--char-700); }
.gf-dot { filter: drop-shadow(0 1px 2px rgba(0,0,0,.25)); }
@media (max-width: 640px) { .us-leaflet { height: 400px; } }

/* ---------- Sizes / blueprint ---------- */
.size-card { padding: 0; overflow: hidden; }
.size-card .sz-top { display: flex; align-items: baseline; justify-content: space-between; padding: 22px 24px 14px; border-bottom: 1px dashed var(--line-gold); }
.size-card .sz-len { font-family: var(--font-display); font-weight: 900; font-size: 2.1rem; color: var(--gold); line-height: 1; }
.size-card .sz-len small { font-size: .9rem; font-weight: 700; }
.size-card .sz-dim { font-family: var(--font-mono); font-size: .7rem; color: var(--on-dark-soft); text-align: right; }
.size-card .sz-body { padding: 18px 24px 24px; }
.size-card .sz-body h3 { font-size: 1rem; margin-bottom: 12px; }
.size-card .sz-list li { font-size: .88rem; color: var(--on-dark-soft); padding-left: 18px; position: relative; margin-bottom: 6px; }
.size-card .sz-list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 7px; height: 7px; background: var(--flame); border-radius: 2px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--char-900); color: var(--on-dark); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 120% at 100% 0%, rgba(45,107,207,.20), transparent 55%), radial-gradient(70% 100% at 0% 100%, rgba(212,175,55,.16), transparent 55%); }
.cta-band .container { position: relative; }
.cta-band h2 { margin-bottom: 18px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--char-900); color: var(--on-dark-soft); padding-top: clamp(54px, 6vw, 80px); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid var(--line-dark); }
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand p { font-size: .92rem; max-width: 34ch; }
.footer-col h4 { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.footer-col a, .footer-col p { display: block; font-size: .92rem; padding: 5px 0; color: var(--on-dark-soft); transition: color .2s; }
.footer-col a:hover { color: var(--cream); }
.footer-contact a { display: flex; align-items: center; gap: 10px; }
.footer-contact svg { color: var(--gold); flex: none; }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line-dark); display: flex; align-items: center; justify-content: center; color: var(--on-dark-soft); transition: .2s; }
.socials a:hover { border-color: var(--gold); color: var(--gold); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; padding: 26px 0; font-size: .8rem; }
.footer-bottom .legal { display: flex; gap: 20px; flex-wrap: wrap; }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: none; gap: 10px; padding: 12px 14px calc(12px + env(safe-area-inset-bottom)); background: rgba(12,19,34,.95); backdrop-filter: blur(10px); border-top: 1px solid var(--line-dark); }
.sticky-cta .btn { flex: 1; padding: 14px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Misc ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 70px); align-items: center; }
.split.wide-left { grid-template-columns: 1.15fr .85fr; }
.quote-aside { position: sticky; top: 104px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 10px; }
.tag { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .06em; padding: 7px 13px; border-radius: 100px; border: 1px solid var(--line); color: var(--ink-soft); }
.on-dark .tag { border-color: var(--line-dark); color: var(--on-dark-soft); }
.divider-rule { height: 1px; background: var(--line); border: 0; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--gold); color: #000; padding: 10px 16px; z-index: 200; }
.skip-link:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 900px) {
  .nav-links, .nav-phone { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta .btn { display: none; }
  .site-header .nav-drawer-cta { display: none; }
  .nav-drawer {
    position: fixed; inset: 78px 0 0; background: var(--char-900); z-index: 55;
    clip-path: inset(0 0 0 100%); opacity: 0; pointer-events: none;
    transition: clip-path .35s var(--ease), opacity .3s var(--ease);
    display: flex; flex-direction: column; padding: 24px clamp(20px,5vw,40px) 40px; overflow-y: auto;
  }
  body.nav-open .nav-drawer { clip-path: inset(0); opacity: 1; pointer-events: auto; }
  .nav-drawer a { font-family: var(--font-display); text-transform: uppercase; font-weight: 700; font-size: 1.15rem; padding: 16px 0; border-bottom: 1px solid var(--line-dark); color: var(--cream); }
  .nav-drawer a.active { color: var(--gold); }
  .nav-drawer .btn { margin-top: 22px; }
  .nav-drawer .drawer-phone { margin-top: 18px; font-family: var(--font-mono); color: var(--gold); font-size: 1rem; }
  .hero-inner { grid-template-columns: 1fr; gap: 30px; }
  .hero-art { order: -1; max-width: 460px; }
  .split, .split.wide-left { grid-template-columns: 1fr; }
  .quote-aside { position: static; top: auto; }
  .cols-4 { grid-template-columns: repeat(2, 1fr); }
  .cols-3 { grid-template-columns: repeat(2, 1fr); }
  .trust-item { flex-basis: 50%; border-bottom: 1px solid var(--line-dark); }
  .sticky-cta { display: flex; }
  body { padding-bottom: 76px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .field input, .field select, .field textarea { font-size: 16px; }
  .footer-top { grid-template-columns: 1fr; }
  .hero-meta { gap: 18px; }
  .badge { width: 88px; height: 88px; }
  .concept-grid.cols-4 { grid-template-columns: 1fr 1fr; }
}
.nav-drawer { display: none; }
@media (max-width: 900px) { .nav-drawer { display: flex; } }

/* ============================================================
   PREMIUM POLISH — micro-interactions (hover/press triggered)
   Restrained per UX guidance: 1–2 moving elements per view,
   150–400ms, transform/opacity only, reduced-motion respected.
   ============================================================ */

/* Anchor targets clear the sticky header */
[id] { scroll-margin-top: 108px; }

/* Nav links: animated gold underline */
.nav-links a { position: relative; }
.nav-links a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px;
  background: var(--grad-gold); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

/* Filled buttons: subtle gloss sweep on hover + press feedback */
.btn { overflow: hidden; }
.btn:not(.btn-ghost)::after {
  content: ""; position: absolute; top: 0; left: -130%; width: 55%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-18deg); pointer-events: none; transition: left .6s var(--ease);
}
.btn:not(.btn-ghost):hover::after { left: 140%; }
.btn:active { transform: translateY(0) scale(.985); }

/* Feature cards: blue accent bar grows in on hover */
.feature-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad-flame); transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.feature-card:hover::before { transform: scaleX(1); }

/* Build / size cards: gentle image zoom on hover */
.build-card .bc-art svg, .build-card .bc-art img { transition: transform .5s var(--ease); }
.build-card:hover .bc-art svg, .build-card:hover .bc-art img { transform: scale(1.06); }

/* Premium seam: hairline gold accent atop key dark bands */
.cta-band { border-top: 1px solid rgba(212,175,55,.28); }
.cta-band::before { animation: gfGlow 10s ease-in-out infinite; }

/* Concept cards: lift the whole tile a touch on hover (smoother) */
.concept-card { transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease); }
.concept-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-gold); }

@media (prefers-reduced-motion: reduce) {
  .cta-band::before { animation: none; }
  .nav-links a::after, .btn:not(.btn-ghost)::after, .feature-card::before,
  .build-card .bc-art svg, .build-card .bc-art img { transition: none; }
}

/* ---------- Photo drop-in support ----------
   Replace any concept <svg> with an <img> and it auto-fills the card.
   Add class="photo-fill" to any image to make it cover its container. */
.bc-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.bc-art .bc-tag { z-index: 2; }
.bc-art::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(12,19,34,.5)); }
.concept-card .cc-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.photo-fill { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.has-photo { position: relative; overflow: hidden; }
/* Rounds the corners of a real photo in the hero (no effect on the SVG art) */
.hero-art img { border-radius: 16px; }

/* ============================================================
   ENHANCEMENTS v2 — bigger logo + shrink-on-scroll header,
   faint hero background photo (Ken Burns), luxury-serif type TEST,
   richer scroll reveals. Reduced-motion respected.
   ============================================================ */

/* (Typography reverted to Archivo industrial per request.) */

/* --- Big brand logo, CONSTANT header height (no height animation = no reflow,
   no shake). On scroll: a subtle GPU transform on the logo + a shadow. --- */
.nav { height: 100px; }
.brand .brand-img { height: 92px; transform-origin: left center; transition: transform .3s var(--ease); }
.site-header { transition: box-shadow .3s var(--ease); }
.site-header.scrolled { box-shadow: 0 10px 28px -16px rgba(10,15,27,.5); }
.site-header.scrolled .brand .brand-img { transform: scale(.85); }
@media (max-width: 900px) {
  .nav { height: 74px; }
  .brand .brand-img { height: 66px; }
  .nav-drawer { top: 74px; }
}
@media (prefers-reduced-motion: reduce) {
  .brand .brand-img, .site-header { transition: none; }
  .site-header.scrolled .brand .brand-img { transform: none; }
}

/* --- Faint hero background photo: drop assets/photos/hero-bg.jpg --- */
.hero::before {
  background:
    linear-gradient(100deg, rgba(10,15,27,.88) 26%, rgba(10,15,27,.45) 58%, rgba(10,15,27,.12) 92%),
    radial-gradient(120% 90% at 82% 8%, rgba(212,175,55,.15), transparent 55%),
    radial-gradient(90% 80% at 10% 100%, rgba(45,107,207,.17), transparent 55%);
  animation: none;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: var(--hero-bg, none) center 28% / cover no-repeat;
  opacity: .34;
  animation: gfKen 28s ease-in-out infinite alternate;
}
@keyframes gfKen { from { transform: scale(1); } to { transform: scale(1.12); } }

/* --- Richer scroll reveal (adds a subtle scale-in) --- */
.reveal { transform: translateY(28px) scale(.984); }
.reveal.in { transform: none; }

/* --- Concept/build/feature card press feedback --- */
.concept-card:active, .build-card:active { transform: translateY(-1px) scale(.995); }

@media (prefers-reduced-motion: reduce) {
  .nav, .brand .brand-img { transition: none; }
  .hero::after { animation: none; }
}

/* ============================================================
   MORE MOTION v3 — directional reveals, staggered cascades,
   attention pulse on the primary CTA. Reduced-motion respected.
   ============================================================ */
.reveal.from-left  { transform: translateX(-44px); }
.reveal.from-right { transform: translateX(44px); }
.reveal.from-left.in, .reveal.from-right.in { transform: none; }

@keyframes gfPulse {
  0%, 100% { box-shadow: 0 14px 30px -14px rgba(21,64,140,.5); }
  50%      { box-shadow: 0 16px 42px -10px rgba(45,107,207,.85); }
}
.hero-cta .btn:not(.btn-ghost) { animation: gfPulse 3s ease-in-out infinite; }
.hero-cta .btn:not(.btn-ghost):hover { animation-play-state: paused; }

/* gentle hover tilt-lift on cards for a tactile, premium feel */
.card { will-change: transform; }
.feature-card:hover, .build-card:hover { transform: translateY(-6px); }

@media (prefers-reduced-motion: reduce) {
  .hero-cta .btn:not(.btn-ghost) { animation: none; }
}

/* ============================================================
   PHOTOS v4 — Recent Builds carousel, featured size card,
   trailer-type & why-card photo support.
   ============================================================ */

/* Featured size card (18 FT) — gold highlight box */
.size-card.featured {
  border: 2px solid var(--gold);
  box-shadow: 0 0 0 4px rgba(212,175,55,.14), 0 18px 50px -26px rgba(212,175,55,.5);
}
.size-card.featured .sz-len { color: var(--gold-bright); }

/* Recent Builds carousel slides + dots */
.bc-art .bc-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .7s ease; z-index: 0; }
.bc-art .bc-slide.active { opacity: 1; }
.bc-dots { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; z-index: 3; }
.bc-dots button { width: 7px; height: 7px; padding: 0; border: none; border-radius: 50%; background: rgba(255,255,255,.55); cursor: pointer; transition: width .25s var(--ease), background .25s; }
.bc-dots button.on { width: 18px; border-radius: 4px; background: var(--gold); }

/* Carousel arrows */
.bc-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 34px; height: 34px; border-radius: 50%; border: none;
  background: rgba(12,19,34,.6); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .25s var(--ease), background .25s;
}
.bc-arrow.prev { left: 10px; }
.bc-arrow.next { right: 10px; }
.bc-arrow svg { width: 18px; height: 18px; }
.bc-art:hover .bc-arrow { opacity: 1; }
.bc-arrow:hover { background: var(--blue); }
.bc-arrow:active { transform: translateY(-50%) scale(.92); }
@media (hover: none) { .bc-arrow { opacity: .9; } }

/* Why-card optional photo (replaces the icon) */
.fc-ic.fc-photo { display: inline-block; width: 52px; height: 52px; border-radius: 12px; overflow: hidden; padding: 0; }
.fc-ic.fc-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Hero — real photo replaces the illustration (premium framed) */
.hero-art.is-photo img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(212,175,55,.45);
  box-shadow: 0 34px 80px -34px rgba(0,0,0,.7);
  filter: none;
}
