/* ============================
   GRANDEUR WEALTH MANAGEMENT
   Ultra-luxury insurance site
   ============================ */

:root {
  --primary: #0A0A0A;
  --primary-light: #141414;
  --primary-mid: #1A1A1A;
  --accent: #B8860B;
  --accent-light: #D4A843;
  --accent-dim: rgba(184, 134, 11, 0.15);
  --text: #E8E4DD;
  --text-dim: #8A8478;
  --text-faint: #5A5650;
  --white: #FDFBF7;
  --font-display: 'Playfair Display', 'Noto Serif JP', serif;
  --font-body: 'Noto Serif JP', serif;
  --space-unit: 160px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ---- Reset ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { background: var(--primary); color: var(--text); font-family: var(--font-body); font-weight: 300; line-height: 1.9; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }

/* ---- Container ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 60px; }

/* ---- Reveal animation ---- */
[data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
[data-reveal].revealed { opacity: 1; transform: translateY(0); }

/* ---- SP util ---- */
.sp-only { display: none; }

/* ========== HEADER ========== */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 0 60px; transition: background 0.5s, backdrop-filter 0.5s, padding 0.5s; }
.header.scrolled { background: rgba(10, 10, 10, 0.92); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 90px; border-bottom: 1px solid rgba(184, 134, 11, 0.08); }
.header.scrolled .header-inner { border-bottom-color: rgba(184, 134, 11, 0.15); }

.logo { display: flex; align-items: center; gap: 14px; }
.logo-mark { font-family: var(--font-display); font-size: 28px; font-weight: 600; color: var(--accent); width: 46px; height: 46px; border: 1px solid var(--accent); display: flex; align-items: center; justify-content: center; letter-spacing: 0; }
.logo-text { font-family: var(--font-display); font-size: 14px; letter-spacing: 0.35em; color: var(--text-dim); font-weight: 400; }

.nav { display: flex; gap: 48px; }
.nav-link { font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--text-dim); transition: color 0.4s; position: relative; }
.nav-link::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 1px; background: var(--accent); transition: width 0.4s var(--ease-out); }
.nav-link:hover { color: var(--accent-light); }
.nav-link:hover::after { width: 100%; }

.nav-toggle { display: none; width: 30px; height: 20px; position: relative; z-index: 101; }
.nav-toggle span { display: block; width: 100%; height: 1px; background: var(--accent); position: absolute; left: 0; transition: all 0.4s var(--ease-out); }
.nav-toggle span:first-child { top: 4px; }
.nav-toggle span:last-child { bottom: 4px; }
.nav-toggle.active span:first-child { top: 50%; transform: rotate(45deg); }
.nav-toggle.active span:last-child { bottom: 50%; transform: rotate(-45deg); }

/* ========== HERO ========== */
.hero { min-height: 100vh; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }

.hero-bg-lines { position: absolute; inset: 0; pointer-events: none; }
.hero-line { position: absolute; top: 0; bottom: 0; width: 1px; background: linear-gradient(to bottom, transparent, rgba(184, 134, 11, 0.06) 30%, rgba(184, 134, 11, 0.06) 70%, transparent); }
.hero-line--1 { left: 25%; }
.hero-line--2 { left: 50%; }
.hero-line--3 { left: 75%; }

.hero-content { text-align: center; padding: var(--space-unit) 40px; position: relative; z-index: 2; }

.hero-pre { font-size: 12px; letter-spacing: 0.5em; color: var(--accent); margin-bottom: 60px; font-weight: 400; }

.hero-title { margin-bottom: 50px; }
.hero-title-line { display: block; font-family: var(--font-display); font-weight: 500; line-height: 1.2; }
.hero-title-line:first-child { font-size: clamp(48px, 7vw, 96px); }
.hero-title-line:last-child { font-size: clamp(48px, 7vw, 96px); }

/* Gold shimmer effect */
.shimmer-text {
  background: linear-gradient(
    105deg,
    var(--accent) 0%,
    var(--accent-light) 20%,
    #F5E6B8 40%,
    var(--accent-light) 60%,
    var(--accent) 80%,
    var(--accent-light) 100%
  );
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 6s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { background-position: 100% 50%; }
  50% { background-position: 0% 50%; }
}

.hero-rule { width: 60px; height: 1px; background: var(--accent); margin: 0 auto 50px; opacity: 0.6; }

.hero-sub { font-size: 15px; color: var(--text-dim); line-height: 2.2; font-weight: 300; letter-spacing: 0.08em; }

.hero-scroll { position: absolute; bottom: 50px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 12px; }
.hero-scroll-line { width: 1px; height: 50px; background: linear-gradient(to bottom, var(--accent), transparent); animation: scrollPulse 2s ease-in-out infinite; }
@keyframes scrollPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
.hero-scroll-label { font-size: 9px; letter-spacing: 0.4em; color: var(--text-faint); }

/* ========== SECTIONS (common) ========== */
.section { padding: var(--space-unit) 0; }

.section-eyebrow { font-size: 11px; letter-spacing: 0.5em; color: var(--accent); margin-bottom: 24px; font-weight: 400; }
.section-title { font-family: var(--font-display); font-size: clamp(28px, 4vw, 44px); font-weight: 500; color: var(--white); line-height: 1.5; margin-bottom: 80px; letter-spacing: 0.04em; }

/* ========== WHY ========== */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 120px; align-items: start; }
.why-lead { font-size: 20px; color: var(--white); font-weight: 400; line-height: 2; margin-bottom: 40px; letter-spacing: 0.04em; }
.why-body { font-size: 15px; color: var(--text-dim); line-height: 2.2; margin-bottom: 24px; }

.why-stats { border-left: 1px solid rgba(184, 134, 11, 0.2); padding-left: 60px; }
.stat-item { padding: 30px 0; }
.stat-number { font-family: var(--font-display); font-size: 64px; font-weight: 600; color: var(--accent); line-height: 1; }
.stat-unit { font-family: var(--font-display); font-size: 22px; color: var(--accent); margin-left: 4px; font-weight: 400; }
.stat-label { display: block; font-size: 13px; color: var(--text-dim); margin-top: 10px; letter-spacing: 0.08em; }
.stat-divider { height: 1px; background: rgba(184, 134, 11, 0.1); }

/* ========== PILLARS ========== */
.section--pillars { background: var(--primary-light); }

.pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }

.pillar { background: var(--primary); padding: 60px 48px; position: relative; transition: background 0.5s; }
.pillar:hover { background: var(--primary-mid); }

.pillar-number { font-family: var(--font-display); font-size: 13px; color: var(--accent); letter-spacing: 0.2em; margin-bottom: 32px; }
.pillar-accent { width: 30px; height: 1px; background: var(--accent); margin-bottom: 40px; opacity: 0.5; transition: width 0.5s var(--ease-out); }
.pillar:hover .pillar-accent { width: 60px; opacity: 1; }

.pillar-title { font-family: var(--font-display); font-size: 22px; font-weight: 500; color: var(--white); margin-bottom: 24px; line-height: 1.6; letter-spacing: 0.04em; }
.pillar-desc { font-size: 14px; color: var(--text-dim); line-height: 2; margin-bottom: 32px; }
.pillar-points li { font-size: 13px; color: var(--text-dim); padding: 6px 0; padding-left: 18px; position: relative; letter-spacing: 0.04em; }
.pillar-points li::before { content: ''; position: absolute; left: 0; top: 14px; width: 6px; height: 1px; background: var(--accent); }

/* ========== PROFILE ========== */
.profile-layout { display: grid; grid-template-columns: 320px 1fr; gap: 100px; align-items: start; }

.profile-monogram { display: flex; flex-direction: column; align-items: center; justify-content: center; aspect-ratio: 1; border: 1px solid rgba(184, 134, 11, 0.2); position: relative; }
.profile-monogram::before { content: ''; position: absolute; inset: 12px; border: 1px solid rgba(184, 134, 11, 0.08); }
.monogram-letter { font-family: var(--font-display); font-size: 120px; font-weight: 600; color: var(--accent); line-height: 1; opacity: 0.7; }
.monogram-sub { font-size: 12px; letter-spacing: 0.4em; color: var(--text-faint); margin-top: 16px; }

.profile-name { font-family: var(--font-display); font-size: 32px; font-weight: 500; color: var(--white); margin-bottom: 8px; letter-spacing: 0.08em; }
.profile-title-role { font-size: 13px; color: var(--text-dim); letter-spacing: 0.12em; margin-bottom: 48px; }

.profile-career { margin-bottom: 48px; }
.career-item { display: grid; grid-template-columns: 140px 1fr; gap: 24px; padding: 20px 0; border-bottom: 1px solid rgba(184, 134, 11, 0.06); }
.career-year { font-family: var(--font-display); font-size: 14px; color: var(--accent); letter-spacing: 0.1em; padding-top: 2px; }
.career-detail { font-size: 14px; color: var(--text-dim); line-height: 1.9; }

.profile-quote { font-family: var(--font-display); font-style: italic; font-size: 17px; color: var(--white); line-height: 2; padding-left: 24px; border-left: 2px solid var(--accent); opacity: 0.85; letter-spacing: 0.02em; }

/* ========== INVITATION ========== */
.section--invitation { background: var(--primary-light); }

.invitation-content { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: start; }

.invitation-text p { font-size: 15px; color: var(--text-dim); line-height: 2.2; margin-bottom: 24px; }
.invitation-text strong { color: var(--white); font-weight: 500; }

.invitation-details { display: flex; flex-direction: column; gap: 2px; }
.detail-card { background: var(--primary); padding: 36px 40px; }
.detail-label { font-size: 11px; letter-spacing: 0.4em; color: var(--accent); margin-bottom: 12px; }
.detail-value { font-family: var(--font-display); font-size: 40px; font-weight: 600; color: var(--white); line-height: 1.2; }
.detail-value--small { font-size: 24px; }
.yen { font-size: 24px; font-weight: 400; margin-right: 4px; color: var(--accent); }
.detail-note { font-size: 12px; color: var(--text-faint); margin-top: 8px; letter-spacing: 0.1em; }

/* ========== FOOTER ========== */
.footer { padding: 80px 0 50px; border-top: 1px solid rgba(184, 134, 11, 0.08); }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 60px; }
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-logo-mark { font-family: var(--font-display); font-size: 20px; font-weight: 600; color: var(--accent); width: 36px; height: 36px; border: 1px solid rgba(184, 134, 11, 0.3); display: flex; align-items: center; justify-content: center; }
.footer-logo-text { font-family: var(--font-display); font-size: 12px; letter-spacing: 0.3em; color: var(--text-faint); }
.footer-info p { font-size: 13px; color: var(--text-faint); line-height: 2; text-align: right; letter-spacing: 0.04em; }
.footer-bottom { border-top: 1px solid rgba(184, 134, 11, 0.06); padding-top: 30px; }
.footer-copy { font-size: 11px; color: var(--text-faint); letter-spacing: 0.1em; margin-bottom: 8px; }
.footer-note { font-size: 10px; color: var(--text-faint); opacity: 0.6; line-height: 1.8; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .container { padding: 0 40px; }
  .why-grid { gap: 60px; }
  .profile-layout { gap: 60px; }
  .invitation-content { gap: 60px; }
  .pillar { padding: 48px 36px; }
}

@media (max-width: 768px) {
  :root { --space-unit: 100px; }
  .container { padding: 0 28px; }
  .sp-only { display: inline; }

  /* Header */
  .header { padding: 0 28px; }
  .header-inner { height: 70px; }
  .nav { display: none; position: fixed; inset: 0; background: rgba(10, 10, 10, 0.98); flex-direction: column; align-items: center; justify-content: center; gap: 40px; }
  .nav.active { display: flex; }
  .nav-link { font-size: 14px; letter-spacing: 0.4em; }
  .nav-toggle { display: block; }

  /* Hero */
  .hero-pre { font-size: 10px; margin-bottom: 40px; }
  .hero-sub { font-size: 14px; }
  .hero-content { padding: 120px 20px; }

  /* Sections */
  .section-title { margin-bottom: 50px; }

  /* Why */
  .why-grid { grid-template-columns: 1fr; gap: 60px; }
  .why-stats { border-left: none; padding-left: 0; border-top: 1px solid rgba(184, 134, 11, 0.15); padding-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
  .stat-divider { display: none; }
  .stat-number { font-size: 40px; }
  .stat-unit { font-size: 16px; }

  /* Pillars */
  .pillars-grid { grid-template-columns: 1fr; }

  /* Profile */
  .profile-layout { grid-template-columns: 1fr; gap: 50px; }
  .profile-monogram { max-width: 220px; }
  .monogram-letter { font-size: 80px; }
  .career-item { grid-template-columns: 1fr; gap: 4px; }

  /* Invitation */
  .invitation-content { grid-template-columns: 1fr; gap: 50px; }

  /* Footer */
  .footer-top { flex-direction: column; gap: 30px; }
  .footer-info p { text-align: left; }
}

@media (max-width: 480px) {
  :root { --space-unit: 80px; }
  .container { padding: 0 20px; }
  .why-stats { grid-template-columns: 1fr; }
  .stat-item { padding: 20px 0; border-bottom: 1px solid rgba(184, 134, 11, 0.06); }
  .detail-value { font-size: 32px; }
}
