@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap");

:root {
  --color-bg: #fffaf2;
  --color-card: #ffffff;
  --color-primary: #b99a5b;
  --color-secondary: #d8c7a3;
  --color-text: #3f3a34;
  --color-muted: #7c7468;
  --color-soft-blue: #eaf4f8;
  --color-border: #eadfcb;

  --font-title: "Cormorant Garamond", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 34px;
  --shadow-soft: 0 18px 55px rgba(63, 58, 52, 0.10);
  --shadow-card: 0 14px 35px rgba(63, 58, 52, 0.08);
  --container: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--color-text);
  background:
    radial-gradient(circle at top left, rgba(234, 244, 248, 0.95), transparent 34rem),
    linear-gradient(180deg, #fffdf8 0%, var(--color-bg) 42%, #ffffff 100%);
  font-family: var(--font-body);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.lightbox-open {
  overflow: hidden;
}

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

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

a {
  color: inherit;
}

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

p:last-child {
  margin-bottom: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-160%);
  padding: 0.75rem 1rem;
  border-radius: 999px;
  color: var(--color-text);
  background: var(--color-card);
  box-shadow: var(--shadow-card);
  text-decoration: none;
  transition: transform 180ms ease;
}

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

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin-inline: auto;
}

.container--narrow {
  width: min(calc(100% - 2rem), 780px);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: clamp(1.25rem, 4vw, 4rem) 0;
}

.hero__background {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__background::before,
.hero__background::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(2px);
  opacity: 0.78;
}

.hero__background::before {
  width: 18rem;
  height: 18rem;
  top: -6rem;
  right: -7rem;
  background: rgba(216, 199, 163, 0.38);
}

.hero__background::after {
  width: 22rem;
  height: 22rem;
  bottom: -10rem;
  left: -9rem;
  background: rgba(234, 244, 248, 0.92);
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 2rem), 1040px);
  margin-inline: auto;
  display: grid;
  gap: 1.5rem;
}

.hero__photo {
  margin: 0 auto;
  width: min(100%, 390px);
  border: 1px solid rgba(185, 154, 91, 0.22);
  border-radius: 42px;
  padding: 0.55rem;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-soft);
}

.hero__photo img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 34px;
}

.hero__content {
  position: relative;
  padding: clamp(1.5rem, 6vw, 3.2rem);
  border: 1px solid rgba(234, 223, 203, 0.94);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
  text-align: center;
}

.eyebrow,
.section-kicker {
  margin-bottom: 0.75rem;
  color: var(--color-primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2 {
  color: var(--color-text);
  font-family: var(--font-title);
  font-weight: 700;
  line-height: 0.98;
}

h1 {
  margin-bottom: 0.75rem;
  font-size: clamp(3.2rem, 16vw, 7rem);
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.3rem, 9vw, 4.6rem);
}

.hero__date {
  margin-bottom: 1.15rem;
  color: var(--color-muted);
  font-size: 1rem;
  font-weight: 600;
}

.hero__text {
  max-width: 29rem;
  margin-inline: auto;
  color: var(--color-muted);
  font-size: clamp(1rem, 4vw, 1.22rem);
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 1.55rem;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.25rem;
  border: 1px solid var(--color-primary);
  border-radius: 999px;
  color: #fff;
  background: var(--color-primary);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(185, 154, 91, 0.22);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(185, 154, 91, 0.30);
}

.button--ghost {
  color: var(--color-primary);
  background: rgba(255, 255, 255, 0.52);
  box-shadow: none;
}

.section {
  padding: clamp(4.5rem, 13vw, 8rem) 0;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 2rem;
  text-align: center;
}

.slideshow {
  max-width: 760px;
  margin: 0 auto;
}

.slideshow__viewport {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4 / 5;
  background: #f4ebdb;
}

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

.slideshow__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 1.5rem;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0.35) 100%);
}

.slideshow__control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
  font-size: 1.8rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transition: all 200ms ease;
}

.slideshow__control:hover,
.slideshow__control:focus-visible {
  transform: translateY(-2px) scale(1.05);
  background: rgba(0, 0, 0, 0.7);
  outline: none;
}

.slideshow__info {
  flex: 1;
  text-align: center;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.slideshow__caption {
  margin-bottom: 0.4rem;
  font-weight: 700;
  font-size: 1.15rem;
}

.slideshow__counter {
  margin: 0;
  font-size: 1rem;
  font-size: 0.95rem;
  opacity: 0.9;
}

.message-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.44), rgba(234, 244, 248, 0.28)),
    var(--color-bg);
}

.text-card {
  padding: clamp(1.35rem, 5vw, 2.5rem);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-card);
  font-size: clamp(1.02rem, 3.8vw, 1.18rem);
}

.text-card p + p {
  margin-top: 1rem;
}

.text-card strong {
  color: var(--color-primary);
  font-weight: 700;
}

.quote-section {
  padding-block: clamp(3.6rem, 10vw, 6rem);
  background:
    linear-gradient(135deg, rgba(234, 244, 248, 0.82), rgba(255, 250, 242, 0.92));
}

blockquote {
  position: relative;
  margin: 0;
  padding: clamp(1.8rem, 7vw, 3rem);
  border: 1px solid rgba(185, 154, 91, 0.25);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-card);
  text-align: center;
}

blockquote::before {
  content: "✦";
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  margin: 0 auto 1rem;
  place-items: center;
  border-radius: 999px;
  color: var(--color-primary);
  background: rgba(185, 154, 91, 0.12);
}

blockquote p {
  font-family: var(--font-title);
  font-size: clamp(1.65rem, 7vw, 3rem);
  line-height: 1.08;
}

.family-section {
  background: #fff;
}

.family-grid {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.family-copy {
  padding: clamp(1.25rem, 4vw, 2rem);
}

.family-copy p {
  color: var(--color-muted);
}

.family-photo {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-card);
  box-shadow: var(--shadow-soft);
}

.family-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.gallery-section {
  background:
    radial-gradient(circle at 0% 10%, rgba(234, 244, 248, 0.78), transparent 23rem),
    var(--color-bg);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 1.75rem;
}

.section-heading p {
  color: var(--color-muted);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.gallery-item {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  min-height: 0;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-card);
  box-shadow: 0 10px 20px rgba(63, 58, 52, 0.06);
  cursor: pointer;
}

.gallery-item::after {
  content: attr(data-caption);
  position: absolute;
  inset-inline: 0.65rem;
  bottom: 0.65rem;
  padding: 0.42rem 0.55rem;
  border-radius: 999px;
  color: #fff;
  background: rgba(63, 58, 52, 0.64);
  font-size: 0.74rem;
  font-weight: 700;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 1 / 1.18;
  object-fit: cover;
  transition: transform 300ms ease, filter 300ms ease;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.035);
  filter: saturate(1.03);
}

.gallery-item:hover::after,
.gallery-item:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.signature-section {
  background: #fff;
  text-align: center;
}

.signature-section p {
  color: var(--color-muted);
}

.signature {
  margin-top: 1.8rem;
  color: var(--color-text) !important;
  font-family: var(--font-title);
  font-size: clamp(2rem, 8vw, 3.3rem);
  font-weight: 700;
  line-height: 1.05;
}

.signature span {
  display: inline-block;
  margin-top: 0.6rem;
  color: var(--color-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer {
  padding: 2rem 1rem 6rem;
  color: var(--color-muted);
  background: #fff;
  text-align: center;
  font-size: 0.88rem;
}

.audio-toggle,
.back-to-top {
  position: fixed;
  z-index: 60;
  border: 1px solid rgba(185, 154, 91, 0.32);
  border-radius: 999px;
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(12px);
}

.audio-toggle {
  right: 1rem;
  bottom: 1rem;
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  gap: 0.45rem;
  padding: 0.75rem 1rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.audio-toggle[hidden] {
  display: none;
}

.back-to-top {
  right: 1rem;
  bottom: 4.65rem;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  font-size: 1.25rem;
  opacity: 0;
  pointer-events: none;
  cursor: pointer;
  transition: opacity 180ms ease, transform 180ms ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 4.5rem 1rem 2rem;
  background: rgba(32, 29, 25, 0.86);
}

.lightbox[hidden] {
  display: none;
}

.lightbox__figure {
  margin: 0;
  width: min(100%, 980px);
  text-align: center;
}

.lightbox__image {
  width: auto;
  max-height: 76svh;
  margin-inline: auto;
  border-radius: 22px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.38);
}

.lightbox__caption {
  margin-top: 0.9rem;
  color: #fff;
  font-weight: 700;
}

.lightbox__close,
.lightbox__nav {
  position: fixed;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.26);
  color: #fff;
  background: rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(10px);
  cursor: pointer;
}

.lightbox__close {
  top: 1rem;
  right: 1rem;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  font-size: 2rem;
  line-height: 1;
}

.lightbox__nav {
  top: 50%;
  width: 44px;
  height: 54px;
  border-radius: 999px;
  font-size: 2.5rem;
  transform: translateY(-50%);
}

.lightbox__nav--prev {
  left: 0.65rem;
}

.lightbox__nav--next {
  right: 0.65rem;
}

.noscript {
  position: fixed;
  inset-inline: 1rem;
  bottom: 1rem;
  z-index: 200;
  padding: 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #fff;
  box-shadow: var(--shadow-card);
}

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms ease, transform 620ms ease;
}

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

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

@media (min-width: 620px) {
  .hero__actions {
    flex-direction: row;
    justify-content: center;
  }

  .button {
    min-width: 210px;
  }

  .gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }
}

@media (min-width: 860px) {
  .hero__inner {
    grid-template-columns: minmax(280px, 0.86fr) minmax(360px, 1.14fr);
    align-items: center;
    gap: 2rem;
  }

  .hero__content {
    text-align: left;
  }

  .hero__text {
    margin-left: 0;
  }

  .hero__actions {
    justify-content: flex-start;
  }

  .family-grid {
    grid-template-columns: 1fr 0.82fr;
    gap: clamp(2rem, 6vw, 5rem);
  }

  .family-photo img {
    aspect-ratio: 4 / 5;
  }

  .gallery {
    gap: 1.25rem;
  }

  .gallery-item img {
    aspect-ratio: 1 / 1;
  }
}

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

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

  .js .reveal,
  .reveal {
    opacity: 1;
    transform: none;
  }
}
