
:root {
  --jg-bg: #12151a;
  --jg-bg-soft: #1a1f27;
  --jg-panel: #1e2430;
  --jg-text: #e9ecef;
  --jg-muted: #9aa3ad;
  --jg-primary: #708090;
  --jg-secondary: #a9a9a9;
  --jg-accent: #4169e1;
  --jg-accent-hover: #2f4fc0;
  --jg-border: #2c3440;
  --jg-radius: 12px;
  --jg-page-w: 1120px;
  --jg-header-h: 72px;
  --jg-font-h: "Lexend", "IBM Plex Sans", sans-serif;
  --jg-font-b: "IBM Plex Sans", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--jg-font-b);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--jg-text);
  background: var(--jg-bg);
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #7b96f0; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #a8bbf7; }
h1, h2, h3 {
  font-family: var(--jg-font-h);
  line-height: 1.2;
  font-weight: 700;
  margin: 0 0 0.75rem;
}
h1 { font-size: clamp(1.75rem, 3vw, 2.4rem); }
h2 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; padding-left: 1.2rem; }
kbd {
  display: inline-block;
  padding: 0.1rem 0.45rem;
  border: 1px solid var(--jg-border);
  border-radius: 6px;
  background: var(--jg-bg-soft);
  font-size: 0.85em;
}

.jg-shell {
  width: min(100% - 2.5rem, var(--jg-page-w));
  margin-inline: auto;
}
.jg-main { padding-top: var(--jg-header-h); min-height: 60vh; }
.jg-lead { font-size: 1.1rem; color: var(--jg-muted); max-width: 42rem; }
.jg-muted { color: var(--jg-muted); }
.jg-kicker {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  color: var(--jg-secondary);
  margin-bottom: 0.5rem;
}
.jg-tag {
  display: inline-block;
  font-size: 0.78rem;
  color: #7b96f0;
  margin: 0 0 0.35rem;
}

.jg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0.65rem 1.15rem;
  border-radius: 8px;
  border: 1px solid transparent;
  font-family: var(--jg-font-h);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.jg-btn--accent {
  background: var(--jg-accent);
  color: #fff;
  border-color: var(--jg-accent);
}
.jg-btn--accent:hover,
.jg-btn--accent:focus-visible {
  background: var(--jg-accent-hover);
  color: #fff;
  border-color: var(--jg-accent-hover);
}
.jg-btn--ghost {
  background: transparent;
  color: var(--jg-text);
  border-color: var(--jg-border);
}
.jg-btn--ghost:hover,
.jg-btn--ghost:focus-visible {
  border-color: var(--jg-secondary);
  color: #fff;
  background: var(--jg-bg-soft);
}
.jg-btn--block { width: 100%; }

.jg-card {
  background: var(--jg-panel);
  border: 1px solid var(--jg-border);
  border-radius: var(--jg-radius);
  padding: 1.25rem;
}
.jg-icon {
  width: 72px;
  height: 72px;
  border-radius: 22%;
  object-fit: cover;
  flex-shrink: 0;
}

.jg-top {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--jg-header-h);
  background: #0e1116;
  border-bottom: 1px solid var(--jg-border);
}
.jg-top__row {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.jg-top__brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  min-height: 40px;
}
.jg-top__mark {
  display: block;
  width: 180px;
  height: 40px;
}
.jg-top__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex: 1;
}
.jg-top__link {
  color: var(--jg-text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  white-space: nowrap;
}
.jg-top__link:hover,
.jg-top__link.jg-on { color: #7b96f0; }
.jg-top__cta { flex-shrink: 0; }
.jg-top__burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 10px;
  cursor: pointer;
}
.jg-top__burger span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: var(--jg-text);
}

.jg-veil {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(0,0,0,0.45);
}
.jg-veil[hidden],
.jg-drawer[hidden] { display: none; }
.jg-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1200;
  width: min(85vw, 400px);
  height: 100dvh;
  background: #0e1116;
  border-left: 1px solid var(--jg-border);
  padding: 1rem 1.25rem 2rem;
  overflow-y: auto;
}
.jg-drawer__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}
.jg-drawer__x {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--jg-text);
  font-size: 1.75rem;
  cursor: pointer;
}
.jg-drawer__nav {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.jg-drawer__nav a {
  color: var(--jg-text);
  text-decoration: none;
  font-size: 1.1rem;
  min-height: 44px;
  display: flex;
  align-items: center;
}
body.jg-nav-open { overflow: hidden; }

.jg-hero {
  padding: 2.5rem 0 2rem;
  background: linear-gradient(180deg, #161b24 0%, var(--jg-bg) 100%);
}
.jg-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(20rem, 26rem);
  gap: 2rem;
  align-items: start;
}
.jg-hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.25rem; }
.jg-hero__still {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1rem;
}
.jg-hero__meta { display: flex; gap: 0.85rem; align-items: center; margin-bottom: 1rem; }
.jg-hero__name { margin: 0; font-size: 1.25rem; }

.jg-band { padding: 2.5rem 0; }
.jg-band--soft { background: var(--jg-bg-soft); }
.jg-diary time {
  display: inline-block;
  min-width: 4.5rem;
  color: var(--jg-secondary);
  font-weight: 600;
}

.jg-bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  align-items: start;
}
.jg-tile { display: flex; flex-direction: column; gap: 0.65rem; }
.jg-tile--span2 { grid-column: span 2; }
.jg-tile--span3 { grid-column: span 3; }
.jg-tile--span6 { grid-column: span 6; }
.jg-tile__media img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 10px;
}
.jg-tile h3 a { color: var(--jg-text); text-decoration: none; }
.jg-tile h3 a:hover { color: #7b96f0; }

.jg-keys { list-style: none; padding: 0; }
.jg-keys li { margin-bottom: 0.55rem; }

.jg-cta {
  padding: 3rem 0;
  background: #0e1116;
  border-top: 1px solid var(--jg-border);
}
.jg-cta__inner { text-align: center; }
.jg-cta__inner .jg-btn { margin-top: 0.5rem; }

.jg-page { padding: 2rem 0 3rem; }
.jg-prose { max-width: 42rem; }
.jg-prose > h2 {
  position: relative;
  padding-bottom: 0.4rem;
}
html.js .jg-reveal:not(.jg-in) h2::after { width: 0; }
.jg-reveal.jg-in h2::after,
.jg-prose h2::after {
  content: "";
  display: block;
  height: 2px;
  width: 3rem;
  margin-top: 0.35rem;
  background: var(--jg-accent);
}
.jg-article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 2rem;
  align-items: start;
}
.jg-side {
  position: sticky;
  top: calc(var(--jg-header-h) + 1rem);
  background: var(--jg-panel);
  border: 1px solid var(--jg-border);
  border-radius: var(--jg-radius);
  padding: 1rem;
}
.jg-side h2 { font-size: 1rem; }
.jg-list { list-style: none; padding: 0; }
.jg-list li { margin-bottom: 0.55rem; }
.jg-gloss { margin: 1rem 0; }
.jg-gloss dt { font-weight: 700; margin-top: 0.65rem; }
.jg-gloss dd { margin: 0.15rem 0 0; color: var(--jg-muted); }

.jg-crumbs { margin-bottom: 1rem; }
.jg-crumbs ol {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-size: 0.9rem;
  color: var(--jg-muted);
}
.jg-crumbs li:not(:last-child)::after { content: "/"; margin-left: 0.35rem; color: var(--jg-border); }
.jg-crumbs a { color: var(--jg-muted); }

.jg-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
}
.jg-table th, .jg-table td {
  text-align: left;
  padding: 0.65rem 0.5rem;
  border-bottom: 1px solid var(--jg-border);
}
.jg-contact { max-width: 28rem; }

.jg-playbar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}
.jg-stage {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto 1.25rem;
  border: 1px solid var(--jg-border);
  border-radius: var(--jg-radius);
  overflow: hidden;
  background: #000;
  aspect-ratio: 16 / 10;
}
.jg-stage iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.jg-rules {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  max-width: 1100px;
  margin: 0 auto;
}

.jg-foot {
  border-top: 1px solid var(--jg-border);
  padding: 1.5rem 0 2rem;
  background: #0e1116;
}
.jg-foot__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  justify-content: space-between;
}
.jg-foot__brand { font-family: var(--jg-font-h); font-weight: 700; margin: 0; }
.jg-foot__links { display: flex; flex-wrap: wrap; gap: 0.85rem; align-items: center; }
.jg-foot__links a, .jg-foot__cookie {
  color: var(--jg-muted);
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
  text-decoration: none;
}
.jg-foot__links a:hover, .jg-foot__cookie:hover { color: var(--jg-text); }
.jg-foot__copy { margin: 0; color: var(--jg-muted); font-size: 0.9rem; }
.jg-foot__legal {
  margin-top: 1rem;
  color: var(--jg-muted);
  font-size: 0.85rem;
}
.jg-foot__legal p { margin-bottom: 0.4rem; }

.jg-cookie {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1300;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: #0e1116;
  border-top: 1px solid var(--jg-border);
}
.jg-cookie[hidden] { display: none; }
.jg-cookie p { margin: 0; max-width: 48rem; }
.jg-cookie__actions { display: flex; gap: 0.6rem; }

html.js .jg-reveal:not(.jg-in) { opacity: 0.01; transform: translateY(10px); }
.jg-reveal.jg-in { opacity: 1; transform: none; transition: opacity 0.45s ease, transform 0.45s ease; }
.jg-reveal.jg-in h2::after {
  animation: jg-sweep 0.6s ease both;
}
@keyframes jg-sweep { from { width: 0; } to { width: 3rem; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .jg-reveal, .jg-reveal.jg-in, .jg-reveal.jg-in h2::after {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (max-width: 1100px) {
  .jg-top__nav, .jg-top__cta { display: none; }
  .jg-top__burger { display: inline-block; margin-left: auto; }
  .jg-top__mark { width: 132px; height: 32px; }
}

@media (max-width: 900px) {
  .jg-hero__grid { grid-template-columns: 1fr; }
  .jg-article { grid-template-columns: 1fr; }
  .jg-side { position: static; }
  .jg-rules { grid-template-columns: 1fr; }
  .jg-bento { grid-template-columns: repeat(2, 1fr); }
  .jg-tile--span2, .jg-tile--span3, .jg-tile--span6 { grid-column: span 2; }
}

@media (max-width: 560px) {
  .jg-shell { width: min(100% - 1.5rem, var(--jg-page-w)); }
  .jg-bento { grid-template-columns: 1fr; }
  .jg-tile--span2, .jg-tile--span3, .jg-tile--span6 { grid-column: span 1; }
  .jg-hero__actions .jg-btn { width: 100%; }
  .jg-playbar { flex-direction: column; }
  .jg-cookie { flex-direction: column; align-items: stretch; }
  .jg-cookie__actions .jg-btn { flex: 1; }
  .jg-stage { aspect-ratio: 3 / 4; max-height: 70dvh; }
}
