@font-face {
  font-family: "Quincy";
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url("assets/fonts/quincy-light-italic.otf") format("opentype");
}

@font-face {
  font-family: "Quincy";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/quincy-regular.otf") format("opentype");
}

@font-face {
  font-family: "Quincy";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/quincy-italic.otf") format("opentype");
}

@font-face {
  font-family: "Quincy";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/quincy-bold.otf") format("opentype");
}

@font-face {
  font-family: "Nikahan";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/nikahan-script.woff2") format("woff2");
}

@font-face {
  font-family: "Woman Font";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/woman-regular.otf") format("opentype");
}

@font-face {
  font-family: "Woman Font";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/woman-italic.otf") format("opentype");
}

@font-face {
  font-family: "Woman Font";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/woman-bold.otf") format("opentype");
}

:root {
  --ink: #263024;
  --forest: #45513b;
  --sage: #7f8969;
  --moss: #626b4d;
  --ivory: #f8f5ee;
  --paper: #fffcf6;
  --blush: #dfa6a1;
  --lavender: #adbacc;
  --gold: #c6a364;
  --taupe: #b9ad9d;
  --display: "Quincy", Georgia, serif;
  --accent: "Nikahan", "Brush Script MT", cursive;
  --body: "Woman Font", Arial, sans-serif;
  --serif: var(--display);
  --sans: var(--body);
  --shadow: 0 24px 70px rgba(38, 48, 36, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

.section {
  position: relative;
  padding: clamp(5rem, 10vw, 9rem) max(1.5rem, calc((100vw - 1120px) / 2));
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--moss);
  font-family: var(--display);
  font-size: 0.68rem;
  font-style: italic;
  font-weight: 300;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.eyebrow.light {
  color: rgba(255, 252, 246, 0.85);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  line-height: 1;
}

.ornament {
  align-items: center;
  color: var(--gold);
  display: flex;
  gap: 0.9rem;
  justify-content: center;
  margin: 0 auto 2.4rem;
  max-width: 230px;
}

.ornament i {
  background: currentColor;
  height: 1px;
  opacity: 0.5;
  width: 74px;
}

.ornament b {
  font-size: 0.75rem;
  font-weight: 400;
}

.ornament.light {
  color: rgba(255, 252, 246, 0.8);
}

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

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

.hero {
  background: var(--forest);
  line-height: 0;
  position: relative;
}

.hero-photo {
  height: auto;
  width: 100%;
}

.blessing {
  background: #494e2f;
  color: var(--paper);
  text-align: center;
}

.blessing-intro > p {
  color: #e7e8da;
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.7vw, 2.25rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1.18;
  margin-bottom: 1.25rem;
}

.blessing-intro > p span {
  display: block;
}

.blessing-intro h2 {
  font-family: var(--accent);
  font-size: clamp(2.7rem, 5.4vw, 4.6rem);
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0;
  margin: 0;
}

.parents {
  align-items: stretch;
  display: grid;
  gap: clamp(2.2rem, 5vw, 5rem);
  grid-template-columns: 1fr 1px 1fr;
  margin: clamp(3.5rem, 7vw, 6rem) auto 0;
  max-width: 1000px;
}

.parent-divider {
  background: rgba(238, 228, 207, 0.34);
}

.parent-family {
  padding: 0 1rem;
}

.parent-family h3 {
  color: #fffaf0;
  font-family: var(--body);
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  font-style: normal;
  font-weight: 700;
  line-height: 1.3;
  margin: 0.35rem 0;
}

.parent-conjunction {
  color: #eee4cf;
  display: block;
  font-family: var(--body);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
  margin: 0.5rem 0;
}

.family-dash {
  background: var(--gold);
  display: block;
  height: 1px;
  margin: 1.4rem auto 1rem;
  opacity: 0.75;
  width: 42px;
}

.parent-family .remembered {
  color: #eee4cf;
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  font-style: italic;
}

.remembered span {
  color: var(--gold);
  font-size: 0.85em;
  margin-left: 0.25rem;
}

.story {
  background: #e7e8da;
  display: grid;
  min-height: clamp(560px, 72vw, 780px);
  overflow: hidden;
  place-items: center;
  text-align: center;
}

.story-badge {
  left: 50%;
  max-width: none;
  opacity: 0.09;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(72vw, 650px);
}

.story-copy {
  max-width: 1040px;
  position: relative;
  z-index: 1;
}

.story h2 {
  font-size: clamp(1.2rem, 3.85vw, 3.7rem);
  font-style: italic;
  letter-spacing: -0.025em;
  line-height: 1.18;
  margin: 0;
}

.story h2 span {
  display: block;
  white-space: nowrap;
}

.story-photo {
  background: #e7e8da;
  line-height: 0;
  overflow: hidden;
}

.story-photo img {
  height: auto;
  width: 100%;
}

.celebration {
  background:
    linear-gradient(rgba(22, 30, 20, 0.58), rgba(22, 30, 20, 0.7)),
    url("assets/fondo-reserva-fecha.png") center / cover no-repeat;
  color: var(--paper);
  overflow: hidden;
}

.date-layout {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 4vw, 3.25rem);
  margin: 0 auto;
  max-width: 760px;
  position: relative;
  text-align: center;
  z-index: 1;
}

.celebration::after {
  background: linear-gradient(180deg, rgba(69, 81, 59, 0.08), rgba(25, 34, 23, 0.18));
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.date-card,
.countdown {
  position: relative;
  width: 100%;
  z-index: 1;
}

.date-card {
  border: 0;
  padding: 0;
  text-align: center;
}

.date-script {
  color: #e7e8da;
  font-family: var(--accent);
  font-size: clamp(2.2rem, 5vw, 4.3rem);
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  margin: 0 0 1.2rem;
}

.date-details {
  color: #e8dfc9;
  font-family: var(--body);
  font-size: clamp(0.8rem, 2.15vw, 1.55rem);
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.4;
  margin: 0;
  text-transform: uppercase;
  white-space: nowrap;
}

.date-details .date-separator {
  color: rgba(255, 250, 240, 0.55);
  display: inline-block;
  margin: 0 0.5em;
}

.countdown {
  align-self: center;
  max-width: 680px;
}

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

.countdown-grid div {
  border-right: 1px solid rgba(246, 248, 219, 0.23);
  padding: 0.3rem;
  text-align: center;
}

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

.countdown-grid strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2rem, 3.8vw, 3.6rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1;
}

.countdown-grid span {
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.63rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.schedule-part {
  border-top: 1px solid rgba(238, 228, 207, 0.24);
  margin-top: clamp(5rem, 10vw, 9rem);
  padding-top: clamp(5rem, 9vw, 8rem);
  position: relative;
  z-index: 1;
}

.section-heading {
  margin: 0 auto clamp(3rem, 7vw, 5rem);
  max-width: 620px;
  text-align: center;
}

.section-heading h2 {
  font-size: clamp(2.4rem, 4.7vw, 4.2rem);
  letter-spacing: -0.04em;
  margin: 0;
}

.celebration .section-heading .eyebrow {
  color: #e8dfc9;
  font-family: var(--body);
  font-size: clamp(0.8rem, 2.15vw, 1.55rem);
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.celebration .section-heading h2 {
  color: #e7e8da;
  font-family: var(--accent);
  font-size: clamp(2.2rem, 5vw, 4.3rem);
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
}

.event-quadrant {
  align-items: stretch;
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  margin: 0 auto;
  max-width: 880px;
}

.event-panel {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 0 clamp(1.5rem, 5vw, 4.5rem);
  text-align: center;
}

.event-divider {
  align-self: stretch;
  background: rgba(231, 232, 218, 0.3);
  min-height: 220px;
  width: 1px;
}

.event-icon {
  fill: none;
  filter: url("#pen-sketch");
  height: clamp(76px, 8.5vw, 100px);
  margin-bottom: 1.2rem;
  stroke: #e7e8da;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
  width: clamp(96px, 10vw, 120px);
}

.event-icon path,
.hotel-illustration path {
  vector-effect: non-scaling-stroke;
}

.event-time {
  color: #fff;
  font-family: var(--accent);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  margin: 0 0 0.8rem;
  text-align: center;
}

.event-time small {
  font-size: 0.52em;
  font-style: normal;
}

.event-label {
  color: #e8dfc9;
  font-family: var(--body);
  font-size: clamp(0.76rem, 1.35vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.3;
  margin: 0;
  text-transform: uppercase;
}

.venue-details {
  border-top: 1px solid rgba(231, 232, 218, 0.24);
  margin: clamp(5rem, 10vw, 8rem) auto 0;
  max-width: 900px;
  padding-top: clamp(5rem, 9vw, 7rem);
  text-align: center;
}

.venue-kicker {
  color: #e8dfc9;
  font-family: var(--body);
  font-size: clamp(0.8rem, 2.15vw, 1.55rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  margin: 0 0 1rem;
  text-transform: uppercase;
}

.venue-details h2,
.lodging-heading h2 {
  font-family: var(--accent);
  font-size: clamp(2.2rem, 5vw, 4.3rem);
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
  margin: 0;
}

.venue-details h2 {
  color: #e7e8da;
}

.venue-address {
  color: #fffaf0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.65;
  margin: 2rem 0 1.4rem;
}

.venue-note {
  color: rgba(255, 250, 240, 0.72);
  margin: 0 auto;
  max-width: 720px;
}

.venue-actions {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 210px);
  justify-content: center;
  margin-top: 2.5rem;
}

.important-details {
  background: #8b9669;
  color: #fffaf0;
  text-align: center;
}

.important-heading {
  margin: 0 auto;
  max-width: 840px;
}

.important-title {
  color: #e7e8da;
  font-family: var(--accent);
  font-size: clamp(2.2rem, 5vw, 4.3rem);
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
  margin: 0 0 1.2rem;
}

.important-subtitle {
  color: #f1ead8;
  font-family: var(--body);
  font-size: clamp(0.8rem, 2.15vw, 1.55rem);
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.4;
  margin: 0;
  text-transform: uppercase;
}

.attire-grid {
  align-items: stretch;
  display: grid;
  gap: clamp(1rem, 4vw, 3.5rem);
  grid-template-columns: 1fr 1px 1fr;
  margin: clamp(3.5rem, 7vw, 5.5rem) auto 0;
  max-width: 820px;
}

.attire-card {
  align-items: center;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.attire-divider {
  background: rgba(231, 232, 218, 0.34);
  width: 1px;
}

.attire-image {
  filter: brightness(0) invert(1);
  height: clamp(150px, 18vw, 200px);
  margin-bottom: 1.1rem;
  object-fit: contain;
  width: auto;
}

.attire-card h3 {
  color: #f1ead8;
  font-family: var(--body);
  font-size: clamp(0.85rem, 1.4vw, 1.05rem);
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin: 0 0 0.35rem;
  text-transform: uppercase;
}

.attire-type {
  color: #fffaf0;
  font-size: 0.95rem;
  margin: 0;
}

.attire-note {
  color: #f1ead8;
  font-family: var(--body);
  font-size: 0.72rem;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.04em;
  margin: 0.55rem 0 0;
  text-transform: uppercase;
}

.adults-note {
  margin: clamp(3rem, 6vw, 4.75rem) auto 0;
  max-width: 680px;
}

.adults-title {
  color: #fff;
  font-family: var(--accent);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  margin: 0 0 1rem;
}

.adults-copy {
  color: #e7e8da;
  font-family: var(--body);
  font-size: clamp(0.88rem, 1.5vw, 1.05rem);
  font-weight: 700;
  line-height: 1.6;
  margin: 0;
}

.lodging {
  background: #e7e8da;
}

.lodging-heading {
  margin-bottom: clamp(2rem, 4vw, 3rem);
  max-width: 760px;
}

.lodging-kicker {
  color: #626b4d;
  font-family: var(--body);
  font-size: clamp(0.8rem, 2.15vw, 1.55rem);
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 0 0 1rem;
  text-transform: uppercase;
}

.lodging-heading h2 {
  color: #494e2f;
}

.lodging-grid {
  display: grid;
  gap: clamp(0.8rem, 1.8vw, 1.25rem);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 980px;
}

.hotel-card {
  align-items: center;
  background-color: #fffdf8;
  background-image:
    radial-gradient(circle at 18% 22%, rgba(73, 78, 47, 0.055) 0 0.55px, transparent 0.9px),
    radial-gradient(circle at 76% 64%, rgba(110, 96, 76, 0.045) 0 0.65px, transparent 1px),
    repeating-linear-gradient(104deg, transparent 0 4px, rgba(120, 108, 89, 0.022) 5px 6px);
  background-size: 7px 7px, 11px 11px, auto;
  border: 1px solid rgba(96, 90, 75, 0.12);
  box-shadow:
    0 20px 42px rgba(38, 48, 36, 0.14),
    0 4px 10px rgba(38, 48, 36, 0.08);
  display: flex;
  flex-direction: column;
  min-height: 360px;
  padding: clamp(1.25rem, 2.5vw, 2rem) clamp(1rem, 2vw, 1.6rem);
  position: relative;
  text-align: center;
}

.hotel-card::before {
  background:
    repeating-radial-gradient(circle at 30% 40%, rgba(79, 70, 56, 0.08) 0 0.35px, transparent 0.6px 3px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.25), transparent 18%, rgba(102, 92, 74, 0.025) 52%, transparent 82%);
  content: "";
  inset: 0;
  mix-blend-mode: multiply;
  opacity: 0.42;
  pointer-events: none;
  position: absolute;
}

.hotel-card > * {
  position: relative;
  z-index: 1;
}

.hotel-illustration {
  color: #494e2f;
  height: 112px;
  margin-bottom: 0.4rem;
  width: 100%;
}

.hotel-illustration svg {
  fill: none;
  filter: url("#pen-sketch");
  height: 100%;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.75;
  width: 100%;
}

.event-icon .sketch-shade,
.hotel-illustration .sketch-shade {
  opacity: 0.72;
  stroke-width: 2.35;
}

.hotel-number {
  color: #9a8f7d;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 0 0 0.45rem;
}

.hotel-card h3 {
  color: #494e2f;
  font-size: clamp(1.15rem, 1.7vw, 1.5rem);
  letter-spacing: -0.015em;
  line-height: 1.1;
  margin: 0;
  min-height: 2.2em;
}

.hotel-address {
  color: #686f64;
  flex: 1;
  font-size: 0.78rem;
  letter-spacing: -0.005em;
  line-height: 1.45;
  margin: 0.75rem 0 1.1rem;
}

.venue-photo {
  background: #e7e8da;
  height: clamp(560px, 72vw, 900px);
  overflow: hidden;
}

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

.button {
  align-items: center;
  background: var(--forest);
  border: 1px solid var(--forest);
  color: white;
  display: inline-flex;
  font-size: 0.65rem;
  font-weight: 500;
  gap: 0.7rem;
  justify-content: center;
  letter-spacing: 0.16em;
  min-height: 52px;
  padding: 0.85rem 1.5rem;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover,
.button:focus-visible {
  background: transparent;
  color: var(--forest);
  transform: translateY(-2px);
}

.button svg {
  fill: none;
  height: 19px;
  stroke: currentColor;
  stroke-width: 1.5;
  width: 19px;
}

.venue-button {
  background: #e7e8da;
  border-color: #e7e8da;
  color: #494e2f;
  font-weight: 700;
}

.venue-button:hover,
.venue-button:focus-visible {
  background: transparent;
  color: #e7e8da;
}

.hotel-button {
  background: #7f8969;
  border-color: #7f8969;
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  min-height: 42px;
  padding: 0.65rem 1rem;
}

.hotel-button:hover,
.hotel-button:focus-visible {
  background: transparent;
  color: #494e2f;
}

.gift-registry {
  background: #494e2f;
  color: #e7e8da;
  text-align: center;
}

.registry-heading {
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
  max-width: 760px;
}

.registry-heading h2 {
  color: #fff;
  font-family: var(--accent);
  font-size: clamp(2.7rem, 5.5vw, 4.8rem);
  font-style: normal;
  font-weight: 400;
  line-height: 1.05;
  margin: 0 0 1.2rem;
}

.registry-heading p {
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  line-height: 1.6;
  margin: 0;
}

.registry-grid {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1080px;
}

.registry-card {
  align-items: center;
  color: #e7e8da;
  display: flex;
  flex-direction: column;
  min-height: 390px;
  padding: clamp(1.5rem, 2.5vw, 2.3rem) clamp(1rem, 2.4vw, 2rem);
}

.registry-card + .registry-card {
  border-left: 1px solid rgba(231, 232, 218, 0.35);
}

.registry-icon {
  fill: none;
  flex: 0 0 auto;
  filter: url("#pen-sketch");
  height: 76px;
  margin: 0 auto 1.5rem;
  stroke: #e7e8da;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
  width: 76px;
}

.registry-logo {
  height: 88px;
  margin: 0 auto;
  object-fit: contain;
  width: min(100%, 210px);
}

.amazon-logo {
  filter: brightness(0) invert(1);
  width: min(100%, 190px);
}

.liverpool-logo {
  filter: url("#liverpool-white");
  width: min(100%, 215px);
}

.registry-number {
  font-family: var(--body);
  font-size: 0.95rem;
  font-style: italic;
  margin: 0;
}

.registry-button {
  background: transparent;
  border-color: #e7e8da;
  color: #e7e8da;
  font-weight: 700;
  margin-top: auto;
  min-height: 44px;
  padding: 0.7rem 1.7rem;
}

.registry-button:hover,
.registry-button:focus-visible {
  background: #e7e8da;
  color: #494e2f;
}

.registry-transfer .registry-icon {
  margin-bottom: 1rem;
}

.registry-transfer h3 {
  color: #fff;
  font-size: clamp(1.7rem, 2.3vw, 2.15rem);
  margin: 0 0 1.25rem;
}

.transfer-details {
  margin: 0;
  width: 100%;
}

.transfer-details div + div {
  margin-top: 0.65rem;
}

.transfer-details dt {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.transfer-details dd {
  font-size: clamp(0.77rem, 1.2vw, 0.9rem);
  line-height: 1.3;
  margin: 0.15rem 0 0;
  overflow-wrap: anywhere;
}

.transfer-note {
  font-size: 0.75rem;
  font-style: italic;
  line-height: 1.4;
  margin: auto 0 0;
  padding-top: 1rem;
}

.cash-gift {
  border-top: 1px solid rgba(231, 232, 218, 0.35);
  margin: clamp(3.5rem, 7vw, 5.5rem) auto 0;
  max-width: 800px;
  padding-top: clamp(2.5rem, 5vw, 3.75rem);
}

.cash-gift-icon {
  fill: none;
  filter: url("#pen-sketch");
  height: 64px;
  margin: 0 auto 1rem;
  stroke: #e7e8da;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  width: 90px;
}

.cash-gift h3 {
  color: #fff;
  font-family: var(--accent);
  font-size: clamp(2.3rem, 4.4vw, 3.7rem);
  font-style: normal;
  font-weight: 400;
  margin: 0 0 0.65rem;
}

.cash-gift p {
  font-size: clamp(0.85rem, 1.4vw, 1rem);
  line-height: 1.5;
  margin: 0;
}

.closing {
  align-items: center;
  color: white;
  display: flex;
  justify-content: center;
  min-height: 820px;
  overflow: hidden;
  text-align: center;
}

.closing-photo,
.closing-overlay {
  inset: 0;
  position: absolute;
}

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

.closing-overlay {
  background: linear-gradient(180deg, rgba(28, 35, 24, 0.28), rgba(27, 33, 24, 0.82));
}

.closing-content {
  max-width: 860px;
  position: relative;
  z-index: 1;
}

.closing-content h2 {
  color: #fff;
  font-family: var(--accent);
  font-size: clamp(2.6rem, 5vw, 4.5rem);
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.12;
  margin: 0 0 1.5rem;
}

.closing-rsvp-note {
  font-family: var(--body);
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  font-style: italic;
  line-height: 1.45;
  margin: 0;
}

.closing-content > strong {
  color: #f0d697;
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  margin-top: 0.5rem;
  text-transform: uppercase;
}

.closing-button {
  font-size: 0.7rem;
  margin-top: 2rem;
  min-height: 46px;
}

.closing-badge {
  height: auto;
  margin: 2.5rem auto 0;
  width: clamp(130px, 16vw, 185px);
}

footer {
  align-items: center;
  background: #494e2f;
  color: rgba(255, 255, 255, 0.72);
  display: flex;
  justify-content: space-between;
  min-height: 110px;
  padding: 2rem max(1.5rem, calc((100vw - 1120px) / 2));
}

footer p {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-style: italic;
  font-weight: 300;
  margin: 0;
}

footer span {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
}

.ambient-lights {
  inset: 0;
  pointer-events: none;
  position: fixed;
  z-index: 20;
}

.ambient-lights span {
  animation: glow-float 9s ease-in-out infinite;
  background: #ffe8a7;
  border-radius: 50%;
  box-shadow: 0 0 8px #fff4c7, 0 0 18px rgba(255, 225, 137, 0.8);
  height: 3px;
  left: var(--x);
  opacity: 0;
  position: absolute;
  top: var(--y);
  width: 3px;
}

.ambient-lights span:nth-child(1) { --x: 8%; --y: 18%; animation-delay: -1s; }
.ambient-lights span:nth-child(2) { --x: 18%; --y: 70%; animation-delay: -6s; }
.ambient-lights span:nth-child(3) { --x: 32%; --y: 38%; animation-delay: -3s; }
.ambient-lights span:nth-child(4) { --x: 46%; --y: 84%; animation-delay: -8s; }
.ambient-lights span:nth-child(5) { --x: 59%; --y: 16%; animation-delay: -4s; }
.ambient-lights span:nth-child(6) { --x: 68%; --y: 61%; animation-delay: -7s; }
.ambient-lights span:nth-child(7) { --x: 79%; --y: 32%; animation-delay: -2s; }
.ambient-lights span:nth-child(8) { --x: 91%; --y: 76%; animation-delay: -5s; }
.ambient-lights span:nth-child(9) { --x: 52%; --y: 48%; animation-delay: -9s; }
.ambient-lights span:nth-child(10) { --x: 87%; --y: 12%; animation-delay: 0s; }

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

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

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

@keyframes glow-float {
  0%, 100% { opacity: 0; transform: translate(0, 12px) scale(0.6); }
  35% { opacity: 0.75; }
  65% { opacity: 0.35; transform: translate(12px, -18px) scale(1); }
}

@media (max-width: 820px) {
  .hero {
    padding: 0;
  }

  .story {
    min-height: 620px;
  }

  .countdown {
    padding-bottom: 1rem;
  }

  .venue-photo {
    height: 560px;
  }

  .venue-photo img {
    height: 560px;
    object-position: center 30%;
    width: 100%;
  }

  .lodging-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
  }

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

  .registry-grid {
    gap: 0;
    grid-template-columns: 1fr;
    max-width: 460px;
  }

  .registry-card {
    min-height: 0;
    padding: 2rem 1.25rem;
  }

  .registry-card + .registry-card {
    border-left: 0;
    border-top: 1px solid rgba(231, 232, 218, 0.35);
  }

  .registry-button {
    margin-top: 1.5rem;
  }

  .transfer-note {
    margin-top: 1rem;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  .hero {
    overflow: hidden;
  }

  .hero-photo {
    margin-left: -8%;
    max-width: none;
    width: 116%;
  }

  .section {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .eyebrow {
    font-size: 0.78rem;
    letter-spacing: 0.16em;
  }

  .blessing {
    padding-bottom: 5.5rem;
    padding-top: 5.5rem;
  }

  .parents {
    gap: 2.7rem;
    grid-template-columns: 1fr;
  }

  .parent-divider {
    height: 1px;
    margin: 0 auto;
    width: 76px;
  }

  .parent-family {
    padding: 0;
  }

  .story {
    min-height: clamp(400px, 112vw, 450px);
  }

  .story-badge {
    opacity: 0.11;
    width: min(104vw, 430px);
  }

  .story-copy {
    max-width: 420px;
    width: 100%;
  }

  .story h2 {
    font-size: clamp(1.8rem, 7vw, 2.15rem);
    line-height: 1.25;
    text-wrap: balance;
  }

  .story h2 span {
    white-space: normal;
  }

  .story-photo img {
    margin-left: -24%;
    margin-top: -8%;
    max-width: none;
    width: 140%;
  }

  .story-photo {
    aspect-ratio: 1.2;
  }

  .date-details,
  .celebration .section-heading .eyebrow,
  .venue-kicker,
  .important-subtitle,
  .lodging-kicker {
    font-size: 0.78rem;
    letter-spacing: 0.04em;
  }

  .date-details {
    text-wrap: balance;
    white-space: normal;
  }

  .countdown-grid strong {
    font-size: 2.1rem;
  }

  .countdown-grid span {
    font-size: 0.7rem;
  }

  .schedule-part {
    margin-top: 5rem;
    padding-top: 5rem;
  }

  .event-panel {
    padding-inline: 0.65rem;
  }

  .event-divider {
    min-height: 190px;
  }

  .event-icon {
    height: 68px;
    width: 80px;
  }

  .event-time {
    font-size: 2rem;
  }

  .event-label {
    font-size: 0.76rem;
    letter-spacing: 0.04em;
  }

  .attire-grid {
    gap: 0.75rem;
    margin-top: 3rem;
  }

  .attire-image {
    height: 135px;
    margin-bottom: 0.85rem;
    max-width: 110px;
  }

  .attire-card h3 {
    font-size: 0.86rem;
    letter-spacing: 0.06em;
  }

  .attire-type {
    font-size: 0.94rem;
  }

  .attire-note {
    font-size: 0.75rem;
  }

  .adults-note {
    margin-top: 2.75rem;
    padding-inline: 0.75rem;
  }

  .adults-title {
    font-size: 2rem;
    margin-bottom: 0.75rem;
  }

  .adults-copy {
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .venue-address {
    font-size: 0.9rem;
  }

  .venue-note {
    font-size: 0.88rem;
  }

  .venue-actions {
    gap: 0.65rem;
    grid-template-columns: minmax(0, 210px);
  }

  .venue-button {
    font-size: 0.76rem;
    letter-spacing: 0.07em;
    padding-inline: 0.5rem;
  }

  .hotel-number {
    font-size: 0.72rem;
  }

  .hotel-address {
    font-size: 0.9rem;
  }

  .hotel-button,
  .registry-button {
    font-size: 0.76rem;
  }

  .registry-logo {
    height: 64px;
  }

  .amazon-logo,
  .liverpool-logo {
    width: min(100%, 160px);
  }

  .registry-heading p,
  .cash-gift p {
    font-size: 0.98rem;
  }

  .transfer-details dt {
    font-size: 0.76rem;
  }

  .transfer-details dd {
    font-size: 0.9rem;
  }

  .transfer-note {
    font-size: 0.86rem;
  }

  .closing-rsvp-note {
    font-size: 1rem;
  }

  .closing-content > strong {
    font-size: 0.9rem;
    letter-spacing: 0.1em;
  }

  .closing-badge {
    width: clamp(155px, 43vw, 170px);
  }

  footer span {
    font-size: 0.76rem;
  }

  .venue-photo {
    height: 500px;
  }

  .venue-photo img {
    height: 500px;
  }

  .closing {
    min-height: 760px;
  }

  .closing-photo {
    object-position: 46% center;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.35rem;
  }
}

@media (max-width: 340px) {
  .date-details .date-day,
  .date-details .date-hour {
    display: block;
  }

  .date-details .date-day {
    font-size: 0.72rem;
    white-space: nowrap;
  }

  .date-details .date-separator {
    display: none;
  }
}

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

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