:root {
  --forest-950: #11170f;
  --forest-900: #182315;
  --forest-800: #25331f;
  --forest-700: #394932;
  --paper: #f4efe5;
  --paper-warm: #ebe2d3;
  --paper-deep: #d7c7ad;
  --ink: #25231e;
  --muted: #756c5e;
  --line: rgba(37, 35, 30, 0.18);
  --white-ink: #f8f0e2;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --script: "Pinyon Script", "Cormorant Garamond", cursive;
  --pad: clamp(24px, 5vw, 74px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: var(--paper); }
body {
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 6%, rgba(255,255,255,0.74), transparent 27rem),
    linear-gradient(90deg, rgba(38,32,23,0.035) 1px, transparent 1px),
    var(--paper);
  background-size: auto, 4px 4px, auto;
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.68;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
strong { font-weight: 500; }
address { font-style: normal; }

::selection { background: var(--forest-800); color: var(--paper); }

.micro {
  font: 400 0.68rem/1.25 var(--sans);
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--muted);
}
.micro--light { color: rgba(248,240,226,.68); }
.hand { font-family: var(--script); font-weight: 400; letter-spacing: .01em; line-height: .9; }
.signature { margin-top: 1rem; font-family: var(--script); font-size: 1.65rem; color: var(--forest-700); }

h1, h2, h3 { font-family: var(--serif); font-weight: 300; line-height: .96; letter-spacing: .045em; }
h2 { font-size: clamp(2.7rem, 5.5vw, 5.4rem); margin: .8rem 0 1.35rem; }
h2 .hand { display: inline-block; font-size: .72em; color: var(--forest-700); letter-spacing: 0; }
h3 { font-size: clamp(1.8rem, 2.8vw, 2.55rem); }

.paper { position: relative; isolation: isolate; }
.paper::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .28;
  background:
    linear-gradient(90deg, rgba(23,28,21,.04) 1px, transparent 1px),
    radial-gradient(circle at 80% 10%, rgba(255,255,255,.66), transparent 28rem);
  background-size: 5px 5px, auto;
  z-index: -1;
}
.paper::after {
  content: "";
  position: absolute;
  pointer-events: none;
  width: 124px;
  height: 210px;
  border-left: 1px solid rgba(57,73,50,.24);
  border-bottom: 1px solid rgba(57,73,50,.16);
  border-radius: 58% 0 45% 0;
  opacity: .55;
}

.photo { background: #cfc5b4; overflow: hidden; box-shadow: 0 24px 70px rgba(15,20,13,.18); }
.photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.78) contrast(1.05) brightness(.93); }
.photo--bw img { filter: grayscale(1) contrast(1.02) brightness(.82); }
.taped::before {
  content: "";
  position: absolute;
  z-index: 2;
  left: 50%; top: -14px;
  width: 112px; height: 28px;
  transform: translateX(-50%) rotate(-2deg);
  background: rgba(20,20,17,.75);
  box-shadow: 0 8px 18px rgba(0,0,0,.16);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 12px 24px;
  border: 1px solid currentColor;
  font: 400 .67rem/1 var(--sans);
  letter-spacing: .28em;
  text-transform: uppercase;
  transition: transform .22s ease, background .22s ease, color .22s ease;
}
.button:hover { transform: translateY(-2px); }
.button--light { color: var(--white-ink); }
.button--light:hover { background: var(--white-ink); color: var(--forest-900); }
.text-link { text-decoration: underline; text-underline-offset: 3px; }

/* HERO */
.hero {
  position: relative;
  min-height: 680px;
  height: 100svh;
  overflow: hidden;
  color: var(--white-ink);
  background: var(--forest-950);
}
.hero__image, .hero__shade { position: absolute; inset: 0; }
.hero__image {
  background-image: url("images/optimized/0095Dominika-Kuba-SN-2200.webp");
  background-size: cover;
  background-position: center 48%;
  filter: grayscale(.86) contrast(1.05) brightness(.72);
  transform: scale(1.01);
}
.hero__shade {
  background:
    linear-gradient(180deg, rgba(8,10,7,.48), rgba(8,10,7,.08) 37%, rgba(8,10,7,.42)),
    radial-gradient(circle at 52% 48%, rgba(0,0,0,0), rgba(0,0,0,.48) 74%),
    linear-gradient(90deg, rgba(10,14,9,.55), transparent 38%, rgba(10,14,9,.42));
}
.hero__nav {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  padding: 28px var(--pad);
  color: rgba(248,240,226,.84);
}
.hero__mark, .hero__date-small, .hero__links a {
  font: 400 .66rem/1 var(--sans);
  letter-spacing: .34em;
  text-transform: uppercase;
}
.hero__mark { justify-self: start; font-family: var(--serif); font-size: 1.05rem; }
.hero__date-small { justify-self: end; }
.hero__links { display: flex; gap: clamp(1.2rem, 4vw, 4rem); }
.hero__links a { opacity: .82; }
.hero__links a:hover { opacity: 1; }
.hero__title-card {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  width: min(1000px, calc(100% - 44px));
  margin: 0;
  transform: translate(-50%, -50%);
  text-align: center;
  text-shadow: 0 10px 34px rgba(0,0,0,.48);
}
.hero__title-card::before {
  content: "✳";
  display: block;
  margin-bottom: .8rem;
  color: rgba(248,240,226,.78);
  font-size: 1.05rem;
  letter-spacing: .1em;
}
.hero__title-card .micro { color: rgba(248,240,226,.76); margin-bottom: .9rem; }
.hero h1 {
  display: grid;
  justify-items: center;
  gap: .02em;
  font-size: clamp(4.6rem, 10vw, 9.2rem);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero h1 span { display: block; padding-left: .08em; }
.hero h1 em {
  position: relative;
  display: inline-grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  width: min(330px, 72%);
  margin: -.12em auto -.06em;
  font-family: var(--script);
  font-size: .33em;
  font-style: normal;
  letter-spacing: 0;
  text-transform: none;
}
.hero h1 em::before, .hero h1 em::after { content: ""; height: 1px; background: rgba(248,240,226,.62); }
.ornament { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 1rem auto .9rem; color: rgba(248,240,226,.75); }
.ornament span { width: 82px; height: 1px; background: currentColor; opacity: .55; }
.ornament i { font-style: normal; font-size: .8rem; }
.hero__meta { font-size: .72rem; letter-spacing: .34em; text-transform: uppercase; }
.hero__meta--sub { margin-top: .55rem; opacity: .76; }
.hero__scroll { position: absolute; left: 50%; bottom: 30px; z-index: 3; width: 28px; height: 28px; transform: translateX(-50%) rotate(45deg); border-right: 1px solid rgba(248,240,226,.8); border-bottom: 1px solid rgba(248,240,226,.8); opacity: .72; }

/* INTRO */
.intro {
  display: grid;
  grid-template-columns: minmax(260px,.72fr) minmax(420px,1.28fr);
  gap: clamp(2.6rem, 7vw, 7rem);
  padding: clamp(70px, 9vw, 118px) var(--pad);
  max-width: 1360px;
  margin: 0 auto;
}
.intro::after { left: 4%; bottom: 8%; transform: rotate(8deg); }
.intro__copy { align-self: center; max-width: 440px; }
.intro__headline-line { white-space: nowrap; letter-spacing: .025em; }
.intro__copy p:not(.micro):not(.signature) { margin-bottom: .9rem; color: #4a463c; }
.intro__photos { position: relative; min-height: 500px; }
.intro__photos::before {
  content: "";
  position: absolute;
  left: 12%;
  top: 13%;
  z-index: 0;
  width: 80%;
  height: 70%;
  border: 1px solid rgba(57,73,50,.22);
  transform: rotate(-1.5deg);
}
.intro__photos::after {
  content: "";
  position: absolute;
  right: 2%;
  bottom: 18px;
  z-index: 3;
  width: 150px;
  height: 82px;
  border-right: 1px solid rgba(57,73,50,.42);
  border-bottom: 1px solid rgba(57,73,50,.28);
  border-radius: 0 0 70% 0;
  transform: rotate(-10deg);
  opacity: .7;
}
.intro__photos .photo {
  position: relative;
  z-index: 1;
  padding: clamp(10px, 1.15vw, 16px);
  background: linear-gradient(145deg, #f8f1e6, #dfd1bc);
  border: 1px solid rgba(80,64,43,.22);
  overflow: visible;
  box-shadow: 0 22px 42px rgba(39,35,26,.16), 0 4px 0 rgba(255,255,255,.42) inset;
}
.intro__photos .photo::after {
  content: "";
  position: absolute;
  inset: clamp(10px, 1.15vw, 16px);
  z-index: 2;
  border: 1px solid rgba(248,240,226,.5);
  pointer-events: none;
}
.intro__photos .photo img { position: relative; z-index: 1; box-shadow: inset 0 0 0 1px rgba(37,35,30,.12); }
.intro__photos .photo--large { width: 80%; height: 430px; margin: 28px 0 0 16%; transform: rotate(-.7deg); }
.intro__photos .photo--small { position: absolute; left: 4%; top: 0; z-index: 2; width: 40%; height: 270px; transform: rotate(-2.1deg); }

/* DAY */
.day {
  display: grid;
  grid-template-columns: minmax(330px,.95fr) minmax(360px,1.05fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  padding: clamp(72px, 9vw, 112px) var(--pad);
  background: linear-gradient(90deg, rgba(24,35,21,.04), transparent 50%), var(--paper-warm);
}
.day::after { right: 7%; top: 16%; transform: rotate(-18deg); }
.stationery-scene {
  position: relative;
  min-height: 390px;
  background:
    linear-gradient(135deg, rgba(244,239,229,.08), rgba(20,18,14,.16)),
    url("images/zapro_mock.png") center 50%/cover;
  box-shadow: 0 24px 70px rgba(20,20,16,.16);
  overflow: hidden;
  transform: rotate(-.8deg);
}
.stationery-scene::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 16% 20%, rgba(255,255,255,.28), transparent 14rem),
    linear-gradient(90deg, rgba(25,22,18,.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(0,0,0,.10));
  background-size: auto, 5px 5px, auto;
  mix-blend-mode: soft-light;
}
.stationery-scene::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(255,255,255,.28); box-shadow: inset 0 0 0 1px rgba(20,18,14,.08); pointer-events: none; }
.stationery-scene__photo, .stationery-scene__envelope, .stationery-scene__vellum, .stationery-scene__card, .stationery-scene__seal, .stationery-scene__ribbon, .stationery-scene__sprig { display: none; }
.stationery-scene__photo { position: absolute; right: 5%; top: 10%; z-index: 1; width: 34%; height: 42%; background: url("images/optimized/0098Dominika-Kuba-SN-800.webp") center 40%/cover; filter: saturate(.72) contrast(1.04) brightness(.92); transform: rotate(3.2deg); box-shadow: 0 14px 34px rgba(0,0,0,.18); }
.stationery-scene__photo::before { content: ""; position: absolute; inset: -8px; z-index: -1; background: #f6efe3; box-shadow: 0 12px 28px rgba(0,0,0,.12); }
.stationery-scene__envelope { position: absolute; left: 9%; bottom: 19%; z-index: 1; width: 55%; height: 40%; background: linear-gradient(145deg, #070707, #171611 58%, #090909); transform: rotate(-6deg); box-shadow: 0 20px 38px rgba(0,0,0,.28); }
.stationery-scene__envelope::before, .stationery-scene__envelope::after { content: ""; position: absolute; inset: 0; }
.stationery-scene__envelope::before { clip-path: polygon(0 0, 50% 58%, 100% 0, 100% 100%, 0 100%); background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(0,0,0,.22)); }
.stationery-scene__envelope::after { clip-path: polygon(0 100%, 50% 42%, 100% 100%); background: rgba(255,255,255,.035); }
.stationery-scene__vellum { position: absolute; left: 27%; top: 16%; z-index: 2; width: 34%; aspect-ratio: .76; background: rgba(245,238,226,.48); backdrop-filter: blur(1.2px); border: 1px solid rgba(255,255,255,.5); transform: rotate(1.8deg); box-shadow: 0 18px 36px rgba(0,0,0,.13); }
.stationery-scene__card { position: absolute; left: 31%; top: 20%; z-index: 3; width: 27%; aspect-ratio: .78; display: grid; place-content: center; text-align: center; background: linear-gradient(145deg, rgba(255,252,245,.96), rgba(232,222,205,.94)); box-shadow: 0 15px 38px rgba(0,0,0,.17); font-family: var(--serif); font-size: clamp(1.45rem, 3vw, 2.4rem); line-height: 1.08; color: var(--ink); transform: rotate(-.8deg); }
.stationery-scene__card::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(37,35,30,.08); }
.stationery-scene__card::after { content: "♡"; position: absolute; left: 50%; bottom: 15%; transform: translateX(-50%); font-family: var(--serif); font-size: .72rem; color: rgba(57,73,50,.55); }
.stationery-scene__card em { font-family: var(--script); font-style: normal; font-size: .72em; color: var(--forest-700); }
.stationery-scene__card small { margin-top: .65rem; margin-bottom: 1.25rem; font: 400 .48rem/1 var(--sans); letter-spacing: .28em; }
.stationery-scene__seal { position: absolute; left: 49%; bottom: 25%; z-index: 4; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #b79658, #8b6a34 70%); color: #24170b; font-size: .78rem; box-shadow: inset 0 1px 5px rgba(255,255,255,.28), 0 9px 18px rgba(0,0,0,.2); }
.stationery-scene__ribbon { position: absolute; left: 7%; bottom: 9%; z-index: 4; width: 78%; height: 22px; background: linear-gradient(90deg, #080808, #1a1814, #070707); transform: rotate(-4deg); box-shadow: 0 8px 20px rgba(0,0,0,.22); }
.stationery-scene__sprig { position: absolute; right: 11%; top: 31%; z-index: 4; width: 95px; height: 155px; border-left: 1px solid rgba(57,73,50,.36); border-radius: 50%; opacity: .58; transform: rotate(10deg); }
.stationery-scene > :not(.stationery-scene__photo) { display: none; }
.day__content { max-width: 650px; }
.day__content > p:not(.micro) { max-width: 600px; color: #49443b; }
.day__facts { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 2.5rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.day__facts article { text-align: center; padding: 1.7rem 1.2rem; border-right: 1px solid var(--line); }
.day__facts article:last-child { border-right: 0; }
.day__facts svg, .contact-icon { width: 34px; height: 34px; margin: 0 auto .8rem; fill: none; stroke: currentColor; stroke-width: 1.35; opacity: .68; }
.day__facts strong { display: block; margin-top: .55rem; font-size: .88rem; font-weight: 300; line-height: 1.5; }

/* WEEKEND */
.weekend {
  display: grid;
  grid-template-columns: minmax(280px,.36fr) minmax(520px,.64fr);
  min-height: 680px;
  background: var(--forest-800);
  color: var(--white-ink);
}
.weekend::before { display: none; }
.weekend::after { left: 7%; bottom: 8%; border-color: rgba(248,240,226,.18); }
.weekend__copy { padding: clamp(58px, 7vw, 96px) var(--pad); align-self: center; }
.weekend__copy .micro, .weekend__note { color: rgba(248,240,226,.68); }
.weekend__copy h2 .hand { color: rgba(248,240,226,.82); }
.weekend__copy p:not(.micro) { max-width: 410px; color: rgba(248,240,226,.82); }
.weekend__note { margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid rgba(248,240,226,.22); }
.weekend__activities { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: minmax(250px, 1fr); gap: 2px; padding: 0; }
.weekend__activity-group { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 260px; padding: 2rem; overflow: hidden; background: #111; }
.weekend__activity-group:first-child { grid-row: span 2; }
.weekend__activity-group img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.75) contrast(1.08) brightness(.58); transform: scale(1.02); }
.weekend__activity-group::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 25%, rgba(0,0,0,.72)); }
.weekend__activity-group > *:not(img) { position: relative; z-index: 1; }
.weekend__activity-number { position: absolute; top: 1.4rem; right: 1.5rem; z-index: 1; font-family: var(--serif); font-size: 1.1rem; letter-spacing: .22em; opacity: .52; }
.weekend__activity-group .micro { color: rgba(248,240,226,.72); margin-bottom: .4rem; }
.weekend__activity-group p, .weekend__activity-group li { color: rgba(248,240,226,.82); }
.weekend__activity-group ul { list-style: none; columns: 2; column-gap: 1.2rem; margin-top: .8rem; }
.weekend__activity-group li::before { content: "— "; opacity: .7; }

/* PLACE */
.place { display: grid; grid-template-columns: 1.1fr .9fr; background: #10150f; color: var(--white-ink); }
.place::before, .place::after { display: none; }
.place__image { min-height: 520px; box-shadow: none; }
.place__image img { object-position: center bottom; filter: saturate(.88) contrast(1.03) brightness(.98); }
.place__card { padding: clamp(52px, 7vw, 86px); align-self: stretch; display: flex; flex-direction: column; justify-content: center; background: radial-gradient(circle at 100% 100%, rgba(124,132,101,.18), transparent 28rem), var(--forest-900); }
.place__card h2 .hand { color: rgba(248,240,226,.8); }
.place__card p { max-width: 520px; color: rgba(248,240,226,.82); }
.place__card address { margin: 1.4rem 0 1.5rem; color: rgba(248,240,226,.72); font-family: var(--serif); letter-spacing: .08em; }
.place__mosaic { grid-column: 1 / -1; display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 2px; background: var(--forest-950); border-top: 2px solid var(--forest-950); }
.place__mosaic img { width: 100%; height: clamp(190px, 22vw, 315px); object-fit: cover; filter: saturate(.82) contrast(1.04) brightness(.9); }

/* GALLERY */
.gallery { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px; background: var(--paper); padding: 2px 0; }
.gallery img { width: 100%; height: clamp(180px, 17vw, 260px); object-fit: cover; cursor: zoom-in; filter: saturate(.78) contrast(1.03) brightness(.9); transition: filter .2s ease; }
.gallery img:nth-child(3) { filter: grayscale(.4) contrast(1.02) brightness(.82); }
.gallery img:nth-child(1) { object-position: center 28%; }
.gallery img:nth-child(2) { object-position: center 38%; }
.gallery img:nth-child(3) { object-position: center 72%; }
.gallery img:nth-child(4) { object-position: center 42%; }
.gallery img:nth-child(5) { object-position: center 48%; }
.gallery img:hover { filter: saturate(.95) brightness(.98); }

/* DETAILS */
.details { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.details::after { right: 8%; top: 14%; transform: rotate(-20deg); }
.detail-card { min-height: 250px; padding: clamp(34px, 5vw, 62px); border-right: 1px solid var(--line); }
.detail-card:last-child { border-right: 0; }
.detail-card h3 { margin: .7rem 0 1rem; }
.detail-card p:not(.micro) { color: #4c473d; }

/* RSVP */
.rsvp { display: grid; grid-template-columns: .85fr 1.15fr; align-items: stretch; background: var(--paper-warm); border-bottom: 1px solid var(--line); }
.rsvp::after { right: 5%; bottom: 8%; }
.rsvp__image { position: relative; min-height: 330px; display: grid; place-items: center; overflow: hidden; background: linear-gradient(90deg, rgba(12,15,10,.18), rgba(244,239,229,.08)), url("images/optimized/0039Dominika-Kuba-SN-1200.webp") center 48%/cover; }
.rsvp__image::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 60% 42%, transparent, rgba(0,0,0,.18)); mix-blend-mode: multiply; }
.rsvp__image > * { display: none !important; }
.rsvp__photo-strip { position: absolute; left: 10%; top: 18%; width: 42%; height: 42%; background: url("images/optimized/0066Dominika-Kuba-SN-800.webp") center/cover; filter: grayscale(1) contrast(1.03) brightness(.78); transform: rotate(-8deg); box-shadow: 0 14px 30px rgba(0,0,0,.18); }
.rsvp__photo-strip::before { content: ""; position: absolute; inset: -7px; z-index: -1; background: #eee5d7; }
.rsvp__envelope { position: relative; z-index: 2; width: min(430px, 72%); aspect-ratio: 1.9; background: linear-gradient(145deg, #070707, #171611 58%, #080808); transform: translateY(18px) rotate(-5deg); box-shadow: 0 23px 48px rgba(0,0,0,.28); }
.rsvp__envelope::before, .rsvp__envelope::after { content: ""; position: absolute; inset: 0; }
.rsvp__envelope::before { clip-path: polygon(0 0, 50% 58%, 100% 0, 100% 100%, 0 100%); background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(0,0,0,.22)); }
.rsvp__envelope::after { clip-path: polygon(0 100%, 50% 43%, 100% 100%); background: rgba(255,255,255,.035); }
.rsvp__card-peek { position: absolute; z-index: 1; top: 14%; left: 42%; width: min(178px, 33%); aspect-ratio: .76; display: grid; place-content: center; text-align: center; background: linear-gradient(145deg, #fffaf0, #e6dac7); transform: rotate(5deg); box-shadow: 0 13px 26px rgba(0,0,0,.14); font-family: var(--serif); font-size: 1.32rem; line-height: 1.05; letter-spacing: .04em; color: rgba(37,35,30,.76); }
.rsvp__card-peek::before { content: ""; position: absolute; inset: 9px; border: 1px solid rgba(37,35,30,.08); }
.rsvp__card-peek em { font-family: var(--script); font-style: normal; color: var(--forest-700); }
.rsvp__card-peek small { margin-top: .45rem; font: 400 .42rem/1 var(--sans); letter-spacing: .22em; }
.rsvp__seal { position: absolute; z-index: 4; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #b79658, #8b6a34 70%); color: #1a140d; font-size: .8rem; box-shadow: inset 0 1px 5px rgba(255,255,255,.28), 0 8px 20px rgba(0,0,0,.18); transform: translateY(18px); }
.rsvp__ribbon { position: absolute; z-index: 3; width: min(480px, 80%); height: 18px; background: linear-gradient(90deg, #080808, #1a1814, #070707); transform: translateY(86px) rotate(-7deg); }
.rsvp__paper { display: grid; grid-template-columns: 1fr .65fr; border-left: 1px solid var(--line); }
.rsvp__main { padding: clamp(44px, 6vw, 78px); text-align: center; align-self: center; }
.rsvp__main h2 { font-size: clamp(2.2rem, 3.8vw, 4rem); letter-spacing: .02em; }
.rsvp__main .ornament { color: var(--ink); }
.ornament--dark span { background: currentColor; }
.rsvp__side { padding: clamp(36px, 5vw, 64px); display: grid; align-content: center; gap: 1.3rem; border-left: 1px solid var(--line); color: #4b463c; }
.rsvp__side p { display: grid; grid-template-columns: 36px 1fr; gap: 1rem; align-items: start; }
.rsvp__side .contact-icon { margin: 0; }
.contacts { display: grid; gap: .35rem; margin-left: 52px; }
.contacts a { display: flex; gap: .8rem; }
.contacts span { min-width: 46px; font-family: var(--serif); font-size: 1.15rem; }

.footer {
  min-height: 250px;
  display: grid;
  place-content: center;
  text-align: center;
  color: var(--white-ink);
  background:
    linear-gradient(rgba(8,10,7,.62), rgba(8,10,7,.7)),
    url("images/optimized/0067Dominika-Kuba-SN-2200.webp") center 42%/cover;
}
.footer__waiting { font-family: var(--serif); font-size: clamp(2.2rem, 4.2vw, 4.4rem); line-height: 1; }
.footer__names { font-family: var(--serif); font-size: 1.9rem; letter-spacing: .04em; }
.footer p:last-child { margin-top: .3rem; font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; opacity: .72; }

.lightbox { position: fixed; inset: 0; z-index: 50; display: none; place-items: center; padding: 26px; background: rgba(10,12,9,.88); cursor: zoom-out; }
.lightbox.is-open { display: grid; }
.lightbox img { max-width: min(1120px, 96vw); max-height: 92vh; object-fit: contain; box-shadow: 0 20px 80px rgba(0,0,0,.55); }

@media (max-width: 980px) {
  .hero { min-height: 680px; height: 100svh; }
  .hero__links { display: none; }
  .hero__nav { grid-template-columns: 1fr 1fr; }
  .hero__date-small { grid-column: 2; }
  .intro, .day, .weekend, .place, .rsvp { grid-template-columns: 1fr; }
  .intro__copy { max-width: 620px; }
  .intro__photos { min-height: 370px; }
  .weekend__copy { padding-bottom: 44px; }
  .place__mosaic { grid-template-columns: repeat(3, 1fr); }
  .details { grid-template-columns: 1fr; }
  .detail-card { border-right: 0; border-bottom: 1px solid var(--line); min-height: auto; }
  .detail-card:last-child { border-bottom: 0; }
  .rsvp__paper { border-left: 0; }
}

@media (max-width: 680px) {
  body { font-size: 15px; }
  .hero { min-height: 620px; }
  .hero__nav { padding-top: 22px; }
  .hero h1 { font-size: clamp(3.45rem, 16vw, 5rem); }
  .hero__title-card { top: 52%; }
  .hero__date-small { font-size: .58rem; letter-spacing: .22em; }
  h2 { font-size: clamp(2.35rem, 13vw, 3.35rem); }
  .intro, .day { padding: 58px var(--pad); }
  .intro__photos { min-height: 370px; }
  .intro__photos::before { width: 86%; height: 64%; left: 8%; top: 19%; }
  .intro__photos::after { right: 4%; bottom: 18px; width: 110px; height: 62px; }
  .intro__photos .photo--large { width: 88%; height: 300px; margin: 44px 0 0 9%; }
  .intro__photos .photo--small { width: 54%; height: 205px; left: 0; top: -24px; }
  .stationery-scene { min-height: 300px; background-position: center; }
  .stationery-scene__card { width: 34%; left: 28%; }
  .stationery-scene__vellum { width: 40%; left: 24%; }
  .stationery-scene__photo { display: none; }
  .day__facts { grid-template-columns: 1fr; }
  .day__facts article { border-right: 0; border-bottom: 1px solid var(--line); }
  .day__facts article:last-child { border-bottom: 0; }
  .weekend__activities { grid-template-columns: 1fr; }
  .weekend__activity-group:first-child { grid-row: auto; }
  .weekend__activity-group { min-height: 300px; }
  .place__image { min-height: 340px; }
  .place__card { padding: 46px var(--pad); }
  .place__mosaic { grid-template-columns: 1fr; }
  .place__mosaic img { height: 220px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery img { height: 190px; }
  .gallery img:first-child { grid-column: span 2; height: 230px; }
  .rsvp__paper { grid-template-columns: 1fr; }
  .rsvp__side { border-left: 0; border-top: 1px solid var(--line); }
  .footer { min-height: 220px; }
}
