/* ===========================================================
   Bride On The Beach — design system
   =========================================================== */

:root {
  /* Couleurs principales : rose poudré + champagne */
  --cream: #fff5ec;
  --rose: #f3c9c4;
  --rose-deep: #d98a87;
  --champagne: #f0d9a8;
  --champagne-deep: #c89856;
  --blush: #ffe7e0;

  /* Accents existants (vert + doré) — utilisés par touches */
  --foam: #a8d4d6;
  --sea: #0e6e62;
  --amber: #b57d2a;

  /* Neutres */
  --ink: #2a1a1a;
  --sand: #ead8c7;

  --shadow-card: 0 32px 80px rgba(160, 60, 80, 0.16), 0 4px 14px rgba(160, 60, 80, 0.08);

  --radius-xl: 40px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;

  --rule: rgba(42, 26, 26, 0.18);
}

/* ---------- Reset ---------- */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", system-ui, sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: var(--cream) url("/images/bg-texture.jpeg") center / cover fixed;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

::selection {
  background: var(--ink);
  color: var(--cream);
}

/* ---------- Typography ---------- */
h1,
h2,
h3 {
  font-family: "Fraunces", "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin: 0;
}

h2 {
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1;
}

h3 {
  font-size: 1.05rem;
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  letter-spacing: 0;
}

p {
  margin: 0;
  line-height: 1.6;
}

strong { font-weight: 700; }
em { font-style: italic; }

.eyebrow {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.7rem;
  font-weight: 800;
  color: rgba(10, 10, 10, 0.5);
  font-family: "Manrope", sans-serif;
}

/* ---------- Page shell ---------- */
.page {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.page > section {
  padding: 56px 0;
}

/* ===========================================================
   HERO — vidéo plein écran, traitement marqué
   =========================================================== */
.hero {
  position: relative;
  height: 100svh;
  min-height: 640px;
  width: 100%;
  overflow: hidden;
  isolation: isolate;
  color: var(--cream);
}

.hero__video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Filtre accentué : contraste fort, saturation poussée, légère teinte chaude */
  filter: contrast(1.18) saturate(1.4) brightness(0.95) hue-rotate(-6deg);
}

/* Couche 1 : tint coloré */
.hero__tint {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(42, 26, 26, 0.3);
  mix-blend-mode: multiply;
  opacity: 0.88;
  pointer-events: none;
}

/* Couche 2 : duotone — re-écraser les hautes lumières en cream */
.hero__duotone {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(255, 248, 239, 0.12);
  mix-blend-mode: screen;
  pointer-events: none;
}

/* Couche 3 : grain texturé plus présent */
.hero__grain {
  position: absolute;
  inset: 0;
  z-index: 3;
  opacity: 0.32;
  mix-blend-mode: overlay;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.6 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* Couche 4 : voile sombre top + bottom pour lisibilité */
.hero__veil {
  position: absolute;
  inset: 0;
  z-index: 4;
  background: rgba(10, 10, 10, 0.35);
  pointer-events: none;
}

/* Header : marque + meta */
.hero__top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  padding: 24px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(255, 248, 239, 0.85);
}

.hero__mark {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  text-transform: none;
}

/* Contenu central */
.hero__content {
  position: relative;
  z-index: 5;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 0 clamp(32px, 8vw, 96px);
}

.hero__title {
  font-family: "Fraunces", serif;
  font-weight: 300;
  font-size: clamp(3.5rem, 11vw, 8.5rem);
  line-height: 0.9;
  letter-spacing: -0.035em;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.4);
  margin: 0;
}

.hero__title span {
  display: block;
}

.hero__title-accent {
  font-style: italic;
  font-weight: 400;
  color: var(--rose);
  margin-left: 0.4em;
}

.hero__cta {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.hero__cta-note {
  font-size: 0.86rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(255, 248, 239, 0.75);
}

/* Coin édito bas-droite */
.hero__edition {
  position: absolute;
  bottom: 28px;
  right: 32px;
  z-index: 5;
  display: grid;
  gap: 4px;
  text-align: right;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(255, 248, 239, 0.65);
  border-right: 1px solid rgba(255, 248, 239, 0.35);
  padding-right: 14px;
}

.hero__edition span:first-child {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.2rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--cream);
}

/* ===========================================================
   STORY — un seul paragraphe éditorial sur fond texturé coloré
   Photos intégrées dans la mise en page typographique
   =========================================================== */
.story {
  position: relative;
  isolation: isolate;
  padding: clamp(80px, 12vw, 140px) clamp(24px, 5vw, 64px);
  overflow: hidden;
  color: var(--ink);
}

/* Fond : transparent pour laisser voir le background body */
.story__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Tint : léger voile pour la lisibilité */
.story__tint {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(255, 245, 236, 0.4);
}

/* Touches sea/amber très discrètes */
.story::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--sea);
  z-index: 4;
}

.story__inner {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto auto auto auto;
  gap: clamp(24px, 4vw, 48px);
}

/* Eyebrow en haut, pleine largeur, accent vert */
.story__eyebrow {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--sea);
  display: flex;
  align-items: center;
  gap: 16px;
}

.story__eyebrow::before,
.story__eyebrow::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--sea);
  opacity: 0.4;
}

/* Photos posées en marge de la grille */
.story__photo {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(160, 60, 80, 0.25);
}

.story__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 800ms ease;
}

.story__photo:hover img {
  transform: scale(1.05);
}

/* Photo A : grande à gauche, sur la même rangée que le début du texte */
.story__photo--a {
  grid-column: 1 / span 4;
  grid-row: 2 / span 1;
  aspect-ratio: 3 / 4;
  transform: rotate(-1.5deg);
}

/* Photo B : petite à droite, décalée vers le bas */
.story__photo--b {
  grid-column: 10 / span 3;
  grid-row: 2 / span 1;
  align-self: end;
  aspect-ratio: 4 / 5;
  transform: rotate(2deg);
}

/* Photo C : large bandeau en bas */
.story__photo--c {
  grid-column: 3 / span 8;
  grid-row: 3 / span 1;
  aspect-ratio: 16 / 7;
  transform: rotate(-0.5deg);
}

/* Le paragraphe central : il habite la rangée 2 entre les deux photos */
.story__text {
  grid-column: 5 / span 5;
  grid-row: 2 / span 1;
  align-self: center;
  margin: 0;
  font-family: "Fraunces", serif;
  font-weight: 300;
  font-size: clamp(1.15rem, 1.6vw, 1.45rem);
  line-height: 1.55;
  color: var(--ink);
  letter-spacing: -0.005em;
}

/* Drop cap rose géant */
.story__dropcap {
  float: left;
  font-family: "Fraunces", serif;
  font-weight: 300;
  font-size: 5.5em;
  line-height: 0.85;
  margin: 0.04em 0.08em -0.05em -0.02em;
  color: var(--rose-deep);
  font-style: italic;
}

.story__text em {
  font-style: italic;
  font-weight: 500;
  color: var(--sea);
}

.story__highlight {
  background: rgba(240, 217, 168, 0.5);
  padding: 0 4px;
  font-weight: 500;
}

.story__accent {
  font-style: italic;
  color: var(--rose-deep);
  font-weight: 400;
}

/* Signature en bas */
.story__signature {
  grid-column: 1 / -1;
  grid-row: 4 / span 1;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: clamp(24px, 4vw, 40px);
  border-top: 1px solid rgba(42, 26, 26, 0.18);
}

.story__signature em {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--ink);
  letter-spacing: -0.02em;
}

.story__signature span {
  color: var(--rose-deep);
  font-size: 1.4rem;
}

.story__signature strong {
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sea);
  padding: 8px 16px;
  border: 1.5px solid var(--sea);
  border-radius: 999px;
  background: rgba(255, 245, 236, 0.4);
}

/* ===========================================================
   BUTTONS
   =========================================================== */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 32px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 200ms ease, background 220ms ease, color 220ms ease, box-shadow 220ms ease;
  font-family: "Manrope", sans-serif;
}

.button:hover {
  transform: translateY(-2px);
}

.button--cream {
  background: var(--rose);
  color: var(--ink);
  box-shadow: 0 12px 28px rgba(217, 138, 135, 0.45);
}

.button--cream:hover {
  background: var(--rose-deep);
  color: var(--cream);
  box-shadow: 0 18px 36px rgba(217, 138, 135, 0.55);
}

.button--dark {
  background: var(--ink);
  color: var(--cream);
  box-shadow: 0 12px 28px rgba(10, 10, 10, 0.28);
}

.button--dark:hover {
  background: #1d1d1d;
}

/* ===========================================================
   REGISTER (form + faq)
   =========================================================== */
.register {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: start;
  padding-bottom: 80px !important;
}

.register__form-wrap {
  padding: 36px 32px;
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius-md);
}

.register__form-wrap h2 {
  color: var(--cream);
  font-style: italic;
  margin-bottom: 6px;
}

.register__form-wrap .eyebrow {
  color: rgba(255, 248, 239, 0.5);
}

.register__count {
  font-size: 0.86rem;
  color: rgba(255, 248, 239, 0.65);
  letter-spacing: 0.04em;
}

.register__count strong {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--rose);
  margin-right: 4px;
}

.flash {
  margin: 18px 0 0;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.5;
}

.flash--success {
  background: rgba(168, 212, 214, 0.18);
  border: 1px solid rgba(168, 212, 214, 0.38);
  color: var(--cream);
}

.flash--warning {
  background: rgba(234, 216, 199, 0.16);
  border: 1px solid rgba(234, 216, 199, 0.32);
  color: var(--sand);
}

.flash--error {
  background: rgba(255, 173, 173, 0.16);
  border: 1px solid rgba(255, 173, 173, 0.34);
  color: #ffd6d6;
}

.form {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.form__field {
  display: grid;
  gap: 6px;
}

.form__field--full {
  grid-column: 1 / -1;
}

.form__field > span {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 248, 239, 0.65);
}

.form__field > span em {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  color: rgba(255, 248, 239, 0.4);
  margin-left: 4px;
}

.form__field input,
.form__field textarea {
  width: 100%;
  border: 1px solid rgba(255, 248, 239, 0.16);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font: inherit;
  font-weight: 500;
  color: var(--cream);
  background: rgba(255, 248, 239, 0.05);
  transition: border-color 200ms ease, background 200ms ease;
}

.form__field input::placeholder,
.form__field textarea::placeholder {
  color: rgba(255, 248, 239, 0.35);
}

.form__field input:focus,
.form__field textarea:focus {
  outline: none;
  border-color: var(--rose);
  background: rgba(255, 245, 236, 0.1);
}

.form__field textarea {
  resize: vertical;
  min-height: 64px;
  font-family: inherit;
}

.form__consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  margin-top: 4px;
}

.form__consent input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--rose);
}

.form__consent span {
  font-size: 0.82rem;
  line-height: 1.5;
  color: rgba(255, 248, 239, 0.7);
}

.form__submit {
  margin-top: 6px;
  width: 100%;
  background: var(--rose);
  color: var(--ink);
  box-shadow: 0 12px 28px rgba(217, 138, 135, 0.45);
}

.form__submit:hover {
  background: var(--rose-deep);
  color: var(--cream);
}

/* FAQ accordion */
.register__faq {
  padding: 0 4px;
}

.faq {
  display: grid;
  margin-top: 8px;
  border-top: 1px solid var(--rule);
}

.faq__item {
  border-bottom: 1px solid var(--rule);
  padding: 14px 0;
}

.faq__item summary {
  cursor: pointer;
  list-style: none;
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: 1.1rem;
  font-weight: 400;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--ink);
}

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

.faq__item summary::after {
  content: "+";
  font-family: "Manrope", sans-serif;
  font-style: normal;
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--sea);
  transition: transform 200ms ease;
  flex-shrink: 0;
}

.faq__item[open] summary::after {
  transform: rotate(45deg);
}

.faq__item p {
  margin-top: 10px;
  font-size: 0.92rem;
  color: rgba(10, 10, 10, 0.7);
  line-height: 1.55;
}

/* ===========================================================
   FOOTER — composition propre, fond ink, hiérarchie nette
   =========================================================== */
.footer {
  position: relative;
  background: var(--ink);
  color: var(--cream);
  padding: 72px 32px 28px;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--rose);
}

.footer__grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 248, 239, 0.16);
}

.footer__hero {
  display: grid;
  align-content: start;
  gap: 14px;
}

.footer__eyebrow {
  color: rgba(255, 248, 239, 0.5);
  margin: 0;
}

.footer__title {
  font-family: "Fraunces", serif;
  font-weight: 300;
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  line-height: 0.95;
  letter-spacing: -0.025em;
  color: var(--cream);
}

.footer__title em {
  display: inline-block;
  font-style: italic;
  font-weight: 400;
  font-size: 0.55em;
  color: var(--rose);
  margin: 0 6px;
  vertical-align: middle;
}

.footer__city {
  font-size: 0.86rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(255, 248, 239, 0.65);
  margin: 0;
}

/* Faits clés en dl bordée */
.footer__facts {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.footer__facts > div {
  padding: 16px 0;
  border-top: 1px solid rgba(255, 248, 239, 0.16);
  display: grid;
  gap: 4px;
}

.footer__facts > div:nth-child(odd) {
  padding-right: 16px;
  border-right: 1px solid rgba(255, 248, 239, 0.08);
}

.footer__facts > div:nth-child(even) {
  padding-left: 16px;
}

.footer__facts > div:nth-child(-n + 2) {
  border-top: none;
  padding-top: 0;
}

.footer__facts dt {
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 800;
  color: rgba(255, 248, 239, 0.45);
}

.footer__facts dd {
  margin: 0;
  font-family: "Fraunces", serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.4rem;
  color: var(--cream);
}

/* Nav */
.footer__nav {
  display: grid;
  align-content: start;
  gap: 12px;
}

.footer__nav a {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: 1.2rem;
  color: rgba(255, 248, 239, 0.85);
  width: fit-content;
  position: relative;
  padding-bottom: 2px;
  transition: color 200ms ease;
}

.footer__nav a::after {
  content: "→";
  font-family: "Manrope", sans-serif;
  font-style: normal;
  margin-left: 8px;
  font-size: 0.9em;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 200ms ease, transform 200ms ease;
  display: inline-block;
}

.footer__nav a:hover {
  color: var(--rose);
}

.footer__nav a:hover::after {
  opacity: 1;
  transform: translateX(0);
}

/* Bottom bar */
.footer__bottom {
  width: min(1180px, 100%);
  margin: 24px auto 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: rgba(255, 248, 239, 0.5);
}

.footer__bottom a {
  color: rgba(255, 248, 239, 0.55);
  border-bottom: 1px solid rgba(255, 248, 239, 0.2);
  padding-bottom: 1px;
  transition: color 200ms ease, border-color 200ms ease;
}

.footer__bottom a:hover {
  color: var(--cream);
  border-color: var(--cream);
}

.footer__sep {
  color: rgba(255, 248, 239, 0.25);
}

/* ===========================================================
   ADMIN
   =========================================================== */
.admin-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 64px;
}

.admin-header {
  padding: 28px 32px;
  border-radius: var(--radius-xl);
  background: var(--ink);
  color: var(--cream);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  box-shadow: var(--shadow-card);
}

.admin-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0;
  color: var(--cream);
  font-style: italic;
  font-family: "Fraunces", serif;
  font-weight: 400;
}

.admin-header .eyebrow {
  color: rgba(255, 248, 239, 0.55);
  margin-bottom: 4px;
}

.admin-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.admin-stats {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.stat-card,
.info-card,
.table-card {
  border-radius: var(--radius-xl);
  background: rgba(255, 248, 239, 0.92);
  box-shadow: var(--shadow-card);
}

.stat-card {
  padding: 28px 30px;
  display: grid;
  gap: 4px;
}

.stat-card strong {
  display: block;
  font-family: "Fraunces", serif;
  font-size: 3rem;
  font-weight: 400;
  font-style: italic;
  line-height: 1;
  color: var(--ink);
  margin: 8px 0 4px;
}

.stat-card span {
  font-size: 0.88rem;
  color: rgba(10, 10, 10, 0.6);
}

.info-card {
  padding: 36px 32px;
  margin-top: 24px;
}

.table-card {
  margin-top: 24px;
  padding: 8px;
  overflow: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 980px;
}

th, td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  font-size: 0.92rem;
}

thead th {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 800;
  color: rgba(10, 10, 10, 0.55);
  border-bottom: 2px solid rgba(10, 10, 10, 0.08);
}

tbody tr:nth-child(odd) {
  background: rgba(168, 212, 214, 0.08);
}

tbody tr:hover {
  background: rgba(168, 212, 214, 0.18);
}

.table-notes {
  max-width: 280px;
  font-size: 0.85rem;
  color: rgba(10, 10, 10, 0.7);
}

.table-empty {
  text-align: center;
  padding: 48px;
  color: rgba(10, 10, 10, 0.5);
  font-style: italic;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  min-height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pill--ok {
  background: rgba(14, 110, 98, 0.14);
  color: var(--sea);
}

.pill--waitlist {
  background: rgba(181, 125, 42, 0.16);
  color: #8a5e18;
}

/* ===========================================================
   RESPONSIVE
   =========================================================== */
@media (max-width: 960px) {
  .hero__edition { display: none; }

  .story__inner {
    grid-template-columns: repeat(6, 1fr);
    gap: 28px;
  }

  .story__photo--a {
    grid-column: 1 / span 3;
    grid-row: 2;
  }

  .story__photo--b {
    grid-column: 4 / span 3;
    grid-row: 2;
  }

  .story__text {
    grid-column: 1 / -1;
    grid-row: 3;
  }

  .story__photo--c {
    grid-column: 1 / -1;
    grid-row: 4;
    aspect-ratio: 16 / 9;
  }

  .story__signature {
    grid-row: 5;
  }

  .register {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .admin-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .page {
    width: min(100% - 24px, 1180px);
  }

  .page > section {
    padding: 40px 0;
  }

  .hero__top { padding: 18px 22px; font-size: 0.7rem; }
  .hero__content { padding: 0 22px; }

  .story {
    padding: 64px 22px;
  }

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

  .story__photo--a,
  .story__photo--b,
  .story__photo--c {
    grid-column: 1;
    aspect-ratio: 4 / 5;
    transform: none;
  }

  .story__photo--a { grid-row: 2; }
  .story__photo--b { grid-row: 4; aspect-ratio: 4 / 3; }
  .story__text { grid-row: 3; }
  .story__photo--c { grid-row: 5; aspect-ratio: 4 / 3; }
  .story__signature { grid-row: 6; }

  .story__dropcap {
    font-size: 4.2em;
  }

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

  .footer {
    padding: 56px 22px 24px;
  }

  .admin-header {
    padding: 22px 24px;
    flex-direction: column;
    align-items: flex-start;
  }

  th, td {
    padding: 10px 12px;
    font-size: 0.85rem;
  }
}

/* ===========================================================
   MUSIC TOGGLE
   =========================================================== */
.music-toggle {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid rgba(42, 26, 26, 0.2);
  background: rgba(255, 245, 236, 0.85);
  backdrop-filter: blur(8px);
  cursor: pointer;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 200ms ease, background 200ms ease;
  opacity: 0.7;
}

.music-toggle:hover {
  transform: scale(1.1);
  opacity: 1;
}

.music-toggle--playing {
  background: var(--rose);
  border-color: var(--rose-deep);
  opacity: 1;
  animation: pulse-music 1.5s ease-in-out infinite;
}

@keyframes pulse-music {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
