@font-face {
  font-family: "Outfit";
  src: url("assets/fonts/Outfit-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --background: #080809;
  --text: #eeedf1;
  --muted: #aaa6b3;
  --quiet: #827d8c;
  --accent: #b5a1cc;
  --gutter: clamp(24px, 5vw, 88px);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--background); color: var(--text); }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 7px; }
::selection { background: #49355e; color: #fff; }

.skip-link {
  position: fixed;
  top: 16px;
  left: 16px;
  padding: 14px 20px;
  background: var(--text);
  color: var(--background);
  transform: translateY(-180%);
  z-index: 10;
}
.skip-link:focus { transform: translateY(0); }

.home {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
  min-height: 100svh;
  overflow: clip;
  background: radial-gradient(ellipse at 50% 44%, #101014 0%, #080809 68%);
}
.ambient-light {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(ellipse 39% 36% at 58% 58%, rgb(96 64 125 / 16%), transparent 100%),
    radial-gradient(ellipse 58% 16% at 54% 69%, rgb(99 64 137 / 10%), transparent 100%);
  animation: breathe 10s ease-in-out infinite;
}
/* Previous breathing range: .42–.85; restore these endpoints to revert. */
@keyframes breathe { 0%, 100% { opacity: .18; } 50% { opacity: 1; } }
@keyframes reveal { from { opacity: 0; } to { opacity: 1; } }
@keyframes a-glow { 0%, 100% { opacity: 0; } 50% { opacity: .55; } }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 36px var(--gutter);
  position: relative;
  z-index: 2;
}
.wordmark { font-family: "Outfit", "Helvetica Neue", sans-serif; font-size: 15px; font-weight: 300; letter-spacing: .2em; padding-block: 12px; }
.wordmark > span { color: var(--accent); }
.primary-nav { display: flex; align-items: center; gap: clamp(24px, 3vw, 48px); }
.primary-nav > a { font-size: 12px; letter-spacing: .17em; color: #bab6c3; padding-block: 14px; }
[aria-disabled="true"] { cursor: default; }
.menu-toggle { display: none; }

main { min-width: 0; }
.home-main { display: grid; min-width: 0; }
main:focus { outline: none; }
.hero { display: grid; align-items: center; text-align: center; padding: 72px var(--gutter) 96px; }
.hero-content { width: 100%; max-width: 1440px; margin-inline: auto; }
.artist-label { margin: 0 0 28px; font-size: 13px; line-height: 1.8; letter-spacing: .28em; color: var(--muted); }
.label-divider { margin-inline: 8px; color: var(--quiet); }
h1 {
  margin: 0;
  padding-left: .145em;
  font-family: "Outfit", "Helvetica Neue", sans-serif;
  font-size: clamp(46.64px, 8.932vw, 140.8px);
  line-height: 1.1;
  font-weight: 300;
  letter-spacing: .145em;
  color: #eeedf1;
  animation: tagline-breathe 10s ease-in-out infinite;
}
.logo-a { position: relative; display: inline-block; isolation: isolate; }
.logo-a::before { content: ""; position: absolute; z-index: -1; inset: -12% -55%; pointer-events: none; background: radial-gradient(ellipse, rgb(176 135 218 / 20%), transparent 70%); opacity: 0; animation: a-glow 10s ease-in-out 1.8s infinite; }
/* Match breathe's duration, easing, delay and start; invert only text opacity.
 * No entrance delay: both CSS animations share the initial style-update clock. */
/* Previous logo minimum: .15. Keep the existing keyframes and shared timing. */
@keyframes tagline-breathe { 0%, 100% { opacity: 1; } 50% { opacity: .08; } }
.tagline { margin: 30px 0 0; font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: clamp(20px, 2vw, 28px); line-height: 1.5; color: #c0bac9; opacity: 1; }
.music-entry { margin-top: 54px; display: flex; flex-direction: column; align-items: center; gap: 13px; }
.explore-link { display: inline-flex; align-items: center; gap: 22px; min-height: 48px; padding: 14px 18px; border: 1px solid #64566f; border-radius: 0; background: rgb(43 34 52 / 24%); font-size: 12px; font-weight: 400; letter-spacing: .16em; color: #e0d5ec; }
.explore-link { min-width: 199px; justify-content: center; }

.home-footer { padding: 0 var(--gutter) 30px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 20px; color: var(--quiet); }
.footer-caption, .footer-location { font-size: 9px; letter-spacing: .15em; line-height: 1.5; }
.footer-location { text-align: right; }
.scroll-cue { display: flex; flex-direction: column; align-items: center; gap: 14px; font-size: 8px; letter-spacing: .14em; }
.scroll-line { width: 1px; height: 34px; background: linear-gradient(transparent, #776482); }

@media (min-width: 1600px) { .hero { padding-bottom: 120px; } }

@media (max-width: 700px) {
  .site-header { padding-block: 20px; flex-wrap: wrap; gap: 8px; }
  .wordmark { font-size: 13px; }
  .primary-nav { width: 100%; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; }
  .primary-nav > a { font-size: 14px; min-height: 48px; }
  .has-js .menu-toggle { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 10px 0 10px 12px; border: 0; color: var(--text); background: transparent; cursor: pointer; }
  .menu-label { font-size: 12px; letter-spacing: .15em; }
  .menu-icon { width: 20px; height: 14px; display: flex; flex-direction: column; justify-content: center; gap: 5px; }
  .menu-icon > span { display: block; width: 20px; height: 1px; background: currentColor; transition: transform .2s; }
  [aria-expanded="true"] .menu-icon > span:first-child { transform: translateY(3px) rotate(45deg); }
  [aria-expanded="true"] .menu-icon > span:last-child { transform: translateY(-3px) rotate(-45deg); }
  .has-js .primary-nav { position: absolute; top: 100%; left: 0; right: 0; padding: 16px var(--gutter) 24px; background: #101014; border-bottom: 1px solid #2c2634; display: grid; gap: 0; }
  .has-js .primary-nav > a { display: block; padding-block: 16px; }
  .hero { padding: 64px var(--gutter) 70px; }
  .artist-label { font-size: 10.4px; letter-spacing: .17em; margin-bottom: 26px; }
  .label-divider { margin-inline: 3px; }
  h1 { font-size: clamp(26.4px, 9.24vw, 64.24px); letter-spacing: .135em; padding-left: .135em; }
  .tagline { font-size: clamp(18px, 4.5vw, 24px); margin-top: 25px; }
  .music-entry { margin-top: 40px; }
  .home-footer { grid-template-columns: 1fr; justify-items: center; padding-bottom: 24px; gap: 24px; }
  .footer-caption, .footer-location { display: none; }
  .scroll-line { height: 27px; }
}

@media (max-height: 760px) and (min-width: 701px) {
  .site-header { padding-block: 14px; }
  .hero { padding-block: 24px; }
  h1 { font-size: clamp(39.6px, min(7.392vw, 11.088vh), 86.24px); }
  .artist-label { margin-bottom: 14px; }
  .tagline { margin-top: 16px; font-size: 22px; }
  .music-entry { margin-top: 20px; gap: 8px; }
  .home-footer { padding-bottom: 16px; }
  .scroll-line { height: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .ambient-light { opacity: .7; }
  h1, .tagline { opacity: 1; }
}

/* HOME sound control is out of flow so the approved composition stays intact. */
.home-sound { position: absolute; right: var(--gutter); bottom: 58px; z-index: 1; }
.home-sound-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-width: 110px; min-height: 44px; padding: 10px 12px; border: 1px solid #39333f; border-radius: 0; background: #0d0c10; color: var(--muted); font-family: inherit; font-size: 9px; letter-spacing: .1em; cursor: pointer; }
.home-sound-toggle:disabled { color: var(--quiet); border-style: dashed; cursor: not-allowed; opacity: .75; -webkit-text-fill-color: currentColor; }
.home-sound-toggle .sound-waves, .home-sound-toggle[aria-pressed="true"] .sound-muted { display: none; }
.home-sound-toggle[aria-pressed="true"] .sound-waves { display: initial; }
@media (max-width: 700px) { .home-sound { bottom: 20px; } }

/* MUSIC: independent of the approved HOME styles. */
html { scroll-behavior: smooth; }
.music-section { padding: clamp(80px, 10vw, 144px) var(--gutter); background: linear-gradient(var(--background), #0d0c10); }
.music-section:focus { outline: none; }
.music-container { max-width: 1120px; margin-inline: auto; }
.music-heading { margin-bottom: clamp(40px, 5vw, 64px); }
.section-eyebrow { margin: 0 0 16px; color: var(--muted); font-size: 10px; letter-spacing: .22em; line-height: 1.6; }
.music-heading h2 { margin: 0; font-family: "Outfit", "Helvetica Neue", sans-serif; font-size: clamp(36px, 5vw, 56px); font-weight: 300; letter-spacing: .14em; line-height: 1.2; }
.section-description { margin: 20px 0 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.release-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 5vw, 64px); }
.release { min-width: 0; }
.release-artwork { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.release-details { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; column-gap: 16px; row-gap: 9px; margin-top: 24px; }
.release-details > div { display: contents; }
.release-details h4 { grid-column: 1; grid-row: 1; }
.release-details p { grid-column: 1 / -1; margin: 0; }
.release h4 { margin: 0; font-size: 20px; font-weight: 400; line-height: 1.6; }
.release-meta { margin: 9px 0 0; color: var(--muted); font-size: 12px; line-height: 1.8; }
.release-meta span { padding-inline: 5px; }
@media (max-width: 700px) {
  .release-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* MUSIC categories share headings, card dimensions and responsive layout. */
.release-group + .release-group { margin-top: clamp(64px, 8vw, 104px); padding-top: 33px; }
.release-group-heading { margin: 0 0 36px; color: var(--muted); font-size: 20.4px; font-weight: 400; letter-spacing: .25em; line-height: 1.6; }
.release-details > div { min-width: 0; overflow-wrap: anywhere; }
.remix-version { margin: 9px 0 0; color: var(--text); font-size: 14px; line-height: 1.7; }

@media (max-width: 700px) {
  .release-group-heading { font-size: 18px; margin-bottom: 28px; }
}

/* MUSIC playback and platform selection; existing artwork/layout stays intact. */
.release-listen:not(:disabled), .release-preview:not(:disabled) { cursor: pointer; }
.release-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.release-actions > button { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 56px; min-width: 0; padding: 8px 12px; border: 1px solid #48414f; border-radius: 0; color: var(--text); font-family: inherit; text-align: left; }
.release-actions > .release-preview { background: #292133; border-color: #5b4b6b; }
.release-listen { background: #202024; }
.action-icon { display: inline-flex; flex: 0 0 20px; }
.action-icon svg { display: block; width: 20px; height: 20px; }
.action-copy { display: grid; gap: 5px; min-width: 0; }
.action-name { font-size: 12px; font-weight: 400; letter-spacing: .12em; line-height: 1; }
.action-note { color: #bdb6c8; font-size: 9px; letter-spacing: .08em; line-height: 1; white-space: nowrap; }
.release-actions > button:disabled { opacity: .7; border-style: dashed; cursor: not-allowed; -webkit-text-fill-color: currentColor; }
.release-preview[aria-pressed="true"] { background: #352940; }
@media (max-width: 400px) {
  .release-actions { gap: 10px; }
  .release-actions > button { height: 54px; gap: 8px; padding-inline: 8px; }
  .action-name { font-size: 11px; letter-spacing: .08em; }
  .action-note { font-size: 8px; letter-spacing: .05em; }
}
.listen-dialog { width: min(460px, calc(100% - 32px)); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); padding: 0; border: 1px solid #4c4555; background: #101014; color: var(--text); overflow-y: auto; overscroll-behavior: contain; }
.listen-dialog::backdrop { background: rgb(0 0 0 / 72%); }
body:has(.listen-dialog[open]) { overflow: hidden; }
.listen-panel { position: relative; padding: 36px 28px 28px; }
.listen-panel h2 { margin: 12px 44px 24px 0; font-size: 24px; font-weight: 400; line-height: 1.5; overflow-wrap: anywhere; text-wrap: balance; }
.listen-close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border: 0; background: transparent; color: var(--muted); font-size: 26px; cursor: pointer; }
.platform-note { color: var(--muted); font-size: 12px; line-height: 1.7; margin: 0 0 20px; }
.platform-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.platform-choice { width: 100%; min-height: 48px; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 16px; border: 1px solid #4c4555; background: #141217; color: var(--text); font-size: 14px; text-align: left; line-height: 1.5; }
.platform-choice:disabled { color: var(--muted); border-style: dashed; opacity: .65; cursor: not-allowed; -webkit-text-fill-color: currentColor; }
.platform-choice small { font-size: 10px; text-align: right; }
.platform-more { width: 100%; min-height: 44px; margin-block: 14px; padding: 12px; border: 0; background: transparent; color: var(--muted); font-size: 11px; letter-spacing: .12em; cursor: pointer; }
@media (max-width: 400px) { .listen-panel { padding-inline: 20px; } }

/* Reuse on future sections (e.g. STUDIO / CONTACT). Decorative, no layout shift. */
.section-divider { position: relative; }
.section-divider::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--gutter);
  right: var(--gutter);
  max-width: 1120px;
  height: 1px;
  margin-inline: auto;
  background: linear-gradient(to right, transparent, #454249 25%, #454249 75%, transparent);
  pointer-events: none;
}

/* ABOUT: original portrait and a quiet, responsive profile layout. */
.about-section { padding: clamp(80px, 10vw, 144px) var(--gutter); background: #0d0c10; }
.about-section:focus { outline: none; }
.about-container { max-width: 1120px; margin-inline: auto; }
.about-heading { margin-bottom: clamp(40px, 5vw, 64px); }
.about-heading h2 { margin: 0; font-family: "Outfit", "Helvetica Neue", sans-serif; font-size: clamp(36px, 5vw, 56px); font-weight: 300; letter-spacing: .14em; line-height: 1.2; }
.about-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); align-items: center; gap: clamp(40px, 7vw, 96px); }
.about-portrait { display: block; width: 100%; height: auto; }
.about-profile { min-width: 0; }
.about-language { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; color: var(--quiet); }
.about-language button { min-width: 44px; min-height: 44px; padding: 10px 6px; border: 0; border-bottom: 1px solid transparent; border-radius: 0; background: transparent; color: var(--muted); font-size: 12px; letter-spacing: .12em; cursor: pointer; }
.about-language button[aria-pressed="true"] { color: var(--text); border-bottom-color: var(--accent); }
.about-copy { color: #bbb6c4; font-size: 16px; line-height: 1.95; overflow-wrap: anywhere; }
.about-copy p { margin: 0; }
.about-copy p + p { margin-top: 24px; }
.about-copy p:first-child { color: var(--text); font-size: 19px; line-height: 1.8; }
.about-copy[lang="ja"] { line-height: 2.1; }
@media (max-width: 700px) {
  .about-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .about-portrait { max-width: 480px; margin-inline: auto; }
  .about-language { margin-bottom: 24px; }
  .about-copy { font-size: 15px; }
  .about-copy p:first-child { font-size: 18px; }
}

/* CONTACT: generous space, text-only official profiles, no extra animation. */
.contact-section { padding: clamp(80px, 10vw, 144px) var(--gutter); background: #0d0c10; }
.contact-section:focus { outline: none; }
.contact-container { max-width: 1120px; margin-inline: auto; text-align: center; }
.contact-container h2 { margin: 0 0 clamp(40px, 5vw, 64px); font-family: "Outfit", "Helvetica Neue", sans-serif; font-size: clamp(36px, 5vw, 56px); font-weight: 300; letter-spacing: .14em; line-height: 1.2; }
.contact-copy { margin: 0; font-family: "Outfit", "Helvetica Neue", sans-serif; font-size: clamp(36px, 6vw, 64px); font-weight: 300; line-height: 1.25; }
.contact-description { margin: 24px 0 0; color: var(--muted); font-size: 16px; line-height: 1.8; text-wrap: balance; }
.contact-email { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; margin-top: 36px; padding: 16px 28px; border: 1px solid #48414f; border-radius: 0; background: transparent; color: var(--text); font: inherit; font-size: 12px; letter-spacing: .14em; line-height: 1.5; }
.contact-email:disabled { color: var(--muted); cursor: not-allowed; -webkit-text-fill-color: currentColor; }
.contact-socials { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; list-style: none; margin: clamp(48px, 6vw, 72px) 0 0; padding: 0; }
.contact-socials a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 48px; padding: 12px 8px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.contact-socials a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 5px; }
.site-footer { padding: 32px var(--gutter) 48px; background: #0d0c10; text-align: center; }
.site-footer p { margin: 0; color: var(--muted); font-size: 11px; letter-spacing: .15em; line-height: 1.8; }

/* STUDIO: uncropped media; the established narrow layout stays below 701px. */
.studio-section { padding: clamp(80px, 10vw, 144px) var(--gutter); background: #0d0c10; }
.studio-section:focus { outline: none; }
.studio-container { max-width: 1120px; margin-inline: auto; }
.studio-heading { margin-bottom: clamp(40px, 5vw, 64px); }
.studio-heading h2 { margin: 0; font-family: "Outfit", "Helvetica Neue", sans-serif; font-size: clamp(36px, 5vw, 56px); font-weight: 300; letter-spacing: .14em; line-height: 1.2; }
.studio-film { max-width: 960px; margin-inline: auto; }
.studio-screen { position: relative; aspect-ratio: 16 / 9; background: #080809; }
.studio-screen img, .studio-screen video { display: block; width: 100%; height: 100%; object-fit: contain; }
.studio-screen video { position: absolute; inset: 0; }
.studio-playback { display: block; min-width: 64px; min-height: 44px; margin-left: auto; padding: 12px 0 12px 16px; border: 0; background: transparent; color: var(--muted); font-size: 10px; letter-spacing: .14em; cursor: pointer; }
.studio-playback:hover { color: var(--text); }
.studio-photos { margin-top: clamp(48px, 7vw, 96px); }
.studio-photos img { display: block; width: 100%; height: auto; }
.studio-wide { max-width: 720px; margin-inline: auto; }
.studio-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 24px; max-width: 520px; margin: clamp(40px, 6vw, 72px) auto 0; }

.studio-photo { display: block; min-width: 0; cursor: zoom-in; }
@media (min-width: 701px) {
  .studio-wide, .studio-details { max-width: 960px; }
}

/* Native modal keeps keyboard focus within the photograph viewer. */
body.studio-lightbox-open { overflow: hidden; }
.studio-lightbox { width: fit-content; max-width: calc(100vw - 32px); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); margin: auto; padding: 64px 24px 24px; border: 0; background: #0d0c10; color: var(--text); }
.studio-lightbox::backdrop { background: rgb(0 0 0 / 90%); }
.studio-lightbox-image { display: block; width: auto; height: auto; max-width: min(1120px, calc(100vw - 80px)); max-height: calc(100vh - 120px); max-height: calc(100dvh - 120px); object-fit: contain; }
.studio-lightbox-close { position: absolute; top: 8px; right: 8px; display: grid; place-items: center; min-width: 44px; min-height: 44px; padding: 8px; border: 0; background: transparent; color: var(--text); font-size: 26px; line-height: 1; cursor: pointer; }

/* Direction-aware navigation; no change to the original header typography/space. */
.direction-header { position: fixed; inset: 0 0 auto; z-index: 5; background: var(--background); transition: transform .28s ease; }
.direction-header.is-hidden { transform: translateY(-100%); }
.direction-header:has(:focus-visible) { transform: none; transition: none; }
:where(#main, #music, #about, #studio, #contact) { scroll-margin-top: calc(var(--header-height, 120px) + 16px); }
@media (prefers-reduced-motion: reduce) {
  .direction-header { transition: none; }
}
