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

/* ============================================================
   WILLY'S MOUSTACHE — "AFTER DARK" EDITORIAL SYSTEM
   Signature idea: THE DOOR LIGHT
   A single neon-cyan filament that cuts through ink — appearing
   as a vertical rule, a badge spine, an underline, a badge bar.
   Everything else is ink, cream and warm plum smoke.
   ============================================================ */

/* ---------- 1. TOKENS ---------- */
:root {
  /* Colour */
  --ink: #0B0A0F;
  --ink-2: #14121A;
  --plum: #1D1226;
  --cream: #F5EFE4;
  --accent: #31CDCF;

  --cream-80: rgba(245, 239, 228, 0.80);
  --cream-70: rgba(245, 239, 228, 0.70);
  --cream-55: rgba(245, 239, 228, 0.55);
  --cream-38: rgba(245, 239, 228, 0.38);
  --ink-80: rgba(11, 10, 15, 0.80);
  --ink-70: rgba(11, 10, 15, 0.70);
  --ink-55: rgba(11, 10, 15, 0.55);

  --rule: rgba(245, 239, 228, 0.14);
  --rule-strong: rgba(245, 239, 228, 0.28);
  --rule-ink: rgba(11, 10, 15, 0.18);
  --accent-12: rgba(49, 205, 207, 0.12);
  --accent-24: rgba(49, 205, 207, 0.24);
  --accent-55: rgba(49, 205, 207, 0.55);

  /* Type */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --step--2: 0.6875rem;  /* 11px — overlines */
  --step--1: 0.8125rem;  /* 13px — meta */
  --step-0: 1rem;        /* 16px */
  --step-1: 1.125rem;    /* 18px */
  --step-2: 1.375rem;    /* 22px */
  --step-3: 1.75rem;     /* 28px */
  --step-4: 2.25rem;     /* 36px */
  --step-5: 3rem;        /* 48px */
  --step-6: 4rem;        /* 64px */
  --step-7: 5.5rem;      /* 88px */

  /* Space — 8pt scale */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4rem;
  --space-7: 6rem;
  --space-8: 8rem;
  --space-9: 10rem;

  /* Shell */
  --shell-max: 1240px;
  --gutter: 1rem;
  --header-h: 72px;

  /* Radii */
  --r-xs: 2px;
  --r-sm: 4px;
  --r-md: 8px;
  --r-full: 999px;

  /* Elevation — hard-edged, never soft & generic */
  --lift-0: 0 0 0 1px var(--rule);
  --lift-1: 0 0 0 1px var(--rule), 0 1px 0 0 rgba(245, 239, 228, 0.05);
  --lift-2: 0 0 0 1px var(--rule), 0 26px 60px -38px rgba(0, 0, 0, 0.95);
  --lift-accent: 0 0 0 1px var(--accent), 0 30px 70px -44px rgba(49, 205, 207, 0.85);

  /* Signature: the door light */
  --doorlight: linear-gradient(180deg, var(--accent) 0%, rgba(49, 205, 207, 0.35) 60%, rgba(49, 205, 207, 0) 100%);
  --doorlight-h: linear-gradient(90deg, var(--accent) 0%, rgba(49, 205, 207, 0.25) 70%, rgba(49, 205, 207, 0) 100%);
  --glow: radial-gradient(120% 90% at 15% 100%, rgba(49, 205, 207, 0.30) 0%, rgba(49, 205, 207, 0) 62%);

  /* Signature: cut corner (memorable geometry) */
  --cut: polygon(0 0, 100% 0, 100% calc(100% - 2.25rem), 0 100%);
  --cut-rev: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 2.25rem));

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 400ms;
}

/* ---------- 2. RESET ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: var(--step-0);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, p, figure, blockquote, ul, ol {
  margin: 0;
  padding: 0;
}

ul, ol { list-style: none; }

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

img, video {
  height: auto;
  border: 0;
}

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

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

button { cursor: pointer; }

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

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

/* ---------- 3. FILM GRAIN (site-wide texture) ---------- */
body::after {
  content: "";
  position: fixed;
  inset: -50%;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.055;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- 4. UTILITIES ---------- */
.shell {
  width: 100%;
  max-width: var(--shell-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.skip-link {
  position: absolute;
  top: 0;
  left: -9999px;
  z-index: 400;
  padding: var(--space-2) var(--space-3);
  background: var(--accent);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--step--1);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--r-xs);
}

.skip-link:focus {
  left: var(--space-2);
  top: var(--space-2);
  outline: 2px solid var(--cream);
  outline-offset: 2px;
}

/* ---------- 5. HEADER ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(11, 10, 15, 0.78);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--rule);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex: 0 0 auto;
  color: var(--cream);
}

.brand-logo {
  height: 40px;
  width: auto;
  max-width: none;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(49, 205, 207, 0.25));
  transition: transform var(--dur) var(--ease), filter var(--dur) var(--ease);
}

.brand:hover .brand-logo {
  transform: translateY(-1px);
  filter: drop-shadow(0 0 22px rgba(49, 205, 207, 0.5));
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--step-0);
  letter-spacing: -0.01em;
  line-height: 1;
  white-space: nowrap;
}

/* Hamburger */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--rule-strong);
  border-radius: var(--r-xs);
  color: var(--cream);
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  border-color: var(--accent);
  background: var(--accent-12);
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  content: "";
  transition: transform var(--dur) var(--ease), opacity 200ms linear;
}

.nav-toggle-bars {
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

/* Nav — mobile drawer */
.primary-nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 190;
  width: min(86vw, 360px);
  padding: calc(var(--header-h) + var(--space-5)) var(--space-3) var(--space-4);
  background: var(--ink);
  border-left: 1px solid var(--rule);
  box-shadow: -40px 0 90px -60px rgba(0, 0, 0, 1);
  overflow-y: auto;
  transform: translateX(101%);
  visibility: hidden;
  transition: transform 480ms var(--ease), visibility 480ms linear;
}

.site-header.nav-open .primary-nav,
.nav-toggle[aria-expanded="true"] ~ .primary-nav,
#nav-toggle:checked ~ .primary-nav {
  transform: translateX(0);
  visibility: visible;
}

.nav-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.nav-list li { border-bottom: 1px solid var(--rule); }

.nav-list a {
  position: relative;
  display: block;
  padding: 0.85rem 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--step-2);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--cream);
  transition: color 220ms var(--ease), padding-left 320ms var(--ease);
}

.nav-list a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 0;
  height: 2px;
  background: var(--accent);
  transform: translateY(-50%);
  transition: width 320ms var(--ease);
}

.nav-list a:hover,
.nav-list a:focus-visible {
  color: var(--accent);
  padding-left: 1.25rem;
}

.nav-list a:hover::before,
.nav-list a:focus-visible::before { width: 0.75rem; }

/* ---------- 6. BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.375rem;
  border: 1px solid transparent;
  border-radius: var(--r-xs);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.75rem;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color 260ms var(--ease), color 260ms var(--ease),
              border-color 260ms var(--ease), transform 260ms var(--ease),
              box-shadow 260ms var(--ease);
}

.btn-primary {
  background: var(--cream);
  color: var(--ink);
  border-color: var(--cream);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 14px 34px -18px rgba(49, 205, 207, 0.9);
}

.btn-secondary {
  background: transparent;
  color: var(--cream);
  border-color: var(--rule-strong);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-12);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

.btn-dark:hover,
.btn-dark:focus-visible {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--ink);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--cream);
  border-color: var(--rule-strong);
}

.btn-outline-dark:hover,
.btn-outline-dark:focus-visible {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-12);
  transform: translateY(-2px);
}

.btn-accent {
  background: var(--accent);
  color: var(--ink);
  border-color: var(--accent);
}

.btn-accent:hover,
.btn-accent:focus-visible {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
  transform: translateY(-2px);
}

.nav-tickets {
  padding: 0.75rem 1rem;
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
}

/* ---------- 7. HERO ---------- */
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  min-height: clamp(560px, 88svh, 880px);
  overflow: hidden;
  background: var(--ink);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-media img,
.hero-media video,
.hero-media iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  filter: saturate(0.88) contrast(1.06) brightness(0.92);
  transform: scale(1.04);
  animation: hero-breathe 22s var(--ease) forwards;
}

/* Duotone: ink + cyan riding on the photograph */
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 10, 15, 0.05) 0%, rgba(29, 18, 38, 0.55) 100%);
  mix-blend-mode: multiply;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(11, 10, 15, 0.72) 0%, rgba(11, 10, 15, 0.30) 34%, rgba(11, 10, 15, 0.86) 78%, var(--ink) 100%),
    var(--glow);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--shell-max);
  margin-inline: auto;
  padding: clamp(3rem, 10vh, 7rem) var(--gutter) clamp(2.5rem, 6vh, 4.5rem);
}

.hero-inner::before {
  content: "";
  display: block;
  width: 3px;
  height: clamp(48px, 8vh, 96px);
  margin-bottom: var(--space-3);
  background: var(--doorlight);
  box-shadow: 0 0 26px rgba(49, 205, 207, 0.55);
}

.overline {
  display: block;
  margin-bottom: var(--space-2);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--step--2);
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.overline-dark {
  display: block;
  margin-bottom: var(--space-2);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--step--2);
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(11, 10, 15, 0.55);
}

.hero-title {
  max-width: 18ch;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(3rem, 7vw, 6rem);
  font-optical-sizing: auto;
  line-height: 0.95;
  letter-spacing: -0.025em;
  color: var(--cream);
  text-wrap: balance;
  text-shadow: 0 2px 40px rgba(11, 10, 15, 0.6);
}

.hero-sub {
  max-width: 46ch;
  margin-top: var(--space-3);
  font-size: clamp(1rem, 1.5vw, 1.1875rem);
  line-height: 1.6;
  color: var(--cream-80);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: var(--space-4);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
  margin-top: var(--space-5);
  padding-top: var(--space-3);
  border-top: 1px solid var(--rule);
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream-55);
}

.hero-meta > * + * {
  position: relative;
  padding-left: 1.5rem;
}

.hero-meta > * + *::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateY(-50%);
}

@keyframes hero-breathe {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}

/* Entrance */
.hero-inner > * {
  animation: rise-in 900ms var(--ease) both;
}

.hero-inner > *:nth-child(2) { animation-delay: 80ms; }
.hero-inner > *:nth-child(3) { animation-delay: 160ms; }
.hero-inner > *:nth-child(4) { animation-delay: 240ms; }
.hero-inner > *:nth-child(5) { animation-delay: 320ms; }

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

/* ---------- 8. SECTION PRIMITIVES ---------- */
.section {
  position: relative;
  padding-block: clamp(4rem, 9vw, 8rem);
}

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

.section-plum {
  background: var(--plum);
  color: var(--cream);
}

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

.section-cream .section-title,
.section-cream .split-title,
.section-cream .statement { color: var(--ink); }

.section-cream .lede { color: var(--ink-70); }

.section-cream .text-link {
  color: var(--ink);
  border-bottom-color: var(--rule-ink);
}

.section-cream .text-link:hover,
.section-cream .text-link:focus-visible {
  color: var(--ink);
  border-bottom-color: var(--accent);
}

/* Statement — the door light rule beside the big type */
.statement {
  position: relative;
  max-width: 60rem;
  padding-left: 0;
}

.statement::before {
  content: "";
  display: block;
  width: 52px;
  height: 3px;
  margin-bottom: var(--space-3);
  background: var(--accent);
  box-shadow: 0 0 24px rgba(49, 205, 207, 0.6);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  text-wrap: balance;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
}

.lede {
  max-width: 62ch;
  margin-top: var(--space-3);
  font-size: clamp(1.0625rem, 1.3vw, 1.1875rem);
  line-height: 1.65;
  color: var(--cream-70);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-3);
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
  overflow: visible;
}

.section-head .section-title { max-width: 22ch; }

/* ---------- 9. PROOF GRID / FACTS ---------- */
.proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.75rem, 1.6vw, 1.25rem);
  margin-top: clamp(2rem, 4vw, 3.5rem);
}

.proof-figure,
.proof-figure-wide {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-sm);
  background: var(--ink-2);
  aspect-ratio: 4 / 5;
}

.proof-figure-wide {
  grid-column: span 2;
  aspect-ratio: 16 / 11;
  clip-path: var(--cut);
}

.proof-figure img,
.proof-figure-wide img,
.proof-stack img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.05);
  transition: transform 900ms var(--ease), filter 600ms var(--ease);
}

.proof-figure::after,
.proof-figure-wide::after,
.proof-stack::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(11, 10, 15, 0) 45%, rgba(11, 10, 15, 0.55) 100%);
}

.proof-figure:hover img,
.proof-figure-wide:hover img { transform: scale(1.035); filter: saturate(1) contrast(1.05); }

.proof-stack {
  position: relative;
  grid-column: span 2;
  display: grid;
  gap: inherit;
  overflow: hidden;
  border-radius: var(--r-sm);
}

.fact-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-3);
  background: var(--plum);
  border: 1px solid var(--rule);
  border-radius: var(--r-sm);
  min-height: 160px;
}

.fact-number {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--cream);
}

.fact-label {
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream-55);
}

.fact-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: var(--space-3);
  margin-top: clamp(2rem, 4vw, 3.5rem);
  padding-top: var(--space-4);
  border-top: 1px solid var(--rule);
}

.fact-kicker {
  display: block;
  margin-bottom: 0.375rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--step--2);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.fact-value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--step-2);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--cream);
}

/* ---------- 10. SPLIT FEATURES ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.split-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-sm);
  background: var(--ink-2);
  aspect-ratio: 4 / 3;
  clip-path: var(--cut);
  box-shadow: var(--lift-2);
}

.split-media img,
.split-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.05);
  transition: transform 900ms var(--ease);
}

.split-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(200deg, rgba(49, 205, 207, 0.10) 0%, rgba(11, 10, 15, 0.42) 100%);
  mix-blend-mode: multiply;
}

.split-media:hover img { transform: scale(1.04); }

.split-body {
  max-width: 54ch;
}

.split-title {
  margin-top: var(--space-1);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.split-body .lede { margin-top: var(--space-3); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: var(--space-3);
  padding-bottom: 2px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream);
  border-bottom: 1px solid var(--rule-strong);
  transition: color 220ms var(--ease), border-color 220ms var(--ease);
}

.text-link::after {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
  transition: width 320ms var(--ease);
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.text-link:hover::after,
.text-link:focus-visible::after { width: 30px; }

.split-reverse .split-media { order: -1; }

/* ---------- 11. EVENTS ---------- */
.event-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1rem, 2vw, 1.5rem);
}

.event-card {
  position: relative;
  background: var(--ink-2);
  border: 1px solid var(--rule);
  border-radius: var(--r-sm);
  overflow: hidden;
  transition: border-color 320ms var(--ease), transform 420ms var(--ease),
              box-shadow 420ms var(--ease);
}

.event-card:hover,
.event-card:focus-within {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--lift-accent);
}

.event-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
}

.event-card-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--plum);
}

.event-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.05) brightness(0.94);
  transition: transform 800ms var(--ease), filter 500ms var(--ease);
}

.event-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(11, 10, 15, 0) 40%, rgba(11, 10, 15, 0.55) 100%);
}

.event-card:hover .event-card-media img {
  transform: scale(1.045);
  filter: saturate(1) contrast(1.05) brightness(1);
}

.event-card-body {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  flex: 1;
  padding: var(--space-3);
}

/* Date badge — cream block with the door light as a spine */
.event-date {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  align-self: flex-start;
  padding: 0.4rem 0.7rem 0.4rem 0.85rem;
  background: var(--cream);
  color: var(--ink);
  border-radius: var(--r-xs);
  position: relative;
  overflow: hidden;
}

.event-date::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent);
}

.event-day {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--step-2);
  line-height: 1;
  letter-spacing: -0.02em;
}

.event-month {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--step--2);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.75;
}

.event-tag {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.event-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.25rem, 1.6vw, 1.5rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--cream);
  text-wrap: balance;
}

.event-more {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: auto;
  padding-top: var(--space-2);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream-55);
  transition: color 240ms var(--ease);
}

.event-more::after {
  content: "";
  width: 16px;
  height: 1px;
  background: currentColor;
  transition: width 320ms var(--ease), background-color 240ms var(--ease);
}

.event-card:hover .event-more,
.event-card:focus-within .event-more { color: var(--accent); }

.event-card:hover .event-more::after { width: 28px; }

/* ---------- 12. GALLERY ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: minmax(0, auto);
  gap: 12px;
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-sm);
  aspect-ratio: 1 / 1;
  background: var(--plum);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.06);
  transition: transform 900ms var(--ease), filter 600ms var(--ease);
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(11, 10, 15, 0) 40%, rgba(11, 10, 15, 0.85) 100%);
  opacity: 0;
  transition: opacity 420ms var(--ease);
}

.gallery-item:hover img,
.gallery-item:focus-within img {
  transform: scale(1.05);
  filter: saturate(1) contrast(1.06);
}

.gallery-item:hover::after,
.gallery-item:focus-within::after { opacity: 1; }

.gallery-item-feature {
  grid-column: span 2;
  aspect-ratio: 16 / 10;
  clip-path: var(--cut);
}

.gallery-caption {
  position: absolute;
  left: var(--space-2);
  right: var(--space-2);
  bottom: var(--space-2);
  z-index: 2;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--step--1);
  letter-spacing: 0.06em;
  color: var(--cream);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 420ms var(--ease), transform 420ms var(--ease);
}

.gallery-item:hover .gallery-caption,
.gallery-item:focus-within .gallery-caption {
  opacity: 1;
  transform: translateY(0);
}

.gallery-note {
  display: block;
  margin-top: var(--space-3);
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream-55);
}

/* ---------- 13. REASSURE STRIP ---------- */
.reassure {
  position: relative;
  padding-block: clamp(2.5rem, 5vw, 4.5rem);
  background: var(--ink-2);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.reassure-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--cream);
  max-width: 24ch;
}

.reassure-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--space-3);
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--rule);
}

.reassure-list li {
  position: relative;
  padding-left: 1.125rem;
  font-size: var(--step--1);
  line-height: 1.55;
  color: var(--cream-70);
}

.reassure-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 1px;
  background: var(--accent);
}

.reassure-list strong,
.reassure-list b {
  display: block;
  color: var(--cream);
  font-weight: 600;
}

.reassure-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: var(--space-4);
}

/* ---------- 14. INVITATION / NEWSLETTER ---------- */
.invitation {
  position: relative;
  background: var(--cream);
  color: var(--ink);
  padding-block: clamp(3.5rem, 7vw, 6rem);
  overflow: hidden;
}

.invitation::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--accent) 0%, rgba(49, 205, 207, 0) 100%);
}

.invitation-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: center;
}

.invitation-copy {
  max-width: 26ch;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.75rem, 3.2vw, 2.625rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}

.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: stretch;
}

.newsletter-form input[type="email"],
.newsletter-form input[type="text"] {
  flex: 1 1 240px;
  min-width: 0;
  padding: 0.9rem 1rem;
  background: transparent;
  border: 1px solid var(--rule-ink);
  border-radius: var(--r-xs);
  font-family: var(--font-body);
  font-size: var(--step-0);
  color: var(--ink);
  transition: border-color 240ms var(--ease), background-color 240ms var(--ease);
}

.newsletter-form input::placeholder {
  color: rgba(11, 10, 15, 0.42);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(49, 205, 207, 0.07);
  box-shadow: 0 0 0 3px var(--accent-24);
}

.newsletter-form .btn { flex: 0 0 auto; }

/* ---------- 15. FOOTER ---------- */
.site-footer {
  position: relative;
  background: var(--ink);
  color: var(--cream);
  padding-block: clamp(3.5rem, 7vw, 6rem) var(--space-4);
  border-top: 1px solid var(--rule);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: clamp(64px, 12vw, 160px);
  height: 3px;
  background: var(--accent);
  box-shadow: 0 0 30px rgba(49, 205, 207, 0.6);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-2);
  max-width: 34ch;
}

.footer-brand img {
  width: auto;
  max-width: 200px;
  height: auto;
  background: transparent;
}

.footer-brand p,
.footer-brand address {
  font-style: normal;
  font-size: var(--step--1);
  line-height: 1.7;
  color: var(--cream-55);
}

.site-footer h3,
.site-footer h4 {
  margin-bottom: var(--space-2);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--step--2);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.site-footer ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.site-footer a {
  font-size: var(--step--1);
  color: var(--cream-70);
  background: transparent;
  transition: color 220ms var(--ease);
}

.site-footer a:hover,
.site-footer a:focus-visible { color: var(--accent); }

/* Social icons — transparent, correctly sized, never a white block */
.site-footer svg,
.site-footer a > svg {
  width: 24px;
  height: 24px;
  min-width: 24px;
  min-height: 24px;
  display: block;
  background: transparent;
  fill: currentColor;
  color: var(--cream);
  transition: color 220ms var(--ease), transform 220ms var(--ease);
}

.site-footer a > img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: block;
  background: transparent;
  border: 0;
}

.site-footer a:hover > svg,
.site-footer a:focus-visible > svg {
  color: var(--accent);
  transform: translateY(-2px);
}

.site-footer a:has(> svg),
.site-footer a:has(> img) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--r-full);
}

.site-footer a:has(> svg):hover,
.site-footer a:has(> img):hover {
  border-color: var(--accent-24);
  background: var(--accent-12);
}

/* Grouped icon rows */
.site-footer .social,
.site-footer [class*="social"] {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  background: transparent;
}

/* ---------- 16. RESPONSIVE ---------- */
@media (min-width: 640px) {
  :root { --gutter: 1.5rem; }

  .section-head .section-title { max-width: 28ch; }

  .proof-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .proof-figure { grid-column: span 1; }
  .proof-figure-wide { grid-column: span 2; }
  .proof-stack { grid-column: span 1; }

  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .gallery-item-feature { grid-column: span 2; aspect-ratio: 16 / 9; }

  .invitation-inner { grid-template-columns: 1.1fr 1fr; }

  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5); }
  .footer-brand { grid-column: span 2; }
}

@media (min-width: 900px) {
  .nav-toggle { display: none; }

  .primary-nav {
    position: static;
    width: auto;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    overflow: visible;
    transform: none;
    visibility: visible;
    transition: none;
  }

  .nav-list {
    flex-direction: row;
    align-items: center;
    gap: clamp(1.25rem, 2.4vw, 2.25rem);
  }

  .nav-list li { border-bottom: 0; }

  .nav-list a {
    padding: 0.5rem 0;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--cream-80);
  }

  .nav-list a::before {
    top: auto;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 320ms var(--ease);
  }

  .nav-list a:hover,
  .nav-list a:focus-visible {
    color: var(--cream);
    padding-left: 0;
  }

  .nav-list a:hover::before,
  .nav-list a:focus-visible::before,
  .nav-list a[aria-current="page"]::before {
    width: 100%;
    transform: scaleX(1);
  }

  .hero-inner::before { width: 4px; }

  .statement {
    padding-left: clamp(2rem, 4vw, 4.5rem);
  }

  .statement::before {
    position: absolute;
    left: 0;
    top: 0.35em;
    width: 3px;
    height: clamp(56px, 7vw, 104px);
    margin-bottom: 0;
    background: var(--doorlight);
  }

  .proof-grid { gap: 1.5rem; }

  .split {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  }

  .split-reverse .split-media { order: 2; }
  .split-reverse .split-body { order: 1; }

  /* Events — asymmetric: first card becomes a wide editorial feature */
  .event-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .event-grid > .event-card:first-child { grid-column: span 2; }

  .event-grid > .event-card:first-child .event-card-link {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    align-items: stretch;
  }

  .event-grid > .event-card:first-child .event-card-media {
    aspect-ratio: auto;
    height: 100%;
    min-height: 280px;
  }

  .event-grid > .event-card:first-child .event-card-body {
    padding: var(--space-4);
    justify-content: center;
  }

  .event-grid > .event-card:first-child .event-title {
    font-size: var(--step-3);
  }

  /* Date badges float on the media seam for the small cards */
  .event-grid > .event-card:not(:first-child) .event-date {
    position: absolute;
    top: 0;
    left: var(--space-3);
    transform: translateY(-50%);
    z-index: 3;
    box-shadow: 0 10px 30px -14px rgba(0, 0, 0, 0.9);
  }

  .event-grid > .event-card:not(:first-child) .event-card-body {
    padding-top: calc(var(--space-3) + 0.75rem);
  }

  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }

  .gallery-item-feature {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: 1 / 1;
  }

  .reassure {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
  }

  .reassure-list { margin-top: 0; padding-top: 0; border-top: 0; }
  .reassure-actions { grid-column: 1 / -1; margin-top: var(--space-2); }

  .footer-grid { grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: var(--space-5); }
  .footer-brand { grid-column: span 1; }
}

@media (min-width: 1120px) {
  .hero-inner { padding-inline: var(--gutter); }
  .event-grid { gap: 1.75rem; }
}

@media (max-width: 419px) {
  .brand-name { display: none; }
  .brand-logo { height: 34px; }
}

/* ---------- 17. MOTION PREFERENCES & SCROLL REVEALS ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::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 { animation: none; transform: none; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }

  @supports (animation-timeline: view()) {
    .statement,
    .section-head,
    .split-media,
    .split-body,
    .fact-card,
    .event-card,
    .gallery-item,
    .proof-figure,
    .proof-figure-wide,
    .reassure-list,
    .invitation-inner {
      animation: reveal-rise linear both;
      animation-timeline: view();
      animation-range: entry 2% cover 26%;
    }
  }
}

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