/* ============================================================================
   footyandtech.com — stylesheet
   WORLD: "Floodlit" — a night-match programme rendered as a Swiss editorial
   page. Deep pitch-ink ground, chalk text, one searing accent (floodlit volt)
   used FLAT like fresh line-paint — never glowing. Anton poster display,
   Archivo grotesk body, pitch geometry as hairlines, tabular scoreboard
   numerals, hard asymmetry. See the DIRECTION CONTRACT in index.html.

   ORGANIZATION
     1. DESIGN TOKENS      — every visual decision. Retune the world from here.
     2. FONT FACES         — self-hosted Anton + Archivo (no CDN).
     3. RESET & BASE
     4. TYPOGRAPHY
     5. LAYOUT PRIMITIVES  — .wrap, the halfway-line spine, pitch geometry
     6. COMPONENTS         — header, hero, proof, trail, stubs, contact, footer
     7. MOTION             — the one authored moment (hero kickoff)
     8. STATE & A11Y       — focus, reduced motion, responsive
   ========================================================================== */


/* ============================================================================
   1. DESIGN TOKENS
   ========================================================================== */
:root {
  /* --- Color: floodlit pitch. Dark ground forced by the use scene (a night
         match under lights). ONE accent — volt — carries whole regions. ------ */
  --pitch:        #0c100e;  /* the ground: deep ink with a faint green cast    */
  --pitch-raised: #141a17;  /* raised panels                                   */
  --pitch-sunk:   #090c0a;  /* recessed wells (header edge, footer)            */

  --chalk:        #eceff0;  /* primary text — ~16:1 on pitch                   */
  --chalk-dim:    #9ba49c;  /* secondary text — ~7:1 on pitch, AA body         */

  --line:         #283029;  /* pitch hairlines (halfway line, box corners)     */
  --line-strong:  #3b463d;  /* emphasized rules / the spine                    */

  --volt:         #c6ff3d;  /* THE accent. Flat, never a glow. ~16:1 on pitch  */
  --volt-press:   #b4f01f;  /* volt, pressed/active                            */
  --on-volt:      #0c100e;  /* text on a volt field                            */
  --on-volt-dim:  #33420e;  /* secondary text on a volt field (hue-tinted)     */
  --volt-hair:    rgba(12, 16, 14, 0.22); /* hairlines on a volt field         */

  /* Semantic assignments (components reference these) */
  --bg:         var(--pitch);
  --fg:         var(--chalk);
  --fg-muted:   var(--chalk-dim);
  --accent:     var(--volt);
  --focus:      var(--volt);

  /* --- Typography --------------------------------------------------------- */
  --font-display: "Anton", "Haettenschweiler", "Arial Narrow", "Impact",
                  sans-serif;                          /* poster hits          */
  --font-body:    "Archivo", ui-sans-serif, system-ui, -apple-system,
                  "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Fluid type scale — loud matchday: real contrast between levels. */
  --step--2: clamp(0.72rem, 0.70rem + 0.10vw, 0.78rem);  /* micro labels      */
  --step--1: clamp(0.82rem, 0.79rem + 0.15vw, 0.92rem);
  --step-0:  clamp(1.00rem, 0.95rem + 0.28vw, 1.15rem);  /* body              */
  --step-1:  clamp(1.22rem, 1.10rem + 0.60vw, 1.60rem);
  --step-2:  clamp(1.70rem, 1.35rem + 1.60vw, 2.80rem);  /* h3 / small hits   */
  --step-3:  clamp(2.30rem, 1.70rem + 2.90vw, 3.80rem);  /* section titles    */
  --step-4:  clamp(2.90rem, 1.90rem + 5.20vw, 6.60rem);  /* hero / poster     */

  --leading-poster: 0.92;
  --leading-tight:  1.05;
  --leading-body:   1.62;

  --track-poster: -0.02em;  /* Anton wants tight, not below the -0.04 floor    */
  --track-kicker:  0.16em;  /* tracked uppercase scoreboard labels             */

  --weight-body:   400;
  --weight-strong: 600;
  --weight-bold:   700;

  --measure:       66ch;   /* body line length                                */
  --measure-tight: 46ch;

  /* --- Spacing scale ------------------------------------------------------ */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4.5rem;
  --space-9: 7rem;

  --section-y: clamp(4rem, 2.4rem + 6.5vw, 8rem);

  /* --- Structure ---------------------------------------------------------- */
  --wrap-max: 74rem;
  --wrap-pad: clamp(1.25rem, 0.5rem + 3vw, 3.5rem);
  --hair:      1px;
  --rule:      2px;

  /* --- Radii — square. Swiss/matchday discipline. ------------------------- */
  --radius: 0px;

  /* --- Motion ------------------------------------------------------------- */
  --ease-out: cubic-bezier(0.16, 1, 0.30, 1);
  --t-fast:   140ms;
  --t-med:    260ms;
}


/* ============================================================================
   2. FONT FACES — self-hosted, latin subset, no CDN call
   ========================================================================== */
@font-face {
  font-family: "Anton";
  src: url("/fonts/anton-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}


/* ============================================================================
   3. RESET & BASE
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: var(--leading-body);
  font-weight: var(--weight-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* Tabular lining figures everywhere — scoreboard treatment */
  font-variant-numeric: tabular-nums lining-nums;
  font-feature-settings: "tnum" 1, "lnum" 1;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--volt); text-underline-offset: 0.2em; }

ul, ol { list-style: none; padding: 0; }

::selection { background: var(--volt); color: var(--on-volt); }


/* ============================================================================
   4. TYPOGRAPHY
   ========================================================================== */
h1, h2, h3 { text-wrap: balance; }

/* Poster display — Anton, uppercase, tight */
.hero__title,
.section__title {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: var(--track-poster);
  line-height: var(--leading-poster);
}

/* Sub-headings — Archivo, condensed feel via weight + tracking */
.proof__arc h3,
.proof__tool h3 {
  font-family: var(--font-body);
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.005em;
  line-height: var(--leading-tight);
}

p { max-width: var(--measure); }

/* Scoreboard label system — tracked uppercase, quiet by default */
.eyebrow,
.section__kicker,
.proof__tool-tag,
.stub__timeframe-label,
.entries--empty::before,
.trail__card-go {
  font-family: var(--font-body);
  font-weight: var(--weight-bold);
  font-size: var(--step--1);
  letter-spacing: var(--track-kicker);
  text-transform: uppercase;
}

.volt { color: var(--volt); }
.num  { font-variant-numeric: tabular-nums lining-nums; }


/* ============================================================================
   5. LAYOUT PRIMITIVES
   ========================================================================== */
.wrap {
  width: 100%;
  max-width: var(--wrap-max);
  margin-inline: auto;
  padding-inline: var(--wrap-pad);
}

/* Sections divided by halfway lines */
.section {
  padding-block: var(--section-y);
  border-top: var(--hair) solid var(--line);
}

.section__head { margin-bottom: var(--space-7); max-width: 30ch; }
.section__kicker {
  display: block;
  margin-bottom: var(--space-4);
  color: var(--chalk-dim);
}
.section__kicker::first-letter { color: var(--volt); } /* volt fixture number */
.section__title { font-size: var(--step-3); color: var(--chalk); }
.section__intro {
  margin-top: var(--space-5);
  font-size: var(--step-1);
  color: var(--chalk-dim);
  max-width: var(--measure-tight);
}


/* ============================================================================
   6. COMPONENTS
   ========================================================================== */

/* --- Skip link ----------------------------------------------------------- */
.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -5rem;
  z-index: 100;
  background: var(--volt);
  color: var(--on-volt);
  font-family: var(--font-body);
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: var(--track-kicker);
  font-size: var(--step--1);
  padding: var(--space-3) var(--space-4);
  text-decoration: none;
  transition: top var(--t-fast) var(--ease-out);
}
.skip-link:focus { top: var(--space-4); }

/* --- Site header --------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--pitch);
  border-bottom: var(--hair) solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  padding-block: var(--space-4);
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--chalk);
}
.wordmark__mark {
  width: 1.9rem;
  height: 1.9rem;
  flex: none;
  color: var(--chalk);
}
.wordmark__name {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-size: var(--step-1);
  line-height: 1;
}
.wordmark__domain {
  font-size: var(--step--2);
  font-weight: var(--weight-strong);
  letter-spacing: var(--track-kicker);
  text-transform: uppercase;
  color: var(--chalk-dim);
}
.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(var(--space-3), 1vw + 0.4rem, var(--space-6));
}
.site-nav a {
  font-family: var(--font-body);
  font-weight: var(--weight-strong);
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--chalk);
  text-decoration: none;
  padding-block: var(--space-2);
  border-bottom: var(--rule) solid transparent;
  transition: color var(--t-fast), border-color var(--t-fast);
}
.site-nav a:hover { color: var(--volt); border-bottom-color: var(--volt); }

/* --- Hero: asymmetric grid on the halfway-line spine --------------------- */
.hero {
  position: relative;
  overflow: clip;
  padding-block: clamp(3.5rem, 1.5rem + 9vw, 9rem) clamp(2.5rem, 1.5rem + 3vw, 4rem);
  border-top: 0;
}
/* Center-circle arc — pitch geometry framing device, static, low-contrast */
.hero::before {
  content: "";
  position: absolute;
  top: 50%;
  right: clamp(-16rem, -8vw - 6rem, -6rem);
  width: 40rem;
  height: 40rem;
  transform: translateY(-50%);
  border: var(--rule) solid var(--line);
  border-radius: 50%;
  opacity: 0.6;
  pointer-events: none;
}
.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  gap: clamp(var(--space-6), 5vw, var(--space-9));
  /* stretch so the metadata column (and its spine) runs the full height of the
     lead column — the halfway line spans the whole hero, not just the meta */
  align-items: stretch;
}
.eyebrow {
  color: var(--chalk-dim);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.eyebrow__fix {
  color: var(--on-volt);
  background: var(--volt);
  padding: 0.15em 0.5em;
  letter-spacing: 0.06em;
}
.hero__title {
  font-size: var(--step-4);
  margin-block: var(--space-5) var(--space-6);
}
.hero__line { display: block; }
.hero__title .volt {
  border-bottom: 0.09em solid var(--volt);
  padding-bottom: 0.02em;
}
.hero__deck {
  font-size: var(--step-1);
  color: var(--chalk);
  max-width: 44ch;
}

/* Metadata sidebar hangs off the halfway line (the animated spine) */
.hero__meta {
  position: relative;
  padding-left: clamp(var(--space-5), 3vw, var(--space-7));
  padding-top: var(--space-2);
}
.hero__meta::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: var(--hair);
  background: var(--line-strong);
  transform-origin: top;
}
.meta-list__row {
  padding-block: var(--space-4);
  border-bottom: var(--hair) solid var(--line);
}
.meta-list__row:first-child { padding-top: 0; }
.meta-list__row:last-child { border-bottom: 0; }
.meta-list dt {
  font-family: var(--font-body);
  font-size: var(--step--2);
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: var(--track-kicker);
  color: var(--volt);
  margin-bottom: var(--space-2);
}
.meta-list dd { font-size: var(--step-0); color: var(--chalk); }

/* Hero portrait — editorial squad-portrait treatment. Desaturated to sit in the
   monochrome floodlit world; framed with the same volt box-corner brackets as
   the flagship panel; warms to full color on hover/focus. */
.portrait {
  position: relative;
  margin-bottom: var(--space-6);
  width: 100%;
  max-width: 19rem;
  aspect-ratio: 4 / 5;          /* ratio lives on the frame, not the <img> */
  background: var(--pitch-raised);
}
.portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
  filter: grayscale(1) contrast(1.03) brightness(0.98);
  transition: filter var(--t-med) var(--ease-out);
}
.portrait:hover img,
.portrait:focus-within img { filter: none; }
.portrait::before,
.portrait::after {
  content: "";
  position: absolute;
  width: 1.4rem;
  height: 1.4rem;
  z-index: 1;
  pointer-events: none;
}
.portrait::before {
  top: -1px; left: -1px;
  border-top: var(--rule) solid var(--volt);
  border-left: var(--rule) solid var(--volt);
}
.portrait::after {
  bottom: -1px; right: -1px;
  border-bottom: var(--rule) solid var(--volt);
  border-right: var(--rule) solid var(--volt);
}

/* --- Proof --------------------------------------------------------------- */
.proof__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(var(--space-6), 4vw, var(--space-8));
  align-items: start;
}
.proof__arc h3,
.proof__tool h3 {
  font-size: var(--step-2);
  margin-bottom: var(--space-5);
  max-width: 22ch;
}
.proof__arc p { color: var(--chalk-dim); }
.proof__arc p + p { margin-top: var(--space-4); }

/* The flagship tool: a raised panel framed with pitch box-corners (volt L
   brackets at opposite corners) rather than a slab border. */
.proof__tool {
  position: relative;
  background: var(--pitch-raised);
  border: var(--hair) solid var(--line);
  padding: clamp(var(--space-5), 3vw, var(--space-7));
}
.proof__tool::before,
.proof__tool::after {
  content: "";
  position: absolute;
  width: 1.4rem;
  height: 1.4rem;
  pointer-events: none;
}
.proof__tool::before {
  top: -1px; left: -1px;
  border-top: var(--rule) solid var(--volt);
  border-left: var(--rule) solid var(--volt);
}
.proof__tool::after {
  bottom: -1px; right: -1px;
  border-bottom: var(--rule) solid var(--volt);
  border-right: var(--rule) solid var(--volt);
}
.proof__tool-tag {
  display: inline-block;
  margin-bottom: var(--space-4);
  color: var(--on-volt);
  background: var(--volt);
  padding: 0.25em 0.6em;
}
.proof__tool p { color: var(--chalk-dim); }
.proof__tool p + p { margin-top: var(--space-4); }

/* --- Trail: THE volt field. Primary action, loudest region on the page. --- */
.trail {
  background: var(--volt);
  color: var(--on-volt);
  border-top: 0;
}
.section__head--invert .section__kicker { color: var(--on-volt-dim); }
.section__head--invert .section__kicker::first-letter { color: var(--on-volt); }
.trail .section__title { color: var(--on-volt); }
.trail .section__intro { color: var(--on-volt-dim); }

.trail__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: var(--rule) solid var(--on-volt);
}
.trail__list > li { display: flex; }
.trail__list > li + li { border-left: var(--rule) solid var(--on-volt); }

.trail__card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: var(--space-5);
  width: 100%;
  padding: clamp(var(--space-5), 3vw, var(--space-7));
  color: var(--on-volt);
  text-decoration: none;
  transition: background var(--t-med) var(--ease-out), color var(--t-med) var(--ease-out);
}
.trail__card-label {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: var(--track-poster);
  line-height: 0.9;
  font-size: var(--step-3);
}
.trail__card-blurb { color: var(--on-volt-dim); max-width: 40ch; }
.trail__card-go { display: inline-flex; gap: var(--space-2); align-items: center; }
/* Matchday interaction: the card flips to the pitch under the lights. */
.trail__card:hover {
  background: var(--pitch);
  color: var(--volt);
}
.trail__card:focus-visible {
  background: var(--pitch);
  color: var(--volt);
  /* card is now on pitch, so a volt ring reads clearly */
  outline: var(--rule) solid var(--volt);
  outline-offset: -8px;
}
.trail__card:hover .trail__card-blurb,
.trail__card:focus-visible .trail__card-blurb { color: var(--chalk-dim); }

/* --- Stubs (Writing, Projects): roadmap board ---------------------------- */
.stub__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(var(--space-6), 4vw, var(--space-8));
  align-items: start;
}
.stub__intent p { color: var(--chalk-dim); max-width: 52ch; }
.stub__intent p + p { margin-top: var(--space-5); }

/* Status as a scoreboard block, not a colored side-border */
.stub__timeframe {
  display: inline-flex;
  flex-direction: column;
  gap: var(--space-1);
  margin-top: var(--space-6);
  padding: var(--space-3) var(--space-5) var(--space-4);
  background: var(--pitch-raised);
  border: var(--hair) solid var(--line);
  border-top: var(--rule) solid var(--volt);
}
.stub__timeframe-label { color: var(--volt); }
.stub__timeframe-value {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  font-size: var(--step-2);
  color: var(--chalk);
  line-height: 1;
}

/* Entries list — styled so real posts need no new CSS */
.entries { display: grid; }
.entries .entry { padding-block: var(--space-5); border-top: var(--hair) solid var(--line); }
.entries .entry:first-child { border-top: 0; }
.entry__date {
  font-family: var(--font-body);
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: var(--track-kicker);
  font-size: var(--step--1);
  color: var(--volt);
  margin-bottom: var(--space-2);
}
.entry__title { font-size: var(--step-1); margin-bottom: var(--space-2); }
.entry__title a { color: var(--chalk); text-decoration: none; }
.entry__title a:hover { color: var(--volt); }
.entry__blurb { color: var(--chalk-dim); }

.entries--empty {
  min-height: 8rem;
  display: grid;
  place-content: center;
  padding: var(--space-5);
  border: var(--hair) dashed var(--line-strong);
}
.entries--empty::before {
  content: "Entries appear here";
  color: var(--chalk-dim);
  text-align: center;
}

/* --- Contact: secondary weight ------------------------------------------- */
.contact__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(var(--space-5), 4vw, var(--space-8));
  align-items: end;
}
.contact__note { margin-top: var(--space-5); color: var(--chalk-dim); max-width: 48ch; }
.contact__action { max-width: none; }
.email-link {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  font-size: var(--step-2);
  text-decoration: none;
  color: var(--chalk);
  border-bottom: var(--rule) solid var(--volt);
  padding-bottom: 0.05em;
  transition: color var(--t-fast), background var(--t-fast);
}
.email-link:hover { color: var(--volt); }

/* --- Footer -------------------------------------------------------------- */
.site-footer {
  background: var(--pitch-sunk);
  border-top: var(--hair) solid var(--line);
  padding-block: var(--space-7);
}
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4) var(--space-6);
}
.site-footer__mark {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--chalk);
}
.site-footer__links { display: flex; gap: var(--space-5); }
.site-footer__links a {
  font-family: var(--font-body);
  font-weight: var(--weight-strong);
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--chalk);
  text-decoration: none;
}
.site-footer__links a:hover { color: var(--volt); }
.site-footer__meta {
  font-size: var(--step--2);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--chalk-dim);
}


/* ============================================================================
   7. MOTION — the one authored moment: kickoff.
   The halfway-line spine draws down and the hero lines rise, once, in sequence.
   Base state is fully visible; motion is an enhancement only.
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  .hero__line { animation: kickoff-rise 0.85s var(--ease-out) backwards; }
  .hero__line:nth-child(1) { animation-delay: 0.10s; }
  .hero__line:nth-child(2) { animation-delay: 0.24s; }
  .hero__deck { animation: kickoff-rise 0.85s var(--ease-out) 0.36s backwards; }
  .hero__meta::before { animation: kickoff-line 0.7s var(--ease-out) 0.15s backwards; }

  @keyframes kickoff-rise {
    from { opacity: 0; transform: translateY(0.55em); }
    to   { opacity: 1; transform: none; }
  }
  @keyframes kickoff-line {
    from { transform: scaleY(0); }
    to   { transform: scaleY(1); }
  }
}


/* ============================================================================
   8. STATE & ACCESSIBILITY
   ========================================================================== */
:where(a, button, [tabindex]):focus-visible {
  outline: var(--rule) solid var(--focus);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* --- Responsive ---------------------------------------------------------- */

/* Tablet: relax the two-up grids */
@media (max-width: 60rem) {
  .proof__grid { grid-template-columns: 1fr; gap: var(--space-7); }
  .stub__grid  { grid-template-columns: 1fr; }
  .hero::before { opacity: 0.4; }
}

/* Mobile: a first-class single column. The halfway-line spine rotates from a
   left border to a top border so the geometry still reads. */
@media (max-width: 44rem) {
  .site-header__inner { flex-direction: column; align-items: flex-start; gap: var(--space-3); }
  .site-nav ul { gap: var(--space-4); }

  .hero__grid { grid-template-columns: 1fr; }
  .hero__meta { padding-left: 0; padding-top: var(--space-5); }
  .hero__meta::before {
    left: 0; right: 0; top: 0; bottom: auto;
    width: auto; height: var(--hair);
    transform-origin: left;
  }
  .hero::before { display: none; }

  .trail__list { grid-template-columns: 1fr; }
  .trail__list > li + li {
    border-left: 0;
    border-top: var(--rule) solid var(--on-volt);
  }

  .contact__inner { grid-template-columns: 1fr; align-items: start; }
}

/* Mobile motion: the spine draws sideways rather than down */
@media (max-width: 44rem) and (prefers-reduced-motion: no-preference) {
  @keyframes kickoff-line {
    from { transform: scaleX(0); }
    to   { transform: scaleX(1); }
  }
}
