@charset "UTF-8";
/* Los Altos Runners — 2026 design system
   Brand: navy #053B83 + sunrise gold #FCB316 (from the logo) */

:root {
  --navy: #053b83;
  --navy-700: #0a4a9c;
  --navy-900: #04204a;
  --gold: #fcb316;
  --gold-600: #e89c00;

  --ink: #16202e;
  --body: #38465a;
  --muted: #6b7890;
  --line: #e4e9f1;
  --surface: #f4f7fb;
  --surface-2: #eaf0f8;
  --white: #ffffff;

  --radius: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(8, 28, 64, .06), 0 1px 3px rgba(8, 28, 64, .08);
  --shadow: 0 6px 18px rgba(8, 28, 64, .08), 0 2px 6px rgba(8, 28, 64, .06);
  --shadow-lg: 0 24px 48px rgba(8, 28, 64, .16);

  --container: 1160px;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Sora", var(--font-body);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--body);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--navy); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--gold-600); }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 .5em;
  font-weight: 700;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 5vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.section { padding: clamp(2.75rem, 6vw, 4.75rem) 0; }
.section--surface { background: var(--surface); }
.section--navy { background: var(--navy); color: #dce6f6; }
.section--tight { padding-block: clamp(2rem, 4vw, 3rem); }

.section-head { max-width: 720px; margin: 0 auto clamp(1.75rem, 4vw, 2.75rem); text-align: center; }
.section-head.left { margin-inline: 0; text-align: left; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: .65rem;
}
.section--navy .eyebrow { color: var(--gold); }
.section--navy h2, .section--navy h3 { color: #fff; }
.lead { font-size: 1.15rem; color: var(--muted); }
.section--navy .lead { color: #c4d3ec; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-display);
  font-weight: 600; font-size: 1rem;
  padding: .8rem 1.5rem;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer; transition: transform .12s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--gold); color: var(--navy-900); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--gold-600); color: var(--navy-900); box-shadow: var(--shadow); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-700); color: #fff; }
.btn-outline { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap { display: flex; align-items: center; gap: 1rem; min-height: 72px; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img { height: 52px; width: auto; }
.nav-menu { margin-left: auto; display: flex; align-items: center; gap: .25rem; }
.nav-menu a {
  font-family: var(--font-display);
  font-weight: 600; font-size: .98rem;
  color: var(--ink);
  padding: .55rem .8rem; border-radius: var(--radius-pill);
  line-height: 1;
}
.nav-menu a:hover { color: var(--navy); background: var(--surface-2); }
.nav-menu a.is-active { color: var(--navy); background: var(--surface-2); }
.nav-menu a.nav-cta {
  background: var(--navy); color: #fff; padding-inline: 1.15rem; margin-left: .35rem;
}
.nav-menu a.nav-cta:hover { background: var(--navy-700); color: #fff; }
.nav-toggle {
  display: none; margin-left: auto;
  width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 12px;
  background: #fff; cursor: pointer; padding: 0; place-items: center;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 4px auto; transition: .25s ease; border-radius: 2px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: grid; }
  .nav-menu {
    position: fixed; inset: 72px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: .5rem 20px 1rem; margin: 0;
    box-shadow: var(--shadow-lg);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
  }
  .nav-menu.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-menu a { padding: .85rem .6rem; border-radius: 10px; font-size: 1.05rem; }
  .nav-menu a.nav-cta { margin: .4rem 0 0; text-align: center; }
}

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; overflow: clip; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(4,32,74,.55) 0%, rgba(4,32,74,.78) 100%);
}
.hero-inner { position: relative; z-index: 1; padding: clamp(3.5rem, 9vw, 7rem) 0; max-width: 720px; }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 6vw, 3.6rem); margin-bottom: .35em; }
.hero .tagline { font-family: var(--font-display); color: var(--gold); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .85rem; margin-bottom: 1rem; }
.hero p.sub { font-size: 1.2rem; color: #e7eefa; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 1.75rem; }

/* ---------- Page header (interior pages) ---------- */
.page-hero { background: var(--navy); color: #fff; padding: clamp(2.5rem, 6vw, 3.75rem) 0 clamp(2.25rem, 5vw, 3.25rem); }
.page-hero h1 { color: #fff; margin: 0; }
.page-hero p { color: #c4d3ec; margin: .65rem 0 0; max-width: 640px; font-size: 1.12rem; }
.page-hero .eyebrow { color: var(--gold); }

/* ---------- Generic grids & cards ---------- */
.grid { display: grid; gap: 1.5rem; }
.cols-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.cols-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.cols-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem; box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d4ddec; }
.card h3, .card h4 { margin-top: 0; }
.card img { border-radius: var(--radius-sm); margin-bottom: .9rem; width: 100%; object-fit: cover; }
.card ul { margin: .5rem 0 0; padding-left: 1.1rem; }
.card li { margin-bottom: .3rem; }
.card.media { padding: 0; overflow: hidden; }
.card.media img { border-radius: 0; margin: 0; }
.card.media .card-body { padding: 1.2rem 1.4rem 1.4rem; }

.badge {
  display: inline-flex; align-items: center; gap: .35rem;
  font-family: var(--font-display); font-weight: 600; font-size: .72rem;
  letter-spacing: .04em; text-transform: uppercase;
  padding: .25rem .6rem; border-radius: var(--radius-pill);
  background: var(--surface-2); color: var(--navy);
}
.badge.gold { background: #fff3d6; color: #8a5e00; }
.badge.video { background: #e7f0ff; color: var(--navy); }

/* ---------- Schedule ---------- */
.schedule-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.day-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.25rem 1.3rem; box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
}
.day-card::before { content:""; position:absolute; left:0; top:0; bottom:0; width:5px; background: var(--gold); }
.day-card h3 { font-size: 1.15rem; margin: 0 0 .6rem; color: var(--navy); }
.day-card dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .2rem .7rem; font-size: .96rem; }
.day-card dt { font-weight: 600; color: var(--muted); }
.day-card dd { margin: 0; color: var(--ink); }
.day-card .tag { display:inline-block; margin-top:.7rem; font-size:.78rem; font-weight:600; color:var(--gold-600); font-family:var(--font-display); }

table.tidy { width: 100%; border-collapse: collapse; background:#fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
table.tidy caption { font-family: var(--font-display); font-weight: 700; color: var(--ink); text-align: left; padding: .25rem 0 .75rem; font-size: 1.05rem; }
table.tidy th, table.tidy td { padding: .8rem 1rem; text-align: left; border-bottom: 1px solid var(--line); }
table.tidy thead th { background: var(--navy); color:#fff; font-family: var(--font-display); font-weight: 600; font-size: .85rem; letter-spacing: .03em; text-transform: uppercase; }
table.tidy tbody tr:last-child td, table.tidy tbody tr:last-child th { border-bottom: 0; }
table.tidy tbody th { color: var(--navy); }

/* ---------- FAQ / definition lists ---------- */
.faq { display: grid; gap: .9rem; }
.faq-item { background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 1.15rem 1.3rem; box-shadow: var(--shadow-sm); }
.faq-item h3 { font-size: 1.08rem; margin: 0 0 .35rem; color: var(--navy); }
.faq-item p { margin: 0 0 .4rem; }
.faq-item p:last-child { margin-bottom: 0; }

/* ---------- Media / feature rows ---------- */
.feature-row { display: grid; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; grid-template-columns: 1fr 1fr; }
.feature-row.reverse .feature-media { order: 2; }
.feature-media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
@media (max-width: 760px) { .feature-row { grid-template-columns: 1fr; } .feature-row.reverse .feature-media { order: 0; } }

.photo-duo { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
.photo-duo img { border-radius: var(--radius); box-shadow: var(--shadow-sm); width:100%; object-fit: cover; aspect-ratio: 4/3; }

/* ---------- Gallery grid ---------- */
.masonry { columns: 3 240px; column-gap: 1rem; }
.masonry img { width: 100%; margin-bottom: 1rem; border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); break-inside: avoid; }

.thumb-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px,1fr)); gap: .75rem; }
.thumb-row img { border-radius: var(--radius-sm); cursor: pointer; aspect-ratio: 1; object-fit: cover; box-shadow: var(--shadow-sm); transition: transform .15s ease, box-shadow .15s ease; width: 100%; }
.thumb-row img:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

/* ---------- Pill list / chips ---------- */
.note-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.note-list li { position: relative; padding-left: 1.6rem; }
.note-list li::before { content: "›"; position: absolute; left: .25rem; color: var(--gold-600); font-weight: 800; }

.callout {
  background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--gold);
  border-radius: var(--radius-sm); padding: 1.1rem 1.3rem;
}
.call-out { color: var(--navy); font-weight: 700; }

/* ---------- Leader detail list ---------- */
.leader-dl { margin: 0; display: grid; gap: .5rem; }
.leader-dl dt { font-family: var(--font-display); font-size: .78rem; letter-spacing: .03em; text-transform: uppercase; color: var(--muted); }
.leader-dl dd { margin: 0 0 .3rem; color: var(--ink); }

/* ---------- Forms ---------- */
.form-card { background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--shadow); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #aebfdc; margin-top: clamp(2.5rem, 6vw, 4rem); }
.footer-inner { display: grid; gap: 2rem; grid-template-columns: 1.4fr 1fr 1fr; padding: clamp(2.5rem, 5vw, 3.5rem) 20px; max-width: var(--container); margin-inline: auto; }
.footer-brand .wordmark { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color:#fff; letter-spacing: -.01em; }
.footer-brand .wordmark span { color: var(--gold); }
.footer-brand p { margin: .5rem 0 0; max-width: 320px; }
.footer-col h4 { color:#fff; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 .9rem; }
.footer-col a { display: block; color: #aebfdc; padding: .2rem 0; }
.footer-col a:hover { color: var(--gold); }
.footer-social { display: flex; gap: .6rem; margin-top: .25rem; }
.footer-social a {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.08); color:#fff; font-size: 1.05rem;
}
.footer-social a:hover { background: var(--gold); color: var(--navy-900); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom .inner { max-width: var(--container); margin-inline: auto; padding: 1.1rem 20px; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; align-items: center; justify-content: space-between; font-size: .85rem; }
.footer-bottom a { color: #aebfdc; }
.footer-bottom a:hover { color: var(--gold); }
@media (max-width: 720px) { .footer-inner { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- Lightbox modal (photos) ---------- */
.modal { display:none; position: fixed; inset: 0; z-index: 200; background: rgba(4,16,38,.92); }
.modal.open { display: block; }
.modal-content { max-width: 880px; margin: 6vh auto; padding: 0 20px; }
.mySlides { display:none; }
.mySlides img { width:100%; border-radius: var(--radius-sm); }
.modal .close { position: absolute; top: 18px; right: 28px; color:#fff; font-size: 2.5rem; cursor: pointer; line-height: 1; }
.modal .prev, .modal .next { position: absolute; top: 50%; transform: translateY(-50%); color:#fff; font-size: 2.2rem; cursor: pointer; padding: 1rem; user-select: none; }
.modal .prev { left: 8px; } .modal .next { right: 8px; }
.numbertext { color:#cfe; font-size: .9rem; padding: .5rem 0; }
.modal .demo { opacity: .55; cursor: pointer; border-radius: 8px; }
.modal .demo.active, .modal .demo:hover { opacity: 1; }

/* ---------- Helpers ---------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.stack > * + * { margin-top: 1rem; }
.sidebar-grid { display: grid; gap: clamp(1.5rem,4vw,2.5rem); grid-template-columns: 300px 1fr; align-items: start; }
@media (max-width: 820px) { .sidebar-grid { grid-template-columns: 1fr; } }
.sticky-side { position: sticky; top: 90px; }
@media (max-width: 820px) { .sticky-side { position: static; } }
.toc { list-style: none; margin: 0; padding: 0; display: grid; gap: .3rem; }
.toc a { display:block; padding: .5rem .8rem; border-radius: 10px; color: var(--ink); font-weight: 500; }
.toc a:hover { background: var(--surface-2); color: var(--navy); }
