/* Classes page — full scroll narrative */

.classes-page {
  padding-top: 0;
  padding-bottom: 0;
}

.cp-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.cp-section {
  padding: 72px 0;
}

#open-class {
  padding: 122px 0;
}

#open-class .cp-title {
  margin-bottom: 22px;
}

#open-class .cp-section-head {
  margin-bottom: 50px;
}

#faq {
  padding: 122px 0;
}

.cp-section-head {
  margin-bottom: 40px;
}

.cp-section-head.center {
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.cp-section-head.center .cp-pill,
.cp-join-head .cp-pill,
.cp-feature-band-head .cp-pill {
  margin-left: auto;
  margin-right: auto;
}

.cp-title {
  font-size: clamp(32px, 4.95vw, 58px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.05;
  margin-bottom: 12px;
}

.cp-lede {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 560px;
}

.cp-section-head.center .cp-lede {
  margin: 0 auto;
}

/* Classes page — card entry reveals */
.classes-page .reveal:not(.is-visible) {
  pointer-events: none;
}

.classes-page .cp-cat-card.reveal.is-visible,
.classes-page .cp-open-card.reveal.is-visible,
.classes-page .cp-band-card.reveal.is-visible,
.classes-page .cp-matrix-cell.reveal.is-visible,
.classes-page .cp-open-meta div.reveal.is-visible,
.classes-page .cp-recommend li.reveal.is-visible,
.classes-page .cp-faq details.reveal.is-visible {
  will-change: transform, opacity;
}

@media (prefers-reduced-motion: reduce) {
  .classes-page .reveal:not(.is-visible) {
    pointer-events: auto;
  }
}

/* 01 HERO */
.classes-page-hero {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: none;
  margin: 0;
  min-height: min(92vh, 820px);
  display: flex;
  align-items: center;
  padding: calc(14px + var(--header-h) + 56px) 24px 100px;
}

.classes-page-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.classes-page-hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.classes-page-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.classes-page-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
}

.classes-page-hero-copy {
  min-width: 0;
  max-width: 720px;
}

.classes-page-hero-copy .cp-pill {
  margin-bottom: 24px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.classes-page-hero h1 {
  font-size: clamp(40px, 6.5vw, 72px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.08;
  margin-bottom: 20px;
  color: #fff;
}

.classes-page-hero .lede {
  font-size: 17px;
  max-width: 520px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 28px;
}

.classes-page-hero .btn-solid {
  border: none;
  box-shadow: none;
}

.classes-page-hero .btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.classes-page-hero .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  color: #fff;
}

.classes-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.classes-hero-droplets {
  position: relative;
  width: 100%;
  min-height: 300px;
  pointer-events: none;
}

.classes-hero-droplets i {
  position: absolute;
  display: block;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.15) 28%, transparent 46%),
    linear-gradient(145deg, #8b6cf5 0%, #e3467d 100%);
  box-shadow: 0 14px 32px rgba(227, 70, 125, 0.24);
}

.classes-hero-droplets i:nth-child(1) {
  width: clamp(96px, 14vw, 128px);
  height: clamp(96px, 14vw, 128px);
  left: 42%;
  top: 46%;
  transform: translate(-50%, -50%);
  animation: classes-droplet-main 4s ease-in-out infinite;
}

.classes-hero-droplets i:nth-child(2) {
  width: clamp(56px, 8vw, 76px);
  height: clamp(56px, 8vw, 76px);
  left: 8%;
  top: 6%;
  animation: classes-droplet-drift 4.4s ease-in-out infinite;
}

.classes-hero-droplets i:nth-child(3) {
  width: clamp(36px, 5vw, 48px);
  height: clamp(36px, 5vw, 48px);
  right: 6%;
  bottom: 8%;
  animation: classes-droplet-drift 3.6s ease-in-out infinite reverse;
}

@keyframes classes-droplet-main {
  0%, 100% { transform: translate(-50%, -50%) translateY(0) rotate(-3deg) scale(1); }
  50% { transform: translate(-50%, -50%) translateY(-16px) rotate(4deg) scale(1.04); }
}

@keyframes classes-droplet-drift {
  0%, 100% { transform: translateY(0) translateX(0) scale(1); opacity: 0.82; }
  50% { transform: translateY(-12px) translateX(6px) scale(1.08); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .classes-page-hero-video {
    display: none;
  }

  .classes-page-hero-overlay {
    background: rgba(0, 0, 0, 0.65);
  }

  .classes-hero-droplets i { animation: none; }
  .cp-category-blob { animation: none; }
  .cp-category-sparkles { display: none; }
  .cp-band-card:hover,
  .cp-band-card.reveal.is-visible:hover {
    transform: none;
  }
}

/* 02 CATEGORY — ploy-style panel */
.cp-category {
  padding: 0 10px;
  margin-top: 12px;
}

.cp-category-panel {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #ebe6f7 0%, #e4dff5 45%, #f0e6f4 100%);
  border-radius: var(--radius-xl);
  padding: 116px 0;
  border: 1px solid rgba(79, 58, 183, 0.08);
}

.cp-category-sparkles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.cp-sparkle {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.35);
  animation: cp-sparkle-twinkle var(--t, 4.8s) ease-in-out infinite;
  animation-delay: var(--d, 0s);
  opacity: 0;
}

.cp-sparkle.is-soft {
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.28);
}

@keyframes cp-sparkle-twinkle {
  0%, 100% {
    opacity: 0;
    transform: scale(0.5);
  }

  48%, 52% {
    opacity: 0.75;
    transform: scale(1);
  }
}

.cp-category-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 40px;
}

.cp-category-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 50px;
}

.cp-category-header .cp-lede {
  max-width: none;
  white-space: nowrap;
}

.cp-category-title {
  display: flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
  max-width: 100%;
  text-align: left;
}

.cp-category-blob {
  width: clamp(40px, 5vw, 52px);
  height: clamp(40px, 5vw, 52px);
  object-fit: contain;
  flex-shrink: 0;
  filter: hue-rotate(200deg) saturate(1.1);
  opacity: 0.9;
  animation: cp-blob-float 3.8s ease-in-out infinite;
  margin-right: 8px;
}

@keyframes cp-blob-float {
  0%, 100% {
    transform: translateY(0) rotate(-4deg);
  }
  50% {
    transform: translateY(-12px) rotate(5deg);
  }
}

.cp-category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.cp-cat-card {
  background: #fff;
  border-radius: 20px;
  padding: 28px 26px 26px;
  border: 1px solid rgba(35, 37, 42, 0.06);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 100%;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease,
    border-color 0.25s ease;
}

.cp-cat-card:hover {
  transform: translateY(-4px);
  background: #ebe6f7;
  border-color: rgba(79, 58, 183, 0.14);
  box-shadow: 0 16px 40px rgba(79, 58, 183, 0.12);
}

.cp-cat-card.is-soon {
  opacity: 0.92;
}

.cp-cat-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #1f2227;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-bottom: 4px;
}

.cp-cat-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-purple);
}

.cp-cat-label.is-soon {
  color: var(--ink-faint);
}

.cp-cat-card h3 {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.cp-cat-card > p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* 03 OPEN CLASS */
.cp-open-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 0;
  background: #fff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.cp-open-visual {
  position: relative;
  min-height: 420px;
}

.cp-open-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cp-open-visual .open-badge {
  position: absolute;
  left: 24px;
  top: 24px;
  display: inline-flex;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1f2227;
  background: #d4f264;
  border-radius: 999px;
  padding: 8px 14px;
}

.cp-open-body {
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cp-open-body h3 {
  font-size: clamp(28px, 3.5vw, 38px);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.cp-open-body .cp-open-lead {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.6;
}

.cp-open-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 8px;
  width: 100%;
}

.cp-open-meta div {
  padding: 18px 20px;
  background: var(--bg);
  border-radius: 14px;
  border: 1px solid var(--line);
  min-height: 72px;
  transition:
    background-color 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.cp-open-meta div:hover {
  background: #ebe6f7;
  border-color: rgba(79, 58, 183, 0.14);
  box-shadow: 0 12px 32px rgba(79, 58, 183, 0.1);
}

.cp-open-meta dt {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 4px;
}

.cp-open-meta dd {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.cp-open-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: auto;
  padding-top: 16px;
}

/* 04 WHY — ploy split feature */
.cp-pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 999px;
  background: #1f2227;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.cp-pill-accent {
  color: #d4f264;
}

.cp-feature-split {
  padding: 122px 0 72px;
}

.cp-feature-split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.cp-feature-copy .cp-title {
  text-align: left;
  margin-bottom: 18px;
}

.cp-feature-lede {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 440px;
}

.cp-feature-matrix {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid rgba(35, 37, 42, 0.1);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
}

.cp-matrix-cell {
  padding: 28px 24px;
  border-right: 1px solid rgba(35, 37, 42, 0.08);
  border-bottom: 1px solid rgba(35, 37, 42, 0.08);
  transition: background-color 0.25s ease;
}

.cp-matrix-cell:hover {
  background: #ebe6f7;
}

.cp-matrix-cell:nth-child(2n) {
  border-right: none;
}

.cp-matrix-cell:nth-child(3) {
  grid-column: 1 / -1;
  border-right: none;
  border-bottom: none;
}

.cp-matrix-cell h3 {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
  line-height: 1.3;
}

.cp-matrix-cell p {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* 05 CURRICULUM — ploy card band */
.cp-feature-band {
  padding: 0 0 72px;
}

.cp-feature-band-panel {
  background: #efecf4;
  border-radius: var(--radius-xl);
  padding: 73px 40px 57px;
}

.cp-feature-band-head {
  max-width: 640px;
  margin: 0 auto 47px;
  text-align: center;
}

.cp-feature-band-head .cp-title {
  margin-bottom: 0;
}

.cp-feature-band-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.cp-band-card {
  background: rgba(255, 255, 255, 0.62);
  border-radius: 18px;
  padding: 32px 22px;
  min-height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.7);
  transition:
    transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
    background-color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.cp-band-card:hover,
.cp-band-card.reveal.is-visible:hover {
  transform: translateY(-8px) scale(1.03);
  background: var(--brand-purple);
  border-color: rgba(79, 58, 183, 0.4);
  box-shadow: 0 18px 40px rgba(79, 58, 183, 0.22);
}

.cp-band-num {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--brand-purple);
  margin-bottom: 14px;
  transition: color 0.25s ease;
}

.cp-band-card:hover .cp-band-num {
  color: #d4f264;
}

.cp-band-card h3 {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
  line-height: 1.3;
  transition: color 0.25s ease;
}

.cp-band-card:hover h3 {
  color: #fff;
}

.cp-band-card p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.55;
  transition: color 0.25s ease;
}

.cp-band-card:hover p {
  color: rgba(255, 255, 255, 0.82);
}

/* 09 HOW TO JOIN — ploy-style switcher */
.cp-join-section {
  padding: 122px 0;
}

.cp-join-inner {
  display: flex;
  flex-direction: column;
}

.cp-join-head {
  max-width: 720px;
  margin: 0 auto 70px;
  text-align: center;
}

.cp-join-switcher {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 48px;
  align-items: start;
  width: min(1274px, 100%);
  max-width: 1274px;
  margin: 0 auto;
}

.cp-join-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.cp-join-tab {
  appearance: none;
  border: none;
  background: transparent;
  text-align: left;
  padding: 16px 18px 16px 20px;
  border-radius: 14px;
  cursor: pointer;
  position: relative;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

.cp-join-tab::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 3px;
  border-radius: 999px;
  background: var(--gradient-h);
  opacity: 0;
  transform: scaleY(0.4);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.cp-join-tab-label {
  display: block;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink-soft);
  line-height: 1.4;
  transition: color 0.25s ease;
}

.cp-join-tab:hover .cp-join-tab-label,
.cp-join-tab:focus-visible .cp-join-tab-label {
  color: var(--ink);
}

.cp-join-tab:hover,
.cp-join-tab:focus-visible {
  background: rgba(79, 58, 183, 0.05);
  outline: none;
}

.cp-join-tab.is-active {
  background: rgba(79, 58, 183, 0.08);
}

.cp-join-tab.is-active::before {
  opacity: 1;
  transform: scaleY(1);
}

.cp-join-tab.is-active .cp-join-tab-label {
  color: var(--ink);
}

.cp-join-panels {
  position: relative;
  width: 100%;
  min-width: 0;
  min-height: 320px;
}

.cp-join-panel {
  position: absolute;
  inset: 0;
  width: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 36px 32px 32px;
  box-shadow: var(--shadow-card);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition:
    opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.cp-join-panel.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.cp-join-panel.is-leaving {
  position: absolute;
  opacity: 0;
  transform: translateY(-10px);
}

.cp-join-panel-num {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: rgba(35, 37, 42, 0.14);
  line-height: 1;
  margin-bottom: 18px;
}

.cp-join-panel h3 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
  line-height: 1.2;
}

.cp-join-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.cp-join-panel li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.cp-join-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gradient-h);
}

/* 10 RECOMMEND */
.cp-recommend {
  margin: 0 10px;
  padding: 48px 32px;
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow-card);
}

.cp-recommend-body {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 24px;
  align-items: stretch;
  margin-top: 24px;
}

.cp-recommend ul {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-top: 0;
}

.cp-recommend-visual {
  border-radius: 18px;
  overflow: hidden;
  min-height: 320px;
  background: var(--bg);
}

.cp-recommend-visual img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
}

.cp-recommend li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.55;
  padding: 16px 18px;
  background: var(--bg);
  border-radius: 14px;
}

.cp-recommend li::before {
  content: "→";
  flex-shrink: 0;
  font-weight: 800;
  color: var(--brand-purple);
}

/* 11 FAQ */
.cp-faq {
  display: grid;
  gap: 10px;
}

.cp-faq details {
  background: #fff;
  border-radius: 18px;
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(79, 58, 183, 0.05);
}

.cp-faq summary {
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cp-faq summary::-webkit-details-marker {
  display: none;
}

.cp-faq summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
  color: var(--brand-purple);
  flex-shrink: 0;
}

.cp-faq details[open] summary::after {
  content: "−";
}

.cp-faq details p {
  padding: 0 24px 20px;
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* 12 FINAL CTA */
.cp-final-cta {
  width: 80%;
  max-width: calc(var(--max) * 0.8);
  margin: 10px auto 60px;
  padding: 64px 32px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #4f3ab7 0%, #e3467d 100%);
  color: #fff;
  text-align: center;
}

.cp-final-cta h2 {
  font-size: clamp(22px, 3.47vw, 41px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.05;
  margin-bottom: 22px;
}

.cp-final-cta .cp-lede {
  color: rgba(255, 255, 255, 0.85);
  margin: 0 auto 28px;
  max-width: 480px;
}

/* Responsive */
@media (max-width: 1024px) {
  .cp-category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cp-feature-split-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .cp-feature-band-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .cp-recommend-body {
    grid-template-columns: 1fr;
  }

  .cp-open-card {
    grid-template-columns: 1fr;
  }

  .cp-open-visual {
    min-height: 280px;
  }
}

@media (max-width: 768px) {
  .classes-page-hero {
    min-height: min(88vh, 680px);
    padding: calc(14px + var(--header-h) + 40px) 20px 88px;
  }

  .cp-category {
    margin-top: 20px;
  }

  .cp-section {
    padding: 52px 0;
  }

  #open-class {
    padding: 102px 0;
  }

  #faq {
    padding: 102px 0;
  }

  .cp-wrap {
    padding: 0 20px;
  }

  .cp-category-panel {
    padding: 100px 0;
  }

  .cp-category-inner {
    padding: 0 20px;
  }

  .cp-category-header {
    margin-bottom: 54px;
  }

  .cp-category-header .cp-lede {
    white-space: normal;
  }

  .cp-category-title {
    flex-wrap: wrap;
  }

  .cp-category-blob {
    width: 40px;
    height: 40px;
  }

  .cp-category-grid,
  .cp-open-meta {
    grid-template-columns: 1fr;
  }

  .cp-feature-split {
    padding: 52px 0;
  }

  .cp-feature-band {
    padding: 0 0 52px;
  }

  .cp-feature-band-panel {
    padding: 52px 20px 42px;
  }

  .cp-feature-band-cards {
    grid-template-columns: 1fr;
  }

  .cp-feature-matrix {
    grid-template-columns: 1fr;
  }

  .cp-matrix-cell {
    border-right: none;
  }

  .cp-matrix-cell:nth-child(3) {
    grid-column: auto;
    border-bottom: 1px solid rgba(35, 37, 42, 0.08);
  }

  .cp-matrix-cell:last-child {
    border-bottom: none;
  }

  .cp-recommend-visual,
  .cp-recommend-visual img {
    min-height: 240px;
  }

  .cp-open-body {
    padding: 28px 24px;
  }

  .cp-final-cta {
    width: calc(100% - 20px);
    max-width: none;
    padding: 48px 24px;
  }

  .cp-join-section {
    padding: 102px 0;
  }

  .cp-join-head {
    margin-bottom: 52px;
  }

  .cp-join-switcher {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .cp-join-nav {
    position: static;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }

  .cp-join-tab {
    flex: 0 0 auto;
    padding: 12px 16px;
    transform: none !important;
  }

  .cp-join-tab::before {
    display: none;
  }

  .cp-join-tab-label {
    font-size: 14px;
    white-space: nowrap;
  }

  .cp-join-panels {
    min-height: 0;
  }

  .cp-join-panel {
    position: relative;
    inset: auto;
    padding: 28px 22px 24px;
  }

  .cp-join-panel:not(.is-active) {
    display: none;
  }

  .cp-join-panel.is-active {
    display: block;
  }
}

/* ===== INSTRUCTORS PAGE ===== */
.instructors-page {
  padding-top: 0;
  padding-bottom: 0;
}

.instructors-page .classes-page-hero h1 {
  font-size: clamp(36px, 5.5vw, 62px);
}

.br-mobile {
  display: none;
}

@media (max-width: 768px) {
  .br-mobile {
    display: inline;
  }

  .br-desktop {
    display: none;
  }
}

.instructors-page .reveal:not(.is-visible) {
  pointer-events: none;
}

.instructors-page .reveal.is-visible {
  pointer-events: auto;
}

#lineup {
  padding: 122px 0 72px;
}

#matching {
  padding: 72px 0 122px;
}

#process {
  padding: 122px 0;
}

#profile {
  padding-top: 122px;
}

#profile .cp-section-head {
  margin-bottom: 70px;
}

.ip-lineup-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.ip-filter-btn {
  appearance: none;
  border: 1px solid rgba(35, 37, 42, 0.12);
  background: #fff;
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ip-filter-btn.is-active,
.ip-filter-btn:hover {
  background: #1f2227;
  border-color: #1f2227;
  color: #fff;
}

.ip-lineup-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.ip-instructor-card {
  background: #fff;
  border-radius: 20px;
  border: 1px solid rgba(35, 37, 42, 0.08);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition:
    transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.25s ease;
}

.ip-instructor-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(79, 58, 183, 0.14);
}

.ip-instructor-card.is-hidden {
  display: none;
}

.ip-instructor-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.ip-instructor-card[data-id="park"] img {
  object-position: center 38%;
}

.ip-instructor-card[data-id="lee"] img {
  object-position: center 28%;
}

.ip-instructor-body {
  padding: 22px 22px 24px;
}

.ip-field {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--brand-purple);
  margin-bottom: 6px;
}

.ip-instructor-body h3 {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}

.ip-specialty {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
}

.ip-desc {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin-bottom: 14px;
}

.ip-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}

.ip-meta div {
  background: var(--bg);
  border-radius: 10px;
  padding: 10px 12px;
}

.ip-meta dt {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 2px;
}

.ip-meta dd {
  font-size: 13px;
  font-weight: 700;
}

.ip-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.ip-tags span {
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(79, 58, 183, 0.08);
  color: var(--brand-purple);
}

.ip-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ip-lineup-empty {
  text-align: center;
  padding: 48px 20px;
  color: var(--ink-soft);
  font-size: 15px;
}

.ip-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.ip-choice.cp-section {
  padding-top: 122px;
}

.ip-choice .cp-section-head.center .cp-title {
  white-space: nowrap;
}

.ip-choice-break {
  display: none;
}

.ip-choice .cp-section-head {
  margin-bottom: 70px;
}

.ip-choice-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}

.ip-choice-card h3 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.ip-choice-card p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 20px;
}

.ip-profile-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 0;
  background: #fff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  flex: 0 0 100%;
  min-width: 100%;
}

.ip-profile-slider {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
}

.ip-profile-viewport {
  overflow: hidden;
  min-width: 0;
}

.ip-profile-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.ip-profile-controls {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ip-profile-arrow {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(35, 37, 42, 0.12);
  background: #fff;
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.ip-profile-arrow:hover {
  transform: translateY(-2px);
  border-color: rgba(79, 58, 183, 0.35);
  color: var(--brand-purple);
}

.ip-profile-arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .ip-profile-track {
    transition: none;
  }
}

.ip-profile-visual {
  position: relative;
  min-height: 100%;
}

.ip-profile-visual img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.ip-profile-visual img.is-vocal {
  object-position: center 38%;
}

.ip-profile-visual img.is-video {
  object-position: center 28%;
}

.ip-profile-badge {
  position: absolute;
  left: 24px;
  bottom: 24px;
  background: rgba(31, 34, 39, 0.88);
  color: #fff;
  padding: 14px 18px;
  border-radius: 14px;
}

.ip-profile-badge span {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  opacity: 0.7;
  margin-bottom: 4px;
}

.ip-profile-badge strong {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.ip-profile-body {
  padding: 40px 36px;
}

.ip-profile-body h3 {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.ip-profile-block {
  margin-bottom: 22px;
}

.ip-profile-block h4 {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 8px;
}

.ip-profile-block p,
.ip-media-list {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.6;
}

.ip-media-list {
  list-style: none;
  display: grid;
  gap: 6px;
}

.ip-media-list li::before {
  content: "· ";
  color: var(--brand-purple);
  font-weight: 800;
}

.ip-note {
  font-size: 13px !important;
  color: var(--ink-faint) !important;
  margin-top: 6px;
}

.ip-profile-cta {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.ip-profile-cta p {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 14px;
}

.ip-matching-panel {
  background: #efecf4;
}

.ip-matching-lede {
  max-width: 560px;
  margin: 12px auto 0;
  text-align: center;
}

.ip-matching-form {
  max-width: 720px;
  margin: 36px auto 0;
  display: grid;
  gap: 24px;
}

fieldset.ip-form-field {
  border: none;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.ip-form-field legend,
.ip-form-field > label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 10px;
}

.ip-form-field legend span,
.ip-form-field label span {
  color: var(--brand-magenta);
}

.ip-chip-group--form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ip-chip-label {
  cursor: pointer;
}

.ip-chip-label input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.ip-chip-label span {
  display: inline-flex;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(35, 37, 42, 0.12);
  background: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  transition: all 0.2s ease;
}

.ip-chip-label input:checked + span {
  background: var(--brand-purple);
  border-color: var(--brand-purple);
  color: #fff;
}

.ip-form-field .ip-chip-group--form + .ip-text-input {
  margin-top: 10px;
}

.ip-text-input,
.ip-form-field input[type="text"],
.ip-form-field input[type="tel"],
.ip-form-field textarea {
  width: 100%;
  border: 1px solid rgba(35, 37, 42, 0.12);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 15px;
  font-family: inherit;
  background: rgba(255, 255, 255, 0.85);
}

.ip-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.ip-form-agree {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--ink-soft);
}

.ip-process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

#process .cp-join-head .cp-title {
  margin-bottom: 22px;
}

#process .cp-join-head .cp-lede {
  max-width: none;
  white-space: nowrap;
}

.ip-process-step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px 22px;
  box-shadow: var(--shadow-card);
  transition:
    background-color 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.ip-process-step:hover {
  background: #ebe6f7;
  border-color: rgba(79, 58, 183, 0.16);
  box-shadow: 0 12px 32px rgba(79, 58, 183, 0.12);
  animation: ip-process-shake 0.45s ease-in-out;
}

@keyframes ip-process-shake {
  0%, 100% { transform: rotate(0deg); }
  20% { transform: rotate(-1.4deg); }
  40% { transform: rotate(1.4deg); }
  60% { transform: rotate(-0.9deg); }
  80% { transform: rotate(0.9deg); }
}

@media (prefers-reduced-motion: reduce) {
  .ip-process-step:hover {
    animation: none;
  }
}

.ip-process-step span {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: var(--brand-purple);
  margin-bottom: 10px;
}

.ip-process-step h3 {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.ip-process-step p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.55;
}

.ip-final-note {
  margin-top: 20px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

.instructors-page .cp-final-cta h2 {
  font-weight: 700;
  line-height: 1.28;
}

.ip-recruit-apply {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 40px 36px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #4f3ab7 0%, #e3467d 100%);
  color: #fff;
  box-shadow: var(--shadow-card);
}

.ip-recruit-apply .cp-pill {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.ip-recruit-apply .cp-title,
.ip-recruit-apply .cp-lede {
  color: #fff;
  text-align: left;
}

.ip-recruit-apply .cp-lede {
  opacity: 0.88;
  margin-top: 10px;
}

.ip-recruit-apply-copy {
  max-width: 640px;
}

@media (max-width: 1024px) {
  .ip-lineup-grid,
  .ip-choice-grid {
    grid-template-columns: 1fr;
  }

  .ip-choice .cp-section-head.center .cp-title {
    white-space: normal;
  }

  .ip-choice-break {
    display: inline;
  }

  .ip-profile-card {
    grid-template-columns: 1fr;
  }

  .ip-profile-slider {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .ip-profile-controls {
    flex-direction: row;
    justify-content: center;
  }

  .ip-process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  #lineup,
  #matching,
  #process {
    padding: 72px 0;
  }

  .ip-form-row {
    grid-template-columns: 1fr;
  }

  .ip-process-grid {
    grid-template-columns: 1fr;
  }

  #process .cp-join-head .cp-lede {
    white-space: normal;
  }

  .ip-profile-body {
    padding: 28px 24px;
  }

  .ip-profile-visual img {
    min-height: 280px;
  }

  .ip-recruit-apply {
    flex-direction: column;
    align-items: stretch;
    padding: 32px 24px;
  }

  .ip-recruit-apply .cp-title,
  .ip-recruit-apply .cp-lede {
    text-align: left;
  }
}

/* ===== SPACE PAGE ===== */
.space-page {
  padding-top: 0;
  padding-bottom: 0;
}

.space-page .reveal:not(.is-visible) {
  pointer-events: none;
}

.space-page .reveal.is-visible {
  pointer-events: auto;
}

.space-page-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.space-page .classes-page-hero h1 {
  font-size: clamp(36px, 5.5vw, 62px);
}

.space-page .classes-page-hero .lede {
  max-width: 560px;
}

.sp-hero-note {
  font-size: 14.5px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.68);
  margin: -8px 0 24px;
  max-width: 560px;
}

.sp-choice {
  padding-top: 100px;
}

.sp-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 36px;
}

.sp-choice-card {
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--line);
}

.sp-choice-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.sp-choice-body {
  padding: 28px 24px 30px;
}

.sp-choice-body h3 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 8px;
}

.sp-choice-tag {
  font-size: 15px;
  color: var(--ink-soft);
  margin-bottom: 14px;
}

.sp-choice-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.sp-choice-tags span {
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(79, 58, 183, 0.08);
  color: var(--brand-purple);
}

.sp-choice-card-gray .sp-choice-tags span {
  background: rgba(35, 37, 42, 0.08);
  color: rgba(35, 37, 42, 0.72);
}

.sp-choice-desc {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 20px;
}

.sp-compare-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.sp-compare-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--line);
}

.sp-compare-table th,
.sp-compare-table td {
  padding: 16px 18px;
  text-align: left;
  font-size: 14.5px;
  line-height: 1.55;
  border-bottom: 1px solid var(--line);
}

.sp-compare-table thead th {
  background: #f7f6fb;
  font-weight: 800;
  font-size: 15px;
}

.sp-compare-table tbody th {
  width: 120px;
  font-weight: 700;
  color: var(--brand-purple);
  background: rgba(79, 58, 183, 0.04);
}

.sp-compare-table tbody tr:last-child th,
.sp-compare-table tbody tr:last-child td {
  border-bottom: 0;
}

.sp-compare-table small {
  font-size: 12px;
  color: var(--ink-soft);
}

.sp-compare-note,
.sp-facility-note,
.sp-price-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--ink-soft);
  text-align: center;
}

.sp-hall {
  padding: 88px 0;
}

.sp-hall-white {
  background: linear-gradient(180deg, #f7f9fd 0%, #fff 100%);
}

.sp-hall-gray {
  background: #fff;
}

.sp-hall-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.sp-hall-grid-reverse {
  direction: rtl;
}

.sp-hall-grid-reverse > * {
  direction: ltr;
}

.sp-hall-media img {
  width: 100%;
  height: min(480px, 56vw);
  object-fit: cover;
  border-radius: 22px;
  box-shadow: var(--shadow-card);
}

.sp-hall-copy .cp-pill {
  margin-bottom: 16px;
}

.sp-hall-copy .cp-title {
  margin-bottom: 14px;
}

.sp-hall-copy .cp-lede {
  margin-bottom: 28px;
}

.sp-hall-spec {
  display: grid;
  gap: 14px;
  margin: 0 0 28px;
}

.sp-hall-spec div {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.sp-hall-spec div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.sp-hall-spec dt {
  font-size: 13px;
  font-weight: 800;
  color: var(--brand-purple);
}

.sp-hall-spec dd {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.55;
}

.sp-usecase {
  background: linear-gradient(180deg, #fff 0%, #f7f4fb 100%);
}

.sp-usecase-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.sp-usecase-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}

.sp-usecase-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.sp-usecase-body {
  padding: 20px 18px 22px;
}

.sp-usecase-body span {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: var(--brand-purple);
  margin-bottom: 8px;
}

.sp-usecase-body h3 {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.sp-usecase-lead {
  font-size: 13.5px;
  font-weight: 700;
  color: rgba(35, 37, 42, 0.72);
  margin-bottom: 8px;
}

.sp-usecase-body p:last-child {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.55;
}

.sp-usecase-card-accent {
  border-color: rgba(79, 58, 183, 0.22);
  box-shadow: 0 12px 32px rgba(79, 58, 183, 0.1);
}

.sp-facility-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.sp-facility-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 16px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(79, 58, 183, 0.05);
}

.sp-facility-item span {
  display: block;
  font-size: 28px;
  margin-bottom: 10px;
}

.sp-facility-item h3 {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 6px;
}

.sp-facility-item p {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.45;
}

.sp-price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.sp-price-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 22px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.sp-price-card-accent {
  border-color: rgba(79, 58, 183, 0.24);
  background: linear-gradient(180deg, #faf8ff 0%, #fff 100%);
}

.sp-price-label {
  font-size: 12px;
  font-weight: 800;
  color: var(--brand-purple);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}

.sp-price-card h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: -0.03em;
}

.sp-price-amount {
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 12px;
}

.sp-price-amount small {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.sp-price-desc {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 16px;
}

.sp-price-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 auto;
  display: grid;
  gap: 8px;
}

.sp-price-card li {
  font-size: 13.5px;
  color: var(--ink-soft);
  padding-left: 14px;
  position: relative;
}

.sp-price-card li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--brand-purple);
  font-weight: 800;
}

.sp-price-card .btn {
  margin-top: 20px;
  width: 100%;
  justify-content: center;
}

.sp-process {
  padding: 100px 0;
}

.sp-process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.sp-process-cta {
  text-align: center;
  margin-top: 72px;
}

.sp-rules-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  max-width: 760px;
  margin-inline: auto;
}

.sp-rules-list li {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  padding: 18px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(79, 58, 183, 0.04);
}

.sp-rules-list strong {
  font-size: 14.5px;
  font-weight: 800;
  flex-shrink: 0;
}

.sp-rules-list span {
  font-size: 14px;
  color: var(--ink-soft);
  text-align: right;
  line-height: 1.5;
}

.sp-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.sp-gallery-item {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
}

.sp-gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.sp-gallery-item figcaption {
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-soft);
}

.sp-class-space {
  background: linear-gradient(180deg, #f7f4fb 0%, #fff 100%);
}

.sp-flow {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 16px;
  max-width: 920px;
  margin: 0 auto 28px;
}

.sp-flow-col {
  flex: 1;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.sp-flow-label {
  font-size: 12px;
  font-weight: 800;
  color: var(--brand-purple);
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}

.sp-flow-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.sp-flow-col li {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.sp-flow-arrow {
  display: flex;
  align-items: center;
  font-size: 22px;
  color: var(--brand-purple);
  font-weight: 800;
}

.sp-class-space-cta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.sp-final-cta .sp-final-cta-btns {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.sp-final-note {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
}

.space-intro .space-grid {
  max-width: var(--max);
  margin: 0 auto 48px;
}

.space-intro .class-consult {
  max-width: var(--max);
  margin: 0 auto;
}

@media (max-width: 1024px) {
  .sp-choice-grid,
  .sp-hall-grid,
  .sp-usecase-grid,
  .sp-price-grid {
    grid-template-columns: 1fr;
  }

  .sp-hall-grid-reverse {
    direction: ltr;
  }

  .sp-facility-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sp-process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sp-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sp-flow {
    flex-direction: column;
    align-items: center;
  }

  .sp-flow-arrow {
    transform: rotate(0deg);
  }
}

@media (max-width: 640px) {
  .sp-usecase-grid,
  .sp-facility-grid,
  .sp-process-grid,
  .sp-gallery-grid {
    grid-template-columns: 1fr;
  }

  .sp-hall-spec div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .sp-rules-list li {
    flex-direction: column;
    gap: 6px;
  }

  .sp-rules-list span {
    text-align: left;
  }

  .sp-hero-note {
    font-size: 13.5px;
  }
}

/* ===== NEWS PAGE ===== */
.news-page,
.news-detail-page {
  padding-top: 0;
  padding-bottom: 0;
}

.news-page .reveal:not(.is-visible),
.news-detail-page .reveal:not(.is-visible) {
  pointer-events: none;
}

.np-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.news-page .classes-page-hero h1 {
  font-size: clamp(36px, 5.5vw, 62px);
}

.np-notice {
  padding-top: 88px;
}

.np-notice-card {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 36px 32px;
  border-radius: 22px;
  background: linear-gradient(135deg, #f7f4fb 0%, #fff 100%);
  border: 1px solid rgba(79, 58, 183, 0.14);
  box-shadow: var(--shadow-card);
}

.np-notice-list {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.np-notice-list li {
  font-size: 14.5px;
  color: var(--ink-soft);
  padding-left: 14px;
  position: relative;
}

.np-notice-list li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--brand-purple);
  font-weight: 800;
}

.np-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.np-filter-btn {
  appearance: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 13.5px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  color: var(--ink-soft);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.np-filter-btn.is-active,
.np-filter-btn:hover {
  background: rgba(79, 58, 183, 0.08);
  border-color: rgba(79, 58, 183, 0.22);
  color: var(--brand-purple);
}

.np-news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.np-loading,
.ip-loading {
  grid-column: 1 / -1;
  padding: 48px 0;
  text-align: center;
  color: var(--muted, #8b93a1);
  font-size: 0.9375rem;
}

.np-news-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease;
}

.np-news-card:hover {
  transform: translateY(-4px);
}

.np-news-card.is-hidden {
  display: none;
}

.np-news-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.np-news-body {
  padding: 22px 20px 24px;
}

.np-cat {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}

.np-cat-notice { color: #4a6fa5; }
.np-cat-class { color: var(--brand-purple); }
.np-cat-event { color: #e3467d; }
.np-cat-instructor { color: #3f8f6b; }
.np-cat-space { color: #a43d9a; }
.np-cat-review { color: #c45a2a; }

.np-news-body h3 {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.35;
  margin-bottom: 10px;
}

.np-news-body > p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 16px;
}

.np-news-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.np-news-meta time {
  font-size: 12.5px;
  color: rgba(35, 37, 42, 0.45);
}

.np-news-link {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--brand-purple);
}

.np-empty {
  text-align: center;
  color: var(--ink-soft);
  font-size: 14.5px;
  padding: 40px 0;
}

.np-open {
  background: linear-gradient(180deg, #fff 0%, #f7f4fb 100%);
}

.np-open-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.np-open-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 22px;
  box-shadow: var(--shadow-card);
}

.np-open-num {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: var(--brand-purple);
  margin-bottom: 8px;
}

.np-open-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: rgba(35, 37, 42, 0.45);
  margin-bottom: 10px;
}

.np-open-card h3 {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.np-open-card > p {
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 20px;
}

.np-story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.np-story-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.np-story-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.np-story-body {
  padding: 22px 20px 24px;
}

.np-story-body h3 {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 8px 0 10px;
}

.np-story-body p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 14px;
}

.np-review {
  background: #fff;
}

.np-review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.np-review-card {
  background: linear-gradient(180deg, #faf8ff 0%, #fff 100%);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 22px;
  box-shadow: var(--shadow-card);
}

.np-review-card h3 {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 8px 0 10px;
}

.np-review-card p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 16px;
}

.np-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.np-guide-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 22px;
  box-shadow: var(--shadow-card);
  text-align: center;
}

.np-guide-card h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 8px;
}

.np-guide-card p {
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 20px;
}

.np-guide-card .btn {
  width: 100%;
  justify-content: center;
}

.np-final-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

/* NEWS DETAIL */
.np-detail {
  padding: calc(var(--header-h) + 48px) 0 80px;
}

.np-detail-back {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-purple);
  margin-bottom: 20px;
}

.np-detail-head h1 {
  font-size: clamp(28px, 4.5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.12;
  margin: 12px 0 16px;
}

.np-detail-head time {
  font-size: 14px;
  color: var(--ink-soft);
}

.np-detail-hero {
  margin: 32px 0;
  border-radius: 22px;
  overflow: hidden;
}

.np-detail-hero img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  display: block;
}

.np-detail-content {
  max-width: 720px;
}

.np-detail-lede {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 36px;
}

.np-detail-block {
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.np-detail-block:last-of-type {
  border-bottom: 0;
}

.np-detail-block h2 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.np-detail-block ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
}

.np-detail-block li,
.np-detail-block p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.65;
}

.np-detail-spec {
  display: grid;
  gap: 12px;
}

.np-detail-spec div {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 12px;
}

.np-detail-spec dt {
  font-weight: 800;
  font-size: 14px;
  color: var(--brand-purple);
}

.np-detail-spec dd {
  font-size: 15px;
  color: var(--ink-soft);
}

.np-detail-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 40px;
}

.np-detail-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.np-detail-nav-item {
  display: grid;
  gap: 6px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.np-detail-nav-item span {
  font-size: 12px;
  color: var(--ink-soft);
}

.np-detail-nav-item strong {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

@media (max-width: 1024px) {
  .np-news-grid,
  .np-open-grid,
  .np-story-grid,
  .np-review-grid,
  .np-guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .np-notice-card {
    padding: 28px 22px;
  }

  .np-news-grid,
  .np-open-grid,
  .np-story-grid,
  .np-review-grid,
  .np-guide-grid,
  .np-detail-nav {
    grid-template-columns: 1fr;
  }

  .np-detail-spec div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
