/* Bebas Neue (SIL Open Font License), hosted on this site: used for the "Become a Sponsor" headline */
@font-face {
  font-family: "Bebas Neue"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../assets/fonts/BebasNeue-Regular.woff2") format("woff2"), url("../assets/fonts/BebasNeue-Regular.woff") format("woff");
}
/* SAMPAIO USA — Bike Life / Moto Vlog
   Layout: fixed dark header over a full-bleed hero; content pages sit in a centered 1100px column.
   Sections: base · header · buttons · page heads · home · videos · player · about · entrance effects ·
   CTA bands · contact · social icons · footer · 404 · moto club · drone · privacy · reduced motion · safety net */

/* ---------- Base ---------- */
:root {
  --ink: #0f0e10;          /* page ground */
  --panel: #19171b;        /* raised sections */
  --line: #2c2a30;         /* hairlines, borders */
  --text: #eeeae4;         /* body text */
  --muted: #a39e98;        /* secondary text */
  --red: #c8202f;          /* Old Glory red, primary accent */
  --red-text: #ec4b57;     /* same red, lifted for small text so it passes 4.5:1 contrast */
  --display: "Oswald", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1100px;
  --header-h: 72px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
@supports not (overflow: clip) { html, body { overflow-x: hidden; } }   /* older iPhones: no sideways scroll, so the fixed menu stays put */
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
picture { display: contents; }  /* WebP wrapper: layout behaves as if the <img> were there alone */
picture > source { display: none; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.1; text-wrap: balance; margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
.red { color: var(--red); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
main { padding-top: var(--header-h); }
main:focus { outline: none; }
/* in-page links (e.g. Drone) land below the fixed header */
[id] { scroll-margin-top: calc(var(--header-h) + 8px); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* "Skip to content": hidden until a keyboard user presses Tab, then jumps past the menu */
.skip-link {
  position: fixed; left: 12px; top: -64px; z-index: 200;
  background: var(--red); color: #fff; text-decoration: none;
  font: 600 14px var(--display); letter-spacing: .14em; text-transform: uppercase;
  padding: 10px 16px; border: 1px solid #ff3b4e; box-shadow: 0 0 14px rgba(255, 59, 78, .55);
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; outline: 2px solid #fff; outline-offset: 2px; }

/* ---------- Header and menu ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  background: rgba(15, 14, 16, 0.92);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
  transform: translateZ(0);   /* own layer, so phone browsers keep it on screen over the video cards and widgets */
}
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 28px; }
.logo {
  font-family: var(--display); font-weight: 700; font-size: 24px;
  letter-spacing: 0.08em; text-decoration: none; white-space: nowrap;
}
.logo span { color: var(--red); }
.nav { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.nav a {
  font-family: var(--display); font-size: 15px; letter-spacing: .1em; white-space: nowrap;
  text-decoration: none; color: var(--muted); padding-block: 6px;
  border-bottom: 2px solid transparent; transition: color .2s, border-color .2s;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); border-color: var(--red); }
.nav a.nav-ext { color: var(--red-text); }
.nav a.nav-ext:hover { color: #fff; border-color: var(--red); }
.menu-toggle {
  display: none; margin-left: auto; position: relative; width: 44px; height: 40px;
  background: none; border: 1px solid var(--line); cursor: pointer; padding: 0;
}
.menu-toggle span {
  position: absolute; left: 11px; right: 11px; height: 2px; background: var(--text);
  transition: transform .3s ease, opacity .2s ease, top .3s ease;
}
.menu-toggle span:nth-child(1) { top: 12px; }
.menu-toggle span:nth-child(2) { top: 19px; }
.menu-toggle span:nth-child(3) { top: 26px; background: var(--red); }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { top: 19px; transform: rotate(-45deg); background: var(--text); }

/* phones and tablets: the menu drops down under the header */
@media (max-width: 1100px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; gap: 0;
    background: var(--ink); border-bottom: 1px solid var(--line); padding: 8px 20px 20px;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding-block: 14px; border-bottom: 1px solid var(--line); font-size: 17px; letter-spacing: .14em; }
  .nav a[aria-current="page"] { color: var(--red); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; font: 600 15px var(--display); letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; color: #fff; background: var(--red); border: 0;
  padding: 14px 30px; cursor: pointer; transition: background .2s, transform .2s;
}
.btn:hover { background: #a3182a; transform: translateY(-1px); }
.btn.ghost { background: transparent; border: 1px solid var(--text); }
.btn.ghost:hover { background: var(--text); color: var(--ink); }
/* neon: looping red glow (More on YouTube, Official United Link, Back to Home) */
.btn.neon {
  color: #fff; border-color: #ff3b4e;
  animation: neon-pulse 2.2s ease-in-out infinite;
}
.btn.neon:hover { background: var(--red); color: #fff; }
.btn.neon:not(.ghost) { background: var(--red); border: 1px solid #ff3b4e; }
@keyframes neon-pulse {
  0%, 100% {
    box-shadow: 0 0 4px #ff3b4e, 0 0 10px rgba(255, 59, 78, .5), inset 0 0 4px rgba(255, 59, 78, .4);
    text-shadow: 0 0 4px rgba(255, 59, 78, .6);
  }
  50% {
    box-shadow: 0 0 8px #ff3b4e, 0 0 24px rgba(255, 59, 78, .85), 0 0 52px rgba(255, 59, 78, .5), inset 0 0 10px rgba(255, 59, 78, .6);
    text-shadow: 0 0 8px #ff3b4e, 0 0 18px rgba(255, 59, 78, .8);
  }
}
.load-more { display: flex; justify-content: center; margin-top: 30px; }

/* ---------- Page heads and sections ---------- */
.page-head { padding-block: 36px 16px; }
.eyebrow {
  font-family: var(--display); font-size: 13px; letter-spacing: .3em;
  text-transform: uppercase; color: var(--red-text); margin: 0 0 10px;
}
.page-head h1 { font-size: clamp(36px, 6vw, 60px); letter-spacing: .03em; }
.h-light { font-weight: 400; }   /* regular weight inside a bold heading */
.page-sub {
  margin: 10px 0 0; font: 500 clamp(15px, 2.2vw, 18px) var(--display);
  letter-spacing: .32em; text-transform: uppercase; color: var(--muted);
}
.section { padding-block: 12px 44px; }
.section-title {
  font-size: 15px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  color: var(--red-text); margin: 0 0 18px;
}

/* ---------- Home hero ---------- */
.hero {
  position: relative; min-height: min(78vh, 620px);
  display: grid; place-items: end center; text-align: center; overflow: hidden;
  background: #000 center / cover no-repeat;
}
.hero video, .hero .hero-poster {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
/* small dark see-through grid over the video (under the title) */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image:
    linear-gradient(rgba(0, 0, 0, .38) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, .38) 1px, transparent 1px);
  background-size: 3px 3px;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.55) 70%, var(--ink) 100%);
}
.hero-inner { position: relative; z-index: 2; padding: 60px 20px clamp(40px, 8vh, 72px); display: grid; justify-items: center; gap: 14px; }
.hero h1 {
  font-size: clamp(46px, 11vw, 120px); font-weight: 700; letter-spacing: 0.06em;
  text-shadow: 0 4px 30px rgba(0,0,0,.6);
}
.hero .tagline {
  font-family: var(--display); font-size: clamp(16px, 3vw, 24px);
  letter-spacing: 0.35em; text-transform: uppercase; color: var(--text);
}
/* title and subtitle sit over the video at 20% */
.hero h1, .hero .tagline { opacity: .2; }
/* sound button (bottom right of the hero video) */
.hero-sound {
  position: absolute; z-index: 3; right: clamp(14px, 3vw, 32px); bottom: clamp(14px, 3vw, 28px);
  display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 14px;
  color: var(--text); background: rgba(15, 14, 16, .72); border: 1px solid var(--line);
  border-radius: 999px; cursor: pointer; backdrop-filter: blur(4px);
  transition: border-color .2s, background .2s, color .2s;
}
.hero-sound[hidden] { display: none; }
.hero-sound svg { width: 22px; height: 22px; fill: currentColor; flex: none; }
.hero-sound .ico-on { display: none; }
.hero-sound.is-on .ico-on { display: block; }
.hero-sound.is-on .ico-off { display: none; }
.hero-sound-txt { display: none; font-family: var(--display); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.hero-sound.prompt { border-color: var(--red); }
.hero-sound.prompt .hero-sound-txt { display: inline; }
.hero-sound:hover, .hero-sound:focus-visible { border-color: var(--red-text); color: #fff; background: rgba(15, 14, 16, .88); }
.hero-sound:focus-visible { outline: 2px solid var(--red-text); outline-offset: 3px; }
/* desktop only: the hero video fills the whole screen, with the header floating over it */
@media (min-width: 901px) {
  main:has(> .hero) { padding-top: 0; }
  .hero { min-height: 100vh; min-height: 100svh; }
}
/* no divider line between the hero video and the footer */
main:has(> .hero) + .site-footer { border-top: 0; }

/* ---------- Video cards ---------- */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px 18px; }
/* thumbnail stays at the top of every card (buttons centre their content by default) */
.video-card {
  display: flex; flex-direction: column; justify-content: flex-start; align-self: start;
  background: none; border: 0; padding: 0; color: inherit; text-align: left; cursor: pointer; font: inherit;
}
.video-card:focus-visible { outline: none; }
.thumb {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--panel); max-width: 100%;
  outline: 1px solid transparent; transition: box-shadow .35s ease, outline-color .35s ease;
}
.video-card .thumb { width: 100%; }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.thumb .play {
  position: absolute; inset: 0; margin: auto; width: 58px; height: 58px; border-radius: 50%;
  background: rgba(200, 32, 47, .9); display: grid; place-items: center;
  opacity: .9; transition: opacity .2s, transform .2s;
}
.thumb .play::before {
  content: ""; margin-left: 5px; border-style: solid; border-width: 11px 0 11px 18px;
  border-color: transparent transparent transparent #fff;
}
.thumb .dur {
  position: absolute; right: 8px; bottom: 8px; background: rgba(0,0,0,.8);
  font: 500 13px var(--body); font-variant-numeric: tabular-nums; padding: 2px 7px;
}
/* titles: at most two lines so every row ends level (full title shows on hover and in the player) */
.video-card h3 {
  font-size: 18px; font-weight: 500; line-height: 1.3; letter-spacing: .01em; margin-top: 12px;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2;
  overflow: hidden; min-height: calc(2 * 1.3em);
  transition: color .3s, text-shadow .3s;
}
/* neon glow on hover / keyboard focus */
.video-card:hover .thumb img { transform: scale(1.05); }
.video-card:hover .play { opacity: 1; transform: scale(1.08); }
.video-card:hover .thumb, .video-card:focus-visible .thumb {
  outline-color: #ff3b4e;
  box-shadow: 0 0 6px #ff3b4e, 0 0 18px rgba(255, 59, 78, .75), 0 0 42px rgba(255, 59, 78, .45);
}
.video-card:hover h3, .video-card:focus-visible h3 { color: #fff; text-shadow: 0 0 10px rgba(255, 59, 78, .7); }
@media (max-width: 560px) {
  .video-grid { grid-template-columns: 1fr 1fr; gap: 20px 12px; }
  .video-card h3 { font-size: 14px; margin-top: 8px; }
  .thumb .play { width: 40px; height: 40px; }
  .thumb .play::before { border-width: 8px 0 8px 13px; margin-left: 4px; }
  .thumb .dur { font-size: 11px; right: 6px; bottom: 6px; }
}
/* Moto Club: compact 2-column thumbnails */
.video-grid.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 620px; gap: 18px 16px; }
.video-grid.two-col .video-card h3 { font-size: 15px; line-height: 1.35; margin-top: 8px; }
.video-grid.two-col .thumb .play { width: 44px; height: 44px; }
.video-grid.two-col .thumb .play::before { border-width: 9px 0 9px 14px; margin-left: 4px; }

/* ---------- Video player popup ---------- */
.modal {
  position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.88);
  display: grid; place-items: center; padding: 20px;
  opacity: 0; transition: opacity .28s ease;
}
.modal[hidden] { display: none; }
.modal.show { opacity: 1; }
.modal-box { width: min(960px, 100%); transform: scale(.9) translateY(16px); transition: transform .38s cubic-bezier(.2, .9, .25, 1.1); }
.modal.show .modal-box { transform: none; }
.modal-frame { position: relative; aspect-ratio: 16 / 9; background: #000; max-width: 100%; }
.modal-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.modal-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 10px; }
.modal-bar h3 { font-size: 18px; font-weight: 500; min-width: 0; }
.modal-close {
  background: none; border: 1px solid var(--line); color: var(--text);
  font: 600 14px var(--display); letter-spacing: .12em; padding: 8px 14px; cursor: pointer; flex: none;
}

/* ---------- About ---------- */
/* eagle photo behind the page: darkened and faded to 50%, fixed so it stays put while the text scrolls */
.about-bg {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: url("../assets/img/about-bg.jpg") center 30% / cover no-repeat;
  background-image: image-set(url("../assets/img/about-bg.webp") type("image/webp"), url("../assets/img/about-bg.jpg") type("image/jpeg"));
  filter: brightness(.5);
  opacity: .5;
}
/* Contact page: statue and flag photo, darkened and faded 60% (40% visible) */
.contact-bg {
  background: url("../assets/img/contact-bg.jpg") center 30% / cover no-repeat;
  background-image: image-set(url("../assets/img/contact-bg.webp") type("image/webp"), url("../assets/img/contact-bg.jpg") type("image/jpeg"));
  opacity: .4;
}
/* Videos page: statue photo, same darkened 50% treatment */
.videos-bg {
  background: url("../assets/img/videos-bg.jpg") center 58% / cover no-repeat;
  background-image: image-set(url("../assets/img/videos-bg.webp") type("image/webp"), url("../assets/img/videos-bg.jpg") type("image/jpeg"));
}
/* Moto Club page: road photo behind everything except the Drone section, faded to 50% */
.moto-bg {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: url("../assets/img/moto-bg.jpg") center / cover no-repeat;
  background-image: image-set(url("../assets/img/moto-bg.webp") type("image/webp"), url("../assets/img/moto-bg.jpg") type("image/jpeg"));
  opacity: .5;
}
.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.about > * { min-width: 0; }
.about h1 { font-size: clamp(40px, 7vw, 72px); margin-bottom: 20px; }
.about p { max-width: 60ch; color: var(--muted); }
.roles { list-style: none; padding: 0; margin: 0 0 30px; display: flex; flex-wrap: wrap; gap: 10px; }
.roles li {
  font: 500 15px var(--display); letter-spacing: .2em; text-transform: uppercase;
  border: 1px solid var(--line); padding: 8px 16px;
}
.roles li::before { content: "★"; color: var(--red); margin-right: 8px; }
blockquote {
  margin: 0 0 22px; padding-left: 20px; border-left: 3px solid var(--red);
  font-size: 20px; line-height: 1.5; font-style: italic; max-width: 60ch;
}
blockquote cite { display: block; margin-top: 8px; font-style: normal; font-size: 15px; color: var(--muted); letter-spacing: .05em; transition: opacity .6s ease; }
.js blockquote.typing cite { opacity: 0; }
.portrait { justify-self: center; width: 100%; max-width: 420px; }
.portrait img { width: 100%; height: auto; box-shadow: 0 24px 60px rgba(0,0,0,.55); }
/* idle engine shake: a fast, tiny rumble with a throttle blip every few seconds */
.idle-shake { animation: idle-rumble .11s linear infinite, idle-rev 4.2s ease-in-out 1.2s infinite; will-change: transform; }
.portrait:hover .idle-shake { animation-duration: .07s, 4.2s; }
@keyframes idle-rumble {
  0%   { translate: 0 0;         rotate: 0deg; }
  25%  { translate: .6px -.5px;  rotate: .12deg; }
  50%  { translate: -.5px .4px;  rotate: -.1deg; }
  75%  { translate: .4px .6px;   rotate: .08deg; }
  100% { translate: 0 0;         rotate: 0deg; }
}
@keyframes idle-rev {
  0%, 86%, 100% { scale: 1; }
  89% { scale: 1.006; }
  91% { scale: .998; }
  93% { scale: 1.004; }
  96% { scale: 1; }
}
/* desktop: all four role tags on one line */
@media (min-width: 801px) {
  .roles { flex-wrap: nowrap; gap: 8px; }
  .roles li { font-size: 14px; letter-spacing: .14em; padding: 8px 12px; white-space: nowrap; }
  .roles li::before { margin-right: 6px; }
}
@media (max-width: 800px) {
  .about { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- Entrance effects (only when JavaScript runs, so nothing stays hidden without it) ---------- */
/* fade-in on scroll */
.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity 1.1s ease, transform 1.1s ease; }
.js .reveal.in { opacity: 1; transform: none; }
.js .video-card.reveal { transition-duration: .7s; }

/* typewriter headings */
.typewriter .caret {
  display: inline-block; width: 2px; height: 1.1em; margin-left: 2px; vertical-align: -0.1em;
  background: var(--red); animation: blink .8s steps(1) infinite;
}
h1 .typewriter .caret { width: 3px; height: .85em; }
.typewriter.done .caret { animation: blink .8s steps(1) 3, caret-out .5s ease 2.4s forwards; }
@keyframes caret-out { to { opacity: 0; } }
@keyframes blink { 50% { opacity: 0; } }

/* About: "Hi, I'm Sam" fades in, the role tags pop in one by one, then the verse and the line below it */
.js .name-fade { opacity: 0; transform: translateY(14px); transition: opacity 1.1s ease, transform 1.1s ease; }
.js .name-fade.in { opacity: 1; transform: none; }
.js .pop-seq li { opacity: 0; }
.js .pop-seq.in li { opacity: 1; animation: role-in .5s cubic-bezier(.34, 1.56, .64, 1) both; }
.pop-seq.in li:nth-child(2) { animation-delay: .22s; }
.pop-seq.in li:nth-child(3) { animation-delay: .44s; }
.pop-seq.in li:nth-child(4) { animation-delay: .66s; }
@keyframes role-in { from { opacity: 0; translate: 0 12px; scale: .85; } to { opacity: 1; translate: 0 0; scale: 1; } }
.js .verse-fade { opacity: 0; transform: translateY(14px); transition: opacity 1.2s ease, transform 1.2s ease; }
.js .verse-fade.in { opacity: 1; transform: none; }
.js .verse-fade.verse-after { transition-delay: 1.1s; }

/* Moto Club: title types -> "10th Years on the Road" slides in from the right -> logos pop in one by one
   -> "About the club" fades up */
.js .slide-right { opacity: 0; transform: translateX(110px); transition: opacity .8s ease, transform .9s cubic-bezier(.2, .8, .25, 1); }
.js .slide-right.in { opacity: 1; transform: none; }
.js .logo-seq .club-logo { opacity: 0; transform: translateY(26px) scale(.9); transition: opacity .7s ease, transform .7s cubic-bezier(.34, 1.4, .64, 1); }
.js .logo-seq .club-logo.in { opacity: 1; transform: none; }
.js .fade-up { opacity: 0; transform: translateY(18px); transition: opacity 1.1s ease, transform 1.1s ease; }
.js .fade-up.in { opacity: 1; transform: none; }

/* social icons pop in one by one when scrolled into view */
.js .soc.pop-in a { opacity: 0; }
.js .soc.pop-in.in a { opacity: 1; animation: soc-pop .55s cubic-bezier(.34, 1.56, .64, 1) both; }
.js .soc.pop-in.in a:nth-child(2) { animation-delay: .07s; }
.js .soc.pop-in.in a:nth-child(3) { animation-delay: .14s; }
.js .soc.pop-in.in a:nth-child(4) { animation-delay: .21s; }
.js .soc.pop-in.in a:nth-child(5) { animation-delay: .28s; }
.js .soc.pop-in.in a:nth-child(6) { animation-delay: .35s; }
@keyframes soc-pop { from { opacity: 0; translate: 0 14px; scale: .6; } to { opacity: 1; translate: 0 0; scale: 1; } }

/* ---------- CTA bands ---------- */
.cta-band { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cta-band .wrap { padding-block: 36px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { font-size: clamp(24px, 4vw, 36px); font-weight: 500; max-width: 22ch; }
.cta-copy { min-width: 0; }
.cta-copy p { margin: 8px 0 0; color: var(--muted); max-width: 52ch; }
.cta-copy a { color: var(--text); text-decoration-color: var(--red); text-underline-offset: 3px; }
/* red band ("Let's Ride Together", 404, Privacy) with a white "Get In Touch" button */
.cta-band.cta-red {
  background: radial-gradient(120% 160% at 85% 20%, #b3121f 0%, #6e0a14 80%);
  border-top: 1px solid rgba(255, 255, 255, .15); border-bottom: 1px solid rgba(0, 0, 0, .4);
}
.cta-red h2 { color: #fff; }
.cta-red .cta-copy p { color: #ffe1e3; }
.cta-red .cta-copy a { color: #fff; text-decoration-color: #fff; }
/* redline flash: a tach bar revs across the button, hits the redline, and the button flashes twice */
.cta-red .btn {
  position: relative; overflow: hidden; isolation: isolate;
  background: #fff; color: #6e0a14; border: 1px solid #fff;
  animation: redline-flash 3.6s ease-in-out infinite;
}
.cta-red .btn::before {
  content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 0; z-index: -1;
  background: linear-gradient(90deg, #ffd34d 0%, #ff8a2b 55%, #ff1f30 100%);
  animation: redline-rev 3.6s ease-in infinite;
}
.cta-red .btn:hover, .cta-red .btn:focus-visible {
  background: transparent; color: #fff; outline: none;
  box-shadow: 0 0 10px rgba(255, 255, 255, .45); animation: none;
}
.cta-red .btn:hover::before, .cta-red .btn:focus-visible::before { animation: none; width: 0; }
@keyframes redline-rev {
  0%   { width: 0; opacity: 1; }
  55%  { width: 100%; opacity: 1; }
  80%  { width: 100%; opacity: 1; }
  88%, 100% { width: 100%; opacity: 0; }
}
@keyframes redline-flash {
  0%, 56%, 64%, 70%, 78%, 100% { background: #fff; color: #6e0a14; box-shadow: none; }
  59%, 61%, 73%, 75% {
    background: #c9ccd1; color: #6e0a14;   /* light gray flash */
    box-shadow: 0 0 10px rgba(235, 237, 240, .9), 0 0 26px rgba(235, 237, 240, .55), 0 0 0 2px #fff;
  }
}

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; }
.contact > * { min-width: 0; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-content: start; align-items: start; }
.form .btn { justify-self: start; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font: 500 13px var(--display); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea {
  width: 100%; background: transparent; color: var(--text); font: inherit;
  border: 0; border-bottom: 1px solid var(--line); padding: 10px 2px; border-radius: 0;
}
.field textarea { min-height: 140px; resize: vertical; border: 1px solid var(--line); padding: 10px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--red); }
.hp { position: absolute; left: -9999px; }
.notice { grid-column: 1 / -1; padding: 12px 16px; border-left: 3px solid var(--red); background: var(--panel); margin: 0; }

/* the form panel */
.form-card {
  align-self: start; gap: 20px 18px; padding: 28px;
  background: var(--panel); border: 1px solid var(--line); border-left: 3px solid var(--red);
}
.form-intro { grid-column: 1 / -1; margin: 0 0 4px; color: var(--muted); }
.req { color: var(--red-text); margin-left: 2px; }
.form-card .field label { color: var(--red-text); font-size: 12px; letter-spacing: .2em; }
.form-card .field input, .form-card .field textarea {
  background: var(--ink); color: var(--text);
  border: 1px solid var(--line); border-radius: 2px; padding: 12px 14px;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.form-card .field textarea { min-height: 160px; }
.form-card .field input:hover, .form-card .field textarea:hover { border-color: #3d3a41; }
.form-card .field input:focus, .form-card .field textarea:focus {
  outline: none; border-color: #ff3b4e; background: #141216;
  box-shadow: 0 0 0 3px rgba(200, 32, 47, .25), 0 0 14px rgba(255, 59, 78, .25);
}
/* keep browser autofill dark */
.form-card input:-webkit-autofill {
  -webkit-text-fill-color: var(--text); caret-color: var(--text);
  -webkit-box-shadow: 0 0 0 40px var(--ink) inset; transition: background-color 9999s;
}
.form-card .notice { border-left-color: var(--red); background: var(--ink); }
.form-submit { padding: 14px 40px; box-shadow: 0 0 0 rgba(255, 59, 78, 0); transition: background .2s, transform .2s, box-shadow .25s; }
.form-submit:hover, .form-submit:focus-visible {
  box-shadow: 0 0 8px #ff3b4e, 0 0 24px rgba(255, 59, 78, .55); outline: none;
}
.form-submit[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.form-submit[aria-disabled="true"]:hover { transform: none; background: var(--red); }

/* "Slide to verify": the handle turns the bar green once it reaches the end */
.js .slide-verify[hidden] { display: grid; }
.sv-label { font: 500 12px var(--display); letter-spacing: .2em; text-transform: uppercase; color: var(--red-text); }
.sv-track {
  --h: 48px; position: relative; height: var(--h); border-radius: 10px; overflow: hidden; touch-action: none; user-select: none; -webkit-user-select: none;
  background: var(--ink); border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s;
}
.sv-track:hover { border-color: #3d3a41; }
.sv-track:focus-within { border-color: var(--red); }
.sv-fill { position: absolute; inset: 0 auto 0 0; width: 0; background: linear-gradient(90deg, #6e0a14, var(--red)); }
.sv-text {
  position: absolute; inset: 0; display: grid; place-items: center; padding-left: 40px; pointer-events: none;
  font: 500 13px var(--display); letter-spacing: .22em; text-transform: uppercase; color: var(--muted);
  background: linear-gradient(100deg, var(--muted) 35%, #fff 50%, var(--muted) 65%) 0 0 / 220% 100% no-repeat;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: sv-shine 2.6s linear infinite;
}
@keyframes sv-shine { from { background-position: 120% 0; } to { background-position: -120% 0; } }
.sv-handle {
  position: absolute; top: 0; left: 0; width: var(--h); height: 100%; display: grid; place-items: center; cursor: grab;
  background: var(--red); color: #fff; border-radius: 9px; box-shadow: 0 0 14px rgba(200, 32, 47, .55);
  transition: box-shadow .2s;
}
.sv-handle:active { cursor: grabbing; }
.sv-handle:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }
.sv-handle svg { width: 22px; height: 22px; }
.sv-handle .sv-check { display: none; }
.sv-track.snap .sv-handle, .sv-track.snap .sv-fill { transition: left .25s ease, width .25s ease; }
.sv-track.shake { animation: sv-shake .4s; border-color: var(--red); }
@keyframes sv-shake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }
.sv-track.done { border-color: #25d366; box-shadow: 0 0 16px rgba(37, 211, 102, .35); }
.sv-track.done .sv-fill { width: 100% !important; background: linear-gradient(90deg, #0f6b34, #1fb457); }
.sv-track.done .sv-handle { background: #fff; color: #0f7a3a; box-shadow: none; }
.sv-track.done .sv-arrow { display: none; }
.sv-track.done .sv-check { display: block; }
.sv-track.done .sv-text { animation: none; background: none; -webkit-text-fill-color: #fff; color: #fff; padding-left: 0; padding-right: 40px; }

/* photo with a spinning light ring, and the "Get Social" panel */
.social-card { display: grid; gap: 18px; align-content: start; }
.social-card .reveal { max-width: 420px; }
.social-card img.photo { width: 100%; height: auto; aspect-ratio: 1024 / 1536; object-fit: cover; box-shadow: 0 24px 60px rgba(0,0,0,.55); }
.spin-ring {
  position: relative; padding: 5px; overflow: hidden; isolation: isolate;
  background: #1a1416;
  box-shadow: 0 0 22px rgba(255, 59, 78, .35), 0 24px 60px rgba(0, 0, 0, .55);
}
.spin-ring::before, .spin-ring::after {
  content: ""; position: absolute; z-index: -1;
  width: 200%; aspect-ratio: 1; left: -50%; top: 50%; translate: 0 -50%;
  animation: ring-spin 3.2s linear infinite;
}
.spin-ring::before {
  background: conic-gradient(transparent 0 55%, rgba(255, 59, 78, .2) 62%, #ff3b4e 72%, #fff 75%, transparent 78%, transparent 0);
}
.spin-ring::after {
  background: conic-gradient(transparent 0 5%, rgba(255, 59, 78, .2) 12%, #ff3b4e 22%, #fff 25%, transparent 28%, transparent 0);
}
.spin-ring img.photo { display: block; position: relative; box-shadow: none; }
@keyframes ring-spin { to { rotate: 360deg; } }
.social-panel {
  background: var(--panel); border: 1px solid var(--line); border-left: 3px solid var(--red);
  padding: 18px 20px; display: grid; gap: 14px; max-width: 420px;
}
.social-panel h2 { font-size: 26px; letter-spacing: .04em; color: var(--red); margin: 0; }
@media (max-width: 800px) {
  .contact { grid-template-columns: 1fr; gap: 28px; }
  .form { grid-template-columns: 1fr; }
  .social-card .reveal { order: 3; }
}
@media (max-width: 560px) {
  .form-card { padding: 22px 18px; }
  .form-card .form-submit { justify-self: stretch; }
  .social-card .reveal { max-width: 270px; width: 100%; justify-self: center; }   /* smaller photo on phones */
  .social-panel { max-width: none; padding: 16px; }
}

/* ---------- Social icons (footer row and Contact "Get Social") ---------- */
.soc { display: flex; flex-wrap: wrap; gap: 12px; }
.soc a {
  --c: #fff; position: relative; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; color: rgba(236, 226, 229, .7);
  background: rgba(255, 255, 255, .05); border: 1.5px solid rgba(255, 255, 255, .28);
  transition: transform .22s cubic-bezier(.34, 1.56, .64, 1), color .2s, border-color .2s, background .2s;
}
.soc a::after {
  content: ""; position: absolute; inset: -1.5px; border-radius: 50%; pointer-events: none;
  box-shadow: 0 0 14px var(--c), 0 0 34px color-mix(in srgb, var(--c) 55%, transparent), inset 0 0 12px color-mix(in srgb, var(--c) 30%, transparent);
  opacity: 0; transition: opacity .25s;
}
.soc a:hover, .soc a:focus-visible {
  color: var(--c); border-color: var(--c); outline: none;
  background: color-mix(in srgb, var(--c) 14%, transparent);
  transform: translateY(-5px) scale(1.12);
}
.soc a:hover::after, .soc a:focus-visible::after { opacity: 1; animation: soc-glow 1.8s ease-in-out infinite; }
.soc a:active { transform: scale(.94); }
.soc svg { width: 24px; height: 24px; }
@keyframes soc-glow { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }

/* small outline circles (footer) */
.soc.sm { gap: 8px; }
.soc.sm a {
  width: 34px; height: 34px; padding: 0; border: 1px solid rgba(255, 255, 255, .28);
  color: rgba(236, 226, 229, .7);
}
.soc.sm svg { width: 16px; height: 16px; }
.soc.sm svg[style] { width: 19px !important; height: 14px !important; }
.soc.sm a:hover, .soc.sm a:focus-visible {
  color: var(--c); border-color: var(--c); transform: translateY(-3px) scale(1.08);
}

/* Contact "Get Social": solid brand-colored rounded-square app icons with a white symbol */
.social-panel .soc a {
  border-radius: 14px; border: 1.5px solid transparent; color: #fff;
  background: var(--c); box-shadow: 0 6px 16px color-mix(in srgb, var(--c) 38%, transparent), inset 0 1px 0 rgba(255, 255, 255, .28);
}
.social-panel .soc a::after { border-radius: 14px; }
.social-panel .soc a:nth-child(1) { --c: #ff1f3d; --yt-tri: #ff1f3d; }   /* YouTube */
.social-panel .soc a:nth-child(2) { --c: #1877f2; }                       /* Facebook */
.social-panel .soc a:nth-child(3) { background: linear-gradient(45deg, #f9a03f 0%, #e1306c 50%, #833ab4 100%); --c: #e1306c; }   /* Instagram */
.social-panel .soc a:nth-child(4) { --c: #25f4ee; background: #0b0b0d; border-color: rgba(37, 244, 238, .75); box-shadow: 0 6px 16px rgba(37, 244, 238, .22), 3px 3px 0 -1px rgba(254, 44, 85, .55); }   /* TikTok */
.social-panel .soc a:nth-child(5) { --c: #25d366; }                       /* WhatsApp */
.social-panel .soc a:nth-child(6) { --c: #ffffff; background: #0b0b0d; border-color: rgba(255, 255, 255, .6); box-shadow: 0 6px 16px rgba(255, 255, 255, .14); }   /* X */
.social-panel .soc a:hover, .social-panel .soc a:focus-visible { color: #fff; border-color: transparent; transform: translateY(-5px) scale(1.1); }
.social-panel .soc a:nth-child(1):hover, .social-panel .soc a:nth-child(2):hover, .social-panel .soc a:nth-child(5):hover,
.social-panel .soc a:nth-child(1):focus-visible, .social-panel .soc a:nth-child(2):focus-visible, .social-panel .soc a:nth-child(5):focus-visible { background: var(--c); }
.social-panel .soc a:nth-child(3):hover, .social-panel .soc a:nth-child(3):focus-visible { background: linear-gradient(45deg, #f9a03f 0%, #e1306c 50%, #833ab4 100%); }
.social-panel .soc a:nth-child(4):hover, .social-panel .soc a:nth-child(4):focus-visible { background: #0b0b0d; border-color: #25f4ee; }
.social-panel .soc a:nth-child(6):hover, .social-panel .soc a:nth-child(6):focus-visible { background: #0b0b0d; border-color: #fff; }
/* the six icons share the full width of the panel (equal square tiles) */
.social-panel .soc { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.social-panel .soc a { width: 100%; height: auto; aspect-ratio: 1; }
.social-panel .soc svg { width: 46%; height: 46%; }
.social-panel .soc svg[style] { width: 54% !important; height: auto !important; }
@media (max-width: 560px) {
  .social-panel .soc { gap: 8px; }
}
/* very small phones (320px) */
@media (max-width: 360px) {
  .social-panel { padding: 14px 12px; }
  .social-panel .soc { gap: 6px; }
  .social-panel .soc a, .social-panel .soc a::after { border-radius: 10px; }
}

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); }
.site-footer .wrap {
  display: flex; flex-direction: column; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px;
  padding-block: 24px; text-align: center; font-size: 14px; color: var(--muted);
}
.site-footer a { color: var(--text); }
.foot-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; }
.site-footer .foot-nav a {
  font: 500 13px var(--display); letter-spacing: .16em; text-transform: uppercase;
  color: var(--red-text); text-decoration: none; transition: color .2s, text-shadow .2s;
}
.site-footer .foot-nav a:hover { color: #ff3b4e; text-shadow: 0 0 10px rgba(255, 59, 78, .5); }
/* the page you are on shows in gray */
.site-footer .foot-nav a[aria-current="page"], .site-footer .foot-nav a[aria-current="page"]:hover { color: var(--muted); text-shadow: none; cursor: default; }
.foot-social { justify-content: center; }
/* bigger tap targets for footer links on phones */
@media (max-width: 560px) {
  .site-footer .foot-nav { gap: 2px 18px; }
  .site-footer .foot-nav a { display: inline-block; padding-block: 8px; }
}

/* ---------- 404 page: themed panel, "4-wheel-4" sign on a moving road, red contact band ---------- */
.nf-card {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 32px 56px; align-items: center;
  background: var(--panel); border: 1px solid var(--line); border-left: 3px solid var(--red);
  padding: 36px 40px; max-width: 980px;
}
.nf-sign { display: grid; justify-items: center; gap: 14px; }
.nf-code {
  display: flex; align-items: baseline; gap: .04em;
  font: 700 clamp(104px, 17vw, 176px)/1 var(--display); letter-spacing: .02em; color: var(--text);
  text-shadow: 0 6px 30px rgba(0, 0, 0, .55);
}
/* the "0" is a sport-bike wheel that rolls */
.nf-wheel {
  width: .74em; height: .74em; flex: none; margin-inline: .02em;
  filter: drop-shadow(0 0 10px rgba(255, 59, 78, .55));
  animation: wheel-roll 1.8s linear infinite;
}
.nf-wheel * { fill: none; }
.nf-wheel .tire { stroke: var(--text); stroke-width: 9; }
.nf-wheel .tread { stroke: var(--panel); stroke-width: 3; stroke-dasharray: 3 7; }
.nf-wheel .rim { stroke: var(--red); stroke-width: 3; }
.nf-wheel .spokes path { stroke: var(--red); stroke-width: 4.5; stroke-linecap: round; }
.nf-wheel .disc { stroke: var(--muted); stroke-width: 3; stroke-dasharray: 4 3; }
.nf-wheel .hub { fill: var(--text); }
@keyframes wheel-roll { to { rotate: 360deg; } }
/* road: dark asphalt with a dashed centre line sliding under the wheel */
.nf-road {
  width: 100%; height: 22px; position: relative; overflow: hidden;
  background: #0b0a0c; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.nf-road::after {
  content: ""; position: absolute; inset: 50% 0 auto; height: 3px; translate: 0 -50%;
  background: repeating-linear-gradient(90deg, #ffd34d 0 26px, transparent 26px 52px);
  animation: road-move .5s linear infinite;
}
@keyframes road-move { from { background-position: 0 0; } to { background-position: -52px 0; } }
.nf-copy { min-width: 0; }
.nf-lead { color: var(--text); font-size: 19px; line-height: 1.6; max-width: 40ch; margin: 0 0 24px; }
.nf-copy .section-title { margin-bottom: 12px; }
.nf-links { margin-bottom: 26px; }
@media (max-width: 800px) {
  .nf-card { grid-template-columns: 1fr; padding: 28px 22px; }
  .nf-sign { justify-self: center; }
}
@media (max-width: 560px) {
  .nf-code { font-size: 96px; }
  .nf-copy .btn { display: block; text-align: center; }
}

/* ---------- Moto Club ---------- */
/* 10th anniversary banner */
.anniv {
  display: inline-flex; align-items: center; flex-wrap: wrap; gap: 4px 14px; margin: 18px 0 0;
  padding: 8px 18px 8px 14px; border: 1px solid rgba(200, 32, 47, .55); border-left: 4px solid var(--red);
  background: linear-gradient(90deg, rgba(200, 32, 47, .16), rgba(200, 32, 47, 0));
}
.anniv-num { font: 700 34px/1 var(--display); color: var(--red); letter-spacing: .02em; }
.anniv-num::after { content: "th"; font-size: .42em; vertical-align: super; margin-left: 1px; }
.anniv-text { font: 500 15px var(--display); letter-spacing: .2em; text-transform: uppercase; color: var(--text); }
.anniv-years { font: 400 14px var(--body); letter-spacing: .12em; color: var(--muted); font-variant-numeric: tabular-nums; }

/* logo downloads: 3 x 2 grid on desktop, 2 columns on tablets, a swipeable row on phones */
.club-logos { display: flex; flex-wrap: wrap; gap: 28px 36px; margin-top: 28px; }
.club-logo {
  display: inline-grid; justify-items: center; gap: 12px;
  text-decoration: none; color: var(--muted);
}
.club-logo img {
  width: 100%; height: auto; border-radius: 6px;
  border: 1px solid var(--line); transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.club-logo span {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-align: center;
  font: 500 12px var(--display); letter-spacing: .12em; text-transform: uppercase; transition: color .2s;
}
.club-logo span::before {
  content: ""; width: 14px; height: 14px; flex: none; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3v12m0 0l-5-5m5 5l5-5M4 20h16' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3v12m0 0l-5-5m5 5l5-5M4 20h16' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.club-logo:hover img, .club-logo:focus-visible img {
  transform: translateY(-4px); border-color: #ff3b4e;
  box-shadow: 0 0 18px rgba(255, 59, 78, .45), 0 18px 40px rgba(0, 0, 0, .5);
}
.club-logo:hover span, .club-logo:focus-visible span { color: var(--red-text); }
.club-logo:focus-visible { outline: none; }
@media (min-width: 561px) {
  .club-logos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; max-width: 840px; }
}
@media (min-width: 561px) and (max-width: 900px) {
  .club-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 560px; }
}
@media (max-width: 560px) {
  .club-logos {
    flex-wrap: nowrap; justify-content: flex-start; gap: 14px;
    overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    margin-inline: -20px; padding: 4px 20px 10px; scrollbar-width: none;
  }
  .club-logos::-webkit-scrollbar { display: none; }
  .club-logo { flex: 0 0 58%; scroll-snap-align: center; }
  .club-logo span { font-size: 10.5px; letter-spacing: .1em; }
  .anniv-num { font-size: 28px; }
  .anniv-text { font-size: 13px; }
}

/* videos left, club text + button right (stacked on tablets and phones) */
.club-split { display: grid; grid-template-columns: minmax(0, 620px) minmax(0, 1fr); gap: 28px 76px; align-items: start; }
.club-videos { order: 1; min-width: 0; }
.club-videos .video-grid.two-col { max-width: none; }
.club-about { order: 2; min-width: 0; isolation: isolate; overflow: hidden; padding: 30px 30px 34px; }
.club-about p { color: var(--muted); max-width: 46ch; margin: 0 0 14px; }
.club-about .club-lead { color: var(--text); font-size: 19px; line-height: 1.5; }
.club-about p:not(.club-lead) { color: #c4c3c8; }
.club-sub { font-size: 15px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--text); margin: 26px 0 10px; }
.club-about .club-motto { font: 600 17px/1.4 var(--display); letter-spacing: .06em; color: var(--text); margin: 22px 0 0; }
/* the four signature rides: a vertical carousel (a plain list without JavaScript or with reduced motion) */
.ride-track { list-style: none; margin: 0; padding: 0; }
.ride-track li { margin: 0 0 12px; padding: 4px 0 4px 14px; border-left: 3px solid var(--red); color: #c4c3c8; line-height: 1.55; }
.ride-track li strong { display: block; font: 600 16px var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--text); margin-bottom: 2px; }
.ride-carousel.is-active .ride-viewport { overflow: hidden; }
.ride-carousel.is-active .ride-track { transition: transform .7s cubic-bezier(.4, 0, .2, 1); will-change: transform; }
.ride-carousel.is-active .ride-track li { margin: 0; display: flex; flex-direction: column; justify-content: center; }
.club-about .load-more { justify-content: center; max-width: 46ch; margin-top: 26px; }
.club-about .load-more .btn { opacity: .72; transition: opacity .3s ease, background .2s ease, color .2s ease; }   /* faded like the sponsor button */
.club-about .load-more .btn:hover, .club-about .load-more .btn:focus-visible { opacity: 1; }
@media (max-width: 560px) {
  .club-about { padding: 24px 20px 28px; }
  .club-about > * { text-shadow: 0 1px 10px rgba(0, 0, 0, .85); }
  .club-about .load-more .btn { text-shadow: none; }
  .club-about .load-more .btn { letter-spacing: .14em; white-space: nowrap; padding-inline: 18px; }
}
@media (max-width: 900px) {
  .club-split { grid-template-columns: 1fr; row-gap: 46px; }
  .club-about { order: 0; position: relative; top: auto; }   /* the sticky offset pushed the box down, leaving a gap above it and covering the videos */
  .club-about .load-more { max-width: none; }
}
@media (max-width: 560px) {
  .club-split { row-gap: 36px; }   /* room between Follow United Moto and the videos */
}

/* ---------- Drone rules band (Moto Club page) ---------- */
.drone-band {
  --band: #b3121f; --band-deep: #6e0a14; --ink-line: #ffffff;
  position: relative; overflow: hidden; isolation: isolate; scroll-margin-top: var(--header-h);
  background: radial-gradient(120% 140% at 85% 15%, var(--band) 0%, var(--band-deep) 75%);
  border-top: 1px solid rgba(255, 255, 255, .15); border-bottom: 1px solid rgba(0, 0, 0, .4);
}
/* faint drone drawing in the background: hovers, rotors spin */
.drone-bg {
  position: absolute; z-index: -1; right: -4%; top: 50%; translate: 0 -50%;
  width: min(760px, 95%); height: auto; opacity: .1;
  animation: drone-hover 6s ease-in-out infinite;
}
.drone-bg * { fill: none; stroke: var(--ink-line); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.drone-bg .arm { stroke-width: 14; }
.drone-bg .blade { fill: var(--ink-line); stroke: none; opacity: .8; }
.drone-bg .hub, .drone-bg .lens { fill: var(--ink-line); stroke: none; }
.drone-bg .body { fill: rgba(255, 255, 255, .12); stroke-width: 7; }
.drone-bg .guard { stroke-width: 4; stroke-dasharray: 6 10; }
.drone-bg .rotor { animation: rotor-spin 1.6s linear infinite; }
@keyframes rotor-spin { to { rotate: 360deg; } }
@keyframes drone-hover { 0%, 100% { translate: 0 -50%; } 50% { translate: 0 calc(-50% - 12px); } }

.drone-inner { padding-block: 14px 40px; max-width: var(--wrap); }
/* DRONE logo with a shine sweep: a bright diagonal band of light glides across it, clipped to its shape.
   The plain white logo stays underneath as a fallback. */
.drone-logo { position: relative; display: block; width: min(360px, 78%); margin: 0 auto; filter: drop-shadow(0 4px 14px rgba(0, 0, 0, .35)); }
.drone-logo-img { display: block; width: 100%; height: auto; }
.drone-logo.chrome::before, .drone-logo.chrome::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  -webkit-mask: url("../assets/img/drone-logo.png") center / 100% 100% no-repeat;
          mask: url("../assets/img/drone-logo.png") center / 100% 100% no-repeat;
}
.drone-logo.chrome::before { background: linear-gradient(180deg, #eceef1 0%, #c3c9d0 100%); }  /* soft off-white base */
.drone-logo.chrome::after {
  background: linear-gradient(115deg,
      transparent 0 36%, rgba(255, 255, 255, .7) 43%, #ffffff 48%, #ffffff 52%, rgba(255, 255, 255, .7) 57%, transparent 64% 100%)
    0 0 / 280% 100% no-repeat;
  animation: shine-sweep 3.6s cubic-bezier(.4, 0, .2, 1) infinite;
}
@keyframes shine-sweep {
  0% { background-position: 100% 0; }
  45%, 100% { background-position: 0% 0; }
}
/* a brief glow while the light passes */
.drone-logo.chrome { animation: shine-glow 3.6s ease-in-out infinite; }
@keyframes shine-glow {
  0%, 100% { filter: drop-shadow(0 4px 14px rgba(0, 0, 0, .35)); }
  22% { filter: drop-shadow(0 4px 14px rgba(0, 0, 0, .35)) drop-shadow(0 0 12px rgba(255, 255, 255, .45)); }
  45% { filter: drop-shadow(0 4px 14px rgba(0, 0, 0, .35)); }
}

.drone-band h2 { margin-top: 0; font-size: clamp(26px, 4.4vw, 40px); letter-spacing: .02em; max-width: 22ch; color: #fff; }
.drone-band h2 span { display: block; font-family: var(--body); font-size: .5em; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; color: #ffd9dc; margin-top: 6px; }
.drone-band h2 span { display: inline-block; vertical-align: middle; }   /* subtitle and USA LAWS share one line */
.drone-band h2 .drone-usa { display: inline-flex; align-items: center; gap: 8px; font-weight: 400; color: #fff; letter-spacing: .22em; margin: 6px 0 0 16px; }
.us-flag { width: 19px; height: 10px; flex: none; border-radius: 1px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .35); }
.drone-rules { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; max-width: 62ch; }
.drone-rules li {
  position: relative; padding: 14px 18px 14px 46px; line-height: 1.55; color: #f6e9ea;
  background: rgba(40, 4, 8, .45); border: 1px solid rgba(255, 255, 255, .18); border-radius: 4px;
}
.drone-rules li::before {
  content: ""; position: absolute; left: 18px; top: 22px; width: 10px; height: 10px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 10px rgba(255, 255, 255, .8);
}
.drone-rules strong { color: #fff; font-weight: 600; }
/* white buttons with a light streak spinning around a 3px rim */
.drone-btn {
  display: table; margin: 30px 0 16px; /* one blank line (~30px) above and below, counting the panel padding */
  position: relative; overflow: hidden; isolation: isolate;
  padding: 12px 22px; font-size: 13px; color: var(--band-deep);
  background: #2a0306; border: 0; border-radius: 3px;
}
.drone-btn::before {
  content: ""; position: absolute; z-index: -2; left: 50%; top: 50%;
  width: 260%; aspect-ratio: 1; translate: -50% -50%;
  background: conic-gradient(transparent 0 58%, rgba(255, 255, 255, .25) 68%, #fff 78%, #ffe1a8 81%, transparent 84%);
  animation: ring-spin 2.4s linear infinite;
}
.drone-btn::after {
  content: ""; position: absolute; z-index: -1; inset: 3px; border-radius: 1px;
  background: #fff; transition: background .2s ease;
}
.drone-btn-2::before { animation-delay: -1.2s; }
.drone-btn:hover, .drone-btn:focus-visible { background: #2a0306; color: #fff; transform: translateY(-1px); }
.drone-btn:hover::after, .drone-btn:focus-visible::after { background: var(--band-deep); }
.drone-btn:hover::before { animation-duration: 1.2s; }
@media (max-width: 560px) {
  .drone-bg { width: 140%; right: -45%; opacity: .08; }
  .drone-band h2 { text-align: center; margin-inline: auto; }   /* title + subtitle centered on phones */
  .drone-band h2 .drone-usa { margin-left: 12px; }
  .drone-rules li { padding-left: 40px; }
  .drone-rules li::before { left: 15px; }
}
@media (max-width: 360px) {
  .drone-band h2 span { letter-spacing: .1em; }
  .drone-band h2 .drone-usa { margin-left: 8px; gap: 6px; letter-spacing: .12em; }
}

/* ---------- Privacy page ---------- */
.policy > * { max-width: 900px; }   /* left-aligned with the page heading */
.policy-date {
  display: inline-block; margin: 0 0 16px; padding: 6px 12px;
  font: 500 12px var(--display); letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); border: 1px solid var(--line);
}
.policy-intro { color: var(--text); font-size: 19px; line-height: 1.6; max-width: 62ch; margin: 0 0 22px; }
.policy-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 30px; }
.policy-chips a {
  font: 500 13px var(--display); letter-spacing: .16em; text-transform: uppercase;
  color: var(--text); text-decoration: none; border: 1px solid var(--line); padding: 8px 14px;
  transition: border-color .2s, color .2s, box-shadow .2s;
}
.policy-chips a::before { content: "★"; color: var(--red); margin-right: 8px; }
.policy-chips a:hover, .policy-chips a:focus-visible {
  border-color: #ff3b4e; box-shadow: 0 0 12px rgba(255, 59, 78, .35); outline: none;
}
.policy-card {
  background: var(--panel); border: 1px solid var(--line); border-left: 3px solid var(--red);
  padding: 24px 28px; margin-bottom: 18px;
}
.policy-card header { display: flex; align-items: baseline; gap: 14px; margin-bottom: 10px; }
.policy-num { font: 700 30px/1 var(--display); color: var(--red); font-variant-numeric: tabular-nums; }
.policy-card h2 { font-size: clamp(22px, 3vw, 28px); letter-spacing: .03em; }
.policy-card h3 {
  font: 500 14px var(--display); letter-spacing: .2em; text-transform: uppercase;
  color: var(--red-text); margin: 20px 0 6px;
}
.policy-card p, .policy-card li { color: var(--muted); line-height: 1.7; max-width: 68ch; }
.policy-card p { margin: 0 0 12px; }
.policy-card p:last-child { margin-bottom: 0; }
.policy-card ul { margin: 0 0 12px; padding-left: 20px; display: grid; gap: 8px; }
.policy-card li::marker { content: "★  "; color: var(--red); font-size: .8em; }
.policy-card strong { color: var(--text); }
.policy-card a { color: var(--text); text-decoration-color: var(--red); text-underline-offset: 3px; }
.policy-card a:hover { color: #ff3b4e; }
.policy-card .policy-copy {
  font: 600 16px/1.7 var(--display); letter-spacing: .1em; text-transform: uppercase;
  color: var(--text); padding: 10px 14px; border: 1px dashed rgba(200, 32, 47, .6); display: inline-block;
}
@media (max-width: 560px) {
  .policy-card { padding: 20px 18px; }
  .policy-num { font-size: 24px; }
  .policy-chips a { font-size: 12px; padding: 7px 11px; letter-spacing: .12em; }
}

/* ---------- Safety net: if the page script has not started within 3 seconds (slow or blocked), show everything ---------- */
@keyframes safety-show { to { opacity: 1; transform: none; translate: none; scale: none; } }
html.js:not(.js-ready) :is(.reveal, .name-fade, .verse-fade, .slide-right, .fade-up, .logo-seq .club-logo, .pop-seq li, .soc.pop-in a, blockquote.typing cite):not(.in) {
  animation: safety-show .01s 3s both;
}

/* ---------- Support & Sponsor (same look as the top of the page) ---------- */
.sponsor-band {
  --band-deep: #6e0a14; position: relative; overflow: hidden;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);   /* no background: the page photo shows through */
}
.sponsor-inner { text-shadow: 0 1px 12px rgba(0, 0, 0, .8); }
.sponsor-inner { position: relative; padding-block: 16px 40px; }
.sponsor-band h2 { font-family: "Bebas Neue", var(--display); font-weight: 400; font-size: clamp(34px, 5.4vw, 56px); letter-spacing: .04em; line-height: 1; }
.sponsor-band .page-sub { letter-spacing: .12em; font-size: clamp(12px, 1.55vw, 17px); }   /* one line on desktop */
.sponsor-band .drone-btn { margin: 26px auto 28px; }   /* same button as the Drone section, centered */
.sponsor-band .drone-btn { opacity: .72; transition: opacity .3s ease; }   /* faded like the banners */
.sponsor-band .drone-btn:hover, .sponsor-band .drone-btn:focus-visible { opacity: 1; }
.sponsor-ad { display: block; line-height: 0; border-radius: 4px; overflow: hidden; border: 1px solid var(--line); }
.sponsor-ad img { width: 100%; height: auto; }
.sponsor-ad + .sponsor-ad { margin-top: 16px; }
/* shine sweep across the ad banners */
.sponsor-ad { position: relative; isolation: isolate; }
.sponsor-ad { opacity: .72; transition: opacity .3s ease; }   /* faded so the road photo shows through */
.sponsor-ad:hover, .sponsor-ad:focus-visible { opacity: 1; }
.sponsor-ad::after {
  content: ""; position: absolute; z-index: 2; top: 0; bottom: 0; left: 0; width: 34%; pointer-events: none;
  background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, .06) 25%, rgba(255, 255, 255, .52) 50%, rgba(255, 255, 255, .06) 75%, transparent 100%);
  transform: translateX(-130%) skewX(-18deg); opacity: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .sponsor-ad::after { animation: ad-shine 5.5s ease-in-out infinite; }
  .sponsor-ad + .sponsor-ad::after { animation-delay: 2.75s; }
  .sponsor-ad:hover::after, .sponsor-ad:focus-visible::after { animation-duration: 2.2s; }
}
@keyframes ad-shine {
  0%, 52% { transform: translateX(-130%) skewX(-18deg); opacity: 0; }
  58% { opacity: 1; }
  92% { opacity: 1; }
  100% { transform: translateX(400%) skewX(-18deg); opacity: 0; }
}

/* Sponsor headline: the last word rotates (Rides / Events / Services / Products) */
.rot-words { display: inline-grid; vertical-align: bottom; overflow: hidden; color: var(--red); }
.rot-words > span { grid-area: 1 / 1; opacity: 0; }
.rot-words > span:first-child { opacity: 1; }   /* no animation (reduced motion / no support): just "Rides" */
@keyframes rot-word {
  0%   { opacity: 0; transform: translateY(70%); }
  4%, 21% { opacity: 1; transform: none; }
  25%, 100% { opacity: 0; transform: translateY(-70%); }
}
@media (prefers-reduced-motion: no-preference) {
  .rot-words > span { animation: rot-word 8s ease-in-out infinite both; }
  .rot-words > span:nth-child(2) { animation-delay: 2s; }
  .rot-words > span:nth-child(3) { animation-delay: 4s; }
  .rot-words > span:nth-child(4) { animation-delay: 6s; }
}

/* ---------- TikTok section (Videos page) ---------- */
.section.has-next { padding-bottom: 20px; }   /* less space above the TikTok section */
.tiktok-section { padding-top: 0; padding-bottom: 0; }
.tiktok-title { font-size: clamp(28px, 4.6vw, 44px); letter-spacing: .03em; margin-bottom: 18px; }
.tiktok-box { margin-bottom: 8px; min-height: 40px; max-width: 100%; overflow: hidden; }   /* keeps the TikTok widget from widening the page */

/* ---------- Reduced motion: no animations or transitions anywhere ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .btn.neon { box-shadow: 0 0 8px #ff3b4e, 0 0 24px rgba(255, 59, 78, .6); }   /* steady glow instead of the pulse */
}
