/* ═══════════════════════════════════════
   COMPONENTS.CSS — Shared reusable patterns
   ═══════════════════════════════════════ */

/* ─── Tags & Eyebrow Labels ─── */
.tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.tag::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--gold);
  opacity: 0.5;
  display: inline-block;
}
.tag.center { justify-content: center; }

/* ─── Section Mono Label ─── */
.section-label {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 16px;
}

/* ─── Chapter-Style Headlines ─── */
.section-headline {
  font-family: var(--f-display);
  font-size: clamp(36px, 5.5vw, 72px);
  line-height: 1.08;
  font-weight: 400;
  letter-spacing: -0.015em;
  margin: 0 0 24px;
}
.section-headline em {
  color: var(--gold);
  font-style: italic;
  display: block;
}
.section-subhead {
  font-size: 19px;
  line-height: 1.6;
  font-weight: 400;
  max-width: 560px;
}

/* ─── Buttons ─── */
.btn-primary {
  background: var(--gold);
  color: var(--navy);
  border: none;
  padding: 16px 44px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  text-transform: uppercase;
  box-shadow: 0 4px 28px rgba(200,165,92,0.3);
  text-decoration: none;
  display: inline-block;
  font-family: var(--f-body);
  transition: all 0.3s;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 36px rgba(200,165,92,0.4);
}

.btn-secondary {
  color: #fff;
  border: 1px solid rgba(255,255,255,0.15);
  padding: 16px 40px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: transparent;
  cursor: pointer;
  display: inline-block;
  font-family: var(--f-body);
  transition: all 0.3s;
}
.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ─── Page Hero (Inner Pages Base) ─── */
section.page-hero {
  min-height: 100vh;
  padding: 180px 32px 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: radial-gradient(ellipse at 50% 40%, var(--navy-light) 0%, var(--navy) 65%);
  position: relative;
  overflow: hidden;
}
section.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.03;
  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.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}
.page-hero .chapter-mark {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 24px;
  opacity: 0.7;
  position: relative;
}
section.page-hero h1 {
  font-family: var(--f-display);
  font-size: clamp(52px, 9vw, 128px);
  color: #fff;
  line-height: 1.0;
  margin: 0 0 32px;
  font-weight: 400;
  max-width: 1100px;
  letter-spacing: -0.02em;
  position: relative;
}
section.page-hero h1 em {
  color: var(--gold);
  font-style: italic;
  display: block;
}
section.page-hero .subhead {
  font-size: 21px;
  color: var(--text-light);
  max-width: 620px;
  line-height: 1.65;
  margin: 0 auto;
  font-weight: 300;
  position: relative;
}

/* ─── Section Containers ─── */
.sec-dark { padding: 140px 32px; background: var(--navy); }
.sec-light { padding: 140px 32px; background: var(--warm-white); color: var(--navy); }
.sec-cream { padding: 140px 32px; background: var(--cream); color: var(--navy); }
.sec-gradient {
  padding: 140px 32px;
  background: linear-gradient(175deg, var(--navy-mid) 0%, var(--navy) 100%);
}
.sec-inner { max-width: 1200px; margin: 0 auto; }
.sec-narrow { max-width: 860px; margin: 0 auto; }

.sec-header {
  max-width: 820px;
  margin: 0 auto 80px;
  text-align: center;
}
.sec-header h2 {
  font-family: var(--f-display);
  font-size: clamp(36px, 5.5vw, 64px);
  line-height: 1.08;
  margin: 0 0 24px;
  font-weight: 400;
}
.sec-header h2 em {
  font-style: italic;
  color: var(--gold);
  display: block;
}
.sec-header p {
  font-size: 18px;
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto;
}
.sec-dark .sec-header h2 { color: #fff; }
.sec-dark .sec-header p { color: var(--text-light); }
.sec-light .sec-header h2 { color: var(--navy); }
.sec-light .sec-header p { color: var(--text-body); }

/* ─── Split Layout ─── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.split h2 {
  font-family: var(--f-display);
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.1;
  margin: 0 0 24px;
  font-weight: 400;
}
.split h2 em {
  font-style: italic;
  color: var(--gold);
  display: block;
}
.split p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 16px;
}
.split .pullquote {
  font-family: var(--f-display);
  font-size: 22px;
  line-height: 1.55;
  font-style: italic;
  margin-top: 32px;
  padding-left: 24px;
  border-left: 2px solid var(--gold);
}

/* ─── Stats Row ─── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(200,165,92,0.1);
  border-radius: 12px;
  overflow: hidden;
}
.stat-cell {
  padding: 44px 24px;
  text-align: center;
  transition: background 0.3s;
}
.stat-cell.dark {
  background: var(--navy-deep);
}
.stat-cell.dark:hover {
  background: var(--navy-mid);
}
.stat-number {
  font-family: var(--f-display);
  font-size: clamp(40px, 5vw, 64px);
  color: var(--gold);
  line-height: 1;
  margin-bottom: 10px;
}
.stat-number sup {
  font-size: 0.45em;
  vertical-align: super;
}
.stat-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.stat-cell.dark .stat-label { color: #fff; }
.stat-sub {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
}

/* ─── Timeline ─── */
.timeline {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 32px; top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, var(--gold), rgba(200,165,92,0.1));
}
.tl-step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 32px;
  padding: 48px 0;
  border-bottom: 1px solid rgba(200,165,92,0.06);
  align-items: start;
}
.tl-step:last-child { border-bottom: none; }
.tl-dot {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--navy-mid);
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-display);
  font-size: 24px;
  color: var(--gold);
  position: relative;
  z-index: 2;
}
.tl-phase {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 8px;
  opacity: 0.7;
}
.tl-title {
  font-family: var(--f-display);
  font-size: 28px;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 12px;
}
.tl-desc {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.8;
  max-width: 600px;
}
.tl-duration {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-top: 16px;
  opacity: 0.6;
}

/* ─── Check Cards ─── */
.check-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(200,165,92,0.12);
  border-radius: 12px;
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
}
.check-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 2px; height: 56px;
  background: var(--gold);
}
.check-card-label {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 16px;
  opacity: 0.8;
}
.check-card-title {
  font-family: var(--f-display);
  font-size: 28px;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 20px;
}
.check-card-title em {
  font-style: italic;
  color: var(--gold);
}
.check-card-desc {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 28px;
}
.check-list { list-style: none; }
.check-list li {
  padding: 14px 0;
  border-bottom: 1px solid rgba(200,165,92,0.08);
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 14px;
  align-items: start;
}
.check-list li:last-child { border-bottom: none; }
.check-dot {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(200,165,92,0.12);
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 10px;
  margin-top: 2px;
}
.check-text-title {
  font-size: 14px;
  color: #fff;
  font-weight: 600;
  margin-bottom: 3px;
}
.check-text-desc {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.6;
}

/* Check Card — Light variant */
.sec-light .check-card {
  background: #fff;
  border-color: rgba(10,22,40,0.06);
  box-shadow: 0 2px 40px rgba(10,22,40,0.04);
}
.sec-light .check-card-title { color: var(--navy); }
.sec-light .check-card-desc { color: var(--text-body); }
.sec-light .check-list li { border-color: rgba(10,22,40,0.06); }
.sec-light .check-text-title { color: var(--navy); }
.sec-light .check-text-desc { color: var(--text-body); }

/* ─── Partner Block ─── */
.partner-block {
  margin-top: 80px;
  padding: 48px 56px;
  background: linear-gradient(135deg, rgba(200,165,92,0.08), rgba(200,165,92,0.02));
  border: 1px solid rgba(200,165,92,0.2);
  border-radius: 12px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}
.partner-eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 10px;
  opacity: 0.8;
}
.partner-name {
  font-family: var(--f-display);
  font-size: 32px;
  color: #fff;
  margin: 0 0 8px;
}
.partner-loc {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 12px;
}
.partner-desc {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
  max-width: 560px;
}
.partner-cta-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.partner-btn {
  padding: 14px 32px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s;
  text-align: center;
  white-space: nowrap;
  font-family: var(--f-body);
}
.partner-btn.gold {
  background: var(--gold);
  color: var(--navy);
  border: none;
}
.partner-btn.gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(200,165,92,0.3);
}
.partner-btn.outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}
.partner-btn.outline:hover {
  background: var(--gold);
  color: var(--navy);
}

/* ─── Page CTA Section ─── */
section.page-cta {
  padding: 160px 32px;
  background: radial-gradient(ellipse at 50% 0%, var(--navy-light) 0%, var(--navy) 70%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
section.page-cta::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse, rgba(200,165,92,0.04) 0%, transparent 60%);
  pointer-events: none;
}
.cta-inner {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
}
.cta-inner h2 {
  font-family: var(--f-display);
  font-size: clamp(38px, 5vw, 62px);
  color: #fff;
  line-height: 1.1;
  margin: 0 0 28px;
  font-weight: 400;
}
.cta-inner h2 em {
  font-style: italic;
  color: var(--gold);
}
.cta-inner p {
  font-size: 17px;
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

/* ─── Kanji Display ─── */
.kanji-hero {
  margin-top: 80px;
  position: relative;
}
.kanji-large {
  font-size: clamp(100px, 18vw, 200px);
  color: rgba(200,165,92,0.06);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.1em;
  user-select: none;
}
.kanji-sub {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-top: 12px;
  opacity: 0.6;
}

/* ─── Sticky CTA (Home only) ─── */
.sticky-cta {
  position: fixed;
  bottom: 32px; right: 32px;
  z-index: 999;
  background: var(--gold);
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 16px 36px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 28px rgba(200,165,92,0.3);
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px) scale(0.95);
  transition: all 0.45s cubic-bezier(.22,1,.36,1);
}
.sticky-cta.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
.sticky-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 36px rgba(200,165,92,0.4);
}

/* ─── Responsive (shared components) ─── */
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 48px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .timeline::before { left: 24px; }
  .tl-step { grid-template-columns: 48px 1fr; gap: 20px; }
  .tl-dot { width: 48px; height: 48px; font-size: 18px; }
  .partner-block { grid-template-columns: 1fr; padding: 36px 28px; }
  .partner-cta-group { flex-direction: row; flex-wrap: wrap; }
  .sticky-cta { bottom: 20px; right: 20px; padding: 12px 24px; font-size: 12px; }
}
@media (max-width: 560px) {
  section { padding: 80px 20px !important; }
  .stats-row { grid-template-columns: 1fr; }
}