/* Leonida Garage — unofficial GTA 6 garage guide
   Palette: graphite service bay, lime inspection lamp, rust stamps.
   Intentionally not teal/orange and not magenta/gold. */

@font-face {
  font-family: "Oswald Local";
  src: url("../fonts/oswald-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Oswald Local";
  src: url("../fonts/oswald-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Plex Local";
  src: url("../fonts/plex-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Plex Local";
  src: url("../fonts/plex-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Plex Local";
  src: url("../fonts/plex-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #121318;
  --bg-2: #1a1c24;
  --bg-3: #242733;
  --bg-4: #2d3140;
  --ink: #ece8df;
  --muted: #a8a396;
  --faint: #7a776e;
  --lime: #c8e05a;
  --lime-dim: #8fa63a;
  --lime-ink: #16180c;
  --rust: #e05a3c;
  --steel: #8ab4d4;
  --line: #3a3d48;
  --line-2: #4a4e5c;
  --focus: #c8e05a;
  --max: 72rem;
  --header-h: 4.25rem;
  --radius: 2px;
  --font-display: "Oswald Local", "Arial Narrow", "Franklin Gothic Medium", sans-serif;
  --font-body: "Plex Local", "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  min-height: 100vh;
}

img, svg { max-width: 100%; height: auto; }
a { color: var(--lime); text-underline-offset: 0.18em; }
a:hover { color: #dcf18a; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -3.5rem;
  background: var(--lime);
  color: var(--lime-ink);
  padding: 0.5rem 0.85rem;
  font-weight: 600;
  z-index: 1000;
}
.skip:focus { top: 0.75rem; }

/* Ticket rail */
.ticket-rail {
  background: var(--lime);
  color: var(--lime-ink);
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.72rem;
  padding: 0.4rem 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.25rem;
  justify-content: space-between;
}
.ticket-rail span { white-space: nowrap; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(18, 19, 24, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.7rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo {
  text-decoration: none;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  line-height: 1;
}
.logo:hover { color: var(--ink); text-decoration: none; }
.logo-mark {
  width: 1.7rem;
  height: 1.7rem;
  flex-shrink: 0;
  align-self: center;
}
.logo-kicker {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.18em;
  font-size: 0.62rem;
  color: var(--lime);
}
.logo-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.55rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line-2);
  color: var(--ink);
  padding: 0.45rem 0.7rem;
  font-family: var(--font-display);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.8rem;
  cursor: pointer;
}
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1.05rem;
}
.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--lime); }
.site-nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--lime); }

@media (max-width: 900px) {
  .nav-toggle { display: inline-block; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--bg-2);
    border-bottom: 1px solid var(--line);
    padding: 0.6rem 1.1rem 1rem;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0.55rem; }
}

/* Disclaimer + legend */
.disclaimer-bar {
  background: var(--bg-3);
  border-bottom: 1px solid var(--line);
  padding: 0.7rem 1.1rem;
  font-size: 0.9rem;
  color: var(--muted);
  text-align: center;
}
.disclaimer-bar strong { color: var(--ink); font-weight: 600; }

.legend {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 1.1rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  align-items: center;
  font-size: 0.88rem;
  color: var(--muted);
}
.legend-label {
  font-family: var(--font-display);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
  font-size: 0.75rem;
}

.stamp {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.68rem;
  padding: 0.18rem 0.42rem;
  border: 1.5px solid currentColor;
  border-radius: 1px;
  line-height: 1.2;
  transform: rotate(-2deg);
  vertical-align: middle;
}
.stamp-confirmed { color: var(--lime); background: rgba(200, 224, 90, 0.08); }
.stamp-rumored { color: var(--steel); background: rgba(138, 180, 212, 0.1); }
.stamp-unconfirmed { color: var(--rust); background: rgba(224, 90, 60, 0.1); }

/* Layout */
main { display: block; }
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.5rem 1.1rem 3rem;
}
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.1rem 1.25rem;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 8px;
  background: repeating-linear-gradient(
    -45deg,
    var(--bg),
    var(--bg) 8px,
    var(--lime) 8px,
    var(--lime) 16px
  );
  opacity: 0.85;
}
.kicker {
  font-family: var(--font-display);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lime);
  font-size: 0.78rem;
  margin: 1.25rem 0 0.4rem;
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.15;
  text-transform: uppercase;
  margin: 0 0 0.7rem;
}
h1 { font-size: clamp(2.1rem, 5.4vw, 3.6rem); margin-bottom: 0.85rem; }
h2 { font-size: clamp(1.35rem, 3vw, 1.85rem); margin-top: 2.1rem; color: var(--ink); }
h3 { font-size: 1.15rem; margin-top: 1.5rem; letter-spacing: 0.05em; }
.lede {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 46rem;
  margin: 0 0 1rem;
}
.meta-line {
  color: var(--faint);
  font-size: 0.88rem;
  margin: 0 0 1.25rem;
}

/* Ad placeholder */
.ad-slot {
  border: 1px dashed var(--line-2);
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 7px,
    rgba(58, 61, 72, 0.35) 7px,
    rgba(58, 61, 72, 0.35) 8px
  );
  min-height: 5.5rem;
  margin: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--faint);
  font-size: 0.78rem;
  font-family: var(--font-display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Cards / bays */
.bay-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16.5rem, 1fr));
  gap: 1rem;
  margin: 1.25rem 0 1.75rem;
}
.bay-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 1.1rem 1.15rem 1.2rem;
  text-decoration: none;
  color: inherit;
  display: block;
  position: relative;
}
a.bay-card:hover { border-color: var(--lime-dim); color: inherit; }
.bay-num {
  font-family: var(--font-display);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lime);
  font-size: 0.72rem;
  margin-bottom: 0.35rem;
}
.bay-card h2, .bay-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.35rem;
  text-transform: uppercase;
}
.bay-card p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.panel {
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 1.15rem 1.2rem;
  margin: 1.15rem 0;
}
.panel h2, .panel h3 { margin-top: 0; }

.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 860px) {
  .split-article {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 16.5rem;
    gap: 1.75rem;
    align-items: start;
  }
  .rail { position: sticky; top: 5.5rem; }
}

.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li {
  border-bottom: 1px solid var(--line);
  padding: 0.65rem 0;
  display: grid;
  gap: 0.35rem;
}
.checklist li:last-child { border-bottom: 0; }
.checklist .claim { color: var(--ink); }

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  margin: 1rem 0 1.4rem;
}
th, td {
  text-align: left;
  border-bottom: 1px solid var(--line);
  padding: 0.65rem 0.55rem;
  vertical-align: top;
}
th {
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--lime);
  font-weight: 500;
}
.table-wrap { overflow-x: auto; }

blockquote {
  margin: 1.1rem 0;
  padding: 0.85rem 1rem 0.85rem 1.1rem;
  border-left: 3px solid var(--lime);
  background: var(--bg-2);
  color: var(--ink);
  font-size: 1.02rem;
}
blockquote cite {
  display: block;
  margin-top: 0.45rem;
  color: var(--faint);
  font-style: normal;
  font-size: 0.85rem;
}

ul, ol { padding-left: 1.2rem; }
li { margin: 0.3rem 0; }
hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2rem 0;
}

.updated {
  margin-top: 2.2rem;
  color: var(--faint);
  font-size: 0.88rem;
}

/* FAQ */
.faq details {
  background: var(--bg-2);
  border: 1px solid var(--line);
  margin: 0.55rem 0;
  padding: 0.7rem 1rem;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
}

/* Clips placeholder */
.clip-bay {
  min-height: 12rem;
  border: 1px dashed var(--line-2);
  background: var(--bg-2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
  color: var(--muted);
  margin: 0.8rem 0;
}
.clip-bay strong { color: var(--ink); display: block; margin-bottom: 0.3rem; }

/* Forms (contact is mailto, but style address blocks) */
.contact-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 1.2rem;
  max-width: 32rem;
}
.contact-card a { font-weight: 600; font-size: 1.15rem; }

/* Footer */
.site-footer {
  background: var(--bg-2);
  border-top: 8px solid transparent;
  border-image: repeating-linear-gradient(
    -45deg,
    var(--bg-2),
    var(--bg-2) 8px,
    var(--lime) 8px,
    var(--lime) 16px
  ) 8;
  padding: 2rem 1.1rem 2.4rem;
  color: var(--muted);
  font-size: 0.92rem;
}
.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12.5rem, 1fr));
  gap: 1.4rem 1.6rem;
}
.site-footer h2 {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--lime);
  margin: 0 0 0.55rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0.28rem 0; }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { color: var(--lime); text-decoration: underline; }
.footer-legal {
  max-width: var(--max);
  margin: 1.6rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 0.82rem;
}

/* 404 */
.empty-bay {
  text-align: center;
  padding: 3rem 1rem 4rem;
}
.empty-bay h1 { font-size: clamp(2.4rem, 8vw, 5rem); }

/* Utility */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
