:root {
  --bg:          #030d16;
  --bg-card:     #06121c;
  --bg-band:     #0b151e;
  --bg-footer:   #061018;
  --text:        #eee9f1;
  --text-muted:  #b5b3c1;
  --pink:        #f9b0c4;
  --pink-deep:   #e99bb4;
  --line:        rgba(255, 255, 255, .14);

  --font-jp:    "Shippori Mincho", "Noto Serif JP", "Yu Mincho", serif;
  --font-serif: "Cormorant Garamond", "Shippori Mincho", Georgia, serif;
  --font-sans:  "Jost", "Noto Sans JP", system-ui, sans-serif;
  --font-hand:  "Caveat", "Segoe Print", cursive;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 84px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, p, ol, ul, figure, blockquote { margin: 0; }
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; }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 4px; }

section { scroll-margin-top: var(--header-h); }

h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

:lang(ja) { word-break: auto-phrase; }

.phrase { display: inline-block; }

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

html[data-lang="en"] [data-ja],
html[data-lang="ja"] [data-en] { display: none !important; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.has-bg {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.section-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.has-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--overlay, none);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .7em;
  min-height: 48px;
  padding: 0 2em;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color .25s, border-color .25s, color .25s;
}
.btn .arrow { font-size: 1.15em; line-height: 1; transition: transform .25s; }
.btn:hover .arrow { transform: translateX(4px); }

.btn-primary { background: var(--pink); color: #1c1420; }
.btn-primary:hover { background: #ffc8d6; }

.btn-outline { border-color: rgba(255, 255, 255, .75); background: rgba(3, 13, 22, .25); }
.btn-outline:hover { border-color: #fff; background: rgba(255, 255, 255, .1); }

.btn-sm { min-height: 42px; padding: 0 1.5em; }

.display-title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(2rem, 3.2vw, 2.9rem);
  letter-spacing: .08em;
  line-height: 1;
}

.eyebrow {
  margin-bottom: .7rem;
  color: var(--pink-deep);
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
}

.hand-note {
  font-family: var(--font-hand);
  font-size: clamp(1.25rem, 1.9vw, 1.75rem);
  line-height: 1.15;
  color: rgba(255, 255, 255, .9);
  transform: rotate(-7deg);
}

.nav-links { display: flex; gap: clamp(20px, 3.4vw, 52px); }
.nav-links a {
  position: relative;
  padding: .55rem 0;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: -8px; right: -8px; bottom: 0;
  height: 2px;
  background: var(--pink);
  transform: scaleX(0);
  transition: transform .25s;
}
.nav-links a:hover::after,
.nav-links a.is-active::after { transform: scaleX(1); }

html[lang="ja"] .nav-links a,
html[lang="ja"] .btn { font-size: .86rem; letter-spacing: .1em; }
html[lang="ja"] .card-text { font-size: .86rem; }

.logo { display: block; flex-shrink: 0; }
.logo img { width: auto; height: 68px; }
.site-footer .logo img { height: 88px; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  transition: background-color .3s;
}
.site-header.is-scrolled,
.site-header.menu-open {
  background: rgba(3, 13, 22, .9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: clamp(24px, 5vw, 76px);
  height: var(--header-h);
}

.lang-switch { margin-left: auto; display: flex; align-items: center; gap: .9rem; font-size: .82rem; }
.lang-switch button { padding: .2rem 0; border-bottom: 1px solid transparent; opacity: .7; transition: opacity .2s; }
.lang-switch button:hover { opacity: 1; }
.lang-switch button[aria-pressed="true"] { opacity: 1; border-bottom-color: currentColor; }
.lang-sep { width: 1px; height: 1.1em; background: rgba(255, 255, 255, .4); }

.menu-toggle { display: none; }

.hero {
  min-height: clamp(580px, 46vw, 820px);
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 32px) 0 56px;
  --overlay:
    linear-gradient(180deg, rgba(3, 13, 22, .6) 0%, rgba(3, 13, 22, 0) 22%),
    linear-gradient(90deg, rgba(3, 13, 22, .78) 0%, rgba(3, 13, 22, .45) 32%, rgba(3, 13, 22, 0) 58%),
    linear-gradient(0deg, rgba(3, 13, 22, .7) 0%, rgba(3, 13, 22, 0) 16%);
}
.hero .section-bg { object-position: 62% center; }

.hero-logo { margin-left: -.5%; }
.hero-logo img {
  width: clamp(290px, 38vw, 580px);
  height: auto;
  filter: drop-shadow(0 6px 24px rgba(3, 13, 22, .55));
}
.hero-tagline {
  margin-top: .45rem;
  font-family: var(--font-hand);
  font-weight: 500;
  font-size: clamp(1.7rem, 3vw, 2.8rem);
  line-height: 1.15;
  color: #f8d7e1;
}
.hero-jp {
  margin-top: 1rem;
  font-family: var(--font-jp);
  font-weight: 500;
  font-size: clamp(1rem, 1.5vw, 1.35rem);
  letter-spacing: .14em;
  line-height: 1.55;
}
.hero-en {
  margin-top: .75rem;
  font-size: clamp(.95rem, 1.3vw, 1.2rem);
  letter-spacing: .06em;
  line-height: 1.4;
}
.hero .btn { margin-top: 1.7rem; }

.hero-note { position: absolute; top: 21%; right: 2.2%; }

.projects { padding: clamp(44px, 5vw, 72px) 0 clamp(48px, 5vw, 64px); }

.projects-head {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: clamp(20px, 2.6vw, 40px);
  margin-bottom: clamp(28px, 3vw, 40px);
}
.projects-lead,
.projects-desc { padding-left: clamp(20px, 2.6vw, 40px); border-left: 1px solid var(--line); }

.projects-lead .jp-line {
  font-family: var(--font-jp);
  font-weight: 500;
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  letter-spacing: .1em;
  white-space: nowrap;
}
.projects-lead p + p { margin-top: .2rem; font-size: .98rem; letter-spacing: .03em; }

.projects-desc { font-size: .86rem; line-height: 1.7; color: var(--text-muted); }

.projects-note { color: var(--pink-deep); padding-left: 8px; }

.cards {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(12px, 1.4vw, 20px);
}

.card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--bg-card);
  border: 1px solid var(--line);
  transition: border-color .3s, transform .3s;
}
.card-link:hover { border-color: rgba(249, 176, 196, .55); transform: translateY(-4px); }

.card-media { overflow: hidden; }
.card-media img { width: 100%; aspect-ratio: 7 / 5; object-fit: cover; transition: transform .6s; }
.card-link:hover .card-media img { transform: scale(1.05); }

.card-body { position: relative; flex: 1; padding: 16px 18px 22px; }
.card-title {
  font-weight: 500;
  font-size: 1.15rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.card-text { margin-top: .3rem; padding-right: 1.6rem; font-size: .82rem; line-height: 1.6; color: var(--text-muted); }
.card-arrow { position: absolute; right: 16px; bottom: 20px; transition: transform .25s, color .25s; }
.card-link:hover .card-arrow { transform: translateX(4px); color: var(--pink); }

.statement {
  position: relative;
  overflow: hidden;
  padding: clamp(30px, 3.4vw, 46px) 0;
  background: linear-gradient(180deg, #0d1822, var(--bg-band));
  text-align: center;
}
.statement-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.7rem, 3vw, 2.65rem);
  letter-spacing: .02em;
  line-height: 1.2;
}
.statement p { margin-top: .5rem; font-size: .92rem; letter-spacing: .02em; color: #d9d6e0; }

.petal {
  position: absolute;
  top: -12px;
  width: 11px;
  height: 8px;
  border-radius: 150% 0 150% 0;
  background: linear-gradient(135deg, #f6c3d2, #c9849c);
  opacity: .45;
  pointer-events: none;
  animation: petal-fall 11s linear infinite;
}
.petal:nth-of-type(1) { left: 6%;  animation-delay: -1s; }
.petal:nth-of-type(2) { left: 18%; animation-delay: -6s;  animation-duration: 13s; }
.petal:nth-of-type(3) { left: 44%; animation-delay: -3s;  animation-duration: 12s; }
.petal:nth-of-type(4) { left: 71%; animation-delay: -8s; }
.petal:nth-of-type(5) { left: 86%; animation-delay: -4s;  animation-duration: 14s; }
.petal:nth-of-type(6) { left: 95%; animation-delay: -10s; animation-duration: 12s; }

@keyframes petal-fall {
  0%   { transform: translate(0, 0) rotate(0deg); }
  50%  { transform: translate(-30px, 90px) rotate(160deg); }
  100% { transform: translate(-10px, 190px) rotate(320deg); }
}

.featured {
  min-height: clamp(440px, 34vw, 600px);
  display: flex;
  align-items: center;
  padding: 56px 0;
  --overlay: linear-gradient(90deg, rgba(3, 13, 22, .8) 0%, rgba(3, 13, 22, .5) 32%, rgba(3, 13, 22, 0) 56%);
}
.featured .section-bg { object-position: 65% center; }

.featured-content { max-width: 520px; }
.featured-title { font-size: clamp(2.8rem, 5.6vw, 5.2rem); margin: .1em 0 .2em; }
.featured-text { font-size: clamp(1rem, 1.5vw, 1.3rem); line-height: 1.45; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1.8rem; }
.btn-row .btn { min-width: 180px; }

.featured-note { position: absolute; top: 13%; right: 2.5%; }

.quote {
  padding: clamp(26px, 3vw, 40px) 0;
  text-align: center;
  --overlay: radial-gradient(ellipse 45% 100% at 50% 50%, rgba(8, 18, 40, .55), rgba(8, 18, 40, 0));
}
.quote blockquote {
  font-family: var(--font-jp);
  font-weight: 500;
  font-size: clamp(1.1rem, 2.2vw, 1.9rem);
  letter-spacing: .12em;
  line-height: 1.4;
}
.quote figcaption {
  margin-top: .45rem;
  font-size: clamp(.62rem, .9vw, .75rem);
  letter-spacing: .3em;
  text-transform: uppercase;
}
.quote figcaption::after {
  content: "";
  display: block;
  width: 56px;
  height: 1px;
  margin: .9rem auto 0;
  background: rgba(255, 255, 255, .7);
}

.music {
  min-height: clamp(270px, 20vw, 330px);
  display: flex;
  align-items: center;
  padding: 40px 0;
  --overlay: linear-gradient(90deg, rgba(4, 14, 26, .7) 0%, rgba(4, 14, 26, .15) 36%, rgba(4, 14, 26, .15) 58%, rgba(4, 14, 26, .7) 100%);
}

.music-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.music-intro { max-width: 460px; }
.music-text { margin: .9rem 0 1.4rem; font-size: clamp(.95rem, 1.3vw, 1.12rem); line-height: 1.55; }

.release { display: flex; align-items: center; gap: clamp(18px, 2vw, 30px); }
.release-cover {
  width: clamp(120px, 12.5vw, 184px);
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, .55);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .45);
}
.release-label { font-size: .75rem; letter-spacing: .04em; color: #d6d3de; }
.release-title {
  margin: .2rem 0 .6rem;
  font-family: var(--font-jp);
  font-weight: 500;
  font-size: clamp(1.1rem, 1.5vw, 1.4rem);
  letter-spacing: .06em;
}
.tracklist { margin-bottom: 1rem; padding-left: 1.5em; font-family: var(--font-jp); font-size: .88rem; line-height: 1.75; }
.tracklist li { padding-left: .3em; }
.tracklist li::marker { font-family: var(--font-sans); }

.site-footer { padding: clamp(40px, 4vw, 56px) 0 32px; background: var(--bg-footer); }

.footer-top { display: flex; align-items: center; gap: clamp(24px, 4vw, 60px); }

.socials {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
  padding: 10px 0 10px clamp(24px, 4vw, 60px);
  border-left: 1px solid var(--line);
}
.socials a { display: block; transition: transform .25s, opacity .25s; opacity: .9; }
.socials a:hover { opacity: 1; transform: translateY(-2px); }
.socials img { width: 24px; height: 24px; }

.footer-note { padding-left: clamp(24px, 3vw, 40px); border-left: 1px solid var(--line); }
.footer-note .hand-note { font-size: 1.35rem; color: rgba(255, 255, 255, .72); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: clamp(36px, 4vw, 56px);
  font-size: .8rem;
  color: var(--text-muted);
}
.footer-bottom [lang="ja"] { font-family: var(--font-jp); letter-spacing: .08em; }

@media (max-width: 1000px) {
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .projects-head { grid-template-columns: auto minmax(0, 1fr) auto; row-gap: 20px; }
  .projects-desc { grid-column: 1 / -1; grid-row: 2; padding-left: 0; border-left: 0; max-width: 62ch; }
  .projects-note { grid-column: 3; grid-row: 1; }

  .footer-top { flex-wrap: wrap; }
  .footer-note { display: none; }
}

@media (max-width: 860px) {
  :root { --header-h: 70px; }

  .header-inner { gap: 16px; }
  .logo img { height: 56px; }
  .site-footer .logo img { height: 72px; }

  .menu-toggle {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    margin-right: -8px;
  }
  .menu-bar,
  .menu-bar::before,
  .menu-bar::after {
    content: "";
    display: block;
    width: 22px;
    height: 1.5px;
    background: currentColor;
    transition: transform .25s, background-color .25s;
  }
  .menu-bar { position: relative; }
  .menu-bar::before { position: absolute; top: -7px; }
  .menu-bar::after  { position: absolute; top: 7px; }
  .menu-open .menu-bar { background: transparent; }
  .menu-open .menu-bar::before { transform: translateY(7px) rotate(45deg); }
  .menu-open .menu-bar::after  { transform: translateY(-7px) rotate(-45deg); }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 4px var(--gutter) 20px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
  }
  .menu-open .site-nav { display: flex; }
  .site-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: .85rem; }
  .site-nav a::after { display: none; }
  .site-nav a.is-active { color: var(--pink); }
  .hero {
    min-height: max(640px, 100svh);
    align-items: flex-end;
    padding-bottom: 48px;
    --overlay:
      linear-gradient(180deg, rgba(3, 13, 22, .55) 0%, rgba(3, 13, 22, 0) 22%),
      linear-gradient(0deg, rgba(3, 13, 22, .95) 0%, rgba(3, 13, 22, .7) 42%, rgba(3, 13, 22, 0) 72%);
  }
  .hero .section-bg { object-position: 68% center; }
  .hero-note { top: calc(var(--header-h) + 24px); right: var(--gutter); font-size: 1.2rem; }

  .featured {
    min-height: 600px;
    align-items: flex-end;
    padding-bottom: 48px;
    --overlay: linear-gradient(0deg, rgba(3, 13, 22, .95) 0%, rgba(3, 13, 22, .65) 42%, rgba(3, 13, 22, 0) 70%);
  }
  .featured .section-bg { object-position: 70% center; }
  .featured-note { display: none; }

  .music { padding: 56px 0; --overlay: linear-gradient(0deg, rgba(4, 14, 26, .9) 0%, rgba(4, 14, 26, .55) 100%); }
  .music .section-bg { object-position: 40% center; }
  .music-inner { flex-direction: column; align-items: flex-start; gap: 40px; }

  .footer-top { flex-direction: column; align-items: flex-start; gap: 28px; }
  .footer-nav { flex-wrap: wrap; gap: 8px 28px; }
  .socials { margin-left: 0; padding: 0; border-left: 0; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 560px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-body { padding: 12px 12px 16px; }
  .card-title { font-size: 1rem; }
  .card-text { font-size: .78rem; padding-right: 1.2rem; }
  .card-arrow { right: 10px; bottom: 14px; }

  .projects-head { grid-template-columns: 1fr; }
  .projects-lead { padding-left: 0; border-left: 0; }
  .projects-lead .jp-line { white-space: normal; }
  .projects-desc { grid-row: auto; }
  .projects-note { display: none; }

  .lang-switch { gap: .6rem; font-size: .78rem; }

  .btn-row .btn { flex: 1 1 100%; }

  .featured { display: block; min-height: 0; padding: 0 0 48px; background: var(--bg); --overlay: none; }
  .featured .section-bg {
    position: relative;
    z-index: auto;
    height: auto;
    aspect-ratio: 4 / 3;
    object-position: 68% center;
    -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent);
    mask-image: linear-gradient(180deg, #000 55%, transparent);
  }
  .featured .container { margin-top: -48px; }
  .release-cover { width: 112px; }
}

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