:root {
  --cream: #f4eddf;
  --cream-deep: #e8dcc8;
  --paper: #fffaf0;
  --ink: #263121;
  --green: #435630;
  --green-dark: #2f3e23;
  --red: #a52b30;
  --red-dark: #7f1e24;
  --orange: #c76a3f;
  --muted: #716c61;
  --line: rgba(38, 49, 33, 0.2);
  --shadow: 0 24px 70px rgba(51, 48, 38, 0.16);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, Montserrat, Arial, sans-serif;
  --script: "Segoe Print", "Bradley Hand", cursive;
}

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

html {
  width: 100%;
  max-width: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
  overflow-x: clip;
}

body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body::selection {
  color: var(--paper);
  background: var(--red);
}

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

main,
section,
header,
footer,
.section__inner,
.hero__content,
.childhood-pair,
.location__copy,
.location__art,
.rsvp__intro,
.form-card,
.form-row > *,
.date-layout > *,
.location__layout > *,
.rsvp__layout > * {
  min-width: 0;
  max-width: 100%;
}

h1,
h2,
h3,
p,
label,
legend {
  overflow-wrap: break-word;
}

a {
  color: inherit;
}

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

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  color: white;
  background: var(--ink);
  border-radius: 8px;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  max-width: 100vw;
  min-height: 72px;
  padding: 10px clamp(18px, 4vw, 60px);
  transition: background 180ms ease, box-shadow 180ms ease, min-height 180ms ease;
}

.site-header--scrolled {
  min-height: 60px;
  background: rgba(244, 237, 223, 0.94);
  box-shadow: 0 4px 20px rgba(38, 49, 33, 0.08);
  backdrop-filter: blur(14px);
}

.brand {
  justify-self: start;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-style: italic;
  text-decoration: none;
}

.nav {
  display: flex;
  gap: clamp(16px, 3vw, 38px);
}

.nav a {
  position: relative;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-decoration: none;
  text-transform: uppercase;
}

.nav a::after {
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.nav a:hover::after,
.nav a:focus-visible::after {
  transform: scaleX(1);
}

.site-header > .button {
  justify-self: end;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 25px;
  color: var(--paper);
  background: var(--red);
  border: 1px solid var(--red);
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.button:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  transform: translateY(-2px);
}

.button:focus-visible,
input:focus-visible,
textarea:focus-visible,
a:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

.button--small {
  min-height: 40px;
  padding: 8px 18px;
  font-size: 0.7rem;
}

.button--cream {
  color: var(--green-dark);
  background: var(--cream);
  border-color: var(--cream);
}

.button--cream:hover {
  color: var(--green-dark);
  background: white;
  border-color: white;
}

.button--dark {
  color: var(--paper);
  background: var(--ink);
  border-color: var(--ink);
}

.button--dark:hover {
  background: #11170f;
  border-color: #11170f;
}

.button--wide {
  width: 100%;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(460px, 1.1fr);
  align-items: center;
  min-height: 100svh;
  width: 100%;
  max-width: 100%;
  padding: 118px clamp(24px, 7vw, 112px) 80px;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  z-index: -2;
  top: -22vw;
  right: -20vw;
  width: 70vw;
  height: 70vw;
  background: rgba(67, 86, 48, 0.11);
  border-radius: 50%;
  content: "";
}

.hero::after {
  position: absolute;
  z-index: -1;
  bottom: 6%;
  left: -6%;
  width: 22vw;
  height: 22vw;
  border: 1px solid rgba(165, 43, 48, 0.28);
  border-radius: 50%;
  content: "";
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.23em;
  text-transform: uppercase;
}

.section-kicker--light {
  color: #f0c7b2;
}

.hero h1,
.finale h2 {
  max-width: 760px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.2rem, 7.4vw, 7.8rem);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.92;
}

.hero__date {
  margin: 25px 0 0;
  color: var(--green);
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.3vw, 2rem);
  letter-spacing: 0.18em;
}

.hero__lead {
  margin: 28px 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.8vw, 1.4rem);
  line-height: 1.45;
}

.hero__scribble {
  position: absolute;
  color: var(--red);
  font-family: var(--script);
  font-size: clamp(2.5rem, 5vw, 5rem);
  transform: rotate(-12deg);
}

.hero__scribble--one {
  top: 19%;
  left: 44%;
}

.hero__scribble--two {
  right: 3%;
  bottom: 16%;
  color: var(--green);
  font-size: 3rem;
  transform: rotate(16deg);
}

.childhood-pair {
  position: relative;
  z-index: 1;
  min-height: 620px;
}

.photo-card {
  position: absolute;
  margin: 0;
  padding: 11px 11px 44px;
  background: #fffdf7;
  box-shadow: var(--shadow);
}

.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.02);
}

.photo-card figcaption {
  position: absolute;
  right: 0;
  bottom: 8px;
  left: 0;
  color: var(--green);
  font-family: var(--script);
  font-size: 1.3rem;
  text-align: center;
}

.photo-card--bride {
  top: 8%;
  left: 2%;
  width: min(58%, 390px);
  height: 420px;
  transform: rotate(-6deg);
}

.photo-card--bride img {
  object-position: 58% center;
}

.photo-card--groom {
  right: 1%;
  bottom: 4%;
  width: min(53%, 350px);
  height: 470px;
  transform: rotate(5deg);
}

.photo-card--groom img {
  object-position: center 22%;
}

.childhood-pair__heart {
  position: absolute;
  z-index: 4;
  top: 45%;
  left: 51%;
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  color: white;
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(165, 43, 48, 0.3);
  font-size: 1.8rem;
  transform: rotate(-9deg);
}

.scroll-hint {
  position: absolute;
  bottom: 24px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.scroll-hint span {
  display: block;
  width: 34px;
  height: 1px;
  background: currentColor;
}

.section {
  position: relative;
  padding: clamp(84px, 10vw, 150px) 24px;
}

.section__inner {
  width: min(1180px, 100%);
  max-width: 100%;
  margin: 0 auto;
}

.section__inner--narrow {
  width: min(790px, 100%);
  text-align: center;
}

.section h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5.5vw, 5.6rem);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1;
}

.intro {
  background: var(--paper);
}

.intro .section__inner--narrow > p:last-child {
  max-width: 650px;
  margin: 28px auto 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 1.2rem;
}

.date-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) minmax(320px, 1.15fr);
  align-items: center;
  gap: clamp(50px, 9vw, 130px);
  margin-top: clamp(65px, 9vw, 120px);
}

.calendar {
  padding: clamp(24px, 4vw, 45px);
  background: var(--cream);
  border: 1px solid rgba(165, 43, 48, 0.55);
  box-shadow: 14px 14px 0 rgba(67, 86, 48, 0.12);
  transform: rotate(-2deg);
}

.calendar__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 22px;
  color: var(--red);
  border-bottom: 1px solid rgba(165, 43, 48, 0.35);
  font-family: var(--serif);
  font-size: 1.7rem;
  font-style: italic;
}

.calendar__header strong {
  color: var(--ink);
  font-size: 0.9rem;
  font-style: normal;
  letter-spacing: 0.15em;
}

.calendar__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 7px;
  text-align: center;
}

.calendar__grid > * {
  display: grid;
  min-height: 34px;
  place-items: center;
  font-size: 0.78rem;
}

.calendar__weekdays {
  margin-bottom: 7px;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
}

.calendar__chosen {
  position: relative;
  z-index: 1;
  color: white;
  font-size: 0.92rem !important;
}

.calendar__chosen::before {
  position: absolute;
  z-index: -1;
  width: 39px;
  height: 35px;
  background: var(--red);
  border-radius: 55% 55% 47% 47%;
  content: "";
  transform: rotate(-6deg);
}

.date-copy {
  display: flex;
  align-items: center;
  gap: 30px;
}

.date-copy__number {
  color: var(--red);
  font-family: var(--serif);
  font-size: clamp(8rem, 18vw, 16rem);
  line-height: 0.75;
}

.date-copy p,
.date-copy h3,
.date-copy strong {
  margin: 0;
}

.date-copy p {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.date-copy h3 {
  font-family: var(--serif);
  font-size: clamp(2.7rem, 5vw, 5rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1;
}

.date-copy strong {
  color: var(--green);
  font-size: 1rem;
  letter-spacing: 0.1em;
}

.section--green {
  color: var(--paper);
  background: var(--green);
}

.location {
  overflow: hidden;
}

.location::before {
  position: absolute;
  top: -120px;
  left: -100px;
  width: 330px;
  height: 330px;
  border: 1px solid rgba(244, 237, 223, 0.15);
  border-radius: 50%;
  content: "";
}

.location__layout {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  align-items: center;
  gap: clamp(50px, 9vw, 140px);
}

.venue-list {
  margin: 42px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.23);
}

.location__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.venue-card {
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.23);
}

.venue-card__time {
  font-family: var(--serif);
  font-size: 2.4rem;
  font-style: italic;
}

.venue-card h3,
.venue-card p {
  margin: 0;
}

.venue-card h3 {
  font-size: 1.05rem;
  letter-spacing: 0.06em;
}

.venue-card p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
}

.location__art > p {
  margin: 20px 0 0;
  font-family: var(--script);
  font-size: 1.5rem;
  text-align: center;
}

.arch {
  position: relative;
  overflow: hidden;
  width: min(100%, 430px);
  aspect-ratio: 0.78;
  margin: auto;
  background: var(--cream);
  border-radius: 50% 50% 5px 5px / 38% 38% 5px 5px;
}

.arch__sun {
  position: absolute;
  top: 15%;
  left: 50%;
  width: 110px;
  height: 110px;
  background: var(--orange);
  border-radius: 50%;
  transform: translateX(-50%);
}

.arch__line {
  position: absolute;
  right: -20%;
  left: -20%;
  border: 2px solid var(--green);
  border-radius: 50%;
}

.arch__line--one {
  bottom: -4%;
  height: 65%;
  background: var(--green-dark);
  border-color: var(--green-dark);
}

.arch__line--two {
  right: 30%;
  bottom: 2%;
  left: -35%;
  height: 44%;
  background: #78905b;
  border-color: #78905b;
  transform: rotate(12deg);
}

.arch__line--three {
  right: -30%;
  bottom: -13%;
  left: 25%;
  height: 43%;
  background: var(--red);
  border-color: var(--red);
  transform: rotate(-8deg);
}

.schedule {
  background: var(--paper);
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 40px;
  margin-bottom: clamp(55px, 8vw, 100px);
}

.section-heading .section-kicker {
  grid-column: 1 / -1;
  margin-bottom: -20px;
}

.section-heading > p:last-child {
  max-width: 440px;
  margin: 0;
  color: var(--muted);
}

.section-heading--center {
  display: block;
  text-align: center;
}

.timeline {
  max-width: 880px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.timeline__item {
  display: grid;
  grid-template-columns: 100px 28px 1fr;
  gap: 24px;
  min-height: 130px;
}

.timeline__item time {
  padding-top: 1px;
  color: var(--red);
  font-family: var(--serif);
  font-size: 2rem;
  font-style: italic;
}

.timeline__dot {
  position: relative;
  display: flex;
  justify-content: center;
}

.timeline__dot::before {
  z-index: 1;
  width: 13px;
  height: 13px;
  margin-top: 11px;
  background: var(--green);
  border: 5px solid var(--paper);
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--green);
  box-sizing: content-box;
  content: "";
}

.timeline__dot::after {
  position: absolute;
  top: 34px;
  bottom: 0;
  width: 1px;
  background: var(--line);
  content: "";
}

.timeline__item:last-child .timeline__dot::after {
  display: none;
}

.timeline__item h3,
.timeline__item p {
  margin: 0;
}

.timeline__item h3 {
  font-family: var(--serif);
  font-size: 1.75rem;
  font-style: italic;
  font-weight: 400;
}

.timeline__item p {
  max-width: 540px;
  color: var(--muted);
}

.wishes {
  overflow: hidden;
}

.wishes::after {
  position: absolute;
  z-index: -1;
  right: -120px;
  bottom: -150px;
  width: 410px;
  height: 410px;
  border: 1px solid rgba(165, 43, 48, 0.26);
  border-radius: 50%;
  content: "";
}

.wish-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.wish-card {
  min-height: 390px;
  padding: clamp(28px, 4vw, 50px);
  border-radius: 48% 48% 20px 20px / 34% 34% 20px 20px;
}

.wish-card > span {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-style: italic;
}

.wish-card h3 {
  margin: 110px 0 16px;
  font-family: var(--serif);
  font-size: 2.3rem;
  font-style: italic;
  font-weight: 400;
}

.wish-card p {
  margin: 0;
  font-size: 0.9rem;
}

.wish-card--red {
  color: white;
  background: var(--red);
  transform: rotate(-2deg);
}

.wish-card--cream {
  background: var(--paper);
  border: 1px solid var(--line);
  transform: translateY(35px);
}

.wish-card--green {
  color: white;
  background: var(--green);
  transform: rotate(2deg);
}

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

.countdown-section .section-kicker {
  color: #e5b093;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 55px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.countdown > div {
  padding: 28px 10px;
  background: var(--green-dark);
}

.countdown strong,
.countdown span {
  display: block;
}

.countdown strong {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1;
}

.countdown span {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

.rsvp {
  overflow: hidden;
}

.rsvp::before,
.rsvp::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  content: "";
}

.rsvp::before {
  top: -160px;
  left: -160px;
  width: 430px;
  height: 430px;
}

.rsvp::after {
  right: -90px;
  bottom: -90px;
  width: 260px;
  height: 260px;
}

.rsvp__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  align-items: start;
  gap: clamp(50px, 8vw, 110px);
}

.rsvp__intro {
  position: sticky;
  top: 110px;
}

.rsvp__intro > p:not(.section-kicker) {
  margin: 28px 0;
  color: rgba(255, 255, 255, 0.74);
}

.rsvp__note {
  display: inline-block;
  padding: 8px 14px;
  color: var(--red-dark);
  background: #f2c7a8;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form-card {
  width: 100%;
  padding: clamp(26px, 5vw, 58px);
  color: var(--ink);
  background: var(--paper);
  border-radius: 8px;
  box-shadow: 0 30px 90px rgba(71, 13, 17, 0.28);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-field {
  margin-bottom: 25px;
}

.form-field label,
.form-field legend {
  display: block;
  margin-bottom: 8px;
  font-size: 0.82rem;
  font-weight: 800;
}

.form-field b {
  color: var(--red);
}

.form-field input[type="text"],
.form-field input[type="number"],
.form-field textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 13px 15px;
  color: var(--ink);
  background: white;
  border: 1px solid rgba(38, 49, 33, 0.25);
  border-radius: 3px;
  transition: border 150ms ease, box-shadow 150ms ease;
}

.form-field textarea {
  resize: vertical;
}

.form-field input:hover,
.form-field textarea:hover {
  border-color: rgba(38, 49, 33, 0.48);
}

.form-field small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.72rem;
}

.field-error {
  color: var(--red) !important;
  font-weight: 700;
}

.form-field--choices,
.form-field--checks {
  padding: 0;
  border: 0;
}

.form-field--choices > div,
.form-field--checks > div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.form-field--choices label,
.form-field--checks label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 10px 13px;
  background: var(--cream);
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 600;
}

.form-field input[type="radio"],
.form-field input[type="checkbox"] {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: var(--red);
}

.form-field--toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px;
  background: var(--cream);
  border-radius: 3px;
}

.form-field--toggle label {
  margin: 0;
  cursor: pointer;
}

.form-errors {
  margin-bottom: 22px;
  padding: 12px 15px;
  color: var(--red-dark);
  background: #f7dad6;
  border-left: 4px solid var(--red);
  font-size: 0.85rem;
  font-weight: 700;
}

.privacy-note {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 0.72rem;
  text-align: center;
}

.success-message {
  padding: 35px 10px;
  text-align: center;
}

.success-message > span {
  display: grid;
  width: 76px;
  height: 76px;
  margin: 0 auto 25px;
  place-items: center;
  color: white;
  background: var(--red);
  border-radius: 50%;
  font-size: 2rem;
}

.success-message h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-style: italic;
  font-weight: 400;
}

.success-message p {
  max-width: 460px;
  margin: 16px auto;
  color: var(--muted);
}

.text-link {
  color: var(--red);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.finale {
  display: grid;
  min-height: 72svh;
  padding: 100px 24px;
  place-content: center;
  text-align: center;
}

.finale__line {
  position: relative;
  width: 180px;
  height: 70px;
  margin: 0 auto 20px;
  border-top: 1px solid var(--red);
  border-radius: 50%;
}

.finale__line::after {
  position: absolute;
  top: -25px;
  left: 50%;
  color: var(--red);
  content: "♡";
  font-size: 2rem;
  transform: translateX(-50%);
}

.finale p {
  margin: 0 0 20px;
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.finale time {
  margin-top: 30px;
  color: var(--green);
  font-family: var(--serif);
  font-size: 1.35rem;
  letter-spacing: 0.2em;
}

.footer {
  display: flex;
  justify-content: space-between;
  padding: 20px clamp(24px, 5vw, 80px);
  color: rgba(255, 255, 255, 0.65);
  background: var(--ink);
  font-size: 0.72rem;
}

.footer p {
  margin: 0;
}

.footer a {
  color: white;
  font-weight: 700;
  text-decoration: none;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

.photo-card.reveal--visible.photo-card--bride {
  transform: rotate(-6deg);
}

.photo-card.reveal--visible.photo-card--groom {
  transform: rotate(5deg);
}

@media (max-width: 900px) {
  .nav {
    display: none;
  }

  .site-header {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 120px;
    text-align: center;
  }

  .hero__content {
    margin: 0 auto;
  }

  .childhood-pair {
    width: min(650px, 100%);
    min-height: 540px;
    margin: 25px auto 0;
  }

  .photo-card--bride {
    height: 365px;
  }

  .photo-card--groom {
    height: 410px;
  }

  .date-layout,
  .location__layout,
  .rsvp__layout {
    grid-template-columns: 1fr;
  }

  .date-copy {
    justify-content: center;
  }

  .location__copy {
    text-align: center;
  }

  .venue-card {
    justify-content: center;
    text-align: left;
  }

  .location__art {
    max-width: 470px;
    margin: auto;
  }

  .wish-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: auto;
  }

  .wish-card {
    min-height: 310px;
  }

  .wish-card h3 {
    margin-top: 65px;
  }

  .wish-card--cream {
    transform: none;
  }

  .rsvp__intro {
    position: static;
    text-align: center;
  }

  .rsvp__intro > p:not(.section-kicker) {
    max-width: 620px;
    margin-right: auto;
    margin-left: auto;
  }
}

@media (max-width: 620px) {
  html {
    scroll-padding-top: 60px;
  }

  .site-header {
    min-height: 60px;
    padding-right: 16px;
    padding-left: 16px;
  }

  .site-header .button--small {
    min-height: 36px;
    padding: 7px 13px;
    font-size: 0.62rem;
  }

  .hero {
    min-height: auto;
    padding: 110px 17px 75px;
  }

  .hero h1,
  .finale h2 {
    font-size: clamp(2.75rem, 15vw, 4.7rem);
    overflow-wrap: anywhere;
  }

  .hero__lead br {
    display: none;
  }

  .childhood-pair {
    min-height: 410px;
    margin-top: 45px;
  }

  .photo-card {
    padding: 7px 7px 35px;
  }

  .photo-card--bride {
    left: 0;
    width: 59%;
    height: 275px;
  }

  .photo-card--groom {
    right: 0;
    width: 53%;
    height: 315px;
  }

  .childhood-pair__heart {
    top: 44%;
    width: 52px;
    height: 52px;
    font-size: 1.2rem;
  }

  .scroll-hint {
    display: none;
  }

  .section {
    padding: 78px 17px;
  }

  .section h2 {
    font-size: clamp(2.45rem, 13vw, 4rem);
  }

  .date-layout {
    gap: 55px;
  }

  .calendar {
    padding: 22px 16px;
  }

  .calendar__grid {
    gap: 3px;
  }

  .calendar__grid > * {
    min-height: 31px;
    font-size: 0.72rem;
  }

  .date-copy {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 16px;
    width: 100%;
    max-width: 100%;
    text-align: left;
  }

  .date-copy__number {
    font-size: clamp(6.2rem, 31vw, 8rem);
  }

  .date-copy h3 {
    font-size: clamp(2.1rem, 11vw, 2.75rem);
  }

  .date-copy strong {
    font-size: 0.82rem;
  }

  .venue-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 16px;
    width: 100%;
  }

  .venue-card__time {
    font-size: 1.8rem;
  }

  .section-heading {
    display: block;
    margin-bottom: 55px;
  }

  .section-heading .section-kicker {
    margin-bottom: 18px;
  }

  .section-heading > p:last-child {
    margin-top: 24px;
  }

  .timeline__item {
    grid-template-columns: 62px 18px minmax(0, 1fr);
    gap: 12px;
    min-height: 145px;
  }

  .timeline__item time {
    font-size: 1.45rem;
  }

  .timeline__item h3 {
    font-size: 1.5rem;
  }

  .timeline__item p {
    font-size: 0.85rem;
  }

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

  .form-card {
    width: 100%;
    padding: 26px 18px;
  }

  .rsvp__layout,
  .form-card form,
  .form-field,
  .form-field fieldset,
  fieldset {
    min-width: 0;
    max-width: 100%;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-field--choices > div,
  .form-field--checks > div {
    display: grid;
    grid-template-columns: 1fr;
  }

  .footer {
    flex-wrap: wrap;
    gap: 16px;
  }

  .wish-card--red,
  .wish-card--green {
    transform: none;
  }

  .photo-card.reveal--visible.photo-card--bride {
    transform: rotate(-3deg);
  }

  .photo-card.reveal--visible.photo-card--groom {
    transform: rotate(3deg);
  }
}

@media (max-width: 360px) {
  .site-header {
    padding-right: 12px;
    padding-left: 12px;
  }

  .brand {
    font-size: 1.08rem;
  }

  .hero {
    padding-right: 14px;
    padding-left: 14px;
  }

  .hero h1,
  .finale h2 {
    font-size: clamp(2.35rem, 14vw, 3.2rem);
  }

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

  .calendar {
    padding-right: 11px;
    padding-left: 11px;
  }

  .calendar__grid > * {
    min-height: 29px;
    font-size: 0.68rem;
  }

  .date-copy {
    gap: 10px;
  }

  .date-copy__number {
    font-size: 5.8rem;
  }

  .date-copy h3 {
    font-size: 2rem;
  }

  .venue-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .timeline__item {
    grid-template-columns: 52px 14px minmax(0, 1fr);
    gap: 8px;
  }

  .timeline__item time {
    font-size: 1.15rem;
  }

  .countdown strong {
    font-size: 2.3rem;
  }

  .form-card {
    padding-right: 14px;
    padding-left: 14px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
