@font-face {
  font-family: "Roboto Serif";
  src: url("../fonts/RobotoSerif-Light.woff2") format("woff2");
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Roboto Serif";
  src: url("../fonts/RobotoSerif-LightItalic.woff2") format("woff2");
  font-weight: 300; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Roboto Serif";
  src: url("../fonts/RobotoSerif-Regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Roboto Serif";
  src: url("../fonts/RobotoSerif-Italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Roboto Serif";
  src: url("../fonts/RobotoSerif-Medium.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Roboto Serif";
  src: url("../fonts/RobotoSerif-SemiBold.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Tangerine";
  src: url("../fonts/Tangerine.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Tangerine";
  src: url("../fonts/Tangerine-Bold.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}

:root {
  /* Rose principal */
  --rose:       #d99ea6;
  --rose-deep:  #b87c85;
  --rose-soft:  #e8bcb9;
  --rose-pale:  #f4e0de;
  --rose-mist:  #ecd0ce;

  /* Accents secondaires (extraits de la palette) */
  --blue:   #b0c1c8;
  --sage:   #9da598;
  --yellow: #f6e4a6;

  /* Base */
  --cream:      #fbf5ec;
  --paper:      #fefaf3;
  --ink:        #443134;
  --ink-soft:   #7c6265;

  /* Section tintée : rose intermédiaire, doux */
  --tint-bg:    #e6bfbb;
  --tint-text:  #402a2e;

  /* Fond de page hors carte */
  --backdrop:   #3a2225;

  /* Etats */
  --present:      #6e9d7a;
  --present-soft: rgba(110, 157, 122, 0.14);
  --absent:       #b8a9a9;
  --danger:       #b0555a;
  --danger-soft:  rgba(176, 85, 90, 0.12);

  /* Sur fond sombre (hero video) */
  --on-dark:    #fbf1ee;

  /* Lignes */
  --line:         rgba(68, 49, 52, 0.12);
  --line-on-tint: rgba(64, 42, 46, 0.16);
  --line-on-dark: rgba(251, 241, 238, 0.28);

  /* Polices */
  --serif:  "Roboto Serif", Georgia, serif;
  --script: "Tangerine", cursive;

  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px; --sp-4: 16px;
  --sp-5: 24px; --sp-6: 32px; --sp-7: 48px; --sp-8: 64px;

  --r-sm: 10px; --r-md: 16px; --r-lg: 22px; --r-pill: 999px;

  --shadow-card:  0 18px 40px -28px rgba(58, 34, 37, 0.45);
  --shadow-sheet: 0 -12px 40px -12px rgba(58, 34, 37, 0.35);
  --shadow-float: 0 12px 28px -10px rgba(58, 34, 37, 0.5);

  --col: 480px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--backdrop);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.shell {
  width: 100%;
  max-width: var(--col);
  margin: 0 auto;
  background: var(--cream);
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 80px -8px rgba(0, 0, 0, 0.4);
}

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.icon {
  width: 24px; height: 24px;
  stroke: currentColor; stroke-width: 1.5;
  fill: none; stroke-linecap: round; stroke-linejoin: round;
  flex: none;
}

.eyebrow {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--rose-deep);
}

.script {
  font-family: var(--script);
  font-weight: 400;
  line-height: 0.95;
}

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  color: var(--rose);
}
.divider::before,
.divider::after {
  content: "";
  height: 1px;
  width: 40px;
  background: currentColor;
  opacity: 0.6;
}
.divider .icon { width: 20px; height: 20px; }

/* ============ HERO ============ */
.hero {
  position: relative;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  text-align: center;
  color: var(--on-dark);
  padding: var(--sp-7) var(--sp-5) var(--sp-6);
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(58, 34, 37, 0.42) 0%,
    rgba(58, 34, 37, 0.08) 30%,
    rgba(58, 34, 37, 0.42) 72%,
    rgba(58, 34, 37, 0.76) 100%
  );
}
.hero__inner { position: relative; z-index: 2; width: 100%; }

.hero__eyebrow { color: var(--on-dark); opacity: 0.94; }

.hero__names {
  font-size: clamp(5.4rem, 30vw, 8.2rem);
  margin: var(--sp-3) 0 var(--sp-1);
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.36);
}
.hero__amp {
  display: block;
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: 1.4rem;
  letter-spacing: 0.1em;
  opacity: 0.9;
  margin: -0.4em 0;
}
.hero__date {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-top: var(--sp-4);
  padding-left: 0.38em;
  color: var(--on-dark);
  opacity: 0.94;
}
.hero__scroll {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  margin-top: var(--sp-6);
  opacity: 0.85;
}
.hero__scroll .icon {
  width: 22px;
  height: 22px;
  color: var(--on-dark);
}

/* ============ SECTIONS ============ */
.section {
  padding: var(--sp-8) var(--sp-5);
  position: relative;
}
.section--tint {
  background: var(--tint-bg);
  color: var(--tint-text);
}
.section--paper { background: var(--paper); }
.section--rose  { background: var(--rose-pale); }

.section__head {
  text-align: center;
  margin-bottom: var(--sp-6);
}
.section__title {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.7rem, 6vw, 2.1rem);
  line-height: 1.2;
  margin-top: var(--sp-3);
  letter-spacing: 0.01em;
}
.section--tint .eyebrow { color: var(--tint-text); opacity: 0.72; }
.section--tint .divider { color: var(--tint-text); opacity: 0.5; }

/* ============ FAMILLES (au tout début) ============ */
.families {
  text-align: center;
  padding: var(--sp-8) var(--sp-5) var(--sp-6);
  background: var(--paper);
}
.families__label {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--rose-deep);
}
.families__list {
  margin-top: var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  align-items: center;
}
.families__name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 0.94rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}
.families__sep {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--rose);
  font-weight: 300;
}
.families__ornament {
  margin: var(--sp-6) auto 0;
  color: var(--rose);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
}
.families__ornament::before,
.families__ornament::after {
  content: "";
  height: 1px;
  width: 46px;
  background: currentColor;
  opacity: 0.55;
}
.families__ornament .icon { width: 18px; height: 18px; }

/* ============ INTRO ============ */
.intro {
  text-align: center;
  padding-top: var(--sp-6);
}
.intro__names {
  font-size: clamp(3.6rem, 22vw, 5.4rem);
  color: var(--rose-deep);
  margin: var(--sp-2) 0 var(--sp-2);
}
.intro__amp {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: 1.1rem;
  display: block;
  margin: -0.2em 0;
  color: var(--rose);
}
.intro__date {
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  font-size: 0.76rem;
  padding-left: 0.34em;
  color: var(--ink);
}
.intro__lead {
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--ink-soft);
  max-width: 34ch;
  margin: var(--sp-5) auto 0;
}

/* ============ COMPTE A REBOURS ============ */
.count {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-2);
  max-width: 340px;
  margin: 0 auto;
}
.count__cell {
  text-align: center;
  padding: var(--sp-3) var(--sp-1);
  border: 1px solid var(--line-on-tint);
  background: rgba(255, 255, 255, 0.28);
  border-radius: var(--r-sm);
}
.count__num {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 2rem;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  color: var(--rose-deep);
}
.count__label {
  display: block;
  margin-top: var(--sp-2);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--tint-text);
  opacity: 0.72;
}

/* ============ VENUES ============ */
.venues {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}
.venue {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--sp-6) var(--sp-5);
  text-align: center;
  box-shadow: var(--shadow-card);
}
.venue__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  border-radius: var(--r-pill);
  background: var(--rose-pale);
  color: var(--rose-deep);
  margin-bottom: var(--sp-4);
}
.venue__badge .icon { width: 26px; height: 26px; }

.venue__tag {
  display: inline-block;
  font-size: 0.66rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 500;
  margin-bottom: var(--sp-2);
}
.venue__type {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: 1.35rem;
  margin-bottom: var(--sp-2);
}
.venue__sub {
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rose-deep);
  font-weight: 500;
  margin-bottom: var(--sp-2);
}
.venue__place { font-weight: 500; font-size: 1.02rem; }
.venue__meta { color: var(--ink-soft); font-size: 0.92rem; margin-top: var(--sp-1); }
.venue__time {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  margin-top: var(--sp-4);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.76rem;
  color: var(--rose-deep);
}
.venue__time .icon { width: 18px; height: 18px; }

.link-map {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  margin-top: var(--sp-5);
  padding: 12px var(--sp-5);
  min-height: 44px;
  border: 1px solid var(--rose);
  border-radius: var(--r-pill);
  color: var(--rose-deep);
  font-weight: 500;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.link-map .icon { width: 18px; height: 18px; }
.link-map:active { background: var(--rose); color: var(--paper); }

/* ============ TIMELINE ============ */
.timeline {
  position: relative;
  max-width: 340px;
  margin: 0 auto;
  padding-left: 52px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 19px; top: 8px; bottom: 8px;
  width: 1px;
  background: linear-gradient(to bottom, var(--rose-deep), var(--rose), var(--rose-deep));
  opacity: 0.5;
}
.tl {
  position: relative;
  padding: var(--sp-3) 0;
}
.tl:first-child { padding-top: 0; }
.tl:last-child  { padding-bottom: 0; }
.tl__dot {
  position: absolute;
  left: -52px; top: 50%;
  transform: translateY(-50%);
  width: 40px; height: 40px;
  border-radius: var(--r-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid var(--line-on-tint);
  color: var(--tint-text);
}
.tl__dot .icon { width: 20px; height: 20px; }
.tl__time {
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  font-variant-numeric: tabular-nums;
  color: var(--rose-deep);
}
.tl__label {
  color: var(--tint-text);
  font-size: 0.92rem;
}
.tl__detail {
  color: var(--tint-text);
  opacity: 0.62;
  font-size: 0.78rem;
  font-style: italic;
}

.tl-day {
  position: relative;
  padding: var(--sp-4) 0 var(--sp-2);
}
.tl-day__dot {
  position: absolute;
  left: -37px; top: 50%;
  transform: translateY(-50%);
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--rose-deep);
  box-shadow: 0 0 0 3px rgba(184, 124, 133, 0.24);
}
.tl-day__label {
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid var(--rose-deep);
  border-radius: var(--r-pill);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rose-deep);
  font-weight: 500;
}

/* ============ DRESS CODE ============ */
.dress { text-align: center; }
.dress__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px; height: 60px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  color: var(--rose-deep);
  background: var(--rose-pale);
  margin-bottom: var(--sp-4);
}
.dress__badge .icon { width: 28px; height: 28px; }
.dress__items { display: flex; flex-direction: column; gap: var(--sp-4); margin-top: var(--sp-5); }
.dress__item { text-align: center; }
.dress__item-label {
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rose-deep);
  margin-bottom: var(--sp-1);
}
.dress__item-note { color: var(--ink-soft); font-size: 0.96rem; }
.dress__global {
  margin-top: var(--sp-5);
  font-size: 0.86rem;
  font-style: italic;
  color: var(--ink-soft);
  max-width: 30ch;
  margin-left: auto;
  margin-right: auto;
}

/* ============ CONFIRMATION ============ */
.confirm { text-align: center; }
.confirm__note {
  color: var(--tint-text);
  opacity: 0.78;
  max-width: 30ch;
  margin: var(--sp-4) auto var(--sp-6);
  font-size: 0.96rem;
}
.confirm__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-3);
  width: 100%;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  width: 100%;
  max-width: 320px;
  min-height: 56px;
  padding: 0 var(--sp-6);
  border-radius: var(--r-pill);
  background: var(--rose-deep);
  color: var(--paper);
  font-weight: 500;
  font-size: 0.96rem;
  letter-spacing: 0.06em;
  box-shadow: 0 10px 28px -12px rgba(184, 124, 133, 0.6);
  transition: transform 0.18s var(--ease), background 0.2s var(--ease), box-shadow 0.18s var(--ease);
  touch-action: manipulation;
}
.btn-primary .icon { width: 20px; height: 20px; }
.btn-primary:active {
  transform: translateY(1px) scale(0.99);
  background: #9a6570;
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  min-height: 48px;
  padding: 0 var(--sp-5);
  font-family: inherit;
  font-weight: 400;
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  color: var(--tint-text);
  opacity: 0.75;
  border-bottom: 1px solid var(--tint-text);
  border-radius: 0;
  transition: opacity 0.2s var(--ease);
  touch-action: manipulation;
}
.btn-ghost:active { opacity: 1; }
.confirm__done {
  display: none;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  color: var(--tint-text);
  font-weight: 500;
}
.confirm__done .icon { width: 22px; height: 22px; color: var(--rose-deep); }
.confirm.is-done-confirm .confirm__actions,
.confirm.is-done-decline .confirm__actions { display: none; }
.confirm.is-done-confirm .confirm__done--confirm { display: inline-flex; }
.confirm.is-done-decline .confirm__done--decline { display: inline-flex; }

/* ============ FOOTER ============ */
.footer {
  text-align: center;
  padding: var(--sp-8) var(--sp-5);
  background: var(--cream);
}
.footer__monogram {
  font-family: var(--script);
  font-size: 4.2rem;
  line-height: 1;
  color: var(--rose-deep);
}
.footer__line {
  color: var(--ink-soft);
  font-style: italic;
  margin: var(--sp-3) 0 var(--sp-4);
}
.footer__date {
  letter-spacing: 0.34em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--rose-deep);
  padding-left: 0.34em;
}
.footer__cadeau {
  margin-top: var(--sp-5);
  font-size: 0.74rem;
  font-style: italic;
  color: var(--ink-soft);
  max-width: 28ch;
  margin-left: auto;
  margin-right: auto;
}
.footer__sign {
  margin-top: var(--sp-6);
  font-size: 0.66rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--rose);
}

/* ============ SCRIM / SHEET ============ */
.scrim {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(58, 34, 37, 0.55);
  backdrop-filter: blur(2px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.28s var(--ease);
}
.scrim.is-open { opacity: 1; pointer-events: auto; }

.sheet {
  position: fixed;
  left: 50%; bottom: 0; z-index: 70;
  width: 100%; max-width: var(--col);
  transform: translate(-50%, 100%);
  background: var(--paper);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  box-shadow: var(--shadow-sheet);
  padding: var(--sp-4) var(--sp-5) calc(var(--sp-6) + env(safe-area-inset-bottom));
  transition: transform 0.36s var(--ease);
  max-height: 92dvh;
  overflow-y: auto;
}
.sheet.is-open { transform: translate(-50%, 0); }
.sheet__grip {
  width: 44px; height: 4px;
  border-radius: var(--r-pill);
  background: var(--line);
  margin: 0 auto var(--sp-5);
}
.sheet__head { text-align: center; margin-bottom: var(--sp-5); }
.sheet__title {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.5rem;
  margin-top: var(--sp-2);
}
.sheet__sub { color: var(--ink-soft); font-size: 0.92rem; margin-top: var(--sp-2); }
.sheet__close {
  position: absolute;
  top: var(--sp-4); right: var(--sp-4);
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--r-pill);
  color: var(--ink-soft);
}
.sheet__close .icon { width: 22px; height: 22px; }

.pane { display: none; }
.sheet[data-mode="form-confirm"] .pane-form   { display: block; }
.sheet[data-mode="form-decline"] .pane-form   { display: block; }
.sheet[data-mode="ticket"]       .pane-ticket { display: block; }

.sheet__error {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  margin-top: var(--sp-4);
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--r-sm);
  background: var(--danger-soft);
  border: 1px solid rgba(176, 85, 90, 0.3);
  color: var(--danger);
  font-size: 0.86rem;
}
.sheet__error .icon { width: 18px; height: 18px; color: var(--danger); }
.sheet__error[hidden] { display: none; }

/* ============ FORM ============ */
.field { margin-bottom: var(--sp-4); }
.field__label {
  display: block;
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  margin-bottom: var(--sp-2);
  color: var(--ink);
}
.field__input {
  width: 100%;
  min-height: 52px;
  padding: 0 var(--sp-4);
  font-family: var(--serif);
  font-weight: 300;
  font-size: 16px;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field__input::placeholder { color: rgba(124, 98, 101, 0.5); }
.field__input:focus {
  outline: none;
  border-color: var(--rose-deep);
  box-shadow: 0 0 0 3px rgba(184, 124, 133, 0.14);
}
.field__hint {
  display: none;
  margin-top: var(--sp-2);
  font-size: 0.78rem;
  color: var(--danger);
}
.field.is-invalid .field__hint { display: block; }
.field.is-invalid .field__input { border-color: var(--danger); }

.sheet__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  width: 100%;
  min-height: 54px;
  margin-top: var(--sp-2);
  border-radius: var(--r-pill);
  background: var(--rose-deep);
  color: var(--paper);
  font-weight: 500;
  font-size: 0.96rem;
  letter-spacing: 0.05em;
  transition: transform 0.18s var(--ease), background 0.2s var(--ease);
  touch-action: manipulation;
  box-shadow: 0 8px 24px -10px rgba(184, 124, 133, 0.5);
}
.sheet__submit .icon { width: 20px; height: 20px; }
.sheet__submit:active { transform: translateY(1px); background: #9a6570; }
.sheet__submit[disabled] { opacity: 0.6; pointer-events: none; }
.sheet__legal {
  text-align: center;
  font-size: 0.74rem;
  color: var(--ink-soft);
  margin-top: var(--sp-4);
  line-height: 1.6;
}

/* ============ TICKET QR ============ */
.ticket { text-align: center; }
.ticket__frame {
  display: inline-block;
  padding: var(--sp-4);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-card);
  margin: var(--sp-2) auto var(--sp-5);
}
.ticket__frame svg { display: block; width: 210px; height: 210px; }
.ticket__name {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--ink);
}
.ticket__ref {
  display: inline-block;
  margin-top: var(--sp-2);
  padding: 6px 14px;
  border-radius: var(--r-pill);
  background: var(--rose-pale);
  border: 1px solid var(--rose);
  font-weight: 500;
  letter-spacing: 0.18em;
  font-size: 0.82rem;
  color: var(--rose-deep);
  font-variant-numeric: tabular-nums;
}
.ticket__hint {
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin-top: var(--sp-4);
  max-width: 30ch;
  margin-left: auto;
  margin-right: auto;
}

/* ============ FAB ============ */
.fab {
  position: fixed;
  right: max(var(--sp-5), env(safe-area-inset-right));
  bottom: max(var(--sp-5), env(safe-area-inset-bottom));
  z-index: 50;
  width: 60px; height: 60px;
  border-radius: var(--r-pill);
  background: var(--rose-deep);
  color: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-float);
  transform: scale(0);
  transition: transform 0.34s var(--ease);
  touch-action: manipulation;
}
.fab.is-visible { transform: scale(1); }
.fab:active { transform: scale(0.92); }
.fab .icon { width: 28px; height: 28px; }

/* ============ TOAST ============ */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(84px + env(safe-area-inset-bottom));
  z-index: 90;
  transform: translate(-50%, 20px);
  max-width: calc(var(--col) - 40px);
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 12px var(--sp-4);
  border-radius: var(--r-pill);
  background: var(--ink);
  color: var(--paper);
  font-size: 0.86rem;
  box-shadow: var(--shadow-float);
  opacity: 0; pointer-events: none;
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.toast .icon { width: 18px; height: 18px; color: var(--rose-soft); }

/* ============ REVEAL ============ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

@media (min-width: 540px) {
  .shell { margin: 24px auto; border-radius: 26px; }
  .hero { border-radius: 26px 26px 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
