/* ============================================================
   JUNEA STUDIO — Where worlds take shape.
   Static site draft v03 · 2026-09-01
   Concept: a warm, music-first studio home. Friendly cards,
   visible play buttons, roster & latest news at a glance.
   Type: Outfit (headings) · Instrument Sans (body)
         Instrument Serif (italic accents)
   ============================================================ */

:root {
  --bg: #faf6f0;
  --bg-soft: #f1ebe2;
  --card: #ffffff;
  --ink: #241e2b;
  --ink-soft: #4c4455;
  --muted: #837b8c;
  --hairline: rgba(36, 30, 43, 0.1);
  --shadow: 0 10px 30px rgba(36, 22, 48, 0.08);
  --shadow-lg: 0 24px 60px rgba(36, 22, 48, 0.14);
  --accent: #241e2b;

  /* world colors */
  --c-neyu: #f487b2;
  --c-neyu-b: #8ec8f5;
  --c-luno: #241e2b;
  --c-rukami: #d64560;
  --c-volt: #2f9de4;
  --c-noctelle: #7d71d6;
  --c-iro-blue: #3b82e0;
  --c-iro-pink: #ef6ea8;
  --c-iro-orange: #f2853c;
  --c-iro-purple: #7a5fd0;
  --c-iro-red: #e0473f;

  --grad-worlds: linear-gradient(95deg, #f487b2, #8ec8f5, #2f9de4, #7d71d6, #f2853c, #d64560);

  --font-head: "Outfit", "Noto Sans JP", "Noto Sans KR", sans-serif;
  --font-body: "Instrument Sans", "Noto Sans JP", "Noto Sans KR", system-ui, sans-serif;
  --font-serif: "Instrument Serif", "Noto Serif JP", Georgia, serif;

  --maxw: 1240px;
  --pad: clamp(20px, 4vw, 48px);
  --r: 22px;
  --r-lg: 30px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

::selection { background: var(--ink); color: var(--bg); }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

h1, h2, h3 { font-family: var(--font-head); }

/* ---------- small utilities ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--grad-worlds);
}

/* accent text: brand gradient instead of serif italic —
   renders identically across EN/KO/JA (CJK has no italic serif) */
.serif-i {
  font-family: inherit;
  font-style: normal;
  font-weight: inherit;
  letter-spacing: 0;
  text-transform: none;
  background: var(--grad-worlds);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 13px;
  border-radius: 999px;
  white-space: nowrap;
}
.pill-soft { background: var(--bg-soft); color: var(--ink-soft); }
.pill-new { background: linear-gradient(95deg, #f487b2, #8ec8f5); color: #3c2434; }
.pill-line { border: 1px solid var(--hairline); color: var(--muted); background: transparent; }

.tag {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-soft);
  background: var(--bg-soft);
  border-radius: 999px;
  padding: 6px 13px;
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hairline);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
  gap: 24px;
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.02em;
}
.wordmark .wm-dot {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--grad-worlds);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 12px;
  flex: 0 0 auto;
}
/* world pages: the wordmark belongs to the world, not JUNEA */
.wm-dot.solid { background: var(--accent); }
.world-luno .wm-dot.solid { color: #17141d; }
.world-iroame .wm-dot.solid { background: linear-gradient(135deg, #3b82e0, #ef6ea8, #f2853c, #7a5fd0, #e0473f); }
.wordmark small.jp { letter-spacing: 0.2em; }
.wordmark small { font-weight: 500; font-size: 11px; letter-spacing: 0.3em; color: var(--muted); }

.site-nav { display: flex; align-items: center; gap: clamp(6px, 1.2vw, 14px); }
.site-nav a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.2s, background 0.2s;
}
.site-nav a:not(.nav-cta) { padding: 7px 13px; border-radius: 999px; }
.site-nav a:hover { color: var(--ink); }
.site-nav a:not(.nav-cta):hover { background: var(--bg-soft); }
.site-nav a.is-active { background: var(--bg-soft); color: var(--ink); font-weight: 600; }

/* language / theme controls */
.hdr-tools { display: flex; align-items: center; gap: 8px; margin-left: 4px; }
.lang-switch { display: flex; background: var(--bg-soft); border-radius: 999px; padding: 3px; }
.lang-switch button {
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--muted);
  transition: background 0.2s, color 0.2s;
}
.lang-switch button.is-active { background: var(--card); color: var(--ink); box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15); }
.theme-toggle {
  width: 33px; height: 33px;
  border-radius: 50%;
  border: 1px solid var(--hairline);
  background: var(--card);
  display: grid;
  place-items: center;
  font-size: 14px;
  line-height: 1;
  transition: background 0.2s, transform 0.2s;
}
.theme-toggle:hover { background: var(--bg-soft); transform: rotate(15deg); }
.site-nav a.nav-cta {
  background: var(--ink);
  color: var(--bg);
  border-radius: 999px;
  padding: 9px 18px;
}
.site-nav a.nav-cta:hover { color: var(--bg); opacity: 0.9; }
.site-nav a.yt-btn {
  width: 33px; height: 33px; padding: 0;
  border-radius: 50%;
  border: 1px solid var(--hairline);
  background: var(--card);
  display: grid; place-items: center;
  color: var(--ink-soft);
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.site-nav a.yt-btn svg { width: 17px; height: 17px; display: block; fill: currentColor; }
.site-nav a.yt-btn:hover { background: #ff0033; border-color: #ff0033; color: #fff; transform: scale(1.08); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 9vh, 110px) 0 clamp(48px, 7vh, 90px);
}
.hero-blobs { position: absolute; inset: 0; pointer-events: none; }
.hero-blobs i {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
  animation: blob 14s ease-in-out infinite alternate;
}
@keyframes blob {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(var(--dx, 30px), var(--dy, -30px)) scale(1.15); }
}
@media (prefers-reduced-motion: reduce) { .hero-blobs i { animation: none; } }

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}

.hero h1 {
  font-size: clamp(40px, 5.6vw, 76px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin: 18px 0 20px;
}
.hero h1 .grad {
  background: var(--grad-worlds);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradslide 8s linear infinite alternate;
}
@keyframes gradslide { from { background-position: 0% 0; } to { background-position: 100% 0; } }

.hero-sub { max-width: 30em; color: var(--ink-soft); font-size: clamp(15.5px, 1.5vw, 18px); }

.hero-facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  transition: transform 0.2s, opacity 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: var(--bg); }
.btn-line { border: 1.5px solid var(--hairline); color: var(--ink); background: var(--card); }
.btn svg { width: 13px; height: 13px; fill: currentColor; }

/* now-playing card */
.np-card {
  background: var(--card);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 22px;
  max-width: 480px;
  justify-self: end;
  width: 100%;
}
.np-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.np-label { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

/* equalizer */
.eq { display: inline-flex; align-items: flex-end; gap: 3px; height: 16px; }
.eq i {
  width: 3.5px;
  height: 100%;
  border-radius: 2px;
  background: var(--grad-worlds);
  transform-origin: bottom;
  transform: scaleY(0.25);
  transition: transform 0.3s;
}
.playing .eq i { animation: eq 0.9s ease-in-out infinite alternate; }
.playing .eq i:nth-child(2) { animation-delay: 0.15s; }
.playing .eq i:nth-child(3) { animation-delay: 0.3s; }
.playing .eq i:nth-child(4) { animation-delay: 0.45s; }
@keyframes eq {
  from { transform: scaleY(0.2); }
  to   { transform: scaleY(1); }
}

.np-main { display: flex; align-items: center; gap: 16px; }
.np-art {
  width: 84px; height: 84px;
  border-radius: 18px;
  object-fit: cover;
  flex: 0 0 auto;
  box-shadow: var(--shadow);
}
.np-info { min-width: 0; flex: 1; }
.np-title { font-family: var(--font-head); font-weight: 700; font-size: 21px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.np-artist { font-size: 13.5px; color: var(--muted); margin-top: 3px; }
.np-play {
  width: 54px; height: 54px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--grad-worlds);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(220, 110, 160, 0.35);
  transition: transform 0.2s;
}
.np-play:hover { transform: scale(1.07); }
.np-play svg { width: 18px; height: 18px; fill: currentColor; }

a.np-play { text-decoration: none; }
.np-note { margin-top: 16px; font-size: 12.5px; color: var(--muted); }

.np-progress { margin-top: 18px; }
.np-bar { position: relative; height: 5px; border-radius: 3px; background: var(--bg-soft); cursor: pointer; }
.np-bar-fill { position: absolute; inset: 0 auto 0 0; width: 0%; border-radius: 3px; background: var(--grad-worlds); }
.np-time { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--muted); margin-top: 8px; font-variant-numeric: tabular-nums; }

/* ---------- sections ---------- */

.section { padding: clamp(56px, 9vh, 110px) 0; }

.sec-head { margin-bottom: clamp(28px, 4vh, 44px); }
.sec-head h2 {
  font-size: clamp(28px, 3.8vw, 46px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-top: 12px;
}
.sec-head .sec-sub { color: var(--muted); font-size: 15px; margin-top: 10px; max-width: 40em; }
.sec-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.sec-link { font-size: 14px; font-weight: 600; color: var(--ink-soft); border-bottom: 1.5px solid var(--hairline); padding-bottom: 2px; }
.sec-link:hover { color: var(--ink); }

/* ---------- roster cards ---------- */

.roster-label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 30px 0 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.roster-label::after { content: ""; flex: 1; height: 1px; background: var(--hairline); }

.roster-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.r-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--card);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.r-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.r-media {
  position: relative;
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.r-media img.cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.r-media img.badge {
  width: 46%;
  max-width: 150px;
  border-radius: 50%;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
  transition: transform 0.35s ease;
}
.r-card:hover .r-media img.badge { transform: scale(1.06) rotate(3deg); }
.r-media .big-letter {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(56px, 6vw, 84px);
  letter-spacing: 0.02em;
}
.r-media .mask-emoji { font-size: clamp(48px, 5vw, 72px); filter: drop-shadow(0 8px 22px rgba(214, 69, 96, 0.5)); }

.r-type {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.88);
  color: #443a4e;
  border-radius: 999px;
  padding: 6px 12px;
  backdrop-filter: blur(6px);
}

.r-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.r-name { font-family: var(--font-head); font-weight: 700; font-size: 22px; letter-spacing: 0.01em; display: flex; align-items: baseline; gap: 8px; }
.r-name .jp { font-size: 13px; font-weight: 500; color: var(--muted); letter-spacing: 0.14em; }
.r-line { font-size: 14px; color: var(--ink-soft); }
.r-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; padding-top: 12px; }
.r-tags .tag { font-size: 11.5px; padding: 5px 11px; }

/* media backgrounds per world */
.rm-neyu { background: linear-gradient(135deg, #ffe4ef 0%, #e3f1ff 100%); }
.rm-luno { background: #201b28; color: #f5f2f7; }
.rm-rukami { background: radial-gradient(80% 90% at 50% 0%, #52182a 0%, #24070f 100%); }
.rm-volt { background: radial-gradient(80% 90% at 70% 0%, #123a5c 0%, #071018 100%); }
.rm-noctelle { background: radial-gradient(80% 90% at 50% 0%, #2c2857 0%, #0d0d1e 100%); }
.rm-iroame { background: linear-gradient(135deg, #fdeef5 0%, #efe6fa 50%, #ffeedd 100%); }

/* ---------- latest feed ---------- */

.latest-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 18px;
  align-items: stretch;
}

.feat-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  box-shadow: var(--shadow-lg);
  color: #fff;
}
.feat-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feat-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 8, 20, 0.82) 0%, rgba(20, 8, 20, 0.12) 55%, rgba(20, 8, 20, 0.15) 100%);
}
.feat-body { position: relative; z-index: 2; padding: 24px; width: 100%; }
.feat-title { font-family: var(--font-head); font-weight: 700; font-size: clamp(28px, 3vw, 40px); margin: 10px 0 4px; }
.feat-artist { font-size: 14px; opacity: 0.85; }
.feat-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 16px; }
.feat-listen {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(255, 255, 255, 0.94);
  color: #33202e;
  border-radius: 999px;
  padding: 11px 20px;
  font-size: 13.5px;
  font-weight: 700;
  transition: transform 0.2s;
}
.feat-listen:hover { transform: scale(1.04); }
.feat-listen svg { width: 12px; height: 12px; fill: currentColor; }

.news-list { display: flex; flex-direction: column; gap: 12px; }
.news-item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  background: var(--card);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  padding: 14px 18px;
  flex: 1;
  transition: transform 0.25s, box-shadow 0.25s;
}
.news-item:hover { transform: translateX(6px); box-shadow: var(--shadow-lg); }
.news-thumb {
  width: 52px; height: 52px;
  border-radius: 14px;
  object-fit: cover;
  background: var(--bg-soft);
}
.news-thumb.dot { display: grid; place-items: center; }
.news-thumb.dot::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: var(--nc, var(--muted)); }
.news-title { display: block; font-family: var(--font-head); font-weight: 600; font-size: 16.5px; line-height: 1.3; }
.news-meta { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }

/* ---------- about strip ---------- */

.about-strip {
  background: var(--card);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  padding: clamp(28px, 4vw, 56px);
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(24px, 4vw, 60px);
  align-items: center;
}
.about-quote {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(21px, 2.4vw, 30px);
  line-height: 1.4;
  letter-spacing: -0.01em;
}
.about-points { display: flex; flex-direction: column; gap: 14px; }
.about-points li { list-style: none; display: flex; gap: 12px; font-size: 14.5px; color: var(--ink-soft); }
.about-points li::before { content: "✦"; color: var(--muted); flex: 0 0 auto; }

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--hairline);
  background: var(--bg-soft);
  padding: clamp(44px, 7vh, 80px) 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3fr);
  gap: clamp(28px, 4vw, 60px);
  padding-bottom: clamp(32px, 5vh, 56px);
}
.footer-tag { font-family: var(--font-head); font-weight: 700; font-size: clamp(21px, 2.4vw, 30px); line-height: 1.2; letter-spacing: -0.01em; }
.footer-col h4 { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.footer-col ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 9px 18px; }
.footer-col a { font-size: 14px; color: var(--ink-soft); }
.footer-col a:hover { color: var(--ink); }
.footer-col p { font-size: 14px; color: var(--ink-soft); }
.footer-note { font-size: 12.5px; color: var(--muted); margin-top: 8px; }
.footer-legal {
  border-top: 1px solid var(--hairline);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
  color: var(--muted);
}

/* ---------- reveal ---------- */

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   WORLD PAGES
   ============================================================ */

.wp-hero { position: relative; overflow: hidden; padding: clamp(48px, 8vh, 100px) 0; }
.wp-hero-art { position: absolute; inset: 0; pointer-events: none; }
.wp-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.wp-crumb { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.wp-crumb a:hover { color: var(--ink); }
.wp-name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(46px, 8vw, 104px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin: 14px 0 12px;
}
.wp-name .jp { font-size: clamp(14px, 1.8vw, 22px); font-weight: 500; letter-spacing: 0.26em; color: var(--muted); vertical-align: super; margin-left: 14px; }
.wp-slogan {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(18px, 2.2vw, 26px);
  background: var(--grad-worlds);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  width: fit-content;
}
.wp-def { margin-top: 16px; max-width: 33em; color: var(--ink-soft); font-size: clamp(15px, 1.4vw, 16.5px); }
.wp-chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }

.wp-art {
  justify-self: center;
  width: clamp(200px, 26vw, 330px);
  border-radius: 50%;
  box-shadow: var(--shadow-lg);
  animation: floaty 6s ease-in-out infinite alternate;
}
@keyframes floaty { from { transform: translateY(0); } to { transform: translateY(-18px); } }
@media (prefers-reduced-motion: reduce) { .wp-art { animation: none; } }
.wp-art.round { overflow: hidden; aspect-ratio: 1; }
.wp-art.round img { width: 100%; height: 100%; object-fit: cover; }
.wp-art-letter {
  justify-self: center;
  width: clamp(190px, 24vw, 300px);
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(70px, 9vw, 120px);
  box-shadow: var(--shadow-lg);
  animation: floaty 6s ease-in-out infinite alternate;
}

/* world content cards */
.w-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.w-card {
  background: var(--card);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  padding: 24px;
}
.w-card .wc-ico { font-size: 24px; margin-bottom: 12px; display: block; }
.w-card .wc-dot {
  display: block;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--accent);
  margin-bottom: 14px;
}
.w-card h3 { font-weight: 700; font-size: 18px; }
.w-card .wc-sub { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.w-card p { margin-top: 10px; font-size: 14px; color: var(--ink-soft); }

/* flow steps */
.flow-card {
  background: var(--card);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  padding: clamp(22px, 3vw, 36px);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 18px;
}
.flow-card .f-step {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(17px, 2.2vw, 26px);
  letter-spacing: 0.04em;
}
.flow-card .f-arrow { color: var(--muted); }
.fanmark { font-size: 22px; letter-spacing: 0.1em; margin-top: 18px; }

/* track list */
.track-card { background: var(--card); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; }
.track-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
}
.track-row + .track-row { border-top: 1px solid var(--hairline); }
.track-row .t-num { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.track-row .t-title { font-family: var(--font-head); font-weight: 600; font-size: clamp(16.5px, 1.8vw, 20px); }
.track-row .t-meta { font-size: 13px; color: var(--muted); margin-top: 2px; }

/* IROAME colors */
.color-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.color-cell {
  border-radius: var(--r);
  padding: 20px 16px;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
  box-shadow: var(--shadow);
  transition: transform 0.25s;
}
.color-cell:hover { transform: translateY(-5px); }
.color-cell b { font-family: var(--font-head); font-weight: 800; font-size: 16px; letter-spacing: 0.1em; }
.color-cell span { font-size: 12.5px; line-height: 1.5; opacity: 0.94; }
.iro-blue   { background: var(--c-iro-blue); }
.iro-pink   { background: var(--c-iro-pink); }
.iro-orange { background: var(--c-iro-orange); }
.iro-purple { background: var(--c-iro-purple); }
.iro-red    { background: var(--c-iro-red); }

/* profile card (identity facts) */
.profile-card {
  background: var(--card);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  padding: clamp(22px, 3vw, 34px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 18px 22px;
}
.pf-item .pf-k {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.pf-item .pf-v { font-family: var(--font-head); font-weight: 700; font-size: 18px; margin-top: 5px; }
.pf-item .pf-v .sw-row { display: flex; gap: 6px; margin-top: 4px; }

/* color swatch chips */
.swatches { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.sw {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-soft);
  background: var(--card);
  border-radius: 999px;
  padding: 7px 13px;
  box-shadow: var(--shadow);
}
.sw i { width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.18); flex: 0 0 auto; }

/* big statement quote */
.big-quote {
  position: relative;
  background: var(--card);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  padding: clamp(22px, 3.5vw, 40px) clamp(22px, 3.5vw, 40px) clamp(22px, 3.5vw, 40px) clamp(30px, 4vw, 52px);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(19px, 2.3vw, 27px);
  line-height: 1.45;
  letter-spacing: -0.01em;
}
.big-quote::before {
  content: "";
  position: absolute;
  left: clamp(14px, 2vw, 24px);
  top: clamp(24px, 3.5vw, 42px);
  bottom: clamp(24px, 3.5vw, 42px);
  width: 3.5px;
  border-radius: 2px;
  background: var(--accent);
}

/* poetic principle list */
.prin { list-style: none; display: grid; gap: 12px; }
.prin li {
  position: relative;
  padding-left: 20px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(16px, 1.9vw, 21px);
}
.prin li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

/* IROAME cover-layout mock */
.iro-layout-grid {
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.iro-mock {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1;
  border-radius: var(--r-lg);
  background:
    radial-gradient(90% 80% at 80% 0%, rgba(255, 255, 255, 0.18) 0%, transparent 55%),
    linear-gradient(160deg, #4a90e8 0%, #2456a8 100%);
  color: #fff;
  padding: 24px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
}
.iro-mock .m-brand { font-family: var(--font-head); font-weight: 800; font-size: 14px; letter-spacing: 0.24em; }
.iro-mock .m-code { margin-top: auto; font-size: 12px; font-weight: 600; letter-spacing: 0.2em; opacity: 0.88; }
.iro-mock .m-title { font-family: var(--font-head); font-weight: 700; font-size: clamp(24px, 2.6vw, 32px); margin-top: 6px; }
.iro-side-card {
  background: var(--card);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  padding: clamp(22px, 3vw, 32px);
}
.iro-side-card h3 { font-family: var(--font-head); font-weight: 700; font-size: 17px; }
.iro-side-card p { margin-top: 9px; font-size: 14px; color: var(--ink-soft); }
.iro-side-card + .iro-side-card,
.iro-side-card .divider { margin-top: 14px; }
.iro-side-card hr { border: 0; border-top: 1px solid var(--hairline); margin: 18px 0; }

/* next-world nav */
.world-next { padding: clamp(48px, 8vh, 90px) 0; }
.wn-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.wn-grid a {
  font-size: 13.5px;
  font-weight: 600;
  background: var(--card);
  box-shadow: var(--shadow);
  border-radius: 999px;
  padding: 11px 21px;
  transition: transform 0.2s, background 0.2s, color 0.2s;
}
.wn-grid a:hover { transform: translateY(-3px); background: var(--ink); color: var(--bg); }

/* image band */
.img-band { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); max-width: 720px; margin-left: auto; margin-right: auto; }
.img-band img { display: block; width: 100%; height: auto; }

/* ---------- per-world themes ---------- */

/* NEYU — milk white / pink / blue */
.world-neyu {
  --bg: #fdf7f8;
  --bg-soft: #f6e9ee;
  --card: #ffffff;
  --ink: #46323e;
  --ink-soft: #6b5563;
  --muted: #a48b97;
  --hairline: rgba(96, 62, 82, 0.13);
  --shadow: 0 10px 30px rgba(214, 121, 160, 0.12);
  --shadow-lg: 0 24px 60px rgba(214, 121, 160, 0.2);
  --accent: #e8709f;
}
.world-neyu .wp-hero-art {
  background:
    radial-gradient(50% 60% at 88% 10%, rgba(244, 135, 178, 0.3) 0%, transparent 62%),
    radial-gradient(45% 55% at 6% 90%, rgba(142, 200, 245, 0.32) 0%, transparent 62%);
}

/* LUNO — soft dark mono */
.world-luno {
  --bg: #17141d;
  --bg-soft: #221e2a;
  --card: #201c29;
  --ink: #f4f2f5;
  --ink-soft: #c9c5cf;
  --muted: #8d8598;
  --hairline: rgba(244, 242, 245, 0.12);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.5);
  --accent: #f4f2f5;
}
.world-luno .r-type { background: rgba(32, 28, 41, 0.9); color: #d9d5df; }

/* RUKAMI — soft theater dark */
.world-rukami {
  --bg: #1c0710;
  --bg-soft: #2a0d18;
  --card: #260b15;
  --ink: #f7e9ec;
  --ink-soft: #d5b8bf;
  --muted: #9c7883;
  --hairline: rgba(247, 233, 236, 0.13);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.55);
  --accent: #ff5d78;
}
.world-rukami .wp-hero-art {
  background: radial-gradient(55% 55% at 50% -8%, rgba(255, 77, 106, 0.32) 0%, transparent 65%);
}

/* VOLT WAVE — soft electric dark */
.world-volt {
  --bg: #070b12;
  --bg-soft: #0e141d;
  --card: #0e1520;
  --ink: #ecf5fd;
  --ink-soft: #b9cede;
  --muted: #6f8399;
  --hairline: rgba(236, 245, 253, 0.12);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.55);
  --accent: #37b1ff;
}
.world-volt .wp-hero-art {
  background: radial-gradient(60% 55% at 82% -8%, rgba(55, 177, 255, 0.24) 0%, transparent 62%);
}

/* NOCTELLE — soft night */
.world-noctelle {
  --bg: #0c0c18;
  --bg-soft: #16162a;
  --card: #141428;
  --ink: #eae8f6;
  --ink-soft: #c2bfda;
  --muted: #767390;
  --hairline: rgba(234, 232, 246, 0.12);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.55);
  --accent: #a89fe0;
}
.world-noctelle .wp-hero-art {
  background: radial-gradient(55% 50% at 70% -5%, rgba(143, 131, 232, 0.26) 0%, transparent 64%);
}

/* IROAME — warm gallery */
.world-iroame {
  --bg: #fffcf7;
  --bg-soft: #f6efe6;
  --card: #ffffff;
  --ink: #2c2430;
  --ink-soft: #544a5c;
  --muted: #93899c;
  --hairline: rgba(44, 36, 48, 0.12);
  --shadow: 0 10px 30px rgba(120, 90, 140, 0.1);
  --shadow-lg: 0 24px 60px rgba(120, 90, 140, 0.18);
  --accent: #7a5fd0;
}
.world-iroame .wp-hero-art::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 6px;
  background: linear-gradient(90deg,
    var(--c-iro-blue) 0 20%, var(--c-iro-pink) 0 40%, var(--c-iro-orange) 0 60%,
    var(--c-iro-purple) 0 80%, var(--c-iro-red) 0 100%);
}

/* dark worlds: header + selection tune */
.world-luno ::selection, .world-rukami ::selection,
.world-volt ::selection, .world-noctelle ::selection { background: var(--accent); color: #16121a; }

/* ============================================================
   DARK THEME (html[data-theme="dark"])
   Light-based pages (home / NEYU / IROAME) get dark variants.
   Dark-identity worlds (LUNO / RUKAMI / VOLT / NOCTELLE) are
   already dark and stay true to their identity in both modes.
   ============================================================ */

html[data-theme="dark"] {
  --bg: #131018;
  --bg-soft: #1e1a27;
  --card: #1c1824;
  --ink: #f0edf4;
  --ink-soft: #c8c3d1;
  --muted: #8f8799;
  --hairline: rgba(240, 237, 244, 0.12);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.5);
}
html[data-theme="dark"] .hero-blobs i { opacity: 0.2; }
html[data-theme="dark"] .r-type { background: rgba(28, 24, 36, 0.85); color: #d9d5df; }
html[data-theme="dark"] ::selection { background: var(--ink); color: var(--bg); }

html[data-theme="dark"] .world-neyu {
  --bg: #201119;
  --bg-soft: #2d1a24;
  --card: #2a1823;
  --ink: #f6e8ee;
  --ink-soft: #d8bfca;
  --muted: #a58694;
  --hairline: rgba(246, 232, 238, 0.13);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.5);
}
html[data-theme="dark"] .world-neyu .wp-hero-art {
  background:
    radial-gradient(50% 60% at 88% 10%, rgba(244, 135, 178, 0.16) 0%, transparent 62%),
    radial-gradient(45% 55% at 6% 90%, rgba(142, 200, 245, 0.16) 0%, transparent 62%);
}

html[data-theme="dark"] .world-iroame {
  --bg: #191420;
  --bg-soft: #251d30;
  --card: #221b2c;
  --ink: #efe9f4;
  --ink-soft: #cfc5da;
  --muted: #93899f;
  --hairline: rgba(239, 233, 244, 0.12);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.5);
}

/* ---------- responsive ---------- */

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .np-card { justify-self: start; }
  .roster-grid { grid-template-columns: 1fr 1fr; }
  .latest-grid { grid-template-columns: 1fr; }
  .feat-card { min-height: 340px; }
  .about-strip { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .wp-grid { grid-template-columns: 1fr; }
  .wp-art, .wp-art-letter { justify-self: start; }
  .w-cards { grid-template-columns: 1fr; }
  .iro-layout-grid { grid-template-columns: 1fr; }
  .color-grid { grid-template-columns: repeat(3, 1fr); }
}

.menu-toggle {
  display: none;
  width: 36px; height: 36px;
  border-radius: 10px;
  border: 1px solid var(--hairline);
  background: var(--card);
  font-size: 16px;
  line-height: 1;
  place-items: center;
}

@media (max-width: 760px) {
  .menu-toggle { display: grid; }
  .site-nav a:not(.nav-cta):not(.yt-btn) { display: none; }
  .wordmark small { display: none; }
  .site-header .wrap { gap: 10px; }
  .site-header.menu-open .site-nav a:not(.nav-cta):not(.yt-btn) {
    display: block;
    width: 100%;
    padding: 13px 14px;
  }
  .site-header.menu-open .site-nav {
    position: absolute;
    top: 66px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--bg);
    border-bottom: 1px solid var(--hairline);
    padding: 12px 20px 16px;
    gap: 6px;
    z-index: 99;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  }
  .site-header.menu-open .hdr-tools { justify-content: flex-start; margin: 6px 0; }
}

@media (max-width: 620px) {
  .roster-grid { grid-template-columns: 1fr; }
  .color-grid { grid-template-columns: 1fr 1fr; }
  .color-cell { min-height: 140px; }
  .news-item { grid-template-columns: 44px minmax(0, 1fr); }
  .news-item .pill { display: none; }
  .news-thumb { width: 44px; height: 44px; }
}
