:root {
  --paper: #f8f2e8;
  --cream: #eee4d3;
  --ink: #153b36;
  --ink-dark: #102c29;
  --marigold: #e9a91b;
  --sun: #f4c74c;
  --rust: #a94932;
  --sky: #537286;
  --charcoal: #17211f;
  --white: #fffdf8;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

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

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--charcoal);
  font-family: var(--sans);
  text-rendering: optimizeLegibility;
}

body.no-scroll {
  overflow: hidden;
}

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

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

a {
  color: inherit;
}

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

::selection {
  background: var(--marigold);
  color: var(--ink-dark);
}

:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 4px;
}

.scroll-progress {
  position: fixed;
  z-index: 999;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: var(--sun);
  box-shadow: 0 0 14px rgba(244, 199, 76, 0.55);
  pointer-events: none;
  transform: scaleX(0);
  transform-origin: left;
  will-change: transform;
}

.js .reveal {
  opacity: 0;
  transition:
    opacity 750ms cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms),
    transform 850ms cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.js .reveal-up { transform: translateY(34px); }
.js .reveal-left { transform: translateX(-34px); }
.js .reveal-right { transform: translateX(34px); }
.js .reveal-soft { transform: scale(0.985); }

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 1rem;
  left: 1rem;
  transform: translateY(-200%);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  padding: 0.8rem 1.1rem;
  font-weight: 750;
  text-decoration: none;
  transition: transform 180ms ease;
}

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

.section-pad {
  padding-left: max(5vw, 1.25rem);
  padding-right: max(5vw, 1.25rem);
}

.eyebrow,
.tiny-label {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.19em;
  line-height: 1.3;
  text-transform: uppercase;
}

.hero {
  position: relative;
  min-height: 680px;
  height: 100svh;
  overflow: hidden;
  background: var(--ink-dark);
  color: var(--white);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center 58%;
  transform: translate3d(0, var(--hero-shift, 0), 0) scale(1.055);
  will-change: transform;
  animation: hero-settle 1.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-shade {
  background:
    linear-gradient(180deg, rgba(9, 26, 24, 0.62) 0%, rgba(9, 26, 24, 0.03) 31%, rgba(9, 26, 24, 0.18) 57%, rgba(9, 26, 24, 0.88) 100%),
    linear-gradient(90deg, rgba(9, 26, 24, 0.3), transparent 55%);
  animation: shade-breathe 9s ease-in-out infinite alternate;
}

.site-header {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 1.8rem max(5vw, 1.25rem);
}

.monogram {
  display: inline-flex;
  align-items: center;
  gap: 0.16rem;
  color: var(--white);
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: letter-spacing 250ms ease, transform 250ms ease;
}

.monogram:hover {
  letter-spacing: 0.11em;
  transform: translateY(-2px);
}

.monogram span {
  color: var(--sun);
  font-size: 0.8em;
  font-style: italic;
  font-weight: 400;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.7vw, 2.8rem);
  color: rgba(255, 253, 248, 0.92);
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.desktop-nav a {
  position: relative;
  padding: 0.55rem 0;
  text-decoration: none;
}

.desktop-nav a:not(.nav-rsvp)::after {
  position: absolute;
  right: 0;
  bottom: 0.2rem;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 200ms ease;
}

.desktop-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.desktop-nav .nav-rsvp {
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  padding: 0.75rem 1.2rem;
  transition: background 180ms ease, color 180ms ease;
}

.desktop-nav .nav-rsvp:hover {
  background: var(--white);
  color: var(--ink-dark);
}

.menu-button,
.mobile-menu {
  display: none;
}

.hero-content {
  position: absolute;
  z-index: 2;
  bottom: clamp(5rem, 11vh, 8.5rem);
  left: max(5vw, 1.25rem);
  width: min(90vw, 1120px);
}

.hero-eyebrow {
  margin-bottom: 1.2rem;
  color: var(--sun);
  animation: rise-in 850ms 250ms both;
}

.hero h1 {
  position: relative;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(4.25rem, 11.7vw, 11.8rem);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.71;
  text-wrap: balance;
  animation: rise-in 950ms 350ms both;
}

.hero h1 span:first-child {
  display: block;
}

.hero h1 i {
  display: inline-block;
  margin-left: clamp(1.5rem, 7vw, 7rem);
  color: var(--sun);
  font-size: 0.44em;
  font-weight: 400;
  letter-spacing: 0;
  transform: translateY(-0.18em);
}

.hero h1 span:last-child {
  display: inline-block;
}

.hero-date {
  display: flex;
  margin-top: clamp(1.8rem, 4vh, 3.5rem);
  align-items: center;
  gap: 0.9rem;
  font-size: clamp(0.72rem, 1.3vw, 0.88rem);
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  animation: rise-in 850ms 500ms both;
}

.hero-date span:nth-child(2) {
  color: var(--sun);
}

.scroll-prompt {
  position: absolute;
  z-index: 2;
  right: max(5vw, 1.25rem);
  bottom: 2.4rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.15em;
  text-decoration: none;
  text-transform: uppercase;
}

.scroll-prompt span:last-child {
  color: var(--sun);
  font-size: 1.2rem;
  animation: bob 1.8s ease-in-out infinite;
}

.welcome {
  position: relative;
  display: grid;
  min-height: 620px;
  padding-top: clamp(6rem, 12vw, 11rem);
  padding-bottom: clamp(6rem, 12vw, 11rem);
  grid-template-columns: minmax(200px, 0.7fr) minmax(0, 1.3fr);
  gap: 8vw;
  align-items: start;
  background: var(--paper);
}

.welcome-kicker {
  padding-top: 0.5rem;
  color: var(--rust);
  font-family: var(--serif);
  font-size: clamp(2rem, 3.6vw, 3.7rem);
  letter-spacing: -0.04em;
}

.welcome-copy {
  max-width: 900px;
}

.welcome .eyebrow,
.details .eyebrow,
.guide-intro .eyebrow {
  margin-bottom: 1.4rem;
  color: var(--rust);
}

.welcome h2,
.section-heading h2,
.guide-intro h2,
.rsvp-copy h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.1rem, 7vw, 7.7rem);
  font-weight: 400;
  letter-spacing: -0.057em;
  line-height: 0.92;
}

.welcome .lead {
  width: min(100%, 700px);
  margin: 2.7rem 0 0 auto;
  color: #49514e;
  font-family: var(--serif);
  font-size: clamp(1.32rem, 2.2vw, 2rem);
  line-height: 1.48;
}

.countdown {
  display: grid;
  min-height: 280px;
  grid-template-columns: minmax(250px, 0.75fr) 1.5fr;
  background: var(--ink);
  color: var(--white);
}

.countdown-intro {
  display: flex;
  padding: 3.5rem max(5vw, 1.25rem);
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.countdown-intro .tiny-label {
  margin-bottom: 0.9rem;
  color: var(--sun);
}

.countdown-intro strong {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 3.2rem);
  font-weight: 400;
  line-height: 1.05;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.countdown-unit {
  display: flex;
  min-width: 0;
  padding: 2rem 1rem;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  transition: background 300ms ease;
}

.countdown-unit:hover {
  background: rgba(255, 255, 255, 0.045);
}

.countdown-unit:last-child {
  border-right: 0;
}

.countdown-unit strong {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5vw, 5.6rem);
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.06em;
  line-height: 1;
  transform-origin: center bottom;
}

.countdown-unit strong.countdown-tick {
  animation: countdown-tick 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.countdown-unit span {
  margin-top: 0.8rem;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.65rem;
  font-weight: 750;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.arrived-message {
  display: flex;
  margin: 0;
  align-items: center;
  justify-content: center;
  color: var(--sun);
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 6rem);
  font-style: italic;
}

.details {
  padding-top: clamp(6rem, 11vw, 10rem);
  padding-bottom: clamp(6rem, 11vw, 10rem);
  background: var(--cream);
  scroll-margin-top: 1rem;
}

.section-heading {
  display: grid;
  margin-bottom: clamp(3rem, 7vw, 6rem);
  grid-template-columns: 0.7fr 1.3fr;
  gap: 8vw;
  align-items: end;
}

.section-heading .eyebrow {
  align-self: start;
}

.section-heading h2 {
  max-width: 870px;
  font-size: clamp(3.3rem, 7.3vw, 7.8rem);
}

.venue-card {
  display: grid;
  min-height: 700px;
  overflow: hidden;
  background: var(--white);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.venue-photo-wrap {
  position: relative;
  min-height: 620px;
  overflow: hidden;
}

.venue-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% center;
  transition: scale 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.venue-card:hover .venue-photo-wrap img {
  scale: 1.025;
}



.photo-note {
  position: absolute;
  bottom: 1.2rem;
  left: 1.2rem;
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.9);
  color: var(--ink-dark);
  padding: 0.72rem 1rem;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.venue-copy {
  display: flex;
  padding: clamp(2.2rem, 5vw, 5.5rem);
  justify-content: center;
  flex-direction: column;
}

.detail-number {
  margin: 0 0 2rem;
  color: var(--rust);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.venue-copy h3 {
  max-width: 600px;
  margin: 0 0 clamp(2rem, 4vw, 3.8rem);
  color: var(--ink-dark);
  font-family: var(--serif);
  font-size: clamp(3rem, 5.4vw, 6rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.92;
}


.venue-facts {
  border-top: 1px solid #dad1c4;
}

.venue-facts > div {
  display: grid;
  padding: 1.4rem 0;
  grid-template-columns: 34px 1fr;
  border-bottom: 1px solid #dad1c4;
}

.venue-facts svg,
.button svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.venue-facts svg {
  margin-top: 0.15rem;
  color: var(--rust);
}

.venue-facts p {
  display: flex;
  margin: 0;
  justify-content: space-between;
  gap: 1rem;
}

.venue-facts strong {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
}

.venue-facts span {
  color: #626865;
  font-size: 0.82rem;
  line-height: 1.5;
  text-align: right;
}

.venue-note {
  margin: 1.8rem 0 0;
  color: #666c69;
  font-size: 0.88rem;
  line-height: 1.7;
}

.button-row {
  display: flex;
  margin-top: 2.2rem;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  border: 1px solid var(--ink-dark);
  border-radius: 999px;
  padding: 0.85rem 1.25rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.button svg {
  width: 17px;
  height: 17px;
  transition: transform 220ms ease;
}

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

.button:hover svg {
  transform: translate(2px, -2px);
}

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

.button-dark:hover {
  background: var(--rust);
  border-color: var(--rust);
}

.button-quiet {
  background: transparent;
  color: var(--ink-dark);
}

.button-quiet:hover {
  background: var(--cream);
}

.city-story {
  position: relative;
  display: grid;
  min-height: 780px;
  padding: clamp(3rem, 7vw, 7rem) max(5vw, 1.25rem);
  grid-template-columns: minmax(0, 0.72fr) minmax(300px, 1.05fr) minmax(0, 0.72fr);
  gap: clamp(1.5rem, 4vw, 5rem);
  align-items: center;
  background: var(--marigold);
  color: var(--ink-dark);
  overflow: hidden;
}

.city-story::before {
  position: absolute;
  top: -16rem;
  left: 43%;
  width: 34rem;
  height: 34rem;
  border: 1px solid rgba(16, 44, 41, 0.13);
  border-radius: 50%;
  content: "";
  pointer-events: none;
  animation: orbit-drift 16s ease-in-out infinite alternate;
}

.city-story > * {
  position: relative;
  z-index: 1;
}

.city-image {
  position: relative;
  overflow: hidden;
}

.city-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.city-image-one {
  height: min(65vw, 620px);
  margin-top: -7rem;
}

.city-image-one img {
  object-position: 46% center;
}

.city-image-two {
  height: min(56vw, 500px);
  margin-top: 9rem;
}

.city-copy {
  text-align: center;
}

.city-copy .eyebrow {
  margin-bottom: 2rem;
}

.city-copy blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 4.2vw, 4.6rem);
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.city-copy > p:last-child {
  max-width: 480px;
  margin: 2.2rem auto 0;
  font-size: 0.88rem;
  font-weight: 650;
  line-height: 1.7;
}

.guest-guide {
  display: grid;
  padding-top: clamp(6rem, 11vw, 10rem);
  padding-bottom: clamp(6rem, 11vw, 10rem);
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(4rem, 9vw, 10rem);
  background: var(--paper);
  scroll-margin-top: 1rem;
}

.guide-intro {
  position: sticky;
  top: 3rem;
  align-self: start;
}

.guide-intro h2 {
  max-width: 520px;
  font-size: clamp(3.2rem, 6.2vw, 6.8rem);
}

.guide-intro > p:last-child {
  max-width: 430px;
  margin: 2rem 0 0;
  color: #5c6460;
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.55;
}

.guide-list {
  border-top: 1px solid #cfc6b8;
}

.guide-list details {
  border-bottom: 1px solid #cfc6b8;
}

.guide-list summary {
  position: relative;
  display: grid;
  padding: 1.8rem 3.2rem 1.8rem 0;
  grid-template-columns: 3.2rem 1fr;
  color: var(--ink-dark);
  cursor: pointer;
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  line-height: 1.25;
  list-style: none;
}

.guide-list summary::-webkit-details-marker {
  display: none;
}

.guide-list summary span {
  padding-top: 0.2rem;
  color: var(--rust);
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.guide-list summary::after {
  position: absolute;
  top: 50%;
  right: 0.3rem;
  content: "+";
  color: var(--rust);
  font-family: var(--sans);
  font-size: 1.5rem;
  font-weight: 350;
  transform: translateY(-50%);
}

.guide-list details[open] summary::after {
  content: "−";
}

.guide-list details p {
  max-width: 680px;
  margin: -0.25rem 0 1.8rem 3.2rem;
  color: #5d6461;
  font-size: 0.98rem;
  line-height: 1.75;
}

.guide-list details[open] p {
  animation: details-open 360ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.guide-list summary::after {
  transition: transform 240ms ease, color 240ms ease;
}

.guide-list summary:hover::after {
  color: var(--ink-dark);
  transform: translateY(-50%) rotate(90deg);
}

.rsvp-section {
  padding-top: clamp(5rem, 10vw, 9rem);
  padding-bottom: clamp(5rem, 10vw, 9rem);
  background: var(--sky);
  scroll-margin-top: 1rem;
}

.rsvp-card {
  position: relative;
  display: grid;
  min-height: 700px;
  overflow: hidden;
  background: var(--marigold);
  color: var(--ink-dark);
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
}

.rsvp-copy {
  display: flex;
  padding: clamp(2.7rem, 6vw, 7rem);
  justify-content: center;
  flex-direction: column;
}

.rsvp-copy .eyebrow {
  margin-bottom: 1.5rem;
}

.rsvp-copy h2 {
  max-width: 760px;
}

.rsvp-copy > p:not(.eyebrow) {
  max-width: 590px;
  margin: 2.2rem 0 0;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  line-height: 1.55;
}

.rsvp-status {
  align-self: flex-start;
  margin-top: 2.7rem;
  border: 1px solid var(--ink-dark);
  border-radius: 999px;
  padding: 0.9rem 1.2rem;
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.rsvp-photo {
  min-height: 700px;
  overflow: hidden;
}

.rsvp-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: filter 900ms ease, scale 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.rsvp-card:hover .rsvp-photo img {
  filter: saturate(1.06);
  scale: 1.018;
}

.footer {
  position: relative;
  display: grid;
  min-height: 78svh;
  place-items: center;
  overflow: hidden;
  background: var(--ink-dark);
  color: var(--white);
}

.footer > img,
.footer-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.footer > img {
  object-fit: cover;
  object-position: center;
  transform: translate3d(0, var(--footer-shift, 0), 0) scale(1.075);
  will-change: transform;
}

.footer-shade {
  background: linear-gradient(180deg, rgba(9, 27, 25, 0.25), rgba(9, 27, 25, 0.78));
}

.footer-content {
  position: relative;
  z-index: 1;
  padding: 4rem 1.25rem;
  text-align: center;
}

.footer-content .eyebrow {
  color: var(--sun);
}

.footer-content h2 {
  margin: 1.3rem 0 1.7rem;
  font-family: var(--serif);
  font-size: clamp(3.7rem, 9vw, 9.5rem);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.footer-content h2 i {
  color: var(--sun);
  font-size: 0.55em;
}

.footer-content > p:last-of-type {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-content a {
  display: inline-block;
  margin-top: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
  padding-bottom: 0.3rem;
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.11em;
  text-decoration: none;
  text-transform: uppercase;
}

.error-page {
  overflow: hidden;
  background: var(--ink-dark);
  color: var(--white);
}

.error-shell {
  position: relative;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  padding: max(5vw, 1.5rem);
  align-items: center;
}

.error-background,
.error-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.error-background {
  object-fit: cover;
  object-position: 43% center;
  animation: error-image-in 1.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.error-shade {
  background:
    linear-gradient(90deg, rgba(7, 26, 23, 0.9) 0%, rgba(7, 26, 23, 0.68) 45%, rgba(7, 26, 23, 0.3) 100%),
    linear-gradient(180deg, rgba(7, 26, 23, 0.28), rgba(7, 26, 23, 0.76));
}

.error-monogram {
  position: absolute;
  z-index: 2;
  top: max(3vw, 1.5rem);
  left: max(5vw, 1.5rem);
}

.error-content {
  position: relative;
  z-index: 1;
  width: min(720px, 90vw);
  animation: error-content-in 900ms 240ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.error-content .eyebrow {
  color: var(--sun);
}

.error-code {
  margin: 1.1rem 0 -0.65rem;
  color: rgba(255, 255, 255, 0.17);
  font-family: var(--serif);
  font-size: clamp(6.5rem, 17vw, 14rem);
  font-weight: 400;
  letter-spacing: -0.08em;
  line-height: 0.72;
}

.error-content h1 {
  max-width: 680px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.1rem, 7vw, 7rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.9;
}

.error-content > p:not(.eyebrow, .error-code) {
  max-width: 520px;
  margin: 1.8rem 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  line-height: 1.55;
}

.error-button {
  width: fit-content;
  margin-top: 2rem;
  border-color: var(--white);
  background: var(--white);
  color: var(--ink-dark);
}

.error-button:hover {
  border-color: var(--sun);
  background: var(--sun);
}

.error-date {
  position: absolute;
  z-index: 1;
  right: max(5vw, 1.5rem);
  bottom: max(3vw, 1.5rem);
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

@keyframes hero-settle {
  from { opacity: 0; transform: translate3d(0, 0, 0) scale(1.1); }
  to { opacity: 1; transform: translate3d(0, var(--hero-shift, 0), 0) scale(1.055); }
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

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

@keyframes shade-breathe {
  from { opacity: 0.88; }
  to { opacity: 1; }
}

@keyframes countdown-tick {
  0% { opacity: 0.45; transform: translateY(-5px) scale(0.96); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes orbit-drift {
  from { transform: translate3d(-22px, -8px, 0) scale(0.94); }
  to { transform: translate3d(38px, 28px, 0) scale(1.08); }
}

@keyframes details-open {
  from { opacity: 0; transform: translateY(-7px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes gentle-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16, 44, 41, 0.16); transform: scale(0.9); }
  50% { box-shadow: 0 0 0 10px rgba(16, 44, 41, 0); transform: scale(1); }
}

@keyframes error-image-in {
  from { opacity: 0; transform: scale(1.09); }
  to { opacity: 1; transform: scale(1.03); }
}

@keyframes error-content-in {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 980px) {
  .welcome,
  .section-heading {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .welcome-kicker {
    font-size: 1rem;
    font-family: var(--sans);
    font-weight: 800;
    letter-spacing: 0.15em;
  }

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

  .countdown-intro {
    padding-top: 2.2rem;
    padding-bottom: 2.2rem;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

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

  .venue-photo-wrap {
    min-height: 580px;
  }

  .city-story {
    grid-template-columns: 0.8fr 1.2fr;
  }

  .city-image-one {
    height: 620px;
    margin-top: 0;
  }

  .city-copy {
    text-align: left;
  }

  .city-copy > p:last-child {
    margin-left: 0;
  }

  .city-image-two {
    display: none;
  }

  .guest-guide {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .guide-intro {
    position: static;
  }

  .rsvp-card {
    grid-template-columns: 1fr;
  }

  .rsvp-photo {
    min-height: 630px;
  }
}

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

  .menu-button {
    z-index: 11;
    display: flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 7px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 50%;
    background: rgba(7, 24, 21, 0.14);
    color: white;
    cursor: pointer;
    backdrop-filter: blur(8px);
  }

  .menu-button span {
    width: 19px;
    height: 1px;
    background: currentColor;
    transition: transform 180ms ease;
  }

  .menu-button[aria-expanded="true"] {
    color: var(--ink-dark);
    border-color: var(--ink-dark);
  }

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

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

  .mobile-menu {
    position: fixed;
    z-index: 10;
    inset: 0;
    display: flex;
    padding: 8rem max(7vw, 1.5rem) 2.5rem;
    justify-content: space-between;
    flex-direction: column;
    background: var(--marigold);
    color: var(--ink-dark);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 200ms ease, transform 200ms ease, visibility 200ms;
  }

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

  .mobile-menu nav {
    display: flex;
    flex-direction: column;
  }

  .mobile-menu nav a {
    border-bottom: 1px solid rgba(16, 44, 41, 0.28);
    padding: 0.8rem 0;
    font-family: var(--serif);
    font-size: clamp(2.6rem, 13vw, 5rem);
    letter-spacing: -0.05em;
    line-height: 1;
    text-decoration: none;
  }

  .mobile-menu > p {
    margin: 0;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }

  .hero {
    min-height: 700px;
  }

  .hero-image {
    object-position: 64% center;
  }

  .hero h1 {
    font-size: clamp(3.75rem, 18vw, 6.8rem);
    line-height: 0.75;
  }

  .hero h1 i {
    margin-left: 1rem;
  }

  .hero-date {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.45rem;
  }

  .hero-date span:nth-child(2) {
    display: none;
  }

  .scroll-prompt {
    display: none;
  }

  .welcome {
    min-height: 0;
  }

  .welcome .lead {
    margin-left: 0;
  }

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

  .countdown-unit {
    min-height: 150px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .countdown-unit:nth-child(2) {
    border-right: 0;
  }

  .countdown-unit:nth-child(3),
  .countdown-unit:nth-child(4) {
    border-bottom: 0;
  }

  .timeline-finale::before {
    left: 32px !important;
  }

  .venue-photo-wrap {
    min-height: 460px;
  }

  .venue-facts p {
    flex-direction: column;
    gap: 0.25rem;
  }

  .venue-facts span {
    text-align: left;
  }

  .button-row,
  .button {
    width: 100%;
  }

  .city-story {
    grid-template-columns: 1fr;
  }

  .city-image-one {
    height: min(125vw, 620px);
  }

  .city-copy {
    padding: 2.5rem 0;
    text-align: center;
  }

  .city-copy > p:last-child {
    margin-left: auto;
  }

  .rsvp-card {
    min-height: 0;
  }

  .rsvp-photo {
    min-height: 500px;
  }

  .error-shell {
    align-items: end;
    padding-bottom: 7rem;
  }

  .error-background {
    object-position: 37% center;
  }

  .error-shade {
    background: linear-gradient(180deg, rgba(7, 26, 23, 0.35), rgba(7, 26, 23, 0.95));
  }

  .error-content h1 {
    font-size: clamp(3rem, 14vw, 5.2rem);
  }

  .error-date {
    right: auto;
    left: max(5vw, 1.5rem);
  }

}

@media (max-width: 520px) {
  .guide-list summary {
    grid-template-columns: 2.2rem 1fr;
  }

  .guide-list details p {
    margin-left: 2.2rem;
  }
}

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

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

/* =========================================================
   Story, timeline, schedule, wedding party, and registry
   ========================================================= */

.countdown-feature {
  position: relative;
  z-index: 4;
  width: calc(100% - max(6vw, 2rem));
  margin: -2.4rem auto 0;
  box-shadow: 0 28px 80px rgba(10, 34, 30, 0.2);
}

#story,
#timeline,
#schedule,
#wedding-party,
#registry {
  scroll-margin-top: 1rem;
}

.welcome-closing {
  width: min(100%, 700px);
  margin: 1.5rem 0 0 auto;
  color: var(--rust);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  line-height: 1.65;
  text-transform: uppercase;
}

.story-feature .city-copy > p:last-child {
  max-width: 560px;
  font-size: 0.95rem;
}

.story-notes {
  padding-top: clamp(6rem, 11vw, 10rem);
  padding-bottom: clamp(6rem, 11vw, 10rem);
  background: var(--cream);
}

.story-notes-heading {
  display: grid;
  margin-bottom: clamp(3rem, 7vw, 6rem);
  grid-template-columns: minmax(180px, 0.55fr) minmax(0, 1.45fr);
  gap: 8vw;
  align-items: start;
}

.story-notes-heading .eyebrow {
  color: var(--rust);
}

.story-notes-heading h2 {
  max-width: 900px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.1rem, 7vw, 7.5rem);
  font-weight: 400;
  letter-spacing: -0.057em;
  line-height: 0.92;
}

.story-notes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid #cfc6b8;
  border-left: 1px solid #cfc6b8;
}

.story-note {
  position: relative;
  min-height: 420px;
  padding: clamp(2rem, 4.5vw, 4.5rem);
  border-right: 1px solid #cfc6b8;
  border-bottom: 1px solid #cfc6b8;
  background: var(--paper);
  overflow: hidden;
}

.story-note-number {
  display: block;
  margin-bottom: clamp(3rem, 7vw, 6rem);
  color: var(--rust);
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.16em;
}

.story-note-question {
  margin: 0 0 0.8rem;
  color: #68706c;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.story-note h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4.5vw, 4.8rem);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 0.96;
}

.story-note > p:last-child,
.story-note-image div > p:last-child {
  max-width: 600px;
  margin: 1.7rem 0 0;
  color: #5c6460;
  line-height: 1.75;
}

.story-note-playful {
  background: var(--marigold);
}

.story-note-playful::after {
  position: absolute;
  right: -5rem;
  bottom: -7rem;
  width: 18rem;
  height: 18rem;
  border: 1px solid rgba(16, 44, 41, 0.18);
  border-radius: 50%;
  content: "";
}

.story-note-image {
  display: grid;
  padding: 0;
  grid-template-columns: minmax(190px, 0.78fr) minmax(0, 1.22fr);
  background: var(--ink);
  color: var(--white);
}

.story-note-image img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.story-note-image > div {
  display: flex;
  padding: clamp(2rem, 4vw, 4rem);
  justify-content: center;
  flex-direction: column;
}

.story-note-image .story-note-number,
.story-note-image .story-note-question {
  color: var(--sun);
}

.story-note-image div > p:last-child {
  color: rgba(255, 255, 255, 0.72);
}

.love-timeline {
  --timeline-progress: 0;
  position: relative;
  padding-top: clamp(7rem, 13vw, 12rem);
  padding-bottom: 0;
  background: var(--paper);
  overflow: hidden;
}

.timeline-heading {
  max-width: 980px;
  margin: 0 auto clamp(5rem, 10vw, 9rem);
  text-align: center;
}

.timeline-heading .eyebrow {
  margin-bottom: 1.5rem;
  color: var(--rust);
}

.timeline-heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.5rem, 8vw, 8.6rem);
  font-weight: 400;
  letter-spacing: -0.064em;
  line-height: 0.88;
}

.timeline-heading > p:last-child {
  max-width: 590px;
  margin: 2rem auto 0;
  color: #626966;
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  line-height: 1.6;
}

.timeline-track {
  position: relative;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding-bottom: 5rem;
}

.timeline-track::before,
.timeline-track::after {
  position: absolute;
  z-index: 0;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  content: "";
}

.timeline-track::before {
  background: #d7cec1;
}

.timeline-track::after {
  background: var(--rust);
  transform: scaleY(var(--timeline-progress));
  transform-origin: top;
  transition: transform 80ms linear;
}

.timeline-event {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 265px;
  grid-template-columns: minmax(0, 1fr) 150px minmax(0, 1fr);
  align-items: center;
}

.timeline-event time {
  position: relative;
  z-index: 2;
  display: flex;
  width: 112px;
  height: 112px;
  grid-column: 2;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  justify-self: center;
  border: 1px solid #cfc3b3;
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink-dark);
  font-variant-numeric: tabular-nums;
  box-shadow: 0 0 0 12px var(--paper);
}

.timeline-event time span {
  font-size: 0.58rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  line-height: 1.2;
  text-transform: uppercase;
}

.timeline-event time strong {
  margin: 0.08rem 0;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 1;
}

.timeline-card {
  position: relative;
  padding: clamp(1.8rem, 3.3vw, 3.2rem);
  border: 1px solid #d6cdc0;
  background: var(--cream);
}

.timeline-event-left .timeline-card {
  grid-column: 1;
  grid-row: 1;
  text-align: right;
}

.timeline-event-right .timeline-card {
  grid-column: 3;
  grid-row: 1;
}

.timeline-card::after {
  position: absolute;
  top: 50%;
  width: 44px;
  height: 1px;
  content: "";
  background: #cfc3b3;
}

.timeline-event-left .timeline-card::after {
  right: -44px;
}

.timeline-event-right .timeline-card::after {
  left: -44px;
}

.timeline-kicker {
  margin: 0 0 0.75rem;
  color: var(--rust);
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.timeline-card h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3vw, 3.2rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1;
}

.timeline-card > p:last-child {
  margin: 1.15rem 0 0;
  color: #5c6460;
  font-size: 0.9rem;
  line-height: 1.75;
}

.timeline-engagement time {
  border-color: var(--rust);
  background: var(--marigold);
}

.timeline-engagement .timeline-card {
  border-color: rgba(16, 44, 41, 0.22);
  background: var(--marigold);
}

.timeline-finale {
  position: relative;
  z-index: 2;
  width: calc(100% + max(10vw, 2.5rem));
  margin-left: calc(max(5vw, 1.25rem) * -1);
  padding: clamp(6rem, 12vw, 11rem) max(5vw, 1.25rem) clamp(7rem, 13vw, 12rem);
  background: var(--ink);
  color: var(--white);
  text-align: center;
  overflow: hidden;
}

.timeline-finale::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: clamp(3.5rem, 7vw, 6.5rem);
  content: "";
  background: var(--sun);
}

.timeline-finale .eyebrow {
  color: var(--sun);
}

.finale-date {
  display: flex;
  margin: 2rem auto 1rem;
  align-items: center;
  justify-content: center;
  gap: clamp(0.8rem, 2.6vw, 2.5rem);
}

.finale-date span {
  font-size: clamp(0.68rem, 1.25vw, 0.88rem);
  font-weight: 850;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.finale-date strong {
  color: var(--marigold);
  font-family: var(--serif);
  font-size: clamp(8rem, 22vw, 22rem);
  font-weight: 400;
  letter-spacing: -0.1em;
  line-height: 0.68;
}

.timeline-finale h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3rem, 7vw, 7.5rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.92;
}

.timeline-finale > p:not(.eyebrow) {
  max-width: 520px;
  margin: 1.5rem auto 0;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.7;
}

.timeline-finale a {
  display: inline-flex;
  margin-top: 2.6rem;
  align-items: center;
  gap: 0.7rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  padding-bottom: 0.45rem;
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-decoration: none;
  text-transform: uppercase;
}

.timeline-finale a span {
  color: var(--sun);
  animation: bob 1.8s ease-in-out infinite;
}

.wedding-schedule {
  position: relative;
  padding-top: clamp(7rem, 13vw, 12rem);
  padding-bottom: clamp(7rem, 13vw, 12rem);
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
}

.schedule-bridge {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: clamp(4rem, 8vw, 7rem);
  background: var(--sun);
}

.schedule-bridge span {
  position: absolute;
  bottom: -5px;
  left: -5px;
  width: 11px;
  height: 11px;
  border: 2px solid var(--sun);
  border-radius: 50%;
  background: var(--ink);
}

.schedule-heading {
  max-width: 970px;
  margin: 0 auto clamp(4rem, 8vw, 7rem);
  text-align: center;
}

.schedule-heading .eyebrow {
  margin-bottom: 1.4rem;
  color: var(--sun);
}

.schedule-heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.3rem, 7.8vw, 8.2rem);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.schedule-heading > p:last-child {
  margin: 1.8rem 0 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.schedule-list {
  width: min(1000px, 100%);
  margin: 0 auto;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.17);
  list-style: none;
}

.schedule-list li {
  display: grid;
  padding: clamp(1.7rem, 3vw, 2.7rem) 0;
  grid-template-columns: minmax(120px, 0.34fr) minmax(0, 1.66fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
  border-bottom: 1px solid rgba(255, 255, 255, 0.17);
}

.schedule-list time {
  color: var(--marigold);
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.schedule-list time span {
  font-family: var(--sans);
  font-size: 0.55rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.schedule-list h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.65rem, 2.8vw, 2.8rem);
  font-weight: 400;
  letter-spacing: -0.035em;
}

.schedule-list p {
  margin: 0.7rem 0 0;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.7;
}

.schedule-list .schedule-celebration {
  position: relative;
  margin-top: 1rem;
  border: 0;
  padding-right: clamp(1.5rem, 4vw, 4rem);
  padding-left: clamp(1.5rem, 4vw, 4rem);
  background: var(--marigold);
  color: var(--ink-dark);
}

.schedule-celebration time {
  color: var(--ink-dark);
}

.schedule-celebration p {
  color: rgba(16, 44, 41, 0.72);
}

.wedding-party {
  padding-top: clamp(7rem, 12vw, 11rem);
  padding-bottom: clamp(7rem, 12vw, 11rem);
  background: var(--sky);
  overflow: hidden;
}

.party-heading {
  max-width: 930px;
  margin: 0 auto clamp(4rem, 8vw, 7rem);
  text-align: center;
}

.party-heading .eyebrow {
  margin-bottom: 1.3rem;
  color: var(--rust);
}

.party-heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.3rem, 7.4vw, 8rem);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.party-heading > p:last-child {
  max-width: 610px;
  margin: 2rem auto 0;
  color: #52615e;
  font-family: var(--serif);
  font-size: clamp(1.08rem, 1.8vw, 1.35rem);
  line-height: 1.6;
}

.party-layout {
  display: grid;
  min-height: 670px;
  grid-template-columns: minmax(220px, 0.76fr) minmax(360px, 1.15fr) minmax(220px, 0.76fr);
  gap: clamp(1rem, 2.4vw, 2.2rem);
  align-items: stretch;
}

.party-side {
  position: relative;
  display: flex;
  padding: clamp(2rem, 4vw, 4rem);
  justify-content: flex-end;
  flex-direction: column;
  border: 1px solid rgba(16, 44, 41, 0.23);
  background: rgba(255, 253, 248, 0.46);
  overflow: hidden;
}

.party-side .eyebrow {
  margin-bottom: 0.9rem;
  color: var(--rust);
}

.party-side h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.5rem, 4.2vw, 4.8rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.party-side > p:last-child {
  margin: 1.4rem 0 0;
  color: #56635f;
  line-height: 1.7;
}

.party-monogram {
  position: absolute;
  top: -0.12em;
  right: -0.03em;
  color: rgba(16, 44, 41, 0.07);
  font-family: var(--serif);
  font-size: clamp(12rem, 23vw, 24rem);
  line-height: 0.8;
}

.party-photo {
  position: relative;
  min-height: 670px;
  margin: 0;
  overflow: hidden;
}

.party-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: scale 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.party-photo:hover img {
  scale: 1.025;
}

.party-photo figcaption {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  background: rgba(255, 253, 248, 0.88);
  color: var(--ink-dark);
  padding: 0.9rem 1rem;
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.4;
  text-align: center;
  backdrop-filter: blur(12px);
}

.registry {
  display: grid;
  padding-top: clamp(6rem, 11vw, 10rem);
  padding-bottom: clamp(6rem, 11vw, 10rem);
  grid-template-columns: minmax(340px, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(3rem, 8vw, 9rem);
  align-items: center;
  background: var(--cream);
}

.registry-photo {
  position: relative;
  height: min(66vw, 720px);
  overflow: hidden;
}

.registry-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 47% center;
}

.registry-photo-label {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  background: rgba(255, 253, 248, 0.9);
  padding: 1rem 1.2rem;
  color: var(--ink-dark);
  font-size: 0.65rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.registry-copy .eyebrow {
  margin-bottom: 1.4rem;
  color: var(--rust);
}

.registry-copy h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.1rem, 6.4vw, 7rem);
  font-weight: 400;
  letter-spacing: -0.058em;
  line-height: 0.91;
}

.registry-copy > p:not(.eyebrow, .registry-signoff) {
  max-width: 690px;
  margin: 2rem 0 0;
  color: #59615e;
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.55vw, 1.3rem);
  line-height: 1.65;
}

.registry-signoff {
  margin: 2.6rem 0 0;
  color: var(--rust);
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-style: italic;
}

.registry-signoff span {
  color: var(--ink-dark);
  font-size: 0.58em;
  font-style: normal;
}

@media (max-width: 1100px) {
  .party-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .party-photo {
    grid-column: 1 / -1;
    grid-row: 1;
    min-height: 620px;
  }

  .party-side {
    min-height: 360px;
  }
}

@media (max-width: 980px) {
  .story-notes-heading {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .story-note-image {
    grid-template-columns: 1fr;
  }

  .story-note-image img {
    min-height: 360px;
  }

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

  .registry-photo {
    height: min(92vw, 700px);
  }
}

@media (max-width: 760px) {
  .countdown-feature {
    width: calc(100% - 1.5rem);
    margin-top: -1.4rem;
  }

  .welcome-closing {
    margin-left: 0;
  }

  .story-notes-grid {
    grid-template-columns: 1fr;
  }

  .story-note {
    min-height: 0;
  }

  .story-note-image img {
    min-height: 310px;
  }

  .timeline-heading {
    text-align: left;
  }

  .timeline-heading > p:last-child {
    margin-left: 0;
  }

  .timeline-track {
    padding-left: 2.8rem;
  }

  .timeline-track::before,
  .timeline-track::after {
    left: 0.75rem;
  }

  .timeline-event {
    display: block;
    min-height: 0;
    padding-bottom: 3.5rem;
  }

  .timeline-event time {
    width: auto;
    height: auto;
    margin: 0 0 1rem;
    align-items: baseline;
    justify-content: flex-start;
    flex-direction: row;
    gap: 0.45rem;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .timeline-event time::before {
    position: absolute;
    top: 0.0rem;
    left: -2.4rem;
    width: 12px;
    height: 12px;
    border: 2px solid var(--rust);
    border-radius: 50%;
    background: var(--paper);
    content: "";
  }

  .timeline-event time strong {
    font-family: var(--sans);
    font-size: 0.66rem;
    font-weight: 850;
    letter-spacing: 0.13em;
    order: 2;
  }

  .timeline-event time span {
    order: 1;
  }

  .timeline-event time span:last-child {
    order: 3;
  }

  .timeline-event-left .timeline-card,
  .timeline-event-right .timeline-card {
    text-align: left;
  }

  .timeline-card::after {
    display: none;
  }

  .timeline-engagement time {
    background: transparent;
  }

  .timeline-engagement time::before {
    background: var(--marigold);
  }

  .timeline-finale {
    width: calc(100% + 2.5rem);
    margin-left: -1.25rem;
  }

  .finale-date strong {
    font-size: clamp(8rem, 42vw, 13rem);
  }

  .schedule-list li {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .schedule-list time {
    font-size: 1rem;
    font-family: var(--sans);
    font-weight: 850;
    letter-spacing: 0.08em;
  }

  .schedule-list .schedule-celebration {
    padding: 1.7rem;
  }

  .party-layout {
    grid-template-columns: 1fr;
  }

  .party-photo {
    grid-column: auto;
    grid-row: auto;
    min-height: 520px;
    order: -1;
  }

  .party-side {
    min-height: 320px;
  }

  .registry-photo {
    height: min(118vw, 630px);
  }

  .rsvp-status {
    line-height: 1.5;
  }
}

@media (max-width: 520px) {
  .story-note-image img {
    min-height: 260px;
  }

  .timeline-card {
    padding: 1.5rem;
  }

  .finale-date {
    gap: 0.4rem;
  }

  .finale-date span {
    font-size: 0.55rem;
  }

  .party-photo {
    min-height: 440px;
  }
}

.party-heading > p:last-child {
  color: rgba(255, 253, 248, 0.84);
}
