html,
body {
  overflow-x: hidden;
  overscroll-behavior-y: none;
  background: var(--color-heading);
}

body {
  overflow-x: hidden;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
}

body.invitation-locked,
body.invitation-transitioning {
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}

::selection {
  background: var(--color-sky);
  color: var(--color-heading);
}

:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.section-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.video-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.video-shade--intro {
  background: linear-gradient(
    180deg,
    rgba(10, 20, 17, 0.04) 0%,
    rgba(8, 17, 15, 0.15) 62%,
    rgba(8, 17, 15, 0.58) 100%
  );
}

.video-shade--hero {
  background: linear-gradient(180deg, rgba(13, 54, 73, 0.13), rgba(14, 41, 53, 0.34));
}

.hero-video-retry {
  position: absolute;
  z-index: 4;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  display: grid;
  place-items: center;
  width: 2.85rem;
  height: 2.85rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 50%;
  background: rgba(31, 58, 66, 0.7);
  color: #fff;
  box-shadow: 0 8px 24px rgba(20, 43, 48, 0.2);
  backdrop-filter: blur(12px);
  cursor: pointer;
}

.hero-video-retry[hidden] {
  display: none;
}

.hero-video-retry svg {
  width: 1.25rem;
  fill: currentColor;
}

.button--story:disabled {
  opacity: 0.68;
  cursor: wait;
}

.story-share__dot {
  fill: currentColor;
  stroke: none;
}

.story-share-status {
  width: min(100%, 18rem);
  margin: 0.55rem auto 0;
  padding: 0.65rem 0.8rem;
  border-radius: 0.8rem;
  background: rgba(31, 58, 66, 0.88);
  color: #fff;
  box-shadow: 0 8px 24px rgba(20, 43, 48, 0.2);
  font-size: 0.7rem;
  line-height: 1.45;
  backdrop-filter: blur(12px);
}

.story-share-status[hidden] {
  display: none;
}

.intro,
.hero {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
}

.intro {
  background: #26352f url("../assets/images/intro-poster.webp") center / cover no-repeat;
  opacity: 1;
  transition: opacity 650ms ease, transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
}

.intro__trigger {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 0.55rem;
  padding: 2rem max(1.5rem, env(safe-area-inset-right)) max(2.6rem, calc(env(safe-area-inset-bottom) + 1.5rem)) max(1.5rem, env(safe-area-inset-left));
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.intro__trigger:focus-visible {
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.85);
}

.intro__arrow {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  animation: intro-pulse 2.2s ease-in-out infinite;
}

.intro__arrow svg,
.scroll-hint svg {
  width: 1.2rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
}

.intro__prompt {
  font-family: var(--font-serif);
  font-size: 0.68rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.intro__skip {
  position: absolute;
  z-index: 4;
  top: max(0.85rem, env(safe-area-inset-top));
  left: max(0.85rem, env(safe-area-inset-left));
  min-height: 2.65rem;
  padding: 0.55rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 99rem;
  background: rgba(20, 39, 35, 0.62);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(-0.5rem);
  transition: opacity 300ms ease, transform 300ms ease, background 180ms ease;
  backdrop-filter: blur(10px);
  cursor: pointer;
}

.intro__skip:hover {
  background: rgba(20, 39, 35, 0.82);
}

.intro.is-playing .intro__trigger {
  pointer-events: none;
  opacity: 0;
  transition: opacity 420ms ease;
}

.intro.is-playing .intro__skip {
  opacity: 1;
  transform: none;
}

.intro.is-fallback [data-intro-video] {
  animation: fallback-opening 3.2s cubic-bezier(0.2, 0.75, 0.3, 1) forwards;
}

.intro.is-exiting {
  opacity: 0;
  transform: scale(1.025);
  pointer-events: none;
}

.hero.is-arrived .hero__content {
  animation: hero-arrival 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.music-control {
  position: fixed;
  z-index: 20;
  top: max(0.85rem, env(safe-area-inset-top));
  right: max(0.85rem, env(safe-area-inset-right));
  display: grid;
  place-items: center;
  width: 2.85rem;
  height: 2.85rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 99rem;
  background: rgba(31, 58, 66, 0.56);
  color: #fff;
  box-shadow: 0 8px 24px rgba(20, 43, 48, 0.18);
  backdrop-filter: blur(12px);
  opacity: 0.72;
  transition: opacity 180ms ease, background 180ms ease, transform 180ms ease;
  cursor: pointer;
}

.music-control:hover {
  opacity: 1;
  transform: scale(1.04);
}

.music-control.is-playing {
  background: rgba(31, 58, 66, 0.86);
  opacity: 1;
}

.music-control:disabled {
  opacity: 0.68;
  cursor: not-allowed;
}

.music-control__icon svg {
  width: 1.3rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.65;
}

.music-control__speaker {
  fill: currentColor;
  stroke: none;
}

.music-control__wave,
.music-control__slash {
  transition: opacity 160ms ease;
}

.music-control__wave,
.music-control.is-playing .music-control__slash {
  opacity: 0;
}

.music-control__slash,
.music-control.is-playing .music-control__wave {
  opacity: 1;
}

.hero {
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  color: #fff;
  background: var(--color-sky) url("../assets/images/hero-poster.webp?v=20260803-2") center / cover no-repeat;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: min(100% - 2rem, 28rem);
  padding: max(3rem, env(safe-area-inset-top)) 0 6.5rem;
  text-align: center;
  text-shadow: 0 2px 13px rgba(22, 53, 64, 0.32);
}

.couple-names {
  display: grid;
  justify-items: center;
  font-family: var(--font-script);
  font-size: clamp(4rem, 21vw, 7rem);
  line-height: 0.7;
  filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.24));
}

.couple-names__bride {
  position: relative;
  z-index: 1;
  transform: translateX(-0.14em);
}

.couple-names__ampersand {
  position: relative;
  z-index: 2;
  margin-block: -0.18em -0.24em;
  color: rgba(255, 255, 255, 0.94);
  font-family: "Mea Culpa", var(--font-script);
  font-size: 0.5em;
  line-height: 0.72;
  transform: translateX(0.05em) rotate(-7deg);
  text-shadow: 0 2px 8px rgba(22, 53, 64, 0.4);
}

.couple-names__groom {
  position: relative;
  z-index: 1;
  transform: translateX(0.12em);
}

.hero h1 {
  margin-top: 2.3rem;
  font-family: var(--font-serif);
  font-size: clamp(0.95rem, 4vw, 1.25rem);
  font-weight: 500;
  letter-spacing: clamp(0.28em, 1.4vw, 0.55em);
  text-indent: 0.45em;
}

.editorial-date {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-areas:
    "month day year"
    "weekday weekday weekday";
  align-items: center;
  width: min(100%, 20rem);
  margin: 2rem auto 0;
  font-family: var(--font-serif);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.editorial-date__month,
.editorial-date__year {
  position: relative;
  padding: 0.6rem 0.25rem;
  border-block: 1px solid rgba(255, 255, 255, 0.75);
  font-size: 0.74rem;
}

.editorial-date__month { grid-area: month; }
.editorial-date__year { grid-area: year; }

.editorial-date__day {
  grid-area: day;
  min-width: 4.4rem;
  font-size: 3.6rem;
  line-height: 1;
  font-weight: 400;
  letter-spacing: 0;
}

.editorial-date__weekday {
  grid-area: weekday;
  margin-top: 0.5rem;
  font-size: 0.88rem;
}

.calendar-heading {
  margin-top: 1.5rem;
  font-family: var(--font-script);
  font-size: 1.8rem;
}

.calendar-actions {
  display: grid;
  width: min(100%, 18rem);
  gap: 0.65rem;
  margin: 0.35rem auto 0;
}

.calendar-actions--compact {
  width: 100%;
  margin-top: 1rem;
}

.calendar-picker {
  width: 100%;
}

.calendar-picker > summary {
  position: relative;
  width: 100%;
  list-style: none;
}

.calendar-picker > summary::-webkit-details-marker {
  display: none;
}

.calendar-picker__chevron {
  position: absolute;
  right: 1rem;
  transition: transform 180ms ease;
}

.calendar-picker[open] .calendar-picker__chevron {
  transform: rotate(180deg);
}

.calendar-picker__menu {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
  margin-top: 0.45rem;
  padding: 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 24px rgba(20, 43, 48, 0.16);
  backdrop-filter: blur(12px);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3.25rem;
  padding: 0.78rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 99rem;
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
  cursor: pointer;
}

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

.button svg {
  width: 1.1rem;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

.button--calendar {
  min-height: 3rem;
  padding-block: 0.65rem;
  border-color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.96);
  color: var(--color-heading);
  font-family: var(--font-serif);
  font-size: 0.82rem;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.025em;
  box-shadow: 0 8px 22px rgba(31, 58, 66, 0.13);
}

.button--calendar svg {
  width: 1rem;
  stroke-width: 1.35;
}

.button--story svg {
  fill: none;
  stroke: currentColor;
}

.button--calendar-option {
  min-height: 2.55rem;
  padding: 0.55rem 0.5rem;
  border-color: rgba(31, 58, 66, 0.13);
  background: #fff;
  color: var(--color-heading);
  font-family: var(--font-serif);
  font-size: 0.72rem;
  font-style: italic;
  font-weight: 400;
}

.button--primary {
  background: var(--color-deep-green);
  color: #fff;
  box-shadow: 0 8px 20px rgba(49, 80, 72, 0.2);
}

.button--light {
  min-height: 2.8rem;
  border-color: var(--color-border);
  background: #fff;
  color: var(--color-heading);
  box-shadow: 0 6px 18px rgba(31, 58, 66, 0.07);
}

.scroll-hint {
  position: absolute;
  z-index: 2;
  bottom: max(1.2rem, env(safe-area-inset-bottom));
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  transform: translateX(-50%);
  font-family: var(--font-script);
  font-size: 1.2rem;
  white-space: nowrap;
}

.scroll-hint svg {
  animation: scroll-drift 2s ease-in-out infinite;
}

.section-step {
  position: absolute;
  z-index: 3;
  bottom: clamp(1.35rem, 3vw, 2rem);
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  color: var(--color-heading);
  font-family: var(--font-script);
  font-size: 1.2rem;
  line-height: 1;
  white-space: nowrap;
  transform: translateX(-50%);
  transition: color 180ms ease, opacity 180ms ease;
}

.section-step:hover {
  color: var(--color-deep-green);
}

.section-step svg {
  width: 1.2rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
  animation: scroll-drift 2s ease-in-out infinite;
}

.section {
  position: relative;
  padding: var(--section-space) 1.25rem;
}

.section--welcome,
.section--countdown,
.section--locations,
.section--story {
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
}

.content-narrow,
.content-wide,
.content-gallery {
  width: 100%;
  margin-inline: auto;
}

.content-narrow { max-width: var(--content-narrow); }
.content-wide { max-width: var(--content-wide); }
.content-gallery { max-width: var(--content-gallery); }

.section-heading {
  margin-bottom: 3rem;
  text-align: center;
}

.section-flourish,
.family-card__ornament {
  display: block;
  color: var(--color-gold);
  font-family: var(--font-serif);
  font-size: 1.6rem;
}

.script-heading {
  color: var(--color-heading);
  font-family: var(--font-script);
  font-size: clamp(3.15rem, 12vw, 5.5rem);
  font-weight: 400;
  line-height: 0.98;
}

.script-heading--large {
  font-family: var(--font-special);
  font-size: clamp(4.2rem, 17vw, 7.2rem);
}

.eyebrow {
  color: var(--color-muted);
  font-family: var(--font-serif);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.section--welcome {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 0, rgba(184, 220, 235, 0.2), transparent 37%),
    var(--color-background);
  text-align: center;
}

.welcome-copy {
  display: grid;
  gap: 1.45rem;
  margin-top: 2.25rem;
  color: #5f5a55;
  font-family: var(--font-serif);
  font-size: clamp(1rem, 3vw, 1.13rem);
}

.section--families,
.section--program,
.section--weather {
  background: #fff;
}

.section--families {
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  padding-top: clamp(4rem, 7vw, 5rem);
}

.family-grid,
.location-grid {
  display: grid;
  gap: 1.2rem;
}

.family-card {
  position: relative;
  min-height: 14rem;
  padding: 2.5rem 1.5rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-large);
  background: linear-gradient(145deg, #fff, #fffaf6);
  box-shadow: var(--shadow-card);
  text-align: center;
}

.family-card::before,
.family-card::after {
  position: absolute;
  width: 2.8rem;
  height: 2.8rem;
  border-color: rgba(170, 184, 160, 0.55);
  content: "";
}

.family-card::before {
  top: 1rem;
  left: 1rem;
  border-top: 1px solid;
  border-left: 1px solid;
  border-radius: 1rem 0 0;
}

.family-card::after {
  right: 1rem;
  bottom: 1rem;
  border-right: 1px solid;
  border-bottom: 1px solid;
  border-radius: 0 0 1rem;
}

.family-card h3 {
  margin-top: 1.35rem;
  color: var(--color-heading);
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 4vw, 1.65rem);
  font-weight: 500;
}

.section--countdown {
  display: grid;
  place-items: center;
  padding-inline: 0.8rem;
  background:
    linear-gradient(rgba(231, 245, 249, 0.83), rgba(255, 250, 245, 0.9)),
    url("../assets/images/hero-poster.webp") center / cover;
}

.countdown-frame {
  position: relative;
  width: min(100%, 60rem);
  margin-inline: auto;
  padding: clamp(3.5rem, 10vw, 6rem) clamp(0.8rem, 5vw, 3rem);
  border: clamp(0.45rem, 2vw, 1rem) solid #aa8162;
  border-image: linear-gradient(135deg, #7b553b, #d2ad83, #81593f) 1;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 20px 65px rgba(46, 70, 65, 0.17), inset 0 0 0 1px rgba(255, 255, 255, 0.8);
  text-align: center;
  backdrop-filter: blur(8px);
}

.countdown-frame__flower {
  position: absolute;
  z-index: 1;
  color: rgba(255, 255, 255, 0.95);
  font-size: clamp(4rem, 16vw, 8rem);
  line-height: 1;
  filter: drop-shadow(0 6px 7px rgba(61, 86, 78, 0.12));
  animation: flower-sway 5s ease-in-out infinite;
}

.countdown-frame__flower--left { top: -2rem; left: -0.4rem; }
.countdown-frame__flower--right { right: -0.4rem; bottom: -2rem; animation-delay: -2.5s; }

.countdown-time {
  margin-top: 0.5rem;
  color: var(--color-muted);
  font-family: var(--font-serif);
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.countdown {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 2.5rem;
}

.countdown > div {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}

.countdown > div + div::before {
  position: absolute;
  top: 0.2rem;
  left: 0;
  width: 1px;
  height: 3.3rem;
  background: var(--color-border);
  content: "";
}

.countdown strong {
  color: var(--color-countdown);
  font-family: var(--font-countdown);
  font-size: clamp(1.7rem, 8.5vw, 3.5rem);
  line-height: 1.1;
}

.countdown span {
  margin-top: 0.4rem;
  color: var(--color-muted);
  font-family: var(--font-serif);
  font-size: clamp(0.58rem, 2.8vw, 0.8rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.countdown-status {
  min-height: 1.7rem;
  margin-top: 1.4rem;
  color: var(--color-countdown);
  font-family: var(--font-serif);
}

.program-list {
  position: relative;
  display: grid;
  gap: 1.25rem;
}

.program-list::before {
  position: absolute;
  top: 2rem;
  bottom: 2rem;
  left: 2.2rem;
  width: 1px;
  background: linear-gradient(var(--color-sky), var(--color-soft-green));
  content: "";
}

.event-card {
  position: relative;
  display: grid;
  grid-template-columns: 4.4rem 1fr;
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-medium);
  background: #fff;
  box-shadow: var(--shadow-card);
}

.event-card__date {
  position: relative;
  z-index: 1;
  display: grid;
  place-content: center;
  align-self: start;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--color-deep-green);
  color: #fff;
  text-align: center;
}

.event-card__date strong {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  line-height: 1;
}

.event-card__date span {
  margin-top: 0.2rem;
  font-size: 0.56rem;
  text-transform: uppercase;
}

.event-card__content h3,
.venue-card h3 {
  color: var(--color-heading);
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 5vw, 1.8rem);
  font-weight: 500;
}

.event-card__time {
  color: var(--color-countdown);
  font-family: var(--font-countdown);
  font-size: 1.05rem;
}

.section--locations {
  background:
    radial-gradient(circle at 0 0, rgba(184, 220, 235, 0.32), transparent 30rem),
    var(--color-background);
}

.venue-card {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  overflow: hidden;
  padding: 1.35rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-large);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.venue-card__heading {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.pin-icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: rgba(184, 220, 235, 0.35);
  color: var(--color-heading);
}

.pin-icon svg {
  width: 1.4rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.venue-card address {
  min-height: 4rem;
  color: var(--color-muted);
}

.map-preview {
  position: relative;
  min-height: 12rem;
  overflow: hidden;
  border-radius: 1.15rem;
  background:
    linear-gradient(145deg, rgba(183, 214, 174, 0.55), transparent 35%),
    linear-gradient(315deg, rgba(184, 220, 235, 0.8), transparent 45%),
    #ebe9df;
}

.map-preview__road {
  position: absolute;
  display: block;
  height: 1.6rem;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 0 0 1px rgba(142, 151, 146, 0.2);
}

.map-preview__road--one {
  top: 42%;
  left: -10%;
  width: 125%;
  transform: rotate(-11deg);
}

.map-preview__road--two {
  top: 5%;
  left: 48%;
  width: 1.4rem;
  height: 105%;
  transform: rotate(27deg);
}

.map-preview__pin {
  position: absolute;
  top: 42%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 2.7rem;
  height: 2.7rem;
  border: 0.5rem solid rgba(255, 255, 255, 0.87);
  border-radius: 50% 50% 50% 0;
  background: #bb6e5d;
  color: transparent;
  box-shadow: 0 7px 15px rgba(72, 77, 75, 0.2);
  transform: translate(-50%, -50%) rotate(-45deg);
}

.map-preview__pin::after {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #fff;
  content: "";
}

.map-preview__label {
  position: absolute;
  right: 0.8rem;
  bottom: 0.8rem;
  padding: 0.45rem 0.7rem;
  border-radius: 99rem;
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-heading);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
}

.section--story {
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 18%, rgba(184, 220, 235, 0.28), transparent 12rem),
    radial-gradient(circle at 92% 82%, rgba(196, 166, 94, 0.16), transparent 11rem),
    linear-gradient(#fff, #f7f4ed);
}

.camera-icon {
  display: grid;
  place-items: center;
  width: 3.2rem;
  height: 3.2rem;
  margin: 0 auto 1rem;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  color: var(--color-heading);
}

.camera-icon svg {
  width: 1.4rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.3;
}

.camera-icon--large {
  width: 4.3rem;
  height: 4.3rem;
  background: rgba(255, 255, 255, 0.7);
}

.couple-story {
  position: relative;
  width: min(100%, 56rem);
  margin-inline: auto;
  padding: clamp(0.5rem, 1.6vw, 0.85rem) clamp(0.5rem, 1.6vw, 0.85rem) clamp(1.4rem, 4vw, 2.1rem);
  border: 1px solid rgba(196, 166, 94, 0.35);
  border-radius: clamp(1.25rem, 4vw, 2rem);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 70px rgba(45, 42, 38, 0.14);
}

.couple-story::before,
.couple-story::after {
  position: absolute;
  z-index: -1;
  width: clamp(4rem, 14vw, 7rem);
  height: clamp(4rem, 14vw, 7rem);
  border-color: rgba(196, 166, 94, 0.52);
  content: "";
}

.couple-story::before {
  top: -0.7rem;
  left: -0.7rem;
  border-top: 1px solid;
  border-left: 1px solid;
  border-radius: 1.5rem 0 0;
}

.couple-story::after {
  right: -0.7rem;
  bottom: -0.7rem;
  border-right: 1px solid;
  border-bottom: 1px solid;
  border-radius: 0 0 1.5rem;
}

.couple-story__frame {
  overflow: hidden;
  border-radius: clamp(0.9rem, 3vw, 1.45rem);
  background: #dfe9df;
}

.couple-story__frame img {
  display: block;
  width: 100%;
  aspect-ratio: 1000 / 650;
  object-fit: cover;
  object-position: center top;
}

.couple-story figcaption {
  display: grid;
  place-items: center;
  margin-top: clamp(0.8rem, 2.5vw, 1.25rem);
  color: var(--color-heading);
  text-align: center;
}

.couple-story figcaption span {
  font-family: var(--font-script);
  font-size: clamp(2rem, 7vw, 3.1rem);
  line-height: 1;
}

.couple-story figcaption small {
  margin-top: 0.3rem;
  color: var(--color-muted);
  font-family: var(--font-serif);
  font-size: 0.78rem;
  font-style: italic;
  letter-spacing: 0.05em;
}

.weather-card {
  position: relative;
  width: min(100%, 42rem);
  margin-inline: auto;
  padding: clamp(2.5rem, 9vw, 4.5rem) clamp(1rem, 5vw, 3rem);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-large);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.twinkle {
  position: absolute;
  color: #d4ad3f;
  animation: twinkle 2.8s ease-in-out infinite;
}

.twinkle--three { top: 12%; right: 13%; animation-delay: -0.7s; }

.weather-card {
  color: var(--color-muted);
}

.weather-icon {
  display: grid;
  place-items: center;
  width: 4.5rem;
  height: 4.5rem;
  margin: 0 auto 1.3rem;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  color: var(--color-heading);
}

.weather-icon svg {
  width: 2.4rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.2;
}

.weather-card .eyebrow {
  margin: 1rem 0 1.5rem;
}

.weather-card__temperature {
  display: block;
  margin: 1.5rem 0 0.5rem;
  color: var(--color-heading);
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 400;
}

.weather-card__range {
  font-size: 0.78rem;
}

.footer {
  padding: 6rem 1.25rem max(1.5rem, calc(env(safe-area-inset-bottom) + 0.75rem));
  background: var(--color-heading);
  color: rgba(255, 255, 255, 0.78);
  text-align: center;
}

.footer__bird {
  color: #fff;
  font-size: 3rem;
}

.footer__names {
  margin-bottom: 1rem;
  color: #fff;
  font-family: var(--font-script);
  font-size: clamp(3.5rem, 14vw, 5.5rem);
  line-height: 1;
}

.footer p:not(.footer__names) {
  font-family: var(--font-serif);
  font-size: 0.85rem;
}

.footer .footer__credit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: fit-content;
  margin: 3rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.52);
  font-family: var(--font-body);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
}

.footer__credit span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.noscript-note {
  position: fixed;
  z-index: 30;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  padding: 1rem;
  border-radius: 1rem;
  background: var(--color-heading);
  color: #fff;
  text-align: center;
}
