/* Michelle & Pa — Nerja 2027. Ported from Claude Design "Wedding Website v3". */

:root {
  --cream: #FAF6EF;
  --sand: #F2E9DA;
  --ink: #1E2A3A;
  --navy: #1D3E63;
  --rose: #A8235F;
  --blush: #E7B9CC;
  --gold: #A8894F;
  --gold-dk: #7D6333;
  --gold-lt: #D9C08E;
  --mist: #DCE3EC;
  --grey: #5E5850;
  --text: #3E3B37;
  --img: #E9DCC8;
  --serif: 'Bodoni Moda', 'Didot', 'Bodoni 72', Georgia, serif;
  --sans: Jost, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --script: WindSong, 'Snell Roundhand', cursive;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: var(--sans); -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent;
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: 200; pointer-events: none; opacity: .5; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .35 0 0 0 0 .28 0 0 0 0 .2 0 0 0 .09 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
body.locked { overflow: hidden; }
img { display: block; max-width: 100%; }
a:not([class]) { color: var(--rose); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:not([class]):hover { color: var(--navy); }
.navy a:not([class]) { color: var(--blush); }
input, textarea, button { font: inherit; }
button { -webkit-appearance: none; appearance: none; }
input::placeholder, textarea::placeholder { color: rgba(250, 246, 239, .45); }
::selection { background: #F1D3DF; color: var(--navy); }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; }
.navy :focus-visible, .menu :focus-visible, .dock :focus-visible, .footer :focus-visible { outline-color: var(--blush); }
[hidden] { display: none !important; }

.page { min-height: 100vh; overflow-x: clip; }
.diamond { width: 5px; height: 5px; border: 1px solid var(--gold); transform: rotate(45deg); }

/* ---------- Intro curtain ---------- */
.intro {
  display: none; position: fixed; inset: 0; z-index: 120; background: var(--navy); color: var(--cream);
  flex-direction: column; align-items: center; justify-content: center; gap: 22px; cursor: pointer;
  will-change: transform; transition: transform 1s cubic-bezier(.7, 0, .2, 1);
}
.js:not(.intro-seen) .intro { display: flex; }
.intro.lift { transform: translateY(-100%); }
.intro-inner {
  display: flex; flex-direction: column; align-items: center; gap: 20px;
  opacity: 0; transform: translateY(14px); transition: opacity 1.1s ease, transform 1.1s var(--ease);
}
.intro.play .intro-inner { opacity: 1; transform: none; }
.intro-kicker { font-size: 11px; letter-spacing: .42em; text-transform: uppercase; color: var(--gold-lt); }
.intro-mono { font-family: var(--script); font-size: clamp(84px, 24vw, 140px); line-height: 1.2; padding-top: .15em; }
.intro-line { width: 120px; height: 1px; background: var(--gold-lt); transform: scaleX(0); transition: transform 1.4s cubic-bezier(.6, 0, .2, 1) .35s; }
.intro.play .intro-line { transform: scaleX(1); }
.intro-date { font-family: var(--serif); font-style: italic; font-size: 19px; letter-spacing: .04em; }

/* ---------- Top bar ---------- */
.bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(250, 246, 239, 0); border-bottom: 1px solid transparent;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  transition: background .4s, border-color .4s;
}
.bar.solid { background: rgba(250, 246, 239, .9); border-bottom-color: rgba(168, 137, 79, .3); }
.bar-in { max-width: 1240px; margin: 0 auto; padding: 0 18px 0 22px; height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); min-height: 44px; }
.brand-mono { font-family: var(--script); font-size: 28px; line-height: 1; padding-top: 8px; }
.brand-rule { width: 18px; height: 1px; background: var(--gold); }
.brand-date { font-family: var(--serif); font-style: italic; font-size: 14px; color: var(--gold-dk); }
.bar-nav { display: none; gap: 26px; align-items: center; }
.bar-nav a { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--ink); text-decoration: none; font-weight: 500; transition: color .2s; }
.bar-nav a:hover { color: var(--rose); }
.bar-nav .bar-rsvp { color: var(--cream); background: var(--navy); font-weight: 600; padding: 0 22px; height: 42px; display: inline-flex; align-items: center; border-radius: 999px; transition: background .25s; }
.bar-nav .bar-rsvp:hover { background: var(--rose); color: var(--cream); }
.menu-btn {
  display: flex; align-items: center; gap: 12px; background: none; border: none; color: var(--navy);
  height: 44px; padding: 0 4px; cursor: pointer; font-size: 11px; letter-spacing: .28em; text-transform: uppercase; font-weight: 600;
}
.menu-ico { display: flex; flex-direction: column; gap: 5px; width: 22px; }
.menu-ico span { height: 1px; background: currentColor; }
.menu-ico span + span { width: 14px; align-self: flex-end; }
@media (min-width: 900px) {
  .bar-nav { display: flex; }
  .menu-btn { display: none; }
}

/* ---------- Menu overlay ---------- */
.menu {
  position: fixed; inset: 0; z-index: 90; background: var(--navy); color: var(--cream);
  display: flex; flex-direction: column; padding: 0 22px calc(28px + env(safe-area-inset-bottom)); overflow-y: auto;
}
.menu-top { height: 60px; display: flex; align-items: center; justify-content: space-between; flex: none; }
.menu-mono { font-family: var(--script); font-size: 28px; line-height: 1; padding-top: 8px; }
.menu-close { height: 44px; padding: 0 4px; background: none; border: none; color: var(--cream); font-size: 11px; letter-spacing: .28em; text-transform: uppercase; font-weight: 600; cursor: pointer; }
.menu-nav { display: flex; flex-direction: column; margin-top: 24px; border-top: 1px solid rgba(217, 192, 142, .35); }
.menu-nav a { display: flex; align-items: baseline; gap: 18px; padding: 16px 0; border-bottom: 1px solid rgba(217, 192, 142, .2); text-decoration: none; color: var(--cream); }
.menu-nav a span:first-child { font-size: 11px; letter-spacing: .2em; color: var(--gold-lt); min-width: 22px; }
.menu-nav a span:last-child { font-family: var(--serif); font-style: italic; font-size: 38px; line-height: 1.05; letter-spacing: -.02em; }
.menu-foot { margin-top: auto; padding-top: 36px; display: flex; flex-direction: column; gap: 18px; }
.menu-rsvp { display: flex; align-items: center; justify-content: center; height: 56px; border-radius: 999px; background: var(--cream); color: var(--navy); text-decoration: none; font-size: 12px; letter-spacing: .28em; text-transform: uppercase; font-weight: 600; }
.menu-foot > span { text-align: center; font-family: var(--serif); font-style: italic; font-size: 16px; color: var(--gold-lt); }

/* ---------- Hero ---------- */
.hero {
  position: relative; max-width: 1240px; margin: 0 auto; min-height: 100vh; min-height: 100svh; padding: 96px 22px 72px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 64px clamp(40px, 6vw, 96px); align-items: center;
}
.hero-copy { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 26px; }
.hero-loc { display: flex; align-items: center; gap: 14px; font-size: 11px; letter-spacing: .34em; text-transform: uppercase; color: var(--grey); font-weight: 500; }
.hero-of { font-family: var(--serif); font-style: italic; font-size: clamp(18px, 4.6vw, 22px); color: var(--rose); }
.hero-names { margin: 0; display: flex; flex-direction: column; align-items: center; font-weight: 400; color: var(--navy); }
.hero-name { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(66px, 18vw, 156px); line-height: .88; letter-spacing: -.04em; white-space: nowrap; }
.hero-amp { font-family: var(--script); font-size: clamp(50px, 12vw, 100px); line-height: 1; padding-top: .28em; margin: -.12em 0 -.08em; color: var(--gold); }
.hero-lead { margin: 0; max-width: 380px; font-family: var(--serif); font-size: clamp(17px, 4.4vw, 20px); line-height: 1.5; color: var(--text); text-wrap: pretty; }
.countdown { width: 100%; max-width: 420px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(168, 137, 79, .55); border-bottom: 1px solid rgba(168, 137, 79, .55); }
.countdown > div { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px 0; }
.countdown b { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 7.6vw, 36px); line-height: 1; color: var(--navy); font-variant-numeric: lining-nums tabular-nums; }
.countdown small { font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-dk); font-weight: 500; }
.hero-cta { display: flex; flex-direction: column; align-items: center; gap: 14px; width: 100%; }
.hero-cta > span { font-family: var(--serif); font-style: italic; font-size: 16px; color: var(--grey); }
.btn-hero {
  display: flex; align-items: center; justify-content: center; gap: 16px; width: 100%; max-width: 320px; height: 58px; border-radius: 999px;
  background: var(--navy); color: var(--cream); text-decoration: none; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; font-weight: 600; transition: background .25s;
}
.btn-hero:hover { background: var(--rose); color: var(--cream); }
.btn-hero span { width: 26px; height: 1px; background: currentColor; }
.hero-art { position: relative; width: 100%; max-width: 460px; justify-self: center; padding: 14px; }
.hero-arch-line { position: absolute; inset: 0; border: 1px solid rgba(168, 137, 79, .7); border-bottom: none; border-radius: 1000px 1000px 0 0; }
.hero-frame { position: relative; aspect-ratio: 4 / 5.3; border-radius: 1000px 1000px 0 0; overflow: hidden; background: var(--img); }
.hero-parallax { position: absolute; inset: -8% 0; will-change: transform; }
.hero-parallax img { width: 100%; height: 100%; object-fit: cover; object-position: 52% 50%; }
.hero-caption { display: flex; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid rgba(168, 137, 79, .7); font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--grey); font-weight: 500; }
.hero-badge {
  position: absolute; left: 50%; bottom: 22px; transform: translate(-50%, 50%); width: 68px; height: 68px; border-radius: 50%;
  background: var(--cream); border: 1px solid var(--gold); display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--navy); letter-spacing: .02em;
}

/* ---------- Marquee ---------- */
@keyframes mp-marquee { to { transform: translateX(-50%); } }
.marquee { background: var(--navy); color: var(--cream); overflow: hidden; height: 64px; display: flex; align-items: center; }
.marquee-track { display: flex; width: max-content; animation: mp-marquee 40s linear infinite; }
.marquee-track > span { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; }
.marquee-track em { font-family: var(--serif); font-size: 24px; white-space: nowrap; }
.marquee-track i { width: 6px; height: 6px; border: 1px solid var(--gold-lt); transform: rotate(45deg); }

/* ---------- Shared section parts ---------- */
.sec { scroll-margin-top: 60px; padding: clamp(96px, 14vw, 160px) 22px; }
.sand { background: var(--sand); }
.navy { background: var(--navy); color: var(--cream); }
.wrap-1000 { max-width: 1000px; margin: 0 auto; display: flex; flex-direction: column; gap: clamp(40px, 6vw, 64px); }
.wrap-1160 { max-width: 1160px; margin: 0 auto; }
.sec-head { display: flex; flex-direction: column; gap: 26px; }
.eyebrow { display: flex; align-items: center; gap: 14px; font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--rose); font-weight: 500; }
.eyebrow .no { font-family: var(--serif); font-style: italic; font-size: 16px; letter-spacing: 0; text-transform: none; }
.eyebrow .rule { width: 40px; height: 1px; background: currentColor; }
.eyebrow-blush { color: var(--blush); }
.h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(46px, 12.4vw, 116px); line-height: .94; letter-spacing: -.04em; color: var(--navy); }
.h2 em { color: var(--rose); }
.h3 { margin: 0; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(28px, 7vw, 38px); line-height: 1.1; color: var(--ink); }
.copy { margin: 0; font-size: 16px; line-height: 1.75; color: var(--text); text-wrap: pretty; }
.copy-sm { margin: 0; font-size: 15px; line-height: 1.7; color: var(--text); }
.muted { color: var(--grey); }
.label { font-size: 10px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold-dk); font-weight: 600; }
.label-rose { color: var(--rose); }

/* ---------- Welcome ---------- */
.sec-welcome { padding: clamp(96px, 16vw, 176px) 22px; }
.welcome-grid { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 64px clamp(48px, 8vw, 120px); align-items: center; }
.welcome-copy { display: flex; flex-direction: column; gap: 30px; }
.welcome-lead { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 8.6vw, 62px); line-height: 1.1; letter-spacing: -.025em; color: var(--navy); text-wrap: balance; }
.welcome-lead em { color: var(--rose); }
.signature { display: flex; align-items: center; gap: 18px; }
.signature .rule { width: 40px; height: 1px; background: var(--gold); }
.signature span:last-child { font-family: var(--script); font-size: clamp(30px, 8.4vw, 42px); color: var(--gold-dk); line-height: 1.3; padding-top: 8px; white-space: nowrap; }
.welcome-photo { position: relative; width: 100%; max-width: 420px; justify-self: center; }
.welcome-frame { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--img); border-radius: 2px; }
.welcome-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.welcome-outline { position: absolute; inset: -10px; border: 1px solid rgba(168, 137, 79, .6); pointer-events: none; }

/* ---------- The Weekend ---------- */
.days { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.day {
  display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 4px 12px; cursor: pointer;
  border: 1px solid rgba(29, 62, 99, .35); background: transparent; color: var(--navy); border-radius: 999px 999px 4px 4px; transition: background .3s, color .3s;
}
.day[aria-selected="true"] { background: var(--navy); color: var(--cream); border-color: var(--navy); }
.day span:nth-child(1) { font-size: 10px; letter-spacing: .26em; text-transform: uppercase; font-weight: 600; }
.day span:nth-child(2) { font-family: var(--serif); font-size: clamp(34px, 9vw, 48px); line-height: 1; letter-spacing: -.03em; }
.day span:nth-child(3) { font-family: var(--serif); font-style: italic; font-size: 14px; }
.day-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 22px; border-bottom: 1px solid var(--navy); margin-bottom: 34px; }
.day-head span:first-child { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 5.6vw, 30px); color: var(--navy); }
.day-head span:last-child { font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--grey); font-weight: 500; white-space: nowrap; }
.event { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 0 18px; }
.event-rail { display: flex; flex-direction: column; align-items: center; padding-top: 10px; }
.event-rail span:first-child { width: 9px; height: 9px; flex: none; border: 1px solid var(--gold); background: var(--sand); transform: rotate(45deg); }
.event-rail span:last-child { flex: 1; width: 1px; background: rgba(168, 137, 79, .6); margin-top: 6px; }
.event-body { display: flex; flex-direction: column; gap: 18px; padding-bottom: 48px; min-width: 0; }
.event-time { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 6px 18px; }
.event-time span:first-child { font-family: var(--serif); font-weight: 400; font-size: clamp(60px, 16vw, 104px); line-height: .82; letter-spacing: -.045em; color: var(--navy); font-variant-numeric: lining-nums; }
.event-time span:last-child { font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: var(--rose); font-weight: 600; padding-bottom: 6px; }
.event-title { margin: 0; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(30px, 7.6vw, 44px); line-height: 1.05; letter-spacing: -.02em; color: var(--ink); }
.event-body .copy { max-width: 600px; }
.venue { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; background: var(--cream); border-radius: 2px; max-width: 600px; }
.venue span:nth-child(2) { font-family: var(--serif); font-size: 21px; line-height: 1.25; color: var(--navy); }
.venue span:nth-child(3) { font-size: 14px; color: var(--grey); line-height: 1.55; }
.event-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; max-width: 600px; }
.pill {
  display: flex; align-items: center; justify-content: center; height: 50px; border-radius: 999px; text-decoration: none;
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; transition: background .25s, color .25s, border-color .25s;
}
.pill-solid { background: var(--navy); color: var(--cream); }
.pill-solid:hover { background: var(--rose); color: var(--cream); }
.pill-line { border: 1px solid var(--navy); color: var(--navy); }
.pill-line:hover { background: var(--cream); color: var(--rose); }
.bus-note { display: flex; gap: 16px; align-items: flex-start; padding-top: 18px; margin-top: 8px; border-top: 1px dashed rgba(29, 62, 99, .35); max-width: 600px; }
.bus-note span:first-child { font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--rose); white-space: nowrap; padding-top: 2px; }
.bus-note span:last-child { font-size: 15px; line-height: 1.65; color: var(--text); }
.bus-note strong { font-weight: 600; color: var(--ink); }
.day-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.day-nav button { height: 48px; padding: 0 4px; background: none; border: none; color: var(--navy); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; font-weight: 600; cursor: pointer; }
.day-nav button.off { visibility: hidden; }

/* ---------- RSVP ---------- */
.rsvp-grid { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 56px clamp(48px, 8vw, 120px); align-items: start; }
.rsvp-copy { display: flex; flex-direction: column; gap: 26px; }
.h2-rsvp { color: var(--cream); font-size: clamp(50px, 13vw, 112px); line-height: .92; }
.h2-rsvp em { color: var(--blush); }
.rsvp-copy p { margin: 0; font-size: 16px; line-height: 1.75; color: var(--mist); max-width: 400px; }
.reply-by { display: flex; align-items: baseline; gap: 16px; padding-top: 22px; border-top: 1px solid rgba(217, 192, 142, .35); max-width: 400px; }
.reply-by span:first-child { font-size: 10px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold-lt); font-weight: 600; }
.reply-by span:last-child { font-family: var(--serif); font-size: 34px; letter-spacing: -.02em; }
.rsvp-card {
  display: flex; flex-direction: column; gap: 28px; padding: clamp(64px, 12vw, 96px) clamp(24px, 5vw, 40px) clamp(24px, 5vw, 40px);
  border: 1px solid rgba(217, 192, 142, .4); border-radius: 220px 220px 4px 4px;
}
.progress { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.progress > span { font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-lt); font-weight: 600; }
.progress-bar { width: 120px; height: 1px; background: rgba(217, 192, 142, .3); position: relative; }
.progress-bar div { position: absolute; left: 0; top: -.5px; height: 2px; width: 0; background: var(--blush); transition: width .5s var(--ease); }
.q { font-family: var(--serif); font-style: italic; font-size: clamp(26px, 6.6vw, 34px); line-height: 1.15; text-align: center; }
.step { display: flex; flex-direction: column; gap: 18px; }
.step-name { gap: 14px; text-align: center; }
.step-details { gap: 22px; }
.line-input {
  width: 100%; border: none; border-bottom: 1px solid rgba(217, 192, 142, .6); background: transparent; color: var(--cream);
  font-family: var(--serif); outline: none; padding: 0; border-radius: 0; transition: border-color .25s;
}
.line-input:focus { border-bottom-color: var(--blush); }
.line-input:focus-visible { outline: none; }
.line-input.big { height: 58px; font-size: 21px; text-align: center; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 10px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold-lt); font-weight: 600; }
.field .line-input { height: 52px; font-size: 19px; letter-spacing: 0; text-transform: none; font-weight: 400; }
.field textarea.line-input { height: auto; padding: 10px 0; resize: none; }
.attend { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.opt {
  border: 1px solid rgba(217, 192, 142, .45); background: transparent; color: var(--cream); cursor: pointer; transition: background .3s, color .3s, border-color .3s;
}
.opt[aria-pressed="true"] { background: var(--cream); color: var(--navy); border-color: var(--cream); }
.attend .opt { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 120px; padding: 16px 10px; border-radius: 999px 999px 4px 4px; }
.attend .opt span:first-child { font-family: var(--script); font-size: 30px; line-height: 1.2; padding-top: 6px; }
.attend .opt span:last-child { font-family: var(--serif); font-style: italic; font-size: 17px; line-height: 1.2; }
.chips { display: flex; flex-direction: column; gap: 8px; }
.chips .opt { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 62px; padding: 10px 20px; border-radius: 4px; text-align: left; transition: background .25s, color .25s; }
.chip-text { display: flex; flex-direction: column; gap: 2px; }
.chip-text span:first-child { font-family: var(--serif); font-size: 19px; }
.chip-text span:last-child { font-size: 10px; letter-spacing: .24em; text-transform: uppercase; font-weight: 500; opacity: .8; }
.chip-mark { width: 22px; height: 22px; flex: none; border-radius: 50%; border: 1px solid currentColor; display: flex; align-items: center; justify-content: center; font-size: 12px; }
.rsvp-actions { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.rsvp-next {
  width: 100%; height: 58px; border-radius: 999px; border: 1px solid var(--cream); background: transparent; color: rgba(250, 246, 239, .55);
  font-size: 12px; letter-spacing: .28em; text-transform: uppercase; font-weight: 600; cursor: pointer; transition: background .3s, color .3s;
}
.rsvp-next.ready { background: var(--cream); color: var(--navy); }
.rsvp-next[disabled] { cursor: progress; opacity: .8; }
.rsvp-back { height: 44px; padding: 0 12px; background: none; border: none; color: var(--mist); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; font-weight: 500; cursor: pointer; }
.rsvp-error { margin: 0; font-size: 14px; line-height: 1.6; color: var(--blush); text-align: center; }
.rsvp-sent { align-items: center; text-align: center; gap: 16px; padding: clamp(64px, 12vw, 96px) clamp(24px, 5vw, 40px) 40px; }
.gracias { font-family: var(--script); font-size: 72px; line-height: 1.3; color: var(--blush); padding-top: 10px; }
.sent-line { margin: 0; font-family: var(--serif); font-style: italic; font-size: 24px; line-height: 1.35; }
.sent-sub { margin: 0; font-size: 14px; line-height: 1.7; color: var(--mist); max-width: 320px; }
.sent-edit { margin-top: 8px; height: 44px; padding: 0 12px; background: none; border: none; border-bottom: 1px solid var(--gold-lt); color: var(--gold-lt); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; font-weight: 600; cursor: pointer; }

/* ---------- Travel ---------- */
.tabs { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--navy); border-radius: 999px; padding: 4px; gap: 4px; }
.tabs button { height: 46px; border: none; border-radius: 999px; background: transparent; color: var(--navy); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; cursor: pointer; transition: background .3s, color .3s; }
.tabs button[aria-selected="true"] { background: var(--navy); color: var(--cream); }
.tpanel { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 40px clamp(40px, 6vw, 80px); align-items: start; }
.tcol { display: flex; flex-direction: column; gap: 18px; }
.stat { font-size: 52px; font-family: var(--serif); line-height: .9; letter-spacing: -.04em; color: var(--navy); }
.stat small { font-size: 22px; font-style: italic; letter-spacing: 0; }
.airports { display: flex; flex-direction: column; border-top: 1px solid var(--navy); }
.airports div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 18px 0; border-bottom: 1px solid rgba(29, 62, 99, .22); }
.airports span:first-child { font-family: var(--serif); font-size: 26px; color: var(--navy); }
.airports span:last-child { font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--grey); font-weight: 500; }
.callout { padding: 18px 20px; background: #F3E1E4; border-radius: 2px; font-size: 15px; line-height: 1.65; color: var(--ink); }
.callout strong { font-weight: 600; }
.drivers { display: flex; flex-direction: column; gap: 14px; }
.driver { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 76px; padding: 0 24px; border: 1px solid var(--navy); color: var(--navy); border-radius: 4px; text-decoration: none; transition: background .25s; }
.driver-solid { background: var(--navy); color: var(--cream); }
.driver-solid:hover { background: var(--rose); border-color: var(--rose); color: var(--cream); }
.driver span:first-child { font-family: var(--serif); font-style: italic; font-size: 28px; }
.driver span:last-child { font-size: 13px; letter-spacing: .04em; }
.bus-steps { display: flex; flex-direction: column; }
.bus-steps > div { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 14px; padding: 18px 0; border-top: 1px solid rgba(29, 62, 99, .22); }
.bus-steps > div > span { font-family: var(--serif); font-style: italic; font-size: 26px; line-height: 1; color: var(--rose); }
.bus-steps > div > div { display: flex; flex-direction: column; gap: 6px; }
.bus-steps > div > div span:first-child { font-family: var(--serif); font-size: 20px; color: var(--ink); }
.bus-steps > div > div span:last-child { font-size: 14px; line-height: 1.65; color: var(--text); }
.timetable { background: var(--navy); color: var(--cream); padding: clamp(22px, 5vw, 36px); display: flex; flex-direction: column; gap: 18px; border-radius: 4px; }
.tt-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.tt-head span:first-child { font-family: var(--serif); font-style: italic; font-size: 26px; }
.tt-head span:last-child { font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-lt); font-weight: 600; white-space: nowrap; }
.tt-toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 48px; padding: 0 16px; border: 1px solid rgba(217, 192, 142, .45); border-radius: 999px; background: transparent; color: var(--cream); cursor: pointer; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; text-align: left; }
.switch { flex: none; width: 40px; height: 22px; border-radius: 999px; background: rgba(250, 246, 239, .25); position: relative; transition: background .25s; }
.switch span { position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--cream); transition: left .25s; }
.tt-toggle[aria-checked="true"] .switch { background: var(--rose); }
.tt-toggle[aria-checked="true"] .switch span { left: 21px; }
.departures { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 2px 8px; }
.departures div { display: flex; align-items: baseline; gap: 3px; padding: 9px 0; border-bottom: 1px solid rgba(217, 192, 142, .16); }
.departures span:first-child { font-family: var(--serif); font-size: 22px; font-variant-numeric: lining-nums tabular-nums; }
.departures .direct span:first-child { color: var(--blush); }
.departures span:last-child { font-size: 11px; color: var(--blush); font-weight: 600; }
.tt-legend { display: flex; flex-direction: column; gap: 6px; font-size: 12px; line-height: 1.6; color: var(--mist); }
.tt-legend strong { color: var(--blush); }

/* ---------- Stay ---------- */
.stay-stack { display: flex; flex-direction: column; gap: clamp(40px, 6vw, 72px); }
.stay-head { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 26px 64px; align-items: end; }
.stay-head .copy { max-width: 480px; }
.stay-map-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 40px clamp(40px, 6vw, 80px); align-items: center; }
.map-arch { position: relative; width: 100%; max-width: 480px; justify-self: center; aspect-ratio: 4 / 5; border-radius: 1000px 1000px 4px 4px; overflow: hidden; background: var(--img); border: 1px solid rgba(168, 137, 79, .7); }
.map-arch iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.6) sepia(.25) contrast(.95); }
.hostal-note { display: flex; flex-direction: column; gap: 20px; }
.note-quote { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 6.6vw, 36px); line-height: 1.2; letter-spacing: -.02em; color: var(--navy); text-wrap: pretty; }
.note-quote em { color: var(--rose); }
.note-links { display: flex; flex-direction: column; gap: 10px; padding-top: 20px; border-top: 1px solid rgba(168, 137, 79, .55); font-size: 15px; line-height: 1.6; color: var(--text); }
.hotels-block { display: flex; flex-direction: column; gap: 22px; }
.hotels-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.hotels-head > span { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--grey); }
.filters { display: flex; gap: 6px; overflow-x: auto; }
.filters button { height: 44px; padding: 0 18px; border: 1px solid var(--navy); border-radius: 999px; background: transparent; color: var(--navy); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; cursor: pointer; white-space: nowrap; transition: background .25s, color .25s; }
.filters button[aria-pressed="true"] { background: var(--navy); color: var(--cream); }
.filters em { font-family: var(--serif); font-size: 14px; letter-spacing: 0; text-transform: none; font-weight: 400; }
.hotels { display: flex; flex-direction: column; border-top: 1px solid var(--navy); }
.hotel { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 12px 40px; align-items: start; padding: 26px 0; border-bottom: 1px solid rgba(29, 62, 99, .22); }
.hotel-name { display: flex; gap: 16px; align-items: baseline; }
.hotel-name > span { font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--gold-dk); min-width: 24px; }
.hotel-name > div { display: flex; flex-direction: column; gap: 6px; }
.hotel-name h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 25px; line-height: 1.15; letter-spacing: -.01em; color: var(--navy); }
.hotel-type { font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--rose); font-weight: 600; }
.hotel-type span { color: var(--gold-dk); letter-spacing: .1em; }
.hotel p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--text); text-wrap: pretty; }
.hotel-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px; }
.hotel-meta > span { font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--ink); }
.hotel-meta > div { display: flex; gap: 8px; }
.pill-sm { height: 40px; padding: 0 16px; font-size: 10px; letter-spacing: .2em; }
.pill-sm.pill-line:hover { background: transparent; color: var(--rose); border-color: var(--rose); }
.btn-more { align-self: center; height: 52px; padding: 0 30px; border: 1px solid var(--navy); border-radius: 999px; background: transparent; color: var(--navy); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; font-weight: 600; cursor: pointer; transition: background .25s, color .25s; }
.btn-more:hover { background: var(--navy); color: var(--cream); }

/* ---------- Guide + Q&A split ---------- */
.split { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 40px clamp(40px, 7vw, 112px); align-items: start; }
.split-head { display: flex; flex-direction: column; gap: 26px; }
/* Pin the heading beside its list only when there are two columns; in one column it would slide over the list. */
@media (min-width: 900px) { .split-head { position: sticky; top: 100px; } }
.salons, .qas { display: flex; flex-direction: column; border-top: 1px solid var(--navy); }
.salon { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid rgba(29, 62, 99, .22); }
.salon > div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.salon h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 21px; line-height: 1.2; color: var(--navy); }
.salon-addr { font-size: 13px; line-height: 1.5; color: var(--grey); text-decoration: none; transition: color .2s; }
.salon-addr:hover { color: var(--rose); }
.salon-phone { font-size: 13px; color: var(--gold-dk); font-variant-numeric: tabular-nums; }
.call { flex: none; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--navy); color: var(--navy); display: flex; align-items: center; justify-content: center; text-decoration: none; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; transition: background .25s, color .25s; }
.call:hover { background: var(--navy); color: var(--cream); }
.qa-intro { margin: 0; font-family: var(--serif); font-style: italic; font-size: 19px; line-height: 1.45; color: var(--grey); }
.qa { border-bottom: 1px solid rgba(29, 62, 99, .22); }
.qa > button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 72px; padding: 16px 0; background: none; border: none; cursor: pointer; text-align: left; font-family: var(--serif); font-weight: 400; font-size: clamp(20px, 5.2vw, 24px); line-height: 1.25; color: var(--navy); }
.qa-ico { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(29, 62, 99, .4); color: var(--navy); display: flex; align-items: center; justify-content: center; font-family: var(--sans); font-weight: 300; font-size: 20px; line-height: 1; transition: transform .35s var(--ease), background .25s, color .25s, border-color .25s; }
.qa > button[aria-expanded="true"] .qa-ico { transform: rotate(45deg); background: var(--rose); border-color: var(--rose); color: var(--cream); }
.qa-a { display: flex; flex-direction: column; gap: 14px; padding: 0 50px 24px 0; font-size: 15px; line-height: 1.75; color: var(--text); }
.qa-a p { margin: 0; text-wrap: pretty; }
.sitter { padding: 18px 20px; background: var(--cream); border-radius: 2px; display: flex; flex-direction: column; gap: 6px; }
.sitter > span:first-child { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--navy); }
.sitter strong { font-weight: 600; color: var(--ink); }
.qa-a a { font-weight: 600; }

/* ---------- Footer ---------- */
.footer { padding: clamp(96px, 14vw, 160px) 22px calc(120px + env(safe-area-inset-bottom)); background: var(--navy); color: var(--cream); position: relative; overflow: hidden; }
.footer-in { max-width: 1160px; margin: 0 auto; display: flex; flex-direction: column; gap: 64px; }
.footer-sign { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.hasta { font-family: var(--script); font-size: clamp(64px, 17vw, 150px); line-height: 1.3; color: var(--blush); padding-top: .1em; }
.footer-names { font-family: var(--serif); font-style: italic; font-size: clamp(34px, 9vw, 64px); line-height: 1; letter-spacing: -.03em; }
.footer-date { display: flex; align-items: center; gap: 16px; margin-top: 18px; font-size: 10px; letter-spacing: .36em; text-transform: uppercase; color: var(--gold-lt); font-weight: 500; }
.footer-date .diamond { border-color: var(--gold-lt); }
.footer-contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); border-top: 1px solid rgba(217, 192, 142, .35); }
.footer-contact > div { display: flex; flex-direction: column; gap: 6px; padding: 24px 0; border-bottom: 1px solid rgba(217, 192, 142, .35); }
.footer-contact > div > span:first-child { font-size: 10px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold-lt); font-weight: 600; }
.footer-contact > div > :last-child { font-family: var(--serif); font-size: 22px; color: var(--cream); text-decoration: none; word-break: break-word; transition: color .2s; }
.footer-contact a:hover { color: var(--blush); }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 24px; }
.footer-nav a { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--mist); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; transition: color .2s; }
.footer-nav a:hover { color: var(--blush); }

/* ---------- Mobile dock ---------- */
.dock {
  position: fixed; z-index: 60; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); height: 62px;
  display: flex; align-items: center; gap: 2px; padding: 0 6px 0 10px;
  background: rgba(29, 62, 99, .92); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-radius: 999px; box-shadow: 0 14px 40px rgba(20, 32, 52, .28);
  opacity: 0; visibility: hidden; transform: translateY(16px); transition: opacity .3s, transform .3s var(--ease), visibility 0s .3s;
}
.dock.show { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .3s var(--ease), visibility 0s; }
@media (min-width: 900px) { .dock { display: none; } }
.dock a[data-dock] { flex: 1; height: 50px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-decoration: none; color: rgba(220, 227, 236, .62); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; transition: color .25s; }
.dock .dot { width: 4px; height: 4px; border-radius: 50%; background: transparent; }
.dock a.on { color: var(--cream); }
.dock a.on .dot { background: var(--blush); }
.dock-rsvp { flex: none; height: 48px; padding: 0 20px; display: flex; align-items: center; border-radius: 999px; background: var(--rose); color: var(--cream); text-decoration: none; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; transition: background .25s; }
.dock-rsvp.on { background: #FAF6EF33; }

/* ---------- Reveal + motion ---------- */
.reveal-pending { opacity: 0; transform: translateY(26px); }
.reveal-armed { transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .reveal-pending { opacity: 1; transform: none; }
}

/* ---------- RSVP party size ---------- */
.party { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 20px; border: 1px solid rgba(217, 192, 142, .45); border-radius: 4px; }
.party > span { font-family: var(--serif); font-size: 17px; line-height: 1.25; }
.stepper { display: flex; align-items: center; gap: 4px; flex: none; }
.stepper b { min-width: 34px; text-align: center; font-family: var(--serif); font-weight: 400; font-size: 28px; font-variant-numeric: lining-nums tabular-nums; }
.stepper button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(217, 192, 142, .6); background: transparent; color: var(--cream); font-size: 22px; line-height: 1; cursor: pointer; transition: background .2s, color .2s; }
.stepper button:hover:not([disabled]) { background: var(--cream); color: var(--navy); }
.stepper button[disabled] { opacity: .3; cursor: default; }
