/**
 * profile.css — PROFILE ページ（/profile/）固有のスタイル
 *
 * 読み込み順: tokens.css → common.css → **profile.css**
 * 共通の下地・部品（リセット / トップバー / ボタン / フッター / 走査線 / 出現アニメーション）は
 * common.css にある。ここには**このページだけで使うもの**を置く。
 *
 * 外から見て分からない事情:
 *   - 見出しのノイズ点灯（.nz）は `.js` スコープで書く。JSを実行しない環境で
 *     文字が消えたままにならないようにするため（common.css の .rv と同じ理由）。
 *   - .topbar .tag の字間だけ common.css より広い（このページの右上表示に合わせた指定）。
 */

/* ============================================================
   透明回路 Profile — ティザー本体（src/style.css）の視覚言語を継承
   色・書体・イージングは /tokens.css（サイト共通の正本）を読む。走査線も本体と同じ。
   演出は opacity / transform のみ（本体の教訓: filter はカクつく）。
   ============================================================ */
/* ---- 走査線（本体のポスト処理と同じルック・全画面に薄く） ---- */


/* ---- 背景の回路星座（低速パララックス層） ---- */
.bg-circuit {
  position: fixed;
  inset: -12vh 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
  will-change: transform;
}/* ---- 上部バー（本体の展示会型ミニマルUIを踏襲） ---- */


/* ============ HERO ============ */
#hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: -14% 0;
  z-index: 0;
  will-change: transform;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 40%;
  animation: hero-settle 2.6s var(--ease-out) both;
}
@keyframes hero-settle {
  from {
    opacity: 0;
    transform: scale(1.08);
  }
  to {
    opacity: 1;
    transform: scale(1.02);
  }
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 42%, transparent 30%, rgba(8, 4, 15, 0.55) 78%),
    linear-gradient(to bottom, rgba(8, 4, 15, 0.5), transparent 30%, transparent 62%, var(--bg) 96%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 24px;
  will-change: transform, opacity;
}
.hero-ruby {
  font-size: 12px;
  letter-spacing: 0.9em;
  text-indent: 0.9em;
  color: var(--dim);
  margin-bottom: 14px;
}
#hero h1 {
  font-size: clamp(44px, 9vw, 92px);
  font-weight: 500;
  letter-spacing: 0.24em;
  text-indent: 0.24em;
  line-height: 1.2;
  color: var(--accent);
  text-shadow: 0 0 40px rgba(181, 123, 255, 0.35);
}
.hero-tag {
  font-family: var(--dot);
  font-size: 12px;
  letter-spacing: 0.5em;
  text-indent: 0.5em;
  color: var(--dim);
  margin-top: 20px;
}
.hero-statement {
  margin-top: 40px;
  font-size: clamp(14px, 2vw, 18px);
  letter-spacing: 0.22em;
  line-height: 2.3;
  color: var(--ink);
}
.scroll-hint {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--dot);
  font-size: 10px;
  letter-spacing: 0.5em;
  text-indent: 0.5em;
  color: var(--dim);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.scroll-hint span {
  display: block;
  width: 1px;
  height: 34px;
  background: linear-gradient(to bottom, var(--dim), transparent);
  animation: hint-drop 2.2s var(--ease-out) infinite;
}
@keyframes hint-drop {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }
  45% {
    transform: scaleY(1);
    transform-origin: top;
  }
  46% {
    transform-origin: bottom;
  }
  90%,
  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

/* ============ 共通セクション ============ */
main {
  position: relative;
  z-index: 1;
}
.sec {
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(80px, 13vh, 150px) clamp(20px, 5vw, 48px);
}
.sec-head {
  display: flex;
  align-items: baseline;
  gap: 22px;
  margin-bottom: clamp(44px, 7vh, 72px);
}
.sec-head .en {
  font-size: clamp(24px, 4vw, 38px);
  letter-spacing: 0.14em;
  color: var(--accent);
  white-space: nowrap;
}
.sec-head .line {
  flex: 1;
  height: 1px;
  background: var(--hair);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.4s var(--ease-out) 0.2s;
}
.sec-head.on .line {
  transform: scaleX(1);
}
.sec-head .ja {
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--dim);
  white-space: nowrap;
}/* ---- スクロール出現（opacity / transform のみ） ---- */

/* 見出し文字のノイズ点灯（本体ローディングコピーと同じ思想） */
.js .nz span {
  display: inline-block;
  opacity: 0;
}
.js .nz.on span {
  animation: noise-in 0.62s var(--ease-out) var(--nd, 0s) both;
}
@keyframes noise-in {
  0% {
    opacity: 0;
    transform: translateY(0.1em) scale(1.6, 0.72);
  }
  16% {
    opacity: 0.55;
    transform: translateY(0) scale(0.9, 1.06);
  }
  25% {
    opacity: 0.05;
    transform: translateX(0.05em) scale(1.22, 0.88);
  }
  40% {
    opacity: 0.92;
    transform: translateX(-0.025em) scale(0.97, 1.02);
  }
  50% {
    opacity: 0.18;
    transform: scale(1.1, 0.94);
  }
  68% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* ============ NEW RELEASE ============ */
.release-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(36px, 6vw, 72px);
  align-items: center;
}
.jacket-main {
  position: relative;
}
.jacket-main img {
  width: 100%;
  border: 1px solid var(--hair);
  box-shadow:
    0 30px 90px rgba(181, 123, 255, 0.2),
    0 12px 36px rgba(255, 79, 163, 0.14);
}
/* ネオンの残光。画像の下にぼんやり滲ませる */
.jacket-main::after {
  content: '';
  position: absolute;
  inset: auto 8% -10% 8%;
  height: 24%;
  background: radial-gradient(ellipse at center, rgba(255, 79, 163, 0.22), transparent 70%);
  pointer-events: none;
}
.rel-meta {
  font-family: var(--dot);
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--dim);
  margin-bottom: 14px;
}
.rel-title {
  font-size: clamp(40px, 6.5vw, 72px);
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.15;
  color: var(--accent);
  margin-bottom: 22px;
}
.rel-copy {
  font-size: clamp(15px, 2vw, 18px);
  letter-spacing: 0.14em;
  line-height: 2.2;
  margin-bottom: 30px;
}
.rel-desc h3 {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.3em;
  border: 1px solid var(--hair);
  padding: 6px 16px;
  margin-bottom: 18px;
  color: var(--ink);
}
.rel-desc p {
  font-size: 14px;
  letter-spacing: 0.08em;
  line-height: 2.2;
  color: rgba(232, 228, 242, 0.82);
  margin-bottom: 14px;
}
.rel-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

/* ============ FILM（横流れのMVスチル） ============ */
#film {
  position: relative;
  height: 300vh; /* この高さぶんのスクロールで横移動が進む */
}
.film-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.film-label {
  font-family: var(--dot);
  font-size: 11px;
  letter-spacing: 0.4em;
  color: var(--dim);
  padding: 0 clamp(20px, 6vw, 72px);
  margin-bottom: 26px;
}
.film-track {
  display: flex;
  gap: clamp(16px, 3vw, 40px);
  padding: 0 clamp(20px, 6vw, 72px);
  will-change: transform;
}
.film-cell {
  flex: 0 0 auto;
  width: min(58vw, 640px);
  border: 1px solid var(--hair);
  position: relative;
  background: #000;
}
.film-cell img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  opacity: 0.92;
}
.film-cell figcaption {
  position: absolute;
  left: 10px;
  bottom: 8px;
  font-family: var(--dot);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: rgba(242, 240, 250, 0.55);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

/* ============ DISCOGRAPHY ============ */
.disc-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(18px, 3vw, 36px);
}
.disc-grid figure {
  overflow: hidden;
  border: 1px solid var(--hair);
  margin-bottom: 16px;
}
.disc-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}
.disc-grid li:hover img {
  transform: scale(1.05);
}
.disc-grid h3 {
  font-size: clamp(16px, 1.8vw, 21px);
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--accent);
}
.disc-grid h3::after {
  content: '';
  display: block;
  height: 1px;
  margin-top: 8px;
  background: linear-gradient(to right, rgba(181, 123, 255, 0.7), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.8s var(--ease-out);
}
.disc-grid li:hover h3::after {
  transform: scaleX(1);
}
.disc-grid time {
  display: block;
  font-family: var(--dot);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--dim);
  margin: 8px 0 12px;
}
.disc-grid p {
  font-size: 12.5px;
  letter-spacing: 0.06em;
  line-height: 2;
  color: rgba(232, 228, 242, 0.72);
}
/* カード全体を楽曲ページ（/tracks/<slug>/）へのリンクにする。
   タップ領域を figure〜説明文まで広げるため <a> で内容を丸ごと包んでいる。
   既存の hover 効果は .disc-grid li:hover 側に残してあるので、
   <a> を挟んでも画像の拡大と見出しの下線はそのまま効く。 */
.disc-grid a {
  display: block;
  color: inherit;
  text-decoration: none;
}
.disc-grid a:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 8px;
}
.disc-more {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--dot);
  font-size: 10.5px;
  letter-spacing: 0.24em;
  color: var(--dim);
  transition:
    color 0.6s var(--ease-out),
    transform 0.6s var(--ease-out);
}
.disc-grid li:hover .disc-more {
  color: var(--accent);
  transform: translateX(4px);
}

/* ============ STORY ============ */
#story .lead {
  font-size: 13px;
  letter-spacing: 0.2em;
  line-height: 2.4;
  color: var(--dim);
  margin: -28px 0 56px;
}
.story {
  position: relative;
  padding-left: clamp(28px, 5vw, 56px);
}
.story::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--hair);
}
/* スクロールに合わせて伸びる通電ライン */
.story .wire {
  position: absolute;
  left: 5px;
  top: 0;
  width: 1px;
  height: 0;
  background: linear-gradient(to bottom, var(--neon), var(--neon2));
  box-shadow: 0 0 12px rgba(181, 123, 255, 0.8);
}
.chapter {
  position: relative;
  display: grid;
  grid-template-columns: clamp(72px, 9vw, 104px) 1fr;
  gap: clamp(20px, 3.5vw, 40px);
  padding: clamp(28px, 4.5vh, 48px) 0;
}
.chapter::before {
  content: '';
  position: absolute;
  left: calc(-1 * clamp(28px, 5vw, 56px) + 1px);
  top: calc(clamp(28px, 4.5vh, 48px) + 10px);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1px solid var(--dim);
  background: var(--bg);
  transform: translateX(-50%);
  transition:
    border-color 0.6s var(--ease-out),
    box-shadow 0.6s var(--ease-out);
}
.chapter.lit::before {
  border-color: var(--neon);
  box-shadow: 0 0 10px rgba(181, 123, 255, 0.9);
}
.chapter img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid var(--hair);
}
.chapter h3 {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 14px;
}
.chapter h3 small {
  font-family: var(--dot);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--dim);
  margin-right: 14px;
}
.chapter p {
  font-size: 13.5px;
  letter-spacing: 0.06em;
  line-height: 2.3;
  color: rgba(232, 228, 242, 0.82);
}

/* ============ PROFILE ============ */
.profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(36px, 6vw, 72px);
  align-items: start;
}
.profile-grid .statement {
  font-size: clamp(16px, 2.2vw, 21px);
  letter-spacing: 0.18em;
  line-height: 2.4;
  color: var(--accent);
  margin-bottom: 44px;
}
.trait {
  margin-bottom: 34px;
}
.trait h4 {
  display: inline-block;
  font-family: var(--dot);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-indent: 0.1em;
  border: 1px solid var(--hair);
  padding: 7px 18px;
  color: var(--accent);
  margin-bottom: 14px;
}
.trait p {
  font-size: 13.5px;
  letter-spacing: 0.06em;
  line-height: 2.2;
  color: rgba(232, 228, 242, 0.82);
}
.profile-visual {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--hair);
}
.profile-visual img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: 74% 30%;
  will-change: transform;
}

/* ============ BIOGRAPHY ============ */
#biography .bio {
  max-width: 780px;
}
#biography .bio h3 {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 26px;
}
#biography .bio p {
  font-size: 13.5px;
  letter-spacing: 0.05em;
  line-height: 2.35;
  color: rgba(232, 228, 242, 0.8);
  margin-bottom: 24px;
}

/* ============ LINKS ============ */
#links {
  text-align: center;
}
#links .handle {
  font-family: var(--dot);
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--dim);
  margin-bottom: 30px;
}
#links .btn-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
#links .listen {
  margin-top: 40px;
}
#links .listen .btn {
  border-color: rgba(181, 123, 255, 0.45);
  background: rgba(181, 123, 255, 0.06);
}/* ============ FOOTER ============ */


/* ============ レスポンシブ ============ */
@media (max-width: 820px) {
  .release-grid,
  .profile-grid {
    grid-template-columns: 1fr;
  }
  .jacket-main {
    max-width: 420px;
    margin: 0 auto;
  }
  .profile-visual {
    order: -1;
    max-width: 420px;
  }
  .disc-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .film-cell {
    width: 74vw;
  }
  .sec-head .ja {
    display: none;
  }
}
@media (max-width: 480px) {
  .chapter {
    grid-template-columns: 1fr;
  }
  .chapter img {
    max-width: 120px;
  }
}

/* ============ 動きを減らす設定を尊重 ============ */
/* html と .rv の無効化は common.css 側にある。ここはこのページ固有の演出だけ */
@media (prefers-reduced-motion: reduce) {
  .js .nz span {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
  .sec-head .line {
    transform: scaleX(1);
  }
  .hero-bg img {
    animation: none;
  }
  .scroll-hint span {
    animation: none;
  }
}

/* ============ PRIVACY（一般公開に伴い 2026-08-19 設置） ============ */
.privacy {
  max-width: 780px;
}
.privacy p {
  font-size: 13.5px;
  letter-spacing: 0.05em;
  line-height: 2.2;
  color: var(--body);
  margin-bottom: 18px;
}
.privacy strong {
  font-weight: 700;
  color: var(--ink);
}
.privacy-links {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
}
.privacy-links li {
  margin-bottom: 10px;
}
.privacy-links a {
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--neon);
  border-bottom: 1px solid rgba(181, 123, 255, 0.35);
  padding-bottom: 2px;
  transition: color 0.4s var(--ease-out);
}
.privacy-links a:hover {
  color: var(--accent);
}
.privacy-contact {
  font-size: 12.5px;
  color: var(--dim);
}
.privacy-contact a {
  color: var(--neon);
}
