/* ==========================================================================
   Watson Recruitment - site styles
   Palette: deep ink navy + champagne gold on warm paper.
   ========================================================================== */
:root {
  --ink: #0f1a2b;
  --ink-2: #172539;
  --ink-3: #22334c;
  --ink-rgb: 15 26 43;
  --ink-2-rgb: 23 37 57;
  --paper: #faf8f4;
  --paper-rgb: 250 248 244;
  --surface: #ffffff;
  --sand: #f3eee5;
  --line: #e6e0d5;
  --line-strong: #d4ccbe;
  --text: #16202f;
  --muted: #5d6676;
  --subtle: #8a92a0;
  --accent: #b48a4e;
  --accent-600: #96713c;
  --accent-300: #d9bf96;
  --accent-100: #f5ede0;
  --accent-rgb: 180 138 78;
  --accent-300-rgb: 217 191 150;
  --highlight: #f5ede0;
  --on-accent: #fff;
  --accent-hover: var(--accent-600);
  --wa: #1fa855;
  --success: #2e7d5b;
  --danger: #b4423a;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgb(var(--ink-rgb) / 0.06);
  --shadow: 0 1px 2px rgb(var(--ink-rgb) / 0.05), 0 10px 30px -12px rgb(var(--ink-rgb) / 0.14);
  --shadow-lg: 0 30px 60px -24px rgb(var(--ink-rgb) / 0.35);
  --container: 1200px;
  --gutter: 24px;
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', 'PingFang HK', 'Microsoft JhengHei', sans-serif;
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-brand: 'Josefin Sans', var(--font-sans);
  --display-weight: 500;
  --display-tracking: -0.015em;
  --btn-radius: 999px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0 0 0.5em; line-height: 1.15; color: var(--ink); text-wrap: balance; }
h1, h2 { font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: var(--display-tracking); }
h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.45rem); }
h3 { font-size: 1.12rem; font-weight: 600; letter-spacing: -0.005em; }
h1 em, h2 em { font-style: italic; color: var(--accent); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.icon { width: 1.2em; height: 1.2em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.muted { color: var(--muted); }
.fine { font-size: 0.8rem; color: var(--subtle); display: flex; gap: 6px; align-items: flex-start; margin: 12px 0 0; }
.fine .icon { width: 1em; height: 1em; margin-top: 3px; }
.fine a, .consent a, .prose a { color: var(--accent-600); text-decoration: underline; text-underline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.eyebrow {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-600);
  margin: 0 0 14px;
}
.eyebrow-gold { color: var(--accent-300); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px;
  border: 1px solid transparent; border-radius: var(--btn-radius);
  font-weight: 600; font-size: 0.95rem; line-height: 1; white-space: nowrap;
  cursor: pointer; transition: background-color .18s, color .18s, border-color .18s, transform .18s, box-shadow .18s;
}
.btn:active { transform: translateY(1px); }
.btn .icon { width: 1.1em; height: 1.1em; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 0.88rem; }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-gold { background: var(--accent); color: var(--on-accent); box-shadow: 0 8px 20px -10px rgb(var(--accent-rgb) / 0.9); }
.btn-gold:hover { background: var(--accent-hover); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); }
.btn-outline { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-outline:hover { border-color: var(--ink); }
.btn-outline-light { border-color: rgba(255, 255, 255, 0.3); color: #fff; }
.btn-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, 0.06); }
.btn-ghost { color: var(--ink); background: transparent; }
.btn-ghost:hover { background: rgb(var(--ink-rgb) / 0.05); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #188a46; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--ink); }
.link-arrow .icon { transition: transform .18s; width: 1em; height: 1em; }
.link-arrow:hover .icon { transform: translateX(3px); }
.link-muted { color: var(--muted); font-size: 0.9rem; }
.link-muted:hover { color: var(--ink); }

/* ---------- Top bar + header ---------- */
.topbar { background: var(--ink); color: rgba(255, 255, 255, 0.72); font-size: 0.8rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 16px; }
.topbar-links { display: flex; gap: 22px; }
.topbar a { display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: #fff; }
.topbar .icon { width: 1em; height: 1em; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgb(var(--paper-rgb) / 0.92); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.brand { display: inline-flex; color: #000; }
/* Official logo: W monogram above the one-line company name */
.logo { --logo-h: 40px; display: inline-flex; flex-direction: column; align-items: center; gap: calc(var(--logo-h) * 0.17); }
.logo-mark { height: var(--logo-h); width: auto; aspect-ratio: 126 / 109; overflow: visible; }
.logo-thin { stroke-width: 1px; vector-effect: non-scaling-stroke; }
.logo-text { font-family: var(--font-brand); font-weight: 400; font-size: calc(var(--logo-h) * 0.285); letter-spacing: 0.2em; margin-right: -0.2em; text-transform: uppercase; line-height: 1; white-space: nowrap; }
.brand-light { color: #fff; }
.footer-brand .logo, .login-card .logo { --logo-h: 62px; }
.footer-brand .logo-text, .login-card .logo-text { font-weight: 300; }
.main-nav { display: flex; gap: 4px; margin-left: auto; }
.main-nav a { white-space: nowrap; padding: 8px 14px; border-radius: 999px; font-weight: 500; font-size: 0.94rem; color: var(--ink-3); transition: background-color .15s, color .15s; }
.main-nav a:hover { background: rgb(var(--ink-rgb) / 0.05); color: var(--ink); }
.main-nav a.is-active { color: var(--ink); background: var(--accent-100); }
.header-cta { display: flex; align-items: center; gap: 8px; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface); align-items: center; justify-content: center; cursor: pointer; }
.menu-toggle .icon { width: 22px; height: 22px; }
.mobile-menu { border-top: 1px solid var(--line); background: var(--paper); padding: 20px 0 28px; max-height: calc(100vh - 76px); overflow-y: auto; }
.mobile-split { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.mobile-card { display: flex; flex-direction: column; gap: 4px; padding: 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.mobile-card .eyebrow { margin: 0 0 4px; font-size: 0.66rem; }
.mobile-card strong { font-family: var(--font-display); font-size: 1.2rem; font-weight: 500; line-height: 1.2; }
.mobile-card span:last-child { font-size: 0.82rem; color: var(--muted); }
.mobile-card.is-dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.mobile-card.is-dark .eyebrow { color: var(--accent-300); }
.mobile-card.is-dark span:last-child { color: rgba(255, 255, 255, 0.65); }
.mobile-links a { display: flex; align-items: center; justify-content: space-between; padding: 15px 4px; border-bottom: 1px solid var(--line); font-weight: 500; font-size: 1.05rem; }
.mobile-links .icon { color: var(--accent); }
.mobile-contact { display: grid; gap: 10px; margin-top: 20px; }

/* ---------- Home hero ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 500px at 85% -10%, rgb(var(--accent-rgb) / 0.22), transparent 60%), linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%); color: #fff; padding: 84px 0 150px; }
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero h1 em { color: var(--accent-300); }
.hero-skyline { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 200px; pointer-events: none; opacity: .75; }
.hero-skyline path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.sk-hill { stroke: rgb(var(--accent-300-rgb) / 0.16); stroke-width: 1.4; }
.sk-build path { stroke: rgb(var(--accent-300-rgb) / 0.32); stroke-width: 1.3; }
.sk-water { stroke: rgb(var(--accent-300-rgb) / 0.14); stroke-width: 1.2; stroke-dasharray: 2 7; }
.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero-lead { font-size: 1.14rem; color: rgba(255, 255, 255, 0.76); max-width: 560px; margin-bottom: 30px; }
.hero-search, .search-bar { display: flex; gap: 8px; padding: 8px; background: var(--surface); border-radius: 999px; box-shadow: var(--shadow-lg); max-width: 640px; }
.hs-field { flex: 1 1 auto; display: flex; align-items: center; gap: 10px; padding: 0 16px; min-width: 0; color: var(--muted); }
.hs-field + .hs-field { border-left: 1px solid var(--line); }
.hs-field input, .hs-field select { flex: 1; min-width: 0; height: 48px; border: 0; background: transparent; color: var(--text); outline: none; font-size: 0.97rem; }
.hs-field select { cursor: pointer; appearance: none; -webkit-appearance: none; padding-right: 10px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235d6676' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right center / 16px; }
.hs-select { flex: 0 1 220px; }
.hero-search .btn, .search-bar .btn { flex: none; }
.hero-popular { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 18px 0 0; font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); }
.hero-popular a { padding: 5px 12px; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 999px; color: rgba(255, 255, 255, 0.86); transition: border-color .15s, background-color .15s; }
.hero-popular a:hover { border-color: var(--accent-300); background: rgba(255, 255, 255, 0.05); }
.hero-paths { display: grid; gap: 16px; }
.path-card { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 26px 28px; border-radius: 20px; background: rgb(var(--ink-2-rgb) / 0.92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, 0.12); color: #fff; transition: transform .2s, border-color .2s, background-color .2s; }
.path-card:hover { transform: translateY(-3px); border-color: rgb(var(--accent-300-rgb) / 0.6); }
.path-card .eyebrow { margin: 6px 0 0; color: var(--accent-300); }
.path-card strong { font-family: var(--font-display); font-weight: 500; font-size: 1.55rem; line-height: 1.2; }
.path-text { color: rgba(255, 255, 255, 0.7); font-size: 0.93rem; }
.path-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-weight: 600; color: var(--accent-300); }
.path-icon { position: absolute; top: 24px; right: 24px; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.08); }
.path-card--light { background: var(--paper); color: var(--ink); border-color: transparent; box-shadow: var(--shadow-lg); }
.path-card--light .eyebrow { color: var(--accent-600); }
.path-card--light .path-text { color: var(--muted); }
.path-card--light .path-link { color: var(--ink); }
.path-card--light .path-icon { background: var(--accent-100); color: var(--accent-600); }

/* ---------- Stats ---------- */
.stats-band { position: relative; margin-top: -54px; z-index: 2; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--surface); border-radius: 20px; box-shadow: var(--shadow); border: 1px solid var(--line); padding: 0; }
.stat { padding: 26px 28px; display: flex; flex-direction: column; gap: 2px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat-value { font-family: var(--font-display); font-size: 2.2rem; font-weight: 500; color: var(--ink); line-height: 1.1; }
.stat-label { font-size: 0.86rem; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.section-sand { background: var(--sand); }
.section-ink { background: var(--ink); color: #fff; }
.section-ink h2, .section-ink h3 { color: #fff; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 44px; }
.section-head h2 { margin: 0; max-width: 640px; }
.section-head--center { flex-direction: column; align-items: center; text-align: center; gap: 0; }
.section-intro { color: var(--muted); font-size: 1.05rem; max-width: 460px; margin: 0; }

/* Sectors */
.sector-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.sector-card { display: flex; flex-direction: column; padding: 26px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .2s, box-shadow .2s, border-color .2s; }
.sector-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.sector-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-100); color: var(--accent-600); margin-bottom: 20px; }
.sector-icon .icon { width: 26px; height: 26px; }
.sector-card h3 { font-size: 1.22rem; }
.sector-card p { color: var(--muted); font-size: 0.92rem; flex: 1; }
.chip-list { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 4px 0 20px; }
.chip-list a { display: inline-block; font-size: 0.78rem; padding: 4px 10px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--ink-3); }
.chip-list a:hover { border-color: var(--accent); }
.sector-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding-top: 16px; border-top: 1px solid var(--line); }
.sector-actions .link-arrow { white-space: nowrap; }

/* Job cards */
.job-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.job-card { position: relative; display: flex; flex-direction: column; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .2s, box-shadow .2s, border-color .2s; }
.job-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.job-card.is-featured { border-color: var(--accent-300); }
.job-card-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px; }
.job-card-age { margin-left: auto; font-size: 0.78rem; color: var(--subtle); white-space: nowrap; }
.tag { display: inline-flex; align-items: center; gap: 6px; font-size: 0.75rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--ink-3); white-space: nowrap; }
.tag .icon { width: 13px; height: 13px; color: var(--accent-600); }
.tag-featured { background: var(--accent-100); border-color: transparent; color: var(--accent-600); }
.tag-urgent { background: var(--danger); border-color: transparent; color: #fff; text-transform: uppercase; letter-spacing: 0.05em; }
.tag-talent { background: var(--accent-100); border-color: transparent; color: var(--accent-600); }
.talent-block { margin-top: 36px; }
.talent-block h2 { font-size: 1.5rem; margin-bottom: 4px; }
.talent-block .job-list { margin-top: 16px; }
.tag-light { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.16); color: #fff; }
.tag-light .icon { color: var(--accent-300); }
.job-card-title { font-size: 1.15rem; margin: 0 0 4px; }
.job-card-title a::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.job-card-client { color: var(--muted); font-size: 0.9rem; margin: 0 0 14px; }
.job-card-summary { color: var(--ink-3); font-size: 0.93rem; margin: -4px 0 14px; }
.job-meta { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 0; margin: auto 0 0; font-size: 0.85rem; color: var(--muted); }
.job-meta li { display: inline-flex; align-items: center; gap: 6px; }
.job-meta .icon { width: 15px; height: 15px; color: var(--subtle); }
.job-meta-salary { color: var(--ink); font-weight: 600; }
.job-card-link { display: none; }
.job-card--row { padding: 24px 28px; }
.job-card--row .job-card-title { font-size: 1.25rem; }
.job-card--row .job-card-link { display: inline-flex; align-items: center; gap: 6px; position: absolute; right: 28px; bottom: 24px; font-size: 0.88rem; font-weight: 600; color: var(--accent-600); }
.job-card--row .job-card-link .icon { width: 1em; height: 1em; }

.cv-strip { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 32px; padding: 24px 28px; border-radius: var(--radius); background: var(--surface); border: 1px dashed var(--line-strong); }
.cv-strip div { display: flex; flex-direction: column; gap: 2px; }
.cv-strip strong { font-size: 1.05rem; color: var(--ink); }
.cv-strip span { color: var(--muted); font-size: 0.93rem; }
.cv-strip--compact { margin-top: 28px; }

/* About / pillars / process */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.about-copy .section-intro { max-width: 560px; margin-bottom: 32px; }
.pillars { list-style: none; padding: 0; margin: 0; display: grid; gap: 26px; }
.pillars li, .benefit-list li { display: flex; gap: 18px; }
.pillars h3 { margin-bottom: 4px; }
.pillars p, .benefit-list p { color: var(--muted); margin: 0; font-size: 0.95rem; }
.pillar-icon { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--ink); color: var(--accent-300); }
.pillar-icon .icon { width: 22px; height: 22px; }
.process-card { position: sticky; top: 100px; padding: 36px; border-radius: 22px; background: var(--ink); color: #fff; box-shadow: var(--shadow-lg); }
.process { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 4px; }
.process li { display: flex; gap: 18px; padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.process li:last-child { border-bottom: 0; }
.process span { font-family: var(--font-display); color: var(--accent-300); font-size: 1.05rem; min-width: 28px; }
.process strong { display: block; font-size: 1.02rem; margin-bottom: 2px; }
.process p { margin: 0; color: rgba(255, 255, 255, 0.65); font-size: 0.9rem; }
.process--light { margin-top: 28px; }
.process--light li { border-bottom-color: var(--line-strong); }
.process--light span { color: var(--accent-600); }
.process--light p { color: var(--muted); }

/* Services */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card { display: flex; flex-direction: column; gap: 6px; padding: 30px 26px; border-radius: var(--radius); border: 1px solid rgba(255, 255, 255, 0.12); background: rgba(255, 255, 255, 0.03); transition: border-color .2s, background-color .2s, transform .2s; }
a.service-card:hover { border-color: var(--accent-300); background: rgba(255, 255, 255, 0.06); transform: translateY(-3px); }
.service-card > .icon { width: 30px; height: 30px; color: var(--accent-300); margin-bottom: 14px; stroke-width: 1.3; }
.service-card p { color: rgba(255, 255, 255, 0.68); font-size: 0.93rem; flex: 1; }
.service-card .link-arrow { color: var(--accent-300); font-size: 0.92rem; }
.service-grid--light .service-card { background: var(--surface); border-color: var(--line); }
.service-grid--light .service-card > .icon { color: var(--accent-600); }
.service-grid--light .service-card p { color: var(--muted); }

/* Testimonials */
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote-card { margin: 0; display: flex; flex-direction: column; padding: 32px 30px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.quote-mark { width: 34px; height: 34px; color: var(--accent-300); margin-bottom: 16px; }
.quote-card blockquote { margin: 0 0 24px; font-family: var(--font-display); font-size: 1.12rem; line-height: 1.55; color: var(--ink); flex: 1; }
.quote-card figcaption { display: flex; flex-direction: column; padding-top: 18px; border-top: 1px solid var(--line); font-size: 0.9rem; }
.quote-card figcaption span { color: var(--muted); }

/* Split CTA */
.split-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.split-card { display: flex; flex-direction: column; align-items: flex-start; padding: 44px; border-radius: 24px; background: var(--accent-100); transition: transform .2s; }
.split-card:hover { transform: translateY(-3px); }
.split-card h2 { margin-bottom: 10px; }
.split-card p { color: var(--muted); max-width: 420px; margin-bottom: 26px; }
.split-card--dark { background: var(--ink); color: #fff; }
.split-card--dark h2 { color: #fff; }
.split-card--dark p { color: rgba(255, 255, 255, 0.7); }

/* Job alerts */
.alert-band { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.alert-band .section-intro { max-width: 520px; }
.alert-form { display: grid; gap: 10px; padding: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.alert-form-head { display: flex; gap: 14px; align-items: center; margin-bottom: 6px; }
.alert-form-head h3 { margin: 0; }
.alert-form-head p { margin: 0; color: var(--muted); font-size: 0.87rem; }
.icon-badge { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-100); color: var(--accent-600); }
.alert-form .fine { margin-top: 4px; display: block; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.span-2 { grid-column: span 2; }
.field label, fieldset legend { font-size: 0.86rem; font-weight: 600; color: var(--ink-3); }
.req { color: var(--danger); font-style: normal; }
:where(input:not([type=checkbox]):not([type=radio]):not([type=file]), select, textarea) {
  width: 100%; min-height: 48px; padding: 11px 14px;
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--surface);
  font-size: 16px; transition: border-color .15s, box-shadow .15s;
}
textarea { resize: vertical; min-height: 96px; }
:where(select) { appearance: none; -webkit-appearance: none; padding-right: 40px; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235d6676' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 16px; cursor: pointer; }
:where(input, select, textarea):focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgb(var(--accent-rgb) / 0.16); }
.hs-field input:focus, .hs-field select:focus { box-shadow: none; }
.has-error input, .has-error select, .has-error textarea, .has-error .file-drop { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: 0.82rem; margin: 0; }
.file-drop { position: relative; display: flex; align-items: center; gap: 12px; padding: 16px; border: 1.5px dashed var(--line-strong); border-radius: var(--radius-sm); background: var(--paper); cursor: pointer; color: var(--muted); font-size: 0.92rem; font-weight: 400 !important; transition: border-color .15s, background-color .15s; }
.file-drop:hover, .file-drop.is-dragover { border-color: var(--accent); background: var(--accent-100); }
.file-drop.has-file { border-style: solid; border-color: var(--success); color: var(--ink); }
.file-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.file-drop .icon { width: 24px; height: 24px; color: var(--accent-600); }
.file-drop strong { color: var(--ink); }
.consent { display: grid; gap: 10px; margin: 18px 0 20px; }
.check, .radio { display: flex; gap: 10px; align-items: flex-start; font-size: 0.86rem; color: var(--muted); cursor: pointer; }
.check input, .radio input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent); cursor: pointer; }
.notice { padding: 12px 16px; border-radius: var(--radius-sm); background: var(--accent-100); color: var(--ink); font-size: 0.92rem; margin-bottom: 16px; }
.notice a { text-decoration: underline; }
.notice-error { background: #fbeceb; color: var(--danger); }
.notice-warn { background: #fff4d6; }
.notice-success { background: #e6f3ec; color: var(--success); }

/* ---------- Inner page hero ---------- */
.page-hero { background: linear-gradient(180deg, var(--sand), var(--paper)); padding: 44px 0 40px; border-bottom: 1px solid var(--line); }
.page-hero--compact { padding-bottom: 36px; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 10px; }
.page-lead { font-size: 1.08rem; color: var(--muted); max-width: 680px; }
.page-hero .search-bar { margin-top: 26px; box-shadow: var(--shadow); border: 1px solid var(--line); max-width: 760px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.84rem; color: var(--subtle); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--ink); text-decoration: underline; }
.breadcrumb span[aria-current] { color: var(--ink-3); }
.breadcrumb-light { color: rgba(255, 255, 255, 0.5); }
.breadcrumb-light span[aria-current] { color: rgba(255, 255, 255, 0.8); }
.breadcrumb-light a:hover { color: #fff; }
.sector-pills { display: flex; gap: 8px; margin-top: 22px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.sector-pills::-webkit-scrollbar { display: none; }
.pill { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); font-size: 0.88rem; font-weight: 500; transition: border-color .15s, background-color .15s, color .15s; }
.pill span { font-size: 0.76rem; color: var(--subtle); }
.pill:hover { border-color: var(--ink); }
.pill.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.pill.is-active span { color: var(--accent-300); }

/* Role pages (/jobs/role/...) and the links that lead to them */
.role-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px; padding: 0; margin: 22px 0 0; color: var(--ink-3); font-size: 0.95rem; }
.role-facts li { display: inline-flex; align-items: center; gap: 8px; }
.role-facts .icon { width: 18px; height: 18px; color: var(--accent-600); }
.role-facts strong { color: var(--ink); }
.role-layout > * { max-width: 920px; }
.role-related { margin-top: 36px; }
.role-related h2, .popular-roles h2 { font-size: 1.15rem; margin-bottom: 0; }
.sector-pills--wrap { flex-wrap: wrap; overflow: visible; margin-top: 14px; }
.popular-roles { margin-top: 32px; }
.role-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; }

/* ---------- Jobs search ---------- */
.jobs-layout { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 36px; align-items: start; }
.filters { position: sticky; top: 96px; display: grid; gap: 20px; }
.filter-form { padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.filters-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.filters-head h2 { font-family: var(--font-sans); font-size: 1.05rem; font-weight: 600; margin: 0; }
.filters .filters-close { display: none; }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; }
fieldset { border: 0; padding: 16px 0; margin: 0; border-bottom: 1px solid var(--line); display: grid; gap: 8px; }
fieldset legend { padding: 0; margin-bottom: 8px; float: left; width: 100%; }
fieldset legend + * { clear: both; }
.radio { color: var(--ink-3); font-size: 0.92rem; align-items: center; }
.radio input { margin: 0; }
.radio em { margin-left: auto; font-style: normal; font-size: 0.78rem; color: var(--subtle); }
.filter-actions { display: grid; gap: 8px; padding-top: 18px; }
.results-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 16px; }
.results-count { margin: 0; color: var(--muted); }
.results-count strong { color: var(--ink); }
.results-tools { display: flex; gap: 10px; align-items: center; }
.sort-form { display: flex; align-items: center; gap: 8px; font-size: 0.88rem; color: var(--muted); }
.sort-form select { min-height: 40px; padding: 6px 36px 6px 14px; border-radius: 999px; width: auto; font-size: 0.9rem; }
.filters-open { display: none; }
.badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: 0.72rem; }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.chip-remove { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px 6px 14px; border-radius: 999px; background: var(--accent-100); font-size: 0.84rem; font-weight: 500; }
.chip-remove .icon { width: 14px; height: 14px; }
.chip-remove:hover { background: color-mix(in srgb, var(--accent-100) 75%, var(--accent)); }
.job-list { display: grid; gap: 14px; }
.pagination { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 28px; }
.pagination a { min-width: 42px; height: 42px; padding: 0 14px; display: grid; place-items: center; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-weight: 500; font-size: 0.92rem; }
.pagination a:hover { border-color: var(--ink); }
.pagination a.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.empty-state { text-align: center; padding: 56px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.empty-state > .icon { width: 40px; height: 40px; margin: 0 auto 16px; color: var(--accent); }
.empty-state h2 { font-size: 1.5rem; }
.empty-state p { color: var(--muted); max-width: 440px; margin: 0 auto 22px; }
.empty-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.filters-backdrop { position: fixed; inset: 0; background: rgb(var(--ink-rgb) / 0.45); z-index: 60; }

/* ---------- Job detail ---------- */
.job-hero { background: radial-gradient(900px 400px at 90% -20%, rgb(var(--accent-rgb) / 0.2), transparent 60%), var(--ink); color: #fff; padding: 40px 0 48px; }
.job-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); margin: 16px 0 10px; }
.job-hero .notice { margin-bottom: 20px; }
.job-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; }
.job-client { display: flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, 0.75); font-size: 1.02rem; margin-bottom: 26px; }
.job-client .icon { color: var(--accent-300); }
.job-facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.job-facts li { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-radius: 14px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); }
.job-facts .icon { color: var(--accent-300); }
.job-facts span { display: flex; flex-direction: column; font-weight: 600; font-size: 0.94rem; line-height: 1.3; }
.job-facts small { font-weight: 400; font-size: 0.74rem; color: rgba(255, 255, 255, 0.55); text-transform: uppercase; letter-spacing: 0.08em; }
.job-hero-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 16px; }
.share { display: flex; align-items: center; gap: 6px; color: rgba(255, 255, 255, 0.6); font-size: 0.85rem; }
.share span { margin-right: 4px; }
.share a, .share button { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.18); background: transparent; color: #fff; cursor: pointer; transition: border-color .15s, background-color .15s; }
.share a:hover, .share button:hover { border-color: var(--accent-300); background: rgba(255, 255, 255, 0.06); }
.share .icon { width: 17px; height: 17px; }
.share button.is-copied { border-color: var(--success); background: var(--success); }
.job-ref { margin: 0; font-size: 0.8rem; color: rgba(255, 255, 255, 0.5); letter-spacing: 0.04em; }
.job-layout { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 48px; align-items: start; }
.job-body { font-size: 1.02rem; }
.job-body h2 { font-size: 1.5rem; margin: 36px 0 14px; }
.job-body p { color: var(--ink-3); }
.job-summary { font-family: var(--font-display); font-size: 1.3rem !important; line-height: 1.5; color: var(--ink) !important; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; color: var(--ink-3); }
.check-list .icon { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--accent-100); color: var(--accent-600); stroke-width: 2.4; margin-top: 2px; }
.consultant-card { display: flex; gap: 18px; margin-top: 40px; padding: 24px; border-radius: var(--radius); background: var(--sand); }
.consultant-avatar { flex: none; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; }
.consultant-avatar .logo-mark { height: 24px; }
.consultant-card p { font-size: 0.92rem; margin: 4px 0 10px; color: var(--muted); }
.job-aside { position: sticky; top: 96px; }
.apply-card, .enquiry-card, .form-card { padding: 30px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
.apply-card h2, .enquiry-card h2, .form-card h2 { font-size: 1.55rem; margin-bottom: 6px; }
.apply-card > .muted, .enquiry-card > .muted { font-size: 0.9rem; margin-bottom: 20px; }
.sticky-apply { display: none; }

/* ---------- Employers ---------- */
.emp-hero { background: radial-gradient(1000px 500px at 0% 0%, rgb(var(--accent-rgb) / 0.2), transparent 60%), var(--ink); color: #fff; padding: 44px 0 88px; }
.emp-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 500px; gap: 56px; align-items: start; }
.emp-hero-copy { padding-top: 12px; }
.emp-hero h1 { color: #fff; }
.emp-hero h1 em { color: var(--accent-300); }
.tick-list { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 14px; }
.tick-list li { display: flex; gap: 12px; color: rgba(255, 255, 255, 0.85); }
.tick-list .icon { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: rgb(var(--accent-300-rgb) / 0.16); color: var(--accent-300); stroke-width: 2.4; flex: none; }
.emp-contact { display: flex; gap: 12px; flex-wrap: wrap; }
.enquiry-card { color: var(--text); box-shadow: var(--shadow-lg); border: 0; }
.sector-stack { display: grid; gap: 12px; }
.sector-row { display: flex; align-items: center; gap: 16px; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .15s, transform .15s; }
.sector-row:hover { border-color: var(--accent); transform: translateX(3px); }
.sector-row .sector-icon { margin: 0; width: 46px; height: 46px; }
.sector-row > span:nth-child(2) { display: flex; flex-direction: column; flex: 1; }
.sector-row small { color: var(--muted); font-size: 0.86rem; }
.sector-row > .icon { color: var(--accent-600); }
.faq-wrap { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; cursor: pointer; font-weight: 600; font-size: 1.05rem; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.5rem; font-weight: 300; color: var(--accent-600); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin: 0 0 20px; }

/* ---------- Submit CV ---------- */
.form-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: start; }
.benefits-card { position: sticky; top: 96px; padding: 30px; background: var(--ink); color: #fff; border-radius: 20px; }
.benefits-card h2 { color: #fff; font-size: 1.5rem; }
.benefit-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 20px; }
.benefit-list .pillar-icon { background: rgba(255, 255, 255, 0.08); }
.benefit-list p { color: rgba(255, 255, 255, 0.65); font-size: 0.9rem; }
.benefits-contact { margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.benefits-contact p { color: rgba(255, 255, 255, 0.7); font-size: 0.9rem; margin-bottom: 10px; }

/* ---------- Thanks / prose ---------- */
.thanks-inner { text-align: center; max-width: 680px; margin-bottom: 64px; }
.thanks-inner .page-lead { margin: 0 auto 28px; }
.thanks-icon { width: 72px; height: 72px; margin: 0 auto 24px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-100); color: var(--accent-600); }
.thanks-icon .icon { width: 34px; height: 34px; stroke-width: 2; }
.thanks-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.thanks-sub { font-size: 1.6rem; margin-bottom: 24px; }
.prose { max-width: 780px; }
.prose h2 { font-size: 1.45rem; margin: 36px 0 12px; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 8px; color: var(--ink-3); }
.prose p { color: var(--ink-3); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, 0.68); padding: 72px 0 28px; }
.footer-cta { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding-bottom: 48px; margin-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.footer-cta-title { color: #fff; margin: 0; max-width: 560px; }
/* The logo inside the footer call-to-action only shows in themes that turn it on (Marigold) */
.footer-cta-main { display: flex; align-items: center; gap: 32px; }
.footer-cta-logo, .footer-cta-divider { display: none; }
.footer-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 36px; }
.footer-brand p { font-size: 0.9rem; margin: 20px 0; max-width: 340px; }
.site-footer h3 { color: #fff; font-family: var(--font-sans); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 0.92rem; }
.site-footer a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; overflow-wrap: anywhere; }
.footer-contact .icon { width: 16px; height: 16px; margin-top: 4px; color: var(--accent-300); }
.social { display: flex; gap: 8px; }
.social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.16); transition: border-color .15s, color .15s; }
.social a:hover { border-color: var(--accent-300); color: var(--accent-300); }
.social .icon { width: 18px; height: 18px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.82rem; color: rgba(255, 255, 255, 0.5); }

.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: inline-flex; align-items: center; gap: 8px; height: 52px; padding: 0 20px 0 16px; border-radius: 999px; background: var(--wa); color: #fff; font-weight: 600; font-size: 0.92rem; box-shadow: 0 12px 28px -8px rgba(31, 168, 85, 0.6); transition: transform .2s; }
.wa-float:hover { transform: translateY(-2px); }
.wa-float .icon { width: 24px; height: 24px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1240px) {
  .sector-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .header-cta .btn-ghost { display: none; }
  .main-nav a { padding: 8px 10px; }
}

@media (max-width: 1080px) {
  .main-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-cta { margin-left: auto; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-paths { grid-template-columns: 1fr 1fr; }
  .sector-grid, .service-grid { grid-template-columns: repeat(2, 1fr); }
  .job-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-grid, .emp-hero-grid, .faq-wrap { grid-template-columns: 1fr; gap: 40px; }
  .process-card { position: static; }
  .job-layout { grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-brand { grid-column: span 2; }
  .form-layout { grid-template-columns: 1fr; }
  .benefits-card { position: static; }
  .emp-hero-grid > .enquiry-card { max-width: 640px; }
}

@media (max-width: 860px) {
  :root { --gutter: 20px; }
  .section { padding: 72px 0; }
  .section-tight { padding: 48px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 32px; }
  .section-head--center { align-items: center; }
  .hide-md { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .quote-grid { grid-template-columns: 1fr; }
  .split-cta, .alert-band { grid-template-columns: 1fr; }
  .alert-band { gap: 24px; }
  .jobs-layout { grid-template-columns: 1fr; }
  .filters { position: fixed; z-index: 70; inset: 0 0 0 auto; width: min(380px, 92vw); padding: 0; overflow-y: auto; background: var(--paper); transform: translateX(100%); transition: transform .25s ease; display: block; }
  .filters.is-open { transform: none; box-shadow: var(--shadow-lg); }
  .filters .filter-form { border: 0; border-radius: 0; min-height: 100%; }
  .filters .alert-form { display: none; }
  .filters .filters-close { display: grid; }
  .filters-open { display: inline-flex; }
  .job-hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .job-hero-actions { align-items: flex-start; flex-direction: row; flex-wrap: wrap; align-items: center; }
  .job-layout { grid-template-columns: 1fr; }
  .job-aside { position: static; }
  .sticky-apply { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(10px); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -12px rgb(var(--ink-rgb) / 0.2); transform: translateY(110%); transition: transform .25s; }
  .sticky-apply.is-visible { transform: none; }
  .sticky-apply div { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
  .sticky-apply strong { font-size: 0.92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .sticky-apply span { font-size: 0.8rem; color: var(--muted); }
  .page-job .wa-float { display: none; }
  .footer-cta { flex-direction: column; align-items: flex-start; }
  .topbar-note { display: none; }
  .topbar-inner { justify-content: center; }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .topbar { display: none; }
  .header-inner { min-height: 66px; gap: 12px; }
  .site-header .logo { --logo-h: 34px; }
  .header-cta .btn-gold { padding: 0 14px; }
  .mobile-menu { max-height: calc(100vh - 66px); }
  .hero { padding: 48px 0 120px; }
  .hero-lead { font-size: 1.02rem; }
  .hero-search, .search-bar { flex-direction: column; border-radius: 20px; padding: 8px; }
  .hs-field { padding: 0 12px; }
  .hs-field + .hs-field { border-left: 0; border-top: 1px solid var(--line); }
  .hs-select { flex: 1 1 auto; }
  .hero-search .btn, .search-bar .btn { width: 100%; border-radius: 14px; }
  .hero-paths { grid-template-columns: 1fr; }
  .path-card { padding: 22px; }
  .path-card strong { font-size: 1.35rem; }
  .stats-band { margin-top: -44px; }
  .stat { padding: 18px 20px; }
  .stat-value { font-size: 1.75rem; }
  .sector-grid, .service-grid, .job-grid { grid-template-columns: minmax(0, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  .cv-strip { flex-direction: column; align-items: flex-start; padding: 22px; }
  .split-card { padding: 30px 24px; }
  .job-card, .job-card--row { padding: 20px; }
  .job-card--row .job-card-link { display: none; }
  .results-bar { flex-wrap: wrap; }
  .sort-form label { display: none; }
  .apply-card, .enquiry-card, .form-card { padding: 22px 18px; border-radius: 18px; }
  .job-facts li { flex: 1 1 calc(50% - 6px); padding: 10px 14px; }
  .emp-hero { padding: 32px 0 56px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; margin-top: 40px; }
  .wa-float { right: 14px; bottom: 14px; width: 56px; height: 56px; padding: 0; justify-content: center; }
  .wa-float span { display: none; }
}

@media (max-width: 359px) {
  .header-cta .btn-gold { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   Admin
   ========================================================================== */
.admin-body { background: #f4f2ee; }
.admin-shell { display: grid; grid-template-columns: 240px minmax(0, 1fr); min-height: 100vh; }
.admin-side { background: var(--ink); color: rgba(255, 255, 255, 0.75); padding: 24px 16px; display: flex; flex-direction: column; gap: 24px; position: sticky; top: 0; height: 100vh; }
.admin-side .brand { padding: 0 8px; }
.admin-nav { display: grid; gap: 2px; }
.admin-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; font-size: 0.92rem; }
.admin-nav a:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }
.admin-nav a.is-active { background: rgb(var(--accent-300-rgb) / 0.16); color: #fff; }
.admin-nav .icon { width: 18px; height: 18px; }
.admin-nav .badge { margin-left: auto; }
.admin-nav-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.14em; color: rgba(255, 255, 255, 0.4); padding: 14px 12px 6px; }
.admin-side-foot { margin-top: auto; display: grid; gap: 8px; }
.admin-side-foot a, .admin-side-foot button { display: flex; align-items: center; gap: 8px; padding: 8px 12px; font-size: 0.86rem; color: rgba(255, 255, 255, 0.6); background: none; border: 0; cursor: pointer; text-align: left; border-radius: 8px; width: 100%; }
.admin-side-foot a:hover, .admin-side-foot button:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.admin-main { padding: 32px 36px 64px; min-width: 0; }
.admin-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.admin-top h1 { font-size: 1.9rem; margin: 0; }
.admin-top-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.kpi { padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; display: block; }
a.kpi:hover { border-color: var(--accent); }
.kpi small { display: block; color: var(--muted); font-size: 0.82rem; }
.kpi strong { display: block; font-family: var(--font-display); font-size: 2rem; font-weight: 500; color: var(--ink); line-height: 1.2; }
.kpi span { font-size: 0.78rem; color: var(--subtle); }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 24px; overflow: hidden; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.panel-head h2 { font-family: var(--font-sans); font-size: 1rem; font-weight: 600; margin: 0; }
.panel-body { padding: 20px; }
.panel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.auto-panel { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; padding: 22px; background: linear-gradient(120deg, var(--ink), var(--ink-3)); color: #fff; border-radius: 14px; margin-bottom: 24px; }
.auto-panel h2 { color: #fff; font-family: var(--font-sans); font-size: 1.05rem; font-weight: 600; margin: 0 0 4px; }
.auto-panel p { margin: 0; color: rgba(255, 255, 255, 0.7); font-size: 0.9rem; }
.auto-ring { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-size: 1.3rem; background: conic-gradient(var(--accent-300) calc(var(--p) * 1%), rgba(255, 255, 255, 0.12) 0); position: relative; }
.auto-ring::before { content: ''; position: absolute; inset: 6px; border-radius: 50%; background: var(--ink-2); }
.auto-ring span { position: relative; }
.table-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
table.data th { text-align: left; font-weight: 600; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); padding: 10px 14px; border-bottom: 1px solid var(--line); background: #fbfaf7; white-space: nowrap; }
table.data td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data tr:last-child td { border-bottom: 0; }
table.data td strong { display: block; color: var(--ink); }
table.data td small { color: var(--subtle); display: block; }
table.data a.title-link:hover { text-decoration: underline; }
.status { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 0.74rem; font-weight: 600; background: var(--sand); color: var(--ink-3); text-transform: capitalize; white-space: nowrap; }
.status-new, .status-published { background: #e6f3ec; color: var(--success); }
.status-queued { background: var(--accent-100); color: var(--accent-600); }
.status-closed, .status-archived { background: #eee; color: #777; }
.row-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.row-actions form { margin: 0; }
.mini-btn { display: inline-flex; align-items: center; gap: 4px; padding: 5px 10px; border-radius: 8px; border: 1px solid var(--line-strong); background: var(--surface); font-size: 0.8rem; font-weight: 500; cursor: pointer; white-space: nowrap; }
.mini-btn:hover { border-color: var(--ink); }
.mini-btn.danger { color: var(--danger); }
.mini-btn.danger:hover { border-color: var(--danger); }
.mini-btn .icon { width: 14px; height: 14px; }
.tabs { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 16px; }
.tabs a { padding: 8px 14px; border-radius: 999px; font-size: 0.88rem; font-weight: 500; color: var(--muted); border: 1px solid transparent; }
.tabs a:hover { color: var(--ink); }
.tabs a.is-active { background: var(--surface); border-color: var(--line); color: var(--ink); }
.tabs a span { color: var(--subtle); margin-left: 4px; }
.admin-search { display: flex; gap: 8px; flex-wrap: wrap; }
.admin-search input, .admin-search select { min-height: 40px !important; padding: 6px 12px !important; width: auto !important; font-size: 0.9rem !important; }
.admin-search select { padding-right: 36px !important; }
.lead-notes { display: grid; gap: 6px; min-width: 220px; }
.lead-delete { margin-top: 6px; text-align: right; }
.lead-notes textarea { min-height: 40px; font-size: 0.85rem; padding: 8px 10px; }
.lead-notes select { min-height: 36px; padding: 4px 30px 4px 10px; font-size: 0.85rem; background-position: right 8px center; }
.lead-detail { color: var(--muted); font-size: 0.84rem; max-width: 380px; }
.lead-detail p { margin: 4px 0 0; color: var(--ink-3); white-space: pre-line; }
.admin-form { display: grid; gap: 24px; }
.admin-form .panel-body { display: grid; gap: 16px; }
.admin-form .form-grid { grid-template-columns: repeat(3, 1fr); }
.admin-form .span-3 { grid-column: span 3; }
.admin-form .hint { font-size: 0.78rem; color: var(--subtle); font-weight: 400; }
.admin-form .check { color: var(--ink-3); font-size: 0.9rem; }
.form-actions { display: flex; gap: 10px; justify-content: flex-end; position: sticky; bottom: 0; padding: 16px 0; background: linear-gradient(transparent, #f4f2ee 30%); }
.login-wrap { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: radial-gradient(800px 400px at 50% 0%, rgb(var(--accent-rgb) / 0.2), transparent 60%), var(--ink); }
.login-card { width: min(400px, 100%); padding: 36px; background: var(--surface); border-radius: 20px; box-shadow: var(--shadow-lg); }
.login-card .brand { margin-bottom: 28px; }
.login-card h1 { font-size: 1.6rem; }
.empty-row { padding: 32px; text-align: center; color: var(--muted); }
.kpi-grid--compact { margin: 18px 0 0; }
.kpi-grid--compact .kpi { padding: 16px; }
.kpi-grid--compact .kpi strong { font-size: 1.6rem; }
.seo-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.seo-actions form { margin: 0; }
.seo-setup { margin-top: 18px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.seo-setup summary { cursor: pointer; font-weight: 600; color: var(--ink); }
.seo-setup ol { margin: 12px 0 8px; padding-left: 20px; display: grid; gap: 8px; color: var(--ink-3); font-size: 0.92rem; }
.seo-setup a { text-decoration: underline; }
.seo-setup code { font-size: 0.85em; background: var(--sand); padding: 1px 5px; border-radius: 4px; }

@media (max-width: 1080px) {
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .panel-grid { grid-template-columns: 1fr; }
  .admin-form .form-grid { grid-template-columns: 1fr 1fr; }
  .admin-form .span-3 { grid-column: span 2; }
}
@media (max-width: 860px) {
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side { position: static; height: auto; flex-direction: row; flex-wrap: wrap; align-items: center; padding: 12px 16px; gap: 8px; }
  .admin-nav { display: flex; flex-wrap: wrap; flex: 1 1 100%; order: 3; }
  .admin-nav-label { display: none; }
  .admin-side-foot { margin: 0 0 0 auto; display: flex; }
  .admin-main { padding: 20px 16px 48px; }
  .auto-panel { grid-template-columns: auto 1fr; }
  .auto-panel form { grid-column: span 2; }
  .admin-form .form-grid { grid-template-columns: 1fr; }
  .admin-form .span-3, .admin-form .span-2 { grid-column: auto; }
}

/* ---------- Articles ---------- */
/* Chinese pages: headings use the font list that includes Traditional Chinese fonts, with no tight tracking */
:root[lang="zh-HK"]:lang(zh-HK), :root[lang="zh-Hans"]:lang(zh-Hans) { --font-display: var(--font-sans); --display-tracking: 0; }
:root[lang="zh-Hans"] { --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif; }
.lang-switch { display: inline-flex; align-items: center; gap: 2px; font-weight: 600; }
.lang-switch a { padding: 2px 7px; border-radius: 999px; }
.lang-switch a.is-current { background: rgba(255, 255, 255, 0.16); }
.mobile-langs { display: flex; gap: 8px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.mobile-langs a { flex: 1; text-align: center; padding: 10px 6px; border: 1px solid var(--line-strong); border-radius: var(--radius); font-weight: 600; font-size: 0.95rem; }
.mobile-langs a.is-current { border-color: var(--accent); background: var(--accent-100); }
.role-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 28px; }
.role-chips li { padding: 7px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 500; font-size: 0.92rem; }
.insights-cats { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.insights-cats a { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-strong); font-weight: 600; font-size: 0.9rem; color: var(--ink-3); }
.insights-cats a.is-current { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin: 36px 0 0; }
.pager a, .pager span { min-width: 40px; padding: 8px 12px; text-align: center; border-radius: var(--radius); border: 1px solid var(--line); font-weight: 600; }
.pager span[aria-current] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.insights-switch { margin: 18px 0 0; }
.insights-switch a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.insights-switch .icon { width: 1em; height: 1em; }
.article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.article-card { display: flex; flex-direction: column; gap: 10px; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .18s, box-shadow .18s, transform .18s; }
.article-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow); transform: translateY(-2px); }
.article-card h3 { font-size: 1.12rem; line-height: 1.4; margin: 0; color: var(--ink); }
.article-card p { margin: 0; color: var(--muted); font-size: 0.93rem; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.article-meta { margin-top: auto; padding-top: 6px; font-size: 0.82rem; color: var(--subtle); }
.article-cat { align-self: flex-start; display: inline-block; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-600); background: var(--accent-100); padding: 4px 10px; border-radius: 999px; }
.article-head > * { max-width: 860px; }
.article-head h1 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); line-height: 1.25; margin: 14px 0 12px; }
.article-byline { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 18px 0 0; font-size: 0.86rem; color: var(--muted); }
.article-byline a { font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; }
.article-body { max-width: 760px; font-size: 1.04rem; line-height: 1.8; }
.article-body :lang(zh-HK), .article-body:lang(zh-HK) { line-height: 1.9; }
.article-body h2 { font-size: 1.5rem; line-height: 1.35; margin: 44px 0 14px; scroll-margin-top: 96px; }
.article-body h3 { font-size: 1.15rem; margin: 28px 0 10px; color: var(--ink); }
.article-body p, .article-body li { color: var(--ink-3); }
.article-body ol { padding-left: 22px; }
.article-body strong { color: var(--ink); }
.article-body a { color: var(--accent-600); text-decoration: underline; text-underline-offset: 2px; }
.article-body blockquote { margin: 20px 0; padding: 14px 20px; border-left: 4px solid var(--accent-300); background: var(--sand); border-radius: 0 10px 10px 0; color: var(--ink-3); }
.article-body hr { border: 0; border-top: 1px solid var(--line); margin: 36px 0; }
.article-body code { font-size: 0.88em; background: var(--sand); padding: 1px 6px; border-radius: 4px; }
.article-body .table-wrap { margin: 20px 0; overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.article-body table { width: 100%; border-collapse: collapse; font-size: 0.94rem; line-height: 1.55; }
.article-body th, .article-body td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.article-body th { background: var(--sand); color: var(--ink); font-weight: 600; }
.article-body tr:last-child td { border-bottom: 0; }
.toc { margin: 0 0 32px; padding: 18px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.toc summary { cursor: pointer; font-weight: 700; color: var(--ink); }
.toc ol { margin: 12px 0 0; padding-left: 20px; display: grid; gap: 6px; font-size: 0.95rem; line-height: 1.5; }
.toc a { color: var(--ink-3); text-decoration: none; }
.toc a:hover { color: var(--ink); text-decoration: underline; }
.letter-template { margin: 22px 0; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.letter-template figcaption { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; background: var(--sand); border-bottom: 1px solid var(--line); font-weight: 700; color: var(--ink); font-size: 0.95rem; }
.letter-body { padding: 18px 20px; font-size: 0.97rem; line-height: 1.8; color: var(--ink-3); overflow-wrap: anywhere; }
.note-box { margin: 22px 0; padding: 16px 20px; border-radius: var(--radius); background: var(--accent-100); border: 1px solid rgb(var(--accent-rgb) / 0.35); }
.note-box > strong { display: block; margin-bottom: 4px; color: var(--ink); }
.note-box p:last-child, .note-box ul:last-child { margin-bottom: 0; }
.note-box p, .note-box li { color: var(--ink-3); }
.article-disclaimer { margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 0.86rem; color: var(--muted) !important; }
.article-aside { position: sticky; top: 96px; }
.aside-card { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--radius); background: var(--ink); color: rgba(255, 255, 255, 0.75); }
.aside-card > .icon { width: 28px; height: 28px; color: var(--accent-300); }
.aside-card strong { color: #fff; font-size: 1.15rem; }
.aside-card p { margin: 0 0 6px; font-size: 0.93rem; line-height: 1.6; }
.aside-card .btn-outline { color: #fff; border-color: rgba(255, 255, 255, 0.3); background: transparent; }
.preview-bar { background: #fff4d6; border-bottom: 1px solid #f0d58a; padding: 10px 0; font-size: 0.9rem; color: #5c4400; }
.preview-bar a { text-decoration: underline; margin-left: 8px; }
.zh-candidates { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 32px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.zh-candidates h2 { margin: 4px 0 6px; font-size: 1.5rem; }
.zh-candidates p:last-child { margin: 0; color: var(--muted); }
.zh-candidates-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.zh-articles-head { margin: 48px 0 24px; }
.zh-articles-head h2 { font-size: 1.5rem; }
@media (max-width: 1080px) {
  .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .article-aside { position: static; max-width: 760px; }
}
@media (max-width: 640px) {
  .article-grid { grid-template-columns: minmax(0, 1fr); }
  .article-body { font-size: 1rem; }
  .article-body h2 { font-size: 1.3rem; margin-top: 36px; }
  .letter-body { padding: 14px 16px; }
  .zh-candidates { flex-direction: column; align-items: flex-start; padding: 22px; }
}

/* ---------- Salary guide ---------- */
.salary-box { margin: 28px 0 8px; padding: 22px 24px; border-radius: var(--radius); background: var(--sand); border: 1px solid var(--line); }
.job-body .salary-box h2 { margin: 0 0 6px; font-size: 1.15rem; }
.salary-figure { font-family: var(--font-display); font-size: 1.7rem; line-height: 1.2; color: var(--ink) !important; margin: 0 0 8px; }
.salary-box p:not(.salary-figure) { font-size: 0.93rem; margin: 0 0 12px; }
.salary-main h2 { font-size: 1.45rem; margin: 40px 0 14px; }
.salary-main .table-wrap, .page-salary .table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.salary-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; line-height: 1.5; }
.salary-table th, .salary-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.salary-table thead th { background: var(--sand); color: var(--ink); font-weight: 600; font-size: 0.88rem; }
.salary-table tbody th { font-weight: 600; }
.salary-table tbody th a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.salary-table tbody th a:hover { text-decoration-color: var(--ink); }
.salary-table tr:last-child th, .salary-table tr:last-child td { border-bottom: 0; }
.salary-range { white-space: nowrap; font-variant-numeric: tabular-nums; }
.salary-industry { color: var(--muted); font-size: 0.88rem; }
.salary-industry a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.page-salary .article-aside { display: grid; gap: 16px; }
.aside-card--light { background: var(--surface); border: 1px solid var(--line); color: var(--muted); }
.aside-card--light strong { color: var(--ink); }
.aside-card--light > .icon { color: var(--accent-600); }
.salary-sectors { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.salary-sector { display: grid; gap: 4px; padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: border-color .15s, box-shadow .15s; }
.salary-sector:hover { border-color: var(--ink); box-shadow: var(--shadow-sm); }
.salary-sector strong { font-size: 1.1rem; color: var(--ink); margin-top: 6px; }
.salary-sector span { font-size: 0.92rem; }
.salary-sector-icon .icon { width: 26px; height: 26px; color: var(--accent-600); }
.salary-top-title { font-size: 1.45rem; margin: 48px 0 16px; }
.section-head-links { display: inline-flex; flex-wrap: wrap; gap: 8px 24px; }
.talent-more { margin: 18px 0 0; }
.jobs-alert-inline .alert-form { max-width: 560px; }
@media (max-width: 640px) {
  .salary-table th, .salary-table td { padding: 10px 12px; }
  .salary-table .salary-industry { display: none; }
  .salary-figure { font-size: 1.45rem; }
}

/* ==========================================================================
   Home page photo and video (optional files, see docs/visual-prompts.md)
   ========================================================================== */
.hero-media { position: absolute; inset: 0; background: var(--ink) center / cover no-repeat; }
.hero-video { display: block; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .9s ease; }
.hero-video.is-playing { opacity: 1; }
/* Keeps the headline readable: darker on the left where the text sits */
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(var(--ink-rgb) / 0.88) 0%, rgb(var(--ink-rgb) / 0.62) 42%, rgb(var(--ink-rgb) / 0.18) 100%), linear-gradient(0deg, rgb(var(--ink-rgb) / 0.6) 0%, transparent 30%); }
.sector-card.has-photo { overflow: hidden; }
.sector-photo { display: block; width: calc(100% + 44px); max-width: none; height: auto; aspect-ratio: 16 / 9; object-fit: cover; margin: -26px -22px 0; background: var(--accent-100); }
.has-photo .sector-icon { position: relative; margin-top: -26px; border: 3px solid var(--surface); box-shadow: var(--shadow-sm, 0 2px 6px rgb(0 0 0 / 0.08)); }
@media (max-width: 860px) {
  .hero-media::after { background: rgb(var(--ink-rgb) / 0.72); }
}
