
.join { display: grid; gap: 30px; align-items: start; }
@media (min-width: 960px) {
  .join { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(36px, 4.4vw, 64px); }
  .join-film { position: sticky; top: 112px; }
}
.screen.wide video, .screen.wide img { image-rendering: auto; }
.join-note {
  margin: 22px 0 0; max-width: 44ch;
  color: var(--muted-fg); font-size: 17px; text-wrap: pretty;
}

.form-card { padding: clamp(26px, 3.6vw, 40px); }
.form-card h2 { margin: 0 0 10px; font-size: clamp(1.7rem, 3vw, 2.2rem); }
.form-sub { margin: 0 0 28px; color: var(--muted-fg); font-size: 16.5px; max-width: 46ch; text-wrap: pretty; }
.form-sub a { color: var(--action); text-underline-offset: 3px; }

.beta-form { display: grid; gap: 22px; }
.field { display: grid; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field > label, .field > legend {
  font-family: "Baloo 2", system-ui, sans-serif;
  font-weight: 700; font-size: 1.05rem; line-height: 1.2;
  color: var(--navy); padding: 0;
}
.field > legend { margin-bottom: 10px; }
.opt { font-family: "Nunito", system-ui, sans-serif; font-weight: 700; font-size: 0.82rem; color: var(--muted-fg); margin-left: 6px; }

.beta-form input[type="text"],
.beta-form input[type="email"],
.beta-form input[type="number"],
.beta-form textarea {
  width: 100%; min-height: 52px;
  font: inherit; font-size: 16.5px; color: var(--fg);
  background: var(--bg);
  border: 2px solid var(--op-ink);
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: inset 0 2px 0 rgba(59, 42, 26, 0.06);
  transition: border-color 160ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 160ms cubic-bezier(0.22, 1, 0.36, 1);
  caret-color: var(--action);
}
.beta-form textarea { resize: vertical; min-height: 140px; line-height: 1.5; }
.beta-form ::placeholder { color: var(--muted-fg); opacity: 0.78; }
.beta-form input:focus-visible, .beta-form textarea:focus-visible {
  outline: none;
  border-color: var(--action);
  box-shadow: 0 0 0 3px var(--action-soft), inset 0 2px 0 rgba(59, 42, 26, 0.06);
}
.beta-form [aria-invalid="true"] { border-color: #B3402A; }
html[data-page="outposts"][data-theme="dark"] .beta-form [aria-invalid="true"] { border-color: #F08A6E; }
@media (prefers-color-scheme: dark) {
  html[data-page="outposts"]:not([data-theme="light"]) .beta-form [aria-invalid="true"] { border-color: #F08A6E; }
}

.picks { display: flex; flex-wrap: wrap; gap: 10px; }
.pick { position: relative; cursor: pointer; }
.pick input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.pick span {
  display: inline-flex; align-items: center; min-height: 44px;
  font-family: "Baloo 2", system-ui, sans-serif; font-weight: 700; font-size: 1rem;
  color: var(--navy);
  background: var(--shell);
  border: 2px solid var(--op-ink);
  border-radius: 14px;
  padding: 6px 16px;
  box-shadow: 0 3px 0 0 var(--op-drop);
  transition: transform 140ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 140ms cubic-bezier(0.22, 1, 0.36, 1), background-color 140ms;
  user-select: none;
}
.pick:hover span { background: var(--action-wash); }
.pick input:active + span { transform: translateY(3px); box-shadow: 0 0 0 0 var(--op-drop); }
.pick input:checked + span { background: var(--action); color: var(--on-action); }
.pick input:focus-visible + span { outline: 3px solid var(--action-lift); outline-offset: 3px; }

.beta-form[hidden], .done[hidden] { display: none; }

.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-msg { margin: 0; min-height: 1.4em; font-size: 16px; color: var(--muted-fg); }
.form-msg.bad { color: #A33A25; }
html[data-page="outposts"][data-theme="dark"] .form-msg.bad { color: #F4A08A; }
@media (prefers-color-scheme: dark) {
  html[data-page="outposts"]:not([data-theme="light"]) .form-msg.bad { color: #F4A08A; }
}
.beta-form .btn { justify-self: start; min-height: 56px; }
.beta-form .btn[aria-busy="true"] { opacity: 0.7; cursor: progress; }

.done { display: grid; justify-items: start; gap: 8px; }
.done:focus { outline: none; }
.done p { margin: 0 0 12px; color: var(--muted-fg); font-size: 17px; max-width: 44ch; }

.play-card .btn { min-height: 56px; }
.play-addr { margin: 16px 0 0; color: var(--muted-fg); font-size: 16px; }

.howto { display: grid; gap: 26px; align-items: center; }
.howto-copy h2 { margin: 0; }
.howto-copy .join-note { margin-top: 14px; }
.screen.film.howto-tall { display: none; aspect-ratio: 9 / 16; max-width: 360px; }
@media (max-width: 699px) {
  .screen.film.howto-wide { display: none; }
  .screen.film.howto-tall { display: block; }
}
@media (min-width: 960px) {
  .howto { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(36px, 4.4vw, 64px); }
}

.track {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 2px solid var(--op-ink); border-radius: 18px; overflow: visible;
  box-shadow: 0 4px 0 0 var(--op-drop);
  margin: 8px 0 30px; max-width: 900px;
  background: var(--core);
}
.wk {
  position: relative;
  font-family: "Baloo 2", system-ui, sans-serif; font-weight: 700;
  font-size: clamp(0.95rem, 2.2vw, 1.15rem);
  color: var(--muted-fg);
  padding: 18px 10px; text-align: center;
  border-left: 2px solid var(--op-ink);
}
.wk:first-child { border-left: 0; border-radius: 16px 0 0 16px; }
.wk:last-child { border-radius: 0 16px 16px 0; }
.wk.paid { background: var(--op-gold); color: #3B2A1A; }
.flag {
  position: absolute; top: -16px; left: -2px;
  width: 22px; height: 26px;
}
.flag.end { left: auto; right: -12px; }
.flag::before { 
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--op-ink); border-radius: 2px;
}
.flag::after { 
  content: ""; position: absolute; left: 3px; top: 1px;
  width: 18px; height: 12px; background: var(--op-grass);
  border: 2px solid var(--op-ink); border-left: 0;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.phases { display: grid; gap: 22px; max-width: 900px; }
@media (min-width: 760px) { .phases { grid-template-columns: 1fr 1fr; gap: 26px; } }
.phase { padding: 28px 26px; }
.phase .when {
  margin: 0 0 6px; font-size: 0.95rem; color: var(--muted-fg);
}
.phase h3 { font-size: 1.42rem; margin: 0 0 10px; }
.phase p:last-child { margin: 0; color: var(--muted-fg); font-size: 16.5px; max-width: 40ch; text-wrap: pretty; }
.phase.quiet { background: var(--shell); }

.fb { max-width: 760px; }

.form-card h2, .phase h3, #weeks h2, .howto-copy h2 { text-wrap: balance; }
#join, #home-screen, #weeks, #feedback { scroll-margin-top: 96px; }
.pick, .play-card .btn, .beta-form .btn { touch-action: manipulation; }

html[data-page="outposts"][data-theme] {
  background-color: #2a1d14;
  scrollbar-color: var(--edge) #2a1d14;
}
html[data-page="outposts"] body {
  background-color: #2a1d14;
  background-image: radial-gradient(120% 70% at 50% 0%, #8a5424 0%, #4a2f1c 60%, #2a1d14 100%);
}
html[data-page="outposts"] :is(.join-note, #weeks > .rise > h2, .howto-copy > h2, footer) {
  --fg: #f3ead0; --navy: #f3ead0; --muted-fg: #f3ead0;
  --hair: rgba(243, 234, 208, 0.22);
  --action: #9CC57C;
  color: #f3ead0;
}
html[data-page="outposts"] footer a:focus-visible { outline-color: var(--band-accent); }
.flag::before { background: #f3ead0; }
.flag::after { background: #9CC57C; }
