/* ============================================================
   HEAVEN'S SHOT — PREMIUM STYLES
   High-noble heavenly aesthetic
   ============================================================ */

:root {
  --ink: #0A0E24;
  --ink-deep: #050714;
  --navy: #121A4A;
  --navy-mid: #1E2A5E;
  --gold-bright: #F0D98C;
  --gold: #D9B356;
  --gold-deep: #B8892A;
  --gold-dark: #6E4E0E;
  --ivory: #FAF4E4;
  --parchment: #F5EAD0;
  --parchment-deep: #E8D6A8;
  --sky-noble: #8EB4D8;
  --crimson: #8B1E2E;
  --text-noble: #2D2818;
  --text-muted-noble: #7A6C48;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { overflow-x: hidden; }
body {
  font-family: "Shippori Mincho", "Cormorant Garamond", "Zen Kaku Gothic New", serif;
  color: var(--text-noble);
  background: var(--ink-deep);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  font-weight: 400;
}
img { display: block; max-width: 100%; }
button { font-family: inherit; border: none; background: none; cursor: pointer; color: inherit; }

/* ============ SHARED NOBLE UTILITIES ============ */
.noble-gold {
  background: linear-gradient(180deg, #F7E4A3 0%, #D9B356 50%, #8B6518 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.noble-gold-lg {
  background: linear-gradient(180deg, #F7E4A3 0%, #D9B356 50%, #8B6518 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
  font-size: 1.3em;
}
.noble-gold-xl {
  background: linear-gradient(180deg, #F7E4A3 0%, #D9B356 50%, #8B6518 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
}
.noble-muted {
  color: var(--text-muted-noble);
  font-size: 0.92em;
}
.lightning-noble {
  background: linear-gradient(180deg, #FFFDE7 0%, #F0D98C 40%, #D9B356 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   ROOT — parchment + deep navy gradient
   ============================================================ */
.premium-root {
  background: var(--ink);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* ============ HERO ============ */
.p-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: #0A1338;
}
.p-hero-bg {
  position: absolute; inset: 0;
  overflow: hidden;
}
.p-hero-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  filter: saturate(0.95) brightness(0.95);
}
.p-hero-vignette {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 50%, transparent 30%, rgba(10,14,40,0.7) 100%),
    linear-gradient(180deg, rgba(10,14,40,0.5) 0%, rgba(10,14,40,0) 40%, rgba(10,14,40,0.9) 100%);
}
.p-hero-goldmist {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 10%, rgba(240,217,140,0.3) 0%, transparent 50%);
  mix-blend-mode: screen;
}
.p-hero-content {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 24px 60px;
  text-align: center;
}
.p-hero-crest {
  opacity: 0.85;
  margin-bottom: 20px;
}
.p-hero-crest.bottom { margin-top: 20px; margin-bottom: 28px; }
.p-hero-eyebrow {
  color: var(--gold-bright);
  font-size: clamp(11px, 1.6vw, 14px);
  letter-spacing: 0.45em;
  font-weight: 400;
  margin-bottom: 20px;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  opacity: 0.92;
  text-shadow: 0 0 20px rgba(240,217,140,0.5);
}
.p-hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.p-hero-main {
  font-family: "Shippori Mincho", "Cormorant Garamond", serif;
  font-weight: 700;
  font-size: clamp(48px, 9vw, 110px);
  line-height: 1.05;
  background: linear-gradient(180deg,
    #FAF4E4 0%,
    #F0D98C 28%,
    #D9B356 55%,
    #8B6518 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 0.05em;
  filter: drop-shadow(0 2px 2px rgba(0,0,0,0.5)) drop-shadow(0 0 40px rgba(240,217,140,0.35));
}
.p-hero-sub {
  font-family: "Cormorant Garamond", "Shippori Mincho", serif;
  font-size: clamp(16px, 2.4vw, 22px);
  color: var(--gold-bright);
  letter-spacing: 0.4em;
  font-weight: 400;
  font-style: italic;
  margin-top: 4px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}
.p-hero-lede {
  font-family: "Shippori Mincho", serif;
  color: #F5EAD0;
  font-size: clamp(15px, 2vw, 18px);
  line-height: 2;
  max-width: 560px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.8);
  letter-spacing: 0.04em;
}
.p-hero-scrollcue {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--gold-bright);
  opacity: 0.85;
  animation: scrollcue-bounce 2.4s ease-in-out infinite;
}
@keyframes scrollcue-bounce {
  0%, 100% { transform: translateY(0); opacity: 0.6; }
  50% { transform: translateY(6px); opacity: 1; }
}
.scroll-label {
  font-size: 10px;
  letter-spacing: 0.5em;
  font-family: "Cormorant Garamond", serif;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--gold-bright), transparent);
}

/* ============ INTRO BAND ============ */
.p-intro-band {
  position: relative;
  padding: 48px 24px;
  background:
    linear-gradient(180deg, #0A1338 0%, #121A4A 100%);
  border-top: 1px solid rgba(240,217,140,0.15);
  border-bottom: 1px solid rgba(240,217,140,0.15);
}
.p-intro-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 5vw, 64px);
  flex-wrap: wrap;
}
.p-stat {
  text-align: center;
  min-width: 120px;
}
.p-stat-num {
  font-family: "Cormorant Garamond", "Shippori Mincho", serif;
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 500;
  line-height: 1;
  color: var(--gold-bright);
  letter-spacing: 0.02em;
}
.roman-disp {
  background: linear-gradient(180deg, #F7E4A3, #D9B356 60%, #8B6518);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
}
.stat-over {
  font-size: 0.35em;
  letter-spacing: 0.25em;
  color: var(--gold-bright);
  margin-left: 6px;
  font-weight: 400;
  vertical-align: middle;
}
.p-stat-label {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.p-stat-label .jp {
  font-family: "Shippori Mincho", serif;
  font-size: 13px;
  color: #F5EAD0;
  letter-spacing: 0.15em;
}
.p-stat-label .en {
  font-family: "Cormorant Garamond", serif;
  font-size: 10px;
  color: var(--gold);
  letter-spacing: 0.3em;
  font-style: italic;
  opacity: 0.7;
}
.p-stat-divider {
  width: 1px;
  height: 60px;
  background: linear-gradient(180deg, transparent, rgba(240,217,140,0.4), transparent);
}

/* ============ SECTION HEADER ============ */
.p-section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.p-eyebrow-ornament { opacity: 0.8; }
.p-section-kicker {
  font-family: "Cormorant Garamond", serif;
  font-size: 12px;
  letter-spacing: 0.4em;
  color: var(--gold-deep);
  font-style: italic;
  font-weight: 500;
}
.p-section-kicker.white {
  color: var(--gold-bright);
  opacity: 0.85;
}
.p-section-title {
  font-family: "Shippori Mincho", serif;
  font-weight: 600;
  font-size: clamp(30px, 5vw, 50px);
  color: var(--text-noble);
  letter-spacing: 0.15em;
  line-height: 1.3;
  display: flex;
  gap: 2px;
  align-items: baseline;
}
.p-section-title.white {
  color: var(--ivory);
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
}
.title-char { display: inline-block; }
.title-sep {
  color: var(--gold);
  margin: 0 8px;
  opacity: 0.7;
}

/* ============ STEPS ============ */
.p-steps {
  position: relative;
  padding: 90px 20px 100px;
  background:
    linear-gradient(180deg, #FAF4E4 0%, #F0E3C2 50%, #E8D6A8 100%);
}
.p-steps::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 25% 20%, rgba(240,217,140,0.3), transparent 40%),
    radial-gradient(circle at 75% 70%, rgba(217,179,86,0.2), transparent 40%);
  pointer-events: none;
}
.p-step {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 32px;
  align-items: center;
  padding: 36px 40px;
  background:
    linear-gradient(180deg, rgba(255,252,240,0.95) 0%, rgba(245,234,208,0.85) 100%);
  border: 1px solid rgba(184,137,42,0.35);
  border-radius: 2px;
  box-shadow:
    0 8px 32px rgba(110,78,14,0.12),
    inset 0 1px 0 rgba(255,255,255,0.9);
}
.p-step::before, .p-step::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 24px;
  border-color: var(--gold-deep);
  pointer-events: none;
}
.p-step::before {
  top: -1px; left: -1px;
  border-top: 1px solid var(--gold-deep);
  border-left: 1px solid var(--gold-deep);
}
.p-step::after {
  bottom: -1px; right: -1px;
  border-bottom: 1px solid var(--gold-deep);
  border-right: 1px solid var(--gold-deep);
}
.p-step.impact-step {
  background:
    linear-gradient(180deg, rgba(255,250,230,0.98) 0%, rgba(250,232,180,0.95) 100%);
  border-color: var(--gold-deep);
  box-shadow:
    0 12px 40px rgba(185,137,42,0.2),
    0 0 80px rgba(240,217,140,0.3),
    inset 0 1px 0 rgba(255,255,255,0.95);
}

.p-step-numcol {
  display: flex;
  justify-content: center;
  align-items: center;
}
.roman-num {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.roman-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}
.roman-label {
  font-family: "Cormorant Garamond", serif;
  font-size: 10px;
  letter-spacing: 0.4em;
  color: var(--gold-bright);
  font-style: italic;
}
.roman-letter {
  font-family: "Cormorant Garamond", "Shippori Mincho", serif;
  font-size: 44px;
  font-weight: 500;
  font-style: italic;
  color: var(--gold-bright);
  line-height: 1;
  text-shadow:
    0 1px 0 rgba(110,78,14,0.5),
    0 0 20px rgba(240,217,140,0.6);
  background: linear-gradient(180deg, #FAF4E4 0%, #F0D98C 40%, #8B6518 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.p-step-body {
  min-width: 0;
}
.p-step-chapter-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.p-step-avatar {
  position: relative;
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #FDF6DD, #F0D98C 55%, #C9A13F 100%);
  border: 1.5px solid rgba(110,78,14,0.35);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.6),
    0 4px 10px rgba(110,78,14,0.25);
  overflow: hidden;
}
.p-step-avatar.dark {
  background: radial-gradient(circle at 30% 30%, #6B4A6F, #2E1533 55%, #120813 100%);
  border-color: rgba(214,58,74,0.5);
  box-shadow:
    inset 0 1px 0 rgba(255,200,210,0.25),
    0 0 14px rgba(214,58,74,0.35),
    0 4px 10px rgba(0,0,0,0.4);
}
.p-step-avatar img {
  width: 110%;
  height: 110%;
  object-fit: cover;
  object-position: center 20%;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,0.3));
}
.p-step-avatar-glow {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247,228,163,0.45), rgba(247,228,163,0) 70%);
  filter: blur(4px);
  animation: charHalo 3.5s ease-in-out infinite;
  pointer-events: none;
}
.p-step-avatar-glow.dark {
  background: radial-gradient(circle, rgba(214,58,74,0.45), rgba(214,58,74,0) 70%);
}
.p-step-chapter-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.p-step-chapter-meta .p-step-chapter {
  margin-bottom: 0;
  padding-bottom: 2px;
}
.p-step-guide-name {
  font-family: "Shippori Mincho", serif;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--text-muted-noble);
  font-weight: 500;
}

.p-step-chapter {
  display: inline-block;
  font-family: "Cormorant Garamond", serif;
  font-size: 11px;
  letter-spacing: 0.4em;
  color: var(--gold-deep);
  font-style: italic;
  font-weight: 500;
  margin-bottom: 12px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(184,137,42,0.4);
}
.p-step-chapter.impact-chapter {
  color: var(--crimson);
  border-color: var(--crimson);
}
.p-step-title {
  font-family: "Shippori Mincho", serif;
  font-size: clamp(22px, 3.5vw, 32px);
  font-weight: 600;
  color: var(--text-noble);
  line-height: 1.4;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}
.p-step-desc {
  font-family: "Shippori Mincho", serif;
  font-size: 15px;
  color: #4A4028;
  line-height: 2;
  letter-spacing: 0.04em;
}
.p-step-visual {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px dashed rgba(184,137,42,0.35);
}
.p-course-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.p-course-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background:
    linear-gradient(180deg, #FAF4E4 0%, #F0E3C2 100%);
  border: 1px solid var(--gold-deep);
  border-radius: 30px;
  box-shadow: 0 2px 6px rgba(110,78,14,0.15);
}
.pill-kanji {
  font-family: "Shippori Mincho", serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--gold-dark);
}
.pill-yen {
  font-family: "Shippori Mincho", serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-noble);
  letter-spacing: 0.05em;
}
.p-step-annotation {
  margin-top: 14px;
  font-size: 12px;
  color: var(--gold-dark);
  letter-spacing: 0.1em;
}
.asterisk-noble { color: var(--crimson); margin-right: 6px; }

.p-step-connector {
  display: flex;
  justify-content: center;
  padding: 14px 0;
}

.p-slot-frame {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 22px;
  background:
    linear-gradient(180deg, #0A1338 0%, #121A4A 100%);
  border: 1px solid var(--gold);
  border-radius: 4px;
  box-shadow:
    0 6px 20px rgba(10,14,40,0.3),
    inset 0 0 30px rgba(240,217,140,0.1);
}
.p-slot-frame-top, .p-slot-frame-bot {
  font-family: "Cormorant Garamond", serif;
  font-size: 9px;
  letter-spacing: 0.4em;
  color: var(--gold-bright);
  font-style: italic;
  opacity: 0.85;
}

.p-verdict {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 18px 32px;
  background:
    radial-gradient(ellipse at center, #1E2A5E 0%, #0A1338 100%);
  border: 1px solid var(--gold);
  border-radius: 2px;
  box-shadow:
    0 0 0 4px rgba(240,217,140,0.15),
    0 8px 32px rgba(10,14,40,0.4);
  position: relative;
}
.p-verdict::before, .p-verdict::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  border-color: var(--gold-bright);
}
.p-verdict::before {
  top: -1px; left: -1px;
  border-top: 1px solid var(--gold-bright);
  border-left: 1px solid var(--gold-bright);
}
.p-verdict::after {
  bottom: -1px; right: -1px;
  border-bottom: 1px solid var(--gold-bright);
  border-right: 1px solid var(--gold-bright);
}
.p-verdict-label, .p-verdict-over {
  font-family: "Cormorant Garamond", serif;
  font-size: 10px;
  letter-spacing: 0.5em;
  color: var(--gold-bright);
  font-style: italic;
}
.p-verdict-num {
  display: flex;
  align-items: baseline;
  gap: 2px;
  font-family: "Cormorant Garamond", "Shippori Mincho", serif;
  background: linear-gradient(180deg, #FAF4E4 0%, #F0D98C 40%, #8B6518 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.verdict-x { font-size: 30px; font-weight: 500; }
.verdict-val { font-size: 68px; font-weight: 600; line-height: 1; }

.br-sm { display: none; }

/* ============ COURSES ============ */
.p-courses {
  position: relative;
  padding: 100px 20px 80px;
  background:
    linear-gradient(180deg, #0A1338 0%, #121A4A 50%, #0A1338 100%);
  overflow: hidden;
}
.p-courses-bg {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(240,217,140,0.1), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(240,217,140,0.1), transparent 40%);
  pointer-events: none;
}
.p-course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1080px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.p-course {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 24px 28px;
  background:
    linear-gradient(180deg, rgba(250,244,228,0.97) 0%, rgba(232,214,168,0.92) 100%);
  border: 1px solid rgba(184,137,42,0.5);
  border-radius: 2px;
  color: var(--text-noble);
  text-align: center;
  transition: transform 0.3s cubic-bezier(0.2,0.8,0.2,1), box-shadow 0.3s, border-color 0.3s;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(10,14,40,0.4);
}
.p-course::before, .p-course::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 24px;
  border-color: var(--gold-deep);
  pointer-events: none;
  transition: border-color 0.3s;
}
.p-course::before {
  top: -1px; left: -1px;
  border-top: 1px solid var(--gold-deep);
  border-left: 1px solid var(--gold-deep);
}
.p-course::after {
  bottom: -1px; right: -1px;
  border-bottom: 1px solid var(--gold-deep);
  border-right: 1px solid var(--gold-deep);
}
.p-course:hover {
  transform: translateY(-4px);
  border-color: var(--gold-deep);
  box-shadow: 0 12px 40px rgba(240,217,140,0.25);
}
.p-course.selected {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow:
    0 0 0 2px var(--gold-bright),
    0 0 60px rgba(240,217,140,0.45),
    0 16px 40px rgba(10,14,40,0.6);
}
.p-course.selected::before, .p-course.selected::after {
  border-color: var(--crimson);
  width: 30px; height: 30px;
}
.p-course.popular {
  background:
    linear-gradient(180deg, rgba(255,250,230,0.98) 0%, rgba(240,217,140,0.95) 100%);
}
.p-course-banner {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  font-family: "Cormorant Garamond", serif;
  font-size: 10px;
  font-weight: 600;
  font-style: italic;
  letter-spacing: 0.4em;
  color: var(--crimson);
  padding: 3px 12px;
  border-top: 1px solid var(--crimson);
  border-bottom: 1px solid var(--crimson);
  background: rgba(250,244,228,0.8);
}

.p-course-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  margin-top: 10px;
}

/* Character portrait with shield/crest badge overlaid */
.p-course-char {
  position: relative;
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.p-course-char-glow {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: radial-gradient(
    circle at center,
    rgba(247, 228, 163, 0.55) 0%,
    rgba(217, 179, 86, 0.28) 35%,
    rgba(217, 179, 86, 0) 70%
  );
  filter: blur(6px);
  animation: charHalo 4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes charHalo {
  0%, 100% { opacity: 0.75; transform: scale(1); }
  50%      { opacity: 1;    transform: scale(1.08); }
}
.p-course-char-img {
  position: relative;
  z-index: 1;
  width: 130px;
  height: 130px;
  object-fit: contain;
  filter: drop-shadow(0 6px 10px rgba(110, 78, 14, 0.35));
  transition: transform 0.5s cubic-bezier(.2,.9,.2,1);
}
.p-course:hover .p-course-char-img,
.p-course.selected .p-course-char-img {
  transform: translateY(-4px) scale(1.04);
}
.p-course-char-crest {
  position: absolute;
  right: -2px;
  bottom: 4px;
  z-index: 2;
  width: 42px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 3px 5px rgba(110,78,14,0.4));
}
.p-course-char-crest svg {
  position: absolute;
  inset: 0;
}
.p-course-char-kanji {
  position: relative;
  font-family: "Shippori Mincho", serif;
  font-size: 20px;
  font-weight: 800;
  color: #3D2B08;
  text-shadow: 0 1px 0 rgba(255,255,255,0.5);
  padding-top: 2px;
}
.crest {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 4px 8px rgba(110,78,14,0.3));
}
.crest-inner {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  padding-top: 4px;
}
.crest-kanji {
  font-family: "Shippori Mincho", serif;
  font-size: 32px;
  font-weight: 800;
  color: #3D2B08;
  text-shadow: 0 1px 0 rgba(255,255,255,0.4);
}
.p-course-motto {
  font-family: "Cormorant Garamond", serif;
  font-size: 10px;
  letter-spacing: 0.5em;
  color: var(--gold-dark);
  font-style: italic;
  font-weight: 500;
}

.p-course-entry {
  margin-bottom: 6px;
}
.entry-k {
  font-family: "Shippori Mincho", serif;
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--text-muted-noble);
  margin-bottom: 4px;
}
.entry-v {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  font-family: "Shippori Mincho", serif;
  font-weight: 600;
  color: var(--text-noble);
}
.entry-big { font-size: 38px; line-height: 1; }
.entry-unit { font-size: 16px; opacity: 0.75; }

.p-course-arrow {
  margin: 12px 0 10px;
}

.p-course-prize {
  width: 100%;
  padding: 16px 10px;
  background:
    linear-gradient(180deg, rgba(10,14,40,0.04) 0%, rgba(10,14,40,0.08) 100%);
  border: 1px solid rgba(184,137,42,0.4);
  border-radius: 2px;
  margin-bottom: 14px;
}
.prize-k {
  font-family: "Cormorant Garamond", serif;
  font-size: 10px;
  letter-spacing: 0.4em;
  color: var(--gold-dark);
  font-style: italic;
  margin-bottom: 4px;
}
.prize-v {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
}
.prize-big {
  font-family: "Cormorant Garamond", "Shippori Mincho", serif;
  font-size: 56px;
  font-weight: 600;
  line-height: 1;
  background: linear-gradient(180deg, #B8892A 0%, #8B6518 50%, #3D2B08 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.p-course.selected .prize-big,
.p-course.popular .prize-big {
  background: linear-gradient(180deg, #8B6518 0%, #6E4E0E 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.prize-unit {
  font-family: "Shippori Mincho", serif;
  font-size: 16px;
  color: var(--gold-dark);
  font-weight: 600;
}

.p-course-motto-jp {
  font-family: "Shippori Mincho", serif;
  font-size: 13px;
  color: var(--text-muted-noble);
  letter-spacing: 0.15em;
  margin-bottom: 12px;
}
.p-course-select {
  font-family: "Cormorant Garamond", serif;
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--gold-dark);
  font-style: italic;
  padding-top: 10px;
  border-top: 1px dashed rgba(184,137,42,0.4);
  width: 100%;
}
.p-course.selected .p-course-select {
  color: var(--crimson);
  font-weight: 600;
}

/* ============ CTA ============ */
.p-cta {
  position: relative;
  padding: 120px 20px 130px;
  background: #0A1338;
  overflow: hidden;
  text-align: center;
}
.p-cta-bg { position: absolute; inset: 0; }
.p-cta-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.9) brightness(0.85);
}
.p-cta-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(10,14,40,0.5) 0%, rgba(10,14,40,0.95) 100%),
    linear-gradient(180deg, rgba(10,14,40,0.7) 0%, rgba(10,14,40,0.6) 50%, rgba(5,7,20,0.95) 100%);
}
.p-cta-inner {
  position: relative;
  z-index: 2;
  max-width: 780px;
  margin: 0 auto;
}
.p-cta-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}
.p-cta-kicker {
  font-family: "Cormorant Garamond", serif;
  font-size: 12px;
  font-style: italic;
  letter-spacing: 0.4em;
  color: var(--gold-bright);
  white-space: nowrap;
}
.p-cta-title {
  font-family: "Shippori Mincho", serif;
  font-weight: 600;
  font-size: clamp(36px, 6vw, 60px);
  color: var(--ivory);
  line-height: 1.35;
  letter-spacing: 0.15em;
  margin-bottom: 36px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.8);
}
.p-cta-selected {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  background: rgba(250,244,228,0.06);
  border: 1px solid rgba(240,217,140,0.35);
  border-radius: 2px;
  margin-bottom: 36px;
  color: #F5EAD0;
  font-family: "Shippori Mincho", serif;
  font-size: 14px;
  letter-spacing: 0.1em;
  backdrop-filter: blur(8px);
  flex-wrap: wrap;
  justify-content: center;
}
.p-cta-selected strong { font-size: 17px; font-weight: 700; }
.sep-dot { color: var(--gold-bright); }

.p-cta-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 22px 56px;
  background:
    linear-gradient(180deg, #FAF4E4 0%, #F0D98C 50%, #B8892A 100%);
  border: 1px solid #FAF4E4;
  border-radius: 2px;
  color: var(--text-noble);
  box-shadow:
    0 0 0 1px var(--gold-deep),
    0 0 0 3px rgba(240,217,140,0.3),
    0 12px 48px rgba(240,217,140,0.4),
    0 0 100px rgba(240,217,140,0.35),
    inset 0 2px 2px rgba(255,255,255,0.7),
    inset 0 -3px 6px rgba(110,78,14,0.2);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  font-family: "Shippori Mincho", serif;
  animation: cta-breath 3s ease-in-out infinite;
}
@keyframes cta-breath {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}
.p-cta-btn:hover {
  transform: scale(1.05) translateY(-2px);
}
.p-cta-btn::before, .p-cta-btn::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: var(--gold-dark);
}
.p-cta-btn::before {
  top: 4px; left: 4px;
  border-top: 1px solid var(--gold-dark);
  border-left: 1px solid var(--gold-dark);
}
.p-cta-btn::after {
  bottom: 4px; right: 4px;
  border-bottom: 1px solid var(--gold-dark);
  border-right: 1px solid var(--gold-dark);
}
.btn-shine {
  position: absolute;
  top: 0; left: -100%;
  width: 40%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
  animation: btn-shine 3s ease-in-out infinite;
}
@keyframes btn-shine {
  0% { left: -100%; }
  60%, 100% { left: 150%; }
}
.btn-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.btn-jp {
  font-size: clamp(17px, 2.4vw, 22px);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-noble);
}
.btn-en {
  font-family: "Cormorant Garamond", serif;
  font-size: 10px;
  font-style: italic;
  letter-spacing: 0.35em;
  color: var(--gold-dark);
}
.btn-arrow {
  position: relative;
  color: var(--text-noble);
}
.p-cta-fine {
  margin-top: 32px;
  font-family: "Shippori Mincho", serif;
  font-size: 12px;
  color: rgba(245,234,208,0.75);
  line-height: 1.9;
  letter-spacing: 0.08em;
}

/* ============================================================
   VARIANT SWITCHER (top)
   ============================================================ */
.variant-switcher {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 500;
  display: flex;
  gap: 0;
  background: rgba(10, 14, 40, 0.88);
  border: 1px solid rgba(240, 217, 140, 0.5);
  border-radius: 2px;
  padding: 4px;
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}
.variant-switcher button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 2px;
  color: #A8B4DC;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  transition: all 0.2s;
  cursor: pointer;
  font-family: "Shippori Mincho", serif;
}
.variant-switcher button.active {
  background: linear-gradient(180deg, #F0D98C, #B8892A);
  color: #0A0E24;
  font-weight: 700;
}
.variant-switcher .vs-label {
  font-family: "Cormorant Garamond", serif;
  font-size: 13px;
  font-style: italic;
}

/* ============ TWEAKS ============ */
.tweaks-panel {
  position: fixed;
  bottom: 20px; right: 20px;
  z-index: 1000;
  background: rgba(10,14,40,0.92);
  border: 1px solid var(--gold);
  border-radius: 2px;
  padding: 18px;
  color: #fff;
  min-width: 260px;
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  font-size: 13px;
  font-family: "Shippori Mincho", serif;
}
.tweaks-title {
  font-family: "Cormorant Garamond", serif;
  color: var(--gold-bright);
  font-size: 14px;
  letter-spacing: 0.3em;
  font-style: italic;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(240,217,140,0.3);
}
.tweak-row { margin-bottom: 10px; }
.tweak-label {
  display: block;
  font-size: 11px;
  color: #A8B4DC;
  letter-spacing: 0.15em;
  margin-bottom: 6px;
}
.tweak-seg {
  display: flex;
  gap: 4px;
  background: rgba(0,0,0,0.3);
  padding: 3px;
  border-radius: 2px;
}
.tweak-seg button {
  flex: 1;
  padding: 7px 10px;
  border-radius: 2px;
  color: #A8B4DC;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
  font-family: "Shippori Mincho", serif;
}
.tweak-seg button.active {
  background: linear-gradient(180deg, var(--gold-bright), var(--gold-deep));
  color: #0A0E24;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 820px) {
  .p-step {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 32px 24px;
    text-align: center;
  }
  .p-step-numcol { margin: 0 auto; }
  .p-step-chapter { display: inline-block; }
  .p-course-pills { justify-content: center; }
  .p-step-visual { display: flex; flex-direction: column; align-items: center; }
  .p-intro-band { padding: 36px 20px; }
  .p-stat-divider { display: none; }
  .p-course-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
  }
  .p-hero-art { object-position: center 40%; }
  .br-sm { display: inline; }
  .p-step-desc { text-align: center; }
  .p-section-title { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 480px) {
  .p-hero { min-height: 92vh; }
  .p-hero-content { padding: 70px 20px 40px; }
  .p-cta { padding: 80px 20px 100px; }
  .p-steps { padding: 70px 16px 80px; }
  .p-courses { padding: 70px 16px 60px; }
  .p-cta-btn { padding: 18px 32px; }
  .p-section-title { letter-spacing: 0.08em; }
  .p-cta-title { letter-spacing: 0.08em; }
  .roman-letter { font-size: 38px; }
  .p-cta-eyebrow { gap: 8px; }
  .p-cta-eyebrow svg { display: none; }
}
