/* ==============================================
   ashimiru — Design System v3
   
   Design references:
   - feetindesign.jp: Dark hero, premium product feel, 
     medical credibility with doctor endorsements
   - Clean medical trust: white base + blue accents
   - 3D scan video: Dark bg for maximum data impact
   ============================================== */

/* ---------- Variables ---------- */
:root {
  --white: #FFFFFF;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;
  --dark: #0A0E18;
  --dark-card: #121620;
  --dark-lighter: #1A1F2E;

  --blue: #2563EB;
  --blue-light: #3B82F6;
  --blue-dark: #1D4ED8;
  --blue-50: #EFF6FF;
  --blue-100: #DBEAFE;

  --font: 'Noto Sans JP', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-en: 'Inter', 'Noto Sans JP', sans-serif;

  --header-h: 72px;
  --max-w: 1120px;
  --ease: cubic-bezier(.4,0,.2,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.8;
  color: var(--gray-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- Utility ---------- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.br-pc { display: none; }
.br-sp { display: inline; }
@media(min-width:768px) { .br-pc { display: inline; } .br-sp { display: none; } }

/* ==============================================
   HEADER
   ============================================== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--header-h);
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gray-100);
  transition: background .4s var(--ease), box-shadow .3s, border-color .4s;
}
.header.is-dark {
  background: rgba(10,14,24,.72);
  border-bottom-color: rgba(255,255,255,.05);
}
.header.scrolled { box-shadow: 0 1px 12px rgba(0,0,0,.08); }
.header.scrolled:not(.is-dark) {
  background: rgba(255,255,255,.95);
}

.header-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}

.logo {
  display: flex; align-items: center;
  transition: opacity .3s;
}
.logo:hover { opacity: .8; }
.logo-img {
  height: 34px; width: auto;
  display: block;
}
/* Blue logo visible by default, white hidden */
.logo-img--blue { display: block; }
.logo-img--white { display: none; }
/* Dark mode: swap to white logo */
.header.is-dark .logo-img--blue { display: none; }
.header.is-dark .logo-img--white { display: block; }

/* Footer logo */
.logo--footer .logo-img {
  height: 28px;
  opacity: .65;
}

.nav { display: none; align-items: center; gap: 28px; }
.nav-link {
  font-size: .8125rem; font-weight: 500; color: var(--gray-500);
  transition: color .2s; white-space: nowrap;
  position: relative;
}
.nav-link::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 1.5px; background: var(--blue); transform: scaleX(0);
  transition: transform .25s var(--ease); transform-origin: center;
}
.nav-link:hover::after { transform: scaleX(1); }
.nav-link:hover { color: var(--blue); }
.header.is-dark .nav-link { color: rgba(255,255,255,.55); }
.header.is-dark .nav-link:hover { color: var(--white); }
.header.is-dark .nav-link::after { background: var(--white); }

.nav-cta {
  font-size: .8125rem; font-weight: 500; color: var(--blue);
  padding: .5rem 1.25rem; border: 1.5px solid var(--blue);
  border-radius: 100px; transition: all .25s var(--ease);
}
.nav-cta:hover { background: var(--blue); color: var(--white); }
.header.is-dark .nav-cta { color: var(--white); border-color: rgba(255,255,255,.3); }
.header.is-dark .nav-cta:hover { background: var(--white); color: var(--dark); }

@media(min-width:960px) { .nav { display: flex; } .hamburger { display: none!important; } }

/* Hamburger */
.hamburger {
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  width: 44px; height: 44px; background: none; border: none; cursor: pointer; gap: 5px;
}
.hamburger span { display: block; width: 22px; height: 2px; background: var(--gray-700); border-radius: 2px; transition: all .25s; }
.header.is-dark .hamburger span { background: var(--white); }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translateY(5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translateY(-5px); }

.nav.mobile-open {
  display: flex; flex-direction: column;
  position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,.98); backdrop-filter: blur(20px);
  padding: 48px 24px; gap: 24px; z-index: 999;
  animation: fadeDown .25s ease;
}
.nav.mobile-open .nav-link { font-size: 1.0625rem; padding: 6px 0; }
.nav.mobile-open .nav-link::after { display: none; }
.nav.mobile-open .nav-cta { text-align: center; margin-top: 12px; padding: .75rem 2rem; }
@keyframes fadeDown { from{opacity:0;transform:translateY(-8px)} to{opacity:1;transform:translateY(0)} }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font); font-size: .9375rem; font-weight: 500;
  padding: .875rem 2rem; border-radius: 100px; border: none; cursor: pointer;
  transition: all .3s var(--ease); white-space: nowrap;
}
.btn--primary { background: var(--blue); color: var(--white); box-shadow: 0 2px 16px rgba(37,99,235,.2); }
.btn--primary:hover { background: var(--blue-dark); box-shadow: 0 6px 24px rgba(37,99,235,.3); transform: translateY(-2px); }
.btn--white { background: var(--white); color: var(--dark); box-shadow: 0 2px 12px rgba(0,0,0,.12); }
.btn--white:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,.18); }
.btn--outline { background: transparent; color: rgba(255,255,255,.8); border: 1.5px solid rgba(255,255,255,.25); }
.btn--outline:hover { border-color: var(--white); color: var(--white); background: rgba(255,255,255,.06); }
.btn--lg { font-size: 1rem; padding: 1rem 2.75rem; }

/* ==============================================
   SECTION BASE
   ============================================== */
.section { padding: 96px 0; }
@media(min-width:768px) { .section { padding: 128px 0; } }

.sec-head { text-align: center; margin-bottom: 56px; }
.sec-en {
  font-family: var(--font-en); font-size: .72rem; font-weight: 500;
  color: var(--blue); letter-spacing: .14em; text-transform: uppercase;
  display: block; margin-bottom: 10px;
}
.sec-en--light { color: rgba(255,255,255,.35); }
.sec-title { font-size: 1.625rem; font-weight: 700; color: var(--gray-900); line-height: 1.5; margin-bottom: 20px; }
.sec-title--left { text-align: left; }
.sec-lead { font-size: .9375rem; color: var(--gray-500); line-height: 1.9; max-width: 640px; margin: 0 auto; }
@media(min-width:768px) { .sec-title { font-size: 2rem; } .sec-lead { font-size: 1rem; } }

/* ==============================================
   HERO — Dark bg x 3D Video (feetindesign-inspired)
   ============================================== */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100dvh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  background: var(--dark);
}

.hero-video-wrap {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}

.hero-video {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .5;
  filter: brightness(.85) contrast(1.05);
}

@media(min-width:768px) {
  .hero-video {
    width: auto; height: auto;
    min-width: 55%; min-height: 55%;
    max-width: 80%; max-height: 80%;
    object-fit: contain;
    opacity: .4;
    position: absolute;
    right: -8%;
    top: 50%; transform: translateY(-50%);
  }
}

.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    145deg,
    rgba(10,14,24,.94) 0%,
    rgba(10,14,24,.7) 40%,
    rgba(10,14,24,.55) 65%,
    rgba(10,14,24,.8) 100%
  );
  pointer-events: none;
}
@media(min-width:768px) {
  .hero-overlay {
    background: linear-gradient(
      105deg,
      rgba(10,14,24,.96) 0%,
      rgba(10,14,24,.88) 30%,
      rgba(10,14,24,.3) 60%,
      rgba(10,14,24,.45) 100%
    );
  }
}

.hero-content {
  position: relative; z-index: 2;
  max-width: var(--max-w); width: 100%;
  padding: calc(var(--header-h) + 48px) 24px 100px;
}
@media(min-width:768px) {
  .hero-content {
    padding: calc(var(--header-h) + 72px) 24px 120px;
    max-width: 600px;
    margin-right: auto;
    margin-left: max(24px, calc((100vw - var(--max-w))/2));
  }
}

.hero-label {
  font-family: var(--font-en); font-size: .72rem; font-weight: 500;
  color: rgba(255,255,255,.35); letter-spacing: .15em; text-transform: uppercase;
  margin-bottom: 28px;
}

.hero-title {
  font-size: 2rem; font-weight: 700; line-height: 1.55; color: var(--white);
  margin-bottom: 24px;
}
.hero-accent { color: var(--blue-light); }
@media(min-width:768px) { .hero-title { font-size: 2.75rem; } }
@media(min-width:1024px) { .hero-title { font-size: 3.125rem; line-height: 1.45; } }

.hero-sub { font-size: .9375rem; color: rgba(255,255,255,.55); line-height: 1.9; margin-bottom: 44px; }
@media(min-width:768px) { .hero-sub { font-size: 1.0625rem; } }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Scroll hint */
.hero-scroll-hint {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px; z-index: 2;
}
.hero-scroll-hint span { font-family: var(--font-en); font-size: .6rem; color: rgba(255,255,255,.25); letter-spacing: .14em; text-transform: uppercase; }
.scroll-line { width: 1px; height: 48px; background: rgba(255,255,255,.1); position: relative; overflow: hidden; }
.scroll-line::after {
  content: ''; position: absolute; top: -48px; left: 0; width: 100%; height: 48px;
  background: rgba(255,255,255,.5);
  animation: scrollAnim 2.4s ease-in-out infinite;
}
@keyframes scrollAnim { 0%{transform:translateY(0)} 100%{transform:translateY(96px)} }

/* ==============================================
   EMPATHY
   ============================================== */
.sec-empathy { background: var(--gray-50); }

.concern-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-bottom: 48px; }
@media(min-width:768px) { .concern-grid { grid-template-columns: repeat(2,1fr); gap: 20px; } }

.concern {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: 12px; padding: 28px 24px; transition: all .3s var(--ease);
}
.concern:hover { border-color: var(--blue-100); box-shadow: 0 4px 20px rgba(0,0,0,.05); transform: translateY(-2px); }

.concern-icon {
  width: 42px; height: 42px; border-radius: 10px;
  background: var(--blue-50); display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.concern-icon i { font-size: 1rem; color: var(--blue); }

.concern h3 { font-size: .975rem; font-weight: 600; color: var(--gray-800); line-height: 1.65; margin-bottom: 8px; }
.concern p { font-size: .84rem; color: var(--gray-500); line-height: 1.8; }

.empathy-close {
  text-align: center; font-size: .9375rem; color: var(--gray-700); line-height: 1.9;
  padding-top: 28px; border-top: 1px solid var(--gray-200);
}

/* ==============================================
   ABOUT / PHILOSOPHY
   ============================================== */
.philosophy-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 56px; }

.philo { display: flex; gap: 24px; align-items: flex-start; }
.philo-num {
  font-family: var(--font-en); font-size: 2.5rem; font-weight: 700;
  color: var(--blue-100); line-height: 1; flex-shrink: 0; min-width: 56px;
}
@media(min-width:768px) { .philo-num { font-size: 3.5rem; min-width: 80px; } }

.philo-body h3 { font-size: 1.1rem; font-weight: 600; color: var(--gray-900); margin-bottom: 12px; line-height: 1.55; }
@media(min-width:768px) { .philo-body h3 { font-size: 1.25rem; } }
.philo-body p { font-size: .9375rem; color: var(--gray-600); line-height: 1.9; margin-bottom: 12px; }
.philo-body p:last-child { margin-bottom: 0; }

/* ==============================================
   3D SCAN SHOWCASE — Dark cinematic section
   ============================================== */
.sec-scan {
  background: var(--dark);
  color: var(--white);
  padding: 0;
  overflow: hidden;
}

.scan-inner {
  display: grid; grid-template-columns: 1fr;
  min-height: 520px;
}
@media(min-width:768px) {
  .scan-inner { grid-template-columns: 1.1fr .9fr; min-height: 640px; }
}

.scan-video-area {
  display: flex; align-items: center; justify-content: center;
  background: var(--dark);
  padding: 48px 24px;
  position: relative;
  overflow: hidden;
}
@media(min-width:768px) { .scan-video-area { padding: 56px; } }

.scan-video {
  width: 100%; max-width: 500px;
  border-radius: 8px;
  filter: brightness(1.05) contrast(1.02);
}

/* Data overlay on video — 3 items vertical stack */
.scan-data-overlay {
  position: absolute;
  bottom: 20px; right: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
@media(min-width:768px) {
  .scan-data-overlay {
    bottom: auto; top: 50%; right: 28px;
    transform: translateY(-50%);
    gap: 10px;
  }
}

.scan-data-item {
  background: rgba(10,14,24,.72);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 8px;
  padding: 10px 18px;
  text-align: center;
  min-width: 120px;
}
@media(min-width:768px) { .scan-data-item { padding: 12px 22px; min-width: 140px; } }

.scan-data-label {
  display: block;
  font-size: .6rem; font-weight: 500;
  color: rgba(255,255,255,.4); letter-spacing: .04em;
  margin-bottom: 2px; white-space: nowrap;
}
.scan-data-val {
  font-family: var(--font-en); font-size: 1.1rem; font-weight: 600;
  color: var(--blue-light); white-space: nowrap;
}
.scan-data-val small { font-size: .65rem; color: rgba(255,255,255,.35); margin-left: 1px; }
@media(min-width:768px) { .scan-data-val { font-size: 1.25rem; } }

.scan-text-area {
  display: flex; flex-direction: column; justify-content: center;
  padding: 48px 24px;
}
@media(min-width:768px) { .scan-text-area { padding: 72px 56px; } }

.scan-title {
  font-size: 1.625rem; font-weight: 700; line-height: 1.55;
  color: var(--white); margin-bottom: 20px;
}
@media(min-width:768px) { .scan-title { font-size: 2rem; } }

.scan-desc { font-size: .9375rem; color: rgba(255,255,255,.55); line-height: 1.9; margin-bottom: 28px; }

.scan-features { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.scan-features li {
  display: flex; align-items: center; gap: 10px;
  font-size: .875rem; color: rgba(255,255,255,.65);
}
.scan-features li i { color: var(--blue-light); font-size: .72rem; flex-shrink: 0; }

/* ==============================================
   SERVICE STEPS
   ============================================== */
.sec-service { background: var(--gray-50); }

.steps { display: flex; flex-direction: column; gap: 20px; margin-bottom: 40px; }
@media(min-width:960px) { .steps { flex-direction: row; align-items: stretch; gap: 0; } }

.step {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: 14px; padding: 32px 24px; flex: 1;
  transition: all .3s var(--ease);
}
.step:hover { border-color: var(--blue-100); box-shadow: 0 6px 24px rgba(0,0,0,.05); transform: translateY(-2px); }

.step-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.step-num { display: flex; flex-direction: column; line-height: 1; }
.step-num span { font-family: var(--font-en); font-size: .6rem; font-weight: 600; letter-spacing: .15em; color: var(--blue); text-transform: uppercase; }
.step-num strong { font-family: var(--font-en); font-size: 2rem; font-weight: 700; color: var(--blue); }
.step-icon { width: 46px; height: 46px; border-radius: 50%; background: var(--blue-50); display: flex; align-items: center; justify-content: center; }
.step-icon i { font-size: 1.15rem; color: var(--blue); }

.step h3 { font-size: 1.05rem; font-weight: 700; color: var(--gray-900); margin-bottom: 4px; }
.step-sub { font-size: .78rem; color: var(--blue); font-weight: 500; margin-bottom: 14px; }
.step p { font-size: .84rem; color: var(--gray-600); line-height: 1.8; margin-bottom: 20px; }

.step-tags { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 16px; border-top: 1px solid var(--gray-100); }
.step-tags span { display: flex; align-items: center; gap: 6px; font-size: .75rem; color: var(--gray-500); }
.step-tags i { color: var(--blue); font-size: .68rem; }

.step-arrow { display: none; }
@media(min-width:960px) {
  .step-arrow { display: flex; align-items: center; justify-content: center; width: 40px; flex-shrink: 0; color: var(--gray-300); font-size: .8rem; }
}

.steps-note { text-align: center; font-size: .78rem; color: var(--gray-500); }
.steps-note i { color: var(--blue); margin-right: 4px; }

/* ==============================================
   ORTHOTICS SHOWCASE — Product Gallery
   Inspired by feetindesign.jp product visuals
   ============================================== */
.sec-orthotics { background: var(--white); }

.ortho-gallery {
  display: grid; grid-template-columns: 1fr; gap: 28px;
}
@media(min-width:768px) { .ortho-gallery { grid-template-columns: repeat(3,1fr); gap: 28px; } }

.ortho-card {
  border-radius: 14px; overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: all .4s var(--ease);
  background: var(--white);
}
.ortho-card:hover { box-shadow: 0 12px 40px rgba(0,0,0,.08); transform: translateY(-4px); border-color: var(--gray-100); }

.ortho-img-wrap {
  position: relative; overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--gray-50);
}
.ortho-img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s var(--ease);
}
.ortho-card:hover .ortho-img { transform: scale(1.04); }

.ortho-info { padding: 24px 20px; }
.ortho-info h3 { font-size: 1rem; font-weight: 600; color: var(--gray-800); margin-bottom: 8px; line-height: 1.5; }
.ortho-info p { font-size: .84rem; color: var(--gray-500); line-height: 1.8; }

/* ==============================================
   VALUE
   ============================================== */
.sec-value { background: var(--gray-50); }

.value-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media(min-width:768px) { .value-grid { grid-template-columns: repeat(3,1fr); gap: 32px; } }

.value-card {
  text-align: center; padding: 32px 20px;
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: 14px;
  transition: all .3s var(--ease);
}
.value-card:hover { border-color: var(--blue-100); box-shadow: 0 4px 20px rgba(0,0,0,.05); transform: translateY(-2px); }

.value-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--blue-50); display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.value-icon i { font-size: 1.25rem; color: var(--blue); }
.value-card h3 { font-size: 1.0625rem; font-weight: 600; color: var(--gray-800); line-height: 1.6; margin-bottom: 12px; }
.value-card p { font-size: .84rem; color: var(--gray-600); line-height: 1.8; }

/* ==============================================
   RESULTS — Photo Gallery
   ============================================== */
.sec-results { background: var(--white); }

.results-gallery {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 16px;
}
@media(min-width:768px) {
  .results-gallery { grid-template-columns: repeat(4,1fr); gap: 20px; }
}

.results-card {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  background: var(--white);
  transition: all .4s var(--ease);
}
.results-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,.08);
  transform: translateY(-4px);
  border-color: var(--gray-100);
}

.results-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--gray-50);
}
.results-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.results-card:hover .results-img { transform: scale(1.04); }

/* Results — Before/After Chart */
.results-data {
  margin-top: 64px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 40px 28px;
}
@media(min-width:768px) { .results-data { padding: 48px 40px; } }

.results-data-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gray-900);
  text-align: center;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.results-data-title i { color: var(--blue); font-size: 1rem; }
@media(min-width:768px) { .results-data-title { font-size: 1.3rem; } }

.results-data-sub {
  font-size: .78rem;
  color: var(--gray-400);
  text-align: center;
  margin-bottom: 36px;
}

.chart-list { display: flex; flex-direction: column; gap: 28px; max-width: 720px; margin: 0 auto; }

.chart-row {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 20px;
  transition: all .3s var(--ease);
}
.chart-row:hover { border-color: var(--blue-100); box-shadow: 0 4px 16px rgba(0,0,0,.04); }

.chart-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.chart-name {
  font-size: .9rem;
  font-weight: 600;
  color: var(--gray-800);
}
.chart-change {
  font-family: var(--font-en);
  font-size: .82rem;
  font-weight: 600;
  color: #059669;
  background: #ECFDF5;
  padding: 3px 10px;
  border-radius: 100px;
  white-space: nowrap;
}
.chart-change i { font-size: .65rem; margin-right: 2px; }

.chart-bars { display: flex; flex-direction: column; gap: 8px; }

.chart-bar-group {
  display: grid;
  grid-template-columns: 48px 1fr 42px;
  align-items: center;
  gap: 10px;
}
@media(min-width:768px) {
  .chart-bar-group { grid-template-columns: 56px 1fr 48px; }
}

.chart-tag {
  font-size: .65rem;
  font-weight: 500;
  text-align: center;
  padding: 2px 0;
  border-radius: 4px;
  white-space: nowrap;
}
.chart-tag--before { color: var(--gray-500); background: var(--gray-100); }
.chart-tag--after { color: var(--blue); background: var(--blue-50); }

.chart-track {
  height: 24px;
  background: var(--gray-100);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}

.chart-fill {
  height: 100%;
  border-radius: 6px;
  transition: width 1.2s cubic-bezier(.4,0,.2,1);
}
.chart-fill--before {
  background: linear-gradient(90deg, #F87171, #EF4444);
}
.chart-fill--after {
  background: linear-gradient(90deg, var(--blue-light), var(--blue));
}

.chart-val {
  font-family: var(--font-en);
  font-size: .82rem;
  font-weight: 600;
  color: var(--gray-500);
  text-align: right;
}
.chart-val--after { color: var(--blue); }

.results-data-note {
  text-align: center;
  font-size: .72rem;
  color: var(--gray-400);
  margin-top: 24px;
}
.results-data-note i { font-size: .5rem; vertical-align: middle; margin-right: 3px; }

/* ==============================================
   STORY
   ============================================== */
.sec-story { background: var(--gray-50); }

.story-layout { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
@media(min-width:768px) { .story-layout { grid-template-columns: 1.2fr .8fr; gap: 64px; } }

.story-text .sec-en { text-align: left; }
.story-prose { display: flex; flex-direction: column; gap: 14px; }
.story-prose p { font-size: .9375rem; color: var(--gray-600); line-height: 1.9; }

.story-quote-card {
  background: linear-gradient(135deg, var(--blue-50) 0%, #E8F0FE 100%);
  border-radius: 18px;
  padding: 48px 32px; text-align: center; max-width: 320px;
  margin: 0 auto; position: relative;
}
.story-quote-mark { font-family: Georgia, serif; font-size: 5rem; line-height: 1; color: var(--blue-100); position: absolute; top: 8px; left: 24px; }
.story-quote-text { font-size: 1.25rem; font-weight: 600; color: var(--blue-dark); line-height: 1.85; position: relative; z-index: 1; }

/* ==============================================
   CTA
   ============================================== */
.sec-cta {
  background: linear-gradient(175deg, var(--blue-50) 0%, var(--white) 50%, var(--gray-50) 100%);
  border-top: 1px solid var(--gray-100);
}
.cta-box { max-width: 640px; margin: 0 auto; text-align: center; }
.cta-title { font-size: 1.625rem; font-weight: 700; color: var(--gray-900); line-height: 1.5; margin-bottom: 24px; }
@media(min-width:768px) { .cta-title { font-size: 2rem; } }
.cta-desc { font-size: .9375rem; color: var(--gray-600); line-height: 1.9; margin-bottom: 32px; }
.cta-note { font-size: .72rem; color: var(--gray-400); margin-top: 14px; }
.cta-checks { display: flex; flex-direction: column; gap: 8px; align-items: center; margin-top: 28px; }
@media(min-width:520px) { .cta-checks { flex-direction: row; justify-content: center; gap: 24px; } }
.cta-checks span { display: flex; align-items: center; gap: 6px; font-size: .78rem; color: var(--gray-500); }
.cta-checks i { color: var(--blue); font-size: .7rem; }

/* ==============================================
   FOOTER
   ============================================== */
.footer { background: var(--gray-900); color: var(--gray-400); padding: 56px 0 24px; }
.footer-top { display: flex; flex-direction: column; gap: 28px; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.06); margin-bottom: 24px; }
@media(min-width:768px) { .footer-top { flex-direction: row; justify-content: space-between; align-items: flex-start; } }
.footer-brand p { font-size: .78rem; color: var(--gray-500); margin-top: 6px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.footer-nav a { font-size: .78rem; color: var(--gray-400); transition: color .2s; }
.footer-nav a:hover { color: var(--white); }
.footer-bottom { text-align: center; }
.footer-bottom p { font-size: .7rem; color: var(--gray-500); }

/* ==============================================
   ANIMATIONS — Intersection Observer
   ============================================== */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-d1 { transition-delay: .08s; }
.fade-in-d2 { transition-delay: .16s; }
.fade-in-d3 { transition-delay: .24s; }
.fade-in-d4 { transition-delay: .32s; }

/* ==============================================
   A11Y & REDUCED MOTION
   ============================================== */
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  .fade-in { opacity:1; transform:none; transition:none; }
  .scroll-line::after { animation: none; }
}
a:focus-visible, button:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

@media print {
  .header, .hero-scroll-hint, .hamburger, .sec-cta { display: none; }
  .hero { min-height: auto; padding: 40px 0; }
  .section { padding: 40px 0; }
}
