:root {
  --ink: #171512;
  --ink-soft: #302a25;
  --cream: #f7f1e8;
  --paper: #fffaf2;
  --gold: #c49a58;
  --gold-light: #ead6ad;
  --wine: #6d2637;
  --sage: #60705d;
  --line: rgba(55, 43, 30, 0.16);
  --shadow: 0 24px 70px rgba(31, 24, 18, 0.16);
  --serif: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  --sans: "Avenir Next", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

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

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

body.is-locked {
  overflow: hidden;
}

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

button {
  font: inherit;
}

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

a {
  color: inherit;
}

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

.grain {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

.scroll-progress {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 110;
  height: 2px;
  background: transparent;
}

.scroll-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--wine), var(--gold-light));
}

.welcome {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding: 32px;
  color: var(--paper);
  text-align: center;
  background:
    linear-gradient(135deg, rgba(13, 12, 10, 0.93), rgba(53, 28, 30, 0.84)),
    url("assets/photos/full/img_6667.webp?v=3") center 38% / cover;
  transition: opacity 1s ease, visibility 1s ease;
}

.welcome::before,
.welcome::after {
  content: "";
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(234, 214, 173, 0.34);
  pointer-events: none;
}

.welcome::after {
  inset: 34px;
  border-color: rgba(255, 255, 255, 0.09);
}

.welcome.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.welcome__glow {
  position: absolute;
  width: min(70vw, 760px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(196, 154, 88, 0.11);
  filter: blur(90px);
}

.welcome__content {
  position: relative;
  max-width: 850px;
  animation: welcome-in 1.25s both;
}

.ornament {
  display: block;
  margin-bottom: 12px;
  color: var(--gold-light);
  font-size: 28px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  line-height: 1.45;
  text-transform: uppercase;
}

.welcome h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.1rem, 9vw, 7.7rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.88;
}

.welcome h1 em,
.footer__monogram i {
  color: var(--gold-light);
  font-weight: 400;
}

.welcome__date {
  margin: 28px 0 20px;
  color: var(--gold-light);
  font-size: 0.84rem;
  letter-spacing: 0.48em;
}

.welcome blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-style: italic;
}

.welcome .verse {
  margin: 4px 0 30px;
  color: rgba(255, 250, 242, 0.64);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.welcome__actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

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

.button--gold {
  color: #211910;
  background: var(--gold-light);
}

.button--ghost {
  color: var(--paper);
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.04);
}

.button--outline {
  color: var(--ink);
  border-color: var(--line);
  background: transparent;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 78px;
  padding: 0 clamp(22px, 5vw, 80px);
  color: white;
  transition: color 250ms ease, background 250ms ease, box-shadow 250ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(247, 241, 232, 0.92);
  box-shadow: 0 8px 30px rgba(32, 22, 17, 0.08);
  backdrop-filter: blur(15px);
}

.monogram {
  justify-self: start;
  font-family: var(--serif);
  font-size: 1.45rem;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.monogram span {
  color: var(--gold);
  font-style: italic;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 42px);
}

.site-header nav a {
  position: relative;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-header nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.site-header nav a:hover::after {
  transform: scaleX(1);
}

.music-mini {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 13px;
  color: inherit;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  opacity: 0.82;
}

.music-mini__label {
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.music-mini__bars {
  display: flex;
  align-items: end;
  gap: 2px;
  height: 12px;
}

.music-mini__bars i {
  width: 2px;
  height: 5px;
  background: currentColor;
}

.music-mini[aria-pressed="true"] .music-mini__bars i {
  animation: equalizer 0.8s infinite alternate ease-in-out;
}

.music-mini[aria-pressed="true"] .music-mini__bars i:nth-child(2) {
  animation-delay: -0.25s;
}

.music-mini[aria-pressed="true"] .music-mini__bars i:nth-child(3) {
  animation-delay: -0.5s;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 0.72fr);
  align-items: center;
  min-height: 100svh;
  padding: 120px clamp(40px, 8vw, 140px) 70px;
  color: white;
  isolation: isolate;
  overflow: hidden;
  background: #141312;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -28px;
  z-index: -3;
  background: url("assets/photos/full/img_6667.webp") center 38% / cover;
  filter: blur(16px) saturate(0.82);
  transform: scale(1.07);
  opacity: 0.46;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 75% 35%, transparent 0, rgba(17, 15, 13, 0.12) 35%, rgba(17, 15, 13, 0.64) 78%),
    linear-gradient(90deg, rgba(14, 13, 12, 0.96) 0%, rgba(18, 16, 14, 0.68) 48%, rgba(17, 15, 13, 0.28) 100%);
}

.hero__wash {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, rgba(109, 38, 55, 0.15), transparent 45%, rgba(196, 154, 88, 0.12));
}

.hero__copy {
  z-index: 2;
  max-width: 680px;
  padding-right: 7vw;
}

.hero h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(4rem, 8.5vw, 8.8rem);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.78;
}

.hero h2 span {
  color: var(--gold-light);
  font-size: 0.7em;
  font-style: italic;
  white-space: nowrap;
}

.hero__lead {
  max-width: 560px;
  margin: 42px 0 30px;
  color: rgba(255, 255, 255, 0.76);
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.8vw, 1.55rem);
  line-height: 1.55;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(234, 214, 173, 0.55);
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-decoration: none;
  text-transform: uppercase;
}

.text-link span {
  font-size: 1rem;
}

.hero__portrait {
  position: relative;
  z-index: 1;
  width: min(34vw, 530px);
  margin: 0;
  justify-self: center;
}

.hero__portrait-frame {
  position: relative;
  aspect-ratio: 0.64;
  padding: 12px;
  border: 1px solid rgba(234, 214, 173, 0.52);
  box-shadow: 0 38px 100px rgba(0, 0, 0, 0.35);
}

.hero__portrait-frame::before,
.hero__portrait-frame::after {
  content: "";
  position: absolute;
  width: 92px;
  height: 92px;
  border-color: var(--gold-light);
  pointer-events: none;
}

.hero__portrait-frame::before {
  top: -12px;
  left: -12px;
  border-top: 1px solid;
  border-left: 1px solid;
}

.hero__portrait-frame::after {
  right: -12px;
  bottom: -12px;
  border-right: 1px solid;
  border-bottom: 1px solid;
}

.hero__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
}

.hero__portrait figcaption {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.68);
  font-family: var(--serif);
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-align: center;
}

.hero__portrait figcaption span {
  margin: 0 7px;
  color: var(--gold-light);
  font-style: italic;
}

.hero__vertical {
  position: absolute;
  right: 24px;
  bottom: 42px;
  margin: 0;
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.58rem;
  letter-spacing: 0.32em;
  writing-mode: vertical-rl;
}

.section {
  padding: clamp(90px, 12vw, 170px) clamp(24px, 7vw, 120px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 70px;
}

.section-heading--center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading h2,
.story h2,
.family h2,
.blessing h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 6.4rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.section-heading > p:last-child {
  max-width: 580px;
  color: #6e6256;
}

.section-heading--center > p:last-child {
  margin-right: auto;
  margin-left: auto;
}

.story {
  background: var(--paper);
}

.story__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1fr);
  gap: clamp(70px, 10vw, 160px);
  align-items: center;
}

.story__copy {
  max-width: 620px;
  color: #5c5148;
  font-family: var(--serif);
  font-size: clamp(1.16rem, 1.7vw, 1.42rem);
}

.story__copy p {
  margin: 0 0 22px;
}

.dropcap::first-letter {
  float: left;
  margin: 0.04em 0.11em 0 0;
  color: var(--wine);
  font-size: 4.3em;
  line-height: 0.74;
}

.story__photos {
  position: relative;
  min-height: 710px;
}

.photo-card {
  position: absolute;
  margin: 0;
  overflow: hidden;
  background: #ddd;
  box-shadow: var(--shadow);
}

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

.photo-card--main {
  top: 0;
  right: 0;
  width: 66%;
  height: 78%;
}

.photo-card--accent {
  bottom: 0;
  left: 0;
  width: 49%;
  height: 47%;
  border: 10px solid var(--paper);
}

.story__seal {
  position: absolute;
  right: -18px;
  bottom: 2%;
  display: grid;
  place-items: center;
  width: 124px;
  height: 124px;
  color: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  background: var(--wine);
  box-shadow: 0 18px 50px rgba(109, 38, 55, 0.25);
  font-family: var(--serif);
  font-size: 1.6rem;
  letter-spacing: 0.08em;
  text-align: center;
}

.story__seal i {
  margin: 0 3px;
  color: var(--gold-light);
}

.story__seal small {
  display: block;
  margin-top: -40px;
  font-family: var(--sans);
  font-size: 0.48rem;
  letter-spacing: 0.16em;
}

.numbers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 120px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.numbers article {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 150px;
  padding: 22px;
  border-right: 1px solid var(--line);
}

.numbers article:last-child {
  border-right: 0;
}

.numbers strong {
  color: var(--wine);
  font-family: var(--serif);
  font-size: 4rem;
  font-weight: 400;
  line-height: 1;
}

.numbers span {
  color: #75695e;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.5;
  text-transform: uppercase;
}

.journey {
  margin-top: clamp(110px, 14vw, 180px);
  padding-top: clamp(70px, 9vw, 120px);
  border-top: 1px solid var(--line);
}

.journey__header {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.65fr);
  gap: clamp(40px, 8vw, 120px);
  align-items: end;
}

.journey__header .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -14px;
}

.journey__header h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5.5vw, 6rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.96;
}

.journey__header > p:last-child {
  margin: 0 0 8px;
  color: #74685e;
  font-family: var(--serif);
  font-size: 1.22rem;
}

.narration {
  display: grid;
  grid-template-columns: auto minmax(220px, 1fr) minmax(180px, 0.65fr) auto;
  gap: 18px;
  align-items: center;
  margin-top: 58px;
  padding: 22px 26px;
  color: white;
  border: 1px solid rgba(234, 214, 173, 0.22);
  background: var(--ink);
  box-shadow: 0 18px 50px rgba(42, 30, 21, 0.12);
}

.narration__play {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  padding-left: 3px;
  color: var(--ink);
  border: 0;
  border-radius: 50%;
  background: var(--gold-light);
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
}

.narration__play:hover {
  background: white;
  transform: scale(1.05);
}

.narration__play[aria-pressed="true"] {
  padding-left: 0;
}

.narration__copy {
  display: grid;
  line-height: 1.2;
}

.narration__copy small {
  color: var(--gold);
  font-size: 0.54rem;
  font-weight: 750;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.narration__copy strong {
  margin-top: 4px;
  font-family: var(--serif);
  font-size: 1.24rem;
  font-weight: 400;
}

.narration__copy span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.62rem;
}

.narration__timeline {
  position: relative;
  height: 3px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.16);
  cursor: pointer;
}

.narration__timeline i {
  position: absolute;
  inset: 0 auto 0 0;
  display: block;
  width: 0;
  background: var(--gold-light);
}

.narration > time {
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.64rem;
  font-variant-numeric: tabular-nums;
}

.journey__timeline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 50px;
  margin-top: 90px;
}

.journey__timeline article {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  padding: 36px 0 42px;
  border-top: 1px solid var(--line);
}

.journey__timeline article > span {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1rem;
  font-style: italic;
}

.journey__timeline h4 {
  margin: 0 0 10px;
  color: var(--wine);
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 400;
}

.journey__timeline p {
  margin: 0;
  color: #6a5e54;
  font-family: var(--serif);
  font-size: 1.04rem;
}

.journey blockquote {
  position: relative;
  margin: 65px 0;
  padding: clamp(58px, 8vw, 100px) clamp(28px, 8vw, 120px);
  color: white;
  background: var(--wine);
  text-align: center;
  overflow: hidden;
}

.journey blockquote::before {
  content: "“";
  position: absolute;
  top: -72px;
  left: 4%;
  color: rgba(255, 255, 255, 0.08);
  font-family: var(--serif);
  font-size: 18rem;
  line-height: 1;
}

.journey blockquote p {
  position: relative;
  margin: 0;
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: clamp(2rem, 4.5vw, 4.4rem);
  font-style: italic;
  line-height: 1.06;
}

.journey blockquote cite {
  position: relative;
  display: block;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.64rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.journey__closing {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: clamp(40px, 8vw, 110px);
  align-items: center;
  padding: 10px clamp(0px, 5vw, 70px) 0;
}

.journey__closing p {
  color: #62574e;
  font-family: var(--serif);
  font-size: 1.27rem;
}

.journey__closing strong {
  color: var(--wine);
  font-family: var(--serif);
  font-size: clamp(2rem, 3vw, 3.4rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.08;
}

.journey__closing span {
  grid-column: 1 / -1;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.2rem;
  text-align: center;
}

.glow-moment {
  position: relative;
  display: grid;
  grid-template-columns: minmax(380px, 0.72fr) minmax(0, 1fr);
  gap: clamp(60px, 9vw, 150px);
  align-items: center;
  min-height: 100svh;
  padding: clamp(100px, 12vw, 170px) clamp(28px, 9vw, 160px);
  color: white;
  background:
    radial-gradient(circle at 28% 46%, rgba(218, 173, 97, 0.16), transparent 33%),
    radial-gradient(circle at 72% 26%, rgba(109, 38, 55, 0.18), transparent 36%),
    #0e0d0c;
  isolation: isolate;
  overflow: hidden;
}

.glow-moment::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.16;
  background-image: radial-gradient(rgba(255, 240, 202, 0.7) 0.7px, transparent 0.7px);
  background-size: 28px 28px;
  mask-image: linear-gradient(90deg, black, transparent 70%);
}

.glow-moment__portrait {
  position: relative;
  width: min(38vw, 520px);
  margin: 0;
  padding: 11px;
  border: 1px solid rgba(234, 214, 173, 0.44);
  box-shadow:
    0 0 70px rgba(234, 214, 173, 0.14),
    0 32px 90px rgba(0, 0, 0, 0.42);
  overflow: hidden;
}

.glow-moment__portrait img {
  width: 100%;
  max-height: 76svh;
  object-fit: cover;
}

.glow-moment__portrait::before,
.glow-moment__portrait::after {
  content: "";
  position: absolute;
  z-index: 2;
  width: 120px;
  height: 120px;
  pointer-events: none;
}

.glow-moment__portrait::before {
  top: 0;
  left: 0;
  border-top: 2px solid var(--gold-light);
  border-left: 2px solid var(--gold-light);
}

.glow-moment__portrait::after {
  right: 0;
  bottom: 0;
  border-right: 2px solid var(--gold-light);
  border-bottom: 2px solid var(--gold-light);
}

.glow-moment__shine {
  position: absolute;
  top: -20%;
  bottom: -20%;
  left: -80%;
  z-index: 1;
  width: 42%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 246, 218, 0.34), transparent);
  filter: blur(9px);
  transform: skewX(-16deg);
  animation: shine-sweep 7s 1.2s infinite ease-in-out;
}

.glow-moment__copy {
  max-width: 720px;
}

.glow-moment__copy h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.2rem, 6.8vw, 7.5rem);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.glow-moment__copy h2 em {
  color: var(--gold-light);
  font-weight: 400;
}

.glow-moment__copy > span {
  display: block;
  margin-top: 38px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.glow-moment__spark {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 0 12px 3px rgba(255, 232, 183, 0.7);
  animation: sparkle 3.8s infinite ease-in-out;
}

.glow-moment__spark--one { top: 22%; left: 10%; }
.glow-moment__spark--two { top: 67%; left: 47%; animation-delay: -1.4s; }
.glow-moment__spark--three { top: 18%; right: 13%; animation-delay: -2.3s; }

.covenant {
  position: relative;
  display: grid;
  place-items: center;
  min-height: min(92svh, 900px);
  padding: 80px 24px;
  color: white;
  text-align: center;
  isolation: isolate;
  overflow: hidden;
}

.covenant__image,
.covenant__overlay {
  position: absolute;
  inset: 0;
}

.covenant__image {
  z-index: -2;
  background: url("assets/photos/full/img_6667.webp?v=3") center 45% / cover;
  transform: scale(1.02);
}

.covenant__overlay {
  z-index: -1;
  background: linear-gradient(rgba(17, 14, 12, 0.52), rgba(17, 12, 11, 0.82));
}

.covenant__copy p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.7rem);
  line-height: 1.25;
}

.covenant__copy h2 {
  margin: 0;
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: clamp(4.2rem, 10vw, 9.5rem);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.85;
}

.covenant__line {
  width: 1px;
  height: 70px;
  margin: 40px auto;
  background: var(--gold-light);
}

.covenant__copy > span:not(.ornament) {
  display: block;
  font-family: var(--serif);
  font-size: 1.12rem;
  font-style: italic;
}

.covenant__copy small {
  display: block;
  margin-top: 10px;
  color: var(--gold-light);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.films {
  background: #efe6da;
}

.films__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: center;
  max-width: 1320px;
  margin: 0 auto;
}

.film-card {
  position: relative;
  aspect-ratio: 9 / 14;
  overflow: hidden;
  color: white;
  background: #1a1815;
  box-shadow: 0 22px 60px rgba(53, 38, 24, 0.15);
}

.film-card--tall {
  aspect-ratio: 9 / 15.5;
}

.film-card::after {
  content: "";
  position: absolute;
  inset: 42% 0 0;
  pointer-events: none;
  background: linear-gradient(transparent, rgba(17, 14, 12, 0.8));
}

.film-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.film-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 50%;
  background: rgba(14, 12, 10, 0.32);
  backdrop-filter: blur(8px);
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: transform 180ms ease, background 180ms ease;
}

.film-card__play:hover {
  background: var(--wine);
  transform: translate(-50%, -50%) scale(1.08);
}

.film-card.is-playing .film-card__play {
  opacity: 0;
  pointer-events: none;
}

.film-card__caption {
  position: absolute;
  right: 26px;
  bottom: 24px;
  left: 26px;
  z-index: 2;
}

.film-card__caption span {
  color: var(--gold-light);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.film-card__caption h3 {
  margin: 4px 0 0;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.4vw, 2.5rem);
  font-weight: 400;
}

.family {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(60px, 9vw, 130px);
  align-items: center;
  background: var(--ink);
  color: white;
}

.family__photos {
  position: relative;
  min-height: 720px;
}

.family-photo {
  position: absolute;
  margin: 0;
  padding: 10px 10px 40px;
  border: 1px solid rgba(234, 214, 173, 0.32);
  background: #181613;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.28);
}

.family-photo--portrait {
  top: 0;
  left: 0;
  z-index: 1;
  width: 57%;
}

.family-photo--celebration {
  right: 0;
  bottom: 0;
  z-index: 2;
  width: 72%;
  border-width: 10px;
  border-color: var(--ink);
}

.family-photo img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.family-photo figcaption {
  position: absolute;
  right: 14px;
  bottom: 8px;
  left: 14px;
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 0.82rem;
  font-style: italic;
  text-align: right;
}

.family__copy p:not(.eyebrow):not(.family__quote) {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.68);
  font-family: var(--serif);
  font-size: 1.2rem;
}

.family__quote {
  max-width: 560px;
  margin-top: 42px;
  padding-left: 22px;
  color: var(--gold-light);
  border-left: 1px solid var(--gold);
  font-family: var(--serif);
  font-size: 1.35rem;
  font-style: italic;
}

.gallery-section {
  background: var(--paper);
}

.gallery-toolbar {
  display: flex;
  gap: 9px;
  margin-bottom: 42px;
  padding-bottom: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}

.gallery-toolbar::-webkit-scrollbar {
  display: none;
}

.gallery-filter {
  flex: 0 0 auto;
  padding: 11px 18px;
  color: #6d6258;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  font-size: 0.66rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.gallery-filter:hover,
.gallery-filter.is-active {
  color: white;
  border-color: var(--wine);
  background: var(--wine);
}

.gallery {
  column-count: 4;
  column-gap: 14px;
}

.gallery__item {
  position: relative;
  width: 100%;
  margin: 0 0 14px;
  padding: 0;
  border: 0;
  break-inside: avoid;
  cursor: zoom-in;
  overflow: hidden;
  background: #e7ded2;
  animation: gallery-in 0.55s both;
}

.gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 58%, rgba(18, 14, 12, 0.72));
  opacity: 0;
  transition: opacity 220ms ease;
}

.gallery__item img {
  width: 100%;
  height: auto;
  transition: transform 700ms cubic-bezier(0.2, 0.7, 0, 1);
}

.gallery__item span {
  position: absolute;
  right: 18px;
  bottom: 15px;
  left: 18px;
  z-index: 2;
  color: white;
  font-family: var(--serif);
  font-size: 1rem;
  opacity: 0;
  transform: translateY(7px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.gallery__item:hover img {
  transform: scale(1.035);
}

.gallery__item:hover::after,
.gallery__item:hover span {
  opacity: 1;
}

.gallery__item:hover span {
  transform: translateY(0);
}

.gallery-more-wrap {
  margin-top: 42px;
  text-align: center;
}

.blessing {
  position: relative;
  min-height: 92svh;
  padding: clamp(100px, 13vw, 180px) clamp(24px, 8vw, 140px);
  color: white;
  background: var(--wine);
  isolation: isolate;
  overflow: hidden;
}

.blessing__photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("assets/photos/full/img_6674.webp?v=3") 64% 44% / cover;
}

.blessing::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(25, 18, 16, 0.96), rgba(42, 21, 25, 0.77) 48%, rgba(34, 20, 20, 0.22));
}

.blessing__content {
  max-width: 650px;
}

.blessing__content > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.75);
  font-family: var(--serif);
  font-size: 1.22rem;
}

.blessing__content strong {
  display: block;
  margin-top: 42px;
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 1.42rem;
  font-style: italic;
  font-weight: 400;
}

.signature {
  display: block;
  margin-top: 52px;
  font-family: var(--serif);
  font-size: 1.1rem;
}

.credits {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.8fr);
  gap: clamp(60px, 9vw, 140px);
  align-items: center;
  background: var(--paper);
}

.credits__intro {
  max-width: 720px;
}

.credits__intro h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3rem, 5.7vw, 6rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.96;
}

.credits__intro > p:last-child {
  max-width: 600px;
  margin-top: 30px;
  color: #6b6056;
  font-family: var(--serif);
  font-size: 1.18rem;
}

.credits__card {
  position: relative;
  padding: clamp(38px, 5vw, 70px);
  color: white;
  border: 1px solid rgba(234, 214, 173, 0.26);
  background:
    radial-gradient(circle at 100% 0%, rgba(196, 154, 88, 0.18), transparent 42%),
    var(--ink);
  box-shadow: var(--shadow);
}

.credits__card::before {
  content: "I&A";
  position: absolute;
  top: 20px;
  right: 28px;
  color: rgba(234, 214, 173, 0.14);
  font-family: var(--serif);
  font-size: 4rem;
}

.credits__role {
  display: block;
  max-width: 76%;
  color: var(--gold-light);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.credits__card h3 {
  position: relative;
  margin: 24px 0 30px;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4vw, 4rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
}

.credits__services {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.credits__services span {
  padding: 7px 11px;
  color: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.credits__contacts {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.credits__contacts a {
  display: inline-flex;
  width: fit-content;
  color: rgba(255, 255, 255, 0.76);
  font-family: var(--serif);
  font-size: 1.02rem;
  text-underline-offset: 5px;
  transition: color 180ms ease;
}

.credits__contacts a:hover {
  color: var(--gold-light);
}

footer {
  padding: 70px clamp(24px, 7vw, 120px) 32px;
  color: rgba(255, 255, 255, 0.63);
  background: #100f0d;
  text-align: center;
}

.footer__couple {
  display: grid;
  place-items: center;
}

.footer__monogram {
  color: white;
  font-family: var(--serif);
  font-size: 2.2rem;
}

.footer__couple p {
  margin: 8px 0 2px;
  font-family: var(--serif);
  font-size: 1.08rem;
}

.footer__couple time {
  color: var(--gold);
  font-size: 0.62rem;
  letter-spacing: 0.25em;
}

.footer__credits {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  max-width: 1180px;
  margin: 50px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
}

.footer__credits p {
  display: grid;
  gap: 1px;
  margin: 0;
  font-family: var(--serif);
}

.footer__credits small {
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.52rem;
  font-weight: 750;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer__credits span {
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.8rem;
}

.footer__credits strong {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
  font-weight: 400;
}

.footer__credits nav {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
  flex-wrap: wrap;
}

.footer__credits a {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.64rem;
  letter-spacing: 0.04em;
  text-underline-offset: 4px;
  transition: color 180ms ease;
}

.footer__credits a:hover {
  color: var(--gold-light);
}

.music-panel {
  position: fixed;
  right: 24px;
  bottom: 22px;
  z-index: 120;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
  padding: 9px 10px;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(19, 17, 15, 0.9);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(14px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px);
  transition: opacity 300ms ease, transform 300ms ease;
}

body.is-entered .music-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

body.credits-visible .music-panel,
body.glow-visible .music-panel {
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px);
}

.music-panel__toggle {
  display: grid;
  flex: 0 0 42px;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--ink);
  border: 0;
  border-radius: 50%;
  background: var(--gold-light);
  cursor: pointer;
}

.music-panel__copy {
  display: grid;
  min-width: 88px;
  line-height: 1.1;
}

.music-panel__copy small {
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.54rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.music-panel__copy strong {
  margin-top: 4px;
  font-family: var(--serif);
  font-size: 0.98rem;
  font-weight: 400;
}

.music-panel__switch {
  padding: 7px 10px;
  color: var(--gold-light);
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) 70px;
  align-items: center;
  padding: 28px;
  color: white;
  background: rgba(12, 11, 10, 0.96);
  backdrop-filter: blur(18px);
}

.lightbox[hidden] {
  display: none;
}

.lightbox figure {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  max-width: 1180px;
  height: calc(100svh - 56px);
  margin: 0 auto;
}

.lightbox img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lightbox figcaption {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 14px;
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--serif);
}

.lightbox figcaption small {
  color: var(--gold-light);
  font-family: var(--sans);
}

.lightbox__close,
.lightbox__nav {
  color: white;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.lightbox__close {
  position: absolute;
  top: 22px;
  right: 28px;
  z-index: 2;
  font-size: 2.2rem;
  font-weight: 200;
}

.lightbox__nav {
  font-family: var(--serif);
  font-size: 3.5rem;
  opacity: 0.72;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.85s ease, transform 0.85s cubic-bezier(0.2, 0.7, 0, 1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@keyframes welcome-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

@keyframes equalizer {
  from { height: 4px; }
  to { height: 12px; }
}

@keyframes gallery-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

@keyframes shine-sweep {
  0%, 18% { left: -80%; opacity: 0; }
  28% { opacity: 0.8; }
  55%, 100% { left: 145%; opacity: 0; }
}

@keyframes sparkle {
  0%, 100% { opacity: 0.22; transform: scale(0.65); }
  50% { opacity: 1; transform: scale(1.25); }
}

@media (max-width: 1000px) {
  .site-header nav {
    display: none;
  }

  .site-header {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    grid-template-columns: 1fr 0.8fr;
    padding-right: 60px;
    padding-left: 60px;
  }

  .hero__portrait {
    width: min(40vw, 430px);
  }

  .story__grid,
  .family {
    gap: 60px;
  }

  .gallery {
    column-count: 3;
  }
}

@media (max-width: 760px) {
  .welcome {
    padding: 26px;
  }

  .welcome::before {
    inset: 12px;
  }

  .welcome::after {
    inset: 18px;
  }

  .welcome__actions {
    flex-direction: column;
    align-items: stretch;
    width: min(100%, 310px);
    margin: 0 auto;
  }

  .site-header {
    height: 66px;
    padding: 0 18px;
  }

  .music-mini__label {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    align-content: center;
    min-height: auto;
    padding: 118px 24px 80px;
  }

  .hero::after {
    background: linear-gradient(rgba(15, 13, 12, 0.82), rgba(17, 15, 13, 0.44) 58%, rgba(17, 15, 13, 0.9));
  }

  .hero__copy {
    padding: 0;
  }

  .hero h2 {
    font-size: clamp(3.7rem, 18vw, 6rem);
  }

  .hero__lead {
    margin-top: 30px;
  }

  .hero__portrait {
    width: min(78vw, 430px);
    margin-top: 64px;
  }

  .hero__vertical {
    display: none;
  }

  .section {
    padding: 88px 20px;
  }

  .section-heading {
    margin-bottom: 45px;
  }

  .story__grid,
  .family,
  .credits {
    grid-template-columns: 1fr;
  }

  .story__photos {
    min-height: 560px;
  }

  .story__seal {
    right: 0;
    width: 104px;
    height: 104px;
  }

  .numbers {
    grid-template-columns: 1fr 1fr;
    margin-top: 80px;
  }

  .numbers article:nth-child(2) {
    border-right: 0;
  }

  .numbers article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .journey__header,
  .journey__closing {
    grid-template-columns: 1fr;
  }

  .journey__header .eyebrow,
  .journey__closing span {
    grid-column: auto;
  }

  .journey__timeline {
    grid-template-columns: 1fr;
    margin-top: 58px;
  }

  .journey blockquote {
    margin: 45px 0;
  }

  .journey__closing span {
    text-align: left;
  }

  .narration {
    grid-template-columns: auto 1fr auto;
    padding: 18px;
  }

  .narration__timeline {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .glow-moment {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 96px 24px;
  }

  .glow-moment__portrait {
    width: min(82vw, 430px);
    margin: 0 auto;
  }

  .glow-moment__copy h2 {
    font-size: clamp(3.1rem, 14vw, 5.2rem);
  }

  .films__grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }

  .film-card,
  .film-card--tall {
    aspect-ratio: 9 / 13;
  }

  .family__copy {
    order: -1;
  }

  .family__photos {
    min-height: 610px;
  }

  .family-photo--portrait {
    width: 62%;
  }

  .family-photo--celebration {
    width: 78%;
  }

  .footer__credits {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
    margin-top: 38px;
    text-align: left;
  }

  .footer__credits nav {
    justify-content: flex-start;
    gap: 9px 16px;
  }

  .gallery {
    column-count: 2;
    column-gap: 8px;
  }

  .gallery__item {
    margin-bottom: 8px;
  }

  .gallery__item span,
  .gallery__item::after {
    display: none;
  }

  .blessing::after {
    background: linear-gradient(rgba(22, 16, 15, 0.82), rgba(30, 17, 20, 0.86));
  }

  .music-panel {
    right: 12px;
    bottom: 12px;
    min-width: 195px;
  }

  .lightbox {
    grid-template-columns: 38px minmax(0, 1fr) 38px;
    padding: 16px 4px;
  }

  .lightbox figure {
    height: calc(100svh - 32px);
  }

  .lightbox figcaption {
    padding: 10px 8px 0;
    font-size: 0.86rem;
  }
}

@media (max-width: 420px) {
  .gallery {
    column-count: 1;
  }

  .numbers strong {
    font-size: 3.25rem;
  }

  .numbers span {
    font-size: 0.58rem;
  }
}

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