/* ===== Tokens ===== */
:root {
  --bg: #f5c9e3;
  --bg-soft: #efb4d9;
  --text: #121212;
  --text-muted: #8a5c76;
  --line: #dda0c4;
  --font: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Times New Roman", Times, serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-weight: 300;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  cursor: default;
}

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

/* ===== Corner nav ===== */
.corner {
  position: fixed;
  top: 28px;
  z-index: 50;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.corner-tl { left: 32px; }
.corner-tr { right: 32px; }

.mark {
  font-weight: 500;
}

.nav {
  display: flex;
  gap: 24px;
}
.nav a {
  position: relative;
  color: var(--text-muted);
  transition: color 0.2s ease;
}
.nav a:hover,
.nav a:focus-visible {
  color: var(--text);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: var(--text);
  transition: width 0.2s ease;
}
.nav a:hover::after { width: 100%; }

/* ===== Hero ===== */
.hero {
  position: relative;
  height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 30%, #fbdcee 0%, var(--bg) 70%);
}
.drift {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  background: rgba(44, 19, 25, 0.06);
  animation: driftMove 22s ease-in-out infinite;
}
.d1 { width: 46vw; height: 46vw; top: -10%; left: -10%; animation-duration: 26s; }
.d2 { width: 38vw; height: 38vw; bottom: -12%; right: -8%; animation-duration: 30s; animation-delay: -6s; }
.d3 { width: 30vw; height: 30vw; top: 40%; left: 55%; animation-duration: 24s; animation-delay: -12s; }

@keyframes driftMove {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(4%, -6%) scale(1.08); }
}

.grain {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.04;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.wordmark {
  position: relative;
  font-family: var(--font-serif);
  font-style: normal;
  font-weight: 700;
  font-size: clamp(3.2rem, 11vw, 8rem);
  letter-spacing: 0;
  line-height: 0.98;
  margin: 0 0 6px;
}

.est {
  position: relative;
  font-family: var(--font-serif);
  font-style: normal;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 22px;
}

.claim {
  position: relative;
  color: var(--text-muted);
  font-size: 1rem;
  letter-spacing: 0.03em;
  margin: 0;
}

.emoji-cycle {
  position: relative;
  display: inline-block;
  margin-top: 48px;
  font-size: clamp(9rem, 26vw, 16rem);
  line-height: 1;
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.emoji-cycle.is-fading {
  opacity: 0;
  transform: scale(0.82);
}

.scroll-cue {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* ===== Content blocks ===== */
.block {
  max-width: 900px;
  margin: 0 auto;
  padding: 140px 32px;
  border-top: 1px solid var(--line);
}

.block-eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 28px;
}

.line-lg {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 300;
  line-height: 1.25;
  margin: 0 0 20px;
}

.line-md {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin: 0 0 14px;
}

.status-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0;
}
.status-line::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line);
  flex: none;
}
.status-line[data-open="true"]::before {
  background: var(--text);
}

.line-menu {
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  font-weight: 300;
  line-height: 1.7;
  color: var(--text);
  margin: 0;
  max-width: 760px;
}

.block-contact {
  text-align: left;
}

.contact-form {
  max-width: 520px;
  margin-top: 32px;
}
.contact-form .field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 22px;
}
.contact-form label {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.contact-form input,
.contact-form textarea {
  background: none;
  border: none;
  border-bottom: 1px solid var(--line);
  padding: 8px 0;
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  resize: vertical;
}
.contact-form input:focus-visible,
.contact-form textarea:focus-visible {
  outline: none;
  border-color: var(--text);
}
.contact-form .email-link {
  font-size: 1.15rem;
  margin-top: 8px;
}

.email-link {
  background: none;
  border: none;
  padding: 0;
  color: var(--text);
  font-family: var(--font);
  font-weight: 300;
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  cursor: pointer;
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
  transition: border-color 0.2s ease, opacity 0.2s ease;
}
.email-link:hover,
.email-link:focus-visible {
  border-color: var(--text);
}
.email-link:focus-visible {
  outline: none;
}

.copy-hint {
  margin: 14px 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  min-height: 1.2em;
}

.insta-link {
  display: inline-block;
  margin-top: 28px;
  font-size: 0.95rem;
  color: var(--text-muted);
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.insta-link:hover,
.insta-link:focus-visible {
  color: var(--text);
  border-color: var(--text);
}

/* ===== Footer ===== */
.site-footer {
  display: flex;
  gap: 28px;
  align-items: center;
  padding: 32px;
  max-width: 900px;
  margin: 0 auto;
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}
.site-footer p { margin: 0; }
.site-footer a {
  color: var(--text-muted);
  transition: color 0.2s ease;
}
.site-footer a:hover { color: var(--text); }

/* ===== Reveal ===== */
.reveal {
  opacity: 0;
  transition: opacity 0.6s ease;
}
.reveal.is-visible { opacity: 1; }

/* ===== Custom cursor ===== */
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--text);
  pointer-events: none;
  z-index: 999;
  transform: translate(-50%, -50%);
  transition: width 0.2s ease, height 0.2s ease, opacity 0.2s ease;
  opacity: 0;
}
.cursor-dot.is-active { opacity: 0.7; }
.cursor-dot.is-hovering {
  width: 26px;
  height: 26px;
  opacity: 0.35;
}

@media (pointer: coarse) {
  .cursor-dot { display: none; }
}

.map-embed-wrap {
  margin-top: 36px;
  border: 1px solid var(--line);
  overflow: hidden;
}
.map-embed {
  display: block;
  width: 100%;
  height: 360px;
  border: none;
  filter: grayscale(55%) contrast(1.05);
}

/* ===== Course booking ===== */
.tabs {
  display: flex;
  gap: 28px;
  margin: 0 0 36px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}
.tab {
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font);
  font-weight: 300;
  font-size: 1rem;
  color: var(--text-muted);
  cursor: pointer;
  position: relative;
  transition: color 0.2s ease;
}
.tab:hover,
.tab:focus-visible {
  color: var(--text);
}
.tab[aria-selected="true"] {
  color: var(--text);
}
.tab[aria-selected="true"]::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -15px;
  width: 100%;
  height: 1px;
  background: var(--text);
}

.slot-list {
  list-style: none;
  margin: 0 0 8px;
  padding: 0;
}
.slot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.slot-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.slot-label {
  font-size: 1.05rem;
}
.slot-seats {
  font-size: 0.82rem;
  color: var(--text-muted);
}
.btn-slot {
  background: none;
  border: 1px solid var(--line);
  color: var(--text);
  font-family: var(--font);
  font-weight: 300;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  padding: 9px 18px;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}
.btn-slot:hover,
.btn-slot:focus-visible {
  border-color: var(--text);
}
.btn-slot:disabled {
  color: var(--text-muted);
  border-color: var(--line);
  cursor: not-allowed;
  opacity: 0.6;
}

.booking-panel {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  max-width: 480px;
}
.booking-panel .field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}
.booking-panel label {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.booking-panel input {
  background: none;
  border: none;
  border-bottom: 1px solid var(--line);
  padding: 8px 0;
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
}
.booking-panel input:focus-visible {
  outline: none;
  border-color: var(--text);
}
.panel-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 8px;
}
.btn-cancel {
  background: none;
  border: none;
  padding: 0;
  color: var(--text-muted);
  font-family: var(--font);
  font-size: 0.9rem;
  cursor: pointer;
  transition: color 0.2s ease;
}
.btn-cancel:hover,
.btn-cancel:focus-visible {
  color: var(--text);
}

/* ===== Responsive ===== */
@media (max-width: 640px) {
  .corner { top: 20px; }
  .corner-tl { left: 20px; }
  .corner-tr { right: 20px; }
  .nav { gap: 16px; font-size: 0.72rem; }
  .block { padding: 96px 20px; }
  .site-footer { padding: 24px 20px; flex-wrap: wrap; gap: 16px; }
  .emoji-cycle {
    margin-top: 30px;
    font-size: clamp(4.5rem, 22vw, 6rem);
  }
}
