:root {
  --ink: #1f1712;
  --navy: #072141;
  --navy-2: #0e355e;
  --gold: #d7a64b;
  --sand: #f4eadb;
  --ivory: #fffdf8;
  --sea: #1eb6b2;
  --coral: #ef8a6c;
  --line: rgba(215, 166, 75, 0.36);
  --shadow: 0 28px 80px rgba(31, 23, 18, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font-family: "Avenir Next", "Segoe UI", sans-serif;
}

body.invite-open .gate {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-5%);
}

body.invite-opening .press {
  opacity: 0;
  transform: translateY(10px);
}

a {
  color: inherit;
}

.gate {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 28px;
  overflow: hidden;
  background:
    radial-gradient(circle at 28% 38%, rgba(215, 166, 75, 0.22), transparent 24rem),
    radial-gradient(circle at 78% 68%, rgba(30, 182, 178, 0.18), transparent 20rem),
    linear-gradient(145deg, #071b54 0%, #103a8d 48%, #06133f 100%);
  color: #f6dfb3;
  transition: opacity 900ms ease, transform 900ms ease;
}

.star-field,
.star-field::before,
.star-field::after {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.74) 0 1px, transparent 2px),
    radial-gradient(circle, rgba(215, 166, 75, 0.58) 0 1px, transparent 2px);
  background-position: 0 0, 80px 120px;
  background-size: 180px 180px, 260px 260px;
  animation: drift 22s linear infinite;
}

.star-field::after {
  animation-duration: 34s;
  opacity: 0.45;
  transform: scale(1.2);
}

.gate-ornaments {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.ornament {
  position: absolute;
  display: block;
  color: rgba(246, 223, 179, 0.3);
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.18));
}

.eiffel {
  left: clamp(28px, 7vw, 112px);
  bottom: clamp(64px, 13vh, 150px);
  width: clamp(74px, 9vw, 124px);
  height: clamp(150px, 20vw, 240px);
  opacity: 0.46;
}

.eiffel::before {
  position: absolute;
  inset: 0 18%;
  content: "";
  border: 2px solid currentColor;
  border-top: 0;
  clip-path: polygon(50% 0, 100% 100%, 72% 100%, 50% 27%, 28% 100%, 0 100%);
}

.eiffel::after {
  position: absolute;
  left: 18%;
  right: 18%;
  top: 34%;
  height: 48%;
  content: "";
  background:
    linear-gradient(currentColor, currentColor) 50% 0 / 70% 1px no-repeat,
    linear-gradient(currentColor, currentColor) 50% 35% / 82% 1px no-repeat,
    linear-gradient(currentColor, currentColor) 50% 70% / 96% 1px no-repeat;
}

.shell {
  width: clamp(56px, 7vw, 92px);
  aspect-ratio: 1.18;
  border: 1px solid rgba(246, 223, 179, 0.38);
  border-radius: 60% 60% 46% 46%;
}

.shell::before {
  position: absolute;
  inset: 18% 12% 10%;
  content: "";
  background:
    radial-gradient(ellipse at 50% 100%, transparent 0 34%, currentColor 35% 36%, transparent 37%),
    linear-gradient(72deg, transparent 48%, currentColor 49% 50%, transparent 51%),
    linear-gradient(108deg, transparent 48%, currentColor 49% 50%, transparent 51%),
    linear-gradient(90deg, transparent 48%, currentColor 49% 50%, transparent 51%);
  opacity: 0.72;
}

.shell-one {
  right: clamp(34px, 8vw, 130px);
  top: clamp(92px, 16vh, 180px);
  transform: rotate(-12deg);
  opacity: 0.46;
}

.shell-two {
  left: clamp(42px, 12vw, 190px);
  top: clamp(54px, 12vh, 120px);
  transform: rotate(18deg) scale(0.78);
  opacity: 0.3;
}

.starfish {
  right: clamp(38px, 11vw, 170px);
  bottom: clamp(66px, 13vh, 150px);
  width: clamp(58px, 7vw, 92px);
  aspect-ratio: 1;
  opacity: 0.36;
  clip-path: polygon(50% 0, 61% 36%, 99% 35%, 68% 57%, 80% 94%, 50% 72%, 20% 94%, 32% 57%, 1% 35%, 39% 36%);
  background: currentColor;
  transform: rotate(16deg);
}

.shopping-bag {
  width: clamp(48px, 6vw, 76px);
  height: clamp(58px, 7vw, 92px);
  border: 1px solid rgba(246, 223, 179, 0.38);
}

.shopping-bag::before {
  position: absolute;
  left: 24%;
  top: -22%;
  width: 52%;
  height: 34%;
  content: "";
  border: 1px solid rgba(246, 223, 179, 0.38);
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
}

.shopping-bag::after {
  position: absolute;
  inset: 38% 22% auto;
  height: 1px;
  content: "";
  background: currentColor;
}

.bag-one {
  left: clamp(38px, 11vw, 180px);
  bottom: clamp(250px, 36vh, 380px);
  transform: rotate(-8deg);
  opacity: 0.4;
}

.bag-two {
  right: clamp(40px, 14vw, 220px);
  bottom: clamp(210px, 32vh, 340px);
  transform: rotate(8deg) scale(0.85);
  opacity: 0.28;
}

.eyebrow {
  margin: 0;
  color: var(--gold);
  font-size: clamp(0.68rem, 1.6vw, 0.86rem);
  font-weight: 700;
  letter-spacing: 0.38em;
  line-height: 1.7;
  text-transform: uppercase;
}

.gate .eyebrow,
.press {
  position: relative;
  z-index: 1;
  color: #c79d64;
}

.press {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  transition: opacity 450ms ease, transform 450ms ease;
}

.envelope {
  position: relative;
  z-index: 1;
  width: min(70vw, 620px);
  aspect-ratio: 1.58;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: transparent;
  filter: drop-shadow(0 40px 70px rgba(0, 0, 0, 0.38));
  transform: translateY(10px);
  perspective: 1200px;
  animation: float 5s ease-in-out infinite;
}

.envelope::before {
  position: absolute;
  inset: 0;
  content: "";
  border-radius: 8px;
  background: linear-gradient(180deg, #fff9ea, #edd8ae);
  z-index: 0;
}

.envelope-body,
.envelope-top,
.envelope-card {
  position: absolute;
  inset: 0;
  border-radius: 8px;
}

.envelope-body {
  background:
    linear-gradient(33deg, transparent 49.5%, rgba(196, 157, 96, 0.42) 50%, transparent 50.5%),
    linear-gradient(-33deg, transparent 49.5%, rgba(196, 157, 96, 0.42) 50%, transparent 50.5%),
    linear-gradient(180deg, #fffaf0, #ead4aa);
  clip-path: polygon(0 40%, 50% 72%, 100% 40%, 100% 100%, 0 100%);
  z-index: 3;
}

.envelope-top {
  clip-path: polygon(0 0, 100% 0, 50% 60%);
  background: linear-gradient(180deg, #ecd6ac, #f9ecd2);
  transform-origin: center;
  transition: transform 980ms cubic-bezier(0.18, 0.84, 0.22, 1), filter 900ms ease, opacity 300ms ease;
  z-index: 4;
}

.envelope-card {
  inset: 12% 6% 8%;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  border-radius: 7px;
  background: rgba(255, 253, 248, 0.78);
  color: var(--ink);
  opacity: 0;
  transform: translateY(30%) scale(0.985);
  transition: box-shadow 500ms ease;
  z-index: 1;
}

.script,
.poster figcaption,
.polaroid h3,
.contact-card h3,
.timeline-row em {
  font-family: "Snell Roundhand", "Brush Script MT", "Segoe Script", cursive;
}

.script {
  color: var(--gold);
  font-size: clamp(2rem, 6vw, 4rem);
}

.request {
  color: rgba(31, 23, 18, 0.45);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.45em;
  text-transform: uppercase;
}

.date {
  padding-top: 10px;
  border-top: 1px solid var(--gold);
  color: rgba(31, 23, 18, 0.74);
  font-family: Georgia, serif;
  font-style: italic;
}

.seal {
  position: absolute;
  left: 50%;
  top: 48%;
  display: grid;
  width: clamp(70px, 12vw, 112px);
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  color: #fff9eb;
  font-family: Georgia, serif;
  font-size: clamp(1.5rem, 4vw, 2.7rem);
  font-style: italic;
  background: radial-gradient(circle at 35% 30%, #f2aa16, #c46405 72%);
  box-shadow: inset 0 8px 18px rgba(255, 255, 255, 0.18), 0 14px 28px rgba(128, 64, 4, 0.34);
  transform: translate(-50%, -50%);
  transition: transform 700ms ease, box-shadow 700ms ease, opacity 700ms ease;
  z-index: 5;
}

.seal::after {
  position: absolute;
  inset: -10px;
  content: "";
  border: 1px solid rgba(242, 170, 22, 0.58);
  border-radius: 50%;
  opacity: 0;
  animation: sealPulse 2.2s ease-out infinite;
}

.envelope:hover .envelope-top,
.envelope:focus-visible .envelope-top {
  transform: rotateX(22deg);
}

body.invite-opening .envelope {
  animation: none;
}

body.invite-flap-open .envelope-top {
  filter: brightness(1.04);
  transform: translateY(-58%) scaleY(-1);
  transition-delay: 0ms;
  z-index: 1;
}

body.invite-letter-rise .envelope-card {
  animation: letterPop 1050ms cubic-bezier(0.16, 0.84, 0.28, 1) both;
  box-shadow: 0 22px 42px rgba(31, 23, 18, 0.18);
  opacity: 1;
  z-index: 2;
}

body.invite-opening .seal {
  box-shadow: inset 0 8px 18px rgba(255, 255, 255, 0.18), 0 22px 42px rgba(128, 64, 4, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -62%) scale(0.72);
}

body.invite-opening .seal::after {
  animation: none;
}

.hero {
  min-height: 100vh;
  padding: 28px clamp(20px, 5vw, 72px) 84px;
  background:
    linear-gradient(90deg, rgba(215, 166, 75, 0.18) 0 1px, transparent 1px 100%),
    linear-gradient(180deg, rgba(255, 253, 248, 0.08) 0 1px, transparent 1px 100%),
    linear-gradient(135deg, #06182d 0%, #092949 48%, #12233a 100%);
  background-size: 88px 88px, 88px 88px, auto;
  color: white;
  position: relative;
  overflow: hidden;
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(115deg, transparent 0 52%, rgba(30, 182, 178, 0.12) 52% 53%, transparent 53%),
    linear-gradient(180deg, rgba(255, 253, 248, 0.08), transparent 34%, rgba(0, 0, 0, 0.24));
  pointer-events: none;
}

.hero::after {
  position: absolute;
  right: clamp(18px, 5vw, 80px);
  bottom: clamp(24px, 7vw, 110px);
  width: min(34vw, 420px);
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(215, 166, 75, 0.72), transparent);
  pointer-events: none;
}

.nav {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: clamp(18px, 4vw, 54px);
  padding: 8px 0 52px;
}

.nav a {
  color: rgba(255, 253, 248, 0.86);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-decoration: none;
  text-transform: uppercase;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  align-items: center;
  max-width: 1120px;
  min-height: calc(100vh - 170px);
  margin: 0 auto;
  gap: clamp(32px, 6vw, 82px);
}

.hero-copy h1,
.section-heading h2 {
  margin: 14px 0 18px;
  font-family: Didot, "Bodoni 72", Georgia, serif;
  font-size: clamp(3.5rem, 9vw, 8.7rem);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 0.88;
}

.hero-copy h1 span {
  display: block;
}

.lede {
  max-width: 650px;
  margin: 0;
  color: rgba(255, 253, 248, 0.82);
  font-size: clamp(1rem, 2vw, 1.35rem);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.event-icons {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
}

.motif-icon {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 42px;
  color: rgba(215, 166, 75, 0.78);
  border: 1px solid rgba(215, 166, 75, 0.34);
}

.motif-icon::before,
.motif-icon::after {
  position: absolute;
  content: "";
}

.motif-tower::before {
  inset: 8px 13px 8px;
  border: 1px solid currentColor;
  border-top: 0;
  clip-path: polygon(50% 0, 100% 100%, 70% 100%, 50% 32%, 30% 100%, 0 100%);
}

.motif-tower::after {
  left: 13px;
  right: 13px;
  top: 19px;
  height: 11px;
  background:
    linear-gradient(currentColor, currentColor) 50% 0 / 100% 1px no-repeat,
    linear-gradient(currentColor, currentColor) 50% 9px / 100% 1px no-repeat;
}

.motif-shell {
  border-radius: 60% 60% 46% 46%;
}

.motif-shell::before {
  inset: 10px 8px 8px;
  background:
    radial-gradient(ellipse at 50% 100%, transparent 0 34%, currentColor 35% 36%, transparent 37%),
    linear-gradient(72deg, transparent 48%, currentColor 49% 50%, transparent 51%),
    linear-gradient(108deg, transparent 48%, currentColor 49% 50%, transparent 51%),
    linear-gradient(90deg, transparent 48%, currentColor 49% 50%, transparent 51%);
}

.motif-bag::before {
  left: 12px;
  top: -7px;
  width: 16px;
  height: 14px;
  border: 1px solid currentColor;
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
}

.motif-bag::after {
  left: 10px;
  right: 10px;
  top: 22px;
  height: 1px;
  background: currentColor;
}

.motif-star {
  border: 0;
}

.motif-star::before {
  inset: 5px;
  background: currentColor;
  clip-path: polygon(50% 0, 61% 36%, 99% 35%, 68% 57%, 80% 94%, 50% 72%, 20% 94%, 32% 57%, 1% 35%, 39% 36%);
  opacity: 0.82;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid var(--gold);
  color: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.3em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease;
}

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

.button.primary {
  background: var(--gold);
  color: var(--navy);
}

.button.ghost {
  background: rgba(255, 253, 248, 0.04);
  color: white;
}

.poster {
  margin: 0;
  padding: 10px 10px 16px;
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(244, 234, 219, 0.96));
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.32);
  transform: rotate(0.6deg);
}

.poster img {
  display: block;
  width: 100%;
  max-height: 64vh;
  object-fit: cover;
  object-position: 50% 28%;
  border-radius: 4px;
}

.poster figcaption {
  padding-top: 10px;
  color: var(--gold);
  font-size: 1.55rem;
  text-align: center;
}

section:not(.gate):not(.hero) {
  padding: clamp(76px, 10vw, 132px) clamp(20px, 6vw, 80px);
}

.affair,
.booking {
  background:
    linear-gradient(90deg, rgba(215, 166, 75, 0.12) 0 1px, transparent 1px 100%),
    linear-gradient(180deg, rgba(30, 182, 178, 0.07), transparent 32rem),
    var(--ivory);
  background-size: 96px 96px, auto, auto;
}

.affair {
  position: relative;
  overflow: hidden;
}

.section-ornaments {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.section-heading,
.polaroids {
  position: relative;
  z-index: 1;
}

.section-mark {
  position: absolute;
  display: block;
  color: rgba(7, 33, 65, 0.09);
}

.section-eiffel {
  left: clamp(24px, 7vw, 120px);
  top: clamp(70px, 10vw, 140px);
  width: clamp(76px, 10vw, 130px);
  height: clamp(150px, 19vw, 240px);
}

.section-eiffel::before {
  position: absolute;
  inset: 0 18%;
  content: "";
  border: 2px solid currentColor;
  border-top: 0;
  clip-path: polygon(50% 0, 100% 100%, 72% 100%, 50% 27%, 28% 100%, 0 100%);
}

.section-shell {
  right: clamp(30px, 9vw, 150px);
  top: clamp(90px, 13vw, 180px);
  width: clamp(88px, 12vw, 150px);
  aspect-ratio: 1.18;
  border: 2px solid rgba(7, 33, 65, 0.08);
  border-radius: 60% 60% 46% 46%;
  transform: rotate(-10deg);
}

.section-shell::before {
  position: absolute;
  inset: 18% 12% 10%;
  content: "";
  background:
    radial-gradient(ellipse at 50% 100%, transparent 0 34%, currentColor 35% 36%, transparent 37%),
    linear-gradient(72deg, transparent 48%, currentColor 49% 50%, transparent 51%),
    linear-gradient(108deg, transparent 48%, currentColor 49% 50%, transparent 51%),
    linear-gradient(90deg, transparent 48%, currentColor 49% 50%, transparent 51%);
}

.section-bag {
  left: clamp(22px, 12vw, 190px);
  bottom: clamp(90px, 12vw, 150px);
  width: clamp(74px, 9vw, 112px);
  height: clamp(88px, 11vw, 136px);
  border: 2px solid rgba(7, 33, 65, 0.08);
  transform: rotate(-7deg);
}

.section-bag::before {
  position: absolute;
  left: 24%;
  top: -22%;
  width: 52%;
  height: 34%;
  content: "";
  border: 2px solid rgba(7, 33, 65, 0.08);
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
}

.section-starfish {
  right: clamp(34px, 12vw, 200px);
  bottom: clamp(96px, 11vw, 160px);
  width: clamp(80px, 10vw, 126px);
  aspect-ratio: 1;
  background: rgba(215, 166, 75, 0.12);
  clip-path: polygon(50% 0, 61% 36%, 99% 35%, 68% 57%, 80% 94%, 50% 72%, 20% 94%, 32% 57%, 1% 35%, 39% 36%);
  transform: rotate(16deg);
}

.section-heading {
  max-width: 820px;
  margin: 0 auto clamp(46px, 7vw, 80px);
  text-align: center;
}

.section-heading h2 {
  color: var(--ink);
  font-size: clamp(2.7rem, 6vw, 5.2rem);
  line-height: 1;
}

.section-heading p:last-child {
  margin: 0 auto;
  max-width: 720px;
  color: rgba(31, 23, 18, 0.64);
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.8;
}

.polaroids {
  display: grid;
  grid-template-columns: repeat(2, minmax(240px, 1fr));
  gap: clamp(28px, 6vw, 72px);
  max-width: 980px;
  margin: 0 auto;
}

.polaroid {
  padding: 12px 12px 22px;
  background: #fffdf8;
  border: 1px solid rgba(215, 166, 75, 0.22);
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.polaroid:first-child {
  transform: rotate(-2deg);
}

.polaroid:last-child {
  transform: rotate(2deg);
}

.photo {
  position: relative;
  overflow: hidden;
  min-height: clamp(320px, 48vw, 560px);
  border-radius: 4px;
  background-size: cover;
}

.photo.paris {
  background:
    linear-gradient(135deg, rgba(7, 33, 65, 0.94), rgba(15, 52, 86, 0.9)),
    linear-gradient(90deg, rgba(215, 166, 75, 0.5) 0 1px, transparent 1px 100%);
  background-size: auto, 42px 42px;
}

.photo.jamaica {
  background:
    linear-gradient(135deg, rgba(4, 62, 72, 0.92), rgba(30, 182, 178, 0.82) 52%, rgba(244, 234, 219, 0.84)),
    linear-gradient(180deg, rgba(255, 253, 248, 0.36), transparent 45%);
}

.photo::before {
  position: absolute;
  inset: 10%;
  content: "";
  border: 1px solid rgba(215, 166, 75, 0.42);
}

.photo::after {
  position: absolute;
  inset: auto 18% 18%;
  height: 34%;
  content: "";
  border-top: 1px solid rgba(255, 253, 248, 0.48);
  border-bottom: 1px solid rgba(255, 253, 248, 0.24);
  transform: skewY(-8deg);
  opacity: 0.72;
}

.polaroid h3 {
  margin: 14px 0 0;
  color: var(--gold);
  font-size: 1.7rem;
  text-align: center;
}

.details-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding-block: 0 !important;
  background: var(--navy);
  color: white;
}

.detail {
  min-height: 160px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  padding: 30px 20px;
  border-inline: 1px solid rgba(215, 166, 75, 0.28);
  text-align: center;
}

.detail span {
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.detail strong {
  font-family: Didot, "Bodoni 72", Georgia, serif;
  font-size: clamp(1.45rem, 2.8vw, 2.2rem);
  font-weight: 500;
}

.itinerary {
  background: #fbf7ef;
}

.timeline {
  max-width: 880px;
  margin: 0 auto;
}

.timeline-row {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: clamp(24px, 6vw, 72px);
  padding: 34px 0;
  border-top: 1px solid var(--line);
}

.timeline-row:last-child {
  border-bottom: 1px solid var(--line);
}

.timeline-row span {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.timeline-row time {
  font-family: Georgia, serif;
  font-size: 1.2rem;
  font-style: italic;
}

.timeline-row h3 {
  margin: 0 0 10px;
  font-family: Didot, "Bodoni 72", Georgia, serif;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 500;
}

.timeline-row p {
  margin: 0;
  color: rgba(31, 23, 18, 0.64);
  font-size: 1.02rem;
  line-height: 1.7;
}

.timeline-row em {
  display: inline-block;
  margin-top: 18px;
  color: var(--gold);
  font-size: 1.7rem;
}

.main-event {
  background: linear-gradient(90deg, transparent, rgba(215, 166, 75, 0.08), transparent);
}

.contact-card {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(38px, 7vw, 72px);
  border: 1px solid var(--line);
  border-radius: 6px;
  background:
    linear-gradient(90deg, rgba(215, 166, 75, 0.1) 0 1px, transparent 1px 100%),
    linear-gradient(180deg, #fffdf8, #fbf7ef);
  background-size: 64px 64px, auto;
  box-shadow: var(--shadow);
  text-align: center;
}

.monogram {
  display: grid;
  width: 78px;
  aspect-ratio: 1;
  place-items: center;
  margin: 0 auto 30px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-family: "Snell Roundhand", "Brush Script MT", cursive;
  font-size: 2.4rem;
}

.contact-card h3 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
}

.contact-card > p {
  margin: 10px 0 28px;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

dl {
  display: grid;
  gap: 22px;
  margin: 0 0 38px;
}

dt {
  margin-bottom: 8px;
  color: rgba(31, 23, 18, 0.48);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

dd {
  margin: 0;
  font-family: Georgia, serif;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-style: italic;
}

.contact-card .button {
  color: var(--navy);
}

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

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

@keyframes float {
  0%,
  100% {
    transform: translateY(10px);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes drift {
  to {
    background-position: 180px 360px, 340px 420px;
  }
}

@keyframes letterPop {
  0% {
    opacity: 0;
    transform: translateY(30%) scale(0.985);
  }
  10% {
    opacity: 1;
    transform: translateY(16%) scale(1);
  }
  58% {
    opacity: 1;
    transform: translateY(-44%) scale(1.018);
  }
  76% {
    transform: translateY(-35%) scale(0.995);
  }
  100% {
    transform: translateY(-39%) scale(1);
  }
}

@keyframes sealPulse {
  0% {
    opacity: 0.85;
    transform: scale(0.88);
  }
  70%,
  100% {
    opacity: 0;
    transform: scale(1.28);
  }
}

@media (max-width: 820px) {
  .hero {
    padding-inline: 20px;
    overflow: hidden;
  }

  .nav {
    flex-wrap: wrap;
    gap: 14px 22px;
    justify-content: center;
  }

  .nav a,
  .button,
  .eyebrow {
    letter-spacing: 0.18em;
  }

  .hero-copy h1 {
    max-width: 100%;
    font-size: clamp(2.9rem, 12vw, 3.35rem);
    line-height: 0.96;
  }

  .hero-copy h1 span {
    white-space: nowrap;
  }

  .lede {
    max-width: 29ch;
  }

  .hero-actions {
    display: grid;
    max-width: 290px;
  }

  .button {
    width: 100%;
    padding-inline: 18px;
  }

  .hero-grid,
  .polaroids,
  .details-band {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
  }

  .poster {
    max-width: min(330px, calc(100vw - 64px));
    margin: 0 auto;
    transform: none;
  }

  .timeline-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .detail {
    min-height: 128px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}
