/* Race Ledger holding page. XMR-259, brand kit v1.1 (XMR-248). Ruby Thompson (website-content-manager), 2026-11-28.
   Fonts are local files (SIL OFL 1.1, licences in assets/fonts/). Nothing loads from any outside site. */
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/barlow-condensed-700.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 800; font-style: normal; font-display: swap; src: url("fonts/barlow-condensed-800.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/inter-400.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/inter-700.woff2") format("woff2"); }

:root {
  --night: #0B1220; --night-deep: #070C16; --panel: #141E30; --line: #2A3A56;
  --ink: #EEF2F7; --muted: #A9B6C8; --volt: #FFD23F; --cyan: #3CC8F0;
  --head: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --body: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--night); color: var(--ink); font: 400 1rem/1.6 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); text-underline-offset: 2px; }
a:hover { color: var(--ink); }
a:focus-visible, .button:focus-visible { outline: 3px solid var(--volt); outline-offset: 3px; }

/* 18+ strip: first thing on the page */
.age-strip { margin: 0; padding: .45rem 1rem; background: var(--volt); color: var(--night);
  font: 700 .95rem/1.3 var(--head); letter-spacing: .06em; text-transform: uppercase; text-align: center; }

.site-header { padding: 1rem 1.25rem; border-bottom: 3px solid var(--volt); }
.logo { height: 36px; width: auto; }

/* Hero: photo, then headline on a Night wash (text never sits on the bare photo) */
.hero { position: relative; }
.hero-photo { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 20% 30%; }
.hero-text { position: relative; margin-top: -3.5rem; padding: 1.25rem 1.25rem 1.5rem;
  background: linear-gradient(to bottom, rgba(11,18,32,.88), var(--night) 3.5rem); }
h1 { margin: 0; font: 800 clamp(2.4rem, 11vw, 4.6rem)/1.0 var(--head); text-transform: uppercase; letter-spacing: .01em; }
.volt { color: var(--volt); }
.stripes { display: flex; gap: 6px; margin-top: 1rem; height: 18px; }
.stripes span { display: block; width: 14px; transform: skewX(-20deg); background: var(--volt); }
.stripes span:nth-child(n+3) { background: var(--cyan); }
.stripes span:nth-child(2) { opacity: .85; } .stripes span:nth-child(4) { opacity: .85; height: 80%; align-self: end; }
.stripes span:nth-child(5) { opacity: .7; height: 60%; align-self: end; }

.intro { padding: .5rem 1.25rem 2.5rem; max-width: 40rem; }
.intro p { margin: 0 0 1rem; font-size: 1.0625rem; }
.intro .soon { margin-top: 1.5rem; padding-left: .9rem; border-left: 6px solid var(--volt);
  font: 700 1.5rem/1.2 var(--head); text-transform: uppercase; letter-spacing: .02em; }
.button { display: inline-block; margin-top: .5rem; padding: .8rem 1.3rem; background: var(--cyan); color: var(--night);
  font: 700 1.15rem/1.2 var(--head); text-transform: uppercase; letter-spacing: .04em; text-decoration: none;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); }
.button:hover { background: var(--ink); color: var(--night); }

.site-footer { background: var(--night-deep); border-top: 1px solid var(--line); padding: 1.75rem 1.25rem 2rem;
  color: var(--muted); font-size: .9rem; line-height: 1.55; }
.site-footer p { margin: 0 0 .9rem; max-width: 46rem; }
.site-footer strong { color: var(--ink); }
.site-footer .disclaimer { color: var(--ink); }
.site-footer .credit { font-size: .8rem; }
.site-footer .copy { margin: 0; font-size: .8rem; }

/* 404 page */
.notfound { padding: 2.5rem 1.25rem 3rem; max-width: 40rem; }
.notfound h1 { font-size: clamp(2.2rem, 9vw, 3.6rem); margin-bottom: 1rem; }
.notfound p { font-size: 1.0625rem; }

/* Desktop: photo and headline side by side */
@media (min-width: 900px) {
  .site-header { padding: 1.25rem 2.5rem; }
  .logo { height: 44px; }
  .hero { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; min-height: 420px; }
  .hero picture { order: 2; }
  .hero-photo { height: 100%; aspect-ratio: auto; clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%); }
  .hero-text { margin: 0; padding: 3rem 2.5rem; background: none; display: flex; flex-direction: column; justify-content: center; }
  .intro { padding: 2.5rem 2.5rem 3.5rem; }
  .intro p { font-size: 1.15rem; }
  .site-footer { padding: 2rem 2.5rem 2.25rem; }
  .notfound { padding: 4rem 2.5rem; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
