:root {
  color-scheme: light;
  --background: 210 33% 98%;
  --foreground: 223 13% 10%;
  --primary: 197 54% 66%;
  --primary-foreground: 207 44% 14%;
  --card: 0 0% 100%;
  --muted: 198 31% 92%;
  --muted-foreground: 202 12% 44%;
  --border: 199 20% 84%;
  --coral: 342 49% 75%;
  --teal: 197 43% 46%;
  --ink: #17191e;
  --paper: #f7fafc;
  --section-gallery: 197 50% 95%;
  --section-cosplay: 342 42% 95%;
  --section-connect: 198 48% 91%;
  --section-characters: #142534;
  --section-watch: #1c303d;
  --radius: .75rem;
  --radius-outer: 1.5rem;
  --radius-inner: .5rem;
  --page: min(1180px, calc(100vw - 40px));
}

.dark {
  color-scheme: dark;
  --background: 207 34% 8%;
  --foreground: 204 33% 95%;
  --primary: 196 64% 70%;
  --primary-foreground: 207 44% 10%;
  --card: 205 27% 11%;
  --muted: 204 21% 16%;
  --muted-foreground: 200 16% 67%;
  --border: 202 20% 24%;
  --coral: 342 46% 72%;
  --teal: 195 54% 65%;
  --ink: #edf7fa;
  --paper: #101a21;
  --section-gallery: 204 28% 13%;
  --section-cosplay: 337 18% 14%;
  --section-connect: 201 30% 15%;
  --section-characters: #101e29;
  --section-watch: #142832;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }
body { margin: 0; background: hsl(var(--background)); color: hsl(var(--foreground)); font-family: "Be Vietnam Pro", system-ui, sans-serif; line-height: 1.65; }
body.menu-open { overflow: hidden; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.neo-symbol-wrap { display: none; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3, .brand { font-family: "Be Vietnam Pro", system-ui, sans-serif; letter-spacing: 0; }
h2 { font-size: 4.5rem; line-height: 1.04; margin-bottom: 0; font-weight: 800; }
:where(a, button, input, textarea, select):focus-visible { outline: 3px solid hsl(var(--primary)); outline-offset: 3px; }

.skip-link { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 10px 14px; background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); border-radius: var(--radius-inner); }
.skip-link:focus { top: 12px; }
.site-header { position: fixed; inset: 0 0 auto; height: 72px; z-index: 50; display: flex; align-items: center; justify-content: space-between; padding: 0 max(20px, calc((100vw - 1180px)/2)); background: hsl(var(--background) / .9); backdrop-filter: blur(14px); border-bottom: 1px solid hsl(var(--border)); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 1.15rem; }
.brand-default { display: flex; align-items: center; gap: 10px; }
.brand-logo { width: auto; height: 42px; max-width: 180px; object-fit: contain; }
.brand-default[hidden], .brand-logo[hidden] { display: none !important; }
.footer-brand .brand-logo { height: 38px; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); border: 2px solid currentColor; border-radius: 50%; font-size: 1rem; }
.desktop-nav { display: flex; align-items: center; gap: 34px; font-size: .8rem; font-weight: 700; text-transform: uppercase; }
.desktop-nav a { position: relative; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 2px; background: hsl(var(--coral)); transition: right .2s ease; }
.desktop-nav a:hover::after { right: 0; }
.header-actions { display: flex; gap: 8px; }
.icon-button { display: inline-grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 1px solid hsl(var(--border)); border-radius: 50%; background: hsl(var(--card)); color: hsl(var(--foreground)); cursor: pointer; }
.icon-button:hover { background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); border-color: hsl(var(--primary-foreground)); }
.icon-button svg { width: 19px; height: 19px; }
.menu-button { display: none; }
.mobile-nav { position: fixed; inset: 72px 0 0; z-index: 45; background: hsl(var(--background)); padding: 36px 20px; }
.mobile-nav a { display: block; padding: 16px 0; border-bottom: 1px solid hsl(var(--border)); font-size: 1.75rem; line-height: 1.15; font-weight: 800; }

.hero { position: relative; min-height: min(860px, 92svh); margin-top: 72px; overflow: hidden; background: #142534; color: white; }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.hero-shade { position: absolute; inset: 0 auto 0 0; width: min(70vw, max(680px, calc((100vw - 1180px) / 2 + 580px))); background: rgba(20, 37, 52, .72); }
.hero-copy { position: relative; z-index: 2; width: var(--page); margin: auto; padding-top: clamp(100px, 17vh, 170px); }
.eyebrow { margin-bottom: 22px; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .16em; }
.hero h1 { width: 540px; max-width: 48vw; margin: 0 0 22px; font-size: 7.3rem; line-height: .82; text-transform: uppercase; font-weight: 800; }
.hero h1 span { display: block; }
.hero-note { max-width: 460px; font-size: 1.18rem; }
.primary-link { display: inline-flex; align-items: center; gap: 12px; margin-top: 20px; padding: 13px 17px; border-radius: var(--radius); background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); font-weight: 700; }
.primary-link svg { width: 18px; }
.hero-stamp { position: absolute; z-index: 3; right: max(20px, calc((100vw - 1180px)/2)); bottom: 28px; display: grid; place-items: center; width: 96px; aspect-ratio: 1; border: 2px solid white; border-radius: 50%; transform: rotate(8deg); text-transform: uppercase; line-height: 1.1; }
.hero-stamp span { font-size: .62rem; align-self: end; }
.hero-stamp strong { font-size: 1.3rem; align-self: start; }

.about-section, .gallery-section, .cosplay-section, .journal-section, .connect-section { width: var(--page); margin: 0 auto; padding: 110px 0; }
.section-kicker { display: flex; align-items: center; gap: 16px; margin-bottom: 34px; color: hsl(var(--muted-foreground)); font-size: .7rem; font-weight: 700; letter-spacing: .16em; }
.section-kicker span:first-child { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid currentColor; border-radius: 50%; letter-spacing: 0; }
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(50px, 9vw, 130px); align-items: center; }
.jp-title { margin-bottom: 24px; color: hsl(var(--primary)); font: 900 6.5rem/1 "Zen Kaku Gothic New", sans-serif; opacity: .8; }
.about-copy { padding-top: 42px; }
.about-copy p { color: hsl(var(--muted-foreground)); }
.about-copy .lead { color: hsl(var(--foreground)); font-size: 1.35rem; line-height: 1.55; }
.signature { width: max-content; margin-top: 34px; font-size: 2.2rem; line-height: 1; font-style: normal; font-weight: 700; transform: rotate(-4deg); transform-origin: left center; }
.about-strip { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 80px; border-block: 1px solid hsl(var(--border)); }
.about-strip span { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 72px; border-right: 1px solid hsl(var(--border)); font-size: .82rem; font-weight: 600; }
.about-strip span:last-child { border-right: 0; }
.about-strip svg { width: 18px; color: hsl(var(--teal)); }

.gallery-section { width: 100%; background: hsl(var(--section-gallery)); padding-inline: max(20px, calc((100vw - 1180px)/2)); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 50px; }
.gallery-tools { display: flex; align-items: center; gap: 12px; }
.profile-cta { display: grid; grid-template-columns: 42px 1fr 20px; align-items: center; gap: 14px; width: 320px; min-height: 72px; padding: 14px; border-radius: var(--radius); }
.profile-cta > svg:first-child { width: 42px; height: 42px; padding: 10px; border-radius: 50%; }
.profile-cta > svg:last-child { width: 18px; }
.profile-cta span { display: grid; line-height: 1.3; }
.profile-cta small { font-size: .68rem; }
.profile-cta strong { font-size: .95rem; }
.gallery-instagram-link { border: 1px solid hsl(var(--border)); background: hsl(var(--background)); transition: border-color .2s ease, background .2s ease; }
.gallery-instagram-link > svg:first-child { background: hsl(var(--foreground)); color: hsl(var(--background)); }
.gallery-instagram-link small { color: hsl(var(--muted-foreground)); }
.gallery-instagram-link:hover { border-color: hsl(var(--foreground)); background: hsl(var(--card)); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.gallery-item { position: relative; min-width: 0; aspect-ratio: 2/3; overflow: hidden; border: 0; border-radius: var(--radius); background: #ddd; cursor: zoom-in; padding: 0; color: white; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.035); }
.gallery-caption { position: absolute; inset: auto 12px 12px; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--radius-inner); background: rgba(16, 16, 14, .82); font-size: .76rem; text-align: left; }
.gallery-caption svg { width: 16px; flex: 0 0 auto; }
.loading-state { grid-column: 1 / -1; display: flex; justify-content: center; gap: 10px; padding: 70px; color: hsl(var(--muted-foreground)); }
.loading-state svg { animation: spin 1s linear infinite; }

.content-section-heading > p { max-width: 390px; margin-bottom: 0; color: hsl(var(--muted-foreground)); }
.cosplay-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cosplay-card { position: relative; min-width: 0; overflow: hidden; border: 1px solid hsl(var(--border)); border-radius: var(--radius); background: hsl(var(--card)); }
.cosplay-card img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.cosplay-card-body { padding: 20px; }
.cosplay-card time { display: inline-flex; margin-bottom: 12px; color: hsl(var(--coral)); font-size: .7rem; font-weight: 700; text-transform: uppercase; }
.cosplay-section, .connect-section { box-shadow: 0 0 0 100vmax hsl(var(--section-cosplay)); clip-path: inset(0 -100vmax); background: hsl(var(--section-cosplay)); }
.connect-section { box-shadow: 0 0 0 100vmax hsl(var(--section-connect)); background: hsl(var(--section-connect)); }
.cosplay-card h3 { margin-bottom: 10px; font-size: 1.45rem; line-height: 1.3; font-weight: 700; }
.cosplay-card p { display: flex; align-items: center; gap: 8px; margin: 0; color: hsl(var(--muted-foreground)); font-size: .86rem; }
.cosplay-card p svg { width: 16px; color: hsl(var(--teal)); }
.empty-content { grid-column: 1/-1; margin: 0; padding: 46px 0; border-block: 1px solid hsl(var(--border)); color: hsl(var(--muted-foreground)); text-align: center; }

.characters-section { padding: 110px max(20px, calc((100vw - 1180px)/2)); background: var(--section-characters); color: white; }
.characters-section .content-section-heading > p { color: #aaa99f; }
.character-list { border-top: 1px solid #45453e; }
.character-card { display: grid; grid-template-columns: minmax(240px, .72fr) 1fr; gap: clamp(32px, 7vw, 90px); align-items: center; padding: 28px 0; border-bottom: 1px solid #45453e; }
.character-card:nth-child(even) { grid-template-columns: 1fr minmax(240px, .72fr); }
.character-card:nth-child(even) .character-visual { order: 2; }
.character-visual { position: relative; min-width: 0; }
.character-visual > span { position: absolute; z-index: 1; top: 14px; left: 14px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); font-size: .7rem; font-weight: 800; }
.character-visual img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: var(--radius); }
.character-source { margin-bottom: 10px; color: hsl(var(--primary)); font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .16em; }
.character-copy h3 { margin-bottom: 14px; font-size: 2.8rem; line-height: 1.12; font-weight: 700; }
.character-copy > p:last-child { max-width: 580px; margin: 0; color: #b8b7ae; }
.dark-empty { border-color: #45453e; color: #aaa99f; }

.journal-heading > p { max-width: 340px; margin-bottom: 0; color: hsl(var(--muted-foreground)); }
.story-list { border-top: 1px solid hsl(var(--border)); }
.story { display: grid; grid-template-columns: 160px 1fr auto; align-items: center; gap: 35px; padding: 34px 0; border-bottom: 1px solid hsl(var(--border)); transition: padding .2s ease; }
.story { width: 100%; border-inline: 0; border-top: 0; background: transparent; color: inherit; text-align: left; cursor: pointer; }
.story:hover { padding-left: 12px; }
.story time { color: hsl(var(--muted-foreground)); font-size: .75rem; text-transform: uppercase; }
.story h3 { margin-bottom: 8px; font-size: 1.75rem; line-height: 1.25; font-weight: 700; }
.story p { max-width: 650px; margin-bottom: 0; color: hsl(var(--muted-foreground)); }
.story-arrow { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid hsl(var(--border)); border-radius: 50%; }
.story:hover .story-arrow { background: hsl(var(--coral)); color: white; border-color: hsl(var(--coral)); }

.watch-section { padding: 90px max(20px, calc((100vw - 1180px)/2)); background: var(--section-watch); color: white; }
.watch-intro { display: grid; grid-template-columns: minmax(0, 1fr) 320px; align-items: end; gap: 48px; margin-bottom: 44px; }
.section-kicker.light { color: #aaa99f; }
.watch-copy h2 { max-width: 600px; font-size: 4.5rem; }
.watch-copy > p { max-width: 520px; margin: 18px 0 0; color: #b8b7ae; }
.video-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.video-card { position: relative; aspect-ratio: 9/16; min-width: 0; overflow: hidden; border-radius: var(--radius); background: #333; color: white; }
.video-card img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.78); transition: transform .5s ease; }
.video-card:hover img { transform: scale(1.04); }
.play-button { position: absolute; inset: 44% auto auto 50%; display: grid; place-items: center; width: 58px; height: 58px; border: 0; border-radius: 50%; transform: translate(-50%, -50%); background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); cursor: pointer; }
.play-button svg { width: 22px; fill: currentColor; }
.video-meta { position: absolute; inset: auto 10px 10px; padding: 14px; border-radius: var(--radius-inner); background: rgba(15, 15, 13, .84); }
.video-meta strong { display: -webkit-box; min-height: 2.7em; overflow: hidden; font-size: .88rem; line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 2; text-overflow: ellipsis; }
.video-meta span { display: block; overflow: hidden; font-size: .64rem; color: #c6c5bd; text-transform: uppercase; white-space: nowrap; text-overflow: ellipsis; }
.tiktok-cta { margin: 0; border: 1px solid #405663; background: #243b48; transition: border-color .2s ease, background .2s ease; }
.tiktok-cta:hover { border-color: hsl(var(--primary)); background: #2b4656; }
.tiktok-cta > svg:first-child { background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); }
.tiktok-cta small { color: #aaa99f; font-size: .68rem; }
.tiktok-cta strong { font-size: .95rem; }

.connect-section { position: relative; text-align: center; overflow: hidden; }
.connect-section .jp-title { position: absolute; top: 60px; left: 50%; transform: translateX(-50%); opacity: .14; white-space: nowrap; }
.connect-section .eyebrow, .connect-section h2 { position: relative; }
.social-links { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 60px; border: 1px solid hsl(var(--border)); }
.social-links a { display: grid; grid-template-columns: 40px 1fr 18px; align-items: center; gap: 12px; min-height: 82px; padding: 0 18px; border-right: 1px solid hsl(var(--border)); text-align: left; font-size: .8rem; font-weight: 700; }
.social-links a:nth-child(3n) { border-right: 0; }
.social-links a:nth-child(n+4) { border-top: 1px solid hsl(var(--border)); }
.social-links a:hover { background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); }
.social-links a > svg:first-child { width: 40px; height: 40px; padding: 10px; border-radius: 50%; background: hsl(var(--muted)); color: hsl(var(--foreground)); }
.social-links a > svg:last-child { width: 17px; }
.social-links a[data-social="instagram"] > svg:first-child { background: #f7dfe8; color: #b52d67; }
.social-links a[data-social="facebook"] > svg:first-child { background: #dfeaff; color: #2764c5; }
.social-links a[data-social="threads"] > svg:first-child { background: #e6e6e2; color: #111; }
.social-links a[data-social="x"] > svg:first-child { background: #e5e5e5; color: #111; }
.social-links a[data-social="tiktok"] > svg:first-child { background: #dff7f5; color: #007f7a; }
.social-links a[data-social="youtube"] > svg:first-child { background: #ffe1df; color: #c92a22; }
.social-links a:hover > svg:first-child { background: #142534; color: hsl(var(--primary)); }

footer { display: flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 110px; padding: 24px max(20px, calc((100vw - 1180px)/2)); border-top: 1px solid hsl(var(--border)); }
footer p { margin: 0; color: hsl(var(--muted-foreground)); font-size: .72rem; }
.back-top { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid hsl(var(--border)); border-radius: 50%; }
.back-top svg { width: 18px; }
.music-player { position: fixed; right: 22px; bottom: 22px; z-index: 44; width: 82px; aspect-ratio: 1; border-radius: 50%; box-shadow: 0 8px 24px rgba(8, 20, 28, .24); }
.music-record { position: absolute; inset: 0; border: 2px solid #4e6877; border-radius: 50%; background: #142534; box-shadow: inset 0 0 0 9px #1c303d, inset 0 0 0 11px #405663, inset 0 0 0 22px #142534; }
.music-record::before { content: ""; position: absolute; inset: 29px; border: 2px solid #d894a9; border-radius: 50%; background: #dfa1b4; }
.music-player.is-playing .music-record { animation: record-spin 5s linear infinite; }
.music-toggle { position: absolute; inset: 50% auto auto 50%; z-index: 2; display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 2px solid #142534; border-radius: 50%; transform: translate(-50%, -50%); background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); cursor: pointer; }
.music-toggle:hover { background: #aee3f2; }
.music-toggle svg { width: 15px; height: 15px; fill: currentColor; }
.music-player iframe { position: absolute; width: 1px; height: 1px; border: 0; opacity: 0; pointer-events: none; }
.media-dialog { width: min(900px, calc(100vw - 28px)); padding: 0; border: 0; border-radius: var(--radius); background: #111; color: white; overflow: hidden; }
.media-dialog::backdrop { background: rgba(0, 0, 0, .82); backdrop-filter: blur(6px); }
.media-dialog img { width: 100%; max-height: 78vh; object-fit: contain; }
.media-dialog p { margin: 0; padding: 14px 18px; }
.dialog-close { position: absolute; top: 12px; right: 12px; z-index: 2; background: rgba(0,0,0,.66); color: white; border-color: rgba(255,255,255,.4); }
.article-dialog { width: min(780px, calc(100vw - 28px)); max-height: 90vh; padding: 0; border: 0; border-radius: var(--radius); background: hsl(var(--background)); color: hsl(var(--foreground)); }
.article-dialog::backdrop { background: rgba(0,0,0,.75); backdrop-filter: blur(6px); }
.article-dialog article { padding: clamp(46px, 8vw, 86px); }
.article-dialog time { color: hsl(var(--muted-foreground)); font-size: .72rem; text-transform: uppercase; }
.article-dialog h2 { margin: 18px 0 24px; font-size: 3.6rem; }
.article-lead { padding-bottom: 28px; border-bottom: 1px solid hsl(var(--border)); font-size: 1.2rem; font-weight: 600; }
.article-body { white-space: pre-wrap; color: hsl(var(--muted-foreground)); font-size: 1.05rem; line-height: 1.8; }
.article-dialog .dialog-close { background: hsl(var(--foreground)); color: hsl(var(--background)); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes record-spin { to { transform: rotate(360deg); } }

/* Optional Japanese editorial layout. Color tokens remain shared with the Rem theme. */
.editorial body { line-height: 1.75; }
.editorial:not(.dark) body { background-image: url("/assets/japanese-editorial-background.webp"); background-position: center top; background-size: cover; background-attachment: fixed; }
.editorial:not(.dark) .about-section, .editorial:not(.dark) .journal-section { background: hsl(var(--background) / .72); box-shadow: 0 0 0 100vmax hsl(var(--background) / .72); clip-path: inset(0 -100vmax); backdrop-filter: blur(7px); }
.editorial:not(.dark) .gallery-section { background: hsl(var(--section-gallery) / .82); backdrop-filter: blur(6px); }
.editorial:not(.dark) .cosplay-section { background: hsl(var(--section-cosplay) / .84); box-shadow: 0 0 0 100vmax hsl(var(--section-cosplay) / .84); backdrop-filter: blur(5px); }
.editorial:not(.dark) .connect-section { background: hsl(var(--section-connect) / .84); box-shadow: 0 0 0 100vmax hsl(var(--section-connect) / .84); backdrop-filter: blur(5px); }
.editorial:not(.dark) .characters-section { background: rgba(20, 37, 52, .9); backdrop-filter: blur(7px); }
.editorial:not(.dark) .watch-section { background: rgba(28, 48, 61, .9); backdrop-filter: blur(7px); }
.editorial h1, .editorial h2, .editorial h3, .editorial .signature { font-family: "Noto Serif", "Noto Serif JP", serif; }
.editorial .site-header { height: 68px; background: hsl(var(--background) / .96); border-bottom-color: hsl(var(--primary) / .65); }
.editorial .desktop-nav { gap: 38px; font-family: "Noto Serif", serif; font-size: .72rem; letter-spacing: .08em; }
.editorial .desktop-nav a::after { height: 1px; background: hsl(var(--primary)); }
.editorial .brand-logo { height: 46px; }
.editorial .brand-mark { border-width: 1px; font-family: "Noto Serif JP", serif; }
.editorial .icon-button { border-radius: 50%; box-shadow: 0 3px 10px hsl(var(--foreground) / .08); }

.editorial .hero { min-height: min(820px, 91svh); margin-top: 68px; background: var(--section-characters); }
.editorial .hero-shade { width: min(55vw, max(610px, calc((100vw - 1180px) / 2 + 520px))); background: hsl(var(--background) / .73); backdrop-filter: blur(5px); border-right: 1px solid hsl(var(--primary) / .55); }
.editorial .hero-copy { padding-top: clamp(110px, 18vh, 175px); color: hsl(var(--foreground)); }
.editorial .hero h1 { max-width: 620px; font-size: 6.5rem; line-height: .9; text-transform: none; }
.editorial .hero-note { max-width: 500px; color: hsl(var(--muted-foreground)); }
.editorial .hero-stamp { border-width: 1px; background: hsl(var(--background) / .84); color: hsl(var(--foreground)); backdrop-filter: blur(8px); }
.editorial.dark .hero-shade { background: hsl(var(--background) / .9); }

.editorial .about-section, .editorial .gallery-section, .editorial .cosplay-section, .editorial .journal-section, .editorial .connect-section { padding-top: 126px; padding-bottom: 126px; }
.editorial .section-kicker { gap: 13px; color: hsl(var(--teal)); font-family: "Noto Serif", serif; letter-spacing: .12em; }
.editorial .section-kicker::after { content: ""; width: 42px; height: 1px; background: currentColor; }
.editorial .section-kicker span:first-child { width: 34px; height: 34px; border-radius: 50%; }
.editorial h2 { font-size: 5rem; line-height: .98; font-weight: 800; }
.editorial .jp-title { color: hsl(var(--primary)); font-family: "Noto Serif JP", serif; font-size: 5.8rem; opacity: .36; }
.editorial .about-grid { grid-template-columns: 1.15fr .85fr; align-items: end; }
.editorial .about-strip { border-color: hsl(var(--primary) / .6); }
.editorial .about-strip span { border-color: hsl(var(--primary) / .6); font-family: "Noto Serif", serif; }

.editorial .gallery-section { border-block: 1px solid hsl(var(--primary) / .45); }
.editorial .gallery-grid { gap: 20px; }
.editorial .gallery-item { border: 1px solid hsl(var(--border)); border-radius: 4px; background: hsl(var(--card)); box-shadow: 0 7px 18px hsl(var(--foreground) / .08); }
.editorial .gallery-caption { inset: auto 0 0; padding: 15px 16px; border-radius: 0; background: hsl(var(--card) / .94); color: hsl(var(--foreground)); border-top: 1px solid hsl(var(--border)); }

.editorial .cosplay-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.editorial .cosplay-card { border-radius: 5px; box-shadow: 0 8px 20px hsl(var(--foreground) / .08); }
.editorial .cosplay-card img { aspect-ratio: 3/2; }
.editorial .cosplay-card-body { padding: 24px 26px 26px; border-top: 1px solid hsl(var(--primary) / .35); }
.editorial .cosplay-card h3 { font-size: 1.7rem; }

.editorial .characters-section, .editorial .watch-section { border-block: 1px solid hsl(var(--primary) / .34); }
.editorial .character-card { padding: 38px 0; }
.editorial .character-visual img { border-radius: 4px; }
.editorial .character-copy h3 { font-size: 3rem; }
.editorial .story { padding-block: 40px; border-color: hsl(var(--primary) / .35); }
.editorial .story h3 { font-size: 1.9rem; }
.editorial .story-arrow { border-radius: 50%; }
.editorial .video-grid { gap: 20px; }
.editorial .video-card { border: 1px solid #405663; border-radius: 4px; }
.editorial .video-meta { inset: auto 0 0; border-radius: 0; border-top: 1px solid #405663; }
.editorial .connect-section .jp-title { writing-mode: vertical-rl; top: 34px; left: auto; right: 18px; transform: none; font-size: 4.6rem; }
.editorial .social-links { border-color: hsl(var(--primary) / .6); }
.editorial .social-links a { border-color: hsl(var(--primary) / .6); font-family: "Noto Serif", serif; }
.editorial footer { border-top-color: hsl(var(--primary) / .55); }

@media (max-width: 900px) {
  :root { --page: min(100% - 32px, 720px); }
  .desktop-nav { display: none; }
  h2, .watch-copy h2 { font-size: 3.75rem; }
  .hero h1 { font-size: 6.4rem; }
  .jp-title { font-size: 5.25rem; }
  .menu-button { display: inline-grid; }
  .hero { min-height: 780px; }
  .hero-shade { width: 72vw; }
  .about-grid { grid-template-columns: 1fr; gap: 30px; }
  .about-copy { padding-top: 0; max-width: 650px; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cosplay-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .watch-intro { grid-template-columns: 1fr; gap: 28px; }
  .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .social-links { grid-template-columns: 1fr 1fr; }
  .social-links a:nth-child(3n) { border-right: 1px solid hsl(var(--border)); }
  .social-links a:nth-child(2n) { border-right: 0; }
  .social-links a:nth-child(n+3) { border-top: 1px solid hsl(var(--border)); }
  .editorial h2, .editorial .watch-copy h2 { font-size: 4rem; }
  .editorial .hero-shade { width: 68vw; }
  .editorial .cosplay-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  :root { --page: calc(100% - 32px); }
  h2, .watch-copy h2 { font-size: 3rem; }
  .site-header { height: 64px; padding-inline: 16px; }
  .mobile-nav { top: 64px; }
  .hero { margin-top: 64px; min-height: 690px; }
  .hero-image { object-position: 61% center; }
  .hero-shade { width: 100%; background: rgba(20, 37, 52, .58); }
  .hero-copy { padding-top: 105px; }
  .hero h1 { font-size: 4.4rem; }
  .hero h1 { width: 100%; max-width: 100%; }
  .jp-title { font-size: 3.8rem; }
  .hero-note { max-width: 280px; }
  .hero-stamp { width: 74px; }
  .about-section, .gallery-section, .cosplay-section, .journal-section, .connect-section { padding-top: 78px; padding-bottom: 78px; }
  .about-strip { grid-template-columns: 1fr 1fr; margin-top: 54px; }
  .about-strip span:nth-child(2) { border-right: 0; }
  .about-strip span:nth-child(-n+2) { border-bottom: 1px solid hsl(var(--border)); }
  .section-heading { display: block; }
  .gallery-tools { align-items: stretch; flex-direction: column; margin-top: 28px; }
  .profile-cta { width: 100%; }
  .gallery-grid { display: flex; gap: 10px; margin-inline: -16px; padding-inline: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
  .gallery-item { flex: 0 0 min(82vw, 340px); scroll-snap-align: center; }
  .gallery-caption { inset: auto 8px 8px; }
  .content-section-heading > p { margin-top: 25px; }
  .cosplay-grid { grid-template-columns: 1fr; }
  .characters-section { padding-top: 78px; padding-bottom: 78px; }
  .character-card, .character-card:nth-child(even) { grid-template-columns: 1fr; gap: 22px; padding: 24px 0 34px; }
  .character-card:nth-child(even) .character-visual { order: 0; }
  .character-copy h3 { font-size: 2.15rem; }
  .journal-heading > p { margin-top: 25px; }
  .story { grid-template-columns: 1fr auto; gap: 15px; }
  .story time { grid-column: 1 / -1; }
  .story p { display: none; }
  .article-dialog h2 { font-size: 2.5rem; }
  .watch-section { padding-top: 78px; padding-bottom: 78px; }
  .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; width: 100%; }
  .social-links { grid-template-columns: 1fr; }
  .social-links a { border-right: 0; border-bottom: 1px solid hsl(var(--border)); }
  .social-links a:nth-child(3) { border-bottom: 1px solid hsl(var(--border)); }
  .social-links a:last-child { border-bottom: 0; }
  footer { align-items: flex-start; flex-wrap: wrap; }
  footer p { order: 3; width: 100%; }
  .music-player { right: 16px; bottom: 16px; width: 72px; }
  .music-record::before { inset: 25px; }
  .editorial .site-header { height: 64px; }
  .editorial .hero { margin-top: 64px; }
  .editorial .hero-shade { width: 100%; background: hsl(var(--background) / .63); }
  .editorial .hero-copy { padding-top: 92px; }
  .editorial .hero h1 { font-size: 4rem; }
  .editorial h2, .editorial .watch-copy h2 { font-size: 3.2rem; }
  .editorial .about-section, .editorial .gallery-section, .editorial .cosplay-section, .editorial .journal-section, .editorial .connect-section { padding-top: 88px; padding-bottom: 88px; }
  .editorial .cosplay-grid { grid-template-columns: 1fr; }
  .editorial .cosplay-card img { aspect-ratio: 3/2; }
  .editorial .connect-section .jp-title { right: 4px; font-size: 3.3rem; }
  .editorial:not(.dark) body { background-attachment: scroll; background-size: auto 1100px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
