/* ═══════════════════════════════════════
   MADE-IN-JAPAN.CSS — page-made-in-japan.php
   ═══════════════════════════════════════ */

section.heritage-hero {
  min-height: 100vh; padding: 180px 32px 120px;
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; text-align: center;
  background:
    linear-gradient(180deg, rgba(10,22,40,0.58) 0%, rgba(10,22,40,0.78) 100%),
    url("../images/layer2/6HR/2-HR-1.jpg") center/cover no-repeat;
  position: relative; overflow: hidden;
}
section.heritage-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 40%, rgba(10,22,40,0.15) 0%, rgba(10,22,40,0.45) 70%);
  pointer-events: none;
}
section.heritage-hero > * { position: relative; z-index: 1; }
section.heritage-hero h1 {
  font-family: var(--f-display); font-size: clamp(52px, 8vw, 110px);
  color: #fff; line-height: 1.0; margin: 0 0 32px; font-weight: 400;
  max-width: 1000px; letter-spacing: -0.02em; position: relative;
}
section.heritage-hero h1 em { color: var(--gold); font-style: italic; display: block; }
section.heritage-hero .subhead {
  font-size: 21px; color: var(--text-light); max-width: 640px;
  line-height: 1.65; margin: 0 auto; font-weight: 300; position: relative;
}
section.heritage-hero .kanji-large {
  color: rgba(255,255,255,0.42);
}
section.heritage-hero .kanji-sub {
  color: rgba(255,255,255,0.75);
  opacity: 1;
}

/* Heritage Timeline */
.heritage-timeline {
  max-width: 900px; margin: 0 auto; position: relative;
}
.heritage-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));
}
.ht-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;
}
.ht-step:last-child { border-bottom: none; }
.ht-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-mono); font-size: 12px; color: var(--gold);
  letter-spacing: 0.05em; position: relative; z-index: 2;
}
.ht-title {
  font-family: var(--f-display); font-size: 28px;
  color: #fff; line-height: 1.2; margin-bottom: 12px;
}
.ht-desc {
  font-size: 15px; color: var(--text-light); line-height: 1.8; max-width: 600px;
}

/* Philosophy Cards */
.phil-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.phil-card {
  padding: 48px 36px; border-radius: 12px;
  position: relative; overflow: hidden; transition: all 0.4s ease;
}
.phil-card.dark {
  background: rgba(255,255,255,0.02); border: 1px solid rgba(200,165,92,0.12);
}
.phil-card.dark:hover {
  border-color: rgba(200,165,92,0.35); transform: translateY(-4px);
}
.phil-card.light {
  background: #fff; border: 1px solid rgba(10,22,40,0.06);
}
.phil-card.light:hover {
  border-color: var(--gold); transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(10,22,40,0.08);
}
.phil-card::before {
  content: ""; position: absolute; top: 0; left: 0;
  width: 2px; height: 48px; background: var(--gold);
}
.phil-kanji { font-size: 48px; margin-bottom: 20px; line-height: 1; color: var(--gold); opacity: 0.3; }
.phil-title {
  font-family: var(--f-display); font-size: 24px; margin-bottom: 8px; line-height: 1.2;
}
.phil-card.dark .phil-title { color: #fff; }
.phil-card.light .phil-title { color: var(--navy); }
.phil-romaji {
  font-family: var(--f-mono); font-size: 11px; color: var(--gold);
  letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 16px; opacity: 0.8;
}
.phil-desc { font-size: 14.5px; line-height: 1.75; }
.phil-card.dark .phil-desc { color: var(--text-light); }
.phil-card.light .phil-desc { color: var(--text-body); }

/* Jetstroke Ecosystem — 3 across + 1 full-width */
.eco-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.eco-card {
  padding: 0 0 36px;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.4s ease;
}
.eco-card.dark {
  background: rgba(255,255,255,0.02); border: 1px solid rgba(200,165,92,0.1);
}
.eco-card.dark:hover {
  border-color: rgba(200,165,92,0.3); transform: translateY(-4px);
}
.eco-card-network { grid-column: 1 / -1; padding: 36px 40px; }
.eco-photo {
  display: block;
  padding: 0;
  background: none;
  margin-bottom: 20px;
}
.eco-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  display: block;
}
.eco-label {
  font-family: var(--f-mono); font-size: 11px; color: var(--gold);
  letter-spacing: 0.15em; margin: 0 32px 12px; opacity: 0.7;
}
.eco-title {
  font-family: var(--f-display); font-size: 22px;
  color: #fff; line-height: 1.2; margin: 0 32px 12px;
}
.eco-desc {
  font-size: 14px; color: var(--text-light); line-height: 1.75;
  margin: 0 32px;
}
.eco-card-network .eco-label,
.eco-card-network .eco-title,
.eco-card-network .eco-desc { margin-left: 0; margin-right: 0; }

.heritage-origin .split,
.heritage-founder .split { align-items: start; }

/* Origin visual */
.heritage-origin-visual { display: flex; flex-direction: column; gap: 20px; }
.heritage-origin-photo {
  width: 100%; height: auto; display: block;
  border-radius: 16px;
  box-shadow: 0 16px 60px rgba(10,22,40,0.12);
}
.heritage-profile {
  background: var(--navy);
  border-radius: 16px;
  padding: 36px 32px;
  box-shadow: 0 16px 60px rgba(10,22,40,0.12);
}
.heritage-profile-label {
  font-family: var(--f-mono); font-size: 10px; color: var(--gold);
  letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 16px; opacity: 0.7;
}
.heritage-profile-name {
  font-family: var(--f-display); font-size: 24px; color: #fff;
  margin-bottom: 20px; line-height: 1.15;
}
.heritage-profile-row {
  padding: 14px 0;
  border-bottom: 1px solid rgba(200,165,92,0.08);
}
.heritage-profile-row:last-child { border-bottom: none; padding-bottom: 0; }
.heritage-profile-key {
  font-size: 11px; color: var(--gold); letter-spacing: 0.1em;
  margin-bottom: 4px; opacity: 0.6;
}
.heritage-profile-val { font-size: 14px; color: rgba(255,255,255,0.7); }

/* Founder */
.heritage-founder-visual { display: flex; flex-direction: column; gap: 20px; }
.heritage-founder-photo {
  width: 100%; overflow: hidden; border-radius: 12px;
}
.heritage-founder-photo img {
  width: 100%; height: auto; display: block; object-fit: contain;
}
.heritage-founder .stats-row { grid-template-columns: 1fr 1fr; }

@media (max-width: 900px) {
  .heritage-founder .stats-row { grid-template-columns: 1fr; }
  .phil-grid, .eco-grid { grid-template-columns: 1fr; }
  .eco-card-network { grid-column: auto; }
  .heritage-timeline::before { left: 24px; }
  .ht-step { grid-template-columns: 48px 1fr; gap: 20px; }
  .ht-dot { width: 48px; height: 48px; font-size: 10px; }
}
