@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/bricolage-grotesque-latin-700-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/fonts/bricolage-grotesque-latin-800-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/archivo-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/archivo-latin-500-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/archivo-latin-600-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Space Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/space-mono-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Space Mono";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/space-mono-latin-700-normal.woff2") format("woff2");
}

:root {
  --paper: #eef0ea;
  --white: #ffffff;
  --ink: #111111;
  --muted: #5e635c;
  --line: rgba(17, 17, 17, 0.1);
  --soft: #f4f6f8;
  --max: 1120px;
  --font-display: "Bricolage Grotesque", "Archivo", sans-serif;
  --font-body: "Archivo", system-ui, sans-serif;
  --font-mono: "Space Mono", ui-monospace, monospace;
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  padding-bottom: calc(5.4rem + env(safe-area-inset-bottom));
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

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

::selection {
  background: #111;
  color: #fff;
}

[hidden] {
  display: none !important;
}

.skip {
  position: absolute;
  left: 0.8rem;
  top: -4rem;
  background: #111;
  color: #fff;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  z-index: 50;
}

.skip:focus {
  top: 0.6rem;
}

.wrap {
  width: min(var(--max), calc(100% - 1.5rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 0.7rem 0 0.2rem;
  background: linear-gradient(var(--paper), rgba(238, 240, 234, 0.92) 70%, transparent);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem 1rem;
  width: min(var(--max), calc(100% - 1.5rem));
  margin: 0 auto;
  padding: 0.55rem 0.7rem 0.55rem 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 10px 30px rgba(17, 17, 17, 0.05);
}

.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
  text-decoration: none;
  margin-right: auto;
}

.logo-mark {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 1.15rem;
}

.logo-name {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  gap: 0.9rem;
  width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav a {
  color: #333;
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav a:hover {
  color: #000;
}

.site-header .header-apply {
  display: none;
}

.hero {
  padding: 1.2rem 0 0.4rem;
}

.kicker,
.tour-kicker,
.status,
.day-index {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  color: #3d3d3d;
  margin: 0 0 0.7rem;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  letter-spacing: -0.045em;
  line-height: 0.96;
  font-weight: 800;
  margin: 0;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.7rem, 8vw, 5.5rem);
  max-width: 12ch;
}

h1 em {
  font-style: normal;
  background: #111;
  color: #fff;
  padding: 0 0.12em 0.02em;
  border-radius: 0.08em;
  box-decoration-break: clone;
}

h2 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  margin-bottom: 0.85rem;
  font-weight: 750;
}

h3 {
  font-size: 1.35rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.lede,
.section-head p,
.note-card p,
.fit-list,
.day-card li,
.faq p,
.hero-host {
  color: #2c2c2c;
}

.lede {
  max-width: 38rem;
  font-size: 1.12rem;
  margin: 1.1rem 0 0;
}

.hero-meta,
.hero-spots,
.hero-host {
  margin: 0.85rem 0 0;
}

.hero-meta {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}

.hero-spots {
  font-weight: 600;
}

.hero-host,
.agenda-note {
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.3rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font: 600 0.98rem/1 var(--font-body);
  text-decoration: none;
  padding: 0.9rem 1.25rem;
  cursor: pointer;
}

.btn:hover {
  background: #2b2b2b;
}

.btn-ghost {
  background: #fff;
  color: #111;
  box-shadow: inset 0 0 0 1.5px #111;
}

.btn-ghost:hover {
  background: #f4f4f2;
}

.btn-small {
  padding: 0.65rem 0.95rem;
  font-size: 0.88rem;
  white-space: nowrap;
}

.btn:disabled {
  opacity: 0.55;
  cursor: progress;
}

.tour,
.tour-map,
.card,
.day-card,
.camp-card,
.form-card,
.faq-list,
.map-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
}

.tour {
  margin-top: 1.6rem;
  padding: 1rem;
}

.tour-kicker {
  margin: 0.15rem 0.3rem 0.8rem;
}

.tour-loading,
.tour-error {
  margin: 0 0.3rem 0.6rem;
  color: var(--muted);
}

.tour-strip,
.camp-list,
.day-grid,
.split {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tour-strip {
  display: grid;
  gap: 0.7rem;
}

.tour-card,
.camp-card,
.day-card,
.card {
  padding: 1rem;
}

.tour-card.is-primary,
.camp-card.is-primary {
  box-shadow: inset 0 0 0 1.5px #111;
}

.tour-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.15rem 0.75rem;
  align-items: center;
}

.tour-copy .status {
  margin-bottom: 0.25rem;
}

.tour-card .city,
.map-card h3 {
  margin: 0;
  font-weight: 800;
}

.tour-card .dates,
.camp-card .dates,
.map-card .dates {
  margin: 0.15rem 0 0;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.tour-map {
  display: grid;
  gap: 0.8rem;
  margin: 0.9rem 0 0.4rem;
  padding: 0.8rem;
}

.map-stage {
  position: relative;
  background: #f7f8f6;
  border-radius: 18px;
  min-height: 220px;
  overflow: hidden;
}

.us-map {
  display: block;
  width: 100%;
  height: auto;
}

.us-map path {
  fill: #e4e1d8;
  stroke: #fff;
  stroke-width: 1.2;
  stroke-linejoin: round;
}

.map-pins {
  position: absolute;
  inset: 0;
}

.pin {
  position: absolute;
  transform: translate(-50%, -50%);
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pin-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 0 2px #111, 0 2px 6px rgba(0, 0, 0, 0.18);
  flex: 0 0 auto;
}

.pin.is-selected .pin-dot {
  background: #111;
  width: 16px;
  height: 16px;
}

.pin-label {
  position: absolute;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  background: #fff;
  border-radius: 999px;
  padding: 0.12rem 0.4rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  pointer-events: none;
}

.pin-label-top .pin-label {
  left: 50%;
  bottom: calc(100% + 0.35rem);
  transform: translateX(-50%);
}

.pin-label-bottom .pin-label {
  left: 50%;
  top: calc(100% + 0.35rem);
  transform: translateX(-50%);
}

.pin-label-left .pin-label {
  right: calc(100% + 0.4rem);
  top: 50%;
  transform: translateY(-50%);
}

.pin-label-right .pin-label {
  left: calc(100% + 0.4rem);
  top: 50%;
  transform: translateY(-50%);
}

.map-card {
  padding: 1.1rem 1.1rem 1.2rem;
  display: grid;
  gap: 0.35rem;
  align-content: start;
}

.map-card .btn {
  margin-top: 0.7rem;
  justify-self: start;
}

section {
  padding: 3.4rem 0;
  scroll-margin-top: 6.2rem;
}

.section-head {
  max-width: 44rem;
  margin-bottom: 1.3rem;
}

.ph {
  background: #fff3c4;
  color: #5a4308;
  border-bottom: 1px dashed #b0893e;
  padding: 0 0.15em;
  border-radius: 0.15em;
}

.split,
.day-grid,
.camp-list {
  display: grid;
  gap: 0.8rem;
}

.card h3,
.day-card h3,
.camp-card h3 {
  margin-bottom: 0.75rem;
}

.fit-list,
.ticks,
.bring,
.day-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.fit-list li,
.ticks li,
.bring li,
.day-card li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  align-items: start;
}

.ticks li::before,
.bring li::before,
.fit-list li::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  margin-top: 0.5rem;
  border-radius: 50%;
  background: #111;
}

.card.is-not .fit-list li::before,
.bring li::before {
  background: transparent;
  box-shadow: inset 0 0 0 1.5px #111;
}

.day-card li span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #333;
  padding-top: 0.2rem;
}

.note-card {
  background: #e7ebf0;
  border: 0;
  border-radius: 28px;
  padding: 1.4rem 1.2rem 1.3rem;
  max-width: 46rem;
}

.note-card p {
  font-size: 1.15rem;
  line-height: 1.5;
}

.note-card footer {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-top: 1.2rem;
  font-weight: 700;
}

.note-card footer span:last-child {
  color: var(--muted);
  font-weight: 500;
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.camp-card .dates {
  margin: -0.2rem 0 1rem;
}

.camp-card .btn,
.form-card .btn {
  width: 100%;
}

.form-card {
  margin-top: 0.2rem;
  padding: 1.1rem;
}

.form-grid {
  display: grid;
  gap: 0.9rem;
}

label,
.choice-legend {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

input,
textarea {
  width: 100%;
  border: 1px solid #d9d9d4;
  background: #fff;
  color: var(--ink);
  border-radius: 12px;
  padding: 0.8rem 0.85rem;
  font: inherit;
}

textarea {
  min-height: 7.5rem;
  resize: vertical;
}

input[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: #9a3412;
}

.field-error {
  min-height: 1.1em;
  margin: 0.3rem 0 0;
  color: #9a3412;
  font-size: 0.85rem;
}

.choice {
  border: 1px solid #d9d9d4;
  border-radius: 12px;
  padding: 0.75rem 0.85rem 0.85rem;
}

.choice-options {
  display: flex;
  gap: 1rem;
}

.choice-options label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
  margin: 0;
}

.choice-options input {
  width: auto;
  accent-color: #111;
}

.check {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-weight: 500;
}

.check input {
  width: auto;
  margin-top: 0.3rem;
  accent-color: #111;
}

.hint {
  color: var(--muted);
  margin: 0.35rem 0 0;
  font-size: 0.92rem;
}

.banner {
  margin: 0.9rem 0 0;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  border: 1px solid #e7c4b4;
  color: #7c2d12;
  background: #fff7f3;
}

.success {
  display: grid;
  gap: 0.8rem;
  padding: 0.3rem 0 0.2rem;
}

.success p {
  margin: 0;
  font-size: 1.15rem;
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.faq-list {
  padding: 0.3rem 1.1rem;
}

details {
  border-top: 1px solid var(--line);
  padding: 0.95rem 0;
}

details:first-child {
  border-top: 0;
}

summary {
  cursor: pointer;
  font-weight: 650;
}

.faq-list p {
  margin: 0.55rem 0 0.2rem;
}

.site-footer {
  padding: 2.2rem 0 2.6rem;
  color: #333;
}

.footer-brand {
  color: var(--ink);
  margin-top: 0;
  font-size: 1.05rem;
}

.footer-tour {
  color: var(--muted);
  max-width: 52rem;
  line-height: 1.55;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.2rem;
}

.footer-links a {
  color: var(--ink);
}

.sticky-apply {
  position: fixed;
  left: 0.8rem;
  right: 0.8rem;
  bottom: calc(0.7rem + env(safe-area-inset-bottom));
  z-index: 35;
  height: 3.25rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease;
}

.sticky-apply.is-hidden {
  transform: translateY(160%);
}

.missing {
  margin: 4rem auto;
  max-width: 36rem;
  padding: 0 1rem 4rem;
}

@media (max-width: 799px) {
  h1 {
    font-size: 2.55rem;
    max-width: none;
  }

  .lede {
    font-size: 1.02rem;
  }
}

@media (min-width: 800px) {
  body {
    padding-bottom: 0;
  }

  .header-inner {
    flex-wrap: nowrap;
    border-radius: 999px;
    padding: 0.45rem 0.5rem 0.45rem 1.1rem;
  }

  .nav {
    width: auto;
  }

  .site-header .header-apply {
    display: inline-flex;
  }

  .sticky-apply {
    display: none;
  }

  .hero {
    padding-top: 1.6rem;
  }

  .tour-strip {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .tour-card {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .tour-card .btn {
    margin-top: 0.85rem;
    width: 100%;
  }

  .tour-map {
    grid-template-columns: 1.5fr 0.7fr;
    align-items: stretch;
  }

  .split {
    grid-template-columns: 1fr 1fr;
  }

  .day-grid,
  .camp-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .form-grid.two {
    grid-template-columns: 1fr 1fr;
  }

  .span-2 {
    grid-column: 1 / -1;
  }

  .camp-card .btn,
  .form-card .btn.inline {
    width: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .sticky-apply {
    transition: none;
  }
}
