/* Frontline Heritage Group — Shared Stylesheet */

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

:root {
  --navy:      #0c0e18;
  --navy-mid:  #131628;
  --navy-lt:   #1c2040;
  --border:    #252840;
  --gold:      #c9a84c;
  --gold-lt:   #e8c96a;
  --cream:     #f0ead8;
  --cream-dim: #b8b09a;
  --muted:     #7a7a96;
  --text:      #e8e4d8;

  /* Brand accents */
  --maudslay:  #8b2635;   /* claret — Coventry prestige */
  --commer:    #1e5c3a;   /* British racing green */
  --guy:       #b05c1a;   /* amber — Wolverhampton iron */

  --radius: 4px;
  --max-w: 1060px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--navy);
  color: var(--text);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ── Typography ─────────────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--cream);
  line-height: 1.2;
}

h1 { font-size: clamp(32px, 5vw, 56px); }
h2 { font-size: clamp(24px, 3.5vw, 38px); margin-bottom: 16px; }
h3 { font-size: clamp(18px, 2.5vw, 24px); margin-bottom: 10px; }
h4 { font-size: 15px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--gold); margin-bottom: 8px; }

p { margin-bottom: 14px; color: var(--text); }
p:last-child { margin-bottom: 0; }

a { color: var(--gold); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--gold-lt); }

strong { color: var(--cream); font-style: normal; }

/* ── Layout ─────────────────────────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section    { padding: 80px 0; }
.section-sm { padding: 48px 0; }

/* ── Navigation ─────────────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(12,14,24,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  height: 64px;
}
.nav-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
  height: 64px; display: flex; align-items: center; gap: 0;
}
.nav-logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; margin-right: auto;
}
.nav-crest {
  width: 36px; height: 36px;
  border: 1px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Gill Sans', sans-serif;
  font-size: 13px; font-weight: 700; color: var(--gold);
  letter-spacing: 0.05em; flex-shrink: 0;
}
.nav-wordmark {
  display: flex; flex-direction: column; line-height: 1;
}
.nav-wordmark-main {
  font-family: 'Gill Sans', 'Gill Sans MT', sans-serif;
  font-size: 14px; font-weight: 600; color: var(--cream); letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nav-wordmark-sub {
  font-size: 10px; color: var(--muted); letter-spacing: 0.15em; text-transform: uppercase;
  margin-top: 2px;
}
.nav-links {
  display: flex; align-items: center; gap: 0;
}
.nav-links a {
  font-family: 'Gill Sans', sans-serif;
  font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); padding: 0 18px; height: 64px;
  display: flex; align-items: center;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.nav-links a:hover { color: var(--cream); border-bottom-color: var(--gold); }
.nav-links a.active { color: var(--gold); border-bottom-color: var(--gold); }

/* Brand nav pills */
.nav-links a.brand-maudslay:hover { border-bottom-color: var(--maudslay); color: #e06070; }
.nav-links a.brand-commer:hover   { border-bottom-color: var(--commer);   color: #5ab880; }
.nav-links a.brand-guy:hover      { border-bottom-color: var(--guy);       color: #e08050; }

.nav-enquire {
  margin-left: 16px;
  font-family: 'Gill Sans', sans-serif;
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--navy) !important;
  background: var(--gold);
  padding: 9px 16px !important; height: auto !important;
  border: none !important;
  border-bottom: 2px solid transparent !important;
  transition: background 0.15s, opacity 0.15s !important;
}
.nav-enquire:hover { background: var(--gold-lt) !important; border-bottom-color: transparent !important; opacity: 1; }

/* ── Hero (home) ─────────────────────────────────────────────────────────── */
.hero {
  padding-top: 64px;
  min-height: 100vh;
  display: flex; align-items: center;
  background:
    linear-gradient(180deg, rgba(12,14,24,0.7) 0%, rgba(12,14,24,0.95) 80%),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(255,255,255,0.01) 2px,
      rgba(255,255,255,0.01) 4px
    );
  border-bottom: 1px solid var(--border);
}
.hero-inner { padding: 80px 24px; max-width: var(--max-w); margin: 0 auto; }

.hero-kicker {
  font-family: 'Gill Sans', sans-serif;
  font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px;
  display: flex; align-items: center; gap: 12px;
}
.hero-kicker::before,
.hero-kicker::after {
  content: ''; display: block; height: 1px; width: 40px; background: var(--gold);
}

.hero-title { margin-bottom: 8px; }
.hero-subtitle {
  font-family: 'Gill Sans', sans-serif;
  font-size: clamp(14px, 2vw, 18px); color: var(--gold); letter-spacing: 0.1em;
  margin-bottom: 28px;
}
.hero-desc {
  font-size: clamp(15px, 1.8vw, 18px); color: var(--cream-dim);
  max-width: 620px; margin-bottom: 40px; line-height: 1.7;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center;
  font-family: 'Gill Sans', sans-serif;
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 13px 28px; border: none; cursor: pointer;
  transition: all 0.15s; text-decoration: none;
}
.btn-primary { background: var(--gold); color: var(--navy); }
.btn-primary:hover { background: var(--gold-lt); color: var(--navy); }
.btn-outline { background: transparent; color: var(--cream); border: 1px solid var(--border); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-full { width: 100%; justify-content: center; }

/* ── Rule / Divider ─────────────────────────────────────────────────────── */
.rule {
  display: flex; align-items: center; gap: 16px; margin-bottom: 48px;
}
.rule::before, .rule::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.rule-text {
  font-family: 'Gill Sans', sans-serif;
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted);
  white-space: nowrap;
}

/* ── Brand cards (home) ─────────────────────────────────────────────────── */
.brands-section { background: var(--navy-mid); }
.brands-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px;
}
@media (max-width: 720px) { .brands-grid { grid-template-columns: 1fr; } }

.brand-card {
  background: var(--navy); padding: 48px 36px;
  border-top: 3px solid var(--border);
  transition: border-color 0.2s;
  text-decoration: none; display: block;
  position: relative; overflow: hidden;
}
.brand-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 0; background: rgba(255,255,255,0.02);
  transition: height 0.3s;
}
.brand-card:hover::after { height: 100%; }

.brand-card.maudslay { border-top-color: var(--maudslay); }
.brand-card.commer   { border-top-color: var(--commer);   }
.brand-card.guy      { border-top-color: var(--guy);       }

.brand-card:hover { border-top-width: 4px; }

.brand-years {
  font-family: 'Gill Sans', sans-serif;
  font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase;
  margin-bottom: 12px;
}
.brand-card.maudslay .brand-years { color: #e06070; }
.brand-card.commer   .brand-years { color: #5ab880; }
.brand-card.guy      .brand-years { color: #e08050; }

.brand-card-name {
  font-family: 'Gill Sans', sans-serif;
  font-size: clamp(22px, 3vw, 30px); font-weight: 700;
  color: var(--cream); margin-bottom: 8px; letter-spacing: 0.03em;
}
.brand-card-loc {
  font-size: 12px; color: var(--muted); margin-bottom: 20px; letter-spacing: 0.05em;
}
.brand-card-desc {
  font-size: 14px; color: var(--cream-dim); line-height: 1.6; margin-bottom: 24px;
}
.brand-card-link {
  font-family: 'Gill Sans', sans-serif;
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold);
}
.brand-card:hover .brand-card-link { color: var(--gold-lt); }

/* ── About strip ─────────────────────────────────────────────────────────── */
.about-strip {
  background: var(--navy); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
@media (max-width: 680px) { .about-grid { grid-template-columns: 1fr; } }

/* ── Stats row ───────────────────────────────────────────────────────────── */
.stats-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px;
  border: 1px solid var(--border);
}
@media (max-width: 560px) { .stats-row { grid-template-columns: 1fr; } }

.stat {
  padding: 32px 28px; background: var(--navy-mid); text-align: center;
}
.stat-num {
  font-family: 'Gill Sans', sans-serif;
  font-size: clamp(32px, 4vw, 48px); font-weight: 700; color: var(--gold);
  line-height: 1; margin-bottom: 8px;
}
.stat-lbl { font-size: 12px; color: var(--muted); letter-spacing: 0.05em; }

/* ── Brand hero (brand pages) ────────────────────────────────────────────── */
.brand-hero {
  padding-top: 64px;
  min-height: 50vh;
  display: flex; align-items: flex-end;
  border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.brand-hero::before {
  content: attr(data-name);
  position: absolute; right: -20px; bottom: -40px;
  font-family: 'Gill Sans', sans-serif;
  font-size: clamp(120px, 18vw, 200px); font-weight: 900;
  color: rgba(255,255,255,0.025);
  letter-spacing: -0.05em; line-height: 1; white-space: nowrap;
  pointer-events: none; user-select: none;
}
.brand-hero-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 60px 24px 56px;
  position: relative; z-index: 1;
}
.brand-hero-kicker {
  font-family: 'Gill Sans', sans-serif;
  font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  margin-bottom: 16px;
}
.brand-hero-name {
  font-family: 'Gill Sans', sans-serif;
  font-size: clamp(42px, 7vw, 80px); font-weight: 800;
  color: var(--cream); line-height: 1; letter-spacing: -0.02em; margin-bottom: 8px;
}
.brand-hero-dates {
  font-family: 'Gill Sans', sans-serif;
  font-size: 15px; letter-spacing: 0.08em;
  margin-bottom: 24px;
}
.brand-hero-tagline {
  font-size: 18px; color: var(--cream-dim); max-width: 580px;
  font-style: italic; margin-bottom: 0;
}

/* Maudslay */
.brand-hero.maudslay { background: linear-gradient(135deg, #1a0a0e 0%, #0c0e18 60%); }
.brand-hero.maudslay .brand-hero-kicker,
.brand-hero.maudslay .brand-hero-dates { color: #e06070; }

/* Commer */
.brand-hero.commer { background: linear-gradient(135deg, #071a10 0%, #0c0e18 60%); }
.brand-hero.commer .brand-hero-kicker,
.brand-hero.commer .brand-hero-dates { color: #5ab880; }

/* Guy */
.brand-hero.guy { background: linear-gradient(135deg, #1c0e04 0%, #0c0e18 60%); }
.brand-hero.guy .brand-hero-kicker,
.brand-hero.guy .brand-hero-dates { color: #e08050; }

/* ── Brand accent bar ────────────────────────────────────────────────────── */
.accent-bar {
  height: 3px; width: 100%;
}
.accent-bar.maudslay { background: var(--maudslay); }
.accent-bar.commer   { background: var(--commer);   }
.accent-bar.guy      { background: var(--guy);       }

/* ── Fact grid ───────────────────────────────────────────────────────────── */
.fact-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2px; margin-bottom: 60px;
}
.fact-card {
  background: var(--navy-mid); padding: 24px 20px;
  border-left: 3px solid var(--border);
}
.fact-card.maudslay { border-left-color: var(--maudslay); }
.fact-card.commer   { border-left-color: var(--commer); }
.fact-card.guy      { border-left-color: var(--guy); }

.fact-label { font-family: 'Gill Sans', sans-serif; font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.fact-value { font-family: 'Gill Sans', sans-serif; font-size: 18px; font-weight: 700; color: var(--cream); }

/* ── Prose content ───────────────────────────────────────────────────────── */
.prose { max-width: 740px; }
.prose h3 { margin-top: 36px; margin-bottom: 12px; }
.prose h3:first-child { margin-top: 0; }

/* ── Models grid ─────────────────────────────────────────────────────────── */
.models-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px; margin: 32px 0;
}
.model-card {
  background: var(--navy-mid); border: 1px solid var(--border);
  padding: 24px 22px;
}
.model-name {
  font-family: 'Gill Sans', sans-serif;
  font-size: 17px; font-weight: 700; color: var(--cream); margin-bottom: 4px;
}
.model-era { font-size: 12px; color: var(--muted); margin-bottom: 12px; letter-spacing: 0.05em; }
.model-desc { font-size: 14px; color: var(--cream-dim); line-height: 1.55; margin: 0; }

/* ── Timeline ────────────────────────────────────────────────────────────── */
.timeline { position: relative; padding-left: 28px; margin: 32px 0; }
.timeline::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 1px; background: var(--border);
}
.tl-item { position: relative; padding: 0 0 32px 24px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot {
  position: absolute; left: -28px; top: 6px;
  width: 10px; height: 10px;
  background: var(--gold); border: 2px solid var(--navy);
  border-radius: 50%;
}
.tl-year {
  font-family: 'Gill Sans', sans-serif;
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em; color: var(--gold);
  margin-bottom: 4px;
}
.tl-event { font-size: 15px; color: var(--text); line-height: 1.55; margin: 0; }

/* ── Legacy / CTA strip ──────────────────────────────────────────────────── */
.legacy-strip {
  background: var(--navy-lt); border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border); padding: 56px 0;
}
.legacy-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center;
}
@media (max-width: 640px) { .legacy-inner { grid-template-columns: 1fr; } }

.legacy-text h3 { margin-bottom: 8px; }
.legacy-text p  { color: var(--cream-dim); font-size: 15px; margin: 0; }

/* ── Enquiry CTA (brand pages) ───────────────────────────────────────────── */
.enquiry-cta {
  background: var(--navy); padding: 80px 0; text-align: center;
  border-top: 1px solid var(--border);
}
.enquiry-cta h2 { margin-bottom: 12px; }
.enquiry-cta p  { color: var(--cream-dim); max-width: 520px; margin: 0 auto 32px; font-size: 16px; }

/* ── Contact page ────────────────────────────────────────────────────────── */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
}
@media (max-width: 700px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-detail { margin-bottom: 28px; }
.contact-detail h4 { margin-bottom: 6px; }
.contact-detail p  { font-size: 15px; color: var(--cream-dim); margin: 0; line-height: 1.6; }

.form-field { margin-bottom: 20px; }
.form-field label {
  display: block; font-family: 'Gill Sans', sans-serif;
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 7px;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%; background: var(--navy-mid); border: 1px solid var(--border);
  padding: 12px 14px; color: var(--text);
  font-family: Georgia, serif; font-size: 15px;
  transition: border-color 0.15s; resize: vertical;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none; border-color: var(--gold);
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--muted); }
.form-field select option { background: var(--navy-mid); }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.footer {
  background: var(--navy-mid); border-top: 1px solid var(--border);
  padding: 48px 0 28px;
}
.footer-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
}
.footer-top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 40px; border-bottom: 1px solid var(--border); margin-bottom: 28px;
}
@media (max-width: 720px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 440px) { .footer-top { grid-template-columns: 1fr; } }

.footer-logo-wrap { display: flex; flex-direction: column; gap: 14px; }
.footer-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Gill Sans', sans-serif; text-decoration: none;
}
.footer-logo-mark {
  width: 32px; height: 32px; border: 1px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: var(--gold); letter-spacing: 0.05em;
}
.footer-logo-name { font-size: 13px; font-weight: 600; color: var(--cream); letter-spacing: 0.08em; text-transform: uppercase; line-height: 1; }
.footer-logo-tagline { font-size: 10px; color: var(--muted); letter-spacing: 0.12em; text-transform: uppercase; margin-top: 2px; }
.footer-desc { font-size: 13px; color: var(--muted); line-height: 1.6; margin: 0; }

.footer-col-title {
  font-family: 'Gill Sans', sans-serif;
  font-size: 10px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 13px; color: var(--muted); text-decoration: none; transition: color 0.15s; }
.footer-links a:hover { color: var(--cream); }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-copy { font-size: 12px; color: var(--muted); }
.footer-reg  { font-size: 12px; color: var(--muted); text-align: right; }

/* ── Trademark notice ────────────────────────────────────────────────────── */
.tm-notice {
  background: var(--navy-mid); border: 1px solid var(--border);
  padding: 20px 24px; margin: 40px 0;
}
.tm-notice p { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.6; }
.tm-notice strong { color: var(--cream-dim); }

/* ── Utility ─────────────────────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-gold   { color: var(--gold); }
.mt-40 { margin-top: 40px; }
.mb-40 { margin-bottom: 40px; }

@media (max-width: 600px) {
  .nav-links { display: none; }
  .section { padding: 52px 0; }
  .brand-hero::before { display: none; }
}
