/* ═════════════════════════════════════════════════════════════════
   HOOTNOVA ACADEMY — DESIGN SYSTEM & STYLESHEET
   Brand Tokens: --ink: #0a0a0a, --paper: #f5f0e8, --lime: #c8ff3e
   Aesthetic: Dark Editorial Grid, High-Contrast Typography, Glassmorphism
   ═════════════════════════════════════════════════════════════════ */

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

:root {
  --ink: #0a0a0a;
  --paper: #f5f0e8;
  --lime: #c8ff3e;
  --lime-glow: rgba(200, 255, 62, 0.15);
  --lime-border: rgba(200, 255, 62, 0.35);
  
  --surface-1: #121212;
  --surface-2: #181818;
  --surface-3: #222222;
  
  --border-light: rgba(245, 240, 232, 0.08);
  --border-medium: rgba(245, 240, 232, 0.15);
  --text-muted: rgba(245, 240, 232, 0.55);
  --text-subtle: rgba(245, 240, 232, 0.35);

  --font-main: 'Bricolage Grotesque', sans-serif;
  --font-serif: 'Instrument Serif', serif;
}

html {
  scroll-behavior: smooth;
  background-color: var(--ink);
  color: var(--paper);
  font-family: var(--font-main);
  overflow-x: hidden;
}

body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-main);
  line-height: 1.5;
  cursor: none;
  overflow-x: hidden;
}

body.intro-active {
  overflow: hidden;
}

/* ══ CUSTOM CURSOR ══ */
#cur {
  width: 12px;
  height: 12px;
  background: var(--lime);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  transition: width 0.25s ease, height 0.25s ease, background 0.25s ease, opacity 0.3s;
  mix-blend-mode: exclusion;
  opacity: 0;
}

#cur.show {
  opacity: 1;
}

#cur.big {
  width: 65px;
  height: 65px;
  background: var(--lime);
}

#trail {
  width: 38px;
  height: 38px;
  border: 1px solid var(--lime-border);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: 0;
  transition: opacity 0.5s ease;
}

#trail.show {
  opacity: 1;
}

/* ══ INTRO SCRAMBLE OVERLAY ══ */
#intro {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

#intro-logo {
  font-family: var(--font-main);
  font-weight: 800;
  font-size: clamp(2.5rem, 8vw, 5.5rem);
  letter-spacing: -0.04em;
  color: #fff;
  white-space: nowrap;
  position: absolute;
  opacity: 0;
}

#intro-logo em {
  font-style: normal;
  color: var(--lime);
}

#intro-logo .ch {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
}

#intro-sub {
  position: absolute;
  bottom: 20%;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lime);
  opacity: 0;
}

/* ══ NAVIGATION ══ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  padding: 1.5rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.4s ease, padding 0.4s ease;
}

nav.scrolled {
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  padding: 1rem 3rem;
  border-bottom: 1px solid var(--border-light);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--paper);
}

.nav-brand img {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.nav-brand-text {
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.nav-brand-text em {
  font-style: normal;
  color: var(--lime);
}

.nav-brand-tag {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--lime-glow);
  border: 1px solid var(--lime-border);
  color: var(--lime);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  margin-left: 0.5rem;
}

.nav-links {
  display: flex;
  gap: 2.2rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--lime);
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--lime);
  color: var(--ink);
  padding: 0.65rem 1.4rem;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.3s ease;
}

.nav-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px var(--lime-glow);
}

/* ══ EDITORIAL GRID CONTAINERS ══ */
.grid-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.25rem;
}

.bento-card {
  background: var(--surface-1);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.4s ease, transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.bento-card:hover {
  border-color: var(--lime-border);
}

/* ══ HERO SECTION ══ */
#hero {
  padding-top: 8rem;
  padding-bottom: 4rem;
}

.hero-main-card {
  grid-column: span 7;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(145deg, #141414 0%, #0d0d0d 100%);
}

.hero-side-card {
  grid-column: span 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: radial-gradient(circle at 50% 30%, rgba(200, 255, 62, 0.08) 0%, #121212 70%);
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--lime-glow);
  border: 1px solid var(--lime-border);
  color: var(--lime);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  width: fit-content;
  margin-bottom: 1.5rem;
}

.eyebrow-pill::before {
  content: '⚡';
  font-size: 0.8rem;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
}

.hero-title .serif-ital {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--lime);
}

.hero-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.7;
  max-width: 580px;
  margin-bottom: 2rem;
}

.attendance-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.att-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-medium);
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
  font-size: 0.78rem;
  color: var(--paper);
}

.att-pill.primary {
  background: var(--lime-glow);
  border-color: var(--lime-border);
  color: var(--lime);
  font-weight: 700;
}

.hero-logo-img {
  width: 100%;
  max-width: 280px;
  height: auto;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 0 20px rgba(200, 255, 62, 0.2));
}

.stat-callout {
  margin-top: 1.5rem;
  padding: 1.25rem 2rem;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  width: 100%;
}

.stat-callout-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--lime);
  line-height: 1;
}

.stat-callout-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 0.3rem;
}

/* ══ SCHEDULE SECTION (VISUAL CENTERPIECE) ══ */
.schedule-section {
  grid-column: span 12;
  margin-top: 2rem;
  background: var(--surface-1);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  padding: 3rem;
}

.schedule-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.schedule-title-wrap h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.schedule-tabs {
  display: flex;
  background: var(--surface-2);
  padding: 0.35rem;
  border-radius: 100px;
  border: 1px solid var(--border-light);
}

.tab-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 0.65rem 1.6rem;
  border-radius: 100px;
  font-family: var(--font-main);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: none;
  transition: all 0.3s ease;
}

.tab-btn.active {
  background: var(--lime);
  color: var(--ink);
  box-shadow: 0 4px 15px var(--lime-glow);
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
}

.time-card {
  background: var(--surface-2);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 1.75rem;
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.time-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-medium);
}

.time-card.featured {
  background: linear-gradient(135deg, rgba(200, 255, 62, 0.08) 0%, var(--surface-2) 100%);
  border-color: var(--lime-border);
}

.time-card.featured::before {
  content: 'HIGHLIGHT';
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  background: var(--lime);
  color: var(--ink);
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
}

.time-badge {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--lime);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.time-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.25;
}

.time-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ══ 5 CORE DOMAINS ══ */
.section-heading {
  margin-bottom: 3rem;
}

.s-label {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-subtle);
  margin-bottom: 0.75rem;
}

.s-title {
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.domain-card {
  grid-column: span 4;
  background: var(--surface-1);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
  position: relative;
  transition: all 0.4s ease;
}

.domain-card:hover {
  border-color: var(--lime-border);
  background: var(--surface-2);
  transform: translateY(-6px);
}

.domain-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 2.8rem;
  color: var(--text-subtle);
  line-height: 1;
  margin-bottom: 1.5rem;
  transition: color 0.3s ease;
}

.domain-card:hover .domain-num {
  color: var(--lime);
}

.domain-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.domain-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ══ INSTRUCTOR SECTION ══ */
.instructor-card {
  grid-column: span 12;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 3rem;
  align-items: center;
  background: var(--surface-1);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  padding: 3.5rem;
}

.instructor-avatar-wrap {
  aspect-ratio: 4/5;
  border-radius: 18px;
  background: linear-gradient(145deg, #1e1e1e 0%, #121212 100%);
  border: 1px solid var(--border-medium);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  position: relative;
}

.instructor-icon {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--lime-glow);
  border: 2px solid var(--lime);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.instructor-info h3 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
  letter-spacing: -0.03em;
}

.instructor-role {
  color: var(--lime);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.instructor-bio {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.75;
  font-weight: 300;
  margin-bottom: 2rem;
}

.cred-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.cred-tag {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
  font-size: 0.78rem;
  color: var(--paper);
}

/* ══ ENROLLMENT FORM SECTION ══ */
.enroll-section {
  grid-column: span 12;
  background: var(--surface-1);
  border: 1px solid var(--border-light);
  border-radius: 28px;
  padding: 4rem 3.5rem;
  margin-top: 3rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.fg-6 { grid-column: span 6; }
.fg-4 { grid-column: span 4; }
.fg-3 { grid-column: span 3; }
.fg-12 { grid-column: span 12; }

label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--paper);
}

label span.req {
  color: var(--lime);
  margin-left: 0.2rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  background: var(--surface-2);
  border: 1px solid var(--border-medium);
  color: var(--paper);
  padding: 0.9rem 1.25rem;
  border-radius: 12px;
  font-family: var(--font-main);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
  border-color: var(--lime);
  box-shadow: 0 0 15px var(--lime-glow);
}

select option {
  background: var(--surface-1);
  color: var(--paper);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 0;
}

.checkbox-group input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--lime);
  cursor: pointer;
  margin-top: 0.2rem;
}

.checkbox-label {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  text-transform: none;
  font-weight: 400;
}

.checkbox-label a {
  color: var(--lime);
  text-decoration: underline;
  cursor: pointer;
}

.price-summary-box {
  grid-column: span 12;
  background: var(--surface-2);
  border: 1px solid var(--lime-border);
  border-radius: 16px;
  padding: 1.75rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.price-display {
  display: flex;
  flex-direction: column;
}

.price-val {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--lime);
  line-height: 1;
}

.price-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
}

.submit-btn {
  background: var(--lime);
  color: var(--ink);
  border: none;
  padding: 1.1rem 2.8rem;
  border-radius: 100px;
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: none;
  transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.submit-btn:hover {
  transform: scale(1.04);
  box-shadow: 0 0 35px var(--lime-glow);
}

/* ══ MODAL STYLING (STUDENT AGREEMENT) ══ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9500;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: var(--surface-1);
  border: 1px solid var(--border-medium);
  border-radius: 24px;
  max-width: 800px;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8);
}

.modal-header {
  padding: 1.75rem 2.5rem;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  font-size: 1.4rem;
  font-weight: 800;
}

.modal-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.8rem;
  cursor: none;
  transition: color 0.3s;
}

.modal-close:hover {
  color: var(--lime);
}

.modal-body {
  padding: 2.5rem;
  overflow-y: auto;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.modal-body h4 {
  color: var(--paper);
  margin: 1.5rem 0 0.5rem;
  font-size: 1.05rem;
}

.modal-body p {
  margin-bottom: 1rem;
}

/* ══ FOOTER ══ */
footer {
  background: #050505;
  border-top: 1px solid var(--border-light);
  padding: 3rem 0;
  margin-top: 6rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-copy {
  font-size: 0.82rem;
  color: var(--text-subtle);
}

/* ══ REVEAL ANIMATIONS ══ */
.r {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.r.on {
  opacity: 1;
  transform: translateY(0);
}

.rd1 { transition-delay: 0.1s; }
.rd2 { transition-delay: 0.2s; }
.rd3 { transition-delay: 0.3s; }
.rd4 { transition-delay: 0.4s; }

/* ══ RESPONSIVE MEDIA QUERIES ══ */
@media (max-width: 1024px) {
  .hero-main-card { grid-column: span 12; }
  .hero-side-card { grid-column: span 12; margin-top: 1.5rem; }
  .domain-card { grid-column: span 6; }
  .instructor-card { grid-template-columns: 1fr; gap: 2rem; }
  .instructor-avatar-wrap { aspect-ratio: 16/9; }
}

@media (max-width: 768px) {
  nav { padding: 1.25rem 1.5rem; }
  .nav-links { display: none; }
  .domain-card { grid-column: span 12; }
  .fg-6, .fg-4, .fg-3 { grid-column: span 12; }
  .enroll-section { padding: 2.5rem 1.5rem; }
  .schedule-section { padding: 2rem 1.5rem; }
}
