/* ==========================================================================
   OHIRUNE — official site
   かわいい × 切ない × 曖昧な恋
   ========================================================================== */

:root {
  color-scheme: only light;
  /* brand palette: 白・淡い水色・ネイビー・くすみピンク・薄紫 */
  --paper: #fbf8f6;
  --paper-2: #f3eef1;
  --ink: #232849;
  --ink-soft: #5d6180;
  --ink-faint: #9a9cb3;
  --sky: #cfe2ee;
  --sky-deep: #9dc3dc;
  --rose: #dba3b5;
  --rose-deep: #c77b96;
  --lilac: #b9aedb;
  --lilac-deep: #8c80c4;
  --navy: #232a55;
  --night: #16183a;
  --line: rgba(35, 40, 73, .14);

  --pluie: #e9a1bb;
  --natsuyo: #7d70cc;
  --fuzzy: #df79a4;

  --f-en: "Cormorant Garamond", "Shippori Mincho", serif;
  --f-min: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --f-sans: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", sans-serif;

  --gutter: clamp(20px, 5vw, 72px);
  --max: 1280px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --header-h: 72px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: .04em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }

/* film grain — gives the soft, slightly hazy feel */
body::after {
  content: "";
  position: fixed;
  inset: -50%;
  z-index: 999;
  pointer-events: none;
  opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--rose-deep); outline-offset: 3px; border-radius: 4px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.wrap { width: min(100% - var(--gutter) * 2, var(--max)); margin-inline: auto; }

/* ---------- Opening movie ---------- */
body.is-intro { overflow: hidden; }
.intro {
  position: fixed; inset: 0; z-index: 1001;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: clamp(14px, 2.4vh, 24px);
  padding: 16px 0;
  background: #06060c;
  overflow: hidden;
  cursor: pointer; /* 枠外クリックで Skip */
}
/* ---- 閉じるトランジション（約 2.6 秒）：夢から覚める ----
   ① 映像が光にほどける（ぼやけて白くにじみ、ふくらんで溶ける）＋ まわりの光がふくらむ
   ② パステルの霞がホワイトアウトのように満ちる（ムービーの場面転換と同じ色）
   ③ 霞が晴れて、サイトが目を覚ます */
.intro::after {
  content: "";
  position: absolute; inset: -10%; z-index: 2;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(50% 45% at 50% 50%, #fffafc, rgba(255, 250, 252, .85) 55%, rgba(247, 222, 234, .9)),
    linear-gradient(135deg, #f8dbe7, #e6def7 50%, #dbeaf3);
  filter: blur(30px);
}
.intro.is-leaving {
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 1.3s var(--ease-io) 1.3s, visibility 0s linear 2.6s;
}
.intro.is-leaving::after { opacity: 1; transition: opacity 1.1s var(--ease-io) .45s; }
.intro__frame { transition: transform 1.6s var(--ease), filter 1.4s var(--ease), background-color .6s; }
.intro__frame video { transition: opacity 1s var(--ease-io) .35s; }
.intro.is-leaving .intro__frame {
  transform: scale(1.07);
  filter: blur(12px) brightness(1.45) saturate(1.15);
  background-color: transparent;
}
.intro.is-leaving .intro__frame video { opacity: 0; }
.intro.is-leaving .intro__frame::before { transform: scale(1.3); }
.intro__ctrl { transition: opacity .5s var(--ease), transform .5s var(--ease); }
.intro.is-leaving .intro__ctrl { opacity: 0; transform: translateY(10px); }
/* PC：横幅 90%（縦に収まらない画面では、ボタンが隠れないよう高さに合わせて縮める） */
.intro__frame {
  position: relative;
  width: min(90%, (100vh - 120px) * 4 / 3);
  width: min(90%, (100svh - 120px) * 4 / 3);
  aspect-ratio: 4 / 3;
  background: #000;
  cursor: auto;
}
/* パステルのにじみ光：ピンク〜薄紫〜水色が枠のまわりをゆっくり巡り、呼吸するように明滅する */
@property --intro-a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.intro__frame::before {
  content: "";
  position: absolute; inset: -26px; z-index: -1;
  border-radius: 36px;
  background: conic-gradient(from var(--intro-a), var(--pluie), var(--lilac), var(--sky), var(--fuzzy), var(--natsuyo), var(--pluie));
  filter: blur(38px);
  opacity: .5;
  pointer-events: none;
  transition: transform 1.6s var(--ease);
  animation: intro-spin 18s linear infinite, intro-breathe 5.5s ease-in-out infinite alternate;
}
@keyframes intro-spin { to { --intro-a: 360deg; } }
@keyframes intro-breathe { from { opacity: .38; } to { opacity: .68; } }
.intro__frame video { display: block; width: 100%; height: 100%; border: 0; object-fit: contain; }
/* 枠の位置が端数（小数 px）になっても縁に隙間が出ないよう、縁を 1px 暗く塗って隠す */
.intro__frame::after {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  box-shadow: 0 0 0 1px #06060c, inset 0 0 0 1px #06060c;
  pointer-events: none;
  transition: opacity .6s;
}
.intro.is-leaving .intro__frame::after { opacity: 0; }
.intro__ctrl { display: flex; gap: 12px; padding: 0 16px; }
.intro__btn {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px;
  color: rgba(255, 255, 255, .85);
  font-family: var(--f-en); font-size: 17px; letter-spacing: .16em; line-height: 1;
  transition: background .3s, color .3s, border-color .3s;
}
.intro__btn svg { width: 18px; height: 18px; flex: none; }
.intro__btn:hover { border-color: #fff; color: #fff; }
.intro__btn[aria-pressed="true"] { background: #fff; border-color: #fff; color: var(--night); }
.intro__btn[aria-pressed="false"] .intro__wave { opacity: .35; }
/* スマホ：横幅 100% */
@media (max-width: 820px) {
  .intro__frame {
    width: min(100%, (100vh - 110px) * 4 / 3);
    width: min(100%, (100svh - 110px) * 4 / 3);
  }
  /* 左右は画面端いっぱいなので、上下ににじませる */
  .intro__frame::before { inset: -18px 0; filter: blur(26px); }
  .intro__btn { font-size: 15px; padding: 0 18px; }
}

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-items: center;
  background: var(--paper);
  transition: opacity .9s var(--ease), visibility .9s;
}
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__inner { text-align: center; }
.loader__zzz { display: flex; justify-content: center; gap: .1em; font-family: var(--f-en); font-style: italic; font-size: 34px; color: var(--lilac-deep); height: 1.4em; }
.loader__zzz span { animation: zzz 1.6s var(--ease) infinite; opacity: 0; }
.loader__zzz span:nth-child(2) { animation-delay: .2s; font-size: .8em; }
.loader__zzz span:nth-child(3) { animation-delay: .4s; font-size: .6em; }
.loader__text { margin-top: 10px; font-size: 12px; letter-spacing: .4em; color: var(--ink-faint); }
@keyframes zzz {
  0% { opacity: 0; transform: translate(0, 8px); }
  40% { opacity: 1; }
  100% { opacity: 0; transform: translate(6px, -14px); }
}

/* ---------- Header ---------- */
.site-header {
  --fg: var(--ink);
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  padding-inline: var(--gutter);
  color: var(--fg);
  transition: background-color .5s var(--ease), color .5s var(--ease), box-shadow .5s var(--ease), transform .5s var(--ease);
}
.site-header[data-tone="light"] { --fg: #fff; }
.site-header.is-scrolled {
  --fg: var(--ink);
  background: rgba(251, 248, 246, .78);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 1px 0 var(--line);
}
.site-header.is-hidden { transform: translateY(-100%); }

.logo { position: relative; z-index: 2; display: flex; align-items: baseline; gap: 12px; line-height: 1; }
.logo__en { font-family: var(--f-en); font-size: 26px; letter-spacing: .14em; font-weight: 500; }
.logo__ja { font-size: 11px; letter-spacing: .3em; opacity: .7; }

.gnav { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 36px); }
.gnav a {
  position: relative; font-family: var(--f-en); font-size: 17px; letter-spacing: .08em; font-style: italic;
}
.gnav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.gnav a:hover::after, .gnav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

.menu-btn { display: none; width: 44px; height: 44px; position: relative; z-index: 2; }
.menu-btn span {
  position: absolute; left: 11px; right: 11px; height: 1px; background: currentColor;
  transition: transform .45s var(--ease), top .45s var(--ease);
}
.menu-btn span:nth-child(1) { top: 18px; }
.menu-btn span:nth-child(2) { top: 26px; }
.menu-open .menu-btn span:nth-child(1) { top: 22px; transform: rotate(30deg); }
.menu-open .menu-btn span:nth-child(2) { top: 22px; transform: rotate(-30deg); }

@media (max-width: 820px) {
  .menu-btn { display: block; }
  .gnav {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; justify-content: center; gap: 22px;
    background: linear-gradient(160deg, #fbeff4 0%, #eef0fa 55%, #dfe9f3 100%);
    color: var(--ink);
    opacity: 0; visibility: hidden;
    transition: opacity .5s var(--ease), visibility .5s;
  }
  .gnav a { font-size: 34px; opacity: 0; transform: translateY(12px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
  .menu-open .gnav { opacity: 1; visibility: visible; }
  .menu-open .gnav a { opacity: 1; transform: none; }
  .menu-open .gnav a:nth-child(2) { transition-delay: .05s; }
  .menu-open .gnav a:nth-child(3) { transition-delay: .1s; }
  .menu-open .gnav a:nth-child(4) { transition-delay: .15s; }
  .menu-open .gnav a:nth-child(5) { transition-delay: .2s; }
  .menu-open .site-header { --fg: var(--ink); background: transparent; box-shadow: none; backdrop-filter: none; }
}

/* ==========================================================================
   Scene engine (layered illustrations)
   ========================================================================== */
.scene {
  position: absolute; inset: 0; overflow: hidden;
  container-type: size;
}
.scene__stage {
  /* cover by default; scenes with a flat backdrop can opt out (--cover-w: 0px) and sit to one side */
  --sw: max(var(--cover-w, 100cqw), 100cqh * var(--ratio) * var(--hs, 1));
  position: absolute;
  width: var(--sw);
  height: calc(var(--sw) / var(--ratio));
  left: calc((100cqw - var(--sw)) * var(--fx, .5));
  top: calc((100cqh - var(--sw) / var(--ratio)) * var(--fy, .5));
  transform: scale(var(--zoom, 1.06));
}
.layer { position: absolute; }
@media (max-aspect-ratio: 1/1) {
  .scene__stage { --fx: var(--pfx, .5) !important; }
  /* portrait: flat-backdrop scenes sit on the bottom edge at a gentler zoom, fading in at the top */
  .scene--fit .scene__stage {
    --hs: .8 !important; --fy: 1 !important;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%);
            mask-image: linear-gradient(180deg, transparent 0%, #000 22%);
  }
}
.layer__in { position: relative; width: 100%; height: 100%; }
.layer__in > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; user-select: none; -webkit-user-drag: none; }

.eyes-closed { opacity: 0; }
.scene.is-asleep .eyes-closed,
.scene.is-blink .eyes-closed { opacity: 1; }
.scene.is-asleep .eyes-open,
.scene.is-blink .eyes-open { opacity: 0; }

.zzz {
  position: absolute; z-index: 5; pointer-events: none;
  font-family: var(--f-en); font-style: italic; color: #fff;
  font-size: calc(var(--sw) * .028);
  text-shadow: 0 0 18px rgba(140, 128, 196, .6);
  opacity: 0; transition: opacity .6s var(--ease);
}
.zzz span { display: inline-block; animation: zzz 2.2s var(--ease) infinite; }
.zzz span:nth-child(2) { animation-delay: .35s; font-size: .8em; }
.zzz span:nth-child(3) { animation-delay: .7s; font-size: .62em; }
.scene.is-asleep .zzz { opacity: 1; }

/* ambient animations */
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-2.2%) rotate(.6deg); } }
@keyframes floatSoft { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-1.1%); } }
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.006) translateY(-.3%); } }
@keyframes twinkle { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
@keyframes flicker { 0%, 100% { opacity: 1; } 42% { opacity: .82; } 44% { opacity: .95; } 70% { opacity: .88; } }
@keyframes drift { 0% { transform: translateX(0); } 50% { transform: translateX(1.2%); } 100% { transform: translateX(0); } }

.a-float > .layer__in { animation: float var(--dur, 9s) ease-in-out infinite; animation-delay: var(--delay, 0s); }
.a-float-soft > .layer__in { animation: floatSoft var(--dur, 7s) ease-in-out infinite; }
.a-breathe > .layer__in { animation: breathe 6s ease-in-out infinite; transform-origin: 50% 100%; }
.a-twinkle > .layer__in { animation: twinkle var(--dur, 3.4s) ease-in-out infinite; }
.a-flicker > .layer__in { animation: flicker 5s linear infinite; }
.a-drift > .layer__in { animation: drift 14s ease-in-out infinite, twinkle 4.6s ease-in-out infinite; }

/* particles */
.particles { position: absolute; inset: 0; pointer-events: none; }
.drop {
  position: absolute; top: -6%;
  width: calc(var(--sw) * .006); height: calc(var(--sw) * .012);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  background: linear-gradient(180deg, rgba(255,255,255,.1), rgba(150, 196, 232, .85));
  animation: fall var(--dur) linear infinite; animation-delay: var(--delay);
}
@keyframes fall { to { transform: translate(-4vw, 118cqh); } }

.dust {
  position: absolute; width: calc(var(--sw) * .0035); aspect-ratio: 1; border-radius: 50%;
  background: #fff; box-shadow: 0 0 8px 2px rgba(255, 220, 240, .7);
  animation: dust var(--dur) ease-in-out infinite; animation-delay: var(--delay);
  opacity: 0;
}
@keyframes dust {
  0% { opacity: 0; transform: translate(0, 0); }
  30% { opacity: .9; }
  100% { opacity: 0; transform: translate(var(--dx), -18cqh); }
}

.meteor {
  position: absolute; height: 2px; width: calc(var(--sw) * .16);
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.95));
  border-radius: 2px;
  transform-origin: 100% 50%;
  transform: rotate(-24deg) translateX(0);
  filter: drop-shadow(0 0 6px rgba(190, 180, 255, .9));
  animation: meteor 1.4s var(--ease-io) forwards;
}
@keyframes meteor {
  0% { opacity: 0; transform: rotate(155deg) translateX(0) scaleX(.2); }
  20% { opacity: 1; }
  100% { opacity: 0; transform: rotate(155deg) translateX(120%) scaleX(1); }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  height: 100svh; min-height: 560px;
  overflow: hidden;
  background: var(--night);
  color: #fff;
}
.hero[data-tone="dark"] { color: var(--ink); }

.hero__scenes { position: absolute; inset: 0; }
.hero__scenes .scene {
  opacity: 0; visibility: hidden;
  filter: blur(18px) saturate(1.2);
  transform: scale(1.04);
  transition: opacity 1.4s var(--ease), filter 1.6s var(--ease), transform 2.4s var(--ease), visibility 1.6s;
}
.hero__scenes .scene.is-active {
  opacity: 1; visibility: visible; filter: none; transform: none;
}
/* touch devices: a plain crossfade — blur on a full-screen, high-DPR layer is too heavy */
@media (pointer: coarse), (max-width: 820px) {
  .hero__scenes .scene { filter: none; transform: none; transition: opacity 1.2s var(--ease), visibility 1.2s; }
  .song-hero .scene { filter: none; }
}

.hero__scrim {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(0deg, rgba(22, 24, 58, .55) 0%, rgba(22, 24, 58, 0) 42%),
    linear-gradient(90deg, rgba(22, 24, 58, .38) 0%, rgba(22, 24, 58, 0) 45%);
  transition: opacity 1.2s var(--ease);
}
.hero[data-tone="dark"] .hero__scrim {
  background:
    linear-gradient(0deg, rgba(251, 240, 245, .8) 0%, rgba(251, 240, 245, 0) 45%),
    linear-gradient(90deg, rgba(251, 240, 245, .55) 0%, rgba(251, 240, 245, 0) 45%);
}

.hero__copy {
  position: absolute; left: var(--gutter); bottom: clamp(96px, 16vh, 150px);
  z-index: 3;
}
.hero__kicker {
  display: flex; align-items: center; gap: 14px;
  font-size: 12px; letter-spacing: .35em;
  margin-bottom: 8px;
}
.hero__kicker::before { content: ""; width: 38px; height: 1px; background: currentColor; opacity: .7; }
.hero__logo {
  font-family: var(--f-en); font-weight: 300;
  font-size: clamp(60px, 10.5vw, 200px);
  line-height: .86;
  letter-spacing: .03em;
  margin-left: -.05em;
  display: flex;
}
.hero__logo span {
  display: inline-block;
  opacity: 0; transform: translateY(40%); filter: blur(10px);
  transition: opacity 1.4s var(--ease), transform 1.4s var(--ease), filter 1.4s var(--ease);
  transition-delay: calc(var(--i) * 70ms + 200ms);
}
.is-ready .hero__logo span { opacity: 1; transform: none; filter: none; }
.hero__lead {
  margin-top: 18px; max-width: 30em;
  font-size: 13px; line-height: 2.1; letter-spacing: .12em; opacity: .9;
}

.hero__catch {
  position: absolute; z-index: 3;
  right: var(--gutter); top: calc(var(--header-h) + 5vh);
  writing-mode: vertical-rl;
  width: 100%; max-width: 100%;
  font-family: var(--f-min); font-weight: 500;
  font-size: clamp(20px, 2.2vw, 30px);
  letter-spacing: .32em;
  line-height: 2;
  text-shadow: 0 0 24px rgba(22, 24, 58, .35);
}
.hero[data-tone="dark"] .hero__catch { text-shadow: 0 0 24px rgba(255, 255, 255, .8); }
.hero__catch span { display: block; opacity: 0; transform: translateY(-14px); transition: opacity 1.6s var(--ease), transform 1.6s var(--ease); }
.hero__catch span:nth-child(2) { transition-delay: .5s; margin-top: 3.2em; }
.is-awake .hero__catch span { opacity: 1; transform: none; }

.hero__nav {
  position: absolute; z-index: 3;
  right: var(--gutter); bottom: clamp(34px, 6vh, 56px);
  display: flex; align-items: flex-end; gap: clamp(16px, 2.4vw, 32px);
}
.hero__tab { text-align: left; width: clamp(92px, 9vw, 132px); opacity: .6; transition: opacity .4s var(--ease); }
.hero__tab:hover, .hero__tab.is-active { opacity: 1; }
.hero__tab-num { display: block; font-family: var(--f-en); font-style: italic; font-size: 13px; letter-spacing: .1em; }
.hero__tab-name { display: block; font-family: var(--f-min); font-size: 17px; letter-spacing: .12em; line-height: 1.5; }
.hero__tab-bar { display: block; height: 1px; margin-top: 8px; background: currentColor; opacity: .35; position: relative; overflow: hidden; }
.hero__tab-bar i { position: absolute; inset: 0; background: currentColor; transform: scaleX(0); transform-origin: left; }
.hero__tab.is-active .hero__tab-bar { opacity: 1; background: color-mix(in srgb, currentColor 30%, transparent); }
.hero__tab.is-active .hero__tab-bar i { animation: progress var(--hero-dur, 8s) linear forwards; }
.hero.is-paused .hero__tab.is-active .hero__tab-bar i,
body:not(.is-ready) .hero__tab.is-active .hero__tab-bar i { animation-play-state: paused; }
@keyframes progress { to { transform: scaleX(1); } }

.hero__now {
  position: absolute; z-index: 3; left: var(--gutter); bottom: clamp(34px, 6vh, 56px);
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; letter-spacing: .2em;
}
.hero__now em { font-style: normal; font-family: var(--f-min); font-size: 14px; }
.hero__now .arrow { transition: transform .4s var(--ease); }
.hero__now:hover .arrow { transform: translateX(5px); }

.scroll-cue {
  position: absolute; z-index: 3; left: 50%; bottom: 0;
  width: 1px; height: 64px; overflow: hidden;
  background: color-mix(in srgb, currentColor 25%, transparent);
}
.scroll-cue::after {
  content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 100%;
  background: currentColor; animation: cue 2.4s var(--ease-io) infinite;
}
@keyframes cue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

@media (max-width: 820px) {
  .hero__copy { bottom: 128px; }
  .hero__lead { display: none; }
  .hero__catch { font-size: 18px; top: calc(var(--header-h) + 12px); letter-spacing: .26em; }
  .hero__nav { left: var(--gutter); right: var(--gutter); bottom: 30px; justify-content: space-between; }
  .hero__tab { width: auto; flex: 1; }
  .hero__tab-name { font-size: 14px; }
  .hero__now { display: none; }
  .scroll-cue { display: none; }
}

/* ==========================================================================
   Marquee
   ========================================================================== */
.marquee {
  overflow: hidden; white-space: nowrap;
  border-block: 1px solid var(--line);
  padding-block: 14px;
  background: var(--paper);
}
.marquee__track { display: inline-flex; animation: marquee 80s linear infinite; }
.marquee__track span {
  font-family: var(--f-en); font-style: italic; font-size: clamp(22px, 3vw, 34px); letter-spacing: .06em;
  padding-inline: .8em; color: var(--ink);
}
.marquee__track span.star { color: var(--lilac-deep); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   Section heading
   ========================================================================== */
.section { position: relative; padding-block: clamp(96px, 14vw, 180px); }
.sec-head { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; margin-bottom: clamp(40px, 6vw, 72px); }
.sec-head__en { font-family: var(--f-en); font-style: italic; font-weight: 300; font-size: clamp(52px, 8vw, 112px); line-height: .9; letter-spacing: .01em; }
.sec-head__ja { font-size: 12px; letter-spacing: .4em; color: var(--ink-soft); }
.sec-head__num { font-family: var(--f-en); font-size: 14px; letter-spacing: .12em; color: var(--rose-deep); margin-right: auto; order: -1; width: 100%; }

/* reveal */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); transition-delay: var(--rd, 0s); }
[data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; } }

/* ==========================================================================
   About
   ========================================================================== */
.about { background: linear-gradient(180deg, var(--paper) 0%, #f7f0f4 60%, #eff1f8 100%); overflow: hidden; isolation: isolate; }
.about > .wrap { position: relative; }
.about__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.about__bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%;
  opacity: .5;
  animation: slowZoom 32s ease-in-out infinite alternate;
}
/* wash: keep the text side calm and blend into the sections above and below */
.about__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, var(--paper) 0%, rgba(251, 248, 246, 0) 18%, rgba(247, 240, 244, 0) 70%, #eff1f8 100%),
    linear-gradient(90deg, rgba(251, 248, 246, .88) 0%, rgba(251, 248, 246, .62) 48%, rgba(251, 248, 246, .15) 100%);
}
@keyframes slowZoom { from { transform: scale(1); } to { transform: scale(1.08) translateX(-1.5%); } }
@media (max-width: 900px) {
  .about__bg::after {
    background:
      linear-gradient(180deg, var(--paper) 0%, rgba(251, 248, 246, .55) 20%, rgba(251, 248, 246, .7) 70%, #eff1f8 100%);
  }
}
.about__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.about__statement {
  font-family: var(--f-min); font-weight: 500;
  font-size: clamp(26px, 3.4vw, 46px); line-height: 1.75; letter-spacing: .1em;
}
.about__statement .hl { background: linear-gradient(transparent 62%, rgba(219, 163, 181, .45) 62%); }
.about__body { margin-top: 36px; color: var(--ink-soft); line-height: 2.3; max-width: 34em; }
.about__body p + p { margin-top: 1.2em; }
.keywords { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.keywords li {
  font-size: 13px; letter-spacing: .16em; padding: 8px 18px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .6);
}
.keywords li:nth-child(1) { border-color: rgba(199, 123, 150, .35); color: var(--rose-deep); }
.keywords li:nth-child(2) { border-color: rgba(140, 128, 196, .35); color: var(--lilac-deep); }
.keywords li:nth-child(3) { border-color: rgba(157, 195, 220, .7); color: #4f7fa3; }

.about__visual { position: relative; aspect-ratio: 1 / 1.08; }
.polaroid {
  position: absolute; width: 58%;
  padding: 10px 10px 34px; background: #fff; border-radius: 4px;
  box-shadow: 0 30px 60px -30px rgba(35, 40, 73, .35), 0 2px 8px rgba(35, 40, 73, .06);
  transition: transform 1s var(--ease);
}
.polaroid img { aspect-ratio: 1; object-fit: cover; border-radius: 2px; width: 100%; }
.polaroid figcaption { position: absolute; left: 14px; bottom: 8px; font-family: var(--f-en); font-style: italic; font-size: 15px; color: var(--ink-soft); }
.polaroid:nth-child(1) { z-index: 3; left: 0; top: 4%; transform: rotate(-7deg); }
.polaroid:nth-child(2) { z-index: 1; right: 0; top: 0; transform: rotate(5deg); }
.polaroid:nth-child(3) { z-index: 2; left: 21%; bottom: 0; transform: rotate(-1.5deg); }
@media (min-width: 821px) and (hover: hover) and (pointer: fine) {
  .about__visual:hover .polaroid:nth-child(1) { transform: rotate(-10deg) translate(-4%, -2%); }
  .about__visual:hover .polaroid:nth-child(2) { transform: rotate(8deg) translate(4%, -3%); }
  .about__visual:hover .polaroid:nth-child(3) { transform: rotate(0) translateY(3%); }
}

.about__catch {
  margin-top: clamp(80px, 10vw, 140px);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: 20px; overflow: hidden;
}
.about__catch div { background: rgba(255, 255, 255, .7); padding: clamp(24px, 3vw, 40px); }
.about__catch dt { font-family: var(--f-en); font-style: italic; font-size: 15px; color: var(--rose-deep); letter-spacing: .08em; }
.about__catch dd { margin: 8px 0 0; font-family: var(--f-min); font-size: clamp(16px, 1.5vw, 19px); line-height: 1.9; letter-spacing: .08em; }

@media (max-width: 900px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__visual { max-width: 520px; width: 100%; margin-inline: auto; }
  .about__catch { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  /* 見えたら一度だけ開き、画面外に出たら（アニメーションなしで）重なった状態に戻る。
     --open-x/y と --fold-x/y は main.js がレイアウトから計算する */
  .about__visual .polaroid {
    width: 48%; margin: 0; padding: 8px 8px 30px;
    transition: transform 1.7s cubic-bezier(.16, 1, .3, 1) var(--card-delay, 0s);
  }
  .about__visual.is-folded .polaroid { transition: none; }
  .about__visual .polaroid:nth-child(1) {
    --card-delay: .15s;
    left: 4%; top: 4%;
    transform: translate(var(--open-x, 0px), var(--open-y, 0px)) rotate(-4deg);
  }
  .about__visual .polaroid:nth-child(2) {
    --card-delay: .25s;
    right: 4%; top: 0;
    transform: translate(var(--open-x, 0px), var(--open-y, 0px)) rotate(4deg);
  }
  .about__visual .polaroid:nth-child(3) {
    --card-delay: .2s;
    left: 26%; bottom: 0;
    transform: translate(var(--open-x, 0px), var(--open-y, 0px)) rotate(-1.5deg);
  }
  .about__visual.is-folded .polaroid:nth-child(1) { transform: translate(var(--fold-x, 0px), var(--fold-y, 0px)) rotate(-7deg); }
  .about__visual.is-folded .polaroid:nth-child(2) { transform: translate(var(--fold-x, 0px), var(--fold-y, 0px)) rotate(7deg); }
  .about__visual.is-folded .polaroid:nth-child(3) { transform: translate(var(--fold-x, 0px), var(--fold-y, 0px)) rotate(-3deg); }
}

/* ==========================================================================
   Interlude — rain → twilight → night, panned by scroll
   ========================================================================== */
.interlude {
  position: relative; overflow: hidden;
  height: clamp(420px, 78svh, 760px);
  container-type: size;
  background: #6b5f93;
  color: #fff;
}
.interlude__img img {
  position: absolute; top: 0; left: 0;
  height: 100%; width: max(135cqw, 100cqh * 1916 / 821); max-width: none;
  object-fit: cover;
  transform: translate3d(var(--pan, -12%), 0, 0);
  will-change: transform;
}
.interlude::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(70% 60% at 50% 50%, rgba(22, 24, 58, .22), transparent 75%);
}
.interlude__stars { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.interlude__stars i {
  position: absolute; top: 0; left: 0; height: 1.5px; border-radius: 1px;
  transform-origin: 100% 50%; opacity: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(214, 222, 255, .45) 60%, #fff);
  filter: drop-shadow(0 0 4px rgba(200, 212, 255, .9));
}
.interlude__stars i::after {
  content: ""; position: absolute; right: -1.5px; top: 50%; width: 4px; height: 4px; margin-top: -2px;
  border-radius: 50%; background: #fff; box-shadow: 0 0 8px 2px rgba(220, 228, 255, .9);
}
.interlude__copy {
  position: absolute; inset: 0; z-index: 1;
  display: grid; place-content: center; text-align: center; gap: 22px;
  padding-inline: var(--gutter);
}
.interlude__catch {
  font-family: var(--f-min); font-weight: 500;
  font-size: clamp(22px, 3.4vw, 46px); line-height: 1.8; letter-spacing: .2em;
  text-shadow: 0 0 30px rgba(22, 24, 58, .45), 0 0 2px rgba(22, 24, 58, .2);
}
.interlude__catch span { display: inline-block; opacity: 0; filter: blur(8px); transform: translateY(10px); transition: opacity 1.6s var(--ease), filter 1.6s var(--ease), transform 1.6s var(--ease); }
.interlude__catch span:nth-child(2) { transition-delay: .35s; }
.interlude__catch span:nth-child(3) { transition-delay: .7s; }
.interlude__catch.is-in span { opacity: 1; filter: none; transform: none; }
.interlude__catch[data-reveal] { opacity: 1; transform: none; }
.interlude__sub { font-family: var(--f-en); font-style: italic; font-size: 16px; letter-spacing: .2em; opacity: .85; }
@media (max-width: 600px) {
  .interlude__catch span { display: block; }
}

/* ==========================================================================
   Discography
   ========================================================================== */
.disc {
  --bg: #f6e8ef; --fg: var(--ink); --accent: var(--rose-deep); --sub: var(--ink-soft);
  background: var(--bg); color: var(--fg);
  transition: background-color 1.1s var(--ease), color 1.1s var(--ease);
}
.disc[data-tone="natsuyo"] { --bg: #262a5c; --fg: #f4f0fb; --accent: #f2abc6; --sub: rgba(244, 240, 251, .7); }
.disc[data-tone="fuzzy"] { --bg: #17182f; --fg: #f4f0fb; --accent: #e884ae; --sub: rgba(244, 240, 251, .66); }
.disc .sec-head__ja { color: var(--sub); }
.disc .sec-head__num { color: var(--accent); }
.disc__intro { max-width: 36em; color: var(--sub); line-height: 2.2; margin-top: -24px; margin-bottom: clamp(56px, 8vw, 100px); }
.disc__intro strong { color: var(--fg); font-weight: 500; }

.disc-item {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px);
  align-items: center;
  padding-block: clamp(40px, 7vw, 100px);
}
.disc-item:nth-child(even) .disc-item__art { order: 2; }
.disc-item__art {
  position: relative; display: block; border-radius: 22px; overflow: hidden; aspect-ratio: 1;
  box-shadow: 0 50px 80px -50px rgba(0, 0, 0, .45);
  transform: translateZ(0);
}
.disc-item__art img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease), filter 1.2s var(--ease); }
.disc-item__art:hover img { transform: scale(1.05); }
.disc-item__art::after {
  content: "View"; position: absolute; right: 18px; bottom: 18px;
  font-family: var(--f-en); font-style: italic; font-size: 16px; letter-spacing: .08em; color: #fff;
  width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .18); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .5);
  transform: scale(.7); opacity: 0; transition: transform .6s var(--ease), opacity .6s var(--ease);
}
.disc-item__art:hover::after { transform: none; opacity: 1; }

.disc-item__meta { display: flex; gap: 16px; align-items: baseline; font-family: var(--f-en); letter-spacing: .12em; color: var(--accent); }
.disc-item__meta .no { font-size: 15px; font-style: italic; }
.disc-item__meta time { font-size: 15px; }
.disc-item__title {
  margin-top: 10px;
  font-family: var(--f-min); font-weight: 500;
  font-size: clamp(48px, 7vw, 96px); line-height: 1.15; letter-spacing: .08em;
}
.disc-item__title.en { font-family: var(--f-en); font-weight: 400; font-style: italic; letter-spacing: .02em; }
.disc-item__genre { margin-top: 12px; font-size: 12px; letter-spacing: .24em; color: var(--sub); }
.disc-item__quote {
  margin-top: 30px; padding-left: 20px; border-left: 1px solid var(--accent);
  font-family: var(--f-min); font-size: clamp(16px, 1.6vw, 20px); line-height: 2; letter-spacing: .1em;
}
.depth { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin-top: 28px; font-size: 13px; }
.depth dt { font-family: var(--f-en); font-style: italic; font-size: 14px; color: var(--accent); letter-spacing: .1em; }
.depth dd { margin: 0; color: var(--sub); }

.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.btn {
  --b-fg: currentColor;
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 24px; border-radius: 999px;
  border: 1px solid color-mix(in srgb, currentColor 35%, transparent);
  font-size: 13px; letter-spacing: .14em; line-height: 1.2;
  overflow: hidden; isolation: isolate;
  transition: color .5s var(--ease), border-color .5s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: currentColor;
  transform: translateY(101%); border-radius: inherit; transition: transform .5s var(--ease);
}
.btn:hover::before { transform: none; }
.btn span, .btn svg { transition: color .5s var(--ease); }
.btn:hover span, .btn:hover svg { color: var(--btn-hover-fg, var(--paper)); }
.disc[data-tone="natsuyo"] .btn, .disc[data-tone="fuzzy"] .btn { --btn-hover-fg: var(--night); }
.btn svg { width: 14px; height: 14px; flex: none; }
.btn--solid { background: var(--fg, var(--ink)); color: var(--bg, var(--paper)); border-color: transparent; }
.btn--solid::before { background: var(--accent, var(--rose-deep)); }
.btn--solid:hover span, .btn--solid:hover svg { color: #fff; }
.btn.is-pending { opacity: .45; pointer-events: none; }

@media (max-width: 820px) {
  .disc-item { grid-template-columns: 1fr; }
  .disc-item:nth-child(even) .disc-item__art { order: 0; }
}

/* ==========================================================================
   Member
   ========================================================================== */
.member { background: linear-gradient(180deg, #eff1f8 0%, var(--paper) 100%); }
.member__lead { font-family: var(--f-min); font-size: clamp(18px, 2vw, 24px); letter-spacing: .12em; line-height: 2; margin-top: -24px; margin-bottom: clamp(48px, 6vw, 80px); }
.member__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 40px); }
.member-card {
  position: relative; overflow: hidden;
  border-radius: 28px; padding: clamp(28px, 4vw, 52px);
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: 0 40px 80px -60px rgba(35, 40, 73, .45);
  display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center;
}
.member-card::before {
  content: ""; position: absolute; width: 60%; aspect-ratio: 1; border-radius: 50%;
  right: -18%; top: -30%; filter: blur(40px); opacity: .55; pointer-events: none;
  background: var(--glow);
}
.member-card--music { --glow: radial-gradient(circle, var(--sky-deep), transparent 70%); --tone: #4f7fa3; }
.member-card--lyrics { --glow: radial-gradient(circle, var(--rose), transparent 70%); --tone: var(--rose-deep); }
.member-card__avatar {
  position: relative;
  width: clamp(96px, 11vw, 136px); aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  display: grid; place-items: center;
  font-family: var(--f-en); font-style: italic; font-size: clamp(44px, 5vw, 60px); color: #fff;
}
.member-card--music .member-card__avatar { background: linear-gradient(140deg, #bcd9ec, #8c80c4); }
.member-card--lyrics .member-card__avatar { background: linear-gradient(140deg, #f2c4d2, #b9aedb); }
.member-card__avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.member-card__role { font-family: var(--f-en); font-style: italic; font-size: 16px; letter-spacing: .12em; color: var(--tone); }
.member-card__name { font-size: clamp(26px, 2.8vw, 34px); font-weight: 500; letter-spacing: .1em; line-height: 1.4; }
.member-card__desc { margin-top: 10px; font-size: 13px; color: var(--ink-soft); line-height: 2; }
.member-card__links { display: flex; gap: 10px; margin-top: 18px; }
.icon-link {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line); background: #fff; transition: transform .4s var(--ease), background-color .4s var(--ease), color .4s var(--ease);
}
.icon-link svg { width: 17px; height: 17px; }
.icon-link:hover { transform: translateY(-3px); background: var(--ink); color: #fff; }

@media (max-width: 900px) { .member__grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .member-card { grid-template-columns: 1fr; } }

/* ==========================================================================
   Inst / player
   ========================================================================== */
.inst { background: var(--paper); }
.inst__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.inst__lead { color: var(--ink-soft); line-height: 2.2; margin-top: -24px; margin-bottom: clamp(40px, 5vw, 64px); max-width: 38em; }

.tracks { border-top: 1px solid var(--line); }
.track {
  display: grid; grid-template-columns: auto 64px 1fr auto; gap: 18px; align-items: center;
  padding: 18px 4px; border-bottom: 1px solid var(--line);
}
.track__play {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: #fff; transition: transform .4s var(--ease), background-color .4s var(--ease);
}
.track__play:hover { transform: scale(1.06); background: var(--rose-deep); }
.track__play svg { width: 16px; height: 16px; }
.track__play .i-pause { display: none; }
.track.is-playing .track__play { background: var(--rose-deep); }
.track.is-playing .track__play .i-play { display: none; }
.track.is-playing .track__play .i-pause { display: block; }
.track__jacket { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; }
.track__title { font-family: var(--f-min); font-size: 18px; letter-spacing: .1em; line-height: 1.4; }
.track__sub { font-size: 11px; letter-spacing: .14em; color: var(--ink-faint); }
.track__bar { display: flex; align-items: center; gap: 10px; margin-top: 8px; font-size: 11px; color: var(--ink-faint); font-variant-numeric: tabular-nums; }
.track__range {
  -webkit-appearance: none; appearance: none; flex: 1; height: 16px; background: transparent; cursor: pointer;
  --p: 0%;
}
.track__range::-webkit-slider-runnable-track { height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--rose-deep) var(--p), var(--line) var(--p)); }
.track__range::-moz-range-track { height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--rose-deep) var(--p), var(--line) var(--p)); }
.track__range::-webkit-slider-thumb { -webkit-appearance: none; width: 10px; height: 10px; margin-top: -4px; border-radius: 50%; background: var(--rose-deep); }
.track__range::-moz-range-thumb { width: 10px; height: 10px; border: 0; border-radius: 50%; background: var(--rose-deep); }
.track__dl {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  font-size: 12px; letter-spacing: .12em; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line);
  transition: background-color .4s var(--ease), color .4s var(--ease);
}
.track__dl svg { width: 14px; height: 14px; }
.track__dl small { color: var(--ink-faint); letter-spacing: .04em; transition: color .4s; }
.track__dl:hover { background: var(--ink); color: #fff; }
.track__dl:hover small { color: rgba(255, 255, 255, .7); }

.rules {
  position: sticky; top: calc(var(--header-h) + 24px);
  border-radius: 24px; padding: clamp(24px, 3vw, 36px);
  background: linear-gradient(160deg, #eef4f9, #f5eef4);
  border: 1px solid rgba(255, 255, 255, .9);
}
.rules h3 { font-size: 15px; font-weight: 700; letter-spacing: .16em; }
.rules ul { margin-top: 14px; display: grid; gap: 8px; font-size: 13px; color: var(--ink-soft); line-height: 1.9; }
.rules li { padding-left: 1.2em; text-indent: -1.2em; }
.rules li::before { content: "・"; }
.credit {
  margin-top: 20px; border-radius: 14px; background: #fff; border: 1px solid var(--line);
  padding: 16px 18px; font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: 12px; line-height: 1.9; letter-spacing: 0;
  white-space: pre-wrap; word-break: break-all;
}
.copy-btn { margin-top: 12px; width: 100%; justify-content: center; }
.copy-btn.is-copied { color: var(--rose-deep); }

@media (max-width: 900px) {
  .inst__grid { grid-template-columns: 1fr; }
  .rules { position: static; }
}
@media (max-width: 600px) {
  .track { grid-template-columns: auto 1fr; row-gap: 12px; }
  .track__jacket { display: none; }
  .track__dl { grid-column: 1 / -1; justify-self: start; }
}

/* ==========================================================================
   Closing / footer
   ========================================================================== */
.closing {
  position: relative; overflow: hidden; text-align: center;
  padding-block: clamp(120px, 18vw, 240px);
  background:
    radial-gradient(60% 80% at 20% 30%, rgba(219, 163, 181, .45), transparent 70%),
    radial-gradient(60% 80% at 80% 70%, rgba(157, 195, 220, .5), transparent 70%),
    radial-gradient(50% 60% at 60% 20%, rgba(185, 174, 219, .45), transparent 70%),
    var(--paper);
}
.closing__catch { font-family: var(--f-min); font-weight: 500; font-size: clamp(26px, 4.4vw, 60px); letter-spacing: .18em; line-height: 1.7; }
.closing__sub { margin-top: 24px; font-size: 13px; letter-spacing: .3em; color: var(--ink-soft); }
.closing .btns { justify-content: center; }

.site-footer { background: var(--night); color: rgba(255, 255, 255, .8); padding-block: 72px 36px; }
.site-footer__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.site-footer .logo__en { font-size: clamp(44px, 7vw, 88px); font-weight: 300; }
.site-footer .logo { flex-direction: column; align-items: flex-start; gap: 14px; }
.fnav { display: flex; flex-wrap: wrap; gap: 8px 28px; font-family: var(--f-en); font-style: italic; font-size: 17px; }
.fnav a { opacity: .75; transition: opacity .3s; }
.fnav a:hover { opacity: 1; }
.site-footer__bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 11px; letter-spacing: .14em; color: rgba(255, 255, 255, .5); }

/* ==========================================================================
   Song page
   ========================================================================== */
.song { --accent: var(--rose-deep); }
.song--pluie { --accent: #c9728f; --tint: #fbeef3; }
.song--natsuyo { --accent: #7466c2; --tint: #eeedf8; }
.song--fuzzy { --accent: #c9588a; --tint: #efeef7; }

.song-hero { position: relative; height: 100svh; min-height: 560px; overflow: hidden; background: var(--night); color: #fff; }
.song-hero[data-tone="dark"] { color: var(--ink); }
.song-hero .scene { opacity: 0; filter: blur(16px); transition: opacity 1.6s var(--ease), filter 1.8s var(--ease); }
.is-ready .song-hero .scene { opacity: 1; filter: none; }
.song-hero__info { position: absolute; z-index: 3; left: var(--gutter); right: var(--gutter); bottom: clamp(40px, 8vh, 80px); display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.song-hero__meta { font-family: var(--f-en); letter-spacing: .14em; font-size: 15px; display: flex; gap: 16px; }
.song-hero__meta i { font-style: italic; }
.song-hero__title { font-family: var(--f-min); font-weight: 500; font-size: clamp(64px, 11vw, 168px); line-height: 1.1; letter-spacing: .08em; }
.song-hero__title.en { font-family: var(--f-en); font-style: italic; font-weight: 300; letter-spacing: .02em; }
.song-hero__quote { font-family: var(--f-min); font-size: clamp(15px, 1.5vw, 19px); letter-spacing: .12em; line-height: 2; text-align: right; white-space: nowrap; text-shadow: 0 0 20px rgba(22, 24, 58, .4); }
@media (max-width: 820px) { .song-hero__quote { white-space: normal; text-align: left; } }
/* portrait: artwork on top, title in a band below so it never covers a face */
@media (max-aspect-ratio: 1/1) {
  .song-hero[data-tone="dark"] { background: var(--tint); }
  .song-hero .scene {
    bottom: 30%;
    -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent);
            mask-image: linear-gradient(180deg, #000 78%, transparent);
  }
  .song-hero .hero__scrim { display: none; }
  .song-hero__info { bottom: clamp(28px, 5vh, 48px); }
  .song-hero__title { font-size: clamp(52px, 15vw, 96px); }
}
.song-hero[data-tone="dark"] .song-hero__quote { text-shadow: 0 0 20px rgba(255, 255, 255, .9); }

.song-body { background: linear-gradient(180deg, var(--tint) 0%, var(--paper) 40%); }
.song-grid { display: grid; grid-template-columns: 340px 1fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.song-main { min-width: 0; }
.song-side { position: sticky; top: calc(var(--header-h) + 32px); }
.song-side__jacket { border-radius: 18px; overflow: hidden; box-shadow: 0 40px 70px -40px rgba(35, 40, 73, .5); }
.info-list { margin-top: 28px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.info-list div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.info-list dt { font-family: var(--f-en); font-style: italic; font-size: 14px; color: var(--accent); letter-spacing: .08em; }
.info-list dd { margin: 0; }
.info-list a { border-bottom: 1px solid var(--line); }
.song-side .btns { margin-top: 24px; }
.song-side .btn { color: var(--ink); }
.song-side .btn--solid { color: var(--paper); background: var(--ink); }
.song-side .btn--solid::before { background: var(--accent); }

.story { font-family: var(--f-min); font-size: clamp(17px, 1.7vw, 21px); line-height: 2.2; letter-spacing: .1em; }
.story-table { margin-top: 32px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.story-table div { background: rgba(255, 255, 255, .7); padding: 22px 24px; }
.story-table dt { font-family: var(--f-en); font-style: italic; color: var(--accent); letter-spacing: .1em; }
.story-table dd { margin: 6px 0 0; font-size: 14px; }
.motifs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.motifs li { font-size: 12px; letter-spacing: .12em; padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink-soft); }

.lyrics-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: clamp(72px, 9vw, 120px); margin-bottom: 36px; flex-wrap: wrap; }
.lyrics-head h2 { font-family: var(--f-en); font-style: italic; font-weight: 300; font-size: clamp(44px, 5.5vw, 72px); line-height: 1; }

.lyrics { font-family: var(--f-min); font-size: 16px; line-height: 2.3; letter-spacing: .12em; }
.lyrics p + p { margin-top: 2.2em; }

.song-player { margin-top: clamp(72px, 9vw, 120px); }
.song-player h2 { font-family: var(--f-en); font-style: italic; font-weight: 300; font-size: clamp(36px, 4vw, 52px); line-height: 1; margin-bottom: 20px; }
.song-player .note { margin-top: 14px; font-size: 12px; color: var(--ink-soft); }
.song-player .note a { border-bottom: 1px solid currentColor; }

.song-nav { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.song-nav a { display: flex; align-items: center; gap: 20px; padding: clamp(28px, 4vw, 48px) var(--gutter); transition: background-color .5s var(--ease); }
.song-nav a:hover { background: var(--paper-2); }
.song-nav a + a { border-left: 1px solid var(--line); justify-content: flex-end; text-align: right; }
.song-nav img { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; }
.song-nav small { display: block; font-family: var(--f-en); font-style: italic; letter-spacing: .1em; color: var(--ink-faint); }
.song-nav strong { font-family: var(--f-min); font-weight: 500; font-size: clamp(18px, 2vw, 24px); letter-spacing: .1em; }

@media (max-width: 900px) {
  .song-grid { grid-template-columns: 1fr; }
  .song-side { position: static; max-width: 420px; }
  .story-table { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .song-nav { grid-template-columns: 1fr; }
  .song-nav a + a { border-left: 0; border-top: 1px solid var(--line); }
  .song-nav img { width: 56px; height: 56px; }
}

/* ==========================================================================
   Motion preferences
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .marquee__track { animation: none; }
  .particles { display: none; }
}
