:root {
  --navy: #1d3760;
  --gold: #c4953a;
  --cream: #f4f1ea;
  --paper: #fffdf8;
  --ink: #1d3760;
  --body: #3d4650;
  --muted: #6a7380;
  --line: #d4c7a8;
  --line-soft: #efe8da;
  --panel: #f7f3ea;
  --panel-border: #e0d4b8;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--cream);
  color: var(--ink);
  min-height: 100vh;
}

.hidden { display: none !important; }

.test-banner {
  background: var(--navy);
  color: var(--gold);
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.14em;
  padding: 8px 12px;
  font-weight: 600;
}

/* —— Gate —— */
.gate-wrap {
  max-width: 440px;
  margin: 40px auto;
  padding: 0 16px 48px;
}
.gate-card {
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 12px 40px rgba(29,55,96,0.08);
  padding: 48px 36px 40px;
  text-align: center;
}
.gate-card .logo { width: 300px; max-width: 100%; margin: 0 auto 24px; display: block; }
.gate-card h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: 26px;
  margin: 0 0 8px;
}
.gate-card .sub {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 24px;
  line-height: 1.5;
}
.gate-card input[type="text"] {
  width: 100%;
  padding: 14px 14px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 16px;
  color: var(--navy);
  margin-bottom: 12px;
  text-align: center;
  letter-spacing: 0.06em;
}
.gate-card .hint {
  font-size: 12px;
  color: var(--muted);
  margin: 20px 0 0;
}
.gate-card .hint strong { color: var(--navy); }
.error {
  color: #8a6a2f;
  font-size: 13px;
  margin: 10px 0 0;
}

/* —— Shared card chrome —— */
.eyebrow {
  letter-spacing: 0.22em;
  font-size: 11px;
  color: var(--gold);
  margin: 0 0 12px;
  font-weight: 600;
  text-align: center;
}
.logo { width: 260px; max-width: 80%; margin: 0 auto 20px; display: block; }
.flag-seal { width: 52px; margin: 28px auto 0; display: block; }

.btn {
  display: block;
  padding: 14px 22px;
  border-radius: 2px;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid transparent;
  text-align: center;
  cursor: pointer;
  font-family: inherit;
  background: transparent;
  color: var(--navy);
}
.btn.primary { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn.primary:hover { background: #152a4a; }
.btn.ghost { background: transparent; color: var(--navy); border-color: #c5bba3; }
.btn.ghost.soft { color: var(--muted); border-color: #ddd4c0; }
.btn.block { width: 100%; }
.btn.venmo-look {
  display: inline-block;
  margin-top: 12px;
  padding: 11px 20px;
  background: #008CFF;
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  cursor: default;
  opacity: 0.85;
  pointer-events: none;
  user-select: none;
}

/* —— Welcome —— */
.welcome-wrap {
  max-width: 520px;
  margin: 32px auto 48px;
  padding: 0 16px;
}
.welcome-card {
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 12px 40px rgba(29,55,96,0.08);
  padding: 48px 40px 40px;
  text-align: center;
}
.hosts {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  line-height: 1.55;
  margin: 0 0 8px;
}
.guest-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  margin: 4px 0 18px;
  font-weight: 400;
}
.event-line {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  margin: 0 0 6px;
  letter-spacing: 0.04em;
}
.blurb {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin: 18px auto 10px;
  max-width: 380px;
}
.meta {
  font-size: 13px;
  margin: 16px 0 32px;
  line-height: 1.7;
}
.meta strong { font-weight: 600; }
.actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 320px;
  margin: 0 auto;
}
.hint-line {
  font-size: 12px;
  color: var(--muted);
  margin: 18px 0 0;
  line-height: 1.45;
}

/* —— Field guide —— */
.fg-wrap {
  max-width: 680px;
  margin: 24px auto 40px;
  padding: 0 16px 96px;
}
.fg-card {
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 12px 40px rgba(29,55,96,0.08);
  padding: 36px 32px 32px;
}
.fg-card .logo { width: 160px; }
.fg-card h1 {
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: 26px;
  text-align: center;
  margin: 0 0 4px;
}
.for {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 22px;
}
.for strong { color: var(--navy); }
nav.secs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 8px;
}
nav.secs a {
  display: block;
  padding: 14px 12px;
  border: 1px solid var(--panel-border);
  background: #faf7f0;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--navy);
}
nav.secs a b { display: block; font-weight: 600; white-space: nowrap; }
nav.secs a .sub {
  display: block;
  white-space: nowrap;
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
  margin-top: 4px;
}
nav.secs a .sub em { display: inline; font-style: italic; }
nav.secs a:nth-child(5) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 5px); }
@media (max-width: 520px) { nav.secs a:nth-child(5) { width: 100%; } }
section.block {
  padding: 26px 0 8px;
  border-top: 1px solid var(--line-soft);
  margin-top: 18px;
  scroll-margin-top: 12px;
  scroll-snap-align: start;
  min-height: 100vh;
  min-height: 100svh;
  padding-bottom: 96px; /* clear the fixed footer bar */
  box-sizing: border-box;
}
html { scroll-behavior: smooth; }
body[data-page="details"] { scroll-snap-type: y proximity; }
html:has(body[data-page="details"]) { scroll-snap-type: y proximity; }
section.block h2 {
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: 18px;
  margin: 0 0 6px;
  letter-spacing: 0.03em;
}
.sec-eye {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin: 0 0 12px;
}
section.block p {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--body);
}
ul.clean { list-style: none; padding: 0; margin: 0 0 12px; }
ul.clean li {
  font-size: 14px;
  line-height: 1.45;
  color: var(--body);
  padding: 10px 0;
  border-bottom: 1px solid #f0e9db;
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 10px;
}
ul.clean li:last-child { border-bottom: none; }
ul.clean .k {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  padding-top: 2px;
}

/* Team marks — Field Guide event section */
.team-marks {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 36px;
  margin: 8px 0 8px;
  padding: 12px 0 4px;
}
.team-marks figure {
  margin: 0;
  text-align: center;
  flex: 0 0 auto;
}
.team-marks img {
  display: block;
  height: 132px;
  width: auto;
  margin: 0 auto;
  object-fit: contain;
}
.team-marks figcaption {
  margin-top: 8px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  font-weight: 600;
}
.day {
  margin: 0 0 18px;
  padding: 14px 14px 12px;
  background: var(--panel);
  border: 1px solid #e8dfc8;
}
.day + .day {
  margin-top: 20px;
  position: relative;
}
.day + .day::before {
  content: "";
  position: absolute;
  top: -11px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: var(--gold);
}
.day h3 {
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: 15px;
  margin: 0 0 10px;
  letter-spacing: 0.02em;
}
.day ul,
ul.agenda {
  margin: 0;
  padding: 0;
  list-style: none;
}
.day li,
ul.agenda li {
  font-size: 13px;
  line-height: 1.45;
  color: var(--body);
  margin: 0;
  padding: 6px 0;
  border-bottom: 1px solid #efe8da;
  display: flex;
  gap: 14px;
  align-items: baseline;
}
.day li:last-child,
ul.agenda li:last-child {
  border-bottom: none;
  padding-bottom: 2px;
}
ul.agenda .t {
  flex: 0 0 7.25rem;
  font-variant-numeric: tabular-nums;
  color: var(--navy);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.02em;
}
ul.agenda .e {
  flex: 1 1 auto;
  min-width: 0;
}
.note {
  font-size: 12px;
  color: var(--muted);
  font-style: italic;
  margin-top: 8px !important;
}
.hold {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid var(--panel-border);
  background: #faf7f0;
  text-align: center;
}
.hold .amt {
  font-family: Georgia, serif;
  font-size: 20px;
  margin: 4px 0;
}
.hold .sub {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}
.hold .refund {
  margin-top: 8px;
  font-size: 12px;
  color: var(--navy);
  font-weight: 600;
}
.footer-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255,253,248,0.97);
  border-top: 1px solid var(--line);
  padding: 12px 16px;
  display: flex;
  gap: 10px;
  justify-content: center;
  z-index: 10;
}
.footer-bar a {
  padding: 12px 22px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--navy);
  text-decoration: none;
}
.footer-bar .yes { background: var(--navy); color: #fff; }
.footer-bar .no { background: transparent; color: var(--muted); border-color: #c5bba3; }
.back-link {
  display: inline-block;
  font-size: 12px;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}
.back-link:hover { color: var(--navy); }

/* —— Accept —— */
.accept-wrap {
  max-width: 640px;
  margin: 24px auto 48px;
  padding: 0 16px;
}
.accept-card {
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 12px 40px rgba(29,55,96,0.08);
  padding: 36px 32px 32px;
}
.accept-card .logo { width: 150px; }
.accept-card h1 {
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: 26px;
  text-align: center;
  margin: 0 0 4px;
}
.lead {
  text-align: center;
  font-size: 14px;
  line-height: 1.55;
  color: var(--body);
  margin: 0 0 24px;
}
.accept-card h2 {
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: 17px;
  margin: 28px 0 6px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
  letter-spacing: 0.02em;
}
label.field {
  display: block;
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
}
label.field input,
label.field select,
label.field textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--navy);
  font-family: inherit;
}
label.field textarea { min-height: 64px; resize: vertical; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) {
  .row { grid-template-columns: 1fr; }
  nav.secs { grid-template-columns: 1fr; }
}
.radios {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 8px;
}
.radios label {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--body);
}
.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  margin: 8px 0 18px;
  line-height: 1.45;
  color: var(--body);
}
.check input { margin-top: 3px; }
.demo-note {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  margin: 20px 0 0;
  line-height: 1.5;
  padding: 14px;
  background: var(--panel);
  border: 1px solid var(--panel-border);
}

/* —— Decline —— */
.decline-wrap {
  max-width: 520px;
  margin: 48px auto;
  padding: 0 16px 48px;
}
.decline-card {
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 12px 40px rgba(29,55,96,0.08);
  padding: 52px 40px 44px;
  text-align: center;
}
.decline-card .logo { width: 200px; }
.decline-card h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: 28px;
  margin: 0 0 14px;
}
.decline-name {
  font-family: Georgia, serif;
  font-size: 16px;
  margin: 0 0 22px;
  color: var(--muted);
}
.decline-name strong { color: var(--navy); font-weight: 600; }
.decline-body {
  font-size: 15px;
  line-height: 1.65;
  color: var(--body);
  margin: 0 auto 18px;
  max-width: 380px;
}
.decline-closing {
  font-family: Georgia, serif;
  font-size: 15px;
  line-height: 1.6;
  margin: 24px auto 0;
  max-width: 360px;
  color: var(--navy);
}


/* event name */
em {
  font-style: italic;
  font-weight: inherit;
  color: inherit;
}
.event-line em {
  font-style: italic;
  letter-spacing: 0.02em;
}

.host-contacts {
  margin: 22px 0 4px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  text-align: center;
}
.host-contacts .sec-eye { margin-bottom: 6px; }
.host-contacts-lead {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 12px;
}
.host-contacts-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 280px;
  text-align: left;
}
.host-contacts-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: baseline;
  padding: 8px 0;
  border-bottom: 1px solid #f0e9db;
  font-size: 14px;
}
.host-contacts-list li:last-child { border-bottom: none; }
.host-contacts-list .k {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}
.host-contacts-list a {
  color: var(--navy);
  text-decoration: none;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}
.host-contacts-list a:hover { color: var(--gold); }


/* —— v2 additions —— */
.guest-script {
  font-family: "Petit Formal Script", cursive;
  font-weight: 400 !important;
  color: var(--navy) !important;
}
.guest-name.guest-script { font-size: 40px; line-height: 1.25; margin: 6px 0 18px; }
.for strong.guest-script { font-size: 24px; letter-spacing: 0.01em; }
.decline-name strong.guest-script { font-size: 24px; }

.callout {
  text-align: center;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 23px !important;
  line-height: 1.4 !important;
  color: var(--navy) !important;
  margin: 12px 0 20px !important;
  padding: 18px 12px;
  border-top: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
}
.callout em { font-style: italic; }
.course-credit {
  text-align: center;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 16px !important;
  line-height: 1.4 !important;
  color: var(--gold) !important;
  margin: -2px 0 6px !important;
}
section.block p.style-note { font-size: 13px; margin: 0 0 14px !important; }

/* Accept: celebratory header */
.welcome-field { text-align: center; margin: 0 0 18px; }
.welcome-field .td-hero { width: 92px; margin: 0 auto 12px; display: block; }
.welcome-field .wf-line {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400; font-style: italic;
  font-size: 22px; margin: 0; color: var(--navy);
}
.welcome-field .wf-name { font-size: 46px; line-height: 1.25; margin: 6px 0 10px; }
.gold-rule { display: flex; align-items: center; gap: 12px; max-width: 320px; margin: 0 auto; color: var(--gold); }
.gold-rule span { flex: 1; height: 2px; background: var(--gold); }
.gold-rule i { font-style: normal; font-size: 12px; }
.accept-card .lead { font-family: Georgia, serif; font-size: 15px; }

/* Accept: locker plaque */
.locker-box {
  border: 2px solid var(--gold);
  background: #faf7f0;
  padding: 16px 16px 6px;
  margin: 8px 0 8px;
}
.locker-box .sec-eye { margin-bottom: 8px; }
.locker-box textarea { min-height: 78px; }
.helper { font-size: 12px; color: var(--muted); font-style: italic; line-height: 1.5; margin: 0 0 12px; }

/* Accept: single-row question + choices */
label.field.inline-q {
  display: flex; align-items: center; flex-wrap: nowrap; gap: 6px 16px;
  font-size: 12px; letter-spacing: 0.02em; white-space: nowrap;
}
label.field.inline-q .radios { margin-top: 0; flex-wrap: nowrap; gap: 6px 12px; }
label.field.inline-q .radios label { white-space: nowrap; }
@media (max-width: 520px) {
  label.field.inline-q { flex-wrap: wrap; white-space: normal; }
  label.field.inline-q .radios { flex-wrap: wrap; }
}
.welcome-field .wf-name::after{content:",";font-family:Georgia,serif;color:var(--gold);}

/* Accept: full-line choice + reveal-on-Other */
.radios label.wide { flex: 0 0 100%; }
label.field.other-field[hidden] { display: none; }

/* Radios: never inherit the full-width text-input styling */
label.field .radios input[type="radio"] {
  display: inline-block; width: auto; margin: 0; padding: 0; flex: 0 0 auto;
}
.radios label.wide { white-space: normal; }

/* —— Oct 25 polish —— */
[hidden] { display: none !important; }
.signout { font-size: 12px; color: var(--muted); text-decoration: none; letter-spacing: 0.04em; border-bottom: 1px solid transparent; }
.signout:hover, .signout:focus { color: var(--navy); border-bottom-color: var(--gold); }
.btn.ghost.soft { color: #4a5668; border-color: #a9b2bf; background: transparent; }
.btn.ghost.soft:hover { color: var(--navy); border-color: var(--navy); }
.photo-wrap { display: flex; align-items: center; gap: 14px; margin: 6px 0 10px; }
.photo-frame { width: 96px; height: 96px; flex: 0 0 96px; border: 1px solid var(--panel-border); background: var(--paper); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-frame svg { width: 56px; height: 56px; }
.photo-btns { display: flex; flex-direction: column; gap: 8px; }
