/* Samsung GSG — concept redesign, v2 (scroll-driven, interactive)
   Order: base → layout → chrome (header, progress, HUD) → heroes → story components → content components → data viz → footer → motion states */

@view-transition { navigation: auto; }

/* ============ Base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 64px); }
html:not(.motion) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; background: var(--white); color: var(--text);
  font-family: var(--font-body); font-size: var(--fs-body); line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
img, svg, canvas, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; } p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
h1 { font-size: var(--fs-h1); letter-spacing: -0.035em; line-height: 1.02; }
h2 { font-size: var(--fs-h2); letter-spacing: -0.03em; line-height: 1.06; }
h3 { font-size: var(--fs-h3); line-height: 1.25; }
h4 { font-size: 1.0625rem; letter-spacing: -0.01em; }
strong { font-weight: 600; }
::selection { background: var(--blue); color: var(--white); }
:focus-visible { outline: 2px solid var(--blue-bright); outline-offset: 3px; border-radius: 2px; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 300; background: var(--white); color: var(--blue); padding: 10px 16px; border-radius: var(--radius-s); font-weight: 600; }
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ============ Layout ============ */
.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-y) 0; position: relative; }
.section--mist { background: var(--mist); }
.section--deep { background: var(--blue-deep); color: var(--white); }
.section--ink { background: var(--blue-ink); color: var(--white); }
.section--blue { background: var(--blue); color: var(--white); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 clamp(16px, 2.4vw, 32px); }
.lede { font-size: var(--fs-lede); line-height: 1.5; color: var(--text-2); max-width: 40em; }
.section--deep .lede, .section--ink .lede, .section--blue .lede { color: var(--muted-dark); }
.muted { color: var(--muted); }
.section--deep .muted, .section--ink .muted { color: var(--muted-dark); }
.small { font-size: var(--fs-small); }
.note { font-size: var(--fs-xs); color: var(--muted); margin-top: 16px; }
.section--deep .note, .section--ink .note { color: var(--muted-dark); }
.sub-h { font-size: var(--fs-h3); margin-bottom: 24px; }
.mt-s { margin-top: 24px; } .mt-m { margin-top: 48px; } .mt-l { margin-top: 96px; }
.divider { height: 1px; background: var(--line); margin: clamp(56px, 6vw, 96px) 0; border: 0; }
.section--deep .divider, .section--ink .divider { background: var(--line-dark); }

.s-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px clamp(16px, 2.4vw, 32px); margin-bottom: clamp(40px, 5vw, 80px); align-items: end; }
.s-head > h2, .s-head > .s-head__title { grid-column: 1 / span 7; max-width: 14em; }
.s-head > .lede, .s-head > .s-head__aside { grid-column: 8 / span 5; }
@media (max-width: 900px) { .s-head > h2, .s-head > .s-head__title, .s-head > .lede, .s-head > .s-head__aside { grid-column: 1 / -1; } }

/* Chapter label: numbered only on the home narrative, where chapters are a real sequence */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: var(--fs-small); font-weight: 600; color: var(--blue); margin-bottom: 24px; }
.eyebrow b { font-family: var(--font-display); font-variant-numeric: tabular-nums; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.section--deep .eyebrow, .section--ink .eyebrow, .is-dark .eyebrow { color: var(--blue-bright); }

/* ============ Buttons & links ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; position: relative;
  min-height: 52px; padding: 0 26px; border-radius: var(--radius-pill);
  font-family: var(--font-display); font-weight: 700; font-size: 0.9375rem; letter-spacing: 0.01em; white-space: nowrap;
  transition: background-color var(--dur-s) ease, color var(--dur-s) ease, border-color var(--dur-s) ease;
}
.btn--primary { background: var(--blue); color: var(--white); }
.btn--primary:hover { background: #0f1f86; }
.btn--light { background: var(--white); color: var(--blue); }
.btn--light:hover { background: var(--blue-tint); }
.btn--ghost { border: 1.5px solid currentColor; }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.12); }
.section:not(.section--deep):not(.section--ink):not(.section--blue) .btn--ghost:hover { background: var(--blue-tint); }
.btn svg { width: 16px; height: 16px; flex: none; }
.link {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--blue);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; padding-bottom: 2px;
  transition: background-size var(--dur-m) var(--ease-out);
}
.link:hover { background-size: 100% 1.5px; }
.is-dark .link, .section--deep .link, .section--ink .link, .section--blue .link { color: var(--white); }
.link svg { width: 14px; height: 14px; transition: transform var(--dur-s) ease; }
.link:hover svg { transform: translateX(3px); }

/* ============ Photo frames ============ */
.media { position: relative; overflow: hidden; background: var(--blue-deep); border-radius: 20px; isolation: isolate; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--parallax img { height: 118%; margin-top: -9%; will-change: transform; }
/* Brand grade: keeps the photo's light, pulls its colour toward Samsung Blue */
.media--grade::before { content: ""; position: absolute; inset: 0; z-index: 1; background: var(--blue); mix-blend-mode: color; opacity: 0.4; pointer-events: none; }
.media--shade::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, rgba(6, 13, 51, 0) 30%, rgba(6, 13, 51, 0.9) 100%); pointer-events: none; }
.media__cap { position: absolute; z-index: 3; left: 16px; bottom: 16px; font-size: var(--fs-xs); font-weight: 600; color: var(--white); background: rgba(6, 13, 51, 0.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: 6px 12px; border-radius: var(--radius-pill); }

/* ============ Chrome ============ */
.scroll-progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 120; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--blue-bright), var(--blue)); transform-origin: left; transform: scaleX(var(--sp, 0)); }

.site-header { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h); color: var(--white); transition: background-color var(--dur-m) ease, color var(--dur-m) ease, box-shadow var(--dur-m) ease, transform var(--dur-m) var(--ease-out); view-transition-name: site-header; }
.site-header.is-solid { background: rgba(255, 255, 255, 0.92); color: var(--text); box-shadow: 0 1px 0 var(--line); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { display: flex; align-items: center; gap: 14px; flex: none; }
.brand__word { font-family: var(--font-display); font-weight: 800; font-size: 1.125rem; letter-spacing: 0.24em; margin-right: -0.24em; }
/* Official SAMSUNG wordmark (vector from samsung.com): white over imagery, Samsung Blue once the header turns solid */
.brand__logo { display: block; height: 17px; width: auto; aspect-ratio: 120 / 19; flex: none; transition: color var(--dur-m) ease; }
.site-header.is-solid .brand__logo { color: var(--blue); }
.menu-open .site-header .brand__logo { color: var(--white); }
.brand__rule { width: 1px; height: 22px; background: currentColor; opacity: 0.35; }
.brand__unit { font-size: 0.8125rem; line-height: 1.15; font-weight: 500; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav__item { position: relative; }
.nav__link { display: flex; align-items: center; height: var(--header-h); padding: 0 12px; font-size: 0.9375rem; font-weight: 500; position: relative; }
.nav__link::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 22px; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform var(--dur-m) var(--ease-out); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after, .nav__item:focus-within > .nav__link::after { transform: scaleX(1); }
.site-header.is-solid .nav__link[aria-current="page"] { color: var(--blue); }
.nav__menu { position: absolute; top: calc(100% - 8px); left: 0; min-width: 260px; background: var(--white); color: var(--text); border-radius: var(--radius-m); box-shadow: 0 24px 60px -20px rgba(10, 22, 80, 0.35), 0 0 0 1px var(--line); padding: 10px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity var(--dur-s) ease, transform var(--dur-m) var(--ease-out), visibility 0s linear var(--dur-s); }
.nav__item:hover > .nav__menu, .nav__item:focus-within > .nav__menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.nav__menu a { display: block; padding: 10px 14px; border-radius: 8px; font-size: 0.9375rem; }
.nav__menu a:hover { background: var(--mist); color: var(--blue); }
.header-cta { margin-left: 12px; min-height: 42px; padding: 0 20px; }
.site-header:not(.is-solid) .header-cta { background: var(--white); color: var(--blue); }
.menu-toggle { display: none; margin-left: auto; width: 44px; height: 44px; align-items: center; justify-content: center; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 22px; height: 2px; background: currentColor; position: relative; transition: transform var(--dur-m) var(--ease-out), background-color var(--dur-s); }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -7px; } .menu-toggle span::after { top: 7px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; z-index: 99; background: var(--blue-deep); color: var(--white); padding: calc(var(--header-h) + 24px) var(--gutter) 40px; overflow-y: auto; clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path 640ms var(--ease-out), visibility 0s linear 640ms; }
.menu-open .mobile-menu { clip-path: inset(0 0 0 0); visibility: visible; transition-delay: 0s; }
.menu-open .site-header { background: transparent; color: var(--white); box-shadow: none; backdrop-filter: none; }
.mobile-menu__list > li { border-bottom: 1px solid var(--line-dark); }
.mobile-menu__list > li > a { display: block; padding: 18px 0 6px; font-family: var(--font-display); font-weight: 700; font-size: 1.75rem; letter-spacing: -0.02em; }
.mobile-menu__sub { display: flex; flex-wrap: wrap; gap: 4px 18px; padding: 0 0 16px; }
.mobile-menu__sub a { color: var(--muted-dark); font-size: 0.9375rem; padding: 4px 0; }
.mobile-menu .btn { margin-top: 32px; width: 100%; }
@media (max-width: 1100px) { .nav, .site-header .header-cta { display: none; } .menu-toggle { display: inline-flex; } }

/* Chapter HUD (home): where you are in the story; clickable to jump */
.hud { position: fixed; left: var(--gutter); bottom: 26px; z-index: 60; display: flex; align-items: center; gap: 14px; color: #fff; mix-blend-mode: difference; opacity: 0; pointer-events: none; transition: opacity var(--dur-m) ease; font-size: var(--fs-xs); }
.hud.is-on { opacity: 1; pointer-events: auto; }
.hud__n { font-family: var(--font-display); font-weight: 700; font-variant-numeric: tabular-nums; }
.hud__bar { width: 56px; height: 1.5px; background: rgba(255, 255, 255, 0.35); position: relative; overflow: hidden; }
.hud__bar span { position: absolute; inset: 0; background: #fff; transform-origin: left; transform: scaleX(var(--cp, 0)); }
.hud__t { font-weight: 600; }
.hud__dots { display: flex; gap: 6px; margin-left: 8px; }
.hud__dots button { width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid #fff; transition: background-color var(--dur-s), transform var(--dur-s); }
.hud__dots button.is-active { background: #fff; transform: scale(1.25); }
.hud__dots button:hover { background: rgba(255, 255, 255, 0.6); }
@media (max-width: 1100px) { .hud { display: none; } }

/* ============ Home hero ============ */
.hero { position: relative; min-height: max(100svh, 640px); display: flex; align-items: flex-end; background: var(--blue-ink); color: var(--white); overflow: hidden; padding: calc(var(--header-h) + 48px) 0 clamp(56px, 8vw, 112px); }
.hero__media { position: absolute; inset: 0; border-radius: 0; }
.hero__media img { transform-origin: 50% 65%; }
.hero__media::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, rgba(6, 13, 51, 0.55) 0%, rgba(6, 13, 51, 0.1) 38%, rgba(6, 13, 51, 0.92) 100%), linear-gradient(90deg, rgba(6, 13, 51, 0.6) 0%, rgba(6, 13, 51, 0) 65%); }
.hero__field { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; mix-blend-mode: screen; opacity: 0.8; pointer-events: none; }
.hero__inner { position: relative; z-index: 3; width: 100%; }
.hero__kicker { font-size: var(--fs-small); font-weight: 600; color: rgba(255, 255, 255, 0.85); margin-bottom: 24px; display: flex; align-items: center; gap: 12px; }
.hero__kicker::before { content: ""; width: 28px; height: 2px; background: var(--blue-bright); }
.hero__title { font-size: var(--fs-display); letter-spacing: -0.045em; line-height: 0.98; max-width: 11.5em; }
.hero__bottom { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; margin-top: clamp(28px, 4vw, 52px); align-items: end; }
.hero__bottom .lede { grid-column: 1 / span 6; color: rgba(255, 255, 255, 0.86); }
.hero__actions { grid-column: 8 / span 5; display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.scroll-cue { position: absolute; z-index: 3; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: var(--fs-xs); color: rgba(255, 255, 255, 0.7); }
.scroll-cue i { width: 1px; height: 44px; background: rgba(255, 255, 255, 0.25); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -50%; width: 100%; height: 50%; background: var(--white); animation: cue 1.8s var(--ease-in-out) infinite; }
@keyframes cue { to { top: 110%; } }
@media (max-width: 900px) { .hero__bottom .lede, .hero__actions { grid-column: 1 / -1; } .hero__actions { justify-content: flex-start; } .scroll-cue { display: none; } }

/* ============ Page hero (subpages) ============ */
.page-hero { position: relative; min-height: 84svh; display: flex; align-items: flex-end; overflow: hidden; color: var(--white); background: var(--blue-ink); padding: calc(var(--header-h) + 80px) 0 clamp(56px, 7vw, 104px); }
.page-hero__media { position: absolute; inset: 0; border-radius: 0; }
.page-hero__media::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, rgba(6, 13, 51, 0.6) 0%, rgba(6, 13, 51, 0.18) 40%, rgba(6, 13, 51, 0.92) 100%), linear-gradient(90deg, rgba(10, 22, 80, 0.75) 0%, rgba(10, 22, 80, 0) 72%); }
.page-hero__inner { position: relative; z-index: 3; width: 100%; }
.page-hero__crumb { font-size: var(--fs-small); color: var(--muted-dark); margin-bottom: 24px; display: flex; gap: 10px; }
.page-hero__crumb a:hover { color: var(--white); }
.page-hero h1 { max-width: 13em; font-size: clamp(2.6rem, 1.2rem + 4.6vw, 5.25rem); letter-spacing: -0.04em; view-transition-name: page-title; }
.page-hero .lede { margin-top: 28px; max-width: 36em; color: rgba(255, 255, 255, 0.86); }
.page-hero__facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.page-hero__facts a { font-size: var(--fs-xs); font-weight: 600; padding: 9px 15px; border-radius: var(--radius-pill); background: rgba(255, 255, 255, 0.12); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.2); transition: background-color var(--dur-s); }
.page-hero__facts a:hover { background: rgba(255, 255, 255, 0.24); }

.subnav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.94); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: top var(--dur-m) var(--ease-out); }
body.header-visible .subnav { top: var(--header-h); }
.subnav__list { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.subnav__list::-webkit-scrollbar { display: none; }
.subnav a { display: block; white-space: nowrap; padding: 18px 14px; font-size: var(--fs-small); font-weight: 500; color: var(--muted); position: relative; }
.subnav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 2px; background: var(--blue); transform: scaleX(0); transition: transform var(--dur-m) var(--ease-out); }
.subnav a:hover { color: var(--text); }
.subnav a.is-active { color: var(--blue); }
.subnav a.is-active::after { transform: scaleX(1); }

/* ============ Story components ============ */

/* Manifesto: words light up as you read, beside a photo collage */
.manifesto { padding: var(--section-y) 0; position: relative; overflow: hidden; }
.manifesto__grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 96px); align-items: center; }
.manifesto__text { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.75rem, 0.95rem + 2.4vw, 3.3rem); line-height: 1.12; letter-spacing: -0.035em; max-width: 16em; }
.manifesto__foot { margin-top: 48px; display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }
.manifesto__art { position: relative; height: clamp(440px, 46vw, 640px); }
.manifesto__img { position: absolute; border-radius: 22px; box-shadow: 0 40px 80px -40px rgba(10, 22, 80, 0.55); }
.manifesto__img--a { top: 0; right: 0; width: 78%; height: 74%; }
.manifesto__img--b { left: 0; bottom: 0; width: 54%; height: 46%; outline: 8px solid var(--white); z-index: 2; }
.manifesto__chip { position: absolute; z-index: 3; right: 4%; bottom: 8%; width: min(230px, 46%); background: var(--blue); color: var(--white); border-radius: 18px; padding: 20px 22px; display: grid; gap: 6px; font-size: var(--fs-small); line-height: 1.4; box-shadow: 0 30px 60px -30px rgba(20, 40, 160, 0.7); }
.manifesto__chipnum { font-family: var(--font-display); font-weight: 800; font-size: 2rem; letter-spacing: -0.04em; line-height: 1; }
@media (max-width: 1000px) {
  .manifesto__grid { grid-template-columns: 1fr; }
  .manifesto__art { height: clamp(360px, 90vw, 520px); }
}

/* Two mission cards, with a cursor spotlight */
.missions { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 28px); }
.mcard { position: relative; border-radius: 22px; overflow: hidden; min-height: clamp(480px, 48vw, 660px); color: var(--white); display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(28px, 3.4vw, 48px); isolation: isolate; }
.mcard .media { position: absolute; inset: 0; z-index: -2; border-radius: 0; }
.mcard .media img { transition: transform 1.4s var(--ease-out); }
.mcard:hover .media img { transform: scale(1.06); }
.mcard::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(33, 137, 255, 0.35), transparent 60%); opacity: 0; transition: opacity var(--dur-m); }
.mcard:hover::before { opacity: 1; }
.mcard__tag { align-self: flex-start; font-size: var(--fs-xs); font-weight: 700; padding: 7px 14px; border-radius: var(--radius-pill); background: var(--white); color: var(--blue); margin-bottom: auto; }
.mcard h3 { font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.6rem); letter-spacing: -0.03em; max-width: 13em; margin-bottom: 16px; }
.mcard p { color: rgba(255, 255, 255, 0.86); max-width: 30em; }
@media (max-width: 800px) { .missions { grid-template-columns: 1fr; } .mcard { min-height: 460px; } }

/* Numbers with mini-visuals */
.numbers { position: relative; overflow: hidden; }
.numbers__bg { position: absolute; inset: 0; border-radius: 0; opacity: 0.35; }
.numbers .wrap { position: relative; z-index: 1; }
.ngrid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: 20px; overflow: hidden; }
.ncard { background: rgba(10, 22, 80, 0.8); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: 28px 24px; display: flex; flex-direction: column; gap: 18px; min-height: 330px; transition: background-color var(--dur-m); }
.ncard:hover { background: rgba(20, 40, 160, 0.85); }
.ngrid--light { background: var(--line); border-color: var(--line); }
.ngrid--light .ncard { background: var(--white); }
.ngrid--light .ncard:hover { background: var(--blue-tint); }
.ncard__viz { height: 92px; color: var(--blue-bright); }
.ngrid--light .ncard__viz { color: var(--blue); }
.ncard__viz svg { height: 100%; width: auto; max-width: 100%; overflow: visible; }
.ncard__num { font-family: var(--font-display); font-size: clamp(2.6rem, 1.8rem + 2.4vw, 4.25rem); font-weight: 700; letter-spacing: -0.045em; line-height: 1; margin-top: auto; font-variant-numeric: tabular-nums; }
.ncard__label { font-size: var(--fs-small); color: var(--muted-dark); max-width: 15em; }
.ngrid--light .ncard__label { color: var(--muted); }
@media (max-width: 1100px) { .ngrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ncard:last-child { grid-column: 1 / -1; } }
@media (max-width: 560px) { .ngrid { grid-template-columns: 1fr; } .ncard { min-height: 0; } }

/* Career journey: horizontal when pinned (desktop + motion), vertical otherwise */
.journey { position: relative; background: var(--white); padding: var(--section-y) 0; overflow: hidden; }
.journey__head { margin-bottom: 40px; }
.journey__rail { margin-bottom: 44px; display: none; }
.rail { position: relative; height: 2px; background: var(--line); margin: 0 8px; }
.rail__fill { position: absolute; inset: 0; background: linear-gradient(90deg, var(--blue), var(--blue-bright)); transform-origin: left; transform: scaleX(0); }
.rail__mark { position: absolute; top: -7px; left: var(--x); transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: var(--fs-xs); font-weight: 700; color: var(--muted); white-space: nowrap; }
.rail__mark::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: var(--white); border: 2px solid var(--line); transition: background-color var(--dur-m), border-color var(--dur-m), transform var(--dur-m); }
.rail__mark.is-lit { color: var(--blue); }
.rail__mark.is-lit::before { background: var(--blue); border-color: var(--blue); transform: scale(1.15); }
.journey__track { display: grid; gap: 24px; }
.jpanel { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 3vw, 48px); align-items: center; background: var(--mist); border-radius: 24px; padding: clamp(20px, 2.4vw, 32px); }
.jpanel .media { aspect-ratio: 4 / 3; border-radius: 16px; }
.jpanel__years { font-family: var(--font-display); font-weight: 800; font-size: clamp(3rem, 2rem + 4vw, 6rem); letter-spacing: -0.05em; line-height: 0.9; color: var(--blue); }
.jpanel__where { display: block; font-weight: 700; font-size: 1.125rem; margin: 18px 0 10px; }
.jpanel p { color: var(--text-2); max-width: 28em; }
.chips-s { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.chips-s li { font-size: var(--fs-xs); padding: 5px 11px; border-radius: var(--radius-pill); background: var(--white); color: var(--blue); font-weight: 600; }
.jpanel--end { grid-template-columns: 1fr; background: var(--blue); color: var(--white); align-content: center; min-height: 320px; }
.jpanel--end h3 { font-size: clamp(1.75rem, 1.2rem + 2vw, 3rem); letter-spacing: -0.03em; max-width: 11em; margin-bottom: 24px; }
.journey.is-h { height: 100vh; min-height: 640px; padding: calc(var(--header-h) + 24px) 0 40px; display: flex; flex-direction: column; justify-content: center; }
.journey.is-h .journey__head { margin-bottom: 28px; }
.journey.is-h .journey__rail { display: block; }
.journey.is-h .journey__track { display: flex; gap: 28px; width: max-content; padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2)); padding-right: 12vw; will-change: transform; }
.journey.is-h .jpanel { width: min(76vw, 1040px); flex: none; min-height: min(54vh, 500px); }
.journey.is-h .jpanel--end { width: min(42vw, 520px); }
@media (max-width: 760px) { .jpanel { grid-template-columns: 1fr; } }

/* Globe tour: one project at a time; drag the globe to explore */
.tour__grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(24px, 4vw, 64px); align-items: start; }
.tour__sticky { position: sticky; top: calc(var(--header-h) + 4vh); height: calc(100vh - var(--header-h) - 8vh); display: flex; align-items: center; justify-content: center; }
.tour__globe { position: relative; width: min(100%, calc(100vh - var(--header-h) - 14vh)); aspect-ratio: 1; cursor: grab; touch-action: pan-y; }
.tour__globe.is-dragging { cursor: grabbing; }
.tour__globe canvas { position: relative; width: 100%; height: 100%; }
.tour__globe::before { content: ""; position: absolute; inset: 6%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, rgba(33, 137, 255, 0.3), rgba(20, 40, 160, 0.08) 55%, transparent 72%); filter: blur(20px); }
.tour__hud { position: absolute; left: 0; top: 4%; display: grid; gap: 6px; pointer-events: none; }
.tour__count { font-size: var(--fs-xs); color: var(--muted-dark); font-variant-numeric: tabular-nums; }
.tour__count b { color: var(--white); font-family: var(--font-display); font-size: 1.125rem; }
.tour__country { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.75rem, 1.2rem + 2vw, 3rem); letter-spacing: -0.035em; line-height: 1; }
.tour__hint { position: absolute; right: 0; bottom: 4%; font-size: var(--fs-xs); color: var(--muted-dark); display: flex; gap: 8px; align-items: center; }
.tour__steps { display: grid; padding: 18vh 0 28vh; }
.tour__step { min-height: 62vh; display: flex; align-items: center; }
.tcard { width: 100%; text-align: left; border: 1px solid var(--line-dark); border-radius: 20px; padding: clamp(24px, 2.6vw, 36px); background: rgba(10, 22, 80, 0.6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0.32; transform: scale(0.97); transition: opacity var(--dur-m) ease, transform var(--dur-m) var(--ease-out), border-color var(--dur-m); }
.tour__step.is-active .tcard { opacity: 1; transform: none; border-color: rgba(33, 137, 255, 0.65); }
.tcard__meta { display: flex; justify-content: space-between; gap: 12px; font-size: var(--fs-xs); color: var(--muted-dark); margin-bottom: 14px; }
.tcard h3 { font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); letter-spacing: -0.025em; margin-bottom: 14px; }
.tcard li { position: relative; padding-left: 16px; margin-bottom: 8px; color: var(--muted-dark); }
.tcard li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 7px; height: 1.5px; background: var(--blue-bright); }
@media (max-width: 900px) {
  .tour__grid { grid-template-columns: 1fr; }
  .tour__sticky { top: var(--header-h); height: 48vh; z-index: 0; }
  .tour__globe { width: min(100%, 44vh); }
  .tour__hint { display: none; }
  .tour__steps { padding: 2vh 0 8vh; position: relative; z-index: 1; }
  .tour__step { min-height: 52vh; align-items: flex-end; }
  .tcard { background: rgba(10, 22, 80, 0.92); }
  .tour__step:not(.is-active) .tcard { opacity: 0; }
}

/* Expanding project-type panels */
.xpanels { display: flex; gap: 12px; height: clamp(480px, 44vw, 600px); }
.xpanel { position: relative; flex: 1 1 0; min-width: 0; border-radius: 20px; overflow: hidden; color: var(--white); display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; isolation: isolate; transition: flex-grow 0.8s var(--ease-out); outline-offset: 4px; cursor: pointer; }
.xpanel .media { position: absolute; inset: 0; z-index: -1; border-radius: 0; }
.xpanel .media img { transition: transform 1.2s var(--ease-out); }
.xpanel.is-open { flex-grow: 3.2; cursor: default; }
.xpanel.is-open .media img { transform: scale(1.04); }
.xpanel__n { font-size: var(--fs-xs); font-weight: 700; color: rgba(255, 255, 255, 0.8); margin-bottom: auto; display: flex; justify-content: space-between; }
.xpanel h3 { font-size: clamp(1.25rem, 1rem + 0.8vw, 1.75rem); letter-spacing: -0.02em; max-width: 12em; }
.xpanel ul { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 20px; margin-top: 18px; max-height: 0; opacity: 0; overflow: hidden; transition: opacity 0.5s ease, max-height 0.8s var(--ease-out); }
.xpanel.is-open ul { max-height: 300px; opacity: 1; transition-delay: 0.2s; }
.xpanel li { font-size: var(--fs-small); color: rgba(255, 255, 255, 0.88); padding-left: 14px; position: relative; }
.xpanel li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 6px; height: 1.5px; background: var(--blue-bright); }
@media (max-width: 900px) { .xpanels { flex-direction: column; height: auto; } .xpanel { min-height: 340px; } .xpanel ul { max-height: none; opacity: 1; grid-template-columns: 1fr; } }

/* Expand: a framed photo opens to full screen */
.expand { position: relative; height: 100vh; min-height: 620px; overflow: hidden; background: var(--white); }
.expand__media { position: absolute; inset: 0; border-radius: 0; }
.expand__media img { object-position: 50% 30%; }
.expand__media::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, rgba(6, 13, 51, 0.1) 0%, rgba(6, 13, 51, 0.88) 100%); }
.expand__intro { position: absolute; z-index: 3; left: 0; right: 0; top: calc(var(--header-h) + 4vh); text-align: center; color: var(--text); pointer-events: none; opacity: 0; }
.expand__intro h2 { font-size: clamp(1.75rem, 1rem + 2.6vw, 3.25rem); letter-spacing: -0.035em; }
.expand__copy { position: absolute; z-index: 3; left: 0; right: 0; bottom: clamp(48px, 8vh, 96px); color: var(--white); }
.expand__copy h2 { font-size: clamp(2.5rem, 1.4rem + 4.4vw, 5.5rem); letter-spacing: -0.045em; max-width: 10em; margin-bottom: 20px; }
.expand__copy p { max-width: 34em; color: rgba(255, 255, 255, 0.88); font-size: var(--fs-lede); }
.expand__links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Parallax gallery */
.gallery { overflow: hidden; }
.gallery__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 24px); align-items: start; }
.gcol { display: grid; gap: clamp(12px, 1.6vw, 24px); will-change: transform; }
.gcol:nth-child(2) { margin-top: 12vh; }
.gitem { position: relative; display: block; }
.gitem .media { border-radius: 18px; }
.gitem .media img { transition: transform 1.2s var(--ease-out); }
.gitem:hover .media img { transform: scale(1.06); }
.gitem--tall .media { aspect-ratio: 4 / 5; }
.gitem--sq .media { aspect-ratio: 1; }
.gitem--wide .media { aspect-ratio: 4 / 3; }
.gitem--text { background: var(--blue); color: var(--white); border-radius: 18px; padding: 32px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; min-height: 300px; }
.gitem--text h3 { font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); letter-spacing: -0.025em; }
@media (max-width: 760px) { .gallery__cols { grid-template-columns: 1fr 1fr; } .gcol:nth-child(3) { display: none; } .gcol:nth-child(2) { margin-top: 48px; } }

/* Marquee */
.marquee { overflow: hidden; position: relative; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee var(--dur, 48s) linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee--rev .marquee__track { animation-direction: reverse; }
.marquee__group { display: flex; align-items: center; gap: clamp(24px, 3vw, 48px); padding-right: clamp(24px, 3vw, 48px); flex: none; }
.marquee--big .marquee__group span { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 1.2rem + 3vw, 4.5rem); letter-spacing: -0.04em; white-space: nowrap; transition: color var(--dur-s); }
.marquee--big .marquee__group span:hover { color: var(--blue); }
.marquee--big .marquee__group i { width: 14px; height: 14px; border-radius: 50%; background: var(--blue-bright); flex: none; }
.marquee--pill .marquee__group { gap: 12px; padding-right: 12px; }
.marquee--pill span { white-space: nowrap; padding: 12px 20px; border-radius: var(--radius-pill); border: 1px solid rgba(255, 255, 255, 0.25); font-weight: 600; font-size: var(--fs-small); }
.marquee--pill.on-light span { border-color: var(--line); background: var(--white); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Stacking cards */
.stack { display: grid; gap: 28px; }
.stack__card { position: sticky; top: calc(var(--header-h) + 84px + var(--i, 0) * 16px); transform-origin: 50% 0; will-change: transform; }
@media (max-width: 760px) { .stack__card { position: relative; top: auto; } }
.scard { display: grid; grid-template-columns: 5fr 7fr; background: var(--white); border-radius: 24px; overflow: hidden; box-shadow: 0 30px 80px -40px rgba(10, 22, 80, 0.45), 0 0 0 1px var(--line); min-height: 460px; }
.scard .media { border-radius: 0; min-height: 260px; }
.scard__body { padding: clamp(24px, 3.2vw, 48px); display: flex; flex-direction: column; }
.scard__meta { font-size: var(--fs-xs); color: var(--muted); margin-bottom: 12px; display: flex; gap: 12px; flex-wrap: wrap; }
.scard__meta b { color: var(--blue); }
.scard h3 { font-size: clamp(1.5rem, 1.1rem + 1.3vw, 2.25rem); letter-spacing: -0.03em; margin-bottom: 16px; }
.scard__lede { color: var(--text-2); }
.scard__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: auto; padding-top: 24px; border-top: 1px solid var(--line); }
.scard__facts h4 { font-size: var(--fs-xs); color: var(--blue); margin-bottom: 6px; }
.scard__facts p { font-size: var(--fs-small); color: var(--text-2); }
.scard details { margin: 14px 0 20px; }
.scard summary { cursor: pointer; font-weight: 600; color: var(--blue); font-size: var(--fs-small); list-style: none; display: inline-flex; gap: 8px; align-items: center; }
.scard summary::-webkit-details-marker { display: none; }
.scard summary::after { content: "+"; font-family: var(--font-display); transition: transform var(--dur-m) var(--ease-out); }
.scard details[open] summary::after { transform: rotate(45deg); }
.scard details p { font-size: var(--fs-small); color: var(--text-2); margin-top: 12px; }
@media (max-width: 860px) { .scard { grid-template-columns: 1fr; } .scard__facts { grid-template-columns: 1fr; } }

/* Scrollytelling: sticky media, steps scroll past */
.scrolly { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 96px); align-items: start; }
.scrolly__media { position: sticky; top: calc(var(--header-h) + 10vh); height: calc(80vh - var(--header-h)); }
.scrolly__frame { position: relative; height: 100%; border-radius: 24px; overflow: hidden; background: var(--blue-deep); }
.scrolly__frame > .media { position: absolute; inset: 0; border-radius: 0; opacity: 0; transform: scale(1.08); transition: opacity 0.8s ease, transform 1.4s var(--ease-out); }
.scrolly__frame > .media.is-active { opacity: 1; transform: none; }
.scrolly__count { position: absolute; z-index: 4; left: 20px; bottom: 20px; color: var(--white); font-size: var(--fs-xs); display: flex; gap: 12px; align-items: center; }
.scrolly__dots { display: flex; gap: 6px; }
.scrolly__dots i { width: 22px; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, 0.35); transition: background-color var(--dur-m), width var(--dur-m); }
.scrolly__dots i.is-active { background: var(--white); width: 36px; }
.scrolly__steps { padding: 12vh 0 22vh; }
.scrolly__step { min-height: 64vh; display: flex; flex-direction: column; justify-content: center; opacity: 0.25; transition: opacity var(--dur-m) ease; }
.scrolly__step.is-active { opacity: 1; }
.scrolly__step .icon { width: 48px; height: 48px; color: var(--blue); margin-bottom: 24px; }
.section--deep .scrolly__step .icon { color: var(--blue-bright); }
.scrolly__step h3 { font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.75rem); letter-spacing: -0.03em; margin-bottom: 20px; }
.scrolly__step p { color: var(--text-2); font-size: var(--fs-lede); line-height: 1.5; }
.section--deep .scrolly__step p, .section--deep .scrolly__step li { color: var(--muted-dark); }
.scrolly__step ul li { position: relative; padding-left: 20px; margin-bottom: 12px; color: var(--text-2); }
.scrolly__step ul li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 9px; height: 2px; background: var(--blue); }
.scrolly__inline { display: none; }
@media (max-width: 900px) {
  .scrolly { grid-template-columns: 1fr; }
  .scrolly__media { display: none; }
  .scrolly__steps { padding: 0; display: grid; gap: 56px; }
  .scrolly__step { min-height: 0; opacity: 1; }
  .scrolly__inline { display: block; aspect-ratio: 16 / 10; margin-bottom: 24px; }
}

/* Words list variant (values) */
.vwords { height: 100%; display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.vwords li { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.4rem, 1.4rem + 3.6vw, 5.25rem); letter-spacing: -0.05em; line-height: 1.02; color: var(--line); transition: color var(--dur-m) ease, transform var(--dur-m) var(--ease-out); transform-origin: left; }
.vwords li.is-active { color: var(--blue); transform: translateX(14px); }

/* Career map diagram */
.cmap svg { width: 100%; height: auto; overflow: visible; }
.cm-line { fill: none; stroke: var(--blue); stroke-opacity: 0.32; stroke-width: 1.5; }
.cm-line--strong { stroke-opacity: 0.9; stroke-width: 2.5; }
.cm-line--dash { stroke-dasharray: 5 7; stroke-opacity: 0.7; }
.cm-node { cursor: default; }
.cm-node rect { fill: var(--white); stroke: var(--line); stroke-width: 1.5; transition: fill var(--dur-s), stroke var(--dur-s); }
.cm-node:hover rect { stroke: var(--blue); }
.cm-node--main rect { fill: var(--blue); stroke: var(--blue); }
.cm-node--dest rect { fill: var(--blue-deep); stroke: var(--blue-deep); }
.cm-node text { font-family: var(--font-display); font-weight: 700; font-size: 17px; fill: var(--text); }
.cm-node--main text, .cm-node--dest text { fill: var(--white); }
.cm-node text.sub { font-family: var(--font-body); font-weight: 500; font-size: 13px; fill: var(--muted); }
.cm-node--main text.sub, .cm-node--dest text.sub { fill: rgba(255, 255, 255, 0.78); }
.cm-head { font-family: var(--font-display); font-weight: 800; font-size: 30px; fill: var(--blue); letter-spacing: -1px; }
.cm-headsub { font-family: var(--font-body); font-size: 14px; fill: var(--muted); }
.cmap__list { display: none; }
@media (max-width: 760px) {
  .cmap svg { display: none; }
  .cmap__list { display: grid; gap: 16px; }
  .cmap__list li { background: var(--white); border-radius: 16px; padding: 20px; border-left: 4px solid var(--blue); }
  .cmap__list b { font-family: var(--font-display); color: var(--blue); font-size: 1.5rem; display: block; }
}

/* Process: vertical steps joined by a line that fills with scroll */
.process { position: relative; display: grid; max-width: 920px; }
.process__line { position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px; background: var(--line); }
.process__line span { position: absolute; inset: 0; background: var(--blue); transform-origin: top; transform: scaleY(var(--pp, 1)); }
.pstep { display: grid; grid-template-columns: 56px 1fr; gap: 28px; padding: 0 0 72px; position: relative; }
.pstep:last-child { padding-bottom: 0; }
.pstep__dot { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--white); border: 2px solid var(--line); font-family: var(--font-display); font-weight: 800; color: var(--muted); position: relative; z-index: 1; transition: background-color var(--dur-m), color var(--dur-m), border-color var(--dur-m), transform var(--dur-m) var(--ease-out); }
.pstep.is-lit .pstep__dot { background: var(--blue); border-color: var(--blue); color: var(--white); transform: scale(1.06); }
.pstep h3 { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.25rem); letter-spacing: -0.03em; margin: 8px 0 12px; }
.pstep p { color: var(--text-2); max-width: 36em; }
.pstep__tag { display: inline-block; font-size: var(--fs-xs); font-weight: 600; padding: 5px 12px; border-radius: var(--radius-pill); background: var(--blue-tint); color: var(--blue); margin: 14px 6px 0 0; }
.pstep .btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }

/* Horizontal photo carousel (drag / swipe / buttons) */
.carousel__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.carousel__track { display: grid; grid-auto-flow: column; grid-auto-columns: min(82vw, 360px); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 8px; cursor: grab; margin-right: calc(var(--gutter) * -1); padding-right: var(--gutter); }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.carousel__track.is-dragging * { pointer-events: none; }
.carousel__ctrl { display: flex; gap: 8px; }
.carousel__progress { height: 2px; background: var(--line); margin-top: 24px; position: relative; overflow: hidden; border-radius: 2px; }
.carousel__progress span { position: absolute; inset: 0; background: var(--blue); transform-origin: left; transform: scaleX(var(--cp, 0.2)); transition: transform 0.2s linear; }
.ccard { scroll-snap-align: start; background: var(--white); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; user-select: none; }
.ccard .media { aspect-ratio: 4 / 3; border-radius: 0; }
.ccard .media img { -webkit-user-drag: none; }
.ccard__body { padding: 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.ccard h3 { font-size: 1.1875rem; }
.ccard blockquote { margin: 0; font-size: var(--fs-small); color: var(--text-2); }
.ccard cite { margin-top: auto; font-style: normal; font-size: var(--fs-xs); color: var(--muted); }
.icon-btn { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; background: var(--white); color: var(--text); transition: background-color var(--dur-s), border-color var(--dur-s), color var(--dur-s), opacity var(--dur-s); }
.icon-btn:hover { border-color: var(--blue); color: var(--blue); }
.section--deep .icon-btn, .section--ink .icon-btn { border-color: var(--line-dark); background: transparent; color: var(--white); }
.section--deep .icon-btn:hover, .section--ink .icon-btn:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.08); }
.icon-btn:disabled { opacity: 0.3; cursor: default; }
.icon-btn svg { width: 18px; height: 18px; }

/* ============ Content components ============ */
.pillars { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 40px clamp(20px, 2.4vw, 40px); }
.pillar { border-top: 2px solid var(--black); padding-top: 24px; }
.section--deep .pillar, .section--ink .pillar { border-color: var(--white); }
.pillar h3 { margin-bottom: 14px; }
.pillar p, .pillar li { color: var(--text-2); font-size: var(--fs-small); }
.section--deep .pillar p, .section--deep .pillar li { color: var(--muted-dark); }
.pillar ul li { position: relative; padding-left: 16px; margin-bottom: 10px; }
.pillar ul li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 6px; height: 1.5px; background: var(--blue); }
.pillar__icon { width: 40px; height: 40px; margin-bottom: 24px; color: var(--blue); }
@media (max-width: 1000px) { .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .pillars { grid-template-columns: 1fr; } }

.pcards { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 20px; }
.pcard { border-radius: 20px; overflow: hidden; background: var(--white); color: var(--text); display: flex; flex-direction: column; transition: transform var(--dur-m) var(--ease-out), box-shadow var(--dur-m); }
.pcard:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -36px rgba(0, 0, 0, 0.6); }
.pcard .media { aspect-ratio: 4 / 3; border-radius: 0; }
.pcard .media img { transition: transform 1.2s var(--ease-out); }
.pcard:hover .media img { transform: scale(1.06); }
.pcard__body { padding: 24px; }
.pcard h3 { font-size: 1.1875rem; margin-bottom: 10px; }
.pcard p { font-size: var(--fs-small); color: var(--text-2); }
@media (max-width: 1000px) { .pcards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .pcards { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px clamp(16px, 2.4vw, 32px); align-items: center; }
.split__text { grid-column: 1 / span 5; }
.split__media { grid-column: 7 / span 6; }
.split--rev .split__text { grid-column: 8 / span 5; order: 2; }
.split--rev .split__media { grid-column: 1 / span 6; order: 1; }
.split__text h2 { margin-bottom: 24px; }
.split__text .lede { margin-bottom: 28px; }
@media (max-width: 900px) { .split__text, .split__media, .split--rev .split__text, .split--rev .split__media { grid-column: 1 / -1; order: 0; } }

.stats { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); }
.stat { padding: 8px 24px 8px 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.section--deep .stat + .stat, .section--ink .stat + .stat { border-color: var(--line-dark); }
.stat__num { font-family: var(--font-display); font-size: var(--fs-stat); font-weight: 700; letter-spacing: -0.045em; line-height: 1; display: block; font-variant-numeric: tabular-nums; }
.stat__label { display: block; margin-top: 14px; font-size: var(--fs-small); color: var(--muted); max-width: 16em; }
.section--deep .stat__label, .section--ink .stat__label { color: var(--muted-dark); }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 0; } .stat:nth-child(odd) { padding-left: 0; border-left: 0; } }

.tabs__list { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 40px; position: relative; }
.tabs__tab { padding: 11px 20px; border-radius: var(--radius-pill); border: 1.5px solid var(--line); font-weight: 600; font-size: var(--fs-small); transition: background-color var(--dur-s) ease, color var(--dur-s) ease, border-color var(--dur-s) ease; }
.tabs__tab:hover { border-color: var(--blue); color: var(--blue); }
.tabs__tab[aria-selected="true"] { background: var(--blue); border-color: var(--blue); color: var(--white); }
.section--deep .tabs__tab { border-color: var(--line-dark); }
.section--deep .tabs__tab:hover { border-color: var(--white); color: var(--white); }
.section--deep .tabs__tab[aria-selected="true"] { background: var(--white); color: var(--blue-deep); border-color: var(--white); }
.tabs__panel[hidden] { display: none; }
.tabs__panel { animation: panel-in 640ms var(--ease-out); }
@keyframes panel-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.fpanel { display: grid; grid-template-columns: 7fr 5fr; gap: 20px; align-items: stretch; }
.fpanel .media { min-height: 480px; }
.fpanel__side { display: flex; flex-direction: column; gap: 20px; }
.fpanel__intro { background: var(--blue); color: var(--white); border-radius: 20px; padding: 28px; }
.fpanel__intro h3 { font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); letter-spacing: -0.025em; margin-bottom: 12px; }
.fpanel__intro p { color: rgba(255, 255, 255, 0.88); font-size: var(--fs-small); }
@media (max-width: 900px) { .fpanel { grid-template-columns: 1fr; } .fpanel .media { min-height: 280px; } }

.profiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.profile { background: var(--white); color: var(--text); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 28px; display: flex; flex-direction: column; gap: 18px; transition: transform var(--dur-m) var(--ease-out), box-shadow var(--dur-m) ease; }
.profile:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(10, 22, 80, 0.45); }
.section--mist .profile { border-color: transparent; }
.profile__top { display: flex; gap: 16px; align-items: center; }
.monogram { width: 56px; height: 56px; border-radius: 50%; flex: none; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.0625rem; color: var(--white); background: conic-gradient(from var(--a, 200deg), var(--blue), var(--blue-bright), var(--blue-deep), var(--blue)); }
.profile__name { font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; letter-spacing: -0.01em; line-height: 1.2; }
.profile__class { font-size: var(--fs-xs); color: var(--muted); margin-top: 2px; }
.profile__role { font-weight: 600; font-size: var(--fs-small); color: var(--blue); }
.profile__bio { font-size: var(--fs-small); color: var(--text-2); }
.path { border-top: 1px solid var(--line); padding-top: 16px; margin-top: auto; display: grid; gap: 10px; }
.path li { display: grid; grid-template-columns: 14px 1fr; gap: 12px; font-size: var(--fs-xs); position: relative; }
.path li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--blue); margin-top: 4px; background: var(--white); position: relative; z-index: 1; }
.path li:not(:last-child)::after { content: ""; position: absolute; left: 4px; top: 13px; bottom: -14px; width: 1.5px; background: var(--line); }
.path li:last-child::before { background: var(--blue); }
.path b { display: block; font-weight: 600; font-size: var(--fs-xs); color: var(--text); }
.path span { color: var(--muted); }
.profile--compact { padding: 22px; }

.acc { border-top: 1px solid var(--line); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__item > summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 32px; gap: 24px; align-items: center; padding: 26px 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem); letter-spacing: -0.015em; }
.acc__item > summary::-webkit-details-marker { display: none; }
.acc__item > summary:hover { color: var(--blue); }
.acc__icon { width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid currentColor; position: relative; }
.acc__icon::before, .acc__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.acc__icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform var(--dur-m) var(--ease-out); }
.acc__item[open] .acc__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.acc__item[open] > summary { color: var(--blue); }
.acc__body { padding: 0 0 32px; max-width: 72ch; color: var(--text-2); }

.cols { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 40px clamp(20px, 2.4vw, 40px); }
.cols h3 { padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.cols li { font-size: var(--fs-small); color: var(--text-2); padding: 7px 0; border-bottom: 1px dashed var(--line); }
@media (max-width: 1000px) { .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cols { grid-template-columns: 1fr; } }

/* Quote band over photo */
.qband { position: relative; overflow: hidden; color: var(--white); padding: clamp(120px, 14vw, 220px) 0; }
.qband__media { position: absolute; inset: 0; border-radius: 0; }
.qband__media::after { content: ""; position: absolute; inset: 0; z-index: 2; background: rgba(6, 13, 51, 0.74); }
.qband .wrap { position: relative; z-index: 3; }
.quote { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.6rem, 0.9rem + 2.6vw, 3.4rem); letter-spacing: -0.035em; line-height: 1.14; max-width: 22em; margin: 0; }
.quote-mark { font-family: var(--font-display); font-size: 6rem; line-height: 0.6; color: var(--blue-bright); display: block; margin-bottom: 12px; }
.quote-cite { display: block; margin-top: 32px; font-size: var(--fs-small); color: var(--muted-dark); font-style: normal; }

.voices { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.voice { margin: 0; border-radius: var(--radius-m); background: var(--white); padding: 28px; display: flex; flex-direction: column; gap: 16px; border: 1px solid var(--line); }
.section--mist .voice { border-color: transparent; }
.voice h3 { font-size: 1.125rem; }
.voice blockquote { margin: 0; font-size: var(--fs-small); color: var(--text-2); }
.voice cite { margin-top: auto; font-style: normal; font-size: var(--fs-xs); color: var(--muted); }

.interview { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.interview__card { background: var(--white); border-radius: var(--radius-m); padding: clamp(24px, 3vw, 40px); }
.interview__card h3 { margin-bottom: 8px; }
.interview__fmt { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0 20px; }
.interview__fmt span { font-size: var(--fs-xs); font-weight: 600; padding: 6px 12px; border-radius: var(--radius-pill); background: var(--blue-tint); color: var(--blue); }
.interview__card p { font-size: var(--fs-small); color: var(--text-2); }
.interview__card h4 { margin: 24px 0 10px; font-size: var(--fs-small); }
.interview__card ol { counter-reset: tip; display: grid; gap: 8px; }
.interview__card ol li { counter-increment: tip; display: grid; grid-template-columns: 22px 1fr; gap: 8px; font-size: var(--fs-small); color: var(--text-2); }
.interview__card ol li::before { content: counter(tip); font-family: var(--font-display); font-weight: 700; color: var(--blue); }
@media (max-width: 860px) { .interview { grid-template-columns: 1fr; } }

.matrix { display: grid; grid-template-columns: 220px repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--black); }
.matrix__group { display: contents; }
.matrix__label { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; letter-spacing: -0.015em; padding: 28px 24px 28px 0; border-bottom: 1px solid var(--line); color: var(--blue); }
.matrix__cell { padding: 28px 24px 28px 0; border-bottom: 1px solid var(--line); transition: background-color var(--dur-s); }
.matrix__cell h3 { font-size: 1.0625rem; margin-bottom: 8px; }
.matrix__cell p { font-size: var(--fs-small); color: var(--text-2); }
@media (max-width: 900px) { .matrix { grid-template-columns: 1fr; } .matrix__label { padding-bottom: 8px; border-bottom: 0; padding-top: 32px; } .matrix__cell { padding: 16px 0; } }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { padding: 12px 18px; border-radius: var(--radius-pill); background: var(--white); color: var(--text); border: 1px solid var(--line); font-weight: 600; font-size: var(--fs-small); transition: border-color var(--dur-s), color var(--dur-s), opacity var(--dur-s), transform var(--dur-s); }
.chip.is-dim { opacity: 0.22; transform: scale(0.96); }
.chip.is-match { border-color: var(--blue); color: var(--blue); }
.search { display: flex; align-items: center; gap: 12px; max-width: 460px; padding: 0 18px; height: 54px; border-radius: var(--radius-pill); border: 1.5px solid var(--line); background: var(--white); margin-bottom: 28px; transition: border-color var(--dur-s); }
.search:focus-within { border-color: var(--blue); }
.search svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
.search input { border: 0; outline: 0; font: inherit; width: 100%; background: transparent; color: var(--text); }

.aff-filter { margin-bottom: 40px; }
.aff-groups { display: grid; gap: 64px; }
.aff-group { display: grid; grid-template-columns: 4fr 8fr; gap: 32px clamp(20px, 3vw, 56px); }
.aff-group[hidden] { display: none; }
.aff-group__head h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); letter-spacing: -0.025em; margin-bottom: 12px; }
.aff-group__head p { color: var(--text-2); font-size: var(--fs-small); }
.aff-group__count { font-family: var(--font-display); font-weight: 700; color: var(--blue); font-size: var(--fs-small); margin-bottom: 12px; display: block; }
.aff-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; border-top: 1px solid var(--line); }
.aff-list details { border-bottom: 1px solid var(--line); }
.aff-list summary { list-style: none; cursor: pointer; padding: 16px 0; font-weight: 600; display: flex; justify-content: space-between; gap: 12px; }
.aff-list summary::-webkit-details-marker { display: none; }
.aff-list summary::after { content: "+"; font-family: var(--font-display); color: var(--blue); font-weight: 700; transition: transform var(--dur-m) var(--ease-out); }
.aff-list details[open] summary::after { transform: rotate(45deg); }
.aff-list summary:hover { color: var(--blue); }
.aff-list details p { font-size: var(--fs-small); color: var(--text-2); padding-bottom: 18px; }
@media (max-width: 900px) { .aff-group { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .aff-list { grid-template-columns: 1fr; } }

/* History timeline */
.history { overflow: hidden; }
.history__bigyear { position: absolute; right: -1vw; bottom: -3vw; font-family: var(--font-display); font-weight: 800; font-size: clamp(8rem, 22vw, 22rem); letter-spacing: -0.06em; line-height: 0.8; color: rgba(255, 255, 255, 0.05); pointer-events: none; font-variant-numeric: tabular-nums; }
.timeline-ctrl { display: flex; gap: 8px; }
.timeline { display: grid; grid-auto-flow: column; grid-auto-columns: min(86vw, 400px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-right: calc(var(--gutter) * -1); padding-right: var(--gutter); position: relative; z-index: 1; }
.timeline::-webkit-scrollbar { display: none; }
.era { scroll-snap-align: start; padding: 0 32px 0 0; position: relative; }
.era::before { content: ""; position: absolute; left: 0; right: 0; top: 66px; height: 1px; background: var(--line-dark); }
.era__range { font-family: var(--font-display); font-weight: 700; font-size: 2rem; letter-spacing: -0.03em; line-height: 1; height: 66px; display: flex; align-items: flex-start; }
.era__dot { position: absolute; left: 0; top: 61px; width: 11px; height: 11px; border-radius: 50%; background: var(--blue-bright); box-shadow: 0 0 0 6px rgba(33, 137, 255, 0.18); }
.era ul { padding-top: 32px; display: grid; gap: 16px; }
.era li { display: grid; grid-template-columns: 48px 1fr; gap: 12px; font-size: var(--fs-small); color: var(--muted-dark); }
.era li b { color: var(--white); font-family: var(--font-display); font-weight: 700; }
.timeline-progress { margin-top: 40px; height: 2px; background: var(--line-dark); position: relative; overflow: hidden; }
.timeline-progress span { position: absolute; inset: 0; background: var(--blue-bright); transform-origin: left; transform: scaleX(var(--p, 0.15)); }
.history.is-h { height: 100vh; min-height: 680px; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--header-h) + 72px) 0 48px; }
.history.is-h .timeline { overflow: visible; display: flex; width: max-content; will-change: transform; margin-right: 0; }
.history.is-h .era { width: 400px; flex: none; }
.history.is-h .timeline-ctrl { display: none; }

.principles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.principles li { background: var(--white); border-radius: var(--radius-m); padding: 24px; font-weight: 600; font-size: var(--fs-small); line-height: 1.45; display: flex; flex-direction: column; gap: 20px; min-height: 170px; transition: transform var(--dur-m) var(--ease-out), box-shadow var(--dur-m); }
.principles li:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -28px rgba(10, 22, 80, 0.45); }
.principles svg { width: 28px; height: 28px; color: var(--blue); }
@media (max-width: 1000px) { .principles { grid-template-columns: 1fr 1fr; } }

/* Benefit stack cards */
.bcard { display: grid; grid-template-columns: 5fr 7fr; border-radius: 24px; overflow: hidden; background: var(--white); box-shadow: 0 30px 80px -40px rgba(10, 22, 80, 0.4), 0 0 0 1px var(--line); min-height: 440px; }
.bcard .media { border-radius: 0; min-height: 240px; }
.bcard__body { padding: clamp(24px, 3vw, 48px); }
.bcard__head { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.bcard__head svg { width: 44px; height: 44px; color: var(--blue); flex: none; }
.bcard__head h3 { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.2rem); letter-spacing: -0.03em; }
.bcard dl { margin: 0; display: grid; gap: 18px; }
.bcard dt { font-weight: 600; }
.bcard dd { margin: 4px 0 0; font-size: var(--fs-small); color: var(--text-2); }
.bcard dd ul li { padding-left: 14px; position: relative; margin-top: 4px; }
.bcard dd ul li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 6px; height: 1.5px; background: var(--blue); }
.fineprint { display: block; margin-top: 6px; font-size: var(--fs-xs); color: var(--muted); }
@media (max-width: 860px) { .bcard { grid-template-columns: 1fr; } }

.role-head { display: grid; grid-template-columns: 7fr 5fr; gap: 40px; margin-bottom: 48px; }
.role-head p { color: var(--text-2); }
.role-meta { display: grid; gap: 14px; align-content: start; background: var(--white); border-radius: var(--radius-m); padding: 28px; font-size: var(--fs-small); margin: 0; }
.role-meta dt { color: var(--muted); font-size: var(--fs-xs); }
.role-meta dd { margin: 2px 0 0; font-weight: 600; }
.role-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.role-cols h3 { font-size: 1.125rem; margin-bottom: 16px; }
.bullets li { position: relative; padding-left: 18px; margin-bottom: 10px; font-size: var(--fs-small); color: var(--text-2); }
.bullets li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 7px; height: 1.5px; background: var(--blue); }
.competency { border-top: 1px solid var(--line); padding: 16px 0; }
.competency h4 { font-size: var(--fs-small); margin-bottom: 8px; }
.role-compare { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 48px; }
.role-compare button { text-align: left; padding: 24px; border-radius: 18px; background: var(--white); border: 1.5px solid transparent; transition: border-color var(--dur-s), transform var(--dur-m) var(--ease-out); }
.role-compare button:hover { transform: translateY(-3px); }
.role-compare button[aria-selected="true"] { border-color: var(--blue); }
.role-compare b { display: block; font-family: var(--font-display); font-size: 1.25rem; letter-spacing: -0.02em; margin-bottom: 6px; }
.role-compare span { font-size: var(--fs-xs); color: var(--muted); }
.role-compare .lvl { display: flex; gap: 4px; margin-top: 14px; }
.role-compare .lvl i { flex: 1; height: 4px; border-radius: 2px; background: var(--line); }
.role-compare .lvl i.on { background: var(--blue); }
@media (max-width: 860px) { .role-head, .role-cols { grid-template-columns: 1fr; } .role-compare { grid-template-columns: 1fr; } }

.faq-layout { display: grid; grid-template-columns: 3fr 9fr; gap: 48px; }
.faq-cats { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; display: grid; gap: 4px; }
.faq-cats button { text-align: left; padding: 10px 14px; border-radius: 8px; font-weight: 500; color: var(--muted); font-size: var(--fs-small); display: flex; justify-content: space-between; gap: 12px; }
.faq-cats button span { font-variant-numeric: tabular-nums; }
.faq-cats button:hover { color: var(--text); background: var(--mist); }
.faq-cats button[aria-pressed="true"] { color: var(--blue); background: var(--blue-tint); font-weight: 600; }
.faq-group h2 { font-size: var(--fs-h3); margin: 48px 0 8px; color: var(--muted); }
.faq-group:first-child h2 { margin-top: 0; }
.faq-empty { padding: 40px 0; color: var(--muted); }
mark { background: #dfe7ff; color: inherit; border-radius: 2px; padding: 0 1px; }
@media (max-width: 860px) { .faq-layout { grid-template-columns: 1fr; gap: 24px; } .faq-cats { position: static; display: flex; flex-wrap: wrap; } }

/* ============ Data viz (validated categorical palette; see README) ============ */
.mix { margin-bottom: 48px; }
.mix__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; gap: 16px; }
.mix__bar { display: flex; gap: 2px; height: 64px; }
.mix__seg { height: 100%; flex: 0 0 calc(var(--w) - 2px); border-radius: 4px; transform-origin: left; transform: scaleX(0); transition: transform 1.2s var(--ease-out), filter var(--dur-s), opacity var(--dur-s); transition-delay: calc(var(--i, 0) * 120ms), 0s, 0s; display: flex; align-items: center; padding-left: 12px; color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 0.9375rem; overflow: hidden; white-space: nowrap; cursor: default; }
.mix__seg.c3 { color: #0b0b0b; }
.mix.is-in .mix__seg { transform: scaleX(1); }
.mix:hover .mix__seg:not(:hover) { opacity: 0.45; }
.mix__legend { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px 24px; margin-top: 18px; }
.mix__legend li { display: grid; grid-template-columns: 12px auto 1fr; gap: 10px; align-items: baseline; font-size: var(--fs-small); color: var(--text-2); }
.mix__legend .sw { width: 12px; height: 12px; border-radius: 3px; transform: translateY(1px); }
.mix__legend .pct { font-family: var(--font-display); font-weight: 700; color: var(--text); }
.mix__legend .sub { grid-column: 3; color: var(--muted); font-size: var(--fs-xs); }
.c1 { background: #2a78d6; } .c2 { background: #1baf7a; } .c3 { background: #eda100; } .c4 { background: #6250d6; } .c5 { background: #e87ba4; }
@media (max-width: 600px) { .mix__seg { font-size: 0; padding: 0; } }

.chart { position: relative; }
.chart__plot { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: clamp(6px, 1.4vw, 20px); align-items: end; height: 300px; border-bottom: 1px solid var(--line-dark); }
.chart__col { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; cursor: default; }
.chart__col::before { content: ""; position: absolute; inset: 0 -6px; border-radius: 6px; background: rgba(255, 255, 255, 0.06); opacity: 0; transition: opacity var(--dur-s); }
.chart__col:hover::before { opacity: 1; }
.chart__bar { position: relative; height: var(--h); background: #3987e5; border-radius: 4px 4px 0 0; transform-origin: bottom; transform: scaleY(0); transition: transform 1s var(--ease-out); transition-delay: calc(var(--i) * 60ms); }
.chart__col.is-em .chart__bar { background: var(--white); }
.chart.is-in .chart__bar { transform: scaleY(1); }
.chart__val { position: relative; font-size: var(--fs-xs); font-weight: 600; text-align: center; margin-bottom: 8px; white-space: nowrap; opacity: 0; transition: opacity var(--dur-m) ease calc(var(--i) * 60ms + 500ms); }
.chart.is-in .chart__col.is-em .chart__val, .chart.is-in .chart__col.is-end .chart__val, .chart__col:hover .chart__val { opacity: 1; transition-delay: 0s; }
.chart__x { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: clamp(6px, 1.4vw, 20px); margin-top: 10px; font-size: var(--fs-xs); color: var(--muted-dark); text-align: center; }
.chart__note { margin-top: 18px; font-size: var(--fs-xs); color: var(--muted-dark); }
.chart__table { margin-top: 12px; font-size: var(--fs-xs); color: var(--muted-dark); }
.chart__table summary { cursor: pointer; display: inline-block; text-decoration: underline; text-underline-offset: 3px; }
.chart__table table { margin-top: 10px; border-collapse: collapse; }
.chart__table td, .chart__table th { padding: 4px 16px 4px 0; text-align: left; border-bottom: 1px solid var(--line-dark); font-weight: 500; }
@media (max-width: 600px) { .chart__val { font-size: 0.625rem; } .chart__plot { height: 220px; } }

/* Floating tooltip shared by charts */
.viz-tip { position: fixed; z-index: 200; pointer-events: none; background: var(--black); color: var(--white); font-size: var(--fs-xs); line-height: 1.4; padding: 8px 12px; border-radius: 8px; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5); opacity: 0; transform: translate(-50%, calc(-100% - 12px)); transition: opacity 120ms ease; max-width: 240px; }
.viz-tip.is-on { opacity: 1; }
.viz-tip b { font-family: var(--font-display); font-size: 0.9375rem; display: block; }

.network-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 20px; margin: 40px 0 0; padding-top: 28px; border-top: 1px solid var(--line-dark); }
.network-list dt { font-size: var(--fs-xs); color: var(--muted-dark); }
.network-list dd { margin: 4px 0 0; font-family: var(--font-display); font-weight: 700; font-size: 1.75rem; letter-spacing: -0.03em; }
.perf-network .stats { grid-template-columns: 1fr 1fr; }
.perf-network .stat__num { font-size: clamp(2.25rem, 1.4rem + 2.2vw, 3.5rem); }
.perf-network .stat:first-child { grid-column: 1 / -1; padding-bottom: 24px; }
.perf-network .stat + .stat { border-left: 0; padding-left: 0; }
@media (max-width: 900px) { .perf-assets, .perf-network { grid-column: 1 / -1 !important; } }

/* ============ CTA band & footer ============ */
.cta-band { position: relative; overflow: hidden; color: var(--white); background: var(--blue); padding: clamp(96px, 12vw, 180px) 0 clamp(48px, 5vw, 72px); }
.cta-band__media { position: absolute; inset: 0; border-radius: 0; }
.cta-band__media::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, rgba(20, 40, 160, 0.84), rgba(10, 22, 80, 0.95)); }
.cta-band > .wrap, .cta-band > .marquee { position: relative; z-index: 3; }
.cta-band__inner { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; align-items: end; }
.cta-band h2 { grid-column: 1 / span 8; font-size: clamp(2.5rem, 1.4rem + 4vw, 5.25rem); letter-spacing: -0.045em; line-height: 1; }
.cta-band__side { grid-column: 9 / span 4; }
.cta-band__side p { color: rgba(255, 255, 255, 0.88); margin-bottom: 24px; }
.cta-band__btns { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band .marquee { margin-top: clamp(56px, 7vw, 96px); }
@media (max-width: 900px) { .cta-band h2, .cta-band__side { grid-column: 1 / -1; } }

.site-footer { background: var(--black); color: var(--white); padding: 88px 0 40px; font-size: var(--fs-small); }
.site-footer__top { display: grid; grid-template-columns: 4fr 8fr; gap: 48px; padding-bottom: 64px; border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.site-footer .brand { margin-bottom: 24px; }
.site-footer__contact p { color: rgba(255, 255, 255, 0.6); max-width: 22em; }
.site-footer__contact a.mail { display: inline-block; margin-top: 12px; font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; border-bottom: 1.5px solid var(--blue-bright); padding-bottom: 2px; }
.sitemap { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px 24px; }
.sitemap h3 { font-size: var(--fs-small); margin-bottom: 16px; }
.sitemap h3 a:hover { color: var(--blue-bright); }
.sitemap li { margin-bottom: 10px; }
.sitemap li a { color: rgba(255, 255, 255, 0.6); transition: color var(--dur-s); }
.sitemap li a:hover { color: var(--white); }
.site-footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-top: 28px; color: rgba(255, 255, 255, 0.5); font-size: var(--fs-xs); }
.site-footer__legal { display: flex; gap: 24px; }
.site-footer__legal a:hover { color: var(--white); }
@media (max-width: 1000px) { .site-footer__top { grid-template-columns: 1fr; } .sitemap { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { .sitemap { grid-template-columns: 1fr 1fr; } }

/* ============ Motion states (applied only when .motion is set and the libraries loaded) ============ */
.motion [data-split] { visibility: hidden; }
.motion.motion-ready [data-split] { visibility: visible; }
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.14em; margin-bottom: -0.14em; }
[data-split] .w > span { display: inline-block; will-change: transform; }

/* With the motion layer, charts are driven by scroll (GSAP) instead of one-off CSS transitions */
.motion-ready .mix__seg { transform: none; transition: filter var(--dur-s), opacity var(--dur-s); }
.motion-ready .chart__bar { transition: none; }

/* Page transitions: the old page recedes, the new one wipes up over it */
::view-transition-old(root) { animation: vt-out 560ms var(--ease-in-out) both; }
::view-transition-new(root) { animation: vt-in 820ms var(--ease-out) both; }
@keyframes vt-out { to { opacity: 0.3; transform: scale(0.96); } }
@keyframes vt-in { from { clip-path: inset(100% 0 0 0 round 40px 40px 0 0); } to { clip-path: inset(0 0 0 0 round 0); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0ms !important; }
  .mix__seg, .chart__bar { transform: none; }
  .chart__val { opacity: 1; }
  .marquee__track { animation: none !important; flex-wrap: wrap; width: auto; }
  .marquee__group[aria-hidden] { display: none; }
  .marquee__group { flex-wrap: wrap; row-gap: 12px; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .scroll-cue { display: none; }
  @view-transition { navigation: none; }
}

/* Eyebrow on photo bands: keep it legible over dark imagery */
.qband .eyebrow { color: var(--white); }
.qband .eyebrow::before { background: var(--blue-bright); }

/* ============ School ambassador pages ============ */
.page-hero--campus { min-height: 66svh; }
.page-hero--campus .page-hero__media img { object-position: 50% 45%; }
.campus-hero__logo { display: block; height: clamp(64px, 3rem + 4vw, 112px); width: auto; margin-bottom: 28px; filter: drop-shadow(0 6px 24px rgba(0, 0, 0, 0.35)); }

.ambassador { overflow: clip; }
.amb { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 6vw, 112px); align-items: start; }
.amb__letter h2 { font-size: clamp(2rem, 1.2rem + 2.6vw, 3.4rem); max-width: 14em; margin-bottom: 36px; }
.amb__body p { font-size: 1.125rem; line-height: 1.7; color: var(--text-2); max-width: 38em; margin-bottom: 1.1em; }
.amb__body p:first-child { font-size: var(--fs-lede); color: var(--text); font-weight: 500; }
.amb__sign { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; margin-top: 44px; padding-top: 32px; border-top: 1px solid var(--line); }
.amb__person { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.amb__name { font-family: var(--font-display); font-weight: 700; font-size: 1.375rem; letter-spacing: -0.02em; }
.amb__meta { color: var(--muted); font-size: var(--fs-small); }
.amb__person .btn { margin-top: 14px; min-height: 46px; }
.amb__portrait { position: sticky; top: calc(var(--header-h) + 32px); }
.amb__stage { position: relative; aspect-ratio: 4 / 5; border-radius: 28px; overflow: hidden; isolation: isolate;
  background:
    repeating-radial-gradient(circle at 50% 110%, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 56px),
    radial-gradient(120% 90% at 50% 18%, #3159e6 0%, var(--blue) 42%, var(--blue-deep) 78%, var(--blue-ink) 100%); }
.amb__stage::before { content: ""; position: absolute; inset: 0; z-index: 0; background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 30%), rgba(255, 255, 255, 0.16), transparent 60%); pointer-events: none; }
.amb__word { position: absolute; left: 0; right: 0; top: 7%; z-index: 0; text-align: center; font-family: var(--font-display); font-weight: 800; font-size: clamp(4rem, 1.5rem + 7vw, 9rem); letter-spacing: -0.05em; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.42); white-space: nowrap; pointer-events: none; }
.amb__cutout { position: absolute; z-index: 1; bottom: 0; left: 50%; translate: -50% 0; height: 90%; width: auto; max-width: none; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.35)); }
.amb__tag { position: absolute; z-index: 2; left: 20px; bottom: 20px; display: grid; gap: 2px; padding: 12px 16px; border-radius: 14px; background: rgba(255, 255, 255, 0.95); color: var(--text); font-size: var(--fs-xs); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.5); }
.amb__tag b { font-family: var(--font-display); font-size: 1rem; color: var(--blue); }
@media (max-width: 900px) {
  .amb { grid-template-columns: 1fr; }
  .amb__portrait { position: relative; top: auto; order: -1; max-width: 460px; }
}

.csteps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.cstep { background: var(--white); border-radius: 20px; padding: clamp(24px, 2.6vw, 36px); display: flex; flex-direction: column; gap: 12px; transition: transform var(--dur-m) var(--ease-out), box-shadow var(--dur-m); }
.cstep:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -36px rgba(10, 22, 80, 0.45); }
.cstep__n { font-family: var(--font-display); font-weight: 800; font-size: 3rem; letter-spacing: -0.04em; line-height: 1; color: var(--blue); }
.cstep h3 { font-size: 1.5rem; }
.cstep p { color: var(--text-2); flex: 1; }
@media (max-width: 860px) { .csteps { grid-template-columns: 1fr; } }

.school-pager { display: flex; justify-content: space-between; gap: 16px; margin-bottom: clamp(48px, 6vw, 80px); padding-bottom: 32px; border-bottom: 1px solid var(--line-dark); }
.school-pager__link { display: flex; align-items: center; gap: 14px; color: var(--white); font-family: var(--font-display); font-weight: 700; font-size: clamp(1rem, 0.9rem + 0.5vw, 1.375rem); letter-spacing: -0.015em; transition: color var(--dur-s); }
.school-pager__link small { display: block; font-family: var(--font-body); font-weight: 500; font-size: var(--fs-xs); color: var(--muted-dark); letter-spacing: 0; }
.school-pager__link--next { text-align: right; }
.school-pager__link svg { width: 22px; height: 22px; flex: none; transition: transform var(--dur-s); }
.school-pager__link:hover { color: var(--blue-bright); }
.school-pager__link:hover svg { transform: translateX(4px); }
.school-pager__link:not(.school-pager__link--next):hover svg { transform: translateX(-4px); }

.schools-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 176px), 1fr)); gap: 14px; }
.school-tile { background: var(--white); color: var(--text); border-radius: 18px; padding: 12px 12px 16px; display: flex; flex-direction: column; gap: 10px; transition: transform var(--dur-m) var(--ease-out), box-shadow var(--dur-m), opacity var(--dur-s); }
.school-tile:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.6); }
.school-tile__logo { aspect-ratio: 1.5; display: grid; place-items: center; border-radius: 12px; background: var(--white); overflow: hidden; border: 1px solid var(--line); }
.school-tile__logo img { height: 100%; width: auto; object-fit: contain; }
.school-tile__name { font-family: var(--font-display); font-weight: 700; font-size: 1rem; letter-spacing: -0.01em; padding: 0 4px; }
.school-tile__amb { display: flex; align-items: center; gap: 8px; font-size: var(--fs-xs); color: var(--muted); padding: 0 4px; }
.school-tile__amb img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; object-position: 50% 0; background: var(--blue-tint); flex: none; }
.school-tile.is-dim { opacity: 0.18; transform: scale(0.97); }
.school-tile.is-match { box-shadow: 0 0 0 2px var(--blue-bright); }
.carousel__track.schools-track { grid-auto-columns: 196px; }

/* Filmstrip of real GSG photos (Life page) */
.filmstrip { margin-top: clamp(48px, 6vw, 80px); }
.filmstrip .marquee__group { gap: 16px; padding-right: 16px; }
.film { width: clamp(260px, 30vw, 440px); aspect-ratio: 2 / 1; border-radius: 16px; overflow: hidden; flex: none; background: var(--blue-deep); }
.film img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.film:hover img { transform: scale(1.06); }

/* History: era photos from Samsung's archive, blended into the timeline */
.era::before { content: none; }
.era__body { position: relative; }
.era__body::before { content: ""; position: absolute; left: 0; right: 0; top: 66px; height: 1px; background: var(--line-dark); }
.era__photo { position: relative; border-radius: 16px; overflow: hidden; background: var(--blue); aspect-ratio: 549 / 443; margin: 0 0 24px; isolation: isolate; }
.era__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.15); mix-blend-mode: luminosity; opacity: 0.85; transition: filter 0.9s ease, opacity 0.9s ease, transform 1.4s var(--ease-out); }
.era__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 13, 51, 0) 45%, rgba(6, 13, 51, 0.65) 100%); pointer-events: none; }
.era.is-active .era__photo img, .era:hover .era__photo img { filter: none; mix-blend-mode: normal; opacity: 1; transform: scale(1.04); }
.history.is-h .era { width: 760px; display: grid; grid-template-columns: 290px 1fr; gap: 32px; align-items: start; padding-right: 64px; }
.history.is-h .era__photo { margin: 0; }
.history.is-h .era ul { gap: 12px; }
.history.is-h .s-head { margin-bottom: 40px !important; }

/* Project photos in the globe tour cards */
.tcard { display: grid; grid-template-columns: 1fr auto; column-gap: 20px; }
.tcard > :not(.tcard__img) { grid-column: 1; }
.tcard__img { grid-column: 2; grid-row: 1 / span 3; width: clamp(96px, 9vw, 128px); aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: #fff; display: grid; place-items: center; box-shadow: 0 16px 30px -18px rgba(0, 0, 0, 0.6); transform: rotate(-3deg) scale(0.92); transition: transform var(--dur-m) var(--ease-out); }
.tcard__img img { width: 100%; height: 100%; object-fit: contain; }
.tour__step.is-active .tcard__img { transform: rotate(0) scale(1); }
@media (max-width: 560px) { .tcard__img { width: 76px; } }

/* ============ Round 3 refinements ============ */
/* Real profile photos (careers) */
.avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; background: var(--white); box-shadow: 0 0 0 3px var(--white), 0 0 0 4px var(--line); }
.profile--compact .avatar { width: 72px; height: 72px; }
.section--deep .avatar { box-shadow: 0 0 0 3px var(--white); }

/* Project photos on clean white / light-grey tiles */
.tcard__img { background: #ffffff; }
.tcard__img--light { background: #eef0f4; }

/* Recruiting hero: keep faces and the world map in frame */
.page-hero__media--top img { object-position: 50% 30%; }

/* Ambassador stage on white, so the cut-out photos sit cleanly */
.amb__stage {
  background:
    repeating-radial-gradient(circle at 50% 110%, rgba(20, 40, 160, 0.05) 0 1px, transparent 1px 56px),
    linear-gradient(180deg, #ffffff 0%, #ffffff 70%, #f4f6fb 100%);
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px -50px rgba(10, 22, 80, 0.35);
}
.amb__stage::before { background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 30%), rgba(33, 137, 255, 0.08), transparent 60%); }
.amb__word { -webkit-text-stroke: 1.5px rgba(20, 40, 160, 0.16); }
.amb__cutout { filter: drop-shadow(0 24px 30px rgba(10, 22, 80, 0.16)); }
.amb__tag { background: var(--blue); color: rgba(255, 255, 255, 0.86); box-shadow: 0 20px 40px -20px rgba(20, 40, 160, 0.6); }
.amb__tag b { color: var(--white); }

/* School logos: centred within the tile at a consistent optical size */
.school-tile__logo { padding: 11% 13%; }
.school-tile__logo img { width: 100%; height: 100%; object-fit: contain; object-position: 50% 50%; }

/* ===== Project team mix (home, under "The team") ===== */
.tmix { margin-top: clamp(80px, 9vw, 136px); }
.tmix__sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.tmix__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px clamp(16px, 2.4vw, 32px); align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.tmix__kicker { grid-column: 1 / -1; display: inline-flex; align-items: center; gap: 12px; font-size: var(--fs-small); font-weight: 600; color: var(--blue-bright); }
.tmix__kicker::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.tmix__head h3 { grid-column: 1 / span 7; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.6rem, 1.15rem + 1.5vw, 2.4rem); line-height: 1.12; letter-spacing: -0.03em; max-width: 18em; }
.tmix__head > p:last-child { grid-column: 8 / span 5; color: var(--muted-dark); max-width: 30em; }

.tmix__board { display: grid; grid-template-columns: minmax(0, 0.95fr) clamp(130px, 13vw, 178px) minmax(0, 1.55fr); align-items: center; }
.tmix__side { background: rgba(10, 22, 80, 0.82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line-dark); border-radius: 22px; padding: clamp(20px, 2.2vw, 28px); }
.tmix__side--gsg { background: linear-gradient(160deg, rgba(20, 40, 160, 0.6), rgba(10, 22, 80, 0.86) 55%); border-color: rgba(33, 137, 255, 0.4); box-shadow: 0 40px 90px -50px rgba(33, 137, 255, 0.55); }
.tmix__side-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 16px; margin-bottom: 18px; border-bottom: 1px solid var(--line-dark); }
.tmix__side-h span { font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-dark); }
.tmix__side-h b { font-family: var(--font-display); font-size: 1.125rem; letter-spacing: -0.01em; }
.tmix__side--gsg .tmix__side-h span { color: var(--blue-bright); }
.tmix__nodes { display: grid; gap: 12px; }

/* role cards */
.tnode { position: relative; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-dark); border-radius: 16px; padding: 16px 18px 18px; transition: background-color var(--dur-m), border-color var(--dur-m), box-shadow var(--dur-m), filter var(--dur-m); outline: none; }
.tnode:hover, .tnode:focus-visible { background: rgba(33, 137, 255, 0.16); border-color: rgba(33, 137, 255, 0.75); box-shadow: 0 18px 40px -24px rgba(33, 137, 255, 0.9); }
.tmix__board:has(.tnode:hover) .tnode:not(:hover), .tmix__board:has(.tnode:focus-visible) .tnode:not(:focus-visible) { filter: opacity(0.45); }
.tnode__toks { display: flex; align-items: flex-end; gap: 4px; height: 34px; margin-bottom: 12px; }
.tok { width: 28px; height: 30px; flex: none; fill: var(--blue-bright); overflow: visible; }
.tmix__side--client .tok { fill: rgba(255, 255, 255, 0.92); }
.tnode__toks--crowd .tok { width: 22px; height: 24px; margin-right: -6px; fill: rgba(255, 255, 255, 0.7); }
.tnode__toks--crowd .tok:nth-child(2) { fill: rgba(255, 255, 255, 0.82); }
.tnode__toks--crowd .tnode__count { margin-left: 10px; }
.tok--opt { fill: none !important; stroke: var(--blue-bright); stroke-width: 1.4; stroke-dasharray: 2.4 2; }
.tok--kr { fill: var(--white); }
.tnode__count { margin-left: 8px; font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; color: var(--white); font-variant-numeric: tabular-nums; align-self: center; }
.tnode__tag { margin-left: auto; align-self: center; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.04em; color: var(--blue-ink); background: var(--white); border-radius: var(--radius-pill); padding: 3px 9px; white-space: nowrap; }
.tnode__fn { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue-bright); margin-bottom: 4px; }
.tmix__side--client .tnode__fn { color: rgba(255, 255, 255, 0.66); }
.tnode__name { font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; line-height: 1.2; letter-spacing: -0.015em; margin-bottom: 6px; }
.tnode__desc { font-size: 0.875rem; line-height: 1.5; color: var(--muted-dark); }

/* GSG tiers joined by a spine that fills with scroll */
.tmix__tiers { position: relative; display: grid; gap: 12px; }
.ttier { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 12px; align-items: center; }
.ttier__label { position: relative; padding-left: 22px; font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-dark); }
.ttier__label::before { content: ""; position: absolute; left: 2px; top: 50%; width: 11px; height: 11px; margin-top: -6px; border-radius: 50%; background: var(--blue-ink); border: 2px solid var(--blue-bright); box-shadow: 0 0 0 4px rgba(33, 137, 255, 0.16); }
.ttier__nodes { display: grid; gap: 12px; }
.ttier__nodes--2 { grid-template-columns: 1fr 1fr; }
.tmix__spine { position: absolute; left: 7px; top: 12%; bottom: 12%; width: 2px; background: var(--line-dark); }
.tmix__spine i { display: block; height: 100%; background: linear-gradient(var(--blue-bright), rgba(33, 137, 255, 0.4)); transform-origin: 50% 0; }

/* bridge: two flows, client to GSG and GSG to client */
.tmix__bridge { display: grid; gap: 18px; justify-items: center; padding: 0 6px; }
.tflow { display: grid; gap: 8px; width: 100%; text-align: center; }
.tflow__label { font-size: 0.75rem; line-height: 1.35; color: var(--muted-dark); }
.tflow__line { --draw: 1; position: relative; display: block; height: 2px; background: rgba(255, 255, 255, 0.28); transform: scaleX(var(--draw)); transform-origin: 0 50%; }
.tflow--out .tflow__line { transform-origin: 100% 50%; background: rgba(33, 137, 255, 0.55); }
.tflow__line::after { content: ""; position: absolute; top: 50%; right: -2px; width: 9px; height: 9px; border-top: 2px solid rgba(255, 255, 255, 0.7); border-right: 2px solid rgba(255, 255, 255, 0.7); transform: translateY(-50%) rotate(45deg); }
.tflow--out .tflow__line::after { right: auto; left: -2px; border-color: var(--blue-bright); transform: translateY(-50%) rotate(-135deg); }
.tflow__line i { position: absolute; top: 50%; left: 0; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--white); box-shadow: 0 0 10px 2px rgba(255, 255, 255, 0.6); opacity: 0; }
.tflow--out .tflow__line i { background: var(--blue-bright); box-shadow: 0 0 10px 2px rgba(33, 137, 255, 0.8); }
.tmix.is-live .tflow--in .tflow__line i { animation: tm-flow-r 2.4s linear infinite; }
.tmix.is-live .tflow--out .tflow__line i { animation: tm-flow-l 2.4s linear infinite; }
.tmix.is-live .tflow__line i:nth-child(2) { animation-delay: -0.8s; }
.tmix.is-live .tflow__line i:nth-child(3) { animation-delay: -1.6s; }
@keyframes tm-flow-r { 0% { left: 0; opacity: 0; } 12%, 85% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
@keyframes tm-flow-l { 0% { left: 100%; opacity: 0; } 12%, 85% { opacity: 1; } 100% { left: 0; opacity: 0; } }
.tmix__hub { display: grid; justify-items: center; gap: 6px; }
.tmix__hub svg { width: 52px; height: 52px; padding: 13px; border-radius: 50%; background: var(--blue); border: 1px solid rgba(33, 137, 255, 0.7); fill: none; stroke: var(--white); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; box-shadow: 0 0 0 8px rgba(33, 137, 255, 0.12); }
.tmix.is-live .tmix__hub svg { animation: tm-pulse 2.4s var(--ease-out) infinite; }
@keyframes tm-pulse { 0% { box-shadow: 0 0 0 0 rgba(33, 137, 255, 0.45); } 100% { box-shadow: 0 0 0 18px rgba(33, 137, 255, 0); } }
.tmix__hub span { font-family: var(--font-display); font-weight: 700; font-size: 0.875rem; }

@media (max-width: 1100px) {
  .tmix__head h3, .tmix__head > p:last-child { grid-column: 1 / -1; }
  .tmix__board { grid-template-columns: 1fr; }
  .tmix__nodes { grid-template-columns: 1fr 1fr; }
  .tmix__bridge { grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: 20px 0; }
  .tflow { grid-template-columns: 1fr auto; align-items: center; text-align: left; }
  .tflow--out { grid-template-columns: auto 1fr; }
  .tflow--in .tflow__label { text-align: right; }
  .tflow__line { width: 2px; height: 64px; justify-self: center; transform: scaleY(var(--draw)); transform-origin: 50% 0; }
  .tflow--out .tflow__line { transform-origin: 50% 100%; }
  .tflow__line::after { top: auto; bottom: -2px; right: 50%; transform: translateX(50%) rotate(135deg); }
  .tflow--out .tflow__line::after { bottom: auto; top: -2px; left: auto; right: 50%; transform: translateX(50%) rotate(-45deg); }
  .tflow__line i { left: 50%; top: 0; }
  .tmix.is-live .tflow--in .tflow__line i { animation-name: tm-flow-d; }
  .tmix.is-live .tflow--out .tflow__line i { animation-name: tm-flow-u; }
}
@keyframes tm-flow-d { 0% { top: 0; opacity: 0; } 12%, 85% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
@keyframes tm-flow-u { 0% { top: 100%; opacity: 0; } 12%, 85% { opacity: 1; } 100% { top: 0; opacity: 0; } }
@media (max-width: 640px) {
  .tmix__nodes, .ttier__nodes--2 { grid-template-columns: 1fr; }
  .ttier { grid-template-columns: 1fr; gap: 8px; }
  .tmix__tiers { gap: 20px; }
  .tmix__spine { top: 6px; bottom: 6px; }
  .ttier__nodes { padding-left: 22px; }
  .tflow__label { font-size: 0.6875rem; }
}
@media (prefers-reduced-motion: reduce) {
  .tmix.is-live .tflow__line i, .tmix.is-live .tmix__hub svg { animation: none; }
}

/* Team section: keep the photo at a sensible crop behind the stats, fading into the ink below */
.numbers__bg { bottom: auto; height: min(100%, 1150px); -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
.numbers__bg img { object-position: 50% 35%; }
