/* ==========================================================================
   Jennifer & Joe — June 29, 2027 · Dreams Playa Mujeres
   Design system: warm coastal, serif-forward, all-caps eyebrows, terracotta
   ========================================================================== */

:root {
  --ink: #22312f;
  --ink-soft: #3e4f4c;
  --muted: #6b7b77;
  --pine: #0d2926;
  --pine-2: #14403b;
  --teal: #217a70;
  --teal-soft: #e3efe9;
  --seafoam: #9cc7bc;
  --sand: #faf5ec;
  --sand-2: #f1e7d5;
  --linen: #fffdf8;
  --terracotta: #c56b35;
  --terracotta-dark: #a4521f;
  --gold: #c9a15a;
  --white: #ffffff;

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Segoe UI", system-ui, -apple-system, sans-serif;
  --script: "Great Vibes", "Segoe Script", cursive;

  --shadow-sm: 0 6px 18px rgba(13, 41, 38, 0.08);
  --shadow-md: 0 18px 45px rgba(13, 41, 38, 0.14);
  --shadow-lg: 0 30px 80px rgba(13, 41, 38, 0.22);

  --radius: 20px;
  --radius-sm: 12px;

  --container: 1160px;
  --nav-h: 78px;
}

/* ---------- reset / base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--sand);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--teal);
  text-decoration: none;
}

a:hover {
  color: var(--terracotta-dark);
}

::selection {
  background: var(--terracotta);
  color: var(--white);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--pine);
  color: #fff;
  padding: 10px 18px;
  z-index: 2000;
  border-radius: 0 0 10px 0;
}

.skip-link:focus {
  left: 0;
}

/* ---------- typography helpers ---------- */
h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.12;
  color: var(--ink);
  letter-spacing: 0.01em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 18px;
}

.eyebrow::before,
.eyebrow.center::after {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.eyebrow.center {
  justify-content: center;
}

.eyebrow.light {
  color: var(--gold);
}

.script {
  font-family: var(--script);
  font-weight: 400;
  color: var(--terracotta);
  letter-spacing: 0.02em;
}

.lead {
  font-size: 1.12rem;
  color: var(--ink-soft);
}

.center {
  text-align: center;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 34px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease,
    color 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--terracotta);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(197, 107, 53, 0.35);
}

.btn-primary:hover {
  background: var(--terracotta-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(164, 82, 31, 0.4);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(4px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
}

.btn-outline:hover {
  background: var(--teal);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-soft {
  background: var(--sand-2);
  color: var(--pine);
}

.btn-soft:hover {
  background: var(--seafoam);
  color: var(--pine);
  transform: translateY(-2px);
}

.btn.coming-soon {
  pointer-events: none;
  opacity: 0.75;
}

/* ---------- layout ---------- */
.container {
  width: min(var(--container), 92vw);
  margin-inline: auto;
}

.section {
  padding: 110px 0;
}

.section-tight {
  padding: 80px 0;
}

.section-head {
  max-width: 680px;
  margin: 0 auto 60px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(2.1rem, 4.5vw, 3.1rem);
  margin-bottom: 14px;
}

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

/* ---------- reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform;
}

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

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

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

  .btn {
    transition: none;
  }
}

/* ==========================================================================
   Header / nav
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.35s ease, box-shadow 0.35s ease, height 0.35s ease;
}

.site-header.scrolled {
  background: rgba(13, 41, 38, 0.94);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(13, 41, 38, 0.35);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.3s ease, transform 0.3s ease;
}

.brand:hover .brand-mark {
  background: rgba(255, 255, 255, 0.18);
  transform: rotate(-8deg);
}

.brand-name {
  font-family: var(--serif);
  font-size: 1.22rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.brand-name em {
  font-style: normal;
  color: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.nav-links a {
  display: inline-block;
  padding: 10px 15px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  border-radius: 999px;
  transition: color 0.25s ease, background 0.25s ease;
}

.nav-links a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.nav-links a.active {
  color: var(--pine);
  background: var(--white);
  font-weight: 600;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
  color: var(--white);
}

.nav-toggle svg {
  display: block;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}

.hero.short {
  min-height: 62vh;
}

.hero-media,
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
      180deg,
      rgba(8, 27, 25, 0.62) 0%,
      rgba(13, 41, 38, 0.32) 46%,
      rgba(8, 27, 25, 0.66) 100%
    ),
    radial-gradient(
      ellipse 78% 64% at 50% 50%,
      rgba(8, 27, 25, 0.55),
      transparent 74%
    ),
    radial-gradient(ellipse at 50% 120%, rgba(197, 107, 53, 0.18), transparent 60%);
}

.hero-inner {
  padding: 140px 24px 90px;
  max-width: 900px;
  animation: heroFade 1.1s ease both;
}

@keyframes heroFade {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.hero .eyebrow {
  color: #f4cfa4;
  margin-bottom: 22px;
  text-shadow: 0 2px 12px rgba(8, 27, 25, 0.8);
}

.hero h1 {
  color: var(--white);
  font-weight: 500;
}

.hero h1.names {
  font-family: var(--script);
  font-size: clamp(4rem, 11vw, 8.2rem);
  font-weight: 400;
  line-height: 1.06;
  text-shadow: 0 12px 48px rgba(8, 27, 25, 0.6), 0 3px 16px rgba(8, 27, 25, 0.4);
}

.hero h1.amp {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5.5vw, 3.6rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-shadow: 0 6px 26px rgba(8, 27, 25, 0.6);
}

.hero-sub {
  margin-top: 20px;
  font-size: clamp(0.95rem, 1.6vw, 1.12rem);
  font-weight: 300;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.96);
  text-shadow: 0 2px 14px rgba(8, 27, 25, 0.85);
}

.hero-sub .dot {
  opacity: 0.55;
  padding: 0 6px;
}

.hero-actions {
  margin-top: 42px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.hero-chip {
  display: inline-block;
  margin-top: 26px;
  padding: 9px 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(10, 30, 28, 0.32);
  backdrop-filter: blur(6px);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.98);
  text-shadow: 0 1px 6px rgba(8, 27, 25, 0.7);
}

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.5rem;
  animation: bob 2.2s ease-in-out infinite;
}

@keyframes bob {
  0%,
  100% {
    transform: translate(-50%, 0);
  }

  50% {
    transform: translate(-50%, 9px);
  }
}

/* ==========================================================================
   Home: note to our loved ones
   ========================================================================== */
.note-section {
  background:
    radial-gradient(ellipse at 15% 10%, rgba(201, 161, 90, 0.12), transparent 55%),
    var(--linen);
}

.note-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: center;
}

.note-media {
  position: relative;
}

.note-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  width: 100%;
}

.note-media::before {
  content: "";
  position: absolute;
  inset: 26px -26px -26px 26px;
  border: 2px solid var(--seafoam);
  border-radius: var(--radius);
  z-index: -1;
}

.note-media .badge {
  position: absolute;
  left: -34px;
  bottom: 44px;
  background: var(--pine);
  color: var(--white);
  padding: 18px 24px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1.5;
}

.note-media .badge strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.25rem;
  letter-spacing: 0.03em;
  text-transform: none;
  color: var(--gold);
}

.note-body h2 {
  font-size: clamp(2rem, 4vw, 2.9rem);
  margin-bottom: 26px;
}

.note-body p {
  color: var(--ink-soft);
  margin-bottom: 18px;
}

.note-body p:first-of-type::first-letter {
  font-family: var(--serif);
  font-size: 3.4em;
  float: left;
  line-height: 0.82;
  padding: 6px 12px 0 0;
  color: var(--terracotta);
}

.note-sign {
  margin-top: 30px;
  font-family: var(--script);
  font-size: 2.6rem;
  color: var(--terracotta);
  transform: rotate(-2deg);
  display: inline-block;
}

.note-ps {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.02rem;
  color: var(--muted);
  margin-top: 8px;
}

/* ==========================================================================
   Countdown
   ========================================================================== */
.countdown-band {
  position: relative;
  color: var(--white);
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}

.countdown-band .bg,
.countdown-band .bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.countdown-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(10, 34, 31, 0.72);
}

.countdown-band h2 {
  color: var(--white);
  font-size: clamp(2.1rem, 4.5vw, 3.1rem);
  margin-bottom: 8px;
}

.countdown-band .when {
  color: var(--gold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 48px;
}

.countdown {
  display: flex;
  justify-content: center;
  gap: clamp(10px, 2.5vw, 26px);
  flex-wrap: wrap;
}

.count-tile {
  min-width: 118px;
  padding: 26px 18px 20px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
}

.count-tile .num {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 600;
  line-height: 1;
  color: var(--white);
  font-variant-numeric: tabular-nums;
}

.count-tile .label {
  margin-top: 10px;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.countdown-note {
  margin-top: 40px;
  font-style: italic;
  font-family: var(--serif);
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
}

/* ==========================================================================
   Cards
   ========================================================================== */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.card {
  background: var(--linen);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(13, 41, 38, 0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.card-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.card:hover .card-media img {
  transform: scale(1.07);
}

.card-media .tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(13, 41, 38, 0.78);
  backdrop-filter: blur(6px);
  color: var(--white);
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
}

.card-body {
  padding: 28px 30px 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-body h3 {
  font-size: 1.55rem;
  margin-bottom: 10px;
}

.card-body p {
  color: var(--muted);
  font-size: 0.98rem;
  flex: 1;
}

.card-link {
  margin-top: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--terracotta);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.card-link::after {
  content: "→";
  transition: transform 0.25s ease;
}

.card-link:hover::after {
  transform: translateX(5px);
}

/* ==========================================================================
   Split / feature sections
   ========================================================================== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.split.rev .split-media {
  order: 2;
}

.split-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.split-media .img-frame {
  position: relative;
}

.split-media .img-frame::before {
  content: "";
  position: absolute;
  inset: -22px 22px 22px -22px;
  border: 2px solid var(--seafoam);
  border-radius: var(--radius);
  z-index: -1;
}

.split-body h2 {
  font-size: clamp(1.9rem, 3.8vw, 2.7rem);
  margin-bottom: 20px;
}

.split-body p {
  color: var(--ink-soft);
  margin-bottom: 16px;
}

.split-body .btn {
  margin-top: 14px;
}

/* ---------- fact list ---------- */
.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}

.fact {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--linen);
  border: 1px solid rgba(13, 41, 38, 0.07);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
}

.fact .ico {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
}

.fact strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.12rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.fact span {
  font-size: 0.9rem;
  color: var(--muted);
}

/* ==========================================================================
   Itinerary timeline
   ========================================================================== */
.timeline {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  padding-left: 46px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(var(--seafoam), var(--terracotta));
  border-radius: 2px;
}

.tl-item {
  position: relative;
  padding: 0 0 38px;
}

.tl-item:last-child {
  padding-bottom: 0;
}

.tl-item::before {
  content: "";
  position: absolute;
  left: -38px;
  top: 7px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--linen);
  border: 3px solid var(--terracotta);
}

.tl-item .day {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--terracotta);
}

.tl-item h4 {
  font-size: 1.35rem;
  margin: 4px 0 6px;
}

.tl-item p {
  color: var(--muted);
  max-width: 560px;
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.faq details {
  background: var(--linen);
  border: 1px solid rgba(13, 41, 38, 0.08);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.faq details[open] {
  border-color: rgba(33, 122, 112, 0.35);
  box-shadow: var(--shadow-md);
}

.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 26px;
  font-family: var(--serif);
  font-size: 1.28rem;
  font-weight: 600;
  color: var(--ink);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary .plus {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--sand-2);
  color: var(--terracotta);
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  font-weight: 400;
  transition: transform 0.3s ease, background 0.3s ease;
}

.faq details[open] summary .plus {
  transform: rotate(45deg);
  background: var(--terracotta);
  color: var(--white);
}

.faq .answer {
  padding: 0 26px 24px;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.faq .answer p + p {
  margin-top: 10px;
}

/* ==========================================================================
   Gallery
   ========================================================================== */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 210px;
  gap: 14px;
}

.gallery figure {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.gallery figure.wide {
  grid-column: span 2;
}

.gallery figure.tall {
  grid-row: span 2;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.gallery figure:hover img {
  transform: scale(1.06);
}

.gallery figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 34px 16px 12px;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
  background: linear-gradient(transparent, rgba(13, 41, 38, 0.75));
  opacity: 0;
  transition: opacity 0.35s ease;
}

.gallery figure:hover figcaption {
  opacity: 1;
}

/* ---------- agent card ---------- */
.agent-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 34px;
  align-items: center;
  background: var(--linen);
  border: 1px solid rgba(13, 41, 38, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 46px;
}

.agent-avatar {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--pine));
  color: var(--white);
  display: grid;
  place-items: center;
  font-family: var(--script);
  font-size: 3.4rem;
  box-shadow: var(--shadow-md);
}

.agent-card h3 {
  font-size: 1.9rem;
}

.agent-card .agency {
  color: var(--terracotta);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.76rem;
  margin-bottom: 12px;
}

.agent-card p {
  color: var(--ink-soft);
  max-width: 620px;
  margin-bottom: 18px;
}

.agent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.chip-note {
  font-size: 0.82rem;
  color: var(--muted);
  font-style: italic;
  margin-top: 10px;
}

/* ---------- info list (wedding page) ---------- */
.info-list {
  display: grid;
  gap: 0;
  background: var(--linen);
  border: 1px solid rgba(13, 41, 38, 0.08);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.info-row {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 22px;
  padding: 20px 28px;
  border-bottom: 1px solid rgba(13, 41, 38, 0.07);
  align-items: baseline;
}

.info-row:last-child {
  border-bottom: 0;
}

.info-row dt {
  font-family: var(--serif);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--terracotta);
}

.info-row dd {
  color: var(--ink-soft);
}

/* ==========================================================================
   Map
   ========================================================================== */
.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid var(--white);
  line-height: 0;
}

.map-wrap iframe {
  width: 100%;
  height: 440px;
  border: 0;
  filter: saturate(0.92);
}

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band {
  background: linear-gradient(120deg, var(--pine) 0%, var(--pine-2) 55%, var(--teal) 130%);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.cta-band::before {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  top: -320px;
  right: -160px;
  z-index: -1;
}

.cta-band::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  bottom: -260px;
  left: -120px;
  z-index: -1;
}

.cta-band h2 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 2.9rem);
  margin-bottom: 14px;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto 36px;
}

.cta-band .btn-ghost {
  margin-left: 14px;
}

/* ---------- coming soon box ---------- */
.coming-box {
  max-width: 640px;
  margin: 0 auto;
  background: var(--linen);
  border: 1.5px dashed rgba(33, 122, 112, 0.4);
  border-radius: var(--radius);
  padding: 60px 50px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.coming-box .big-script {
  font-family: var(--script);
  font-size: 3.4rem;
  color: var(--terracotta);
  display: block;
  margin-bottom: 8px;
}

.coming-box h3 {
  font-size: 1.9rem;
  margin-bottom: 14px;
}

.coming-box p {
  color: var(--muted);
  margin-bottom: 22px;
}

/* ---------- kudos strip ---------- */
.kudos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  text-align: center;
}

.kudos .num {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  font-weight: 600;
  color: var(--teal);
}

.kudos .cap {
  margin-top: 6px;
  font-size: 0.75rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--pine);
  color: rgba(255, 255, 255, 0.78);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 60px;
}

.footer-brand .brand-mark {
  margin-bottom: 18px;
  border-color: rgba(255, 255, 255, 0.4);
}

.footer-brand p {
  font-size: 0.95rem;
  max-width: 320px;
  color: rgba(255, 255, 255, 0.62);
}

.footer-col h4 {
  color: var(--gold);
  font-size: 0.82rem;
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
  display: grid;
  gap: 10px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 26px 0;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom .hearts {
  color: var(--terracotta);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .cards {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-inline: auto;
  }

  .split,
  .note-wrap {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .split.rev .split-media {
    order: 0;
  }

  .note-media {
    max-width: 520px;
    margin-inline: auto;
  }

  .note-media .badge {
    left: -12px;
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .kudos {
    grid-template-columns: repeat(2, 1fr);
  }

  .agent-card {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

  .agent-actions {
    justify-content: center;
  }

  .info-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: block;
    z-index: 1100;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh;
    height: 100dvh;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    background: rgba(13, 41, 38, 0.97);
    backdrop-filter: blur(14px);
    transform: translateY(-102%);
    transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
  }

  .nav-links.open {
    transform: none;
  }

  .nav-links a {
    font-size: 1.05rem;
    padding: 14px 22px;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 80px 0;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-inner {
    padding-top: 120px;
  }

  .count-tile {
    min-width: 96px;
    padding: 20px 12px 16px;
  }

  .facts {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }

  .gallery figure.wide {
    grid-column: span 1;
  }

  .gallery figure.tall {
    grid-row: span 1;
  }

  .agent-card {
    padding: 34px 26px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .cta-band .btn-ghost {
    margin-left: 0;
    margin-top: 14px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-actions .btn {
    width: min(300px, 100%);
  }

  .note-media::before {
    display: none;
  }
}

/* ==========================================================================
   Personal touches — handwritten bits, polaroids, stamps, string lights
   ========================================================================== */

/* ---------- slim rule under headings ---------- */
.section-head h2::after {
  content: "";
  display: block;
  width: 76px;
  height: 2px;
  border-radius: 2px;
  margin: 16px auto 0;
  background: var(--terracotta);
  opacity: 0.5;
}

.countdown-band h2::after {
  content: "";
  display: block;
  width: 76px;
  height: 2px;
  border-radius: 2px;
  margin: 16px auto 0;
  background: rgba(255, 255, 255, 0.8);
}

/* ---------- script-font chips ---------- */
.hero-chip {
  font-family: var(--script);
  font-size: 1.42rem;
  letter-spacing: 0.03em;
  text-transform: none;
  padding: 10px 28px 12px;
  transform: rotate(-1.2deg);
}

.card-media .tag {
  font-family: var(--script);
  font-size: 1.22rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: none;
  padding: 8px 18px 10px;
  transform: rotate(-3deg);
  background: rgba(13, 41, 38, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

/* ---------- buttons: a little human wobble ---------- */
.btn:hover {
  transform: translateY(-2px) rotate(-0.6deg);
}

/* ---------- stamp badge ---------- */
.stamp {
  position: absolute;
  z-index: 3;
  width: 132px;
  height: 132px;
  border: 3px double rgba(197, 107, 53, 0.9);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: #f6d8b8;
  text-align: center;
  text-transform: uppercase;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  line-height: 1.6;
  transform: rotate(-11deg);
  opacity: 0.92;
  pointer-events: none;
}

.stamp::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1.5px dashed rgba(246, 216, 184, 0.7);
  border-radius: 50%;
}

.stamp .stamp-names {
  font-family: var(--script);
  font-size: 1.35rem;
  text-transform: none;
  letter-spacing: 0.04em;
  line-height: 1;
}

.hero .stamp {
  right: 7%;
  bottom: 18%;
}

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

/* ---------- polaroids ---------- */
.polaroid {
  background: var(--white);
  padding: 12px 12px 16px;
  border-radius: 5px;
  box-shadow: var(--shadow-md);
  transform: rotate(-2.4deg);
  transition: transform 0.35s ease;
  position: relative;
}

.polaroid.right {
  transform: rotate(2.6deg);
}

.polaroid:hover {
  transform: rotate(0deg) scale(1.02);
}

.polaroid img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 2px;
}

.polaroid figcaption {
  font-family: var(--script);
  font-size: 1.45rem;
  color: var(--ink-soft);
  text-align: center;
  padding-top: 10px;
  line-height: 1.2;
}

.tape,
.polaroid::before,
.notecard::before {
  content: "";
  position: absolute;
  top: -11px;
  left: 50%;
  width: 86px;
  height: 26px;
  transform: translateX(-50%) rotate(-3deg);
  background: rgba(201, 161, 90, 0.4);
  border-left: 1px dashed rgba(13, 41, 38, 0.25);
  border-right: 1px dashed rgba(13, 41, 38, 0.25);
  z-index: 2;
}

/* ---------- notecards (notes from the couple) ---------- */
.notes-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.9fr 0.9fr 1.05fr;
  gap: 28px;
  align-items: center;
  max-width: 1080px;
  margin-inline: auto;
}

.notecard {
  position: relative;
  background: #fffbe9;
  background-image: repeating-linear-gradient(
    transparent,
    transparent 31px,
    rgba(197, 107, 53, 0.18) 32px
  );
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  padding: 38px 28px 34px;
  transform: rotate(-1.1deg);
}

.notecard:nth-of-type(even) {
  transform: rotate(1.2deg);
}

.notecard h3 {
  font-family: var(--script);
  font-weight: 400;
  font-size: 2.05rem;
  color: var(--terracotta);
  margin-bottom: 12px;
  line-height: 1;
}

.notecard p {
  color: var(--ink-soft);
  font-size: 0.98rem;
}

@media (max-width: 980px) {
  .notes-grid {
    grid-template-columns: 1fr 1fr;
    max-width: 620px;
  }

  .polaroid img {
    aspect-ratio: 4 / 4.6;
  }
}

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

  .polaroid img {
    aspect-ratio: 4 / 4.2;
  }
}

/* ---------- string lights above the footer ---------- */
.site-footer {
  position: relative;
  padding-top: 128px;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 0;
  right: 0;
  height: 64px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='64' viewBox='0 0 140 64'%3E%3Cpath d='M0 6 Q 70 58, 140 6' fill='none' stroke='%239cc7bc' stroke-width='2' opacity='0.55'/%3E%3Ccircle cx='35' cy='32' r='5.5' fill='%23c9a15a'/%3E%3Ccircle cx='70' cy='44' r='5.5' fill='%23c56b35'/%3E%3Ccircle cx='105' cy='32' r='5.5' fill='%23c9a15a'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: 140px 64px;
  pointer-events: none;
}

/* Large JJ watermark behind the footer content */
.footer-heart {
  position: absolute;
  left: 50%;
  top: 52%;
  width: min(520px, 78vw);
  transform: translate(-50%, -50%);
  opacity: 0.07;
  pointer-events: none;
  z-index: 0;
}

.footer-heart img {
  width: 100%;
  height: auto;
  display: block;
}

.site-footer > .container {
  position: relative;
  z-index: 1;
}

@media (max-width: 640px) {
  .footer-heart {
    width: min(340px, 74vw);
    opacity: 0.06;
  }
}

/* ---------- timeline polaroid ---------- */
.tl-polaroid {
  margin-top: 18px;
  max-width: 250px;
  display: inline-block;
}

.tl-polaroid figcaption {
  font-size: 1.25rem;
}

/* ---------- heart logo (J & mirrored J) ---------- */
/* Logo SVGs are tight-cropped; spacing is controlled here in CSS. */
.brand-mark img {
  width: 68%;
  height: 68%;
  object-fit: contain;
  display: block;
}

.stamp .stamp-heart {
  width: 58px;
  height: 58px;
  margin-bottom: 2px;
}

.coming-box .box-heart {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
}
