/* ==========================================================================
   HALCYON — Premium Gaming Lounge
   Design system: cream broadsheet / dark velvet chambers
   (palette gently lightened per client request)
   ========================================================================== */

:root {
  /* Colors — lightened variant of the reference palette */
  --color-lavender: #f2dbff;
  --color-lavender-deep: #e4bdfa;
  --color-forest: #0a5d52;
  --color-forest-deep: #034f46;
  --color-ember: #ffa946;
  --color-ink: #1e1e1c;
  --color-cream: #fffef4;
  --color-cream-warm: #fffceb;
  --color-stone: #eaeada;
  --color-fog: #8a8a80;
  --color-charcoal: #2a2a28;
  --color-white: #ffffff;

  /* Surfaces */
  --surface-canvas: #fffef4;
  --surface-chamber: #232320;
  --surface-chamber-deep: #1c1c1a;
  --surface-lavender: #f2dbff;
  --surface-forest: #0a5d52;

  /* Typography */
  --font-display: 'EB Garamond', 'Cormorant Garamond', Georgia, serif;
  --font-ui: 'Figtree', 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --text-caption: 14px;
  --text-body-sm: 16px;
  --text-body: 20px;
  --text-subheading: 24px;
  --text-heading-sm: 32px;
  --text-heading: 48px;
  --text-heading-lg: 64px;
  --text-display: 120px;

  /* Spacing */
  --sp-8: 8px;   --sp-16: 16px; --sp-24: 24px; --sp-32: 32px;
  --sp-40: 40px; --sp-48: 48px; --sp-56: 56px; --sp-64: 64px;
  --sp-80: 80px; --sp-96: 96px; --sp-128: 128px;

  /* Radii */
  --radius-btn: 12px;
  --radius-card: 32px;
  --radius-chamber: 56px;
  --radius-chamber-lg: 72px;
  --radius-pill: 9999px;

  /* Layout */
  --page-max: 1200px;
  --border-ink: 2px solid var(--color-ink);

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ==========================================================================
   Reset & base
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-ui);
  font-size: var(--text-body-sm);
  line-height: 1.3;
  color: var(--color-ink);
  background: var(--surface-canvas);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font-family: inherit; cursor: pointer; }
ul[class] { list-style: none; }

section[id], footer[id] { scroll-margin-top: 110px; }

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

/* ==========================================================================
   Utilities
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--page-max);
  margin-inline: auto;
  padding-inline: var(--sp-24);
}

.section { padding-block: var(--sp-80); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface-forest);
  color: var(--color-cream);
  font-size: var(--text-caption);
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.02em;
}

.eyebrow--ghost {
  background: transparent;
  color: var(--color-cream);
  border: 1.5px solid rgba(255, 255, 244, 0.6);
}

.eyebrow .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--color-ember);
  animation: pulse-dot 2.2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 0 rgba(255, 169, 70, 0.55); }
  50%      { transform: scale(1.25); opacity: 0.85; box-shadow: 0 0 0 7px rgba(255, 169, 70, 0); }
}

.section-head { max-width: 720px; margin-bottom: var(--sp-56); }
.section-head .eyebrow { margin-bottom: var(--sp-24); }

.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 5.6vw, var(--text-heading-lg));
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.section-title em {
  font-style: italic;
  color: var(--color-forest);
}

.section-sub {
  font-size: var(--text-body);
  color: var(--color-fog);
  margin-top: var(--sp-16);
  max-width: 560px;
}

/* Dark chamber variants */
.chamber .section-title { color: var(--color-cream); }
.chamber .section-title em { color: var(--color-lavender); }
.chamber .section-sub { color: rgba(255, 254, 244, 0.62); }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: var(--radius-btn);
  border: var(--border-ink);
  font-family: var(--font-ui);
  font-size: var(--text-body-sm);
  font-weight: 500;
  text-decoration: none;
  color: var(--color-ink);
  background: var(--color-cream);
  overflow: hidden;
  isolation: isolate;
  transition:
    transform 0.35s var(--ease-spring),
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

/* shine sweep */
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    115deg,
    transparent 30%,
    rgba(255, 255, 255, 0.55) 48%,
    rgba(255, 255, 255, 0.15) 52%,
    transparent 65%
  );
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease-out);
  pointer-events: none;
}

.btn:hover::after,
.btn:focus-visible::after { transform: translateX(120%); }

.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px) scale(0.98); }

.btn .btn-arrow { transition: transform 0.35s var(--ease-spring); }
.btn:hover .btn-arrow { transform: translateX(5px); }

.btn--primary {
  background: var(--color-lavender);
}
.btn--primary:hover { background: var(--color-lavender-deep); }

.btn--outline-cream {
  background: transparent;
  color: var(--color-cream);
  border-color: var(--color-cream);
}
.btn--outline-cream:hover {
  background: var(--color-cream);
  color: var(--color-ink);
}

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

.btn--sm { padding: 11px 20px; font-size: var(--text-caption); }

.btn--lg { padding: 19px 36px; font-size: 18px; }

/* subtle idle glow on the hero primary CTA */
.btn--glow::before {
  content: '';
  position: absolute;
  inset: -3px;
  z-index: -2;
  border-radius: inherit;
  background: var(--color-lavender);
  filter: blur(14px);
  opacity: 0;
  animation: btn-breathe 3.4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes btn-breathe {
  0%, 100% { opacity: 0.0; }
  50%      { opacity: 0.55; }
}

/* ==========================================================================
   Floating navigation pill
   ========================================================================== */

.nav {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: min(1080px, calc(100% - 32px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-16);
  padding: 10px 12px 10px 22px;
  background: rgba(255, 254, 244, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: var(--border-ink);
  border-radius: var(--radius-pill);
  transition: top 0.4s var(--ease-out), width 0.4s var(--ease-out), background-color 0.3s ease;
  animation: nav-drop 0.8s var(--ease-out) both;
}

@keyframes nav-drop {
  from { opacity: 0; transform: translate(-50%, -24px); }
  to   { opacity: 1; transform: translate(-50%, 0); }
}

.nav.is-scrolled {
  top: 10px;
  width: min(980px, calc(100% - 24px));
  background: rgba(255, 254, 244, 0.97);
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.06em;
  text-decoration: none;
}

.nav-logo svg { flex-shrink: 0; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  font-size: var(--text-body-sm);
  font-weight: 500;
  color: var(--color-charcoal);
  text-decoration: none;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.nav-links a:hover {
  background: var(--color-stone);
  color: var(--color-ink);
}

.nav-cta { flex-shrink: 0; }

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: var(--color-cream);
  border: var(--border-ink);
  border-radius: var(--radius-pill);
}

.nav-burger span {
  display: block;
  height: 2px;
  background: var(--color-ink);
  border-radius: 2px;
  transition: transform 0.35s var(--ease-out), opacity 0.25s ease;
}

.nav-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  position: fixed;
  top: 86px;
  left: 50%;
  transform: translateX(-50%) translateY(-12px);
  z-index: 99;
  width: min(420px, calc(100% - 32px));
  background: var(--color-cream);
  border: var(--border-ink);
  border-radius: 28px;
  padding: var(--sp-16);
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.35s var(--ease-out), visibility 0.3s;
}

.nav-mobile.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-mobile a {
  padding: 14px 18px;
  border-radius: 16px;
  font-weight: 500;
  font-size: 17px;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.nav-mobile a:hover { background: var(--color-stone); }
.nav-mobile .btn { margin-top: 8px; }

/* ==========================================================================
   Hero — dark chamber with animated background
   ========================================================================== */

.hero {
  position: relative;
  margin: 16px;
  border-radius: clamp(32px, 5vw, var(--radius-chamber-lg));
  background: var(--surface-chamber-deep);
  overflow: hidden;
  min-height: min(94vh, 980px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* photo layer — slow ken burns */
.hero-photo {
  position: absolute;
  inset: -4%;
  background: url('images/hero-gaming-lounge.webp') center 38% / cover no-repeat;
  opacity: 0.55;
  animation: hero-zoom 36s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes hero-zoom {
  from { transform: scale(1); }
  to   { transform: scale(1.09) translateY(-1.5%); }
}

/* vignette to keep text readable */
.hero-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 50% 42%, transparent 30%, rgba(20, 20, 18, 0.72) 100%),
    linear-gradient(to top, rgba(20, 20, 18, 0.9) 0%, transparent 34%),
    linear-gradient(to bottom, rgba(20, 20, 18, 0.55) 0%, transparent 22%);
}

/* drifting glow blobs */
.hero-blobs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  filter: blur(70px);
  will-change: transform;
}

.blob {
  position: absolute;
  border-radius: 50%;
  opacity: 0.5;
  mix-blend-mode: screen;
  will-change: transform;
}

.blob--lavender {
  width: 44vw; height: 44vw;
  min-width: 380px; min-height: 380px;
  left: -12%; top: -14%;
  background: radial-gradient(circle at 50% 50%, rgba(242, 219, 255, 0.85), transparent 65%);
  animation: blob-drift-a 21s ease-in-out infinite alternate;
}

.blob--teal {
  width: 38vw; height: 38vw;
  min-width: 330px; min-height: 330px;
  right: -10%; top: 18%;
  background: radial-gradient(circle at 50% 50%, rgba(16, 130, 114, 0.9), transparent 65%);
  animation: blob-drift-b 26s ease-in-out infinite alternate;
}

.blob--ember {
  width: 30vw; height: 30vw;
  min-width: 260px; min-height: 260px;
  left: 30%; bottom: -18%;
  background: radial-gradient(circle at 50% 50%, rgba(255, 169, 70, 0.65), transparent 65%);
  animation: blob-drift-c 17s ease-in-out infinite alternate;
}

.blob--violet {
  width: 26vw; height: 26vw;
  min-width: 220px; min-height: 220px;
  right: 22%; bottom: 4%;
  background: radial-gradient(circle at 50% 50%, rgba(190, 140, 255, 0.55), transparent 65%);
  animation: blob-drift-d 23s ease-in-out infinite alternate;
}

@keyframes blob-drift-a {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(14vw, 10vh) scale(1.15); }
  100% { transform: translate(4vw, 22vh) scale(0.95); }
}
@keyframes blob-drift-b {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(-12vw, -6vh) scale(1.2); }
  100% { transform: translate(-20vw, 12vh) scale(1); }
}
@keyframes blob-drift-c {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(10vw, -12vh) scale(1.12); }
  100% { transform: translate(-8vw, -4vh) scale(0.92); }
}
@keyframes blob-drift-d {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(-8vw, -14vh) scale(1.1); }
  100% { transform: translate(6vw, -8vh) scale(1.05); }
}

/* floating particles (populated by JS) */
.hero-particles { position: absolute; inset: 0; pointer-events: none; }

.particle {
  position: absolute;
  bottom: -12px;
  border-radius: 50%;
  background: rgba(255, 254, 244, 0.75);
  animation: particle-rise linear infinite;
}

.particle--lavender { background: rgba(242, 219, 255, 0.8); }
.particle--ember    { background: rgba(255, 169, 70, 0.7); }

@keyframes particle-rise {
  0%   { transform: translateY(0) translateX(0); opacity: 0; }
  8%   { opacity: 0.9; }
  90%  { opacity: 0.25; }
  100% { transform: translateY(-105vh) translateX(var(--drift, 30px)); opacity: 0; }
}

/* hero content */
.hero-inner {
  position: relative;
  z-index: 2;
  padding: 160px var(--sp-24) 120px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  will-change: transform;
}

.hero-inner .eyebrow { margin-bottom: var(--sp-32); }

.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(52px, 10vw, 118px);
  line-height: 0.88;
  letter-spacing: -0.03em;
  color: var(--color-cream);
  max-width: 13ch;
}

.hero-title .accent {
  position: relative;
  font-style: italic;
  color: var(--color-lavender);
  white-space: nowrap;
}

.hero-title .squiggle {
  position: absolute;
  left: 2%;
  bottom: -0.18em;
  width: 96%;
  height: 0.22em;
  overflow: visible;
}

.hero-title .squiggle path {
  fill: none;
  stroke: var(--color-lavender);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 320;
  stroke-dashoffset: 320;
  animation: squiggle-draw 1.4s var(--ease-out) 0.9s forwards;
}

@keyframes squiggle-draw { to { stroke-dashoffset: 0; } }

.hero-sub {
  margin-top: var(--sp-32);
  font-size: clamp(17px, 2vw, var(--text-body));
  color: rgba(255, 254, 244, 0.72);
  max-width: 52ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-16);
  margin-top: var(--sp-40);
}

/* staged entrance */
.hero-inner > * { animation: hero-rise 0.9s var(--ease-out) both; }
.hero-inner > *:nth-child(1) { animation-delay: 0.15s; }
.hero-inner > *:nth-child(2) { animation-delay: 0.28s; }
.hero-inner > *:nth-child(3) { animation-delay: 0.45s; }
.hero-inner > *:nth-child(4) { animation-delay: 0.6s; }
.hero-inner > *:nth-child(5) { animation-delay: 0.75s; }

@keyframes hero-rise {
  from { opacity: 0; transform: translateY(34px); filter: blur(6px); }
  to   { opacity: 1; transform: translateY(0); filter: blur(0); }
}

/* hero stat strip */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 40px;
  margin-top: var(--sp-64);
}

.hero-stat { text-align: center; }

.hero-stat b {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--text-heading-sm);
  letter-spacing: -0.02em;
  color: var(--color-cream);
}

.hero-stat span {
  font-size: var(--text-caption);
  color: rgba(255, 254, 244, 0.55);
}

/* scroll hint */
.hero-scroll {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255, 254, 244, 0.55);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: color 0.3s ease;
}

.hero-scroll:hover { color: var(--color-cream); }

.hero-scroll svg { animation: scroll-bob 1.8s ease-in-out infinite; }

@keyframes scroll-bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(7px); }
}

/* ==========================================================================
   Marquee strip
   ========================================================================== */

.marquee {
  border-top: var(--border-ink);
  border-bottom: var(--border-ink);
  background: var(--surface-canvas);
  overflow: hidden;
  padding-block: 18px;
}

.marquee-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marquee-scroll 32s linear infinite;
}

.marquee:hover .marquee-track { animation-play-state: paused; }

.marquee-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.marquee-group span {
  font-family: var(--font-display);
  font-size: var(--text-heading-sm);
  letter-spacing: -0.01em;
  white-space: nowrap;
  padding-inline: 22px;
}

.marquee-group i {
  font-style: normal;
  color: var(--color-ember);
  font-size: 20px;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ==========================================================================
   Scroll reveal
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(36px);
  filter: blur(5px);
  transition:
    opacity 0.85s var(--ease-out),
    transform 0.85s var(--ease-out),
    filter 0.85s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* ==========================================================================
   Features — cream cards
   ========================================================================== */

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-24);
}

.feature-card {
  background: var(--color-cream-warm);
  border: var(--border-ink);
  border-radius: var(--radius-card);
  padding: var(--sp-32);
  display: flex;
  flex-direction: column;
  gap: var(--sp-16);
  transition: transform 0.45s var(--ease-spring), background-color 0.3s ease;
}

.feature-card:hover { transform: translateY(-8px) rotate(-0.5deg); }

.feature-card--lavender { background: var(--surface-lavender); }
.feature-card--lavender:hover { background: var(--color-lavender-deep); }

.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  border: var(--border-ink);
  background: var(--color-cream);
  display: grid;
  place-items: center;
  transition: transform 0.45s var(--ease-spring), background-color 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: rotate(-8deg) scale(1.08);
  background: var(--color-lavender);
}

.feature-card--lavender .feature-icon { background: var(--color-cream); }
.feature-card--lavender:hover .feature-icon { background: var(--color-cream-warm); }

.feature-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--text-heading-sm);
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.feature-card p { color: var(--color-fog); font-size: var(--text-body-sm); }
.feature-card--lavender p { color: #6d5a7a; }

.feature-tag {
  margin-top: auto;
  align-self: flex-start;
  background: var(--color-ink);
  color: var(--color-cream);
  font-size: 13px;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 8px;
}

/* ==========================================================================
   Gallery
   ========================================================================== */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 290px;
  gap: var(--sp-24);
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-card);
  border: var(--border-ink);
  overflow: hidden;
  background: var(--surface-chamber);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease-out), filter 0.6s ease;
}

.gallery-item:hover img { transform: scale(1.07); filter: saturate(1.1); }

.gallery-caption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: rgba(255, 254, 244, 0.94);
  border: var(--border-ink);
  border-radius: 16px;
  padding: 10px 16px;
  font-size: var(--text-caption);
  font-weight: 500;
  transform: translateY(calc(100% + 18px));
  transition: transform 0.5s var(--ease-spring);
}

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

.gallery-caption i {
  font-style: normal;
  color: var(--color-forest);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ==========================================================================
   Events — dark chamber
   ========================================================================== */

.chamber {
  position: relative;
  margin: var(--sp-16);
  border-radius: clamp(32px, 5vw, var(--radius-chamber-lg));
  background: var(--surface-chamber);
  overflow: hidden;
}

.chamber .container { position: relative; z-index: 2; }

.chamber-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
  pointer-events: none;
}

.chamber-glow--teal {
  width: 520px; height: 520px;
  top: -160px; right: -140px;
  background: radial-gradient(circle, rgba(16, 130, 114, 0.85), transparent 65%);
  animation: glow-float-a 19s ease-in-out infinite alternate;
}

.chamber-glow--lavender {
  width: 460px; height: 460px;
  bottom: -180px; left: -120px;
  background: radial-gradient(circle, rgba(242, 219, 255, 0.6), transparent 65%);
  animation: glow-float-b 24s ease-in-out infinite alternate;
}

@keyframes glow-float-a {
  from { transform: translate(0, 0); }
  to   { transform: translate(-80px, 90px) scale(1.15); }
}
@keyframes glow-float-b {
  from { transform: translate(0, 0); }
  to   { transform: translate(100px, -70px) scale(1.1); }
}

.events-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-24);
  align-items: stretch;
}

.events-photo-card {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 2px solid rgba(255, 254, 244, 0.25);
  min-height: 460px;
}

.events-photo-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 8s ease;
}

.events-photo-card:hover img { transform: scale(1.06); }

.events-photo-card .photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 20, 18, 0.85) 8%, transparent 55%);
}

.events-photo-card figcaption {
  position: absolute;
  left: var(--sp-32);
  right: var(--sp-32);
  bottom: var(--sp-32);
  color: var(--color-cream);
}

.events-photo-card figcaption b {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--text-heading-sm);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.events-photo-card figcaption span {
  font-size: var(--text-caption);
  color: rgba(255, 254, 244, 0.65);
}

.events-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-16);
}

.event-row {
  display: flex;
  align-items: center;
  gap: var(--sp-24);
  background: var(--surface-forest);
  border-radius: 24px;
  padding: 22px var(--sp-24);
  color: var(--color-cream);
  transition: transform 0.4s var(--ease-spring), background-color 0.3s ease;
}

.event-row:hover { transform: translateX(10px); background: var(--color-forest-deep); }

.event-day {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  border: 2px solid rgba(255, 254, 244, 0.4);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.02em;
}

.event-info { flex: 1; }

.event-info h3 {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 19px;
  margin-bottom: 4px;
}

.event-info p { font-size: var(--text-caption); color: rgba(255, 254, 244, 0.68); }

.event-time {
  flex-shrink: 0;
  font-size: var(--text-caption);
  font-weight: 500;
  border: 1.5px solid rgba(255, 254, 244, 0.45);
  border-radius: var(--radius-pill);
  padding: 7px 14px;
  white-space: nowrap;
}

/* ==========================================================================
   Membership
   ========================================================================== */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-24);
  align-items: stretch;
}

.price-card {
  position: relative;
  background: var(--color-cream-warm);
  border: var(--border-ink);
  border-radius: var(--radius-card);
  padding: var(--sp-40) var(--sp-32);
  display: flex;
  flex-direction: column;
  gap: var(--sp-24);
  transition: transform 0.45s var(--ease-spring);
}

.price-card:hover { transform: translateY(-10px); }

.price-card--featured {
  background: var(--surface-lavender);
  transform: translateY(-14px);
}

.price-card--featured:hover { transform: translateY(-22px); }

.price-flag {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-ink);
  color: var(--color-cream);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 7px 18px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.price-name { font-weight: 600; font-size: 18px; letter-spacing: 0.02em; }

.price-value {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(48px, 5vw, var(--text-heading-lg));
  letter-spacing: -0.03em;
  line-height: 1;
}

.price-value small {
  font-family: var(--font-ui);
  font-size: var(--text-body-sm);
  color: var(--color-fog);
  letter-spacing: 0;
}

.price-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: var(--text-body-sm);
}

.price-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.price-list svg { flex-shrink: 0; margin-top: 2px; }

.price-card .btn { margin-top: auto; }

/* ==========================================================================
   Stats + testimonials — dark chamber
   ========================================================================== */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-24);
  margin-bottom: var(--sp-80);
}

.stat-cell {
  text-align: center;
  padding: var(--sp-32) var(--sp-16);
  border: 2px solid rgba(255, 254, 244, 0.16);
  border-radius: var(--radius-card);
  transition: border-color 0.4s ease, transform 0.45s var(--ease-spring);
}

.stat-cell:hover {
  border-color: rgba(242, 219, 255, 0.55);
  transform: translateY(-6px);
}

.stat-number {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(52px, 6vw, 84px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--color-cream);
}

.stat-number .suffix { color: var(--color-lavender); }

.stat-label {
  margin-top: 10px;
  font-size: var(--text-caption);
  color: rgba(255, 254, 244, 0.55);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.quotes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-24);
}

.quote-card {
  background: var(--surface-forest);
  border-radius: var(--radius-card);
  padding: var(--sp-32);
  color: var(--color-cream);
  display: flex;
  flex-direction: column;
  gap: var(--sp-24);
  transition: transform 0.45s var(--ease-spring);
}

.quote-card:hover { transform: translateY(-8px) rotate(0.5deg); }

.quote-mark {
  font-family: var(--font-display);
  font-size: 64px;
  line-height: 0.5;
  color: var(--color-lavender);
  height: 26px;
}

.quote-card blockquote {
  font-family: var(--font-display);
  font-size: 21px;
  line-height: 1.3;
  font-style: italic;
}

.quote-who { display: flex; align-items: center; gap: 12px; margin-top: auto; }

.quote-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(255, 254, 244, 0.5);
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 15px;
  background: rgba(255, 254, 244, 0.1);
}

.quote-who b { display: block; font-size: 15px; font-weight: 600; }
.quote-who span { font-size: 13px; color: rgba(255, 254, 244, 0.6); }

/* ==========================================================================
   Final CTA — lavender chamber
   ========================================================================== */

.cta-chamber {
  position: relative;
  margin: var(--sp-16);
  border-radius: clamp(32px, 5vw, var(--radius-chamber-lg));
  background: var(--surface-lavender);
  border: var(--border-ink);
  overflow: hidden;
  text-align: center;
  padding: clamp(64px, 10vw, 128px) var(--sp-24);
}

.cta-shape {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(30, 30, 28, 0.14);
  pointer-events: none;
}

.cta-shape--1 { width: 340px; height: 340px; top: -120px; left: -80px;  animation: shape-spin 40s linear infinite; border-style: dashed; }
.cta-shape--2 { width: 240px; height: 240px; bottom: -90px; right: -40px; animation: shape-spin 28s linear infinite reverse; border-style: dashed; }
.cta-shape--3 { width: 120px; height: 120px; top: 18%; right: 12%; animation: shape-float 7s ease-in-out infinite alternate; }

@keyframes shape-spin { to { transform: rotate(360deg); } }
@keyframes shape-float {
  from { transform: translateY(0); }
  to   { transform: translateY(26px); }
}

.cta-chamber .eyebrow { margin-bottom: var(--sp-24); }

.cta-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(44px, 7vw, 96px);
  line-height: 0.92;
  letter-spacing: -0.03em;
  max-width: 14ch;
  margin-inline: auto;
}

.cta-title em { font-style: italic; color: var(--color-forest-deep); }

.cta-sub {
  font-size: var(--text-body);
  color: #6d5a7a;
  max-width: 46ch;
  margin: var(--sp-24) auto 0;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-16);
  margin-top: var(--sp-40);
}

.cta-note { margin-top: var(--sp-24); font-size: var(--text-caption); color: #6d5a7a; }

/* Join form inside the lavender chamber */
.cta-form {
  position: relative;
  z-index: 2;
  width: min(640px, 100%);
  margin: var(--sp-40) auto 0;
  background: var(--color-cream);
  border: var(--border-ink);
  border-radius: var(--radius-card);
  padding: var(--sp-32);
  display: flex;
  flex-direction: column;
  gap: var(--sp-16);
  text-align: left;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
}

.form-field { display: flex; flex-direction: column; gap: 8px; }

.form-field label {
  font-size: var(--text-caption);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.form-field .optional { color: var(--color-fog); font-weight: 400; }

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  font-family: var(--font-ui);
  font-size: var(--text-body-sm);
  color: var(--color-ink);
  background: var(--color-cream-warm);
  border: var(--border-ink);
  border-radius: var(--radius-btn);
  padding: 13px 16px;
  outline: none;
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
  appearance: none;
  -webkit-appearance: none;
}

.form-field textarea { resize: vertical; min-height: 84px; }

.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--color-fog); }

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  background: var(--color-white);
  box-shadow: 0 0 0 4px var(--color-lavender);
}

.form-select-wrap { position: relative; }

.form-select-wrap select { cursor: pointer; padding-right: 44px; }

.form-select-wrap svg {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--color-ink);
}

/* honeypot — visually removed, still in the DOM for bots */
.form-hp {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.form-submit { width: 100%; margin-top: var(--sp-8); }

.form-submit:disabled {
  opacity: 0.6;
  cursor: wait;
  transform: none;
}

.form-status {
  display: none;
  font-size: var(--text-caption);
  font-weight: 500;
  border-radius: var(--radius-btn);
  padding: 12px 16px;
  border: var(--border-ink);
}

.form-status.is-success {
  display: block;
  background: var(--surface-forest);
  color: var(--color-cream);
  animation: status-pop 0.5s var(--ease-spring);
}

.form-status.is-error {
  display: block;
  background: var(--color-ember);
  color: var(--color-ink);
  animation: status-pop 0.5s var(--ease-spring);
}

@keyframes status-pop {
  from { opacity: 0; transform: translateY(8px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background: var(--surface-chamber-deep);
  color: var(--color-cream);
  margin-top: var(--sp-16);
  padding: var(--sp-80) 0 var(--sp-32);
  border-radius: clamp(32px, 5vw, var(--radius-chamber-lg)) clamp(32px, 5vw, var(--radius-chamber-lg)) 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-48);
  padding-bottom: var(--sp-56);
  border-bottom: 1px solid rgba(255, 254, 244, 0.15);
}

.footer-brand p {
  margin-top: var(--sp-16);
  color: rgba(255, 254, 244, 0.6);
  max-width: 34ch;
  font-size: var(--text-body-sm);
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.06em;
  text-decoration: none;
}

.footer-email {
  display: inline-block;
  margin-top: var(--sp-24);
  color: var(--color-lavender);
  font-weight: 500;
  font-size: var(--text-body-sm);
  text-decoration: none;
  border: 1.5px solid rgba(242, 219, 255, 0.45);
  border-radius: var(--radius-pill);
  padding: 10px 20px;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.35s var(--ease-spring);
}

.footer-email:hover {
  background: var(--color-lavender);
  color: var(--color-ink);
  transform: translateY(-3px);
}

.footer-col h4 {
  font-size: var(--text-caption);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 254, 244, 0.5);
  margin-bottom: var(--sp-16);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  padding: 0;
}

.footer-col a {
  color: rgba(255, 254, 244, 0.78);
  text-decoration: none;
  font-size: var(--text-body-sm);
  transition: color 0.25s ease, padding-left 0.25s ease;
}

.footer-col a:hover { color: var(--color-lavender); padding-left: 4px; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-16);
  padding-top: var(--sp-32);
  font-size: var(--text-caption);
  color: rgba(255, 254, 244, 0.45);
}

.footer-bottom nav { display: flex; flex-wrap: wrap; gap: var(--sp-24); }

.footer-bottom a {
  color: rgba(255, 254, 244, 0.6);
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer-bottom a:hover { color: var(--color-lavender); }

/* ==========================================================================
   Cookie banner — minimal
   ========================================================================== */

.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translate(-50%, calc(100% + 40px));
  z-index: 200;
  width: min(560px, calc(100% - 32px));
  background: var(--color-cream);
  border: var(--border-ink);
  border-radius: 24px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: var(--sp-16);
  transition: transform 0.6s var(--ease-spring);
}

.cookie-banner.is-visible { transform: translate(-50%, 0); }

.cookie-icon { flex-shrink: 0; animation: cookie-wiggle 4s ease-in-out infinite; }

@keyframes cookie-wiggle {
  0%, 88%, 100% { transform: rotate(0); }
  90% { transform: rotate(-12deg); }
  94% { transform: rotate(10deg); }
  98% { transform: rotate(-4deg); }
}

.cookie-text { flex: 1; font-size: var(--text-caption); line-height: 1.45; }

.cookie-text a {
  color: var(--color-forest);
  font-weight: 500;
  text-underline-offset: 2px;
}

.cookie-actions { display: flex; flex-direction: column; gap: 8px; flex-shrink: 0; }

.cookie-actions .btn { padding: 9px 18px; font-size: 13px; border-radius: 10px; }

/* ==========================================================================
   Legal pages
   ========================================================================== */

.legal-hero {
  position: relative;
  margin: 16px;
  border-radius: clamp(32px, 5vw, var(--radius-chamber));
  background: var(--surface-chamber-deep);
  overflow: hidden;
  padding: 170px var(--sp-24) 90px;
  text-align: center;
}

.legal-hero .eyebrow { margin-bottom: var(--sp-24); }

.legal-hero h1 {
  position: relative;
  z-index: 2;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(44px, 7vw, 92px);
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: var(--color-cream);
}

.legal-hero .legal-date {
  position: relative;
  z-index: 2;
  display: inline-block;
  margin-top: var(--sp-24);
  font-size: var(--text-caption);
  color: rgba(255, 254, 244, 0.55);
  border: 1.5px solid rgba(255, 254, 244, 0.3);
  border-radius: var(--radius-pill);
  padding: 8px 18px;
}

.legal-hero .hero-blobs { filter: blur(60px); }
.legal-hero .eyebrow, .legal-hero h1 { position: relative; z-index: 2; }

.legal-body {
  max-width: 760px;
  margin-inline: auto;
  padding: var(--sp-80) var(--sp-24) var(--sp-96);
}

.legal-toc {
  background: var(--color-cream-warm);
  border: var(--border-ink);
  border-radius: var(--radius-card);
  padding: var(--sp-32);
  margin-bottom: var(--sp-64);
}

.legal-toc h2 {
  font-family: var(--font-ui);
  font-size: var(--text-caption);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-fog);
  margin-bottom: var(--sp-16);
}

.legal-toc ol {
  list-style: none;
  counter-reset: toc;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legal-toc li { counter-increment: toc; }

.legal-toc a {
  display: inline-flex;
  gap: 12px;
  text-decoration: none;
  font-weight: 500;
  padding: 4px 0;
  transition: color 0.25s ease, padding-left 0.25s ease;
}

.legal-toc a::before {
  content: counter(toc, decimal-leading-zero);
  font-family: var(--font-display);
  color: var(--color-forest);
}

.legal-toc a:hover { color: var(--color-forest); padding-left: 6px; }

.legal-section { margin-bottom: var(--sp-56); scroll-margin-top: 120px; }

.legal-section h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--text-heading-sm);
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-16);
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.legal-section h2 .num {
  font-size: 20px;
  color: var(--color-forest);
  font-style: italic;
}

.legal-section h3 {
  font-family: var(--font-ui);
  font-size: 18px;
  font-weight: 600;
  margin: var(--sp-24) 0 10px;
}

.legal-section p, .legal-section li {
  font-size: var(--text-body-sm);
  line-height: 1.65;
  color: #4a4a44;
  margin-bottom: 12px;
}

.legal-section ul {
  padding-left: 0;
  list-style: none;
}

.legal-section ul li {
  position: relative;
  padding-left: 26px;
}

.legal-section ul li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-lavender);
  border: 1.5px solid var(--color-ink);
}

.legal-section a { color: var(--color-forest); font-weight: 500; text-underline-offset: 2px; }

.legal-callout {
  background: var(--surface-lavender);
  border: var(--border-ink);
  border-radius: 20px;
  padding: var(--sp-24);
  margin: var(--sp-24) 0;
  font-size: var(--text-body-sm);
  line-height: 1.55;
}

.legal-callout b { display: block; margin-bottom: 6px; }

.legal-table-wrap { overflow-x: auto; margin: var(--sp-24) 0; }

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-caption);
  border: var(--border-ink);
  border-radius: 16px;
  overflow: hidden;
}

.legal-table th {
  background: var(--surface-forest);
  color: var(--color-cream);
  text-align: left;
  font-weight: 600;
  padding: 12px 16px;
}

.legal-table td {
  padding: 12px 16px;
  border-top: 1px solid var(--color-stone);
  color: #4a4a44;
  vertical-align: top;
  line-height: 1.5;
}

.legal-table tr:nth-child(even) td { background: var(--color-cream-warm); }

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: var(--sp-32);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1200px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav-cta { display: none; }

  .events-layout { grid-template-columns: 1fr; }
  .events-photo-card { min-height: 340px; }

  .pricing-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .price-card--featured { transform: none; }
  .price-card--featured:hover { transform: translateY(-10px); }

  .quotes-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }

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

@media (max-width: 768px) {
  .section { padding-block: var(--sp-56); }

  .hero { margin: 10px; min-height: 92vh; }
  .hero-inner { padding: 140px var(--sp-16) 100px; }
  .hero-stats { gap: 10px 26px; margin-top: var(--sp-48); }
  .hero-stat b { font-size: 26px; }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }

  .chamber { margin: 10px; }
  .cta-chamber { margin: 10px; }

  .marquee-group span { font-size: 24px; padding-inline: 16px; }

  .footer-grid { gap: var(--sp-32); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .cookie-banner { flex-wrap: wrap; }
  .cookie-actions { flex-direction: row; width: 100%; }
  .cookie-actions .btn { flex: 1; }
}

@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-16); }
  .stat-number { font-size: 44px; }

  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 240px; }

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

  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }
  .form-row { grid-template-columns: 1fr; }
  .cta-form { padding: var(--sp-24); }

  .event-row { flex-wrap: wrap; gap: var(--sp-16); }
  .event-time { order: 3; }
}

/* ==========================================================================
   Reduced motion — kill all animation
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }

  html { scroll-behavior: auto; }

  .hero-photo, .blob, .particle, .marquee-track,
  .chamber-glow, .cta-shape, .cookie-icon { animation: none !important; }

  .hero-particles { display: none; }

  .reveal { opacity: 1; transform: none; filter: none; }

  .hero-inner { transform: none !important; }
  .hero-blobs { transform: none !important; }
}
