/* ═══════════════════════════════════════
   BLACK HOLDINGS — SHARED DESIGN SYSTEM
═══════════════════════════════════════ */

/* TOKENS */
:root {
  --navy:      #0C1C35;
  --navy-mid:  #152A4E;
  --gold:      #B8902E;
  --gold-lt:   #D4AD5A;
  --off:       #F7F5F0;
  --white:     #FFFFFF;
  --ink:       #1C1C1C;
  --sub:       #6B6B6B;
  --border:    #E2DDD6;

  --serif: 'Noto Serif JP', 'YuMincho', serif;
  --sans:  'Hiragino Sans', 'Meiryo', sans-serif;

  --h1-size: clamp(22px, 5.5vw, 72px);
  --h2-size: clamp(26px, 3.5vw, 48px);
  --h3-size: clamp(17px, 2vw, 24px);
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body { font-family: var(--sans); color: var(--ink); background: var(--white); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* UTILITIES */
.container { max-width: 1040px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 60px); }
.section { padding: clamp(72px, 10vw, 128px) clamp(20px, 5vw, 60px); }
.eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.eyebrow-dark { color: var(--navy); }
.eyebrow-white { color: rgba(255,255,255,.5); }
.gold-line { display: block; width: 36px; height: 2px; background: var(--gold); margin: 16px 0 24px; }
.serif { font-family: var(--serif); }
.section-title { font-family: var(--serif); font-size: var(--h2-size); font-weight: 700; color: var(--navy); line-height: 1.35; }
.section-title-white { color: var(--white); }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s cubic-bezier(.22,1,.36,1), transform .65s cubic-bezier(.22,1,.36,1); }
.reveal.visible { opacity: 1; transform: none; }
.rd1 { transition-delay: .1s; } .rd2 { transition-delay: .2s; } .rd3 { transition-delay: .3s; } .rd4 { transition-delay: .4s; }

/* HEADER */
#hdr {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 60px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(16px, 4vw, 52px);
  transition: background .3s, backdrop-filter .3s;
}
#hdr.scrolled { background: rgba(12,28,53,.94); backdrop-filter: blur(12px); }
.hdr-logo { font-size: 12px; font-weight: 700; letter-spacing: .05em; color: rgba(255,255,255,.85); display: flex; align-items: center; }
.hdr-logo img { height: 28px; width: auto; display: block; }
.hdr-nav { display: flex; align-items: center; gap: 28px; }
.hdr-nav a { font-size: 12px; color: rgba(255,255,255,.65); letter-spacing: .06em; transition: color .2s; }
.hdr-nav a:hover { color: var(--white); }
.hdr-cta { font-size: 12px; font-weight: 700; letter-spacing: .06em; background: var(--gold); color: var(--white); padding: 9px 20px; transition: opacity .2s; white-space: nowrap; }
.hdr-cta:hover { opacity: .85; }
.hdr-menu { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.hdr-menu span { display: block; width: 22px; height: 1.5px; background: var(--white); margin: 5px 0; transition: .3s; }

/* PAGE HERO (sub pages) */
.page-hero {
  background: var(--navy); padding: clamp(110px, 16vw, 160px) clamp(20px, 5vw, 60px) clamp(60px, 8vw, 100px);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  background-size: 200px; opacity: .5; pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 1; max-width: 680px; }
.page-hero .eyebrow { margin-bottom: 20px; }
.page-hero h1 { font-family: var(--serif); font-size: var(--h1-size); font-weight: 900; color: var(--white); line-height: 1.2; margin-bottom: 20px; }
.page-hero p { font-size: clamp(14px, 1.5vw, 16px); color: rgba(255,255,255,.6); line-height: 2; max-width: 540px; }

/* BUTTONS */
.btn { display: inline-block; font-size: 14px; font-weight: 700; letter-spacing: .06em; padding: 14px 36px; transition: opacity .2s, background .2s; }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-mid); }
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { opacity: .85; }
.btn-outline { border: 1.5px solid rgba(255,255,255,.35); color: rgba(255,255,255,.75); }
.btn-outline:hover { border-color: var(--white); color: var(--white); }
.btn-outline-navy { border: 1.5px solid var(--navy); color: var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }

/* BREADCRUMB */
.breadcrumb { background: var(--off); padding: 12px clamp(20px, 5vw, 60px); border-bottom: 1px solid var(--border); margin-top: 60px; }
.breadcrumb-inner { max-width: 1040px; margin: 0 auto; display: flex; gap: 8px; align-items: center; font-size: 12px; color: var(--sub); }
.breadcrumb-inner a { color: var(--sub); transition: color .2s; }
.breadcrumb-inner a:hover { color: var(--navy); }
.breadcrumb-inner span { color: var(--border); }

/* TABLE */
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.data-table th { background: var(--navy); color: var(--white); padding: 14px 20px; text-align: left; font-size: 12px; font-weight: 700; letter-spacing: .06em; }
.data-table td { padding: 14px 20px; border-bottom: 1px solid var(--border); vertical-align: top; line-height: 1.7; }
.data-table tr:hover td { background: rgba(12,28,53,.02); }
.data-table td:first-child { font-weight: 700; color: var(--navy); font-size: 13px; white-space: nowrap; }
.data-table td.gold { color: var(--gold); font-weight: 700; }

/* CARDS */
.card { background: var(--white); border: 1px solid var(--border); padding: clamp(20px, 3vw, 32px); position: relative; overflow: hidden; transition: transform .3s, box-shadow .3s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(12,28,53,.08); }
.card::before { content: ''; position: absolute; top: 0; left: 0; width: 3px; height: 0; background: var(--gold); transition: height .4s cubic-bezier(.22,1,.36,1); }
.card:hover::before { height: 100%; }

/* FAQ ACCORDION */
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid rgba(255,255,255,.1); }
.faq-item.light { border-bottom-color: var(--border); }
.faq-item:first-child { border-top: 1px solid rgba(255,255,255,.1); }
.faq-item.light:first-child { border-top-color: var(--border); }
.faq-q { width: 100%; background: none; border: none; display: flex; justify-content: space-between; align-items: center; padding: 20px 0; cursor: pointer; text-align: left; gap: 16px; }
.faq-q-text { font-size: 15px; font-weight: 700; color: var(--white); line-height: 1.5; }
.faq-q-text.dark { color: var(--navy); }
.faq-icon { width: 28px; height: 28px; border: 1px solid rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--gold-lt); font-size: 20px; transition: transform .3s; }
.faq-icon.dark { border-color: var(--border); color: var(--navy); }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { font-size: 14px; color: rgba(255,255,255,.55); line-height: 1.9; max-height: 0; overflow: hidden; transition: max-height .4s cubic-bezier(.22,1,.36,1), padding .4s; }
.faq-a.dark { color: var(--sub); }
.faq-a.open { max-height: 300px; padding-bottom: 20px; }

/* CTA BAND */
.cta-band { background: var(--navy); padding: clamp(64px, 9vw, 100px) clamp(20px, 5vw, 60px); text-align: center; }
.cta-band h2 { font-family: var(--serif); font-size: var(--h2-size); font-weight: 900; color: var(--white); margin-bottom: 16px; line-height: 1.35; }
.cta-band p { font-size: 15px; color: rgba(255,255,255,.6); margin-bottom: 36px; line-height: 1.9; }
.cta-band-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* FOOTER */
footer { background: #080F1E; padding: 36px clamp(20px, 5vw, 60px); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; border-top: 1px solid rgba(255,255,255,.06); }
.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-nav a { font-size: 12px; color: rgba(255,255,255,.3); letter-spacing: .05em; transition: color .2s; }
.footer-nav a:hover { color: rgba(255,255,255,.65); }
.footer-info { font-size: 11px; color: rgba(255,255,255,.25); line-height: 1.9; }
.footer-copy { font-size: 11px; color: rgba(255,255,255,.18); letter-spacing: .06em; }
.footer-social { display: flex; gap: 14px; align-items: center; }
.footer-social a { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.45); transition: color .2s, border-color .2s; position: relative; }
.footer-social a:hover { color: rgba(255,255,255,.9); border-color: rgba(255,255,255,.5); }
.footer-social svg { width: 17px; height: 17px; fill: currentColor; }
.footer-social .yt-flag { position: absolute; top: -6px; right: -6px; font-size: 11px; line-height: 1; }
.footer-logo-link { display: flex; align-items: center; }
.footer-logo-img { height: 22px; width: auto; opacity: 0.65; display: block; }

/* FIXED CTA BUTTON */
#fixed-cta {
  position: fixed; bottom: 24px; right: 24px; z-index: 300;
  background: var(--gold); color: #fff;
  font-size: 13px; font-weight: 700; letter-spacing: .06em;
  padding: 14px 22px; text-decoration: none;
  box-shadow: 0 4px 20px rgba(0,0,0,.25);
  transition: opacity .2s, transform .2s;
  white-space: nowrap;
}
#fixed-cta:hover { opacity: .85; transform: translateY(-2px); }

/* MARQUEE */
.marquee-bar { background: var(--navy-mid); border-top: 1px solid rgba(255,255,255,.06); border-bottom: 1px solid rgba(255,255,255,.06); padding: 12px 0; overflow: hidden; }
.marquee-track { display: flex; animation: marquee 28s linear infinite; white-space: nowrap; }
.marquee-track:hover { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-item { display: inline-flex; align-items: center; gap: 12px; padding: 0 28px; font-size: 12px; letter-spacing: .12em; color: rgba(255,255,255,.4); }
.marquee-dot { width: 4px; height: 4px; background: var(--gold); border-radius: 50%; flex-shrink: 0; }

/* MOBILE NAV */
#mobile-nav { display: none; position: fixed; inset: 0; background: var(--navy); z-index: 190; flex-direction: column; justify-content: center; align-items: center; gap: 32px; }
#mobile-nav.open { display: flex; }
#mobile-nav a { font-size: 18px; color: rgba(255,255,255,.8); font-weight: 700; letter-spacing: .06em; }
#mobile-nav a:hover { color: var(--gold-lt); }
#mobile-nav .btn-gold { margin-top: 8px; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .hdr-nav { display: none; }
  .hdr-menu { display: block; }
  footer { flex-direction: column; align-items: flex-start; gap: 24px; }
  .footer-nav { gap: 16px; }
}

/* JS FADE */
.js-fade { opacity: 0; animation: fadeUp .6s cubic-bezier(.22,1,.36,1) forwards; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }
