@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600&family=Cormorant Garamond:wght@300;400;500&display=swap');

:root {
  --paper: #eee5d8;
  --paper-dark: #d8c7b2;
  --sky: #9aadb0;
  --ocean: #607d86;
  --deep: #354b52;
  --gold: #bd9670;
  --text: #403a36;
  --ivory: #f5ede1;
  --umber: #6b4d40;
  --clay: #89624c;
  --slate: #4d6870;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Cormorant Garamond', sans-serif;
  background: var(--paper);
  color: var(--text);
  line-height: 1.7;
}

/* Make the page use a fixed left column and a scrollable right column */
html, body {
  height: 100%;
}

body {
  overflow: hidden; /* only the right panel scrolls */
}

.site-split {
  min-height: 100vh;
}

.left-fixed {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: 55%;
  background: linear-gradient(rgba(0,0,0,0.18), rgba(0,0,0,0.35)), url('../assets/images/hero.jpg') center/cover no-repeat;
  background-position: 50% 70%; /* nudge focal point (X% Y%) */
  z-index: 1;
  display: flex;
  align-items: flex-end;
  padding: 60px;
  color: white;
  transition: background-image 400ms ease, opacity 300ms ease;
}

.left-fixed .left-overlay {
  position: relative;
  z-index: 2;
}

.right-scroll {
  margin-left: 55%;
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  position: relative;
  z-index: 2;
  background: transparent;
}

/* Ensure each right-side section can occupy viewport height so image swaps are noticeable */
.right-scroll section,
.right-scroll footer {
  min-height: 100vh;
}

/* Mobile image block (inserted by JS) - hidden by default */
.mobile-image {
  display: none;
  width: 100%;
  position: relative;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.mobile-image .mobile-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12%;
  color: white;
  text-align: center;
  padding: 0 20px;
  z-index: 2;
}

.mobile-image .mobile-overlay h1 {
  font-size: 2.6rem;
  margin: 6px 0 4px;
}

.mobile-image.mobile-hero {
  min-height: 100vh;
}

.mobile-image:not(.mobile-hero) {
  min-height: 50vh;
}

/* Narrower left column for smaller screens */

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
}

.floating-nav {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  /* more see-through */
  background: rgba(248,246,242,0.6);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  padding: 12px 22px;
  display: flex;
  gap: 20px;
  align-items: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
}

.nav-links {
  display: flex;
  gap: 18px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
}

.hero-layout {
  display: grid;
  grid-template-columns: 62% 38%;
  min-height: 100vh;
}

.hero-photo {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(rgba(0,0,0,0.15), rgba(0,0,0,0.35)),
              url('../assets/images/hero.jpg') center center/cover no-repeat;
  background-position: 50% 35%;
}

.hero-gradient {
  position: absolute;
  inset: 0;
}

.hero-copy {
  position: absolute;
  left: 70px;
  bottom: 70px;
  color: white;
}

.hero-copy h1 {
  font-size: 6rem;
  line-height: 0.9;
  margin: 15px 0;
}

.hero-date,
.hero-title {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 2rem;
}

.hero-hashtag {
  font-size: 1.5rem;
  margin-top: -5px;
  margin-left: 20px;
}

.hero-invitation {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 50px;
  background-color: #3f555b;
  background-image:
    repeating-linear-gradient(105deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 7px);
}

.invitation-arch {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  max-width: 430px;
  min-height: 760px;
  background-color: #b78e68;
  background-image:
    repeating-radial-gradient(circle at 18% 24%, rgba(255, 244, 225, 0.13) 0 0.7px, transparent 0.8px 3px),
    repeating-linear-gradient(103deg, rgba(67, 43, 31, 0.045) 0 1px, transparent 1px 5px);
  border: 1px solid rgba(247, 230, 207, 0.68);
  border-radius: 260px 260px 0 0;
  padding: 80px 50px;
  text-align: center;
  color: #392d27;
  box-shadow:
    0 30px 75px rgba(24, 32, 34, 0.32),
    inset 0 0 55px rgba(255, 239, 216, 0.15);
}

.invitation-arch::before {
  content: '';
  position: absolute;
  inset: 12px;
  z-index: -1;
  border: 1px solid rgba(255, 237, 211, 0.4);
  border-radius: 248px 248px 0 0;
  pointer-events: none;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.8rem;
}

.invitation-arch h2 {
  font-size: 4rem;
  color: #302721;
}

.amp {
  font-size: 3rem;
  font-family: 'Playfair Display', serif;
}

.divider {
  height: 1px;
  width: 70%;
  margin: 30px auto;
  background: rgba(61, 43, 34, 0.52);
}

.invitation-arch .btn {
  border-color: #344b52;
  color: #2f454c;
  background: rgba(244, 226, 202, 0.24);
}

.invitation-arch .btn:hover {
  border-color: #455c6c;
  background: #455c6c;
  color: #f7f1e8;
}

.btn {
  display: inline-block;
  margin-top: 30px;
  padding: 14px 34px;
  border: 1px solid var(--deep);
  border-radius: 999px;
  text-decoration: none;
  color: var(--deep);
  transition: 0.25s;
}

.btn:hover {
  background: var(--deep);
  color: white;
}

.split-section {
  display: grid;
  grid-template-columns: 55% 45%;
  min-height: 100vh;
}

.image-panel {
  background: url('../assets/images/placeholder.jpg') center center/cover no-repeat;
}

.content-panel {
  padding: 120px 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.content-panel h2 {
  position: relative;
  font-size: 4.5rem;
  margin-bottom: 40px;
}

.content-panel h2::after {
  content: '';
  display: block;
  width: 52px;
  height: 1px;
  margin-top: 16px;
  background: currentColor;
  opacity: 0.45;
}

.content-section {
  position: relative;
  z-index: 2;
  margin-top: 0;
  box-shadow: inset 0 1px rgba(255, 248, 235, 0.32);
}

#schedule {
  background: linear-gradient(180deg, #cdb395 0%, #e0c9ab 18%, #e7d8c5 100%);
  color: #44382f;
}

#travel {
  background: linear-gradient(180deg, #e7d8c5 0%, #d7c3a8 42%, #cab292 100%);
  color: #44382f;
}

#story {
  background: linear-gradient(180deg, #cab292 0%, #dcc8ae 48%, #eadfce 100%);
  color: #44382f;
}

#schedule .content-panel h2 {
  color: #665044;
}

#travel .content-panel h2 {
  color: #5f5045;
}

#story .content-panel h2 {
  color: #6a5242;
}

.timeline-item,
.info-card {
  padding: 28px 0;
  border-top: 1px solid rgba(91, 70, 55, 0.18);
}

/* Travel section cards: two-column grid on desktop, subtle paper cards */
#travel .content-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

#travel .content-panel h2 {
  grid-column: 1 / -1;
  margin-bottom: 8px;
}

#travel .info-card {
  padding: 22px;
  border-top: none;
  background: rgba(247,241,235,0.35);
  border-radius: 12px;
  border: 1px solid rgba(200,170,140,0.08);
  box-shadow: 0 6px 20px rgba(40,30,24,0.04);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

#travel .info-card h3 {
  margin-top: 0;
  color: #5a4840;
}

#travel .info-card p { color: #545f60; line-height: 1.6; }

#travel .info-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(36,28,22,0.06); }

@media (max-width: 1100px) {
  #travel .content-panel { grid-template-columns: 1fr; }
  #travel .info-card { padding: 18px; }
}

.timeline-item h4,
.info-card h3 {
  font-size: 2rem;
  margin: 10px 0;
}

/* Timeline / schedule styling */
.timeline-item {
  /* very subtle warm paper tint */
  background: rgba(248,244,238,0.45);
  border-radius: 12px;
  padding: 24px 32px;
  border: 1px solid rgba(200,170,140,0.08);
  box-shadow: 0 6px 16px rgba(45,34,28,0.035);
  margin-bottom: 20px;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.timeline-item:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(40,30,24,0.06); }

.timeline-item h3 {
  font-size: 1.45rem;
  margin-bottom: 10px;
  color: #6a5242;
  font-weight: 500;
}

.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Alternating vertical timeline */
.timeline {
  position: relative;
  margin: 18px 0 0;
  padding: 10px 0 20px;
}

.timeline:before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, rgba(216,200,160,0.9), rgba(216,200,160,0.4));
  transform: translateX(-50%);
}

.timeline .event {
  position: relative;
  width: 50%;
  padding: 12px 24px;
  box-sizing: border-box;
}

.timeline .event:nth-child(odd) {
  left: 0;
  text-align: right;
  margin-left: 0;
}

.timeline .event:nth-child(even) {
  left: 50%;
  text-align: left;
}

.timeline .event:after {
  content: '';
  position: absolute;
  top: 22px;
  width: 12px;
  height: 12px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}

.timeline .event:nth-child(odd):after { right: -6px; }
.timeline .event:nth-child(even):after { left: -6px; }

.timeline .event .event-body {
  display: inline-block;
  max-width: 380px;
  vertical-align: top;
}

@media (max-width: 1100px) {
  .timeline:before { left: 8px; }
  .timeline .event { width: 100%; padding-left: 28px; padding-right: 16px; text-align: left; }
  .timeline .event:nth-child(odd), .timeline .event:nth-child(even) { left: 0; }
  .timeline .event:after { left: 8px; }
  .timeline .event .event-body { max-width: 100%; }
}

.event-body {
  padding: 12px 14px;
  /* keep content readable but avoid stark white */
  background: rgba(255,255,250,0.06);
  border-radius: 8px;
  border-left: 3px solid rgba(216,200,160,0.6);
  color: #4e6166;
}

.event-body h4 {
  font-size: 1.12rem;
  margin-bottom: 6px;
  color: #4a3b34;
  font-family: 'Cormorant Garamond', serif;
}

/* Kleredrag (dress code) section styling */
#kleredrag .content-panel {
  display: block;
}

.dress-grid {
  display: grid;
  /* stack vertically: text above image to avoid squishing on wide screens */
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
  margin-top: 18px;
}

.dress-text p {
  margin-bottom: 14px;
  color: #58463f;
  line-height: 1.7;
}

.dress-image-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.dress-image {
  width: 100%;
  max-width: 720px;
  height: auto;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(200,170,140,0.08);
  box-shadow: 0 10px 30px rgba(40,30,24,0.06);
  margin: 0 auto;
}

@media (max-width: 1100px) {
  .dress-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .dress-image {
    width: 84%;
    margin: 0 auto;
    aspect-ratio: 3/4;
  }
}

.event-body p { margin: 0; color: #5b6a72; }

@media (min-width: 1100px) {
  .timeline-item { padding: 34px 46px; }
  .timeline-list { gap: 16px; }
  .event-body h4 { font-size: 1.3rem; }
}

.weekend-intro {
  position: relative;
  z-index: 3;
  margin-top: 0;
  padding: 140px 30px;
  text-align: center;
  background: linear-gradient(180deg, #eadfce 0%, #d9c2a4 46%, #b99a78 100%);
  color: #44382f;
}

.weekend-intro h2 {
  font-size: 5rem;
  margin-bottom: 20px;
}

.weekend-intro p {
  max-width: 700px;
  margin: auto;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}

.gallery-placeholder {
  height: 240px;
  background: rgba(255, 248, 235, 0.34);
  border: 1px solid rgba(96, 74, 57, 0.14);
  border-radius: 14px;
}

.faq-section {
  position: relative;
  z-index: 4;
  width: 100%;
  max-width: none;
  margin-top: 0;
  padding: 120px clamp(30px, 8vw, 90px);
  background: linear-gradient(180deg, #b99a78 0%, #d4bea0 38%, #eee5d8 100%);
  color: #44382f;
}

.faq-section h2 {
  font-size: 4rem;
  text-align: center;
  margin-bottom: 40px;
}

.details,
details {
  max-width: 820px;
  margin-right: auto;
  margin-left: auto;
  background: rgba(244, 232, 216, 0.9);
  padding: 24px;
  margin-bottom: 16px;
  border-radius: 12px;
  border: 1px solid rgba(76, 54, 42, 0.2);
  box-shadow: 0 10px 28px rgba(62, 43, 34, 0.12);
}

summary {
  cursor: pointer;
}

footer {
  position: relative;
  z-index: 5;
  margin-top: 0;
  padding: 60px;
  text-align: center;
  background: linear-gradient(180deg, #eee5d8 0%, #d8c7b2 100%);
  color: #5d4b3f;
}

/* RSVP */
.rsvp-page {
  min-height: 100%;
  overflow: auto;
  background: var(--paper);
}

.rsvp-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 45% 55%;
}

.rsvp-visual {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 100vh;
  padding: 60px;
  color: white;
  background:
    linear-gradient(rgba(24, 35, 42, 0.12), rgba(24, 35, 42, 0.48)),
    url('../assets/images/hero.jpg') 50% 70% / cover no-repeat;
}

.rsvp-visual-copy {
  position: relative;
  z-index: 1;
}

.rsvp-visual-copy h1 {
  max-width: 600px;
  margin: 8px 0 14px;
  font-size: clamp(3.5rem, 7vw, 6.5rem);
  line-height: 0.86;
  font-weight: 300;
}

.rsvp-visual-copy h1 span {
  display: block;
  margin: 8px 0;
  font-size: 0.55em;
  font-style: italic;
}

.rsvp-visual-copy > p:last-child {
  letter-spacing: 0.05em;
}

.rsvp-home-link {
  position: fixed;
  top: 28px;
  left: 32px;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  color: var(--deep);
  background: rgba(238, 229, 216, 0.94);
  border: 1px solid rgba(74, 57, 47, 0.14);
  box-shadow: 0 10px 30px rgba(48, 35, 29, 0.14);
  text-decoration: none;
  font-size: 0.82rem;
  backdrop-filter: blur(10px);
}

.rsvp-form-panel {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 70px clamp(32px, 7vw, 110px) 45px;
  background-color: #d6c1a8;
  background-image:
    repeating-linear-gradient(102deg, rgba(74, 52, 40, 0.025) 0 1px, transparent 1px 7px);
}

.rsvp-progress {
  width: min(100%, 640px);
  margin: 0 auto 50px;
  color: var(--deep);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.progress-track {
  height: 2px;
  margin-top: 12px;
  overflow: hidden;
  background: var(--paper-dark);
}

.progress-bar {
  width: 12.5%;
  height: 100%;
  background: var(--ocean);
  transition: width 350ms ease;
}

.rsvp-form {
  width: min(100%, 640px);
  margin: 0 auto;
}

.rsvp-step {
  display: none;
  border: 0;
  animation: rsvpStepIn 400ms ease both;
}

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

.rsvp-step > label,
.rsvp-step legend {
  display: block;
  width: 100%;
  margin-bottom: 12px;
  color: var(--text);
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  font-weight: 400;
  line-height: 1.05;
}

.question-number {
  margin-bottom: 14px;
  color: var(--ocean);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.question-help {
  margin-bottom: 30px;
  color: #655d57;
  font-size: 0.92rem;
}

.rsvp-step input[type='text'],
.rsvp-step input[type='email'],
.rsvp-step select,
.rsvp-step textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #aeb8bc;
  border-radius: 0;
  outline: 0;
  padding: 15px 3px;
  color: var(--text);
  background: transparent;
  font: inherit;
  font-size: 1.05rem;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.rsvp-step textarea {
  resize: vertical;
}

.rsvp-step select {
  cursor: pointer;
}

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

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

.choice-grid-stacked {
  grid-template-columns: 1fr;
}

.choice-card {
  position: relative;
  cursor: pointer;
}

.choice-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice-card span {
  display: flex;
  align-items: center;
  min-height: 64px;
  padding: 16px 20px;
  border: 1px solid rgba(78, 58, 47, 0.28);
  border-radius: 12px;
  background: rgba(244, 232, 216, 0.45);
  transition: border-color 200ms ease, background 200ms ease, transform 200ms ease;
}

.choice-card:hover span {
  border-color: var(--ocean);
  transform: translateY(-2px);
}

.choice-card input:focus-visible + span {
  outline: 2px solid var(--ocean);
  outline-offset: 3px;
}

.choice-card input:checked + span {
  border-color: var(--ocean);
  background: rgba(96, 125, 134, 0.25);
}

.rsvp-actions {
  display: flex;
  gap: 12px;
  margin-top: 48px;
}

.rsvp-button {
  min-width: 120px;
  padding: 13px 28px;
  border: 1px solid var(--deep);
  border-radius: 999px;
  color: white;
  background: var(--deep);
  font: inherit;
  cursor: pointer;
  transition: color 200ms ease, background 200ms ease, transform 200ms ease;
}

.rsvp-button:hover {
  transform: translateY(-2px);
  background: #425863;
}

.rsvp-button-secondary {
  color: var(--deep);
  background: transparent;
}

.rsvp-button-secondary:hover {
  color: white;
}

#backButton,
#submitButton {
  display: none;
}

.form-error {
  min-height: 24px;
  margin-top: 14px;
  color: #9b554c;
  font-size: 0.85rem;
}

.rsvp-success {
  width: min(100%, 640px);
  margin: 0 auto;
  animation: rsvpStepIn 400ms ease both;
}

.rsvp-success h2 {
  margin-bottom: 18px;
  font-size: clamp(3.5rem, 7vw, 6rem);
  line-height: 1;
}

.rsvp-success p:not(.question-number) {
  margin-bottom: 32px;
  color: #655d57;
}

.rsvp-success .rsvp-button {
  display: inline-block;
  text-decoration: none;
}

@keyframes rsvpStepIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1100px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .site-split,
  .right-scroll {
    width: 100%;
    max-width: 100%;
  }

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

  /* Stack the left panel and right content on small screens */
  body {
    overflow-x: hidden;
    overflow-y: auto;
  }

  .left-fixed {
    position: relative;
    width: 100%;
    height: auto;
    padding: 30px;
  }


  /* On small screens we hide the fixed left column and instead show stacked
     mobile image blocks (inserted by JS) above each section. */
  .left-fixed {
    display: none;
  }

  .mobile-image {
    display: block;
    width: 100%;
    max-width: 100%;
    min-height: 100vh; /* full viewport image for each section on mobile */
    background-position: 50% 30%;
  }

  .mobile-image.mobile-hero {
    width: 100%;
    min-height: 100vh;
    min-height: 100svh;
    background-size: cover !important;
    background-position: 50% 50% !important;
  }

  .left-fixed .left-overlay {
    opacity: 1 !important; /* fallback in case left panel shows */
    position: relative;
    text-align: center;
    transform: translateY(0);
    margin: 0 auto;
    max-width: 90%;
  }

  .left-fixed .left-overlay h1 {
    font-size: 3rem;
    line-height: 1.02;
    margin: 10px 0 6px;
  }

  .left-fixed .left-overlay .hero-date,
  .left-fixed .left-overlay .hero-location {
    font-size: 0.95rem;
    margin-bottom: 8px;
  }

  .right-scroll {
    margin-left: 0;
    height: auto;
    overflow-x: hidden;
    overflow-y: visible;
  }

  .content-section,
  .weekend-intro,
  .faq-section,
  footer {
    width: 100%;
    max-width: 100%;
  }

  .hero-photo {
    min-height: 70vh;
  }

  .hero-copy h1 {
    font-size: 4rem;
  }

  .content-panel {
    padding: 70px 30px;
  }

  .floating-nav {
    display: none;
  }

  .rsvp-layout {
    grid-template-columns: 38% 62%;
  }

  .rsvp-visual {
    display: flex;
    min-height: 100vh;
    padding: 40px 28px;
  }
}

@media (max-width: 760px) {
  .hero-invitation {
    min-height: 100svh;
    padding: 28px 18px;
  }

  .invitation-arch {
    width: min(100%, 360px);
    min-height: min(720px, calc(100svh - 56px));
    padding: clamp(64px, 10vh, 88px) 28px 48px;
    border-radius: 190px 190px 0 0;
  }

  .invitation-arch::before {
    inset: 9px;
    border-radius: 181px 181px 0 0;
  }

  .invitation-arch h2 {
    font-size: clamp(3.25rem, 17vw, 4rem);
    line-height: 0.95;
    overflow-wrap: normal;
  }

  .invitation-arch .amp {
    margin: 14px 0;
    font-size: 2.6rem;
    line-height: 1;
  }

  .invitation-arch .divider {
    margin: 26px auto;
  }

  .invitation-arch p {
    font-size: 0.92rem;
    line-height: 1.55;
  }

  .invitation-arch .btn {
    margin-top: 24px;
  }

  .rsvp-layout {
    display: block;
  }

  .rsvp-visual {
    min-height: 32vh;
    padding: 78px 24px 26px;
    background-position: 50% 60%;
  }

  .rsvp-visual-copy h1 {
    font-size: 3.2rem;
  }

  .rsvp-visual-copy h1 span {
    display: inline;
    margin: 0;
  }

  .rsvp-visual-copy > p:last-child {
    font-size: 0.78rem;
  }

  .rsvp-home-link {
    top: 18px;
    left: 18px;
  }

  .rsvp-form-panel {
    min-height: 68vh;
    justify-content: flex-start;
    padding: 38px 24px 32px;
  }

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

  .rsvp-step > label,
  .rsvp-step legend {
    font-size: 2.55rem;
  }

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

  .rsvp-actions {
    margin-top: 38px;
  }

  .rsvp-button {
    flex: 1;
    min-width: 0;
  }
}
