/* =====================================================================
   site.css — the one stylesheet for every Azura page
   Design system: "Riviera editorial". Luxury first, fun through the film,
   the photography, the words and the motion — never through loud type or
   loud colour. Ivory, warm ink, one champagne-gold accent used sparingly.
   The web app (azura-app) mirrors these tokens in tailwind.config.js.
   ===================================================================== */

:root {
  --ivory: #faf7f2;
  --ivory-2: #f1ece3;
  --white: #ffffff;
  --ink: #14181b;
  --stone: #6f6a62;
  --line: #e4ddd0;
  --gold: #b8975a;        /* lines, rings, icon details, large italic words */
  --gold-text: #8f7238;   /* small text on ivory: passes contrast */
  --gold-light: #d9c08a;  /* on ink or on photography */
  --error: #a4432c;

  --serif: 'Instrument Serif', 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --sans: 'Jost', 'Futura', 'Avenir Next', 'Helvetica Neue', Arial, sans-serif;

  --r: 4px;        /* buttons, inputs */
  --r-img: 8px;    /* photography and cards */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow: 0 18px 50px rgba(20, 24, 27, 0.10);
  --gutter: clamp(20px, 4vw, 44px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.04; letter-spacing: -0.01em; margin: 0; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--gold); }
p { margin: 0; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
::selection { background: var(--gold-light); color: var(--ink); }

.wrap { max-width: 1080px; margin: 0 auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: 720px; margin: 0 auto; padding-inline: var(--gutter); }

/* Small tracked capitals: kickers, dates, labels, buttons. The quiet voice of the brand. */
.kicker, .label {
  font-family: var(--sans); font-weight: 500; font-size: 12px;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-text);
}
.lede { font-size: clamp(18px, 2.1vw, 21px); color: var(--stone); max-width: 38ch; }

.az-icon { flex: none; display: inline-block; vertical-align: middle; overflow: visible; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 0 32px;
  border: 1px solid var(--ink); border-radius: var(--r);
  background: var(--ink); color: var(--ivory);
  font-family: var(--sans); font-weight: 500; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.btn:hover { background: transparent; color: var(--ink); }
.btn:active { transform: scale(0.985); }
.btn:focus-visible, .pill:focus-visible, .acc summary:focus-visible, .stop-more summary:focus-visible,
.action:focus-visible, .trip-card:focus-visible {
  outline: 2px solid var(--gold); outline-offset: 3px;
}
.btn[disabled] { opacity: 0.4; cursor: not-allowed; }
.btn[disabled]:hover { background: var(--ink); color: var(--ivory); }
.btn-white, .btn-ivory { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.btn-white:hover, .btn-ivory:hover { background: transparent; color: var(--ivory); }
.invite .btn-white { border-color: var(--ink); background: transparent; }
.invite .btn-white:hover { background: var(--ink); color: var(--ivory); }
.btn-ink { /* the default is ink; kept so older markup still reads */ }
.btn-quiet {
  border-color: transparent; background: transparent; color: var(--ink); padding: 0 8px;
  text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 6px;
}
.btn-quiet:hover { color: var(--gold-text); }
.btn-sm { min-height: 42px; padding: 0 22px; font-size: 12px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px var(--gutter);
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-brand img { width: 34px; height: 34px; object-fit: contain; }
.nav-brand span { font-family: var(--sans); font-weight: 500; font-size: 15px; letter-spacing: 0.32em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: clamp(14px, 2.6vw, 34px); }
.nav-links a:not(.btn) {
  font-weight: 500; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none;
  padding: 8px 0; border-bottom: 1px solid transparent; transition: border-color 0.3s var(--ease);
}
.nav-links a:not(.btn):hover, .nav-links a[aria-current='page'] { border-bottom-color: var(--gold); }

.nav--over {
  position: absolute; left: 0; right: 0;
  background: transparent; border-bottom: 0; backdrop-filter: none; -webkit-backdrop-filter: none;
  color: var(--ivory);
}
.nav--over .nav-brand img { filter: invert(1) brightness(1.2); }
.nav--over .nav-links { display: none; }

@media (max-width: 480px) {
  .nav:not(.nav--over) .nav-brand span { display: none; }
  .nav-links a:not(.btn) { font-size: 11px; letter-spacing: 0.12em; }
  .nav .btn-sm { padding: 0 16px; }
}

/* ---------- Home: the film ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: var(--ivory); background: var(--ink) center / cover no-repeat;
  overflow: hidden;
}
.hero-video { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(20, 24, 27, 0.5) 0%, rgba(20, 24, 27, 0) 24%),
    linear-gradient(0deg, rgba(20, 24, 27, 0.88) 0%, rgba(20, 24, 27, 0.42) 46%, rgba(20, 24, 27, 0) 72%);
}
.hero-inner { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter) clamp(28px, 6vh, 64px); }
.hero .kicker { color: rgba(250, 247, 242, 0.85); }
.hero h1 { font-size: clamp(3.4rem, 10vw, 8rem); line-height: 0.98; max-width: 10ch; margin-top: 14px; }
.hero h1 em { color: var(--gold-light); }
.hero-sub { text-wrap: balance; margin-top: 20px; font-size: clamp(17px, 2vw, 20px); max-width: 34ch; color: rgba(250, 247, 242, 0.88); }

.actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: clamp(28px, 5vh, 48px); max-width: 900px; border-top: 1px solid rgba(250, 247, 242, 0.35); }
.action {
  position: relative; display: flex; flex-direction: column; gap: 4px;
  padding: 22px 28px 8px 0; color: var(--ivory); text-decoration: none;
  transition: padding 0.4s var(--ease);
}
.action + .action { padding-left: 28px; border-left: 1px solid rgba(250, 247, 242, 0.35); }
.action b { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 3vw, 34px); line-height: 1.1; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.action b::after { content: '→'; font-family: var(--sans); font-size: 18px; color: var(--gold-light); transition: transform 0.4s var(--ease); }
.action:hover b::after { transform: translateX(6px); }
.action small { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(250, 247, 242, 0.7); }
.action::before { content: ''; position: absolute; top: -1px; left: 0; height: 1px; width: 0; background: var(--gold-light); transition: width 0.5s var(--ease); }
.action:hover::before { width: 100%; }
.hero-foot { margin-top: 26px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(250, 247, 242, 0.55); }
.hero-foot a { color: inherit; }

@media (max-width: 720px) {
  .actions { grid-template-columns: 1fr; border-top: 0; }
  .action, .action + .action { padding: 16px 0; border-left: 0; border-top: 1px solid rgba(250, 247, 242, 0.35); }
  .action small { display: none; }
  .action::before { display: none; }
}

/* ---------- Page heads ---------- */
.page-head { padding-block: clamp(48px, 9vh, 96px) clamp(28px, 5vh, 48px); }
.page-head h1 { font-size: clamp(3rem, 7.6vw, 5.4rem); margin-top: 14px; max-width: 14ch; text-wrap: balance; }
.page-head .lede { margin-top: 20px; }

/* ---------- Trips list ---------- */
.trip-cards { display: grid; gap: 28px; padding-bottom: 96px; }
.trip-card {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: clamp(340px, 56vh, 520px);
  padding: clamp(24px, 3.6vw, 44px);
  border-radius: var(--r-img);
  color: var(--ivory); text-decoration: none; background: var(--ink);
}
.trip-card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.trip-card:hover img { transform: scale(1.045); }
.trip-card::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(20, 24, 27, 0.8) 0%, rgba(20, 24, 27, 0.05) 62%); }
.trip-card .tag {
  position: absolute; top: clamp(20px, 3vw, 32px); left: clamp(24px, 3.6vw, 44px);
  font-weight: 500; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ivory);
  padding-bottom: 6px; border-bottom: 1px solid var(--gold-light);
}
.trip-card h2 { font-size: clamp(2.8rem, 7vw, 5rem); }
.trip-card p { margin-top: 8px; font-size: 18px; color: rgba(250, 247, 242, 0.88); max-width: 40ch; }
.trip-card .go { margin-top: 20px; font-weight: 500; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; }
.trip-card .go::after { content: '→'; margin-left: 10px; color: var(--gold-light); display: inline-block; transition: transform 0.4s var(--ease); }
.trip-card:hover .go::after { transform: translateX(6px); }

/* ---------- Trip page ---------- */
.trip-hero {
  position: relative; isolation: isolate; color: var(--ivory); overflow: hidden;
  min-height: clamp(460px, 78vh, 720px);
  display: flex; align-items: flex-end; background: var(--ink);
}
.trip-hero img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; animation: kenburns 18s var(--ease) both; }
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
.trip-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(20, 24, 27, 0.84) 0%, rgba(20, 24, 27, 0.04) 66%); }
.trip-hero .wrap { width: 100%; padding-bottom: clamp(32px, 6vh, 60px); }
.trip-hero .back { display: inline-block; margin-bottom: 18px; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(250, 247, 242, 0.8); text-decoration: none; }
.trip-hero .back:hover { color: var(--gold-light); }
.trip-hero h1 { font-size: clamp(3.4rem, 11vw, 7.4rem); line-height: 0.98; }
.trip-hero .tagline { margin-top: 12px; font-size: clamp(18px, 2.2vw, 22px); max-width: 32ch; color: rgba(250, 247, 242, 0.9); }
.trip-hero .hero-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px; margin-top: 28px; }
.trip-hero .when { font-weight: 500; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; }

.facts { display: flex; flex-wrap: wrap; gap: 0; padding-top: 0; border-bottom: 1px solid var(--line); }
.fact {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 20px 28px 20px 0; margin-right: 28px;
  font-size: 15px; color: var(--ink);
}
.fact + .fact { border-left: 0; }

.sec { padding-top: clamp(56px, 9vh, 104px); }
.sec h2 { font-size: clamp(2.4rem, 5.6vw, 4rem); }
.sec .sec-sub { margin-top: 12px; color: var(--stone); max-width: 42ch; }

/* ---------- Itinerary timeline ---------- */
.tl { --rail: 56px; position: relative; margin-top: 44px; }
.tl-item { position: relative; display: grid; grid-template-columns: var(--rail) 1fr; column-gap: clamp(14px, 3vw, 32px); padding-bottom: clamp(44px, 7vh, 72px); }
.tl-item::before {
  content: ''; position: absolute; left: calc(var(--rail) / 2 - 1px); top: 50px; bottom: -2px; width: 0;
  border-left: 2px dotted var(--gold);
  transform-origin: top; transform: scaleY(0); transition: transform 1.4s var(--ease) 0.15s;
}
.tl-item:last-child { padding-bottom: 0; }
.tl-item:last-child::before { display: none; }
.tl-item.in::before { transform: scaleY(1); }

.dot {
  position: relative; z-index: 1;
  width: 44px; height: 44px; margin: 0 auto; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ivory); color: var(--ink); border: 1px solid var(--gold);
  font-family: var(--serif); font-size: 22px; line-height: 1; padding-bottom: 2px;
  transform: scale(0.5); opacity: 0; transition: transform 0.8s var(--ease), opacity 0.5s;
}
.tl-item.in .dot { transform: scale(1); opacity: 1; }
.dot--bubble {
  width: auto; min-width: 56px; height: 30px; margin: 7px -10px 0; padding: 0 10px; border-radius: 999px;
  background: var(--ink); color: var(--gold-light); border-color: var(--ink);
  font-family: var(--sans); font-weight: 500; font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase;
}

.stop { min-width: 0; opacity: 0; transform: translateY(18px); transition: opacity 0.9s var(--ease) 0.1s, transform 0.9s var(--ease) 0.1s; }
.tl-item.in .stop { opacity: 1; transform: none; }
.stop-when { font-weight: 500; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-text); }
.stop h3 { font-size: clamp(2rem, 4.6vw, 3rem); margin-top: 6px; }
.stop-line { margin-top: 8px; color: var(--stone); max-width: 46ch; }

.shots { display: grid; gap: 6px; margin-top: 20px; height: clamp(240px, 62vw, 420px); border-radius: var(--r-img); overflow: hidden; }
.shots img { width: 100%; height: 100%; object-fit: cover; background: var(--ivory-2); }
.shots--3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
.shots--3 img:first-child { grid-row: span 2; }
.shots--2 { grid-template-columns: 3fr 2fr; }
.shots--1 { grid-template-columns: 1fr; }

.chips { display: flex; flex-wrap: wrap; gap: 6px 26px; margin-top: 20px; padding: 0; list-style: none; }
.chips li { display: inline-flex; align-items: center; gap: 10px; font-size: 15.5px; color: var(--ink); }

.stop-more { margin-top: 18px; }
.stop-more summary {
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer; list-style: none;
  font-weight: 500; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  padding-bottom: 5px; border-bottom: 1px solid var(--gold); border-radius: 1px;
}
.stop-more summary::-webkit-details-marker { display: none; }
.stop-more summary::after { content: '+'; font-size: 16px; font-weight: 400; letter-spacing: 0; display: inline-block; transition: transform 0.35s var(--ease); }
.stop-more[open] summary::after { transform: rotate(45deg); }
.stop-more-body { margin-top: 16px; padding: 22px 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-img); font-size: 16px; }
.stop-more-body dl { margin: 0; display: grid; gap: 14px; }
.stop-more-body dt { font-weight: 500; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-text); }
.stop-more-body dd { margin: 3px 0 0; }

@media (max-width: 560px) {
  .tl { --rail: 40px; }
  .dot { width: 36px; height: 36px; font-size: 19px; }
  .dot--bubble { height: 26px; min-width: 48px; font-size: 9.5px; letter-spacing: 0.14em; padding: 0 8px; margin-top: 5px; }
  .tl-item::before { top: 42px; }
  .chips { gap: 6px 18px; }
  .chips li { font-size: 14.5px; gap: 8px; }
  .fact { padding: 14px 18px 14px 0; margin-right: 10px; font-size: 14px; }
}

.tl-note { margin-top: 32px; font-size: 15px; font-style: italic; font-family: var(--serif); font-size: 19px; color: var(--stone); }

/* ---------- Details accordions ---------- */
.acc-list { margin-top: 32px; border-top: 1px solid var(--ink); }
.acc { border-bottom: 1px solid var(--line); }
.acc summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; cursor: pointer; list-style: none;
  padding: 22px 12px 22px 2px; font-family: var(--serif); font-size: clamp(22px, 2.8vw, 28px); border-radius: 2px;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: '+'; font-family: var(--sans); font-size: 22px; font-weight: 300; line-height: 1; color: var(--gold-text); transition: transform 0.35s var(--ease); }
.acc[open] summary::after { transform: rotate(45deg); }
.acc-body { padding: 0 2px 26px; max-width: 62ch; color: var(--stone); display: grid; gap: 10px; }
.acc-body ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.acc-body li { position: relative; padding-left: 26px; color: var(--ink); }
.acc-body li::before { content: ''; position: absolute; left: 2px; top: 0.72em; width: 12px; height: 1px; background: var(--gold); }
.acc-body ul.no li { color: var(--stone); }
.acc-body ul.no li::before { background: var(--stone); opacity: 0.5; }

/* ---------- Closing band ---------- */
.cta-band { margin-top: clamp(64px, 10vh, 120px); background: var(--ink); color: var(--ivory); }
.cta-band .wrap { padding-block: clamp(56px, 9vh, 96px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta-band h2 { font-size: clamp(2.4rem, 5.8vw, 4.2rem); max-width: 14ch; text-wrap: balance; }
.cta-band h2 em { color: var(--gold-light); }
.cta-band p { margin-top: 10px; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(250, 247, 242, 0.7); }
.cta-band .btn { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.cta-band .btn:hover { background: transparent; color: var(--ivory); }

/* ---------- How it works ---------- */
.steps { display: grid; gap: clamp(40px, 7vh, 80px); padding-bottom: 20px; }
.step { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: center; }
.step:nth-child(even) .step-img { order: 2; }
.step-img { border-radius: var(--r-img); overflow: hidden; aspect-ratio: 4 / 3; background: var(--ivory-2); }
.step-img img { width: 100%; height: 100%; object-fit: cover; }
.step-n { font-family: var(--serif); font-style: italic; font-size: 26px; color: var(--gold); display: block; }
.step-n::after { content: ''; display: block; width: 32px; height: 1px; background: var(--gold); margin-top: 10px; }
.step h2 { font-size: clamp(2.4rem, 5vw, 3.8rem); margin-top: 18px; }
.step p { margin-top: 12px; font-size: 18px; color: var(--stone); max-width: 34ch; }
@media (max-width: 720px) {
  .step { grid-template-columns: 1fr; }
  .step:nth-child(even) .step-img { order: 0; }
}

.panel { margin-top: clamp(64px, 10vh, 112px); border-radius: var(--r-img); padding: clamp(30px, 5.4vw, 64px); }
.panel--ink { background: var(--ink); color: var(--ivory); }
.panel--ink .kicker { color: var(--gold-light); }
.panel--ink { --gold: var(--gold-light); }
.panel--white { background: var(--white); border: 1px solid var(--line); }
.panel h2 { font-size: clamp(2.4rem, 5.2vw, 3.8rem); margin-top: 12px; max-width: 18ch; text-wrap: balance; }
.panel > p { margin-top: 14px; font-size: 18px; max-width: 46ch; opacity: 0.86; }
.ticks { list-style: none; padding: 0; margin: 30px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 32px; }
.ticks li { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-top: 1px solid rgba(250, 247, 242, 0.18); font-size: 16px; }
.panel--white .ticks li { border-top-color: var(--line); }

/* ---------- Sign-up wizard ---------- */
.wiz { min-height: calc(100svh - 61px); display: flex; flex-direction: column; }
.wiz-bar { height: 2px; background: var(--line); }
.wiz-bar i { display: block; height: 100%; width: 0; background: var(--gold); transition: width 0.7s var(--ease); }
.wiz-main { flex: 1; width: 100%; max-width: 620px; margin: 0 auto; padding: clamp(28px, 6vh, 64px) var(--gutter) 48px; }
.wiz-top { display: flex; justify-content: space-between; align-items: center; min-height: 32px; margin-bottom: 26px; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--stone); }
.wiz-back { background: none; border: 0; padding: 6px 0; cursor: pointer; font-weight: 500; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; }
.wiz-back:hover { color: var(--gold-text); }

.banner { margin-bottom: 24px; padding: 16px 20px; border-radius: var(--r); font-size: 15.5px; border: 1px solid var(--line); background: var(--white); border-left: 2px solid var(--gold); }
.banner--app { display: flex; justify-content: space-between; align-items: center; gap: 12px; }

.q h1 { font-size: clamp(2.6rem, 7vw, 3.8rem); text-wrap: balance; }
.q .hint { margin-top: 12px; color: var(--stone); }
.q-body { margin-top: 32px; display: grid; gap: 10px; }
.q { animation: q-in 0.6s var(--ease); }
@keyframes q-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.pill {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%;
  min-height: 64px; padding: 14px 22px; text-align: left;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  font-family: var(--sans); font-size: 18px; cursor: pointer;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
}
.pill small { display: block; margin-top: 2px; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--stone); transition: color 0.3s; }
.pill:hover { border-color: var(--ink); }
.pill[aria-pressed='true'], .pill[aria-checked='true'] { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.pill[aria-pressed='true'] small, .pill[aria-checked='true'] small { color: rgba(250, 247, 242, 0.65); }
.pill .tick { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line); position: relative; transition: border-color 0.3s; }
.pill[aria-pressed='true'] .tick, .pill[aria-checked='true'] .tick { border-color: var(--gold-light); }
.pill[aria-pressed='true'] .tick::before, .pill[aria-checked='true'] .tick::before {
  content: ''; position: absolute; left: 7px; top: 4px; width: 6px; height: 10px;
  border-right: 1.5px solid var(--gold-light); border-bottom: 1.5px solid var(--gold-light); transform: rotate(42deg);
}
.pill[disabled] { cursor: default; opacity: 0.85; }

/* months dropdown */
.dd { position: relative; }
.dd-btn::after { content: ''; width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform 0.3s var(--ease); }
.dd-btn[aria-expanded='true']::after { transform: rotate(225deg) translateY(-2px); }
.dd-panel { margin-top: 8px; padding: 8px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); display: grid; grid-template-columns: 1fr 1fr; gap: 0; box-shadow: var(--shadow); }
.dd-panel label { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 2px; cursor: pointer; }
.dd-panel label:hover { background: var(--ivory); }
.dd-panel input { width: 18px; height: 18px; accent-color: var(--ink); }

.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 18px; }
.field { display: grid; gap: 4px; }
.field--wide { grid-column: 1 / -1; }
.field label { font-weight: 500; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--stone); }
.field label i { font-style: normal; font-weight: 400; letter-spacing: 0.1em; opacity: 0.8; }
.field input {
  width: 100%; min-height: 48px; padding: 0 2px;
  font: inherit; font-size: 19px; color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0;
}
.field input:focus { outline: none; border-bottom: 1px solid var(--gold); box-shadow: 0 1px 0 var(--gold); }
.field.invalid input { border-bottom-color: var(--error); }
.field .err { font-size: 14px; color: var(--error); min-height: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 520px) { .fields { grid-template-columns: 1fr; } }

.review { margin: 0; border-top: 1px solid var(--ink); }
.review div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.review dt { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--stone); padding-top: 3px; }
.review dd { margin: 0; text-align: right; }
.consent { display: flex; gap: 14px; align-items: flex-start; font-size: 15.5px; cursor: pointer; margin-top: 12px; color: var(--stone); }
.consent input { flex: none; width: 20px; height: 20px; margin-top: 3px; accent-color: var(--ink); }
.form-error { color: var(--error); }
.wiz-next { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

.done { text-align: center; padding-top: 4vh; }
.done .burst { width: 72px; height: 72px; margin: 0 auto; color: var(--ink); }
.done .burst svg { width: 100%; height: 100%; }
.done .burst path { stroke-dasharray: 120; stroke-dashoffset: 120; animation: draw 1.6s var(--ease) 0.2s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.done h1 { font-size: clamp(2.8rem, 8vw, 4.4rem); margin-top: 18px; text-wrap: balance; }
.done p { margin: 14px auto 0; color: var(--stone); max-width: 38ch; }
.invite { margin-top: 36px; padding: 28px; text-align: left; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-img); }
.invite h2 { font-size: 30px; }
.invite p { margin: 8px 0 0; max-width: none; }
.invite-link { margin-top: 16px; padding: 14px 16px; border-radius: var(--r); background: var(--ivory); border: 1px dashed var(--gold); font-size: 14px; word-break: break-all; user-select: all; }
.invite-btns { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- FAQ / footer / credits ---------- */
.faq { padding-top: clamp(64px, 10vh, 112px); }
.faq h2 { font-size: clamp(2.4rem, 5.2vw, 3.8rem); }

.foot { margin-top: clamp(64px, 10vh, 120px); padding: 40px 0 48px; border-top: 1px solid var(--line); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--stone); }
.cta-band + .foot, main:has(> .cta-band:last-child) + .foot { margin-top: 0; border-top: 0; background: var(--ink); color: rgba(250, 247, 242, 0.55); border-top: 1px solid rgba(250, 247, 242, 0.14); }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 28px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--gold); }

.credits { padding-bottom: 40px; font-size: 15px; color: var(--stone); }
.credits h2 { font-size: 30px; margin: 44px 0 14px; color: var(--ink); }
.credits li { margin-bottom: 8px; word-break: break-word; }
.credits a { color: var(--ink); text-decoration-color: var(--gold); text-underline-offset: 4px; }

/* ---------- Reveal + motion safety ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .stop, .dot { opacity: 1 !important; transform: none !important; }
  .tl-item::before { transform: none !important; }
  .done .burst path { stroke-dashoffset: 0 !important; }
}
