/* ==========================================================================
   Sections, in page order
   ========================================================================== */

/* ---------- hero ---------- */
.hero { padding-block: clamp(32px, 4.4vw, 64px) clamp(44px, 5.6vw, 80px); overflow: hidden; position: relative; }
.hero::before {
  content: ""; position: absolute; right: -10%; top: 10%; width: 70%; height: 90%;
  background: radial-gradient(closest-side, rgba(83, 80, 220, 0.26), transparent);
  pointer-events: none;
}
.hero .wrap { position: relative; }
.hero .label { display: inline-flex; align-items: center; gap: 10px; margin-bottom: clamp(14px, 2vw, 22px); color: var(--on-dark-soft); }
.hero .label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #5fe0d0; }
.hero h1 { font-size: clamp(2.2rem, 0.6rem + 3.2vw, 3.7rem); line-height: 1; letter-spacing: -0.045em; color: #fff; margin-top: 4px; }
.hero h1 .ph { display: block; white-space: nowrap; }
.hero h1 .ph + .ph { color: var(--coral); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(26px, 3.4vw, 52px); align-items: center; }
.hero .lede { margin-top: 22px; color: var(--on-dark-soft); max-width: 30em; }
.hero-cta { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; }
.hero-note { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line-dark); font-size: 0.82rem; color: var(--on-dark-soft); max-width: 34em; }

.js .hero-copy > * { opacity: 0; transform: translateY(12px); animation: settle 0.8s var(--ease) forwards; }
.js .hero-top h1 { animation-delay: 0.06s; }
.js .hero-copy > *:nth-child(1) { animation-delay: 0.16s; }
.js .hero-copy > *:nth-child(2) { animation-delay: 0.24s; }
.js .hero-copy > *:nth-child(3) { animation-delay: 0.32s; }
.js .hero .ed-wrap { opacity: 0; animation: settle 1s 0.3s var(--ease) forwards; }
@keyframes settle { to { opacity: 1; transform: none; } }

/* ---------- stats ---------- */
.stats { background: var(--indigo); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: clamp(20px, 2.8vw, 34px) clamp(14px, 2vw, 26px); border-left: 1px solid rgba(255, 255, 255, 0.22); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat strong { display: block; font: 500 clamp(2.1rem, 1.4rem + 2.6vw, 3.4rem)/1 var(--font); letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.stat strong sup { font-size: 0.5em; color: #ffb4a6; margin-left: 2px; vertical-align: top; position: relative; top: 0.12em; }
.stat span { display: block; margin-top: 8px; font-size: 0.85rem; color: rgba(255, 255, 255, 0.84); max-width: 16em; }

/* ---------- language marquee (infinite) ---------- */
.marquee { background: var(--cream); border-bottom: 1px solid var(--line); padding-block: clamp(18px, 2.2vw, 28px); overflow: hidden; }
.marquee .label { display: block; margin-bottom: 12px; color: var(--ink-faint); }
.marquee-view { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 70s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; flex: none; }
.marquee-item { display: inline-flex; align-items: center; gap: clamp(20px, 2.6vw, 40px); padding-right: clamp(20px, 2.6vw, 40px); white-space: nowrap; font: 400 clamp(1.3rem, 0.9rem + 1.5vw, 2.1rem)/1.2 var(--font); letter-spacing: -0.035em; }
.marquee-item::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--coral); flex: none; }
.marquee-item.is-muted { color: var(--ink-faint); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { width: auto; flex-wrap: wrap; }
  .marquee-group[aria-hidden="true"] { display: none; }
}

/* ---------- why ---------- */
.why-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 4vw, 64px); align-items: stretch; }
.why-list { display: grid; grid-auto-rows: 1fr; border-top: 1px solid var(--line); }
.why-item { position: relative; display: flex; align-items: center; gap: clamp(14px, 2vw, 24px); padding: 0 clamp(4px, 1vw, 14px); min-height: 60px; border-bottom: 1px solid var(--line); transition: background 0.3s, padding 0.35s var(--ease); }
.why-item::before { content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 0; background: var(--grad); transition: width 0.5s var(--ease); }
.why-item:hover { background: var(--cream-2); padding-left: clamp(12px, 1.6vw, 22px); }
.why-item:hover::before { width: 100%; }
.why-icon { width: 28px; height: 28px; flex: none; color: var(--indigo); fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.35s var(--ease), color 0.25s; }
.why-item:hover .why-icon { transform: scale(1.12); color: var(--coral-deep); }
.why-item h3 { flex: 1; font-size: clamp(1.1rem, 0.95rem + 0.55vw, 1.5rem); line-height: 1.15; letter-spacing: -0.03em; }
.why-n { font: 500 0.72rem/1 var(--mono); letter-spacing: 0.1em; color: var(--ink-faint); }

/* ---------- workflow (interactive progress line) ---------- */
.steps { --p: 0; position: relative; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.steps::before, .steps-fill { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: var(--stone); border-radius: 2px; }
.steps-fill { right: auto; width: calc(var(--p) * (100% - (100% / 7)) + 4px); background: var(--grad); box-shadow: 0 0 14px rgba(83, 80, 220, 0.45); transition: width 0.12s linear; z-index: 1; }
.steps-fill::after { content: ""; position: absolute; right: -5px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px var(--indigo), 0 0 16px 2px rgba(83, 80, 220, 0.7); }
.step { position: relative; }
.step-btn { display: block; width: 100%; text-align: left; padding: 0 14px 0 0; background: none; border: 0; cursor: pointer; font: inherit; color: inherit; }
.step-dot { position: absolute; left: 0; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--cream-2); border: 2px solid var(--stone); z-index: 2; transition: background 0.3s, border-color 0.3s, transform 0.3s var(--ease); }
.step.is-done .step-dot { background: var(--indigo); border-color: var(--indigo); }
.step.is-active .step-dot { background: #fff; border-color: var(--indigo); transform: scale(0); }
.step-num { display: block; margin: 34px 0 14px; font: 500 0.72rem/1 var(--mono); letter-spacing: 0.1em; color: var(--ink-faint); transition: color 0.3s, transform 0.35s var(--ease); }
.step.is-done .step-num { color: var(--indigo); }
.step.is-active .step-num { color: var(--coral-deep); transform: translateY(-2px); }
.step h3 { font-size: 1.08rem; line-height: 1.15; letter-spacing: -0.025em; margin-bottom: 8px; min-height: 2.3em; color: var(--ink-soft); transition: color 0.3s; }
.step.is-done h3, .step.is-active h3 { color: var(--ink); }
.step p { font-size: 0.84rem; color: var(--ink-faint); line-height: 1.5; max-width: 15em; transition: color 0.3s; }
.step.is-active p { color: var(--ink-soft); }
.step-btn:hover h3 { color: var(--indigo-deep); }
.step-btn:focus-visible { outline: 2px solid var(--indigo); outline-offset: 6px; }
.step.is-active .step-dot::after { content: ""; position: absolute; inset: -8px; }


/* ---------- studios ---------- */
.studios { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1fr); border: 1px solid var(--line); background: var(--cream); }
.studio { padding: clamp(22px, 2.4vw, 34px); display: flex; flex-direction: column; border-left: 1px solid var(--line); }
.studio:first-child { border-left: 0; }
.studio-feature { background: var(--indigo-soft); box-shadow: inset 3px 0 0 var(--indigo); }
.studio-soon { background: var(--stone); }
.studio-status { display: flex; align-items: center; gap: 9px; font: 500 var(--fs-label)/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); }
.studio-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--indigo); }
.studio-soon .studio-status::before { background: var(--coral-deep); }
.studio h3 { margin-top: clamp(28px, 4vw, 56px); font-size: clamp(1.25rem, 1rem + 0.7vw, 1.6rem); letter-spacing: -0.03em; line-height: 1.1; }
.studio-name { margin-top: 8px; font-size: 0.84rem; color: var(--ink-soft); }
.studio ul { margin-top: 22px; border-top: 1px solid var(--line); }
.studio li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 0.86rem; color: var(--ink-soft); line-height: 1.45; }
.studio-feature li, .studio-feature ul { border-color: rgba(83, 80, 220, 0.22); }
.studio-feature li { color: #3b3f66; }

/* ---------- pricing ---------- */
.price-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.price-grid .label { display: block; margin-bottom: 16px; }
.price-grid .lede { margin-top: 18px; }
.price-grid .link-arrow { margin-top: 8px; }
.sheet { position: relative; background: var(--cream); border: 1px solid var(--line); padding: clamp(22px, 3.2vw, 44px); box-shadow: 8px 8px 0 var(--stone); }
.sheet-head { display: flex; justify-content: space-between; gap: 8px 12px; flex-wrap: wrap; font: 500 var(--fs-label)/1.3 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); }
.sheet-price { margin-top: 20px; display: flex; align-items: flex-start; font: 500 clamp(3.2rem, 2.2rem + 4vw, 5.6rem)/0.95 var(--font); letter-spacing: -0.055em; font-variant-numeric: tabular-nums; }
.sheet-price sup { font-size: 0.3em; letter-spacing: 0; margin: 0.35em 0.25em 0 0; color: var(--ink-soft); font-weight: 400; }
.sheet-per { margin-top: 10px; color: var(--coral-deep); font-weight: 500; }
.sheet ul { margin: 22px 0; border-top: 1px solid var(--line); }
.sheet li { position: relative; padding: 10px 0 10px 28px; border-bottom: 1px solid var(--line); font-size: 0.9rem; }
.sheet li::before { content: ""; position: absolute; left: 3px; top: 15px; width: 11px; height: 6px; border: solid var(--indigo); border-width: 0 0 1.5px 1.5px; transform: rotate(-45deg); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.faq-grid .label { display: block; margin-bottom: 16px; }
.faq-side { position: sticky; top: calc(var(--nav-h) + 28px); }
.faq-side .link-arrow { margin-top: 18px; }

/* ---------- final CTA ---------- */
.final { position: relative; overflow: hidden; padding-block: clamp(64px, 8vw, 120px); background: var(--navy); }
.final::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 70% at 78% 85%, rgba(83, 80, 220, 0.38), transparent 70%); pointer-events: none; }
.final .halo i { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, 0.035); pointer-events: none; }
.final .halo i:nth-child(1) { width: min(70vw, 900px); aspect-ratio: 1; right: -18%; top: -30%; }
.final .halo i:nth-child(2) { width: min(52vw, 660px); aspect-ratio: 1; right: -9%; top: -16%; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(143, 140, 245, 0.14); }
.final-inner { position: relative; }
.final .label { display: block; margin-bottom: 18px; color: #8f8cf5; }
.final h2 { font-size: clamp(2.3rem, 1rem + 4.6vw, 5rem); line-height: 1; letter-spacing: -0.05em; color: #fff; }
.final h2 span { display: block; color: var(--coral); }
.final .lede { margin-top: 24px; max-width: 32em; color: var(--on-dark-soft); }
.final-cta { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 26px; position: relative; z-index: 1; }
.final .link-arrow { color: #fff; }
.final .orbit { position: absolute; right: 12%; top: 18%; width: clamp(110px, 14vw, 200px); aspect-ratio: 1; pointer-events: none; }
.final .orbit i { position: absolute; border: 1px solid rgba(143, 140, 245, 0.28); border-radius: 50%; inset: 0; }
.final .orbit i:nth-child(2) { inset: 9%; border-color: rgba(143, 140, 245, 0.22); }
.final .orbit i:nth-child(3) { inset: 19%; border-color: rgba(143, 140, 245, 0.18); }
.final .orbit b { position: absolute; inset: 34%; border-radius: 50%; background: linear-gradient(135deg, #3d7bf0, #8a4ff0); box-shadow: 0 0 40px rgba(110, 90, 240, 0.55); animation: orb-breathe 4.5s ease-in-out infinite; }
.final .orbit u { position: absolute; inset: 0; animation: orb-spin 14s linear infinite; }
.final .orbit u::after { content: ""; position: absolute; left: 50%; top: -2px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: #7fe3ff; box-shadow: 0 0 10px #7fe3ff; }
.final .orbit u + u { inset: 9%; animation-duration: 22s; animation-direction: reverse; }
.final .orbit u + u::after { background: #b9a8ff; box-shadow: 0 0 10px #b9a8ff; top: auto; bottom: 10%; left: 92%; }
@keyframes orb-spin { to { transform: rotate(360deg); } }
@keyframes orb-breathe { 50% { transform: scale(1.08); } }
@media (prefers-reduced-motion: reduce) { .final .orbit b, .final .orbit u { animation: none; } }

/* ---------- footer ---------- */
.footer { background: var(--navy); color: var(--on-dark-soft); border-top: 1px solid var(--line-dark); }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; padding-block: 28px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 20px; }
.footer-logo { display: block; background: var(--cream-2); padding: 5px 9px; flex: none; }
.footer-logo img { height: 34px; width: auto; }
.footer-tag { font-size: 0.85rem; }
.footer-side { display: flex; align-items: center; gap: 16px 28px; flex-wrap: wrap; }
.footer nav { display: flex; gap: 4px 24px; flex-wrap: wrap; }
.footer nav a { display: inline-flex; align-items: center; min-height: 36px; text-decoration: none; font-size: 0.85rem; color: var(--on-dark); transition: color 0.2s; }
.footer nav a:hover { color: var(--coral); }
.footer-copy { font: 400 0.66rem/1.4 var(--mono); letter-spacing: 0.04em; color: #6b74d6; }

#why.section { padding-block: clamp(44px, 5vw, 72px); }
#why .section-head { margin-bottom: clamp(22px, 2.6vw, 34px); }
