/* ============================================================
   YUMEKANA MUSIC — Base Stylesheet
   Virtual Artist Project — Black × Gold
   High-end, energetic, stage-ready. Four voices, one story.
   ============================================================ */

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }

/* ---- Design tokens ---- */
:root {
  --jet:        #050505;   /* deepest black — hero bg */
  --ink:        #070707;   /* body bg */
  --charcoal:   #0c0c0b;   /* panel */
  --charcoal-2: #11110f;   /* elevated panel */
  --rule:       #221c12;   /* subtle rule on dark */
  --rule-gold:  #332811;   /* gold-tinted rule */

  --gold:       #c9a961;   /* primary gold */
  --gold-light: #eccd83;   /* highlight */
  --gold-hi:    #f6e6b6;   /* peak highlight */
  --gold-dark:  #8a7541;   /* deep gold */
  --gold-shadow:#3a2f1a;

  --cream:      #f4ecd8;   /* body text on dark */
  --cream-2:    #d8cfba;   /* secondary */
  --warm-gray:  #7a746b;   /* tertiary */
  --off-white:  #f4ecd8;   /* legacy alias */

  /* member colors — a touch more vivid to read on black */
  --c-fu:   #4b7fd6;   /* blue  */
  --c-shin: #d94748;   /* red   */
  --c-yuri: #4fa26a;   /* green */
  --c-yo:   #9b6dd0;   /* purple*/

  --serif-en:  "Cormorant Garamond", "EB Garamond", "Times New Roman", serif;
  --serif-jp:  "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "游明朝", serif;
  --sans-en:   "Inter", "Helvetica Neue", Arial, sans-serif;
  --script:    "Great Vibes", "Petit Formal Script", cursive;
  --sans-jp:   "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", "游ゴシック", sans-serif;

  --pad-x: clamp(24px, 6vw, 120px);
  --pad-y: clamp(48px, 8vw, 140px);

  --dur: .3s;
  --ease: cubic-bezier(.2, .7, .2, 1);

  /* Gold gradients — foil effect */
  --grad-gold:
    linear-gradient(135deg, #8a7541 0%, #c9a961 22%, #f6e6b6 44%, #c9a961 66%, #8a7541 100%);
  --grad-gold-soft:
    linear-gradient(180deg, #eccd83 0%, #c9a961 55%, #8a7541 100%);
}

body {
  font-family: var(--serif-jp);
  color: var(--cream);
  background: #070707;
  font-size: 15px;
  line-height: 1.85;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--gold); color: var(--jet); }

/* ---- Utility text ---- */
.eyebrow {
  font-family: var(--sans-en);
  font-size: 10.5px;
  letter-spacing: .3em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--gold);
}
.label {
  font-family: var(--sans-en);
  font-size: 11px;
  letter-spacing: .24em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--cream-2);
}
.serif-en { font-family: var(--serif-en); font-weight: 400; letter-spacing: .01em; }
.script   { font-family: var(--script); font-weight: 400; }
.rule { display: block; height: 1px; background: var(--rule); border: 0; margin: 0; }
.rule.gold { background: linear-gradient(90deg, transparent 0%, var(--gold-dark) 20%, var(--gold) 50%, var(--gold-dark) 80%, transparent 100%); height: 1px; }
.gold-text { background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.vertical-jp { writing-mode: vertical-rl; text-orientation: mixed; }

/* ---- Layout wrappers ---- */
.wrap { padding-left: var(--pad-x); padding-right: var(--pad-x); }
.section { padding-top: var(--pad-y); padding-bottom: var(--pad-y); }
.grid-12 { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(16px, 2vw, 32px); }

/* ---- Header / Nav ---- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 40;
  padding: 20px var(--pad-x);
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(5,5,5,.72);
  backdrop-filter: blur(16px) saturate(1.1);
  -webkit-backdrop-filter: blur(16px) saturate(1.1);
  border-bottom: 1px solid transparent;
  transition: background .5s var(--ease), border-color .5s var(--ease), padding .3s var(--ease);
  color: var(--cream);
}
.site-header.is-scrolled {
  background: rgba(5,5,5,.94);
  border-bottom-color: var(--rule-gold);
  padding: 14px var(--pad-x);
}
.site-header .brand {
  display: flex; align-items: center; gap: 12px;
  color: var(--cream);
}
.site-header .brand .brand-logo {
  width: 46px; height: 46px; flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  background: var(--jet);
  display: block;
}
.site-header .brand .brand-logo img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.site-header .brand .brand-txt {
  display: flex; flex-direction: column; line-height: 1.15;
}
.site-header .brand .brand-txt .jp {
  font-family: var(--serif-jp); font-weight: 500;
  font-size: 17px; letter-spacing: .06em;
  color: var(--cream);
}
.site-header .brand .brand-txt .jp .script-mu {
  font-family: var(--script);
  background: var(--grad-gold-soft);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding: 0 2px 0 4px;
}
.site-header .brand .brand-txt small {
  font-family: var(--sans-en);
  font-size: 8.5px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 4px;
}
.site-header.is-scrolled .brand .brand-logo { width: 40px; height: 40px; }
.site-header.is-scrolled .brand .brand-txt .jp { font-size: 15px; }
.site-nav {
  display: flex; align-items: center; gap: clamp(20px, 3vw, 40px);
  font-family: var(--sans-en);
  font-size: 11px;
  letter-spacing: .24em;
  text-transform: uppercase;
  font-weight: 500;
}
.site-nav a {
  position: relative;
  padding: 6px 0;
  color: var(--cream);
  transition: color .3s var(--ease);
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transform-origin: center; transition: transform .5s var(--ease);
}
.site-nav a:hover { color: var(--gold-light); }
.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav a[aria-current="page"] { color: var(--gold-light); }

.site-nav .cta {
  padding: 10px 22px;
  border: 1px solid var(--gold-dark);
  color: var(--gold-light);
  background: linear-gradient(180deg, rgba(201,169,97,.05), rgba(201,169,97,.0));
  transition: border-color .3s var(--ease), color .3s var(--ease), background .3s var(--ease);
}
.site-nav .cta:hover {
  border-color: var(--gold-light);
  color: var(--gold-hi);
  background: linear-gradient(180deg, rgba(201,169,97,.14), rgba(201,169,97,.04));
}
.site-nav .cta::after { display: none; }

.nav-toggle { display: none; }

/* ---- Footer ---- */
.site-footer {
  background: var(--jet);
  color: var(--cream);
  padding: clamp(64px, 8vw, 120px) var(--pad-x) 40px;
  margin-top: clamp(80px, 12vw, 180px);
  position: relative;
  border-top: 1px solid var(--rule-gold);
}
.site-footer::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 50%, transparent 100%);
  opacity: .6;
}
.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(24px, 4vw, 60px);
  padding-bottom: 64px;
  border-bottom: 1px solid var(--rule-gold);
}
.site-footer h4 {
  font-family: var(--sans-en);
  font-size: 10px;
  letter-spacing: .3em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--gold);
  margin: 0 0 20px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer ul li { margin-bottom: 12px; font-family: var(--sans-en); font-size: 13px; letter-spacing: .04em; color: var(--cream-2); }
.site-footer ul li a { border-bottom: 1px solid transparent; transition: border-color .3s var(--ease), color .3s var(--ease); }
.site-footer ul li a:hover { border-bottom-color: var(--gold); color: var(--gold-light); }
.site-footer .brand-block {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 18px;
}
.site-footer .brand-block .logo {
  width: 60px; height: 60px; flex-shrink: 0;
  border-radius: 50%; overflow: hidden; background: var(--jet);
}
.site-footer .brand-block .logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.site-footer .brand-block .txt {
  display: flex; flex-direction: column; line-height: 1.2;
}
.site-footer .brand-block .txt .jp {
  font-family: var(--serif-jp); font-weight: 500;
  font-size: clamp(22px, 2vw, 28px); letter-spacing: .06em; color: var(--cream);
}
.site-footer .brand-block .txt .jp .script-mu {
  font-family: var(--script);
  background: var(--grad-gold-soft);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding: 0 2px 0 4px;
}
.site-footer .brand-block .txt small {
  font-family: var(--sans-en); font-size: 10px; letter-spacing: .3em;
  text-transform: uppercase; color: var(--gold); font-weight: 500;
  margin-top: 8px;
}
.site-footer .copy {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px;
  font-family: var(--sans-en); font-size: 10px; letter-spacing: .28em;
  text-transform: uppercase; color: var(--warm-gray);
}

/* ---- Reveal on scroll ---- */
html.js-reveal .reveal { opacity: 0; transform: translateY(24px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); }
html.js-reveal .reveal.is-in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .03s; }
.reveal.d2 { transition-delay: .06s; }
.reveal.d3 { transition-delay: .09s; }
.reveal.d4 { transition-delay: .12s; }
.reveal.d5 { transition-delay: .40s; }

/* ---- Image treatments ---- */
.img-frame { position: relative; overflow: hidden; background: var(--charcoal); }
.img-frame > img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.8s var(--ease); }
.img-frame:hover > img { transform: scale(1.035); }
.img-frame.ratio-3-4 { aspect-ratio: 3/4; }
.img-frame.ratio-4-5 { aspect-ratio: 4/5; }
.img-frame.ratio-1-1 { aspect-ratio: 1/1; }
.img-frame.ratio-16-9 { aspect-ratio: 16/9; }
.img-frame.ratio-2-3 { aspect-ratio: 2/3; }
.img-frame.ratio-9-16 { aspect-ratio: 9/16; }

/* Placeholder (dark version) */
.placeholder {
  background:
    repeating-linear-gradient(135deg, transparent 0 22px, rgba(201,169,97,.04) 22px 23px),
    var(--charcoal);
  color: var(--cream);
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center;
  padding: 24px;
  position: relative;
}
.placeholder::before {
  content: "";
  position: absolute; inset: 0;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--gold-dark), transparent 30%, transparent 70%, var(--gold-dark)) border-box;
  -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: .35;
  pointer-events: none;
}
.placeholder .ph-tag {
  font-family: var(--sans-en); font-size: 10px; letter-spacing: .3em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 12px;
}
.placeholder .ph-title {
  font-family: var(--serif-en); font-style: italic; font-size: 18px; line-height: 1.4;
  max-width: 32ch; color: var(--cream);
}
.placeholder .ph-note {
  margin-top: 16px; font-family: var(--sans-en); font-size: 11px; color: var(--warm-gray); max-width: 32ch;
}

/* ---- Buttons ---- */
.link-cta {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--sans-en); font-size: 11px; letter-spacing: .28em;
  text-transform: uppercase; font-weight: 500;
  padding: 14px 0;
  color: var(--gold-light);
  border-bottom: 1px solid var(--gold);
  transition: gap .35s var(--ease), letter-spacing .35s var(--ease), color .3s var(--ease);
}
.link-cta:hover { gap: 22px; letter-spacing: .32em; color: var(--gold-hi); }
.link-cta .arrow { display: inline-block; width: 22px; height: 1px; background: currentColor; position: relative; }
.link-cta .arrow::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }

.btn-gold {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 16px 30px;
  font-family: var(--sans-en); font-size: 11px; letter-spacing: .28em;
  text-transform: uppercase; font-weight: 500;
  color: var(--jet);
  background: var(--grad-gold-soft);
  border: 0;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.btn-gold::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .8s var(--ease);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -14px rgba(201,169,97,.6); }
.btn-gold:hover::before { transform: translateX(120%); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 15px 28px;
  font-family: var(--sans-en); font-size: 11px; letter-spacing: .28em;
  text-transform: uppercase; font-weight: 500;
  color: var(--gold-light);
  border: 1px solid var(--gold);
  background: transparent;
  cursor: pointer;
  transition: color .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease);
}
.btn-outline:hover { color: var(--gold-hi); background: rgba(201,169,97,.08); border-color: var(--gold-light); }

/* ---- Numeric ---- */
.numeric {
  font-family: var(--sans-en); font-variant-numeric: tabular-nums;
  font-size: 10.5px; letter-spacing: .24em; color: var(--gold);
}

/* ---- Text sizes ---- */
.h-display {
  font-family: var(--serif-en);
  font-weight: 400;
  font-size: clamp(56px, 11vw, 168px);
  line-height: .92;
  letter-spacing: -.01em;
  color: var(--cream);
}
.h-1 {
  font-family: var(--serif-en); font-weight: 400;
  font-size: clamp(40px, 6vw, 96px); line-height: 1;
  color: var(--cream);
}
.h-2 {
  font-family: var(--serif-en); font-weight: 400;
  font-size: clamp(28px, 3.6vw, 56px); line-height: 1.08;
  color: var(--cream);
}
.h-2-jp {
  font-family: var(--serif-jp); font-weight: 400;
  font-size: clamp(22px, 2.6vw, 40px); line-height: 1.6; letter-spacing: .05em;
  color: var(--cream);
}
.h-3 {
  font-family: var(--serif-en); font-weight: 400;
  font-size: clamp(20px, 2vw, 30px); line-height: 1.2;
  color: var(--cream);
}
.body-jp {
  font-family: var(--serif-jp); font-weight: 300;
  font-size: 15px; line-height: 2.05; letter-spacing: .04em;
  color: var(--cream-2);
}
.body-jp.large { font-size: 17px; line-height: 2.1; }
.caption-en {
  font-family: var(--sans-en); font-size: 11px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--gold); font-weight: 500;
}

/* ---- Member color chip ---- */
.mcolor-swatch {
  display: inline-block; width: 10px; height: 10px; border-radius: 50%;
  vertical-align: middle; margin-right: 8px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.08);
}
.mc-bar {
  display: inline-block;
  height: 2px;
  width: 34px;
  vertical-align: middle;
}

/* ---- Gold divider block ---- */
.gold-divider {
  display: flex; align-items: center; gap: 16px;
  color: var(--gold);
  font-family: var(--sans-en); font-size: 10px; letter-spacing: .3em; text-transform: uppercase;
}
.gold-divider::before, .gold-divider::after {
  content: ""; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: .5;
}

/* ---- Ornament ---- */
.ornament-dot {
  display: inline-block; width: 5px; height: 5px; border-radius: 50%;
  background: var(--gold);
  vertical-align: middle;
  box-shadow: 0 0 8px rgba(201,169,97,.6);
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .grid-12 { grid-template-columns: repeat(6, 1fr); }
  .site-footer .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .site-footer .copy { flex-direction: column; gap: 16px; text-align: center; }
}
@media (max-width: 760px) {
  .site-nav { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; color: var(--cream); }
  .nav-toggle .bar { display: block; width: 22px; height: 1px; background: currentColor; position: relative; }
  .nav-toggle .bar::before, .nav-toggle .bar::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: currentColor; }
  .nav-toggle .bar::before { top: -6px; }
  .nav-toggle .bar::after { top: 6px; }
  .site-nav.is-open {
    display: flex; flex-direction: column; gap: 26px;
    position: fixed; inset: 0; padding: 120px 40px;
    background: var(--jet); z-index: 30;
    align-items: flex-start; font-size: 16px;
    color: var(--cream);
  }
  .site-header { padding: 14px var(--pad-x); }
  .site-header .brand .brand-mark { width: 36px; height: 36px; }
  .site-header .brand .brand-mark span { font-size: 18px; }
  .site-header .brand .brand-txt strong { font-size: 15px; }
}

/* ---- Loading state ---- */
body { transition: opacity .1s var(--ease); }

/* ---- Reusable brand logo block (large, for hero) ---- */
.brand-logo-lg {
  display: inline-flex; align-items: center; gap: clamp(16px, 2vw, 28px);
}
.brand-logo-lg .disk {
  width: clamp(56px, 6vw, 90px); height: clamp(56px, 6vw, 90px);
  border-radius: 50%; position: relative; flex-shrink: 0;
  background: radial-gradient(circle at 35% 30%, var(--gold-hi) 0%, var(--gold) 40%, var(--gold-dark) 100%);
  box-shadow: 0 0 0 1px var(--gold-dark), 0 12px 40px -10px rgba(201,169,97,.35);
}
.brand-logo-lg .disk::after {
  content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--jet);
}
.brand-logo-lg .disk .mark {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--script);
  font-size: clamp(24px, 2.6vw, 40px);
  background: var(--grad-gold-soft);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1;
  transform: translateY(1px);
}
.brand-logo-lg .wordmark {
  display: flex; flex-direction: column; gap: 6px;
}
.brand-logo-lg .wordmark .en {
  font-family: var(--serif-en); font-weight: 400;
  font-size: clamp(24px, 2.6vw, 40px); line-height: 1; letter-spacing: .06em;
  color: var(--cream);
}
.brand-logo-lg .wordmark .en .script {
  font-family: var(--script);
  background: var(--grad-gold-soft);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: 6px;
}
.brand-logo-lg .wordmark small {
  font-family: var(--sans-en); font-size: 10px; letter-spacing: .32em;
  text-transform: uppercase; color: var(--gold);
}

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){ html{scroll-behavior:auto;} }
