/* ═══════════════════════════════════════════════════════
   TRUST MANPOWER — shared stylesheet (all pages)
   ═══════════════════════════════════════════════════════ */

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

:root {
  --ink: #1d1d1f;
  --navy: #0d2b4e;
  --blue: #2563b0;
  --blue-soft: #eaf1fb;
  --warm: #faf9f7;
  --muted: #6e6e73;
  --border: #e8e8ed;
  --white: #ffffff;
  --radius: 20px;
  --radius-sm: 12px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-pop: 0 30px 80px rgba(13,43,78,0.22), 0 8px 24px rgba(13,43,78,0.12);
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }

/* ═══════════ SCROLL REVEALS ═══════════ */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  [data-parallax] img { transform: none !important; }
  .gallery-track { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ═══════════ SPOTLIGHT (3D light on cards) ═══════════ */
.spot { position: relative; overflow: hidden; }
.spot::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  opacity: 0; transition: opacity 0.45s;
  background: radial-gradient(480px circle at var(--mx, 50%) var(--my, 50%),
              rgba(37,99,176,0.10), transparent 65%);
}
.spot:hover::after { opacity: 1; }

/* ═══════════ NAV ═══════════ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(255,255,255,0.8);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 max(24px, calc((100vw - 1200px) / 2));
  transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: 0 1px 24px rgba(0,0,0,0.06); }
.nav-logo {
  font-size: 17px; font-weight: 700; color: var(--navy);
  text-decoration: none; letter-spacing: -0.3px;
  display: flex; align-items: center; gap: 10px;
}
.nav-logo img { height: 42px; width: auto; }
.nav-logo em { font-style: normal; color: var(--blue); }
.nav-links { display: flex; gap: 32px; list-style: none; align-items: center; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--muted);
  text-decoration: none; transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-cta {
  background: var(--navy); color: var(--white) !important;
  padding: 9px 20px; border-radius: 100px;
  font-size: 14px; font-weight: 600; text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.nav-cta:hover { background: var(--blue); transform: scale(1.03); }

.nav-burger {
  display: none; background: none; border: none; cursor: pointer;
  width: 40px; height: 40px;
}
.nav-burger span {
  display: block; width: 20px; height: 2px; background: var(--ink);
  margin: 5px auto; border-radius: 2px; transition: transform 0.3s, opacity 0.3s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none; position: fixed; top: 64px; left: 0; right: 0; z-index: 190;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px 28px;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block; padding: 14px 0; font-size: 17px; font-weight: 600;
  color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--border);
}

/* ═══════════ LAYOUT ═══════════ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
section { padding: 110px 0; }

.eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--blue);
  margin-bottom: 18px;
}
.title {
  font-size: clamp(32px, 4.6vw, 52px);
  font-weight: 800; letter-spacing: -1.5px;
  color: var(--ink); line-height: 1.08;
  margin-bottom: 22px;
}
.sub {
  font-size: 18px; color: var(--muted);
  line-height: 1.7; max-width: 620px;
}

/* ═══════════ BUTTONS ═══════════ */
.btn-primary {
  background: var(--navy); color: var(--white);
  padding: 16px 34px; border-radius: 100px;
  font-size: 16px; font-weight: 700; text-decoration: none;
  transition: background 0.2s, transform 0.25s var(--ease), box-shadow 0.25s;
  display: inline-block;
}
.btn-primary:hover {
  background: var(--blue); transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(13,43,78,0.25);
}
.btn-ghost {
  background: transparent; color: var(--ink);
  padding: 16px 34px; border-radius: 100px;
  border: 1.5px solid rgba(0,0,0,0.18);
  font-size: 16px; font-weight: 600; text-decoration: none;
  transition: border-color 0.2s, transform 0.25s var(--ease);
  display: inline-block;
}
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.link-arrow {
  font-size: 16px; font-weight: 600; color: var(--blue);
  text-decoration: none;
}
.link-arrow:hover { text-decoration: underline; }

/* ═══════════ HERO (home) ═══════════ */
#hero {
  padding: 170px 0 0;
  text-align: center;
  background: linear-gradient(180deg, var(--warm) 0%, var(--white) 100%);
  position: relative;
}
#hero::before {
  content: ''; position: absolute; z-index: 0;
  top: 60px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 520px;
  background: radial-gradient(ellipse at center, rgba(37,99,176,0.14), transparent 65%);
  filter: blur(20px);
  animation: glowDrift 9s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes glowDrift {
  from { transform: translateX(-56%) scale(1); opacity: 0.8; }
  to   { transform: translateX(-44%) scale(1.1); opacity: 1; }
}
#hero .container { position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-block;
  background: var(--blue-soft); color: var(--blue);
  font-size: 12px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; padding: 8px 18px;
  border-radius: 100px; margin-bottom: 30px;
}
.hero-headline {
  font-size: clamp(42px, 7vw, 84px);
  font-weight: 800; color: var(--ink);
  line-height: 1.03; letter-spacing: -2.5px;
  margin: 0 auto 26px; max-width: 950px;
}
.hero-headline em {
  font-style: normal;
  background: linear-gradient(100deg, var(--blue) 20%, #6fa8e8 40%, var(--blue) 60%);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--blue);
  animation: shimmer 5s linear infinite;
}
@keyframes shimmer { to { background-position: 200% center; } }
.hero-sub {
  font-size: clamp(17px, 2vw, 21px); color: var(--muted);
  max-width: 640px; margin: 0 auto 42px; line-height: 1.65;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-photo {
  margin: 76px auto 0;
  border-radius: 28px 28px 0 0;
  overflow: hidden;
  max-width: 1200px;
  aspect-ratio: 16 / 8;
  position: relative;
  box-shadow: 0 -20px 80px rgba(13,43,78,0.10);
}
.hero-photo img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.12); will-change: transform;
}

/* ═══════════ PAGE HERO (subpages) ═══════════ */
.page-hero {
  padding: 165px 0 75px;
  background: linear-gradient(180deg, var(--warm) 0%, var(--white) 100%);
  position: relative;
}
.page-hero::before {
  content: ''; position: absolute;
  top: 40px; left: 8%;
  width: 620px; height: 380px; max-width: 80vw;
  background: radial-gradient(ellipse at center, rgba(37,99,176,0.12), transparent 65%);
  filter: blur(18px); pointer-events: none;
}
.page-hero .container { position: relative; }
.page-hero .title { font-size: clamp(38px, 5.5vw, 64px); letter-spacing: -2px; }

/* ═══════════ STATS ═══════════ */
#stats { padding: 80px 0; background: var(--white); border-bottom: 1px solid var(--border); }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
  text-align: center;
}
.stat-num {
  font-size: clamp(40px, 5vw, 64px); font-weight: 800;
  color: var(--navy); letter-spacing: -2px; line-height: 1;
  display: block; font-variant-numeric: tabular-nums;
}
.stat-num small { font-size: 0.5em; font-weight: 700; letter-spacing: -1px; }
.stat-label {
  font-size: 14px; color: var(--muted); margin-top: 10px; display: block;
  line-height: 1.4;
}

/* ═══════════ CARD GRIDS ═══════════ */
.card-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 20px; margin-top: 60px;
}
.card {
  background: var(--white); border-radius: var(--radius);
  padding: 36px 30px; border: 1px solid var(--border);
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 24px 56px rgba(13,43,78,0.10); }
.card-icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--blue-soft); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.card-icon svg { width: 22px; height: 22px; }
.card h3 {
  font-size: 17px; font-weight: 700; color: var(--ink);
  margin-bottom: 10px; letter-spacing: -0.3px;
}
.card p { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* ═══════════ PHOTO QUOTE BREAK ═══════════ */
.photo-break {
  position: relative; height: 72vh; min-height: 480px;
  overflow: hidden; display: flex; align-items: center; justify-content: center;
  padding: 0;
}
.photo-break .pb-img { position: absolute; inset: -12% 0; }
.photo-break .pb-img img {
  width: 100%; height: 100%; object-fit: cover; will-change: transform;
}
.photo-break::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,43,78,0.55), rgba(13,43,78,0.35));
}
.photo-break blockquote {
  position: relative; z-index: 2; text-align: center;
  max-width: 820px; padding: 0 24px;
}
.photo-break blockquote p {
  font-size: clamp(28px, 4.5vw, 48px); font-weight: 800;
  color: var(--white); letter-spacing: -1.2px; line-height: 1.2;
  text-shadow: 0 4px 40px rgba(0,0,0,0.3);
}
.photo-break blockquote cite {
  display: block; margin-top: 18px; font-style: normal;
  font-size: 14px; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; color: rgba(255,255,255,0.75);
}

/* ═══════════ DIFFERENTIATORS (sticky) ═══════════ */
.diff-wrap {
  display: grid; grid-template-columns: 1fr 1fr; gap: 72px;
  margin-top: 70px; align-items: start;
}
.diff-media {
  position: sticky; top: 110px;
  height: min(72vh, 640px);
  border-radius: 24px; overflow: hidden;
  box-shadow: var(--shadow-pop);
}
.diff-media > * {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; transform: scale(1.06);
  transition: opacity 0.8s var(--ease), transform 1.2s var(--ease);
}
.diff-media img { object-fit: cover; }
.diff-media > .active { opacity: 1; transform: scale(1); }

/* food collage pane (real training dishes) */
.food-collage {
  display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr;
  gap: 8px; padding: 8px;
  background: var(--white); border-radius: inherit;
}
.food-collage img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 12px; display: block;
}
.fc-inline { display: none; }
@media (max-width: 900px) {
  .fc-inline {
    display: grid; position: static; height: 340px;
    opacity: 1; transform: none;
    border-radius: 16px; margin-bottom: 26px;
    border: 1px solid var(--border);
  }
}

/* real timetable card (built from Trust Manpower's actual schedule) */
.tt-card {
  background: linear-gradient(165deg, var(--navy) 0%, #16406e 100%);
  padding: clamp(22px, 2.5vw, 36px);
  display: flex; flex-direction: column;
  border-radius: inherit;
}
.tt-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 6px; }
.tt-brand { font-size: 15px; font-weight: 800; color: var(--white); letter-spacing: -0.2px; }
.tt-brand em { font-style: normal; color: #7eb3f8; margin-right: 6px; }
.tt-label {
  font-size: 10px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: rgba(255,255,255,0.5);
}
.tt-rows { flex: 1; display: flex; flex-direction: column; justify-content: space-evenly; margin-top: 10px; }
.tt-row {
  display: grid; grid-template-columns: 58px 1fr; gap: 14px;
  align-items: center; padding: 7px 0;
  border-bottom: 1px dashed rgba(255,255,255,0.12);
}
.tt-row:last-child { border-bottom: none; }
.tt-time { font-size: 12.5px; font-weight: 800; color: #7eb3f8; font-variant-numeric: tabular-nums; }
.tt-task { font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.92); }
.tt-task small { display: block; font-weight: 500; font-size: 11.5px; color: rgba(255,255,255,0.45); }
.tt-foot {
  margin-top: 12px; font-size: 12px; color: rgba(255,255,255,0.55);
  line-height: 1.5; border-top: 1px solid rgba(255,255,255,0.14); padding-top: 12px;
}
.tt-inline { display: none; }
.diff-texts { display: flex; flex-direction: column; }
.diff-item { padding: 11vh 0; }
.diff-item:first-child { padding-top: 4vh; }
.diff-num {
  font-size: 15px; font-weight: 800; color: var(--blue);
  letter-spacing: 2px; margin-bottom: 14px;
}
.diff-item h3 {
  font-size: clamp(26px, 3vw, 36px); font-weight: 800;
  color: var(--ink); letter-spacing: -1px; line-height: 1.15;
  margin-bottom: 18px;
}
.diff-item p { font-size: 16px; color: var(--muted); line-height: 1.75; }
.diff-item p + p { margin-top: 14px; }
.diff-item strong { color: var(--ink); font-weight: 650; }
.diff-inline-img { display: none; }

.training-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.pill {
  background: var(--blue-soft); color: var(--blue);
  font-size: 13px; font-weight: 600;
  padding: 7px 15px; border-radius: 100px;
}

/* ═══════════ FLOATING TRAINING GALLERY ═══════════ */
#gallery { background: var(--white); padding: 110px 0 130px; overflow: hidden; }
#gallery .head { text-align: center; max-width: 720px; margin: 0 auto 70px; padding: 0 24px; }
.gallery-strip { position: relative; }
.gallery-track {
  display: flex; gap: 28px; width: max-content;
  animation: marquee 45s linear infinite;
  padding: 30px 0;
  margin-inline: auto; /* centres the strip when it fits the screen */
}
.gallery-strip:hover .gallery-track { animation-play-state: paused; }
.gallery-track.reverse { animation-direction: reverse; }
@keyframes marquee { to { transform: translateX(-50%); } }
.polaroid {
  background: var(--white); border-radius: 14px;
  padding: 12px 12px 16px;
  box-shadow: 0 12px 36px rgba(13,43,78,0.12);
  width: 280px; flex-shrink: 0;
  transition: transform 0.5s var(--ease), box-shadow 0.5s;
  animation: floatY 5s ease-in-out infinite;
  cursor: default;
}
.polaroid:nth-child(odd)  { transform: rotate(-2.5deg); animation-delay: -1.2s; }
.polaroid:nth-child(even) { transform: rotate(2deg) translateY(14px); animation-delay: -2.8s; }
.polaroid:nth-child(3n)   { animation-delay: -4s; }
@keyframes floatY {
  0%, 100% { margin-top: 0; }
  50% { margin-top: -10px; }
}
.polaroid:hover {
  transform: rotate(0deg) scale(1.1);
  box-shadow: var(--shadow-pop);
  z-index: 5; position: relative;
}
.polaroid img {
  width: 100%; height: 210px; object-fit: cover; border-radius: 8px;
}
.polaroid figcaption {
  font-size: 13px; font-weight: 600; color: var(--ink);
  text-align: center; padding-top: 12px;
}

/* ═══════════ OVERSEAS (dark band) ═══════════ */
#overseas { background: var(--navy); }
#overseas .title { color: var(--white); }
#overseas .sub { color: rgba(255,255,255,0.6); }
#overseas .eyebrow { color: #7eb3f8; }
.overseas-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 20px; margin-top: 60px;
}
.overseas-card {
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius); padding: 34px 30px;
  border: 1px solid rgba(255,255,255,0.1);
}
.overseas-card .dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: #f87171; display: inline-block; margin-bottom: 18px;
}
.overseas-card h3 {
  font-size: 16px; font-weight: 700; color: rgba(255,255,255,0.92);
  margin-bottom: 12px; letter-spacing: -0.2px;
}
.overseas-card p { font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.7; }
.overseas-card.highlight {
  background: var(--white); border-color: transparent;
  box-shadow: 0 24px 64px rgba(0,0,0,0.35);
}
.overseas-card.highlight .dot { background: #34c759; }
.overseas-card.highlight h3 { color: var(--navy); }
.overseas-card.highlight p { color: var(--muted); }
.overseas-card.highlight strong { color: var(--navy); }

/* ═══════════ PHILOSOPHY SCROLLER ═══════════ */
#philosophy { background: var(--warm); overflow: hidden; }
.philo-rail {
  display: flex; gap: 24px; margin-top: 60px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 20px 4px 40px;
  scrollbar-width: none;
}
.philo-rail::-webkit-scrollbar { display: none; }
.philo-card {
  flex: 0 0 min(480px, 85vw); scroll-snap-align: center;
  background: var(--white); border-radius: 24px;
  padding: 44px 40px; border: 1px solid var(--border);
  position: relative;
  transition: transform 0.5s var(--ease), box-shadow 0.5s;
}
.philo-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-pop); }
.philo-card .num {
  font-size: 60px; font-weight: 900; color: var(--blue-soft);
  line-height: 1; letter-spacing: -3px; margin-bottom: 20px;
}
.philo-card p {
  font-size: clamp(18px, 2vw, 22px); font-weight: 650;
  color: var(--ink); letter-spacing: -0.4px; line-height: 1.45;
}
.philo-card .philo-link {
  display: inline-block; margin-top: 20px;
  font-size: 14px; font-weight: 600; color: var(--blue); text-decoration: none;
}
.philo-card .philo-link:hover { text-decoration: underline; }
.philo-nav { display: flex; gap: 12px; justify-content: center; }
.philo-nav button {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--white); border: 1px solid var(--border);
  font-size: 18px; color: var(--ink); cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.philo-nav button:hover { transform: scale(1.08); box-shadow: 0 8px 24px rgba(0,0,0,0.1); }

/* ═══════════ PROCESS STEPS ═══════════ */
.process-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px; margin-top: 64px;
}
.process-step { position: relative; padding-top: 26px; }
.process-step::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 2px; background: var(--border);
}
.process-step::after {
  content: ''; position: absolute; top: -3px; left: 0;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--blue);
}
.process-step .p-num {
  font-size: 13px; font-weight: 800; color: var(--blue);
  letter-spacing: 1.5px; margin-bottom: 12px;
}
.process-step h3 {
  font-size: 18px; font-weight: 700; color: var(--ink);
  letter-spacing: -0.3px; margin-bottom: 10px; line-height: 1.3;
}
.process-step p { font-size: 14px; color: var(--muted); line-height: 1.65; }
.process-more { margin-top: 56px; text-align: center; }

/* full steps (process page) */
.steps-full { margin-top: 64px; }
.step-full {
  display: grid; grid-template-columns: 90px 1fr;
  gap: 36px; padding: 48px 0;
  border-bottom: 1px solid var(--border);
}
.step-full:last-child { border-bottom: none; }
.step-full .n {
  font-size: 52px; font-weight: 900; color: var(--blue-soft);
  letter-spacing: -3px; line-height: 1;
}
.step-full h3 {
  font-size: 24px; font-weight: 800; color: var(--ink);
  letter-spacing: -0.5px; margin-bottom: 14px;
}
.step-full p { font-size: 16px; color: var(--muted); line-height: 1.75; }
.step-full p + p { margin-top: 12px; }
.step-full strong { color: var(--ink); font-weight: 650; }

/* ═══════════ WHO WE HELP ═══════════ */
#customers { background: var(--warm); }
.customer-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 20px; margin-top: 60px;
}
.customer-card {
  background: var(--white); border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--border);
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
  cursor: pointer;
}
.customer-card:hover { transform: translateY(-8px) scale(1.01); box-shadow: var(--shadow-pop); }
.customer-card .cc-img { height: 170px; overflow: hidden; }
.customer-card .cc-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.customer-card:hover .cc-img img { transform: scale(1.08); }
.customer-card .cc-body { padding: 26px 26px 30px; }
.customer-card h3 {
  font-size: 17px; font-weight: 700; color: var(--ink);
  margin-bottom: 8px; letter-spacing: -0.3px;
}
.customer-card blockquote {
  font-size: 13.5px; font-style: italic; color: var(--blue);
  border-left: 3px solid var(--blue); padding-left: 12px;
  margin-bottom: 14px; line-height: 1.5;
}
.customer-card p { font-size: 13.5px; color: var(--muted); line-height: 1.65; }
.cc-more {
  display: inline-block; margin-top: 14px;
  font-size: 13px; font-weight: 700; color: var(--blue);
}

/* ═══════════ MODAL ═══════════ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(13,43,78,0.45);
  backdrop-filter: blur(8px);
  display: none; align-items: center; justify-content: center;
  padding: 24px;
}
.modal-overlay.open { display: flex; animation: fadeIn 0.3s var(--ease); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal-box {
  background: var(--white); border-radius: 28px;
  max-width: 640px; width: 100%; max-height: 84vh; overflow-y: auto;
  padding: 48px 44px;
  box-shadow: 0 40px 120px rgba(0,0,0,0.4);
  animation: popIn 0.4s var(--ease);
  position: relative;
}
@keyframes popIn {
  from { transform: translateY(30px) scale(0.96); opacity: 0; }
  to   { transform: none; opacity: 1; }
}
.modal-close {
  position: absolute; top: 20px; right: 20px;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--warm); border: none; cursor: pointer;
  font-size: 18px; color: var(--muted);
  transition: background 0.2s;
}
.modal-close:hover { background: var(--border); }
.modal-box .m-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--blue); margin-bottom: 12px;
}
.modal-box h3 {
  font-size: 26px; font-weight: 800; color: var(--ink);
  letter-spacing: -0.6px; margin-bottom: 20px; line-height: 1.2;
}
.modal-box .m-quotes { margin: 22px 0; display: flex; flex-direction: column; gap: 10px; }
.modal-box .m-quotes span {
  background: var(--blue-soft); color: var(--navy);
  font-size: 14px; font-style: italic;
  padding: 12px 18px; border-radius: 16px 16px 16px 4px;
  align-self: flex-start; line-height: 1.5;
}
.modal-box p { font-size: 15px; color: var(--muted); line-height: 1.75; }
.modal-box p + p { margin-top: 12px; }
.modal-box strong { color: var(--ink); font-weight: 650; }

/* ═══════════ PREMIUM STRIP ═══════════ */
#premium { background: var(--white); text-align: center; padding: 120px 0; }
#premium .big {
  font-size: clamp(30px, 4.5vw, 50px); font-weight: 800;
  letter-spacing: -1.5px; color: var(--ink); line-height: 1.15;
  max-width: 800px; margin: 0 auto 20px;
}
#premium .big em { font-style: normal; color: var(--blue); }
#premium p.sub { margin: 0 auto 36px; }

/* ═══════════ FAQ ═══════════ */
.faq-list { margin-top: 48px; }
details { border-bottom: 1px solid var(--border); }
details:first-of-type { border-top: 1px solid var(--border); }
summary {
  font-size: 17px; font-weight: 600; color: var(--ink);
  padding: 24px 0; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  gap: 20px;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: '+'; font-size: 24px; font-weight: 300; color: var(--muted);
  transition: transform 0.3s var(--ease); flex-shrink: 0;
}
details[open] summary::after { transform: rotate(45deg); }
details p {
  font-size: 15px; color: var(--muted); line-height: 1.75;
  padding-bottom: 26px; max-width: 680px;
}

/* ═══════════ CTA — typographic, matches the quote band ═══════════ */
#cta {
  position: relative; overflow: hidden;
  padding: 150px 0; text-align: center;
  background:
    radial-gradient(900px 500px at 82% 12%, rgba(37,99,176,0.35), transparent 60%),
    radial-gradient(800px 450px at 12% 88%, rgba(37,99,176,0.25), transparent 55%),
    var(--navy);
}
#cta .cta-img { display: none; }
#cta::after {
  content: '信'; position: absolute; z-index: 1;
  right: -30px; top: 50%; transform: translateY(-50%);
  font-size: clamp(260px, 34vw, 460px); line-height: 1;
  color: rgba(255,255,255,0.05);
  pointer-events: none; user-select: none;
}
#cta .container { position: relative; z-index: 2; }
#cta .title { color: var(--white); }
#cta .sub { color: rgba(255,255,255,0.75); margin: 0 auto 44px; }
#cta .btn-primary { background: var(--white); color: var(--navy); }
#cta .btn-primary:hover { background: #f0f4fa; box-shadow: 0 12px 32px rgba(0,0,0,0.3); }
#cta .btn-ghost { color: var(--white); border-color: rgba(255,255,255,0.4); }
#cta .btn-ghost:hover { border-color: var(--white); }
.cta-contacts {
  display: flex; justify-content: center; gap: 44px;
  flex-wrap: wrap; margin-top: 56px;
}
.cta-contact { text-align: center; }
.cta-contact .label {
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 6px;
}
.cta-contact a { color: rgba(255,255,255,0.9); text-decoration: none; font-size: 15px; }
.cta-contact a:hover { color: var(--white); }

/* ═══════════ ARTICLE / INSIGHTS ═══════════ */
.article-body { max-width: 720px; margin: 0 auto; padding: 70px 24px 100px; }
.article-body h2 {
  font-size: 30px; font-weight: 800; letter-spacing: -0.8px;
  color: var(--ink); margin: 56px 0 18px; line-height: 1.2;
}
.article-body h3 {
  font-size: 21px; font-weight: 700; letter-spacing: -0.4px;
  color: var(--ink); margin: 36px 0 12px;
}
.article-body p { font-size: 17px; color: #3a3a3c; line-height: 1.8; margin-bottom: 18px; }
.article-body strong { color: var(--ink); }
.article-body .callout {
  background: var(--blue-soft); border-radius: 18px;
  padding: 28px 30px; margin: 30px 0;
}
.article-body .callout p { margin: 0; font-size: 16px; color: var(--navy); font-weight: 550; }
.article-body .qa {
  border-left: 3px solid var(--blue); padding: 4px 0 4px 22px; margin: 22px 0;
}
.article-body .qa p { font-size: 18px; font-weight: 650; color: var(--ink); font-style: italic; margin-bottom: 6px; }
.article-body .qa span { font-size: 14px; color: var(--muted); }
.article-meta {
  font-size: 13px; color: var(--muted); letter-spacing: 0.5px;
  text-transform: uppercase; font-weight: 600;
}
.milestone-table { margin: 30px 0; border: 1px solid var(--border); border-radius: 18px; overflow: hidden; }
.milestone-row {
  display: grid; grid-template-columns: 130px 1fr;
  border-bottom: 1px solid var(--border);
}
.milestone-row:last-child { border-bottom: none; }
.milestone-row .when {
  background: var(--warm); padding: 20px; font-weight: 800;
  color: var(--navy); font-size: 15px;
}
.milestone-row .what { padding: 20px; font-size: 15px; color: var(--muted); line-height: 1.6; }

.post-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px; margin-top: 60px;
}
.post-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; text-decoration: none;
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
  display: block;
}
.post-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-pop); }
.post-card .pc-img { height: 200px; overflow: hidden; }
.post-card .pc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.post-card:hover .pc-img img { transform: scale(1.06); }
.post-card .pc-body { padding: 28px; }
.post-card .pc-tag {
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--blue); margin-bottom: 10px;
}
.post-card h3 {
  font-size: 20px; font-weight: 800; color: var(--ink);
  letter-spacing: -0.4px; line-height: 1.3; margin-bottom: 10px;
}
.post-card p { font-size: 14px; color: var(--muted); line-height: 1.65; }
.post-card.soon { opacity: 0.65; pointer-events: none; }
.post-card.soon .pc-tag { color: var(--muted); }

/* ── Insights: series label ── */
.series-label {
  font-size: 12px; font-weight: 800; letter-spacing: 1.8px;
  text-transform: uppercase; color: var(--blue);
  display: flex; align-items: center; gap: 14px; margin: 0 0 24px;
}
.series-label::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.series-label.alt { color: var(--muted); }

/* ── Insights: featured post ── */
.featured-post {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 0;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; text-decoration: none;
  margin-bottom: 24px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.featured-post:hover { transform: translateY(-6px); box-shadow: var(--shadow-pop); }
.featured-post .fp-img { min-height: 300px; overflow: hidden; }
.featured-post .fp-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.featured-post:hover .fp-img img { transform: scale(1.05); }
.featured-post .fp-body { padding: 46px 44px; display: flex; flex-direction: column; justify-content: center; }
.featured-post .fp-tag {
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--blue); margin-bottom: 12px;
}
.featured-post h2 {
  font-size: clamp(26px, 3.2vw, 36px); font-weight: 800; letter-spacing: -0.8px;
  color: var(--ink); line-height: 1.15; margin-bottom: 14px;
}
.featured-post .fp-body > p { font-size: 15.5px; color: var(--muted); line-height: 1.7; margin-bottom: 22px; }
@media (max-width: 760px) {
  .featured-post { grid-template-columns: 1fr; }
  .featured-post .fp-img { min-height: 210px; }
  .featured-post .fp-body { padding: 34px 28px; }
}

/* ── Series "Part n" badge on post cards ── */
.part-badge {
  display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: 1.2px;
  text-transform: uppercase; color: var(--blue); background: var(--blue-soft);
  padding: 5px 12px; border-radius: 999px; margin-bottom: 12px;
}

/* ── "Keep reading" related block (shared across articles) ── */
.keep-reading { max-width: 920px; margin: 0 auto; padding: 10px 24px 30px; }
.kr-eyebrow {
  text-align: center; font-size: 11px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--blue); margin-bottom: 22px;
}
.kr-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.kr-card {
  display: flex; gap: 18px; align-items: center;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px 24px; text-decoration: none;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.kr-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-pop); }
.kr-card .kr-img { flex: 0 0 78px; height: 78px; border-radius: 14px; overflow: hidden; }
.kr-card .kr-img img { width: 100%; height: 100%; object-fit: cover; }
.kr-tag {
  font-size: 11px; font-weight: 700; letter-spacing: 1.2px;
  text-transform: uppercase; color: var(--blue); margin-bottom: 5px;
}
.kr-card h3 { font-size: 17px; font-weight: 800; color: var(--ink); letter-spacing: -0.3px; line-height: 1.28; }
.kr-card p { font-size: 13.5px; color: var(--muted); margin-top: 5px; line-height: 1.5; }
.kr-card.soon { opacity: 0.6; pointer-events: none; }
.kr-card.soon .kr-tag { color: var(--muted); }
@media (max-width: 520px) { .kr-card .kr-img { display: none; } }

/* ═══════════ PRICING ═══════════ */
.included-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px; margin-top: 40px;
}
.included-item { display: flex; gap: 12px; align-items: flex-start; }
.check {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--blue); color: var(--white);
  font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 2px;
}
.included-item span:last-child { font-size: 14.5px; color: var(--ink); line-height: 1.5; }
.explainer {
  background: var(--blue-soft); border-radius: var(--radius);
  padding: 44px 40px; margin-top: 40px;
}
.explainer h3 { font-size: 20px; font-weight: 800; color: var(--navy); margin-bottom: 14px; letter-spacing: -0.4px; }
.explainer p { font-size: 15px; color: #44506b; line-height: 1.75; margin-bottom: 12px; }
.explainer strong { color: var(--navy); }
/* ── Placement fee visualizations ── */
.fee-viz {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 44px 40px; margin-top: 28px;
}
.fee-viz h3 {
  font-size: 20px; font-weight: 800; color: var(--navy);
  letter-spacing: -0.4px; margin-bottom: 8px;
}
.fee-viz .fv-intro { font-size: 15px; color: var(--muted); line-height: 1.7; margin-bottom: 30px; }
.fee-viz .fv-intro strong { color: var(--ink); }

.fv-flow { display: flex; align-items: stretch; gap: 14px; flex-wrap: wrap; }
.fv-endcap {
  flex: 0 0 150px; border-radius: 14px; padding: 18px 14px;
  display: flex; flex-direction: column; justify-content: center; text-align: center;
}
.fv-endcap.pay { background: var(--navy); color: var(--white); }
.fv-endcap.done { background: #e8f7ee; color: #1a7f4b; }
.fv-endcap .amt { font-size: 26px; font-weight: 800; letter-spacing: -1px; }
.fv-endcap .lbl { font-size: 12px; opacity: 0.85; line-height: 1.45; margin-top: 6px; }
.fv-arrow { align-self: center; color: var(--muted); font-size: 20px; }
.fv-months {
  flex: 1; min-width: 280px;
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px;
}
.fv-month {
  background: var(--blue-soft); border-radius: 10px;
  padding: 14px 4px; text-align: center;
  opacity: 0.2; transform: translateY(12px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.fv-month b { display: block; font-size: 11px; color: var(--blue); letter-spacing: 0.5px; text-transform: uppercase; }
.fv-month em { font-style: normal; display: block; font-size: 14px; font-weight: 800; color: var(--navy); margin-top: 4px; }
.fv-month small { display: block; font-size: 10.5px; color: var(--muted); margin-top: 3px; }
.reveal.visible .fv-month:nth-child(1) { opacity: 1; transform: none; transition-delay: 0.15s; }
.reveal.visible .fv-month:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.3s; }
.reveal.visible .fv-month:nth-child(3) { opacity: 1; transform: none; transition-delay: 0.45s; }
.reveal.visible .fv-month:nth-child(4) { opacity: 1; transform: none; transition-delay: 0.6s; }
.reveal.visible .fv-month:nth-child(5) { opacity: 1; transform: none; transition-delay: 0.75s; }
.reveal.visible .fv-month:nth-child(6) { opacity: 1; transform: none; transition-delay: 0.9s; }

.fv-rows { display: flex; flex-direction: column; gap: 26px; }
.fv-row-label { font-size: 14px; font-weight: 650; color: var(--ink); margin-bottom: 10px; }
.fv-blocks { display: flex; gap: 6px; }
.fv-block {
  flex: 1; height: 46px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; letter-spacing: 0.3px;
  opacity: 0.2; transform: scale(0.9);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.reveal.visible .fv-block:nth-child(1) { opacity: 1; transform: none; transition-delay: 0.1s; }
.reveal.visible .fv-block:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.2s; }
.reveal.visible .fv-block:nth-child(3) { opacity: 1; transform: none; transition-delay: 0.3s; }
.reveal.visible .fv-block:nth-child(4) { opacity: 1; transform: none; transition-delay: 0.4s; }
.reveal.visible .fv-block:nth-child(5) { opacity: 1; transform: none; transition-delay: 0.5s; }
.reveal.visible .fv-block:nth-child(6) { opacity: 1; transform: none; transition-delay: 0.6s; }
.fv-block.credit { background: var(--blue); color: var(--white); }
.fv-block.topup { background: var(--white); border: 2px dashed #d97706; color: #b45309; }

.fv-eq {
  display: flex; gap: 10px; align-items: center; justify-content: center;
  flex-wrap: wrap; margin-top: 30px;
}
.fv-eq .chip {
  border-radius: 100px; padding: 10px 20px;
  font-size: 14px; font-weight: 700;
}
.fv-eq .chip.a { background: var(--blue-soft); color: var(--blue); }
.fv-eq .chip.b { background: var(--warm); color: var(--ink); border: 1px solid var(--border); }
.fv-eq .chip.c { background: #fef3e2; color: #b45309; }
.fv-eq .op { font-size: 18px; font-weight: 700; color: var(--muted); }
.fv-note {
  font-size: 13.5px; color: var(--muted); line-height: 1.65;
  margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--border);
}
.fv-note strong { color: var(--ink); }

@media (max-width: 700px) {
  .fee-viz { padding: 32px 22px; }
  .fv-flow { flex-direction: column; }
  .fv-endcap { flex: none; }
  .fv-arrow { transform: rotate(90deg); }
  .fv-months { grid-template-columns: repeat(3, 1fr); }
  .fv-block { font-size: 10px; height: 40px; }
}

/* ── Fee split: agency left, third-party right ── */
.fee-split {
  width: min(1272px, calc(100vw - 48px));
  position: relative; left: 50%; transform: translateX(-50%);
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 20px; align-items: stretch;
  margin-bottom: 72px;
}
.fee-col {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 44px 40px;
}
.fee-title {
  font-size: clamp(22px, 2.4vw, 28px); font-weight: 800;
  letter-spacing: -0.6px; color: var(--ink); line-height: 1.2;
  margin-bottom: 10px;
}
.fee-para { font-size: 14.5px; color: var(--muted); line-height: 1.65; }
.fee-list { margin-top: 26px; display: flex; flex-direction: column; }
.fee-list .included-item { padding: 9px 0; }
.fee-col.alt { background: var(--navy); border-color: transparent; }
.fee-col.alt .eyebrow { color: #7eb3f8; }
.fee-col.alt .fee-title { color: var(--white); }
.fee-col.alt .fee-para { color: rgba(255,255,255,0.6); }
.fee-col.alt .included-item span:last-child { color: rgba(255,255,255,0.85); }
.fee-col.alt .check { background: var(--white); color: var(--navy); }
@media (max-width: 900px) {
  .fee-split { grid-template-columns: 1fr; width: 100%; left: 0; transform: none; margin-bottom: 48px; }
  .fee-col { padding: 32px 24px; }
}

/* ── Pricing cards (two categories) ── */
.price-cards {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 20px; margin-top: 48px;
}
.pcard {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 38px 34px;
  display: flex; flex-direction: column;
}
.pcard .pc-nat {
  font-size: 12px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--blue); margin-bottom: 18px;
}
.pcard .pc-price {
  font-size: clamp(38px, 4.5vw, 52px); font-weight: 800;
  color: var(--ink); letter-spacing: -1.5px; line-height: 1;
}
.pcard .pc-price small { font-size: 15px; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-left: 8px; }
.pcard .pc-rows { margin-top: 26px; border-top: 1px solid var(--border); }
.pcard .pc-row {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 13px 0; border-bottom: 1px solid var(--border);
  font-size: 14.5px; color: var(--muted);
}
.pcard .pc-row b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pcard .pc-totalrow {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  margin-top: 20px; padding: 16px 20px;
  background: var(--navy); color: var(--white); border-radius: var(--radius-sm);
}
.pcard .pc-totalrow span { font-size: 13px; font-weight: 600; }
.pcard .pc-totalrow b { font-size: 21px; font-weight: 800; letter-spacing: -0.5px; font-variant-numeric: tabular-nums; }
.pcard .pc-why { font-size: 13px; color: var(--muted); line-height: 1.6; margin-top: 16px; }
@media (max-width: 800px) { .price-cards { grid-template-columns: 1fr; } }

/* ── Price breakdown table ── */
.price-table {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; margin-top: 44px;
}
.pt-head {
  display: flex; justify-content: space-between;
  background: var(--warm); padding: 15px 28px;
  font-size: 12px; font-weight: 700; letter-spacing: 1.2px;
  text-transform: uppercase; color: var(--muted);
  border-bottom: 1px solid var(--border);
}
.pt-row {
  display: flex; justify-content: space-between; gap: 24px;
  padding: 15px 28px; border-bottom: 1px solid var(--border);
  font-size: 15px; color: var(--muted); line-height: 1.5;
}
.pt-row b {
  color: var(--ink); font-weight: 600;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.pt-sub {
  display: flex; justify-content: space-between; gap: 24px;
  padding: 15px 28px; border-bottom: 1px solid var(--border);
  background: rgba(234,241,251,0.5);
  font-size: 15px; font-weight: 700; color: var(--navy);
}
.pt-sub b { font-variant-numeric: tabular-nums; }
.pt-total {
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px; padding: 22px 28px;
  background: var(--navy); color: var(--white);
}
.pt-total span { font-size: 14px; font-weight: 600; letter-spacing: 0.5px; }
.pt-total b { font-size: 26px; font-weight: 800; letter-spacing: -0.5px; font-variant-numeric: tabular-nums; }
@media (max-width: 700px) {
  .pt-head, .pt-row, .pt-sub, .pt-total { padding-left: 18px; padding-right: 18px; }
  .pt-total b { font-size: 22px; }
}

/* ── Refund visualization ── */
.refund-cards {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; margin: 6px 0 36px;
}
.rc {
  background: var(--warm); border: 1px solid var(--border);
  border-radius: 14px; padding: 24px 22px;
}
.rc b {
  display: block; font-size: 12px; letter-spacing: 1.2px;
  text-transform: uppercase; color: var(--muted); font-weight: 700;
  margin-bottom: 10px;
}
.rc .rc-big { font-size: 26px; font-weight: 800; color: var(--navy); letter-spacing: -0.6px; }
.rc p { font-size: 13.5px; color: var(--muted); margin-top: 8px; line-height: 1.55; }

.refund-scale {
  display: flex; gap: 10px; align-items: flex-end;
  height: 200px; margin-top: 22px;
}
.rs-step {
  flex: 1; height: 100%; text-align: center;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.rs-pct { font-size: 15px; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.rs-bar {
  border-radius: 10px 10px 4px 4px;
  background: linear-gradient(180deg, var(--blue), var(--navy));
  transform: scaleY(0); transform-origin: bottom;
  transition: transform 0.8s var(--ease);
}
.rs-bar.h80 { height: 80%; }
.rs-bar.h60 { height: 60%; }
.rs-bar.h40 { height: 40%; }
.rs-bar.h20 { height: 20%; }
.rs-bar.h0  { height: 5%; background: var(--border); }
.reveal.visible .rs-step:nth-child(1) .rs-bar { transform: scaleY(1); transition-delay: 0.1s; }
.reveal.visible .rs-step:nth-child(2) .rs-bar { transform: scaleY(1); transition-delay: 0.25s; }
.reveal.visible .rs-step:nth-child(3) .rs-bar { transform: scaleY(1); transition-delay: 0.4s; }
.reveal.visible .rs-step:nth-child(4) .rs-bar { transform: scaleY(1); transition-delay: 0.55s; }
.reveal.visible .rs-step:nth-child(5) .rs-bar { transform: scaleY(1); transition-delay: 0.7s; }
.rs-days { font-size: 12px; font-weight: 600; color: var(--muted); margin-top: 10px; line-height: 1.35; }

@media (max-width: 700px) {
  .refund-cards { grid-template-columns: 1fr; }
  .refund-scale { height: 150px; gap: 6px; }
  .rs-pct { font-size: 13px; }
  .rs-days { font-size: 10.5px; }
}

.not-for {
  border: 1.5px dashed var(--border); border-radius: var(--radius);
  padding: 40px; margin-top: 40px; text-align: center;
}
.not-for h3 { font-size: 20px; font-weight: 800; color: var(--ink); margin-bottom: 10px; }
.not-for p { font-size: 15px; color: var(--muted); max-width: 560px; margin: 0 auto; line-height: 1.7; }

/* ═══════════ IDEOLOGY SPEECH BUBBLE ═══════════ */
.ideology-bubble {
  position: relative; max-width: 620px;
  margin: 48px auto 14px; padding: 28px 36px;
  background: var(--white);
  border: 1px solid var(--border); border-radius: 24px;
  box-shadow: 0 20px 56px rgba(13,43,78,0.10);
  text-align: center;
}
.ideology-bubble::after {
  content: ''; position: absolute; bottom: -10px; left: 50%;
  width: 18px; height: 18px;
  transform: translateX(-50%) rotate(45deg);
  background: var(--white);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.ideology-bubble p {
  font-size: clamp(18px, 2.1vw, 22px); font-weight: 700;
  color: var(--ink); letter-spacing: -0.4px; line-height: 1.5;
}
.ideology-bubble p em { font-style: normal; color: var(--blue); }
.ideology-bubble cite {
  display: block; margin-top: 12px; font-style: normal;
  font-size: 13px; font-weight: 600; color: var(--muted);
  letter-spacing: 0.5px;
}

/* ═══════════ TRAINING PAGE ═══════════ */
.dish-flow {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 36px 34px; margin-top: 44px;
}
.dish-flow .df-title {
  font-size: 12px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--blue); margin-bottom: 10px;
}
.dish-row {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 16px 0; border-bottom: 1px solid var(--border);
}
.dish-row:last-of-type { border-bottom: none; }
.dish-name {
  background: var(--navy); color: var(--white);
  font-size: 13px; font-weight: 700; padding: 8px 0;
  border-radius: 100px; min-width: 110px; text-align: center;
}
.dish-step {
  background: var(--blue-soft); color: var(--navy);
  font-size: 13px; font-weight: 600; padding: 8px 15px; border-radius: 100px;
}
.dish-arrow { color: var(--muted); font-weight: 600; }
.dish-check { color: #34c759; font-weight: 800; font-size: 17px; }
.dish-wrong {
  border: 1.5px dashed #f87171; border-radius: var(--radius-sm);
  padding: 22px 26px; margin-top: 26px;
}
.dish-wrong .lbl {
  color: #b91c1c; font-weight: 700; font-size: 12px;
  letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 8px;
}
.dish-wrong p { font-size: 14.5px; color: var(--muted); line-height: 1.65; }
.dish-wrong strong { color: var(--ink); }

.photo-claim { text-align: center; margin-bottom: 40px; }
.photo-claim span {
  display: inline-block; border: 1.5px solid var(--ink);
  border-radius: 100px; padding: 13px 28px;
  font-size: 15px; font-weight: 700; color: var(--ink); letter-spacing: -0.2px;
}

/* ═══════════ WHATSAPP UPDATE MOCKUP ═══════════ */
.update-split {
  display: grid; grid-template-columns: 1fr 360px;
  gap: clamp(40px, 5vw, 80px); align-items: center; margin-top: 30px;
}
.phone {
  background: #efe7dd; border: 9px solid #1d1d1f;
  border-radius: 42px; padding: 0; overflow: hidden;
  box-shadow: var(--shadow-pop);
}
.chat-head {
  background: var(--navy); color: var(--white);
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px;
}
.chat-head .avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--white); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 15px; flex-shrink: 0;
}
.chat-head b { font-size: 13.5px; display: block; line-height: 1.2; }
.chat-head span { font-size: 11px; color: rgba(255,255,255,0.6); }
.chat-body { padding: 16px 12px 20px; display: flex; flex-direction: column; gap: 10px; }
.msg {
  background: var(--white); border-radius: 12px 12px 12px 3px;
  padding: 8px; max-width: 86%;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
  align-self: flex-start;
}
.msg img { border-radius: 8px; width: 100%; display: block; }
.msg p { font-size: 12.5px; color: var(--ink); line-height: 1.45; padding: 5px 4px 2px; }
.msg .t { display: block; font-size: 10px; color: #9a9a9f; text-align: right; padding: 0 4px 2px; }
.msg.me {
  background: #d9fdd3; border-radius: 12px 12px 3px 12px;
  align-self: flex-end;
}
@media (max-width: 900px) {
  .update-split { grid-template-columns: 1fr; }
  .phone { max-width: 340px; margin: 0 auto; }
}

/* ═══════════ HOTSPOT BUBBLE ═══════════ */
.hotspot-wrap {
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  cursor: pointer; margin-top: 8px;
}
.hotspot {
  width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0;
  background: var(--blue); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700; position: relative;
}
.hotspot::after {
  content: ''; position: absolute; inset: -7px; border-radius: 50%;
  border: 2px solid rgba(37,99,176,0.45);
  animation: hotspotPulse 2.2s ease-out infinite;
}
@keyframes hotspotPulse {
  0% { transform: scale(0.65); opacity: 1; }
  100% { transform: scale(1.35); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .hotspot::after { animation: none; opacity: 0; } }
.hotspot-label { font-size: 15px; font-weight: 600; color: var(--blue); }
.hotspot-pop {
  position: absolute; bottom: calc(100% + 18px); left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: min(360px, 86vw);
  background: var(--white); border: 1px solid var(--border);
  border-radius: 18px; padding: 24px;
  box-shadow: 0 28px 72px rgba(13,43,78,0.2);
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
  text-align: left; z-index: 60;
}
.hotspot-pop::after {
  content: ''; position: absolute; bottom: -9px; left: 50%;
  width: 16px; height: 16px;
  transform: translateX(-50%) rotate(45deg);
  background: var(--white);
  border-right: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.hotspot-wrap:hover .hotspot-pop,
.hotspot-wrap.open .hotspot-pop {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.hotspot-pop .hp-title {
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--muted); margin-bottom: 14px;
}
.hotspot-pop .hp-q {
  background: var(--blue-soft); color: var(--navy);
  font-size: 13.5px; font-style: italic; line-height: 1.5;
  padding: 11px 15px; border-radius: 14px 14px 14px 4px;
  margin-bottom: 8px;
}
.hotspot-pop .hp-note {
  font-size: 12.5px; color: var(--muted); line-height: 1.5;
  margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border);
}

/* ═══════════ PERFORMANCE CURVE (article opener) ═══════════ */
.chart-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 44px 40px 30px;
}
.chart-card svg { width: 100%; height: auto; display: block; }
.pc-grid { stroke: var(--border); stroke-width: 1; }
.pc-divider { stroke: rgba(13,43,78,0.3); stroke-width: 1.5; stroke-dasharray: 4 7; }
.pc-line {
  stroke: var(--navy); stroke-width: 3.5; fill: none; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  transition: stroke-dashoffset 4.5s cubic-bezier(0.35, 0, 0.65, 1) 0.2s;
}
.reveal.visible .pc-line { stroke-dashoffset: 0; }
.pc-area { fill: rgba(37,99,176,0.07); opacity: 0; transition: opacity 1s var(--ease) 4.6s; }
.reveal.visible .pc-area { opacity: 1; }
.pc-dot { fill: var(--white); stroke: var(--navy); stroke-width: 3; }
.pc-text {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  font-size: 14px; font-weight: 600; fill: var(--muted);
  paint-order: stroke; stroke: var(--white); stroke-width: 4px; stroke-linejoin: round;
}
.pc-text.mile { fill: #2563b0; font-size: 12.5px; font-weight: 700; }
.pc-text.strong { fill: var(--navy); font-weight: 700; font-size: 15px; }
.pc-text.axis { font-size: 11px; letter-spacing: 2px; }
.pc-fade { opacity: 0; transition: opacity 0.8s var(--ease); }
.reveal.visible .pc-fade.f1 { opacity: 1; transition-delay: 1.1s; }
.reveal.visible .pc-fade.f2 { opacity: 1; transition-delay: 1.7s; }
.reveal.visible .pc-fade.f3 { opacity: 1; transition-delay: 2.3s; }
.reveal.visible .pc-fade.f4 { opacity: 1; transition-delay: 0.6s; }
/* interactive chart layer */
.chart-legend { display: flex; gap: 10px; justify-content: center; margin-bottom: 20px; flex-wrap: wrap; }
.cl-item {
  display: flex; align-items: center; gap: 8px;
  font-family: inherit; font-size: 13px; font-weight: 600; color: var(--ink);
  background: var(--warm); border: 1px solid var(--border);
  border-radius: 100px; padding: 8px 16px; cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
}
.cl-item:hover { transform: translateY(-1px); }
.cl-item i { width: 10px; height: 10px; border-radius: 50%; }
.cl-item.off { opacity: 0.35; }
.chart-stage { position: relative; cursor: crosshair; }
.pc-line2 {
  stroke: #2563b0; stroke-width: 3.5; fill: none; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  transition: stroke-dashoffset 4.5s cubic-bezier(0.35, 0, 0.65, 1) 0.7s, opacity 0.3s;
}
.reveal.visible .pc-line2 { stroke-dashoffset: 0; }
.reveal.visible .pc-fade { opacity: 1; }
.pc-mdot { fill: #2563b0; stroke: var(--white); stroke-width: 2.5; transition: opacity 0.3s; }
.pc-ndot { fill: #f87171; stroke: var(--white); stroke-width: 2.5; }
.pc-text.neg { fill: #b45050; font-size: 12.5px; }
[data-series].hide { opacity: 0 !important; pointer-events: none; }
.pc-cursor {
  position: absolute; top: 10%; bottom: 16%; width: 1.5px;
  background: rgba(13,43,78,0.3); pointer-events: none; z-index: 4;
}
.pc-tip {
  position: absolute; z-index: 5; pointer-events: none;
  background: var(--navy); color: var(--white);
  font-size: 12.5px; line-height: 1.4; padding: 12px 16px;
  border-radius: 12px; white-space: nowrap;
  box-shadow: 0 14px 36px rgba(13,43,78,0.35);
  transform: translate(-50%, calc(-100% - 14px));
}
.pc-tip b {
  display: block; font-size: 10.5px; font-weight: 700; letter-spacing: 1.2px;
  text-transform: uppercase; color: rgba(255,255,255,0.55); margin-bottom: 5px;
}
.pc-tip .row { display: flex; align-items: center; gap: 7px; margin-top: 3px; }
.pc-tip .row i { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }

.chart-caption {
  font-size: 14px; color: var(--muted); margin-top: 20px;
  text-align: center; line-height: 1.6;
}
.chart-caption strong { color: var(--ink); }
@media (max-width: 700px) {
  .chart-card { padding: 24px 16px 20px; }
  .pc-text { font-size: 18px; }
  .pc-text.strong { font-size: 19px; }
  .pc-text.axis { font-size: 14px; }
}

/* ═══════════ FOOTER ═══════════ */
footer { background: var(--white); padding: 56px 0; border-top: 1px solid var(--border); }
.footer-grid {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 32px; flex-wrap: wrap;
}
.footer-logo { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.footer-left p { font-size: 13px; color: var(--muted); line-height: 1.7; }
.footer-links { display: flex; gap: 28px; list-style: none; flex-wrap: wrap; }
.footer-links a { font-size: 13px; color: var(--muted); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--ink); }

/* ═══════════ WHATSAPP FLOAT ═══════════ */
.wa-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 150;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 28px rgba(37,211,102,0.4);
  transition: transform 0.25s var(--ease);
}
.wa-float:hover { transform: scale(1.1); }
.wa-float svg { width: 28px; height: 28px; fill: var(--white); }

/* ═══════════════════════════════════════════════════════
   V2 LAYOUT — wider canvas, asymmetric flow
   ═══════════════════════════════════════════════════════ */
.container { max-width: 1320px; }

/* hero: centered, wide photo below with floating chips */
#hero { padding-bottom: 70px; }
.hero-triptych {
  display: grid; grid-template-columns: 1fr 1.15fr 1fr;
  gap: 10px; aspect-ratio: 16 / 8;
  border-radius: 28px; overflow: hidden;
  box-shadow: var(--shadow-pop);
}
.hero-triptych img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) {
  .hero-triptych { grid-template-columns: 1fr 1fr; aspect-ratio: 4 / 3; }
  .hero-triptych img:nth-child(3) { display: none; }
}
.hero-photo-wrap {
  position: relative; max-width: 1320px;
  margin: 72px auto 0; padding: 0 24px;
}
.hero-photo-wrap .hero-photo {
  margin: 0; aspect-ratio: 16 / 8; max-width: none;
  border-radius: 28px; box-shadow: var(--shadow-pop);
}
.float-chip {
  position: absolute; z-index: 3;
  background: var(--white); border-radius: 16px;
  padding: 14px 20px;
  box-shadow: 0 16px 48px rgba(13,43,78,0.2);
  animation: floatY 6s ease-in-out infinite;
}
.float-chip b { display: block; font-size: 15px; font-weight: 800; color: var(--navy); letter-spacing: -0.3px; }
.float-chip span { font-size: 12px; color: var(--muted); }
.float-chip.c1 { bottom: -26px; left: 70px; }
.float-chip.c2 { top: -26px; right: 70px; animation-delay: -3s; animation-duration: 7s; }

/* split sections: sticky header left, content right */
.split {
  display: grid; grid-template-columns: minmax(300px, 400px) 1fr;
  gap: clamp(40px, 5vw, 80px); align-items: start;
}
.split .split-head { position: sticky; top: 110px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.stagger > *:nth-child(even) { margin-top: 44px; }

/* asymmetric stats */
.stats-split {
  display: grid; grid-template-columns: 1fr 1.35fr;
  gap: clamp(40px, 5vw, 80px); align-items: center;
}
.stats-title {
  font-size: clamp(26px, 3vw, 38px); font-weight: 800;
  letter-spacing: -1px; color: var(--ink); line-height: 1.15;
}
.stats-grid.two { grid-template-columns: repeat(2, 1fr); text-align: left; gap: 44px 28px; }

/* ghost words in the margins */
.has-word { position: relative; overflow: hidden; }
.bg-word {
  position: absolute; font-weight: 900; line-height: 1;
  letter-spacing: -8px; color: rgba(13,43,78,0.04);
  pointer-events: none; user-select: none; z-index: 0;
  white-space: nowrap;
}
.bg-word.light { color: rgba(255,255,255,0.035); }
.has-word .container { position: relative; z-index: 1; }

/* quote band: pure typography on brand navy */
.quote-band {
  position: relative; overflow: hidden; text-align: center;
  padding: 150px 24px;
  background:
    radial-gradient(900px 500px at 18% 15%, rgba(37,99,176,0.35), transparent 60%),
    radial-gradient(800px 450px at 85% 85%, rgba(37,99,176,0.25), transparent 55%),
    var(--navy);
}
.qb-mark {
  position: absolute; top: 50%; left: -30px;
  transform: translateY(-50%);
  font-size: clamp(280px, 40vw, 520px); line-height: 1;
  color: rgba(255,255,255,0.05);
  pointer-events: none; user-select: none;
}
.quote-band blockquote { position: relative; max-width: 1000px; margin: 0 auto; }
.quote-band blockquote p {
  font-size: clamp(36px, 5.4vw, 68px); font-weight: 800;
  color: var(--white); letter-spacing: -1.8px; line-height: 1.15;
}
.quote-band blockquote cite {
  display: block; margin-top: 28px; font-style: normal;
  font-size: 14px; font-weight: 600; letter-spacing: 2.5px;
  text-transform: uppercase; color: rgba(255,255,255,0.55);
}
.quote-band .w {
  display: inline-block; opacity: 0;
  transform: translateY(22px); filter: blur(4px);
  transition: transform 0.6s var(--ease), opacity 0.6s var(--ease), filter 0.6s var(--ease);
}
.quote-band blockquote.visible .w { opacity: 1; transform: none; filter: none; }
.quote-band blockquote.visible .w:nth-of-type(1) { transition-delay: 0.1s; }
.quote-band blockquote.visible .w:nth-of-type(2) { transition-delay: 0.22s; }
.quote-band blockquote.visible .w:nth-of-type(3) { transition-delay: 0.34s; }
.quote-band blockquote.visible .w:nth-of-type(4) { transition-delay: 0.46s; }
.quote-band blockquote.visible .w:nth-of-type(5) { transition-delay: 0.8s; }
.quote-band blockquote.visible .w:nth-of-type(6) { transition-delay: 0.95s; }
.quote-band .w:nth-of-type(5), .quote-band .w:nth-of-type(6) { color: #7eb3f8; }
@media (max-width: 900px) { .quote-band { padding: 100px 24px; } }

/* photo quote: centered, commanding */
.photo-break blockquote { max-width: 1000px; }
.photo-break blockquote p {
  font-size: clamp(34px, 5.2vw, 64px);
  letter-spacing: -1.8px;
}
.photo-break blockquote cite { font-size: 15px; margin-top: 24px; }

/* philosophy rail bleeds off the right edge */
.philo-bleed { overflow: hidden; margin-top: 60px; }
.philo-bleed .philo-rail {
  margin-top: 0;
  padding-left: max(24px, calc((100vw - 1272px) / 2));
  padding-right: 48px;
}

/* premium strip: left text, right button */
#premium { text-align: left; }
#premium .big { margin: 0 0 18px; max-width: 780px; }
#premium p.sub { margin: 0; }
.premium-split {
  display: grid; grid-template-columns: 1fr auto;
  gap: clamp(32px, 4vw, 64px); align-items: center;
}

/* FAQ: sticky title left, questions right */
.faq-split {
  display: grid; grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(40px, 5vw, 90px); align-items: start;
}
.faq-split .split-head { position: sticky; top: 110px; }
.faq-split .faq-list { margin-top: 0; }

@media (max-width: 900px) {
  .split, .stats-split, .premium-split, .faq-split { grid-template-columns: 1fr; }
  .hero-photo-wrap .hero-photo { aspect-ratio: 4 / 3; }
  .float-chip.c1 { left: 34px; bottom: -18px; }
  .float-chip.c2 { right: 34px; top: -18px; }
  .float-chip { padding: 10px 15px; }
  .float-chip b { font-size: 13px; }
  .float-chip span { font-size: 11px; }
  .split .split-head, .faq-split .split-head { position: static; }
  .grid-2 { grid-template-columns: 1fr; }
  .stagger > *:nth-child(even) { margin-top: 0; }
  .stats-grid.two { text-align: center; }
  .bg-word { display: none; }
  .photo-break blockquote { padding-left: 24px; }
}

/* ═══════════════════════════════════════════════════════
   V3 TYPOGRAPHY — scaled up to fill the wider canvas
   ═══════════════════════════════════════════════════════ */
.eyebrow { font-size: 13px; }
.title { font-size: clamp(34px, 5vw, 58px); }
.sub { font-size: 19px; max-width: 660px; }
.stats-title { font-size: clamp(28px, 3.4vw, 42px); }
.stat-num { font-size: clamp(44px, 5.5vw, 72px); }
.stat-label { font-size: 15px; }
.card h3 { font-size: 19px; }
.card p { font-size: 15px; }
.overseas-card h3 { font-size: 18px; }
.overseas-card p { font-size: 15px; }
.diff-item h3 { font-size: clamp(28px, 3.2vw, 40px); }
.diff-item p { font-size: 17px; }
.pill { font-size: 14px; padding: 8px 17px; }
.process-step h3 { font-size: 20px; }
.process-step p { font-size: 15px; }
.customer-card h3 { font-size: 19px; }
.customer-card blockquote { font-size: 14.5px; }
.customer-card p { font-size: 14.5px; }
.philo-card { flex-basis: min(520px, 85vw); }
.philo-card p { font-size: clamp(20px, 2.2vw, 25px); }
summary { font-size: 18px; }
details p { font-size: 16px; }
#premium .big { font-size: clamp(32px, 5vw, 54px); }
.polaroid figcaption { font-size: 14px; }
.step-full h3 { font-size: 26px; }
.step-full p { font-size: 17px; }
.article-body p { font-size: 18px; }
.article-body h2 { font-size: 34px; }
.article-body h3 { font-size: 23px; }
.included-item span:last-child { font-size: 15.5px; }
.fee-viz .fv-intro { font-size: 16px; }
.explainer p { font-size: 16px; }
.not-for p { font-size: 16px; }
.cta-contact a { font-size: 16px; }

/* ═══════════════════════════════════════════════════════
   V4 MOTION PASS — choreography upgrades
   ═══════════════════════════════════════════════════════ */
:root { --spring: cubic-bezier(0.34, 1.56, 0.64, 1); }

/* page load fade */
body { animation: pageIn 0.45s ease-out; }
@keyframes pageIn { from { opacity: 0; } }

/* nav: hide on scroll down, return on scroll up */
nav { transition: transform 0.35s var(--ease), box-shadow 0.3s; }
nav.nav-hidden { transform: translateY(-100%); }

/* hero headline: line-by-line rise with blur settle */
.hero-headline.reveal { opacity: 1; transform: none; }
.hero-headline .hl { display: block; overflow: hidden; }
.hero-headline .hl > span {
  display: inline-block;
  transform: translateY(112%); opacity: 0; filter: blur(6px);
  transition: transform 0.9s var(--ease), opacity 0.9s var(--ease), filter 0.9s var(--ease);
}
.hero-headline.visible .hl > span { transform: none; opacity: 1; filter: none; }
.hero-headline.visible .hl:nth-child(2) > span { transition-delay: 0.18s; }

/* photo-quote: word-by-word reveal */
.photo-break .w {
  display: inline-block; opacity: 0;
  transform: translateY(22px); filter: blur(4px);
  transition: transform 0.6s var(--ease), opacity 0.6s var(--ease), filter 0.6s var(--ease);
}
.photo-break blockquote.visible .w { opacity: 1; transform: none; filter: none; }
.photo-break blockquote.visible .w:nth-of-type(1) { transition-delay: 0.1s; }
.photo-break blockquote.visible .w:nth-of-type(2) { transition-delay: 0.22s; }
.photo-break blockquote.visible .w:nth-of-type(3) { transition-delay: 0.34s; }
.photo-break blockquote.visible .w:nth-of-type(4) { transition-delay: 0.46s; }
.photo-break blockquote.visible .w:nth-of-type(5) { transition-delay: 0.75s; }
.photo-break blockquote.visible .w:nth-of-type(6) { transition-delay: 0.9s; }

/* polaroids: deal in from below, then drift */
.gallery-strip.reveal .polaroid {
  opacity: 0; translate: 0 64px;
  transition: opacity 0.7s var(--ease), translate 0.7s var(--ease);
}
.gallery-strip.reveal.visible .polaroid { opacity: 1; translate: 0 0; }
.gallery-strip.reveal.visible .polaroid:nth-child(1)  { transition-delay: 0.05s; }
.gallery-strip.reveal.visible .polaroid:nth-child(2)  { transition-delay: 0.11s; }
.gallery-strip.reveal.visible .polaroid:nth-child(3)  { transition-delay: 0.17s; }
.gallery-strip.reveal.visible .polaroid:nth-child(4)  { transition-delay: 0.23s; }
.gallery-strip.reveal.visible .polaroid:nth-child(5)  { transition-delay: 0.29s; }
.gallery-strip.reveal.visible .polaroid:nth-child(6)  { transition-delay: 0.35s; }
.gallery-strip.reveal.visible .polaroid:nth-child(n+7) { transition-delay: 0.4s; }

/* sticky differentiator media: slow living drift while active */
.diff-media > .active { animation: mediaDrift 14s ease-in-out infinite alternate; }
@keyframes mediaDrift {
  from { transform: scale(1); }
  to   { transform: scale(1.055); }
}

/* springy hovers */
.card, .customer-card, .post-card, .philo-card {
  transition: transform 0.55s var(--spring), box-shadow 0.45s;
}
.polaroid { transition: transform 0.55s var(--spring), box-shadow 0.5s, opacity 0.7s var(--ease), translate 0.7s var(--ease); }

/* motion respect */
@media (prefers-reduced-motion: reduce) {
  body { animation: none; }
  nav.nav-hidden { transform: none; }
  .hero-headline .hl > span { transform: none; opacity: 1; filter: none; transition: none; }
  .photo-break .w { transform: none; opacity: 1; filter: none; transition: none; }
  .gallery-strip.reveal .polaroid { opacity: 1; translate: none; transition: none; }
  .diff-media > .active { animation: none; }
}

/* ═══════════ FOUNDER SECTION ═══════════ */
.founder-split {
  display: grid; grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(36px, 5vw, 76px); align-items: center;
}
.founder-photo img {
  width: 100%; border-radius: 24px;
  box-shadow: var(--shadow-pop);
}
.founder-letter p:not(.eyebrow) {
  font-size: 17px; color: #3a3a3c; line-height: 1.75; margin-bottom: 16px;
}
.founder-letter strong { color: var(--ink); }
.sig {
  font-family: 'Snell Roundhand', 'Savoye LET', 'Segoe Script', 'Brush Script MT', cursive;
  font-size: 42px; color: var(--navy);
  margin-top: 30px; transform: rotate(-3deg); transform-origin: left;
}
.sig-role {
  font-size: 13.5px; font-weight: 700; color: var(--muted);
  letter-spacing: 0.5px; margin-top: 2px;
}
.founder-avatar {
  width: 64px; height: 64px; border-radius: 50%;
  object-fit: cover; object-position: top;
  float: right; margin: 0 0 12px 18px;
  box-shadow: 0 8px 24px rgba(13,43,78,0.18);
}
@media (max-width: 900px) {
  .founder-split { grid-template-columns: 1fr; }
  .founder-photo { max-width: 380px; margin: 0 auto; }
}

/* ═══════════ KID TEST (the no-brainer splash) ═══════════ */
.kid-cards {
  display: flex; gap: 32px; justify-content: center;
  flex-wrap: wrap; margin-top: 56px;
}
.kid-cards .polaroid { cursor: default; }
.kid-cards .polaroid video {
  width: 100%; height: 320px; object-fit: cover;
  border-radius: 8px; display: block; background: var(--warm);
}
.kid-cards .polaroid img { height: 320px; }

/* ═══════════ SCROLLABLE GALLERIES ═══════════ */
.gallery-strip {
  overflow-x: auto; cursor: grab;
  padding-bottom: 6px;
  scrollbar-width: thin;
  scrollbar-color: var(--navy) var(--border);
}
.gallery-strip.dragging { cursor: grabbing; }
.gallery-strip::-webkit-scrollbar { height: 8px; }
.gallery-strip::-webkit-scrollbar-track {
  background: var(--border); border-radius: 100px;
  margin-left: 24px; margin-right: 24px;
}
.gallery-strip::-webkit-scrollbar-thumb {
  background: var(--navy); border-radius: 100px;
}
.gallery-strip::-webkit-scrollbar-thumb:hover { background: var(--blue); }
.gallery-track, .gallery-track.reverse { animation: none; }
.gallery-strip img { -webkit-user-drag: none; user-select: none; }

/* ═══════════════════════════════════════════════════════
   BIG SCREENS (27" and up) — wider canvas, larger scale
   ═══════════════════════════════════════════════════════ */
@media (min-width: 1700px) {
  .container { max-width: 1680px; }
  .narrow { max-width: 900px; }
  section { padding: 130px 0; }

  /* type scale up one notch */
  .eyebrow { font-size: 14px; }
  .title { font-size: clamp(40px, 4vw, 68px); }
  .sub { font-size: 21px; max-width: 760px; }
  .hero-headline { font-size: clamp(56px, 6vw, 100px); }
  .hero-sub { font-size: 23px; max-width: 760px; }
  .stats-title { font-size: 48px; }
  .stat-num { font-size: 80px; }
  .stat-label { font-size: 16px; }
  .card h3 { font-size: 21px; }
  .card p { font-size: 16px; }
  .overseas-card h3 { font-size: 20px; }
  .overseas-card p { font-size: 16px; }
  .diff-item h3 { font-size: 44px; }
  .diff-item p { font-size: 18px; }
  .diff-media { height: min(76vh, 760px); }
  .process-step h3 { font-size: 22px; }
  .process-step p { font-size: 16px; }
  .customer-card h3 { font-size: 21px; }
  .customer-card p, .customer-card blockquote { font-size: 15.5px; }
  .customer-card .cc-img { height: 210px; }
  .philo-card { flex-basis: 600px; }
  .philo-card p { font-size: 27px; }
  summary { font-size: 20px; }
  details p { font-size: 17px; }
  #premium .big { font-size: 60px; }
  .quote-band blockquote p { font-size: clamp(48px, 4.6vw, 88px); }
  #cta .title { font-size: 60px; }

  /* galleries: bigger cards to fill the width */
  .polaroid { width: 340px; }
  .polaroid img { height: 255px; }
  .polaroid figcaption { font-size: 15px; }
  .kid-cards .polaroid { width: 380px; }
  .kid-cards .polaroid video, .kid-cards .polaroid img { height: 420px; }

  /* hero photo band taller */
  .hero-photo-wrap { max-width: 1680px; }
  .float-chip b { font-size: 17px; }
  .float-chip span { font-size: 13px; }

  /* edge-aligned components follow the wider grid */
  .fee-split { width: min(1632px, calc(100vw - 48px)); }
  .philo-bleed .philo-rail { padding-left: max(24px, calc((100vw - 1632px) / 2)); }
}

/* ═══════════ MOBILE ═══════════ */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-burger { display: block; }
  section { padding: 80px 0; }
  #hero { padding-top: 130px; }
  .page-hero { padding: 130px 0 56px; }
  .hero-photo { aspect-ratio: 4 / 3; border-radius: 20px 20px 0 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 16px; }
  .diff-wrap { grid-template-columns: 1fr; gap: 0; }
  .diff-media { display: none; }
  .diff-item { padding: 44px 0; border-bottom: 1px solid var(--border); }
  .diff-item:last-child { border-bottom: none; }
  .diff-inline-img {
    display: block; width: 100%; height: 240px; object-fit: cover;
    border-radius: 16px; margin-bottom: 26px;
  }
  .tt-inline {
    display: flex; position: static; width: 100%; height: auto;
    opacity: 1; transform: none; border-radius: 16px; margin-bottom: 26px;
  }
  .process-grid { grid-template-columns: 1fr; gap: 36px; }
  .photo-break { height: 56vh; min-height: 380px; }
  .step-full { grid-template-columns: 1fr; gap: 12px; }
  .modal-box { padding: 40px 26px; border-radius: 22px; }
  .wa-float { bottom: 20px; right: 20px; }
}
