/* ========== THEME / GLOBAL ========== */
:root {
  --bg: #0b0b0d;
  --ink: #e9ebef;
  --muted: #cfd3dc;
  --line: #23242a;
  --accent: #5799cc;
  --active: #020a33;

  --font-sans: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-serif: "Merriweather", "Georgia", "Times New Roman", serif;
}

/* ========== BUTTON SYSTEM ========== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;

  padding: 0.62rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;

  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;

  text-decoration: none;
  cursor: pointer;

  background: transparent;
  color: var(--ink);

  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.12s ease;
}

.btn:focus-visible {
  outline: 2px solid var(--active);
  outline-offset: 3px;
}

/* SOLID PRIMARY */
.btn.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #03040a;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.55);
}

.btn.primary:hover {
  background: var(--active);
  border-color: var(--active);
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.65);
}

.btn.primary:active {
  transform: translateY(0);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.55);
}

/* OUTLINE / GHOST (used in hero + mid-page CTAs) */
.btn.ghost,
.btn.outline {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--accent);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.45);
}

.btn.ghost:hover,
.btn.outline:hover {
  background: rgba(87, 153, 204, 0.14); /* var(--accent) with alpha */
  border-color: var(--accent);
  color: var(--ink);
}

/* SMALLER, TEXTIER VARIANT (use for "Share your ride") */
.btn.small {
  padding: 0.45rem 1.0rem;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
}

/* HERO BUTTON TWEAKS — a bit tighter than donate buttons */
.hero-bg .btn.hero-btn {
  padding: 0.55rem 1.25rem;
  font-size: 0.78rem;
}

/* GIVING CARDS — make buttons a bit more prominent */
.giving-card .btn,
.donate-card .btn {
  padding: 0.7rem 1.6rem;
  font-size: 0.84rem;
}


*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.6;
   font-size: 16px;
  scroll-behavior: smooth;
}

/* Headings: Merriweather for the “memorial” feel */
h1,
h2,
h3,
h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  margin-top: 0;
}

h5,
h6 {
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Eyebrow / kicker text above headings */
.eyebrow,
.section-kicker {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}

/* Muted / small text */
.muted,
small,
.caption {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--muted);
}

/* All buttons and clickable controls = Barlow, consistent */
button,
.btn,
.tribute-btn,
input[type="button"],
input[type="submit"],
input[type="reset"] {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Remove underlines by default on styled anchors acting as buttons */
a.btn,
.tribute-btn {
  text-decoration: none;
}


/* Anchor targets won’t hide under sticky header */
section[id] {
  scroll-margin-top: 90px;
}

/* ========== HERO ========== */

.hero-full {
  position: relative;
  width: 100%;
  min-height: 72vh;

  display: flex;
  align-items: center;
  justify-content: flex-start;

  color: var(--ink);
  overflow: hidden;

  /* HERO IMAGE — update filename if needed */
  background-image: url("assets/images/joebluebike.png");
  background-size: cover;
  background-position: center 5%;
  background-repeat: no-repeat;
}

/* Dark gradient over the image, heavier on the left */
.hero-full::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to right,
      rgba(0, 0, 0, 0.85),
      rgba(0, 0, 0, 0.55) 45%,
      rgba(0, 0, 0, 0.18) 75%,
      rgba(0, 0, 0, 0.0) 100%
    );
  z-index: 0;
}

/* TEXT PANEL */
.hero-bg {
  position: relative;
  z-index: 1;

  max-width: 38rem;

  /* LEFT ALIGNMENT, NOT CENTERED */
  margin-left: clamp(1.5rem, 6vw, 4.5rem);
  margin-right: auto;

  padding: 2.25rem 2.5rem 2.75rem;

  background: rgba(0, 0, 0, 0.45);
  border-radius: 0.85rem;
  backdrop-filter: blur(4px);

  /* Softer shadow so it doesn’t look like a floating sticker */
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.55);
}

/* TEXT ELEMENTS */

/* TEXT ELEMENTS */

.hero-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  opacity: 0.85;
  margin: 0 0 0.5rem 0;
}

.hero-title {
  font-size: clamp(2.6rem, 4.2vw, 3.2rem);
  line-height: 1.05;
  font-weight: 700;
  margin: 0 0 0.25rem 0;
}

/* COAST GUARD. STATE TROOPER. RIDER. */
.hero-subtitle {
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  opacity: 0.88;

  margin: 0 0 1.1rem 0;
}

/* Good man. Long career. But you’d never hear him say it. */
.hero-lead {
  font-size: 1.02rem;
  line-height: 1.6;
  font-weight: 400;
  opacity: 0.96;

  margin: 0 0 1.6rem 0;
  max-width: 32rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 0 0 1.2rem 0;
}

.hero-tag {
  font-size: 0.9rem;
  opacity: 0.9;
  max-width: 32rem;
}


/* ========== HERO — RESPONSIVE ========== */

@media (max-width: 880px) {
  .hero-full {
    min-height: 82vh;
    align-items: flex-end;
  }

  .hero-bg {
    margin-left: 1.25rem;
    margin-right: 1.25rem;
    margin-bottom: 2.3rem;
    max-width: 100%;
    padding: 1.85rem 1.5rem 2.1rem;
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.65);
  }

  .hero-title {
    font-size: 2.1rem;
  }
}


/* ========== HEADER / NAV (logo left, links right) ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(11, 11, 13, 0.78);
  -webkit-backdrop-filter: blur(8px) saturate(130%);
  backdrop-filter: blur(8px) saturate(130%);
  border-bottom: 1px solid var(--line);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  max-width: 1100px;
  margin: 0 auto;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.4px;
  color: var(--ink);
  text-decoration: none;
}

.brand-accent {
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  padding: 8px 4px;
  border-radius: 8px;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: #fff;
}

.nav-links a.active {
  color: #fff;
  box-shadow: inset 0 -2px 0 0 var(--active);
}

.pill {
  border: 1px solid var(--line);
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--ink);
}

/* Hamburger */
.nav-toggle {
  display: none;
  position: relative;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}

.nav-toggle .bar {
  position: absolute;
  left: 9px;
  right: 9px;
  height: 2px;
  background: var(--ink);
  transform-origin: center;
  transition: 0.2s ease;
}

.nav-toggle .bar:nth-child(1) {
  top: 12px;
}
.nav-toggle .bar:nth-child(2) {
  top: 19px;
}
.nav-toggle .bar:nth-child(3) {
  top: 26px;
}

.nav-toggle[aria-expanded="true"] .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav */
@media (max-width: 860px) {
  .nav-toggle {
    display: inline-block;
  }

  .nav-links {
    position: absolute;
    top: 60px;
    right: 16px;
    left: 16px;
    display: grid;
    gap: 10px;
    padding: 12px;
    background: #141418;
    border: 1px solid var(--line);
    border-radius: 14px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: 0.18s ease;
  }

  .nav-links.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
}

/* ========== SERVICE CARDS ========== */

/* Grid for the two cards */
.service-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

@media (max-width: 900px) {
  .service-grid {
    grid-template-columns: 1fr;
  }
}

/* Card base */
.service-card {
  position: relative;
  border: 1px solid #23242a;
  border-radius: 16px;
  padding: 28px 32px;
  color: #e9ebef;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
  background-image:
    linear-gradient(180deg, rgba(18,19,22,0.95) 0%, rgba(18,19,22,0.85) 50%, rgba(18,19,22,0.95) 100%);
  

  background-position: center 20%;
  background-size: cover;
  background-repeat: no-repeat;
}

/* Inset accent bar */
.service-card::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 10px;
  bottom: 10px;
  width: 3px;
  border-radius: 3px;
  background: var(--svc-accent, #5799cc);
  opacity: 0.5;
}

/* Accent colors per card */
.service-card--uscg {
  --svc-accent: #1276ce; /* USCG blue */
  background-image:
    linear-gradient(rgba(18, 19, 22, 0.92), rgba(18, 19, 22, 0.92)),
    url("assets/images/joecoastguard.jpg");
  background-position: center 22%;
}

.service-card--msp {
  --svc-accent: #3a5e8c; /* MSP blue */
  background-image:
    linear-gradient(rgba(18, 19, 22, 0.9), rgba(18, 19, 22, 0.9)),
    url("assets/images/joetroopold.jpg");
  background-position: 85% 5%;  /* tweak to keep his head in frame */
  background-size: 110%;        /* subtle zoom */
}

/* Header: logo + title */
#service.section-pad {
  padding-top: 40px;
}

.section-header {
  max-width: 720px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.section-header p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}


.service-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-left: 12px; /* clears accent bar */
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding-bottom: 12px;
  margin-bottom: 18px;
}

.service-card__logo {
  width: 40px;
  height: auto;
  display: block;
}

.service-card__title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: #e9ebef;
}

/* Details list */
.service-card__list {
  list-style: none;
  margin: 0;
  padding: 0 0 0 12px; /* align with header text edge */
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr 1fr;
}

.service-card__list .span2 {
  grid-column: 1 / -1; /* long line spans full row */
}

.service-card__list .label {
  display: block;
  color: #b7bcc7;
  font-size: 0.92rem;
}

.service-card__list .value {
  display: block;
  color: #e9ebef;
  font-weight: 600;
}

/* Single-column list on narrow screens */
@media (max-width: 600px) {
  .service-card__list {
    grid-template-columns: 1fr;
  }
}

/* ========== IMAGES (ROADS / MAP) ========== */

.us-map {
  display: block;
  max-width: 75%;
  width: 90%;
  margin: 20px auto 0;
}

/* === Generic layout helpers === */
.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

.section-pad {
  padding: 60px 0;
}

/* Thin strip under the hero */
.strip {
  background: #111116;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.95rem;
  padding-bottom: .5rem;
  margin-bottom: 32px;
  margin-top: 0;
  padding-top: .5rem;
}

.strip .wrap {
  text-align: center;
  color: var(--muted);
}

.strip strong {
  color: var(--ink);
}

.strip p {
  line-height: 1.7;
  font-size: 0.98rem;
}


/* Two-column layout (for “The Road” section) */
.two-col .wrap {
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: start;
}

@media (max-width: 900px) {
  .two-col .wrap {
    grid-template-columns: 1fr;
  }
}

/* ===== SANDY'S STORY / TRIBUTE ===== */

.story-section{
  padding: 72px 16px 40px;
  background: #101015;
}

.story-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.story-kicker {
  margin: 0 0 4px;
  margin-bottom: 18px;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.75;
}

.story-body {
  font-size: 0.98rem;
  line-height: 1.8;
  color: #dadde4;
}

.story-body p {
  margin: 0 0 1.2em;
}

.story-body-signature {
  display: block;
  width: 140px;     
  height: auto;
  margin: 1.75rem 0 0; 
  opacity: 0.95;      
}

/* tighten a bit on small screens */
@media (max-width: 600px) {
  .story-section {
    padding: 48px 16px 32px;
  }

  .story-body {
    font-size: 0.96rem;
  }
}

#service.section-pad {
  padding-top: 32px;
}

.section-divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.05);
  margin: 32px 0 48px;
}

/* ===== ROADS HE TRAVELED (Nemo + focused copy) ===== */

.road-section {
  background: radial-gradient(circle at top left, rgba(87, 153, 204, 0.06), #0c0c10 60%);
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  padding-top: 70px;  
}

/* Bigger Nemo hero */
.road-hero {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 40px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.6);
}

/* subtle fade into the section background at the bottom */
.road-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 80px;
  background: linear-gradient(to bottom, transparent, rgba(11, 11, 13, 0.95));
  pointer-events: none;
}

.road-hero-bg {
  display: block;
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: center;
}

/* Overlay plate */
.road-hero-overlay {
  position: absolute;
  left: 8%;
  bottom: 12%;
  max-width: 500px;
  padding: 14px 18px;
  border-radius: 14px;

  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.55),
    rgba(0, 0, 0, 0.35)
  );
  color: var(--ink);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}


.road-hero-overlay h2 {
  margin: 0 0 4px;
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 700;
}

.road-hero-overlay .muted {
  margin: 0 0 8px;
}

.road-hero-meta {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

/* Small chips with stats */
.road-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.6rem;
}

.road-chip {
  font-size: 0.78rem;
  border-radius: 999px;
  padding: 0.22rem 0.7rem;
  border: 1px solid rgba(233, 235, 239, 0.35);
  background: rgba(6, 7, 10, 0.65);
}

/* Layout under Nemo: copy + playlist */
.road-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 32px;
  align-items: flex-start;
}

@media (max-width: 900px) {
  .road-hero-bg {
    height: 280px;
  }

  .road-hero-overlay {
    left: 6%;
    right: 6%;
    bottom: 10%;
    max-width: none;
  }

  .road-layout {
    grid-template-columns: 1fr;
  }
}

/* Shared label */
.road-label {
  margin: 0 0 6px;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.8;
}

.road-route-name {
  margin: 0 0 10px;
  font-size: 1.15rem;
  font-weight: 600;
}

.road-copy p {
  margin: 0 0 12px;
}

/* Playlist block */
.road-playlist-block {
  max-width: 420px;
  width: 100%;
  margin-left: auto;
}

.road-playlist-note {
  margin: 0 0 0.6rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.road-playlist-card {
  border-radius: 12px;
  border: 1px solid rgba(35, 36, 42, 0.7);
  background: #101015;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}


.road-playlist-card iframe {
  display: block;
  width: 100%;
  border: none;
}

/* Horizontal road gallery under copy/playlist */
.road-gallery {
  margin-top: 48px;
}

.road-gallery-track {
  margin-top: 12px;
  display: flex;
  gap: 0;                          
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

/* hide ugly scrollbar in most browsers, keep it functional */
.road-gallery-track::-webkit-scrollbar {
  height: 6px;
}
.road-gallery-track::-webkit-scrollbar-track {
  background: transparent;
}
.road-gallery-track::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.16);
  border-radius: 999px;
}

.road-slide {
  flex: 0 0 360px;                
  scroll-snap-align: start;
  border-radius: 14px;
  overflow: hidden;
  background: #101015;
  border: 1px solid rgba(35, 36, 42, 0.5);   
  margin-right: 8px;              
  box-shadow: 0 10px 24px rgba(0,0,0,0.35);  
}

@media (min-width: 1100px) {
  .road-slide {
    flex-basis: 380px;
  }
}

.road-slide img {
  display: block;
  width: 100%;
  height: 200px;                   
  object-fit: cover;
  object-position: center;         
}

.road-slide figcaption {
  padding: 12px 14px 14px;
}

.road-slide:last-child {
  margin-right: 0;                 
}

.road-slide img.top-focus {
  object-position: 50% 35%;
}

.road-slide-name {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 3px;
}

.road-slide-meta {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
}


/* ===== TRIBUTE RIDE FEATURE (FIFTY FOR JOE) ===== */

.tribute-section {
  background: radial-gradient(circle at top right, rgba(87, 153, 204, 0.10), #101015 60%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.tribute-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.15fr);
  gap: 48px;
  align-items: stretch;
}

/* Stack on smaller screens */
@media (max-width: 960px) {
  .tribute-shell {
    grid-template-columns: 1fr;
  }

  .tribute-map-card {
    max-width: 520px;
    margin: 6px auto 0;
  }
}

.tribute-left h2 {
  margin: 6px 0 10px;
}

.tribute-lead {
  margin: 0 0 16px;
}

/* Progress bar */
.tribute-progress {
  margin: 4px 0 18px;
  margin-top: 14px;  
  margin-bottom: 18px;
  max-width: 85%;
}

.progress-labels {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 6px;
  font-size: 0.82rem;
  color: var(--muted);
}

.progress-count {
  font-weight: 600;
  color: var(--ink);
}

.progress-track {
  position: relative;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.progress-fill {
  width: calc(43 / 50 * 100%);
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #4d73ff, #5799cc);
}

/* Stats row */
.tribute-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 16px;
}

.tribute-stat {
  flex: 1 1 120px;
  min-width: 150px;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid rgba(35, 36, 42, 0.9);
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.03), #09090d);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.stat-label {
  margin: 0 0 4px;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.85;
}

.stat-value {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--ink);
}

/* Copy and buttons */
.tribute-copy {
  margin: 4px 0 18px;
  color: var(--muted);
}

.tribute-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* MAP CARD */

.tribute-map-card {
  display: flex;
  flex-direction: column;
  background: #0b0b11;
  border-radius: 20px;
  border: 1px solid #23242a;
  padding: 18px 20px 16px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5);
}

.map-header {
  margin-bottom: 6px;
}

.map-eyebrow {
  margin: 0 0 2px;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.85;
}

.map-subtitle {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.map-body {
  margin: 14px 0 14px;
}

.tribute-map {
  display: block;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
}

/* Caption + legend */

.dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  display: inline-block;
}

.dot-joe {
  background: #4c8ee8;
}

.dot-tribute {
  background: #3a5e8c;
}

.dot-open {
  background: #020a33;
}

.map-legend {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
  font-size: 0.82rem;
  color: var(--muted);
  display: grid;
  gap: 4px;
}

.map-legend li {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ===== STORIES FOR THE ROAD ===== */

.stories-section {
  background: #09090d;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.stories-wrap {
  margin: 0 auto;
}

.stories-header h2 {
  margin-bottom: 6px;
}

.stories-header p {
  margin: 0 0 18px;
  color: var(--muted);
}

/* Card container */
.stories-card {
  margin-top: 4px;
  padding: 22px 22px 20px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.02), #101015);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5);
}

/* Layout inside form */
.stories-card form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.stories-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.stories-row label {
  flex: 1 1 220px;
}

/* Fields */
.field-label {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.stories-card input,
.stories-card textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #2b2d37;
  background: #06070b;
  color: var(--ink);
  font: inherit;
  resize: vertical;
}

.stories-card input::placeholder,
.stories-card textarea::placeholder {
  color: #707487;
}

.stories-card input:focus,
.stories-card textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(87, 153, 204, 0.35);
}

/* Button + helper text */
.stories-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin-top: 6px;
}

/* Mobile tweaks */
@media (max-width: 640px) {
  .stories-card {
    padding: 18px 16px 18px;
  }

  .stories-row {
    flex-direction: column;
  }
}

/* ===== STORIES FOR THE ROAD ===== */

.stories-section {
  background: #09090d;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

/* .wrap already handles max-width / padding; this just lets us tweak inside */
.stories-wrap {
  /* rely on .wrap for width; no extra max-width clamp here */
}

.stories-header h2 {
  margin-bottom: 6px;
}

.stories-header p {
  margin: 0 0 18px;
  color: var(--muted);
}

/* Layout: photo + form side by side */
.stories-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  column-gap: 0;              /* no gutter – they touch */
  align-items: stretch;       /* make columns equal height */
  margin-top: 24px;
}

/* PHOTO SIDE */

.stories-photo figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: radial-gradient(circle at top left, rgba(255,255,255,0.02), #101015);
  border-radius: 18px 0 0 18px;         /* outer-left corners only */
  border: 1px solid var(--line);
  box-shadow: 0 12px 36px rgba(0,0,0,0.5);
  overflow: hidden;
}

.stories-photo img {
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.stories-photo figcaption {
  padding: 10px 14px 14px;
}


/* FORM SIDE */

.stories-card {
  margin-top: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 0 18px 18px 0;         /* outer-right corners only */
  border: 1px solid var(--line);
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.02), #101015);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5);
}

.stories-card form {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.stories-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.stories-row label {
  flex: 1 1 220px;
}

/* Field labels + inputs */

.field-label {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.stories-card input,
.stories-card textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #2b2d37;
  background: #06070b;
  color: var(--ink);
  font: inherit;
  resize: vertical;
}

.stories-card input::placeholder,
.stories-card textarea::placeholder {
  color: #707487;
}

.stories-card input:focus,
.stories-card textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(87, 153, 204, 0.35);
}

/* Button + helper text */

.stories-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin-top: 6px;
}


/* Mobile: stack photo above form */

@media (max-width: 800px) {
  .stories-layout {
    grid-template-columns: 1fr;
    row-gap: 16px;
  }

  .stories-photo figure,
  .stories-card {
    border-radius: 18px;
  }
}



/* ===== STORIES WALL ===== */

.stories-wall {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.stories-wall-header h3 {
  margin: 0 0 4px;
  font-size: 1.1rem;
}

.stories-wall-header p {
  margin: 0 0 16px;
}

.stories-grid {
  display: grid;
  gap: 18px;
}

/* Story card */
.story-card {
  border-radius: 16px;
  border: 1px solid rgba(35, 36, 42, 0.9);
  background: #101015;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  padding: 16px 18px 14px;
}

.story-card-header {
  margin-bottom: 6px;
}

.story-name {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.story-meta {
  margin: 2px 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}

/* Body text */
.story-body {
  margin-top: 6px;
  font-size: 0.95rem;
  color: #dadde4;
}

.story-body p {
  margin: 0 0 0.6em;
}

/* Optional photo block */
.story-photo {
  margin: 10px 0 0;
}

.story-photo img {
  display: block;
  width: 100%;
  max-height: 260px;
  object-fit: cover;
  border-radius: 10px;
}

/* Mobile tweaks */
@media (max-width: 640px) {
  .stories-card {
    padding: 18px 16px 18px;
  }

  .stories-row {
    flex-direction: column;
  }
}

/* ========== DONATE / TRIBUTE CARDS ========== */

.donate {
  position: relative;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at top left, rgba(87, 153, 204, 0.08), transparent 55%),
    radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.03), transparent 60%),
    var(--bg);
}

.donate-header {
  max-width: 44rem;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.donate-header h2 {
  margin-bottom: 0.5rem;
}

.donate-header .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

/* Grid */
.donate-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.75rem;
}

@media (min-width: 720px) {
  .donate-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .donate-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}


/* Tribute cards */
.tribute-card {
  position: relative;
  overflow: hidden;
  padding: 1.5rem 1.5rem 1.25rem;
  border-radius: 0.9rem;
  background:
    linear-gradient(135deg, #10121a, #151822);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.75),
    0 0 0 1px rgba(255, 255, 255, 0.01);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Faint "patch" texture band at the top */
.tribute-ribbon {
  position: absolute;
  inset: 0;
  height: 0.3rem;
  background:
    repeating-linear-gradient(
      90deg,
      #5799cc,
      #5799cc 18%,
      #f7f5e7 18%,
      #f7f5e7 36%,
      #c35c3e 36%,
      #c35c3e 54%,
      #10121a 54%,
      #10121a 72%
    );
  opacity: 0.7;
}

.ribbon-alt {
  filter: hue-rotate(-12deg) saturate(0.95);
}

.tribute-body {
  position: relative;
  margin-top: 0.5rem;
}

.tribute-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin: 0 0 0.3rem;
}

.tribute-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.2rem;
}

.tribute-card .muted {
  font-size: 0.9rem;
}

/* Footer */
.tribute-footer {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  justify-content: space-between;
}

.tribute-tag {
  font-size: 0.75rem;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(207, 211, 220, 0.22);
  color: var(--muted);
  backdrop-filter: blur(10px);
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.04), transparent 60%);
}

/* Button tweak specific to this section */
.tribute-btn {
  font-size: 0.85rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--accent);
  background: transparent;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  cursor: pointer;
  transition:
    background 160ms ease,
    color 160ms ease,
    border-color 160ms ease,
    transform 120ms ease;
}

.tribute-btn:hover,
.tribute-btn:focus-visible {
  background: var(--accent);
  color: #05060a;
  border-color: var(--accent);
  transform: translateY(-1px);
}

/* Little closing note under the grid */
.donate-note {
  max-width: 40rem;
  margin: 2rem auto 0;
  font-size: 0.85rem;
  text-align: center;
  color: var(--muted);
}






