/* ============================================================
   ASTRODYNE INDUSTRIES — Tomorrow, Delivered Today
   A transmission from an alternate 1962.
   ============================================================ */

/* ---------- Fonts ---------- */
@font-face {
  font-family: 'Atomic Age';
  font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/atomic-age.woff2') format('woff2');
}
@font-face {
  font-family: 'Libre Baskerville';
  font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/libre-baskerville-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Libre Baskerville';
  font-style: normal; font-weight: 700; font-display: swap;
  src: url('../fonts/libre-baskerville-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Libre Baskerville';
  font-style: italic; font-weight: 400; font-display: swap;
  src: url('../fonts/libre-baskerville-italic.woff2') format('woff2');
}

/* ---------- Palette & tokens ---------- */
:root {
  --cream:      #f6eeda;
  --cream-2:    #efe3c8;
  --cream-3:    #e6d7b6;
  --ink:        #201d19;
  --teal:       #17706e;
  --teal-deep:  #0e4f4e;
  --teal-bright:#2fa8a2;
  --coral:      #e8624a;
  --coral-deep: #c94b36;
  --gold:       #e0a83c;
  --chrome-hi:  #f8fafc;
  --chrome-1:   #e8ecf0;
  --chrome-2:   #c3cad1;
  --chrome-3:   #8f99a3;
  --chrome-4:   #67707b;
  --night:      #10222e;
  --night-2:    #16303f;

  --font-display: 'Atomic Age', 'Futura', 'Trebuchet MS', sans-serif;
  --font-body: 'Libre Baskerville', 'Georgia', serif;

  --frame-border: 3px solid var(--ink);
  --shadow-poster: 6px 6px 0 rgba(32,29,25,.85);
}

/* ---------- Reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background-color: var(--cream);
  background-image:
    radial-gradient(rgba(32,29,25,.055) 1px, transparent 1.6px),
    radial-gradient(rgba(23,112,110,.05) 1px, transparent 1.6px);
  background-size: 9px 9px, 9px 9px;
  background-position: 0 0, 4.5px 4.5px;
  line-height: 1.6;
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
a { color: var(--teal-deep); }

/* paper grain over everything, under content overlays */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 3;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

/* ---------- Scanlines (fixed, subtle) ---------- */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 60;
  background: repeating-linear-gradient(
    to bottom,
    rgba(32,29,25,0) 0px,
    rgba(32,29,25,0) 2px,
    rgba(32,29,25,.045) 3px,
    rgba(32,29,25,0) 4px
  );
}

/* ============================================================
   MENU BAR — the Command Deck
   ============================================================ */
.menubar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 14px;
  padding: 10px 18px;
  background: linear-gradient(to bottom, #f8fafc 0%, #dfe4e9 18%, #aab3bd 55%, #c9cfd6 78%, #8f99a3 100%);
  border-bottom: var(--frame-border);
  box-shadow: 0 4px 0 rgba(32,29,25,.25);
}
.menubar::after { /* rivet line */
  content: "";
  position: absolute; left: 0; right: 0; bottom: 4px; height: 0;
  border-bottom: 1px dashed rgba(32,29,25,.35);
  pointer-events: none;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; flex: none;
}
.brand-atom { width: 40px; height: 40px; flex: none; }
.brand-atom ellipse { transform-origin: 20px 20px; animation: atom-spin 9s linear infinite; }
.brand-word {
  font-family: var(--font-display);
  font-size: 1.15rem; line-height: 1;
  color: var(--ink);
  letter-spacing: 1px;
  display: flex; flex-direction: column;
}
.brand-word em {
  font-style: normal; font-size: .52rem; letter-spacing: .42em;
  color: var(--teal-deep);
}

.command-deck {
  display: flex; gap: 10px; margin-left: auto;
  overflow-x: auto; scrollbar-width: none;
  padding: 2px;
}
.command-deck::-webkit-scrollbar { display: none; }

/* ---------- Chrome buttons ---------- */
.chrome-btn {
  position: relative;
  display: inline-block; flex: none;
  font-family: var(--font-display);
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  padding: 3px; /* frame ring */
  border-radius: 999px;
  background: linear-gradient(to bottom, var(--chrome-hi), var(--chrome-2) 45%, var(--chrome-3) 55%, var(--chrome-2));
  border: 2px solid var(--ink);
  box-shadow: 2px 2px 0 rgba(32,29,25,.7);
  transition: transform .18s ease, box-shadow .18s ease;
}
.chrome-btn > span {
  display: block;
  padding: 7px 18px;
  border-radius: 999px;
  background: linear-gradient(to bottom, #fdfefe 0%, var(--chrome-1) 40%, var(--chrome-3) 60%, var(--chrome-2) 100%);
  border-top: 1px solid #fff;
  border-bottom: 1px solid rgba(32,29,25,.25);
}
.chrome-btn:hover, .chrome-btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 3px 5px 0 rgba(32,29,25,.7);
}
.chrome-btn:hover > span, .chrome-btn:focus-visible > span {
  background: linear-gradient(to bottom, #fff 0%, #f3d9d2 45%, var(--coral) 60%, var(--coral-deep) 100%);
  color: #fff;
  text-shadow: 0 1px 0 rgba(32,29,25,.4);
}
.chrome-btn:active { transform: translateY(1px); box-shadow: 1px 1px 0 rgba(32,29,25,.7); }

/* ============================================================
   CHROME TEXT
   ============================================================ */
.chrome-text {
  background: linear-gradient(to bottom,
    #fdfefe 0%, #dfe4e9 30%, #9aa3ac 48%,
    #f2f5f7 52%, #c3cad1 68%, #7e8894 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-stroke: 1px rgba(32,29,25,.35);
  filter: drop-shadow(2px 2px 0 rgba(32,29,25,.55));
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 96vh;
  display: flex; flex-direction: column; justify-content: center;
  background:
    radial-gradient(ellipse 120% 70% at 50% 115%, var(--teal) 0%, var(--teal-deep) 34%, var(--night-2) 62%, var(--night) 100%);
  border-bottom: var(--frame-border);
  overflow: hidden;
  padding: 70px 20px 120px;
}
.hero::before { /* halftone fade at horizon */
  content: "";
  position: absolute; inset: auto 0 0 0; height: 45%;
  background-image: radial-gradient(rgba(246,238,218,.14) 1.2px, transparent 1.9px);
  background-size: 11px 11px;
  mask-image: linear-gradient(to top, #000 0%, transparent 100%);
  -webkit-mask-image: linear-gradient(to top, #000 0%, transparent 100%);
  pointer-events: none;
}
.hero-horizon {
  position: absolute; left: -5%; right: -5%; bottom: -30px; height: 90px;
  background: var(--coral);
  border-top: var(--frame-border);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  box-shadow: 0 -14px 0 -6px var(--gold);
}

.starfield { position: absolute; inset: 0; pointer-events: none; }
.starfield .tw {
  position: absolute;
  background: var(--cream);
  border-radius: 50%;
  animation: twinkle var(--tw-dur, 3s) ease-in-out var(--tw-delay, 0s) infinite;
}
.starfield .tw.cross::before, .starfield .tw.cross::after {
  content: ""; position: absolute; background: inherit; border-radius: 2px;
}
.starfield .tw.cross::before { left: 50%; top: -160%; width: 1.5px; height: 420%; transform: translateX(-50%); opacity: .75; }
.starfield .tw.cross::after  { top: 50%; left: -160%; height: 1.5px; width: 420%; transform: translateY(-50%); opacity: .75; }

@keyframes twinkle {
  0%, 100% { opacity: .15; transform: scale(.8); }
  50%      { opacity: 1;   transform: scale(1.15); }
}

/* orbiting satellite */
.hero-orbit {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  pointer-events: none;
}
.orbit-ring {
  width: min(88vmin, 760px); height: min(88vmin, 760px);
  border: 1.5px dashed rgba(246,238,218,.35);
  border-radius: 50%;
  animation: orbit 70s linear infinite;
  position: relative;
}
.satellite {
  position: absolute; top: -20px; left: 50%;
  width: 60px; height: 40px;
  animation: counter-orbit 70s linear infinite;
}
@keyframes orbit { to { transform: rotate(360deg); } }
@keyframes counter-orbit { from { transform: translateX(-50%) rotate(0); } to { transform: translateX(-50%) rotate(-360deg); } }

.ringed-planet {
  position: absolute; top: 6%; right: 5%;
  width: clamp(80px, 14vw, 150px);
  opacity: .9;
  animation: bob 9s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-14px) rotate(2deg); } }

.hero-inner {
  position: relative; z-index: 2;
  max-width: 1080px; margin: 0 auto;
  display: grid; place-items: center;
  text-align: center;
}

.logotype-wrap { position: relative; padding: 30px 10px 10px; }
.starburst-logo {
  position: absolute; top: 50%; left: 50%;
  width: clamp(320px, 60vmin, 560px); height: auto;
  transform: translate(-50%, -52%);
  fill: var(--coral);
  opacity: .9;
  z-index: -1;
  animation: flare-pulse 6s ease-in-out infinite;
}
.starburst-logo circle { fill: var(--gold); }
@keyframes flare-pulse {
  0%, 100% { transform: translate(-50%, -52%) scale(1); opacity: .82; }
  50%      { transform: translate(-50%, -52%) scale(1.06) rotate(3deg); opacity: 1; }
}

.hero-eyebrow {
  font-family: var(--font-body); font-style: italic;
  color: var(--gold);
  font-size: clamp(.8rem, 2vw, 1rem);
  letter-spacing: .06em;
  margin: 0 0 6px;
  text-shadow: 0 2px 6px rgba(0,0,0,.5);
}
.logotype { margin: 0; line-height: .95; }
.logotype-main {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 10.5vw, 7.2rem);
  letter-spacing: .03em;
}
.logotype-sub {
  display: inline-block;
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: clamp(.85rem, 3vw, 1.6rem);
  letter-spacing: .85em; text-indent: .85em;
  color: var(--cream);
  background: var(--teal-deep);
  border: 3px solid var(--cream);
  outline: 3px solid var(--teal-deep);
  padding: 8px 22px 8px 22px;
  box-shadow: 4px 4px 0 rgba(0,0,0,.45);
}
.hero-tagline {
  margin: 26px 0 0;
  font-family: var(--font-body); font-style: italic;
  font-size: clamp(1.05rem, 3.2vw, 1.6rem);
  color: var(--cream);
  text-shadow: 0 2px 0 rgba(0,0,0,.45);
}
.tag-flourish { color: var(--gold); font-style: normal; }

.hero-rocket-wrap { margin: 26px 0 8px; }
.hero-rocket {
  width: clamp(170px, 30vmin, 250px);
  filter: drop-shadow(0 18px 24px rgba(0,0,0,.5));
}
.rocket-body { animation: hover-lift 4.5s ease-in-out infinite; }
@keyframes hover-lift { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

.flame-outer { fill: var(--coral-deep); animation: flick 0.55s ease-in-out infinite alternate; transform-origin: 150px 390px; }
.flame-mid   { fill: var(--coral);      animation: flick 0.42s ease-in-out infinite alternate-reverse; transform-origin: 150px 394px; }
.flame-core  { fill: #f6d365;           animation: flick 0.3s ease-in-out infinite alternate; transform-origin: 150px 398px; }
@keyframes flick { from { transform: scaleY(1); } to { transform: scaleY(.86) scaleX(1.06); } }
.smoke { fill: rgba(246,238,218,.5); animation: puff 3.2s ease-in-out infinite; }
.smoke.s2 { animation-delay: -1.1s; } .smoke.s3 { animation-delay: -2.2s; }
@keyframes puff { 0%,100% { opacity: .35; transform: scale(1); } 50% { opacity: .7; transform: scale(1.12); } }

.hero-cta { font-size: .85rem; margin-top: 12px; z-index: 2; }

/* ============================================================
   SECTION SHELL
   ============================================================ */
.section { padding: 90px 20px 100px; position: relative; }
.section-head { text-align: center; max-width: 800px; margin: 0 auto 54px; position: relative; }
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 5.4vw, 3rem);
  margin: 10px 0 12px;
  line-height: 1.1;
}
.section-kicker {
  font-style: italic;
  color: var(--teal-deep);
  font-size: clamp(.9rem, 2.2vw, 1.05rem);
  margin: 0;
}
.mini-burst { width: 54px; height: 54px; fill: var(--coral); }
.mini-burst circle { fill: var(--gold); stroke: var(--ink); stroke-width: 2; }
.section-head .mini-burst, .dealer-card .mini-burst { animation: spin-slow 24s linear infinite; }
@keyframes spin-slow { to { transform: rotate(360deg); } }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   PRODUCT ADS
   ============================================================ */
.products {
  background:
    linear-gradient(rgba(246,238,218,.92), rgba(239,227,200,.92)),
    radial-gradient(var(--teal) 1.4px, transparent 2px);
  background-size: auto, 14px 14px;
}
.ad-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 44px;
  max-width: 1120px;
  margin: 0 auto;
}

.ad-poster {
  background: var(--cream);
  border: var(--frame-border);
  outline: 6px solid var(--cream);
  outline-offset: 5px;
  box-shadow: var(--shadow-poster);
  position: relative;
  transition: transform .35s cubic-bezier(.2,.7,.3,1.4), box-shadow .35s ease;
}
.ad-poster::before { /* inner hairline */
  content: ""; position: absolute; inset: 8px;
  border: 1.5px solid var(--ink); pointer-events: none; z-index: 2;
}
.ad-poster:hover { transform: translateY(-6px) rotate(-.6deg); box-shadow: 10px 12px 0 rgba(32,29,25,.85); }

.ad-frame { padding: 26px 26px 24px; position: relative; }
.ad-topline {
  font-family: var(--font-body); font-style: italic;
  text-align: center; font-size: .92rem;
  color: var(--coral-deep);
  margin-bottom: 4px;
}
.ad-poster h3 {
  font-family: var(--font-display);
  text-align: center;
  font-size: clamp(1.35rem, 3.2vw, 1.9rem);
  line-height: 1.08;
  margin: 4px 0 2px;
  color: var(--teal-deep);
}
.ad-model {
  text-align: center; margin: 0 0 14px;
  font-size: .8rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink);
  border-top: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink);
  padding: 5px 0;
}

.ad-art {
  position: relative;
  border: 2.5px solid var(--ink);
  overflow: hidden;
  margin-bottom: 16px;
}
.ad-art svg { display: block; width: 100%; height: auto; }
.art-teal {
  background:
    radial-gradient(rgba(246,238,218,.35) 1.3px, transparent 1.9px) 0 0/10px 10px,
    linear-gradient(160deg, #1d817e, var(--teal-deep));
}
.art-coral {
  background:
    radial-gradient(rgba(246,238,218,.35) 1.3px, transparent 1.9px) 0 0/10px 10px,
    linear-gradient(160deg, #f08368, var(--coral-deep));
}

/* sparkles inside ad art */
.sparkle-field { position: absolute; inset: 0; pointer-events: none; }
.sparkle {
  position: absolute;
  width: var(--s, 16px); height: var(--s, 16px);
  opacity: 0;
  animation: sparkle-flare var(--sd, 2.6s) ease-in-out var(--sdel, 0s) infinite;
}
.sparkle::before, .sparkle::after {
  content: ""; position: absolute; inset: 0;
  background: var(--cream);
  clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%);
}
.sparkle::after { transform: rotate(45deg) scale(.55); background: var(--gold); }
@keyframes sparkle-flare {
  0%, 100% { opacity: 0; transform: scale(.3) rotate(0deg); }
  50%      { opacity: 1; transform: scale(1) rotate(45deg); }
}
/* hover: starbursts flare harder */
.ad-poster:hover .sparkle { animation-duration: 1.1s; }

/* ad illustration micro-animations */
.atom-emblem .electron { transform-origin: 160px 163px; animation: atom-spin 5s linear infinite; }
.atom-emblem .e2 { animation-duration: 7s; animation-direction: reverse; }
.atom-emblem .e3 { animation-duration: 9s; }
@keyframes atom-spin { to { transform: rotate(360deg); } }

.pilot { animation: blink-light 1.6s steps(2, jump-none) infinite; }
@keyframes blink-light { 50% { fill: #f4d98a; } }
.zap { animation: zap-bob 2.4s ease-in-out infinite; transform-origin: 55px 55px; }
@keyframes zap-bob { 0%,100% { transform: translateY(0) rotate(-4deg);} 50% { transform: translateY(6px) rotate(4deg);} }

.rotor { transform-origin: 160px 52px; animation: rotor-tilt 1.1s ease-in-out infinite alternate; }
@keyframes rotor-tilt { from { transform: rotate(-2.5deg);} to { transform: rotate(2.5deg);} }
.speed line { animation: speed-dash 1.2s linear infinite; }
.speed line:nth-child(2) { animation-delay: -.4s; } .speed line:nth-child(3) { animation-delay: -.8s; }
@keyframes speed-dash { from { transform: translateX(0); opacity: .6; } to { transform: translateX(-14px); opacity: 0; } }
.cloud.c1 { animation: drift 9s ease-in-out infinite alternate; }
.cloud.c2 { animation: drift 11s ease-in-out infinite alternate-reverse; }
@keyframes drift { from { transform: translateX(0);} to { transform: translateX(10px);} }

.drop-pill { animation: drop 2.2s ease-in infinite; }
@keyframes drop { 0% { transform: translateY(0); opacity: 0;} 15% { opacity: 1;} 80% { transform: translateY(10px); opacity: 1;} 100% { transform: translateY(12px); opacity: 0;} }
.pill { animation: pill-glow 3s ease-in-out infinite; }
.pill.p2 { animation-delay: -1s; } .pill.p3 { animation-delay: -2s; }
@keyframes pill-glow { 0%,100% { filter: none; } 50% { filter: brightness(1.25); } }

.antenna { transform-origin: 160px 52px; animation: wag 3s ease-in-out infinite; }
.antenna-tip { transform-origin: 160px 52px; animation: wag 3s ease-in-out infinite; }
@keyframes wag { 0%,100% { transform: rotate(-5deg);} 50% { transform: rotate(5deg);} }
.eye { animation: eye-glow 4s ease-in-out infinite; }
@keyframes eye-glow { 0%, 92%, 100% { fill: #f4e9b8; } 95% { fill: #5b7d6e; } }
.tray-arm { transform-origin: 202px 152px; animation: serve 4.5s ease-in-out infinite; }
@keyframes serve { 0%,100% { transform: rotate(0);} 50% { transform: rotate(-6deg);} }
.wave-arm { transform-origin: 118px 152px; animation: wave 4.5s ease-in-out infinite; }
@keyframes wave { 0%,100% { transform: rotate(0);} 50% { transform: rotate(8deg);} }

.ad-copy { font-size: .95rem; margin: 0 0 12px; text-align: center; }
.ad-copy strong { color: var(--coral-deep); }

.ad-price {
  text-align: center; margin: 0 0 18px;
  font-family: var(--font-body);
}
.price-big {
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--coral-deep);
  text-shadow: 1.5px 1.5px 0 rgba(32,29,25,.25);
}
.price-note { display: block; font-style: italic; font-size: .8rem; color: #5a5348; }

.ad-footer-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px;
  border-top: 2px solid var(--ink);
  padding-top: 14px;
}

.chrome-badge {
  flex: none;
  width: 92px;
  position: relative;
  text-align: center;
}
.chrome-badge svg {
  display: block; width: 92px; height: 92px;
  animation: spin-slow 18s linear infinite;
  filter: drop-shadow(2px 3px 0 rgba(32,29,25,.35));
}
.ad-poster:hover .chrome-badge svg { animation-duration: 2.2s; }

.fair-stamp {
  margin: 0;
  font-family: var(--font-display);
  font-size: .8rem; letter-spacing: .06em;
  color: var(--coral-deep);
  text-align: center;
  border: 2.5px dashed var(--coral-deep);
  border-radius: 8px;
  padding: 10px 12px;
  transform: rotate(-1.6deg);
  flex: 1;
  transition: transform .3s ease, background .3s ease;
}
.fair-stamp em { font-family: var(--font-body); font-size: .72rem; letter-spacing: 0; }
.ad-poster:hover .fair-stamp { transform: rotate(1.2deg) scale(1.03); background: rgba(232,98,74,.08); }

/* ============================================================
   TIMELINE
   ============================================================ */
.timeline {
  background:
    linear-gradient(rgba(232,98,74,.07), rgba(23,112,110,.07)),
    var(--cream-2);
  border-top: var(--frame-border);
  border-bottom: var(--frame-border);
}
.timeline-track {
  position: relative;
  list-style: none; margin: 0 auto; padding: 20px 0;
  max-width: 980px;
}
.timeline-track::before {
  content: "";
  position: absolute; top: 0; bottom: 0; left: 50%;
  width: 4px; margin-left: -2px;
  background: repeating-linear-gradient(to bottom, var(--teal) 0 14px, transparent 14px 26px);
}
.tl-item {
  position: relative;
  display: flex;
  width: 50%;
  padding: 0 56px 40px 0;
}
.tl-item:nth-child(even) {
  margin-left: 50%;
  padding: 0 0 40px 56px;
}
.tl-year {
  position: absolute; top: -6px;
  right: -34px;
  width: 68px; height: 68px;
  display: grid; place-items: center;
  z-index: 2;
}
.tl-item:nth-child(even) .tl-year { right: auto; left: -34px; }
.tl-year::before {
  content: ""; position: absolute; inset: 0;
  background: var(--coral);
  clip-path: polygon(50% 0%, 61% 12%, 76% 6%, 82% 21%, 97% 24%, 95% 40%, 100% 50%, 95% 60%, 97% 76%, 82% 79%, 76% 94%, 61% 88%, 50% 100%, 39% 88%, 24% 94%, 18% 79%, 3% 76%, 5% 60%, 0% 50%, 5% 40%, 3% 24%, 18% 21%, 24% 6%, 39% 12%);
  animation: spin-slow 40s linear infinite;
}
.tl-year span {
  position: relative; z-index: 1;
  display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--cream);
  border: 2.5px solid var(--ink);
  font-family: var(--font-display);
  font-size: .82rem;
}
.tl-year-star span { background: var(--gold); }

.tl-card {
  background: var(--cream);
  border: 2.5px solid var(--ink);
  box-shadow: 5px 5px 0 rgba(32,29,25,.8);
  padding: 18px 22px;
  flex: 1;
}
.tl-card h3 {
  font-family: var(--font-display);
  margin: 0 0 8px;
  font-size: 1.15rem;
  color: var(--teal-deep);
}
.tl-card p { margin: 0; font-size: .92rem; }
.tl-card-now { outline: 4px solid var(--gold); outline-offset: 3px; }
.now-flag {
  display: inline-block;
  font-size: .6rem; letter-spacing: .12em; text-transform: uppercase;
  background: var(--coral); color: var(--cream);
  padding: 3px 8px; border-radius: 999px;
  vertical-align: middle; margin-left: 8px;
  border: 1.5px solid var(--ink);
}
.tl-future .tl-card { background: #e9f0ee; }
.tl-future .tl-card-finale {
  background: var(--teal-deep); color: var(--cream);
}
.tl-card-finale h3 { color: var(--gold); }
.tl-card-finale strong { color: var(--gold); }

/* ============================================================
   NEWS BROADSHEET
   ============================================================ */
.news { background: var(--cream); }
.broadsheet {
  max-width: 1020px; margin: 0 auto;
  background: #f9f3e4;
  border: var(--frame-border);
  outline: 5px solid #f9f3e4; outline-offset: 4px;
  box-shadow: var(--shadow-poster);
  padding: 30px 34px 38px;
  position: relative;
}
.broadsheet::before { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(32,29,25,.6); pointer-events: none; }

.sheet-masthead { text-align: center; margin-bottom: 22px; }
.sheet-over {
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
  padding: 4px 0; margin: 0 0 12px;
}
.sheet-masthead h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6.5vw, 3.6rem);
  margin: 0 0 6px;
  color: var(--ink);
  letter-spacing: .01em;
}
.sheet-dateline {
  font-style: italic; font-size: .85rem; margin: 0 0 10px;
  color: var(--coral-deep);
}
.rule-double { border: none; border-top: 3px double var(--ink); margin: 0; }

.sheet-columns {
  column-count: 3;
  column-gap: 34px;
  column-rule: 1px solid rgba(32,29,25,.35);
}
.sheet-article { break-inside: avoid; margin-bottom: 20px; }
.sheet-article h3 {
  font-family: var(--font-display);
  font-size: 1.05rem; line-height: 1.25;
  margin: 0 0 4px;
  color: var(--teal-deep);
}
.byline { font-size: .72rem; font-style: italic; margin: 0 0 8px; color: #5a5348; }
.sheet-article p { font-size: .86rem; margin: 0 0 9px; text-align: justify; hyphens: auto; }
.sheet-article p:first-of-type::first-letter {
  font-family: var(--font-display);
  font-size: 2.1em; float: left;
  line-height: .85; padding: 2px 6px 0 0;
  color: var(--coral-deep);
}
.sheet-figure { margin: 10px 0 4px; }
.sheet-figure svg { display: block; border: 2px solid var(--ink); }
.sheet-figure figcaption { font-size: .68rem; font-style: italic; margin-top: 5px; }

.sheet-quote {
  break-inside: avoid;
  border-top: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink);
  padding: 14px 6px; margin: 0 0 20px;
  text-align: center;
}
.pullquote {
  font-family: var(--font-display);
  font-size: 1.02rem; line-height: 1.45;
  color: var(--coral-deep);
  margin: 0 0 8px;
}
.quote-cite { font-size: .72rem; font-style: italic; margin: 0; }

/* ============================================================
   DEALERS / CONSTELLATION CHART
   ============================================================ */
.dealers {
  background:
    linear-gradient(rgba(16,34,46,.94), rgba(22,48,63,.94)),
    radial-gradient(rgba(246,238,218,.5) 1px, transparent 1.7px);
  background-size: auto, 13px 13px;
  border-top: var(--frame-border);
  border-bottom: var(--frame-border);
}
.dealers .section-head h2 { filter: drop-shadow(2px 2px 0 rgba(0,0,0,.7)); }
.dealers .section-kicker { color: var(--teal-bright); }

.dealer-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 34px;
  max-width: 1120px; margin: 0 auto;
  align-items: start;
}
.chart-frame {
  border: var(--frame-border);
  box-shadow: 6px 6px 0 rgba(0,0,0,.55);
  background: var(--night);
  padding: 10px;
}
#constellationChart { display: block; width: 100%; height: auto; }
.chart-caption {
  font-style: italic; font-size: .76rem; color: var(--cream);
  opacity: .75; margin: 8px 4px 2px;
}
.constellation { cursor: pointer; outline: none; pointer-events: bounding-box; }
.constellation polyline, .constellation path, .constellation line, .constellation ellipse {
  stroke: rgba(47,168,162,.55); stroke-width: 1.4; fill: none;
  transition: stroke .3s ease;
}
.constellation .star {
  fill: #f4e9b8;
  transition: r .25s ease, fill .25s ease;
}
.constellation .star-major { fill: var(--gold); }
.constellation .cname {
  font-family: var(--font-display);
  font-size: 13px; letter-spacing: .22em;
  fill: rgba(246,238,218,.65);
  transition: fill .3s ease;
}
.constellation:hover polyline, .constellation:hover path, .constellation:hover line, .constellation:hover ellipse,
.constellation:focus-visible polyline, .constellation:focus-visible path, .constellation:focus-visible line, .constellation:focus-visible ellipse,
.constellation.active polyline, .constellation.active path, .constellation.active line, .constellation.active ellipse {
  stroke: var(--gold);
}
.constellation:hover .star, .constellation:focus-visible .star, .constellation.active .star { fill: #fff; }
.constellation:hover .star-major, .constellation:focus-visible .star-major, .constellation.active .star-major { fill: var(--coral); }
.constellation:hover .cname, .constellation:focus-visible .cname, .constellation.active .cname { fill: var(--gold); }
.constellation.active .star { animation: star-flare 1.6s ease-in-out infinite; }
@keyframes star-flare { 0%,100% { opacity: 1; } 50% { opacity: .45; } }

.dealer-panel {
  background: var(--cream);
  border: var(--frame-border);
  box-shadow: var(--shadow-poster);
  padding: 24px 26px;
}
.dealer-panel-title {
  font-family: var(--font-display); font-size: 1.3rem;
  color: var(--teal-deep); margin: 0 0 8px;
}
.dealer-panel-intro { font-size: .88rem; margin: 0 0 16px; }
.dealer-card {
  border: 2.5px solid var(--coral-deep);
  background: rgba(232,98,74,.07);
  padding: 16px 18px 14px;
  margin-bottom: 16px;
  text-align: center;
  animation: card-in .4s cubic-bezier(.2,.7,.3,1.3);
}
@keyframes card-in { from { transform: scale(.94) rotate(-1deg); opacity: 0; } }
.dealer-card .mini-burst { width: 44px; height: 44px; }
.dealer-card h4 { font-family: var(--font-display); margin: 6px 0 2px; font-size: 1.15rem; color: var(--ink); }
.dealer-city { font-style: italic; font-size: .85rem; margin: 0 0 8px; color: var(--coral-deep); }
.dealer-blurb { font-size: .85rem; margin: 0 0 8px; }
.dealer-hours { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; margin: 0; border-top: 1.5px dashed var(--ink); padding-top: 8px; }

.dealer-index { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.dealer-index button {
  font-family: var(--font-display); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase;
  background: var(--teal-deep); color: var(--cream);
  border: 2px solid var(--ink); border-radius: 999px;
  padding: 7px 14px; cursor: pointer;
  box-shadow: 2px 2px 0 rgba(32,29,25,.7);
  transition: transform .15s ease, background .2s ease;
}
.dealer-index button:hover, .dealer-index button:focus-visible { background: var(--coral); transform: translateY(-2px); }
.dealer-index button.active { background: var(--gold); color: var(--ink); }

/* ============================================================
   CREED / FOOTER
   ============================================================ */
.creed {
  position: relative;
  background: linear-gradient(to bottom, var(--night) 0%, #0b1a24 100%);
  padding: 100px 20px 60px;
  overflow: hidden;
  text-align: center;
}
.creed-frame {
  position: relative; z-index: 2;
  max-width: 720px; margin: 0 auto;
  border: 3px solid var(--cream);
  outline: 2px solid rgba(246,238,218,.4); outline-offset: 7px;
  padding: 44px 34px 34px;
  background: rgba(246,238,218,.04);
}
.creed-atom { width: 110px; height: 110px; }
.creed-atom-spin { transform-origin: 60px 60px; animation: spin-slow 26s linear infinite; }
.creed h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4.5vw, 2.4rem);
  margin: 10px 0 18px;
}
.creed-text {
  color: var(--cream);
  font-size: clamp(.95rem, 2.4vw, 1.08rem);
  line-height: 2.05;
  margin: 0 0 14px;
}
.creed-text em { color: var(--gold); }
.creed-sign { font-style: italic; color: var(--teal-bright); margin: 0 0 20px; }
.creed-rule { display: flex; justify-content: center; gap: 22px; color: var(--coral); font-size: 1.2rem; margin-bottom: 20px; }
.legal { color: rgba(246,238,218,.62); font-size: .78rem; line-height: 1.8; margin: 0; }
.legal span { font-size: .68rem; font-style: italic; }
.to-top { margin-top: 44px; position: relative; z-index: 2; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .ad-grid { grid-template-columns: 1fr; gap: 38px; max-width: 560px; }
  .dealer-layout { grid-template-columns: 1fr; }
  .sheet-columns { column-count: 2; }
}

@media (max-width: 640px) {
  html { scroll-padding-top: 118px; }
  .menubar { flex-direction: column; gap: 8px; padding: 8px 10px; align-items: stretch; }
  .brand { justify-content: center; }
  .command-deck { margin-left: 0; justify-content: flex-start; padding-bottom: 4px; }
  .command-deck .chrome-btn { font-size: .64rem; }
  .command-deck .chrome-btn > span { padding: 10px 14px; }
  .dealer-index button { padding: 11px 16px; }

  .hero { padding: 50px 14px 110px; min-height: auto; }
  .logotype-sub { letter-spacing: .5em; text-indent: .5em; padding: 7px 12px; }

  .section { padding: 64px 14px 70px; }
  .ad-frame { padding: 18px 16px 18px; }
  .ad-footer-row { flex-direction: column; }
  .fair-stamp { width: 100%; }

  /* timeline collapses to single rail on the left */
  .timeline-track::before { left: 26px; }
  .tl-item, .tl-item:nth-child(even) {
    width: 100%; margin-left: 0;
    padding: 0 0 34px 68px;
  }
  .tl-year, .tl-item:nth-child(even) .tl-year { left: -8px; right: auto; }

  .sheet-columns { column-count: 1; }
  .broadsheet { padding: 22px 18px 26px; }
  .sheet-article p { text-align: left; }

  .chart-caption { font-size: .7rem; }
  .constellation .cname { font-size: 15px; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
