:root {
  --bg: #090304;
  --bg-soft: #170406;
  --wine: #3e0007;
  --wine-2: #5e000c;
  --card: rgba(22, 6, 7, 0.92);
  --card-2: rgba(10, 4, 5, 0.88);
  --line: rgba(225, 182, 84, 0.35);
  --gold: #d6aa4f;
  --gold-light: #f3d78d;
  --text: #f4ede3;
  --muted: #d8c5a9;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  --radius: 30px;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(94,0,12,.3), transparent 26rem),
    radial-gradient(circle at bottom right, rgba(214,170,79,.12), transparent 30rem),
    linear-gradient(180deg, #100405 0%, #050203 100%);
  font-family: "Montserrat", Arial, sans-serif;
  line-height: 1.7;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }

h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: "Cormorant Garamond", Georgia, serif; }
h1 {
  font-size: clamp(4rem, 10vw, 7rem);
  line-height: .92;
  font-weight: 600;
  letter-spacing: .02em;
  margin-bottom: 10px;
}
h2 {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  line-height: 1;
  font-weight: 600;
  margin-bottom: 18px;
}
h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.75rem;
  margin-bottom: 8px;
}
.section { padding: 96px 0; position: relative; }
.section[id] { scroll-margin-top: 100px; }
.centered { text-align: center; }
.section-title { max-width: 860px; margin-inline: auto; margin-bottom: 38px; }
.heading-display { color: var(--gold-light); }
.script-big,
.hero-script,
.lead-script,
.small-script {
  font-family: "Great Vibes", cursive;
  font-weight: 400;
  color: var(--gold-light);
}
.hero-script {
  font-size: clamp(2.4rem, 7vw, 4.8rem);
  margin-bottom: 8px;
}
.small-script { font-size: clamp(2.1rem, 5vw, 3.4rem); }
.lead-script {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  margin-bottom: 14px;
}
.script-big {
  font-size: clamp(2.8rem, 7vw, 5rem);
  margin-bottom: 0;
}
.eyebrow,
.section-kicker {
  display: inline-block;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .28em;
  font-size: .78rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.nav {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 0 22px;
  border: 1px solid rgba(214,170,79,.36);
  border-radius: 999px;
  background: rgba(17, 4, 6, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 18px 36px rgba(0,0,0,.32);
}
.brand {
  font-weight: 800;
  letter-spacing: .08em;
  color: var(--gold-light);
}
.brand span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 4px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(214,170,79,.18);
  border: 1px solid rgba(214,170,79,.42);
}
.nav-menu { display: flex; gap: 22px; align-items: center; }
.nav-menu a {
  font-size: .95rem;
  font-weight: 600;
  color: #f8eee0;
  position: relative;
}
.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold-light), var(--gold));
  transition: width .25s ease;
}
.nav-menu a:hover::after { width: 100%; }
.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(214,170,79,.38);
  border-radius: 50%;
  background: rgba(255,255,255,.04);
  cursor: pointer;
}
.nav-toggle-line {
  display: block;
  width: 20px;
  height: 1px;
  margin: 4px auto;
  background: #fff;
  transition: transform .25s ease, width .25s ease;
}
.nav-toggle-line.short { width: 13px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-line:first-child { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-line.short { width: 20px; transform: translateY(-5px) rotate(-45deg); }

.site-header,
.page-header {
  position: relative;
  overflow: hidden;
  color: white;
}
.site-header {
  padding-top: 92px;
  background:
    linear-gradient(90deg, rgba(7,3,4,.94) 0%, rgba(18,2,4,.82) 34%, rgba(18,2,4,.34) 57%, rgba(7,3,4,.18) 100%),
    radial-gradient(circle at 82% 18%, rgba(255,225,151,.14), transparent 14rem),
    url("./assets/aiser-boat-header.png") 62% center / cover no-repeat,
    linear-gradient(180deg, #1a0405 0%, #3d0006 55%, #120304 100%);
}
.site-header::before,
.page-header::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(214,170,79,.28);
  border-radius: 36px;
  pointer-events: none;
}
.site-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 22% 14%, rgba(255,231,170,.12), transparent 16rem),
    linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.22) 100%);
}
.gallery-header {
  padding-top: 92px;
  background:
    linear-gradient(90deg, rgba(7,3,4,.88) 0%, rgba(18,2,4,.68) 42%, rgba(7,3,4,.30) 100%),
    radial-gradient(circle at 78% 18%, rgba(255,225,151,.12), transparent 14rem),
    url("./assets/aiser-boat-header.png") 62% center / cover no-repeat,
    linear-gradient(180deg, #1a0405 0%, #3d0006 55%, #120304 100%);
}
.hero,
.page-hero {
  position: relative;
  z-index: 1;
  display: grid;
  place-content: center;
  padding: 92px 0 84px;
}
.hero {
  justify-items: start;
  text-align: left;
  min-height: 78vh;
}
.page-hero {
  justify-items: center;
  text-align: center;
}
.hero > *, .page-hero > * { max-width: 760px; }
.hero-invite {
  margin-bottom: 8px;
  font-size: clamp(.95rem, 2vw, 1.35rem);
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: .25em;
  font-weight: 700;
}
.hero-date {
  font-size: clamp(1.08rem, 2.5vw, 1.4rem);
  color: #fff5e7;
  margin-bottom: 16px;
}
.hero-text,
.page-hero p:last-of-type { color: var(--muted); font-size: 1.06rem; }
.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-top: 24px;
}

.hero .eyebrow,
.hero-invite,
.hero h1,
.hero-script,
.hero-date,
.hero-text,
.hero-actions {
  max-width: min(560px, 100%);
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.primary {
  color: #150606;
  background: linear-gradient(135deg, #f7dd9d, #c5912a 76%);
  box-shadow: 0 12px 28px rgba(197,145,42,.28);
}
.secondary {
  color: white;
  border-color: rgba(214,170,79,.5);
  background: rgba(94,0,12,.56);
}

.countdown-section {
  position: relative;
  z-index: 3;
  padding-top: 18px;
}
.countdown-section .container {
  padding: 28px;
  border: 1px solid rgba(214,170,79,.32);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(16,4,5,.94), rgba(60,0,7,.9));
  box-shadow: var(--shadow);
  text-align: center;
}
.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.countdown div {
  padding: 24px 10px;
  border: 1px solid rgba(214,170,79,.26);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(18,6,7,.92), rgba(70,0,8,.7));
}
.countdown strong {
  display: block;
  color: var(--gold-light);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  line-height: 1;
}
.countdown span { color: #f3e5cf; font-weight: 600; }

.featured-aiser {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 28px;
  align-items: center;
}
.reveal-card,
.story-card,
.spotlight-panel,
.rsvp,
.timeline-item,
.gallery-preview,
.drive-card,
.photo-grid figure,
.mini-gallery figure,
.map-card {
  box-shadow: var(--shadow);
}
.featured-copy,
.featured-photo {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(145deg, rgba(17,4,5,.92), rgba(52,0,7,.72));
}
.featured-copy { padding: 34px; }
.featured-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.story-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.story-card {
  min-height: 220px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(18,6,7,.96), rgba(58,0,7,.72));
}
.story-card span {
  display: inline-grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: #140706;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  font-weight: 800;
}
.story-card p { color: var(--muted); margin-bottom: 0; }

.parallax-band {
  min-height: 420px;
  background:
    linear-gradient(rgba(9,3,4,.48), rgba(9,3,4,.58)),
    url("./assets/aiser-boat.jpg") center/cover fixed no-repeat;
}
.parallax-overlay {
  min-height: inherit;
  display: flex;
  align-items: center;
}
.quote-box {
  text-align: center;
  padding: 50px 20px;
}

.soft {
  background: linear-gradient(180deg, rgba(35,0,5,.68), rgba(9,3,4,.8));
}
.event-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 30px;
  align-items: center;
}
.event-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}
.event-list li {
  padding: 11px 0;
  border-bottom: 1px solid rgba(214,170,79,.2);
  color: #fbf2e7;
}
.event-list strong { color: var(--gold-light); }
.map-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #0a0505;
}
.map-frame {
  display: block;
  width: 100%;
  min-height: 430px;
  border: 0;
  background: #f4efe7;
}
.map-card-action {
  display: flex;
  justify-content: center;
  padding: 16px;
  border-top: 1px solid rgba(214,170,79,.18);
  background: linear-gradient(145deg, rgba(18,6,7,.98), rgba(52,0,7,.9));
}

.spotlight-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  align-items: center;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(17,4,5,.96), rgba(60,0,7,.76));
}
.spotlight-copy p:last-child { margin-bottom: 0; }
.custom-split {
  display: grid;
  grid-template-columns: 1.1fr .8fr;
  gap: 16px;
}
.spotlight-media figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(214,170,79,.24);
  border-radius: 24px;
  background: rgba(255,255,255,.03);
}
.spotlight-media img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}
.invite-photo img { object-fit: contain; background: #110405; }

.timeline {
  max-width: 930px;
  margin-inline: auto;
  display: grid;
  gap: 18px;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 26px;
  bottom: 26px;
  left: 106px;
  width: 2px;
  background: linear-gradient(180deg, transparent, rgba(214,170,79,.45), transparent);
}
.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 24px;
  align-items: start;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(17,4,5,.96), rgba(52,0,7,.72));
}
.timeline-item::before {
  content: "✦";
  position: absolute;
  left: 94px;
  top: 24px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  color: #120706;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  border-radius: 50%;
  box-shadow: 0 0 0 6px #180607;
}
.timeline-item time {
  color: var(--gold-light);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.8rem;
  font-weight: 700;
}
.timeline-item p { margin-bottom: 0; color: var(--muted); }

.rsvp {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 28px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(17,4,5,.96), rgba(58,0,7,.76));
}
.rsvp-form { display: grid; gap: 14px; }
label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-weight: 600;
}
input, select, textarea {
  width: 100%;
  padding: 14px 15px;
  color: white;
  background: rgba(0,0,0,.28);
  border: 1px solid rgba(214,170,79,.22);
  border-radius: 16px;
  font: inherit;
}
input:focus, select:focus, textarea:focus {
  outline: 3px solid rgba(214,170,79,.12);
  border-color: rgba(214,170,79,.55);
}
.form-note { color: var(--muted); font-size: .9rem; }

.gallery-preview,
.drive-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 36px 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.gallery-preview {
  background: linear-gradient(145deg, rgba(17,4,5,.96), rgba(70,0,8,.72));
}
.drive-section { padding-bottom: 96px; }
.drive-card {
  background: linear-gradient(145deg, rgba(12,5,6,.98), rgba(49,0,6,.82));
}
.mini-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 22px;
}
.mini-gallery figure,
.photo-grid figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(17,4,5,.96), rgba(52,0,7,.7));
}
.mini-gallery img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.mini-gallery figcaption,
.photo-grid figcaption {
  padding: 16px 18px 20px;
  color: var(--gold-light);
  font-weight: 700;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.photo-grid img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform .35s ease;
}
.photo-grid figure:hover img,
.mini-gallery figure:hover img { transform: scale(1.03); }
.real-gallery figure:nth-child(4) img { object-fit: contain; background: #100405; }
.real-gallery figure:nth-child(3) img { object-position: center; }
.gallery-drive { margin-top: 40px; }

.gifts {
  max-width: 820px;
  text-align: center;
}
.gifts p:last-child { margin-bottom: 0; }

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 20;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: white;
  background: #25d366;
  border: 2px solid rgba(243,215,141,.74);
  border-radius: 50%;
  box-shadow: 0 14px 32px rgba(0,0,0,.34);
  transition: transform .2s ease;
}
.whatsapp-float:hover { transform: translateY(-3px) scale(1.03); }
.whatsapp-float svg { width: 34px; height: 34px; }

.footer {
  padding: 34px 20px;
  text-align: center;
  color: #e5d0b2;
  background: #050203;
  border-top: 1px solid rgba(214,170,79,.16);
}

@media (max-width: 980px) {
  .story-list { grid-template-columns: 1fr; }
  .featured-aiser,
  .event-layout,
  .spotlight-panel,
  .rsvp { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav-toggle { display: grid; }
  .nav-menu {
    position: fixed;
    inset: 18px;
    z-index: 30;
    display: none;
    flex-direction: column;
    justify-content: center;
    min-height: calc(100dvh - 36px);
    border: 1px solid rgba(214,170,79,.42);
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(14,4,5,.98), rgba(72,0,8,.98));
    box-shadow: var(--shadow);
    font-size: 1.35rem;
  }
  .nav-menu.open { display: flex; }
  .nav-toggle { z-index: 60; }
  .countdown { grid-template-columns: repeat(2, 1fr); }
  .custom-split,
  .timeline-item,
  .mini-gallery,
  .photo-grid { grid-template-columns: 1fr; }
  .timeline::before,
  .timeline-item::before { display: none; }
  .gallery-preview,
  .drive-card { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 620px) {
  .container { width: min(100% - 28px, 1120px); }
  .nav { top: 10px; min-height: 62px; padding: 0 16px; }
  .hero,
  .page-hero { padding: 72px 0 58px; }
  .hero { min-height: 84vh; }
  .section { padding: 76px 0; }
  .countdown-section .container,
  .featured-copy,
  .spotlight-panel,
  .rsvp,
  .gallery-preview,
  .drive-card { padding: 24px; }
  .countdown { grid-template-columns: 1fr 1fr; }
  .parallax-band { background-attachment: scroll; min-height: 320px; }
}

@media (max-width: 900px) {
  .site-header {
    background:
      linear-gradient(180deg, rgba(7,3,4,.68) 0%, rgba(24,2,4,.50) 34%, rgba(24,2,4,.25) 58%, rgba(7,3,4,.78) 100%),
      radial-gradient(circle at 50% 16%, rgba(255,225,151,.12), transparent 12rem),
      url("./assets/aiser-boat-header.png") 62% center / cover no-repeat,
      linear-gradient(180deg, #1a0405 0%, #3d0006 55%, #120304 100%);
  }
  .hero {
    justify-items: center;
    text-align: center;
    min-height: 86vh;
    padding: 68px 0 42px;
  }
  .hero-actions { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
