:root {
  --ice: #FDFEFF;
  --sky: #6EB7D6;
  --silver: #C9D3D8;
  --party-coral: #E79782;
  --party-coral-soft: #D99282;
  --party-sun: #F2C66D;
  --party-mint: #A8D6C9;
  --party-lilac: #BBA9D8;
  --paper: #FFF9F0;
  --muted: rgba(33, 68, 91, 0.7);
  --deep: #21445B;
  --white: #FDFEFF;
  --serif: 'Playfair Display', Georgia, serif;
  --readable-serif: 'Lora', Georgia, serif;
  --sans: 'Inter', Arial, sans-serif;
  --script: 'Pinyon Script', 'Brush Script MT', cursive;
  --shadow: 0 18px 44px rgba(33, 68, 91, 0.16);
  --shadow-soft: 0 10px 28px rgba(33, 68, 91, 0.11);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--deep);
  font-family: var(--serif);
  background:
    radial-gradient(circle at 6% 18%, rgba(201, 211, 216, 0.42), transparent 19rem),
    radial-gradient(circle at 94% 58%, rgba(203, 239, 252, 0.22), transparent 22rem),
    linear-gradient(180deg, rgba(201, 211, 216, 0.34) 0%, var(--ice) 30%, rgba(201, 211, 216, 0.28) 72%, var(--ice) 100%);
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.42;
  background-image: radial-gradient(rgba(33, 68, 91, 0.11) 0.7px, transparent 0.7px);
  background-size: 18px 18px;
}

body.lightbox-open { overflow: hidden; }

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

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

button { font: inherit; }

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

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  padding: 20px;
  overflow: hidden;
  isolation: isolate;
  color: var(--white);
  text-align: center;
  place-items: end center;
}

.hero__media,
.hero__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__media { z-index: -3; }

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__overlay {
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(33, 68, 91, 0.06) 18%, rgba(33, 68, 91, 0.2) 48%, rgba(33, 68, 91, 0.96) 100%),
    linear-gradient(90deg, rgba(33, 68, 91, 0.2), transparent 38%, transparent 68%, rgba(33, 68, 91, 0.2));
}

.hero__frame {
  position: absolute;
  inset: 14px;
  z-index: -1;
  border: 1px solid rgba(201, 211, 216, 0.82);
  pointer-events: none;
}

.hero__frame::before,
.hero__frame::after {
  content: '';
  position: absolute;
  width: 54px;
  height: 54px;
  border-color: var(--silver);
  border-style: solid;
}

.hero__frame::before {
  top: -5px;
  left: -5px;
  border-width: 3px 0 0 3px;
}

.hero__frame::after {
  right: -5px;
  bottom: -5px;
  border-width: 0 3px 3px 0;
}

.hero__content {
  width: 100%;
  max-width: 680px;
  min-width: 0;
  padding: 26px 4px clamp(30px, 7vh, 64px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--deep);
  font-family: var(--sans);
  font-size: 0.69rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow--light { color: var(--silver); }

.hero h1 {
  margin: 0;
  font-family: var(--script);
  font-size: clamp(3.15rem, 16vw, 8.2rem);
  font-weight: 400;
  line-height: 0.8;
  white-space: nowrap;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.35);
}

.hero__phrase {
  margin: 20px auto 9px;
  font-size: clamp(1.05rem, 4.8vw, 1.55rem);
  line-height: 1.35;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.hero__date {
  margin: 0 auto 22px;
  font-family: var(--sans);
  font-size: clamp(0.67rem, 2.8vw, 0.82rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-transform: uppercase;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.025em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.btn svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.btn:active { transform: scale(0.98); }

.btn--glass {
  min-width: 184px;
  border-color: rgba(201, 211, 216, 0.76);
  background: rgba(253, 254, 255, 0.1);
  box-shadow: 0 10px 28px rgba(33, 68, 91, 0.24);
  backdrop-filter: blur(8px);
}

.btn--primary { background: var(--deep); box-shadow: 0 12px 26px rgba(33, 68, 91, 0.28); }
.btn--ice { color: var(--deep); border-color: var(--silver); background: var(--ice); box-shadow: 0 12px 28px rgba(33, 68, 91, 0.24); }
.btn--secondary { color: var(--deep); border-color: var(--silver); background: rgba(253, 254, 255, 0.4); }

.content {
  position: relative;
  width: min(980px, 100%);
  margin: 0 auto;
  padding: 0 16px 28px;
}

.section {
  position: relative;
  margin: 0 auto;
  padding: 48px 0;
  text-align: center;
}

.save-date { padding-top: 52px; padding-bottom: 58px; }

.save-date__visual {
  position: relative;
  width: min(84vw, 360px);
  margin: 0 auto 34px;
}

.save-date__photo {
  position: relative;
  z-index: 1;
  margin: 0;
  aspect-ratio: 3 / 4;
  padding: 0;
  overflow: hidden;
  border: 6px solid var(--ice);
  border-radius: 48% 48% 18px 18px;
  background: var(--ice);
  box-shadow: 0 18px 42px rgba(33, 68, 91, 0.2);
}

.save-date__photo img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
  object-position: center center;
  cursor: zoom-in;
}

.save-date__outline {
  position: absolute;
  inset: -10px;
  border: 1px solid var(--silver);
  border-radius: 48% 48% 18px 18px;
}

.save-date__number {
  position: absolute;
  right: -10px;
  bottom: -25px;
  z-index: 2;
  display: grid;
  width: 64px;
  height: 64px;
  border: 4px solid var(--ice);
  border-radius: 50%;
  color: var(--white);
  background: var(--deep);
  box-shadow: var(--shadow-soft);
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 700;
  place-items: center;
}

.script-name {
  margin: 0;
  font-family: var(--script);
  font-size: clamp(4rem, 17vw, 6.6rem);
  font-weight: 400;
  line-height: 0.88;
}

.ornament,
.dress__lines {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 20px auto 0;
}

.ornament span,
.dress__lines span {
  width: min(82px, 22vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--silver));
}

.ornament span:last-child,
.dress__lines span:last-child { transform: rotate(180deg); }

.ornament i,
.dress__lines i {
  width: 7px;
  height: 7px;
  border: 1px solid var(--silver);
  transform: rotate(45deg);
}

.date-section { padding: 44px 0 54px; }

.date-display {
  position: relative;
  width: min(360px, 100%);
  margin: 0 auto;
  padding: 26px 20px 24px;
  border: 1px solid rgba(201, 211, 216, 0.58);
  border-radius: 24px 4px 24px 4px;
  background: linear-gradient(145deg, rgba(253, 254, 255, 0.88), rgba(201, 211, 216, 0.18));
  box-shadow: 0 16px 36px rgba(33, 68, 91, 0.08);
}

.date-display::before,
.date-display::after {
  content: '';
  position: absolute;
  width: 82px;
  height: 82px;
  border-color: var(--silver);
  border-style: solid;
}

.date-display::before { top: 0; left: 0; border-width: 2px 0 0 2px; }
.date-display::after { right: 0; bottom: 0; border-width: 0 2px 2px 0; }

.date-display__top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.69rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.date-display__line { height: 1px; background: var(--silver); }

.date-display__center {
  margin: 16px auto 18px;
  color: var(--deep);
  text-transform: uppercase;
}

.date-display__month {
  margin: -4px 0 0;
  font-size: clamp(1.55rem, 7.5vw, 2.25rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.1;
}

.date-display__day {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(6.8rem, 36vw, 9.5rem);
  font-weight: 600;
  letter-spacing: -0.07em;
  line-height: 0.8;
}

.date-display__month span,
.date-display__year span {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.48em;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.date-display__month strong,
.date-display__year strong { font: inherit; }

.date-display__year {
  margin: 8px 0 0;
  color: var(--deep);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.2;
}

.date-display__caption {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-style: italic;
}

.countdown-section {
  width: calc(100% + 32px);
  margin-left: -16px;
  padding: 39px max(12px, calc((100% - 720px) / 2));
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 12% 10%, rgba(201, 211, 216, 0.18), transparent 30%),
    linear-gradient(135deg, var(--deep), var(--deep));
}

.countdown-section::after {
  content: '';
  position: absolute;
  right: -42px;
  bottom: -62px;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(201, 211, 216, 0.28);
  border-radius: 50%;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(680px, 100%);
  margin: 0 auto;
  border-block: 1px solid rgba(201, 211, 216, 0.48);
}

.countdown__item {
  position: relative;
  min-width: 0;
  padding: 17px 2px 15px;
}

.countdown__item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 20%;
  right: 0;
  width: 1px;
  height: 60%;
  background: rgba(201, 211, 216, 0.46);
}

.countdown__item strong {
  display: block;
  font-family: var(--sans);
  font-size: clamp(1.55rem, 8.5vw, 3.4rem);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.countdown__item span {
  display: block;
  margin-top: 8px;
  color: var(--silver);
  font-family: var(--sans);
  font-size: clamp(0.5rem, 2.2vw, 0.68rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.countdown__message {
  min-height: 18px;
  margin: 16px 0 0;
  color: rgba(253, 254, 255, 0.76);
  font-family: var(--sans);
  font-size: 0.79rem;
}

.reception { padding: 62px 18px 54px; }

.reception::before {
  content: '';
  position: absolute;
  inset: 32px 0 26px;
  z-index: -1;
  border: 1px solid rgba(201, 211, 216, 0.92);
  border-radius: 50% 50% 20px 20px / 18% 18% 20px 20px;
  background: rgba(253, 254, 255, 0.7);
}

.reception__icon {
  display: grid;
  width: 52px;
  height: 52px;
  margin: 0 auto 20px;
  border-radius: 50%;
  color: var(--deep);
  background: var(--silver);
  box-shadow: 0 0 0 8px rgba(201, 211, 216, 0.28);
  place-items: center;
}

.reception__icon svg {
  width: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.reception__time {
  margin: 0;
  color: var(--sky);
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.reception__rule { width: 1px; height: 34px; margin: 14px auto; background: var(--silver); }

.reception h2 {
  margin: 0;
  font-size: clamp(2.45rem, 12vw, 4.4rem);
  font-weight: 600;
  line-height: 1;
}

.address,
.normal-text {
  font-family: var(--sans);
  line-height: 1.65;
}

.address { margin: 12px 0 24px; color: var(--muted); font-size: 0.88rem; }

.attendance {
  width: min(720px, calc(100% + 8px));
  margin-inline: auto;
  padding: 44px 24px;
  overflow: hidden;
  color: var(--white);
  border: 1px solid rgba(201, 211, 216, 0.34);
  border-radius: 24px 4px 24px 4px;
  background:
    linear-gradient(135deg, rgba(110, 183, 214, 0.2), transparent 62%),
    var(--deep);
  box-shadow: var(--shadow);
}

.attendance::before {
  content: '';
  position: absolute;
  top: -70px;
  right: -56px;
  width: 160px;
  height: 160px;
  border: 24px solid rgba(201, 211, 216, 0.1);
  border-radius: 50%;
}

.attendance__copy,
.attendance .btn { position: relative; z-index: 1; }

.attendance h2 {
  margin: 0;
  font-size: clamp(2rem, 10vw, 3.4rem);
  font-weight: 600;
}

.attendance p:not(.eyebrow) {
  width: min(390px, 100%);
  margin: 11px auto 24px;
  color: rgba(253, 254, 255, 0.8);
  font-family: var(--sans);
  font-size: 0.86rem;
  line-height: 1.65;
}

.attendance .btn {
  width: min(270px, 100%);
  border-color: var(--silver);
  color: var(--deep);
  background: var(--ice);
  white-space: nowrap;
}

.attendance .btn svg {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  fill: currentColor;
  stroke: none;
}

.gift {
  padding: 58px 14px 50px;
  border-top: 1px solid rgba(201, 211, 216, 0.48);
  border-bottom: 1px solid rgba(201, 211, 216, 0.48);
  background: linear-gradient(180deg, rgba(203, 239, 252, 0.14), rgba(253, 254, 255, 0));
}

.gift .eyebrow {
  margin-bottom: 16px;
  color: var(--party-coral-soft);
  font-family: var(--serif);
  font-size: clamp(2rem, 9vw, 3rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: none;
}

.normal-text {
  width: min(510px, 100%);
  margin: 14px auto 22px;
  color: var(--muted);
  font-size: 0.87rem;
}

.gift .normal-text {
  width: min(520px, 100%);
  margin: 0 auto 26px;
  color: var(--deep);
  font-family: var(--readable-serif);
  font-size: clamp(0.98rem, 3.8vw, 1.12rem);
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.65;
}

.alias-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(390px, 100%);
  margin: 0 auto 16px;
  padding: 15px 18px;
  border: 1px solid var(--silver);
  border-radius: 4px 18px 4px 18px;
  text-align: left;
  background: rgba(201, 211, 216, 0.25);
}

.alias-box span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.61rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.alias-box strong {
  font-family: var(--sans);
  font-size: 1.08rem;
  letter-spacing: 0.06em;
}

.alias-copy {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(33, 68, 91, 0.22);
  border-radius: 50%;
  color: var(--deep);
  background: rgba(253, 254, 255, 0.55);
  cursor: pointer;
  place-items: center;
  transition: color 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}

.alias-copy svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.copy-feedback {
  display: block;
  min-height: 18px;
  margin-top: 9px;
  color: var(--deep);
  font-family: var(--sans);
  font-size: 0.73rem;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.copy-feedback.show { opacity: 1; transform: translateY(0); }

.dress {
  width: calc(100% + 32px);
  margin-left: -16px;
  padding: 54px 18px;
  color: var(--white);
  background:
    linear-gradient(rgba(201, 211, 216, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 211, 216, 0.09) 1px, transparent 1px),
    var(--deep);
  background-size: 24px 24px;
  box-shadow: inset 0 1px 0 rgba(201, 211, 216, 0.18), inset 0 -1px 0 rgba(201, 211, 216, 0.18);
}

.dress__name {
  margin: 5px 0 0;
  font-family: var(--serif);
  font-size: clamp(2.3rem, 13vw, 5rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: uppercase;
}

.dress__lines span { background: linear-gradient(90deg, transparent, var(--silver)); }
.dress__lines i { border-color: var(--silver); }

.gallery-section {
  position: relative;
  isolation: isolate;
  width: 100%;
  margin: clamp(32px, 5vw, 52px) 0 0;
  padding: 56px 14px 48px;
  overflow: hidden;
  color: var(--deep);
  border: 1px solid rgba(33, 68, 91, 0.16);
  border-radius: 30px 6px 30px 6px;
  background:
    radial-gradient(circle at 12% 18%, rgba(231, 151, 130, 0.24) 0 4px, transparent 5px) 0 0 / 104px 92px,
    radial-gradient(circle at 78% 32%, rgba(242, 198, 109, 0.28) 0 5px, transparent 6px) 18px 12px / 126px 114px,
    radial-gradient(circle at 42% 88%, rgba(168, 214, 201, 0.28) 0 4px, transparent 5px) 12px 22px / 140px 118px,
    linear-gradient(145deg, #FFFDF9, var(--paper));
  box-shadow: 0 22px 48px rgba(33, 68, 91, 0.12);
}

.gallery-section::before,
.gallery-section::after {
  content: '';
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.gallery-section::before {
  top: 18px;
  left: 8%;
  right: 8%;
  z-index: 0;
  height: 36px;
  border-top: 1px solid rgba(33, 68, 91, 0.16);
  background:
    radial-gradient(circle at 8% 12px, var(--party-coral) 0 5px, transparent 5.8px),
    radial-gradient(circle at 24% 24px, var(--party-sun) 0 5px, transparent 5.8px),
    radial-gradient(circle at 40% 12px, var(--party-mint) 0 5px, transparent 5.8px),
    radial-gradient(circle at 56% 24px, var(--party-lilac) 0 5px, transparent 5.8px),
    radial-gradient(circle at 72% 12px, var(--party-coral) 0 5px, transparent 5.8px),
    radial-gradient(circle at 88% 24px, var(--party-sun) 0 5px, transparent 5.8px);
}

.gallery-section::after {
  top: 86px;
  right: -38px;
  z-index: 0;
  width: 150px;
  height: 260px;
  border: 2px solid rgba(231, 151, 130, 0.25);
  border-radius: 52% 48% 45% 55%;
  transform: rotate(14deg);
  box-shadow: 0 0 0 14px rgba(242, 198, 109, 0.1), 0 0 0 28px rgba(168, 214, 201, 0.08);
}

.gallery-section__heading {
  position: relative;
  z-index: 1;
  width: min(620px, 100%);
  margin: 0 auto 34px;
  text-align: center;
}

.gallery-section__heading::before,
.gallery-section__heading::after {
  content: '';
  position: absolute;
  top: 52%;
  width: 54px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--party-coral));
}

.gallery-section__heading::before { left: 0; }
.gallery-section__heading::after { right: 0; transform: rotate(180deg); }

.gallery-section .eyebrow {
  margin-bottom: 10px;
  color: var(--party-coral);
}

.gallery-section h2 {
  margin: 0;
  color: var(--deep);
  font-size: clamp(2.3rem, 10vw, 4rem);
  font-weight: 600;
  line-height: 1;
}

.gallery-section__intro {
  margin: 12px 0 0;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: 0.03em;
}

.gallery {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  width: min(900px, 100%);
  margin: 0 auto;
}

.gallery__item {
  position: relative;
  aspect-ratio: 3 / 4;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 7px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(201, 211, 216, 0.72);
  border-radius: 22px 6px 22px 6px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(236, 229, 216, 0.9));
  box-shadow: 0 14px 28px rgba(33, 68, 91, 0.16);
}

.gallery__item::before {
  content: '';
  position: absolute;
  inset: 5px;
  z-index: 2;
  pointer-events: none;
  border: 1px solid rgba(33, 68, 91, 0.24);
  border-radius: 16px 3px 16px 3px;
}

.gallery__item::after {
  content: '';
  position: absolute;
  right: -18px;
  bottom: -18px;
  z-index: 3;
  width: 48px;
  height: 48px;
  pointer-events: none;
  border: 1px solid rgba(201, 211, 216, 0.5);
  border-radius: 50%;
}

.gallery__item img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  background: linear-gradient(145deg, #F7F0E4, #EAF2EF);
  border-radius: 16px 3px 16px 3px;
  object-fit: contain;
  object-position: center;
  cursor: zoom-in;
  transition: filter 0.4s ease;
}

.closing { padding: 54px 12px 44px; }

.closing__ornament {
  display: block;
  width: 9px;
  height: 9px;
  margin: 0 auto 24px;
  border: 1px solid var(--silver);
  transform: rotate(45deg);
  box-shadow: 0 0 0 7px rgba(201, 211, 216, 0.22);
}

.closing__text {
  width: min(520px, 100%);
  margin: 0 auto 16px;
  font-size: clamp(1.45rem, 7vw, 2.3rem);
  line-height: 1.35;
}

.signature {
  margin: 0;
  color: var(--deep);
  font-family: var(--script);
  font-size: clamp(4rem, 18vw, 7rem);
  line-height: 0.9;
}

.footer {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 16px 30px;
  border-top: 1px solid rgba(201, 211, 216, 0.9);
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.69rem;
  text-align: center;
}

.footer p { margin: 0; opacity: 0.8; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 62px 14px 18px;
  visibility: hidden;
  background: rgba(20, 37, 48, 0.96);
  opacity: 0;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.lightbox.open { visibility: visible; opacity: 1; }

.lightbox img {
  width: auto;
  max-width: 100%;
  max-height: calc(100svh - 82px);
  border: 4px solid rgba(201, 211, 216, 0.96);
  border-radius: 12px;
  object-fit: contain;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
}

.lightbox__close {
  position: absolute;
  top: max(12px, env(safe-area-inset-top));
  right: 14px;
  display: grid;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(201, 211, 216, 0.62);
  border-radius: 50%;
  color: var(--white);
  background: rgba(201, 211, 216, 0.12);
  font-family: var(--sans);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  place-items: center;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.show { opacity: 1; transform: translateY(0); }

@media (min-width: 560px) {
  .content { padding-inline: 24px; }
  .countdown-section,
  .dress { width: calc(100% + 48px); margin-left: -24px; }
  .gallery-section { padding-inline: 24px; }
  .attendance { padding-inline: 44px; }
  .gallery { gap: 18px; }
  .gallery__item img { min-height: 260px; }
}

@media (min-width: 760px) {
  .hero { padding: 30px; place-items: end center; }
  .hero__image { object-position: center; }
  .hero__frame { inset: 24px; }
  .hero__content { padding-bottom: 7vh; }
  .section { padding-block: 72px; }
  .save-date { display: grid; grid-template-columns: minmax(280px, 390px) minmax(260px, 1fr); align-items: center; gap: 70px; text-align: left; }
  .save-date__visual { width: 100%; margin: 0; }
  .save-date__copy .ornament { justify-content: flex-start; }
  .countdown-section { border-radius: 28px 4px 28px 4px; }
  .reception { width: min(620px, 100%); }
  .attendance { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 32px; text-align: left; }
  .attendance p:not(.eyebrow) { margin: 10px 0 0; }
  .attendance .btn { justify-self: end; }
  .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .gallery__item img { min-height: 0; }
}

@media (min-width: 1100px) {
  .hero__content { padding-bottom: 6vh; }
  .content { padding-bottom: 44px; }
}

@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-2px); box-shadow: 0 15px 32px rgba(33, 68, 91, 0.28); }
  .btn--glass:hover { background: rgba(201, 211, 216, 0.2); }
  .btn--secondary:hover { color: var(--white); background: var(--deep); }
  .alias-copy:hover { color: var(--white); background: var(--deep); transform: translateY(-2px); }
  .gallery__item:hover img { filter: brightness(1.05); }
}

@media (max-width: 359px) {
  .hero { padding-inline: 16px; }
  .hero__frame { inset: 10px; }
  .hero h1 { font-size: clamp(3rem, 16vw, 3.2rem); }
  .content { padding-inline: 12px; }
  .countdown-section,
  .dress { width: calc(100% + 24px); margin-left: -12px; }
  .countdown-section { padding-inline: 8px; }
  .countdown__item strong { font-size: 1.5rem; }
  .countdown__item span { letter-spacing: 0.04em; }
  .reception { padding-inline: 13px; }
  .attendance { padding-inline: 18px; }
  .attendance .btn { width: 100%; white-space: normal; }
  .alias-box { padding-inline: 14px; }
  .gallery { gap: 8px; }
  .gallery__item { padding: 4px; }
  .gallery__item img { min-height: 168px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
