/* =========================================================
   大矢たけはる OFFICIAL WEB SITE  —  2026 renewal
   ========================================================= */

:root {
  --bg: #f6f2ea;
  --bg-alt: #efe8dc;
  --surface: #fffdf9;
  --ink: #1d222b;
  --ink-soft: #3a404c;
  --muted: #6c707a;
  --line: #e3dace;
  --accent: #c8602b;
  --accent-ink: #a34a1c;
  --accent-soft: #f6e3d6;
  --sky: #2f5d8a;
  --pastel: linear-gradient(100deg, #ff9ab8 0%, #ffcf7a 28%, #a6e3a8 52%, #8fd0ff 76%, #c6a8ff 100%);
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(29, 34, 43, .05), 0 12px 32px -12px rgba(29, 34, 43, .18);
  --shadow-lg: 0 2px 4px rgba(29, 34, 43, .05), 0 30px 60px -24px rgba(29, 34, 43, .35);
  --container: 1120px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 68px;
  --font-sans: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  --font-serif: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --font-en: "Cormorant Garamond", "Times New Roman", serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .03em;
  font-feature-settings: "palt" 1;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { line-height: 1.4; margin: 0; font-weight: 700; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 820px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(246, 242, 234, .82);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(0,0,0,.4); }
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); line-height: 1.15; }
.brand__ja { font-family: var(--font-serif); font-size: 1.25rem; font-weight: 700; letter-spacing: .14em; }
.brand__en { font-family: var(--font-en); font-style: italic; font-size: .82rem; letter-spacing: .16em; color: var(--muted); }
.brand:hover { color: var(--ink); }

.gnav ul { list-style: none; display: flex; gap: 4px; align-items: center; }
.gnav a {
  display: block; padding: 8px 14px; border-radius: 999px;
  text-decoration: none; color: var(--ink-soft);
  font-size: .9rem; font-weight: 500; letter-spacing: .06em;
  transition: background .2s, color .2s;
}
.gnav a:hover { background: rgba(29,34,43,.06); color: var(--ink); }
.gnav a[aria-current="page"] { background: var(--ink); color: #fff; }
.gnav .gnav__ext::after { content: "↗"; font-size: .75em; margin-left: 3px; opacity: .6; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px; border: 0; border-radius: 999px;
  background: var(--ink); color: #fff; cursor: pointer;
  position: relative; z-index: 60;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  position: absolute; left: 50%; width: 18px; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform .3s, opacity .3s; content: "";
}
.nav-toggle span { top: 50%; transform: translate(-50%, -50%); }
.nav-toggle span::before { left: 0; transform: translateY(-6px); }
.nav-toggle span::after { left: 0; transform: translateY(6px); }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: rotate(45deg); background: #fff; }
.nav-open .nav-toggle span::after { transform: rotate(-45deg); background: #fff; }

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .gnav {
    position: fixed; inset: 0; z-index: 55;
    background: var(--ink); color: #fff;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
  }
  .nav-open .gnav { opacity: 1; visibility: visible; }
  .nav-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--ink); }
  .nav-open .brand { color: #fff; position: relative; z-index: 60; }
  .nav-open .brand__en { color: #9aa1ad; }
  .nav-open .nav-toggle { background: rgba(255,255,255,.12); }
  @media (prefers-reduced-motion: no-preference) {
    .gnav li { opacity: 0; transform: translateY(14px); transition: opacity .4s, transform .4s; }
    .nav-open .gnav li { opacity: 1; transform: none; }
    .nav-open .gnav li:nth-child(2) { transition-delay: .05s; } .nav-open .gnav li:nth-child(3) { transition-delay: .1s; }
    .nav-open .gnav li:nth-child(4) { transition-delay: .15s; } .nav-open .gnav li:nth-child(5) { transition-delay: .2s; }
    .nav-open .gnav li:nth-child(6) { transition-delay: .25s; } .nav-open .gnav li:nth-child(7) { transition-delay: .3s; }
  }
  .nav-open { overflow: hidden; }
  .gnav ul { flex-direction: column; gap: 6px; }
  .gnav a { color: #fff; font-family: var(--font-en); font-size: 1.9rem; font-style: italic; font-weight: 500; padding: 6px 24px; letter-spacing: .04em; }
  .gnav a:hover { background: rgba(255,255,255,.08); color: #fff; }
  .gnav a[aria-current="page"] { background: transparent; color: #ffcf7a; }
}

/* ---------- Page hero (sub pages) ---------- */
.page-hero { padding: clamp(48px, 9vw, 104px) 0 clamp(28px, 5vw, 48px); position: relative; }
.page-hero__en {
  font-family: var(--font-en); font-style: italic; font-weight: 500;
  font-size: clamp(2.6rem, 8vw, 5.2rem); line-height: 1; letter-spacing: .01em; color: var(--ink);
}
.page-hero__ja { margin-top: 14px; font-size: .95rem; color: var(--muted); letter-spacing: .2em; display: flex; align-items: center; gap: 12px; }
.page-hero__ja::before { content: ""; width: 32px; height: 1px; background: var(--accent); }
.breadcrumb { font-size: .78rem; color: var(--muted); margin-bottom: 18px; letter-spacing: .08em; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 9vw, 112px) 0; }
.section--tight { padding: clamp(36px, 6vw, 64px) 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--ink); color: #eef0f3; }
.section--dark a { color: #ffcf7a; }

.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: clamp(28px, 4vw, 48px); flex-wrap: wrap; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-en); font-style: italic; font-size: 1.1rem; color: var(--accent-ink); letter-spacing: .06em;
}
.eyebrow::before { content: ""; width: 24px; height: 1px; background: currentColor; }
.section-title { font-family: var(--font-serif); font-size: clamp(1.5rem, 3.4vw, 2.2rem); letter-spacing: .08em; margin-top: 6px; }
.section--dark .eyebrow { color: #ffcf7a; }
.section--dark .lead, .section--dark .muted { color: #c3c8d1; }
.section--dark .card, .section--dark .news-item, .section--dark .work { color: var(--ink); }

.lead { font-size: 1.05rem; color: var(--ink-soft); line-height: 2.05; }
.muted { color: var(--muted); }
.small { font-size: .86rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px; border-radius: 999px;
  background: var(--ink); color: #fff; text-decoration: none;
  font-size: .92rem; font-weight: 700; letter-spacing: .08em; line-height: 1.3;
  border: 1px solid var(--ink); cursor: pointer;
  transition: transform .2s, background .2s, color .2s, box-shadow .2s;
}
.btn:hover { color: #fff; background: var(--accent); border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 10px 22px -12px rgba(200,96,43,.8); }
.btn::after { content: "→"; transition: transform .2s; }
.btn:hover::after { transform: translateX(3px); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { color: #fff; }
.btn--sm { min-height: 38px; padding: 8px 16px; font-size: .82rem; }
.btn--play::after { content: "▶"; font-size: .7em; }
.btn--ext::after { content: "↗"; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.section--dark .btn--ghost { color: #fff; border-color: rgba(255,255,255,.4); }

.text-link { font-weight: 700; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 1px; }

/* ---------- Home hero ---------- */
.home-hero { padding: clamp(16px, 3vw, 32px) 0 0; }
.home-hero__frame {
  position: relative; border-radius: clamp(16px, 2.5vw, 28px); overflow: hidden;
  box-shadow: var(--shadow-lg); background: #d9b98f;
  aspect-ratio: 840 / 527;
}
.home-hero__frame img { width: 100%; height: 100%; object-fit: cover; }
.home-hero__intro {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: end;
  padding: clamp(36px, 6vw, 72px) 0 0;
}
.home-hero__title { font-family: var(--font-serif); font-size: clamp(2rem, 5.4vw, 3.6rem); letter-spacing: .14em; line-height: 1.3; }
.home-hero__title small { display: block; font-family: var(--font-en); font-style: italic; font-weight: 500; font-size: .36em; letter-spacing: .12em; color: var(--accent-ink); margin-bottom: 10px; }
@media (max-width: 760px) { .home-hero__intro { grid-template-columns: 1fr; } }

/* ---------- Release feature ---------- */
.release {
  position: relative; display: grid; grid-template-columns: minmax(0, 300px) 1fr; gap: 28px clamp(64px, 10vw, 110px); align-items: center;
  background: var(--surface); border-radius: calc(var(--radius) + 8px); padding: clamp(22px, 4vw, 48px);
  box-shadow: var(--shadow); overflow: hidden; isolation: isolate;
}
.release::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .16; background: var(--pastel);
  mask-image: linear-gradient(110deg, transparent 30%, #000 100%);
  -webkit-mask-image: linear-gradient(110deg, transparent 30%, #000 100%);
}
.release__art { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 1; background: #fff; }
.release__art img { width: 100%; height: 100%; object-fit: cover; }
.release__tag {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .14em;
  padding: 4px 12px; border-radius: 999px; color: var(--ink); background: var(--pastel);
}
.release__date { margin-top: 14px; font-size: .9rem; color: var(--muted); letter-spacing: .1em; }
.release__title { font-family: var(--font-serif); font-size: clamp(1.9rem, 4.6vw, 3rem); letter-spacing: .12em; margin: 6px 0 10px; }
.release__platforms { color: var(--ink-soft); }
@media (max-width: 680px) { .release { grid-template-columns: 1fr; } .release__art { max-width: 280px; } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.12); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--ink); padding: clamp(24px, 4vw, 40px); }
.stat__num { font-family: var(--font-serif); font-size: clamp(2rem, 4.6vw, 3.2rem); line-height: 1.1; color: #fff; letter-spacing: .02em; }
.stat__num small { font-size: .42em; margin-left: 4px; letter-spacing: .1em; }
.stat__label { margin-top: 10px; font-size: .88rem; color: #b9bec8; line-height: 1.7; }
@media (max-width: 680px) { .stats { grid-template-columns: 1fr; } }

/* ---------- News ---------- */
.news { list-style: none; display: grid; gap: 16px; }
.news-item {
  display: grid; grid-template-columns: 148px 1fr; gap: clamp(16px, 3vw, 32px);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(16px, 2.6vw, 28px); transition: box-shadow .25s, transform .25s;
  row-gap: 6px; align-content: start;
}
.news-item:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.news-item__media { align-self: start; grid-row: span 2; }
.news-item__head, .news-item__body { grid-column: 2; }
.news-item--noimg .news-item__head, .news-item--noimg .news-item__body { grid-column: 1; }
.news-item__media img { border-radius: var(--radius-sm); width: 100%; max-height: 200px; object-fit: contain; background: var(--bg); }
.news-item__media--none { display: none; }
.news-item--noimg { grid-template-columns: 1fr; }
.news-item__date { font-size: .82rem; color: var(--accent-ink); font-weight: 700; letter-spacing: .12em; }
.news-item__title { font-size: clamp(1.02rem, 2vw, 1.18rem); margin: 4px 0 10px; letter-spacing: .05em; line-height: 1.6; }
.news-item__body { font-size: .94rem; color: var(--ink-soft); line-height: 1.95; }
.news-item__body p:last-child { margin-bottom: 0; }
@media (max-width: 600px) {
  .news-item { grid-template-columns: 84px 1fr; }
  .news-item__media { grid-row: auto; }
  .news-item__body, .news-item--noimg .news-item__head { grid-column: 1 / -1; }
}

.badge {
  display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .08em;
  padding: 2px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); margin: 2px 4px 2px 0;
}
.badges { margin: 8px 0 4px; }

.more { margin-top: 20px; }
.more > summary {
  list-style: none; cursor: pointer; display: flex; justify-content: center;
}
.more > summary::-webkit-details-marker { display: none; }
.more > summary span {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 12px 28px; border-radius: 999px;
  border: 1px solid var(--ink); font-weight: 700; font-size: .92rem; letter-spacing: .08em; transition: background .2s, color .2s;
}
.more > summary:hover span { background: var(--ink); color: #fff; }
.more > summary span::after { content: "+"; font-size: 1.2em; line-height: 1; }
.more[open] > summary span::after { content: "−"; }
.more[open] > summary { margin-bottom: 16px; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid--2, .grid--3 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(20px, 3vw, 32px); box-shadow: 0 1px 0 rgba(0,0,0,.02);
}
.card h3 { font-size: 1.1rem; letter-spacing: .06em; margin-bottom: 10px; }

.cta-card {
  display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
  text-decoration: none; color: var(--ink); min-height: 200px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(22px, 3vw, 32px); transition: transform .25s, box-shadow .25s, border-color .25s;
}
.cta-card:hover { color: var(--ink); transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.cta-card__en { font-family: var(--font-en); font-style: italic; font-size: 2rem; line-height: 1; }
.cta-card__ja { font-size: .88rem; color: var(--muted); margin-top: 8px; }
.cta-card__arrow { width: 44px; height: 44px; border-radius: 999px; display: grid; place-items: center; background: var(--bg-alt); transition: background .25s, color .25s; align-self: flex-end; }
.cta-card:hover .cta-card__arrow { background: var(--accent); color: #fff; }

/* ---------- Discography / Works ---------- */
.works { display: grid; gap: clamp(20px, 3vw, 32px); }
.work {
  display: grid; grid-template-columns: 220px 1fr; gap: clamp(20px, 4vw, 48px);
  background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px);
  padding: clamp(20px, 3.4vw, 40px);
}
.work__art img { border-radius: var(--radius-sm); box-shadow: var(--shadow); width: 100%; background: #fff; }
.work__art--book img { max-width: 170px; margin-inline: auto; }
.work__type { display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .16em; color: var(--accent-ink); text-transform: uppercase; }
.work__title { font-family: var(--font-serif); font-size: clamp(1.35rem, 3vw, 1.9rem); letter-spacing: .08em; margin: 6px 0 4px; }
.work__sub { font-size: .95rem; color: var(--ink-soft); margin-bottom: 10px; }
.meta { display: grid; grid-template-columns: max-content 1fr; gap: 4px 18px; font-size: .9rem; margin: 14px 0; }
.meta dt { color: var(--muted); }
.meta dd { margin: 0; }
.tracks { list-style: none; counter-reset: t; border-top: 1px solid var(--line); margin-top: 8px; }
.tracks li { counter-increment: t; display: flex; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .94rem; align-items: baseline; flex-wrap: wrap; }
.tracks li::before { content: counter(t, decimal-leading-zero); font-family: var(--font-en); font-style: italic; color: var(--muted); min-width: 1.6em; }
.tracks .note { flex-basis: 100%; padding-left: calc(1.6em + 14px); font-size: .8rem; color: var(--muted); margin-top: -4px; }
.tracks .listen { margin-left: auto; font-size: .78rem; font-weight: 700; text-decoration: none; padding: 2px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); white-space: nowrap; }
.tracks .listen:hover { background: var(--accent); color: #fff; }
.work details { margin-top: 14px; }
.work details > summary { cursor: pointer; font-weight: 700; font-size: .92rem; color: var(--ink); padding: 6px 0; }
.note-box { margin-top: 14px; padding: 14px 18px; border-radius: var(--radius-sm); background: var(--bg); font-size: .9rem; color: var(--ink-soft); }
.note-box p:last-child { margin-bottom: 0; }
@media (max-width: 680px) {
  .work { grid-template-columns: 1fr; }
  .work__art { max-width: 220px; }
  .work__art--book { max-width: 170px; }
}

.filter-nav { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.filter-nav a { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; color: var(--ink-soft); font-size: .86rem; font-weight: 500; }
.filter-nav a:hover { border-color: var(--ink); color: var(--ink); }

/* ---------- Profile ---------- */
.profile-intro { display: grid; grid-template-columns: 300px 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.profile-photo { border-radius: calc(var(--radius) + 6px); overflow: hidden; box-shadow: var(--shadow-lg); }
.profile-photo img { width: 100%; }
.profile-name { font-family: var(--font-serif); font-size: clamp(2rem, 5vw, 2.8rem); letter-spacing: .16em; }
.profile-name small { display: block; font-family: var(--font-en); font-style: italic; font-weight: 500; font-size: .5em; color: var(--muted); letter-spacing: .12em; margin-top: 4px; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px; margin: 24px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); font-size: .94rem; }
.facts dt { color: var(--muted); font-size: .86rem; }
.facts dd { margin: 0; }
@media (max-width: 760px) { .profile-intro { grid-template-columns: 1fr; } .profile-photo { max-width: 320px; } }
@media (max-width: 420px) { .facts { grid-template-columns: 1fr; gap: 2px; } .facts dd { margin-bottom: 10px; } }

.timeline { list-style: none; position: relative; padding-left: 28px; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.timeline li { position: relative; padding: 0 0 26px; }
.timeline li::before { content: ""; position: absolute; left: -27px; top: 9px; width: 11px; height: 11px; border-radius: 50%; background: var(--surface); border: 2px solid var(--accent); }
.timeline time { display: block; font-family: var(--font-en); font-style: italic; font-size: 1.15rem; color: var(--accent-ink); line-height: 1.3; }
.timeline p { margin: 2px 0 0; font-size: .95rem; color: var(--ink-soft); }

.photo-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.photo-row img { border-radius: var(--radius); width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; box-shadow: var(--shadow); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 22px; }
.field label { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: .92rem; margin-bottom: 8px; }
.req { font-size: .7rem; font-weight: 700; color: #fff; background: var(--accent); padding: 1px 8px; border-radius: 999px; letter-spacing: .08em; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 16px; transition: border-color .2s, box-shadow .2s; appearance: none; -webkit-appearance: none;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.field textarea { min-height: 180px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(200,96,43,.15); }
.form-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Links page ---------- */
.link-card { display: flex; flex-direction: column; gap: 12px; }
.link-card__logo { height: 56px; display: flex; align-items: center; }
.link-card__logo img { max-height: 48px; width: auto; }
.link-card h3 a { color: var(--ink); text-decoration: none; }
.link-card h3 a:hover { color: var(--accent); }
.link-card h3 a::after { content: " ↗"; font-size: .8em; color: var(--muted); }
.link-card p { font-size: .9rem; color: var(--ink-soft); margin: 0; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; align-items: start; }
.gallery img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; background: #fff; }

/* ---------- Lyrics (試聴) pages ---------- */
.lyric-page { min-height: 100vh; display: grid; place-items: center; padding: 40px var(--gutter);
  background: radial-gradient(1200px 600px at 10% -10%, #f9dcc6 0%, transparent 60%), radial-gradient(900px 600px at 110% 110%, #d6e6f5 0%, transparent 55%), var(--bg); }
.lyric { width: 100%; max-width: 620px; background: var(--surface); border-radius: calc(var(--radius) + 8px); box-shadow: var(--shadow-lg); padding: clamp(28px, 6vw, 56px); text-align: center; }
.lyric__catch { color: var(--accent-ink); font-size: .92rem; letter-spacing: .1em; }
.lyric__title { font-family: var(--font-serif); font-size: clamp(1.7rem, 5vw, 2.4rem); letter-spacing: .14em; margin: 10px 0 6px; }
.lyric__credit { font-size: .8rem; color: var(--muted); letter-spacing: .1em; }
.lyric audio { width: 100%; margin: 26px 0 8px; }
.lyric__text { font-family: var(--font-serif); font-size: 1.02rem; line-height: 2.4; margin: 24px 0 0; padding-top: 24px; border-top: 1px solid var(--line); }
.lyric__note { font-size: .76rem; color: var(--muted); margin-top: 16px; }
.lyric__back { margin-top: 28px; }

/* ---------- Article image pages ---------- */
.press { text-align: center; }
.press img { margin: 0 auto; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #c9ced8; padding: clamp(56px, 8vw, 88px) 0 32px; margin-top: clamp(40px, 6vw, 80px); }
.site-footer a { color: #e9ecf1; text-decoration: none; }
.site-footer a:hover { color: #ffcf7a; }
.footer-top { display: grid; grid-template-columns: 1.2fr 2fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-brand .brand__ja { font-family: var(--font-serif); font-size: 1.6rem; color: #fff; letter-spacing: .16em; }
.footer-brand .brand__en { color: #9aa1ad; }
.footer-brand p { margin-top: 16px; font-size: .88rem; color: #9aa1ad; }
.footer-nav ul { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 24px; }
.footer-nav a { font-family: var(--font-en); font-style: italic; font-size: 1.2rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; font-size: .78rem; color: #8b92a0; }
.to-top { display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 760px) { .footer-top { grid-template-columns: 1fr; } .footer-nav ul { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Reveal animation ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
  .reveal.is-visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* =========================================================
   Motion & extra components
   ========================================================= */

/* Hero: slow Ken Burns + equalizer */
.home-hero__frame img { transform-origin: 60% 50%; }
@media (prefers-reduced-motion: no-preference) {
  .home-hero__frame img { animation: kenburns 22s ease-in-out infinite alternate; }
}
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.08) translate(-1%, -1%); } }
.home-hero__frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 60%, rgba(29,34,43,.35));
}
.eq { position: absolute; right: clamp(14px, 3vw, 28px); bottom: clamp(14px, 3vw, 26px); z-index: 2; display: flex; gap: 4px; align-items: flex-end; height: 26px; }
.eq i { width: 4px; height: 100%; border-radius: 2px; background: #fff; opacity: .9; transform-origin: bottom; animation: eq 1.1s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: -.4s; animation-duration: .9s; }
.eq i:nth-child(3) { animation-delay: -.7s; animation-duration: 1.3s; }
.eq i:nth-child(4) { animation-delay: -.2s; animation-duration: 1s; }
.eq i:nth-child(5) { animation-delay: -.55s; animation-duration: 1.2s; }
@keyframes eq { 0%, 100% { transform: scaleY(.25); } 50% { transform: scaleY(1); } }

/* Marquee band */
.marquee { overflow: hidden; margin-top: clamp(20px, 4vw, 36px); padding: 14px 0; border-block: 1px solid var(--line); white-space: nowrap; }
.marquee__track { display: inline-flex; gap: 32px; align-items: center; animation: marquee 40s linear infinite; padding-right: 32px; }
.marquee__track span { font-family: var(--font-en); font-style: italic; font-size: clamp(1.6rem, 4.4vw, 3rem); line-height: 1.1; color: var(--ink); }
.marquee__track .marquee__dot { font-style: normal; font-size: 1rem; color: var(--accent); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Intro */
.intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: end; }
.intro__title { font-family: var(--font-serif); font-size: clamp(2rem, 5.4vw, 3.6rem); letter-spacing: .14em; line-height: 1.35; }
.intro__title small { display: block; font-family: var(--font-en); font-style: italic; font-weight: 500; font-size: .36em; letter-spacing: .12em; color: var(--accent-ink); margin-bottom: 10px; }
.section--intro { padding-top: clamp(40px, 6vw, 72px); }
@media (max-width: 760px) { .intro { grid-template-columns: 1fr; } }

/* Release: animated pastel + spinning disc */
.release__tag { background-size: 200% 100%; animation: pastel-shift 6s ease-in-out infinite alternate; }
.release::before { background-size: 200% 200%; animation: pastel-shift 12s ease-in-out infinite alternate; }
@keyframes pastel-shift { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
.release__art { position: relative; overflow: visible; background: transparent; box-shadow: none; }
.release__art img { position: relative; z-index: 1; border-radius: var(--radius); box-shadow: var(--shadow-lg); aspect-ratio: 1; object-fit: cover; width: 100%; }
.release__disc {
  position: absolute; z-index: 0; top: 5%; left: 5%; width: 90%; height: 90%; border-radius: 50%;
  background: radial-gradient(circle, #f6f2ea 0 9%, #1d222b 9.5% 12%, #2a303b 12.5% 46%, #1d222b 47% 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.05), 0 10px 30px -10px rgba(0,0,0,.5);
  transition: transform .9s cubic-bezier(.2,.7,.2,1);
}
.release__disc::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: repeating-radial-gradient(circle, transparent 0 3px, rgba(255,255,255,.04) 3px 4px); }
.release.is-visible .release__disc { transform: translateX(26%); animation: spin 6s linear .9s infinite; }
@keyframes spin { from { transform: translateX(26%) rotate(0); } to { transform: translateX(26%) rotate(360deg); } }
.release__info { position: relative; z-index: 2; }
@media (max-width: 680px) {
  .release__art { max-width: 240px; }
  .release.is-visible .release__disc { transform: translateX(22%); animation-name: spin-sm; }
}
@keyframes spin-sm { from { transform: translateX(22%) rotate(0); } to { transform: translateX(22%) rotate(360deg); } }

/* Page hero: soft moving blobs */
.page-hero { overflow: hidden; isolation: isolate; }
.page-hero .container { position: relative; }
.page-hero__bg { position: absolute; top: -60%; right: -10%; width: min(560px, 80vw); aspect-ratio: 1; z-index: -1; pointer-events: none;
  background: radial-gradient(circle at 30% 30%, rgba(255,207,122,.55), transparent 60%), radial-gradient(circle at 70% 60%, rgba(143,208,255,.45), transparent 60%), radial-gradient(circle at 40% 80%, rgba(255,154,184,.4), transparent 60%);
  filter: blur(30px); animation: blob 16s ease-in-out infinite alternate; }
@keyframes blob { from { transform: translate(0,0) rotate(0); } to { transform: translate(-8%, 10%) rotate(40deg); } }
.page-hero h1 { display: block; font-weight: inherit; }
.page-hero__en { display: block; }
@media (prefers-reduced-motion: no-preference) {
  .page-hero__en { animation: rise 1s cubic-bezier(.2,.7,.2,1) both; }
  .page-hero__ja { animation: rise 1s .15s cubic-bezier(.2,.7,.2,1) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* Text block, cards, figures */
.text-block--img { display: grid; grid-template-columns: 200px 1fr; gap: 28px; align-items: start; }
.text-block__img img { border-radius: var(--radius-sm); box-shadow: var(--shadow); }
@media (max-width: 600px) { .text-block--img { grid-template-columns: 1fr; } .text-block__img { max-width: 220px; } }
.text-block__body > :last-child { margin-bottom: 0; }
.card--item { text-decoration: none; color: var(--ink); transition: transform .25s, box-shadow .25s; display: block; }
a.card--item:hover { color: var(--ink); transform: translateY(-4px); box-shadow: var(--shadow); }
.card__img img { border-radius: var(--radius-sm); margin-bottom: 14px; width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.card__body { font-size: .92rem; color: var(--ink-soft); }
.card__body > :last-child { margin-bottom: 0; }
.bullets { padding-left: 1.2em; margin: 0 0 1em; }
.bullets li { margin: 2px 0; }
.single-image { margin: 0; text-align: center; }
.single-image img { margin: 0 auto; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); }
.single-image figcaption, .gallery figcaption { margin-top: 12px; font-size: .86rem; color: var(--muted); }
.gallery figure { margin: 0; }
.gallery img { transition: transform .4s; }
.gallery a:hover img { transform: scale(1.02); }
.news-item__head { min-width: 0; }
.profile-body { margin-top: 18px; color: var(--ink-soft); }

/* Stats */
.stat { transition: background .3s; }
.stat:hover { background: #262c37; }

/* Video (lite YouTube) */
.video { position: relative; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); background: #000; }
.video__poster { all: unset; cursor: pointer; position: absolute; inset: 0; display: block; }
.video__poster img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .3s, transform .6s; }
.video__poster:hover img { opacity: 1; transform: scale(1.03); }
.video__play { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: rgba(255,255,255,.92); box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.video__play::after { content: ""; position: absolute; left: 31px; top: 24px; border-left: 22px solid var(--accent); border-top: 14px solid transparent; border-bottom: 14px solid transparent; }
.video__poster:hover .video__play { animation: pulse 1.2s ease-out infinite; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.6); } 100% { box-shadow: 0 0 0 22px rgba(255,255,255,0); } }

/* Audio player (lyric pages) */
.player { display: flex; align-items: center; gap: 14px; margin: 26px auto 6px; padding: 10px 18px 10px 10px; border-radius: 999px; background: var(--bg); max-width: 420px; }
.player__btn { flex: none; width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .2s, transform .2s; }
.player__btn:hover { background: var(--accent); transform: scale(1.05); }
.player__icon { width: 0; height: 0; border-left: 15px solid #fff; border-top: 9px solid transparent; border-bottom: 9px solid transparent; margin-left: 4px; }
.player.is-playing .player__icon { width: 14px; height: 16px; border: 0; margin: 0; background: linear-gradient(90deg, #fff 0 35%, transparent 35% 65%, #fff 65%); }
.player__bars { flex: 1; display: flex; gap: 3px; align-items: center; height: 32px; }
.player__bars i { flex: 1; height: 30%; border-radius: 2px; background: var(--line); transition: background .3s; }
.player.is-playing .player__bars i { background: var(--accent); animation: eq .9s ease-in-out infinite; transform-origin: center; height: 100%; }
.player__bars i:nth-child(3n) { animation-delay: -.3s !important; }
.player__bars i:nth-child(3n+1) { animation-delay: -.6s !important; animation-duration: 1.1s !important; }
.player__bars i:nth-child(4n) { animation-delay: -.15s !important; animation-duration: .7s !important; }
.player__time { flex: none; font-size: .78rem; color: var(--muted); min-width: 4.5em; text-align: right; font-variant-numeric: tabular-nums; }

.site-header.is-scrolled { background: rgba(246, 242, 234, .92); }

/* Cursor-follow glow on cards (desktop) */
@media (hover: hover) {
  .work, .news-item, .card { background-image: radial-gradient(400px circle at var(--mx, -400px) var(--my, -400px), rgba(255, 207, 122, .16), transparent 60%); }
}

@media (prefers-reduced-motion: no-preference) { .reveal { transition-delay: var(--d, 0s); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

.btn--back::after { content: none; }
@media (max-width: 480px) { .lyric__text { font-size: .95rem; line-height: 2.2; } }

/* ---------- SNS links ---------- */
.section--social { padding: clamp(28px, 5vw, 48px) 0 0; }
.social-block__title { text-align: center; font-family: var(--font-en); font-style: italic; font-size: 1.1rem; color: var(--accent-ink); margin-bottom: 14px; }
.social { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: clamp(10px, 3vw, 18px); }
.social__link {
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 10px 22px 10px 12px;
  border-radius: 999px; background: var(--surface); border: 1px solid var(--line);
  color: var(--ink); text-decoration: none; font-weight: 700; font-size: .9rem; letter-spacing: .04em;
  transition: transform .25s, box-shadow .25s, color .25s, background .25s, border-color .25s;
}
.social__link svg { width: 30px; height: 30px; padding: 5px; border-radius: 50%; background: var(--bg-alt); flex: none; transition: background .25s, color .25s; }
.social__link:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); border-color: transparent; }
.social__link--instagram:hover svg { background: linear-gradient(45deg, #f9ce34, #ee2a7b 55%, #6228d7); color: #fff; }
.social__link--youtube:hover svg { background: #ff0000; color: #fff; }
.social__link--facebook:hover svg { background: #1877f2; color: #fff; }
.social__link--x:hover svg { background: #000; color: #fff; }
.social__link--line:hover svg { background: #06c755; color: #fff; }
.social__link--blog:hover svg, .social__link--mail:hover svg { background: var(--accent); color: #fff; }
@media (max-width: 520px) {
  .social { gap: 14px; }
  .social__link { padding: 0; min-height: 0; border: 0; background: none; flex-direction: column; gap: 6px; font-size: .72rem; font-weight: 500; color: var(--muted); }
  .social__link svg { width: 54px; height: 54px; padding: 13px; background: var(--surface); border: 1px solid var(--line); }
  .social__link:hover { box-shadow: none; }
}
.social--footer { justify-content: flex-start; padding: 28px 0 4px; gap: 12px; }
.social--footer .social__link { padding: 0; min-height: 0; border: 0; background: none; color: #c9ced8; }
.social--footer .social__link span { display: none; }
.social--footer .social__link svg { width: 44px; height: 44px; padding: 11px; background: rgba(255,255,255,.08); border: 0; }
.social--footer .social__link:hover { box-shadow: none; color: #fff; }
