:root {
  --ink: #22221f;
  --muted: #6e6b64;
  --paper: #f8f6ef;
  --paper-deep: #f1eee7;
  --primary: #ff7900;
  --secondary: #b6a2ff;
  --accent: #dfff00;
  --line: rgba(34, 34, 31, 0.15);
  --shell: min(1120px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, select { font: inherit; }
a { color: inherit; }
.shell { width: var(--shell); margin-inline: auto; }

.hero {
  min-height: min(780px, 92svh);
  position: relative;
  overflow: hidden;
  background: var(--paper-deep);
  border-bottom: 1px solid var(--line);
}
.nav {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 2;
}
.wordmark {
  text-decoration: none;
  font: 600 16px/1 "Manrope", sans-serif;
  letter-spacing: -0.02em;
}
.share-button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 10px 16px;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  transition: .2s ease;
}
.share-button:hover { color: var(--paper); background: var(--ink); }
.share-button svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hero-inner {
  position: relative;
  z-index: 1;
  padding-top: clamp(72px, 11vh, 130px);
  padding-bottom: 100px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 26px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.eyebrow span { width: 28px; height: 1px; background: currentColor; }
.hero h1, .schedule-section h2, .closing h2 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-weight: 400;
  letter-spacing: -.065em;
  line-height: .88;
}
.hero h1 { font-size: clamp(68px, 12vw, 152px); }
.hero h1 em {
  color: var(--primary);
  font-style: normal;
  text-shadow: 4px 4px 0 var(--secondary);
}
.intro {
  max-width: 450px;
  margin: 42px 0 32px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.55;
}
.scroll-link, .instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 6px;
}
.orb { position: absolute; border-radius: 999px; filter: blur(1px); }
.orb-one {
  width: clamp(220px, 30vw, 420px);
  aspect-ratio: 1;
  background: var(--accent);
  box-shadow: 0 0 90px color-mix(in srgb, var(--accent) 42%, transparent);
  right: -5%;
  top: 13%;
}
.orb-two {
  width: clamp(120px, 16vw, 220px);
  aspect-ratio: 1;
  background: var(--secondary);
  box-shadow: 0 0 80px color-mix(in srgb, var(--secondary) 44%, transparent);
  right: 27%;
  bottom: -8%;
}

.schedule-section { padding-block: clamp(80px, 11vw, 150px); }
.section-heading {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 40px;
  margin-bottom: 58px;
}
.schedule-section h2 { font-size: clamp(54px, 7vw, 94px); }
.schedule-note { max-width: 260px; color: var(--muted); line-height: 1.5; }
.schedule-note span, .schedule-note strong { display: block; }
.schedule-note span { margin-bottom: 4px; color: var(--ink); font-weight: 600; }
.schedule-note strong { font-weight: 400; }
.filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(150px, 1fr)) auto;
  gap: 12px;
  align-items: end;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,.36);
}
.filters label span {
  display: block;
  margin: 0 0 8px 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.filters select {
  width: 100%;
  appearance: none;
  border: 0;
  border-radius: 14px;
  padding: 14px 42px 14px 14px;
  color: var(--ink);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2322221f' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat calc(100% - 14px) center;
  cursor: pointer;
}
.reset-button, .empty-state button {
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
  padding: 14px 10px;
}
.result-meta { display: flex; align-items: center; gap: 18px; margin: 40px 0 12px; }
.result-meta p { margin: 0; color: var(--muted); font-size: 13px; white-space: nowrap; }
.result-meta .line { width: 100%; height: 1px; background: var(--line); }
.schedule-list { border-top: 1px solid var(--ink); }
.class-card {
  display: grid;
  grid-template-columns: 140px 130px 1fr;
  gap: 24px;
  align-items: center;
  min-height: 134px;
  border-bottom: 1px solid var(--line);
  animation: reveal .32s ease both;
}
@keyframes reveal { from { opacity: 0; transform: translateY(8px); } }
.class-day { font-size: 14px; font-weight: 600; }
.class-time { font: 500 clamp(24px, 3vw, 37px)/1 "Manrope", sans-serif; letter-spacing: -.04em; }
.class-title { margin: 0 0 8px; font: 500 clamp(22px, 2.4vw, 32px)/1.1 "Manrope", sans-serif; letter-spacing: -.035em; }
.class-studio { margin: 0; color: var(--muted); }
.empty-state { position: relative; overflow: hidden; text-align: center; padding: 80px 20px; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--accent) 18%, transparent); }
.empty-state h3 { position: relative; margin: 0 0 12px; font: 500 clamp(30px, 4vw, 48px)/1.05 "Manrope", sans-serif; letter-spacing: -.04em; }
.empty-state p { position: relative; margin: 0 0 12px; color: var(--muted); font-size: 17px; }
.empty-orbit { position: absolute; width: 150px; aspect-ratio: 1; border-radius: 50%; background: var(--secondary); opacity: .48; top: -65px; right: 8%; filter: blur(1px); }

.closing { color: #f7f4ed; background: #262723; }
.closing-inner { padding-block: clamp(90px, 13vw, 160px); text-align: center; }
.closing-kicker { color: var(--secondary); margin: 0 0 28px; text-transform: uppercase; letter-spacing: .16em; font-size: 12px; }
.closing h2 { font-size: clamp(64px, 10vw, 132px); }
.closing p:not(.closing-kicker) { max-width: 420px; margin: 36px auto 28px; color: rgba(247,244,237,.64); line-height: 1.6; }
.instagram-link { border-color: var(--paper); }
.footer { color: rgba(247,244,237,.62); background: #262723; border-top: 1px solid rgba(247,244,237,.14); }
.footer-inner { min-height: 74px; display: flex; align-items: center; justify-content: space-between; font-size: 12px; }

:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }

@media (max-width: 760px) {
  :root { --shell: min(100% - 28px, 1120px); }
  .hero { min-height: 760px; }
  .nav { height: 72px; }
  .hero-inner { padding-top: 94px; }
  .hero h1 { font-size: clamp(68px, 24vw, 98px); }
  .intro { max-width: 335px; margin-top: 36px; }
  .orb-one { width: 250px; right: -34%; top: 26%; opacity: .9; }
  .orb-two { width: 140px; right: 15%; bottom: -2%; }
  .section-heading { grid-template-columns: 1fr; gap: 24px; margin-bottom: 42px; }
  .schedule-note { margin: 0; }
  .filters { grid-template-columns: 1fr 1fr; border-radius: 18px; padding: 14px; }
  .filters label:last-of-type { grid-column: 1 / -1; }
  .reset-button { grid-column: 1 / -1; justify-self: start; padding-left: 4px; }
  .result-meta { margin-top: 30px; }
  .class-card {
    grid-template-columns: 72px 1fr;
    gap: 10px 16px;
    align-items: start;
    padding: 24px 0;
  }
  .class-day { grid-column: 1; grid-row: 1; padding-top: 5px; }
  .class-time { grid-column: 1; grid-row: 2; font-size: 22px; }
  .class-info { grid-column: 2; grid-row: 1 / span 2; }
  .class-title { font-size: 24px; }
  .footer-inner { padding-block: 20px; align-items: flex-start; flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}
