@font-face {
  font-family: "Cormorant Infant";
  src: url("assets/fonts/cormorant-light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Infant";
  src: url("assets/fonts/cormorant-bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Le Jardin";
  src: url("assets/fonts/le-jardin.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Shelly Allegro";
  src: url("assets/fonts/shelly-allegro.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lobster";
  src: url("assets/fonts/lobster.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Zing";
  src: url("assets/fonts/zing.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #272722;
  --soft-ink: #686257;
  --sage: #9f9a87;
  --sage-deep: #777362;
  --ivory: #fffef7;
  --paper: rgba(255, 255, 255, 0.91);
  --line: rgba(104, 98, 87, 0.26);
  --shadow: 0 18px 50px rgba(54, 51, 44, 0.12);
  --serif: "Cormorant Infant", Georgia, serif;
  --script: "Le Jardin", "Times New Roman", serif;
  color-scheme: only light;
}

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

html {
  scroll-behavior: smooth;
  background: var(--ivory);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--ivory);
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 300;
  line-height: 1.45;
  text-rendering: optimizeLegibility;
}

body.intro-active {
  overflow: hidden;
}

button,
input,
textarea {
  font: inherit;
}

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

button {
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.intro {
  position: fixed;
  z-index: 1000;
  inset: 0;
  overflow: hidden;
  background: #eae0d4 url("assets/images/intro-poster.png") center / cover no-repeat;
  transition: opacity 900ms ease, visibility 900ms ease;
}

.intro::after {
  position: absolute;
  inset: 0;
  content: "";
  background: radial-gradient(circle at center, transparent 44%, rgba(63, 45, 30, 0.09));
  pointer-events: none;
}

.intro.is-opening {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.intro__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.intro__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(31, 25, 21, 0.22));
}

.intro__action {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: clamp(48px, 8vh, 90px);
  display: grid;
  justify-items: center;
  gap: 14px;
  width: min(90vw, 430px);
  transform: translateX(-50%);
  opacity: 0;
  animation: intro-action-in 900ms 1.2s ease forwards;
}

.intro__eyebrow {
  margin: 0;
  color: white;
  font-family: var(--script);
  font-size: clamp(25px, 4vw, 40px);
  text-shadow: 0 2px 18px rgba(35, 26, 20, 0.55);
}

.intro__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 13px 26px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 12px;
  color: white;
  background: rgba(243, 98, 62, 0.92);
  box-shadow: 0 12px 36px rgba(74, 41, 25, 0.28);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.intro__button:hover {
  transform: translateY(-2px);
  background: #f3623e;
  box-shadow: 0 16px 42px rgba(74, 41, 25, 0.34);
}

.intro__button svg {
  width: 18px;
  fill: currentColor;
}

.intro__skip {
  position: absolute;
  z-index: 2;
  top: 20px;
  right: 22px;
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
  color: white;
  background: transparent;
  font-size: 14px;
  cursor: pointer;
  opacity: 0.82;
}

@keyframes intro-action-in {
  from { opacity: 0; transform: translate(-50%, 20px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

.site {
  opacity: 0;
  transition: opacity 700ms ease;
}

.site.is-ready {
  opacity: 1;
}

.topbar {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 78px;
  padding: 0 16px;
  color: var(--sage);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(159, 154, 135, 0.08);
  backdrop-filter: blur(12px);
  transform: translateY(-100%);
  transition: transform 600ms ease, box-shadow 250ms ease;
}

.site.is-ready .topbar {
  transform: translateY(0);
}

.topbar.is-scrolled {
  box-shadow: 0 7px 26px rgba(63, 58, 49, 0.08);
}

.topbar__left {
  display: flex;
  align-items: center;
  gap: 13px;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 7px;
  border: 0;
  color: var(--sage);
  background: transparent;
  cursor: pointer;
}

.music-button svg {
  width: 23px;
  fill: currentColor;
}

.music-button .pause-icon {
  display: none;
}

.music-button[aria-pressed="true"] .music-icon {
  display: none;
}

.music-button[aria-pressed="true"] .pause-icon {
  display: block;
}

.menu-button {
  gap: 4px;
  align-content: center;
}

.menu-button span {
  width: 21px;
  height: 2px;
  border-radius: 10px;
  background: currentColor;
  transition: transform 200ms ease, opacity 200ms ease;
}

.menu-button[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-button[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-button[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.topbar__invitation {
  margin-left: 8px;
  font-family: var(--script);
  font-size: 21px;
}

.calendar-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 23px;
  border: 0;
  border-radius: 24px;
  color: white;
  background: var(--sage);
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}

.calendar-button:hover {
  background: var(--sage-deep);
  transform: translateY(-1px);
}

.calendar-button svg {
  display: none;
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

.nav-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 15px;
  display: grid;
  min-width: 250px;
  padding: 13px;
  border: 1px solid rgba(159, 154, 135, 0.18);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
  transform: translateY(-9px);
  opacity: 0;
  visibility: hidden;
  transition: transform 180ms ease, opacity 180ms ease, visibility 180ms ease;
}

.nav-panel.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.nav-panel a {
  padding: 10px 13px;
  border-radius: 3px;
  color: var(--soft-ink);
  font-size: 18px;
}

.nav-panel a:hover {
  background: rgba(159, 154, 135, 0.1);
}

.hero {
  position: relative;
  display: grid;
  min-height: max(780px, 100svh);
  overflow: hidden;
  place-items: center;
  padding: 110px 20px 145px;
  background: white;
}

.hero__flowers {
  position: absolute;
  z-index: 0;
  top: 71px;
  left: 50%;
  width: min(62vw, 840px);
  height: min(77vw, 1040px);
  object-fit: contain;
  object-position: center top;
  transform: translateX(-50%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  width: min(100%, 690px);
  margin-top: clamp(190px, 29vh, 320px);
  text-align: center;
}

.hero__kicker {
  text-transform: uppercase;
  font-size: clamp(11px, 1.05vw, 15px);
  line-height: 1.25;
  letter-spacing: 0.28em;
}

.hero__monogram {
  position: absolute;
  top: 30px;
  left: 50%;
  display: flex;
  justify-content: center;
  gap: 12px;
  width: 100%;
  color: #f7f2ec;
  font-family: "Shelly Allegro", cursive;
  font-size: clamp(120px, 15vw, 220px);
  line-height: 1;
  transform: translateX(-50%);
  pointer-events: none;
}

.hero h1 {
  position: relative;
  margin: 48px 0 32px;
  font-family: var(--script);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
}

.hero h1 i {
  font-family: "Shelly Allegro", cursive;
  font-weight: 400;
}

.hero__promise,
.hero__waiting {
  margin: 0;
  text-transform: uppercase;
  font-size: clamp(12px, 1.2vw, 17px);
  line-height: 1.5;
  letter-spacing: 0.24em;
}

.hero__date {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 42px 0 0;
  text-transform: uppercase;
  font-size: clamp(24px, 3vw, 40px);
  letter-spacing: 0.12em;
}

.hero__date span {
  width: 1px;
  height: 30px;
  background: currentColor;
  opacity: 0.55;
}

.hero__dots {
  margin: 10px 0 2px;
  letter-spacing: 0.25em;
}

.countdown {
  position: absolute;
  z-index: 2;
  right: 50%;
  bottom: 28px;
  display: flex;
  gap: clamp(9px, 2.8vw, 34px);
  padding: 14px clamp(20px, 4vw, 54px);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 8px 30px rgba(54, 51, 44, 0.06);
  transform: translateX(50%);
  backdrop-filter: blur(7px);
}

.countdown div {
  display: grid;
  justify-items: center;
  min-width: 42px;
}

.countdown b {
  font-size: clamp(24px, 2.7vw, 38px);
  font-weight: 300;
  line-height: 1;
}

.countdown span {
  margin-top: 5px;
  font-size: 12px;
}

.scroll-cue {
  position: absolute;
  z-index: 3;
  right: clamp(24px, 11vw, 180px);
  bottom: 38px;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 15px 33px rgba(45, 43, 38, 0.2);
  animation: cue-bob 2s ease-in-out infinite;
}

.scroll-cue svg {
  width: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

@keyframes cue-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(7px); }
}

.floral-surface {
  position: relative;
  background: #fffef7 url("assets/images/floral-pattern.png") top center / 750px auto repeat;
}

.paper-column {
  position: relative;
  width: min(100%, 744px);
  margin: 0 auto;
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 0 35px rgba(64, 59, 47, 0.04);
}

.content-block {
  padding-right: clamp(28px, 7vw, 78px);
  padding-left: clamp(28px, 7vw, 78px);
}

.invite-intro {
  padding-top: 100px;
  padding-bottom: 72px;
  text-align: center;
}

.script-title,
.script-heading {
  margin: 0;
  color: var(--soft-ink);
  font-family: var(--script);
  font-weight: 400;
  line-height: 1.12;
  text-align: center;
}

.script-title {
  margin-bottom: 32px;
  font-size: clamp(42px, 6vw, 60px);
}

.script-heading {
  font-size: clamp(36px, 5.5vw, 53px);
}

.lead {
  max-width: 560px;
  margin: 0 auto 16px;
  font-size: clamp(21px, 2.6vw, 27px);
  line-height: 1.5;
  text-align: center;
}

.ceremony-time {
  display: grid;
  gap: 2px;
  margin: 38px 0 0;
  font-size: 24px;
}

.ceremony-time strong {
  font-size: 31px;
  font-weight: 300;
}

.love-story {
  width: min(54%, 400px);
  margin: 28px auto 88px;
}

.love-story img {
  width: 100%;
  filter: drop-shadow(0 16px 22px rgba(49, 39, 30, 0.14));
}

.wave-separator {
  width: 108%;
  height: 45px;
  margin: 28px -4% 60px;
  background:
    radial-gradient(52px 15px at 50% 0, transparent 48%, rgba(159, 154, 135, 0.22) 50%, transparent 54%) 0 0 / 104px 30px repeat-x;
  opacity: 0.7;
}

.portraits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 0;
  width: 110%;
  margin: 72px -5% 120px;
}

.portrait {
  position: relative;
  margin: 0;
}

.portrait img {
  width: 100%;
  aspect-ratio: 0.8;
  object-fit: cover;
  border: 9px solid white;
  background: white;
  box-shadow: 0 14px 27px rgba(45, 38, 30, 0.2);
}

.portrait--left {
  z-index: 1;
  transform: rotate(-9deg) translateX(5%);
}

.portrait--right {
  transform: rotate(9deg) translateX(-5%);
}

.portrait figcaption {
  margin-top: 16px;
  color: var(--soft-ink);
  font-family: var(--script);
  font-size: 39px;
  text-align: center;
}

.menu-section {
  margin-top: 10px;
  text-align: center;
}

.heart-rule {
  width: 78%;
  margin: 0 auto 55px;
}

.menu-ribbon {
  position: relative;
  min-height: 475px;
  overflow: hidden;
}

.menu-ribbon > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.menu-ribbon__copy {
  position: relative;
  z-index: 1;
  width: min(76%, 540px);
  margin: auto;
  padding-top: 125px;
}

.menu-ribbon__copy p {
  font-size: clamp(19px, 2.4vw, 24px);
}

.gifts {
  padding-top: 55px;
  padding-bottom: 95px;
  text-align: center;
}

.gift-copy {
  max-width: 570px;
  margin: 40px auto 54px;
  font-size: clamp(21px, 2.6vw, 27px);
  line-height: 1.55;
}

.gift-copy p,
.dream-note p {
  margin: 0 0 24px;
}

.dream-note {
  padding: 40px 0 10px;
  border-top: 1px solid var(--line);
  font-size: clamp(20px, 2.5vw, 26px);
  line-height: 1.5;
}

.dream-note h3 {
  margin: 0 0 27px;
  font-family: var(--script);
  font-size: clamp(35px, 5vw, 50px);
  font-weight: 400;
}

.dream-note .phone {
  margin: 35px 0;
  font-size: 28px;
}

.dream-note .phone a {
  border-bottom: 1px solid currentColor;
}

.house-photo {
  margin: 54px auto 0;
}

.house-photo img {
  width: 100%;
  max-height: 470px;
  object-fit: cover;
  border-radius: 46% 46% 2px 2px;
  box-shadow: var(--shadow);
}

.confirmation {
  padding-top: 20px;
  padding-bottom: 95px;
  text-align: center;
}

.envelope-flowers {
  width: min(44%, 270px);
  margin: 12px auto 28px;
}

.confirmation > .lead {
  margin-top: 20px;
}

.calendar-card {
  width: min(100%, 540px);
  margin: 45px auto 28px;
  padding: 27px 32px 34px;
  border: 1px solid rgba(128, 128, 128, 0.48);
  border-radius: 16px;
  background: rgba(209, 207, 188, 0.12);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.calendar-card h3 {
  margin: 0 0 19px;
  color: #3d3628;
  font-family: "Shelly Allegro", cursive;
  font-size: 48px;
  font-weight: 400;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 7px;
}

.calendar-weekdays {
  margin-bottom: 6px;
  color: var(--soft-ink);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.calendar-day {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  font-family: "Shelly Allegro", cursive;
  font-size: 25px;
}

.calendar-day.is-empty {
  visibility: hidden;
}

.calendar-day.is-selected {
  color: white;
}

.calendar-day.is-selected::before {
  position: absolute;
  z-index: -1;
  inset: 2px;
  content: "";
  background: var(--sage);
  clip-path: path("M20 35C20 35 4 24 4 12C4 5 9 2 14 2C18 2 20 5 20 8C20 5 22 2 26 2C31 2 36 5 36 12C36 24 20 35 20 35Z");
  transform: scale(1.05);
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 12px 27px;
  border: 1px solid var(--soft-ink);
  border-radius: 24px;
  color: white;
  background: var(--sage);
  box-shadow: 0 9px 24px rgba(60, 57, 50, 0.16);
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}

.primary-button:hover {
  background: var(--sage-deep);
  transform: translateY(-1px);
}

.primary-button svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.text-button {
  display: block;
  margin: 20px auto;
  padding: 5px 2px;
  border: 0;
  border-bottom: 1px solid currentColor;
  color: var(--soft-ink);
  background: none;
  cursor: pointer;
}

.rsvp-form {
  width: min(100%, 580px);
  margin: 38px auto 70px;
  padding: clamp(24px, 5vw, 45px);
  border: 1px solid rgba(159, 154, 135, 0.3);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
  text-align: left;
}

.rsvp-form h3 {
  margin: 0 0 22px;
  color: var(--soft-ink);
  font-family: var(--script);
  font-size: 38px;
  font-weight: 400;
  text-align: center;
}

.choice-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 25px;
}

.choice-row label {
  cursor: pointer;
}

.choice-row input {
  position: absolute;
  opacity: 0;
}

.choice-row span {
  display: grid;
  min-height: 52px;
  place-items: center;
  padding: 8px 12px;
  border: 1px solid rgba(159, 154, 135, 0.45);
  border-radius: 3px;
  text-align: center;
  transition: color 150ms ease, background 150ms ease;
}

.choice-row input:checked + span {
  color: white;
  background: var(--sage);
}

.field {
  display: grid;
  gap: 6px;
  margin-bottom: 24px;
}

.field > span,
.survey-group legend {
  color: var(--soft-ink);
  font-weight: 700;
}

.field input,
.field textarea {
  width: 100%;
  padding: 11px 13px;
  border: 0;
  border-bottom: 1px solid var(--sage);
  border-radius: 0;
  outline: 0;
  background: rgba(255, 255, 255, 0.72);
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  box-shadow: 0 2px 0 var(--sage);
}

.survey-group {
  display: grid;
  gap: 7px;
  margin: 0 0 25px;
  padding: 0;
  border: 0;
}

.survey-group legend {
  margin-bottom: 8px;
}

.survey-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.survey-group input {
  accent-color: var(--sage-deep);
}

.rsvp-form > .primary-button {
  display: flex;
  margin: 36px auto 0;
}

.rsvp-success {
  margin: 45px auto 80px;
}

.rsvp-success > span {
  color: var(--sage);
  font-size: 70px;
  line-height: 1;
}

.rsvp-success h3 {
  margin: 6px 0;
  font-family: var(--script);
  font-size: 43px;
  font-weight: 400;
}

.rsvp-success p {
  margin: 0;
}

.doors-image {
  width: calc(100% + clamp(56px, 14vw, 156px));
  max-width: none;
  margin: 85px calc(clamp(28px, 7vw, 78px) * -1) 50px;
}

.photo-note p {
  margin: 23px auto 10px;
  font-size: 23px;
}

.photo-note strong {
  color: var(--soft-ink);
  font-family: var(--script);
  font-size: 37px;
  font-weight: 400;
}

.floral-line {
  width: 90%;
  margin: 80px auto 44px;
}

.final-wish {
  text-shadow: 0 4px 20px white;
}

.schedule {
  position: relative;
  min-height: 2200px;
  overflow: hidden;
  background: white;
}

.schedule__frame {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.88;
  pointer-events: none;
}

.schedule__content {
  position: relative;
  z-index: 1;
  width: min(100% - 40px, 930px);
  margin: 0 auto;
  padding: 125px 0 150px;
}

.schedule__content > h2 {
  margin-bottom: 80px;
  color: #3d3628;
  font-size: clamp(46px, 6vw, 70px);
}

.timeline {
  position: relative;
  display: grid;
  gap: 47px;
}

.timeline__line {
  position: absolute;
  top: 15px;
  left: 50%;
  width: 80px;
  height: calc(100% - 30px);
  overflow: visible;
  transform: translateX(-50%);
}

.timeline__line path {
  fill: none;
  stroke: rgba(104, 98, 87, 0.72);
  stroke-width: 1.8;
  vector-effect: non-scaling-stroke;
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 70px 1fr;
  min-height: 170px;
}

.timeline-item__copy {
  grid-column: 1;
  align-self: center;
  padding-right: 28px;
  text-align: right;
}

.timeline-item:nth-of-type(even) .timeline-item__copy {
  grid-column: 3;
  padding-right: 0;
  padding-left: 28px;
  text-align: left;
}

.timeline-item__copy time {
  display: block;
  font-size: 38px;
  line-height: 1;
}

.timeline-item__copy h3 {
  margin: 9px 0 8px;
  font-size: 27px;
  font-weight: 300;
  line-height: 1.05;
}

.timeline-item__copy p {
  margin: 0;
  color: var(--soft-ink);
  font-size: 17px;
}

.timeline-item__icon {
  position: relative;
  z-index: 2;
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: 12px auto 0;
  border: 1px solid var(--sage);
  border-radius: 50%;
  color: var(--sage-deep);
  background: white;
  font-size: 24px;
  box-shadow: 0 5px 15px rgba(63, 58, 49, 0.1);
}

.location {
  display: grid;
  grid-template-columns: minmax(330px, 0.85fr) 1.5fr;
  min-height: 610px;
  background: #f1f2ef;
}

.location__copy {
  align-self: center;
  padding: clamp(55px, 8vw, 110px);
  text-align: center;
}

.eyebrow {
  margin: 0 0 12px;
  text-transform: uppercase;
  color: var(--sage-deep);
  font-size: 13px;
  letter-spacing: 0.24em;
}

.location__copy p:not(.eyebrow) {
  margin: 25px 0 35px;
  font-size: 21px;
}

.map-illustration {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  background-color: #eceee9;
  background-image:
    linear-gradient(27deg, transparent 49%, rgba(177, 187, 175, 0.4) 50%, transparent 52%),
    linear-gradient(150deg, transparent 49%, rgba(177, 187, 175, 0.32) 50%, transparent 51%),
    radial-gradient(circle at 20% 30%, rgba(180, 202, 191, 0.5), transparent 25%),
    radial-gradient(circle at 75% 68%, rgba(195, 207, 189, 0.5), transparent 30%);
}

.map-road {
  position: absolute;
  height: 7px;
  border: 2px solid white;
  background: #d8dad6;
  box-shadow: 0 0 0 1px rgba(167, 168, 161, 0.2);
}

.road-one {
  top: 40%;
  left: -10%;
  width: 120%;
  transform: rotate(-12deg);
}

.road-two {
  top: 61%;
  left: -7%;
  width: 120%;
  transform: rotate(18deg);
}

.road-three {
  top: -5%;
  left: 52%;
  width: 6px;
  height: 110%;
  transform: rotate(8deg);
}

.map-label {
  position: absolute;
  color: rgba(75, 81, 73, 0.62);
  font-family: sans-serif;
  font-size: 13px;
}

.map-label--one { top: 33%; left: 28%; }
.map-label--two { top: 56%; right: 24%; }
.map-label--three { bottom: 24%; left: 18%; }

.map-pin {
  position: absolute;
  top: 45%;
  left: 59%;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 6px solid rgba(255, 255, 255, 0.92);
  border-radius: 50% 50% 50% 0;
  color: white;
  background: var(--sage);
  box-shadow: 0 8px 24px rgba(50, 54, 48, 0.28);
  transform: rotate(-45deg);
}

.map-pin span {
  font-size: 24px;
  transform: rotate(45deg);
}

footer {
  display: grid;
  justify-items: center;
  padding: 65px 20px 72px;
  color: var(--soft-ink);
  background: white;
  text-align: center;
}

.footer-monogram {
  color: var(--sage);
  font-family: "Shelly Allegro", cursive;
  font-size: 64px;
}

.footer-monogram span {
  font-size: 34px;
}

footer p {
  margin: 4px 0;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.2em;
}

footer .footer-note {
  margin-top: 18px;
  text-transform: none;
  font-family: var(--script);
  font-size: 25px;
  letter-spacing: 0;
}

.to-top {
  position: fixed;
  z-index: 80;
  right: 22px;
  bottom: 22px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(159, 154, 135, 0.25);
  border-radius: 50%;
  color: var(--sage-deep);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 28px rgba(57, 54, 46, 0.15);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.to-top svg {
  width: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.toast {
  position: fixed;
  z-index: 1200;
  right: 20px;
  bottom: 22px;
  max-width: min(380px, calc(100vw - 40px));
  padding: 13px 18px;
  border-radius: 3px;
  color: white;
  background: rgba(88, 85, 73, 0.94);
  box-shadow: var(--shadow);
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

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

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

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

[hidden] {
  display: none !important;
}

@media (max-width: 840px) {
  .topbar {
    height: 66px;
    padding: 0 10px;
  }

  .topbar__left {
    gap: 5px;
  }

  .topbar__invitation {
    margin-left: 3px;
    font-size: 18px;
  }

  .calendar-button {
    width: 42px;
    height: 42px;
    justify-content: center;
    padding: 9px;
    border-radius: 50%;
  }

  .calendar-button svg {
    display: block;
  }

  .calendar-button span {
    display: none;
  }

  .hero {
    min-height: max(720px, 100svh);
    padding-top: 90px;
  }

  .hero__flowers {
    top: 54px;
    width: min(113vw, 650px);
    height: min(160vw, 900px);
  }

  .hero__content {
    margin-top: min(52vw, 235px);
  }

  .hero__monogram {
    top: 45px;
    font-size: clamp(105px, 36vw, 150px);
  }

  .hero h1 {
    margin-top: 52px;
  }

  .scroll-cue {
    right: 18px;
    bottom: 30px;
  }

  .paper-column {
    width: min(100%, 620px);
  }

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

  .map-illustration {
    min-height: 440px;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 17px;
  }

  .intro__action {
    bottom: 62px;
  }

  .intro__skip {
    top: max(16px, env(safe-area-inset-top));
    right: 16px;
  }

  .icon-button {
    width: 34px;
  }

  .topbar__invitation {
    display: none;
  }

  .nav-panel {
    left: 8px;
    min-width: calc(100vw - 16px);
  }

  .hero {
    min-height: max(690px, 100svh);
    padding-right: 16px;
    padding-bottom: 130px;
    padding-left: 16px;
  }

  .hero__content {
    margin-top: min(43vw, 170px);
  }

  .hero__kicker {
    font-size: 10px;
  }

  .hero__monogram {
    top: 34px;
  }

  .hero h1 {
    margin: 42px 0 24px;
    font-size: clamp(32px, 9.4vw, 46px);
  }

  .hero__promise,
  .hero__waiting {
    font-size: 10px;
  }

  .hero__date {
    gap: 8px;
    margin-top: 30px;
    font-size: clamp(19px, 6vw, 28px);
  }

  .hero__date span {
    height: 23px;
  }

  .countdown {
    bottom: 21px;
    gap: 5px;
    padding: 12px 15px;
  }

  .countdown div {
    min-width: 37px;
  }

  .countdown b {
    font-size: 21px;
  }

  .countdown span {
    font-size: 9px;
  }

  .scroll-cue {
    display: none;
  }

  .floral-surface {
    background-size: 430px auto;
  }

  .paper-column {
    width: calc(100% - 28px);
  }

  .content-block {
    padding-right: 20px;
    padding-left: 20px;
  }

  .invite-intro {
    padding-top: 75px;
    padding-bottom: 48px;
  }

  .lead {
    font-size: 20px;
  }

  .love-story {
    width: 78%;
    margin-bottom: 60px;
  }

  .portraits {
    width: 112%;
    margin-top: 55px;
    margin-bottom: 90px;
    margin-left: -6%;
  }

  .portrait img {
    border-width: 5px;
  }

  .portrait figcaption {
    font-size: 29px;
  }

  .heart-rule {
    width: 88%;
    margin-bottom: 30px;
  }

  .menu-ribbon {
    min-height: 400px;
  }

  .menu-ribbon__copy {
    width: 88%;
    padding-top: 88px;
  }

  .menu-ribbon__copy p {
    font-size: 18px;
  }

  .gifts {
    padding-bottom: 60px;
  }

  .gift-copy,
  .dream-note {
    font-size: 19px;
  }

  .dream-note .phone {
    font-size: 21px;
  }

  .house-photo {
    margin-top: 35px;
  }

  .calendar-card {
    padding: 22px 14px 26px;
  }

  .calendar-card h3 {
    font-size: 41px;
  }

  .calendar-grid {
    gap: 3px;
  }

  .calendar-day {
    font-size: 21px;
  }

  .calendar-day.is-selected::before {
    inset: 0;
    clip-path: none;
    border-radius: 50%;
  }

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

  .doors-image {
    width: calc(100% + 40px);
    margin-right: -20px;
    margin-left: -20px;
  }

  .photo-note p {
    font-size: 19px;
  }

  .schedule {
    min-height: 2230px;
  }

  .schedule__content {
    width: calc(100% - 24px);
    padding-top: 95px;
  }

  .schedule__content > h2 {
    margin-bottom: 55px;
  }

  .timeline {
    gap: 28px;
  }

  .timeline__line {
    left: 29px;
    width: 54px;
  }

  .timeline-item {
    grid-template-columns: 58px 1fr;
    min-height: 215px;
  }

  .timeline-item__icon {
    grid-column: 1;
    width: 42px;
    height: 42px;
    margin-top: 6px;
    font-size: 21px;
  }

  .timeline-item__copy,
  .timeline-item:nth-of-type(even) .timeline-item__copy {
    grid-column: 2;
    padding-right: 8px;
    padding-left: 10px;
    text-align: left;
  }

  .timeline-item__copy time {
    font-size: 31px;
  }

  .timeline-item__copy h3 {
    font-size: 23px;
  }

  .timeline-item__copy p {
    font-size: 16px;
  }

  .location__copy {
    padding: 65px 25px;
  }

  .map-illustration {
    min-height: 390px;
  }

  .to-top {
    right: 14px;
    bottom: 14px;
  }

  .toast {
    right: 12px;
    bottom: 68px;
  }
}

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

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

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