/* ════════════════════════════════════════
   PILATES x ART — Main Stylesheet
   Mobile-first, single-page scroll
════════════════════════════════════════ */

@font-face {
  font-family: 'Cirka';
  src: url('../assets/Cirka-Light.otf') format('opentype');
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: 'Atega';
  src: url('../assets/atega-regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}

/* ── Reset & Base ─────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --green:      #004219;
  --black:      #000000;
  --white:      #ffffff;
  --off-white:  #f5f0eb;
  --muted:      rgba(255,255,255,0.55);
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Cirka', sans-serif;
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
address { font-style: normal; }


/* ── Intro splash (scroll section) ───── */
.intro {
  position: relative;
  height: 100vh;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#waveCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.intro-body {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.intro-headline {
  font-family: 'Cirka', serif;
  font-weight: 300;
  font-size: clamp(4rem, 18vw, 10rem);
  line-height: 0.88;
  letter-spacing: -0.03em;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.intro-headline.visible {
  opacity: 1;
  transform: translateY(0);
}

.intro-headline .pil,
.intro-headline .es {
  color: var(--white);
}

.intro-headline .art {
  font-family: 'Atega', sans-serif;
  font-weight: 400;
  color: var(--white);
  opacity: 0.45;
  letter-spacing: 0.02em;
}

.intro-sub {
  font-family: 'Cirka', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(0.75rem, 2.5vw, 1rem);
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.55);
  min-height: 1.4em;
}

.type-cursor {
  display: inline-block;
  width: 1px;
  height: 0.85em;
  background: rgba(255,255,255,0.55);
  margin-left: 2px;
  vertical-align: middle;
  animation: cursorBlink 0.9s step-end infinite;
}

@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* Scroll hint inside intro */
.intro-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.intro-scroll.visible { opacity: 1; }
.intro-scroll span {
  font-size: 7px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}
.intro-scroll .scroll-line {
  animation: scrollPulse 2.4s ease-in-out infinite;
}


/* ── Scroll reveal: JS hook only — section-specific CSS handles animation ── */
.reveal { /* intentional no-op */ }


/* ════════════════════════════════════════
   HERO ENTRANCE  (fires on body.site-ready)
════════════════════════════════════════ */

/* ── Hero animation sequence ─────────────────────────────────
   1. ART slides up  (0 ms)
   2. pil + es + scan curtain together  (180 ms)
   3. tagline fades in after the word lands  (420 ms)
   ── */
.hero-headline .pil,
.hero-headline .art,
.hero-headline .es {
  display: inline-block;
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}

/* ART first */
.hero-headline .art { transition-delay: 0s; }
/* pil and es together, just after */
.hero-headline .pil { transition-delay: 0.18s; }
.hero-headline .es  { transition-delay: 0.18s; }

body.site-ready .hero-headline .pil,
body.site-ready .hero-headline .es {
  opacity: 1;
  transform: translateY(0);
}
body.site-ready .hero-headline .art {
  opacity: 0.55;
  transform: translateY(0);
}

/* Tagline: after the word is complete */
.hero-tagline {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.55s var(--ease-out) 0.42s,
              transform 0.55s var(--ease-out) 0.42s;
}
body.site-ready .hero-tagline {
  opacity: 1;
  transform: translateY(0);
}

/* Frame corners: appear with pil/es */
.frame-corner {
  opacity: 0;
  transition: opacity 0.3s ease 0.18s;
}
body.site-ready .frame-corner { opacity: 1; }

/* Scroll hint: last */
.scroll-hint {
  opacity: 0;
  transition: opacity 0.5s ease 0.85s;
}
body.site-ready .scroll-hint { opacity: 1; }


/* ════════════════════════════════════════
   02 — ABOUT  (clip-path wipe + fade)
════════════════════════════════════════ */
.about-content .section-label {
  opacity: 0;
  transform: translateX(-18px);
  transition: opacity 0.6s var(--ease-out),
              transform 0.6s var(--ease-out);
}
.about-title {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.1s var(--ease-out) 0.15s;
}
.about-text {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.8s var(--ease-out) 0.45s,
              transform 0.8s var(--ease-out) 0.45s;
}
.about.visible .about-content .section-label {
  opacity: 1;
  transform: translateX(0);
}
.about.visible .about-title   { clip-path: inset(0 0% 0 0); }
.about.visible .about-text    { opacity: 1; transform: translateY(0); }


/* ════════════════════════════════════════
   02b — EXPERIENCE
════════════════════════════════════════ */
.experience {
  width: 100%;
  background: var(--black);
  padding: 80px 24px;
  min-height: 100svh;
  box-sizing: border-box;
  scroll-margin-top: 60px;
}

.experience-inner {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.experience-title {
  font-family: 'Cirka', serif;
  font-weight: 300;
  font-size: clamp(2.2rem, 9vw, 4.5rem);
  line-height: 0.92;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-top: 16px;
}

.experience-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.experience-item {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 28px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  cursor: default;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease, background 0.3s;
}

.experience-item:hover {
  background: rgba(0,66,25,0.18);
}

.experience-item:hover .experience-num {
  color: var(--white);
}

.experience.visible .experience-item:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0.20s; }
.experience.visible .experience-item:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 0.32s; }
.experience.visible .experience-item:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 0.44s; }
.experience.visible .experience-item:nth-child(4) { opacity: 1; transform: translateY(0); transition-delay: 0.56s; }

.experience-num {
  font-family: 'Cirka', serif;
  font-weight: 300;
  font-size: clamp(3rem, 8vw, 5rem);
  line-height: 1;
  color: var(--green);
  flex-shrink: 0;
  width: 2ch;
  transition: color 0.3s;
  letter-spacing: -0.03em;
}

.experience-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.experience-text {
  font-family: 'Cirka', serif;
  font-weight: 300;
  font-size: clamp(1.1rem, 3.5vw, 1.5rem);
  color: var(--white);
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.experience-detail {
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}

@media (min-width: 768px) {
  .experience { padding: 100px 5vw; min-height: unset; }
  .experience-inner {
    flex-direction: row;
    align-items: flex-start;
    gap: 8vw;
  }
  .experience-header { width: 32%; flex-shrink: 0; }
  .experience-list { flex: 1; }
  .experience-item { padding: 32px 20px; gap: 36px; }
}


/* ════════════════════════════════════════
   03 — LOCATION  (split: text ← image →)
════════════════════════════════════════ */
.location-text {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 1s var(--ease-out),
              transform 1s var(--ease-out);
}
.location-img-wrap {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 1s var(--ease-out) 0.18s,
              transform 1s var(--ease-out) 0.18s;
}
.location.visible .location-text,
.location.visible .location-img-wrap {
  opacity: 1;
  transform: translateX(0);
}


/* ════════════════════════════════════════
   04 — EVENTS  (header fade-up + stagger rows)
════════════════════════════════════════ */
.events-header .section-label {
  opacity: 0;
  transition: opacity 0.5s ease;
}
.events-title {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease-out) 0.1s,
              transform 0.8s var(--ease-out) 0.1s;
}
.events.visible .events-header .section-label { opacity: 1; }
.events.visible .events-title {
  opacity: 1;
  transform: translateY(0);
}

/* Event rows: JS sets transition-delay inline */
.event-item {
  opacity: 0;
  transform: translateX(-22px);
  transition: opacity 0.55s var(--ease-out),
              transform 0.55s var(--ease-out);
}
.event-item.visible {
  opacity: 1;
  transform: translateX(0);
}


/* ════════════════════════════════════════
   05 — BOOK  (clip-path reveal from bottom)
════════════════════════════════════════ */
.book-content .section-label {
  opacity: 0;
  transition: opacity 0.5s ease;
}
.book-title {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.1s var(--ease-out) 0.1s;
}
.book-sub {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.7s var(--ease-out) 0.55s,
              transform 0.7s var(--ease-out) 0.55s;
}
.book-btn {
  opacity: 0;
  transition: opacity 0.5s ease 0.85s,
              background 0.3s, color 0.3s, border-color 0.3s;
}
.book.visible .book-content .section-label { opacity: 1; }
.book.visible .book-title  { clip-path: inset(0 0 0% 0); }
.book.visible .book-sub    { opacity: 1; transform: translateY(0); }
.book.visible .book-btn    { opacity: 1; }


/* ════════════════════════════════════════
   NAV
════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  transition: background 0.4s ease, padding 0.4s ease, backdrop-filter 0.4s ease;
}

.nav.scrolled {
  background: rgba(0,0,0,0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 14px 24px;
}

.nav-logo img {
  height: 35px;
  width: auto;
}

.nav-links {
  display: none;
  gap: 32px;
}

.nav-links li a {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}
.nav-links li a:hover { color: var(--white); }

.nav-toggle {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
}

@media (min-width: 768px) {
  .nav { padding: 28px 5vw; }
  .nav.scrolled { padding: 16px 5vw; }
  .nav-links { display: flex; }
  .nav-toggle { display: none; }
}


/* ════════════════════════════════════════
   MOBILE MENU OVERLAY
════════════════════════════════════════ */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 300;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.menu-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.menu-close {
  position: absolute;
  top: 24px; right: 24px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  font-size: 18px;
  cursor: pointer;
  letter-spacing: 0;
}

.menu-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.menu-link {
  font-family: 'Cirka', serif;
  font-weight: 300;
  font-size: clamp(2.2rem, 10vw, 3.5rem);
  color: var(--white);
  letter-spacing: -0.01em;
  transition: color 0.2s;
}
.menu-link:hover { color: rgba(255,255,255,0.4); }


/* ════════════════════════════════════════
   01 — HERO  (futuristic, text-first)
════════════════════════════════════════ */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background: var(--black);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 110px 24px 90px;
  overflow: hidden;
}

/* Subtle grid background */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,66,25,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,66,25,0.07) 1px, transparent 1px);
  background-size: 54px 54px;
  pointer-events: none;
}

/* Periodic ambient scan across the background */
.hero::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 120px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(0,66,25,0.04),
    transparent
  );
  animation: ambientScan 9s linear infinite;
  pointer-events: none;
}
@keyframes ambientScan {
  0%   { top: -120px; }
  100% { top: 100%; }
}

/* Inner layout */
.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 44px;
  width: 100%;
  max-width: 1100px;
}

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

.hero-label {
  font-family: 'Cirka', sans-serif;
  color: var(--green);
  letter-spacing: 0.28em;
}

/* Headline */
.hero-headline {
  font-family: 'Cirka', serif;
  font-weight: 300;
  font-size: clamp(2rem, 7vw, 4.2rem);
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin: 14px 0 18px;
  color: var(--white);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s var(--ease-out) 0.05s, transform 0.6s var(--ease-out) 0.05s;
}
body.site-ready .hero-headline {
  opacity: 1;
  transform: translateY(0);
}
.hero-headline .pil,
.hero-headline .es { color: var(--white); }
.hero-headline .art {
  font-family: 'Atega', sans-serif;
  font-weight: 400;
  color: var(--white);
  opacity: 0.55;
  letter-spacing: 0.02em;
  transform: translateY(0);
}

/* Tagline */
.hero-tagline {
  font-family: 'Cirka', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(0.85rem, 2.2vw, 1.05rem);
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin-bottom: 32px;
}

/* Hero CTA */
.hero-cta {
  display: inline-block;
  padding: 13px 30px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.5);
  color: var(--white);
  font-size: 8px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.5s ease 0.65s,
              background 0.25s, border-color 0.25s, color 0.25s;
}
body.site-ready .hero-cta { opacity: 1; }
.hero-cta:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

/* ── Futuristic image frame ───────────── */
.hero-frame {
  position: relative;
  width: min(78vw, 320px);
  flex-shrink: 0;
}

.frame-inner {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
}

.frame-inner img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center 22%;
  filter: saturate(0.5) brightness(0.78);
  display: block;
}

/* Corner bracket markers */
.frame-corner {
  position: absolute;
  width: 16px;
  height: 16px;
  z-index: 4;
}
.frame-corner.tl { top: 0; left: 0;
  border-top: 1px solid var(--green); border-left: 1px solid var(--green); }
.frame-corner.tr { top: 0; right: 0;
  border-top: 1px solid var(--green); border-right: 1px solid var(--green); }
.frame-corner.bl { bottom: 0; left: 0;
  border-bottom: 1px solid var(--green); border-left: 1px solid var(--green); }
.frame-corner.br { bottom: 0; right: 0;
  border-bottom: 1px solid var(--green); border-right: 1px solid var(--green); }

/* Curtain: black panel that slides down to reveal the image */
.frame-curtain {
  position: absolute;
  inset: 0;
  background: var(--black);
  z-index: 2;
  transform: translateY(0);
  transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.18s;
}

/* Neon scan line rides the top edge of the curtain */
.frame-curtain::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(
    to right,
    transparent 0%,
    var(--green) 25%,
    rgba(150,255,180,0.9) 50%,
    var(--green) 75%,
    transparent 100%
  );
  box-shadow:
    0 0 6px rgba(0,180,80,0.9),
    0 0 18px rgba(0,150,60,0.5);
}

/* Trigger scan when hero is visible */
.hero.visible .frame-curtain {
  transform: translateY(101%);
}

/* Metadata strip below frame */
.frame-meta {
  font-family: "chirka";
  display: flex;
  justify-content: space-between;
  margin-top: 9px;
  font-size: 7px;
  padding: 0.5em;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgb(255, 255, 255);
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 28px;
  right: 24px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.scroll-hint span {
  font-size: 7px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  writing-mode: vertical-rl;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.35));
  animation: scrollPulse 2.4s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(0.8) translateY(-4px); }
  50%       { opacity: 1;   transform: scaleY(1)   translateY(0); }
}

@media (min-width: 768px) {
  .hero { padding: 100px 5vw 80px; }
  .hero-inner {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 7vw;
  }
  .hero-text { text-align: left; flex: 1; max-width: 500px; }
  .hero-frame { width: 380px; }
  .scroll-hint { right: 5vw; }
}


/* ════════════════════════════════════════
   02 — ABOUT
════════════════════════════════════════ */
.about {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.about-img {
  position: absolute;
  left: 0; right: 0;
  top: -10%;
  width: 100%;
  height: 120%;        /* extra room for parallax shift */
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(0.52) saturate(0.82);
  will-change: transform;
}

.about-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.92) 0%,
    rgba(0,0,0,0.28) 50%,
    rgba(0,0,0,0.0) 100%
  );
}

/* Canvas waves injected by JS */
.about-wave-canvas {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.2s ease 0.4s;
}
.about.visible .about-wave-canvas { opacity: 1; }

.about-content {
  position: relative;
  z-index: 10;
  padding: 0 24px 52px;
  will-change: transform;
  transition: transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

.section-label {
  display: block;
  font-size: 8px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 18px;
}

.about-title {
  font-family: 'Cirka', serif;
  font-weight: 300;
  font-size: clamp(2.2rem, 9vw, 4rem);
  line-height: 1.0;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.about-text {
  font-size: 13px;
  line-height: 1.85;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.6);
  max-width: 480px;
}

@media (min-width: 768px) {
  .about-content { padding: 0 5vw 80px; max-width: 640px; }
  .about-title { font-size: clamp(2.8rem, 5vw, 4.5rem); }
}


/* ════════════════════════════════════════
   03 — LOCATION
════════════════════════════════════════ */
.location {
  width: 100%;
  min-height: 100vh;
  background: var(--off-white);
  display: flex;
  flex-direction: column;
  padding: 100px 24px 60px;
  gap: 48px;
}

.location-title {
  font-family: 'Cirka', serif;
  font-weight: 300;
  font-size: clamp(2.6rem, 11vw, 5.5rem);
  line-height: 0.92;
  color: var(--black);
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.location .section-label { color: var(--green); }

.location-address {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.4);
  line-height: 2.2;
}
.location-address a {
  color: var(--green);
  transition: opacity 0.2s;
}
.location-address a:hover { opacity: 0.6; }

.location-img-wrap {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 9 / 16;
  margin: 0 auto;
  overflow: hidden;
}

.location-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.78);
  display: block;
}

@media (min-width: 768px) {
  .location {
    flex-direction: row;
    align-items: center;
    padding: 0 5vw;
    gap: 8vw;
  }
  .location-text { width: 40%; flex-shrink: 0; }
  .location-img-wrap {
    flex: 1;
    max-width: 340px;
    margin: 0;
  }
}


/* ════════════════════════════════════════
   04 — EVENTS
════════════════════════════════════════ */
.events {
  width: 100%;
  min-height: 100vh;
  background: var(--black);
  padding: 100px 24px 72px;
  overflow: hidden;
  box-sizing: border-box;
}

.events-header { margin-bottom: 52px; }

.events-note {
  font-size: 8px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-top: 12px;
}

.events-title {
  font-family: 'Cirka', serif;
  font-weight: 300;
  font-size: clamp(2.2rem, 9vw, 4.5rem);
  line-height: 0.92;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-top: 16px;
}

.events-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  width: 100%;
  box-sizing: border-box;
}

.event-card {
  position: relative;
  background: rgba(0,48,18,0.18);
  border: 1px solid rgba(0,180,70,0.14);
  border-radius: 2px;
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
  box-sizing: border-box;
  min-width: 0;
  transition: border-color 0.3s, background 0.3s, transform 0.3s;
  cursor: default;
}

.event-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,100,35,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.event-card:hover {
  border-color: rgba(0,220,80,0.45);
  background: rgba(0,60,22,0.30);
  transform: translateY(-3px);
}

.event-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.event-tag {
  font-size: 8px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--white);
  font-family: 'Atega', sans-serif;
}

.event-badge {
  font-size: 7px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(0,200,70,0.55);
  border: 1px solid rgba(0,180,60,0.3);
  padding: 3px 8px;
  border-radius: 20px;
}

.event-card-time {
  font-family: 'Cirka', serif;
  font-weight: 300;
  font-size: clamp(2.8rem, 11vw, 4.2rem);
  line-height: 1;
  color: var(--white);
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.event-time-end {
  font-size: 0.45em;
  color: rgba(255,255,255,0.4);
  letter-spacing: -0.01em;
}

.event-card-name {
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 6px;
}

.event-card-meta {
  font-size: 8px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.22);
  margin-bottom: 28px;
}

.event-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 24px;
  background: var(--green);
  color: var(--white);
  font-size: 8px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  border-radius: 1px;
  width: fit-content;
  transition: background 0.2s, transform 0.2s;
}

.event-card-btn:hover {
  background: #006428;
  transform: translateY(-1px);
}

@media (min-width: 768px) {
  .events { padding: 120px 5vw 80px; }
  .events-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}


/* ════════════════════════════════════════
   05 — BOOK
════════════════════════════════════════ */
.book-wave-canvas {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.2s ease 0.4s;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 35%);
  mask-image: linear-gradient(to right, transparent 0%, black 35%);
}
.book.visible .book-wave-canvas { opacity: 1; }

.book {
  width: 100%;
  background: var(--green);
  display: flex;
  align-items: center;
  padding: 80px 24px;
  position: relative;
  overflow: hidden;
}

.book-content { max-width: 520px; }

.book .section-label { color: rgba(255,255,255,0.45); }

.book-title {
  font-family: 'Cirka', serif;
  font-weight: 300;
  font-size: clamp(3rem, 13vw, 7rem);
  line-height: 0.88;
  color: var(--white);
  letter-spacing: -0.03em;
  margin-bottom: 28px;
}

.book-sub {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.55);
  line-height: 1.9;
  margin-bottom: 48px;
}

.book-btn {
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.55);
  padding: 15px 36px;
  font-size: 9px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--white);
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.book-btn:hover {
  background: var(--white);
  color: var(--green);
  border-color: var(--white);
}

@media (min-width: 768px) {
  .book { padding: 100px 5vw; }
  .book-title { font-size: clamp(4rem, 8vw, 8rem); }
}


/* ════════════════════════════════════════
   FOOTER
════════════════════════════════════════ */
.footer {
  background: #0a0a0a;
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-logo { height: 3em; width: auto; opacity: 0.7; }

.footer-copy {
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
}

.footer-ig {
  font-size: 9px;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.3);
  transition: color 0.2s;
}
.footer-ig:hover { color: var(--white); }

@media (min-width: 768px) {
  .footer {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 32px 5vw;
  }
}
