/* ==========================================================================
   CasamentPollitos — formulari
   ========================================================================== */

[hidden] {
  display: none !important;
}

.rsvp-page {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  background:
    radial-gradient(circle at 15% 0%, rgba(175, 16, 13, 0.045), transparent 38%),
    radial-gradient(circle at 90% 100%, rgba(175, 16, 13, 0.04), transparent 42%),
    var(--cream);
}

.rsvp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  border-bottom: 1px solid rgba(60, 51, 51, 0.09);
  background: rgba(242, 239, 226, 0.74);
  backdrop-filter: blur(10px);
}

.rsvp-header__meta {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  color: var(--ink-soft);
  font-size: 0.6rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.rsvp-header__meta a {
  padding-bottom: 0.15rem;
  border-bottom: 1px solid rgba(60, 51, 51, 0.35);
  color: var(--ink);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.rsvp-header__meta a:hover {
  border-color: var(--red);
  color: var(--red);
}

.rsvp-main {
  display: grid;
  flex: 1;
  place-items: center;
  padding: clamp(1.5rem, 4vw, 3.5rem) 1rem clamp(2.5rem, 6vw, 5rem);
}

.rsvp-shell {
  width: min(780px, 100%);
}

.rsvp-progress {
  margin-bottom: 0.8rem;
}

.rsvp-progress__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  color: var(--ink-soft);
  font-size: 0.59rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.rsvp-progress__label {
  color: var(--red);
  font-weight: 500;
}

.rsvp-progress__track {
  height: 3px;
  margin-top: 0.45rem;
  overflow: hidden;
  background: rgba(60, 51, 51, 0.13);
}

.rsvp-progress__fill {
  display: block;
  width: 5%;
  height: 100%;
  background: var(--red);
  transition: width 0.5s var(--ease);
}

.rsvp-card {
  position: relative;
  min-height: 560px;
  padding: clamp(1.6rem, 5vw, 3.5rem);
  border: 1px solid rgba(60, 51, 51, 0.12);
  border-top: 6px solid var(--red);
  background: var(--cream-light);
  box-shadow: 0 28px 70px rgba(60, 51, 51, 0.13);
  scroll-margin-top: 5rem;
}

.rsvp-card::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(175, 16, 13, 0.08);
  pointer-events: none;
}

.step {
  display: none;
  position: relative;
  z-index: 1;
}

.step.is-active {
  display: block;
  animation: stepIn 0.48s var(--ease) both;
}

@keyframes stepIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.step__title {
  margin-bottom: 1rem;
  font-size: clamp(2.15rem, 5vw, 3.6rem);
  line-height: 0.98;
}

.step__title:focus {
  outline: none;
}

.step__title .script {
  color: var(--red);
}

.step__lead {
  max-width: 58ch;
  margin-bottom: 1.8rem;
  color: var(--ink-soft);
  font-size: 1.04rem;
  line-height: 1.55;
}

.step__note {
  margin-top: 1.6rem;
  padding-top: 1rem;
  border-top: 1px solid var(--ink-faint);
  color: var(--ink-soft);
  font-size: 0.72rem;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Camps
   -------------------------------------------------------------------------- */

.field {
  display: block;
  margin-bottom: 1.35rem;
}

.field__label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.field__hint {
  display: block;
  margin-top: 0.3rem;
  color: var(--ink-soft);
  font-size: 0.7rem;
}

.field__input,
.field__textarea {
  width: 100%;
  padding: 0.65rem 0;
  border: 0;
  border-bottom: 1px solid rgba(60, 51, 51, 0.25);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 300;
  transition: border-color 0.2s ease;
}

.field__textarea {
  min-height: 108px;
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(60, 51, 51, 0.22);
  background: rgba(255, 255, 255, 0.28);
  font-size: 0.98rem;
  line-height: 1.55;
  resize: vertical;
}

.field__input:focus,
.field__textarea:focus {
  outline: none;
  border-color: var(--red);
}

.field__input::placeholder,
.field__textarea::placeholder {
  color: rgba(60, 51, 51, 0.34);
}

.name-form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.2rem;
  margin-top: 1.8rem;
}

.name-form .field {
  width: 100%;
  margin: 0;
}

.name-form .field__input {
  font-size: 1.45rem;
}

.name-form .btn {
  width: 100%;
}

.form-error {
  min-height: 1.2em;
  margin: 0.6rem 0 0;
  color: var(--red);
  font-size: 0.78rem;
  line-height: 1.4;
}

.step-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 1.6rem;
}

.step-actions--split {
  justify-content: space-between;
}

.step-back {
  display: inline-flex;
  margin-top: 1.35rem;
  padding: 0.25rem 0;
  border: 0;
  background: none;
  color: var(--ink-soft);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  transition: color 0.2s ease;
}

.step-back:hover {
  color: var(--red);
}

.step-back--inline {
  margin-top: 0;
}

/* --------------------------------------------------------------------------
   Pregunta d'assistència / botó que escapa
   -------------------------------------------------------------------------- */

.dodge-zone {
  position: relative;
  min-height: 255px;
  margin: 1.2rem 0 1rem;
  overflow: hidden;
  border: 1px dashed rgba(175, 16, 13, 0.22);
  background: rgba(175, 16, 13, 0.025);
}

.choice-row {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.choice {
  min-width: 150px;
  padding: 1rem 1.8rem;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
  transition: left 0.18s var(--ease), top 0.18s var(--ease),
    transform 0.18s var(--ease), background 0.2s ease, color 0.2s ease,
    border-color 0.2s ease, opacity 0.2s ease;
}

.choice--yes {
  background: var(--red);
  color: var(--cream);
}

.choice--yes:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(175, 16, 13, 0.22);
}

.choice--no {
  position: absolute;
  top: 50%;
  left: calc(50% + 130px);
  z-index: 2;
  transform: translate(-50%, -50%) scale(var(--no-scale, 1));
  border-color: rgba(60, 51, 51, 0.32);
  background: transparent;
  color: var(--ink);
}

.choice--no:hover {
  border-color: var(--red);
  color: var(--red);
}

.choice--no.is-dodging {
  background: var(--cream);
}

.choice--no.is-transformed {
  border-color: var(--red);
  background: var(--red);
  color: var(--cream);
}

.choice--no.is-transformed::after {
  content: " (ja ho sabia)";
  font-size: 0.52rem;
  letter-spacing: 0.06em;
  opacity: 0.75;
}

.dodge-message {
  position: absolute;
  right: 1rem;
  bottom: 0.9rem;
  left: 1rem;
  z-index: 1;
  min-height: 1.4em;
  color: var(--red);
  font-family: var(--script);
  font-size: 1.4rem;
  line-height: 1.1;
  text-align: center;
  pointer-events: none;
}

.decline-link {
  display: block;
  margin: 0 auto 0.4rem;
  padding: 0.2rem 0;
  border: 0;
  background: none;
  color: rgba(60, 51, 51, 0.5);
  font-size: 0.66rem;
  letter-spacing: 0.05em;
  text-align: center;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  transition: color 0.2s ease;
}

.decline-link:hover {
  color: var(--red);
}

/* --------------------------------------------------------------------------
   Foto
   -------------------------------------------------------------------------- */

.photo-upload {
  margin-top: 0.5rem;
}

.photo-drop {
  display: flex;
  min-height: 235px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 2rem 1.25rem;
  border: 2px dashed rgba(175, 16, 13, 0.3);
  background: rgba(175, 16, 13, 0.025);
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.photo-drop:hover,
.photo-drop.is-dragover {
  border-color: var(--red);
  background: rgba(175, 16, 13, 0.06);
}

.photo-drop input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.photo-drop__icon {
  width: 44px;
  height: 44px;
  margin-bottom: 0.4rem;
  color: var(--red);
}

.photo-drop__icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.15;
}

.photo-drop__title {
  font-size: 1rem;
}

.photo-drop__hint {
  color: var(--ink-soft);
  font-size: 0.7rem;
}

.photo-preview {
  margin: 0;
  padding: 0.7rem 0.7rem 0;
  border: 1px solid rgba(60, 51, 51, 0.12);
  background: var(--cream-light);
  box-shadow: 0 18px 40px rgba(60, 51, 51, 0.12);
  transform: rotate(-1.2deg);
}

.photo-preview img {
  width: 100%;
  max-height: 360px;
  object-fit: contain;
  background: var(--cream-deep);
}

.photo-preview figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0.1rem 0.6rem;
  color: var(--red);
  font-family: var(--script);
  font-size: 1.25rem;
}

/* --------------------------------------------------------------------------
   Sí / No (dormir)
   -------------------------------------------------------------------------- */

.binary-choice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  margin: 1.2rem 0 0;
}

.binary-choice__option {
  padding: 1.4rem 1.2rem;
  border: 1px solid rgba(60, 51, 51, 0.18);
  background: transparent;
  text-align: left;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.binary-choice__option strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 1.25rem;
  font-weight: 500;
}

.binary-choice__option span {
  color: var(--ink-soft);
  font-size: 0.8rem;
}

.binary-choice__option:hover,
.binary-choice__option.is-selected {
  border-color: var(--red);
  background: rgba(175, 16, 13, 0.05);
}

.sleep-extra {
  margin-top: 1.4rem;
  padding: 1.15rem;
  border-left: 3px solid var(--red);
  background: rgba(175, 16, 13, 0.04);
}

.sleep-extra .field:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Menú
   -------------------------------------------------------------------------- */

.option-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 1.1rem 0 0;
}

.option-card {
  position: relative;
  display: flex;
  gap: 0.8rem;
  padding: 1.05rem 0.95rem;
  border: 1px solid rgba(60, 51, 51, 0.17);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.option-card input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.option-card__mark {
  position: relative;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 0.2rem;
  border: 1px solid rgba(60, 51, 51, 0.35);
  border-radius: 50%;
  transition: border-color 0.2s ease;
}

.option-card input:checked + .option-card__mark {
  border-color: var(--red);
}

.option-card input:focus-visible + .option-card__mark {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.option-card input:checked + .option-card__mark::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--red);
}

.option-card:has(input:checked),
.option-card.is-selected {
  border-color: var(--red);
  background: rgba(175, 16, 13, 0.05);
}

.option-card__text strong {
  display: block;
  margin-bottom: 0.15rem;
  font-size: 0.97rem;
  font-weight: 500;
}

.option-card__text small {
  display: block;
  color: var(--ink-soft);
  font-size: 0.75rem;
  line-height: 1.4;
}

.menu-notes {
  margin-top: 1.2rem;
  padding: 1.15rem;
  border-left: 3px solid var(--red);
  background: rgba(175, 16, 13, 0.04);
}

.menu-notes .field {
  margin: 0;
}

/* --------------------------------------------------------------------------
   Resistència
   -------------------------------------------------------------------------- */

.endurance {
  margin: 0.7rem 0 0;
  padding: 1.6rem 1.3rem 1.3rem;
  border: 1px solid rgba(60, 51, 51, 0.14);
  background: rgba(255, 255, 255, 0.26);
}

.endurance__value {
  display: block;
  margin-bottom: 1.5rem;
  color: var(--red);
  font-family: var(--script);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  line-height: 1;
  text-align: center;
}

.endurance__range {
  width: 100%;
  height: 4px;
  margin: 0;
  border-radius: 2px;
  outline: none;
  background: linear-gradient(
    to right,
    var(--red) 0%,
    var(--red) var(--fill, 66%),
    rgba(60, 51, 51, 0.16) var(--fill, 66%),
    rgba(60, 51, 51, 0.16) 100%
  );
  -webkit-appearance: none;
  appearance: none;
}

.endurance__range::-webkit-slider-thumb {
  width: 26px;
  height: 26px;
  border: 3px solid var(--cream-light);
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 2px 10px rgba(60, 51, 51, 0.22);
  cursor: grab;
  -webkit-appearance: none;
}

.endurance__range::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border: 3px solid var(--cream-light);
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 2px 10px rgba(60, 51, 51, 0.22);
  cursor: grab;
}

.endurance__labels {
  display: flex;
  justify-content: space-between;
  gap: 0.25rem;
  margin-top: 0.85rem;
  color: var(--ink-soft);
  font-size: 0.58rem;
  letter-spacing: 0.04em;
  line-height: 1.3;
  text-align: center;
  text-transform: uppercase;
}

.endurance__labels span {
  width: 25%;
}

.endurance__message {
  min-height: 2.4em;
  margin: 1.2rem 0 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.5;
  text-align: center;
}

/* --------------------------------------------------------------------------
   Cançó
   -------------------------------------------------------------------------- */

.song-field {
  display: flex;
  align-items: flex-end;
  gap: 1rem;
  margin-top: 0.7rem;
}

.song-field .field {
  flex: 1;
  margin: 0;
}

/* --------------------------------------------------------------------------
   Pregunta secreta
   -------------------------------------------------------------------------- */

.secret-card {
  margin: 0.7rem 0 1.3rem;
  padding: 1.35rem 1.35rem 1.15rem;
  border-left: 4px solid var(--red);
  background: rgba(175, 16, 13, 0.055);
}

.secret-card__question {
  margin-bottom: 0.75rem;
  font-family: var(--script);
  font-size: clamp(1.55rem, 3.4vw, 2.1rem);
  line-height: 1.15;
}

.secret-card__reroll {
  padding: 0;
  border: 0;
  background: none;
  color: var(--red);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.secret-card__reroll:hover {
  color: var(--red-dark);
}

/* --------------------------------------------------------------------------
   Resum
   -------------------------------------------------------------------------- */

.summary {
  padding: 0;
  margin: 0.7rem 0 0;
  border-top: 1px solid var(--ink-faint);
  list-style: none;
}

.summary__item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--ink-faint);
}

.summary__label {
  color: var(--ink-soft);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.summary__value {
  margin-top: 0.15rem;
  font-size: 0.98rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.summary__value img {
  width: 84px;
  height: 84px;
  border: 4px solid var(--cream-light);
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(60, 51, 51, 0.14);
}

.summary__edit {
  padding: 0.15rem 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: none;
  color: var(--red);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
}

.summary__edit:hover {
  color: var(--red-dark);
}

/* --------------------------------------------------------------------------
   Èxit
   -------------------------------------------------------------------------- */

.step--success {
  padding-top: 1.2rem;
  text-align: center;
}

.success-birds {
  width: 220px;
  margin: 0 auto 1.2rem;
}

.success-birds img {
  width: 100%;
  height: auto;
}

.step--success .step__lead {
  margin-right: auto;
  margin-left: auto;
}

.success-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 2rem;
}

.success-fantasy {
  position: relative;
  max-width: 34rem;
  margin: 2.2rem auto 0;
  padding: 1.6rem 1.4rem 1.5rem;
  border: 1px solid rgba(175, 16, 13, 0.16);
  border-radius: 24px;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.85), transparent 55%),
    linear-gradient(145deg, #faf7ec, #f1ead8);
  box-shadow: 0 22px 50px rgba(60, 51, 51, 0.09);
  text-align: center;
}

.success-fantasy__eyebrow {
  margin: 0 0 0.35rem;
  color: var(--red);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.success-fantasy__title {
  margin: 0;
  font-family: var(--script);
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 600;
  line-height: 1.05;
  color: var(--ink);
}

.success-fantasy__text {
  margin: 0.6rem auto 0;
  max-width: 28rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.55;
}

.success-actions--fantasy {
  margin-top: 1.2rem;
}

.step--success .step__note {
  margin-top: 2rem;
}

.confetti-canvas {
  position: fixed;
  inset: 0;
  z-index: 1500;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   Peu
   -------------------------------------------------------------------------- */

.rsvp-footnote {
  margin-top: 1.1rem;
  color: rgba(60, 51, 51, 0.5);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   To modern: targetes, camps i botons més suaus
   -------------------------------------------------------------------------- */

.rsvp-shell {
  width: min(960px, 100%);
}

.rsvp-card {
  min-height: 620px;
  border: 1px solid rgba(60, 51, 51, 0.1);
  border-top: 4px solid var(--red);
  border-radius: 28px;
}

.rsvp-card::after {
  display: none;
}

.rsvp-progress__track,
.rsvp-progress__fill {
  border-radius: 999px;
}

.step__title {
  font-size: clamp(2.3rem, 4.2vw, 3.8rem);
}

.step__lead {
  max-width: 64ch;
  font-size: 1.06rem;
}

.field__input,
.field__textarea {
  padding: 0.85rem 1rem;
  border: 1px solid rgba(60, 51, 51, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.55);
}

.field__input:focus,
.field__textarea:focus {
  background: #fff;
  box-shadow: 0 0 0 4px rgba(175, 16, 13, 0.08);
}

.field__textarea {
  min-height: 120px;
}

.name-form .field__input {
  font-size: 1.4rem;
}

.dodge-zone {
  min-height: 340px;
  border: 1px solid rgba(60, 51, 51, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.35);
}

.choice {
  min-width: 190px;
  padding: 1.1rem 2rem;
  border-radius: 999px;
  font-size: 0.8rem;
  transition: left 0.42s var(--ease), top 0.42s var(--ease),
    transform 0.35s var(--ease), background 0.2s ease, color 0.2s ease,
    border-color 0.2s ease, opacity 0.2s ease;
}

.choice--no {
  left: calc(50% + 180px);
}

.option-grid {
  gap: 0.9rem;
}

.option-card {
  padding: 1.15rem 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.4);
}

.option-card:has(input:checked),
.option-card.is-selected {
  background: rgba(175, 16, 13, 0.06);
}

.binary-choice__option {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.35);
}

.sleep-extra,
.menu-notes {
  border-left: 0;
  border-radius: 16px;
  background: rgba(175, 16, 13, 0.05);
}

.photo-drop {
  border-width: 1.5px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.35);
}

.photo-preview {
  border-radius: 18px;
  padding: 0.7rem 0.7rem 0;
}

.photo-preview img {
  border-radius: 12px;
}

.endurance {
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.4);
}

.secret-card {
  border-left: 0;
  border-radius: 20px;
  background: rgba(175, 16, 13, 0.055);
}

.secret-card__tag {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--red);
  font-size: 0.52rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.secret-card__reroll {
  padding: 0.45rem 0.8rem;
  border: 1px solid rgba(175, 16, 13, 0.3);
  border-radius: 999px;
  text-decoration: none;
}

.secret-card__reroll:hover {
  background: rgba(175, 16, 13, 0.06);
}

.secret-card.is-overridden {
  opacity: 0.48;
}

.secret-card.is-overridden .secret-card__question {
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

.summary {
  display: grid;
  gap: 0.5rem;
  border-top: 0;
}

.summary__item {
  padding: 0.9rem 1rem;
  border-bottom: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.45);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 720px) {
  .rsvp-header {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .rsvp-header__meta span {
    display: none;
  }

  .rsvp-header__meta {
    font-size: 0.58rem;
  }

  .rsvp-main {
    padding: 1rem 0.65rem 2.5rem;
  }

  .rsvp-card {
    min-height: 0;
    padding: 1.35rem 1.1rem 1.6rem;
    border-top-width: 5px;
  }

  .rsvp-card::after {
    inset: 7px;
  }

  .step__title {
    font-size: clamp(2rem, 9vw, 2.8rem);
  }

  .step__lead {
    font-size: 0.96rem;
  }

  .dodge-zone {
    min-height: 340px;
  }

  .choice-row {
    align-items: flex-start;
    padding-top: 3.6rem;
  }

  .choice--no {
    top: 72%;
    left: 50%;
  }

  .dodge-message {
    bottom: 0.7rem;
    font-size: 1.2rem;
  }

  .option-grid,
  .binary-choice {
    grid-template-columns: 1fr;
  }

  .song-field {
    flex-direction: column;
    align-items: stretch;
    gap: 0.8rem;
  }

  .song-field .btn {
    align-self: flex-start;
  }

  .step-actions--split {
    flex-direction: column;
    align-items: stretch;
  }

  .step-actions--split .btn {
    width: 100%;
  }

  .step-back--inline {
    margin-top: 0.8rem;
    text-align: center;
    justify-content: center;
  }

  .summary__item {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .summary__edit {
    justify-self: start;
  }
}

@media (max-width: 420px) {
  .rsvp-header .brand__names {
    font-size: 1.45rem;
  }

  .rsvp-progress__top {
    font-size: 0.55rem;
  }

  .endurance {
    padding: 1.35rem 1rem 1.1rem;
  }

  .endurance__labels {
    font-size: 0.52rem;
  }

  .photo-preview figcaption {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
  }
}
