/* Bikers Down — shared styles. Tokens and motifs carried over from the original mockup. */
:root {
  --asphalt: #141414;
  --asphalt-2: #1d1d1d;
  --amber: #f0a92e;
  --amber-soft: #f7c65d;
  --amber-dark: #b97c14;
  --amber-ink: #8a5a0a; /* amber dark enough for small text on paper (AA) */
  --paper: #f4f1ea;
  --ink: #2b2b2b;
  --muted: #8a8a8a;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  background: var(--asphalt);
  color: var(--paper);
  font-family: Georgia, 'Times New Roman', serif;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* ---- focus: visible everywhere ---- */
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 2px; }
.paper :focus-visible { outline-color: var(--amber-dark); }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--amber); color: var(--asphalt);
  font-family: var(--sans); font-weight: 700; text-decoration: none;
  padding: .6rem 1rem; border-radius: 4px;
}
.skip-link:focus { top: 1rem; }

/* ---- highway center line ---- */
.stripe {
  height: 6px;
  background: repeating-linear-gradient(to right, var(--amber) 0 48px, transparent 48px 96px);
}

/* ---- sticky nav ---- */
.site-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(20, 20, 20, .94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid #2a2a2a;
}
.nav-inner {
  max-width: 72rem; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .85rem clamp(1.25rem, 5vw, 3rem);
}
.brand {
  font-family: var(--sans);
  font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  font-size: .95rem; color: var(--paper); text-decoration: none;
}
.brand span { color: var(--amber); }
.nav-links { display: flex; gap: 1.6rem; list-style: none; }
.nav-links a {
  font-family: var(--sans);
  font-size: .82rem; letter-spacing: .12em; text-transform: uppercase;
  color: #c9c9c9; text-decoration: none;
  padding: .25rem 0; border-bottom: 2px solid transparent;
}
.nav-links a:hover { color: var(--amber-soft); }
.nav-links a[aria-current="page"] { color: var(--amber); border-bottom-color: var(--amber); }

/* ---- hero ---- */
.hero {
  max-width: 72rem; margin: 0 auto;
  padding: clamp(3rem, 9vw, 6rem) clamp(1.25rem, 5vw, 3rem) clamp(2.5rem, 6vw, 4rem);
  text-align: center;
}
.hero.compact { padding-bottom: clamp(2rem, 5vw, 3rem); }
.hero .logo { width: clamp(150px, 26vw, 220px); margin: 0 auto 1.75rem; }
.paper .kicker { color: var(--amber-ink); }
.kicker {
  font-family: var(--sans);
  text-transform: uppercase; letter-spacing: .28em;
  font-size: .78rem; color: var(--amber);
  margin-bottom: 1.25rem;
}
.hero h1 {
  font-family: var(--sans);
  font-weight: 900;
  font-size: clamp(2.4rem, 8vw, 5rem);
  line-height: 1.05; letter-spacing: -0.015em;
  margin-bottom: 1.25rem;
}
.hero.compact h1 { font-size: clamp(2.2rem, 7vw, 4rem); }
.hero h1 .down, .hero h1 .accent { color: var(--amber); }
.hero h1 .line { display: block; }
.lede {
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  color: #cfcfcf; max-width: 44rem; margin: 0 auto 2rem;
  font-style: italic;
}
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 700; font-size: .9rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--asphalt); background: var(--amber);
  padding: .9rem 2rem; border-radius: 4px; text-decoration: none;
  border: none; cursor: pointer;
  transition: background .15s ease;
}
.btn:hover { background: var(--amber-soft); }
.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; }
.btn-ghost {
  background: transparent; color: var(--amber);
  box-shadow: inset 0 0 0 2px var(--amber);
}
.btn-ghost:hover { background: rgba(240, 169, 46, .12); }

/* Lone rider on an open highway: CC0 photo by Drew Coffman via StockSnap (see IMAGE-CREDITS.md).
   Darkened so the headline stays readable. */
.hero-photo {
  background:
    linear-gradient(rgba(20, 20, 20, .62), rgba(20, 20, 20, .9)),
    url('/img/hero-highway.jpg') 55% 55% / cover no-repeat;
}

/* ---- mission (dark band) ---- */
.mission { border-top: 1px solid #2a2a2a; }
.mission-inner {
  max-width: 60rem; margin: 0 auto;
  padding: clamp(2.5rem, 7vw, 4rem) clamp(1.25rem, 5vw, 3rem);
}
.mission h2 {
  font-family: var(--sans); text-align: center;
  font-size: clamp(1.3rem, 3.4vw, 1.75rem); font-weight: 800;
  margin-bottom: 2rem;
}
.mission ol {
  list-style: none; counter-reset: m;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem;
}
.mission li {
  counter-increment: m;
  background: var(--asphalt-2); border-left: 4px solid var(--amber);
  padding: 1.4rem 1.5rem; font-size: 1.08rem; color: #e4e1da;
}
.mission li::before {
  content: counter(m);
  display: block; font-family: var(--sans); font-weight: 900;
  font-size: 1.6rem; line-height: 1; color: var(--amber); margin-bottom: .6rem;
}

/* ---- paper (light) sections ---- */
.paper { background: var(--paper); color: var(--ink); }
.prose {
  max-width: 46rem; margin: 0 auto;
  padding: clamp(2.5rem, 7vw, 4.5rem) clamp(1.25rem, 5vw, 2rem);
}
.prose h2 {
  font-family: var(--sans);
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  font-weight: 800; letter-spacing: -0.01em;
  line-height: 1.25; margin-bottom: 1.75rem;
}
.prose h2 .accent { color: var(--amber-ink); }
.prose h2:not(:first-child) { margin-top: 3rem; }
.prose p { margin-bottom: 1.5rem; font-size: 1.08rem; }
.prose .dropcap::first-letter {
  font-size: 3.2em; float: left; line-height: .9;
  padding-right: .12em; font-weight: bold; color: var(--amber-dark);
}
.prose a { color: var(--amber-ink); text-underline-offset: 3px; }
.prose a:hover { color: var(--ink); }
.prose a.btn { color: var(--asphalt); }
.section-label {
  font-family: var(--sans);
  text-transform: uppercase; letter-spacing: .22em; font-size: .75rem;
  color: var(--amber-ink); margin: 2.75rem 0 .6rem;
}
h3.section-label { font-weight: 700; }
.prose ol.plain { margin: 0 0 1.5rem 1.4rem; font-size: 1.08rem; }
.prose ol.plain li { margin-bottom: .6rem; padding-left: .3rem; }
.rule { border: 0; height: 4px; margin: 3rem 0;
  background: repeating-linear-gradient(to right, var(--amber-dark) 0 32px, transparent 32px 64px); }

/* ---- mom's perspective ---- */
.perspective p { padding-left: 1.1rem; border-left: 3px solid #ddd5c4; }
.perspective p.aside { border-left: none; padding-left: 0; font-style: italic; color: #555; }

/* ---- before / after photos ---- */
.photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: .5rem 0 1rem; }
.photo-pair figure { background: #fff; padding: .5rem; border: 1px solid #ddd5c4; }
.photo-pair figcaption {
  font-family: var(--sans); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase;
  color: #555; text-align: center; padding-top: .45rem;
}
details.sensitive { margin: 0 0 2rem; }
details.sensitive summary {
  font-family: var(--sans); font-weight: 700; font-size: .9rem; cursor: pointer;
  color: var(--amber-ink); padding: .4rem 0;
}
details.sensitive .note { font-family: var(--sans); font-size: .9rem; color: #666; margin: .5rem 0 1rem; }

/* ---- pull quote ---- */
.quote-band { background: var(--asphalt-2); }
.quote-inner {
  max-width: 52rem; margin: 0 auto; text-align: center;
  padding: clamp(3rem, 8vw, 5rem) clamp(1.25rem, 5vw, 3rem);
}
.quote-inner .mark { font-size: 4rem; color: var(--amber); line-height: 1; }
.quote-inner blockquote {
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  font-style: italic; line-height: 1.45; color: var(--paper);
  margin: .5rem 0 1.25rem;
}
.quote-inner blockquote strong { color: var(--amber-soft); font-style: normal; }
.quote-inner figcaption {
  font-family: var(--sans);
  font-size: .85rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--muted);
}

/* ---- sponsors ---- */
.sponsors-inner {
  max-width: 72rem; margin: 0 auto; text-align: center;
  padding: clamp(2.5rem, 7vw, 4rem) clamp(1.25rem, 5vw, 3rem);
}
.sponsors h2 {
  font-family: var(--sans); font-size: clamp(1.2rem, 3vw, 1.5rem); font-weight: 800;
  margin-bottom: 2rem;
}
.sponsor-list {
  list-style: none; display: grid; gap: 1.25rem;
  grid-template-columns: repeat(4, 1fr); align-items: stretch;
}
.sponsor-list li {
  background: #fff; border-radius: 6px; padding: 1rem;
  display: flex; align-items: center; justify-content: center; min-height: 130px;
}
.sponsor-list img { max-height: 110px; width: auto; }

/* ---- memorials ---- */
.memorial-list { list-style: none; margin: 0 0 2rem; }
.memorial-list li {
  display: flex; align-items: baseline; gap: .9rem;
  background: #fff; border: 1px solid #ddd5c4; border-left: 4px solid var(--amber-dark);
  padding: 1.1rem 1.4rem; font-size: 1.2rem;
}
.memorial-list .rose { color: var(--amber-dark); font-size: 1rem; }
.callout {
  background: var(--asphalt); color: var(--paper);
  border-radius: 6px; padding: 1.75rem; margin: 2rem 0;
}
.callout p { color: #d8d5ce; }
.callout h2 { margin-bottom: .75rem; }

/* ---- contact ---- */
.contact-grid {
  max-width: 64rem; margin: 0 auto;
  display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(2rem, 5vw, 3.5rem);
  padding: clamp(2.5rem, 7vw, 4.5rem) clamp(1.25rem, 5vw, 2rem);
}
.contact-grid h2 {
  font-family: var(--sans);
  font-size: clamp(1.4rem, 3.4vw, 1.8rem); font-weight: 800; margin-bottom: .75rem;
}
.contact-grid .intro { color: #555; margin-bottom: 2rem; font-size: 1.05rem; }
.contact-details {
  font-style: normal; font-family: var(--sans); font-size: 1rem;
  background: #fff; border: 1px solid #ddd5c4; border-radius: 6px; padding: 1.5rem;
  align-self: start;
}
.contact-details h2 { font-size: 1.1rem; }
.contact-details address { font-style: normal; }
.contact-details dl { display: grid; gap: 1.1rem; }
.contact-details dt {
  font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--amber-ink);
}
.contact-details dd { line-height: 1.55; }
.contact-details a { color: var(--ink); text-underline-offset: 3px; }
.contact-details a:hover { color: var(--amber-ink); }

form.contact-form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: .35rem; }
.field label {
  font-family: var(--sans);
  font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: #555;
}
.field label .opt { font-weight: 400; text-transform: none; letter-spacing: 0; }
.field input, .field textarea, .field select {
  font-family: var(--sans);
  font-size: 1rem; color: var(--ink);
  border: 1px solid #b9b3a6; border-radius: 4px;
  padding: .8rem .9rem; background: #fff; width: 100%;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: 2px solid var(--amber-dark); outline-offset: 0; border-color: var(--amber-dark);
}
.field [aria-invalid="true"] { border-color: #b3261e; box-shadow: 0 0 0 1px #b3261e; }
.field textarea { min-height: 9rem; resize: vertical; }
fieldset.choice { border: 0; }
fieldset.choice legend {
  font-family: var(--sans);
  font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: #555; margin-bottom: .35rem;
}
fieldset.choice legend .opt { font-weight: 400; text-transform: none; letter-spacing: 0; }
.choice-row { display: flex; gap: 1.5rem; }
.choice-row label { font-family: var(--sans); font-size: 1rem; font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--ink); display: inline-flex; align-items: center; gap: .45rem; cursor: pointer; }
.choice-row input { width: 1.15rem; height: 1.15rem; accent-color: var(--amber-dark); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-family: var(--sans); font-size: .85rem; color: #666; }
.form-status {
  font-family: var(--sans);
  font-size: .95rem; font-weight: 600; border-radius: 4px;
  padding: .9rem 1.1rem; display: none;
}
.form-status.success { display: block; background: #e6f4ea; color: #1e7e34; border: 1px solid #b7e0c2; }
.form-status.error { display: block; background: #fdecea; color: #b3261e; border: 1px solid #f5c6c0; }
button.btn-submit { justify-self: start; padding: .9rem 2.2rem; }
button.btn-submit:disabled { opacity: .6; cursor: wait; }

/* ---- contact teaser (home) ---- */
.teaser { text-align: center; }
.teaser .prose p { color: #444; }
.teaser address { font-style: normal; font-family: var(--sans); color: #444; margin-top: 2rem; line-height: 1.7; }
.teaser address a { color: var(--ink); }

/* ---- footer ---- */
.site-footer { border-top: 1px solid #2a2a2a; }
.footer-inner {
  max-width: 72rem; margin: 0 auto;
  padding: 2rem clamp(1.25rem, 5vw, 3rem) 2.5rem;
  display: flex; flex-wrap: wrap; gap: 1rem 2rem;
  align-items: flex-start; justify-content: space-between;
  font-family: var(--sans); font-size: .85rem; color: var(--muted); line-height: 1.6;
}
.footer-inner address { font-style: normal; }
.footer-inner a { color: #c9c9c9; text-underline-offset: 3px; }
.footer-inner a:hover { color: var(--amber-soft); }
.footer-meta { display: grid; gap: .25rem; text-align: right; }

@media (max-width: 860px) {
  .sponsor-list { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .form-row, .mission ol, .photo-pair { grid-template-columns: 1fr; }
  /* Multi-page site: keep nav reachable on phones instead of hiding it. */
  .nav-inner { flex-direction: column; gap: .4rem; padding-top: .65rem; padding-bottom: .55rem; }
  .nav-links { gap: 1.1rem; }
  .nav-links a { font-size: .74rem; letter-spacing: .08em; }
  .footer-meta { text-align: left; }
  .photo-pair { max-width: 22rem; margin-left: auto; margin-right: auto; }
}
