/* =====================================================================
   2 Eggs Advisory — styles.css
   Design tokens first, then base, layout, components, page sections.
   ===================================================================== */

:root {
  --navy: #17305a;
  --navy-soft: #213f70;
  --navy-deep: #102341;
  --china-red: #c0281e;
  --amber: #e8b04a;
  --amber-dark: #c9922c;
  --ivory: #f9f6f1;
  --sand: #ede7dc;
  --card: #fffdf9;
  --charcoal: #2a2a2a;
  --muted: #6e6a66;
  --border: #ddd6c9;

  --radius: 4px;
  --radius-lg: 8px;
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(4rem, 8vw, 6.5rem);
  --shadow: 0 12px 32px rgba(23, 48, 90, 0.08);

  --font-head: "Archivo", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-body: "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
}
@media (max-width: 640px) { body { font-size: 1rem; } }

img, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  margin: 0 0 0.5em;
  line-height: 1.15;
  font-weight: 700;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 5.6vw, 3.9rem); line-height: 1.05; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); letter-spacing: -0.02em; }
h3 { font-size: 1.2rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--china-red); }
ul { margin: 0; padding: 0; list-style: none; }
strong { font-weight: 600; }
small { font-size: 0.875em; }

:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 2px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--navy); color: #fff; padding: 0.6rem 1rem; border-radius: var(--radius);
  transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.container--narrow { max-width: 820px; }

.section { padding: var(--section-y) 0; position: relative; }
.section--sand { background: var(--sand); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section--navy { background: var(--navy); color: var(--ivory); }
.section--navy h1, .section--navy h2, .section--navy h3, .section--navy h4 { color: #fff; }
.section--navy a { color: #fff; }
.section--navy a:hover { color: var(--amber); }
.section--navy .muted { color: rgba(249, 246, 241, 0.75); }
.section--tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }

.eyebrow {
  display: inline-block;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--china-red); margin-bottom: 1rem;
}
.section--navy .eyebrow { color: var(--amber); }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 46rem; }
.section--navy .lede { color: rgba(249, 246, 241, 0.8); }
.muted { color: var(--muted); }
.measure { max-width: 46rem; }

.section-head {
  display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 2rem;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}
.section-head--center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.section-head__art { width: clamp(140px, 18vw, 250px); }
.section-head__art img { width: 100%; }
@media (max-width: 640px) {
  .section-head { grid-template-columns: 1fr; align-items: start; }
  .section-head__art { width: 130px; order: -1; }
}

.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.rule { height: 1px; background: var(--border); border: 0; margin: clamp(2rem, 4vw, 3rem) 0; }
.section--navy .rule { background: rgba(255, 255, 255, 0.14); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-body); font-weight: 600; font-size: 0.95rem;
  padding: 0.8rem 1.25rem; border-radius: var(--radius); border: 1px solid transparent;
  text-decoration: none; cursor: pointer; line-height: 1.2; white-space: nowrap;
  transition: transform 0.15s var(--ease), background 0.15s, color 0.15s, border-color 0.15s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--amber); color: var(--navy); border-color: var(--amber); }
.btn--primary:hover { background: #f0be5e; color: var(--navy); }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }
.section--navy .btn--outline, .phero .btn--outline { color: #fff; border-color: rgba(255, 255, 255, 0.6); }
.section--navy .btn--outline:hover, .phero .btn--outline:hover { background: #fff; color: var(--navy); }
.btn--sm { padding: 0.55rem 0.9rem; font-size: 0.85rem; }
.btn .arrow { transition: transform 0.15s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }

.text-link { font-weight: 600; text-decoration: none; display: inline-flex; gap: 0.35rem; align-items: center; }
.text-link:hover .arrow { transform: translateX(3px); }
.text-link .arrow { transition: transform 0.15s var(--ease); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(249, 246, 241, 0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(23, 48, 90, 0.1);
  transition: box-shadow 0.2s;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(23, 48, 90, 0.08); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--navy); }
.brand:hover { color: var(--navy); }
.brand__eggs { display: flex; align-items: flex-end; gap: 2px; height: 40px; }
.brand__eggs img { height: 40px; width: auto; }
.brand__eggs img:last-child { height: 36px; }
.brand__text { line-height: 1.05; }
.brand__name { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; letter-spacing: -0.01em; display: block; }
.brand__tag { font-size: 0.62rem; letter-spacing: 0.02em; color: var(--muted); display: block; margin-top: 2px; }

.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav__list { display: flex; gap: 1.4rem; align-items: center; }
.nav__list a { text-decoration: none; font-size: 0.92rem; font-weight: 500; color: var(--navy); padding: 0.4rem 0; position: relative; }
.nav__list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--amber);
  transform: scaleX(0); transform-origin: left; transition: transform 0.2s var(--ease);
}
.nav__list a:hover::after, .nav__list a.is-active::after, .nav__list a[aria-current="page"]::after { transform: scaleX(1); }
.nav__toggle {
  display: none; background: none; border: 1px solid var(--border); border-radius: var(--radius);
  width: 44px; height: 44px; cursor: pointer; color: var(--navy); align-items: center; justify-content: center;
}
.nav__toggle span { display: block; width: 20px; height: 2px; background: currentColor; position: relative; transition: background 0.2s; }
.nav__toggle span::before, .nav__toggle span::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: currentColor; transition: transform 0.2s var(--ease);
}
.nav__toggle span::before { top: -6px; } .nav__toggle span::after { top: 6px; }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav__toggle { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 72px;
    background: var(--ivory); border-bottom: 1px solid var(--border);
    flex-direction: column; align-items: stretch; gap: 0; padding: 0.5rem var(--gutter) 1.25rem;
    display: none; box-shadow: 0 20px 40px rgba(23, 48, 90, 0.1);
  }
  .nav.is-open { display: flex; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list a { display: block; padding: 0.85rem 0; border-bottom: 1px solid var(--border); font-size: 1rem; }
  .nav__list a::after { display: none; }
  .nav .btn { margin-top: 1rem; justify-content: center; }
}

/* ---------- Hero (home) ---------- */
.hero { padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(3rem, 6vw, 5rem); border-bottom: 1px solid rgba(23, 48, 90, 0.1); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; } }
.hero h1 { margin-bottom: 1.25rem; }
.hero__note { margin-top: 2rem; font-size: 0.85rem; color: var(--muted); letter-spacing: 0.02em; }

.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: var(--card); box-shadow: var(--shadow); }
.tile { padding: 1.5rem 1.4rem; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); text-decoration: none; color: var(--navy); display: flex; flex-direction: column; gap: 0.9rem; transition: background 0.15s; min-height: 140px; }
.tile:nth-child(2n) { border-right: 0; }
.tile:nth-last-child(-n+2) { border-bottom: 0; }
.tile:hover { background: var(--ivory); color: var(--navy); }
.tile__icon { width: 28px; height: 28px; color: var(--navy); }
.tile__label { font-family: var(--font-head); font-weight: 600; font-size: 1rem; }
.hero__art { position: relative; }
.hero__egg { position: absolute; right: -10px; bottom: -34px; width: clamp(90px, 10vw, 130px); pointer-events: none; }
@media (max-width: 900px) { .hero__egg { display: none; } }

/* ---------- Cards ---------- */
.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 2.5vw, 2rem); position: relative;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.card--lift:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card__icon { width: 30px; height: 30px; color: var(--navy); margin-bottom: 1.1rem; }
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--muted); font-size: 0.98rem; }
.card--accent { border-top: 3px solid var(--navy); border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
.card--accent.is-red { border-top-color: var(--china-red); }
.section--navy .card { background: var(--navy-soft); border-color: rgba(255, 255, 255, 0.14); }
.section--navy .card p { color: rgba(249, 246, 241, 0.78); }
.section--navy .card__icon { color: var(--amber); }
.card--sand { background: var(--sand); border-color: transparent; }
.card--navy { background: var(--navy); border-color: var(--navy); color: var(--ivory); }
.card--navy h3, .card--navy h4 { color: #fff; }
.card--navy p { color: rgba(249, 246, 241, 0.8); }

.num { font-family: var(--font-head); font-weight: 700; color: var(--china-red); font-size: 1.1rem; letter-spacing: 0.02em; }
.num--big { font-size: 2.2rem; color: rgba(23, 48, 90, 0.18); position: absolute; top: 1.2rem; right: 1.4rem; line-height: 1; }
.section--navy .num--big { color: rgba(255, 255, 255, 0.18); }
.num--dot {
  display: inline-flex; width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff;
  align-items: center; justify-content: center; font-size: 0.85rem; flex: none;
}
.num--dot.is-red { background: var(--china-red); }
.num--dot.is-amber { background: var(--amber); color: var(--navy); }

/* Numbered list rows (Problem section) */
.steps-list { display: grid; gap: 0; }
.steps-list li {
  display: grid; grid-template-columns: 2.5rem 1fr; gap: 1rem; align-items: baseline;
  padding: 1rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.steps-list li:last-child { border-bottom: 0; }
.steps-list .num { color: var(--amber); }
.steps-list span:last-child { font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; color: #fff; }

.quote-box {
  border-left: 3px solid var(--amber); padding: 0.25rem 0 0.25rem 1.25rem; margin: 1.5rem 0;
  font-family: var(--font-head); font-weight: 600; font-size: clamp(1.1rem, 1.8vw, 1.35rem); line-height: 1.35; color: #fff;
}

/* Three lenses / columns with rule */
.lens { border-top: 3px solid var(--navy); padding-top: 1.25rem; }
.lens.is-red { border-top-color: var(--china-red); }
.lens .num { display: block; margin-bottom: 0.4rem; }
.lens h3 { font-size: 1.35rem; margin-bottom: 0.9rem; }
.lens__label { display: block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--china-red); margin: 0.9rem 0 0.25rem; }
.lens__label:first-of-type { margin-top: 0; }
.lens p { font-size: 0.98rem; color: var(--muted); }
.lens p strong { color: var(--charcoal); }

/* Process (How we work) */
.process .card { padding-top: 2rem; }
.process .card h3 { font-size: 1.25rem; }

/* Insights */
.featured { display: grid; grid-template-columns: auto 1fr; gap: 2rem; align-items: center; }
@media (max-width: 640px) { .featured { grid-template-columns: 1fr; } }
.featured__badge { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--china-red); }
.featured h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); margin: 0.5rem 0 0.75rem; }
.featured__meta { font-size: 0.9rem; color: var(--muted); display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; margin-top: 1rem; }

.videos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 1.25rem; }
.video { display: block; text-decoration: none; color: var(--charcoal); background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease); }
.video:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--charcoal); }
.video__thumb { position: relative; aspect-ratio: 16 / 9; background: var(--navy); overflow: hidden; }
.video__thumb img { width: 100%; height: 100%; object-fit: cover; opacity: 0.92; transition: transform 0.4s var(--ease); }
.video:hover .video__thumb img { transform: scale(1.04); }
.video__play {
  position: absolute; inset: 0; margin: auto; width: 52px; height: 52px; border-radius: 50%;
  background: rgba(23, 48, 90, 0.85); color: #fff; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, 0.35);
}
.video__body { padding: 1rem 1.1rem 1.1rem; }
.video__title { font-family: var(--font-head); font-weight: 600; font-size: 0.98rem; color: var(--navy); line-height: 1.3; }
.video__meta { font-size: 0.8rem; color: var(--muted); margin-top: 0.4rem; display: flex; justify-content: space-between; }

/* Partners */
.partner { display: grid; grid-template-columns: 120px 1fr; gap: 1.5rem; align-items: start; }
@media (max-width: 480px) { .partner { grid-template-columns: 1fr; } }
.partner__photo { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; border: 3px solid var(--sand); box-shadow: var(--shadow); }
.partner__role { font-size: 0.85rem; font-weight: 600; color: var(--china-red); margin-bottom: 0.75rem; }
.partner p { font-size: 0.97rem; }
.partner .text-link { margin-top: 0.75rem; font-size: 0.92rem; }
.partner__egg { position: absolute; top: -14px; left: 86px; width: 44px; }
.partner__wrap { position: relative; }

.callout { background: var(--sand); border-left: 3px solid var(--amber); border-radius: var(--radius); padding: 1.25rem 1.5rem; font-size: 1rem; }
.section--navy .callout { background: var(--navy-soft); color: var(--ivory); }

/* Contact */
.form { display: grid; gap: 1rem; }
.form__row { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 0.35rem; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--navy); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 0.98rem; width: 100%; padding: 0.7rem 0.85rem;
  border: 1px solid var(--border); border-radius: var(--radius); background: #fff; color: var(--charcoal);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(232, 176, 74, 0.35); }
.field textarea { min-height: 130px; resize: vertical; }
.field--hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form__status { font-size: 0.92rem; min-height: 1.4em; }
.form__status.is-error { color: var(--china-red); font-weight: 600; }
.form__status.is-success { color: #1d6b3a; font-weight: 600; }
.form__hint { font-size: 0.8rem; color: var(--muted); }
.contact-card { background: var(--card); color: var(--charcoal); border-radius: var(--radius-lg); padding: clamp(1.4rem, 3vw, 2.25rem); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25); }
.contact-card h3 { color: var(--navy); font-size: 1.3rem; }
.contact-card .muted { color: var(--muted); }

/* Footer */
.site-footer { background: var(--navy-deep); color: rgba(249, 246, 241, 0.8); padding: clamp(3rem, 6vw, 5rem) 0 2rem; }
.site-footer a { color: rgba(249, 246, 241, 0.85); text-decoration: none; }
.site-footer a:hover { color: var(--amber); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; align-items: start; }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brandcol { grid-column: 1 / -1; } }
.footer__lockup { display: inline-flex; align-items: center; gap: 1rem; background: var(--ivory); color: var(--navy); border-radius: var(--radius-lg); padding: 1rem 1.4rem 1rem 1rem; margin-bottom: 1.25rem; }
.footer__lockup .brand__eggs { height: 56px; }
.footer__lockup .brand__eggs img { height: 56px; } .footer__lockup .brand__eggs img:last-child { height: 50px; }
.footer__lockup .brand__name { font-size: 1.8rem; }
.footer__lockup .brand__tag { font-size: 0.8rem; }
.footer__head { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber); margin-bottom: 0.9rem; }
.footer__links li { margin-bottom: 0.55rem; font-size: 0.95rem; }
.footer__links svg { width: 16px; height: 16px; display: inline-block; vertical-align: -3px; margin-right: 0.4rem; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); margin-top: 2.5rem; padding-top: 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem; font-size: 0.82rem; color: rgba(249, 246, 241, 0.6); }

/* ---------- Programme page ---------- */
.phero { background: var(--navy); color: var(--ivory); padding: clamp(3rem, 7vw, 6rem) 0 clamp(2.5rem, 5vw, 4.5rem); position: relative; overflow: hidden; }
.phero::before { content: ""; position: absolute; left: var(--gutter); top: clamp(3rem, 7vw, 6rem); bottom: clamp(2.5rem, 5vw, 4.5rem); width: 3px; background: var(--amber); }
.phero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 2rem; align-items: center; }
@media (max-width: 900px) { .phero__grid { grid-template-columns: 1fr; } .phero::before { display: none; } }
.phero__text { padding-left: 2rem; }
@media (max-width: 900px) { .phero__text { padding-left: 0; } }
.phero .eyebrow { color: var(--amber); }
.phero h1 { color: #fff; font-style: italic; font-size: clamp(2.6rem, 6vw, 4.4rem); }
.phero .lede { color: rgba(249, 246, 241, 0.85); font-size: clamp(1.15rem, 2vw, 1.5rem); }
.phero__art img { width: 100%; max-width: 620px; margin: 0 auto; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.35)); }
.phero__brand { margin-top: 2.5rem; display: flex; align-items: center; gap: 0.9rem; }
.phero__brand .brand__eggs { background: var(--ivory); border-radius: 50%; padding: 0 8px; height: 56px; width: 56px; flex: none; align-items: center; justify-content: center; gap: 1px; }
.phero__brand .brand__eggs img { height: 28px; width: auto; flex: none; } .phero__brand .brand__eggs img:last-child { height: 25px; }
.phero__brand strong { font-family: var(--font-head); font-size: 1.2rem; color: #fff; display: block; }
.phero__brand small { color: var(--amber); letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.68rem; display: block; }
.phero__brand span { font-size: 0.72rem; letter-spacing: 0.14em; color: rgba(249, 246, 241, 0.7); display: block; margin-top: 0.15rem; }

/* Sticky in-page nav */
.subnav { position: sticky; top: 72px; z-index: 40; background: rgba(249, 246, 241, 0.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.subnav ul { display: flex; gap: 0.25rem; overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: block; padding: 0.85rem 0.8rem; font-size: 0.82rem; font-weight: 600; text-decoration: none; color: var(--muted); white-space: nowrap; border-bottom: 2px solid transparent; }
.subnav a:hover, .subnav a.is-active { color: var(--navy); border-bottom-color: var(--amber); }

/* Definition bar */
.defbar { border-left: 3px solid var(--navy); padding: 0.5rem 0 0.5rem 1.5rem; }
.defbar__label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--china-red); margin-bottom: 0.4rem; }
.defbar p { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.15rem, 2vw, 1.5rem); color: var(--navy); line-height: 1.35; }
.section--navy .defbar { border-color: var(--amber); }
.section--navy .defbar p { color: #fff; }

/* Signals list (What shapes the visit) */
.signals { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(1.4rem, 2.5vw, 2rem); }
.signals h3 { font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--china-red); margin-bottom: 1rem; }
.signals li { display: grid; grid-template-columns: 12px 130px 1fr; gap: 0.9rem; align-items: baseline; padding: 0.8rem 0; border-bottom: 1px dashed var(--border); font-size: 0.95rem; }
.signals li:last-of-type { border-bottom: 0; }
.signals li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--amber); display: block; position: relative; top: 1px; }
.signals li strong { font-family: var(--font-head); font-size: 0.85rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--navy); }
.signals li span { color: var(--muted); }
@media (max-width: 480px) { .signals li { grid-template-columns: 12px 1fr; } .signals li span { grid-column: 2; } }
.signals__foot { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border); font-weight: 600; color: var(--china-red); font-size: 0.92rem; }

/* Layers strip */
.layers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; position: relative; }
@media (max-width: 760px) { .layers { grid-template-columns: 1fr; } }
.layer { border-top: 3px solid var(--navy); padding-top: 1.1rem; }
.layer.is-red { border-top-color: var(--china-red); }
.layer .num { display: block; margin-bottom: 0.3rem; }
.layer h3 { font-size: 1.3rem; margin-bottom: 0.3rem; }
.layer__sub { color: var(--muted); font-size: 0.95rem; margin-bottom: 0.6rem; }
.layer__take { font-weight: 600; color: var(--navy); font-size: 0.95rem; }
.layer__icon { width: 34px; height: 34px; color: var(--navy); margin-bottom: 0.75rem; }

/* Tabs */
.tabs__list { display: flex; gap: 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--card); margin: 2.5rem 0 2rem; width: fit-content; max-width: 100%; }
.tabs__tab {
  font: inherit; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  background: transparent; color: var(--muted); border: 0; border-right: 1px solid var(--border);
  padding: 0.85rem 1.4rem; cursor: pointer; display: inline-flex; gap: 0.6rem; align-items: center; transition: background 0.15s, color 0.15s;
}
.tabs__tab:last-child { border-right: 0; }
.tabs__tab .num { color: var(--muted); font-size: 0.85rem; }
.tabs__tab:hover { color: var(--navy); }
.tabs__tab[aria-selected="true"] { background: var(--china-red); color: #fff; }
.tabs__tab[aria-selected="true"] .num { color: rgba(255, 255, 255, 0.8); }
.tabs__tab:focus-visible { outline-offset: -3px; }
@media (max-width: 640px) { .tabs__list { width: 100%; } .tabs__tab { flex: 1; justify-content: center; padding: 0.8rem 0.5rem; font-size: 0.72rem; } .tabs__tab .num { display: none; } }
.js .tabs__panel[hidden] { display: none; }
.tabs__panel { animation: fadeUp 0.45s var(--ease) both; }
.no-js .tabs__panel + .tabs__panel { margin-top: 3rem; padding-top: 3rem; border-top: 1px solid var(--border); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.panel-head { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: end; margin-bottom: 2rem; }
.panel-head h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; letter-spacing: -0.01em; margin-bottom: 0.25rem; }
.panel-head .eyebrow { margin-bottom: 0.5rem; }
.panel-head__art { width: clamp(120px, 16vw, 210px); }
@media (max-width: 640px) { .panel-head { grid-template-columns: 1fr; } .panel-head__art { width: 120px; } }

.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip { font-size: 0.85rem; font-weight: 600; padding: 0.4rem 0.8rem; background: var(--sand); border-radius: 999px; color: var(--navy); }

.benefit { border-top: 3px solid var(--border); padding-top: 1rem; }
.benefit__label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--china-red); display: block; margin-bottom: 0.4rem; }
.benefit p { font-size: 0.97rem; color: var(--charcoal); }

/* Masterclass module grid */
.modules { display: grid; grid-template-columns: 1fr 1fr 0.9fr; gap: 0; border: 1px solid var(--border); background: var(--card); border-radius: var(--radius-lg); overflow: hidden; }
@media (max-width: 900px) { .modules { grid-template-columns: 1fr; } }
.modules__col { padding: 1.5rem; border-right: 1px solid var(--border); }
.modules__col:last-child { border-right: 0; background: var(--sand); }
@media (max-width: 900px) { .modules__col { border-right: 0; border-bottom: 1px solid var(--border); } .modules__col:last-child { border-bottom: 0; } }
.modules__label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--china-red); margin-bottom: 1rem; }
.module { display: grid; grid-template-columns: 2rem 1fr; gap: 0.75rem; padding: 0.9rem 0; border-bottom: 1px dashed var(--border); }
.module:last-child { border-bottom: 0; }
.module .num { font-size: 1rem; }
.module h4 { margin-bottom: 0.15rem; font-size: 1rem; }
.module__time { font-size: 0.75rem; font-weight: 700; color: var(--china-red); letter-spacing: 0.06em; margin-bottom: 0.35rem; }
.module p { font-size: 0.9rem; color: var(--muted); }

.checklist li { display: grid; grid-template-columns: 14px 1fr; gap: 0.75rem; align-items: baseline; padding: 0.45rem 0; font-size: 0.97rem; font-weight: 500; }
.checklist li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--china-red); display: block; position: relative; top: 1px; }

.note { font-size: 0.85rem; color: var(--muted); font-style: italic; }

/* Format cards (Delivery) */
.formats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
@media (max-width: 1000px) { .formats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .formats { grid-template-columns: 1fr; } }
.format { background: var(--card); border: 1px solid var(--border); border-top: 3px solid var(--navy); padding: 1.4rem 1.3rem 1.3rem; border-radius: 0 0 var(--radius-lg) var(--radius-lg); display: flex; flex-direction: column; gap: 0.4rem; transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease); }
.format:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.format:nth-child(2), .format:nth-child(4) { border-top-color: var(--china-red); }
.format h3 { font-size: 1.15rem; margin: 0.25rem 0 0.15rem; }
.format__lead { font-weight: 600; color: var(--charcoal); font-size: 0.95rem; }
.format p { font-size: 0.9rem; color: var(--muted); }
.format__time { margin-top: auto; padding-top: 0.75rem; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; color: var(--china-red); text-transform: uppercase; }
.gradient-bar { margin-top: 1.5rem; height: 6px; border-radius: 999px; background: linear-gradient(90deg, var(--sand), var(--amber) 60%, var(--china-red)); }
.gradient-bar + p { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--china-red); margin-top: 0.6rem; }

/* Difference (Tourism → Value capture) */
.ladder { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; align-items: stretch; }
@media (max-width: 760px) { .ladder { grid-template-columns: 1fr; } }
.ladder .card h3 { font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; margin: 0.5rem 0 0.6rem; }
.ladder .card .num { font-size: 1.4rem; }
.ladder .card--navy .num { color: var(--amber); }
.ladder__tag { display: block; text-align: center; margin-top: 0.75rem; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--china-red); }
.equation { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; align-items: center; justify-content: center; margin-top: 2.5rem; font-family: var(--font-head); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.95rem; color: var(--navy); }
.equation .op { color: var(--amber); font-size: 1.4rem; }
.equation .result { color: var(--china-red); font-size: 1.35rem; }

/* Sample day timeline */
.legend { display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; margin-bottom: 1.5rem; font-size: 0.92rem; }
.legend strong { color: var(--china-red); letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.78rem; margin-right: 0.4rem; }
.timeline-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--card); }
.timeline { width: 100%; border-collapse: collapse; font-size: 0.92rem; min-width: 760px; }
.timeline th { background: var(--navy); color: #fff; text-align: left; font-family: var(--font-head); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.8rem 1rem; }
.timeline td { padding: 0.85rem 1rem; border-bottom: 1px solid var(--border); vertical-align: top; }
.timeline tr:last-child td { border-bottom: 0; }
.timeline td:first-child { font-weight: 700; color: var(--china-red); white-space: nowrap; font-family: var(--font-head); }
.timeline td:nth-child(2) { font-weight: 600; color: var(--navy); }
.timeline td:last-child { font-style: italic; color: var(--muted); }
.timeline tbody tr { transition: background 0.15s; }
.timeline tbody tr:hover, .timeline tbody tr:focus-within, .timeline tbody tr.is-active { background: rgba(232, 176, 74, 0.14); }
.timeline tr.is-2ea td:nth-child(2)::after { content: "2EA"; margin-left: 0.5rem; font-size: 0.62rem; letter-spacing: 0.1em; background: var(--china-red); color: #fff; padding: 0.15rem 0.4rem; border-radius: 3px; vertical-align: 2px; }
@media (max-width: 760px) {
  .timeline-wrap { overflow: visible; border: 0; background: transparent; }
  .timeline { min-width: 0; }
  .timeline thead { display: none; }
  .timeline, .timeline tbody, .timeline tr, .timeline td { display: block; }
  .timeline tr { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1rem 1.1rem 0.6rem; margin-bottom: 0.9rem; }
  .timeline td { border: 0; padding: 0.25rem 0 0.5rem; }
  .timeline td::before { content: attr(data-label); display: block; font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-style: normal; font-weight: 700; margin-bottom: 0.1rem; }
  .timeline td:first-child::before { display: none; }
  .timeline td:first-child { font-size: 1.1rem; }
}

/* Themes list (Design) */
.themes li { display: grid; grid-template-columns: 40px 130px 1fr; gap: 1rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--border); }
.themes li:last-child { border-bottom: 0; }
.themes svg { width: 30px; height: 30px; color: var(--muted); }
.themes strong { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--china-red); }
.themes span { font-size: 0.95rem; font-weight: 500; }
@media (max-width: 480px) { .themes li { grid-template-columns: 40px 1fr; } .themes span { grid-column: 2; } }

.steps-v li { display: grid; grid-template-columns: 34px 1fr; gap: 1rem; align-items: start; padding: 0.7rem 0; position: relative; }
.steps-v li:not(:last-child)::before { content: ""; position: absolute; left: 16px; top: 44px; bottom: -6px; width: 2px; background: var(--border); }
.steps-v h4 { margin-bottom: 0.1rem; font-size: 1.02rem; }
.steps-v p { font-size: 0.9rem; color: var(--muted); }

/* Next steps path */
.path { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; position: relative; margin: 2.5rem 0; }
.path::before { content: ""; position: absolute; left: 12%; right: 12%; top: 26px; height: 2px; background: rgba(255, 255, 255, 0.25); }
@media (max-width: 640px) { .path { grid-template-columns: 1fr 1fr; } .path::before { display: none; } }
.path li { display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; }
.path .num--dot { width: 54px; height: 54px; font-size: 1.2rem; background: var(--amber); color: var(--navy); margin: 0 auto 0.75rem; border: 4px solid var(--navy); box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.25); }
.path li:last-child .num--dot { background: #fff; }
.path strong { font-family: var(--font-head); color: #fff; font-size: 1rem; max-width: 9rem; }

.qr-row { display: grid; grid-template-columns: repeat(3, minmax(0, 160px)); gap: 1.5rem; margin-top: 2rem; }
@media (max-width: 480px) { .qr-row { grid-template-columns: repeat(3, 1fr); gap: 0.75rem; } }
.qr { text-align: center; font-size: 0.8rem; font-weight: 600; color: rgba(249, 246, 241, 0.85); }
.qr img { background: #fff; border-radius: var(--radius); padding: 6px; margin-bottom: 0.5rem; }

/* CTA banner */
.cta-band { background: var(--navy-soft); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.5rem); display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: space-between; }
.cta-band h3 { font-size: 1.4rem; margin-bottom: 0.25rem; }

/* Prose pages (privacy/legal) */
.prose h2 { font-size: 1.25rem; margin-top: 2.2rem; }
.prose p { color: var(--charcoal); }

/* ---------- Reveal animation ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js [data-reveal-stagger] > * { opacity: 0; transform: translateY(18px); transition: opacity 0.55s var(--ease), transform 0.55s var(--ease); }
.js [data-reveal-stagger].is-visible > * { opacity: 1; transform: none; }
.js [data-reveal-stagger].is-visible > :nth-child(2) { transition-delay: 0.08s; }
.js [data-reveal-stagger].is-visible > :nth-child(3) { transition-delay: 0.16s; }
.js [data-reveal-stagger].is-visible > :nth-child(4) { transition-delay: 0.24s; }
.js [data-reveal-stagger].is-visible > :nth-child(5) { transition-delay: 0.32s; }
.float { animation: float 6s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal], .js [data-reveal-stagger] > * { opacity: 1; transform: none; transition: none; }
  .float, .tabs__panel { animation: none; }
  .btn, .card, .video, .format { transition: none; }
}

/* Back to top */
.to-top { position: fixed; right: 1rem; bottom: 1rem; z-index: 40; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; border: 1px solid rgba(255,255,255,.25); display: grid; place-items: center; cursor: pointer; opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity .2s, transform .2s; box-shadow: var(--shadow); }
.to-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { background: var(--china-red); }

/* =====================================================================
   Evidence components: audience fork, logo marquee, photo strip,
   testimonials rotator, lightbox, roles table, facts strip
   ===================================================================== */

/* Audience fork (home hero) */
.fork { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: clamp(2rem, 4vw, 3rem); }
@media (max-width: 760px) { .fork { grid-template-columns: 1fr; } }
.fork__item { display: flex; flex-direction: column; gap: 0.45rem; padding: 1.3rem 1.5rem; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--card); text-decoration: none; color: var(--charcoal); transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease); }
.fork__item:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--charcoal); }
.fork__item .eyebrow { margin-bottom: 0.1rem; }
.fork__item strong { font-family: var(--font-head); color: var(--navy); font-size: 1.1rem; line-height: 1.3; }
.fork__item .text-link { margin-top: 0.4rem; font-size: 0.92rem; }
.fork__item--alt { border-color: var(--amber); background: #fdf5e4; }

/* Marquee (logos, photos) */
.marquee { overflow: hidden; position: relative; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee__track { display: flex; width: max-content; align-items: center; }
.marquee__track > * { margin-right: 1rem; }
.js .marquee__track.is-ready { animation: marquee var(--marquee-dur, 60s) linear infinite; }
.marquee--reverse .marquee__track.is-ready { animation-direction: reverse; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; overflow-x: auto; }
  .js .marquee__track.is-ready { animation: none; }
}
.logo-tile { flex: none; display: flex; align-items: center; justify-content: center; width: 176px; height: 84px; padding: 0 1.1rem; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); }
.logo-tile img { max-height: 46px; max-width: 100%; width: auto; height: auto; filter: grayscale(1); opacity: 0.72; transition: filter 0.2s, opacity 0.2s; }
.logo-tile:hover img { filter: none; opacity: 1; }
.photo-strip .marquee__track > * { margin-right: 0.75rem; }
.photo { flex: none; height: 230px; border: 0; padding: 0; background: var(--sand); border-radius: var(--radius); overflow: hidden; cursor: zoom-in; position: relative; }
.photo img { height: 100%; width: auto; display: block; transition: transform 0.4s var(--ease); }
.photo:hover img { transform: scale(1.03); }
.photo:focus-visible { outline-offset: 2px; }
@media (max-width: 640px) { .photo { height: 160px; } .logo-tile { width: 140px; height: 70px; } .logo-tile img { max-height: 36px; } }
.evidence__row { margin-top: 1.5rem; }
.evidence__caption { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; align-items: center; margin: 0.75rem 0 0; font-size: 0.82rem; color: var(--muted); }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1100px); max-height: 92vh; }
.lightbox::backdrop { background: rgba(16, 35, 65, 0.88); backdrop-filter: blur(4px); }
.lightbox figure { margin: 0; position: relative; }
.lightbox img { max-width: 100%; max-height: 80vh; width: auto; height: auto; border-radius: var(--radius-lg); display: block; margin: 0 auto; }
.lightbox figcaption { color: rgba(249, 246, 241, 0.9); text-align: center; font-size: 0.92rem; padding: 0.9rem 1rem 0; }
.lightbox__close { position: absolute; top: -14px; right: -14px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--amber); color: var(--navy); font-size: 1.3rem; font-weight: 700; cursor: pointer; line-height: 1; }

/* Testimonials */
.testi { position: relative; margin-top: clamp(2rem, 4vw, 3rem); background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1.25rem, 3vw, 2.5rem) 1.25rem; }
.testi__label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--china-red); margin-bottom: 1rem; }
.testi__items { position: relative; min-height: 150px; }
.testi__item { position: absolute; inset: 0; opacity: 0; transition: opacity 0.6s var(--ease); pointer-events: none; }
.testi__item.is-active { position: relative; opacity: 1; pointer-events: auto; }
.no-js .testi__item { position: relative; opacity: 1; pointer-events: auto; margin-bottom: 2rem; }
.testi__quote { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.05rem, 1.7vw, 1.4rem); line-height: 1.4; color: var(--navy); margin: 0; text-wrap: pretty; }
.testi__quote::before { content: "\201C"; color: var(--amber); font-size: 1.6em; line-height: 0; vertical-align: -0.3em; margin-right: 0.15em; }
.testi__who { margin: 1rem 0 0; font-size: 0.9rem; color: var(--muted); }
.testi__who strong { display: block; color: var(--charcoal); font-weight: 600; }
.testi__who em { font-style: normal; color: var(--china-red); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.72rem; margin-left: 0.4rem; }
.testi__controls { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.no-js .testi__controls { display: none; }
.testi__dots { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.testi__dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: var(--border); cursor: pointer; padding: 0; transition: background 0.2s, transform 0.2s; }
.testi__dots button[aria-current="true"] { background: var(--china-red); transform: scale(1.25); }
.testi__nav { display: flex; gap: 0.4rem; }
.testi__nav button { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border); background: #fff; color: var(--navy); cursor: pointer; font-size: 1rem; display: grid; place-items: center; transition: background 0.15s, color 0.15s; }
.testi__nav button:hover { background: var(--navy); color: #fff; }

/* Roles table (programme: your tour) */
.roles-wrap { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.16); }
.roles { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.roles th { text-align: left; font-family: var(--font-head); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.9rem 1.1rem; background: rgba(255, 255, 255, 0.08); color: var(--amber); }
.roles th:last-child { background: var(--amber); color: var(--navy); }
.roles td { padding: 1rem 1.1rem; border-top: 1px solid rgba(255, 255, 255, 0.12); vertical-align: top; color: rgba(249, 246, 241, 0.85); background: var(--navy-soft); }
.roles td:first-child { font-family: var(--font-head); font-weight: 600; color: #fff; width: 20%; }
.roles td:last-child { background: rgba(232, 176, 74, 0.12); color: #fff; }
@media (max-width: 760px) {
  .roles-wrap { border: 0; overflow: visible; }
  .roles thead { display: none; }
  .roles, .roles tbody, .roles tr, .roles td { display: block; width: auto; }
  .roles tr { background: var(--navy-soft); border: 1px solid rgba(255, 255, 255, 0.16); border-radius: var(--radius-lg); margin-bottom: 0.9rem; overflow: hidden; }
  .roles td { border: 0; padding: 0.8rem 1rem; }
  .roles td:first-child { width: auto; font-size: 1.05rem; padding-bottom: 0.2rem; }
  .roles td:not(:first-child)::before { content: attr(data-label); display: block; font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber); margin-bottom: 0.2rem; }
}
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 1rem; margin-top: 1.5rem; }
.fact { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--radius); padding: 1rem 1.1rem; }
.fact strong { display: block; font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber); margin-bottom: 0.3rem; }
.fact span { font-size: 0.95rem; color: #fff; }

/* Partner name row with egg badge */
.partner__name { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.2rem; }
.partner__name h3 { margin: 0; }
.partner__name img { height: 30px; width: auto; }

/* Five-step path override */
.path--5 { grid-template-columns: repeat(5, 1fr); }
.path--5::before { left: 10%; right: 10%; }
@media (max-width: 760px) { .path--5 { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); } .path--5::before { display: none; } }
.path small { display: block; color: rgba(249, 246, 241, 0.7); font-size: 0.8rem; margin-top: 0.25rem; line-height: 1.4; }

/* Value ladder tag */
.ladder__tag { color: var(--amber); }
.section--sand .ladder__tag, .section:not(.section--navy) .ladder__tag { color: var(--china-red); }

/* ---------- Language switcher ---------- */
.lang { position: relative; }
.lang summary { list-style: none; cursor: pointer; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; padding: 0.45rem 0.65rem; border: 1px solid var(--border); border-radius: var(--radius); color: var(--navy); display: inline-flex; align-items: center; gap: 0.35rem; user-select: none; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.lang[open] summary::after { transform: rotate(-135deg) translateY(-1px); }
.lang__menu { position: absolute; right: 0; top: calc(100% + 6px); background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow); min-width: 170px; padding: 0.4rem; z-index: 60; }
.lang__menu a { display: block; padding: 0.5rem 0.7rem; font-size: 0.9rem; text-decoration: none; border-radius: var(--radius); color: var(--charcoal); }
.lang__menu a:hover { background: var(--sand); color: var(--navy); }
.lang__menu a[aria-current] { font-weight: 600; color: var(--china-red); }
@media (max-width: 900px) {
  .lang { margin-top: 0.75rem; }
  .lang summary { width: 100%; justify-content: space-between; padding: 0.7rem 0.8rem; font-size: 0.85rem; }
  .lang__menu { position: static; box-shadow: none; margin-top: 0.4rem; }
}

/* ---------- CJK typography ---------- */
:lang(zh) body, :lang(zh) .btn, :lang(zh) input, :lang(zh) select, :lang(zh) textarea { font-family: "IBM Plex Sans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", ui-sans-serif, system-ui, sans-serif; }
:lang(zh) h1, :lang(zh) h2, :lang(zh) h3, :lang(zh) h4, :lang(zh) .brand__name, :lang(zh) .testi__quote, :lang(zh) .num { font-family: "Archivo", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", ui-sans-serif, system-ui, sans-serif; letter-spacing: 0; }
:lang(zh) .eyebrow, :lang(zh) .tabs__tab, :lang(zh) .footer__head, :lang(zh) .roles th, :lang(zh) .timeline th { letter-spacing: 0.06em; }
:lang(zh) h1 { line-height: 1.2; } :lang(zh) h2 { line-height: 1.3; }

.qr { text-decoration: none; display: block; }
.qr:hover { color: var(--amber); }
.qr img { transition: transform 0.2s var(--ease); }
.qr:hover img { transform: translateY(-3px); }

/* ---------- Original logo artwork ---------- */
.brand__logo { height: 46px; width: auto; display: block; }
.footer__lockup { padding: 0.9rem 1.4rem; }
.footer__lockup .brand__logo { height: 64px; }
.phero__mark { height: 52px; width: auto; flex: none; }
@media (max-width: 640px) { .brand__logo { height: 40px; } }

/* =====================================================================
   Repositioning components (Oct 2026): packages, method, topics,
   partner boundaries, case block, prose measure, pause control
   ===================================================================== */
.prose { max-width: 68ch; }
.topic-strip { display: flex; flex-wrap: wrap; gap: 0.35rem 0; margin-top: 2rem; font-size: 0.85rem; font-weight: 500; color: var(--muted); letter-spacing: 0.02em; }
.topic-strip span + span::before { content: "·"; color: var(--amber); margin: 0 0.6rem; font-weight: 700; }

.offer-card { display: flex; flex-direction: column; gap: 0.55rem; }
.offer-card .eyebrow { margin-bottom: 0; }
.offer-meta { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin: 0; }
.offer-card h3 { font-size: 1.3rem; line-height: 1.25; margin: 0.35rem 0 0.2rem; }
.offer-outcome { margin-top: auto; background: var(--sand); border-left: 3px solid var(--amber); border-radius: var(--radius); padding: 0.85rem 1rem; font-size: 0.93rem; color: var(--charcoal); }
.offer-outcome strong { display: block; color: var(--navy); margin-bottom: 0.2rem; }
.offer-outcome p { margin: 0; color: var(--charcoal); font-size: 0.93rem; }
.offer-card .text-link { margin-top: 0.9rem; }
.offer-card--featured { border: 2px solid var(--navy); box-shadow: var(--shadow); }
.offer-badge { position: absolute; top: -13px; left: 1.4rem; background: var(--amber); color: var(--navy); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.3rem 0.7rem; border-radius: 999px; }
.offer-list { margin-top: 0.5rem; }
.offer-list li { font-size: 0.92rem; padding: 0.3rem 0; border-bottom: 1px dashed var(--border); }
.offer-list li:last-child { border-bottom: 0; }

.method-card { position: relative; padding-top: 2.4rem; }
.method-number { position: absolute; top: 1.2rem; right: 1.4rem; font-family: var(--font-head); font-weight: 700; font-size: 2rem; line-height: 1; color: rgba(23, 48, 90, 0.16); }
.section--navy .method-number { color: rgba(255, 255, 255, 0.2); }
.method-card h3 { font-size: 1.25rem; }

.topic-card h3 { font-size: 1.12rem; margin-bottom: 0.4rem; }
.topic-question { font-family: var(--font-head); font-weight: 600; font-size: 0.95rem; line-height: 1.4; color: var(--navy); border-left: 3px solid var(--china-red); padding-left: 0.8rem; margin: 0.9rem 0 0; }
.topic-card dl { margin: 0.9rem 0 0; display: grid; gap: 0.4rem; font-size: 0.88rem; }
.topic-card dt { font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; color: var(--china-red); }
.topic-card dd { margin: 0 0 0.3rem; color: var(--muted); }

.partner-boundaries { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 900px) { .partner-boundaries { grid-template-columns: 1fr; } }
.partner-boundaries section { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.4rem 1.5rem; }
.section--navy .partner-boundaries section { background: var(--navy-soft); border-color: rgba(255, 255, 255, 0.14); color: var(--ivory); }
.partner-boundaries h3 { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--china-red); margin-bottom: 0.9rem; }
.section--navy .partner-boundaries h3 { color: var(--amber); }
.partner-boundaries section.is-add { border-top: 3px solid var(--amber); }
.partner-boundaries li { padding: 0.4rem 0; border-bottom: 1px dashed var(--border); font-size: 0.95rem; display: flex; gap: 0.6rem; align-items: baseline; }
.section--navy .partner-boundaries li { border-color: rgba(255, 255, 255, 0.14); }
.partner-boundaries li:last-child { border-bottom: 0; }
.partner-boundaries li::before { content: "•"; color: var(--amber); font-weight: 700; }
.partner-boundaries .is-not li::before { content: "–"; color: var(--muted); }

.case { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 900px) { .case { grid-template-columns: 1fr; } }
.case__tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1.25rem; }
.case__tags span { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; background: var(--sand); color: var(--navy); padding: 0.3rem 0.65rem; border-radius: 999px; }
.section--navy .case__tags span { background: rgba(255, 255, 255, 0.1); color: #fff; }
.quote-box--light { color: var(--navy); border-color: var(--china-red); }

.principle { display: grid; grid-template-columns: 34px 1fr; gap: 0.9rem; align-items: start; }
.principle h3 { font-size: 1.05rem; margin-bottom: 0.3rem; }
.principle p { font-size: 0.95rem; }
.principle svg { width: 30px; height: 30px; color: var(--amber); }

.timing { border-collapse: collapse; width: 100%; font-size: 0.93rem; }
.timing td { padding: 0.55rem 0.75rem; border-bottom: 1px dashed var(--border); vertical-align: top; }
.timing tr:last-child td { border-bottom: 0; }
.timing td:first-child { font-family: var(--font-head); font-weight: 700; color: var(--china-red); white-space: nowrap; width: 5.5rem; }

.testi__nav button[data-pause][aria-pressed="true"] { background: var(--navy); color: #fff; }
.hero__visual img { width: 100%; max-width: 560px; margin: 0 auto; }
.fork__item .eyebrow { color: var(--china-red); }
.kicker-list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.steps-list--words li { grid-template-columns: 7.5rem 1fr; }
.steps-list--words .num { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; }

.topics-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 255px), 1fr)); }
.topics-grid .topic-card h3 { font-size: 1.05rem; }
.topics-grid .topic-card p, .topics-grid .topic-card dd { font-size: 0.88rem; }
.topics-grid .topic-question { font-size: 0.9rem; }
