:root {
  --night: #0b1622;
  --night-2: #12233a;
  --night-3: #1a3150;
  --sun: #ff6b3d;
  --sun-2: #ffb347;
  --sand: #f4ebdd;
  --sand-2: #ebdfca;
  --ink: #0b1622;
  --ink-2: #44546a;
  --muted: #9fb3c8;
  --line: rgba(244, 235, 221, .14);
  --radius: 18px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  background: var(--night);
  color: var(--sand);
  font: 400 17px/1.6 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .wrap { padding: 0 24px; } }
.narrow { max-width: 760px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--sun); color: var(--ink); padding: 10px 16px; z-index: 100; font-weight: 800; }
.skip:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid var(--sun-2); outline-offset: 2px; }

h1, h2, .brand, .day, .next-when, .sched-day, .n {
  font-family: Anton, Impact, "Arial Narrow", sans-serif; font-weight: 400; text-transform: uppercase; letter-spacing: .01em;
}
h2 { font-size: clamp(38px, 6.5vw, 64px); line-height: .98; margin-bottom: 14px; }
h3 { font-size: 19px; font-weight: 800; line-height: 1.3; margin-bottom: 4px; }
.lead { font-size: 18px; color: var(--muted); max-width: 620px; margin-bottom: 28px; }
.muted { color: var(--muted); font-size: 15px; }
section { padding: 72px 0; }
@media (min-width: 900px) { section { padding: 96px 0; } }
.two { display: grid; gap: 40px; }
@media (min-width: 900px) { .two { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; } }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px;
  border-radius: 999px; font: 800 16px/1 Inter, system-ui, sans-serif; text-decoration: none; cursor: pointer; border: 0;
  transition: transform .15s, background .15s;
}
.btn:hover { transform: translateY(-2px); }
.btn-sun { background: var(--sun); color: var(--ink); }
.btn-sun:hover { background: #ff7d55; }
.btn-ghost { background: rgba(11, 22, 34, .35); color: var(--sand); border: 2px solid rgba(244, 235, 221, .6); backdrop-filter: blur(6px); }
.btn-line { background: transparent; color: inherit; border: 2px solid currentColor; }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 15px; }
.btn-full { width: 100%; }
.link { color: var(--sun); font-weight: 700; text-decoration: none; }
.link:hover { text-decoration: underline; }

/* nav */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(11, 22, 34, .9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { font-size: 21px; text-decoration: none; }
.brand span { color: var(--sun); }
.nav-links { display: flex; align-items: center; gap: 18px; font-weight: 600; font-size: 15px; }
.nav-links a:not(.btn) { text-decoration: none; color: var(--muted); }
.nav-links a:not(.btn):hover { color: var(--sand); }
@media (max-width: 420px) { .nav-links a[href="#faq"] { display: none; } }

/* hero */
.hero { position: relative; min-height: 88svh; display: flex; align-items: flex-end; overflow: hidden; padding: 0 0 120px; }
.hero picture, .hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero picture img { object-fit: cover; object-position: 60% 60%; }
.hero-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,22,34,.15) 0%, rgba(11,22,34,.25) 40%, rgba(11,22,34,.92) 100%); }
.hero-in { position: relative; width: 100%; }
.eyebrow { display: inline-block; font-weight: 800; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--sun-2); margin-bottom: 14px; }
h1 { font-size: clamp(52px, 11vw, 120px); line-height: .9; max-width: 11ch; text-shadow: 0 2px 30px rgba(0,0,0,.35); }
.when { font-size: clamp(18px, 2.4vw, 22px); margin: 20px 0 28px; line-height: 1.5; }
.when strong { color: #fff; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* next run */
.next { padding-top: 0; margin-top: -84px; position: relative; z-index: 2; }
.next-card {
  background: var(--sand); color: var(--ink); border-radius: 22px; padding: 26px; display: grid; gap: 22px;
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
}
@media (min-width: 760px) { .next-card { grid-template-columns: 1fr auto; align-items: center; padding: 32px 36px; } }
.label { font-weight: 800; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: #c2410c; }
.next-when { font-size: clamp(34px, 6vw, 54px); line-height: 1; margin: 6px 0 8px; }
.next-rel { color: var(--ink-2); font-weight: 600; }
.next-rel .live { color: #c2410c; }
.next-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.next-actions .btn-line { color: var(--ink); }
.cal { position: relative; }
.cal-menu {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 5; background: #fff; color: var(--ink); border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0,0,0,.25); min-width: 230px; padding: 6px; display: grid;
}
.cal-menu[hidden] { display: none; }
.cal-menu a { padding: 12px 14px; border-radius: 10px; text-decoration: none; font-weight: 600; cursor: pointer; }
.cal-menu a:hover { background: var(--sand); }
.rsvp-card { align-items: start !important; }
@media (min-width: 900px) { .rsvp-card { grid-template-columns: 1fr 1.1fr !important; gap: 36px; } }
.quick-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 16px; }
.quick-links a { color: #c2410c; font-weight: 700; text-decoration: none; cursor: pointer; }
.quick-links a:hover { text-decoration: underline; }
.rsvp-form { display: grid; gap: 14px; }
.rsvp-form .row { display: grid; gap: 12px; }
@media (min-width: 520px) { .rsvp-form .row { grid-template-columns: 1fr 1fr; } }
.rsvp-form label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
.rsvp-form input:not([type=checkbox]):not([type=radio]) {
  font: 500 16px/1.2 Inter, system-ui, sans-serif; padding: 13px 14px; border-radius: 12px; border: 2px solid var(--sand-2); background: #fff; color: var(--ink); width: 100%;
}
.rsvp-form input:focus { outline: none; border-color: var(--sun); }
.rsvp-form .fine { text-align: left; }
.rsvp-done .next-when { font-size: clamp(30px, 5vw, 44px); }
.rsvp-done p { color: var(--ink-2); margin-top: 8px; }
.sched { display: grid; gap: 14px; margin-top: 14px; }
@media (min-width: 640px) { .sched { grid-template-columns: 1fr 1fr; } }
.sched-card { background: var(--night-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.sched-day { font-size: 30px; line-height: 1; }
.sched-time { font-size: 20px; font-weight: 800; color: var(--sun); margin: 4px 0 10px; }
.sched-card p { color: var(--muted); font-size: 15px; margin-bottom: 12px; }

/* first run */
.first { background: var(--sand); color: var(--ink); }
.first .lead { color: var(--ink-2); }
.steps { list-style: none; display: grid; gap: 14px; counter-reset: s; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { background: #fff; border-radius: var(--radius); padding: 22px; display: flex; gap: 14px; align-items: flex-start; }
@media (min-width: 1040px) { .steps li { flex-direction: column; } }
.n { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--night); color: var(--sun); font-size: 22px; }
.steps p { color: var(--ink-2); font-size: 15px; }
.steps a { color: #c2410c; font-weight: 700; }
.slow { margin-top: 22px; background: var(--night); color: var(--sand); border-radius: var(--radius); padding: 26px; }
.slow h3 { font-family: Anton, Impact, sans-serif; font-weight: 400; font-size: 28px; text-transform: uppercase; margin-bottom: 8px; }

/* bring / where */
.ticks { list-style: none; display: grid; gap: 12px; }
.ticks li { padding-left: 32px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 6px; width: 18px; height: 18px; border-radius: 50%; background: var(--sun); box-shadow: inset 0 0 0 5px var(--night); border: 2px solid var(--sun); }
.map { margin-top: 18px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; background: var(--night-2); }
.map iframe { width: 100%; height: 100%; border: 0; filter: saturate(.85); }

/* photo band */
.photo-band { background: linear-gradient(160deg, var(--night-2), var(--night)); display: grid; gap: 32px; padding: 72px 16px; justify-items: center; }
.photo-band picture img { width: min(420px, 90vw); border-radius: 22px; box-shadow: 0 24px 60px rgba(0,0,0,.4); }
.photo-copy { max-width: 460px; }
.photo-copy p { color: var(--muted); font-size: 18px; margin-bottom: 24px; }
@media (min-width: 800px) { .photo-band { grid-template-columns: auto auto; justify-content: center; align-items: center; gap: 64px; padding: 96px 24px; } }

/* feed */
.feed-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.feed-head .lead { margin-bottom: 0; }
.feed-head .lead a { color: var(--sun); }
.feed-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
@media (min-width: 760px) { .feed-grid { grid-template-columns: repeat(6, 1fr); gap: 8px; } }
.feed-grid a { aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--night-2); display: grid; place-items: center; text-decoration: none; color: var(--muted); font-size: 13px; font-weight: 600; text-align: center; padding: 6px; border: 1px solid var(--line); }
.feed-grid img { width: 100%; height: 100%; object-fit: cover; }
.feed-grid a.has-img { padding: 0; border: 0; }

/* join */
.join { background: var(--night-2); }
.join-form { background: var(--sand); color: var(--ink); border-radius: 22px; padding: 24px; display: grid; gap: 16px; }
@media (min-width: 700px) { .join-form { padding: 32px; } }
.join-form .row { display: grid; gap: 16px; }
@media (min-width: 520px) { .join-form .row { grid-template-columns: 1fr 1fr; } }
.join-form label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
.join-form input:not([type=checkbox]):not([type=radio]) {
  font: 500 16px/1.2 Inter, system-ui, sans-serif; padding: 13px 14px; border-radius: 12px; border: 2px solid var(--sand-2); background: #fff; color: var(--ink); width: 100%;
}
.join-form input:focus { outline: none; border-color: var(--sun); }
.opt { color: var(--ink-2); font-weight: 400; }
fieldset { border: 0; }
legend { font-weight: 600; font-size: 15px; margin-bottom: 8px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; display: block !important; }
.pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pill span { display: inline-block; padding: 11px 16px; border-radius: 999px; border: 2px solid var(--sand-2); background: #fff; font-weight: 700; font-size: 15px; }
.pill input:checked + span { background: var(--night); color: var(--sand); border-color: var(--night); }
.pill input:focus-visible + span { outline: 3px solid var(--sun); outline-offset: 2px; }
.check { display: flex !important; grid-template-columns: none; align-items: flex-start; gap: 10px !important; font-weight: 500 !important; }
.check input { width: 22px; height: 22px; margin-top: 1px; accent-color: var(--sun); flex: none; }
.check a { color: #c2410c; font-weight: 700; }
.fine { font-size: 13px; color: var(--ink-2); text-align: center; }
.hp { position: absolute; left: -9999px; }

/* faq */
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; padding: 20px 36px 20px 0; font-weight: 700; font-size: 18px; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 28px; color: var(--sun); font-weight: 400; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); padding: 0 0 20px; }
details a { color: var(--sun); }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 40px 0 calc(40px + env(safe-area-inset-bottom)); }
.foot-in { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; font-weight: 600; font-size: 15px; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--sand); }

/* preview-only: copy that still needs the organizer's confirmation */
.tbd { }
.preview .tbd { background: rgba(255, 213, 0, .28); outline: 2px dashed #e0b400; outline-offset: 2px; border-radius: 4px; cursor: help; }
.preview-banner { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50; background: #ffd500; color: #111; font: 600 14px/1.4 Inter, sans-serif; padding: 10px 14px; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.3); }
.preview-banner button { float: right; background: none; border: 0; font-size: 18px; cursor: pointer; }

/* simple pages (welcome, waiver) */
.page { padding: 56px 0 80px; }
.page h1 { font-size: clamp(44px, 9vw, 88px); max-width: none; margin-bottom: 18px; }
.prose { max-width: 720px; }
.prose p, .prose li { color: var(--sand); margin-bottom: 14px; }
.prose ol { padding-left: 22px; }
.prose strong { color: #fff; }
