/* Self-hosted fonts (latin subsets). font-display swap keeps text visible while they load. */
@font-face { font-family: "Archivo"; src: url(../fonts/Archivo-Variable.woff2) format("woff2"); font-weight: 400 900; font-stretch: 100% 125%; font-style: normal; font-display: swap; }
@font-face { font-family: "Archivo"; src: url(../fonts/Archivo-Variable-Italic.woff2) format("woff2"); font-weight: 400 900; font-stretch: 100% 125%; font-style: italic; font-display: swap; }
@font-face { font-family: "Figtree"; src: url(../fonts/Figtree-Variable.woff2) format("woff2"); font-weight: 300 900; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url(../fonts/IBMPlexMono-Regular.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url(../fonts/IBMPlexMono-Medium.woff2) format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

/* Layout concept: a road-marked single page in the WooMoto black, white and lime, with slanted marks taken from the logo. Wide stacked sections, a dark band for services,
   dashed centre-line motifs, and rider-log spec sheets for the subject detail. */
:root {
  --bg: #0A0A0A;
  --surface: #141414;
  --fg: #FFFFFF;
  --muted: #BABABA;
  --line: #2C2C2C;
  --accent: #DBFF00;
  --accent-ink: #000000;
  --band-bg: #000000;
  --band-fg: #FFFFFF;
  --band-muted: #BDBDBD;
  --band-line: #2C2C2C;
  --band-accent: #DBFF00;
  --ph-a: #1A1A1A;
  --ph-b: #2E2E2E;
  --ph-ink: #FFFFFF;
  --focus: #FFFFFF;
  --font-display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --font-body: "Figtree", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 40;
  background: var(--bg);
}
img, svg { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 60;
  background: var(--accent); color: var(--accent-ink);
  padding: .75rem 1.1rem; font-weight: 600; text-decoration: none;
}
.skip:focus { top: 1rem; }

.inner {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex; align-items: center; gap: .75rem;
  margin: 0 0 1.25rem;
}
.eyebrow::before {
  content: ""; width: 2.25rem; height: 3px;
  background: repeating-linear-gradient(90deg, var(--accent) 0 8px, transparent 8px 13px);
}
h1, h2, h3 { font-family: var(--font-display); margin: 0; text-wrap: balance; }
h2 {
  font-size: clamp(2rem, 5.2vw, 3.6rem);
  font-weight: 800;
  font-stretch: 108%;
  line-height: 1.02;
  letter-spacing: -.01em;
  text-transform: uppercase;
}
h3 { font-size: 1.3rem; font-weight: 750; font-stretch: 105%; line-height: 1.15; }
p { margin: 0 0 1.1rem; max-width: 65ch; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, .pull, .fact b { font-style: italic; }

/* Header */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.25rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand img { display: block; height: auto; }
.logo-mark { width: 30px; }
.logo-word { width: 118px; }
.logo-full { width: min(250px, 70vw); height: auto; display: block; }
.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav a:not(.btn) {
  text-decoration: none; font-weight: 500; font-size: .95rem; position: relative; padding: .4rem 0;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.nav a:not(.btn):hover::after, .nav a:not(.btn):focus-visible::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.progress {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 3px;
  background: var(--accent); transform: scaleX(var(--p, 0)); transform-origin: left;
}
/* Wheelie bike that draws the progress line */
.wheelie-track {
  position: absolute; left: 0; right: 0; bottom: 0; height: 24px;
  overflow: hidden; pointer-events: none;
}
.wheelie {
  position: absolute; bottom: 0; left: calc(var(--p, 0) * 100%);
  width: 22px; height: 21px; background: var(--accent);
  -webkit-mask: url(../img/wheelie-mask.png) center / contain no-repeat;
          mask: url(../img/wheelie-mask.png) center / contain no-repeat;
  transform: translateX(-25%);
  opacity: 0; transition: opacity .25s ease;
}
.wheelie.on { opacity: 1; }

/* Buttons */
.btn {
  --lift: 0px;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .85rem 1.5rem;
  font: 600 1rem/1.2 var(--font-body);
  text-decoration: none;
  border: 2px solid var(--accent);
  background: var(--accent); color: var(--accent-ink);
  cursor: pointer;
  transform: translateY(var(--lift));
  transition: transform .25s ease, background-color .25s ease, color .25s ease, box-shadow .25s ease;
  position: relative; overflow: hidden;
}
.btn:hover { --lift: -2px; box-shadow: 0 10px 22px -10px var(--accent); }
.btn .arrow { transition: transform .25s ease; }
.btn:hover .arrow { transform: translateX(5px); }
.btn.ghost { background: transparent; color: var(--fg); border-color: var(--fg); }
.btn.ghost:hover { background: var(--fg); color: var(--bg); box-shadow: none; }
.btn.small { padding: .55rem 1.1rem; font-size: .92rem; }

/* Hero */
.hero { position: relative; overflow: hidden; padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 7vw, 6rem); }
.hero-road { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .55; }
.hero-road path {
  fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round;
  stroke-dasharray: 2 18; animation: road 14s linear infinite;
}
@keyframes road { to { stroke-dashoffset: -400; } }
.hero .inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero h1 {
  font-size: clamp(3.4rem, 14vw, 6.75rem);
  font-weight: 860;
  font-stretch: 118%;
  line-height: .95;
  text-transform: uppercase;
  letter-spacing: -.015em;
  margin-bottom: 1.6rem;
}
.hero h1 .line { display: block; overflow: hidden; padding-block: .05em; }
.hero h1 .line span { display: inline-block; animation: rise .95s cubic-bezier(.2, .75, .2, 1) both; }
.hero h1 .line:nth-child(2) span { animation-delay: .12s; }
.hero h1 .line:last-child span { animation-delay: .24s; color: var(--accent); }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
.lede { font-size: clamp(1.1rem, 2vw, 1.35rem); line-height: 1.5; color: var(--fg); max-width: 34ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.8rem; }
.hero-art { position: relative; animation: fadeup 1s .3s cubic-bezier(.2, .75, .2, 1) both; }
@keyframes fadeup { from { transform: translateY(28px); } to { transform: none; } }

/* Placeholder images */
.ph {
  position: relative; width: 100%; aspect-ratio: 4 / 5; overflow: hidden;
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, color-mix(in srgb, var(--ph-ink) 7%, transparent) 14px 15px),
    linear-gradient(160deg, var(--ph-a), var(--ph-b));
  color: var(--ph-ink);
}
.ph.wide { aspect-ratio: 16 / 10; }
.ph.slant { clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%); }
.ph svg { position: absolute; inset: 0; margin: auto; width: 34%; opacity: .35; }
.ph figcaption {
  position: absolute; left: .75rem; bottom: .75rem; right: .75rem;
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase;
  background: var(--surface); color: var(--fg); padding: .35rem .6rem; width: max-content; max-width: 100%;
}
.tag-float {
  position: absolute; right: -.25rem; top: 1.25rem; z-index: 2;
  background: var(--accent); color: var(--accent-ink);
  font-family: var(--font-mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase;
  padding: .45rem .8rem; transform: rotate(3deg);
}

/* Ticker */
.ticker { background: var(--accent); color: #000; overflow: hidden; padding-block: .95rem; }
.ticker-track { display: flex; width: max-content; animation: tick 48s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker ul { display: flex; flex-shrink: 0; }
.ticker li {
  font-family: var(--font-display); font-stretch: 112%; font-weight: 750; text-transform: uppercase;
  letter-spacing: .06em; font-size: 1.05rem; white-space: nowrap; padding-right: 2.2rem; display: flex; align-items: center; gap: 2.2rem;
}
.ticker li::after { content: ""; width: .8rem; height: .55rem; background: #000; transform: skewX(-22deg); }
@keyframes tick { to { transform: translateX(-50%); } }

/* Sections */
section { padding-block: clamp(3.5rem, 8vw, 7rem); }
.about .inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.about h2 { margin-bottom: 1.75rem; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 2rem; max-width: 34rem; }
.fact { border-top: 3px solid var(--fg); padding-top: .75rem; }
.fact b { display: block; font-family: var(--font-display); font-stretch: 115%; font-weight: 850; font-size: 2.4rem; line-height: 1; letter-spacing: -.01em; }
.fact span { display: block; font-size: .95rem; color: var(--muted); margin-top: .4rem; max-width: 22ch; }

.bring { background: var(--surface); border-block: 1px solid var(--line); }
.bring-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.card { background: var(--bg); border: 1px solid var(--line); padding: clamp(1.4rem, 3vw, 2.2rem); }
.card h3 { margin-bottom: 1.1rem; }
.card li { padding: .7rem 0 .7rem 1.5rem; border-top: 1px solid var(--line); position: relative; }
.card li:first-child { border-top: 0; padding-top: 0; }
.card li:first-child::before { top: .5rem; }
.card li::before { content: ""; position: absolute; left: 0; top: 1.2rem; width: .75rem; height: .55rem; background: var(--accent); transform: skewX(-22deg); }
.rider { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 1.25rem; margin-top: 1.25rem; }
.log { background: var(--bg); border: 1px solid var(--line); padding: clamp(1.4rem, 3vw, 2.2rem); }
.log-title { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; border-bottom: 3px solid var(--fg); padding-bottom: .8rem; margin-bottom: .4rem; }
.log-title h3 { text-transform: uppercase; }
.log-title span { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .1em; color: var(--muted); text-transform: uppercase; }
.log dl { margin: 0; }
.log .row { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 1rem; padding: .85rem 0; border-bottom: 1px dashed var(--line); }
.log dt { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-top: .2rem; }
.log dd { margin: 0; }
.log dd div + div { margin-top: .2rem; }
.pull {
  margin: clamp(2.5rem, 6vw, 4.5rem) 0 0;
  font-family: var(--font-display); font-stretch: 108%; font-weight: 800; text-transform: uppercase;
  font-size: clamp(1.5rem, 3.6vw, 2.5rem); line-height: 1.1; max-width: 28ch; text-wrap: balance;
  padding-left: 1.25rem; border-left: 6px solid var(--accent);
}

/* Services band */
.services { background: var(--band-bg); color: var(--band-fg); position: relative; overflow: hidden; }
.services .eyebrow { color: var(--band-muted); }
.services .eyebrow::before { background: repeating-linear-gradient(90deg, var(--band-accent) 0 8px, transparent 8px 13px); }
.services-head { max-width: 46rem; margin-bottom: 3rem; }
.services-head p { color: var(--band-muted); margin-top: 1.25rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17.5rem), 1fr)); gap: 1px; background: var(--band-line); border: 1px solid var(--band-line); }
.svc {
  background: var(--band-bg); padding: 1.6rem 1.5rem 1.7rem; position: relative; display: flex; flex-direction: column; gap: .6rem;
  transition: background-color .3s ease, transform .3s ease;
}
.svc::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--band-accent);
  transform: scaleX(0); transform-origin: left; transition: transform .4s cubic-bezier(.2, .75, .2, 1);
}
.svc:hover, .svc:focus-within { background: color-mix(in srgb, var(--band-bg) 82%, #fff); }
.svc:hover::after, .svc:focus-within::after { transform: scaleX(1); }
.svc h3 { color: var(--band-fg); }
.svc p { margin: 0; color: var(--band-muted); font-size: 1rem; line-height: 1.55; }
.svc.cta { background: var(--band-accent); color: #000000; justify-content: space-between; gap: 1.2rem; }
.svc.cta h3, .svc.cta p { color: #000000; }
.svc.cta:hover { background: color-mix(in srgb, var(--band-accent) 92%, #fff); }
.svc.cta .btn { background: #000000; border-color: #000000; color: #fff; align-self: flex-start; }
.svc.cta::after { background: #000000; }

/* How I work */
.work .inner { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.principles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2rem; margin-top: 2rem; }
.principles li { border-top: 3px solid var(--fg); padding: 1rem 0 1.6rem; }
.principles h3 { margin-bottom: .45rem; text-transform: uppercase; }
.principles p { margin: 0; color: var(--muted); }

/* Who */
.who { border-top: 1px solid var(--line); background: var(--surface); padding-block: clamp(3rem, 6vw, 5rem); }
.chips { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.chips li {
  border: 2px solid var(--fg); padding: .6rem 1.15rem; font-weight: 600;
  transition: background-color .25s ease, color .25s ease, transform .25s ease;
}
.chips li:hover { background: var(--fg); color: var(--bg); transform: translateY(-3px) rotate(-1deg); }

/* Contact */
.contact { background: var(--bg); }
.contact .inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.contact h2 { margin-bottom: 1.5rem; }
.details { margin-top: 2.2rem; display: grid; gap: 1.1rem; }
.details dt { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.details dd { margin: .15rem 0 0; font-weight: 600; font-size: 1.1rem; }
.details a { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: .25em; transition: color .2s ease; }
.details a:hover { color: var(--accent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.status.ok { color: var(--accent); }
.status.err { color: #FF9E9E; }
button[disabled] { opacity: .6; cursor: progress; }
.placeholder-text { background: color-mix(in srgb, var(--accent) 14%, transparent); padding: .05rem .4rem; }
form { background: var(--surface); border: 1px solid var(--line); padding: clamp(1.4rem, 3vw, 2.2rem); display: grid; gap: 1.15rem; }
label { display: block; font-weight: 600; margin-bottom: .4rem; font-size: .95rem; }
input, select, textarea {
  width: 100%; font: inherit; color: var(--fg); background: var(--bg);
  border: 2px solid var(--line); border-radius: 0; padding: .8rem .9rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}
input:hover, select:hover, textarea:hover { border-color: var(--muted); }
input:focus, select:focus, textarea:focus { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--fg); }
textarea { min-height: 8.5rem; resize: vertical; }
.status { min-height: 1.5rem; margin: 0; font-weight: 500; }
.hint { margin: 0; font-size: .88rem; color: var(--muted); }

/* Footer: main area (logo and sub menu) above a thin bottom bar. Keep in step with tools/news/partials/footer.html */
.site-footer { background: var(--band-bg); color: var(--band-fg); }
.footer-main { display: flex; flex-wrap: wrap; gap: 2rem 4rem; justify-content: space-between; align-items: flex-start; padding-block: 3rem; }
.footer-label { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--band-muted); margin: 0 0 1rem; }
.footer-menu ul { display: grid; gap: .65rem; }
.footer-menu a { font-weight: 500; text-decoration: none; }
.footer-menu a:hover, .footer-menu a:focus-visible { color: var(--band-accent); }
.footer-bar { border-top: 1px solid var(--band-line); }
.footer-bar .inner { display: flex; flex-wrap: wrap; gap: .75rem 2rem; justify-content: space-between; align-items: center; padding-block: 1.1rem; }
.footer-bar small { color: var(--band-muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.footer-links a { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--band-muted); text-decoration: none; }
.footer-links a:hover, .footer-links a:focus-visible { color: var(--band-fg); text-decoration: underline; text-decoration-color: var(--band-accent); text-decoration-thickness: 2px; text-underline-offset: 5px; }

/* Footer news: rotating headlines from /news/latest.json. Keep the story look in step with tools/news/assets/news.css */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.footer-news { border-top: 1px solid var(--band-line); padding-block: 1.6rem 1.8rem; }
.footer-news[hidden] { display: none; }
.footer-news-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .4rem 1.5rem; margin-bottom: 1rem; }
.footer-news-head .footer-label { margin: 0; }
.footer-news-all { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--band-fg); text-decoration: none; }
.footer-news-all:hover, .footer-news-all:focus-visible { color: var(--band-accent); }
.fn-story { display: none; }
.fn-story.on, .footer-news.all .fn-story { display: block; animation: fadeup .5s cubic-bezier(.2, .75, .2, 1) both; }
.footer-news.all .fn-story + .fn-story { margin-top: 1.2rem; }
.fn-title { display: inline; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.15rem, 2.2vw, 1.5rem); line-height: 1.25; text-decoration: none; text-wrap: pretty; color: var(--band-fg); }
.fn-title:hover, .fn-title:focus-visible { color: var(--band-accent); text-decoration: underline; text-decoration-color: var(--band-accent); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.fn-ext { color: var(--band-accent); font-family: var(--font-mono); font-size: .7em; display: inline-block; transition: transform .2s; }
.fn-title:hover .fn-ext { transform: translate(2px, -2px); }
.fn-meta { display: flex; flex-wrap: wrap; gap: .4rem 1rem; margin: .65rem 0 0; font-family: var(--font-mono); font-size: .78rem; letter-spacing: .06em; color: var(--band-muted); }
.fn-src { color: var(--band-fg); }
.fn-dots { display: flex; gap: .5rem; margin-top: 1rem; }
.fn-dot { width: 1.6rem; height: .9rem; padding: 0; border: 0; background: none; cursor: pointer; position: relative; }
.fn-dot::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 3px; margin-top: -1.5px; background: var(--band-line); }
.fn-dot[aria-current="true"]::after { background: var(--band-accent); }
.fn-dot:focus-visible { outline: 2px solid var(--band-accent); outline-offset: 2px; }

/* Scroll reveals: content stays readable at rest, only position animates */
.js .rv { transition: transform .8s cubic-bezier(.2, .75, .2, 1); }
.js .rv:not(.in) { transform: translateY(26px); }
.js .rv.d1 { transition-delay: .08s; }
.js .rv.d2 { transition-delay: .16s; }
.js .rv.d3 { transition-delay: .24s; }

.ph.photo { aspect-ratio: 4 / 5; background: var(--ph-a); }
.ph.photo img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; transition: transform 1.2s cubic-bezier(.2, .75, .2, 1); }
.ph.photo:hover img { transform: scale(1.045); }
.ph.photo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--accent); z-index: 2; }
.fact b { color: var(--accent); }
.hero-mark { position: absolute; left: -1.75rem; bottom: -1.5rem; width: clamp(76px, 12vw, 128px); height: auto; z-index: 3; animation: float 6s ease-in-out infinite; filter: drop-shadow(0 12px 18px rgba(0,0,0,.55)); }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-10px) rotate(-2deg); } }
.hero::after { content: ""; position: absolute; right: -6%; top: 0; bottom: 0; width: 18%; background: linear-gradient(100deg, transparent 0 40%, color-mix(in srgb, var(--accent) 9%, transparent) 40% 100%); transform: skewX(-18deg); pointer-events: none; z-index: 0; }
@media (max-width: 900px) { .hero-mark { left: -.25rem; } }
@media (max-width: 900px) {
  .hero .inner, .about .inner, .work .inner, .contact .inner, .rider { grid-template-columns: minmax(0, 1fr); }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .hero-art { max-width: 28rem; }
  .tag-float { right: .5rem; }
}
@media (max-width: 560px) {
  body { font-size: 1rem; }
  .principles, .facts { grid-template-columns: minmax(0, 1fr); }
  .log .row { grid-template-columns: minmax(0, 1fr); gap: .25rem; }
  .btn { width: 100%; }
  .btn.small { width: auto; }
  .cta-row .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv:not(.in) { transform: none; }
  .ticker-track { width: auto; flex-wrap: wrap; }
  .ticker ul[aria-hidden="true"] { display: none; }
  .ticker ul { flex-wrap: wrap; row-gap: .5rem; padding-inline: 1rem; }
}

/* Mobile menu (button is hidden unless JavaScript is on; without JS the links stay in a row) */
.menu-toggle { display: none; }
@media (max-width: 900px) {
  .site-header .inner { flex-wrap: wrap; }
  .nav { flex-wrap: wrap; gap: .25rem 1.25rem; width: 100%; padding-bottom: .75rem; }
  .js .site-header .inner { flex-wrap: nowrap; }
  .js .menu-toggle {
    display: inline-flex; align-items: center; gap: .65rem; min-height: 44px; padding: 0 .9rem;
    background: transparent; color: var(--fg); border: 1px solid var(--fg); border-radius: 0; cursor: pointer;
    font-family: var(--font-mono); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  }
  .js .menu-toggle:hover { background: var(--fg); color: var(--bg); }
  .menu-bars { display: inline-flex; flex-direction: column; justify-content: center; gap: 4px; width: 18px; }
  .menu-bars span { display: block; height: 2px; background: currentColor; transition: transform .25s ease, opacity .2s ease; }
  .nav-open .menu-bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-open .menu-bars span:nth-child(2) { opacity: 0; }
  .nav-open .menu-bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .js .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; width: auto;
    flex-direction: column; align-items: stretch; gap: 0; padding: .5rem max(16px, env(safe-area-inset-left, 0px)) 1.5rem;
    background: var(--bg); border-bottom: 1px solid var(--line);
    max-height: calc(100vh - 4.25rem); overflow-y: auto;
  }
  .js .nav-open .nav { display: flex; }
  .js .nav a:not(.btn) {
    font-family: var(--font-display); font-style: italic; text-transform: uppercase; font-stretch: 108%;
    font-weight: 800; font-size: 1.5rem; padding: .85rem 0; border-bottom: 1px solid var(--line);
  }
  .js .nav a:not(.btn)::after { display: none; }
  .js .nav a:not(.btn):hover, .js .nav a:not(.btn):focus-visible { color: var(--accent); }
  .js .nav .btn.small { width: 100%; margin-top: 1.25rem; padding: .85rem 1.1rem; font-size: 1rem; }
}

/* Content pages (Terms, Sitemap, 404 and similar) */
.page { padding-block: clamp(2.5rem, 7vw, 5rem) clamp(3rem, 8vw, 6rem); }
.page-head { padding-bottom: 2rem; margin-bottom: 2.5rem; position: relative; border-bottom: 3px dashed var(--line); }
.crumbs { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 1.5rem; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover, .crumbs a:focus-visible { color: var(--fg); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; text-decoration-thickness: 2px; }
.crumbs span[aria-current] { color: var(--fg); }
.page-title {
  font-size: clamp(2.2rem, 7vw, 4.25rem); font-weight: 850; font-stretch: 112%; font-style: italic;
  line-height: 1; letter-spacing: -.01em; text-transform: uppercase; margin: 0 0 1.25rem;
}
.page-meta { font-family: var(--font-mono); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0; }
.page-lede { font-size: 1.2rem; color: var(--muted); margin: 1.25rem 0 0; }
.prose { max-width: 46rem; }
.prose > * + * { margin-top: 1.1rem; }
.prose h2 { font-size: clamp(1.4rem, 3.4vw, 1.9rem); margin-top: 3rem; scroll-margin-top: 6rem; }
.prose h3 { font-size: 1.15rem; margin-top: 2rem; }
.prose p, .prose li { max-width: none; }
.prose ul, .prose ol { padding-left: 0; }
.prose ul { display: grid; gap: .6rem; }
.prose ul li { position: relative; padding-left: 1.5rem; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .8em; width: .9rem; height: 3px; background: var(--accent); }
.prose ol { list-style: none; counter-reset: n; display: grid; gap: .6rem; }
.prose ol li { counter-increment: n; position: relative; padding-left: 2.25rem; }
.prose ol li::before { content: counter(n, decimal-leading-zero); position: absolute; left: 0; top: .15em; font-family: var(--font-mono); font-size: .8rem; color: var(--accent); }
.prose a { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.prose a:hover, .prose a:focus-visible { background: var(--accent); color: var(--accent-ink); text-decoration-color: transparent; }
.prose strong { font-weight: 600; }
.prose .notice { border-left: 6px solid var(--accent); background: var(--surface); padding: 1rem 1.25rem; }
.prose .notice p { margin: 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: .98rem; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: .75rem .75rem .75rem 0; border-bottom: 1px solid var(--line); }
.prose th { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.toc { border: 1px solid var(--line); padding: 1.25rem 1.5rem; background: var(--surface); }
.toc p { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 .75rem; }
.toc ol { gap: .35rem; }
.todo { background: var(--accent); color: var(--accent-ink); padding: 0 .3em; font-weight: 600; }
.sitemap-list { display: grid; gap: 0; }
.sitemap-list li { padding: 0; border-bottom: 1px solid var(--line); }
.sitemap-list li::before { display: none; }
.sitemap-list a { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0; text-decoration: none; }
.sitemap-list a:hover, .sitemap-list a:focus-visible { background: transparent; color: var(--accent); }
.sitemap-list b { font-family: var(--font-display); font-style: italic; text-transform: uppercase; font-stretch: 108%; font-weight: 800; font-size: 1.2rem; }
.sitemap-list span { color: var(--muted); }
.sitemap-list ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.err-code { font-family: var(--font-display); font-style: italic; font-weight: 900; font-stretch: 125%; font-size: clamp(5rem, 22vw, 11rem); line-height: .9; color: var(--accent); margin: 0 0 1rem; }
@media (max-width: 560px) { .sitemap-list a { flex-direction: column; gap: .15rem; } }

/* Contact and About pages: the section heading is the page h1 */
.contact h1, .about h1 { margin-bottom: 1.5rem; font-size: clamp(2rem, 5.2vw, 3.6rem); font-weight: 800; font-stretch: 108%; line-height: 1.02; letter-spacing: -.01em; text-transform: uppercase; }

/* Homepage rework: customer-first hero, three step flow, closing call to action */
.hero h1.tagline { font-size: clamp(1.7rem, 4.2vw, 3.1rem); line-height: 1; }
.hero h1.tagline .line { white-space: nowrap; }
@media (max-width: 900px) { .hero h1.tagline { font-size: clamp(1.7rem, 7vw, 3.4rem); } }
.find-link { text-decoration: none; }
.hl { color: var(--accent); }
.find-link:hover, .find-link:focus-visible { color: var(--accent); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--band-line); border: 1px solid var(--band-line); list-style: none; padding: 0; margin: 0; }
.step { padding: 1.8rem 1.6rem 2rem; }
.step-no { font-family: var(--font-display); font-style: italic; font-stretch: 118%; font-weight: 900; font-size: 3.4rem; line-height: 1; color: var(--band-accent); }
.step p { max-width: 36ch; }
.tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .4rem; }
.tags li { border: 1px solid var(--band-line); padding: .3rem .7rem; font-family: var(--font-mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--band-fg); }
.work-lead { font-size: clamp(1.15rem, 2.2vw, 1.4rem); font-weight: 600; margin-top: 1.25rem; max-width: 30ch; }
.closing { border-top: 1px solid var(--line); }
.closing .inner { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; justify-content: space-between; align-items: center; }
@media (max-width: 900px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* Landing page for the Motorcycle Live flyer (/mcl26/): bare header and footer, one screen of content on desktop */
.site-header-min { position: static; -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--bg); }
.footer-min { border-top: 1px solid var(--band-line); }
.mcl-intro + .mcl-intro { margin-top: 1rem; }
.mcl-top { padding-block: clamp(1.25rem, 3vw, 2rem) clamp(1.25rem, 2.5vw, 1.75rem); }
.mcl-top .inner { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.mcl-top h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); line-height: 1.02; text-transform: uppercase; font-weight: 900; font-stretch: 125%; text-wrap: balance; margin-bottom: 1rem; }
.mcl-intro { font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.55; max-width: 38em; text-wrap: pretty; margin: 0; }
.ph.photo.mcl-photo { margin: 0; aspect-ratio: 6 / 5; max-width: 420px; justify-self: end; }
.mcl-photo img { object-position: 50% 28%; }
.mcl-line { display: block; white-space: nowrap; }
.mcl-line + .mcl-line { color: var(--accent); }
.mcl-actions { padding-block: 0 clamp(1.25rem, 2.5vw, 1.75rem); }
.mcl-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.mcl-col { background: var(--surface); border: 1px solid var(--line); padding: clamp(1.1rem, 2.5vw, 1.6rem); display: flex; flex-direction: column; align-items: flex-start; gap: .85rem; }
.mcl-col h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); text-transform: uppercase; font-weight: 800; font-stretch: 112%; text-wrap: balance; }
.mcl-col p { margin: 0; text-wrap: pretty; }
.mcl-links { display: flex; flex-wrap: wrap; gap: .75rem; }
.mcl-btn, .mcl-links .email-link { min-height: 3.25rem; padding-inline: 1.5rem; }
.mcl-links .email-link { display: inline-flex; align-items: center; justify-content: center; font: 600 1rem/1.2 var(--font-body); text-decoration: none; color: var(--fg); border: 2px solid var(--fg); padding-block: .85rem; transition: background-color .25s ease, color .25s ease; }
.mcl-links .email-link:hover { background: var(--fg); color: var(--bg); }
.mcl-reassure { margin: 1.1rem 0 0; color: var(--muted); max-width: 46em; text-wrap: pretty; }
@media (max-width: 760px) {
  .mcl-top .inner { grid-template-columns: minmax(0, 1fr); }
  .mcl-top h1 { font-size: clamp(1.3rem, 6.6vw, 3rem); }
  .ph.photo.mcl-photo { justify-self: stretch; max-width: none; aspect-ratio: 1 / 1; }
  .mcl-cols { grid-template-columns: minmax(0, 1fr); }
  .mcl-btn, .mcl-links .email-link, .mcl-links li { width: 100%; }
}
