/* ==========================================================================
   WILLY'S MOUSTACHE — Editorial Nightlife Design System
   Signature idea: "The Poster Window" — oversized Fraunces display type,
   clip-path cut corners, tinted elevation, film grain, duotone imagery.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300..700;1,9..144,300..600&family=Inter:wght@300..700&display=swap');

/* ==========================================================================
   1. TOKENS
   ========================================================================== */

:root {
  /* --- Palette ---------------------------------------------------------- */
  --plum:          #330968;   /* Deep Plum Ink — dark surfaces               */
  --plum-deep:     #25054C;   /* darker plum for wells / overlays            */
  --cream:         #FAFAE1;   /* Warm Cream — page background                */
  --stone:         #E7E0D2;   /* Soft Stone — dividers, borders              */
  --ink:           #1C1024;   /* body copy on cream                          */
  --muted:         #6B5E75;   /* captions, meta                              */
  --inverse:       #FAFAE1;   /* text on plum                                */

  --violet:        #7A00DF;   /* THE accent                                  */
  --violet-hover:  #5C00B0;
  --violet-light:  #C9A7FF;   /* accent text/icons on plum                   */
  --success:       #00D084;

  /* Derived tints (do not add brand hues — only value shifts) */
  --violet-08:     rgba(122, 0, 223, 0.08);
  --violet-16:     rgba(122, 0, 223, 0.16);
  --violet-32:     rgba(122, 0, 223, 0.32);
  --plum-90:       rgba(51, 9, 104, 0.90);
  --plum-70:       rgba(51, 9, 104, 0.70);
  --plum-45:       rgba(51, 9, 104, 0.45);
  --ink-08:        rgba(28, 16, 36, 0.08);
  --ink-16:        rgba(28, 16, 36, 0.16);

  /* --- Typography ------------------------------------------------------- */
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --fs-2xs:  0.6875rem; /* 11px */
  --fs-xs:   0.75rem;   /* 12px */
  --fs-sm:   0.8125rem; /* 13px */
  --fs-base: 1.0625rem; /* 17px */
  --fs-md:   1.125rem;  /* 18px */
  --fs-lg:   1.375rem;  /* 22px */
  --fs-xl:   1.75rem;   /* 28px */
  --fs-2xl:  2.25rem;   /* 36px */
  --fs-3xl:  3rem;      /* 48px */
  --fs-4xl:  clamp(2.8rem, 6vw, 5.5rem);
  --fs-5xl:  clamp(3.4rem, 9vw, 7.5rem);

  /* --- 8pt spacing scale ------------------------------------------------ */
  --sp-1:  0.5rem;
  --sp-2:  1rem;
  --sp-3:  1.5rem;
  --sp-4:  2rem;
  --sp-5:  2.5rem;
  --sp-6:  3rem;
  --sp-7:  3.5rem;
  --sp-8:  4rem;
  --sp-10: 5rem;
  --sp-12: 6rem;
  --sp-16: 8rem;

  --gutter: clamp(1.25rem, 4vw, 2rem);
  --maxw: 1280px;
  --section-y: clamp(3.5rem, 7vw, 6rem);

  /* --- Radius / cut corners --------------------------------------------- */
  --radius: 4px;
  --radius-lg: 8px;
  --cut: 20px;
  --cut-lg: 32px;

  /* --- Signature clip paths --------------------------------------------- */
  --clip-cut: polygon(
      0 0,
      calc(100% - var(--cut)) 0,
      100% var(--cut),
      100% 100%,
      var(--cut) 100%,
      0 calc(100% - var(--cut))
  );
  --clip-cut-tr: polygon(
      0 0,
      calc(100% - var(--cut-lg)) 0,
      100% var(--cut-lg),
      100% 100%,
      0 100%
  );
  --clip-tab: polygon(
      0 0,
      100% 0,
      100% calc(100% - 12px),
      calc(100% - 12px) 100%,
      0 100%
  );

  /* --- Elevation system (tight, tinted, never soft-blurry) --------------- */
  --elev-1:
      0 1px 0 var(--ink-08),
      0 2px 6px -2px rgba(28, 16, 36, 0.10);
  --elev-2:
      0 2px 0 rgba(28, 16, 36, 0.04),
      0 12px 26px -12px rgba(28, 16, 36, 0.28);
  --elev-3:
      0 2px 0 rgba(28, 16, 36, 0.05),
      0 30px 54px -26px rgba(51, 9, 104, 0.55);
  --elev-glow:
      0 0 0 1px rgba(122, 0, 223, 0.28),
      0 20px 42px -20px rgba(122, 0, 223, 0.60);
  --elev-inset: inset 0 0 0 1px var(--stone);

  /* --- Film grain ------------------------------------------------------- */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='0.42'/%3E%3C/svg%3E");

  /* --- Motion ------------------------------------------------------------ */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 300ms;
  --dur-slow: 620ms;
}

/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  background-color: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  font-weight: 400;
  line-height: 1.6;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* `clip` (not `hidden`) preserves position:sticky on the site header */
  overflow-x: clip;
}

/* Global paper grain — sits above background, below content */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: var(--grain);
  background-size: 220px 220px;
  opacity: 0.05;
  mix-blend-mode: multiply;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

button { cursor: pointer; }

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-optical-sizing: auto;
  letter-spacing: -0.015em;
  line-height: 1.05;
  text-wrap: balance;
}

p { margin: 0 0 var(--sp-3); }
p:last-child { margin-bottom: 0; }

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

:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ==========================================================================
   3. LAYOUT PRIMITIVES
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Safety: avoid double gutter when a grid lives inside .container */
.container > .hero__grid,
.container > .promo__grid,
.container > .reassure__grid,
.container > .newsletter__inner,
.container > .final-cta__inner,
.container > .site-footer__grid {
  padding-inline: 0;
  max-width: none;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Skip link: uses the standard sr-only pattern and only appears on focus */
.skip-link {
  position: fixed;
  top: var(--sp-2);
  left: var(--sp-2);
  z-index: 200;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
  background: var(--plum);
  color: var(--inverse);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius);
  box-shadow: var(--elev-3);
}

.skip-link:focus,
.skip-link:focus-visible {
  width: auto;
  height: auto;
  padding: 0.75rem 1.25rem;
  margin: 0;
  overflow: visible;
  clip: auto;
  clip-path: none;
  white-space: normal;
}

/* ==========================================================================
   4. OVERLINES & SHARED TYPE
   ========================================================================== */

.overline {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  margin: 0 0 var(--sp-2);
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--violet);
  line-height: 1;
}

.overline::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}

.overline--inverse {
  color: var(--violet-light);
}

/* Contrast guard: overlines sitting on the purple surfaces must use the
   light violet tint, never the dark accent (fails WCAG AA otherwise). */
.hero .overline,
.promo-card .overline,
.reassure .overline,
.final-cta .overline,
.newsletter .overline,
.cookie-consent .overline {
  color: var(--violet-light);
}

/* ==========================================================================
   5. BUTTONS & LINKS
   ========================================================================== */

.btn {
  --btn-bg: var(--violet);
  --btn-fg: var(--cream);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 46px;
  padding: 0.85rem 1.4rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-sans);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  text-align: center;
  cursor: pointer;
  overflow: hidden;
  transition:
    background-color var(--dur) var(--ease),
    color var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    transform var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  background-size: 140px 140px;
  opacity: 0.10;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--violet);
  color: var(--cream);
  box-shadow: var(--elev-glow);
}

.btn-primary:hover {
  background: var(--violet-hover);
  box-shadow:
    0 0 0 1px rgba(122, 0, 223, 0.35),
    0 24px 48px -20px rgba(122, 0, 223, 0.75);
}

.btn-secondary {
  background: transparent;
  color: var(--plum);
  border-color: var(--plum);
  box-shadow: none;
}

.btn-secondary:hover {
  background: var(--plum);
  color: var(--inverse);
  border-color: var(--plum);
  box-shadow: var(--elev-2);
}

.btn-secondary--inverse {
  color: var(--cream);
  border-color: rgba(250, 250, 225, 0.55);
}

.btn-secondary--inverse:hover {
  background: var(--cream);
  color: var(--plum);
  border-color: var(--cream);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--violet);
  padding-block: 0.25rem;
  border-bottom: 1px solid transparent;
  transition:
    color var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    gap var(--dur) var(--ease);
}

.link-arrow::after {
  content: "→";
  font-size: 1.05em;
  line-height: 1;
  transition: transform var(--dur) var(--ease);
}

.link-arrow:hover {
  color: var(--violet-hover);
  border-bottom-color: currentColor;
  gap: 0.8em;
}

.link-arrow:hover::after {
  transform: translateX(2px);
}

.link-arrow--inverse {
  color: var(--violet-light);
}

.link-arrow--inverse:hover {
  color: var(--cream);
}

/* ==========================================================================
   6. COOKIE CONSENT — compact bottom sheet (fixed overlay)
   ========================================================================== */

.cookie-consent {
  position: fixed;
  z-index: 200;
  left: var(--gutter);
  right: var(--gutter);
  bottom: var(--gutter);
  max-width: 520px;
  padding: var(--sp-3) var(--sp-4) var(--sp-3);
  background: var(--plum);
  color: var(--inverse);
  border-radius: var(--radius);
  box-shadow: var(--elev-3);
  animation: sheet-rise 520ms var(--ease) both;
}

/* Make sure the fixed overlay never sits on top of in-page CTAs:
   when a consent bar is present, reserve space at the bottom of the page. */
body:has(.cookie-consent) {
  padding-bottom: clamp(5rem, 16vh, 8rem);
}

.cookie-consent::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  background-size: 180px 180px;
  opacity: 0.08;
  mix-blend-mode: overlay;
  pointer-events: none;
  border-radius: inherit;
}

.cookie-consent__text {
  margin: 0 0 var(--sp-3);
  padding-right: 2.5rem;
  font-size: var(--fs-sm);
  line-height: 1.55;
  color: rgba(250, 250, 225, 0.9);
}

.cookie-consent__text a {
  color: var(--violet-light);
  border-bottom: 1px solid currentColor;
}

.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-1);
}

.cookie-consent__actions .btn {
  min-height: 44px;
  padding: 0.65rem 1.1rem;
  font-size: var(--fs-2xs);
}

.cookie-consent__close {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 0;
  color: rgba(250, 250, 225, 0.85);
  font-size: 1.1rem;
  line-height: 1;
  border-radius: var(--radius);
  transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

.cookie-consent__close:hover {
  color: var(--cream);
  background: rgba(250, 250, 225, 0.12);
}

@keyframes sheet-rise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   7. HEADER / NAV
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 225, 0.9);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition:
    background-color var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}

.site-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  background-size: 200px 200px;
  opacity: 0.04;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.site-header:hover,
.site-header:focus-within {
  border-bottom-color: var(--stone);
  box-shadow: 0 1px 0 var(--ink-08), 0 18px 30px -28px rgba(28, 16, 36, 0.5);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  min-height: 72px;
}

/* --- Brand -------------------------------------------------------------- */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  color: var(--plum);
  font-family: var(--font-display);
  font-size: var(--fs-md);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 50%;
  background: var(--violet-08);
  box-shadow: inset 0 0 0 1px var(--violet-16);
  color: var(--violet);
  font-family: var(--font-display);
  font-size: var(--fs-md);
  font-weight: 600;
  overflow: hidden;
  transition:
    background-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease),
    transform var(--dur) var(--ease);
}

.brand__mark img,
.brand__mark picture,
.brand__mark svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand:hover .brand__mark {
  background: var(--violet-16);
  box-shadow: inset 0 0 0 1px var(--violet-32), 0 0 0 4px var(--violet-08);
  transform: rotate(-6deg);
}

/* --- Primary nav -------------------------------------------------------- */

.primary-nav {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  margin-left: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.75rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  position: relative;
  display: inline-block;
  padding: 0.35rem 0;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  transition: color var(--dur) var(--ease);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--violet);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}

.nav-links a:hover {
  color: var(--violet);
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.7rem 1.25rem;
  background: var(--violet);
  color: var(--cream);
  border-radius: var(--radius);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 0 0 1px rgba(122, 0, 223, 0.20), 0 12px 24px -14px rgba(122, 0, 223, 0.85);
  transition:
    background-color var(--dur) var(--ease),
    transform var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}

.nav-cta:hover {
  background: var(--violet-hover);
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(122, 0, 223, 0.35), 0 18px 32px -14px rgba(122, 0, 223, 0.9);
}

/* --- Mobile toggle ------------------------------------------------------ */

.nav-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  flex: 0 0 44px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--plum-45);
  border-radius: var(--radius);
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.nav-toggle:hover {
  background: var(--violet-08);
  border-color: var(--violet-32);
}

.nav-toggle__bar {
  position: absolute;
  left: 50%;
  width: 18px;
  height: 1.5px;
  margin-left: -9px;
  background: var(--plum);
  border-radius: 2px;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.nav-toggle__bar:nth-child(1) { top: 16px; }
.nav-toggle__bar:nth-child(2) { top: 21.5px; }
.nav-toggle__bar:nth-child(3) { top: 27px; }

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0.2);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

/* ==========================================================================
   8. HERO — "The Poster Window"
   ========================================================================== */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--plum);
  color: var(--inverse);
  padding-block: clamp(4rem, 10vw, 8rem) clamp(4rem, 9vw, 7rem);
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.hero__media img,
.hero__media video,
.hero__media picture {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
  animation: hero-drift 22s var(--ease) infinite alternate;
}

/* Layered scrim: warm plum floor + directional gradient */
.hero__media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(37, 5, 76, 0.86) 0%, rgba(37, 5, 76, 0.42) 38%, rgba(37, 5, 76, 0.92) 100%),
    linear-gradient(100deg, rgba(51, 9, 104, 0.86) 0%, rgba(51, 9, 104, 0.28) 58%, rgba(122, 0, 223, 0.28) 100%);
}

/* Grain sitting on the photo */
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image: var(--grain);
  background-size: 200px 200px;
  opacity: 0.14;
  mix-blend-mode: overlay;
  pointer-events: none;
}

@keyframes hero-drift {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to   { transform: scale(1.09) translate3d(0, -1.6%, 0); }
}

.hero__grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 5vw, 4rem);
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  align-items: end;
}

.hero__copy {
  max-width: 46rem;
  animation: hero-in 900ms var(--ease) both;
}

.hero__title {
  position: relative;
  margin: 0 0 var(--sp-3);
  font-family: var(--font-display);
  font-size: var(--fs-4xl);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--cream);
  text-wrap: balance;
}

/* Oversized ghost word — signature typographic device */
.hero__title::before {
  content: "Willy’s";
  position: absolute;
  z-index: -1;
  top: -0.09em;
  left: -0.03em;
  font-family: var(--font-display);
  font-size: 2.35em;
  font-weight: 600;
  font-style: italic;
  letter-spacing: -0.04em;
  color: var(--violet-light);
  opacity: 0.14;
  mix-blend-mode: overlay;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.hero__sub {
  max-width: 34rem;
  margin: 0 0 var(--sp-4);
  font-size: var(--fs-md);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-2) var(--sp-3);
}

.hero__actions .btn {
  animation: hero-in 900ms var(--ease) both;
}

.hero__actions .btn:nth-child(2) { animation-delay: 80ms; }
.hero__actions .btn:nth-child(3) { animation-delay: 160ms; }

.hero__actions .link-arrow {
  animation: hero-in 900ms var(--ease) both;
  animation-delay: 200ms;
}

@keyframes hero-in {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* --- Hero stamp / ticket stub ------------------------------------------- */

.hero__stamp {
  position: relative;
  width: 100%;
  max-width: 320px;
  justify-self: start;
  padding: var(--sp-4) var(--sp-4) var(--sp-3);
  background: var(--cream);
  color: var(--plum);
  clip-path: var(--clip-cut);
  box-shadow: var(--elev-3);
  transform: rotate(-1.6deg);
  animation: stamp-in 1s var(--ease) 260ms both;
  transition: transform var(--dur-slow) var(--ease);
}

.hero__stamp:hover {
  transform: rotate(0deg) translateY(-4px);
}

.hero__stamp::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  background-size: 160px 160px;
  opacity: 0.07;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.hero__stamp-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 var(--sp-2);
  font-size: var(--fs-2xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--violet);
  line-height: 1;
}

.hero__stamp-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 0 0 rgba(122, 0, 223, 0.55);
  animation: pulse 2.4s var(--ease) infinite;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(122, 0, 223, 0.55); }
  70%  { box-shadow: 0 0 0 9px rgba(122, 0, 223, 0); }
  100% { box-shadow: 0 0 0 0 rgba(122, 0, 223, 0); }
}

.hero__stamp-date {
  display: block;
  margin: 0 0 var(--sp-1);
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--plum);
}

.hero__stamp-title {
  display: block;
  margin: 0 0 var(--sp-2);
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 500;
  line-height: 1.15;
  color: var(--ink);
}

.hero__stamp-meta {
  display: block;
  padding-top: var(--sp-2);
  border-top: 1px dashed var(--stone);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

@keyframes stamp-in {
  from { opacity: 0; transform: rotate(-6deg) translateY(24px) scale(0.96); }
  to   { opacity: 1; transform: rotate(-1.6deg) translateY(0) scale(1); }
}

/* --- Opening rhythm line ------------------------------------------------ */

.hero__rhythm {
  position: relative;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  width: 100%;
  max-width: var(--maxw);
  margin: clamp(2.5rem, 5vw, 4rem) auto 0;
  padding: var(--sp-3) var(--gutter) 0;
  border-top: 1px solid rgba(250, 250, 225, 0.18);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(250, 250, 225, 0.85);
  animation: hero-in 900ms var(--ease) 340ms both;
}

.hero__rhythm span {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.hero__rhythm span + span::before {
  content: "";
  width: 5px;
  height: 5px;
  margin-right: 0.6rem;
  border-radius: 50%;
  background: var(--violet-light);
  opacity: 0.8;
}

/* ==========================================================================
   9. SECTION HEADINGS
   ========================================================================== */

.section-head {
  max-width: 46rem;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.section-head h2 {
  margin: 0 0 var(--sp-2);
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 3.5rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.section-head p {
  max-width: 38rem;
  margin: 0;
  font-size: var(--fs-md);
  color: var(--muted);
}

.section-head--split {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--sp-3);
  max-width: none;
}

.section-head--split > div {
  max-width: 42rem;
}

/* ==========================================================================
   10. PROOF STRIP
   ========================================================================== */

.proof {
  position: relative;
  padding-block: var(--section-y);
  background: var(--cream);
}

.proof__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.75rem, 3vw, 2.5rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.proof__item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--stone);
}

.proof__item::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 42px;
  height: 2px;
  background: var(--violet);
  transform-origin: left;
  transition: width var(--dur-slow) var(--ease);
}

.proof__item:hover::before {
  width: 100%;
}

.proof__figure {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--plum);
  clip-path: var(--clip-cut);
}

.proof__figure img,
.proof__figure video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.06);
  transition: transform var(--dur-slow) var(--ease), filter var(--dur-slow) var(--ease);
}

.proof__figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(122, 0, 223, 0.55), rgba(51, 9, 104, 0.72));
  mix-blend-mode: color;
  opacity: 0.38;
  transition: opacity var(--dur-slow) var(--ease);
  pointer-events: none;
}

.proof__item:hover .proof__figure img,
.proof__item:hover .proof__figure video {
  transform: scale(1.045);
  filter: grayscale(0.15) contrast(1.04);
}

.proof__item:hover .proof__figure::after {
  opacity: 0.10;
}

.proof__body {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.proof__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.proof__body p {
  margin: 0;
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--muted);
}

/* ==========================================================================
   11. PROMO DUO — asymmetric 7/5
   ========================================================================== */

.promo {
  padding-block: var(--section-y);
  background: var(--cream);
}

.promo__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.75rem, 3vw, 2.5rem);
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.promo-card {
  position: relative;
  display: flex;
  min-height: clamp(380px, 52vw, 540px);
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--plum);
  color: var(--inverse);
  clip-path: var(--clip-cut-tr);
  box-shadow: var(--elev-2);
  transition: transform var(--dur-slow) var(--ease), box-shadow var(--dur-slow) var(--ease);
}

.promo-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--elev-3);
}

.promo-card__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
}

.promo-card__media img,
.promo-card__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 1.2s var(--ease);
}

.promo-card:hover .promo-card__media img,
.promo-card:hover .promo-card__media video {
  transform: scale(1.07);
}

.promo-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(37, 5, 76, 0.10) 0%, rgba(37, 5, 76, 0.55) 52%, rgba(37, 5, 76, 0.94) 100%);
}

.promo-card--narrow .promo-card__media::after {
  background:
    linear-gradient(180deg, rgba(51, 9, 104, 0.18) 0%, rgba(51, 9, 104, 0.62) 48%, rgba(37, 5, 76, 0.96) 100%),
    linear-gradient(30deg, rgba(201, 167, 255, 0.18), transparent 60%);
}

.promo-card__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: var(--sp-2);
  width: 100%;
  padding: clamp(1.75rem, 4vw, 3rem);
  margin-top: auto;
}

.promo-card__body > .overline {
  margin-bottom: 0;
}

.promo-card__title {
  margin: 0;
  max-width: 22ch;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.4vw, 2.75rem);
  font-weight: 500;
  line-height: 1.03;
  letter-spacing: -0.02em;
  color: var(--cream);
}

.promo-card__text {
  max-width: 40ch;
  margin: 0 0 var(--sp-1);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

.promo-card__body .btn,
.promo-card__body .link-arrow {
  align-self: flex-start;
}

/* ==========================================================================
   12. EVENTS — editorial ledger
   ========================================================================== */

.events {
  padding-block: var(--section-y);
  background: var(--cream);
}

.event-list {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--stone);
}

/* --- Empty state: never leave a huge blank gap if the collection is empty -- */
.event-list:empty {
  min-height: clamp(4rem, 10vh, 8rem);
  border-bottom: 1px solid var(--stone);
}

.event-list:empty::after {
  content: "Onze agenda wordt binnenkort aangevuld — kom snel terug voor nieuwe feesten.";
  display: block;
  padding: clamp(1.5rem, 3vw, 2.5rem) var(--sp-2);
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 2.2vw, 1.5rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--muted);
}

/* Collapse the section's vertical rhythm when the agenda renders empty so it
   never produces a full-viewport band of blank cream space. */
.events:has(.event-list:empty) {
  padding-block: clamp(2rem, 4vw, 3.5rem);
}

/* Hide pagination when the event list has no items */
.events:has(.event-list:empty) .pagination {
  display: none;
}

.event-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-3);
  align-items: center;
  padding: clamp(1.25rem, 2.4vw, 1.75rem) 0;
  border-bottom: 1px solid var(--stone);
  transition: background-color var(--dur) var(--ease), padding-inline var(--dur) var(--ease);
}

/* Violet sweep indicator on hover */
.event-row::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 1px;
  background: var(--violet);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-slow) var(--ease);
}

.event-row:hover::before {
  transform: scaleX(1);
}

.event-row:hover {
  padding-inline: var(--sp-2);
}

.event-row__date {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--plum);
  white-space: nowrap;
}

.event-row__date span,
.event-row__date small {
  display: block;
  font-family: var(--font-sans);
  font-size: var(--fs-2xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--violet);
}

.event-row__thumb {
  position: relative;
  width: 100%;
  max-width: 200px;
  aspect-ratio: 16 / 10;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--violet-16) 0%, var(--plum-90) 100%);
  clip-path: var(--clip-cut);
}

.event-row__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.04);
  transition: transform var(--dur-slow) var(--ease), filter var(--dur-slow) var(--ease);
}

.event-row__thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(122, 0, 223, 0.34), rgba(51, 9, 104, 0.30));
  mix-blend-mode: multiply;
  opacity: 0.42;
  transition: opacity var(--dur-slow) var(--ease);
  pointer-events: none;
}

.event-row:hover .event-row__thumb img {
  transform: scale(1.06);
  filter: saturate(1.05) contrast(1.06);
}

.event-row:hover .event-row__thumb::after {
  opacity: 0.14;
}

.event-row__body {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
}

.event-row__body > .overline {
  margin-bottom: 0;
}

.event-row__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -0.012em;
  color: var(--ink);
  background-image: linear-gradient(var(--violet), var(--violet));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 1px;
  transition: background-size var(--dur-slow) var(--ease);
  display: inline;
}

.event-row:hover .event-row__title {
  background-size: 100% 1px;
}

.event-row__cta {
  justify-self: start;
}

/* --- Pagination --------------------------------------------------------- */

.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--sp-1);
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
}

.pagination__item {
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 0.75rem;
  border: 1px solid var(--stone);
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1;
  transition:
    background-color var(--dur) var(--ease),
    color var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    transform var(--dur) var(--ease);
}

.pagination__item:hover {
  border-color: var(--violet-32);
  color: var(--violet);
  background: var(--violet-08);
  transform: translateY(-1px);
}

.pagination__item.is-active {
  background: var(--violet);
  border-color: var(--violet);
  color: var(--cream);
  box-shadow: var(--elev-glow);
}

/* ==========================================================================
   13. GALLERY — "Say Cheese!"
   ========================================================================== */

.gallery {
  padding-block: var(--section-y);
  background: var(--cream);
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: minmax(0, 1fr);
  gap: clamp(0.5rem, 1.4vw, 1rem);
}

.gallery__item {
  position: relative;
  display: block;
  grid-column: span 1;
  grid-row: span 1;
  overflow: hidden;
  border-radius: 2px;
  background: var(--plum);
  aspect-ratio: 1 / 1;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
}

.gallery__item img,
.gallery__item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.95);
  transition: transform var(--dur-slow) var(--ease), filter var(--dur-slow) var(--ease);
}

/* Duotone wash that lifts on hover */
.gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg, rgba(122, 0, 223, 0.60), rgba(51, 9, 104, 0.62));
  mix-blend-mode: color;
  opacity: 0.28;
  transition: opacity var(--dur-slow) var(--ease);
  pointer-events: none;
}

.gallery__item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image: var(--grain);
  background-size: 180px 180px;
  opacity: 0.12;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.gallery__item:hover img,
.gallery__item:hover video {
  transform: scale(1.045);
  filter: saturate(1.05);
}

.gallery__item:hover::after {
  opacity: 0.04;
}

.gallery__item--tall {
  grid-row: span 2;
  aspect-ratio: auto;
}

.gallery__item--wide {
  grid-column: span 2;
  aspect-ratio: 2 / 1;
}

/* ==========================================================================
   14. REASSURANCE — "Je avond, goed geregeld"
   ========================================================================== */

.reassure {
  position: relative;
  padding-block: var(--section-y);
  background: var(--plum);
  color: var(--inverse);
  overflow: hidden;
}

.reassure::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  background-size: 200px 200px;
  opacity: 0.08;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.reassure__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.reassure__media {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--plum-deep);
  clip-path: var(--clip-cut);
  box-shadow: var(--elev-3);
}

.reassure__media img,
.reassure__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.35) contrast(1.05);
  transition: transform 1.2s var(--ease), filter var(--dur-slow) var(--ease);
}

.reassure__media:hover img,
.reassure__media:hover video {
  transform: scale(1.04);
  filter: grayscale(0) contrast(1.03);
}

.reassure__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(122, 0, 223, 0.28), rgba(37, 5, 76, 0.55));
  mix-blend-mode: multiply;
  pointer-events: none;
}

.reassure__body {
  max-width: 40rem;
}

.reassure__body h2 {
  margin: 0 0 var(--sp-2);
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 3.25rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--cream);
}

.reassure__body > p {
  max-width: 36rem;
  margin: 0 0 var(--sp-4);
  font-size: var(--fs-md);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

.reassure__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-3);
  margin: 0;
  padding: 0;
  list-style: none;
}

.reassure__item {
  position: relative;
  padding-left: 2.25rem;
  font-size: var(--fs-base);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
}

.reassure__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28em;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: var(--violet-32);
  box-shadow: inset 0 0 0 1px var(--violet-light);
}

.reassure__item::after {
  content: "";
  position: absolute;
  left: 0.44rem;
  top: 0.55em;
  width: 0.36rem;
  height: 0.2rem;
  border-left: 1.5px solid var(--violet-light);
  border-bottom: 1.5px solid var(--violet-light);
  transform: rotate(-45deg);
}

/* ==========================================================================
   15. FINAL CTA
   ========================================================================== */

.final-cta {
  position: relative;
  padding-block: clamp(4rem, 8vw, 7rem);
  background: var(--plum-deep);
  color: var(--inverse);
  overflow: hidden;
}

.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 12% 10%, rgba(122, 0, 223, 0.42) 0%, transparent 58%),
    radial-gradient(90% 80% at 92% 96%, rgba(201, 167, 255, 0.18) 0%, transparent 62%);
  pointer-events: none;
}

.final-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  background-size: 220px 220px;
  opacity: 0.09;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.final-cta__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-3);
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.final-cta__title {
  max-width: 18ch;
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--fs-5xl);
  font-weight: 500;
  font-style: normal;
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: var(--cream);
  text-wrap: balance;
}

.final-cta__text {
  max-width: 34rem;
  margin: 0;
  font-size: var(--fs-md);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

.final-cta__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-2) var(--sp-3);
  margin-top: var(--sp-1);
}

/* ==========================================================================
   16. NEWSLETTER
   ========================================================================== */

.newsletter {
  position: relative;
  padding-block: var(--section-y);
  background: var(--plum);
  color: var(--inverse);
  overflow: hidden;
}

.newsletter::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  background-size: 200px 200px;
  opacity: 0.07;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.newsletter__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: center;
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.newsletter__copy h2 {
  margin: 0 0 var(--sp-2);
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.4vw, 2.75rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--cream);
  text-wrap: balance;
}

.newsletter__text {
  max-width: 34rem;
  margin: 0;
  font-size: var(--fs-base);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

.newsletter__form {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-1);
  width: 100%;
}

.newsletter__form input[type="email"],
.newsletter__form input[type="text"] {
  flex: 1 1 15rem;
  min-width: 0;
  min-height: 50px;
  padding: 0.85rem 1rem;
  background: var(--cream);
  color: var(--ink);
  border: 1px solid var(--stone);
  border-radius: var(--radius);
  font-size: var(--fs-base);
  transition: box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.newsletter__form input::placeholder {
  color: var(--muted);
  opacity: 1;
}

.newsletter__form input:focus {
  outline: none;
  border-color: var(--violet);
  box-shadow: 0 0 0 3px var(--violet-32);
}

.newsletter__form button,
.newsletter__form .btn {
  flex: 0 0 auto;
  min-height: 50px;
}

.newsletter__form .form-success,
.newsletter__form .success {
  color: var(--success);
  font-size: var(--fs-sm);
  font-weight: 600;
}

/* ==========================================================================
   17. FOOTER
   ========================================================================== */

.site-footer {
  position: relative;
  background: var(--plum-deep);
  color: rgba(250, 250, 225, 0.85);
  padding-block: clamp(3rem, 6vw, 5rem) var(--sp-4);
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  background-size: 220px 220px;
  opacity: 0.07;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.site-footer__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 3rem);
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  max-width: 26rem;
}

.site-footer__logo {
  display: inline-block;
  width: auto;
  max-width: 200px;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.94;
}

.site-footer__tagline {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--cream);
}

.site-footer__heading {
  margin: 0 0 var(--sp-2);
  font-family: var(--font-sans);
  font-size: var(--fs-2xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--violet-light);
  line-height: 1;
}

.site-footer__nav {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.site-footer__nav a,
.site-footer__contact a {
  font-size: var(--fs-base);
  color: rgba(250, 250, 225, 0.85);
  transition: color var(--dur) var(--ease), transform var(--dur) var(--ease);
  width: fit-content;
}

.site-footer__nav a:hover,
.site-footer__contact a:hover {
  color: var(--cream);
  transform: translateX(3px);
}

.site-footer__contact {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  font-style: normal;
  font-size: var(--fs-base);
  line-height: 1.6;
}

.site-footer__contact address {
  font-style: normal;
}

.site-footer__meta {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  font-size: var(--fs-sm);
}

.site-footer__meta a {
  color: rgba(250, 250, 225, 0.78);
  border-bottom: 1px solid transparent;
  width: fit-content;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.site-footer__meta a:hover {
  color: var(--cream);
  border-bottom-color: var(--violet-light);
}

.site-footer__base {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2);
  width: 100%;
  max-width: var(--maxw);
  margin: clamp(2.5rem, 5vw, 4rem) auto 0;
  padding: var(--sp-3) var(--gutter) 0;
  border-top: 1px solid rgba(250, 250, 225, 0.14);
  font-size: var(--fs-xs);
  letter-spacing: 0.04em;
  color: rgba(250, 250, 225, 0.68);
}

.site-footer__base a {
  color: rgba(250, 250, 225, 0.85);
  transition: color var(--dur) var(--ease);
}

.site-footer__base a:hover {
  color: var(--cream);
}

/* ==========================================================================
   18. SCROLL REVEAL (no JS — view timeline where supported)
   ========================================================================== */

@keyframes reveal-rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 1;
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      animation: reveal-rise 700ms var(--ease) both;
      animation-timeline: view();
      animation-range: entry 6% cover 26%;
    }

    .proof__item,
    .promo-card,
    .event-row,
    .gallery__item,
    .reassure__media,
    .reassure__body,
    .section-head {
      animation: reveal-rise 700ms var(--ease) both;
      animation-timeline: view();
      animation-range: entry 4% cover 24%;
    }

    /* Stagger inside repeated grids */
    .proof__item:nth-child(2),
    .gallery__item:nth-child(3n + 2),
    .event-row:nth-child(even) { animation-delay: 70ms; }

    .proof__item:nth-child(3),
    .gallery__item:nth-child(3n + 3),
    .promo-card--narrow { animation-delay: 140ms; }
  }
}

/* ==========================================================================
   19. RESPONSIVE — TABLET
   ========================================================================== */

@media (min-width: 640px) {
  .gallery__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery__item--wide {
    grid-column: span 2;
    aspect-ratio: 2 / 1;
  }

  .reassure__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (min-width: 768px) {
  :root {
    --gutter: clamp(1.75rem, 4vw, 2.5rem);
  }

  .proof__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .event-row {
    grid-template-columns: 130px minmax(0, 200px) minmax(0, 1fr) auto;
    gap: clamp(1.25rem, 3vw, 2.5rem);
  }

  .event-row__cta {
    justify-self: end;
  }

  .newsletter__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    align-items: center;
  }

  .reassure__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }

  .final-cta__inner {
    align-items: flex-start;
  }
}

/* ==========================================================================
   20. RESPONSIVE — DESKTOP
   ========================================================================== */

@media (min-width: 1024px) {
  .hero__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: clamp(3rem, 5vw, 5rem);
    align-items: end;
  }

  .hero__stamp {
    justify-self: end;
    max-width: 340px;
  }

  .promo__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: start;
  }

  .promo-card--narrow {
    margin-top: clamp(3rem, 6vw, 5.5rem);
    min-height: clamp(360px, 40vw, 480px);
  }

  .gallery__grid {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: clamp(140px, 15vw, 210px);
  }

  .gallery__item {
    aspect-ratio: auto;
    grid-row: span 1;
  }

  .gallery__item--tall {
    grid-row: span 2;
  }

  .gallery__item--wide {
    grid-column: span 2;
    grid-row: span 1;
    aspect-ratio: auto;
  }

  .reassure__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(3rem, 5vw, 5rem);
  }

  .site-footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: clamp(2rem, 3vw, 3.5rem);
  }

  .site-footer__brand {
    grid-column: auto;
  }
}

/* ==========================================================================
   21. RESPONSIVE — MOBILE NAV
   ========================================================================== */

@media (max-width: 1023px) {
  .nav-toggle {
    display: block;
    order: 3;
  }

  .nav-cta {
    order: 2;
    margin-left: auto;
  }

  .primary-nav {
    position: fixed;
    inset: 0;
    z-index: 90;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: var(--sp-5);
    margin: 0;
    padding: clamp(5rem, 14vh, 8rem) var(--gutter) var(--sp-8);
    background: var(--plum);
    color: var(--inverse);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-1.5rem);
    transition:
      opacity var(--dur) var(--ease),
      transform var(--dur-slow) var(--ease),
      visibility 0s linear var(--dur-slow);
  }

  .primary-nav::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--grain);
    background-size: 200px 200px;
    opacity: 0.1;
    mix-blend-mode: overlay;
    pointer-events: none;
  }

  .nav-links {
    position: relative;
    z-index: 1;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--sp-3);
    width: 100%;
  }

  .nav-links a {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 8vw, 3rem);
    font-weight: 500;
    letter-spacing: -0.02em;
    text-transform: none;
    color: var(--cream);
    padding: 0.15em 0;
  }

  .nav-links a::after {
    height: 2px;
    background: var(--violet-light);
    transform: scaleX(0);
  }

  .nav-links a:hover,
  .nav-links a:focus-visible {
    color: var(--violet-light);
  }

  .nav-links a:hover::after {
    transform: scaleX(1);
  }

  /* Opened state driven by aria-expanded */
  .site-header:has(.nav-toggle[aria-expanded="true"]) .primary-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition-delay: 0s;
  }

  .site-header:has(.nav-toggle[aria-expanded="true"]) {
    background: var(--plum);
    border-bottom-color: transparent;
    /* Remove the backdrop filter while the fullscreen nav is open so the
       fixed-positioned .primary-nav is measured against the viewport,
       not the header's own 72px containing block. */
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: none;
  }

  .site-header:has(.nav-toggle[aria-expanded="true"]) .brand {
    color: var(--cream);
  }

  .site-header:has(.nav-toggle[aria-expanded="true"]) .brand__mark {
    background: rgba(250, 250, 225, 0.1);
    box-shadow: inset 0 0 0 1px rgba(250, 250, 225, 0.28);
    color: var(--cream);
  }

  .site-header:has(.nav-toggle[aria-expanded="true"]) .nav-toggle {
    border-color: rgba(250, 250, 225, 0.55);
    background: transparent;
    z-index: 95;
  }

  .site-header:has(.nav-toggle[aria-expanded="true"]) .nav-toggle__bar {
    background: var(--cream);
  }

  .site-header:has(.nav-toggle[aria-expanded="true"]) .nav-cta {
    opacity: 0;
    pointer-events: none;
  }
}

@media (max-width: 420px) {
  .hero__stamp {
    transform: none;
    max-width: 100%;
  }

  .hero__stamp:hover {
    transform: translateY(-3px);
  }

  .hero__title::before {
    font-size: 1.9em;
  }

  .event-row__thumb {
    max-width: 100%;
  }

  .cookie-consent {
    position: fixed;
    left: var(--sp-2);
    right: var(--sp-2);
    bottom: var(--sp-2);
  }
}

/* ==========================================================================
   21b. RESPONSIVE — SMALL / MOBILE (compact fixes)
   ========================================================================== */

@media (max-width: 639px) {
  /* Typography — scale display headings down so they wrap gracefully */
  .hero__title {
    font-size: clamp(2rem, 8.5vw, 2.75rem);
    line-height: 1;
  }

  /* Kill the absolutely-positioned ghost word on small screens — it was
     overlapping the hero intro paragraph. Heading + copy now stack normally. */
  .hero__title::before {
    content: none;
    position: static;
    display: none;
  }

  .hero__sub {
    font-size: var(--fs-base);
    line-height: 1.55;
  }

  .section-head h2 {
    font-size: clamp(1.5rem, 6.5vw, 2rem);
    line-height: 1.12;
    margin-bottom: var(--sp-2);
  }

  .section-head p {
    font-size: var(--fs-base);
  }

  .reassure__body h2,
  .newsletter__copy h2,
  .promo-card__title {
    font-size: clamp(1.5rem, 6.5vw, 2rem);
    line-height: 1.12;
  }

  .final-cta__title {
    font-size: clamp(2.1rem, 9.5vw, 3rem);
    line-height: 1;
  }

  .hero__stamp-date {
    font-size: var(--fs-xl);
  }

  /* CTA stack: full-width, tappable, well spaced */
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .hero__actions .btn,
  .final-cta__actions .btn {
    width: 100%;
    min-height: 48px;
  }

  .hero__actions .link-arrow,
  .final-cta__actions .link-arrow {
    align-self: flex-start;
    margin-top: 0.25rem;
  }

  .final-cta__actions {
    width: 100%;
  }

  /* Cookie bar: pinned to the very bottom of the viewport, full-width bar.
     Fixed so it can never be injected into the hero flow / cover hero content. */
  .cookie-consent {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    max-width: none;
    border-radius: var(--radius) var(--radius) 0 0;
    padding: var(--sp-3) var(--sp-3) calc(var(--sp-3) + env(safe-area-inset-bottom, 0px));
  }

  .cookie-consent__text {
    padding-right: 2.75rem;
    font-size: var(--fs-sm);
  }

  /* Give the page room so the cookie bar + bottom safe-area doesn't cover CTAs */
  body:has(.cookie-consent) {
    padding-bottom: clamp(7rem, 22vh, 10rem);
  }

  /* Clear the sticky header on the hero to avoid any overlay on the title */
  .hero {
    padding-top: clamp(3rem, 8vw, 5rem);
  }

  /* Keep sections from stretching when empty content is present */
  .events .event-list:empty {
    min-height: 4rem;
  }

  /* Mobile nav toggle keeps its 44×44 surface and clear inset */
  .nav-toggle {
    min-width: 44px;
    min-height: 44px;
  }
}

/* ==========================================================================
   22. MOTION PREFERENCES
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .hero__media img,
  .hero__media video {
    transform: none;
    animation: none;
  }

  .hero__stamp {
    transform: none;
  }
}

/* ==========================================================================
   23. PRINT
   ========================================================================== */

@media print {
  .site-header,
  .cookie-consent,
  .nav-toggle,
  .final-cta,
  .newsletter,
  body::before {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
    padding-bottom: 0 !important;
  }

  .event-row {
    break-inside: avoid;
  }
}