/* ClassicCarsVS — Design 9: Museum / Editorial */
/* Fonts: Cormorant Garamond (headings), DM Sans (body) */

/* === VARIABLES & RESET === */
:root {
  --white: #ffffff;
  --black: #111111;
  --gray: #f5f5f5;
  --muted: #999999;
  --light-muted: #cccccc;
  --red: #cc0000;
  --rule: #e0e0e0;
  --max-width: 1100px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* === HEADER === */
.header {
  border-bottom: 1px solid var(--rule);
  padding: 0 40px;
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 400;
  letter-spacing: 0.02em;
}
.logo span { color: var(--red); }
.nav { display: flex; gap: 36px; }
.nav a {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.3s;
}
.nav a:hover, .nav a.active { color: var(--black); }

/* Hamburger (hidden on desktop) */
.hamburger {
  display: none; background: none; border: none; cursor: pointer; padding: 0.5rem;
  flex-direction: column; gap: 5px; z-index: 110;
}
.hamburger span {
  display: block; width: 22px; height: 2px; background: var(--black);
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Header search */
.header-search { margin-left: auto; position: relative; }
.header-search input {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  padding: 6px 14px;
  border: 1px solid var(--rule);
  border-radius: 20px;
  width: 180px;
  color: var(--black);
  background: var(--gray);
  transition: all 0.3s;
}
.header-search input:focus { outline: none; border-color: var(--muted); width: 240px; }
.search-dropdown {
  display: none; position: absolute; top: 100%; left: 0; right: 0;
  background: var(--white); border: 1px solid var(--rule); margin-top: 4px;
  max-height: 400px; overflow-y: auto; box-shadow: 0 4px 20px rgba(0,0,0,0.08); z-index: 200;
}
.search-dropdown.active { display: block; }
.search-dropdown a {
  display: flex; align-items: center; gap: 0.6rem; padding: 8px 14px;
  font-size: 0.85rem; color: var(--black); border-bottom: 1px solid var(--gray);
}
.search-dropdown a:hover { background: var(--gray); }
.search-dropdown img { width: 50px; height: 34px; object-fit: cover; }

/* === BREADCRUMB === */
.breadcrumb,
.breadcrumbs {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px 40px 0;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.breadcrumb a, .breadcrumbs a { color: var(--muted); transition: color 0.3s; }
.breadcrumb a:hover, .breadcrumbs a:hover { color: var(--black); }
.breadcrumb .sep, .breadcrumbs .sep { margin: 0 10px; color: var(--light-muted); }

/* === AD SLOTS === */
.ad-slot {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
  text-align: center;
}
.ad-unit { margin: 24px 0; }

/* === FOOTER === */
.footer {
  border-top: 1px solid var(--rule);
  padding: 60px 40px;
  text-align: center;
  margin-top: 100px;
}
.footer-inner { max-width: var(--max-width); margin: 0 auto; }
.footer-links {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 24px;
}
.footer-links a {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--black); }
.footer-copy { font-size: 0.75rem; color: var(--light-muted); }

/* === SECTION LABEL (shared) === */
.section-label {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--light-muted);
  margin-bottom: 20px;
}

/* === CAR IMAGE PLACEHOLDER === */
.car-image-placeholder {
  width: 100%;
  height: 500px;
  background: var(--gray);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light-muted);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

/* === CAR GRID (shared component) === */
.car-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  margin: 2rem 0;
}
.car-card {
  display: block;
  transition: opacity 0.3s;
}
.car-card:hover { opacity: 0.7; }
.car-card-img {
  width: 100%;
  height: 200px;
  background: var(--gray);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light-muted);
  font-size: 0.8rem;
  overflow: hidden;
}
.car-card-img img { width: 100%; height: 100%; object-fit: cover; }
.car-card-body { padding: 12px 0; }
.car-card-name {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--black);
}
.car-card-meta {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 2px;
}

/* === WIKI LINK === */
.wiki-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.82rem;
  color: var(--muted);
  transition: color 0.3s;
  margin-top: 8px;
}
.wiki-link:hover { color: var(--black); }
.wiki-link svg { width: 14px; height: 14px; }

/* === BACK TO TOP === */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--rule);
  background: var(--white);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 50;
  font-size: 1.2rem;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { color: var(--black); border-color: var(--black); }

/* === TAG BADGES === */
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.tag {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--rule);
  padding: 4px 12px;
  transition: color 0.3s, border-color 0.3s;
}
.tag:hover { color: var(--black); border-color: var(--black); }

/* === AUTOCOMPLETE DROPDOWN (dual search) === */
.ac-wrap { position: relative; flex: 1; min-width: 200px; }
.ac-wrap input { width: 100%; }
.ac-dropdown {
  display: none; position: absolute; top: 100%; left: 0; right: 0;
  background: var(--white); border: 1px solid var(--rule); margin-top: 4px;
  max-height: 300px; overflow-y: auto; box-shadow: 0 4px 20px rgba(0,0,0,0.08); z-index: 200;
}
.ac-dropdown.active { display: block; }
.ac-dropdown a {
  display: flex; align-items: center; gap: 0.6rem; padding: 8px 12px;
  color: var(--black); border-bottom: 1px solid var(--gray); font-size: 0.88rem;
}
.ac-dropdown a:hover, .ac-dropdown a.active { background: var(--gray); }

/* ============================================================ */
/* HOMEPAGE                                                      */
/* ============================================================ */
.home-hero {
  text-align: center;
  padding: 100px 40px 60px;
}
.home-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem;
  font-weight: 300;
  letter-spacing: 0.02em;
}
.home-hero h1 span { color: var(--red); }
.home-hero p {
  font-size: 0.95rem;
  color: var(--muted);
  margin-top: 16px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.home-rule {
  width: 60px;
  height: 1px;
  background: var(--rule);
  margin: 40px auto;
}

.dual-search {
  display: flex;
  gap: 16px;
  max-width: 650px;
  margin: 0 auto;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}
.dual-search input {
  flex: 1; min-width: 180px; padding: 10px 16px;
  font-family: 'DM Sans', sans-serif; font-size: 0.9rem;
  border: 1px solid var(--rule); color: var(--black); background: var(--white);
}
.dual-search input:focus { outline: none; border-color: var(--black); }
.dual-search .vs-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--light-muted);
}
.dual-search button {
  padding: 10px 24px; background: var(--black); color: var(--white); border: none;
  font-family: 'DM Sans', sans-serif; font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer; transition: opacity 0.3s;
}
.dual-search button:hover { opacity: 0.7; }

.stats-bar {
  display: flex;
  justify-content: center;
  gap: 48px;
  padding: 40px 0;
  max-width: var(--max-width);
  margin: 0 auto;
  flex-wrap: wrap;
}
.stat { text-align: center; }
.stat strong {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--black);
}
.stat span {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

.home-section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}
.home-section-header {
  text-align: center;
  margin-bottom: 48px;
}
.home-section-header h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 300;
  margin-bottom: 8px;
}
.home-section + .home-section { margin-top: 100px; }

.popular-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}
.popular-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border: 1px solid var(--gray);
  transition: border-color 0.3s;
  font-size: 0.9rem;
}
.popular-card:hover { border-color: var(--black); }
.popular-card .vs-mini {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--light-muted);
  flex-shrink: 0;
}

.era-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.era-card {
  display: block;
  padding: 24px 20px;
  border: 1px solid var(--gray);
  transition: border-color 0.3s;
  text-align: center;
}
.era-card:hover { border-color: var(--black); }
.era-card strong {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 4px;
}
.era-card span { font-size: 0.78rem; color: var(--muted); }

.event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.event-card {
  display: block;
  padding: 32px 24px;
  border: 1px solid var(--gray);
  transition: border-color 0.3s;
}
.event-card:hover { border-color: var(--black); }
.event-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 8px;
}
.event-card p { font-size: 0.82rem; color: var(--muted); line-height: 1.5; }

/* ============================================================ */
/* CAR DETAIL                                                    */
/* ============================================================ */
.car-image {
  max-width: var(--max-width);
  margin: 40px auto 0;
  padding: 0 40px;
}
.car-image img { width: 100%; max-height: 500px; object-fit: cover; }
.img-attr { font-size: 0.7rem; color: var(--muted); display: block; margin-top: 4px; text-align: right; }

.museum-label {
  max-width: 700px;
  margin: 60px auto 0;
  padding: 0 40px;
}
.museum-label h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 300;
  line-height: 1.15;
}
.museum-label .subtitle {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 12px;
}
.museum-label .rule {
  width: 40px;
  height: 1px;
  background: var(--rule);
  margin: 32px 0;
}

.specs-section {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 40px;
}
.specs-table {
  width: 100%;
  border-collapse: collapse;
}
.specs-table tr { border-bottom: 1px dotted var(--rule); }
.specs-table tr:last-child { border-bottom: none; }
.specs-table td {
  padding: 12px 0;
  font-size: 0.9rem;
  line-height: 2.0;
  vertical-align: baseline;
}
.specs-table .label {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 400;
  width: 40%;
}
.specs-table .value {
  text-align: right;
  font-weight: 500;
}

.content-grid {
  max-width: var(--max-width);
  margin: 80px auto 0;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 80px;
  align-items: start;
}

.editorial { max-width: 650px; }
.editorial h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 400;
  margin-bottom: 24px;
}
.editorial p {
  font-size: 0.92rem;
  line-height: 1.9;
  color: #333;
  margin-bottom: 20px;
}
.editorial p:last-child { margin-bottom: 0; }
.content-section { margin-top: 80px; }

.price-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--black);
  margin-bottom: 8px;
}
.price-note { font-size: 0.82rem; color: var(--muted); margin-bottom: 20px; }

.guide-item, .fact-item, .issue-item {
  padding: 14px 0;
  border-bottom: 1px solid var(--gray);
  font-size: 0.88rem;
  line-height: 1.7;
  color: #333;
}
.guide-item:last-child, .fact-item:last-child, .issue-item:last-child { border-bottom: none; }
.guide-item strong, .issue-item strong { color: var(--black); }
.severity {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.sidebar { position: sticky; top: 80px; }
.sidebar-section { margin-bottom: 48px; }
.sidebar-section h3 {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--light-muted);
  margin-bottom: 16px;
}
.sidebar-link {
  display: block;
  padding: 8px 0;
  font-size: 0.85rem;
  color: var(--muted);
  transition: color 0.3s;
}
.sidebar-link:hover { color: var(--black); }
.sidebar-link .sub { font-size: 0.75rem; color: var(--light-muted); }

/* ============================================================ */
/* COMPARISON                                                    */
/* ============================================================ */
.comp-hero {
  text-align: center;
  padding: 100px 40px 60px;
  max-width: 900px;
  margin: 0 auto;
}
.comp-title {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.comp-title h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.8rem;
  font-weight: 300;
  line-height: 1.15;
}
.comp-title .vs {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--light-muted);
  position: relative;
  top: -4px;
}
.comp-subtitle {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 20px;
}
.comp-rule {
  width: 60px;
  height: 1px;
  background: var(--rule);
  margin: 50px auto 0;
}

.comp-images {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.comp-img {
  height: 300px;
  background: var(--gray);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light-muted);
  font-size: 0.82rem;
  overflow: hidden;
}
.comp-img img { width: 100%; height: 100%; object-fit: cover; }

.comp-table {
  width: 100%;
  border-collapse: collapse;
  max-width: 900px;
  margin: 0 auto;
}
.comp-table thead th {
  padding: 12px 0;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--rule);
  text-align: center;
}
.comp-table thead th:first-child { text-align: left; width: 30%; }
.comp-table tbody tr { border-bottom: 1px solid var(--gray); }
.comp-table tbody tr:last-child { border-bottom: none; }
.comp-table td {
  padding: 14px 0;
  font-size: 0.88rem;
  text-align: center;
  vertical-align: middle;
}
.comp-table td:first-child {
  text-align: left;
  color: var(--muted);
  font-size: 0.82rem;
}
.comp-table .better { font-weight: 600; color: var(--black); }

.verdict-section {
  max-width: 650px;
  margin: 100px auto 0;
  padding: 0 40px;
  text-align: center;
}
.verdict-section .section-label { margin-bottom: 24px; }
.verdict-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 400;
  font-style: italic;
  line-height: 1.8;
  color: #333;
}

.strengths-section {
  max-width: 900px;
  margin: 100px auto 0;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.strength-col h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 24px;
}
.strength-item {
  padding: 10px 0;
  font-size: 0.88rem;
  line-height: 1.7;
  color: #333;
  border-bottom: 1px solid var(--gray);
}
.strength-item:last-child { border-bottom: none; }

.related-comparisons {
  max-width: 900px;
  margin: 80px auto 0;
  padding: 0 40px;
}
.compare-cat {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  padding: 12px 0 4px;
  list-style: none;
  border-top: 1px solid var(--rule);
  margin-top: 8px;
}
.compare-cat:first-child {
  border-top: none;
  margin-top: 0;
  padding-top: 0;
}

/* ============================================================ */
/* BRANDS INDEX                                                  */
/* ============================================================ */
.hero {
  text-align: center;
  padding: 100px 40px 60px;
}
.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem;
  font-weight: 300;
  letter-spacing: 0.02em;
  color: var(--black);
}
.hero-sub {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 16px;
}
.hero-rule {
  width: 60px;
  height: 1px;
  background: var(--rule);
  margin: 40px auto 0;
}

.alpha-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  max-width: var(--max-width);
  margin: 0 auto 40px;
  padding: 0 40px;
  flex-wrap: wrap;
}
.alpha-nav a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  color: var(--light-muted);
  transition: color 0.3s;
  padding: 2px 6px;
}
.alpha-nav a:hover { color: var(--black); }

.brands-section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px 100px;
}
.letter-group { margin-top: 60px; }
.letter-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.8rem;
  font-weight: 300;
  color: var(--light-muted);
  margin-bottom: 20px;
}
.brand-link {
  display: block;
  padding: 10px 0;
  font-size: 1rem;
  font-weight: 400;
  color: var(--black);
  transition: opacity 0.3s;
  line-height: 1.8;
}
.brand-link:hover { opacity: 0.5; }
.brand-link .count {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 300;
}

/* ============================================================ */
/* BRAND DETAIL                                                  */
/* ============================================================ */
.brand-hero {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 40px 40px;
}
.brand-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 4.5rem;
  font-weight: 300;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.brand-meta {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 16px;
}
.brand-rule {
  width: 100%;
  height: 1px;
  background: var(--rule);
  margin-top: 40px;
}

.models-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 40px 100px;
}
.decade-group { margin-top: 80px; }
.decade-heading {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--light-muted);
  margin-bottom: 32px;
}
.model-item {
  padding: 28px 0;
  border-bottom: 1px solid var(--gray);
  display: block;
  transition: opacity 0.3s;
}
.model-item:hover { opacity: 0.55; }
.model-item:last-child { border-bottom: none; }
.model-years {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 400;
  margin-bottom: 4px;
}
.model-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.3;
}
.model-desc {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 6px;
  line-height: 1.5;
}

/* ============================================================ */
/* FAMILY DETAIL                                                 */
/* ============================================================ */
.family-hero {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 40px 40px;
}
.family-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem;
  font-weight: 300;
  line-height: 1.15;
}
.family-meta {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 16px;
}

/* ============================================================ */
/* COLLECTION / EVENT                                            */
/* ============================================================ */
.exhibition-hero {
  text-align: center;
  padding: 120px 40px 60px;
}
.exhibition-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 4.5rem;
  font-weight: 300;
  letter-spacing: 0.02em;
}
.exhibition-hero .subtitle {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 16px;
}
.exhibition-rule {
  width: 60px;
  height: 1px;
  background: var(--rule);
  margin: 48px auto;
}

.wall-text {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 40px;
  text-align: center;
}
.wall-text p {
  font-size: 0.95rem;
  line-height: 1.9;
  color: #444;
}

.gallery-section {
  max-width: var(--max-width);
  margin: 100px auto 0;
  padding: 0 40px;
}
.gallery-label {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--light-muted);
  text-align: center;
  margin-bottom: 48px;
}
.gallery-grid {
  columns: 2;
  column-gap: 24px;
}
.gallery-item {
  break-inside: avoid;
  margin-bottom: 32px;
  display: block;
  transition: opacity 0.3s;
}
.gallery-item:hover { opacity: 0.7; }
.gallery-img {
  width: 100%;
  height: 300px;
  background: var(--gray);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light-muted);
  font-size: 0.82rem;
  overflow: hidden;
}
.gallery-img img { width: 100%; height: 100%; object-fit: cover; }
.gallery-caption { margin-top: 10px; }
.gallery-caption .name { font-size: 0.88rem; font-weight: 500; }
.gallery-caption .year { font-size: 0.78rem; color: var(--muted); }

/* Timeline */
.timeline-section {
  max-width: 700px;
  margin: 120px auto 0;
  padding: 0 40px;
}
.timeline-label {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--light-muted);
  text-align: center;
  margin-bottom: 48px;
}
.timeline {
  position: relative;
  padding-left: 80px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 36px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--rule);
}
.timeline-item { position: relative; padding-bottom: 40px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-year {
  position: absolute;
  left: -80px;
  top: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--muted);
  width: 50px;
  text-align: right;
}
.timeline-dot {
  position: absolute;
  left: -48px;
  top: 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--black);
}
.timeline-content h3 { font-size: 0.95rem; font-weight: 500; margin-bottom: 4px; }
.timeline-content p { font-size: 0.82rem; color: var(--muted); line-height: 1.5; }

/* Collections index */
.collections-section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px 100px;
}
.collection-group { margin-top: 60px; }
.collection-group-label {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--light-muted);
  margin-bottom: 24px;
}
.collection-link {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray);
  transition: opacity 0.3s;
}
.collection-link:hover { opacity: 0.55; }
.collection-link .name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 400;
}
.collection-link .count { font-size: 0.78rem; color: var(--muted); margin-left: 8px; }

/* ============================================================ */
/* BROWSE                                                        */
/* ============================================================ */
.browse-section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px 100px;
}
.browse-group { margin-top: 60px; }
.browse-group-label {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--light-muted);
  margin-bottom: 24px;
}
.browse-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.browse-card {
  display: block;
  padding: 20px 16px;
  border: 1px solid var(--gray);
  text-align: center;
  transition: border-color 0.3s;
}
.browse-card:hover { border-color: var(--black); }
.browse-card strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 4px;
}
.browse-card span { font-size: 0.78rem; color: var(--muted); }

/* ============================================================ */
/* STATIC PAGES (about, privacy, terms, search, 404)            */
/* ============================================================ */
.static-content {
  max-width: 700px;
  margin: 60px auto 0;
  padding: 0 40px;
}
.static-content h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  font-weight: 300;
  margin-bottom: 40px;
}
.static-content h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 400;
  margin: 40px 0 16px;
}
.static-content p {
  font-size: 0.92rem;
  line-height: 1.9;
  color: #333;
  margin-bottom: 16px;
}
.static-content ul { margin: 0 0 16px 24px; }
.static-content li { font-size: 0.92rem; line-height: 1.9; color: #333; margin-bottom: 4px; }

.error-page {
  text-align: center;
  padding: 120px 40px;
}
.error-page h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 6rem;
  font-weight: 300;
  color: var(--light-muted);
}
.error-page p { font-size: 1rem; color: var(--muted); margin-top: 16px; }
.error-page a { color: var(--red); }
.error-page a:hover { color: var(--black); }

/* ============================================================ */
/* RESPONSIVE                                                    */
/* ============================================================ */
@media (max-width: 768px) {
  .header { padding: 0 20px; }
  .nav { gap: 20px; }
  .nav a { font-size: 0.65rem; }
  .breadcrumb, .breadcrumbs { padding: 16px 20px 0; }

  .home-hero { padding: 60px 20px 40px; }
  .home-hero h1 { font-size: 2.2rem; }
  .home-section { padding: 0 20px; }
  .stats-bar { gap: 24px; }
  .dual-search { flex-direction: column; }
  .dual-search input { min-width: 100%; }
  .popular-grid { grid-template-columns: 1fr; }

  .car-image { padding: 0 20px; }
  .car-image-placeholder { height: 280px; }
  .museum-label { padding: 0 20px; }
  .museum-label h1 { font-size: 2rem; }
  .specs-section { padding: 0 20px; }
  .content-grid {
    padding: 0 20px;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 50px;
  }
  .sidebar { position: static; }

  .comp-hero { padding: 60px 20px 40px; }
  .comp-title h1 { font-size: 1.8rem; }
  .comp-title { gap: 12px; }
  .comp-images { padding: 0 20px; grid-template-columns: 1fr; }
  .comp-img { height: 200px; }
  .verdict-section { padding: 0 20px; margin-top: 60px; }
  .verdict-text { font-size: 1.1rem; }
  .strengths-section { padding: 0 20px; grid-template-columns: 1fr; gap: 40px; margin-top: 60px; }
  .related-comparisons { padding: 0 20px; }

  .hero { padding: 60px 20px 40px; }
  .hero h1 { font-size: 2.2rem; }
  .brands-section { padding: 0 20px 60px; }
  .letter-group { margin-top: 40px; }
  .letter-heading { font-size: 2rem; }

  .brand-hero { padding: 50px 20px 30px; }
  .brand-hero h1 { font-size: 2.8rem; }
  .models-section { padding: 0 20px 60px; }
  .decade-group { margin-top: 50px; }
  .model-name { font-size: 1.3rem; }

  .family-hero { padding: 50px 20px 30px; }
  .family-hero h1 { font-size: 2.4rem; }

  .exhibition-hero { padding: 70px 20px 40px; }
  .exhibition-hero h1 { font-size: 2.8rem; }
  .wall-text { padding: 0 20px; }
  .gallery-section { padding: 0 20px; margin-top: 60px; }
  .gallery-grid { columns: 1; }
  .gallery-img { height: 220px; }
  .timeline-section { padding: 0 20px; margin-top: 60px; }
  .timeline { padding-left: 60px; }
  .timeline::before { left: 26px; }
  .timeline-year { left: -60px; width: 40px; font-size: 0.95rem; }
  .timeline-dot { left: -38px; }

  .browse-section { padding: 0 20px 60px; }
  .collections-section { padding: 0 20px 60px; }

  .static-content { padding: 0 20px; }
  .static-content h1 { font-size: 2rem; }

  .footer { padding: 40px 20px; margin-top: 60px; }
  .footer-links { flex-wrap: wrap; gap: 16px; }

  .car-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
}

@media (max-width: 480px) {
  .hamburger { display: flex; }
  .nav {
    display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: var(--white); flex-direction: column; align-items: center; justify-content: center;
    gap: 2rem; z-index: 105;
  }
  .nav.open { display: flex; }
  .nav.open a { font-size: 1rem; color: var(--black); }
  .header-search { display: none; }
  .footer-links { flex-direction: column; align-items: center; gap: 12px; }
  .era-grid { grid-template-columns: 1fr 1fr; }
  .browse-grid { grid-template-columns: 1fr 1fr; }
}
