/* Mawahib Recruiting — design tokens */
:root {
  --navy: #0c2a5b;
  --navy-deep: #071b3f;
  --navy-soft: #16386f;
  --gold: #c08a2b;
  --gold-bright: #d29b3a;
  --gold-text: #84590f;
  --gold-soft: #f6ecd7;
  --paper: #f5f7fa;
  --white: #ffffff;
  --ink: #0c2a5b;
  --slate: #465470;
  --line: #dbe1ea;
  --danger: #b42318;
  --success: #17663a;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(20px, 5vw, 64px);
  --max: 1160px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(7, 27, 63, .06), 0 12px 32px rgba(7, 27, 63, .08);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--slate);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
img, svg { display: block; max-width: 100%; }
a { color: var(--navy); }
p { margin: 0; }
h1, h2, h3 { font-family: var(--serif); color: var(--ink); margin: 0; font-weight: 500; letter-spacing: -.015em; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); line-height: 1.07; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); line-height: 1.15; }
h3 { font-size: 1.3rem; line-height: 1.25; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 12px 18px; z-index: 200; border-radius: 8px; }
.skip:focus { left: 8px; }
.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold); }
.lede { font-size: 1.2rem; max-width: 36em; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 13px 26px;
  font: 600 16px/1.2 var(--sans);
  border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover .icon-arrow { transform: translateX(3px); }
.btn:active { transform: scale(.98); }
.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { background: var(--gold-bright); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-soft); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-line { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn-line:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Header */
.site-header { background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 100; }
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 76px; }
.logo { display: flex; align-items: center; gap: 14px; min-height: 44px; }
.logo img { height: 38px; width: auto; }
.logo .logo-mark { height: 44px; }
.nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 500; font-size: 15px; color: var(--navy); padding: 10px 14px; border-radius: 999px; transition: background-color .2s var(--ease); }
.nav a:hover { background: var(--paper); }
.nav a[aria-current="page"] { font-weight: 700; box-shadow: inset 0 -2px 0 var(--gold); border-radius: 0; padding-inline: 10px; margin-inline: 4px; }
.nav .btn { margin-left: 10px; min-height: 44px; padding: 10px 20px; font-size: 15px; color: var(--navy-deep); }
.nav .btn:hover { background: var(--gold-bright); }
.menu-btn { display: none; margin-left: auto; width: 48px; height: 48px; border: 0; background: transparent; color: var(--navy); border-radius: 10px; cursor: pointer; align-items: center; justify-content: center; }
.menu-btn:hover { background: var(--paper); }
.menu-btn .icon { width: 26px; height: 26px; }
.menu-btn .i-close { display: none; }
.menu-btn[aria-expanded="true"] .i-open { display: none; }
.menu-btn[aria-expanded="true"] .i-close { display: block; }

@media (max-width: 900px) {
  .menu-btn { display: inline-flex; }
  .nav {
    position: absolute; top: 76px; left: 0; right: 0; margin: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--white); border-bottom: 1px solid var(--line);
    padding: 12px var(--gutter) 24px; box-shadow: 0 20px 30px rgba(7, 27, 63, .1);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 12px; font-size: 17px; }
  .nav a[aria-current="page"] { box-shadow: none; background: var(--gold-soft); border-radius: 10px; margin: 0; padding-inline: 12px; }
  .nav .btn { margin: 10px 0 0; justify-content: center; min-height: 52px; }
}

/* Hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #f5f7fa 0%, #ffffff 100%); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 88px); align-items: center; padding-block: clamp(48px, 8vw, 104px); }
.hero h1 em { font-style: italic; color: var(--gold-text); }
.hero .lede { margin-top: 24px; }
.hero .actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero .assure { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 15px; }
.assure span { display: inline-flex; align-items: center; gap: 8px; color: var(--navy); font-weight: 500; }
.assure .icon { width: 18px; height: 18px; color: var(--gold-text); }

.paths { position: relative; background: var(--navy-deep); border-radius: 24px; padding: clamp(20px, 3vw, 32px); box-shadow: 0 30px 60px rgba(7, 27, 63, .28); overflow: hidden; display: grid; gap: 14px; }
.paths::before { content: ""; position: absolute; width: 320px; height: 320px; right: -110px; top: -110px; border-radius: 50%; background: radial-gradient(circle, rgba(192, 138, 43, .35), transparent 68%); pointer-events: none; }
.paths h2 { color: #fff; font-size: 1.05rem; font-family: var(--sans); font-weight: 600; letter-spacing: .02em; opacity: .85; position: relative; }
.path { position: relative; display: flex; align-items: center; gap: 18px; padding: 20px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius); text-decoration: none; color: #cfd8ea; transition: background-color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease); }
.path:hover { background: rgba(255, 255, 255, .11); border-color: var(--gold); transform: translateY(-2px); }
.path .badge { width: 52px; height: 52px; border-radius: 14px; background: var(--gold); color: var(--navy-deep); display: grid; place-items: center; flex: none; }
.path b { display: block; color: #fff; font-family: var(--serif); font-weight: 500; font-size: 1.3rem; line-height: 1.2; }
.path small { font-size: 15px; line-height: 1.45; display: block; margin-top: 2px; }
.path .go { margin-left: auto; color: var(--gold); }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); } }

/* Sections */
.section { padding-block: clamp(64px, 9vw, 112px); }
.section.alt { background: var(--paper); }
.section-head { max-width: 46rem; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 { margin-top: 14px; }
.section-head p { margin-top: 16px; font-size: 1.1rem; }
.center { text-align: center; margin-inline: auto; }
.center .eyebrow { justify-content: center; }

.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) { .grid-2 { grid-template-columns: 1fr; } }

.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.card .ico { width: 52px; height: 52px; border-radius: 14px; background: var(--gold-soft); color: var(--gold-text); display: grid; place-items: center; margin-bottom: 20px; }
.card h3 { margin-bottom: 10px; }
.card.lift { transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease); }
.card.lift:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--gold); }

/* Steps */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.steps li { counter-increment: step; position: relative; padding: 30px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; font-family: var(--serif); font-size: 1.2rem; margin-bottom: 18px; }
.steps h3 { margin-bottom: 8px; }
@media (max-width: 900px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* Split (text + panel) */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks a { overflow-wrap: anywhere; }
.ticks .icon { color: var(--gold-text); margin-top: 3px; width: 22px; height: 22px; }

/* Chips (industries) */
.chips { display: flex; flex-wrap: wrap; gap: 12px; padding: 0; margin: 0; list-style: none; }
.chips li { padding: 12px 20px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; color: var(--navy); font-weight: 600; font-size: 15px; }

/* CTA band */
.band { background: var(--navy-deep); color: #cfd8ea; position: relative; overflow: hidden; }
.band::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--gold); }
.band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-block: clamp(48px, 7vw, 80px); flex-wrap: wrap; }
.band h2 { color: #fff; max-width: 22ch; }
.band .actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Page header (inner pages) */
.page-head { background: var(--paper); border-bottom: 1px solid var(--line); }
.page-head .wrap { padding-block: clamp(44px, 7vw, 84px); }
.page-head h1 { margin-top: 14px; max-width: 18ch; }
.page-head .lede { margin-top: 20px; }

/* Jobs embed */
.embed-shell { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(12px, 2vw, 24px); min-height: 320px; }
.embed-shell iframe { display: block; width: 1px; min-width: 100%; border: 0; }
.notice { display: flex; gap: 16px; align-items: flex-start; padding: 28px; background: var(--gold-soft); border-radius: var(--radius); color: #5b3d08; }
.notice .icon { color: var(--gold-text); margin-top: 2px; }
.notice b { color: var(--navy); display: block; font-size: 1.1rem; margin-bottom: 4px; }
[hidden] { display: none !important; }

/* Forms */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow); }
.form-card h2, .form-card h3 { margin-bottom: 6px; }
.form-card > p { margin-bottom: 24px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
label { font-weight: 600; font-size: 15px; color: var(--navy); }
.req { color: var(--danger); margin-left: 2px; }
.hint { font-size: 14px; color: var(--slate); }
input, select, textarea {
  font: inherit; font-size: 16px; color: var(--navy-deep);
  min-height: 48px; padding: 11px 14px; width: 100%;
  background: var(--white); border: 1.5px solid #b8c2d3; border-radius: var(--radius-sm);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
textarea { min-height: 130px; resize: vertical; line-height: 1.5; }
input:hover, select:hover, textarea:hover { border-color: var(--navy); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(192, 138, 43, .35); }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--danger); }
.error { display: flex; align-items: center; gap: 6px; color: var(--danger); font-size: 14px; font-weight: 500; }
.error .icon { width: 16px; height: 16px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-status { margin-top: 18px; padding: 16px 18px; border-radius: var(--radius-sm); font-weight: 500; display: flex; gap: 12px; align-items: flex-start; }
.form-status.ok { background: #e7f5ec; color: var(--success); }
.form-status.bad { background: #fdecea; color: var(--danger); }
.form-status a { color: inherit; font-weight: 700; }
.spinner { width: 18px; height: 18px; border: 2.5px solid rgba(7, 27, 63, .25); border-top-color: var(--navy-deep); border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Contact list */
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--gold-soft); color: var(--gold-text); display: grid; place-items: center; flex: none; }
.contact-list b { display: block; color: var(--navy); }
.contact-list a { text-underline-offset: 3px; overflow-wrap: anywhere; }

/* Footer */
.site-footer { background: var(--white); color: var(--slate); font-size: 15px; border-top: 1px solid var(--line); }
.site-footer .wrap { padding-block: 56px 32px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; gap: 28px; } }
.site-footer h3 { color: var(--navy); font-family: var(--sans); font-size: 14px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.site-footer a { color: var(--navy); text-decoration: none; display: inline-block; padding: 6px 0; }
.site-footer a:hover { color: var(--gold-text); text-decoration: underline; text-underline-offset: 3px; }
.site-footer .foot-logo { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 18px; padding: 0; }
.foot-logo img { height: 40px; width: auto; }
.foot-logo .logo-mark { height: 46px; }
.foot-bottom { padding-top: 24px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 14px; }

/* Reveal on scroll (progressive enhancement) */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

.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; }

/* Meet your recruiter */
.meet { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.portrait { margin: 0; position: relative; max-width: 380px; }
.portrait::before { content: ""; position: absolute; inset: 16px -16px -16px 16px; border: 2px solid var(--gold); border-radius: 28px; z-index: 0; }
.portrait img { position: relative; z-index: 1; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; border-radius: 24px; box-shadow: var(--shadow); background: var(--paper); }
@media (max-width: 760px) { .meet { grid-template-columns: minmax(0, 1fr); } .portrait { max-width: 300px; margin-right: 16px; } }

/* Brand illustrations */
.page-head .wrap.has-ill { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: clamp(24px, 5vw, 72px); align-items: center; }
.ill { width: 100%; height: auto; max-width: 440px; justify-self: end; overflow: visible; }
.ill .n { fill: var(--navy); }
.ill .g { fill: var(--gold); }
.ill .gs { fill: var(--gold-soft); }
.ill .w { fill: #fff; }
.ill .ln { fill: var(--line); }
.ill .sw { fill: rgba(255, 255, 255, .45); }
.ill .navsoft { fill: rgba(12, 42, 91, .35); }
.ill .card { fill: #fff; stroke: var(--line); stroke-width: 1.5; filter: drop-shadow(0 10px 18px rgba(7, 27, 63, .10)); }
.ill .card-hi { stroke: var(--gold); stroke-width: 2.5; }
.ill .navcard { fill: var(--navy); filter: drop-shadow(0 16px 26px rgba(7, 27, 63, .25)); }
.ill .faded { opacity: .55; filter: none; }
.ill .tick { fill: none; stroke: var(--navy-deep); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.ill .star { fill: var(--navy-deep); }
.ill .heart { fill: var(--gold); }
.ill .glass { fill: rgba(255, 255, 255, .6); }
.ill .ring { fill: none; stroke: var(--navy); stroke-width: 10; }
.ill .handle { fill: none; stroke: var(--navy); stroke-width: 12; stroke-linecap: round; }
.ill .float-a, .ill .float-b, .ill .float-c { transform-box: fill-box; transform-origin: center; }
.ill .float-a { animation: bob 7s ease-in-out infinite, popin .8s var(--ease) .15s backwards; }
.ill .float-b { animation: bob 8s ease-in-out -2.3s infinite, popin .8s var(--ease) .3s backwards; }
.ill .float-c { animation: bob 6.5s ease-in-out -4.6s infinite, popin .8s var(--ease) .45s backwards; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@media (max-width: 900px) { .page-head .wrap.has-ill { grid-template-columns: minmax(0, 1fr); } .ill { max-width: 320px; justify-self: start; } }
@media (max-width: 560px) { .ill { max-width: 260px; } }

/* Page header photos */
.page-photo { margin: 0; position: relative; width: 100%; max-width: 440px; justify-self: end; }
.page-photo::before { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 2px solid var(--gold); border-radius: 26px; z-index: 0; }
.page-photo img { position: relative; z-index: 1; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 22px; box-shadow: var(--shadow); background: var(--paper); }
@media (max-width: 900px) { .page-photo { justify-self: start; max-width: 380px; margin-right: 14px; } }
@media (max-width: 560px) { .page-photo { max-width: 100%; } }

/* ---- Motion: gentle, purposeful. Only opacity/transform; all switched off by prefers-reduced-motion ---- */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes popin { from { opacity: 0; translate: 0 18px; } }
@keyframes dotin { from { opacity: 0; transform: scale(.4); } }
@keyframes underline { to { background-size: 100% 3px; } }
@keyframes glow { 0%, 100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.18); opacity: 1; } }

/* Hero entrance (backwards fill so hover transforms still work afterwards) */
.hero .wrap > div:first-child > * { animation: rise .75s var(--ease) backwards; }
.hero .wrap > div:first-child > :nth-child(1) { animation-delay: .05s; }
.hero .wrap > div:first-child > :nth-child(2) { animation-delay: .15s; }
.hero .wrap > div:first-child > :nth-child(3) { animation-delay: .27s; }
.hero .wrap > div:first-child > :nth-child(4) { animation-delay: .38s; }
.paths { animation: rise .85s var(--ease) .3s backwards; }
.paths > :nth-child(2) { animation: rise .6s var(--ease) .6s backwards; }
.paths > :nth-child(3) { animation: rise .6s var(--ease) .72s backwards; }
.paths::before { animation: glow 9s ease-in-out infinite; }
/* gold underline draws under the italic phrase */
.hero h1 em { background: linear-gradient(var(--gold), var(--gold)) no-repeat 0 96% / 0% 3px; animation: underline .9s var(--ease) 1s forwards; padding-bottom: 2px; }

/* Page-header text entrance on inner pages */
.page-head .wrap > div:first-child > * { animation: rise .7s var(--ease) backwards; }
.page-head .wrap > div:first-child > :nth-child(2) { animation-delay: .08s; }
.page-head .wrap > div:first-child > :nth-child(3) { animation-delay: .18s; }
.eyebrow::before { transform-origin: left; animation: grow-line .7s var(--ease) .1s backwards; }
@keyframes grow-line { from { transform: scaleX(0); } }

/* Illustration: background blooms, dots pop */
.ill > circle, .ill > rect.ground { transform-box: fill-box; transform-origin: center; animation: dotin .7s var(--ease) backwards; }
.ill > circle:nth-child(1) { animation-duration: 1s; }
.ill > circle:nth-child(2) { animation-delay: .5s; }
.ill > circle:nth-child(3) { animation-delay: .62s; }
.ill > circle:nth-child(4) { animation-delay: .74s; }

/* Scroll reveals: staggered siblings, growing eyebrow line, portrait frame slides into place */
.js .reveal { transition-delay: var(--d, 0s); }
.js .reveal .eyebrow::before, .js .reveal.eyebrow::before { animation: none; transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease) calc(var(--d, 0s) + .15s); }
.js .reveal.in .eyebrow::before { transform: none; }
.js .portrait::before { opacity: 0; transform: translate(-14px, -14px); transition: opacity .7s var(--ease) .25s, transform .8s var(--ease) .25s; }
.js .portrait.in::before { opacity: 1; transform: none; }

/* Small tactile touches */
.card .ico { transition: transform .3s var(--ease), background-color .3s var(--ease); }
.card.lift:hover .ico { transform: translateY(-3px) rotate(-6deg); background: var(--gold); color: var(--navy-deep); }
.chips li { transition: transform .2s var(--ease), border-color .2s var(--ease); }
.chips li:hover { transform: translateY(-2px); border-color: var(--gold); }
.site-header { transition: box-shadow .3s var(--ease); }
.site-header.scrolled { box-shadow: 0 8px 28px rgba(7, 27, 63, .08); }

/* Smooth cross-fade between pages (supported browsers only) */
@view-transition { navigation: auto; }
.site-header { view-transition-name: site-header; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .25s; }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
  .hero h1 em { background-size: 100% 3px; }
  .js .portrait::before { opacity: 1; transform: none; }
  .js .reveal .eyebrow::before { transform: none; }
}

/* ---- Numbers strip ---- */
.stats { background: var(--white); border-top: 1px solid #c3cddd; border-bottom: 1px solid var(--line); }
.stat-grid { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); }
.stat { text-align: center; padding: clamp(28px, 4vw, 44px) 16px; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 24%; bottom: 24%; width: 1px; background: var(--line); }
.stat-num { font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1; color: var(--navy); font-variant-numeric: tabular-nums; }
.stat-num b { font-weight: 500; }
.stat-num::after { content: ""; display: block; width: 44px; height: 3px; border-radius: 2px; background: var(--gold); margin: 14px auto 0; transform-origin: center; }
.js .stat:not(.in) .stat-num::after { transform: scaleX(0); }
.stat-num::after { transition: transform .8s var(--ease) .4s; }
.stat-label { margin-top: 12px; font-size: 15px; font-weight: 600; color: var(--slate); }
@media (max-width: 640px) { .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stat:nth-child(odd)::before { display: none; } .stat:nth-child(n+3) { border-top: 1px solid var(--line); } .stat:nth-child(2n+1):last-child { grid-column: 1 / -1; } }

/* ---- Hiring journey ---- */
.journey { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.j-step { position: relative; text-align: center; padding: 0 14px; }
.j-node { position: relative; z-index: 1; width: 56px; height: 56px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); border: 2px solid var(--navy); color: #fff; }
.j-node .icon { width: 24px; height: 24px; }
.j-step::before, .j-step::after { content: ""; position: absolute; top: 27px; left: 50%; width: 100%; height: 3px; border-radius: 2px; }
.j-step::before { background: var(--line); }
.j-step::after { background: var(--gold); transform-origin: left; }
.j-step:last-child::before, .j-step:last-child::after { display: none; }
.j-step:last-child .j-node { background: var(--gold); border-color: var(--gold); color: var(--navy-deep); }
.j-step h3 { font-size: 1.2rem; margin-bottom: 6px; }
.j-step p { font-size: 15px; line-height: 1.55; }
.j-burst { position: absolute; inset: 0; pointer-events: none; }
.j-burst i { position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--gold); opacity: 0; }
.j-burst i:nth-child(even) { background: var(--navy); width: 6px; height: 6px; margin: -3px 0 0 -3px; }

/* pending state only when JS is running, so no-JS visitors see the finished journey */
.js .j-step:not(.on) .j-node { background: var(--white); border-color: var(--line); color: var(--slate); }
.js .j-step:not(.on)::after { transform: scaleX(0); }
.js .j-step:not(.on) h3, .js .j-step:not(.on) p { opacity: .35; transform: translateY(8px); }
.j-node { transition: background-color .45s var(--ease), border-color .45s var(--ease), color .45s var(--ease); }
.j-step::after { transition: transform .75s var(--ease) .3s; }
.j-step h3, .j-step p { transition: opacity .55s var(--ease) .1s, transform .55s var(--ease) .1s; }
.j-step.on .j-node { animation: ring 1s ease-out; }
.j-step:last-child.on .j-burst i { animation: burst .95s var(--ease) .1s both; }
@keyframes ring { from { box-shadow: 0 0 0 0 rgba(192, 138, 43, .6); } to { box-shadow: 0 0 0 20px rgba(192, 138, 43, 0); } }
@keyframes burst { from { opacity: 1; transform: rotate(var(--a)) translateY(-30px) scale(1); } to { opacity: 0; transform: rotate(var(--a)) translateY(-70px) scale(.3); } }

@media (max-width: 760px) {
  .journey { grid-template-columns: minmax(0, 1fr); max-width: 460px; margin-inline: auto; }
  .j-step { text-align: left; padding: 0 0 34px 76px; min-height: 56px; }
  .j-node { position: absolute; left: 0; top: 0; margin: 0; }
  .j-step::before, .j-step::after { left: 27px; top: 28px; width: 3px; height: 100%; }
  .j-step::after { transform-origin: top; }
  .js .j-step:not(.on)::after { transform: scaleY(0); }
  .j-step h3 { padding-top: 12px; }
}
@media (prefers-reduced-motion: reduce) { .j-step:last-child.on .j-burst i { animation: none; opacity: 0; } .j-step.on .j-node { animation: none; } }

/* Jobs board polish */
.openings-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.embed-shell { position: relative; border: 0; border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; padding: clamp(10px, 2vw, 24px); padding-top: clamp(18px, 2.4vw, 30px); background: var(--white); }
.embed-shell::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, var(--navy), var(--gold)); }
.embed-loading { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 240px; color: var(--slate); font-weight: 500; }
.embed-loading .spinner { border-color: rgba(12, 42, 91, .2); border-top-color: var(--navy); width: 22px; height: 22px; }
.embed-shell.loaded .embed-loading { display: none; }

/* Jobs page: slim header so the openings are on the first screen */
.page-head.compact .wrap { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 32px; padding-block: clamp(26px, 4vw, 44px); }
.page-head.compact h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); margin-top: 10px; max-width: none; }
.page-head.compact .lede { margin-top: 10px; font-size: 1.1rem; }
.jobs-section { padding-block: clamp(24px, 3.5vw, 40px) clamp(56px, 8vw, 96px); }
/* iframe is in the page from the start; it stays invisible until Recruiterflow finishes loading */
.embed-shell iframe { display: block; width: 100%; border: 0; }
.embed-shell:not(.loaded) iframe { position: absolute; left: 0; top: 0; height: 1px; opacity: 0; pointer-events: none; }
.embed-loading { display: grid; gap: 0; min-height: 0; padding: 4px clamp(4px, 3vw, 40px) 8px; }
.sk-row { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.sk-row span { display: grid; gap: 12px; flex: 1; max-width: 420px; }
.sk-row i, .sk-row b { display: block; border-radius: 6px; background: linear-gradient(90deg, #eef1f6 25%, #f8f9fc 50%, #eef1f6 75%); background-size: 200% 100%; animation: shimmer 1.4s ease-in-out infinite; }
.sk-row i:nth-child(1) { width: 62%; height: 14px; } .sk-row i:nth-child(2) { width: 38%; height: 12px; } .sk-row i:nth-child(3) { width: 22%; height: 10px; }
.sk-row b { width: 84px; height: 34px; border-radius: 999px; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

.embed-shell.loaded iframe { min-height: 480px; }

/* WordPress: keep the sticky header below the admin bar for logged-in editors */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.admin-bar { --wp-admin-offset: 32px; }

/* Generic pages, blog and posts */
.entry { max-width: 780px; }
.entry > * + * { margin-top: 1.1em; }
.entry h2 { font-size: 1.9rem; margin-top: 1.6em; }
.entry h3 { margin-top: 1.4em; }
.entry ul, .entry ol { padding-left: 1.3em; }
.entry li + li { margin-top: .4em; }
.entry img { border-radius: 14px; height: auto; }
.entry a { text-underline-offset: 3px; }
.post-item { padding: 28px 0; border-bottom: 1px solid var(--line); }
.post-item h2 { font-size: 1.6rem; margin: 0; }
.post-item h2 a { text-decoration: none; }
.post-item h2 a:hover { text-decoration: underline; }
.post-date { font-size: 14px; margin: 6px 0 12px; }
.navigation.pagination { margin-top: 32px; }
.navigation.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.navigation.pagination a, .navigation.pagination span { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; }
.navigation.pagination .current { background: var(--navy); color: #fff; border-color: var(--navy); }
