/* ============================================================
   Amalfi Light — Editorial Ivory
   Jason Paez Personal Site
   ============================================================ */

/* --- Google Fonts import via <link> in HTML --- */

/* ---- TOKENS ---- */
:root {
  --ivory:      #F8F3E9;
  --stone:      #E3D9CB;
  --sea:        #2F5D92;
  --charcoal:   #2E3138;
  --limoncello: #F4D35E;
  --olive:      #7C8A54;
  --bougain:    #C63C6D;
  --misty:      #A7BED3;
  --white:      #FFFFFF;

  --display: 'Cormorant Garamond', Georgia, serif;
  --sans:    'Hanken Grotesk', system-ui, sans-serif;

  --gap-xs:  0.5rem;
  --gap-sm:  1rem;
  --gap-md:  2rem;
  --gap-lg:  4rem;
  --gap-xl:  7rem;

  --radius: 2px;
  --transition: 0.4s ease;
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--ivory);
  color: var(--charcoal);
  font-family: var(--sans);
  font-size: clamp(0.9375rem, 1vw + 0.5rem, 1.0625rem);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, picture { display: block; max-width: 100%; }
a { color: var(--sea); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible {
  outline: 2px solid var(--sea);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---- FILM GRAIN OVERLAY ---- */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  background-size: 128px 128px;
  opacity: 0.03;
  mix-blend-mode: soft-light;
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: var(--charcoal);
}
h1 { font-size: clamp(3rem, 7vw, 6rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2.2rem); }

.label {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sea);
}

.label--olive { color: var(--olive); }

.pull-quote {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  font-weight: 300;
  line-height: 1.5;
  color: var(--charcoal);
  position: relative;
}

/* Drop cap */
.drop-cap::first-letter {
  font-family: var(--display);
  font-size: 4.5em;
  font-weight: 400;
  float: left;
  line-height: 0.78;
  padding-right: 0.1em;
  padding-top: 0.08em;
  color: var(--sea);
}

/* ---- LAYOUT UTILITIES ---- */
.container {
  width: 90%;
  max-width: 1280px;
  margin-inline: auto;
}

.container--narrow {
  width: 90%;
  max-width: 780px;
  margin-inline: auto;
}

.section {
  padding-block: var(--gap-xl);
}

.section--stone {
  background: var(--stone);
}

.section--ivory {
  background: var(--ivory);
}

/* ---- NAVIGATION ---- */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 5%;
  transition: background var(--transition), backdrop-filter var(--transition);
}

.site-nav.scrolled {
  background: rgba(248, 243, 233, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--stone);
}

.nav-logo {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--charcoal);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--charcoal);
  transition: color var(--transition);
}

.nav-links a:hover { color: var(--sea); text-decoration: none; }

.nav-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}

.nav-burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--charcoal);
  transition: all 0.3s;
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: var(--ivory);
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    z-index: 99;
  }
  .nav-links.open a { font-size: 1.1rem; }
}

/* ---- HERO ---- */
.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding-top: 5rem;
  overflow: hidden;
}

.hero__text {
  padding: var(--gap-xl) 5% var(--gap-xl) 5%;
  display: flex;
  flex-direction: column;
  gap: var(--gap-md);
}

.hero__label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero__label::before {
  content: '';
  display: block;
  width: 2rem;
  height: 1px;
  background: var(--sea);
}

.hero__name {
  font-size: clamp(3.5rem, 7vw, 6.5rem);
  font-weight: 300;
  letter-spacing: 0.03em;
  line-height: 1.0;
}

.hero__name em {
  font-style: italic;
  font-weight: 300;
  color: var(--sea);
}

.hero__one-liner {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 300;
  color: var(--charcoal);
  max-width: 38ch;
  line-height: 1.55;
  opacity: 0.85;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  border: 1px solid currentColor;
  transition: all 0.3s;
  cursor: pointer;
  border-radius: 0;
}

.btn--primary {
  background: var(--sea);
  color: var(--white);
  border-color: var(--sea);
}

.btn--primary:hover {
  background: #1e4a7a;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(47, 93, 146, 0.25);
}

.btn--ghost {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--charcoal);
}

.btn--ghost:hover {
  background: var(--charcoal);
  color: var(--ivory);
  text-decoration: none;
  transform: translateY(-1px);
}

.hero__image {
  position: relative;
  height: 100svh;
  overflow: hidden;
}

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

@media (prefers-reduced-motion: no-preference) {
  .hero__image img {
    animation: kenBurns 28s ease-in-out infinite alternate;
  }
}

@keyframes kenBurns {
  from { transform: scale(1.06) translate(1%, 1%); }
  to   { transform: scale(1.0) translate(-1%, 0%); }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto 55svh;
  }
  .hero__text {
    padding: 7rem 5% 3rem;
    order: 1;
  }
  .hero__image {
    order: 2;
    height: 55svh;
  }
}

@media (max-width: 480px) {
  .hero {
    grid-template-rows: auto 45svh;
  }
}

/* ---- SCROLL REVEAL ---- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
}

@media (prefers-reduced-motion: no-preference) {
  .reveal.visible {
    transition: opacity 0.7s ease, transform 0.7s ease;
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* stagger children */
.reveal-stagger > * { opacity: 0; transform: translateY(20px); }
@media (prefers-reduced-motion: no-preference) {
  .reveal-stagger.visible > * {
    animation: revealUp 0.6s ease forwards;
  }
  .reveal-stagger.visible > *:nth-child(1) { animation-delay: 0s; }
  .reveal-stagger.visible > *:nth-child(2) { animation-delay: 0.12s; }
  .reveal-stagger.visible > *:nth-child(3) { animation-delay: 0.24s; }
  .reveal-stagger.visible > *:nth-child(4) { animation-delay: 0.36s; }
  .reveal-stagger.visible > *:nth-child(5) { animation-delay: 0.48s; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal-stagger > * { opacity: 1; transform: none; }
}

@keyframes revealUp {
  to { opacity: 1; transform: none; }
}

/* ---- ABOUT ---- */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--gap-lg);
  align-items: start;
}

.about__portrait {
  position: relative;
}

.about__portrait img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.about__portrait-caption {
  position: absolute;
  bottom: -1rem;
  left: 1rem;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--olive);
  writing-mode: vertical-lr;
  transform: rotate(180deg);
}

.about__content { display: flex; flex-direction: column; gap: var(--gap-md); }
.about__content h2 { margin-bottom: 0.5rem; }

.about__bio { max-width: 55ch; }

.about__pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: var(--gap-sm);
}

.pillar {
  padding: 1.5rem;
  border-left: 2px solid var(--sea);
  background: rgba(47, 93, 146, 0.04);
}

.pillar__title {
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 0.4rem;
}

.pillar__body { font-size: 0.875rem; line-height: 1.6; opacity: 0.85; }

@media (max-width: 900px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__portrait { max-width: 420px; }
  .about__portrait-caption { display: none; }
}

@media (max-width: 600px) {
  .about__pillars { grid-template-columns: 1fr; }
}

/* ---- CAREER TIMELINE ---- */
.timeline { position: relative; padding-top: var(--gap-md); }

.timeline::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--stone), var(--sea), var(--stone));
}

.timeline__item {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  position: relative;
}

.timeline__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--sea);
  border: 2px solid var(--ivory);
  box-shadow: 0 0 0 2px var(--sea);
  margin-top: 0.35rem;
  flex-shrink: 0;
}

.timeline__year {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sea);
  margin-bottom: 0.3rem;
}

.timeline__role {
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 0.35rem;
}

.timeline__detail { font-size: 0.9rem; opacity: 0.8; max-width: 55ch; }

/* special highlight for HVN */
.timeline__item--featured .timeline__dot {
  width: 14px;
  height: 14px;
  background: var(--limoncello);
  box-shadow: 0 0 0 2px var(--limoncello);
  border-color: var(--ivory);
  margin-top: 0.18rem;
}

/* ---- VENTURES ---- */
.ventures__featured {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--gap-lg);
  align-items: center;
  margin-bottom: var(--gap-xl);
}

.ventures__featured-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.ventures__featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.ventures__featured-image:hover img { transform: scale(1.04); }

.ventures__pill {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  background: var(--limoncello);
  color: var(--charcoal);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
}

.ventures__content { display: flex; flex-direction: column; gap: 1.25rem; }
.ventures__name { margin-bottom: 0; }
.ventures__tagline {
  font-size: 0.95rem;
  opacity: 0.75;
  font-style: italic;
  font-family: var(--display);
}

.ventures__secondary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.venture-card {
  padding: 2rem;
  border: 1px solid var(--stone);
  transition: border-color var(--transition), transform var(--transition);
}

.venture-card:hover {
  border-color: var(--sea);
  transform: translateY(-3px);
}

.venture-card__year {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 0.6rem;
}

.venture-card__name {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
}

.venture-card__body { font-size: 0.875rem; opacity: 0.82; }

@media (max-width: 900px) {
  .ventures__featured { grid-template-columns: 1fr; }
  .ventures__secondary { grid-template-columns: 1fr; }
}

/* ---- RECOGNITION ---- */
.recognition__metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--stone);
  margin-bottom: var(--gap-lg);
}

.metric {
  padding: 2.5rem 2rem;
  text-align: center;
  border-right: 1px solid var(--stone);
  position: relative;
}

.metric:last-child { border-right: none; }

.metric__number {
  font-family: var(--display);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 300;
  color: var(--charcoal);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.metric__label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.65;
}

.metric__accent {
  display: block;
  width: 2rem;
  height: 2px;
  background: var(--limoncello);
  margin: 0.75rem auto 0;
}

.recognition__awards {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: var(--gap-md);
}

.award-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  border: 1px solid var(--stone);
  font-size: 0.82rem;
}

.award-badge__icon {
  width: 2px;
  height: 2rem;
  background: var(--sea);
  flex-shrink: 0;
}

.award-badge__name { font-family: var(--display); font-size: 1rem; font-weight: 400; }
.award-badge__detail { font-size: 0.72rem; opacity: 0.7; letter-spacing: 0.05em; }

.recognition__quote {
  max-width: 680px;
  margin: var(--gap-lg) auto 0;
  text-align: center;
}

.recognition__quote cite {
  display: block;
  font-style: normal;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-top: 1.25rem;
}

@media (max-width: 900px) {
  .recognition__metrics { grid-template-columns: 1fr 1fr; }
  .metric { border-bottom: 1px solid var(--stone); }
  .metric:nth-child(2) { border-right: none; }
  .metric:nth-child(3), .metric:nth-child(4) { border-bottom: none; }
}

@media (max-width: 600px) {
  .recognition__metrics { grid-template-columns: 1fr; }
  .metric { border-right: none; }
  .metric:last-child { border-bottom: none; }
}

/* ---- PARTNERSHIP ---- */
.partnership__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--gap-lg);
  align-items: center;
}

.partnership__images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.partnership__images picture:first-child {
  grid-column: 1 / -1;
}

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

.partnership__images picture:first-child img {
  aspect-ratio: 16/10;
}

.partnership__images picture:not(:first-child) img {
  aspect-ratio: 3/4;
}

.partnership__content { display: flex; flex-direction: column; gap: 1.75rem; }

.partnership__names {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  line-height: 1.1;
}

.partnership__quote {
  border-left: 2px solid var(--sea);
  padding-left: 1.5rem;
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  line-height: 1.6;
  opacity: 0.88;
}

.partnership__facts { font-size: 0.9rem; opacity: 0.8; line-height: 1.9; }

.wedding-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--sea);
  padding-top: 0.5rem;
  transition: gap var(--transition);
}

.wedding-link:hover { gap: 0.85rem; text-decoration: none; }
.wedding-link::after { content: '→'; font-style: normal; }

@media (max-width: 900px) {
  .partnership__grid { grid-template-columns: 1fr; }
  .partnership__images { max-width: 600px; }
}

/* ---- CONTACT ---- */
.contact {
  text-align: center;
  padding-block: var(--gap-xl);
}

.contact__inner { max-width: 640px; margin-inline: auto; }

.contact__title { margin-bottom: 1.5rem; }

.contact__sub {
  opacity: 0.75;
  margin-bottom: 2.5rem;
  max-width: 48ch;
  margin-inline: auto;
}

/* ---- FOOTER ---- */
footer {
  background: var(--charcoal);
  color: rgba(248, 243, 233, 0.65);
  padding: 2.5rem 5%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}

footer a { color: rgba(248, 243, 233, 0.65); }
footer a:hover { color: var(--ivory); }

.footer__brand {
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--ivory);
}

/* ============================================================
   WEDDING PAGE
   ============================================================ */

/* ---- GATE ---- */
.gate {
  min-height: 100svh;
  background: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.gate__bg {
  position: absolute;
  inset: 0;
}

.gate__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

@media (prefers-reduced-motion: no-preference) {
  .gate__bg img {
    animation: kenBurns 30s ease-in-out infinite alternate;
  }
}

.gate__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
  max-width: 520px;
  width: 100%;
}

.gate__monogram {
  width: 80px;
  margin: 0 auto 2rem;
  opacity: 0.9;
}

.gate__title {
  color: var(--ivory);
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 300;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.gate__date {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--misty);
  margin-bottom: 2.5rem;
}

.gate__hint {
  font-size: 0.85rem;
  color: rgba(248, 243, 233, 0.6);
  margin-bottom: 1.5rem;
  font-style: italic;
  font-family: var(--display);
}

.gate__form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.gate__input {
  width: 100%;
  max-width: 320px;
  background: rgba(248, 243, 233, 0.08);
  border: 1px solid rgba(248, 243, 233, 0.3);
  color: var(--ivory);
  font-family: var(--display);
  font-size: 1rem;
  letter-spacing: 0.1em;
  padding: 0.9rem 1.25rem;
  text-align: center;
  outline: none;
  transition: border-color var(--transition);
}

.gate__input::placeholder { color: rgba(248, 243, 233, 0.35); }
.gate__input:focus { border-color: var(--misty); }

.gate__btn {
  background: transparent;
  border: 1px solid rgba(248, 243, 233, 0.5);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.85rem 2.5rem;
  cursor: pointer;
  transition: all var(--transition);
}

.gate__btn:hover {
  background: rgba(248, 243, 233, 0.1);
  border-color: var(--ivory);
}

.gate__error {
  font-size: 0.8rem;
  color: #e07070;
  letter-spacing: 0.08em;
  min-height: 1.2em;
  transition: opacity var(--transition);
}

/* ---- WEDDING CHAPTER ---- */
.wedding-chapter {
  display: none;
  background: var(--ivory);
}

.wedding-chapter.unlocked { display: block; }

/* wedding nav */
.wedding-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 5%;
  background: rgba(248, 243, 233, 0.0);
  transition: background var(--transition), backdrop-filter var(--transition);
}

.wedding-nav.scrolled {
  background: rgba(248, 243, 233, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--stone);
}

.wedding-nav__logo {
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 300;
  letter-spacing: 0.12em;
  color: var(--ivory);
  transition: color var(--transition);
}

.wedding-nav.scrolled .wedding-nav__logo { color: var(--charcoal); }

.wedding-nav__home {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(248, 243, 233, 0.7);
  transition: color var(--transition);
}

.wedding-nav.scrolled .wedding-nav__home { color: var(--charcoal); }

/* ---- WEDDING HERO ---- */
.wedding-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 8vh;
  overflow: hidden;
}

.wedding-hero__bg {
  position: absolute;
  inset: 0;
}

.wedding-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (prefers-reduced-motion: no-preference) {
  .wedding-hero__bg img {
    animation: kenBurns 32s ease-in-out infinite alternate;
  }
}

.wedding-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(30, 25, 20, 0.8) 0%,
    rgba(30, 25, 20, 0.2) 50%,
    transparent 100%
  );
}

.wedding-hero__content {
  position: relative;
  z-index: 2;
  padding: 0 5%;
  color: var(--ivory);
}

.wedding-hero__hashtag {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--misty);
  margin-bottom: 1.25rem;
}

.wedding-hero__names {
  font-family: var(--display);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--ivory);
  line-height: 1.0;
  margin-bottom: 1rem;
}

.wedding-hero__names em {
  font-style: italic;
  font-weight: 300;
}

.wedding-hero__location {
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(248, 243, 233, 0.75);
}

/* ---- WEDDING SECTIONS ---- */
.w-section {
  padding-block: clamp(4rem, 8vw, 7rem);
}

.w-section--stone { background: var(--stone); }
.w-section--dark {
  background: var(--charcoal);
  color: var(--ivory);
}

.w-section--dark h2,
.w-section--dark h3,
.w-section--dark .label { color: var(--ivory); }
.w-section--dark .label { color: var(--misty); }

/* ---- PROPOSAL ---- */
.proposal__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-lg);
  align-items: start;
}

.proposal__image img {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
}

.proposal__text { display: flex; flex-direction: column; gap: 1.75rem; }

.proposal__quote {
  border-left: 2px solid var(--sea);
  padding: 1.25rem 1.5rem;
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  line-height: 1.65;
  background: rgba(47, 93, 146, 0.04);
}

@media (max-width: 768px) {
  .proposal__grid { grid-template-columns: 1fr; }
}

/* ---- VOWS ---- */
.vows__container {
  max-width: 1100px;
  margin-inline: auto;
}

.vows__header {
  text-align: center;
  margin-bottom: var(--gap-lg);
}

.vows__header h2 {
  color: var(--ivory);
  margin-bottom: 0.75rem;
}

.vows__separator {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.25rem;
}

.vows__separator::before,
.vows__separator::after {
  content: '';
  flex: 1;
  max-width: 80px;
  height: 1px;
  background: var(--misty);
  opacity: 0.5;
}

.vows__ornament {
  font-family: var(--display);
  font-size: 1.5rem;
  color: var(--misty);
  opacity: 0.7;
}

.vows__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-md);
}

.vow-card {
  background: rgba(248, 243, 233, 0.04);
  border: 1px solid rgba(248, 243, 233, 0.1);
  padding: 3rem 2.5rem;
  position: relative;
}

.vow-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 2.5rem;
  right: 2.5rem;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--misty), transparent);
  opacity: 0.4;
}

.vow-card__from {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--misty);
  margin-bottom: 1.5rem;
}

.vow-card__salutation {
  font-family: var(--display);
  font-size: 1.5rem;
  font-style: italic;
  font-weight: 300;
  color: var(--ivory);
  margin-bottom: 1.75rem;
}

.vow-card__body {
  font-size: 0.925rem;
  line-height: 1.9;
  color: rgba(248, 243, 233, 0.82);
}

.vow-card__body p + p { margin-top: 1.1em; }

.vow-card__promises {
  margin-top: 1.25em;
  padding-left: 0;
  list-style: none;
}

.vow-card__promises li {
  padding: 0.3em 0;
  padding-left: 1.2em;
  position: relative;
  color: rgba(248, 243, 233, 0.82);
  font-size: 0.925rem;
  line-height: 1.7;
}

.vow-card__promises li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--misty);
  opacity: 0.5;
}

.vow-card__signature {
  margin-top: 2rem;
  font-family: var(--display);
  font-style: italic;
  font-size: 1.2rem;
  color: rgba(248, 243, 233, 0.65);
}

@media (max-width: 768px) {
  .vows__grid { grid-template-columns: 1fr; }
  .vow-card { padding: 2rem 1.5rem; }
}

/* ---- CEREMONY ---- */
.ceremony__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-lg);
  align-items: start;
}

.ceremony__content { display: flex; flex-direction: column; gap: 1.75rem; }

.ceremony__program {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.ceremony__program li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  font-size: 0.875rem;
  line-height: 1.55;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--stone);
}

.ceremony__program li:last-child { border-bottom: none; }

.ceremony__program-role {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sea);
  white-space: nowrap;
  padding-top: 0.1rem;
}

.reading-block {
  background: var(--stone);
  padding: 2rem 2.5rem;
  font-family: var(--display);
  font-style: italic;
  font-size: 0.98rem;
  line-height: 1.85;
}

.blessing-block {
  background: rgba(47, 93, 146, 0.06);
  border-left: 2px solid var(--sea);
  padding: 1.5rem 2rem;
  font-family: var(--display);
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.8;
}

.ceremony__diptych {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.ceremony__diptych img {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
}

@media (max-width: 768px) {
  .ceremony__grid { grid-template-columns: 1fr; }
}

/* ---- WEDDING PARTY ---- */
.wedding-party { max-width: 780px; margin-inline: auto; text-align: center; }

.party-group {
  margin-bottom: 2.5rem;
}

.party-group__title {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sea);
  margin-bottom: 0.75rem;
}

.party-group__names {
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.8;
}

.in-memoriam {
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--stone);
  text-align: center;
}

.in-memoriam__names {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 2;
  opacity: 0.75;
}

.in-memoriam__dedication {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  opacity: 0.55;
  margin-top: 0.75rem;
}

/* ---- WEEKEND ITINERARY ---- */
.itinerary { display: flex; flex-direction: column; gap: 1.5rem; }

.itinerary__day {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--stone);
  align-items: start;
}

.itinerary__day:last-child { border-bottom: none; }

.itinerary__day-label {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sea);
  padding-top: 0.15rem;
}

.itinerary__event-name {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 400;
  margin-bottom: 0.25rem;
}

.itinerary__event-detail { font-size: 0.875rem; opacity: 0.75; }

@media (max-width: 600px) {
  .itinerary__day { grid-template-columns: 1fr; gap: 0.5rem; }
}

/* ---- SCENERY DIPTYCH ---- */
.scenery-diptych {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 16px;
  margin-block: var(--gap-md);
}

.scenery-diptych img {
  width: 100%;
  object-fit: cover;
}

.scenery-diptych picture:first-child img { aspect-ratio: 4/3; }
.scenery-diptych picture:last-child img { aspect-ratio: 3/4; }

/* ---- MENUS ---- */
.menu-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: var(--gap-lg);
  align-items: start;
}

.menu-card {
  background: rgba(47, 93, 146, 0.04);
  border: 1px solid var(--stone);
  padding: 2.5rem;
}

.menu-card h3 { margin-bottom: 1.5rem; }

.menu-card__courses { display: flex; flex-direction: column; gap: 1rem; }

.course {
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--stone);
}

.course:last-child { border-bottom: none; }

.course__name {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 400;
  margin-bottom: 0.3rem;
}

.course__detail { font-size: 0.825rem; opacity: 0.72; }
.course__wine { font-style: italic; font-size: 0.78rem; color: var(--olive); margin-top: 0.2rem; }

.cocktails-card {
  padding: 2.5rem;
  border: 1px solid var(--stone);
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.cocktail { display: flex; flex-direction: column; gap: 0.4rem; }
.cocktail__label {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sea);
}
.cocktail__name {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 400;
}
.cocktail__spec { font-size: 0.875rem; opacity: 0.75; }

@media (max-width: 768px) {
  .menu-grid { grid-template-columns: 1fr; }
}

/* ---- GALLERY ---- */
.gallery-section { padding-block: var(--gap-xl); }

.gallery-header {
  text-align: center;
  margin-bottom: var(--gap-lg);
}

.gallery-grid {
  columns: 3;
  column-gap: 12px;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 12px;
  overflow: hidden;
  cursor: pointer;
  display: block;
  position: relative;
}

.gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.5s ease;
}

.gallery-item:hover img { transform: scale(1.03); }

@media (max-width: 900px) { .gallery-grid { columns: 2; } }
@media (max-width: 500px) { .gallery-grid { columns: 1; } }

/* ---- LIGHTBOX ---- */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(10, 12, 18, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox.open { display: flex; }

.lightbox__img {
  max-height: 90svh;
  max-width: 90vw;
  object-fit: contain;
  display: block;
}

.lightbox__close,
.lightbox__prev,
.lightbox__next {
  position: absolute;
  background: none;
  border: none;
  color: rgba(248, 243, 233, 0.8);
  cursor: pointer;
  font-size: 1.5rem;
  padding: 1rem;
  transition: color var(--transition);
  line-height: 1;
}

.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover { color: var(--ivory); }

.lightbox__close { top: 1.5rem; right: 1.5rem; font-size: 1.8rem; }
.lightbox__prev { left: 1.5rem; top: 50%; transform: translateY(-50%); font-size: 2rem; }
.lightbox__next { right: 1.5rem; top: 50%; transform: translateY(-50%); font-size: 2rem; }

/* ---- GRATITUDE ---- */
.gratitude {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
}

.gratitude__credits {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2.5rem;
  justify-content: center;
  margin-top: var(--gap-md);
  font-size: 0.875rem;
  opacity: 0.8;
}

.gratitude__credit-role {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sea);
  display: block;
  margin-bottom: 0.2rem;
}

.gratitude__credit-name { font-family: var(--display); font-size: 1rem; }

/* ---- BACK LINK ---- */
.back-link {
  text-align: center;
  padding: 2.5rem;
  border-top: 1px solid var(--stone);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ---- MUSIC PLAYER ---- */
.music-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 200;
  background: rgba(46, 49, 56, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(248, 243, 233, 0.2);
  color: var(--ivory);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all var(--transition);
}

.music-btn:hover { background: rgba(46, 49, 56, 0.9); }

/* ---- UTILITY ---- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

p + p { margin-top: 1em; }

.text-center { text-align: center; }
.mt-sm { margin-top: var(--gap-sm); }
.mt-md { margin-top: var(--gap-md); }
.mt-lg { margin-top: var(--gap-lg); }
