/* Fields & Forks: site styles.
   All values come from the design handoff (README "Global" and "Sections").
   The layout is fluid, with no breakpoints. clamp() and auto-fit grids do the reflow. */

:root {
  --paper: #EEE7D7;
  --ink: #1D2419;
  --hay: #E7C58A;
  --clay: #8A5A2B;
  --moss: #3A4630;
  --error: #9A3B22;
  --ticket: #F4EFE3;
  --map-bg: #1A2016;

  --display: 'Instrument Serif', serif;
  --text: 'Newsreader', Georgia, serif;
  --mono: 'IBM Plex Mono', monospace;

  --pad: clamp(20px, 6vw, 96px);
  --pad-edge: clamp(20px, 4vw, 56px);
}

/* ---------- Base ---------- */

html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: var(--clay); }
::selection { background: var(--hay); color: var(--ink); }
input::placeholder { color: rgba(29, 36, 25, .32); }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; }
.hero :focus-visible, .walk :focus-visible, .footer :focus-visible, .fab:focus-visible { outline-color: var(--hay); }

.root { font-family: var(--text); background: var(--paper); color: var(--ink); overflow-x: clip; }

.cover {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
}

.mono { font-family: var(--mono); letter-spacing: .16em; text-transform: uppercase; }
.mono--l { font-size: 12px; }
.mono--s { font-size: 11px; }
.hay { color: var(--hay); }
.clay { color: var(--clay); }

.mask { display: block; overflow: hidden; }
.mask > span { display: block; }

.label-row {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
}

.btn {
  display: inline-flex; align-items: center; gap: 16px;
  padding: 18px 26px;
  font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none;
}
.btn--paper { background: var(--paper); color: var(--ink); transition: background .35s cubic-bezier(.2, .7, .2, 1); }
.btn--paper:hover { background: var(--hay); color: var(--ink); }
.btn--hay { background: var(--hay); color: var(--ink); }
.btn--hay:hover { background: var(--paper); color: var(--ink); }

/* ---------- 01 Hero ---------- */

.hero {
  position: relative;
  height: 100vh; min-height: 660px;
  overflow: hidden;
  background: #2A2F3C;
  color: var(--paper);
}
.hero__par { position: absolute; inset: -4% 0 -4% 0; will-change: transform; }
.hero__kb { position: absolute; inset: 0; will-change: transform; }
.hero__scrim {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg,
    rgba(16, 20, 14, .5) 0%,
    rgba(16, 20, 14, 0) 22%,
    rgba(16, 20, 14, 0) 42%,
    rgba(16, 20, 14, .42) 66%,
    rgba(16, 20, 14, .82) 100%);
}

.nav {
  pointer-events: none;
  position: absolute; top: 0; left: 0; right: 0; z-index: 2;
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center;
  padding: 26px var(--pad-edge);
}
.nav a { pointer-events: auto; }
.nav__mark {
  font-family: var(--display); font-size: 30px; line-height: 1; letter-spacing: -.01em;
  color: var(--paper); text-decoration: none;
}
.nav__mark:hover { color: var(--paper); }
.nav__mark span { font-style: italic; color: var(--hay); }
.nav__right {
  display: flex; flex-wrap: wrap; gap: 28px; align-items: center;
  font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
}
.nav__date { color: rgba(238, 231, 215, .82); }
.nav__reg {
  color: var(--paper); text-decoration: none;
  border-bottom: 1px solid rgba(238, 231, 215, .6); padding-bottom: 3px;
}
.nav__reg:hover { color: var(--hay); border-bottom-color: var(--hay); }

.hero__bottom {
  pointer-events: none;
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 0 var(--pad-edge) clamp(22px, 4vh, 40px);
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 28px 48px;
}
.hero__bottom a { pointer-events: auto; }
.hero__title {
  flex: 1 1 560px; margin: 0;
  font-family: var(--display); font-weight: 400;
  font-size: clamp(58px, 10.4vw, 188px); line-height: .86; letter-spacing: -.025em;
}
.mask--h1a { padding-bottom: .05em; }
.mask--h1b { padding-bottom: .1em; margin-top: -.05em; }
.hero__aside { flex: 0 1 380px; display: flex; flex-direction: column; gap: 22px; padding-bottom: .9em; }
.hero__aside p { margin: 0; font-size: 20px; line-height: 1.45; color: var(--paper); text-wrap: pretty; }
.hero__rule { flex: 1 1 100%; height: 1px; background: rgba(238, 231, 215, .34); transform-origin: left; }
.hero__meta {
  flex: 1 1 100%;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px;
  margin-top: -14px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(238, 231, 215, .72);
}

/* ---------- 02 The land ---------- */

.land { padding: clamp(96px, 16vh, 200px) var(--pad) clamp(80px, 12vh, 160px); }
.land .dim { color: rgba(29, 36, 25, .6); }
.manifesto {
  margin: clamp(48px, 8vh, 96px) 0 0; max-width: 1200px;
  font-family: var(--display); font-size: clamp(36px, 5.2vw, 84px); line-height: 1.04; letter-spacing: -.015em;
  text-wrap: pretty;
}
/* The span stays inline so the two backgrounds run across the lines in reading order.
   site.js drives the width of the first (full ink) layer from the scroll position. */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  [data-ink] {
    background-image:
      linear-gradient(90deg, #1D2419 92%, rgba(29, 36, 25, 0)),
      linear-gradient(rgba(29, 36, 25, .16), rgba(29, 36, 25, .16));
    background-size: 104% 100%, 100% 100%;
    background-repeat: no-repeat;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

.facts {
  margin-top: clamp(80px, 13vh, 160px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 56px 44px;
}
.rule { height: 1px; background: var(--ink); transform-origin: left; }
.fact__num {
  font-family: var(--display); font-size: clamp(60px, 6.4vw, 104px); line-height: 1; letter-spacing: -.02em;
  margin-top: 26px;
}
.fact__num--now { font-style: italic; color: var(--clay); }
.fact p { margin: 18px 0 0; font-size: 19px; line-height: 1.5; max-width: 32ch; text-wrap: pretty; }

/* ---------- 03 Interlude ---------- */

.interlude { padding: 0 var(--pad) clamp(96px, 15vh, 190px); }
.interlude figure { margin: 0; }
.interlude__img { position: relative; height: clamp(420px, 80vh, 880px); }
.caption-row {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  margin-top: 16px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(29, 36, 25, .62);
}

/* ---------- 04 Why it matters ---------- */

.why { padding: 0 var(--pad) clamp(110px, 18vh, 220px); }
.why__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 28px 48px; }
.why__left { display: flex; flex-direction: column; gap: 28px; }
.why__title {
  margin: 0; max-width: 11ch;
  font-family: var(--display); font-weight: 400;
  font-size: clamp(48px, 6.6vw, 108px); line-height: .95; letter-spacing: -.02em;
}
.why__lead { margin: 0; max-width: 36ch; font-size: 19px; line-height: 1.5; color: rgba(29, 36, 25, .82); text-wrap: pretty; }

.cards {
  margin-top: clamp(56px, 9vh, 100px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
  gap: 56px 32px;
}
.card { display: flex; flex-direction: column; gap: 18px; }
.card__img { position: relative; aspect-ratio: 4 / 5; }
.card__eyebrow {
  font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--clay);
}
.card h3 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 36px; line-height: 1.02; }
.card p { margin: 0; font-size: 18px; line-height: 1.55; max-width: 34ch; text-wrap: pretty; }

/* ---------- 05 The walk ---------- */

.walk {
  background: var(--ink); color: var(--paper);
  padding: clamp(96px, 15vh, 190px) var(--pad) clamp(96px, 14vh, 170px);
}
.walk .dim { color: rgba(238, 231, 215, .6); }
.walk__row {
  margin-top: clamp(48px, 8vh, 88px);
  display: flex; flex-wrap: wrap; align-items: flex-start;
  gap: 64px clamp(40px, 6vw, 96px);
}
.walk__left { flex: 1 1 340px; max-width: 520px; display: flex; flex-direction: column; gap: 32px; }
.walk__title {
  margin: 0;
  font-family: var(--display); font-weight: 400;
  font-size: clamp(46px, 5.4vw, 88px); line-height: .96; letter-spacing: -.02em;
}
.walk__title em { color: var(--hay); }
.walk__lead { margin: 0; font-size: 19px; line-height: 1.55; color: rgba(238, 231, 215, .86); text-wrap: pretty; }

.details { margin: 0; display: grid; grid-template-columns: minmax(110px, auto) 1fr; font-size: 18px; line-height: 1.4; }
.details dt, .details dd { margin: 0; padding: 14px 0; border-top: 1px solid rgba(238, 231, 215, .2); }
.details dt {
  padding-top: 18px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(238, 231, 215, .6);
}
.details dt:last-of-type, .details dd:last-of-type { border-bottom: 1px solid rgba(238, 231, 215, .2); }

.walk__fig { flex: 1.6 1 460px; min-width: 0; margin: 0; display: flex; flex-direction: column; gap: 18px; }
.map {
  position: relative; width: 100%;
  aspect-ratio: 1108 / 1090;
  border: 1px solid rgba(238, 231, 215, .16);
  background: var(--map-bg);
}
.map canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.map__n {
  position: absolute; left: 2.4%; top: 2.4%;
  font-family: var(--mono); font-size: 11px; letter-spacing: .16em;
  color: rgba(238, 231, 215, .7);
}
.map__river {
  position: absolute; left: 1.4%; top: 46%;
  transform: rotate(-90deg); transform-origin: left top;
  font-family: var(--mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(160, 186, 200, .85); white-space: nowrap;
}
.wp {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 30px; height: 30px; border-radius: 50%;
  border: 1.5px solid var(--hay);
  background: var(--ink); color: var(--hay);
  display: grid; place-items: center;
  font-family: var(--mono); font-size: 12px;
  transition: background .5s, color .5s;
}
.wp.is-on { background: var(--hay); color: var(--ink); }

.legend { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 20px 28px; }
.legend > div { display: flex; flex-direction: column; gap: 6px; }
.legend__t { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--hay); }
.legend > div > span:last-child { font-size: 17px; line-height: 1.45; color: rgba(238, 231, 215, .82); }
.walk__cap {
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(238, 231, 215, .5);
}

.schedule {
  list-style: none; padding: 0;
  margin: clamp(80px, 13vh, 150px) 0 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 36px 28px;
}
.schedule li { display: flex; flex-direction: column; gap: 14px; }
.schedule__rule { height: 1px; background: rgba(238, 231, 215, .4); transform-origin: left; }
.schedule__time { font-family: var(--display); font-size: clamp(44px, 4.4vw, 68px); line-height: 1; }
.schedule__what { font-size: 18px; color: rgba(238, 231, 215, .82); }
.is-bbq .schedule__rule { background: var(--hay); }
.is-bbq .schedule__time { font-style: italic; color: var(--hay); }

/* ---------- 06 Register ---------- */

.register { padding: clamp(100px, 16vh, 200px) var(--pad) clamp(100px, 15vh, 180px); }
.register__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 64px clamp(48px, 7vw, 120px); align-items: start;
}
.register__intro { display: flex; flex-direction: column; gap: 32px; }
.register__title {
  margin: 0;
  font-family: var(--display); font-weight: 400;
  font-size: clamp(56px, 7.4vw, 124px); line-height: .9; letter-spacing: -.025em;
}
.mask--r1 { padding-bottom: .16em; margin-bottom: -.1em; }
.mask--r2 { padding-bottom: .1em; }
.register__lead { margin: 0; max-width: 38ch; font-size: 20px; line-height: 1.5; text-wrap: pretty; }
.register__meta {
  display: flex; flex-wrap: wrap; gap: 10px 28px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(29, 36, 25, .7);
}

.form { display: flex; flex-direction: column; gap: 36px; }
.field { display: flex; flex-direction: column; gap: 10px; }
.field__input {
  -webkit-appearance: none; appearance: none;
  width: 100%; margin: 0;
  font-family: 'Newsreader', serif; font-size: 28px; color: var(--ink);
  background: transparent;
  border: 0; border-bottom: 1.5px solid var(--ink); border-radius: 0;
  padding: 8px 0 12px;
  outline: none;
}
.field__input:focus-visible { outline: none; }
.field__input.is-err { border-bottom-color: var(--error); }
.field__input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px var(--paper) inset;
  -webkit-text-fill-color: var(--ink);
}
.field__err, .form__err { margin: 0; font-size: 16px; font-style: italic; color: var(--error); }

.party {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px;
  border-bottom: 1.5px solid rgba(29, 36, 25, .25); padding-bottom: 18px;
}
.party__text { display: flex; flex-direction: column; gap: 6px; }
.party__hint { font-size: 17px; color: rgba(29, 36, 25, .7); }
.stepper { display: flex; align-items: center; gap: 18px; }
.stepper__btn {
  width: 48px; height: 48px; padding: 0;
  border-radius: 50%; border: 1.5px solid var(--ink);
  background: transparent; color: var(--ink);
  font-size: 22px; cursor: pointer;
  display: grid; place-items: center;
}
.stepper__btn:hover { background: var(--ink); color: var(--paper); }
.stepper__count { font-family: var(--display); font-size: 48px; line-height: 1; min-width: 1.2em; text-align: center; }

.seg { display: flex; flex-direction: column; gap: 14px; }
.seg__grid { display: grid; grid-template-columns: 1fr 1fr; border: 1.5px solid var(--ink); }
.seg__opt { position: relative; display: flex; }
.seg__opt input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.seg__opt span {
  flex: 1; box-sizing: border-box; min-height: 56px;
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 12px 14px;
  font-family: 'Newsreader', serif; font-size: 19px;
  background: transparent; color: var(--ink);
  cursor: pointer;
  transition: background .3s, color .3s;
}
.seg__opt:first-child span { border-right: 1.5px solid var(--ink); }
.seg__opt input:checked + span { background: var(--ink); color: var(--paper); }
.seg__opt input:focus-visible + span { outline: 2px solid var(--clay); outline-offset: -6px; }
.seg__opt input:checked:focus-visible + span { outline-color: var(--hay); }

.check {
  position: relative;
  display: flex; align-items: flex-start; gap: 14px;
  cursor: pointer; color: var(--ink);
  font-family: 'Newsreader', serif; font-size: 18px; line-height: 1.45;
}
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.check__box {
  flex: 0 0 auto; width: 22px; height: 22px; margin-top: 2px;
  border: 1.5px solid var(--ink); background: transparent; color: var(--paper);
  display: grid; place-items: center; font-size: 14px; line-height: 1;
}
.check input:checked + .check__box { background: var(--ink); }
.check input:checked + .check__box::after { content: "✓"; }
.check input:focus-visible + .check__box { outline: 2px solid var(--clay); outline-offset: 3px; }

/* Spam trap. People never see this field. */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.submit-wrap { display: flex; flex-direction: column; gap: 14px; }
.submit {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 72px; padding: 0 28px;
  border: 0; background: var(--ink); color: var(--paper);
  font-family: var(--mono); font-size: 14px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  cursor: pointer;
  transition: background .35s cubic-bezier(.2, .7, .2, 1);
}
.submit:hover { background: var(--moss); }
.submit:disabled { cursor: progress; }
.submit__arrow { font-size: 20px; }

.done { display: flex; flex-direction: column; gap: 32px; }
.done__title {
  margin: 0; outline: none;
  font-family: var(--display); font-weight: 400;
  font-size: clamp(44px, 5vw, 76px); line-height: .95; letter-spacing: -.02em;
}
.ticket { display: grid; grid-template-columns: 1fr auto; border: 1.5px solid var(--ink); background: var(--ticket); }
.ticket__main { padding: 28px 28px 26px; display: flex; flex-direction: column; gap: 22px; }
.ticket__top {
  display: flex; justify-content: space-between; gap: 12px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
}
.ticket__admit { font-family: var(--display); font-size: clamp(40px, 4vw, 60px); line-height: 1; }
.ticket__meta {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 14px 20px;
  border-top: 1px solid rgba(29, 36, 25, .25); padding-top: 18px;
}
.ticket__meta > div { display: flex; flex-direction: column; gap: 4px; }
.ticket__meta > div > span:first-child {
  font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(29, 36, 25, .6);
}
.ticket__meta > div > span:last-child { font-size: 18px; }
.ticket__stub {
  border-left: 1.5px dashed var(--ink); padding: 20px 16px;
  display: flex; align-items: center; justify-content: center;
}
.ticket__stub > span {
  writing-mode: vertical-rl;
  font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
}
.done__note { margin: 0; font-size: 19px; line-height: 1.5; max-width: 40ch; }
.done__note strong { font-weight: 500; overflow-wrap: anywhere; }
.textbtn {
  min-height: 44px; padding: 0 0 3px;
  background: transparent; border: 0; border-bottom: 1px solid var(--ink);
  font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink); cursor: pointer;
}
.textbtn:hover { color: var(--clay); border-bottom-color: var(--clay); }

/* ---------- 07 Footer ---------- */

.footer {
  background: var(--ink); color: var(--paper);
  padding: clamp(80px, 13vh, 150px) var(--pad-edge) 30px;
  overflow: hidden;
}
.footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px; }
.footer__tag {
  margin: 0; max-width: 18ch;
  font-family: var(--display); font-size: clamp(32px, 3.6vw, 56px); line-height: 1.05; letter-spacing: -.01em;
}
.footer__tag em { color: var(--hay); }
.footer__mark {
  margin-top: clamp(64px, 11vh, 130px);
  font-family: var(--display); font-size: clamp(64px, 21vw, 420px); line-height: .82; letter-spacing: -.035em;
}
.footer__mark em { color: var(--hay); }
.footer__bar {
  margin-top: 36px; padding-top: 18px;
  border-top: 1px solid rgba(238, 231, 215, .2);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 28px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(238, 231, 215, .62);
}

/* ---------- Sticky register button ---------- */

.fab {
  position: fixed; z-index: 30;
  right: clamp(14px, 2.6vw, 32px); bottom: clamp(14px, 2.6vw, 32px);
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--ink); color: var(--paper);
  padding: 16px 22px;
  font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none;
  opacity: 0; pointer-events: none; transform: translateY(14px);
  transition: opacity .6s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.16, 1, .3, 1), background .3s;
}
.fab.is-shown { opacity: 1; pointer-events: auto; transform: translateY(0); }
.fab:hover { background: var(--moss); color: var(--paper); }
.fab span { color: var(--hay); }

/* ---------- Registration extras ---------- */

.form__alt { margin: 0; font-size: 17px; line-height: 1.45; color: rgba(29, 36, 25, .7); }
.form__alt a { color: var(--ink); }
.form__alt a:hover { color: var(--clay); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
a.textbtn { display: inline-flex; align-items: center; box-sizing: border-box; text-decoration: none; }
.btn--ink {
  border: 0; cursor: pointer;
  background: var(--ink); color: var(--paper);
  transition: background .35s cubic-bezier(.2, .7, .2, 1);
}
.btn--ink:hover { background: var(--moss); color: var(--paper); }
.err { color: var(--error); }
.ticket.is-cancelled .ticket__admit { text-decoration: line-through; text-decoration-thickness: 2px; }
.ticket.is-cancelled .ticket__admit, .ticket.is-cancelled .ticket__meta > div > span:last-child { color: rgba(29, 36, 25, .6); }

/* ---------- Spam check ----------
   A bordered row in the style of the BBQ control, with the same box as "Keep me posted". */

.human-field { display: flex; flex-direction: column; gap: 10px; }
.human {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px;
  box-sizing: border-box; min-height: 64px; padding: 12px 16px;
  border: 1.5px solid var(--ink);
  transition: background .3s, border-color .3s;
}
.human.is-done { background: var(--ticket); }
.human.is-err { border-color: var(--error); }
.human__btn {
  display: flex; align-items: center; gap: 14px;
  min-height: 40px; padding: 0;
  background: transparent; border: 0; cursor: pointer; text-align: left;
  color: var(--ink); font-family: 'Newsreader', serif; font-size: 18px; line-height: 1.45;
}
.human__box { position: relative; margin-top: 0; overflow: hidden; }
.human.is-busy .human__box::before {
  content: ""; position: absolute; inset: 3px; background: var(--ink);
  animation: human-pulse .9s cubic-bezier(.33, 0, .15, 1) infinite alternate;
}
.human.is-done .human__box { background: var(--ink); }
.human.is-done .human__box::after { content: "✓"; }
.human.is-err .human__box { border-color: var(--error); }
.human__status {
  font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(29, 36, 25, .6);
}
.human.is-done .human__status { color: var(--clay); }
.human.is-err .human__status { color: var(--error); }
@keyframes human-pulse {
  from { opacity: .15; transform: scale(.35); }
  to { opacity: .6; transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .human.is-busy .human__box::before { animation: none; opacity: .35; }
}

/* ---------- Manage and find pages ---------- */

.mhead {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px;
  padding: 26px var(--pad-edge);
  border-bottom: 1px solid rgba(29, 36, 25, .25);
}
.mhead__mark {
  font-family: var(--display); font-size: 30px; line-height: 1; letter-spacing: -.01em;
  color: var(--ink); text-decoration: none;
}
.mhead__mark:hover { color: var(--ink); }
.mhead__mark span { font-style: italic; color: var(--clay); }
.mhead__right {
  display: flex; flex-wrap: wrap; gap: 28px; align-items: center;
  font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
}
.mhead__date { color: rgba(29, 36, 25, .7); }
.mhead__reg { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: 3px; }
.mhead__reg:hover { color: var(--clay); border-bottom-color: var(--clay); }

.mpage { padding: clamp(64px, 11vh, 130px) var(--pad) clamp(100px, 15vh, 180px); }
.mpage .register__title { font-size: clamp(52px, 6.4vw, 108px); }
.register__intro.solo { max-width: 720px; }
.panel { display: flex; flex-direction: column; gap: 24px; }

.notice {
  margin: 0; padding: 16px 18px;
  border: 1.5px solid var(--ink); background: var(--ticket);
  font-size: 18px; line-height: 1.45;
  overflow-wrap: anywhere;
}
.notice strong, .done__note strong { font-weight: 500; }
.errlist { margin: 0; padding-left: 1.1em; font-size: 19px; line-height: 1.5; font-style: italic; color: var(--error); }

.mfoot {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 28px;
  padding: 18px var(--pad-edge) 30px;
  border-top: 1px solid rgba(29, 36, 25, .25);
  font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(29, 36, 25, .62);
}

/* ---------- Reveals ----------
   The head script adds .motion only when the browser can play the reveals.
   These rules match the first keyframe of each reveal in site.js, so nothing flashes before the script runs. */

.motion [data-reveal="rise"] { transform: translateY(108%); }
.motion [data-reveal="fade"] { opacity: 0; transform: translateY(16px); }
.motion [data-reveal="wipe"] { clip-path: inset(0 100% 0 0); }
.motion [data-reveal="slot"] { clip-path: inset(100% 0 0 0); }
.motion [data-reveal="lift"] { opacity: 0; transform: translateY(36px); }
.motion [data-reveal="line"] { transform: scaleX(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fab { transition: opacity .2s; transform: none; }
}
