/* ZenX Manpower — design system. Brand colors sampled from the logo:
   orange #F48124, indigo #313191, charcoal #1F1F1F. */

@font-face { font-family: "Source Serif 4"; src: url("../fonts/source-serif-4.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  --brand: #F48124;
  --brand-hover: #E2701A;
  --brand-ink: #A34D08;      /* orange for text on light surfaces (≥4.5:1) */
  --brand-soft: #FDEEDF;
  --indigo: #313191;
  --indigo-soft: #ECECF8;
  --paper: #FAF8F4;
  --surface: #FFFFFF;
  --surface-2: #F3F0EA;
  --ink: #15161B;
  --text: #2C2E35;
  --muted: #5A5E69;
  --line: #E5E1D8;
  --night: #121317;
  --night-2: #1B1C22;
  --night-line: #2E3038;
  --on-night: #F4F2ED;
  --on-night-muted: #B9B6AE;
  --shadow: 0 1px 2px rgba(20, 21, 27, .05), 0 8px 24px rgba(20, 21, 27, .06);
  --shadow-lg: 0 2px 6px rgba(20, 21, 27, .06), 0 24px 48px rgba(20, 21, 27, .12);
  --radius: 14px;
  --radius-sm: 10px;
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 72px;
  --indigo-deep: #232672;
  --accent: var(--ink);       /* icons and markers: ink. Orange is for actions only; indigo for the IT-professional path */
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --brand-ink: #F6A060;
    --brand-soft: #2E2116;
    --indigo: #ABABF7;
    --indigo-soft: #23244A;
    --indigo-deep: #1B1D55;
    --paper: #0F1014;
    --surface: #18191F;
    --surface-2: #1E1F26;
    --ink: #F4F2ED;
    --text: #DAD7D0;
    --muted: #A6A39C;
    --line: #2B2C34;
    --night: #0B0C0F;
    --night-2: #15161B;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .35);
    --shadow-lg: 0 2px 6px rgba(0, 0, 0, .35), 0 24px 48px rgba(0, 0, 0, .5);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 17px/1.65 var(--sans); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--indigo); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .5em; font-weight: 600; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4.1rem); }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.75rem); }
h3 { font-size: 1.3rem; }
.card h3, .defs dt, .steps h3 { font-family: var(--sans); font-weight: 600; font-size: 1.1rem; line-height: 1.3; letter-spacing: 0; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--brand); color: #15161B; padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 24px; height: 24px; flex: none; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border-radius: var(--radius-sm); font: 600 16px/1.2 var(--sans); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease); }
.btn .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn-primary { background: var(--brand); color: #15161B; }
.btn-primary:hover { background: var(--brand-hover); }
.btn-primary:active { transform: scale(.98); }
.btn-ghost { color: var(--on-night); border-color: rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .04); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, .8); background: rgba(255, 255, 255, .1); }
.btn-outline { color: var(--ink); border-color: var(--line); background: var(--surface); }
.btn-outline:hover { border-color: var(--ink); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--brand-ink); text-decoration: none; }
.link-arrow .icon { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(18, 19, 23, .92); backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px); border-bottom: 1px solid rgba(255, 255, 255, .06); transition: box-shadow .2s var(--ease); }
.site-header.scrolled { box-shadow: 0 8px 30px rgba(0, 0, 0, .25); }
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 44px; width: auto; }
.menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.menu > li { position: relative; }
.menu a, .menu button.navlink { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 8px 14px; color: var(--on-night); font: 500 15px/1 var(--sans); text-decoration: none; background: none; border: 0; border-radius: 8px; cursor: pointer; }
.menu a:hover, .menu button.navlink:hover, .menu [aria-current="page"] { background: rgba(255, 255, 255, .08); }
.menu button.navlink .icon { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.menu button[aria-expanded="true"] .icon { transform: rotate(180deg); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-cta .btn { min-height: 44px; padding: 10px 18px; font-size: 15px; }
.mega { position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%) translateY(6px); width: min(760px, 92vw); background: var(--night-2); border: 1px solid var(--night-line); border-radius: var(--radius); box-shadow: 0 30px 60px rgba(0, 0, 0, .45); padding: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 28px; opacity: 0; visibility: hidden; transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s; }
.mega.open { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.mega .menu-title { font: 500 13px/1 var(--sans); letter-spacing: .01em; color: var(--on-night-muted); margin: 6px 0 10px; }
.mega ul { list-style: none; margin: 0; padding: 0; }
.mega a { display: flex; gap: 12px; align-items: flex-start; width: 100%; padding: 10px; border-radius: 10px; min-height: 0; line-height: 1.35; }
.mega a .icon { width: 20px; height: 20px; color: var(--on-night-muted); margin-top: 1px; }
.mega a span small { display: block; color: var(--on-night-muted); font-size: 13px; font-weight: 400; margin-top: 3px; }
.mega .mega-all { grid-column: 1 / -1; border-top: 1px solid var(--night-line); margin-top: 6px; padding-top: 12px; }
.nav-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; background: none; border: 1px solid rgba(255, 255, 255, .2); border-radius: 10px; color: var(--on-night); cursor: pointer; }

@media (max-width: 1060px) {
  /* backdrop-filter would become the containing block for the fixed menu and clip it */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--night); }
  .nav-toggle { display: inline-flex; }
  .nav-cta .btn-ghost { display: none; }
  .menu-wrap { position: fixed; inset: var(--header-h) 0 0 0; background: var(--night); padding: 16px var(--gutter) 40px; overflow-y: auto; opacity: 0; transform: translateY(-8px); visibility: hidden; transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s; }
  .menu-wrap.open { opacity: 1; transform: none; visibility: visible; }
  .menu { flex-direction: column; align-items: stretch; gap: 2px; }
  .menu a, .menu button.navlink { width: 100%; justify-content: space-between; font-size: 17px; padding: 14px 12px; }
  .menu .mega a { justify-content: flex-start; font-size: 16px; }
  .mega { position: static; transform: none; width: 100%; display: none; grid-template-columns: 1fr; box-shadow: none; margin: 4px 0 10px; opacity: 1; visibility: visible; }
  .mega.open { display: grid; transform: none; }
}
@media (max-width: 520px) { .brand img { height: 30px; } .nav { gap: 10px; } .nav-cta { gap: 8px; } .nav-cta .btn-primary { min-height: 40px; padding: 8px 12px; font-size: 14px; white-space: nowrap; } .nav-toggle { width: 40px; height: 40px; } }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-tight { padding: clamp(48px, 6vw, 72px) 0; }
.section.tight { padding: clamp(48px, 6vw, 76px) 0; }
.page-hero + .section { padding-top: clamp(40px, 5vw, 64px); }
.tint-indigo { background: var(--indigo-soft); }
.section-head.side { max-width: none; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 16px clamp(32px, 6vw, 80px); align-items: end; }
.section-head.side h2, .section-head.side p { margin-bottom: 0; }
@media (max-width: 900px) { .section-head.side { grid-template-columns: 1fr; } }
.alt { background: var(--surface-2); }
.dark { background: var(--night); color: var(--on-night-muted); }
.dark h1, .dark h2, .dark h3 { color: var(--on-night); }
.dark a:not(.btn) { color: #FFB57A; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 500 14px/1 var(--sans); letter-spacing: .01em; color: var(--muted); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; opacity: .6; border-radius: 2px; }
.dark .eyebrow { color: var(--on-night-muted); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { font-size: 1.125rem; color: var(--muted); }
.dark .section-head p { color: var(--on-night-muted); }
.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }

/* ---------- Hero (home) ---------- */
.hero { position: relative; isolation: isolate; color: var(--on-night); background: var(--night); overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 66% 50%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14, 15, 19, .92) 0%, rgba(14, 15, 19, .55) 55%, rgba(14, 15, 19, .15) 100%), linear-gradient(0deg, rgba(14, 15, 19, .75) 0%, rgba(14, 15, 19, 0) 30%); }
.hero-inner { min-height: min(78vh, 740px); display: flex; flex-direction: column; justify-content: center; padding-top: 96px; padding-bottom: 56px; }
.hero h1 { color: #fff; max-width: 26ch; text-shadow: 0 2px 24px rgba(0, 0, 0, .35); }
.hero .lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); max-width: 56ch; color: #D8D5CE; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-rail { margin-top: clamp(40px, 6vw, 72px); display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 14px; border-radius: 6px; border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .06); color: #EDEBE6; font-size: 14px; font-weight: 500; text-decoration: none; transition: background-color .2s var(--ease), border-color .2s var(--ease); }
.chip:hover { background: rgba(244, 129, 36, .16); border-color: rgba(244, 129, 36, .6); }
.chip .icon { width: 16px; height: 16px; }
@media (max-width: 760px) {
  .hero::before { background: linear-gradient(180deg, rgba(14, 15, 19, .7) 0%, rgba(14, 15, 19, .9) 55%, rgba(14, 15, 19, .97) 100%); }
  .hero-inner { min-height: 0; padding-top: 48px; padding-bottom: 40px; }
  .hero .lead { margin-bottom: 24px; }
  .hero-actions .btn { width: 100%; }
}

/* ---------- Two-audience doors ---------- */
.door { display: flex; flex-direction: column; gap: 4px; padding: clamp(24px, 3.5vw, 40px); border-radius: 20px; text-decoration: none; color: inherit; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.door:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.door h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 8px; }
.door p { color: var(--muted); max-width: 46ch; }
.door .link-arrow { margin-top: auto; }
.door.employers { border-top: 4px solid var(--brand); }
.door.pros { border-top: 4px solid var(--indigo); }
.door.pros { --accent: var(--indigo); }
.door.pros .eyebrow { color: var(--indigo); }
.doors { padding-bottom: 0; }

/* ---------- Trust strip ---------- */
.strip { background: var(--night-2); border-top: 1px solid var(--night-line); color: var(--on-night-muted); }
.strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.strip-item { display: flex; gap: 14px; align-items: center; padding: 22px 18px; border-left: 1px solid var(--night-line); font-size: 15px; line-height: 1.4; }
.strip-item:first-child { border-left: 0; padding-left: 0; }
.strip-item strong { display: block; color: var(--on-night); font-weight: 600; }
.strip-item .icon { color: var(--on-night); width: 28px; height: 28px; }
@media (max-width: 900px) { .strip .wrap { grid-template-columns: 1fr 1fr; } .strip-item { border-left: 0; padding-left: 0; } }
@media (max-width: 520px) { .strip .wrap { grid-template-columns: 1fr; } .strip-item { padding: 14px 0; } }

/* ---------- Pillars (two practices) ---------- */
.practice { position: relative; overflow: hidden; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.practice-top { padding: clamp(26px, 3.5vw, 40px); flex: 1; }
.practice-tag { display: inline-flex; align-items: center; gap: 8px; font: 500 13px/1 var(--sans); letter-spacing: .01em; padding: 8px 12px; border-radius: 6px; border: 1px solid var(--line); background: var(--surface-2); color: var(--ink); margin-bottom: 18px; }
.practice.tech .practice-tag { background: var(--indigo-soft); color: var(--indigo); }
.practice ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 2px; }
.practice li a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 0; border-top: 1px solid var(--line); color: var(--ink); font-weight: 600; text-decoration: none; }
.practice li a:hover { color: var(--indigo); }
.practice li a .icon { width: 18px; height: 18px; color: var(--muted); }
.practice-img { aspect-ratio: 16 / 7; overflow: hidden; }
.practice-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Cards ---------- */
.card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: none; transition: border-color .25s var(--ease); display: flex; flex-direction: column; }
a.card { color: inherit; text-decoration: none; }
a.card:hover { border-color: var(--ink); }
.card h3 .icon { display: inline-block; width: 18px; height: 18px; margin-left: 6px; vertical-align: -3px; transition: transform .2s var(--ease); }
a.card:hover h3 .icon { transform: translateX(3px); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 16px; }
.card .link-arrow { margin-top: auto; }
.card h3 { text-wrap: pretty; }
.card.static, div.card, article.card { box-shadow: none; }
.dark div.card { border-color: var(--night-line); }
.g5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.g5 .card { padding: 22px; }
@media (max-width: 1099px) { .g5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g5 > :last-child { grid-column: 1 / -1; } }
@media (max-width: 640px) { .g5 { grid-template-columns: 1fr; } }
/* mobile: service cards become compact rows */
@media (max-width: 640px) {
  .g-svc .card { flex-direction: row; align-items: center; gap: 14px; padding: 14px 16px; }
  .g-svc .card h3 { margin: 0; font-size: 1.05rem; flex: 1; }
  .g-svc .card p { display: none; }
  .g-svc .card .link-arrow { margin: 0; font-size: 0; }
  .g-svc .card .link-arrow .icon { width: 20px; height: 20px; }
}
.persona p { font-size: 15px; }
.ico { display: grid; place-items: center; color: var(--accent); }
.ico .icon { width: 26px; height: 26px; }
.ico.indigo { color: var(--indigo); }

/* ---------- Definition rows (replace icon-tile card grids) ---------- */
.defs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(28px, 5vw, 64px); margin: 0; }
.defs.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.defs > div { border-top: 1px solid var(--line); padding: 20px 0 24px; }
.defs dt { color: var(--ink); margin-bottom: 6px; }
.defs dd { margin: 0; color: var(--muted); font-size: 16px; }
.dark .defs > div { border-color: var(--night-line); }
.dark .defs dt { color: var(--on-night); }
.dark .defs dd { color: var(--on-night-muted); }
@media (max-width: 1000px) { .defs.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .defs, .defs.cols-3 { grid-template-columns: 1fr; } .defs > div { padding: 14px 0 16px; } }

/* ---------- Industries long-form list ---------- */
.ind-list { display: grid; }
.ind-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 8px clamp(28px, 5vw, 64px); border-top: 1px solid var(--line); padding: 32px 0; scroll-margin-top: calc(var(--header-h) + 16px); }
.ind-row h2, .ind-row h3 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); margin: 0; font-family: var(--serif); }
.ind-row h3 a { color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.ind-row h3 a:hover { text-decoration: underline; }
.ind-row h3 .icon { width: 20px; height: 20px; }
.ind-row p { margin: 0 0 .7em; max-width: 64ch; }
.ind-row .roles { color: var(--muted); font-size: 15px; margin: 0; }
.ind-row .roles strong { color: var(--ink); font-weight: 600; }
.ind-row p a { font-weight: 600; }
@media (max-width: 800px) { .ind-row { grid-template-columns: 1fr; padding: 22px 0; } }

/* ---------- Voice block (recruiter speaking) ---------- */
.voice { margin: 36px 0 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--brand); max-width: 66ch; }
.voice .voice-label { font: 500 14px/1 var(--sans); letter-spacing: .01em; color: var(--muted); margin: 0 0 12px; }
.voice p { font-family: var(--serif); font-size: 1.15rem; line-height: 1.6; color: var(--ink); }
.voice p:last-child { margin-bottom: 0; }
.statement { font-family: var(--serif); font-size: clamp(1.35rem, 2.4vw, 1.9rem); line-height: 1.4; color: var(--ink); max-width: 38em; margin: 0 0 28px; }
.pros-path { --accent: var(--indigo); }
.skill-text { margin: 0; color: var(--on-night-muted); font-size: 15.5px; line-height: 1.7; }
.dark .card { background: var(--night-2); border-color: var(--night-line); box-shadow: none; }
.dark .card p { color: var(--on-night-muted); }

/* ---------- Comparison table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); -webkit-overflow-scrolling: touch; }
table.compare { border-collapse: collapse; width: 100%; min-width: 820px; font-size: 15px; }
.swipe-hint { display: none; font-size: 14px; color: var(--muted); margin: 0 0 10px; }
.compare thead th a { color: var(--ink); text-decoration-color: var(--line); }
.compare thead th a:hover { text-decoration-color: currentColor; }
@media (max-width: 820px) { .swipe-hint { display: block; } .compare tbody th { width: 130px; } }
.compare th, .compare td { padding: 16px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare thead th { font: 600 15px/1.3 var(--sans); color: var(--ink); background: var(--surface-2); }
.compare tbody th { font-weight: 600; color: var(--ink); width: 170px; position: sticky; left: 0; background: var(--surface); }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare td { color: var(--muted); }

/* ---------- Process (plain ordered list; step name beside a sentence) ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; }
.steps li { display: grid; grid-template-columns: minmax(150px, 1fr) minmax(0, 3fr); gap: 4px clamp(20px, 4vw, 48px); border-top: 1px solid var(--line); padding: 18px 0; }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps h3 { margin: 0; color: var(--ink); }
.steps p { margin: 0; color: var(--muted); font-size: 16px; max-width: 62ch; }
.dark .steps li { border-color: var(--night-line); }
.dark .steps h3 { color: var(--on-night); }
.dark .steps p { color: var(--on-night-muted); }
@media (max-width: 700px) { .steps li { grid-template-columns: 1fr; padding: 14px 0; } }

/* ---------- Photo split ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split.flip > :first-child { order: 2; }
.photo { position: relative; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3.2; background: var(--surface-2); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-badge { position: absolute; left: 18px; bottom: 18px; right: 18px; display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 12px; background: var(--night-2); border: 1px solid var(--night-line); color: var(--on-night); font-size: 14px; line-height: 1.35; }
.photo-badge .icon { color: var(--on-night); }
.checks { list-style: none; padding: 0; margin: 0 0 1.5em; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks .icon { width: 22px; height: 22px; color: var(--accent); margin-top: 2px; }
.dark .checks .icon { color: var(--on-night); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split.flip > :first-child { order: 0; } }

/* ---------- Industries ---------- */
.ind-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.ind { grid-column: span 2; position: relative; border-radius: var(--radius); overflow: hidden; min-height: 300px; display: flex; align-items: flex-end; color: #fff; text-decoration: none; isolation: isolate; }
.ind:nth-child(4), .ind:nth-child(5) { grid-column: span 3; }
.ind img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.ind::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(12, 13, 17, .92) 0%, rgba(12, 13, 17, .35) 60%, rgba(12, 13, 17, .1) 100%); opacity: .94; transition: opacity .3s var(--ease); }
.ind img[src*="industry-manufacturing"] { object-position: center top; }
.ind:hover::before { opacity: 1; }
.ind-body { padding: 24px; }
.ind-body h3 { color: #fff; margin-bottom: 6px; display: flex; gap: 10px; align-items: center; }
.ind-body h3 .icon { color: #fff; }
.ind-body p { color: #D6D3CC; font-size: 15px; margin: 0; }
@media (max-width: 900px) { .ind-grid { grid-template-columns: 1fr 1fr; } .ind, .ind:nth-child(4), .ind:nth-child(5) { grid-column: span 1; } .ind:last-child { grid-column: 1 / -1; } }
@media (max-width: 479px) { .ind-grid { grid-template-columns: 1fr; } .ind:last-child { grid-column: auto; } }
@media (max-width: 600px) { .ind { min-height: 180px; } .ind-body { padding: 16px; } }

/* ---------- Skills ---------- */
.tags { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.tags li { padding: 9px 14px; border-radius: 6px; border: 1px solid var(--line); background: var(--surface); font-size: 14px; font-weight: 500; color: var(--text); }
.dark .tags li { background: var(--night-2); border-color: var(--night-line); color: #E2DFD8; }

.skills-split { align-items: start; }
.skill-groups { display: grid; gap: 22px; }
.skill-group h3 { font: 500 13px/1 var(--sans); letter-spacing: .01em; color: var(--on-night); margin: 0 0 8px; }
.skill-group .tags li { padding: 7px 12px; font-size: 13.5px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq-layout { align-items: start; }
.side-card.sticky, .sticky-aside { position: sticky; top: calc(var(--header-h) + 24px); }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; transition: border-color .2s var(--ease); }
.faq details[open] { border-color: var(--ink); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; font: 600 17px/1.4 var(--sans); color: var(--ink); min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 20px; height: 20px; color: var(--muted); transition: transform .2s var(--ease); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq .answer { padding: 0 22px 20px; color: var(--muted); }
.faq .answer p { margin: 0; }

/* ---------- Insights ---------- */
.post-list { display: grid; }
.post-row { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 8px clamp(24px, 4vw, 48px); align-items: start; border-top: 1px solid var(--line); padding: 28px 0; }
.post-row:last-child { border-bottom: 1px solid var(--line); }
.post-row .thumb { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius-sm); background: var(--surface-2); }
.post-row .thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-row h2 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); margin: 0 0 .4em; }
.post-row h2 a { color: var(--ink); text-decoration: none; }
.post-row h2 a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.post-row p:last-child { margin: 0; color: var(--muted); max-width: 62ch; }
@media (max-width: 700px) { .post-row { grid-template-columns: 1fr; padding: 22px 0; } .post-row .thumb { aspect-ratio: 16 / 10; } }
.meta { font-size: 13px; color: var(--muted); letter-spacing: .02em; margin-bottom: 8px; }

/* ---------- CTA band (full-bleed, two columns) ---------- */
.cta-row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
.cta h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin: 0 0 .4em; max-width: 24ch; }
.cta p { margin: 0; max-width: 56ch; }
.cta-action { display: grid; gap: 14px; justify-items: start; }
.cta-call { font-size: 15px; line-height: 1.6; }
#all-skills { scroll-margin-top: calc(var(--header-h) + 16px); }
@media (max-width: 900px) { .cta-row { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- Page hero (inner) ---------- */
.page-hero { background: var(--night); color: var(--on-night-muted); position: relative; overflow: hidden; isolation: isolate; }
.page-hero .wrap { padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(48px, 7vw, 88px); }
.page-hero h1 { color: #fff; max-width: 20ch; font-size: clamp(2.1rem, 4.2vw, 3.4rem); }
.page-hero .lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); max-width: 62ch; color: #D6D3CC; }
.page-hero .split { gap: clamp(28px, 5vw, 64px); }
.page-hero:not(.light) .eyebrow { color: var(--on-night-muted); }
.page-hero.tech .eyebrow { color: #B3B3FA; }
/* light compact hero: tokens only, so dark mode follows the theme */
.page-hero.light { background: var(--surface); color: var(--ink); border-bottom: 1px solid var(--line); }
.page-hero.light .wrap { padding-top: 28px; padding-bottom: 36px; }
.page-hero.light .crumbs { margin-bottom: 14px; color: var(--muted); }
.page-hero.light .crumbs a { color: var(--ink); }
.page-hero.light h1 { color: var(--ink); font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin-bottom: 10px; max-width: 26ch; }
.page-hero.light .lead { color: var(--muted); font-size: 1.1rem; line-height: 1.5; margin-bottom: 0; max-width: 70ch; }
.page-hero.light .meta { margin: 0; font-size: 15px; }
.page-hero.light .hero-actions { margin-top: 24px; }
.page-hero.light + .section, .page-hero.light + .section-tight { padding-top: 40px; }
.page-hero .photo { aspect-ratio: 4 / 3; box-shadow: 0 30px 60px rgba(0, 0, 0, .45); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 28px; font-size: 14px; color: var(--on-night-muted); }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.crumbs a { color: #E8E5DF; text-decoration: none; display: inline-block; padding: 11px 0; margin: -11px 0; }
.crumbs a:hover { text-decoration: underline; }

/* ---------- Answer box (AI-search friendly definition) ---------- */
.answer-box { margin-top: 36px; border-left: 2px solid var(--line); padding: 4px 0 4px 20px; font-size: .98rem; line-height: 1.6; color: var(--muted); max-width: 66ch; }
.answer-box strong { display: block; font: 500 14px/1 var(--sans); letter-spacing: .01em; color: var(--muted); margin-bottom: 8px; }
.prose { max-width: 72ch; }
.prose p { font-size: 1.075rem; }
.prose .eyebrow + h2 { margin-top: 0; }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin-top: 1.6em; }
.side-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.side-card h2 { font-size: 1.35rem; }
.layout-2 { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .layout-2 { grid-template-columns: 1fr; } .side-card.sticky, .sticky-aside { position: static; } }

/* ---------- Contact ---------- */
.form { display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form .row { grid-template-columns: 1fr; } }
.field label, .field legend { display: block; font-weight: 600; font-size: 15px; color: var(--ink); margin-bottom: 8px; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font: 400 16px/1.4 var(--sans); transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--indigo); box-shadow: 0 0 0 4px rgba(49, 49, 145, .18); }
.field .err { display: none; color: #B42318; font-size: 14px; margin-top: 6px; }
@media (prefers-color-scheme: dark) { .field .err { color: #FDA29B; } }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #D92D20; }
.field.invalid .err { display: block; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.seg { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.seg label { display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--surface); cursor: pointer; font-weight: 500; margin: 0; }
.seg input { width: 18px; height: 18px; min-height: 0; accent-color: var(--brand); }
.seg label:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
@media (max-width: 520px) { .seg { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 14px; color: var(--muted); }
.alert { display: none; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 12px; font-weight: 500; }
.alert.show { display: flex; }
.alert.ok { background: #E7F6EC; color: #0B5B2A; }
.alert.bad { background: #FDECEA; color: #8A1C12; }
@media (prefers-color-scheme: dark) { .alert.ok { background: #0F2A1A; color: #8FE0AE; } .alert.bad { background: #2D1311; color: #FDA29B; } }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.contact-list li { display: flex; gap: 14px; }
.contact-list .ico { margin: 0; width: 28px; height: 28px; flex: none; }
.contact-list strong { display: block; color: var(--ink); }
.contact-list a { color: var(--ink); text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.map { display: block; border: 0; width: 100%; aspect-ratio: 16 / 10; }
.next-steps { margin-top: 40px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.next-steps h2 { font-size: 1.35rem; }
.next-steps ol { margin: 0; padding-left: 1.3em; display: grid; gap: 10px; }
.next-steps li::marker { color: var(--ink); font-weight: 500; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--night-line); background: var(--night); color: var(--on-night-muted); padding: 72px 0 28px; font-size: 15px; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.foot img { height: 44px; width: auto; margin-bottom: 18px; }
.foot .menu-title { font: 500 14px/1 var(--sans); letter-spacing: .01em; color: var(--on-night); margin: 6px 0 18px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: var(--on-night-muted); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.foot address { font-style: normal; line-height: 1.7; }
.foot-bottom { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--night-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; }
.foot-bottom p { margin: 0; }
.foot-bottom ul { display: flex; flex-wrap: wrap; gap: 20px; list-style: none; padding: 0; margin: 0; }
@media (max-width: 900px) { .foot { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot { grid-template-columns: 1fr; } }

/* ---------- Article ---------- */
.article-fig { margin: 0; padding-top: 32px; }
.article-fig .frame { aspect-ratio: 21 / 9; border-radius: var(--radius); overflow: hidden; background: var(--surface-2); }
.article-fig img { width: 100%; height: 100%; object-fit: cover; }
.article-fig figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }
.section.after-fig { padding-top: clamp(32px, 4vw, 48px); }
.article-body { max-width: 68ch; margin: 0 auto; }
.standfirst { font-family: var(--serif); font-size: 1.35rem; line-height: 1.5; color: var(--muted); margin: 0 0 1.6em; }
.more-reads { max-width: 68ch; margin: 56px auto 0; padding-top: 24px; border-top: 1px solid var(--line); }
.more-reads h2 { font-size: 1.25rem; font-family: var(--sans); font-weight: 600; margin-bottom: 8px; }
.more-reads ul { list-style: none; margin: 0; padding: 0; }
.more-reads a { display: inline-block; padding: 10px 0; font-weight: 600; }
.see-also { margin: 0; font-size: 1.05rem; }
.see-also a { display: inline-block; padding: 10px 4px; font-weight: 600; }

/* ---------- Motion ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
@media print { .site-header, .site-footer, .cta { display: none; } }

/* ---- Market numbers (2026-11-05): figures in prose, one quiet bar chart, one footnote ---- */
.market h2 { margin-bottom: 20px; }
.market .prose p { font-size: 1.05rem; line-height: 1.65; max-width: 62ch; }
.market .prose strong { color: var(--ink); font-weight: 600; }
.mkt { align-items: start; gap: 48px; }
.mkt-solo { max-width: 68ch; }
.chart { margin: 0; padding: 20px 0 0; border-top: 1px solid var(--line); }
.chart figcaption { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.bars li { display: grid; grid-template-columns: minmax(110px, 38%) 1fr auto; align-items: center; gap: 12px; font-size: 15px; }
.bar-label { color: var(--ink); }
.bar-track { height: 10px; background: var(--line); border-radius: 2px; overflow: hidden; }
.bar-fill { display: block; height: 100%; background: var(--indigo); border-radius: 2px; }
.bar-val { font-variant-numeric: tabular-nums; color: var(--muted); font-size: 14px; min-width: 4.5em; text-align: right; }
.fig-sources { margin-top: 28px; padding-top: 12px; border-top: 1px solid var(--line); }
.fig-sources p { font-size: 13px; line-height: 1.55; color: var(--muted); margin: 0; max-width: 90ch; }
.fig-sources a { color: var(--muted); }
.proof-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0 0 32px; padding: 0 0 24px; border-bottom: 1px solid var(--line); }
.proof-row div { margin: 0; }
.proof-row dt { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--ink); line-height: 1.1; font-weight: 600; }
.proof-row dd { margin: 6px 0 0; color: var(--muted); font-size: 15px; line-height: 1.45; }
.sticky-aside .proof-row { grid-template-columns: 1fr 1fr 1fr; gap: 12px; margin: 28px 0 0; padding: 20px 0; border-top: 1px solid var(--line); }
.sticky-aside .proof-row dt { font-size: 1.35rem; }
.sticky-aside .proof-row dd { font-size: 13px; }
.ind-fig { font-size: 15px; color: var(--muted); margin-top: 8px; }
.post-fig { margin: 36px 0; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.post-fig .fig-sources { margin-top: 12px; border-top: 0; padding-top: 0; }
@media (max-width: 640px) {
  .proof-row, .sticky-aside .proof-row { grid-template-columns: 1fr; gap: 14px; }
  .bars li { grid-template-columns: 1fr auto; }
  .bar-track { grid-column: 1 / -1; grid-row: 2; }
}

/* Last reviewed line, answer-first box on inner pages */
.reviewed-row { padding: 0 0 28px; }
.reviewed { margin: 0; font-size: 14px; color: var(--muted); }
.answer-box.first { margin: 0 0 40px; }
.intro { max-width: 70ch; margin: 0 0 32px; color: var(--muted); }
