/* -------------------------------------------------------
   Nicolas & Emily Wedding Website
   Initial framework
------------------------------------------------------- */

:root {
  --cream: #f6f1ea;
  --cream-dark: #ebe2d7;
  --paper: #fffdf9;
  --ink: #25231f;
  --muted: #777169;
  --line: rgba(37, 35, 31, 0.14);
  --dark: #272923;
  --white: #ffffff;

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;

  --container: 1180px;
  --radius: 2px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body.modal-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.container--narrow {
  max-width: 760px;
}

.centered {
  text-align: center;
}

.section {
  padding: 110px 0;
}

.section--soft {
  background: var(--cream);
}

.section--dark {
  background: var(--dark);
  color: var(--white);
}

.eyebrow {
  margin-bottom: 18px;
  color: #8e7b68;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow--light {
  color: #d8c7b4;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1;
}

h2 {
  margin-bottom: 28px;
  font-size: clamp(2.6rem, 5vw, 4.4rem);
}

h3 {
  font-size: 1.8rem;
}

p + p {
  margin-top: 18px;
}

.lead {
  color: var(--muted);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.5;
}

.lead--light {
  color: rgba(255, 255, 255, 0.75);
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0 25px;
  background: transparent;
  color: inherit;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--dark {
  background: var(--dark);
  color: var(--white);
}

.button--outline {
  border-color: var(--ink);
}

.button--light {
  border-color: var(--white);
  background: var(--white);
  color: var(--ink);
}

.section-heading {
  margin-bottom: 65px;
}

.small-note {
  margin-top: 42px;
  color: var(--muted);
  font-size: 0.82rem;
}

/* Header */

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  width: 100%;
  color: var(--white);
}

.navbar {
  display: flex;
  min-height: 90px;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-family: var(--serif);
  font-size: 1.8rem;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.brand span,
.footer-monogram span {
  margin: 0 4px;
  font-style: italic;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-menu > a {
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.nav-menu > a:hover {
  opacity: 0.7;
}

.language-picker select {
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(0, 0, 0, 0.14);
  color: var(--white);
  outline: none;
}

.language-picker option {
  color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 40px;
  border: 0;
  background: none;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 1px;
  margin: 7px 0;
  background: currentColor;
}

/* Hero */

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(rgba(31, 30, 26, 0.22), rgba(31, 30, 26, 0.38)),
    url("images/hero-placeholder.jpg") center / cover;
  color: var(--white);
}

.hero::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, transparent 15%, rgba(0, 0, 0, 0.15) 100%);
  content: "";
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero__eyebrow {
  color: rgba(255, 255, 255, 0.85);
}

.hero h1 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  font-size: clamp(4.7rem, 11vw, 10rem);
  letter-spacing: -0.04em;
}

.hero h1 span {
  font-size: 0.42em;
  font-style: italic;
}

.hero__date {
  margin: 26px 0 38px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.scroll-cue {
  position: absolute;
  z-index: 2;
  bottom: 30px;
  left: 50%;
  width: 25px;
  height: 42px;
  transform: translateX(-50%);
}

.scroll-cue span {
  display: block;
  width: 1px;
  height: 42px;
  margin: auto;
  background: rgba(255, 255, 255, 0.65);
}

/* Intro */

.intro {
  padding-block: 125px;
}

.date-lockup {
  display: inline-flex;
  align-items: center;
  margin-top: 48px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 19px 28px;
}

.date-lockup > span {
  padding-right: 20px;
  font-family: var(--serif);
  font-size: 3rem;
  line-height: 1;
}

.date-lockup > div {
  border-left: 1px solid var(--line);
  padding-left: 20px;
  text-align: left;
}

.date-lockup strong,
.date-lockup small {
  display: block;
}

.date-lockup strong {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 500;
}

.date-lockup small {
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
}

/* Story */

.split-section {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  padding: 0;
}

.split-section__image {
  min-height: 650px;
}

.image-placeholder,
.map-placeholder {
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, #d8cec2, #b8aa9b);
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--serif);
  font-size: 1.3rem;
  letter-spacing: 0.08em;
}

.split-section__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 90px clamp(40px, 8vw, 120px);
  background: var(--cream);
}

.split-section__content p:not(.eyebrow) {
  max-width: 520px;
  color: var(--muted);
}

/* Details */

.details-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.detail-card {
  min-height: 330px;
  padding: 42px;
}

.detail-card + .detail-card {
  border-left: 1px solid var(--line);
}

.detail-card__number {
  margin-bottom: 60px;
  color: #a59c91;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
}

.detail-card h3 {
  margin-bottom: 20px;
}

.detail-card p {
  color: var(--muted);
  font-size: 0.9rem;
}

.detail-card__time {
  color: var(--ink) !important;
  font-weight: 600;
}

/* Timeline */

.timeline {
  margin-top: 55px;
  border-top: 1px solid var(--line);
}

.timeline__item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 30px;
  border-bottom: 1px solid var(--line);
  padding: 30px 0;
}

.timeline__item time {
  padding-top: 8px;
  color: #8f8376;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.timeline__item h3 {
  margin-bottom: 7px;
  font-size: 1.55rem;
}

.timeline__item p {
  color: var(--muted);
}

/* Travel */

.travel-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: clamp(50px, 8vw, 120px);
}

.travel-layout > div:first-child {
  max-width: 500px;
}

.travel-layout p:not(.eyebrow) {
  color: var(--muted);
}

.text-link {
  display: inline-block;
  margin-top: 28px;
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.map-placeholder {
  min-height: 430px;
}

/* RSVP */

.rsvp {
  padding-block: 125px;
}

.rsvp-preview {
  margin-top: 48px;
  padding: 36px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  text-align: left;
}

.rsvp-preview label {
  display: block;
  margin-bottom: 10px;
  font-family: var(--serif);
  font-size: 1.25rem;
}

.search-field {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.search-field input {
  min-height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius);
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  outline: none;
}

.search-field input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.rsvp-preview__note {
  margin-top: 12px !important;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.76rem;
}

/* Footer */

.site-footer {
  padding: 55px 0;
  background: #1f211d;
  color: rgba(255, 255, 255, 0.7);
}

.footer-monogram {
  margin-bottom: 5px;
  color: var(--white);
  font-family: var(--serif);
  font-size: 2rem;
}

.site-footer p:last-child {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* Language Modal */

.language-modal {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: none;
  place-items: center;
  padding: 20px;
}

.language-modal.is-visible {
  display: grid;
}

.language-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(24, 24, 21, 0.7);
  backdrop-filter: blur(8px);
}

.language-modal__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 510px);
  padding: 55px 50px;
  background: var(--paper);
  text-align: center;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.2);
}

.language-modal__panel h2 {
  margin-bottom: 18px;
  font-size: 3.1rem;
}

.language-modal__intro {
  margin-bottom: 30px;
  color: var(--muted);
}

.language-modal__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* Accessibility */

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

/* Responsive */

@media (max-width: 850px) {
  .section {
    padding: 85px 0;
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 78px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 22px;
    background: rgba(31, 33, 29, 0.96);
    backdrop-filter: blur(12px);
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-menu > a {
    padding: 13px 4px;
  }

  .language-picker {
    margin-top: 12px;
  }

  .language-picker select {
    width: 100%;
  }

  .hero h1 {
    flex-direction: column;
    gap: 0;
    font-size: clamp(4.3rem, 21vw, 7rem);
  }

  .hero h1 span {
    margin: -8px 0;
  }

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

  .split-section__image {
    min-height: 500px;
  }

  .split-section__content {
    padding: 75px 32px;
  }

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

  .detail-card {
    min-height: auto;
  }

  .detail-card + .detail-card {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .detail-card__number {
    margin-bottom: 30px;
  }

  .travel-layout {
    grid-template-columns: 1fr;
  }

  .map-placeholder {
    min-height: 340px;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .navbar {
    min-height: 75px;
  }

  .hero__date {
    line-height: 1.6;
  }

  .timeline__item {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .rsvp-preview {
    padding: 25px 18px;
  }

  .search-field {
    grid-template-columns: 1fr;
  }

  .language-modal__panel {
    padding: 42px 24px;
  }

  .language-modal__actions {
    grid-template-columns: 1fr;
  }
}

.search-loading {
  display: flex;
  min-height: 58px;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 14px 16px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.82rem;
}

.search-loading__spinner {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-top-color: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  animation: rsvp-spin 0.7s linear infinite;
}

@keyframes rsvp-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .search-loading__spinner {
    animation: none;
  }
}

.rsvp-card--complete {
  position: relative;
}

.rsvp-again-link {
  position: absolute;
  top: 18px;
  right: 18px;
  border: 0;
  padding: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.72rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.rsvp-again-link:hover {
  color: rgba(255, 255, 255, 0.9);
}


/* -------------------------------------------------------
   Mobile-first refinements
------------------------------------------------------- */

.mobile-rsvp-cta {
  display: none;
}

@media (max-width: 850px) {
  body {
    padding-bottom: 76px;
  }

  .site-header {
    position: fixed;
    top: 0;
    background: linear-gradient(
      to bottom,
      rgba(24, 24, 21, 0.78),
      rgba(24, 24, 21, 0)
    );
    pointer-events: none;
  }

  .navbar {
    pointer-events: auto;
  }

  .brand {
    font-size: 1.55rem;
  }

  .nav-toggle {
    width: 44px;
    height: 44px;
    padding: 8px;
  }

  .nav-menu {
    top: 68px;
    right: 14px;
    left: 14px;
    max-height: calc(100svh - 90px);
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 18px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
  }

  .nav-menu > a {
    min-height: 48px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.78rem;
  }

  .language-picker select {
    min-height: 46px;
    font-size: 0.86rem;
  }

  .hero {
    min-height: 92svh;
    padding-top: 75px;
  }

  .hero__content {
    padding-top: 30px;
  }

  .hero__eyebrow {
    margin-bottom: 14px;
  }

  .hero h1 {
    font-size: clamp(4rem, 20vw, 6.7rem);
    line-height: 0.88;
  }

  .hero__date {
    margin: 22px 0 30px;
    font-size: 0.72rem;
    letter-spacing: 0.2em;
  }

  .hero .button {
    min-width: 170px;
    min-height: 52px;
  }

  .scroll-cue {
    display: none;
  }

  .intro {
    padding-block: 88px;
  }

  .split-section__image {
    min-height: 420px;
  }

  .split-section__content {
    padding: 68px 24px;
  }

  .detail-card {
    padding: 34px 24px;
  }

  .timeline__item {
    padding: 24px 0;
  }

  .rsvp {
    padding-block: 92px 110px;
  }

  .rsvp-preview {
    border-radius: 14px;
  }

  .search-field input,
  .search-field .button {
    min-height: 54px;
  }

  .mobile-rsvp-cta {
    position: fixed;
    z-index: 60;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    left: 12px;
    display: flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--dark);
    color: var(--white);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.24);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-decoration: none;
    text-transform: uppercase;
  }

  .language-modal {
    align-items: end;
    padding: 0;
  }

  .language-modal__panel {
    width: 100%;
    max-width: none;
    border-radius: 22px 22px 0 0;
    padding: 34px 22px calc(26px + env(safe-area-inset-bottom));
  }

  .language-modal__panel h2 {
    font-size: 2.45rem;
  }

  .language-modal__actions {
    grid-template-columns: 1fr;
  }

  .language-modal__actions .button {
    min-height: 54px;
  }
}

@media (max-width: 560px) {
  .section {
    padding: 72px 0;
  }

  h2 {
    font-size: clamp(2.4rem, 13vw, 3.35rem);
  }

  .lead {
    font-size: 1.3rem;
  }

  .date-lockup {
    margin-top: 36px;
    padding: 16px 22px;
  }

  .date-lockup > span {
    font-size: 2.55rem;
  }

  .split-section__image {
    min-height: 360px;
  }

  .map-placeholder {
    min-height: 290px;
  }

  .timeline__item time {
    padding-top: 0;
  }
}


/* -------------------------------------------------------
   RSVP mock application
------------------------------------------------------- */

.rsvp-app {
  margin-top: 52px;
}

.rsvp-progress {
  display: flex;
  width: min(100%, 330px);
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
}

.rsvp-progress__step {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  color: rgba(255,255,255,.55);
  font-size: .72rem;
  font-weight: 600;
}

.rsvp-progress__step.is-active,
.rsvp-progress__step.is-complete {
  border-color: var(--white);
  background: var(--white);
  color: var(--ink);
}

.rsvp-progress__line {
  width: 56px;
  height: 1px;
  background: rgba(255,255,255,.2);
}

.rsvp-step {
  display: none;
}

.rsvp-step.is-active {
  display: block;
}

.rsvp-card {
  width: min(100%, 720px);
  margin: 0 auto;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 18px;
  padding: 34px;
  background: rgba(255,255,255,.045);
  text-align: left;
  backdrop-filter: blur(8px);
}

.rsvp-card h3 {
  margin-bottom: 10px;
  font-size: clamp(2rem, 5vw, 2.8rem);
}

.rsvp-kicker {
  margin-bottom: 9px;
  color: #d8c7b4;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.rsvp-card__copy {
  margin-bottom: 27px;
  color: rgba(255,255,255,.65);
}

.field-label {
  display: block;
  margin-bottom: 8px;
  color: rgba(255,255,255,.86);
  font-size: .84rem;
  font-weight: 600;
}

.search-input-wrap input,
.rsvp-form-extra textarea,
.guest-detail-input {
  width: 100%;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 12px;
  background: rgba(255,255,255,.06);
  color: var(--white);
  outline: none;
}

.search-input-wrap input,
.guest-detail-input {
  min-height: 54px;
  padding: 0 16px;
}

.rsvp-form-extra textarea {
  padding: 14px 16px;
  resize: vertical;
}

.search-input-wrap input:focus,
.rsvp-form-extra textarea:focus,
.guest-detail-input:focus {
  border-color: rgba(255,255,255,.65);
}

.search-input-wrap input::placeholder,
.rsvp-form-extra textarea::placeholder,
.guest-detail-input::placeholder {
  color: rgba(255,255,255,.38);
}

.guest-results {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.guest-result {
  width: 100%;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 12px;
  padding: 15px 16px;
  background: rgba(255,255,255,.04);
  color: var(--white);
  text-align: left;
}

.guest-result:hover,
.guest-result:focus {
  border-color: rgba(255,255,255,.4);
  background: rgba(255,255,255,.075);
}

.guest-result strong,
.guest-result span {
  display: block;
}

.guest-result strong {
  font-family: var(--serif);
  font-size: 1.28rem;
  font-weight: 500;
}

.guest-result span {
  margin-top: 2px;
  color: rgba(255,255,255,.5);
  font-size: .77rem;
}

.rsvp-help {
  margin-top: 16px;
  color: rgba(255,255,255,.42);
  font-size: .76rem;
}

.rsvp-back {
  margin-bottom: 22px;
  border: 0;
  background: none;
  color: rgba(255,255,255,.66);
  font-size: .82rem;
}

.guest-rsvp-card {
  margin-top: 15px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  padding: 20px;
  background: rgba(0,0,0,.08);
}

.guest-rsvp-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.guest-rsvp-card__header h4 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
}

.guest-type {
  margin-top: 2px;
  color: rgba(255,255,255,.45);
  font-size: .72rem;
}

.attendance-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 18px;
}

.attendance-option {
  position: relative;
}

.attendance-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.attendance-option label {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 10px;
  color: rgba(255,255,255,.72);
  cursor: pointer;
  font-size: .78rem;
  font-weight: 600;
}

.attendance-option input:checked + label {
  border-color: var(--white);
  background: var(--white);
  color: var(--ink);
}

.guest-extra-fields {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.guest-extra-fields[hidden] {
  display: none;
}

.rsvp-form-extra {
  margin-top: 24px;
}

.rsvp-next-button {
  width: 100%;
  margin-top: 26px;
  min-height: 54px;
}

.rsvp-error {
  margin-top: 12px;
  color: #ffd7d7;
  font-size: .8rem;
}

.review-group {
  margin-top: 16px;
  border-top: 1px solid rgba(255,255,255,.13);
  padding-top: 16px;
}

.review-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 8px 0;
}

.review-row span:first-child {
  color: rgba(255,255,255,.55);
}

.review-row span:last-child {
  text-align: right;
  font-weight: 600;
}

.rsvp-success-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  font-size: 1.6rem;
}

.rsvp-card--complete {
  text-align: center;
}

.rsvp-card--complete .rsvp-success-icon {
  margin-inline: auto;
}

.rsvp-card--complete .review-group {
  text-align: left;
}

.button--outline-light {
  margin-top: 26px;
  border-color: rgba(255,255,255,.5);
  color: var(--white);
}

@media (max-width: 560px) {
  .rsvp-app {
    margin-top: 38px;
  }

  .rsvp-card {
    border-radius: 16px;
    padding: 24px 18px;
  }

  .rsvp-progress {
    margin-bottom: 22px;
  }

  .rsvp-progress__step {
    width: 30px;
    height: 30px;
  }

  .rsvp-progress__line {
    width: 42px;
  }

  .guest-rsvp-card {
    padding: 18px 14px;
  }

  .guest-rsvp-card__header h4 {
    font-size: 1.35rem;
  }

  .attendance-toggle {
    grid-template-columns: 1fr;
  }

  .review-row {
    flex-direction: column;
    gap: 2px;
  }

  .review-row span:last-child {
    text-align: left;
  }
}
