/* ─── Reset & Base ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --sky:      #e8f3fb;
  --sky-warm: #d5eaf6;
  --blue:     #5a9fc0;
  --blue-lt:  #84bdd5;
  --navy:     #1e4b72;
  --charcoal: #1a2c3a;
  --mid:      #4e7388;
  --light:    #7aa5b8;
  --floral:   #9ac5db;
  --white:    #ffffff;

  --serif:   'Cormorant Garamond', Georgia, serif;
  --sans:    'Jost', system-ui, sans-serif;
  --script:  'Great Vibes', cursive;

  --radius:  4px;
  --shadow:  0 4px 24px rgba(26,44,58,.10);
  --trans:   .3s ease;
}

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--charcoal);
  background: var(--sky);
  -webkit-font-smoothing: antialiased;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}

.section { padding-block: clamp(2rem, 5vw, 4rem); }

/* ─── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: .75rem 2rem;
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--trans);
  border: 1.5px solid transparent;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn-primary:hover { background: var(--charcoal); border-color: var(--charcoal); }

.btn-outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
  margin-right: .75rem;
  margin-top: .75rem;
}
.btn-outline:hover { background: var(--blue); color: var(--white); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.7);
  margin-top: 2rem;
}
.btn-ghost:hover { background: var(--white); color: var(--charcoal); }

/* ─── Section Headers ───────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.section-tag {
  display: block;
  font-family: var(--sans);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: .75rem;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--charcoal);
}

.section-title--script {
  font-family: var(--script);
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 400;
  color: var(--navy);
}

.botanical-ornament { display: none; }

.section-header--light .section-title,
.section-header--light .section-tag { color: var(--white); }
.section-header--light .section-tag { color: rgba(255,255,255,.8); }
.section-header--light .botanical-ornament { color: var(--white); opacity: .5; }

/* ─── Navbar ────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background var(--trans), box-shadow var(--trans);
}

#navbar.scrolled {
  background: rgba(232,243,251,.97);
  box-shadow: 0 1px 20px rgba(26,44,58,.08);
  backdrop-filter: blur(8px);
}

.nav-inner {
  max-width: 1180px;
  margin-inline: auto;
  padding: 1.25rem clamp(1.25rem, 5vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.nav-logo {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--white);
  letter-spacing: .1em;
  transition: color var(--trans);
}
#navbar.scrolled .nav-logo { color: var(--charcoal); }

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  font-size: .78rem;
  font-weight: 400;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255,255,255,.9);
  transition: color var(--trans);
}
.nav-links a:hover { color: var(--blue-lt); }
#navbar.scrolled .nav-links a { color: var(--mid); }
#navbar.scrolled .nav-links a:hover { color: var(--blue); }

.nav-cta {
  border: 1px solid rgba(255,255,255,.6);
  padding: .4rem 1.2rem;
  border-radius: var(--radius);
}
.nav-cta:hover { background: rgba(255,255,255,.15) !important; }
#navbar.scrolled .nav-cta { border-color: var(--blue); color: var(--blue) !important; }
#navbar.scrolled .nav-cta:hover { background: var(--blue) !important; color: var(--white) !important; }

.nav-burger {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--white);
  cursor: pointer;
  transition: color var(--trans);
}
#navbar.scrolled .nav-burger { color: var(--charcoal); }

.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--sky);
  padding: 1.5rem clamp(1.25rem, 5vw, 3rem);
  gap: 1rem;
}

.nav-mobile.open { display: flex; }

.nav-mobile a {
  font-size: .85rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--charcoal);
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-burger { display: block; }
}

/* ─── Hero Botanical Corners ────────────────────────────── */
.hero-botanical {
  position: absolute;
  z-index: 2;
  opacity: 0.45;
  pointer-events: none;
  width: clamp(200px, 30vw, 400px);
}

.hero-botanical--tl { top: 0; left: 0; }

.hero-botanical--br {
  bottom: 0;
  right: 0;
  transform: rotate(180deg);
}

/* ─── Hero ──────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: var(--white);
}

.hero-collage {
  position: absolute;
  inset: 0;
  display: flex;
  gap: 0;
  z-index: 0;
  opacity: 0.5;
}

.hc-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hc-cell {
  flex: 1;
  overflow: hidden;
  min-height: 0;
}

.hc-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  animation: collage-drift 18s ease-in-out infinite alternate;
}

.hc-col:nth-child(2) .hc-cell img { animation-duration: 22s; animation-direction: alternate-reverse; }
.hc-col:nth-child(3) .hc-cell img { animation-duration: 20s; animation-delay: -4s; }
.hc-col:nth-child(4) .hc-cell img { animation-duration: 24s; animation-direction: alternate-reverse; animation-delay: -8s; }
.hc-col:nth-child(5) .hc-cell img { animation-duration: 19s; animation-delay: -2s; }
.hc-col:nth-child(6) .hc-cell img { animation-duration: 23s; animation-direction: alternate-reverse; animation-delay: -10s; }
.hc-col:nth-child(7) .hc-cell img { animation-duration: 21s; animation-delay: -6s; }

@keyframes collage-drift {
  from { transform: scale(1); }
  to   { transform: scale(1.07); }
}

@media (max-width: 768px) {
  .hero-collage {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(6, 1fr);
    gap: 0;
  }
  .hc-col { display: contents; }
  .hero-overlay { background: rgb(11 28 55 / 78%); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgb(11 28 55 / 78%);
}

.hero-content {
  position: relative;
  z-index: 4;
  padding: 2.5rem 3rem;
}

.hero-pre {
  font-size: .75rem;
  font-weight: 400;
  letter-spacing: .35em;
  text-transform: uppercase;
  opacity: .85;
  margin-bottom: 1rem;
}

.hero-names {
  font-family: var(--serif);
  font-size: clamp(4rem, 12vw, 9rem);
  font-weight: 300;
  line-height: 1;
  margin-bottom: .5rem;
}
.hero-names span {
  font-family: var(--script);
  font-style: normal;
  font-size: .85em;
  color: var(--blue-lt);
}

.hero-date {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 3vw, 1.8rem);
  font-weight: 300;
  letter-spacing: .35em;
  margin-bottom: .5rem;
  opacity: .9;
}

.hero-location {
  font-size: .78rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  opacity: .75;
  margin-bottom: 2.5rem;
}

/* Countdown */
.countdown {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  justify-content: center;
  margin-bottom: .5rem;
  flex-wrap: wrap;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.countdown-item span {
  font-family: var(--serif);
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 300;
  line-height: 1;
  min-width: 2ch;
}

.countdown-item label {
  font-size: .65rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  opacity: .7;
  margin-top: .25rem;
}

.countdown-sep {
  font-size: 2rem;
  opacity: .4;
  align-self: flex-start;
  margin-top: .25rem;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.25rem;
  opacity: .5;
  animation: bounce 2s infinite;
  z-index: 2;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

@media (max-width: 768px) {
  .hero-content {
    padding: 1.5rem 1.25rem;
  }
  .hero-overlay {
    background: rgb(11 28 55 / 78%);
  }
  .hero-collage { opacity: 1; }
  .hero-names { font-size: clamp(4rem, 12vw, 9rem); }
  .hero-names, .hero-date, .hero-location, .hero-pre, .countdown {
    text-shadow: 0 2px 20px rgba(10,20,35,1), 0 1px 8px rgba(10,20,35,1), 0 0 40px rgba(10,20,35,.9);
  }
  /* countdown: days · hours · minutes on row 1, seconds on row 2 */
  .countdown { gap: 1rem; }
  .countdown-item span { font-size: clamp(2.5rem, 9vw, 4rem); }
  .countdown > div:nth-child(6) { display: none; }
  .countdown > div:nth-child(7) { flex-basis: 100%; }
  /* wide RSVP button */
  .hero .btn-primary {
    min-width: 60%;
    padding: .9rem 2.5rem;
  }
  .day-arrive-time {
    font-size: clamp(2.2rem, 8vw, 3.5rem);
    white-space: nowrap;
  }
}

/* ─── Divider ───────────────────────────────────────────── */
.divider-botanical {
  margin-top: -2px;
  line-height: 0;
}
.divider-botanical svg { width: 100%; height: 60px; }

/* ─── Story Section ─────────────────────────────────────── */
.story-section { background: var(--sky); }

.story-grid {
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

.story-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.story-card--reverse { direction: rtl; }
.story-card--reverse > * { direction: ltr; }

.story-img-wrap {
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: var(--shadow);
}

.story-img-wrap img {
  transition: transform .6s ease;
}
.story-img-wrap:hover img { transform: scale(1.04); }

.story-text { padding-block: 1rem; }

.story-num {
  font-family: var(--serif);
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--blue);
  opacity: .3;
  line-height: 1;
  display: block;
  margin-bottom: .5rem;
}

.story-text h3 {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 400;
  margin-bottom: 1rem;
  color: var(--charcoal);
}

.story-text p {
  color: var(--mid);
  font-size: .95rem;
}

@media (max-width: 768px) {
  .story-card,
  .story-card--reverse { grid-template-columns: 1fr; direction: ltr; gap: 2rem; }
  .story-img-wrap { aspect-ratio: 3/2; }
}

/* ─── The Day / Timeline ────────────────────────────────── */
.day-section { background: var(--sky-warm); }

.day-message {
  max-width: 700px;
  margin-inline: auto;
  text-align: center;
}

.day-arrive-label {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: .6rem;
}

.day-arrive-time {
  font-family: var(--serif);
  font-size: clamp(4rem, 13vw, 8rem);
  font-weight: 300;
  color: var(--navy);
  line-height: 1;
  letter-spacing: .04em;
  margin-bottom: .4rem;
}

.day-arrive-time span {
  font-family: var(--script);
  font-size: .65em;
  color: var(--blue);
  vertical-align: middle;
}

.day-arrive-note {
  font-family: var(--sans);
  font-size: .7rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 1.75rem;
}

.day-divider {
  width: 50px;
  height: 1px;
  background: var(--blue-lt);
  margin: 0 auto 1.75rem;
}

.day-detail {
  font-family: var(--sans);
  font-size: .88rem;
  letter-spacing: .06em;
  color: var(--mid);
  line-height: 2;
  margin-bottom: 1.5rem;
}

.day-sign {
  font-family: var(--script);
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--blue);
}

.timeline {
  position: relative;
  max-width: 700px;
  margin-inline: auto;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--blue) 10%, var(--blue) 90%, transparent);
  opacity: .4;
}

.timeline-item {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 1.5rem;
  align-items: start;
  margin-bottom: 1.75rem;
  position: relative;
}

.timeline-time {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--blue);
  text-align: right;
  padding-top: .15rem;
}

.timeline-dot {
  position: absolute;
  left: -2.4rem;
  top: .4rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue);
  border: 2px solid var(--sky-warm);
  box-shadow: 0 0 0 2px var(--blue);
}

.timeline-content h3 {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: .4rem;
}

.timeline-content p {
  color: var(--mid);
  font-size: .92rem;
}

.timeline-venue {
  display: inline-block;
  margin-top: .6rem;
  font-size: .72rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--blue);
  border: 1px solid var(--blue-lt);
  padding: .2rem .75rem;
  border-radius: 100px;
  opacity: .85;
}

/* ─── Venue Section ─────────────────────────────────────── */
.venue-section { padding-top: 0; }

.venue-hero {
  position: relative;
  height: 55vh;
  min-height: 380px;
  overflow: hidden;
}

.venue-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10,20,35,.72) 30%, rgba(10,20,35,.18));
}

.venue-hero-text {
  position: absolute;
  left: clamp(2rem, 8vw, 8rem);
  bottom: 3rem;
  color: var(--white);
}

.venue-hero-text h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 300;
  margin-bottom: .25rem;
}

.venue-hero-text p {
  font-size: .8rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  opacity: .8;
}

.venue-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
  padding-top: 4rem;
}

.venue-info h3 {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 400;
  margin: .75rem 0 1.25rem;
}

.venue-info p {
  color: var(--mid);
  font-size: .95rem;
  margin-bottom: 1rem;
}

.venue-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.venue-card {
  background: var(--sky-warm);
  border-radius: var(--radius);
  padding: 1.5rem;
  border-top: 2px solid var(--blue);
}

.venue-card-icon { font-size: 1.5rem; margin-bottom: .75rem; }

.venue-card h4 {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 400;
  margin-bottom: .5rem;
}

.venue-card p {
  font-size: .85rem;
  color: var(--mid);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .venue-grid { grid-template-columns: 1fr; gap: 3rem; }
  .venue-cards { grid-template-columns: 1fr; }
}

/* ─── Info Section ──────────────────────────────────────── */
.info-section { background: var(--sky); }

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.info-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow);
  border-bottom: 2px solid transparent;
  transition: border-color var(--trans), transform var(--trans);
}

.info-card:hover {
  border-bottom-color: var(--blue);
  transform: translateY(-4px);
}

.info-icon { font-size: 2rem; margin-bottom: 1rem; }

.info-card h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: .75rem;
}

.info-card p {
  font-size: .88rem;
  color: var(--mid);
  margin-bottom: .6rem;
  line-height: 1.65;
}

.info-card em { color: var(--blue); font-style: normal; font-size: .83rem; }

.accom-list {
  list-style: none;
  margin-top: .75rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .6rem .75rem;
}
.accom-list li {
  font-size: .78rem;
  color: var(--mid);
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  gap: .1rem;
  padding: .5rem .6rem;
  background: rgba(90,159,192,.06);
  border-radius: 4px;
  min-width: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}
.accom-list strong { color: var(--navy); font-size: .8rem; }
.accom-list a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; font-size: .72rem; overflow-wrap: break-word; word-break: break-all; }
.accom-list a:hover { color: var(--navy); }
.accom-list span { font-size: .75rem; }

@media (max-width: 500px) {
  .accom-list { grid-template-columns: 1fr; }
}

.gift-card { text-align: center; }

.gift-heart {
  font-size: 2rem;
  color: var(--blue-lt);
  line-height: 1;
  margin-bottom: .75rem;
  font-family: var(--serif);
}

.gift-intro {
  font-size: .9rem;
  color: var(--mid);
  line-height: 1.7;
  margin-bottom: .5rem;
}

.gift-note {
  font-size: .78rem;
  color: var(--light);
  font-style: italic;
  margin-bottom: 1.25rem;
}

.gift-banks {
  display: flex;
  flex-direction: column;
  gap: .85rem;
  text-align: left;
}

.gift-bank {
  background: linear-gradient(135deg, rgba(90,159,192,.10), rgba(30,75,114,.06));
  border: 1px solid rgba(90,159,192,.25);
  border-radius: 8px;
  padding: 1rem 1.1rem;
}

.gift-bank-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .75rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid rgba(90,159,192,.2);
  letter-spacing: .02em;
}

.gift-dl {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: .3rem .75rem;
  margin: 0;
}

.gift-dl dt {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
  padding-top: .15rem;
}

.gift-dl dd {
  font-family: monospace;
  font-size: .88rem;
  color: var(--charcoal);
  letter-spacing: .03em;
  margin: 0;
}

@media (max-width: 1024px) { .info-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .info-grid { grid-template-columns: 1fr; } }

/* ─── Gallery ───────────────────────────────────────────── */
.gallery-section { background: var(--sky-warm); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: .75rem;
}

.gallery-item {
  overflow: hidden;
  border-radius: var(--radius);
}

.gallery-item img {
  transition: transform .5s ease, filter .5s ease;
  filter: brightness(.97);
}

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

.gallery-item--tall { grid-row: span 2; }
.gallery-item--wide { grid-column: span 2; }

@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item--wide { grid-column: span 1; }
}
@media (max-width: 500px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item--tall { grid-row: span 1; }
}

/* ─── RSVP ──────────────────────────────────────────────── */
.rsvp-section {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3rem, 7vw, 5rem);
}

.rsvp-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.rsvp-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(30,75,114,.88) 0%, rgba(26,44,58,.82) 100%);
}

.rsvp-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin-inline: auto;
}

.rsvp-deadline {
  color: rgba(255,255,255,.8);
  font-size: .88rem;
  letter-spacing: .05em;
  margin-top: .5rem;
}
.rsvp-deadline strong { color: var(--white); }

.rsvp-form {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius);
  padding: 2.5rem;
  margin-top: 2.5rem;
  backdrop-filter: blur(4px);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.25rem;
}

.form-group label {
  font-size: .72rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  margin-bottom: .45rem;
}

.form-group label span { opacity: .6; }

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--radius);
  padding: .75rem 1rem;
  font-family: var(--sans);
  font-size: .9rem;
  color: var(--white);
  outline: none;
  transition: border-color var(--trans), background var(--trans);
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,.4); }

.form-group select option { background: var(--charcoal); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue-lt);
  background: rgba(255,255,255,.15);
}

.rsvp-form .btn { width: 100%; justify-content: center; padding: 1rem; font-size: .85rem; }

.rsvp-success {
  display: none;
  text-align: center;
  padding: 2rem;
  color: var(--white);
  font-family: var(--serif);
  font-size: 1.3rem;
  font-style: italic;
}

@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
  .rsvp-form { padding: 1.5rem; }
}

/* ─── Footer ────────────────────────────────────────────── */
.footer {
  background: var(--charcoal);
  color: rgba(255,255,255,.7);
  text-align: center;
  padding: 3.5rem 2rem;
}

.footer-names {
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--white);
  margin-bottom: .25rem;
}

.footer-date {
  font-size: .85rem;
  letter-spacing: .25em;
  color: var(--blue-lt);
  margin-bottom: .75rem;
}

.footer-hashtag {
  font-size: .75rem;
  letter-spacing: .15em;
  margin-bottom: .25rem;
  color: var(--blue-lt);
  opacity: .7;
}

.footer-venue {
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  opacity: .5;
}

.footer-love {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  opacity: .5;
}

/* ─── Hero Frame Layout ─────────────────────────────────── */
.hero-frame {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  z-index: 0;
  gap: 3px;
}

.hf-top, .hf-bottom {
  flex-shrink: 0;
  height: 22vh;
  display: flex;
  gap: 3px;
}

.hf-middle {
  flex: 1;
  display: flex;
  gap: 3px;
  min-height: 0;
}

.hf-side {
  flex-shrink: 0;
  width: clamp(90px, 13vw, 170px);
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.hf-center { flex: 1; }

.hf-cell {
  flex: 1;
  overflow: hidden;
  min-height: 0;
  min-width: 0;
}

.hf-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  animation: collage-drift 20s ease-in-out infinite alternate;
}

.hf-top .hf-cell:nth-child(2) img { animation-duration: 24s; animation-direction: alternate-reverse; }
.hf-top .hf-cell:nth-child(3) img { animation-duration: 22s; animation-delay: -4s; }
.hf-top .hf-cell:nth-child(4) img { animation-duration: 18s; animation-delay: -8s; }
.hf-top .hf-cell:nth-child(5) img { animation-duration: 25s; animation-delay: -3s; }
.hf-bottom .hf-cell:nth-child(2) img { animation-duration: 23s; animation-direction: alternate-reverse; }
.hf-bottom .hf-cell:nth-child(3) img { animation-duration: 19s; animation-delay: -6s; }
.hf-bottom .hf-cell:nth-child(4) img { animation-duration: 21s; animation-delay: -2s; }
.hf-bottom .hf-cell:nth-child(5) img { animation-duration: 26s; animation-delay: -10s; }

@media (max-width: 600px) {
  .hf-top .hf-cell:nth-child(n+4),
  .hf-bottom .hf-cell:nth-child(n+4) { display: none; }
  .hf-side { width: 72px; }
}

/* ─── Stick-Figure Characters ───────────────────────────── */
.hero-char {
  position: absolute;
  z-index: 2;
  color: rgba(255,255,255,0.55);
  pointer-events: none;
  width: clamp(55px, 8vw, 90px);
}

.hero-char--tl { top: 5rem; left: 1.5rem; }
.hero-char--br { bottom: 3rem; right: 2rem; }

.sh-char {
  position: absolute;
  bottom: 0;
  color: var(--blue);
  opacity: 0.38;
  width: clamp(45px, 6vw, 72px);
  pointer-events: none;
}

.sh-char--left  { left:  0; }
.sh-char--right { right: 0; }

.section-header { position: relative; }

@media (max-width: 960px) {
  .sh-char   { display: none; }
  .hero-char { display: none; }
}

/* ─── Story Single Card ─────────────────────────────────── */
.story-single {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3rem;
  align-items: center;
  max-width: 960px;
  margin-inline: auto;
}

.story-single-img {
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: var(--shadow);
}

.story-single-img img { transition: transform .6s ease; object-position: top; }
.story-single-img:hover img { transform: scale(1.04); }

.story-single-text p {
  color: var(--mid);
  font-size: .97rem;
  margin-bottom: 1.4rem;
  line-height: 1.85;
}

@media (max-width: 768px) {
  .story-single { grid-template-columns: 1fr; gap: 2.5rem; }
  .story-single-img { aspect-ratio: 4/5; }
}

/* ─── Venue Arrival ─────────────────────────────────────── */
.venue-section { padding-top: clamp(2rem, 5vw, 4rem) !important; }

.venue-arrival {
  text-align: center;
  padding: 1.5rem 0 2rem;
}

.venue-arrival-time {
  font-family: var(--serif);
  font-size: clamp(3.5rem, 10vw, 6rem);
  font-weight: 300;
  color: var(--navy);
  line-height: 1;
  margin-bottom: .2rem;
}

.venue-arrival-label {
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: .5rem;
}

.venue-arrival-sub {
  font-size: .85rem;
  color: var(--mid);
  letter-spacing: .1em;
  margin-bottom: 2rem;
}

.venue-arrival-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.venue-cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 860px;
  margin-inline: auto;
}

@media (max-width: 700px) {
  .venue-cards-row { grid-template-columns: 1fr; }
}

/* ─── Character Animations ──────────────────────────────── */
@keyframes char-dance {
  0%   { transform: translateY(0px)   rotate(-6deg) scaleX(1); }
  25%  { transform: translateY(-14px) rotate( 4deg) scaleX(1.03); }
  50%  { transform: translateY(-18px) rotate( 6deg) scaleX(1); }
  75%  { transform: translateY(-10px) rotate(-2deg) scaleX(0.98); }
  100% { transform: translateY(0px)   rotate(-6deg) scaleX(1); }
}

@keyframes char-bob {
  0%,100% { transform: translateY(0px)   rotate(-3deg); }
  50%     { transform: translateY(-10px) rotate( 3deg); }
}

@keyframes char-sway {
  0%,100% { transform: rotate(-5deg) translateY(0); }
  50%     { transform: rotate( 5deg) translateY(-6px); }
}

@keyframes char-point {
  0%,100% { transform: translateY(0)    rotate( 0deg); }
  35%     { transform: translateY(-8px) rotate( 4deg); }
  65%     { transform: translateY(-5px) rotate(-2deg); }
}

@keyframes char-wave {
  0%,100% { transform: translateY(0)    rotate(-4deg); }
  50%     { transform: translateY(-12px) rotate( 4deg); }
}

.char-dance  { animation: char-dance  2.2s ease-in-out infinite; transform-origin: bottom center; }
.char-bob    { animation: char-bob    2.8s ease-in-out infinite; transform-origin: bottom center; }
.char-sway   { animation: char-sway   3.0s ease-in-out infinite; transform-origin: bottom center; }
.char-point  { animation: char-point  2.6s ease-in-out infinite; transform-origin: bottom center; }
.char-wave   { animation: char-wave   2.4s ease-in-out infinite; transform-origin: bottom center; }

/* ─── Hero Avatars ──────────────────────────────────────── */
.hero-avatar {
  position: absolute;
  bottom: 0;
  z-index: 3;
  pointer-events: none;
  height: clamp(220px, 44vh, 420px);
  width: auto;
  animation: avatar-float 5s ease-in-out infinite;
  filter: drop-shadow(0 8px 24px rgba(10,20,35,.35));
}

.hero-avatar--left  { left:  clamp(0px, 2vw, 2rem); }
.hero-avatar--right { right: clamp(0px, 2vw, 2rem); animation-delay: -2.5s; }

@keyframes avatar-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-18px); }
}

@media (max-width: 960px) {
  .hero-avatar { display: none; }
}
