/* ==================================================================
   Naïla & Fabrice — wedding site
   Wisteria & olive · Provence spring
================================================================== */

:root {
  /* Palette — default: wisteria & olive */
  --cream: oklch(97% 0.012 85);
  --cream-deep: oklch(94% 0.02 85);
  --ink: oklch(24% 0.02 85);
  --ink-soft: oklch(38% 0.02 85);
  --wisteria: oklch(66% 0.10 305);
  --wisteria-soft: oklch(88% 0.045 305);
  /* Accent secondaire : taupe chaud (greige), quasi neutre — remplace l'ancien vert. */
  --olive: #9a8f7e;
  --olive-soft: #cfc8bb;

  /* Fonts — set by JS theme */
  --font-display: 'Cormorant Garamond', 'Georgia', serif;
  --font-body: 'Inter', -apple-system, system-ui, sans-serif;

  --maxw: 1120px;
  --gutter: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--wisteria); }

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gutter);
  background: color-mix(in oklab, var(--cream) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid color-mix(in oklab, var(--olive) 12%, transparent);
  gap: 16px;
}
.nav__mark {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 20px;
  letter-spacing: 0.01em;
  white-space: nowrap;
  flex-shrink: 0;
}
@media (max-width: 720px) {
  .nav__mark { font-size: 17px; }
}
.nav__mark em { color: var(--wisteria); font-style: italic; margin: 0 4px; }
.nav__links {
  display: flex; gap: clamp(14px, 2.2vw, 28px);
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-soft);
}
.nav__links a:hover { color: var(--wisteria); }
.nav__rsvp {
  border: 1px solid var(--ink);
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  transition: all 0.2s;
}
.nav__rsvp:hover { background: var(--ink); color: var(--cream); }

@media (max-width: 720px) {
  .nav__links { display: none; }
}

/* ---------- TYPE ---------- */
.hero-overline,
.section-header__overline {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--olive);
  font-weight: 500;
}
.hero-overline--under {
  font-size: 16px;
  letter-spacing: 0.4em;
  margin-top: 4px;
  margin-bottom: 20px;
  color: var(--wisteria);
}
.hero-bigdate {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(26px, 5vw, 46px);
  line-height: 1.1;
  color: var(--wisteria);
  margin: 8px 0 18px;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.01em; }

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.2s, color 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--ink); color: var(--cream); }
.btn--primary:hover { background: var(--wisteria); color: var(--cream); border-color: var(--wisteria); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--cream); }

/* ==================================================================
   HERO
================================================================== */
.hero {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(60px, 10vw, 140px) var(--gutter) clamp(60px, 8vw, 120px);
}

/* --- centered --- */
.hero--centered { text-align: center; }
.hero-inner { position: relative; z-index: 2; }
.hero-names {
  font-size: clamp(56px, 12vw, 160px);
  line-height: 0.92;
  margin: 28px 0 28px;
  font-style: italic;
  letter-spacing: -0.02em;
}
.hero-names .amp {
  font-style: italic;
  color: var(--wisteria);
  display: inline-block;
  margin: 0 0.05em;
  font-size: 0.78em;
  transform: translateY(-0.06em);
}
.hero-sub {
  max-width: 520px;
  margin: 28px auto 32px;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.7;
}
.hero-sub strong { color: var(--ink); font-weight: 500; }

.hero-botanical {
  position: absolute;
  width: clamp(90px, 12vw, 170px);
  opacity: 0.9;
  top: 40px;
  pointer-events: none;
}
.hero-botanical--left { left: calc(var(--gutter) - 10px); transform: rotate(-10deg); }
.hero-botanical--right { right: calc(var(--gutter) - 10px); transform: rotate(10deg) scaleX(-1); }
@media (max-width: 720px) {
  .hero-botanical { width: 70px; opacity: 0.5; }
}

/* ---- Glycine canopy cascading from the top ---- */
/* Canopée glycine (image aquarelle) — pleine largeur, fondue vers le bas dans le crème de la page */
.hero-canopy {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  max-width: 1700px;
  aspect-ratio: 2000 / 910;
  background: url("img/wisteria-hero.webp?v=2") top center / 100% auto no-repeat;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 46%, transparent 88%);
          mask-image: linear-gradient(to bottom, #000 0%, #000 46%, transparent 88%);
  pointer-events: none;
  z-index: 0;
}
.hero--centered .hero-inner { position: relative; z-index: 2; padding-top: clamp(80px, 14vw, 210px); }

/* ---- Ornamental corner flourishes ---- */
.hero-corner {
  position: absolute;
  width: clamp(100px, 14vw, 180px);
  color: var(--olive);
  opacity: 0.55;
  pointer-events: none;
  z-index: 1;
}
.hero-corner--bl { bottom: 20px; left: 10px; }
.hero-corner--br { bottom: 20px; right: 10px; }
@media (max-width: 720px) {
  .hero-corner { width: 80px; opacity: 0.35; }
}

.hero-counter {
  display: inline-flex;
  gap: 22px;
  margin: 8px 0 32px;
  padding: 14px 26px;
  border: 1px solid color-mix(in oklab, var(--olive) 28%, transparent);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--ink-soft);
  text-transform: uppercase;
}
.hero-counter__cell { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.hero-counter__num { font-family: var(--font-display); font-size: 26px; color: var(--ink); letter-spacing: 0; line-height: 1; }

/* --- split --- */
.hero--split {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-split__left .hero-names--stack {
  display: flex; flex-direction: column;
  font-size: clamp(54px, 10vw, 130px);
  line-height: 0.92;
  font-style: italic;
  margin: 24px 0 28px;
  letter-spacing: -0.02em;
}
.hero-split__left .hero-names--stack .amp {
  color: var(--wisteria);
  font-size: 0.7em;
  margin: -0.1em 0 -0.05em 0.08em;
  align-self: flex-start;
}
.hero-split__left .hero-names--stack span:last-child { align-self: flex-end; padding-right: 0.1em; }
.hero-date-line {
  display: flex; flex-direction: column; gap: 4px;
  margin-bottom: 36px;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.hero-date-line strong {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--ink);
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
  font-style: italic;
  padding: 6px 0;
}
.hero-split__right {
  display: flex; align-items: center; justify-content: center;
  color: var(--olive);
  min-height: 420px;
}
.hero-split__right svg { max-height: 480px; }
@media (max-width: 780px) {
  .hero--split { grid-template-columns: 1fr; }
  .hero-split__right { min-height: 280px; }
}

/* --- minimal --- */
.hero--minimal {
  text-align: center;
  padding-top: clamp(80px, 14vw, 180px);
  padding-bottom: clamp(80px, 14vw, 180px);
}
.hero-names--tight {
  font-size: clamp(52px, 10vw, 130px);
  margin: 16px 0 24px;
  font-style: italic;
  letter-spacing: -0.02em;
}
.hero-date {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 42px);
  letter-spacing: 0.15em;
  color: var(--wisteria);
  margin-bottom: 12px;
}
.hero-place {
  font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 40px;
}

/* ==================================================================
   SECTIONS
================================================================== */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(60px, 9vw, 120px) var(--gutter);
  position: relative;
}

.section-header { text-align: center; margin-bottom: clamp(40px, 6vw, 72px); }
.section-header__title {
  font-size: clamp(44px, 7vw, 88px);
  font-style: italic;
  margin: 12px 0 10px;
  line-height: 1;
}
.section-header__kicker {
  color: var(--ink-soft);
  font-size: 15px;
  max-width: 420px;
  margin: 0 auto;
}

/* ---------- SCHEDULE ---------- */
.schedule {
  list-style: none; padding: 0; margin: 0;
  max-width: 620px; margin: 0 auto;
  position: relative;
}
.schedule::before {
  content: '';
  position: absolute;
  left: 130px;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: color-mix(in oklab, var(--olive) 25%, transparent);
}
.schedule__item {
  display: grid;
  grid-template-columns: 110px 20px 1fr;
  gap: 20px;
  align-items: baseline;
  padding: 18px 0;
  position: relative;
}
.schedule__time {
  font-family: var(--font-display);
  font-size: 28px;
  font-style: italic;
  color: var(--wisteria);
  text-align: right;
  line-height: 1;
}
.schedule__dot {
  width: 10px; height: 10px; border-radius: 999px;
  background: var(--cream);
  border: 1.5px solid var(--olive);
  justify-self: center;
  transform: translateY(6px);
}
.schedule__title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: 4px;
}
.schedule__note { color: var(--ink-soft); font-size: 14px; }

@media (max-width: 560px) {
  .schedule { max-width: 100%; }
  .schedule::before { left: 86px; }
  .schedule__item { grid-template-columns: 70px 18px 1fr; gap: 14px; }
  .schedule__time { font-size: 22px; }
  .schedule__title { font-size: 18px; }
}

/* ---------- VENUE ---------- */
.venue-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  align-items: stretch;
}
.venue-card {
  position: relative;
  overflow: hidden;
  padding: 44px;
  background: color-mix(in oklab, var(--cream) 55%, var(--cream-deep));
  border-radius: 20px;
  box-shadow: 0 16px 38px -22px color-mix(in oklab, var(--ink) 60%, transparent);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.venue-card__sprig {
  position: absolute;
  right: -16px;
  bottom: -34px;
  width: 96px;
  height: auto;
  color: var(--olive);
  opacity: 0.12;
  transform: rotate(-14deg);
  pointer-events: none;
}
.venue-card > *:not(.venue-card__sprig) { position: relative; }
.venue-card__label {
  font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 16px;
}
.venue-card__body {
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.4;
  margin-bottom: 24px;
}
.linklet {
  font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--wisteria);
  font-weight: 500;
  align-self: flex-start;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
.venue-map {
  border-radius: 20px;
  overflow: hidden;
  background: var(--cream-deep);
  min-height: 320px;
  display: flex;
  box-shadow: 0 16px 38px -22px color-mix(in oklab, var(--ink) 60%, transparent);
}
.map-svg { width: 100%; height: 100%; display: block; }
.venue-map iframe { flex: 1; width: 100%; min-height: 320px; border: 0; display: block; }

@media (max-width: 720px) {
  .venue-grid { grid-template-columns: 1fr; }
  .venue-map { min-height: 240px; }
}

/* ---------- TRAVEL ---------- */
/* Section placeholder "Informations à venir" (image aquarelle) */
.coming-soon { text-align: center; }
.coming-soon img {
  width: 100%;
  max-width: 760px;
  height: auto;
  display: block;
  margin: 0 auto;
  /* fondu de l'image dans le crème de la page, sur les 4 bords */
  -webkit-mask-image:
    linear-gradient(to bottom, transparent 0%, #000 30%, #000 70%, transparent 100%),
    linear-gradient(to right, transparent 0%, #000 12%, #000 88%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to bottom, transparent 0%, #000 30%, #000 70%, transparent 100%),
    linear-gradient(to right, transparent 0%, #000 12%, #000 88%, transparent 100%);
  mask-composite: intersect;
}

.travel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* web : 3 cartes alignées */
  gap: 24px;
}
.travel-card {
  position: relative;
  overflow: hidden;
  padding: 34px 32px 36px;
  border-radius: 20px;
  background: color-mix(in oklab, var(--cream) 55%, var(--cream-deep));
  box-shadow: 0 16px 38px -22px color-mix(in oklab, var(--ink) 60%, transparent);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.travel-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.travel-card__icon { color: var(--olive); width: 34px; height: 34px; }
.travel-card__icon svg { width: 100%; height: 100%; display: block; }
.travel-card__sprig {
  position: absolute;
  top: -22px;
  right: -14px;
  width: 58px;
  height: auto;
  color: var(--olive);
  opacity: 0.13;
  transform: rotate(16deg);
  pointer-events: none;
}
.travel-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 50px -24px color-mix(in oklab, var(--ink) 55%, transparent);
}
.travel-card__number {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 28px;
  color: var(--wisteria);
  margin: 0;
  line-height: 1;
}
.travel-card__title {
  font-size: 26px;
  font-style: italic;
  margin: 0 0 14px;
}
.travel-card__lines { list-style: none; padding: 0; margin: 0; }
.travel-card__lines li {
  color: var(--ink-soft);
  padding: 8px 0;
  border-top: 1px solid color-mix(in oklab, var(--olive) 12%, transparent);
  font-size: 15px;
}
.travel-card__lines li:first-child { border-top: 0; padding-top: 0; }

@media (max-width: 760px) {
  .travel-grid { grid-template-columns: 1fr; } /* mobile : cartes empilées */
}

/* ---------- RSVP TEASER ---------- */
.section--rsvp {
  text-align: center;
}
.rsvp-lookup {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}
.rsvp-lookup__msg {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.rsvp-lookup__msg strong { color: var(--ink); font-weight: 500; }
.rsvp-lookup label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 12px;
}
.rsvp-lookup__row {
  display: flex;
  gap: 8px;
  background: var(--cream-deep);
  padding: 6px;
  border-radius: 999px;
  border: 1px solid color-mix(in oklab, var(--olive) 18%, transparent);
}
.rsvp-lookup__row input {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 12px 18px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  outline: none;
}
.rsvp-lookup__row input::placeholder {
  color: color-mix(in oklab, var(--ink-soft) 60%, transparent);
  font-style: italic;
}
.rsvp-lookup__hint {
  margin-top: 18px;
  font-size: 13px;
  color: var(--ink-soft);
}
.rsvp-lookup__hint a { color: var(--wisteria); border-bottom: 1px solid currentColor; }

@media (max-width: 520px) {
  .rsvp-lookup__row { flex-direction: column; border-radius: 20px; padding: 12px; }
  .rsvp-lookup__row input { text-align: center; }
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 720px;
  margin: 0 auto;
}
.faq__item {
  border-top: 1px solid color-mix(in oklab, var(--olive) 20%, transparent);
}
.faq__item:last-child { border-bottom: 1px solid color-mix(in oklab, var(--olive) 20%, transparent); }
.faq__q {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 22px 4px;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: var(--ink);
  transition: color 0.15s;
}
.faq__q:hover { color: var(--wisteria); }
.faq__num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  color: var(--wisteria);
  min-width: 24px;
}
.faq__text {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.3;
}
.faq__chev {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--olive);
  width: 24px; text-align: center;
}
.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}
.faq__a-inner { overflow: hidden; min-height: 0; }
.faq__a p {
  margin: 0;
  padding: 0 4px 0 48px;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.65;
  max-width: 560px;
}
.faq__a p + p,
.faq__a .faq__list + p { padding-top: 14px; }
.faq__list {
  margin: 0;
  padding: 14px 4px 0 68px;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.65;
  max-width: 560px;
}
.faq__list li { margin: 0; padding: 0; }
.faq__list li + li { margin-top: 10px; }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__item.is-open .faq__a-inner { padding-bottom: 22px; }

.faq-contact {
  text-align: center;
  margin-top: 40px;
  font-size: 14px;
  color: var(--ink-soft);
}
.faq-contact a {
  color: var(--wisteria);
  border-bottom: 1px solid currentColor;
}

/* ---------- FOOTER ---------- */
.footer {
  text-align: center;
  padding: 60px var(--gutter) 80px;
  color: var(--olive);
  border-top: 1px solid color-mix(in oklab, var(--olive) 15%, transparent);
  margin-top: 40px;
}
.footer__line {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  margin-top: 16px;
  color: var(--ink);
}
.footer__line--small {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--olive);
  font-style: normal;
  margin-top: 6px;
}

/* ==================================================================
   RSVP PAGE
================================================================== */
.rsvp-page {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 80px) var(--gutter) 80px;
}
.rsvp-page__return {
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 40px;
  display: inline-block;
}
.rsvp-page__overline {
  font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--olive);
  text-align: center;
}
.rsvp-page__greeting {
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.1;
  margin: 16px 0 8px;
  letter-spacing: -0.01em;
}
.rsvp-page__names {
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 30px);
  color: var(--wisteria);
  font-style: italic;
  margin-bottom: 20px;
}
.rsvp-page__divider {
  display: flex;
  justify-content: center;
  margin: 0 auto 40px;
  opacity: 0.85;
}
.rsvp-page__divider svg { width: 220px; height: auto; }
.rsvp-page__intro {
  text-align: center;
  max-width: 480px;
  margin: 0 auto 56px;
  color: var(--ink-soft);
  line-height: 1.7;
}

/* ---- guest block ---- */
.guest-block {
  background: color-mix(in oklab, var(--cream-deep) 55%, var(--cream));
  border: 1px solid color-mix(in oklab, var(--olive) 22%, transparent);
  padding: 30px 32px 10px;
  border-radius: 10px;
  margin-bottom: 18px;
  position: relative;
}
.guest-block__head {
  display: flex; align-items: baseline; justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px dashed color-mix(in oklab, var(--olive) 25%, transparent);
  margin-bottom: 20px;
  gap: 16px;
  flex-wrap: wrap;
}
.guest-block__name {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 30px;
  line-height: 1;
}
.guest-block__label {
  font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--olive);
}

.guest-block__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 16px 0;
}
.guest-block__row--divided { border-top: 1px dashed color-mix(in oklab, var(--olive) 20%, transparent); }
.guest-block__q {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 20px;
}
.guest-block__hint {
  color: var(--ink-soft);
  font-size: 13px;
  margin-top: -4px;
}

/* radio pills */
.radio-group { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.radio-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  background: var(--cream);
  border: 1px solid color-mix(in oklab, var(--olive) 18%, transparent);
  border-radius: 999px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.15s;
  user-select: none;
}
.radio-pill input { display: none; }
.radio-pill__dot {
  width: 10px; height: 10px; border-radius: 999px;
  border: 1px solid var(--olive);
  background: transparent;
  transition: all 0.15s;
}
.radio-pill:hover { border-color: var(--wisteria); }
.radio-pill.is-active {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}
.radio-pill.is-active .radio-pill__dot { background: var(--wisteria); border-color: var(--wisteria); }

/* inputs */
.field { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }
.field input, .field select, .field textarea {
  background: var(--cream);
  border: 1px solid color-mix(in oklab, var(--olive) 24%, transparent);
  border-radius: 6px;
  padding: 12px 14px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s;
  font-family: var(--font-body);
}
.field textarea { min-height: 90px; resize: vertical; font-family: var(--font-body); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--wisteria); }

/* shared-questions */
.shared-block {
  padding: 30px 32px;
  background: color-mix(in oklab, var(--cream-deep) 55%, var(--cream));
  border-radius: 10px;
  margin-top: 26px;
  border: 1px solid color-mix(in oklab, var(--olive) 22%, transparent);
}
.shared-block h3 {
  font-size: 25px; font-style: italic; margin: 0 0 18px;
}
.shared-block .guest-block__row { padding: 12px 0; }
.shared-block .guest-block__row--divided { border-color: color-mix(in oklab, var(--olive) 22%, transparent); }

/* submit */
.rsvp-submit {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.rsvp-submit__deadline {
  font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--ink-soft);
}
.rsvp-submit__error {
  max-width: 420px; text-align: center; font-size: 14px; line-height: 1.5;
  color: oklch(48% 0.16 25);
  background: color-mix(in oklab, oklch(60% 0.18 25) 10%, var(--cream));
  border: 1px solid color-mix(in oklab, oklch(60% 0.18 25) 30%, transparent);
  border-radius: 8px; padding: 12px 16px;
}
.rsvp-submit__error a { color: inherit; }

/* RSVP — invitation lookup states */
.rsvp-spinner {
  width: 34px; height: 34px; margin: 0 auto 18px;
  border: 2px solid color-mix(in oklab, var(--wisteria) 30%, transparent);
  border-top-color: var(--wisteria);
  border-radius: 50%;
  animation: rsvp-spin 0.8s linear infinite;
}
@keyframes rsvp-spin { to { transform: rotate(360deg); } }

/* RSVP — "soirée de la veille" block (per-guest, only when invited) */
.veille-block {
  margin-top: 28px;
  margin-bottom: 36px;
  padding: 30px 32px;
  border-radius: 10px;
  background: color-mix(in oklab, var(--wisteria) 7%, var(--cream));
  border: 1px solid color-mix(in oklab, var(--wisteria) 24%, transparent);
}
.veille-block__badge {
  display: inline-block; margin-bottom: 12px;
  font-family: var(--font-body); font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--wisteria); background: transparent;
  padding: 4px 12px; border-radius: 999px;
  border: 1px solid color-mix(in oklab, var(--wisteria) 42%, transparent);
}
.veille-block h3 { font-size: 25px; font-style: italic; margin-bottom: 4px; }
.veille-block__intro { color: var(--ink-soft); font-size: 15px; margin-bottom: 16px; }

/* ---- RSVP interactive extras ---- */
.deadline-banner {
  background: transparent;
  border: 0;
  border-top: 1px solid color-mix(in oklab, var(--olive) 30%, transparent);
  border-bottom: 1px solid color-mix(in oklab, var(--olive) 30%, transparent);
  border-radius: 0;
  padding: 22px 24px;
  margin: 0 auto 40px;
  max-width: 440px;
  text-align: center;
}
.deadline-banner__label {
  font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--olive);
}
.deadline-banner__date {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 34px;
  color: var(--wisteria);
  margin: 6px 0 10px;
}
.deadline-banner__note {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.55;
}
.deadline-banner__note strong { color: var(--ink); }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 500px) { .field-row { grid-template-columns: 1fr; } }
.field label {
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink-soft);
}

.guest-block__remove {
  background: transparent;
  border: 1px solid color-mix(in oklab, var(--olive) 25%, transparent);
  color: var(--ink-soft);
  font: inherit;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s;
}
.guest-block__remove:hover {
  color: var(--wisteria);
  border-color: var(--wisteria);
}

.add-guest-btn {
  width: 100%;
  background: transparent;
  border: 1.5px dashed color-mix(in oklab, var(--wisteria) 45%, transparent);
  border-radius: 10px;
  padding: 22px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  color: var(--wisteria);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  transition: all 0.15s;
}
.add-guest-btn:hover:not(:disabled) {
  background: color-mix(in oklab, var(--wisteria) 8%, transparent);
  border-color: var(--wisteria);
  transform: translateY(-1px);
}
.add-guest-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.add-guest-btn__plus {
  font-size: 28px;
  font-family: var(--font-body);
  font-style: normal;
  line-height: 1;
}
.add-guest-btn__hint {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--ink-soft);
  margin-left: 6px;
}

.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }

.field__optional {
  font-family: var(--font-body);
  text-transform: none;
  letter-spacing: 0;
  font-size: 11px;
  color: var(--ink-soft);
  opacity: 0.7;
  margin-left: 4px;
}

.tentative-check {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  cursor: pointer;
  padding: 14px 16px;
  border: 1px solid color-mix(in oklab, var(--olive) 18%, transparent);
  border-radius: 8px;
  background: color-mix(in oklab, var(--cream) 50%, transparent);
  transition: all 0.15s;
}
.tentative-check:hover {
  border-color: color-mix(in oklab, var(--wisteria) 35%, transparent);
}
.tentative-check.is-active {
  border-color: var(--wisteria);
  background: color-mix(in oklab, var(--wisteria) 8%, var(--cream));
}
.tentative-check input { position: absolute; opacity: 0; pointer-events: none; }
.tentative-check__box {
  flex-shrink: 0;
  width: 20px; height: 20px;
  border: 1.5px solid color-mix(in oklab, var(--olive) 35%, transparent);
  border-radius: 4px;
  background: var(--cream);
  display: flex; align-items: center; justify-content: center;
  color: transparent;
  margin-top: 2px;
  transition: all 0.15s;
}
.tentative-check.is-active .tentative-check__box {
  background: var(--wisteria);
  border-color: var(--wisteria);
  color: var(--cream);
}
.tentative-check__text {
  display: flex; flex-direction: column; gap: 2px;
  font-size: 13px;
  line-height: 1.5;
}
.tentative-check__text strong {
  font-weight: 500;
  color: var(--ink);
}
.tentative-check__text em {
  font-style: normal;
  color: var(--ink-soft);
  font-size: 12px;
}

.guest-block__hint--inline { display: inline; margin-left: 2px; font-weight: 400; }

.stepper {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--cream);
  border: 1px solid color-mix(in oklab, var(--wisteria) 25%, transparent);
  border-radius: 999px;
  padding: 4px;
  margin-top: 6px;
}
.stepper__btn {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--wisteria);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s;
}
.stepper__btn:hover { background: color-mix(in oklab, var(--wisteria) 15%, transparent); }
.stepper__value {
  min-width: 36px;
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  color: var(--ink);
}

.children-ages {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 14px;
}
.children-ages .field label {
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink-soft);
}

.allergy-note {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: 24px;
  padding: 18px 20px;
  background: color-mix(in oklab, var(--olive) 8%, var(--cream));
  border: 1px solid color-mix(in oklab, var(--olive) 18%, transparent);
  border-left: 2px solid var(--wisteria);
  border-radius: 8px;
}
.allergy-note svg {
  flex-shrink: 0;
  color: var(--wisteria);
  margin-top: 2px;
}
.allergy-note strong {
  display: block;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 4px;
  font-size: 14px;
}
.allergy-note p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.allergy-note a { color: var(--wisteria); text-decoration: underline; }
.rsvp-confirm {
  text-align: center;
  padding: 60px 20px;
}
.rsvp-confirm__icon {
  width: 72px; height: 72px; margin: 0 auto 24px;
  color: var(--wisteria);
}
.rsvp-confirm h2 {
  font-size: clamp(36px, 5vw, 52px); font-style: italic; margin: 0 0 16px;
}
.rsvp-confirm p {
  color: var(--ink-soft); max-width: 440px; margin: 0 auto 24px; line-height: 1.7;
}

/* ==================================================================
   TWEAKS PANEL
================================================================== */
.tweaks {
  position: fixed;
  right: 20px; bottom: 20px;
  width: 300px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  background: var(--cream);
  border: 1px solid color-mix(in oklab, var(--olive) 25%, transparent);
  border-radius: 10px;
  box-shadow: 0 18px 50px -12px rgba(60, 40, 80, 0.22);
  padding: 18px;
  z-index: 100;
  font-size: 13px;
  display: none;
}
.tweaks.is-open { display: block; }
.tweaks h4 {
  font-family: var(--font-body);
  font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--olive);
  margin: 0 0 10px;
  font-weight: 500;
}
.tweaks__head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 14px; padding-bottom: 12px;
  border-bottom: 1px solid color-mix(in oklab, var(--olive) 15%, transparent);
}
.tweaks__title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 20px;
}
.tweaks__group { margin-bottom: 18px; }
.tweaks__palettes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.tweaks__swatch {
  aspect-ratio: 1;
  border-radius: 6px;
  cursor: pointer;
  border: 2px solid transparent;
  display: flex; align-items: flex-end;
  padding: 4px;
  font-size: 8px;
  color: rgba(0,0,0,0.5);
  transition: transform 0.12s;
  position: relative;
  overflow: hidden;
}
.tweaks__swatch:hover { transform: translateY(-2px); }
.tweaks__swatch.is-active { border-color: var(--ink); }
.tweaks__swatch::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 4px; right: 4px;
  height: 4px; border-radius: 2px;
  background: var(--swatch-accent, transparent);
}
.tweaks__options {
  display: flex; flex-direction: column; gap: 4px;
}
.tweaks__opt {
  background: transparent;
  border: 1px solid color-mix(in oklab, var(--olive) 15%, transparent);
  border-radius: 4px;
  padding: 9px 12px;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
  text-align: left;
  color: var(--ink);
  transition: all 0.15s;
}
.tweaks__opt:hover { border-color: var(--wisteria); }
.tweaks__opt.is-active {
  background: var(--ink); color: var(--cream); border-color: var(--ink);
}
.tweaks__opt small { opacity: 0.7; margin-left: 6px; font-size: 10px; }

.tweaks__sections {
  display: flex; flex-direction: column; gap: 4px;
}
.tweaks__section-row {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 8px;
  background: color-mix(in oklab, var(--olive) 5%, var(--cream));
  border-radius: 4px;
  font-size: 12px;
  cursor: grab;
}
.tweaks__section-row:active { cursor: grabbing; }
.tweaks__section-row.is-dragging { opacity: 0.4; }
.tweaks__section-row.is-over { border-top: 2px solid var(--wisteria); }
.tweaks__section-row .grip { color: var(--olive); opacity: 0.5; }

.tweaks__close {
  background: transparent; border: 0;
  color: var(--ink-soft); cursor: pointer;
  font-size: 18px; line-height: 1;
}

@media (max-width: 520px) {
  .tweaks {
    right: 10px; left: 10px; bottom: 10px; width: auto;
    max-height: 70vh;
  }
}
