/* ==========================================================================
   F3 Orlando — stylesheet
   Dark, rugged, high-contrast. Red accent over black/white.
   ========================================================================== */

:root {
  --bg:          #0a0a0a;
  --surface:     #141414;
  --surface-2:   #1c1c1c;
  --fg:          #f5f5f5;
  --muted:       #a3a3a3;
  --accent:      #c1121f;
  --accent-2:    #e01e2b;
  --on-accent:   #ffffff;
  --border:      #2a2a2a;
  --border-2:    #3a3a3a;
  --ring:        #e01e2b;

  --maxw: 1200px;
  --radius: 4px;
  --radius-lg: 8px;

  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-6: 48px;
  --space-8: 64px;
  --space-12: 96px;

  --font-head: "Oswald", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  color-scheme: dark;

  --t-fast: 150ms ease;
  --t: 220ms ease;
}

/* Reset ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin: 0 0 var(--space-2);
}
h1 { font-size: clamp(2.4rem, 7vw, 4.75rem); }
h2 { font-size: clamp(1.8rem, 4.5vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.6rem); }
p  { margin: 0 0 var(--space-2); color: #e6e6e6; }
.lead { font-size: clamp(1.05rem, 2.2vw, 1.375rem); color: #d4d4d4; }
.eyebrow {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--accent-2);
  margin: 0 0 var(--space-1);
}

/* Layout ------------------------------------------------------------------ */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--space-3); }
.section { padding-block: var(--space-12); }
.section--tight { padding-block: var(--space-8); }
.center { text-align: center; }
.stack > * + * { margin-top: var(--space-2); }

/* Skip link --------------------------------------------------------------- */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--accent); color: var(--on-accent);
  padding: 12px 20px; border-radius: var(--radius);
}
.skip-link:focus { left: 12px; top: 12px; }

/* Focus visibility -------------------------------------------------------- */
a:focus-visible, button:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 3px;
  border-radius: var(--radius);
}

/* Draft banner ------------------------------------------------------------ */
.draft-banner {
  background: repeating-linear-gradient(45deg, #3a2a00, #3a2a00 12px, #2e2100 12px, #2e2100 24px);
  color: #ffd666;
  border-bottom: 2px solid #6b5200;
  font-size: 0.85rem;
  text-align: center;
  padding: 8px var(--space-3);
}
.draft-banner strong { color: #ffe9a6; }

/* Header / nav ------------------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(10,10,10,0.85);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-3); min-height: 68px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-head); text-transform: uppercase; font-weight: 700; letter-spacing: 0.04em; font-size: 1.15rem; }
.brand img { width: 40px; height: 40px; }
.brand .accent-bar { width: 6px; height: 26px; background: var(--accent); border-radius: 2px; }
.nav-links { display: flex; align-items: center; gap: var(--space-1); list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: inline-block; padding: 10px 14px; border-radius: var(--radius);
  font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.05em;
  font-weight: 500; font-size: 0.95rem; color: var(--muted);
  transition: color var(--t-fast), background var(--t-fast);
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--fg); background: var(--surface-2); }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--border-2);
  color: var(--fg); border-radius: var(--radius); padding: 8px; cursor: pointer;
  min-width: 44px; min-height: 44px;
}

/* Buttons ----------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.06em;
  font-weight: 600; font-size: 1rem;
  padding: 14px 26px; border-radius: var(--radius); cursor: pointer;
  border: 2px solid transparent; transition: transform var(--t-fast), background var(--t-fast), border-color var(--t-fast), color var(--t-fast);
  min-height: 48px;
}
.btn--primary { background: var(--accent); color: var(--on-accent); }
.btn--primary:hover { background: var(--accent-2); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--fg); border-color: var(--border-2); }
.btn--ghost:hover { border-color: var(--fg); transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; }

/* Hero -------------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  padding-block: clamp(var(--space-8), 12vw, var(--space-12));
  background:
    radial-gradient(1200px 500px at 50% -10%, rgba(193,18,31,0.18), transparent 60%),
    linear-gradient(180deg, #050505, var(--bg));
  border-bottom: 1px solid var(--border);
}
.hero__inner { display: grid; gap: var(--space-6); justify-items: center; text-align: center; }
.hero__inner .stack { display: grid; justify-items: center; width: 100%; }
.hero__logo { width: clamp(140px, 26vw, 220px); height: auto; filter: drop-shadow(0 8px 30px rgba(0,0,0,0.6)); }
.hero h1 { max-width: 16ch; }
.hero .lead { max-width: 60ch; }
.hero__cta { display: flex; gap: var(--space-2); flex-wrap: wrap; justify-content: center; }
.hero__stats { display: flex; gap: var(--space-6); flex-wrap: wrap; justify-content: center; margin-top: var(--space-2); }
.stat { text-align: center; }
.stat b { font-family: var(--font-head); font-size: 2.2rem; display: block; line-height: 1; }
.stat span { color: var(--muted); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.75rem; }

/* AO grid ----------------------------------------------------------------- */
.ao-grid {
  display: grid; gap: var(--space-3);
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
}
.ao-card {
  display: flex; flex-direction: column; gap: var(--space-2);
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: var(--space-3); transition: transform var(--t), border-color var(--t), background var(--t);
  height: 100%;
}
.ao-card:hover { transform: translateY(-4px); border-color: var(--accent); background: var(--surface-2); }
.ao-card__logo { width: 84px; height: 84px; }
.ao-card__type {
  align-self: flex-start; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent-2); border: 1px solid var(--border-2); border-radius: 999px; padding: 3px 10px;
}
.ao-card h3 { margin: 0; }
.ao-card__meta { color: var(--muted); font-size: 0.9rem; margin-top: auto; }
.ao-card__meta strong { color: var(--fg); font-weight: 600; }
.ao-card__cta { display: inline-flex; align-items: center; gap: 6px; color: var(--accent-2); font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.9rem; }
.ao-card:hover .ao-card__cta svg { transform: translateX(4px); }
.ao-card__cta svg { width: 16px; height: 16px; transition: transform var(--t-fast); }

/* Feature grid (principles) ---------------------------------------------- */
.feature-grid { display: grid; gap: var(--space-3); grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.feature {
  background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--accent);
  border-radius: var(--radius-lg); padding: var(--space-3);
}
.feature h3 { font-size: 1.15rem; }
.feature p { color: var(--muted); margin: 0; }

/* Location page ----------------------------------------------------------- */
.loc-hero { display: grid; gap: var(--space-3); justify-items: center; text-align: center; max-width: 760px; margin-inline: auto; }
.loc-hero__logo { width: 168px; height: 168px; }
.loc-hero .lead { max-width: 60ch; }
.loc-meta { display: grid; gap: var(--space-2); grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); margin-block: var(--space-4); }
.loc-meta__item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-3); text-align: center; }
.loc-meta__item .eyebrow { margin-bottom: 6px; }
.loc-meta__item .val { font-family: var(--font-head); font-size: 1.3rem; text-transform: uppercase; }
.schedule-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-1); }
.schedule-list li { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: var(--space-2); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 16px; }
.schedule-list .day { font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.05em; }
.schedule-list .sess-type { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--border-2); border-radius: 999px; padding: 2px 10px; white-space: nowrap; }
.schedule-list .time { color: var(--accent-2); font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }

/* NEO / network tag on cards */
.net-tag { display: inline-block; margin-left: 8px; font-size: 0.62rem; letter-spacing: 0.12em; color: #0a0a0a; background: var(--accent-2); border-radius: 999px; padding: 2px 7px; vertical-align: middle; }

/* Video hero (What is F3) */
.video-hero { position: relative; overflow: hidden; min-height: 62vh; display: flex; align-items: flex-end; border-bottom: 1px solid var(--border); }
.video-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.video-hero__overlay { position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(5,5,5,0.55) 0%, rgba(5,5,5,0.35) 40%, rgba(5,5,5,0.92) 100%); }
.video-hero__inner { position: relative; z-index: 2; padding-block: var(--space-8); }
.video-hero__inner .breadcrumb { color: #d0d0d0; }
.video-hero__inner .breadcrumb a { color: #fff; }
@media (prefers-reduced-motion: reduce) {
  .video-hero__bg { display: none; }
  .video-hero { background: linear-gradient(180deg, #050505, var(--bg)); min-height: auto; }
}
.breadcrumb { font-size: 0.85rem; color: var(--muted); margin-bottom: var(--space-3); }
.breadcrumb a:hover { color: var(--fg); }

/* Video (What is F3) ------------------------------------------------------ */
.video-wrap { max-width: 900px; margin-inline: auto; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); background: #000; }
.video-wrap video { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; background: #000; display: block; cursor: pointer; }

/* Footer ------------------------------------------------------------------ */
.site-footer { border-top: 1px solid var(--border); background: #050505; padding-block: var(--space-6); margin-top: var(--space-8); }
.footer-grid { display: grid; gap: var(--space-4); grid-template-columns: 2fr 1fr 1fr; }
.footer-grid h4 { font-size: 0.85rem; letter-spacing: 0.14em; color: var(--muted); }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-links a { color: #cfcfcf; }
.footer-links a:hover { color: var(--fg); }
.footer-bottom { margin-top: var(--space-6); padding-top: var(--space-3); border-top: 1px solid var(--border); color: var(--muted); font-size: 0.85rem; display: flex; justify-content: space-between; gap: var(--space-2); flex-wrap: wrap; }

.footer-legal a { color: #cfcfcf; }
.footer-legal a:hover { color: var(--fg); }

/* Tips for your first workout */
.tips { max-width: 768px; margin-inline: auto; }
.tips p { color: #d4d4d4; line-height: 1.8; margin-bottom: var(--space-2); }
.tips h3 { margin: var(--space-4) 0 10px; font-size: 1.2rem; }
.tips ul { margin: 0 0 var(--space-2); padding: 0; list-style: none; display: grid; gap: 10px; }
.tips li { position: relative; padding-left: 26px; color: #d4d4d4; line-height: 1.6; }
.tips li::before { content: ""; position: absolute; left: 0; top: 9px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.tips a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 2px; }
.tips a:hover { color: var(--fg); }
.tips strong { color: var(--fg); }

/* Legal / disclaimer copy */
.legal { max-width: 760px; margin-inline: auto; }
.legal p { color: #cfcfcf; margin-bottom: var(--space-2); line-height: 1.75; }
.legal p:first-child { font-size: 1.1rem; color: var(--fg); }
.legal .muted, p.muted { color: var(--muted); font-size: 0.9rem; }
.legal--doc { text-align: left; }
.legal--doc h2 { font-size: 1.4rem; margin: var(--space-4) 0 var(--space-2); padding-top: var(--space-2); border-top: 1px solid var(--border); }
.legal--doc h3 { font-size: 1.1rem; margin: var(--space-3) 0 8px; color: var(--fg); }
.legal--doc h4 { font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--accent-2, var(--accent)); margin: var(--space-2) 0 6px; }
.legal--doc p:first-child { font-size: 1rem; }
.legal--doc ul { margin: 0 0 var(--space-2) 1.1em; padding: 0; color: #cfcfcf; }
.legal--doc li { margin-bottom: 8px; line-height: 1.7; }
.legal--doc a { color: var(--fg); text-decoration: underline; text-underline-offset: 2px; }
.legal--doc a:hover { color: var(--accent-2, var(--accent)); }

/* Photo gallery + lightbox */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 980px; margin-inline: auto; }
.gallery__item { padding: 0; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; cursor: pointer; background: var(--surface); aspect-ratio: 4 / 3; position: relative; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t), opacity var(--t); }
.gallery__item::after { content: ""; position: absolute; inset: 0; background: rgba(193,18,31,0); transition: background var(--t); }
.gallery__item:hover img, .gallery__item:focus-visible img { transform: scale(1.06); }
.gallery__item:hover::after { background: rgba(193,18,31,0.12); }
.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; background: rgba(2,2,2,0.92); backdrop-filter: blur(4px); }
.lightbox[hidden] { display: none; }
.lightbox__img { max-width: 92vw; max-height: 88vh; border-radius: var(--radius); border: 1px solid var(--border-2); }
.lightbox__close { position: absolute; top: 18px; right: 22px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--border-2); background: rgba(20,20,20,0.8); color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; }
.lightbox__close:hover { background: var(--accent); border-color: var(--accent); }
@media (max-width: 620px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

/* Contact page */
.contact-wrap { display: grid; grid-template-columns: 1.6fr 1fr; gap: var(--space-4); align-items: start; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2) var(--space-3); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-4); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.82rem; color: var(--muted); }
.field label .opt { color: #6b6b6b; text-transform: none; letter-spacing: 0; }
.field input, .field select, .field textarea {
  background: var(--surface-2); border: 1px solid var(--border-2); border-radius: var(--radius);
  color: var(--fg); font: inherit; padding: 12px 14px; outline: none; width: 100%;
  transition: border-color var(--t-fast); }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(193,18,31,0.25); }
.field select { appearance: none; -webkit-appearance: none; -moz-appearance: none; cursor: pointer; padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23a3a3a3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; }
.field select:hover { border-color: var(--fg); }
.field select:focus { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23e01e2b' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); }
.field select option { background: #141414; color: #f5f5f5; }
.field input.is-invalid, .field textarea.is-invalid { border-color: var(--destructive); }
.field-err { color: #ff7a7a; font-size: 0.8rem; min-height: 1em; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.consent { display: flex; align-items: flex-start; gap: 10px; margin-top: 4px; }
.consent input[type="checkbox"] { width: 18px; height: 18px; min-width: 18px; margin-top: 2px; accent-color: var(--accent); cursor: pointer; }
.consent label { font-family: var(--font-body, inherit); text-transform: none; letter-spacing: 0; font-size: 0.86rem; color: var(--muted); line-height: 1.5; cursor: pointer; }
.consent label a { color: var(--fg); text-decoration: underline; text-underline-offset: 2px; }
.consent label a:hover { color: var(--accent-2, var(--accent)); }
.contact-actions { display: flex; align-items: center; gap: var(--space-3); flex-wrap: wrap; margin-top: 4px; }
.contact-mail { color: var(--muted); font-size: 0.9rem; }
.contact-mail:hover { color: var(--fg); }
.form-status { grid-column: 1 / -1; margin: 6px 0 0; padding: 12px 14px; border-radius: var(--radius); font-size: 0.92rem; }
.form-status--pending { background: #14263a; color: #9fd0ff; border: 1px solid #24507d; }
.form-status--error { background: #2e1416; color: #ffb0b0; border: 1px solid #6b2626; }
.form-done { text-align: center; padding: var(--space-4); }
.form-done__mark { width: 64px; height: 64px; margin: 0 auto var(--space-2); display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: #fff; font-size: 2rem; }
.form-done h2 { margin-bottom: 8px; }
.form-done p { color: var(--muted); max-width: 42ch; margin: 0 auto var(--space-3); }
.contact-aside { background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: var(--radius-lg); padding: var(--space-4); }
.contact-line { display: flex; flex-direction: column; gap: 2px; margin-bottom: var(--space-2); }
.contact-line a { color: var(--accent-2); }
.contact-line a:hover { color: var(--fg); }
.contact-aside .social-bar { margin-top: var(--space-3); }
@media (max-width: 860px) {
  .contact-wrap { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; }
}

/* Social brand-logo bar */
.social-bar { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.social-link { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--border-2); border-radius: 50%; color: #cfcfcf; transition: color var(--t-fast), background var(--t-fast), border-color var(--t-fast), transform var(--t-fast); }
.social-link svg { width: 20px; height: 20px; }
.social-link:hover { color: var(--on-accent); background: var(--accent); border-color: var(--accent); transform: translateY(-3px); }

/* Reveal on scroll (progressive enhancement) ------------------------------ */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 500ms ease, transform 500ms ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* Responsive -------------------------------------------------------------- */
@media (max-width: 860px) {
  .nav-links {
    position: absolute; inset: 68px 0 auto 0; flex-direction: column; align-items: stretch;
    background: var(--surface); border-bottom: 1px solid var(--border); padding: var(--space-2);
    gap: 4px; display: none;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 14px; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .loc-hero { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  /* Footer: brand full-width, then the two link columns side by side */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-3) var(--space-4); }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; gap: 6px; }
}
@media (max-width: 340px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Interactive components + compact pass
   ========================================================================== */

/* Compact spacing */
.section { padding-block: 72px; }
.section--tight { padding-block: 48px; }
.hero { padding-block: clamp(48px, 8vw, 80px); }
.ao-grid { grid-template-columns: repeat(auto-fill, minmax(212px, 1fr)); gap: var(--space-2); }
.ao-card { padding: var(--space-2) var(--space-3) var(--space-3); gap: 12px; }
.ao-item[hidden] { display: none; }

/* Live "Today at F3" strip */
.today-wrap { border-block: 1px solid var(--border); background: linear-gradient(180deg, #0d0d0d, var(--bg)); padding-block: 36px; }
.today-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-2); margin-bottom: var(--space-2); flex-wrap: wrap; }
.today-head h2 { margin: 4px 0 0; font-size: clamp(1.5rem, 3vw, 2rem); }
.today-all { color: var(--accent-2); font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 6px; }
.today-all svg { width: 16px; height: 16px; }
.today-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); grid-auto-rows: 1fr; }
.today-item { display: grid; grid-template-columns: 76px 1fr; grid-template-rows: auto auto; column-gap: 14px; row-gap: 3px; align-content: center; height: 100%; background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: var(--radius); padding: 14px 16px; transition: background var(--t-fast), transform var(--t-fast); }
.today-item:hover { background: var(--surface-2); transform: translateX(3px); }
.today-time { grid-row: 1 / 3; align-self: center; font-family: var(--font-head); font-size: 1.2rem; color: var(--accent-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.today-name { font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.03em; font-size: 1.05rem; display: flex; align-items: center; gap: 8px; }
.today-type { font-size: 0.6rem; letter-spacing: 0.1em; color: var(--muted); border: 1px solid var(--border-2); border-radius: 999px; padding: 2px 7px; }
.today-spot { color: var(--muted); font-size: 0.85rem; }
.today-rest { color: var(--muted); }
.today-rest a { color: var(--accent-2); }

/* F3 credo + acronym band (home) */
.creed { background: linear-gradient(180deg, var(--bg), #0d0d0d); border-block: 1px solid var(--border); }
.creed-quote { margin: 8px auto 0; max-width: 20ch; font-family: var(--font-head); font-weight: 700; text-transform: uppercase; line-height: 1.05; font-size: clamp(1.6rem, 5vw, 3rem); border: 0; }
.creed-sub { color: var(--muted); text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.8rem; margin-top: var(--space-2); }
.fff { display: flex; justify-content: center; align-items: baseline; gap: clamp(18px, 5vw, 52px); margin-top: var(--space-3); flex-wrap: wrap; }
.fff__word { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.5rem, 4vw, 2.4rem); letter-spacing: 0.02em; color: var(--fg); line-height: 1.1; }
.fff__word b { color: var(--accent-2); font-weight: 700; text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 5px; }

/* Principles — horizontal responsive row with interactive icons */
.principle-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-2); align-items: stretch; }
.principle { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-3) var(--space-2); height: 100%; cursor: default; transition: transform var(--t), border-color var(--t), background var(--t); }
.principle:hover { transform: translateY(-5px); border-color: var(--accent); background: var(--surface-2); }
.principle__num { font-family: var(--font-head); font-weight: 700; font-size: 2.6rem; line-height: 1; color: var(--accent-2); letter-spacing: 0.02em; position: relative; padding-bottom: 12px; transition: color var(--t), transform var(--t); }
.principle__num::after { content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 22px; height: 3px; background: var(--accent); border-radius: 2px; transition: width var(--t); }
.principle:hover .principle__num { color: var(--fg); transform: translateY(-2px); }
.principle:hover .principle__num::after { width: 40px; }
.principle__text { font-size: 0.95rem; color: var(--fg); }
@media (max-width: 900px) { .principle-list { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .principle-list { grid-template-columns: repeat(2, 1fr); } }

/* Filter bar */
.filterbar { position: sticky; top: 68px; z-index: 20; background: rgba(10,10,10,0.9); backdrop-filter: blur(10px); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 14px 16px; margin-bottom: var(--space-3); }
.filterbar__row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.filterbar__chips { margin-top: 10px; }
.search { display: flex; align-items: center; gap: 8px; flex: 1 1 240px; background: var(--surface-2); border: 1px solid var(--border-2); border-radius: var(--radius); padding: 0 12px; color: var(--muted); }
.search:focus-within { border-color: var(--accent); }
.search input { flex: 1; background: none; border: 0; color: var(--fg); font: inherit; padding: 11px 0; outline: none; min-width: 0; }
.chip-group { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.8rem; color: var(--muted); background: var(--surface-2); border: 1px solid var(--border-2); border-radius: 999px; padding: 8px 14px; cursor: pointer; min-height: 38px; display: inline-flex; align-items: center; gap: 6px; transition: color var(--t-fast), border-color var(--t-fast), background var(--t-fast); }
.chip:hover { color: var(--fg); border-color: var(--fg); }
.chip.is-on { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.chip--geo { color: var(--fg); border-color: var(--accent); }
.chip--geo.is-loading { opacity: 0.7; }
.chip--clear { color: var(--accent-2); border-style: dashed; }
.filterbar__count { margin: 12px 0 0; color: var(--muted); font-size: 0.85rem; font-family: var(--font-head); letter-spacing: 0.06em; text-transform: uppercase; }
.ao-empty { text-align: center; color: var(--muted); padding: var(--space-6) 0; }
.linkbtn { background: none; border: 0; color: var(--accent-2); cursor: pointer; font: inherit; text-decoration: underline; }
.ao-dist { color: var(--accent-2) !important; font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.8rem; }
.ao-dist:empty { display: none; }

/* Traveling? callout */
.travel-note { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); flex-wrap: wrap; margin-top: var(--space-4); padding: var(--space-3) var(--space-4); background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: var(--radius-lg); }
.travel-note .btn { flex: none; }

/* Interactive map */
.ao-map { height: 420px; width: 100%; border-radius: var(--radius-lg); border: 1px solid var(--border); margin-bottom: var(--space-3); background: #0d0d0d; z-index: 1; }
.leaflet-container { background: #0d0d0d; font-family: var(--font-body); }
.ao-pin span { display: block; width: 18px; height: 18px; border-radius: 50%; background: var(--accent); border: 2px solid #fff; box-shadow: 0 0 0 2px rgba(193,18,31,0.4); }
.ao-pin--neo span { background: #0a0a0a; border-color: var(--accent-2); box-shadow: 0 0 0 2px rgba(224,30,43,0.4); }
/* "You are here" marker — distinct blue, pulsing, so it never reads as an AO pin */
.user-pin { position: relative; }
.user-pin__dot { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 16px; height: 16px; border-radius: 50%; background: #2e8bff; border: 3px solid #fff; box-shadow: 0 0 0 2px rgba(46,139,255,0.6), 0 2px 6px rgba(0,0,0,0.5); z-index: 2; }
.user-pin__pulse { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 18px; height: 18px; border-radius: 50%; background: rgba(46,139,255,0.35); z-index: 1; animation: userPulse 3.6s cubic-bezier(0.4, 0, 0.2, 1) infinite; }
@keyframes userPulse { 0% { width: 18px; height: 18px; opacity: 0.45; } 70%, 100% { width: 44px; height: 44px; opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .user-pin__pulse { animation: none; opacity: 0.35; width: 30px; height: 30px; } }
.leaflet-popup-content-wrapper, .leaflet-popup-tip { background: var(--surface); color: var(--fg); border: 1px solid var(--border-2); }
.leaflet-popup-content { margin: 12px 14px; }
.pin-pop { display: flex; gap: 12px; align-items: center; }
.pin-pop img { border-radius: 6px; flex: none; }
.pin-pop strong { display: block; font-family: var(--font-head); text-transform: uppercase; font-size: 1.05rem; }
.pin-pop span { display: block; color: var(--muted); font-size: 0.82rem; }
.pin-pop a { color: var(--accent-2); font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.82rem; margin-top: 4px; display: inline-block; }

/* Join steps — connected horizontal stepper */
.stepper { list-style: none; margin: var(--space-6) auto 0; padding: 0; max-width: 920px; display: flex; }
.stepper__item { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; padding: 0 8px; }
.stepper__item::after { content: ""; position: absolute; top: 27px; left: 50%; width: 100%; height: 2px; background: var(--border-2); z-index: 0; }
.stepper__item:last-child::after { display: none; }
.stepper__dot { position: relative; z-index: 1; width: 54px; height: 54px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 6px var(--bg); transition: transform var(--t), box-shadow var(--t); }
.stepper__dot svg { width: 26px; height: 26px; }
.stepper__item:hover .stepper__dot { transform: translateY(-3px); box-shadow: 0 0 0 6px var(--bg), 0 8px 20px rgba(193,18,31,0.4); }
.stepper__num { margin-top: 14px; font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.72rem; color: var(--accent-2); }
.stepper__label { margin-top: 3px; font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.02em; font-size: 0.98rem; max-width: 15ch; }
@media (max-width: 640px) {
  .stepper { flex-direction: column; max-width: 360px; gap: 0; }
  .stepper__item { flex-direction: row; align-items: center; gap: 16px; text-align: left; padding: 10px 0; }
  .stepper__item::after { top: 54px; left: 27px; width: 2px; height: 100%; }
  .stepper__dot { flex: none; }
  .stepper__num { margin-top: 0; }
  .stepper__label { margin-top: 0; max-width: none; }
  .stepper__item .stepper__num { display: none; }
}

/* FAQ accordion */
.faq-list { display: grid; gap: 10px; max-width: 820px; }
.faq { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); padding: 18px 20px; font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.03em; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent-2); }
.faq__icon { position: relative; width: 16px; height: 16px; flex: none; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; background: var(--accent-2); border-radius: 2px; }
.faq__icon::before { top: 7px; left: 0; width: 16px; height: 2px; }
.faq__icon::after { left: 7px; top: 0; width: 2px; height: 16px; transition: transform var(--t); }
.faq[open] .faq__icon::after { transform: scaleY(0); }
.faq__body { padding: 0 20px 18px; }
.faq__body p { margin: 0; color: var(--muted); }

@media (max-width: 860px) {
  .filterbar { top: 0; }
  .ao-map { height: 320px; }
}

/* Mobile show-more collapse */
.sm-hidden { display: none !important; }
.show-more-btn { display: flex; width: fit-content; margin: 18px auto 0; }

/* Reduced motion ---------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
