/* palette: bg=#F4DFF1 fg=#2A1B3D accent=#FF6EC7 */
/* fonts: display="Orbitron" body="Inter" mono="Space Mono" */

:root {
  --bg: #F4DFF1;
  --bg-alt: #DCF3E5;
  --bg-deep: #E0D4F7;
  --fg: #2A1B3D;
  --fg-soft: #4A3B5D;
  --muted: #8B7AA6;
  --accent: #FF6EC7;
  --accent-deep: #6C5CE7;
  --mint: #7FE7C4;
  --lavender: #B9A6F0;
  --sun: #FFD3E0;
  --border: rgba(42, 27, 61, 0.14);
  --grid: rgba(42, 27, 61, 0.08);
  --serif: 'Orbitron', ui-sans-serif, sans-serif;
  --sans: 'Inter', ui-sans-serif, sans-serif;
  --mono: 'Space Mono', ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
  color: var(--fg);
  background:
    linear-gradient(180deg, var(--bg) 0%, var(--bg) 60%, var(--bg-deep) 100%);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }

/* Decorative grid pattern overlay (vaporwave 80s) */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

main, .header, .footer { position: relative; z-index: 1; }

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- TYPOGRAPHY ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-deep);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 28px;
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--accent-deep);
}

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em; margin: 0; }

.h-display {
  font-size: clamp(3.5rem, 10vw, 9rem);
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 0.94;
}
.h-display em {
  font-style: normal;
  color: var(--accent);
  font-weight: 400;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.h-section {
  font-size: clamp(2.5rem, 6vw, 5rem);
  letter-spacing: -0.025em;
  line-height: 1.02;
  font-weight: 400;
}

.h-card {
  font-size: clamp(1.4rem, 2vw, 1.75rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.18;
  font-family: var(--serif);
}

.lede {
  font-size: clamp(1.05rem, 1.5vw, 1.18rem);
  line-height: 1.78;
  color: var(--fg-soft);
  max-width: 56ch;
}

.kanji-mark {
  font-family: var(--serif);
  letter-spacing: 0.05em;
  color: var(--accent);
  opacity: 0.82;
}

/* ---------- HEADER ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 223, 241, 0.78);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  transition: box-shadow 0.4s var(--ease), background 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.header[data-scrolled="true"] {
  box-shadow: 0 6px 28px -10px rgba(108, 92, 231, 0.18);
  border-bottom-color: var(--border);
  background: rgba(244, 223, 241, 0.92);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.brand__mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: conic-gradient(from 200deg, var(--accent), var(--lavender), var(--mint), var(--accent));
  position: relative;
  flex-shrink: 0;
}
.brand__mark::after {
  content: '';
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: var(--bg);
}
.brand__mark::before {
  content: '';
  position: absolute;
  inset: 13px;
  border-radius: 50%;
  background: var(--accent);
}
.brand__name { display: flex; flex-direction: column; line-height: 1; gap: 3px; }
.brand__sub { font-family: var(--mono); font-size: 9px; letter-spacing: 0.32em; color: var(--accent-deep); text-transform: uppercase; }

.nav {
  display: none;
  align-items: center;
  gap: 36px;
}
.nav a {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  position: relative;
  padding: 8px 0;
  transition: color 0.3s var(--ease);
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav a:hover { color: var(--accent-deep); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }

.header__cta {
  display: none;
  align-items: center;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 26px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border-radius: 9999px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), background 0.3s var(--ease);
  white-space: nowrap;
}
.btn--primary {
  background: var(--fg);
  color: var(--bg);
  box-shadow: 0 6px 24px -8px rgba(42, 27, 61, 0.4);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px -10px rgba(108, 92, 231, 0.5); background: var(--accent-deep); }
.btn--accent {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #fff;
  box-shadow: 0 6px 28px -6px rgba(255, 110, 199, 0.55);
}
.btn--accent:hover { transform: translateY(-2px); box-shadow: 0 14px 36px -8px rgba(255, 110, 199, 0.7); }
.btn--ghost {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--fg);
}
.btn--ghost:hover { background: var(--fg); color: var(--bg); transform: translateY(-2px); }
.btn .arrow { transition: transform 0.4s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.menu-toggle {
  width: 44px;
  height: 44px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.menu-toggle span {
  width: 22px;
  height: 1.5px;
  background: var(--fg);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 84px 0 0 0;
  background: var(--bg);
  z-index: 99;
  padding: 48px 32px;
  transform: translateY(-100%);
  transition: transform 0.5s var(--ease);
  visibility: hidden;
  overflow-y: auto;
}
.mobile-menu[data-open="true"] { transform: translateY(0); visibility: visible; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 8px; }
.mobile-menu a {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  letter-spacing: -0.01em;
}
.mobile-menu a:last-of-type { border-bottom: 0; }
.mobile-menu .btn { margin-top: 28px; align-self: flex-start; }

/* ---------- HERO ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(ellipse 700px 500px at 80% 30%, rgba(255, 110, 199, 0.32), transparent 70%),
    radial-gradient(ellipse 600px 480px at 15% 70%, rgba(127, 231, 196, 0.4), transparent 70%),
    radial-gradient(ellipse 500px 380px at 60% 90%, rgba(185, 166, 240, 0.5), transparent 70%);
  filter: blur(20px);
  z-index: -1;
  animation: heroFloat 18s ease-in-out infinite alternate;
}
@keyframes heroFloat {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-30px, 30px) scale(1.08); }
}

.hero__sun {
  position: absolute;
  right: -8%;
  top: 18%;
  width: clamp(280px, 38vw, 540px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(180deg, #FFD3E0 0%, #FF6EC7 60%, #6C5CE7 100%);
  box-shadow: 0 0 120px 20px rgba(255, 110, 199, 0.3);
  z-index: 0;
  animation: heroZoom 8s ease-out;
}
.hero__sun::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    repeating-linear-gradient(0deg, transparent 0 18px, rgba(244, 223, 241, 0.85) 18px 22px);
  mask-image: linear-gradient(180deg, transparent 50%, black 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 50%, black 100%);
}

@keyframes heroZoom {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}

.hero__inner { position: relative; z-index: 2; }

.hero__meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: end;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.hero__stat .num {
  font-family: var(--serif);
  font-size: clamp(3rem, 5vw, 4.4rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
  display: block;
  background: linear-gradient(135deg, var(--accent-deep), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__stat .label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-soft);
  margin-top: 10px;
  display: block;
}
.hero__floating {
  font-family: var(--serif);
  font-size: clamp(1rem, 1.2vw, 1.05rem);
  color: var(--accent-deep);
  letter-spacing: 0.05em;
}
.hero__floating .jp { display: block; font-size: 1.6em; color: var(--fg); margin-bottom: 6px; letter-spacing: 0.1em; }

.hero__scroll {
  position: absolute;
  left: 32px;
  bottom: 40px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--fg-soft);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 3;
}
.hero__scroll::after {
  content: '';
  width: 1px;
  height: 60px;
  background: linear-gradient(180deg, var(--fg-soft), transparent);
  animation: scrollPulse 2.4s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.3); }
}

/* ---------- FEATURED COURSE ---------- */
.featured {
  padding: clamp(80px, 12vw, 160px) 0;
}
.featured__card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: var(--fg);
  color: var(--bg);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 20px 80px -20px rgba(108, 92, 231, 0.4);
  position: relative;
}
.featured__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--mint) 50%, var(--lavender) 100%);
  z-index: 3;
}
.featured__visual {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
}
.featured__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: luminosity;
  opacity: 0.85;
}
.featured__visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 50%, rgba(42, 27, 61, 0.5) 100%),
    repeating-linear-gradient(90deg, transparent 0 60px, rgba(244, 223, 241, 0.06) 60px 61px);
}
.featured__tag {
  position: absolute;
  top: 28px;
  left: 28px;
  z-index: 2;
  background: rgba(244, 223, 241, 0.92);
  color: var(--fg);
  padding: 8px 14px;
  border-radius: 9999px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.featured__body { padding: clamp(32px, 5vw, 64px); display: flex; flex-direction: column; gap: 24px; }
.featured__body h2 { color: var(--bg); }
.featured__body .lede { color: rgba(244, 223, 241, 0.74); }
.featured__meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 12px;
  padding-top: 24px;
  border-top: 1px solid rgba(244, 223, 241, 0.18);
}
.featured__meta-row > div { display: flex; flex-direction: column; gap: 4px; }
.featured__meta-row .label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(244, 223, 241, 0.5); }
.featured__meta-row .value { font-family: var(--serif); font-size: 1.2rem; color: var(--bg); }
.featured__cta { margin-top: 16px; }

/* ---------- SECTIONS ---------- */
.section {
  padding: clamp(80px, 12vw, 160px) 0;
  position: relative;
}
.section--mint { background: var(--bg-alt); }
.section--lavender { background: var(--bg-deep); }
.section--dark { background: var(--fg); color: var(--bg); }
.section--dark .lede { color: rgba(244, 223, 241, 0.72); }
.section--dark .h-section, .section--dark h3 { color: var(--bg); }
.section--dark .eyebrow { color: var(--accent); }
.section--dark .eyebrow::before { background: var(--accent); }

.section__head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 64px;
  align-items: end;
}
.section__head .right { max-width: 48ch; }

/* ---------- COURSE CATALOG ---------- */
.catalog {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.course-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  box-shadow: 0 4px 24px -4px rgba(108, 92, 231, 0.08);
}
.course-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px -10px rgba(108, 92, 231, 0.22);
}
.course-card__visual {
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
}
.course-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.course-card:hover .course-card__visual img { transform: scale(1.06); }
.course-card__visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(42, 27, 61, 0.4) 100%);
  z-index: 1;
}
.course-card__num {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  background: rgba(244, 223, 241, 0.92);
  color: var(--fg);
  padding: 6px 12px;
  border-radius: 9999px;
}
.course-card__jp {
  position: absolute;
  bottom: 18px;
  left: 18px;
  z-index: 2;
  font-family: var(--serif);
  font-size: 28px;
  color: var(--bg);
  letter-spacing: 0.05em;
  text-shadow: 0 2px 12px rgba(42, 27, 61, 0.6);
}
.course-card__body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}
.course-card__cat {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-deep);
}
.course-card__body h3 { font-size: 1.35rem; line-height: 1.2; }
.course-card__body p { color: var(--fg-soft); margin: 0; font-size: 0.96rem; }
.course-card__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  margin-top: auto;
  border-top: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.course-card__foot .price { color: var(--accent-deep); font-weight: 700; }

/* ---------- INSTRUCTOR ---------- */
.instructor {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}
.instructor__photo-wrap {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 20px;
  overflow: hidden;
  background: var(--lavender);
  box-shadow: 0 30px 60px -20px rgba(108, 92, 231, 0.4);
}
.instructor__photo-wrap::before {
  content: '';
  position: absolute;
  inset: -10px;
  background: linear-gradient(135deg, var(--accent), var(--mint), var(--lavender));
  border-radius: 24px;
  z-index: -1;
  filter: blur(20px);
  opacity: 0.6;
}
.instructor__photo-wrap img { width: 100%; height: 100%; object-fit: cover; }
.instructor__photo-wrap .jp-watermark {
  position: absolute;
  top: 24px;
  right: 24px;
  font-family: var(--serif);
  font-size: 36px;
  color: var(--bg);
  letter-spacing: 0.05em;
  mix-blend-mode: difference;
  z-index: 2;
}
.instructor__bio h2 { margin-bottom: 24px; }
.instructor__bio .name {
  font-family: var(--serif);
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-deep);
  display: block;
  margin-bottom: 8px;
}
.instructor__credentials {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 32px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.instructor__credentials .num {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 400;
  color: var(--accent-deep);
  letter-spacing: -0.02em;
  display: block;
}
.instructor__credentials .lbl {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-soft);
  margin-top: 4px;
}

/* ---------- TESTIMONIALS ---------- */
.testimonials {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.testimonial {
  background: rgba(244, 223, 241, 0.06);
  border: 1px solid rgba(244, 223, 241, 0.18);
  border-radius: 20px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}
.testimonial::before {
  content: '';
  position: absolute;
  top: 24px;
  right: 28px;
  width: 32px;
  height: 32px;
  background:
    radial-gradient(circle at 30% 30%, var(--accent), var(--accent-deep));
  border-radius: 50%;
  opacity: 0.5;
}
.testimonial__quote-mark {
  font-family: var(--serif);
  font-size: 64px;
  line-height: 0.5;
  color: var(--accent);
  margin-bottom: -12px;
}
.testimonial__text {
  font-family: var(--serif);
  font-size: 1.18rem;
  line-height: 1.42;
  letter-spacing: -0.01em;
  color: var(--bg);
  margin: 0;
}
.testimonial__author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(244, 223, 241, 0.16);
}
.testimonial__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--lavender);
}
.testimonial__avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial__author .name { font-family: var(--serif); font-size: 0.98rem; color: var(--bg); display: block; letter-spacing: 0.02em; }
.testimonial__author .role { font-family: var(--mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(244, 223, 241, 0.55); margin-top: 4px; display: block; }

/* ---------- MANIFESTO ---------- */
.manifesto {
  text-align: center;
  padding: clamp(80px, 14vw, 180px) 0;
}
.manifesto__statement {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.18;
  letter-spacing: -0.025em;
  font-weight: 300;
  max-width: 22ch;
  margin: 0 auto;
}
.manifesto__statement em {
  font-style: normal;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.manifesto__jp {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 0.18em;
  color: var(--accent-deep);
  margin-bottom: 32px;
  display: block;
}

/* ---------- ENROLL CTA ---------- */
.enroll {
  position: relative;
  overflow: hidden;
  padding: clamp(80px, 12vw, 160px) 0;
}
.enroll__inner {
  background: linear-gradient(135deg, #2A1B3D 0%, #6C5CE7 60%, #FF6EC7 100%);
  border-radius: 32px;
  padding: clamp(48px, 8vw, 96px);
  position: relative;
  overflow: hidden;
  color: var(--bg);
}
.enroll__inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(244, 223, 241, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 223, 241, 0.08) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at top right, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at top right, black 0%, transparent 70%);
}
.enroll__inner::after {
  content: '';
  position: absolute;
  width: 380px;
  height: 380px;
  right: -100px;
  top: -120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 211, 224, 0.6) 0%, transparent 70%);
  filter: blur(20px);
}
.enroll__head { position: relative; z-index: 1; max-width: 760px; }
.enroll__head h2 { color: var(--bg); }
.enroll__pricing {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid rgba(244, 223, 241, 0.18);
}
.tier {
  background: rgba(244, 223, 241, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(244, 223, 241, 0.18);
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.4s var(--ease);
}
.tier:hover { transform: translateY(-4px); }
.tier--featured { background: rgba(255, 110, 199, 0.16); border-color: rgba(255, 110, 199, 0.4); }
.tier__name { font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; }
.tier__price { font-family: var(--serif); font-size: 2.6rem; font-weight: 400; letter-spacing: -0.02em; }
.tier__price small { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; opacity: 0.7; display: block; margin-top: 2px; }
.tier__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; font-size: 0.96rem; color: rgba(244, 223, 241, 0.85); }
.tier__list li { padding-left: 20px; position: relative; }
.tier__list li::before { content: '◇'; position: absolute; left: 0; color: var(--accent); }
.tier .btn { margin-top: auto; align-self: flex-start; }

/* ---------- VALUES (SERVICES PAGE) ---------- */
.value-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--border);
}
.value {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
}
.value__num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--accent-deep);
}
.value h3 {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: -0.02em;
  font-weight: 400;
  line-height: 1.1;
}
.value p { color: var(--fg-soft); margin: 0; }
.value__list { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-direction: column; gap: 6px; }
.value__list li {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--fg-soft);
  padding-left: 18px;
  position: relative;
}
.value__list li::before { content: '↳'; position: absolute; left: 0; color: var(--accent); }

/* ---------- ABOUT TIMELINE ---------- */
.timeline { display: grid; grid-template-columns: 1fr; gap: 0; }
.tl-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}
.tl-item__year {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--accent-deep);
}
.tl-item__title { font-family: var(--serif); font-size: 1.3rem; font-weight: 500; letter-spacing: -0.01em; margin-bottom: 6px; }
.tl-item__desc { color: var(--fg-soft); margin: 0; }

/* ---------- CONTACT ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
}
.form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-soft);
}
.field input, .field textarea, .field select {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  color: var(--fg);
  font-size: 17px;
  outline: none;
  transition: border-color 0.3s var(--ease);
  font-family: var(--sans);
}
.field input:focus, .field textarea:focus, .field select:focus { border-bottom-color: var(--accent); }
.field textarea { min-height: 120px; resize: vertical; font-family: var(--sans); }
.form__row { display: grid; grid-template-columns: 1fr; gap: 24px; }
.form__submit { margin-top: 16px; }
.form .checkbox { flex-direction: row; align-items: flex-start; gap: 10px; }
.form .checkbox input { width: 16px; height: 16px; flex-shrink: 0; margin-top: 4px; }
.form .checkbox label { font-family: var(--sans); font-size: 13px; letter-spacing: 0; text-transform: none; color: var(--fg-soft); line-height: 1.5; }

.contact-info { display: flex; flex-direction: column; gap: 32px; }
.contact-info__block h4 {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-deep);
  font-weight: 600;
  margin: 0 0 12px;
}
.contact-info__block p { margin: 0; color: var(--fg-soft); line-height: 1.65; }
.contact-info__block a:hover { color: var(--accent-deep); }

/* ---------- FOOTER ---------- */
.footer {
  background: var(--fg);
  color: rgba(244, 223, 241, 0.75);
  padding: 80px 0 36px;
  margin-top: 0;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent) 50%, transparent);
}
.footer .container { position: relative; z-index: 1; }
.footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(244, 223, 241, 0.15);
}
.footer__brand h4 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 2rem;
  color: var(--bg);
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}
.footer__brand p { max-width: 36ch; line-height: 1.65; font-size: 0.96rem; }
.footer__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.footer__col h5 {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 18px;
  font-weight: 600;
}
.footer__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer__col a { font-size: 0.94rem; transition: color 0.2s; }
.footer__col a:hover { color: var(--bg); }
.footer__bottom {
  padding-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(244, 223, 241, 0.5);
}
.footer__bottom .legal-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer__bottom .legal-links a:hover { color: var(--bg); }
.footer__bottom .jp { font-family: var(--serif); font-size: 14px; letter-spacing: 0.16em; color: var(--accent); }

/* ---------- COOKIE POPUP ---------- */
.cookie-popup {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 24px;
  background: rgba(42, 27, 61, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.cookie-popup[data-open="true"] { opacity: 1; pointer-events: all; }
.cookie-popup__card {
  background: var(--bg);
  padding: 32px 36px;
  max-width: 480px;
  border-radius: 20px;
  box-shadow: 0 30px 60px -10px rgba(42, 27, 61, 0.4);
  border: 1px solid var(--border);
}
.cookie-popup__label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 12px;
}
.cookie-popup h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
}
.cookie-popup p { font-size: 0.94rem; color: var(--fg-soft); margin: 0; line-height: 1.6; }
.cookie-popup__actions { display: flex; gap: 12px; margin-top: 24px; }
.cookie-popup__actions button {
  padding: 12px 24px;
  border: 1px solid var(--border);
  cursor: pointer;
  font-size: 11px;
  font-family: var(--mono);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border-radius: 9999px;
  transition: all 0.3s var(--ease);
  background: transparent;
  color: var(--fg);
}
.cookie-popup__actions button:last-child {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}
.cookie-popup__actions button:hover { transform: translateY(-1px); }
.cookie-popup__actions button:last-child:hover { background: var(--accent-deep); border-color: var(--accent-deep); }

/* ---------- LEGAL PAGES ---------- */
.legal {
  padding: clamp(60px, 10vw, 120px) 0;
  max-width: 800px;
}
.legal h1 {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1.04;
  margin: 0 0 24px;
}
.legal h2 {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 56px 0 16px;
  color: var(--accent-deep);
}
.legal h3 { font-family: var(--serif); font-size: 1.2rem; margin: 32px 0 12px; font-weight: 600; }
.legal p, .legal li { color: var(--fg-soft); line-height: 1.78; }
.legal ul { padding-left: 24px; }
.legal li { margin-bottom: 8px; }
.legal__updated { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; color: var(--muted); text-transform: uppercase; margin-bottom: 56px; display: block; }
.legal a { color: var(--accent-deep); border-bottom: 1px solid var(--accent); }

/* ---------- SCROLL REVEAL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- MEDIA QUERIES ---------- */
@media (min-width: 700px) {
  .hero__meta { grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
  .catalog { grid-template-columns: 1fr 1fr; }
  .testimonials { grid-template-columns: 1fr 1fr; }
  .footer__cols { grid-template-columns: 1fr 1fr 1fr; }
  .form__row { grid-template-columns: 1fr 1fr; }
  .section__head { grid-template-columns: 1.2fr 1fr; }
  .featured__card { grid-template-columns: 1.1fr 1fr; }
  .featured__visual { aspect-ratio: auto; min-height: 480px; }
  .enroll__pricing { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
  .nav { display: flex; }
  .header__cta { display: flex; }
  .menu-toggle { display: none; }
  .catalog { grid-template-columns: repeat(3, 1fr); }
  .testimonials { grid-template-columns: repeat(3, 1fr); }
  .instructor { grid-template-columns: 1fr 1.2fr; gap: 80px; }
  .footer__top { grid-template-columns: 1.2fr 2fr; }
  .footer__cols { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1.4fr 1fr; gap: 96px; }
  .enroll__pricing { grid-template-columns: repeat(3, 1fr); }
  .value { grid-template-columns: 100px 1fr 1fr; gap: 56px; align-items: start; }
  .value h3 { margin-top: 0; }
  .footer__bottom { flex-direction: row; justify-content: space-between; align-items: center; }
  .tl-item { grid-template-columns: 180px 1fr; gap: 56px; align-items: baseline; }
}

@media (max-width: 700px) {
  .container { padding: 0 20px; }
  .hero__scroll { display: none; }
  .featured__card { border-radius: 20px; }
  .enroll__inner { border-radius: 24px; padding: 40px 28px; }
}
