/* ============================================================
   Jason Turns 50 — RSVP landing page
   Palette from the Alief Elsik jersey and painted gym wall:
   deep navy, royal gym-wall blue, Columbia/powder blue, white.
   ============================================================ */

:root {
  --navy-deep: #081b40;
  --navy: #0f2d6b;
  --navy-mid: #163a82;
  --navy-soft: #1c4596;
  --royal: #1e4e9c;
  --columbia: #7eb6d9;
  --columbia-light: #b7d6ec;
  --columbia-deep: #3d7fa8;
  --ice: #eef3f9;
  --ice-dark: #e3ebf4;
  --ink: #12203a;
  --muted: #5c6574;
  --line: rgba(18, 32, 58, 0.12);
  --white: #ffffff;
  --error: #9b1c32;
  --error-bg: #fde8ee;
  --shadow: 0 20px 48px rgba(0, 0, 0, 0.38);
  --radius: 16px;
  --font-display: "Alfa Slab One", "Rockwell", "Slab Serif", "Times New Roman", serif;
  --font-body: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --wrap: 1120px;
  --wrap-narrow: 720px;
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  background-color: #081b40;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

/* Festive Elsik-navy field with subtle gray line-art basketballs + margaritas.
   Pattern lives on <main> so the hero gym wall and solid footer stay clean. */
main {
  background-color: #081b40;
  background-image:
    url("../images/elsik-party-pattern.svg"),
    linear-gradient(180deg, #0b224d 0%, #081b40 28%, #081b40 100%);
  background-repeat: repeat, no-repeat;
  background-size: 560px 560px, 100% 100%;
  background-position: top center, 0 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3 {
  margin: 0;
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.01em;
}

p { margin: 0; }

a {
  color: var(--navy);
}

button,
input,
textarea,
select {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--columbia);
  color: var(--navy-deep);
  padding: 0.6rem 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
}

.skip-link:focus {
  top: 1rem;
}

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

.wrap-narrow {
  width: min(100% - 2rem, var(--wrap-narrow));
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.btn:focus-visible {
  outline: 3px solid var(--columbia-light);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  box-shadow: 0 8px 20px rgba(8, 27, 64, 0.22);
}

.btn-primary:hover {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
  transform: translateY(-1px);
}

.hero .btn-primary {
  background: var(--white);
  color: var(--navy-deep);
  border-color: var(--white);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
}

.hero .btn-primary:hover {
  background: var(--columbia-light);
  border-color: var(--columbia-light);
  color: var(--navy-deep);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: var(--columbia);
}

.btn-ghost:hover {
  background: rgba(126, 182, 217, 0.16);
  transform: translateY(-1px);
}

.section-rsvp .btn-ghost,
.section-hotels .btn-ghost,
.rsvp-success .btn-ghost {
  color: var(--navy);
  border-color: var(--navy);
}

.rsvp-success .btn-ghost:hover {
  background: rgba(15, 45, 107, 0.06);
}

.btn-submit {
  width: 100%;
  margin-top: 0.5rem;
}

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

.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy-deep);
  color: var(--white);
  padding: 3.25rem 0 3.5rem;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: auto 0 0;
  height: 6px;
  pointer-events: none;
  background: linear-gradient(90deg, var(--columbia-deep), var(--columbia-light), var(--columbia-deep));
}

.gym-wall {
  position: absolute;
  z-index: 0;
  inset: 0;
  background-color: var(--navy);
  background-image: linear-gradient(180deg, #12357a 0%, #0f2d6b 40%, #0a204e 100%);
  box-shadow: inset 0 0 120px rgba(8, 27, 64, 0.55);
}




.hero-ram {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  user-select: none;
  /* Mobile: large but parked on the photo so title stays clear. */
  width: auto;
  height: 78%;
  max-width: none;
  left: 42%;
  top: 72%;
  transform: translate(-50%, -50%) rotate(14deg);
  opacity: 0.07;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, var(--wrap));
  margin-inline: auto;
  display: grid;
  gap: 2.25rem;
  align-items: center;
}

.eyebrow {
  display: block;
  margin: 0 0 0.9rem;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  text-transform: uppercase;
  text-shadow: 0 1px 2px #081b40, 0 0 10px #081b40;
}

.eyebrow-date {
  display: block;
  font-size: clamp(1.275rem, 3.6vw, 1.85rem);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.eyebrow-loc {
  display: block;
  margin-top: 0.2em;
  font-size: clamp(0.82rem, 2.2vw, 1.12rem);
  letter-spacing: 0.08em;
  color: var(--columbia-light);
}

.headline {
  font-family: var(--font-display);
  font-size: clamp(3.15rem, 13vw, 6.4rem);
  text-transform: uppercase;
  color: var(--white);
  text-shadow: 0 2px 0 rgba(8, 27, 64, 0.25);
}

.headline-line {
  display: block;
}

.headline-50 {
  color: var(--columbia-light);
}

.subhead {
  max-width: 34rem;
  margin-top: 1.25rem;
  font-size: 1.125rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.86);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero-photo {
  margin: 0;
  width: 100%;
  max-width: 28rem;
  justify-self: center;
}

.photo-frame {
  padding: 8px;
  background: var(--white);
  border: 5px solid var(--columbia);
  box-shadow:
    0 24px 50px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(255, 255, 255, 0.08);
}

.photo-frame img {
  width: 100%;
  height: auto;
  display: block;
  background: var(--navy-deep);
  /* Never crop this photo — heads and the basketball must stay in frame. */
  object-fit: contain;
  object-position: center top;
}

.hero-photo figcaption {
  margin-top: 0.85rem;
  text-align: center;
  color: var(--columbia-light);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (min-width: 860px) {
  .hero {
    padding: 4.5rem 0 5rem;
  }

  .hero-ram {
    height: 158%;
    width: auto;
    left: -16%;
    right: auto;
    top: 50%;
    transform: translate(0, -50%) rotate(10deg);
    opacity: 0.075;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 440px);
    gap: 4.5rem;
    align-items: center;
  }

  .hero-photo {
    justify-self: end;
    max-width: 440px;
  }

  .subhead {
    font-size: 1.2rem;
  }
}

/* ---------- Sections ---------- */

.section {
  padding: 4.25rem 0;
}

.section-header {
  margin-bottom: 2.25rem;
}

.section-kicker {
  color: var(--columbia);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
  text-shadow: 0 1px 2px #081b40, 0 0 8px #081b40;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7vw, 4rem);
  text-transform: uppercase;
  color: var(--white);
  text-shadow: 0 0 12px #081b40, 0 0 22px #081b40;
}

.section-lead {
  max-width: 38rem;
  margin-top: 0.9rem;
  color: var(--columbia-light);
  font-size: 1.05rem;
  text-shadow: 0 1px 2px #081b40, 0 0 8px #081b40;
}

.rsvp-invite-note {
  max-width: 38rem;
  margin: 1rem 0 0;
  padding: 0.9rem 1.1rem;
  border-radius: 12px;
  background: rgba(8, 27, 64, 0.92);
  border: 1px solid rgba(126, 182, 217, 0.38);
  border-left: 4px solid var(--columbia);
  color: var(--white);
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.5;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

/* ---------- The Plan (weekend lineup) ---------- */

.section-schedule {
  background: transparent;
  overflow-x: clip;
}

.plan-header {
  display: block;
  text-align: center;
  margin-bottom: 1rem;
}

.plan-header-copy {
  min-width: 0;
}

.plan-header .section-lead {
  margin-left: auto;
  margin-right: auto;
}

.plan-scenes {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 0.85rem 0.15rem;
  margin: 0 0 1.5rem;
  pointer-events: none;
}

.plan-scenes img {
  display: block;
  width: auto;
  max-width: calc(50% - 0.5rem);
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.42));
  user-select: none;
}

.plan-scenes .plan-scene-jumper {
  height: 200px;
  margin-bottom: 13px; /* align Vernon's feet with the layup */
}

.plan-scenes .plan-scene-layup {
  height: 208px;
}

.plan-scenes .plan-scene-cake {
  height: 222px; /* batch 4: ~30% bigger than 171px */
  margin-top: -5px; /* tuck into the transparent hat headroom */
  margin-bottom: 39px; /* cake base sits on Vernon's feet baseline */
  max-width: none;
  flex: 0 0 auto;
  /* negative side margins keep the row footprint the same, so both Vernons stay put */
  margin-left: -34.5px;
  margin-right: -34.5px;
  position: relative;
  z-index: 2;
}

@media (min-width: 860px) {
  .plan-header {
    display: block;
    text-align: center;
    margin-bottom: 1.15rem;
  }

  .plan-scenes {
    gap: 1.75rem;
    margin: 0 0 1.85rem;
  }

  .plan-scenes img {
    max-width: calc(50% - 0.9rem);
    filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.45));
  }

  .plan-scenes .plan-scene-jumper {
    height: 420px;
    margin-bottom: 27px; /* align Vernon's feet with the layup */
  }

  .plan-scenes .plan-scene-layup {
    height: 438px;
  }

  .plan-scenes .plan-scene-cake {
    height: 486px; /* batch 4: ~30% bigger than 374px */
    margin-top: -10px; /* tuck into the transparent hat headroom */
    margin-bottom: 80px;
    margin-left: -47px;
    margin-right: -47px;
  }
}

.weekend-lineup {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.35rem;
}

.event-poster {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  min-width: 0;
}

.event-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.1rem;
  padding: 1.1rem 1.2rem 1.15rem 1.35rem;
  position: relative;
}

.event-poster-friday .event-banner {
  background: #1e4d9b;
  color: var(--white);
}

.event-poster-hoops .event-banner {
  background: var(--navy-deep);
  color: var(--white);
}

.event-poster-dinner .event-banner {
  background: var(--columbia);
  color: var(--navy-deep);
}

.event-poster-night .event-banner {
  background: var(--navy);
  color: var(--white);
}

.event-when {
  margin: 0;
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.18rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 6.2vw, 2.35rem);
  line-height: 0.98;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.event-day,
.event-time {
  display: block;
  max-width: 100%;
}

.event-day {
  overflow-wrap: normal;
  hyphens: none;
  line-height: 1.05;
}

.event-sep {
  display: none;
}

.event-time {
  font-size: 0.78em;
  letter-spacing: 0.03em;
  line-height: 1.08;
}

.event-poster-friday .event-time,
.event-poster-hoops .event-time,
.event-poster-night .event-time {
  color: var(--columbia-light);
}

.event-poster-dinner .event-time {
  color: var(--navy);
}

.event-icon {
  flex: 0 0 auto;
  width: 3.15rem;
  height: 3.15rem;
  display: block;
  opacity: 0.92;
}

.event-poster-hoops .event-icon {
  width: 4.15rem;
  height: 4.15rem;
}

.event-icons {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  flex: 0 0 auto;
}

.event-icons .event-icon {
  width: 2.55rem;
  height: 2.55rem;
}

.event-body {
  padding: 1.25rem 1.4rem 1.45rem;
  flex: 1 1 auto;
}

.event-poster h3 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 4vw, 2rem);
  text-transform: uppercase;
  color: var(--navy-deep);
  margin: 0 0 0.55rem;
  line-height: 1.05;
}

.event-poster h3 .title-sub {
  display: block;
  margin-top: 0.4rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.35;
  text-transform: none;
  color: var(--navy);
}

.event-body > p {
  color: #3d4756;
}

.event-tag {
  display: inline-block;
  margin: 0 0 0.45rem;
  color: var(--columbia-deep);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.event-place {
  margin-top: 0.7rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy);
}

.event-body > p.text-jason,
.text-jason {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.55rem;
  margin-top: 0.85rem;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--navy);
}

.text-jason a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 0.9rem;
  border-radius: 999px;
  border: 1.5px solid var(--royal);
  background: var(--ice);
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
}

.text-jason a:hover {
  background: var(--columbia-light);
  border-color: var(--navy);
  color: var(--navy-deep);
}

.text-jason a:focus-visible {
  outline: 3px solid var(--columbia);
  outline-offset: 2px;
}

@media (max-width: 559px) {
  .event-banner {
    padding: 1rem 1.05rem 1.05rem 1.15rem;
    align-items: flex-start;
  }

  .event-icon {
    width: 2.6rem;
    height: 2.6rem;
    margin-top: 0.1rem;
  }

  .event-poster-hoops .event-icon {
    width: 3.35rem;
    height: 3.35rem;
  }

  .event-icons .event-icon {
    width: 2.25rem;
    height: 2.25rem;
  }
}

@media (min-width: 860px) {
  .weekend-lineup {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .event-when {
    font-size: clamp(1.7rem, 2.15vw, 2.2rem);
  }

  .event-banner {
    min-height: 6.5rem;
    padding: 1.2rem 1.35rem 1.25rem 1.5rem;
  }

  .event-icon {
    width: 3.4rem;
    height: 3.4rem;
  }

  .event-poster-hoops .event-banner {
    min-height: 7.1rem;
  }

  .event-poster-hoops .event-icon {
    width: 4.65rem;
    height: 4.65rem;
  }

  .event-icons .event-icon {
    width: 2.85rem;
    height: 2.85rem;
  }
}

/* ---------- RSVP ---------- */

.section-rsvp {
  background: transparent;
}

.form-block {
  margin: 0 0 1.75rem;
  padding: 1.4rem 1.25rem 1.35rem;
  border: 0;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 28px rgba(8, 27, 64, 0.08);
  min-width: 0;
  min-inline-size: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.block-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--navy-deep);
  margin: 0 0 1rem;
  line-height: 1.2;
  padding: 0;
  text-wrap: balance;
  overflow-wrap: normal;
  hyphens: none;
}

.legend-event {
  display: block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--columbia-deep);
  margin-bottom: 0.3rem;
}

.legend-meta {
  display: block;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
  margin-top: 0.25rem;
}

.field-row {
  display: grid;
  gap: 1rem;
  margin-bottom: 0;
}

@media (min-width: 560px) {
  .field-row {
    grid-template-columns: 1fr 1fr;
  }
}

.field {
  margin-bottom: 1rem;
}

.field:last-child {
  margin-bottom: 0;
}

.field label,
.field-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 650;
  margin-bottom: 0.4rem;
  color: var(--ink);
}

.req,
.opt {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-left: 0.35rem;
}

.req { color: var(--navy); }
.opt { color: var(--muted); }

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  width: 100%;
  border: 1.5px solid #d7d0c4;
  border-radius: 12px;
  background: #f7fafd;
  padding: 0.85rem 0.95rem;
  color: var(--ink);
  font-size: 16px; /* prevent iOS zoom */
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

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

#guest-note {
  min-height: calc(3em * 1.45 + 1.7rem);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 4px rgba(15, 45, 107, 0.15);
}

.field.is-invalid input,
.field.is-invalid textarea {
  border-color: var(--error);
  box-shadow: 0 0 0 4px rgba(155, 28, 50, 0.12);
}

.field-error {
  margin-top: 0.4rem;
  color: var(--error);
  font-size: 0.85rem;
  font-weight: 600;
}

.option-grid {
  display: grid;
  gap: 0.7rem;
}

.option-grid-2 {
  grid-template-columns: 1fr;
}

@media (min-width: 560px) {
  .option-grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.option-card {
  display: block;
  cursor: pointer;
}

.option-card input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.option-card-inner {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  min-height: 72px;
  padding: 0.95rem 1rem;
  border: 1.5px solid #d7d0c4;
  border-radius: 14px;
  background: #f7fafd;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.option-card:hover .option-card-inner {
  border-color: var(--navy-mid);
}

.option-card input:focus-visible + .option-card-inner {
  outline: 3px solid var(--columbia);
  outline-offset: 2px;
}

.option-card input:checked + .option-card-inner {
  border-color: var(--navy);
  background: #eef2fb;
  box-shadow: inset 0 0 0 1px var(--navy);
}

.option-check {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border: 2px solid #b8b1a6;
  border-radius: 50%;
  position: relative;
  background: var(--white);
}

.option-card input:checked + .option-card-inner .option-check {
  border-color: var(--navy);
  background: var(--navy);
}

.option-card input:checked + .option-card-inner .option-check::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: var(--columbia-light);
}

.option-title {
  display: block;
  font-weight: 700;
  color: var(--navy-deep);
}

.option-hint {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.dinner-details,
.event-details {
  margin-top: 1.15rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
}

.dinner-details.is-open,
.dinner-details:not([hidden]),
.event-details.is-open,
.event-details:not([hidden]) {
  animation: reveal 0.28s ease;
}

.field-note {
  margin: -0.25rem 0 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.field-hint {
  margin: -0.15rem 0 0.55rem;
  color: var(--muted);
  font-size: 0.88rem;
}

@keyframes reveal {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}

.size-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.size-pills-choice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}

.size-pills-choice .size-pill {
  display: block;
}

.size-pills-choice .size-pill span {
  width: 100%;
  min-width: 0;
  padding: 0 1rem;
}

.plus-one-field {
  margin-top: 1rem;
}

.plus-one-field:not([hidden]) {
  animation: reveal 0.28s ease;
}

.size-pill {
  cursor: pointer;
}

.size-pill input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.size-pill span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  min-height: 48px;
  padding: 0 0.9rem;
  border-radius: 999px;
  border: 1.5px solid #d7d0c4;
  background: #f7fafd;
  font-weight: 700;
  color: var(--navy-deep);
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.size-pill:hover span {
  border-color: var(--navy-mid);
}

.size-pill input:focus-visible + span {
  outline: 3px solid var(--columbia);
  outline-offset: 2px;
}

.size-pill input:checked + span {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.check-row {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  margin-bottom: 0.9rem;
  cursor: pointer;
  line-height: 1.4;
}

.check-row input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.check-ui {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border: 2px solid #b8b1a6;
  border-radius: 6px;
  background: #f7fafd;
  position: relative;
}

.check-row:hover .check-ui {
  border-color: var(--navy-mid);
}

.check-row input:focus-visible + .check-ui {
  outline: 3px solid var(--columbia);
  outline-offset: 2px;
}

.check-row input:checked + .check-ui {
  background: var(--navy);
  border-color: var(--navy);
}

.check-row input:checked + .check-ui::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 11px;
  border: 2px solid var(--columbia-light);
  border-top: 0;
  border-left: 0;
  transform: rotate(45deg);
}

.afterparty-plus {
  margin: -0.25rem 0 0.9rem 1.95rem;
}

.afterparty-plus .check-row {
  margin-bottom: 0.65rem;
}

.form-footnote {
  margin: 0.65rem 0 0;
  padding-left: 2rem;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.45;
  font-weight: 500;
}

.form-status {
  margin: 0 0 0.9rem;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  font-weight: 600;
  color: var(--columbia-light);
}

.section-rsvp .btn-submit {
  background: var(--white);
  color: var(--navy-deep);
  border-color: var(--white);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.section-rsvp .btn-submit:hover {
  background: var(--columbia-light);
  border-color: var(--columbia-light);
  color: var(--navy-deep);
}

.form-status.is-error {
  background: var(--error-bg);
  color: var(--error);
}

/* ---------- Success ---------- */

.rsvp-success {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.4rem;
  box-shadow: var(--shadow);
  text-align: center;
}

.success-kicker {
  color: var(--columbia-deep);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.success-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  text-transform: uppercase;
  color: var(--navy-deep);
  margin-bottom: 0.75rem;
}

.success-lead {
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.success-summary {
  list-style: none;
  margin: 0 auto 1.5rem;
  padding: 0;
  text-align: left;
  max-width: 28rem;
}

.success-summary li {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 0.15rem;
}

.success-summary li:first-child {
  border-top: 1px solid var(--line);
}

.success-summary .label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.success-summary .value {
  font-weight: 600;
  color: var(--navy-deep);
}

.ics-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.ics-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  border: 1.5px solid var(--navy);
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  cursor: pointer;
}

.ics-btn:hover {
  background: #eef2fb;
}

.ics-btn:focus-visible {
  outline: 3px solid var(--columbia);
  outline-offset: 2px;
}

/* ---------- Hotels ---------- */

.section-hotels {
  background: transparent;
}

.hotel-card-featured {
  background:
    linear-gradient(180deg, #fff 0%, #f3f7fc 100%);
  border-radius: var(--radius);
  padding: 1.6rem 1.45rem 1.65rem;
  box-shadow: var(--shadow);
  border-top: 5px solid var(--columbia);
  margin-bottom: 2rem;
}

.hotel-badge {
  display: inline-flex;
  align-self: flex-start;
  width: auto;
  margin: 0 0 0.7rem;
  padding: 0.32rem 0.75rem;
  border-radius: 999px;
  background: var(--navy);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  -webkit-font-smoothing: antialiased;
}

.hotel-group-title {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--columbia);
  margin: 0 0 0.9rem;
  text-shadow: 0 1px 2px #081b40, 0 0 8px #081b40;
}

.hotel-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 760px) {
  .hotel-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.15rem;
  }
}

.hotel-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.4rem 1.3rem 1.4rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--navy);
}

.hotel-card h3,
.hotel-card-featured h3 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
  text-transform: uppercase;
  color: var(--navy-deep);
  margin: 0 0 0.5rem;
  line-height: 1.15;
  text-wrap: balance;
}

.hotel-card p,
.hotel-card-featured p {
  color: #3d4756;
  font-size: 0.98rem;
  margin: 0;
}

.hotel-card .hotel-badge,
.hotel-card-featured .hotel-badge,
p.hotel-badge {
  color: #ffffff;
  font-size: 0.75rem;
  margin: 0 0 0.7rem;
}

.hotel-address {
  margin-top: 0.65rem !important;
  font-size: 0.92rem !important;
  font-weight: 600;
  color: var(--navy) !important;
}

.hotel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: auto;
  padding-top: 1.1rem;
}

.btn-hotel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn-hotel:focus-visible {
  outline: 3px solid var(--columbia);
  outline-offset: 2px;
}

.btn-hotel-primary {
  background: var(--navy);
  color: var(--white);
  border: 1.5px solid var(--navy);
}

.btn-hotel-primary:hover {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
}

.btn-hotel-maps {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}

.btn-hotel-maps:hover {
  background: #e8eef6;
}

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

.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.8);
  padding: 2.4rem 0 2.6rem;
  text-align: center;
  position: relative;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: linear-gradient(90deg, var(--columbia-deep), var(--columbia-light), var(--columbia-deep));
}

.footer-mark {
  font-family: var(--font-display);
  font-size: 1.55rem;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.4rem;
}

.site-footer p:last-child {
  letter-spacing: 0.06em;
  font-size: 0.95rem;
}

/* ---------- Batch 4 (2026-12-04): Saturday photo + basketball party size ---------- */

.event-body-photo {
  display: flow-root;
}

.event-photo {
  float: right;
  width: 42%;
  max-width: 220px;
  margin: 0.15rem 0 0.75rem 1.1rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 22px rgba(11, 34, 77, 0.28);
  background: var(--navy-deep);
}

.event-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

@media (max-width: 559px) {
  .event-photo {
    width: 35%; /* narrow enough that "BASKETBALL" fits beside it */
    margin-left: 0.75rem;
    border-radius: 10px;
  }
}

.size-pills-party {
  grid-template-columns: 1.7fr repeat(4, 1fr);
  gap: 0.5rem;
}

.size-pills-party .size-pill span {
  padding: 0 0.35rem;
  white-space: nowrap;
}

.size-pills-party + .field-error + .field-hint,
.size-pills-party ~ .field-hint {
  margin: 0.55rem 0 0;
}

.plus-one-field textarea {
  min-height: 0;
  resize: vertical;
}

.event-body-photo .event-tag {
  display: block; /* lets the tag wrap beside the floated photo instead of dropping below it */
}
