:root {
  --ivory: #f5eddf;
  --paper: #fffaf0;
  --terracotta: #963d18;
  --terracotta-dark: #6f2b13;
  --navy: #1b3b60;
  --gold: #c49656;
  --ink: #382a23;
  --muted: #75665b;
  --line: rgba(150, 61, 24, 0.24);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 18% 12%, rgba(196, 150, 86, 0.11) 0 1px, transparent 2px),
    radial-gradient(circle at 82% 68%, rgba(27, 59, 96, 0.06) 0 1px, transparent 2px),
    var(--ivory);
  background-size: 23px 23px, 31px 31px, auto;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

main {
  min-height: 100vh;
  min-height: 100dvh;
  overflow: clip;
}

.rsvp-hero {
  min-height: calc(100vh - 105px);
  padding: clamp(52px, 5vw, 72px) max(28px, calc((100vw - 1240px) / 2)) 84px;
  display: grid;
  grid-template-columns: minmax(350px, 0.76fr) minmax(540px, 1fr);
  gap: clamp(44px, 6vw, 82px);
  align-items: start;
  background:
    linear-gradient(90deg, rgba(245, 237, 223, 0.96), rgba(245, 237, 223, 0.9)),
    repeating-linear-gradient(45deg, transparent 0 18px, rgba(196, 150, 86, 0.12) 18px 19px);
}

.rsvp-event-summary {
  position: sticky;
  top: 32px;
  padding: 14px 0 0;
}

.rsvp-event-summary h1 {
  margin: 22px 0 24px;
  font-size: clamp(3.75rem, 5.1vw, 5rem);
  line-height: 0.9;
}

.rsvp-event-summary h1 small {
  margin-top: 8px;
  display: block;
  color: var(--navy);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.18em;
  font-weight: 600;
  letter-spacing: 0.42em;
  line-height: 1;
}

.summary-copy {
  max-width: 440px;
  margin: 0;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.0625rem, 1.25vw, 1.125rem);
  line-height: 1.58;
}

.rsvp-form-column {
  width: 100%;
  max-width: 680px;
  justify-self: end;
}

.rsvp-form-column > h2 {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 3vw, 2.75rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.1em;
}

.mobile-event-context {
  display: none;
}

.mobile-details-title {
  display: none;
}

.rsvp-form-column .rsvp-card {
  margin-top: 14px;
  border-top: 4px solid var(--terracotta);
  border-right: 1px solid rgba(196, 150, 86, 0.18);
  border-bottom: 1px solid rgba(196, 150, 86, 0.18);
  border-left: 1px solid rgba(196, 150, 86, 0.18);
  box-shadow: 0 20px 54px rgba(66, 36, 22, 0.13);
}

.hero {
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
  padding: 54px 0 78px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: center;
}

.paper-frame {
  position: relative;
  padding: clamp(42px, 6vw, 76px);
  background: rgba(255, 250, 240, 0.78);
  border: 1px solid var(--gold);
  box-shadow: inset 0 0 0 7px var(--ivory), inset 0 0 0 8px rgba(150, 61, 24, 0.5);
}

.paper-frame::before,
.paper-frame::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 180px;
  opacity: 0.3;
  pointer-events: none;
}

.paper-frame::before {
  left: -34px;
  bottom: -35px;
  border-left: 2px solid var(--terracotta);
  border-radius: 55% 0 0 0;
  transform: rotate(-18deg);
}

.paper-frame::after {
  left: 3px;
  bottom: -8px;
  border-left: 1px solid var(--navy);
  border-radius: 60% 0 0 0;
  transform: rotate(16deg);
}

.eyebrow,
.event-kicker,
.detail-label {
  text-transform: uppercase;
  letter-spacing: 0.24em;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
}

.event-kicker {
  margin: 0;
  color: var(--terracotta);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1rem, 1.8vw, 1.35rem);
}

h1,
h2,
h3,
p {
  text-wrap: balance;
}

h1 {
  margin: 22px 0;
  display: flex;
  flex-direction: column;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.6rem, 7.8vw, 7.5rem);
  font-weight: 400;
  line-height: 0.83;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

h1 span:first-child {
  color: var(--terracotta);
}

h1 span:last-child {
  color: var(--navy);
}

h1 em {
  margin: 9px 0 10px 0.45em;
  color: var(--gold);
  font-family: "Snell Roundhand", "Segoe Script", cursive;
  font-size: 0.38em;
  font-weight: 400;
  line-height: 1;
  text-transform: none;
}

.honour-copy {
  max-width: 540px;
  margin: 0;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  font-style: italic;
  line-height: 1.65;
}

.ornament {
  width: min(260px, 70%);
  height: 25px;
  margin: 28px 0;
  display: flex;
  align-items: center;
}

.ornament::before,
.ornament::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--gold);
}

.ornament span {
  width: 13px;
  height: 13px;
  margin: 0 8px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
}

.event-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 28px;
}

.event-details .detail-wide {
  grid-column: 1 / -1;
}

.event-details span,
.event-details strong,
.event-details small {
  display: block;
}

.detail-label {
  margin-bottom: 6px;
  color: var(--terracotta);
  font-size: 0.75rem;
  font-weight: 700;
}

.event-details strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  font-weight: 500;
}

.event-details small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.45;
}

.event-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.event-actions a {
  min-height: 44px;
  padding: 11px 16px;
  display: inline-flex;
  align-items: center;
  border-bottom: 1px solid var(--terracotta);
  color: var(--terracotta-dark);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.invitation-motif {
  position: relative;
  width: 100%;
  height: clamp(220px, 18vw, 260px);
  margin: 28px 0 0;
  overflow: hidden;
  border: 1px solid rgba(150, 61, 24, 0.36);
  background: var(--paper);
  box-shadow: 0 18px 44px rgba(66, 36, 22, 0.14);
}

.invitation-motif::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(196, 150, 86, 0.72);
  pointer-events: none;
}

.invitation-motif img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center bottom;
}

.invitation-wrap {
  position: relative;
  isolation: isolate;
}

.invitation-wrap::before {
  content: "";
  position: absolute;
  inset: 5% -12% -5% 13%;
  z-index: -1;
  background: var(--terracotta);
  border-radius: 52% 48% 44% 56%;
  opacity: 0.14;
  filter: blur(1px);
  transform: rotate(4deg);
}

.invitation-image {
  width: 100%;
  height: auto;
  display: block;
  border: 8px solid rgba(255, 250, 240, 0.8);
  box-shadow: 0 28px 70px rgba(66, 36, 22, 0.2), 0 4px 14px rgba(66, 36, 22, 0.12);
  transform: rotate(1.1deg);
}

.rsvp-section {
  position: relative;
  padding: clamp(76px, 10vw, 130px) max(20px, calc((100vw - 1160px) / 2));
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(440px, 1fr);
  gap: clamp(40px, 8vw, 110px);
  align-items: start;
  background: var(--navy);
  color: var(--paper);
}

.rsvp-section::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.13;
  background-image:
    linear-gradient(45deg, transparent 42%, var(--gold) 42% 47%, transparent 47% 53%, var(--gold) 53% 58%, transparent 58%),
    linear-gradient(-45deg, transparent 42%, var(--gold) 42% 47%, transparent 47% 53%, var(--gold) 53% 58%, transparent 58%);
  background-size: 42px 42px;
  mask-image: linear-gradient(to right, black, transparent 42%);
  pointer-events: none;
}

.rsvp-intro,
.rsvp-card {
  position: relative;
  z-index: 1;
}

.rsvp-intro {
  position: sticky;
  top: 40px;
}

.rsvp-intro .eyebrow {
  color: #e2b97e;
}

.rsvp-intro h2 {
  margin: 0 0 24px;
  color: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 400;
  line-height: 0.95;
}

.rsvp-intro > p:last-of-type {
  max-width: 420px;
  color: rgba(255, 250, 240, 0.75);
  line-height: 1.75;
}

.woven-band {
  width: 210px;
  margin-top: 42px;
  display: flex;
  gap: 7px;
}

.woven-band span {
  width: 28px;
  height: 28px;
  border: 2px solid var(--gold);
  transform: rotate(45deg);
}

.woven-band span:nth-child(even) {
  border-color: var(--terracotta);
}

.rsvp-card {
  padding: clamp(30px, 3.2vw, 44px);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 24px 70px rgba(6, 18, 35, 0.28);
}

fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.attendance-choice legend {
  margin-bottom: 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
}

.attendance-choice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.attendance-choice legend {
  grid-column: 1 / -1;
}

.attendance-choice label {
  position: relative;
  min-height: 58px;
  padding: 12px 15px;
  display: flex;
  align-items: center;
  border: 1px solid rgba(56, 42, 35, 0.22);
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.attendance-choice label:hover {
  border-color: var(--gold);
  transform: translateY(-1px);
}

.attendance-choice label.selected {
  background: rgba(196, 150, 86, 0.13);
  border-color: var(--terracotta);
}

.attendance-choice input {
  width: 17px;
  height: 17px;
  margin: 0 10px 0 0;
  accent-color: var(--terracotta);
}

.attendance-choice span {
  font-size: 0.88rem;
  font-weight: 700;
}

.field-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 21px 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field.full-width {
  grid-column: 1 / -1;
}

.preference-field {
  grid-column: 1 / -1;
}

.preference-field legend {
  color: var(--muted);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.preference-field > p {
  margin: 5px 0 12px;
  color: #9a8c82;
  font-size: 0.76rem;
}

.preference-options {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.preference-options label {
  min-height: 46px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(56, 42, 35, 0.2);
  cursor: pointer;
}

.preference-options label:has(input:checked) {
  background: rgba(196, 150, 86, 0.13);
  border-color: var(--terracotta);
}

.preference-options input {
  accent-color: var(--terracotta);
}

.preference-options span {
  font-size: 0.875rem;
  font-weight: 700;
}

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

.field > span small {
  font-size: 0.85em;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(56, 42, 35, 0.32);
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.field input,
.field select {
  height: 50px;
}

.field textarea {
  padding: 10px 0;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--terracotta);
  box-shadow: 0 1px 0 var(--terracotta);
}

.field input:user-invalid,
.field textarea:user-invalid {
  border-color: var(--terracotta-dark);
  box-shadow: 0 1px 0 var(--terracotta-dark);
}

.field input::placeholder,
.field textarea::placeholder {
  color: #a79b92;
}

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

.submit-button,
.secondary-button {
  min-height: 56px;
  border: 0;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 160ms ease, transform 160ms ease;
}

.submit-button {
  width: 100%;
  margin-top: 34px;
  background: var(--terracotta);
  color: var(--paper);
}

.submit-button:hover:not(:disabled),
.secondary-button:hover {
  transform: translateY(-2px);
}

.submit-button:hover:not(:disabled) {
  background: var(--terracotta-dark);
}

.submit-button:disabled {
  cursor: wait;
  opacity: 0.66;
}

.privacy-note,
.form-error {
  font-size: 0.8125rem;
}

.privacy-note {
  margin: 14px 0 0;
  color: var(--muted);
  text-align: center;
}

.form-error {
  margin: 24px 0 -14px;
  padding: 11px 13px;
  background: rgba(150, 61, 24, 0.09);
  color: var(--terracotta-dark);
}

.success-card {
  min-height: 520px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.success-mark {
  width: 58px;
  height: 58px;
  margin-bottom: 30px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  color: var(--terracotta);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.6rem;
  transform: rotate(45deg);
}

.success-mark::first-line {
  transform: rotate(-45deg);
}

.success-card h3 {
  max-width: 540px;
  margin: 0 0 16px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  line-height: 1.08;
}

.success-card > p:not(.eyebrow) {
  max-width: 510px;
  color: var(--muted);
  line-height: 1.7;
}

.secondary-button {
  margin-top: 20px;
  padding: 0 24px;
  background: var(--navy);
  color: var(--paper);
}

.accommodation-section {
  position: relative;
  padding: clamp(72px, 8vw, 108px) max(28px, calc((100vw - 1240px) / 2));
  overflow: hidden;
  background: var(--navy);
  color: var(--paper);
}

.accommodation-section::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.09;
  background-image:
    linear-gradient(45deg, transparent 42%, var(--gold) 42% 47%, transparent 47% 53%, var(--gold) 53% 58%, transparent 58%),
    linear-gradient(-45deg, transparent 42%, var(--gold) 42% 47%, transparent 47% 53%, var(--gold) 53% 58%, transparent 58%);
  background-size: 44px 44px;
  pointer-events: none;
}

.accommodation-heading,
.accommodation-grid,
.booking-note {
  position: relative;
}

.accommodation-heading .eyebrow {
  color: #e2b97e;
}

.accommodation-heading h2 {
  max-width: 760px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 3.6vw, 3.5rem);
  font-weight: 400;
  line-height: 1;
}

.accommodation-heading > p:last-child {
  max-width: 620px;
  margin: 18px 0 0;
  color: rgba(255, 250, 240, 0.72);
  line-height: 1.65;
}

.accommodation-grid {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.accommodation-grid article {
  min-height: 280px;
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
  border-top: 3px solid var(--gold);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 18px 40px rgba(8, 24, 42, 0.25);
}

.accommodation-number {
  color: var(--terracotta);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.accommodation-grid h3 {
  margin: 20px 0 14px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 400;
  line-height: 1.15;
}

.accommodation-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}

.accommodation-grid strong {
  margin-top: auto;
  padding-top: 28px;
  color: var(--terracotta-dark);
  font-size: 0.74rem;
  letter-spacing: 0.05em;
  line-height: 1.45;
  text-transform: uppercase;
}

.booking-note {
  max-width: 780px;
  margin: 28px 0 0;
  color: rgba(255, 250, 240, 0.62);
  font-size: 0.78rem;
  line-height: 1.6;
}

footer {
  padding: 48px 20px;
  background: #122b49;
  color: rgba(255, 250, 240, 0.72);
  text-align: center;
}

footer p {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  font-style: italic;
}

footer span {
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.28em;
}

@media (max-width: 900px) {
  .rsvp-hero {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .rsvp-event-summary {
    position: static;
    top: auto;
    padding-bottom: 0;
  }

  .rsvp-form-column {
    max-width: none;
    justify-self: stretch;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 28px;
  }

  .invitation-wrap {
    width: min(520px, 90%);
    margin: 0 auto;
  }

  .rsvp-section {
    grid-template-columns: 1fr;
  }

  .rsvp-intro {
    position: relative;
    top: auto;
  }

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

  .accommodation-grid article {
    min-height: 0;
  }

  .accommodation-grid strong {
    margin-top: 0;
  }
}

@media (max-width: 600px) {
  .rsvp-hero {
    min-height: 100dvh;
    padding:
      max(22px, env(safe-area-inset-top))
      max(12px, env(safe-area-inset-right))
      max(42px, env(safe-area-inset-bottom))
      max(12px, env(safe-area-inset-left));
    gap: 42px;
  }

  .rsvp-form-column {
    order: -1;
  }

  .rsvp-event-summary {
    padding: 10px 12px 0;
  }

  .rsvp-event-summary h1 {
    font-size: clamp(3rem, 17vw, 5rem);
  }

  .rsvp-form-column > h2,
  .mobile-event-context {
    margin-left: 10px;
    margin-right: 10px;
  }

  .rsvp-form-column > h2 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }

  .mobile-event-context {
    margin-top: 0;
    margin-bottom: 28px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4px 14px;
    color: var(--muted);
    font-family: Georgia, "Times New Roman", serif;
  }

  .mobile-event-context strong {
    grid-column: 1 / -1;
    color: var(--navy);
    font-size: 1.5rem;
    font-weight: 500;
  }

  .mobile-event-context .mobile-event-type {
    grid-column: 1 / -1;
    color: var(--terracotta-dark);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .mobile-event-context .mobile-theme {
    grid-column: 1 / -1;
    color: var(--navy);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
  }

  .mobile-event-context span {
    font-size: 0.875rem;
  }

  .mobile-event-context a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    color: var(--terracotta-dark);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-underline-offset: 3px;
  }

  .mobile-details-title {
    margin: 0 0 24px;
    display: block;
    color: var(--navy);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.35rem, 12vw, 3.2rem);
    font-weight: 400;
    line-height: 1;
  }

  .rsvp-event-summary > .eyebrow,
  .rsvp-event-summary > h1,
  .rsvp-event-summary > .summary-copy,
  .rsvp-event-summary > .ornament {
    display: none;
  }

  .hero {
    width: min(100% - 24px, 1280px);
    padding-bottom: 56px;
  }

  .paper-frame {
    padding: 42px 28px;
    box-shadow: inset 0 0 0 5px var(--ivory), inset 0 0 0 6px rgba(150, 61, 24, 0.5);
  }

  h1 {
    font-size: clamp(3rem, 18vw, 5.1rem);
  }

  .event-details,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .event-details .detail-wide,
  .field.full-width {
    grid-column: auto;
  }

  .detail-label,
  .field > span,
  .preference-field legend {
    font-size: 0.75rem;
  }

  .event-details small {
    font-size: 0.875rem;
    line-height: 1.45;
  }

  .event-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .event-actions a {
    width: 100%;
    justify-content: center;
    border: 1px solid rgba(150, 61, 24, 0.3);
    background: rgba(255, 250, 240, 0.62);
    font-size: 0.8rem;
  }

  .rsvp-section {
    padding-left: 14px;
    padding-right: 14px;
  }

  .rsvp-intro {
    padding: 0 12px;
  }

  .rsvp-card {
    padding: 26px 18px 24px;
    box-shadow: 0 18px 46px rgba(66, 36, 22, 0.14);
  }

  .invitation-motif {
    height: 230px;
    margin-top: 30px;
  }

  .attendance-choice {
    gap: 8px;
  }

  .attendance-choice label {
    min-height: 60px;
    padding: 10px 11px;
  }

  .attendance-choice input {
    flex: 0 0 auto;
    width: 19px;
    height: 19px;
    margin-right: 8px;
  }

  .attendance-choice span {
    font-size: 0.875rem;
    line-height: 1.25;
  }

  .field-grid {
    margin-top: 22px;
    gap: 18px;
  }

  .field input,
  .field select,
  .field textarea {
    font-size: 16px;
  }

  .preference-options {
    gap: 8px;
  }

  .preference-options label {
    flex: 1 1 calc(50% - 8px);
    padding: 9px 10px;
  }

  .preference-options span {
    font-size: 0.875rem;
  }

  .preference-field > p {
    font-size: 0.8125rem;
  }

  .submit-button {
    margin-top: 28px;
  }

  .accommodation-section {
    padding:
      62px
      max(14px, env(safe-area-inset-right))
      66px
      max(14px, env(safe-area-inset-left));
  }

  .accommodation-heading,
  .booking-note {
    padding-right: 10px;
    padding-left: 10px;
  }

  .accommodation-heading h2 {
    font-size: clamp(2.45rem, 13vw, 3.5rem);
  }

  .accommodation-grid {
    margin-top: 32px;
    gap: 12px;
  }

  .accommodation-grid article {
    padding: 28px 24px;
  }

  footer {
    padding-bottom: max(48px, env(safe-area-inset-bottom));
  }

  .woven-band {
    transform: scale(0.8);
    transform-origin: left;
  }
}

@media (max-width: 360px) {
  .attendance-choice {
    grid-template-columns: 1fr;
  }

  .attendance-choice legend {
    grid-column: auto;
  }

  .mobile-event-context {
    grid-template-columns: 1fr;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
