/* =====================================================================
   kamui tracker 10th — chic black × celebratory gold infographic theme
   Design base: infographic.kamuitracker.com/2021 (big numerals, data-blocks)
   Recoloured to a deep black base with champagne-gold celebration accents.
   ===================================================================== */

:root {
  /* --- ink (chic black base) --- */
  --ink:        #0A0A0D;   /* page base, cool near-black            */
  --ink-warm:   #111009;   /* alternating section base, warm tinted */
  --ink-1:      #0E0E13;   /* raised surface alt                    */
  --ink-2:      #15151C;   /* raised surface / cards                */
  --ink-3:      #1E1E27;   /* elevated / hover                      */
  --line:       rgba(255,255,255,0.08);
  --line-2:     rgba(255,255,255,0.14);

  /* --- celebratory gold --- */
  --gold:       #D8B25A;   /* primary gold      */
  --gold-light: #F2D58A;   /* light gold        */
  --gold-deep:  #B8902F;   /* deep gold         */
  --champ:      #F6ECC9;   /* champagne highlight */
  
  .white{color:#FFFFFF; font-weight: bold;}

  /* --- type --- */
  --text:       #F3EFE6;   /* warm off-white            */
  --text-mid:   rgba(243,239,230,0.66);
  --text-dim:   rgba(243,239,230,0.42);
  --text-faint: rgba(243,239,230,0.28);

  /* --- chart era scale (graduated metallic → climax gold) --- */
  --era-dawn:   #6E7787;   /* slate   (黎明期) */
  --era-growth: #A98F5B;   /* bronze  (成長期) */
  --era-boom:   #D8B25A;   /* gold    (爆発期) */
  --era-short:  #F2D58A;   /* champagne (ショート期) */

  /* --- legacy aliases kept for any stray reference --- */
  --red: var(--gold);
  --red-light: var(--gold-light);
  --red-dark: var(--gold-deep);
  --navy: #0E0E13;
  --navy-mid: #15151C;
  --gray-dark: var(--text);
  --gray-mid: var(--text-mid);
  --gray-light: rgba(255,255,255,0.06);
  --white: #FFFFFF;

  --font-jp:  'Noto Sans JP', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', 'Meiryo', sans-serif;
  --font-num: 'Barlow Condensed', 'Barlow', var(--font-jp);

  --header-h: 112px;
  --logo-h: 100px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 60px + env(safe-area-inset-top));
}
body {
  font-family: var(--font-jp);
  background: var(--ink);
  color: var(--text);
  line-height: 1.7;
  word-break: auto-phrase;
  text-wrap: pretty;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  font-weight: 600;
}

/* shared numeral treatment */
.num { font-family: var(--font-num); font-weight: 600; letter-spacing: 0.01em; }

/* celebratory gold gradient text */
.gold-text {
  background: linear-gradient(120deg, var(--gold-deep), var(--gold-light) 45%, var(--champ) 70%, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--gold-light);
}

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10,10,13,0.82);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  backdrop-filter: blur(12px) saturate(1.2);
  border-bottom: 1px solid rgba(216,178,90,0.18);
  padding: 10px 40px;
  padding-top: calc(10px + env(safe-area-inset-top));
  padding-left: calc(40px + env(safe-area-inset-left));
  padding-right: calc(40px + env(safe-area-inset-right));
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: padding 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}
.site-header.is-scrolled {
  padding-top: calc(5px + env(safe-area-inset-top));
  padding-bottom: 5px;
}
.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  text-decoration: none;
}
.header-logo-img-kt {
  height: var(--logo-h);
  max-width: 640px;
  width: auto;
  display: block;
  flex-shrink: 0;
  vertical-align: middle;
  transition: height 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}
.site-header.is-scrolled .header-logo-img-kt {
  height: calc(var(--logo-h) * 0.75);
}
.header-cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--gold-deep), var(--gold) 45%, var(--gold-light));
  color: #1A1306;
  border: none;
  padding: 11px 24px;
  border-radius: 6px;
  font-size: 21px;
  font-weight: 900;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(216,178,90,0.32);
  white-space: nowrap;
}
.header-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 26px rgba(216,178,90,0.5); }

/* shimmer sweep on gold buttons */
.header-cta::after,
.hero-cta-special::after {
  content: '';
  position: absolute;
  top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.55), transparent);
  transform: skewX(-18deg);
  animation: sheen 4.5s ease-in-out infinite;
}

/* ===== TAB NAVIGATION ===== */
.tab-nav {
  position: fixed;
  left: 0;
  right: 0;
  top: calc(var(--header-h) + env(safe-area-inset-top));
  z-index: 90;
  background: rgba(12,12,17,0.96);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid var(--line);
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
  /* 初期はヘッダーの裏に隠し、スクロール時に滑り出させる */
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  will-change: transform;
  transition: transform 0.42s cubic-bezier(.22,1,.36,1), opacity 0.42s ease;
}
.tab-nav.is-revealed {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.tab-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-bottom: 3px solid transparent;
  color: var(--text-dim);
  font-size: 26px;
  font-weight: 700;
  padding: clamp(8px, 1.5vh, 14px) 12px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  font-family: inherit;
  letter-spacing: 0.04em;
  white-space: nowrap;
  min-height: clamp(36px, 5vh, 46px);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
}
.tab-btn:hover { color: var(--text); background: rgba(255,255,255,0.04); }
.tab-btn.active {
  color: var(--gold-light);
  border-bottom-color: var(--gold);
  background: rgba(216,178,90,0.06);
}

[data-tab] {
  scroll-margin-top: calc(var(--header-h) + 60px + env(safe-area-inset-top));
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  background:
    radial-gradient(900px 520px at 78% -8%, rgba(216,178,90,0.18), transparent 60%),
    radial-gradient(760px 480px at 10% 108%, rgba(242,213,138,0.10), transparent 60%),
    linear-gradient(180deg, #0C0C10 0%, #08080B 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding: calc(var(--header-h) + 88px + env(safe-area-inset-top)) 40px 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(216,178,90,0.05) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 75%);
  pointer-events: none;
}

/* gold confetti drifting in the hero */
.hero-confetti {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.hero-confetti i {
  position: absolute;
  top: -8%;
  width: 8px; height: 8px;
  border-radius: 1px;
  opacity: 0;
  --dx: 0px;
  animation: confetti linear infinite;
}
.hero-confetti i:nth-child(odd)  { background: var(--gold);       --dx: -35px; }
.hero-confetti i:nth-child(even) { background: var(--gold-light); --dx:  50px; }
.hero-confetti i:nth-child(3n)   { background: var(--champ); width: 5px; height: 5px; border-radius: 50%; --dx: -60px; }
.hero-confetti i:nth-child(4n)   { --dx:  80px; }
.hero-confetti i:nth-child(5n)   { --dx: -20px; }
.hero-confetti i:nth-child(7n)   { --dx:  55px; }
.hero-confetti i:nth-child(1)  { left: 6%;  animation-duration: 9s;   animation-delay: 0s;   }
.hero-confetti i:nth-child(2)  { left: 14%; animation-duration: 12s;  animation-delay: 2.5s; }
.hero-confetti i:nth-child(3)  { left: 22%; animation-duration: 10s;  animation-delay: 1.2s; }
.hero-confetti i:nth-child(4)  { left: 30%; animation-duration: 13s;  animation-delay: 4s;   }
.hero-confetti i:nth-child(5)  { left: 38%; animation-duration: 8.5s; animation-delay: 0.8s; }
.hero-confetti i:nth-child(6)  { left: 46%; animation-duration: 11s;  animation-delay: 3.2s; }
.hero-confetti i:nth-child(7)  { left: 54%; animation-duration: 9.5s; animation-delay: 1.8s; }
.hero-confetti i:nth-child(8)  { left: 62%; animation-duration: 12.5s;animation-delay: 5s;   }
.hero-confetti i:nth-child(9)  { left: 70%; animation-duration: 10.5s;animation-delay: 2.2s; }
.hero-confetti i:nth-child(10) { left: 78%; animation-duration: 9s;   animation-delay: 3.8s; }
.hero-confetti i:nth-child(11) { left: 86%; animation-duration: 13.5s;animation-delay: 0.4s; }
.hero-confetti i:nth-child(12) { left: 92%; animation-duration: 11.5s;animation-delay: 4.6s; }
.hero-confetti i:nth-child(13) { left: 18%; animation-duration: 14s;  animation-delay: 6s;   }
.hero-confetti i:nth-child(14) { left: 50%; animation-duration: 10s;  animation-delay: 5.5s; }
.hero-confetti i:nth-child(15) { left: 66%; animation-duration: 12s;  animation-delay: 1s;   }
.hero-confetti i:nth-child(16) { left: 82%; animation-duration: 9.8s; animation-delay: 2.8s; }
.hero-confetti i:nth-child(17) { left: 9%;  animation-duration: 11s;  animation-delay: 3.3s; }
.hero-confetti i:nth-child(18) { left: 35%; animation-duration: 14.5s;animation-delay: 7s;   }
.hero-confetti i:nth-child(19) { left: 58%; animation-duration: 10.2s;animation-delay: 5.8s; }
.hero-confetti i:nth-child(20) { left: 75%; animation-duration: 13s;  animation-delay: 1.5s; }

/* wrapper keeps rings scoped to the logo image bounds */
.hero-logo-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 28px;
}

/* gold ripple rings centered on the "10" (upper ~27% of logo image) */
.hero-rings {
  position: absolute;
  top: 27%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}
.hero-rings span {
  position: absolute;
  width: 220px; height: 220px;
  left: -110px; top: -110px;
  border-radius: 50%;
  border: 1px solid rgba(216,178,90,0.35);
  animation: heroRing 4s cubic-bezier(0,.5,.5,1) infinite;
}
.hero-rings span:nth-child(1) { animation-delay: 1.5s; }
.hero-rings span:nth-child(2) { animation-delay: 2.83s; }
.hero-rings span:nth-child(3) { animation-delay: 4.16s; }

/* ===== HERO ENTRANCE — staggered text-reveal wipe ===== */
.hero-thank-you  { animation: textReveal 0.75s cubic-bezier(.22,1,.36,1) 0.2s  both; }
.hero-logo-img   { animation: textReveal 0.80s cubic-bezier(.22,1,.36,1) 0.55s both; }
.hero-headline   { animation: textReveal 0.90s cubic-bezier(.22,1,.36,1) 1.5s  both; } 
.hero-plan-box   { animation: textReveal 0.75s cubic-bezier(.22,1,.36,1) 2.5s  both; }
 .hero-cta-wrap   { animation: textReveal 0.75s cubic-bezier(.22,1,.36,1) 3.0s  both; }

.hero-thank-you {
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, rgba(216,178,90,0.16), rgba(242,213,138,0.06));
  border: 1px solid rgba(216,178,90,0.5);
  color: var(--gold-light);
  font-size: clamp(21px, 1.76vw, 27px);
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 8px 20px;
  border-radius: 40px;
  margin-bottom: 28px;
  text-align: center;
  box-shadow: 0 0 32px rgba(216,178,90,0.12);
}

.hero-logo-img {
  position: relative;
  z-index: 1;
  -webkit-filter: drop-shadow(0 6px 30px rgba(216,178,90,0.42));
  filter: drop-shadow(0 6px 30px rgba(216,178,90,0.42));
  max-width: 1280px;
  max-height: 45vh;
  width: auto;
  height: auto;
  display: block;
}

.hero-headline {
  position: relative;
  z-index: 1;
  font-size: clamp(38px, 6.4vw, 67px);
  font-weight: 900;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 20px;
  max-width: 1300px;
}
.hero-headline .accent {
  font-family: var(--font-num);
  font-weight: 700;
  font-size: 1.18em;
  background: linear-gradient(120deg, var(--gold-deep), var(--gold-light) 55%, var(--champ));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--gold-light);
}

/* ===== HERO PLAN ===== */
.hero-plan-box {
  position: relative;
  z-index: 1;
  max-width: 720px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(216,178,90,0.3);
  border-radius: 16px;
  padding: 28px 36px;
  margin: 8px auto 32px;
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}
.hero-plan-lead {
  color: #fff;
  font-size: clamp(26px, 3.2vw, 32px);
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 12px;
}
.hero-plan-lead strong { color: var(--gold-light); }
.hero-plan-body {
  color: var(--text-mid);
  font-size: clamp(22px, 2.4vw, 26px);
  line-height: 1.8;
  margin-bottom: 10px;
}
.hero-plan-body strong { color: #fff; }
.hero-plan-note {
  color: var(--text-dim);
  font-size: 19px;
  line-height: 1.6;
}

/* PDCA cycle */
.pdca-section {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto 36px;
  width: 100%;
}
.pdca-label-top {
  text-align: center;
  color: var(--gold);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.pdca-cycle {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
}
.pdca-arrow {
  display: flex;
  align-items: center;
  color: var(--gold);
  font-size: 35px;
  padding: 0 8px;
  flex-shrink: 0;
}
.pdca-item {
  flex: 1;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  padding: 20px 16px;
  text-align: center;
  max-width: 220px;
}
.pdca-month {
  font-size: 18px;
  color: var(--text-dim);
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}
.pdca-tag {
  font-family: var(--font-num);
  font-size: clamp(29px, 3.52vw, 38px);
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 0.03em;
}
.pdca-plan  .pdca-tag { color: #C9CDD6; }   /* platinum */
.pdca-do    .pdca-tag { color: var(--gold); }
.pdca-check .pdca-tag { color: var(--champ); }
.pdca-desc {
  color: var(--text-mid);
  font-size: clamp(18px, 1.92vw, 21px);
  line-height: 1.6;
}

.pdca-check{  max-width: 440px;
}

/* hero plan reason */
.hero-plan-reason {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto 32px;
  text-align: left;
  color: var(--text-mid);
  font-size: clamp(22px, 2.4vw, 24px);
  line-height: 1.9;
}
.hero-plan-reason p { margin-bottom: 12px; }
.hero-plan-reason strong { color: #fff; }
.hero-plan-close {
  font-size: clamp(24px, 2.88vw, 27px) !important;
  font-weight: 700;
  color: var(--gold-light) !important;
}

/* hero CTA */
.hero-cta-wrap { position: relative; z-index: 1; text-align: center; margin: 8px 0; }
.hero-cta-main {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: #1A1306;
  text-decoration: none;
  padding: 18px 48px;
  border-radius: 8px;
  font-size: 29px;
  font-weight: 800;
  letter-spacing: 0.03em;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 8px 32px rgba(216,178,90,0.32);
}
.hero-cta-special {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--gold-deep), var(--gold) 45%, var(--gold-light)) !important;
  color: #1A1306 !important;
  font-size: clamp(21px, 2.56vw, 24px) !important;
  padding: 18px 36px !important;
  border-radius: 8px !important;
  font-weight: 900 !important;
  letter-spacing: 0.02em;
  box-shadow: 0 6px 32px rgba(216,178,90,0.42);
}
.hero-cta-main:hover,
.hero-cta-special:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 42px rgba(216,178,90,0.55);
}
.hero-cta-microcopy {
  color: var(--text-dim);
  font-size: 18px;
  line-height: 1.8;
  margin-top: 12px;
  text-align: center;
}

/* ===== SECTIONS COMMON ===== */
section { padding: 100px 40px; position: relative; }
.section-inner { max-width: 1400px; margin: 0 auto; }
.section-eyebrow {
  display: inline-block;
  color: var(--gold);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.18em;
  /* text-transform: uppercase; */
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(42px, 5.6vw, 64px);
  font-weight: 900;
  line-height: 1.4;
  color: var(--text);
  margin-bottom: 20px;
}
.section-lead {
  font-size: clamp(24px, 2.4vw, 27px);
  color: var(--text-mid);
  line-height: 1.9;
  /* max-width: 680px; */
}

/* a hairline of gold between major sections for that "infographic chapter" feel */
section + section::before,
.anniversary::before,
.report-data::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 64px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.5;
}

/* ===== 10TH ANNIVERSARY ===== */
.anniversary {
  background-color: #111009;
  background-image: linear-gradient(rgba(10,10,9,0.68), rgba(10,10,9,0.68)), url('images/1.jpg');
  background-size: auto, cover;
  background-position: center;
  background-blend-mode: normal, luminosity;
  text-align: center;
}
.anniversary-inner { max-width: 900px; margin: 0 auto; }
.anniversary-headline {
  font-size: clamp(45px, 6.4vw, 77px);
  font-weight: 900;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 20px;
}
.anniversary-headline .gold {
  font-family: var(--font-num);
  font-weight: 700;
  font-size: 1.12em;
  background: linear-gradient(120deg, var(--gold-deep), var(--gold-light) 50%, var(--champ));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.anniversary-body {
  font-size: 26px;
  color: var(--text-mid);
  line-height: 2;
  margin-bottom: 60px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.milestone-timeline {
  position: relative;
  margin: 60px 0;
  padding: 0 20px;
}
.timeline-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  background:
    linear-gradient(90deg, var(--gold-deep), var(--gold), var(--gold-light))
    no-repeat
    center 28px / calc(100% - 56px) 2px;
}
.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 180px;
}
.timeline-dot {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--ink-2);
  border: 2px solid var(--gold);
  color: var(--gold-light);
  font-family: var(--font-num);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 35px;
  font-weight: 700;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 18px rgba(216,178,90,0.25);
}
.timeline-dot.gold {
  border-color: var(--gold-light);
  color: var(--champ);
  background: linear-gradient(rgba(242,213,138,0.12), rgba(242,213,138,0.12)) var(--ink-2);
  box-shadow: 0 0 24px rgba(242,213,138,0.45);
}
.timeline-year {
  font-family: var(--font-num);
  font-size: 26px;
  font-weight: 700;
  color: var(--gold);
}
.timeline-year.gold { color: var(--gold-light); }
.timeline-label {
  font-size: 19px;
  color: var(--text-mid);
  text-align: center;
  line-height: 1.5;
  width: 100%;
}
.anniversary-nums {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 60px;
  padding: 48px;
  background:
    radial-gradient(600px 200px at 50% 0%, rgba(216,178,90,0.10), transparent 70%),
    var(--ink-2);
  border: 1px solid rgba(216,178,90,0.18);
  border-radius: 20px;
}
.ann-num { text-align: center; }
.ann-num-val {
  font-family: var(--font-num);
  font-size: clamp(70px, 9.6vw, 109px);
  font-weight: 700;
  line-height: 1;
  color: var(--text);
}
.ann-num-val .unit {
  font-size: 0.4em;
  font-family: var(--font-jp);
  font-weight: 700;
  color: var(--text-dim);
}
.ann-num-val .highlight {
  background: linear-gradient(120deg, var(--gold), var(--champ));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.ann-num-label {
  color: var(--text-dim);
  font-size: 21px;
  margin-top: 10px;
}
.ann-note { font-size: 18px; opacity: 0.6; }

/* ===== REPORT DATA ===== */
.report-data { background: var(--ink); }
.report-data .section-title { color: var(--text); }
.report-data .section-lead { color: var(--text-mid); }
.report-data .section-eyebrow { color: var(--gold-light); }
.report-intro-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(216,178,90,0.2), rgba(242,213,138,0.08));
  border: 1px solid rgba(216,178,90,0.4);
  color: var(--gold-light);
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}

/* data blocks */
.data-block {
  margin-top: 72px;
  padding-top: 56px;
  border-top: 1px solid var(--line);
}
.data-block:first-of-type { margin-top: 56px; border-top: none; padding-top: 0; }
.data-block-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 40px;
}
.data-block-num {
  font-family: var(--font-num);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold);
  background: rgba(216,178,90,0.1);
  border: 1px solid rgba(216,178,90,0.3);
  padding: 6px 12px;
  border-radius: 4px;
  white-space: nowrap;
  margin-top: 4px;
  flex-shrink: 0;
}
.data-block-title {
  font-size: clamp(32px, 4vw, 42px);
  font-weight: 900;
  color: var(--text);
  width: 100%;
  line-height: 1.4;
}
.data-block-title span { color: var(--gold-light); }

/* DATA 01: year bar chart */
.year-chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}
.year-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 19px;
  color: var(--text-mid);
}
.year-legend-dot {
  display: inline-block;
  width: 12px; height: 12px;
  border-radius: 2px;
  flex-shrink: 0;
}
.year-chart-scroll { position: relative; }
.year-chart-scroll::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  bottom: 34px;
  width: 48px;
  background: linear-gradient(-90deg, var(--ink), rgba(10,10,13,0));
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}
.year-chart-scroll.can-scroll-right::after { opacity: 1; }
.scroll-hint-pill {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  background: rgba(216,178,90,0.92);
  color: #1A1306;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 8px 18px;
  border-radius: 22px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  z-index: 3;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}
.year-chart-scroll.hint-play .scroll-hint-pill {
  animation: scrollHintPill 2.8s ease forwards;
}
.year-bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 240px;
  padding-bottom: 32px;
  border-bottom: 2px solid var(--line);
  overflow-x: auto;
}
.year-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  flex: 1;
  min-width: 32px;
  height: 100%;
}
.year-bar-val {
  font-family: var(--font-num);
  font-size: 21px;
  font-weight: 700;
  color: var(--text-mid);
  line-height: 1;
}
.year-bar-fill {
  width: 100%;
  border-radius: 3px 3px 0 0;
  transform-origin: bottom;
  transition: transform 0.9s cubic-bezier(.2,.7,.2,1);
}
.year-bar-label {
  font-family: var(--font-num);
  font-size: 18px;
  color: var(--text-faint);
  white-space: nowrap;
  margin-top: 6px;
}
/* scroll-reveal grow */
.data-block .year-bar-fill { transform: scaleY(0); }
.data-block.is-visible .year-bar-fill { transform: scaleY(1); }

.year-legend-dot--dawn   { background: var(--era-dawn); }
.year-legend-dot--growth { background: var(--era-growth); }
.year-legend-dot--boom   { background: var(--era-boom); }
.year-legend-dot--short  { background: var(--era-short); }
.year-bar-fill--dawn   { background: linear-gradient(180deg, var(--era-dawn), #565E6B); }
.year-bar-fill--growth { background: linear-gradient(180deg, var(--era-growth), #8A7245); }
.year-bar-fill--boom   { background: linear-gradient(180deg, var(--era-boom), var(--gold-deep)); }
.year-bar-fill--short  { background: linear-gradient(180deg, var(--era-short), var(--gold)); box-shadow: 0 0 18px rgba(242,213,138,0.35); }

.era-insight {
  margin-top: 24px;
  background: rgba(255,255,255,0.03);
  border-left: 3px solid var(--gold);
  border-radius: 0 12px 12px 0;
  padding: 16px 20px;
  color: var(--text-mid);
  font-size: 22px;
  line-height: 1.8;
}
.era-insight strong { color: var(--gold-light); }

/* DATA 02: era cards */
.era-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.era-card {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.era-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  opacity: 0.5;
}
.era-card:hover {
  border-color: rgba(216,178,90,0.4);
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(0,0,0,0.4);
}
.era-card.highlight {
  border-color: rgba(216,178,90,0.45);
  background: linear-gradient(180deg, rgba(216,178,90,0.08), var(--ink-2));
}
.era-card.highlight::before { opacity: 1; box-shadow: 0 0 14px rgba(242,213,138,0.5); }
.era-period {
  font-family: var(--font-num);
  font-size: 21px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}
.era-name {
  font-size: 29px;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 8px;
}
.era-count {
  font-family: var(--font-num);
  font-size: 48px;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  margin-bottom: 4px;
}
.era-count span { font-size: 22px; color: var(--text-dim); }
.era-desc {
  font-size: 19px;
  color: var(--text-mid);
  line-height: 1.7;
  margin-top: 12px;
  margin-bottom: 16px;
}

/* era genre tags */
.era-genre-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.era-genre-tag {
  display: inline-block;
  background: rgba(255,255,255,0.06);
  color: var(--text-mid);
  font-size: 18px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
}
.era-genre-tag--gold {
  background: rgba(216,178,90,0.2);
  color: var(--gold-light);
  border: 1px solid rgba(216,178,90,0.4);
}

/* era channels */
.era-channels {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.era-channels-label {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 8px;
}
.era-channel-notice {
  display: block;
  font-size: 14px;
  color: var(--text-faint);
  letter-spacing: 0.02em;
  margin-top: 1px;
}
.era-channel-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 19px;
  color: var(--text-mid);
  text-decoration: none;
  padding: 5px 0;
  border-bottom: 1px solid var(--line);
  transition: color 0.2s;
}
.era-channel-link:last-child { border-bottom: none; }
.era-channel-link:hover { color: var(--text); }
.era-channel-link span {
  font-family: var(--font-num);
  font-size: 21px;
  font-weight: 700;
  color: var(--text-dim);
  white-space: nowrap;
  margin-left: 8px;
}
.era-channel-link--gold { color: var(--gold-light); }
.era-channel-link--gold span { color: var(--gold); }
.era-channel-link--gold:hover { color: #fff; }

.era-note {
  margin-top: 16px;
  font-size: 18px;
  color: var(--text);
  line-height: 1.6;
  text-align: right;
}

.cat-insight {
  margin-top: 28px;
  background: rgba(255,255,255,0.03);
  border-left: 3px solid var(--gold-light);
  border-radius: 0 12px 12px 0;
  padding: 16px 20px;
  color: var(--text-mid);
  font-size: 22px;
  line-height: 1.8;
}
.cat-insight strong { color: var(--gold-light); }

/* DATA 03: speed compare */
.speed-compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  margin-bottom: 32px;
}
.speed-col {
  border-radius: 16px;
  padding: 36px 24px;
  text-align: center;
}
.speed-col--before {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
}
.speed-col--after {
  background: linear-gradient(180deg, rgba(216,178,90,0.14), rgba(216,178,90,0.04));
  border: 1px solid rgba(216,178,90,0.4);
}
.speed-label {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}
.speed-col--before .speed-label { color: var(--text-dim); }
.speed-col--after .speed-label { color: var(--gold-light); }
.speed-num {
  font-family: var(--font-num);
  font-size: clamp(51px, 7.2vw, 86px);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 4px;
}
.speed-col--before .speed-num { color: var(--text-dim); }
.speed-col--after .speed-num {
  background: linear-gradient(120deg, var(--gold), var(--champ));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.speed-unit { font-size: 0.46em; font-family: var(--font-jp); vertical-align: 0.1em; letter-spacing: 0.02em; }
.speed-sub { font-size: 22px; margin-bottom: 12px; }
.speed-col--before .speed-sub { color: var(--text-faint); }
.speed-col--after .speed-sub { color: var(--text-mid); }
.speed-goal { font-size: 26px; font-weight: 800; }
.speed-col--before .speed-goal { color: var(--text-mid); }
.speed-col--after .speed-goal { color: var(--text); }
.speed-vs {
  font-family: var(--font-num);
  font-size: 35px;
  font-weight: 700;
  color: var(--gold);
  text-align: center;
}
.speed-highlight-box {
  background: rgba(216,178,90,0.08);
  border: 1px solid rgba(216,178,90,0.3);
  border-radius: 12px;
  padding: 20px 24px;
  font-size: 22px;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 20px;
}
.speed-highlight-box strong { color: var(--gold-light); }
.speed-highlight-box .font-large {font-size:140%}


/* short examples */
.short-examples { margin-top: 24px; }
.short-examples-label {
  font-size: 19px;
  font-weight: 700;
  color: var(--text-mid);
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}
.short-example-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.short-example-item {
  background: rgba(216,178,90,0.06);
  border: 1px solid rgba(216,178,90,0.28);
  border-radius: 10px;
  padding: 16px;
  text-decoration: none;
  text-align: center;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.short-example-item:hover {
  background: rgba(216,178,90,0.14);
  border-color: rgba(216,178,90,0.55);
  transform: translateY(-2px);
}
.short-ex-name {
  font-size: 21px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.short-ex-year {
  font-family: var(--font-num);
  font-size: 19px;
  color: var(--text-dim);
  margin-bottom: 10px;
}
.short-ex-subs {
  font-family: var(--font-num);
  font-size: 48px;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
}
.short-ex-subs span {
  font-size: 22px;
  font-weight: 600;
  color: var(--gold);
}

.data-source-note {
  margin-top: 48px;
  padding: 16px 24px;
  background: rgba(255,255,255,0.02);
  border-radius: 8px;
  font-size: 19px;
  color: var(--text-faint);
  line-height: 1.7;
  text-align: center;
}

/* section CTA block */
.section-cta-block {
  text-align: center;
  margin-top: 56px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}
.section-cta-block .hero-cta-microcopy { color: var(--text-dim); }

/* ===== PAIN SECTION ===== */
.pain {
  background-color: #111009;
  background-image: linear-gradient(rgba(10,10,9,0.68), rgba(10,10,9,0.68)), url('images/2.jpg');
  background-size: auto, cover;
  background-position: center;
  background-blend-mode: normal, luminosity;
}
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.pain-card {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 36px 28px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  position: relative;
  overflow: hidden;
  border-top: 3px solid var(--gold);
}
.pain-card::before {
  content: '?';
  position: absolute;
  top: -18px; right: 18px;
  font-family: var(--font-num);
  font-size: 208px;
  font-weight: 700;
  color: rgba(216,178,90,0.07);
  line-height: 1;
}
.pain-icon {
  font-family: var(--font-num);
  font-size: 64px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 16px;
}
.pain-card-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.5;
}
.pain-card-body {
  font-size: 22px;
  color: var(--text-mid);
  line-height: 1.8;
}
.pain-lead {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 48px;
  padding: 24px 32px;
  background: linear-gradient(135deg, rgba(216,178,90,0.12), rgba(216,178,90,0.03));
  border: 1px solid rgba(216,178,90,0.3);
  border-radius: 12px;
  color: var(--text);
}
.pain-lead-icon { font-size: 45px; flex-shrink: 0; color: var(--gold); }
.pain-lead-text {
  font-size: clamp(24px, 2.4vw, 29px);
  font-weight: 700;
  line-height: 1.5;
}
.pain-lead-text span { color: var(--gold-light); }

/* ===== WHAT IS KT ===== */
.what { background: var(--ink); }
.what-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 60px;
}
.what-text h3 {
  font-size: clamp(32px, 4vw, 45px);
  font-weight: 900;
  color: var(--text);
  margin-bottom: 20px;
  line-height: 1.4;
}
.what-text p {
  font-size: 24px;
  color: var(--text-mid);
  line-height: 1.9;
  margin-bottom: 16px;
}
.what-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 32px;
  margin: 20px 0 24px;
}
.what-point-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.what-point-num {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
  font-family: var(--font-num);
  font-size: 58px;
  font-weight: 700;
  color: var(--gold);
}
.what-point-num span {
  font-family: var(--font-jp);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  margin-bottom: 1px;
  text-transform: uppercase;
}
.what-point-text {
  font-size: clamp(22px, 2.4vw, 26px);
  color: var(--text);
  line-height: 1.5;
  padding-top: 14px;
}
.what-point-text strong { font-weight: 800; color: var(--gold-light); }
.what-laptop {
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ecosystem diagram — inline SVG; sizes are in SVG user units, immune to CSS font-size cascade */
.ecosystem-diagram {
  display: block;
  width: 540px;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

/* ===== FEATURES / STRENGTH ===== */
.features {
  background-color: #111009;
  background-image: linear-gradient(rgba(10,10,9,0.68), rgba(10,10,9,0.68)), url('images/3.jpg');
  background-size: auto, cover;
  background-position: center;
  background-blend-mode: normal, luminosity;
}
.features .section-title { color: var(--text); }
.features .section-lead { color: var(--text-mid); }
.features .section-eyebrow { color: var(--gold-light); }
.strength-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.strength-card {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px 24px 28px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 16px rgba(0,0,0,0.3);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.strength-card:hover {
  transform: translateY(-4px);
  border-color: rgba(216,178,90,0.35);
  box-shadow: 0 14px 36px rgba(0,0,0,0.45);
}
.strength-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}
.strength-num {
  font-family: var(--font-num);
  font-size: 90px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: -0.01em;
  line-height: 1;
  opacity: 0.85;
}
.strength-title {
  font-size: clamp(27px, 2.88vw, 32px);
  font-weight: 900;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 14px;
}
.strength-body {
  font-size: 21px;
  color: var(--text-mid);
  line-height: 1.8;
  flex: 1;
  margin-bottom: 20px;
}
.strength-bar {
  height: 6px;
  background: rgba(255,255,255,0.07);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 8px;
}
.strength-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold), var(--gold-light));
  border-radius: 3px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s cubic-bezier(.2,.7,.2,1);
}
.strength-bar-fill--gold {
  background: linear-gradient(90deg, var(--gold), var(--champ));
}
.strength-card.is-visible .strength-bar-fill { transform: scaleX(1); }
.strength-bar-label {
  font-size: 18px;
  color: var(--text-dim);
  font-weight: 600;
}

/* ===== USECASE ===== */
.usecase { background: var(--ink); }
.usecase-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 56px;
}
.usecase-item {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
}
.usecase-item:hover {
  box-shadow: 0 10px 32px rgba(0,0,0,0.4);
  border-color: rgba(216,178,90,0.3);
  transform: translateY(-2px);
}
.usecase-step {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--gold-deep), var(--gold-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #14110A;
  font-family: var(--font-num);
  font-size: 38px;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(216,178,90,0.3);
}
.usecase-text h4 {
  font-size: 26px;
  font-weight: 800;
  color: var(--text);
  margin-top: 0.0rem;
}
.usecase-text p {
  font-size: 22px;
  color: var(--text-mid);
  line-height: 1.8;
}

/* ===== LOGO STATIC ===== */
/* client logos are dark artwork → keep them on a light panel so they read on black */
.logo-static {
  padding: 56px 0;
  background-color: #111009;
  background-image: linear-gradient(rgba(10,10,9,0.68), rgba(10,10,9,0.68)), url('images/4.jpg');
  background-size: auto, cover;
  background-position: center;
  background-blend-mode: normal, luminosity;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.logo-slider-label {
  text-align: center;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-bottom: 24px;
}
.logo-static-wrap {
  max-width: 1000px;
  margin: 0 auto;
  padding: 28px 32px;
  /* background: #FBFAF6; */
  background:white;
  border: 1px solid rgba(216,178,90,0.25);
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.35);
}
.logo-static-wrap img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}
/* logo-static-wrap mobile padding → consolidated in @media (max-width: 768px) below */

/* ===== VOICE ===== */
.voice { background: var(--ink); }
.voice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.voice-card {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
}
.voice-card .voice-person { margin-top: auto; }
.voice-tag-row { margin-bottom: 14px; }
.voice-tag {
  background: rgba(216,178,90,0.12);
  color: var(--gold-light);
  font-size: 18px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.05em;
}
.voice-text {
  font-size: 22px;
  color: var(--text);
  line-height: 1.9;
  margin-bottom: 20px;
  font-style: italic;
}
.voice-text::before { content: '“'; color: var(--gold); font-size: 32px; }
.voice-text::after  { content: '”'; color: var(--gold); font-size: 32px; }
.voice-case-body {
  font-size: 21px;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 16px;
}
.text-navy { color: var(--gold-light); }
.voice-person {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.voice-avatar {
  width: 80px; height: 40px;
  border-radius: 6px;
  background: #FBFAF6;          /* light chip so dark client logos stay visible */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  border: 1px solid rgba(216,178,90,0.25);
}
.voice-avatar--large { width: 120px; height: 40px; }
.voice-avatar--large img { max-width: 114px; max-height: 36px; }
.voice-avatar img {
  max-width: 76px;
  max-height: 36px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.voice-name {
  font-size: 21px;
  font-weight: 700;
  color: var(--text);
}
.voice-role {
  font-size: 18px;
  color: var(--text-dim);
}
.cases-more-wrap { text-align: center; margin-top: 40px; }
.cases-more-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-light);
  font-size: 22px;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid rgba(216,178,90,0.4);
  padding-bottom: 4px;
  transition: color 0.2s, border-color 0.2s;
}
.cases-more-link:hover { color: var(--champ); border-color: var(--gold); }

/* ===== FOOTER ===== */
footer {
  background: #060608;
  padding: 48px 40px;
  padding-bottom: calc(48px + env(safe-area-inset-bottom));
  padding-left: calc(40px + env(safe-area-inset-left));
  padding-right: calc(40px + env(safe-area-inset-right));
  text-align: center;
  border-top: 1px solid rgba(216,178,90,0.15);
}
.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
}
.footer-logo-link {
  display: inline-block;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.footer-logo-link:hover { opacity: 1; }
.footer-logo-icon {
  width: 28px; height: 28px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-logo-icon::after {
  content: '▶';
  color: #14110A;
  font-size: 18px;
  margin-left: 2px;
}
.footer-logo-text {
  color: var(--text);
  font-size: 26px;
  font-weight: 700;
}
.footer-eviry {
  color: var(--gold);
  font-size: 19px;
  margin-bottom: 8px;
}
.footer-copy {
  color: var(--text-dim);
  font-size: 19px;
}
.footer-disclaimer {
  color: var(--text-faint);
  font-size: 16px;
  line-height: 1.8;
  max-width: 720px;
  margin: 20px auto 0;
  text-align: left;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

/* ===== ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.timeline-step.is-visible .timeline-dot { animation: dotPop 0.6s cubic-bezier(.2,1.3,.4,1) both; }

@keyframes sheen {
  0%, 60%  { left: -120%; }
  100%     { left: 130%; }
}

/* hero text wipe-in from bottom */
@keyframes textReveal {
  from { clip-path: inset(0 0 105% 0); transform: translateY(14px); opacity: 0; }
  8%   { opacity: 1; }
  to   { clip-path: inset(0 0 -5% 0);  transform: translateY(0);    opacity: 1; }
}

/* gold ring expanding outward */
@keyframes heroRing {
  0%   { transform: scale(0.35); opacity: 0.65; }
  100% { transform: scale(3.2);  opacity: 0; }
}

/* confetti with lateral arc drift */
@keyframes confetti {
  0%   { opacity: 0; transform: translateY(0)     translateX(0)                  rotate(0deg); }
  6%   { opacity: 0.9; }
  50%  {              transform: translateY(54vh)  translateX(var(--dx))          rotate(260deg); }
  92%  { opacity: 0.9; }
  100% { opacity: 0; transform: translateY(108vh) translateX(calc(var(--dx)*2)) rotate(550deg); }
}

@keyframes dotPop {
  0%   { transform: scale(0.4); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
@keyframes scrollHintPill {
  0%   { opacity: 0; transform: translate(-50%, -50%) scale(0.9); }
  15%  { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  70%  { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-confetti,
  .hero-rings,
  .header-cta::after,
  .hero-cta-special::after { display: none; }
  .hero-thank-you, .hero-logo-img, .hero-headline, .hero-plan-box, .hero-cta-wrap {
    animation: none !important;
    opacity: 1 !important;
    clip-path: none !important;
    transform: none !important;
  }
  .fade-in,
  .year-bar-fill,
  .strength-bar-fill,
  .timeline-step.is-visible .timeline-dot {
    transition: none !important;
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ===== TOUCH / TAP ===== */
.tab-btn,
.header-cta,
.hero-cta-main,
.era-channel-link,
.short-example-item,
.cases-more-link {
  -webkit-tap-highlight-color: transparent;
}

/* ===== RESPONSIVE — 3 tiers: ≤1024 / ≤768 / ≤480 ===== */

@media (max-width: 1024px) {
  :root { --header-h: 130px; --logo-h: 110px; }
  section { padding: 80px 40px; }
  .anniversary-nums { gap: 32px; padding: 36px; }
  .pain-grid { grid-template-columns: minmax(0, 1fr); }
  .era-grid { grid-template-columns: minmax(0, 1fr); }
  .what-visual { grid-template-columns: minmax(0, 1fr); }
  .strength-grid { grid-template-columns: minmax(0, 1fr); max-width: 600px; margin-left: auto; margin-right: auto; }
  .usecase-list { grid-template-columns: minmax(0, 1fr); }
  .voice-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 768px) {
  :root { --header-h: 96px; --logo-h: 72px; }
  section { padding: 64px 20px; }
  .hero { padding: calc(var(--header-h) + 76px + env(safe-area-inset-top)) 20px 60px; }

  /* layout → single column */
  .pain-grid { grid-template-columns: minmax(0, 1fr); }
  .what-visual { grid-template-columns: minmax(0, 1fr); }
  .usecase-list { grid-template-columns: minmax(0, 1fr); }
  .voice-grid { grid-template-columns: minmax(0, 1fr); }
  .strength-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .what-points { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .short-example-grid { grid-template-columns: 1fr; }
  .speed-compare { grid-template-columns: 1fr; }
  .speed-vs { display: none; }
  .era-grid { grid-template-columns: minmax(0, 1fr); }
  .year-bar-chart { min-width: 0; }
  .year-bar-label { font-size: 14px; }

  /* header & nav */
  .site-header { padding: 12px 20px; }
  .header-cta { padding: 8px 14px; font-size: 19px; }
  .header-logo-img-kt { max-width: 320px; }
  .tab-btn { font-size: 15px; padding: 16px 8px; min-height: 52px; }

  /* hero */
  .hero-plan-box { padding: 16px; width: 100%; }
  .hero-plan-reason { padding: 0 16px; }

  /* timeline */
  .milestone-timeline { overflow-x: visible; padding: 0; margin: 40px auto; max-width: 420px; display: flex; justify-content: center; }
  .timeline-steps { flex-direction: column; align-items: flex-start; gap: 0; min-width: 0; padding: 0; width: 100%; background: none; }
  .timeline-step { flex-direction: row; align-items: center; max-width: 100%; width: 100%; gap: 16px; padding: 0 0 24px 0; position: relative; }
  .timeline-step::before,
  .timeline-step::after { content: ''; position: absolute; left: 21px; width: 2px; z-index: 0; background: var(--gold); }
  .timeline-step::before { top: 0; height: 50%; }
  .timeline-step::after { top: 50%; bottom: 0; }
  .timeline-step:first-child::before { display: none; }
  .timeline-step:last-child::after { display: none; }
  .timeline-step:last-child { padding-bottom: 0; }
  .timeline-dot { width: 44px; height: 44px; font-size: 29px; flex-shrink: 0; position: relative; z-index: 1; }
  .timeline-year { font-size: 26px; min-width: 3.5em; }
  .timeline-label { font-size: 21px; text-align: left; }

  /* other sections */
  .anniversary-nums { flex-direction: column; align-items: center; gap: 24px; padding: 28px 20px; }
  .ecosystem-diagram { width: 320px; }
  .logo-static-wrap { padding: 18px; margin: 0 16px; }
  footer { padding: 36px 20px; }

  /* PDCA */
  .pdca-cycle { flex-direction: column; align-items: center; }
  .pdca-arrow { transform: rotate(90deg); padding: 4px 0; }
  .pdca-item { max-width: 100%; width: 100%; }
}

@media (max-width: 480px) {
  :root { --header-h: 64px; }
  .site-header { padding: 8px 12px; gap: 8px; }
  .header-logo-img-kt { max-width: 160px; height: auto; }
  .header-cta { font-size: 15px; padding: 6px 10px; line-height: 1.15; white-space: normal; text-align: center; max-width: 48vw; }
  .tab-btn { font-size: 13px; padding: 10px 2px; overflow: hidden; text-overflow: ellipsis; }
  .hero { padding-top: calc(var(--header-h) + 36px + env(safe-area-inset-top)); padding-left: 16px; padding-right: 16px; }
  .hero-thank-you { font-size: 13px; padding: 7px 16px; }
  .hero-headline { font-size: clamp(26px, 7vw, 36px); }
  .hero-cta-main { padding: 14px 24px; font-size: 24px; }
  .hero-plan-box { padding: 16px; width: 100%; }
  .hero-plan-box nobr { white-space: normal; }
  .hero-plan-reason { padding: 0; }
  section { padding: 56px 16px; }
  .pain-lead { flex-direction: column; gap: 10px; padding: 18px 16px; }
  .what-visual { gap: 32px; }
  .ecosystem-diagram { width: 100%; }
  .usecase-item { padding: 20px; gap: 14px; }
  .anniversary-nums { padding: 24px 16px; gap: 20px; }
.short-example-grid { grid-template-columns: 1fr; }
  .year-bar-chart { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .year-bar { min-width: 28px; }
  .voice-card { padding: 24px 18px; }
  .voice-avatar { width: 50px; height: 30px; }
  .voice-avatar--large { width: 70px; height: 30px; }
  .voice-avatar img { max-width: 46px; max-height: 26px; }
  .voice-avatar--large img { max-width: 64px; max-height: 26px; }
  .logo-static-wrap { padding: 14px; }
  .hero-logo-wrap { width: 100%; }
  .hero-logo-img { width: 100% !important; }
  .data-block-header { flex-direction: column; gap: 10px; }
  .section-cta-block { margin-top: 36px; padding-top: 32px; }
}

/* ===== LANDSCAPE (short screens) ===== */
@media (orientation: landscape) and (max-height: 500px) {
  .site-header { position: static; }
  .tab-nav { position: static; top: auto; }
  .hero { padding-top: 24px; padding-left: 6vw; padding-right: 6vw; }
  section { padding-left: 6vw; padding-right: 6vw; }
  html { scroll-padding-top: 0; }
}

/* ===== smp-only line break ===== */
@media (min-width: 769px) {
  .smp-br { display: none; }
}
