/*
  Macrostructure: ceremonial envelope opening → editorial invitation → event facts → family → RSVP.
  Visual system: midnight velvet, warm paper, antique gold, asymmetrical typography.
*/

:root {
  --navy-1000: #040a13;
  --navy-950: #071120;
  --navy-900: #0a1729;
  --navy-850: #0e1d33;
  --navy-800: #12243d;
  --ivory-50: #fffaf1;
  --ivory-100: #f7efe2;
  --ivory-200: #ecdfcc;
  --ink: #172238;
  --ink-soft: #455067;
  --gold-300: #e6c98e;
  --gold-400: #d5b36f;
  --gold-500: #bd9148;
  --gold-600: #936727;
  --line-dark: rgb(18 35 58 / 0.16);
  --line-light: rgb(230 201 142 / 0.34);
  --font-display: "Cinzel", "GFS Didot", Didot, Georgia, serif;
  --font-body: "Cormorant Garamond", "EB Garamond", Garamond, Georgia, serif;
  --font-script: "Great Vibes", "Snell Roundhand", "Segoe Script", cursive;
  --font-name: "Alex Brush", "Snell Roundhand", "Segoe Script", cursive;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --shadow-deep: 0 30px 90px rgb(0 0 0 / 0.35);
  --shadow-card: 0 26px 65px rgb(0 0 0 / 0.28), 0 5px 15px rgb(0 0 0 / 0.18);
  --shell: min(1180px, calc(100vw - 48px));
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--ivory-100);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.is-locked {
  overflow: hidden;
  touch-action: none;
}

::selection {
  color: var(--navy-950);
  background: var(--gold-300);
}

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

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

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

a {
  color: inherit;
}

button {
  border: 0;
}

:focus-visible {
  outline: 2px solid var(--gold-300);
  outline-offset: 5px;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.skip-link {
  position: fixed;
  z-index: 2000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--navy-950);
  background: var(--ivory-50);
  transform: translateY(-160%);
  transition: transform 180ms var(--ease-out);
}

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

.scroll-progress {
  position: fixed;
  z-index: 900;
  inset: 0 0 auto;
  height: 2px;
  pointer-events: none;
  transform-origin: left;
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--gold-400);
  transform: scaleX(var(--page-progress, 0));
  transform-origin: left;
  will-change: transform;
}

/* Intro — rare, first-touch motion is allowed to be ceremonial and slower. */
.intro {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  position: fixed;
  z-index: 1200;
  inset: 0;
  display: grid;
  place-items: center;
  min-height: 100svh;
  overflow: hidden;
  color: var(--ivory-50);
  background-color: var(--navy-950);
  background-image: linear-gradient(rgb(5 12 23 / 0.68), rgb(5 12 23 / 0.68)), url("../images/velvet-texture.webp");
  background-size: auto, 512px 512px;
  opacity: 1;
  transition: opacity 650ms var(--ease-out) 1760ms, visibility 0s linear 2440ms;
}

.intro::before,
.intro::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.intro::before {
  inset: 22px;
  border: 1px solid rgb(213 179 111 / 0.58);
  border-radius: 22px;
}

.intro::after {
  inset: 31px;
  border: 1px solid rgb(213 179 111 / 0.16);
  border-radius: 17px;
}

.no-js .intro {
  display: none;
}

.intro[hidden] {
  display: none;
}

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

.intro__aura {
  position: absolute;
  width: 42vw;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(189 145 72 / 0.16), transparent 68%);
  filter: blur(18px);
  pointer-events: none;
}

.intro__aura--one {
  top: -18vw;
  right: -10vw;
}

.intro__aura--two {
  bottom: -24vw;
  left: -11vw;
}

.intro__rail {
  position: absolute;
  top: 50%;
  width: min(18vw, 220px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgb(213 179 111 / 0.45));
}

.intro__rail--left {
  left: 0;
}

.intro__rail--right {
  right: 0;
  transform: rotate(180deg);
}

.intro__content {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  width: min(760px, calc(100vw - 32px));
  padding: 36px 12px 24px;
}

.intro__eyebrow {
  margin: 0 0 clamp(28px, 5vh, 58px);
  color: var(--gold-300);
  font-family: var(--font-display);
  font-size: clamp(0.68rem, 1.4vw, 0.88rem);
  font-weight: 500;
  letter-spacing: 0.28em;
  text-align: center;
  text-transform: uppercase;
}

.envelope-stage {
  position: relative;
  display: grid;
  justify-items: center;
  perspective: 1500px;
  transition: transform 760ms var(--ease-out) 1460ms, opacity 520ms var(--ease-out) 1620ms;
}

.intro.is-opening .envelope-stage {
  opacity: 0;
  transform: translateY(22vh) scale(0.9);
}

.envelope {
  position: relative;
  width: min(560px, 78vw);
  aspect-ratio: 1.55;
  isolation: isolate;
  transform: rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transform-style: preserve-3d;
  transition: transform 220ms var(--ease-out);
  will-change: transform;
}

.envelope__shadow,
.envelope__back,
.envelope__letter,
.envelope__pocket,
.envelope__flap,
.spark-field {
  pointer-events: none;
}

.envelope__shadow {
  position: absolute;
  z-index: -1;
  inset: 16% 4% -12%;
  border-radius: 50%;
  background: rgb(0 0 0 / 0.65);
  filter: blur(32px);
  transform: translateZ(-20px);
}

.envelope__back,
.envelope__pocket,
.envelope__flap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background-color: #132640;
  background-image: linear-gradient(rgb(17 36 61 / 0.3), rgb(5 14 27 / 0.3)), url("../images/velvet-texture.webp");
  background-size: auto, 320px 320px;
}

.envelope__back {
  z-index: 1;
  border: 2px solid rgb(230 201 142 / 0.92);
  background-color: #183452;
  border-radius: 10px;
  box-shadow:
    inset 0 0 0 8px rgb(213 179 111 / 0.07),
    inset 0 0 0 9px rgb(230 201 142 / 0.14),
    0 0 0 1px rgb(230 201 142 / 0.12),
    var(--shadow-deep);
}

.envelope__back::before,
.envelope__pocket::before,
.envelope__flap::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgb(213 179 111 / 0.17);
  pointer-events: none;
}

.envelope__letter {
  position: absolute;
  z-index: 2;
  top: 5%;
  left: 12%;
  width: 76%;
  height: 142%;
  padding: 7px;
  overflow: hidden;
  border: 1px solid var(--gold-500);
  background: var(--ivory-50);
  box-shadow: 0 24px 65px rgb(0 0 0 / 0.36);
  clip-path: inset(0 0 68% 0);
  transform: translateY(31%) scale(0.965);
  transform-origin: center bottom;
  transition: transform 950ms var(--ease-out) 520ms, clip-path 950ms var(--ease-out) 520ms;
  will-change: transform, clip-path;
}

.envelope__letter::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgb(189 145 72 / 0.42);
  pointer-events: none;
}

.envelope__letter picture,
.envelope__letter img {
  width: 100%;
  height: 100%;
}

.envelope__letter img {
  object-fit: cover;
  object-position: center top;
}

.intro.is-opening .envelope__letter {
  clip-path: inset(0);
  transform: translateY(-50%) scale(1);
}

.envelope__pocket {
  z-index: 4;
  border: 0;
  background-color: #102640;
  border-radius: 0 0 8px 8px;
  clip-path: polygon(0 0, 50% 70%, 100% 0, 100% 100%, 0 100%);
  filter: drop-shadow(0 -1px 0 rgb(230 201 142 / 0.96));
  box-shadow: inset 0 -36px 58px rgb(1 5 12 / 0.48);
}

.envelope__pocket::before,
.envelope__pocket::after {
  content: "";
  position: absolute;
  inset: auto;
  top: 0;
  width: 67.5%;
  height: 1px;
  border: 0;
  background: rgb(230 201 142 / 0.92);
  box-shadow: 0 1px 0 rgb(1 5 12 / 0.58);
}

.envelope__pocket::before {
  left: 0;
  transform: rotate(42deg);
  transform-origin: left center;
}

.envelope__pocket::after {
  right: 0;
  transform: rotate(-42deg);
  transform-origin: right center;
}

.envelope__flap {
  z-index: 6;
  border: 0;
  background-color: #1d3c60;
  clip-path: polygon(0 0, 100% 0, 50% 71%);
  filter: drop-shadow(0 1px 0 rgb(230 201 142 / 0.98));
  transform: rotateX(0deg);
  transform-origin: top center;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: transform 780ms var(--ease-drawer) 100ms;
  will-change: transform;
}

.envelope__flap::after {
  content: "";
  position: absolute;
  top: 12%;
  left: 14%;
  width: 72%;
  height: 42%;
  border: 1px solid rgb(230 201 142 / 0.34);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.intro.is-opening .envelope__flap {
  transform: rotateX(-178deg);
}

.seal {
  position: absolute;
  z-index: 8;
  top: 64%;
  left: 50%;
  display: grid;
  place-items: center;
  width: clamp(82px, 14vw, 104px);
  aspect-ratio: 1;
  padding: 0;
  color: var(--ivory-50);
  background: transparent;
  border-radius: 50%;
  cursor: pointer;
  transform: translate(-50%, -50%) scale(1);
  transition: transform 160ms var(--ease-out), opacity 180ms var(--ease-out);
}

.seal::before {
  content: "";
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  border: 1px solid rgb(230 201 142 / 0.18);
  opacity: 0;
  transform: scale(0.8);
  animation: seal-pulse 2.4s var(--ease-out) infinite;
}

.seal__outer {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 50%;
  background-color: #a97832;
  background-image: linear-gradient(145deg, rgb(255 244 209 / 0.25), rgb(65 34 7 / 0.3)), url("../images/gold-foil.webp");
  background-size: auto, 220px 220px;
  clip-path: polygon(50% 0%, 59% 4%, 68% 2%, 76% 8%, 85% 10%, 89% 18%, 96% 24%, 96% 33%, 100% 42%, 97% 51%, 100% 60%, 95% 68%, 94% 77%, 86% 83%, 82% 91%, 73% 93%, 65% 99%, 56% 96%, 47% 100%, 38% 96%, 29% 98%, 21% 92%, 13% 89%, 10% 80%, 3% 74%, 4% 64%, 0% 55%, 3% 46%, 0% 37%, 6% 29%, 7% 19%, 15% 13%, 23% 6%, 33% 7%, 41% 1%);
  filter: drop-shadow(0 11px 10px rgb(0 0 0 / 0.4));
  box-shadow: inset 0 2px 2px rgb(255 248 226 / 0.28), inset 0 -7px 12px rgb(61 33 7 / 0.38);
}

.seal__outer::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 2px solid rgb(255 240 201 / 0.5);
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px rgb(87 48 10 / 0.2), 0 1px 0 rgb(255 255 255 / 0.14);
}

.seal__inner {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 64%;
  aspect-ratio: 1;
  border: 1px solid rgb(255 242 210 / 0.68);
  border-radius: 50%;
  background: rgb(79 43 9 / 0.12);
  box-shadow: inset 0 2px 5px rgb(52 27 4 / 0.22), 0 1px 0 rgb(255 255 255 / 0.14);
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4.5vw, 2.5rem);
  line-height: 1;
  text-shadow: 0 1px 0 rgb(0 0 0 / 0.28);
}

@media (hover: hover) and (pointer: fine) {
  .seal:hover {
    transform: translate(-50%, -50%) scale(1.04);
  }
}

.seal:active {
  transform: translate(-50%, -50%) scale(0.96);
}

.intro.is-opening .seal {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.84);
}

@keyframes seal-pulse {
  0%, 55% { opacity: 0; transform: scale(0.84); }
  78% { opacity: 0.8; }
  100% { opacity: 0; transform: scale(1.22); }
}

.spark-field {
  position: absolute;
  z-index: 9;
  top: 64%;
  left: 50%;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.spark-field span {
  position: absolute;
  width: var(--spark-size, 4px);
  height: var(--spark-size, 4px);
  border-radius: 50%;
  background: var(--gold-300);
  box-shadow: 0 0 12px var(--gold-400);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.6);
}

.intro.is-opening .spark-field span {
  animation: sparkle var(--spark-duration, 820ms) var(--ease-out) var(--spark-delay, 0ms) both;
}

@keyframes sparkle {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.5); }
  24% { opacity: 1; }
  100% { opacity: 0; transform: translate(calc(-50% + var(--spark-x)), calc(-50% + var(--spark-y))) scale(0); }
}

.open-invitation {
  position: absolute;
  z-index: 12;
  top: clamp(-62px, -5.5vh, -46px);
  left: 50%;
  display: inline-flex;
  align-items: center;
  gap: 13px;
  margin-top: 0;
  padding: 12px 4px 10px;
  color: var(--ivory-50);
  background: transparent;
  border-bottom: 1px solid rgb(230 201 142 / 0.7);
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transform: translateX(-50%);
  transition: color 180ms ease, border-color 180ms ease, transform 160ms var(--ease-out), opacity 180ms var(--ease-out);
}

.open-invitation svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
  transition: transform 180ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .open-invitation:hover {
    color: var(--gold-300);
    border-color: var(--gold-300);
  }

  .open-invitation:hover svg {
    transform: translateX(4px);
  }
}

.open-invitation:active {
  transform: translateX(-50%) scale(0.97);
}

.intro.is-opening .open-invitation,
.intro.is-opening .intro__hint {
  opacity: 0;
  transform: translateX(-50%) translateY(-8px);
}

.intro__hint {
  margin: 12px 0 0;
  color: rgb(247 239 226 / 0.5);
  font-size: 0.9rem;
  font-style: italic;
  transition: opacity 180ms ease;
}

/* Minimal edge-aligned masthead, intentionally not a generic nav bar. */
.masthead {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 50%;
  display: grid;
  grid-template-columns: auto minmax(36px, 1fr) auto auto;
  align-items: center;
  gap: 18px;
  width: var(--shell);
  padding-top: max(24px, env(safe-area-inset-top));
  color: var(--ivory-50);
  transform: translateX(-50%);
}

.masthead__monogram {
  display: grid;
  place-items: center;
  width: 42px;
  aspect-ratio: 1;
  border: 1px solid var(--gold-400);
  border-radius: 50%;
  color: var(--gold-300);
  font-family: var(--font-display);
  font-size: 1.15rem;
  text-decoration: none;
  transition: transform 160ms var(--ease-out), background-color 180ms ease;
}

.masthead__monogram:active,
.masthead__share:active {
  transform: scale(0.95);
}

.masthead__line {
  height: 1px;
  background: linear-gradient(90deg, rgb(230 201 142 / 0.18), rgb(230 201 142 / 0.62), rgb(230 201 142 / 0.12));
}

.masthead__date {
  color: rgb(255 250 241 / 0.76);
  font-family: var(--font-display);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  white-space: nowrap;
}

.masthead__share {
  display: grid;
  place-items: center;
  width: 40px;
  aspect-ratio: 1;
  padding: 0;
  color: var(--ivory-50);
  background: transparent;
  border: 1px solid rgb(230 201 142 / 0.28);
  border-radius: 50%;
  cursor: pointer;
  transition: transform 160ms var(--ease-out), border-color 180ms ease, color 180ms ease;
}

.masthead__share svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

@media (hover: hover) and (pointer: fine) {
  .masthead__monogram:hover,
  .masthead__share:hover {
    color: var(--gold-300);
    border-color: var(--gold-300);
    background: rgb(230 201 142 / 0.06);
  }
}

/* Hero */
.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  color: var(--ivory-50);
  background-color: var(--navy-950);
  background-image: linear-gradient(90deg, rgb(4 10 19 / 0.56), rgb(7 17 32 / 0.8)), url("../images/velvet-texture.webp");
  background-size: auto, 512px 512px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 25% 35%, rgb(213 179 111 / 0.09), transparent 34%),
    radial-gradient(circle at 82% 72%, rgb(35 70 112 / 0.2), transparent 38%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(300px, 0.88fr) minmax(420px, 1.12fr);
  align-items: center;
  gap: clamp(48px, 6vw, 96px);
  padding-block: clamp(112px, 13vh, 152px) clamp(84px, 10vh, 112px);
}

.hero__watermark {
  position: absolute;
  z-index: 0;
  top: 48%;
  right: -0.08em;
  color: rgb(230 201 142 / 0.04);
  font-family: var(--font-display);
  font-size: clamp(26rem, 50vw, 46rem);
  line-height: 0.72;
  pointer-events: none;
  transform: translateY(-50%);
  user-select: none;
}

.hero__ornament {
  position: absolute;
  z-index: 1;
  width: 230px;
  height: 230px;
  opacity: 0.22;
  pointer-events: none;
}

.hero__ornament::before,
.hero__ornament::after {
  content: "";
  position: absolute;
  border: 1px solid var(--gold-400);
  border-radius: 50%;
}

.hero__ornament::before {
  inset: 0 45% 45% 0;
}

.hero__ornament::after {
  inset: 23% 22% 22% 23%;
  border-style: dotted;
}

.hero__ornament--top {
  top: -82px;
  right: -80px;
}

.hero__ornament--bottom {
  bottom: -100px;
  left: -75px;
  transform: rotate(180deg);
}

.hero__art {
  position: relative;
  justify-self: end;
  width: min(100%, 430px);
}

.invitation-frame {
  position: relative;
  margin: 0;
  padding: clamp(9px, 1.2vw, 14px);
  background: var(--ivory-50);
  border: 1px solid var(--gold-500);
  box-shadow: var(--shadow-card);
  transform: rotate(-1.8deg);
}

.invitation-frame::before,
.invitation-frame::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.invitation-frame::before {
  inset: 6px;
  border: 1px solid rgb(147 103 39 / 0.4);
}

.invitation-frame::after {
  z-index: -1;
  inset: 8% -7% -8% 9%;
  border: 1px solid rgb(213 179 111 / 0.35);
}

.invitation-frame picture,
.invitation-frame img {
  width: 100%;
}

.invitation-frame img {
  height: auto;
}

.invitation-frame figcaption {
  position: absolute;
  right: -34px;
  bottom: 78px;
  color: rgb(255 250 241 / 0.68);
  font-family: var(--font-display);
  font-size: 0.56rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transform: rotate(90deg);
  transform-origin: right bottom;
}

.invitation-frame__expand {
  position: absolute;
  right: 24px;
  bottom: 24px;
  display: grid;
  place-items: center;
  width: 42px;
  aspect-ratio: 1;
  padding: 0;
  color: var(--ivory-50);
  background: rgb(7 17 32 / 0.82);
  border: 1px solid rgb(230 201 142 / 0.52);
  border-radius: 50%;
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 180ms ease;
}

.invitation-frame__expand svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.invitation-frame__expand:active {
  transform: scale(0.94);
}

.hero__folio {
  position: absolute;
  top: -42px;
  left: -35px;
  color: rgb(230 201 142 / 0.66);
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
}

.hero__copy {
  position: relative;
  max-width: 650px;
  padding-right: clamp(0px, 3vw, 50px);
}

.hero__fleur {
  width: 74px;
  margin-bottom: 16px;
  color: var(--gold-400);
}

.hero__fleur svg {
  width: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.25;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--gold-500);
  font-family: var(--font-display);
  font-size: clamp(0.66rem, 0.9vw, 0.78rem);
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.hero .eyebrow,
.navy-section .eyebrow {
  color: var(--gold-300);
}

.hero h1 {
  margin: 0;
  line-height: 0.84;
}

.hero__kicker {
  display: block;
  margin-bottom: 0.26em;
  color: rgb(255 250 241 / 0.88);
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 2.2rem);
  font-weight: 400;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero__name {
  display: block;
  margin-left: 0.04em;
  color: var(--gold-400);
  font-family: var(--font-name);
  font-size: clamp(6rem, 12vw, 10rem);
  font-weight: 400;
  letter-spacing: 0;
  text-shadow: 0 2px 0 rgb(97 63 17 / 0.5);
}

.hero__lead {
  max-width: 560px;
  margin: 32px 0 0;
  color: rgb(255 250 241 / 0.74);
  font-size: clamp(1.14rem, 1.7vw, 1.42rem);
  line-height: 1.55;
}

.hero__signature {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgb(230 201 142 / 0.2);
}

.hero__signature span {
  color: rgb(255 250 241 / 0.5);
  font-family: var(--font-display);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero__signature strong {
  color: var(--ivory-50);
  font-size: 1.35rem;
  font-style: italic;
  font-weight: 500;
}

.hero__actions,
.rsvp__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 50px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 160ms var(--ease-out), color 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.button svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.button:active {
  transform: scale(0.97);
}

.button--gold {
  color: var(--navy-950);
  background: var(--gold-400);
  border-color: var(--gold-400);
  box-shadow: 0 10px 28px rgb(189 145 72 / 0.16);
}

.button--quiet,
.button--outline {
  color: var(--ivory-50);
  background: transparent;
  border-color: rgb(230 201 142 / 0.34);
}

@media (hover: hover) and (pointer: fine) {
  .button--gold:hover {
    background: var(--gold-300);
    border-color: var(--gold-300);
    box-shadow: 0 14px 34px rgb(189 145 72 / 0.25);
  }

  .button--quiet:hover,
  .button--outline:hover {
    color: var(--gold-300);
    border-color: var(--gold-300);
    background: rgb(230 201 142 / 0.05);
  }
}

.scroll-cue {
  position: absolute;
  z-index: 5;
  bottom: max(8px, env(safe-area-inset-bottom));
  left: 50%;
  display: grid;
  justify-items: center;
  gap: 10px;
  color: rgb(255 250 241 / 0.5);
  font-family: var(--font-display);
  font-size: 0.56rem;
  letter-spacing: 0.22em;
  text-decoration: none;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.scroll-cue i {
  display: block;
  width: 1px;
  height: 38px;
  overflow: hidden;
  background: rgb(230 201 142 / 0.18);
}

.scroll-cue i::after {
  content: "";
  display: block;
  width: 100%;
  height: 48%;
  background: var(--gold-400);
  animation: scroll-stroke 2.2s var(--ease-in-out) infinite;
}

@keyframes scroll-stroke {
  0% { transform: translateY(-110%); }
  55%, 100% { transform: translateY(230%); }
}

/* Shared sections */
.paper-section {
  position: relative;
  background-color: var(--ivory-100);
  background-image: linear-gradient(rgb(247 239 226 / 0.9), rgb(247 239 226 / 0.9)), url("../images/paper-texture.webp");
  background-size: auto, 512px 512px;
}

.navy-section {
  position: relative;
  overflow: hidden;
  color: var(--ivory-50);
  background-color: var(--navy-950);
  background-image: linear-gradient(rgb(7 17 32 / 0.72), rgb(7 17 32 / 0.72)), url("../images/velvet-texture.webp");
  background-size: auto, 512px 512px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(170px, 0.4fr) minmax(300px, 1fr);
  gap: 40px;
  align-items: end;
}

.section-heading .eyebrow {
  margin-bottom: 10px;
}

.section-heading h2,
.family__intro h2,
.countdown__copy h2,
.rsvp__copy h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.04;
}

.section-heading--light h2,
.rsvp__copy h2 {
  color: var(--ivory-50);
}

/* Prologue */
.prologue {
  padding-block: clamp(78px, 9vw, 124px);
}

.prologue::before,
.prologue::after {
  content: "";
  position: absolute;
  top: 0;
  width: 1px;
  height: 100%;
  background: var(--line-dark);
}

.prologue::before {
  left: 12vw;
}

.prologue::after {
  right: 12vw;
}

.prologue__grid {
  position: relative;
  display: grid;
  grid-template-columns: 0.42fr minmax(420px, 1.1fr) 0.35fr;
  align-items: center;
  gap: clamp(36px, 6vw, 88px);
}

.chapter-mark {
  align-self: start;
  padding-top: 18px;
  border-top: 1px solid var(--gold-500);
}

.chapter-mark span {
  display: block;
  color: var(--ink-soft);
  font-family: var(--font-display);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.chapter-mark strong {
  display: block;
  margin-top: 10px;
  color: var(--ink);
  font-size: 1.3rem;
  font-style: italic;
  font-weight: 500;
}

.prologue__copy {
  position: relative;
  font-size: clamp(1.8rem, 3.3vw, 3.4rem);
  line-height: 1.27;
}

.prologue__copy p {
  margin: 0;
}

.prologue__copy em {
  color: var(--gold-600);
  font-family: var(--font-script);
  font-size: 1.35em;
  font-style: normal;
  white-space: nowrap;
}

.prologue__initial {
  float: left;
  margin: 0.03em 0.11em 0 0;
  color: var(--gold-600);
  font-family: var(--font-display);
  font-size: 2.25em;
  line-height: 0.78;
}

.prologue__seal {
  position: relative;
  display: grid;
  place-items: center;
  justify-self: end;
  width: min(150px, 100%);
  aspect-ratio: 1;
  border: 1px solid rgb(147 103 39 / 0.42);
  border-radius: 50%;
  color: var(--gold-600);
}

.prologue__seal::before {
  content: "";
  position: absolute;
  width: 112px;
  aspect-ratio: 1;
  border: 1px solid rgb(147 103 39 / 0.18);
  border-radius: 50%;
}

.prologue__seal svg {
  width: 58%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.05;
}

/* Details */
.details {
  padding-block: clamp(84px, 10vw, 136px);
}

.details::before {
  content: "";
  position: absolute;
  inset: 12% -14% auto auto;
  width: 520px;
  aspect-ratio: 1;
  border: 1px solid rgb(230 201 142 / 0.08);
  border-radius: 50%;
  box-shadow: 0 0 0 46px rgb(230 201 142 / 0.025), 0 0 0 96px rgb(230 201 142 / 0.015);
}

.details__layout {
  display: grid;
  grid-template-columns: 0.95fr 1.2fr 0.8fr;
  gap: clamp(30px, 4vw, 60px);
  align-items: end;
  margin-top: clamp(54px, 7vw, 82px);
}

.date-monument {
  display: flex;
  align-items: flex-end;
  gap: 20px;
}

.date-monument__day {
  color: var(--gold-400);
  font-family: var(--font-display);
  font-size: clamp(8rem, 15vw, 13.5rem);
  font-weight: 400;
  padding-top: 0.05em;
  letter-spacing: -0.04em;
  line-height: 0.84;
}

.date-monument > div {
  display: grid;
  gap: 2px;
  padding-bottom: 2px;
}

.date-monument__month {
  color: var(--ivory-50);
  font-size: clamp(1.5rem, 2.5vw, 2.3rem);
  font-style: italic;
}

.date-monument__year {
  color: rgb(255 250 241 / 0.45);
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
}

.details__facts {
  border-top: 1px solid var(--line-light);
}

.fact {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 20px;
  align-items: start;
  padding: 25px 0;
  border-bottom: 1px solid var(--line-light);
}

.fact svg {
  width: 24px;
  height: 24px;
  margin-top: 4px;
  color: var(--gold-400);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.35;
}

.fact span {
  display: block;
  margin-bottom: 4px;
  color: rgb(255 250 241 / 0.44);
  font-family: var(--font-display);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.fact strong {
  color: var(--ivory-50);
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  font-weight: 500;
  line-height: 1.14;
}

.details__actions {
  display: grid;
  align-content: end;
  border-top: 1px solid var(--line-light);
}

.text-link {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 22px 0;
  color: rgb(255 250 241 / 0.82);
  border-bottom: 1px solid var(--line-light);
  font-size: 1.08rem;
  text-decoration: none;
  transition: color 180ms ease;
}

.text-link svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
  transition: transform 180ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .text-link:hover {
    color: var(--gold-300);
  }

  .text-link:hover svg {
    transform: translateX(5px);
  }
}

/* Countdown */
.countdown {
  padding-block: clamp(74px, 8vw, 104px);
}

.countdown__inner {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: end;
}

.countdown__copy h2 {
  max-width: 520px;
  color: var(--ink);
  font-size: clamp(2.3rem, 4.2vw, 4rem);
}

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

.countdown__clock > div {
  display: grid;
  place-items: center;
  min-height: 155px;
  padding: 20px 12px;
  border-left: 1px solid var(--line-dark);
}

.countdown__clock > div:last-child {
  border-right: 1px solid var(--line-dark);
}

.countdown__clock strong {
  color: var(--gold-600);
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  font-weight: 400;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.countdown__clock span {
  color: var(--ink-soft);
  font-family: var(--font-display);
  font-size: 0.57rem;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.countdown__message {
  grid-column: 2;
  min-height: 1.4em;
  margin: 0;
  color: var(--gold-600);
  font-style: italic;
  text-align: right;
}

/* Family */
.family {
  padding-block: clamp(82px, 10vw, 134px);
  border-top: 1px solid var(--line-dark);
}

.family__layout {
  display: grid;
  grid-template-columns: 0.78fr 1.18fr 0.38fr;
  gap: clamp(36px, 5vw, 82px);
  align-items: center;
}

.family__intro {
  align-self: start;
}

.family__intro h2 {
  max-width: 470px;
  color: var(--ink);
  font-size: clamp(2.4rem, 4.5vw, 4.25rem);
}

.family__intro > p:last-child {
  max-width: 400px;
  margin: 30px 0 0;
  color: var(--ink-soft);
  font-size: 1.2rem;
}

.family__names {
  display: grid;
  gap: 38px;
  padding-left: clamp(0px, 4vw, 50px);
  border-left: 1px solid var(--line-dark);
}

.name-group > span {
  display: block;
  margin-bottom: 14px;
  color: var(--gold-600);
  font-family: var(--font-display);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.name-group p {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.55rem, 2.7vw, 2.35rem);
  line-height: 1.42;
}

.name-group--parents p {
  font-family: var(--font-script);
  font-size: clamp(3rem, 5vw, 4.6rem);
  line-height: 1;
}

.name-group i {
  color: var(--gold-600);
  font-weight: 400;
}

.family__flourish {
  position: relative;
  display: grid;
  place-items: center;
  justify-self: end;
  width: min(180px, 100%);
  aspect-ratio: 1;
  color: var(--gold-600);
  border: 1px solid rgb(147 103 39 / 0.42);
  border-radius: 50%;
}

.family__flourish::before,
.family__flourish::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.family__flourish::before {
  inset: 12px;
  border: 1px solid rgb(147 103 39 / 0.19);
}

.family__flourish::after {
  inset: -12px;
  border: 1px dashed rgb(147 103 39 / 0.15);
}

.family__flourish span {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 7vw, 6rem);
  line-height: 1;
}

/* Music band */
.music-band {
  display: grid;
  grid-template-columns: minmax(28px, 1fr) auto minmax(28px, 1fr);
  align-items: center;
  gap: clamp(26px, 5vw, 68px);
  padding-block: 42px;
  color: var(--ivory-50);
  background: var(--navy-850);
}

.music-band__line {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgb(230 201 142 / 0.45));
}

.music-band__line:last-child {
  transform: rotate(180deg);
}

.music-band__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: auto;
  margin: 0;
}

.music-band__inner svg {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  color: var(--gold-400);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.25;
}

.music-band__inner p {
  margin: 0;
  font-size: clamp(1.2rem, 2.3vw, 1.9rem);
  white-space: nowrap;
}

.music-band__inner p span {
  margin-right: 16px;
  color: rgb(255 250 241 / 0.45);
  font-family: var(--font-display);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.music-band__inner p i {
  color: var(--gold-400);
  font-weight: 400;
}

/* RSVP */
.rsvp {
  padding-block: clamp(88px, 11vw, 145px);
}

.rsvp::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 82% 22%, rgb(213 179 111 / 0.08), transparent 30%);
}

.rsvp__watermark {
  position: absolute;
  right: -0.08em;
  bottom: -0.22em;
  color: rgb(230 201 142 / 0.045);
  font-family: var(--font-display);
  font-size: clamp(22rem, 48vw, 42rem);
  line-height: 0.72;
  pointer-events: none;
}

.rsvp__layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(350px, 0.86fr) minmax(390px, 1.14fr);
  gap: clamp(56px, 8vw, 110px);
  align-items: end;
}

.rsvp__copy h2 {
  max-width: 620px;
  font-size: clamp(2.7rem, 5.4vw, 5rem);
}

.rsvp__copy > p:last-child {
  max-width: 520px;
  margin: 32px 0 0;
  color: rgb(255 250 241 / 0.62);
  font-size: 1.3rem;
}

.rsvp__copy strong {
  color: var(--gold-300);
  font-weight: 500;
}

.rsvp__contact {
  padding-top: 28px;
  border-top: 1px solid var(--line-light);
}

.rsvp__contact > span {
  display: block;
  color: rgb(255 250 241 / 0.42);
  font-family: var(--font-display);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.rsvp__phone {
  display: inline-block;
  margin-top: 8px;
  color: var(--ivory-50);
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.4vw, 5.2rem);
  letter-spacing: -0.04em;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

/* Footer */
.footer {
  padding-block: 62px;
  border-top: 1px solid var(--line-dark);
}

.footer__inner {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 18px;
}

.footer__monogram {
  display: grid;
  place-items: center;
  width: 48px;
  aspect-ratio: 1;
  color: var(--gold-600);
  border: 1px solid rgb(147 103 39 / 0.38);
  border-radius: 50%;
  font-family: var(--font-display);
}

.footer p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.2rem;
}

.footer p strong {
  color: var(--ink);
  font-style: italic;
  font-weight: 500;
}

.footer__heart {
  width: 18px;
  height: 18px;
  color: var(--gold-600);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
}

.footer__share {
  padding: 8px 0;
  color: var(--ink);
  background: transparent;
  border-bottom: 1px solid var(--gold-600);
  font-family: var(--font-display);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 180ms ease, transform 160ms var(--ease-out);
}

.footer__share:active {
  transform: scale(0.97);
}

/* Dialog */
.invitation-dialog {
  width: min(94vw, 680px);
  max-height: 94svh;
  margin: auto;
  padding: 10px;
  overflow: visible;
  color: var(--ink);
  background: var(--ivory-50);
  border: 1px solid var(--gold-500);
  box-shadow: 0 40px 100px rgb(0 0 0 / 0.62);
  opacity: 0;
  transform: scale(0.96) translateY(12px);
  transition: opacity 220ms var(--ease-out), transform 260ms var(--ease-out), display 260ms allow-discrete, overlay 260ms allow-discrete;
}

.invitation-dialog[open] {
  opacity: 1;
  transform: scale(1) translateY(0);
}

@starting-style {
  .invitation-dialog[open] {
    opacity: 0;
    transform: scale(0.96) translateY(12px);
  }
}

.invitation-dialog::backdrop {
  background: rgb(2 7 14 / 0.86);
  backdrop-filter: blur(12px);
}

.invitation-dialog img {
  width: 100%;
  max-height: calc(94svh - 20px);
  object-fit: contain;
}

.invitation-dialog__close {
  position: absolute;
  z-index: 2;
  top: -16px;
  right: -16px;
  display: grid;
  place-items: center;
  width: 46px;
  aspect-ratio: 1;
  padding: 0;
  color: var(--ivory-50);
  background: var(--navy-950);
  border: 1px solid var(--gold-400);
  border-radius: 50%;
  cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 180ms ease;
}

.invitation-dialog__close svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.5;
}

.invitation-dialog__close:active {
  transform: scale(0.94);
}

/* Toast */
.toast {
  position: fixed;
  z-index: 1300;
  right: 20px;
  bottom: max(20px, env(safe-area-inset-bottom));
  max-width: calc(100vw - 40px);
  padding: 13px 16px;
  color: var(--ivory-50);
  background: var(--navy-850);
  border: 1px solid rgb(230 201 142 / 0.34);
  box-shadow: 0 12px 35px rgb(0 0 0 / 0.26);
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px) scale(0.97);
  transition: opacity 180ms var(--ease-out), transform 220ms var(--ease-out);
}

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

/* Reveal system */
.js [data-reveal] {
  opacity: 0;
  will-change: transform, opacity;
  transition: opacity 800ms var(--ease-out), transform 900ms var(--ease-out), clip-path 900ms var(--ease-out);
}

.js [data-reveal="up"] {
  transform: translateY(34px);
}

.js [data-reveal="left"] {
  transform: translateX(-34px);
}

.js [data-reveal="right"] {
  transform: translateX(34px);
}

.js [data-reveal="scale"] {
  transform: scale(0.94);
}

.js [data-reveal="clip"] {
  clip-path: inset(0 0 14% 0);
  transform: translateY(20px);
}

.js [data-reveal].is-visible {
  opacity: 1;
  clip-path: inset(0 0 0 0);
  transform: translate(0) scale(1);
}

/* Responsive */
@media (max-width: 1020px) {
  :root {
    --shell: min(900px, calc(100vw - 40px));
  }

  .hero__inner {
    grid-template-columns: minmax(280px, 0.8fr) minmax(340px, 1.2fr);
    gap: 56px;
  }

  .hero__name {
    font-size: clamp(6rem, 13vw, 8rem);
  }

  .prologue__grid {
    grid-template-columns: 0.34fr 1fr;
  }

  .prologue__seal {
    display: none;
  }

  .details__layout {
    grid-template-columns: 0.92fr 1.08fr;
  }

  .details__actions {
    grid-column: 2;
  }

  .family__layout {
    grid-template-columns: 0.85fr 1.15fr;
  }

  .family__flourish {
    display: none;
  }
}

@media (max-width: 760px) {
  :root {
    --shell: min(100% - 30px, 660px);
  }

  body {
    font-size: 17px;
  }

  .intro::before {
    inset: 12px;
    border-radius: 16px;
  }

  .intro::after {
    inset: 19px;
    border-radius: 12px;
  }

  .intro__content {
    width: calc(100vw - 20px);
    padding-inline: 8px;
  }

  .intro__eyebrow {
    max-width: 260px;
    line-height: 1.7;
  }

  .envelope {
    width: min(88vw, 470px);
  }

  .masthead {
    grid-template-columns: auto 1fr auto auto;
    gap: 11px;
    width: calc(100vw - 30px);
  }

  .masthead__monogram {
    width: 38px;
  }

  .masthead__date {
    font-size: 0.56rem;
  }

  .masthead__share {
    width: 38px;
  }

  .hero {
    min-height: auto;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 52px;
    padding-block: 92px 74px;
  }

  .hero__art {
    justify-self: center;
    width: min(82vw, 360px);
  }

  .hero__folio {
    left: -14px;
  }

  .invitation-frame figcaption {
    display: none;
  }

  .hero__copy {
    max-width: 620px;
    padding: 0;
  }

  .hero__fleur {
    width: 62px;
  }

  .hero__kicker {
    font-size: clamp(1.15rem, 5vw, 1.6rem);
  }

  .hero__name {
    font-size: clamp(6rem, 28vw, 8.8rem);
  }

  .hero__lead {
    margin-top: 24px;
  }

  .scroll-cue {
    display: none;
  }

  .prologue,
  .details,
  .family,
  .rsvp {
    padding-block: 76px;
  }

  .prologue::before,
  .prologue::after {
    display: none;
  }

  .prologue__grid,
  .section-heading,
  .details__layout,
  .countdown__inner,
  .family__layout,
  .rsvp__layout {
    grid-template-columns: 1fr;
  }

  .prologue__grid {
    gap: 34px;
  }

  .chapter-mark {
    width: 180px;
  }

  .prologue__copy {
    padding-left: 0;
    font-size: clamp(1.72rem, 7.5vw, 2.65rem);
  }

  .section-heading {
    gap: 12px;
  }

  .details__layout {
    gap: 42px;
    margin-top: 48px;
  }

  .date-monument {
    justify-content: flex-start;
  }

  .date-monument__day {
    font-size: clamp(7rem, 30vw, 10rem);
  }

  .details__actions {
    grid-column: auto;
  }

  .countdown__inner {
    gap: 36px;
  }

  .countdown__clock > div {
    min-height: 126px;
    padding-inline: 6px;
  }

  .countdown__clock strong {
    font-size: clamp(2.2rem, 11vw, 3.7rem);
  }

  .countdown__clock span {
    font-size: 0.48rem;
    letter-spacing: 0.11em;
  }

  .countdown__message {
    grid-column: auto;
    text-align: left;
  }

  .family__layout {
    gap: 46px;
  }

  .family__names {
    padding-left: 22px;
  }

  .music-band {
    grid-template-columns: 24px 1fr 24px;
    gap: 16px;
    padding-block: 34px;
  }

  .music-band__inner {
    justify-content: flex-start;
    gap: 14px;
  }

  .music-band__inner p {
    white-space: normal;
  }

  .music-band__inner p span {
    display: block;
    margin: 0 0 6px;
  }

  .rsvp__layout {
    gap: 50px;
  }

  .rsvp__phone {
    font-size: clamp(2.2rem, 11vw, 4rem);
  }

  .footer__inner {
    grid-template-columns: auto 1fr auto;
  }

  .footer__heart {
    display: none;
  }

  .footer__share {
    grid-column: 2 / -1;
    justify-self: start;
  }

  .invitation-dialog {
    width: min(92vw, 620px);
  }

  .invitation-dialog__close {
    top: -14px;
    right: -10px;
  }
}

@media (max-width: 460px) {
  .masthead__line {
    opacity: 0.55;
  }

  .masthead__date {
    letter-spacing: 0.1em;
  }

  .hero__actions,
  .rsvp__buttons {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .hero__signature {
    display: grid;
    gap: 4px;
  }

  .countdown__clock {
    grid-template-columns: repeat(2, 1fr);
  }

  .countdown__clock > div:nth-child(2) {
    border-right: 1px solid var(--line-dark);
  }

  .countdown__clock > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line-dark);
  }

  .countdown__clock > div {
    min-height: 112px;
  }

  .music-band {
    grid-template-columns: 14px 1fr 14px;
  }

  .music-band__inner svg {
    display: none;
  }

  .footer {
    padding-block: 48px;
  }

  .footer__inner {
    grid-template-columns: auto 1fr;
  }

  .footer__share {
    grid-column: 1 / -1;
  }
}

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

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

  .js [data-reveal] {
    opacity: 1;
    clip-path: none;
    transform: none;
  }

  .intro__aura,
  .scroll-cue {
    display: none;
  }
}

@media print {
  .intro,
  .masthead,
  .scroll-progress,
  .scroll-cue,
  .hero__actions,
  .details__actions,
  .rsvp__buttons,
  .footer__share,
  .invitation-frame__expand,
  .toast {
    display: none !important;
  }

  body {
    color: #111;
    background: #fff;
  }

  .hero,
  .navy-section,
  .music-band {
    color: #111;
    background: #fff;
  }

  .hero {
    min-height: auto;
  }
}
