/* Cornerstone HR Solutions — brand stylesheet */
@font-face { font-family: 'Marcellus'; src: url('/assets/fonts/marcellus-latin.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('/assets/fonts/manrope-latin-var.woff2') format('woff2'); font-weight: 200 800; font-style: normal; font-display: swap; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:root {
  --blue: #16305A;
  --blue-deep: #0F2445;
  --gold: #A4741F;
  --gold-light: #D4A452;
  --gold-text: #8F6417;    /* gold for small text on light backgrounds (WCAG AA 4.5:1) */
  --stone: #7C8AA0;
  --stone-light: #E8ECF2;
  --stone-text: #617089;   /* stone for small text on light backgrounds (WCAG AA 4.5:1) */
  --slate: #46536A;
  --ink: #1D2738;
  --paper: #F2F4F7;        /* limestone: cool light grey for alternate sections */
  --navy-900: #0A1A33;
  --shadow-card: 0 1px 2px rgba(15,36,69,.05), 0 18px 40px -18px rgba(15,36,69,.18);
  --line: #E3E6EB;
  --white: #FFFFFF;
  --serif: 'Marcellus', 'Trajan Pro', Georgia, serif;
  --sans: 'Manrope', 'Segoe UI', system-ui, sans-serif;
  --radius: 6px;
  --wrap: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--white); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:hover { color: var(--gold-text); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--blue); line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 48px, var(--wrap)); margin-inline: auto; }
.eyebrow { font-size: .78rem; font-weight: 800; letter-spacing: .28em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 16px; display: block; }
.lead { font-size: 1.2rem; color: var(--slate); max-width: 640px; }
.muted { color: var(--slate); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--blue); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 28px; border-radius: var(--radius); font: 700 1rem var(--sans); text-decoration: none; cursor: pointer; border: 2px solid var(--blue); background: var(--blue); color: #fff; transition: background .2s, color .2s, border-color .2s; }
.btn:hover { background: var(--blue-deep); border-color: var(--blue-deep); color: #fff; }
.btn-outline { background: transparent; color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-gold { background: var(--gold-light); border-color: var(--gold-light); color: var(--blue-deep); }
.btn-gold:hover { background: #fff; border-color: #fff; color: var(--blue-deep); }
.btn-ghost-light { background: transparent; border-color: rgba(255,255,255,.6); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--blue); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: .92rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn[disabled] { opacity: .6; cursor: wait; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 24px; }
.brand img { width: 200px; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { text-decoration: none; font-weight: 600; font-size: .98rem; color: var(--blue); position: relative; padding: 6px 0; }
.nav a[aria-current="page"]::after, .nav a:not(.btn):hover::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--gold); }
.nav .btn { color: #fff; padding: 0 20px; }
.menu-toggle { display: none; background: none; border: 0; width: 48px; height: 48px; cursor: pointer; padding: 12px; }
.menu-toggle span { display: block; height: 2px; background: var(--blue); margin: 6px 0; transition: transform .2s, opacity .2s; }

/* Hero */
.hero { display: grid; grid-template-columns: 1.4fr 1fr; min-height: 0; }
.hero-copy { padding: 56px 56px 60px max(24px, calc((100vw - var(--wrap)) / 2)); display: flex; flex-direction: column; justify-content: center; }
.hero-copy h1 { font-size: clamp(2.3rem, 4.2vw, 3.6rem); }
.hero-copy .lead { margin-bottom: 8px; }
.hero-copy h1 { max-width: 640px; }
.hero-panel { background: var(--blue); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; padding: 40px; position: relative; overflow: hidden; }
.hero-panel svg.hero-art { width: min(400px, 92%); height: auto; }
.hero-panel .motto { color: #C5CDD9; font-style: italic; letter-spacing: .12em; font-size: 1.1rem; }
.hero + section { padding-top: 72px; }
.hero-panel::before { content: ""; position: absolute; inset: 18px; border: 1px solid rgba(212,164,82,.25); pointer-events: none; }

/* Page header (inner pages) */
.page-head { background: var(--paper); padding: 88px 0 72px; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-head .lead { margin-bottom: 0; }
.page-head .stones-deco { position: absolute; right: max(24px, calc((100vw - var(--wrap)) / 2)); bottom: 0; width: 180px; opacity: .9; }

/* Sections */
section { padding: 96px 0; }
.section-alt { background: var(--paper); }
.section-blue { background: var(--blue); color: #E3E8F0; }
.section-blue h2, .section-blue h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: 52px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.apply-grid { grid-template-columns: 1fr 1.4fr; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* Audience path cards */
.path { border: 1px solid var(--line); border-radius: 10px; padding: 44px; background: #fff; display: flex; flex-direction: column; gap: 6px; position: relative; overflow: hidden; }
.path::before { content: ""; position: absolute; left: 0; top: 0; width: 64px; height: 6px; background: var(--gold); }
.path .tag { font-size: .78rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--stone-text); }
.path ul { list-style: none; padding: 0; margin: 8px 0 28px; }
.path li { padding: 8px 0 8px 30px; position: relative; border-bottom: 1px solid var(--line); }
.path li::before { content: ""; position: absolute; left: 0; top: 16px; width: 12px; height: 12px; background: var(--blue); border-radius: 2px; }
.path .btn { margin-top: auto; align-self: flex-start; }

/* Four cornerstones */
.stones { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stone { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 8px; padding: 32px 26px; position: relative; }
.stone.is-key { background: var(--gold-light); border-color: var(--gold-light); color: var(--blue-deep); }
.stone.is-key h3, .stone.is-key .num { color: var(--blue-deep); }
.stone .num { font-family: var(--serif); font-size: 2.6rem; color: var(--gold-light); line-height: 1; display: block; margin-bottom: 18px; }
.stone h3 { font-size: 1.35rem; margin-bottom: 10px; }
.stone p { margin: 0; font-size: .98rem; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; border-top: 2px solid var(--blue); }
.step { padding: 28px 24px 0 0; position: relative; }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--serif); font-size: 1rem; color: #fff; background: var(--blue); display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 4px; margin-top: -51px; margin-bottom: 18px; }
.step:first-child::before { background: var(--gold); }
.step h3 { font-size: 1.25rem; }
.step p { color: var(--slate); font-size: .98rem; }

/* Service cards */
.service { border: 1px solid var(--line); border-radius: 10px; padding: 34px; background: #fff; display: flex; flex-direction: column; }
.service .icon { width: 52px; height: 52px; border-radius: 6px; background: var(--stone-light); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.service .icon svg { width: 26px; height: 26px; stroke: var(--blue); }
.service.is-key .icon { background: var(--gold); }
.service.is-key .icon svg { stroke: #fff; }
.service ul { padding-left: 18px; margin: 8px 0 0; color: var(--slate); font-size: .95rem; }
.service li { margin: 4px 0; }
.service h3 { margin-bottom: 8px; }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip { padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-weight: 600; font-size: .95rem; color: var(--blue); }

/* Story block */
.story { display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; align-items: center; }
.story-mark { background: var(--blue); border-radius: 10px; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; padding: 18%; }
.quote { font-family: var(--serif); font-size: 1.6rem; color: var(--blue); border-left: 4px solid var(--gold); padding: 6px 0 6px 24px; margin: 28px 0; line-height: 1.35; }
.quote cite { display: block; font-family: var(--sans); font-style: normal; font-size: .9rem; color: var(--slate); margin-top: 10px; letter-spacing: .06em; }

/* Mission/vision */
.mv { background: #fff; border-radius: 10px; padding: 40px; border-top: 6px solid var(--blue); }
.mv.gold { border-top-color: var(--gold); }

/* CTA band */
.cta-band { background: var(--blue); color: #E3E8F0; padding: 80px 0; position: relative; overflow: hidden; }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { margin: 0; }
.cta-band a.mail { color: var(--gold-light); font-weight: 700; }

/* Jobs */
.job-filters { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 12px; margin-bottom: 28px; }
.job-list { display: grid; gap: 16px; }
.job-card { border: 1px solid var(--line); border-radius: 10px; padding: 28px 30px; background: #fff; display: grid; grid-template-columns: 1fr auto; gap: 8px 24px; align-items: center; transition: border-color .2s, box-shadow .2s; }
.job-card:hover { border-color: var(--stone); box-shadow: 0 8px 28px rgba(22,48,90,.08); }
.job-card h3 { font-size: 1.4rem; margin: 0; }
.job-card .company { color: var(--slate); font-weight: 600; font-size: .95rem; }
.job-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .92rem; color: var(--slate); margin-top: 6px; }
.job-meta span { display: inline-flex; align-items: center; gap: 6px; }
.job-meta span::before { content: ""; width: 7px; height: 7px; background: var(--gold); border-radius: 1px; }
.job-card .actions { grid-row: 1 / span 2; grid-column: 2; display: flex; gap: 10px; }
.job-code { font-size: .78rem; font-weight: 800; letter-spacing: .14em; color: var(--stone-text); }
.empty { text-align: center; padding: 56px 24px; border: 1px dashed var(--stone); border-radius: 10px; background: var(--paper); }
.empty h3 { margin-bottom: 6px; }

/* Job dialog */
dialog { border: 0; border-radius: 12px; padding: 0; width: min(820px, 94vw); max-height: 90vh; box-shadow: 0 30px 80px rgba(15,36,69,.35); }
dialog::backdrop { background: rgba(15,36,69,.55); }
.dlg-head { background: var(--blue); color: #fff; padding: 32px 36px; position: sticky; top: 0; }
.dlg-head h2 { color: #fff; font-size: 2rem; margin: 6px 0; }
.dlg-head .job-meta { color: #C5CDD9; }
.dlg-body { padding: 32px 36px; }
.dlg-body h3 { font-family: var(--sans); line-height: 1.4; font-size: .8rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-text); margin: 24px 0 8px; }
.dlg-body ul { padding-left: 20px; margin: 0; }
.dlg-close { position: absolute; right: 18px; top: 18px; background: rgba(255,255,255,.12); border: 0; color: #fff; width: 40px; height: 40px; border-radius: 6px; font-size: 1.4rem; cursor: pointer; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 8px; }
.fact { background: var(--paper); border-radius: 6px; padding: 14px 16px; }
.fact b { display: block; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--stone-text); }

/* Forms */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 40px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
label { font-weight: 700; font-size: .9rem; color: var(--blue); }
label .req { color: var(--gold-text); }
input, select, textarea { font: inherit; font-size: 1rem; color: var(--ink); padding: 13px 14px; border: 1px solid #CBD2DC; border-radius: var(--radius); background: #fff; width: 100%; }
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--gold-light); outline-offset: 1px; border-color: var(--blue); }
input[type="file"] { padding: 11px; background: var(--paper); }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; color: var(--slate); font-size: .92rem; }
.check input { width: 18px; height: 18px; margin-top: 4px; flex-shrink: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: 6px; font-weight: 600; display: none; }
.form-status.ok { display: block; background: #E9F5EC; color: #1F5B30; }
.form-status.err { display: block; background: #FBECEC; color: #8A1F1F; }
.applying-for { background: var(--stone-light); border-left: 4px solid var(--gold); padding: 12px 16px; border-radius: 4px; margin-bottom: 20px; font-weight: 600; color: var(--blue); display: none; justify-content: space-between; gap: 12px; align-items: center; }
.applying-for button { background: none; border: 0; color: var(--slate); text-decoration: underline; cursor: pointer; font: inherit; font-size: .9rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: start; }
.info-card { background: var(--blue); color: #E3E8F0; border-radius: 12px; padding: 40px; position: sticky; top: 108px; }
.info-card h3 { color: #fff; }
.info-item { padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.info-item:last-of-type { border-bottom: 0; }
.info-item b { display: block; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 4px; }
.info-item a { color: #fff; }

/* Footer */
.site-footer { background: var(--blue-deep); color: #B9C3D3; padding: 72px 0 32px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-logo { width: 290px; margin-bottom: 16px; background: var(--blue); padding: 14px 16px; border-radius: 8px; }
.site-footer .f-h { color: #fff; font-size: .8rem; letter-spacing: .22em; text-transform: uppercase; margin: 0 0 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 8px 0; }
.site-footer a { color: #DCE2EC; text-decoration: none; }
.site-footer a:hover { color: var(--gold-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 48px; padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .88rem; }
.footer-bottom .domain { color: var(--gold-light); font-weight: 700; letter-spacing: .18em; }

/* Prose (privacy) */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.7rem; margin-top: 1.6em; }
.prose ul { margin: 0 0 1.2em; padding-left: 1.25em; }
.prose li { margin: .45em 0; }
.prose li::marker { color: var(--gold); }

/* Responsive */
@media (max-width: 1080px) {
  .stones, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-copy { padding: 64px 40px; }
}
@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav { position: fixed; inset: 84px 0 auto 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 24px 24px; border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(15,36,69,.12); display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 14px; border-bottom: 0; }
  .menu-open .menu-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  .menu-open .menu-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .hero { grid-template-columns: 1fr; max-height: none; min-height: 0; }
  .hero-panel { min-height: 0; padding: 36px 24px; }
  .hero-panel svg.hero-art { width: min(340px, 100%); }
  .grid-2, .grid-3, .story, .contact-grid, .apply-grid { grid-template-columns: 1fr; }
  .story { gap: 40px; } .story-mark { max-width: 320px; }
  .job-filters { grid-template-columns: 1fr 1fr; }
  .job-filters .search { grid-column: 1 / -1; }
  .info-card { position: static; }
  .page-head .stones-deco { display: none; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  section { padding: 68px 0; }
  .brand img { width: 170px; }
  .stones, .grid-4, .steps, .footer-grid, .form-grid, .facts { grid-template-columns: 1fr; }
  .path, .form-card, .info-card, .service { padding: 28px 22px; }
  .job-card { grid-template-columns: 1fr; }
  .job-card .actions { grid-row: auto; grid-column: auto; }
  .hero-copy { padding: 48px 24px; }
  .dlg-head, .dlg-body { padding: 24px; }
}

/* ================= Icons, banners & motion ================= */
.ic { width: 22px; height: 22px; flex-shrink: 0; }
.arr { display: inline-flex; transition: transform .25s ease; }
.arr .ic { width: 18px; height: 18px; }
.btn:hover .arr { transform: translateX(4px); }

/* Nav underline animates in */
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.nav a[aria-current="page"]::after, .nav a:not(.btn):hover::after { transform: scaleX(1); }
.site-header { transition: box-shadow .3s ease; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(15,36,69,.08); }

/* Page banners (inner pages) */
.page-hero { display: grid; grid-template-columns: 1.4fr 1fr; padding: 0; background: var(--paper); border-bottom: 1px solid var(--line); }
.ph-copy { padding: 56px 56px 60px max(24px, calc((100vw - var(--wrap)) / 2)); display: flex; flex-direction: column; justify-content: center; }
.ph-copy h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); max-width: 640px; }
.ph-copy .lead { margin-bottom: 0; }
.ph-panel { background: var(--blue); display: flex; align-items: center; justify-content: center; padding: 36px; position: relative; overflow: hidden; min-height: 340px; }
.ph-panel::before { content: ""; position: absolute; inset: 18px; border: 1px solid rgba(212,164,82,.25); pointer-events: none; }
.ph-panel .art { width: min(400px, 94%); height: auto; }

/* Illustration motion */
.art .b { animation: chr-rise .7s cubic-bezier(.2,.75,.25,1) both; animation-delay: calc(var(--i, 0) * 55ms + 100ms); transform-box: fill-box; transform-origin: 50% 100%; }
.art .pop { animation: chr-pop .6s cubic-bezier(.2,.75,.25,1.3) both; animation-delay: .9s; transform-box: fill-box; transform-origin: 50% 100%; }
.art .float { animation: chr-float 4.5s ease-in-out infinite; transform-box: fill-box; }
.art .flow { stroke-dasharray: 4 9; animation: chr-flow 1.6s linear infinite; }
@keyframes chr-rise { from { opacity: 0; transform: translateY(-22px); } }
@keyframes chr-pop { from { opacity: 0; transform: scale(.6); } }
@keyframes chr-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes chr-flow { to { stroke-dashoffset: -26; } }

/* Audience cards */
.path-top { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.path-ic { width: 48px; height: 48px; border-radius: 8px; background: var(--blue); color: var(--gold-light); display: inline-flex; align-items: center; justify-content: center; transition: transform .3s ease, background .3s ease; }
.path-ic .ic { width: 24px; height: 24px; }
.path:hover .path-ic { transform: rotate(-6deg) scale(1.06); background: var(--gold); color: #fff; }
.path li::before, .service li::before { content: ""; }
.path li::before { width: 18px; height: 18px; top: 11px; border-radius: 4px; background: var(--stone-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316305A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* Cornerstone value cards */
.stone { transition: transform .35s ease, background .35s ease, border-color .35s ease; }
.stone:hover { transform: translateY(-6px); border-color: rgba(212,164,82,.6); }
.stone-ic { width: 46px; height: 46px; border-radius: 8px; background: rgba(212,164,82,.16); color: var(--gold-light); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.stone.is-key .stone-ic { background: var(--blue-deep); color: var(--gold-light); }
.stone .num { position: absolute; right: 22px; top: 24px; font-size: 1.5rem; opacity: .55; margin: 0; }

/* Steps */
.step::before { content: "STEP 0" counter(step); font-family: var(--sans); font-size: .72rem; font-weight: 800; letter-spacing: .2em; color: var(--gold-text); background: none; width: auto; height: auto; margin: 0 0 10px; display: block; border-radius: 0; }
.step:first-child::before { background: none; }
.step { padding-top: 0; }
.steps { border-top: 0; position: relative; padding-top: 32px; }
.steps::before { content: ""; position: absolute; left: 26px; right: 26px; top: 57px; height: 2px; background: repeating-linear-gradient(90deg, var(--stone) 0 6px, transparent 6px 12px); opacity: .5; }
.step-ic { position: relative; z-index: 1; width: 52px; height: 52px; border-radius: 10px; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; box-shadow: 0 0 0 6px #fff; transition: transform .3s ease, background .3s ease; }
.step:first-child .step-ic { background: var(--gold); }
.step:hover .step-ic { transform: translateY(-4px); background: var(--gold); }
.step-ic .ic { width: 24px; height: 24px; }
.steps { display: grid; }
.step { display: flex; flex-direction: column; }
.step::before { order: 2; }
.step-ic { order: 1; }
.step h3 { order: 3; }
.step p { order: 4; }

/* Services & feature cards */
.service, .path, .mv, .job-card, .form-card { transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease; }
.service:hover, .path:hover, .mv:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(15,36,69,.10); border-color: var(--stone-light); }
.service .icon { color: var(--blue); transition: background .3s ease, color .3s ease, transform .3s ease; }
.service .icon .ic, .service .icon svg { width: 26px; height: 26px; stroke: currentColor; }
.service.is-key .icon { color: #fff; }
.service:hover .icon { background: var(--blue); color: var(--gold-light); transform: rotate(-6deg); }
.service ul { list-style: none; padding-left: 0; }
.service li { position: relative; padding-left: 24px; }
.service li::before { position: absolute; left: 0; top: 9px; width: 10px; height: 10px; border-radius: 2px; background: var(--gold); transform: rotate(45deg) scale(.7); }

/* Mission / vision */
.mv-ic { width: 52px; height: 52px; border-radius: 10px; background: var(--stone-light); color: var(--blue); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.mv.gold .mv-ic { background: #F6EBD6; color: var(--gold); }
.mv-ic .ic { width: 26px; height: 26px; }
.mv .eyebrow { display: block; }

/* Industries */
.industries .chip { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; transition: background .25s ease, color .25s ease, transform .25s ease, border-color .25s ease; }
.industries .chip .ic { width: 20px; height: 20px; color: var(--gold); transition: color .25s ease; }
.industries .chip:hover { background: var(--blue); color: #fff; border-color: var(--blue); transform: translateY(-3px); }
.industries .chip:hover .ic { color: var(--gold-light); }

/* Contact info */
.info-item { display: flex; gap: 16px; align-items: flex-start; }
.info-ic { width: 40px; height: 40px; border-radius: 8px; background: rgba(212,164,82,.16); color: var(--gold-light); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.info-ic .ic { width: 20px; height: 20px; }

/* Job meta icons */
.job-meta span::before { content: none; }
.job-meta .ic { width: 15px; height: 15px; color: var(--gold); }
.job-card:hover { transform: translateY(-3px); }
.job-card .btn .arr .ic { width: 16px; height: 16px; }

/* Scroll reveal (enabled by script; content stays visible without it) */
html.js-reveal .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.75,.25,1); transition-delay: var(--d, 0ms); }
html.js-reveal .reveal.in { opacity: 1; transform: none; }
.hero-copy > *, .ph-copy > * { animation: chr-in .8s cubic-bezier(.2,.75,.25,1) both; }
.hero-copy > :nth-child(2), .ph-copy > :nth-child(2) { animation-delay: .08s; }
.hero-copy > :nth-child(3), .ph-copy > :nth-child(3) { animation-delay: .16s; }
.hero-copy > :nth-child(4), .ph-copy > :nth-child(4) { animation-delay: .24s; }
@keyframes chr-in { from { opacity: 0; transform: translateY(18px); } }

@media (max-width: 1080px) { .steps::before { display: none; } .ph-copy { padding: 56px 40px; } }
@media (max-width: 900px) {
  .page-hero { grid-template-columns: 1fr; }
  .ph-panel { min-height: 0; padding: 32px 24px; }
  .ph-panel .art { width: min(340px, 100%); }
}
@media (max-width: 600px) { .ph-copy { padding: 44px 24px; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html.js-reveal .reveal { opacity: 1; transform: none; }
}

/* ================= Footer ================= */
.site-footer {
  position: relative; overflow: hidden; padding: 0 0 28px; color: #B9C3D3; font-size: .95rem;
  background:
    radial-gradient(900px 420px at 8% 0%, rgba(212,164,82,.16), transparent 60%),
    radial-gradient(700px 500px at 100% 100%, rgba(111,132,168,.22), transparent 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='132' height='56'%3E%3Cg fill='none' stroke='%23FFFFFF' stroke-opacity='.045'%3E%3Crect x='3' y='3' width='60' height='22' rx='3'/%3E%3Crect x='69' y='3' width='60' height='22' rx='3'/%3E%3Crect x='-30' y='31' width='60' height='22' rx='3'/%3E%3Crect x='36' y='31' width='60' height='22' rx='3'/%3E%3Crect x='102' y='31' width='60' height='22' rx='3'/%3E%3C/g%3E%3C/svg%3E"),
    linear-gradient(180deg, #13294D 0%, #0B1B36 100%);
}
.site-footer .wrap { position: relative; padding-top: 60px; }

/* Stone ledge along the top edge */
.ledge { display: flex; gap: 6px; height: 16px; overflow: hidden; padding: 0 6px; margin-top: 6px; }
.ledge span { flex: 0 0 var(--w, 70px); height: 16px; border-radius: 0 0 4px 4px; background: rgba(232,236,242,.14); }
.ledge span:nth-child(3n) { background: rgba(169,182,204,.22); }
.ledge span:nth-child(4n+1) { background: rgba(111,132,168,.30); }
.ledge span.cs { flex: 0 0 120px; background: var(--gold-light); }
.site-footer.in .ledge span { animation: ledge-drop .6s cubic-bezier(.2,.75,.25,1) both; animation-delay: calc(var(--i, 0) * 25ms); }
@keyframes ledge-drop { from { transform: translateY(-100%); opacity: 0; } }

/* Grid: four columns, all starting on the same top line */
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .75fr) minmax(0, .9fr) minmax(0, 1.45fr); gap: 40px; align-items: start; }
.f-brand { display: flex; flex-direction: column; gap: 18px; }
.f-logo { display: block; line-height: 0; }
.f-logo img { width: 232px; margin-top: 2px; transition: transform .35s ease; }
.f-logo:hover img { transform: translateY(-2px); }
.f-brand p { max-width: 330px; color: #C5CDD9; margin: 0; font-size: .93rem; line-height: 1.6; }
.f-ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.f-ctas .btn { min-height: 42px; padding: 0 18px; }
.f-ctas .btn .ic { width: 17px; height: 17px; }

.site-footer .f-h { color: #fff; font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; margin: 0 0 16px; height: 18px; display: flex; align-items: center; gap: 10px; }
.site-footer .f-h::before { content: ""; width: 10px; height: 10px; border-radius: 2px; background: var(--gold-light); }
.site-footer .f-h.f-sub { margin-top: 26px; }
.f-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.site-footer .f-links li { margin: 0; }
.f-links a { color: #DCE2EC; text-decoration: none; display: inline-flex; align-items: center; padding: 5px 0; font-size: .95rem; transition: color .25s ease; }
.f-links a::before { content: ""; width: 0; height: 2px; background: var(--gold-light); transition: width .25s ease, margin .25s ease; }
.f-links a:hover { color: var(--gold-light); }
.f-links a:hover::before { width: 12px; margin-right: 8px; }

.f-contact { display: grid; gap: 10px; }
.f-card { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 10px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); transition: background .3s ease, border-color .3s ease; }
.f-card:hover { background: rgba(255,255,255,.09); border-color: rgba(212,164,82,.45); }
.f-ic { width: 38px; height: 38px; border-radius: 8px; background: rgba(212,164,82,.16); color: var(--gold-light); display: inline-flex; align-items: center; justify-content: center; }
.f-ic .ic { width: 18px; height: 18px; }
.f-card-body { display: flex; flex-direction: column; gap: 1px; min-width: 0; font-size: .92rem; color: #DCE2EC; line-height: 1.4; }
.f-card-body b { font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-light); }
.f-card-body a { color: #fff; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.f-card-body a:hover { color: var(--gold-light); }
.f-copy { display: inline-flex; align-items: center; gap: 6px; background: transparent; border: 1px solid rgba(255,255,255,.2); color: #DCE2EC; border-radius: 6px; height: 30px; padding: 0 10px; font: 700 .75rem var(--sans); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.f-copy .ic { width: 14px; height: 14px; }
.f-copy:hover { border-color: var(--gold-light); color: var(--gold-light); }
.f-copy.done { background: var(--gold-light); border-color: var(--gold-light); color: var(--blue-deep); }

/* Bottom bar */
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 44px; padding-top: 20px; display: flex; justify-content: space-between; align-items: center; gap: 14px 24px; flex-wrap: wrap; font-size: .86rem; color: #AEB9CB; }
.fb-left, .fb-right { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; }
.footer-bottom .dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(212,164,82,.7); }
.footer-bottom a { color: #DCE2EC; text-decoration: none; }
.footer-bottom a:hover { color: var(--gold-light); }
.footer-bottom .domain { color: var(--gold-light); font-weight: 700; letter-spacing: .08em; }
.credit a { color: #fff; font-weight: 700; border-bottom: 1px solid rgba(212,164,82,.7); padding-bottom: 1px; transition: color .2s, border-color .2s; }
.credit a:hover { color: var(--gold-light); border-color: var(--gold-light); }
.to-top { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(212,164,82,.6); background: transparent; color: var(--gold-light); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; margin-left: 6px; transition: background .25s, color .25s, transform .25s; }
.to-top:hover { background: var(--gold-light); color: var(--blue-deep); transform: translateY(-3px); }
.to-top .ic { width: 18px; height: 18px; }

@media (max-width: 1080px) { .footer-grid { grid-template-columns: 1fr 1fr; row-gap: 44px; } }
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .f-brand, .f-col.f-touch { grid-column: 1 / -1; }
  .f-logo img { width: 210px; }
  .site-footer .wrap { padding-top: 48px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .fb-right { width: 100%; justify-content: space-between; }
  .fb-left { flex-direction: column; align-items: flex-start; gap: 4px; }
  .fb-left .dot { display: none; }
}

.story-mark svg { width: 100%; height: auto; }
@media (max-width: 900px) and (min-width: 601px) { .story { grid-template-columns: 240px 1fr; gap: 40px; align-items: start; } .story-mark { max-width: 240px; } }

/* ================= Jobs: search, results, grid/list, pagination ================= */
.job-filters { grid-template-columns: 2fr repeat(4, 1fr); }
.job-filters .search { position: relative; }
.job-filters .search input { padding-left: 44px; }
.search-ic { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--stone); display: flex; pointer-events: none; }
.search-ic .ic { width: 20px; height: 20px; }
.results-bar { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px 24px; flex-wrap: wrap; margin: 4px 0 20px; }
.results-count { margin: 0; font-weight: 700; color: var(--blue); min-height: 1.4em; }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.active-filters:empty { display: none; }
.fchip { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: var(--stone-light); color: var(--blue); border-radius: 999px; padding: 5px 12px; font: 600 .85rem var(--sans); cursor: pointer; transition: background .2s, border-color .2s; }
.fchip span { font-size: 1.05rem; line-height: 1; color: var(--slate); }
.fchip:hover { border-color: var(--blue); background: #fff; }
.fchip.clear { background: transparent; border-style: dashed; }
.results-tools { display: flex; align-items: center; gap: 14px; }
.sort { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--slate); font-size: .9rem; }
.sort select { width: auto; padding: 9px 12px; font-size: .92rem; }
.view-toggle { display: inline-flex; border: 1px solid #CBD2DC; border-radius: 8px; overflow: hidden; }
.view-toggle button { width: 44px; height: 42px; display: inline-flex; align-items: center; justify-content: center; background: #fff; border: 0; color: var(--slate); cursor: pointer; transition: background .2s, color .2s; }
.view-toggle button + button { border-left: 1px solid #CBD2DC; }
.view-toggle button[aria-pressed="true"] { background: var(--blue); color: #fff; }
.view-toggle .ic { width: 19px; height: 19px; }

.job-list { transition: opacity .2s ease; }
.job-list.is-loading { opacity: .5; }
.job-card .jc-title { color: inherit; text-decoration: none; }
.job-card .jc-title:hover { color: var(--gold); }
.job-card mark { background: #F6E3BC; color: inherit; border-radius: 3px; padding: 0 2px; }
.job-card .posted { font-size: .82rem; color: var(--stone-text); white-space: nowrap; }
.job-card .actions { align-items: center; }

/* Grid view */
.job-list.is-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
.job-list.is-grid .job-card { display: flex; flex-direction: column; align-items: stretch; gap: 18px; padding: 26px; }
.job-list.is-grid .jc-main { flex: 1; }
.job-list.is-grid .job-card h3 { font-size: 1.3rem; margin: 6px 0 4px; }
.job-list.is-grid .actions { grid-row: auto; grid-column: auto; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 16px; }
.job-list.is-grid .empty { grid-column: 1 / -1; }
/* List view */
.job-list.is-list .actions { flex-direction: column; align-items: flex-end; gap: 8px; }

/* Pagination */
.pager { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 36px; }
.pg { min-width: 42px; height: 42px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; border: 1px solid var(--line); background: #fff; color: var(--blue); font: 700 .95rem var(--sans); text-decoration: none; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.pg:hover:not([disabled]):not(.is-current):not(.gap) { border-color: var(--blue); }
.pg.is-current { background: var(--blue); border-color: var(--blue); color: #fff; }
.pg.gap { border: 0; background: transparent; cursor: default; min-width: 24px; }
.pg[disabled] { opacity: .4; cursor: not-allowed; }

@media (max-width: 1080px) {
  .job-filters { grid-template-columns: 1fr 1fr 1fr; }
  .job-filters .search { grid-column: 1 / -1; }
  .job-list.is-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .job-filters { grid-template-columns: 1fr 1fr; }
  .job-list.is-grid { grid-template-columns: 1fr; }
  .results-tools { width: 100%; justify-content: space-between; }
  .job-list.is-list .actions { flex-direction: row; justify-content: space-between; width: 100%; }
  .pg.pg-step { padding: 0 10px; }
}

/* ================= Premium layer (2026 redesign) ================= */
/* Global rhythm */
section { padding: 104px 0; }
h1, h2 { letter-spacing: -.005em; }
.section-head { margin-bottom: 56px; }
.section-head .lead { margin-bottom: 0; }
.eyebrow::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 2px; background: var(--gold-light); margin-right: 12px; vertical-align: 1px; }
.btn { min-height: 50px; border-radius: 4px; letter-spacing: .01em; }
.btn-sm { min-height: 40px; }
.site-header .wrap { height: 88px; }
.brand img { width: 210px; }

/* Utility bar above the header */
.topbar { background: var(--navy-900); color: #AEB9CB; font-size: .82rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 40px; }
.topbar a { color: #DCE2EC; text-decoration: none; }
.topbar a:hover { color: var(--gold-light); }
.tb-links { display: flex; align-items: center; gap: 22px; }
.tb-links span, .tb-links a { display: inline-flex; align-items: center; gap: 8px; }
.tb-links .ic { width: 15px; height: 15px; color: var(--gold-light); }
.tb-note::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--gold-light); }

/* Home hero */
.home-hero { padding: 72px 0 64px; background: #fff; }
.home-hero .wrap { display: grid; grid-template-columns: 1fr 1.02fr; gap: 64px; align-items: center; }
.home-hero h1 { font-size: clamp(2.6rem, 5vw, 4.4rem); line-height: 1.05; max-width: 600px; margin-bottom: 24px; }
.home-hero .lead { font-size: 1.18rem; margin-bottom: 32px; }
.hh-copy > * { animation: chr-in .8s cubic-bezier(.2,.75,.25,1) both; }
.hh-copy > :nth-child(2) { animation-delay: .08s; }
.hh-copy > :nth-child(3) { animation-delay: .16s; }
.hh-copy > :nth-child(4) { animation-delay: .24s; }
.hh-copy > :nth-child(5) { animation-delay: .32s; }
/* The hero and the next section share a white background, so trim the doubled spacing between them */
.home-hero + section { padding-top: 40px; }
.home-hero .eyebrow { text-wrap: balance; }
.assure { list-style: none; padding: 0; margin: 36px 0 0; display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: .93rem; font-weight: 600; color: var(--slate); }
.assure li { display: inline-flex; align-items: center; gap: 8px; }
.assure .ic { width: 18px; height: 18px; color: var(--gold); }

/* Signature: photo mosaic laid like the stacked stones in the logo */
.stack { display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(6, 1fr); gap: 12px; aspect-ratio: 1 / 1.02; }
.stack > * { border-radius: 6px; overflow: hidden; position: relative; animation: chr-rise .8s cubic-bezier(.2,.75,.25,1) both; }
.stack img { width: 100%; height: 100%; object-fit: cover; }
.s-main { grid-column: 1 / 5; grid-row: 1 / 5; animation-delay: .1s; }
.s-pro { grid-column: 5 / 7; grid-row: 1 / 5; animation-delay: .25s; }
.s-key { grid-column: 1 / 3; grid-row: 5 / 7; background: var(--gold-light); color: var(--blue-deep); padding: 18px; display: flex; flex-direction: column; justify-content: space-between; animation-delay: .45s; }
.s-floor { grid-column: 3 / 7; grid-row: 5 / 7; animation-delay: .55s; }
.s-key svg { width: 38px; height: 38px; }
.s-key p { font-family: var(--serif); font-size: clamp(1.05rem, 1.7vw, 1.35rem); line-height: 1.2; margin: 0; }
.s-tag { position: absolute; left: 12px; bottom: 12px; background: rgba(10,26,51,.82); color: #fff; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 6px 10px; border-radius: 3px; }

/* Trust figures */
.figures-wrap { background: linear-gradient(180deg, #fff 0, #fff 50%, var(--paper) 50%); padding: 0; }
.figures { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow-card); }
.figure { padding: 30px 32px; border-left: 1px solid var(--line); }
.figure:first-child { border-left: 0; }
.figure b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 3.2vw, 2.7rem); line-height: 1.05; color: var(--blue); }
.figure span { display: block; margin-top: 6px; font-size: .92rem; color: var(--slate); }

/* Client logos */
.clients { background: var(--paper); padding: 56px 0 96px; }
.clients-label { text-align: center; font-size: .82rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--stone-text); margin: 0 0 24px; }
.logo-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.logo-slot { height: 76px; border: 1px dashed #C3CBD7; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: .82rem; font-weight: 600; color: var(--stone-text); background: rgba(255,255,255,.6); }

/* Two doors: photo cards for employers and job seekers */
.doors { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.door { background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-card); transition: transform .35s ease, box-shadow .35s ease; }
.door:hover { transform: translateY(-6px); box-shadow: 0 1px 2px rgba(15,36,69,.05), 0 28px 50px -20px rgba(15,36,69,.28); }
.door-img { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.door-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.75,.25,1); }
.door:hover .door-img img { transform: scale(1.04); }
.door-body { padding: 36px 40px 40px; display: flex; flex-direction: column; flex: 1; }
.door-body h3 { font-size: 1.6rem; }
.door-body ul { list-style: none; padding: 0; margin: 8px 0 30px; }
.door-body li { padding: 9px 0 9px 32px; position: relative; border-bottom: 1px solid var(--line); }
.door-body li:last-child { border-bottom: 0; }
.door-body li::before { content: ""; position: absolute; left: 0; top: 13px; width: 18px; height: 18px; border-radius: 4px; background: var(--stone-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316305A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.door-body .btn { margin-top: auto; align-self: flex-start; }

/* Values: photo + four principles */
.values-split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: center; }
.values-photo { position: relative; margin: 0; }
.values-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; }
.values-photo::after { content: ""; position: absolute; left: -14px; bottom: -14px; width: 84px; height: 84px; background: var(--gold-light); border-radius: 6px; z-index: -1; }
.values-photo { z-index: 0; }
.values-photo figcaption { position: absolute; left: 20px; right: 20px; bottom: 20px; background: rgba(10,26,51,.86); color: #fff; font-family: var(--serif); font-size: 1.2rem; line-height: 1.3; padding: 16px 20px; border-radius: 4px; border-left: 3px solid var(--gold-light); }
.vlist { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px 40px; margin-top: 8px; }
.vitem .stone-ic { margin-bottom: 14px; }
.vitem h3 { font-size: 1.3rem; margin-bottom: 8px; }
.vitem p { margin: 0; font-size: .97rem; color: #C5CDD9; }

/* Testimonials */
.voices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.voice { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 36px; display: flex; flex-direction: column; box-shadow: var(--shadow-card); margin: 0; }
.voice .who-tag { font-size: .74rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--stone-text); }
.voice blockquote { margin: 14px 0 28px; font-family: var(--serif); font-size: 1.28rem; line-height: 1.45; color: var(--blue); position: relative; padding-top: 44px; }
.voice blockquote::before { content: "\201C"; position: absolute; top: -6px; left: -4px; font-size: 5.6rem; line-height: 1; color: var(--gold-light); }
.voice figcaption { margin-top: auto; display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid var(--line); }
.voice .avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--blue); color: var(--gold-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.voice .avatar .ic { width: 22px; height: 22px; }
.voice figcaption b { display: block; color: var(--blue); }
.voice figcaption span { font-size: .9rem; color: var(--slate); }

/* Sectors as tiles */
.chips.industries { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.industries .chip { border-radius: 6px; padding: 18px 20px; font-size: .97rem; gap: 12px; }
.industries .chip .ic { width: 22px; height: 22px; }

/* CTA band with photo */
.cta-band { padding: 104px 0; background: linear-gradient(90deg, rgba(10,26,51,.95) 0%, rgba(15,36,69,.88) 55%, rgba(15,36,69,.6) 100%), url('/assets/img/photos/cta-team.jpg') center / cover no-repeat; }
.cta-band h2 { font-size: clamp(2rem, 3.6vw, 3rem); max-width: 640px; }
.cta-band p { color: #C5CDD9; max-width: 560px; }

/* Inner page headers with photo */
.page-hero { grid-template-columns: 1.1fr 1fr; background: var(--paper); }
.ph-copy { padding-top: 72px; padding-bottom: 76px; }
.ph-copy h1 { font-size: clamp(2.4rem, 4.4vw, 3.8rem); line-height: 1.07; }
.crumbs { display: flex; gap: 10px; font-size: .86rem; color: var(--stone-text); margin-bottom: 28px; }
.crumbs a { color: var(--slate); text-decoration: none; font-weight: 600; }
.crumbs a:hover { color: var(--blue); text-decoration: underline; }
.ph-photo { padding: 0; min-height: 440px; background: var(--blue); }
.ph-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph-photo::before { inset: 22px; border-color: rgba(255,255,255,.4); z-index: 1; }
.ph-photo::after { content: ""; position: absolute; left: 0; bottom: 0; width: 88px; height: 88px; background: var(--gold-light); z-index: 1; }
.page-hero.is-plain { grid-template-columns: 1fr; }
.page-hero.is-plain .ph-copy { padding-right: max(24px, calc((100vw - var(--wrap)) / 2)); }

@media (max-width: 1080px) {
  .home-hero .wrap { gap: 44px; }
  .figures { grid-template-columns: repeat(2, 1fr); }
  .figure:nth-child(3) { border-left: 0; }
  .figure:nth-child(n+3) { border-top: 1px solid var(--line); }
  .logo-row { grid-template-columns: repeat(3, 1fr); }
  .chips.industries { grid-template-columns: repeat(3, 1fr); }
  .values-split { gap: 48px; }
}
@media (max-width: 900px) {
  .topbar { display: none; }
  .home-hero { padding-top: 48px; }
  .home-hero .wrap, .doors, .values-split, .voices { grid-template-columns: 1fr; }
  .stack { max-width: 560px; }
  .values-photo { max-width: 460px; }
  .ph-photo { min-height: 300px; }
}
@media (max-width: 600px) {
  section, .cta-band { padding: 72px 0; }
  .home-hero h1 { font-size: 2.5rem; }
  .stack { gap: 8px; }
  .s-key { padding: 12px; }
  .s-key svg { width: 28px; height: 28px; }
  .s-tag { display: none; }
  .figure { padding: 22px 20px; }
  .logo-row, .chips.industries { grid-template-columns: repeat(2, 1fr); }
  .door-body, .voice { padding: 28px 22px; }
  .vlist { grid-template-columns: 1fr; gap: 28px; }
  .ph-photo { min-height: 240px; }
  .ph-photo::after { width: 56px; height: 56px; }
}

/* ================= Quick wins: focus, photos, WhatsApp, mobile bar, FAQ ================= */
/* Keyboard focus: navy-gold ring on light backgrounds, gold on dark ones */
:focus-visible { outline: 3px solid var(--gold-text); outline-offset: 3px; border-radius: 2px; }
.section-blue :focus-visible, .cta-band :focus-visible, .site-footer :focus-visible, .topbar :focus-visible, .info-card :focus-visible, .dlg-head :focus-visible { outline-color: var(--gold-light); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--blue); outline-offset: 1px; box-shadow: 0 0 0 4px rgba(212,164,82,.45); }

/* Responsive photos: <picture> lays out as if the <img> were the direct child */
picture { display: contents; }
.cta-band { background-image: linear-gradient(90deg, rgba(10,26,51,.95) 0%, rgba(15,36,69,.88) 55%, rgba(15,36,69,.6) 100%), image-set(url('/assets/img/photos/cta-team-1600.webp') type('image/webp'), url('/assets/img/photos/cta-team.jpg') type('image/jpeg')); }

/* WhatsApp (desktop: floating pill) */
.wa-float { position: fixed; right: 24px; bottom: 24px; z-index: 60; display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 22px 0 18px; border-radius: 999px; background: #157A44; color: #fff; font-weight: 700; font-size: .95rem; text-decoration: none; box-shadow: 0 12px 30px -8px rgba(10,26,51,.45); transition: transform .25s ease, background .25s ease; }
.wa-float:hover { background: #0F6436; color: #fff; transform: translateY(-3px); }
.wa-float .ic { width: 22px; height: 22px; }
.wa-float:focus-visible { outline-color: var(--blue); }

/* Mobile action bar */
.mbar { display: none; }

/* FAQ */
.faq-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 64px; align-items: start; }
.faq-h { font-family: var(--sans); font-size: .8rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--stone-text); margin: 0 0 8px; padding-bottom: 14px; border-bottom: 2px solid var(--blue); }
.faq-group details { border-bottom: 1px solid var(--line); }
.faq-group summary { list-style: none; cursor: pointer; position: relative; padding: 20px 44px 20px 0; font-weight: 700; font-size: 1.05rem; color: var(--blue); line-height: 1.4; }
.faq-group summary::-webkit-details-marker { display: none; }
.faq-group summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 4px; background: var(--stone-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316305A' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat; transition: background-color .25s ease; }
.faq-group details[open] summary::after { background-color: var(--gold-light); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316305A' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 12h12'/%3E%3C/svg%3E"); }
.faq-group summary:hover { color: var(--blue-deep); }
.faq-group details p { margin: -4px 0 0; padding: 0 44px 22px 0; color: var(--slate); }

@media (max-width: 900px) {
  .wa-float { display: none; }
  .mbar { display: grid; grid-template-columns: 1.2fr 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -12px rgba(10,26,51,.25); padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px)); gap: 8px; }
  .mbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 52px; border-radius: 6px; text-decoration: none; font-size: .78rem; font-weight: 700; color: var(--blue); }
  .mbar a .ic { width: 20px; height: 20px; }
  .mbar a:last-child { color: #157A44; }
  .mbar .mbar-main { background: var(--blue); color: #fff; }
  body:has(.mbar) { padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)); }
  .menu-open .mbar { display: none; }
  .faq-cols { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 600px) {
  .cta-band { background-image: linear-gradient(180deg, rgba(10,26,51,.94), rgba(15,36,69,.9)), image-set(url('/assets/img/photos/cta-team-800.webp') type('image/webp'), url('/assets/img/photos/cta-team.jpg') type('image/jpeg')); }
}

/* ================= Inner pages ================= */
/* Shared tick list (light variant for navy cards) */
.ticks { list-style: none; padding: 0; margin: 4px 0 28px; }
.ticks li { padding: 10px 0 10px 32px; position: relative; border-bottom: 1px solid var(--line); }
.ticks li:last-child { border-bottom: 0; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 14px; width: 18px; height: 18px; border-radius: 4px; background: var(--stone-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316305A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.ticks.light li { border-bottom-color: rgba(255,255,255,.14); color: #E3E8F0; }
.ticks.light li::before { background-color: var(--gold-light); }

/* Service cards */
.service { border-radius: 8px; padding: 36px 34px 30px; box-shadow: var(--shadow-card); }
.service .icon { width: 56px; height: 56px; border-radius: 8px; }
.service h3 { font-size: 1.4rem; }
.service ul { margin-bottom: 24px; }
.svc-link { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .95rem; text-decoration: none; color: var(--blue); }
.svc-link:hover { color: var(--gold-text); }
.svc-link:hover .arr { transform: translateX(4px); }

/* Services: career support with photo */
.support-split { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: center; }
.support-photo { position: relative; margin: 0; z-index: 0; }
.support-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; }
.support-photo::after { content: ""; position: absolute; right: -14px; top: -14px; width: 84px; height: 84px; background: var(--gold-light); border-radius: 6px; z-index: -1; }
.support-photo figcaption { position: absolute; left: 20px; bottom: 20px; background: #fff; border-radius: 6px; padding: 14px 18px; box-shadow: var(--shadow-card); font-size: .9rem; font-weight: 600; color: var(--slate); max-width: 220px; line-height: 1.35; }
.support-photo figcaption b { display: block; font-family: var(--serif); font-weight: 400; font-size: 2rem; color: var(--blue); line-height: 1.1; }

/* Services: requirement brief card */
.brief-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.brief-card { background: var(--blue); border-radius: 8px; padding: 40px; box-shadow: var(--shadow-card); position: relative; overflow: hidden; }
.brief-card::before { content: ""; position: absolute; left: 0; top: 0; width: 72px; height: 6px; background: var(--gold-light); }
.brief-label { display: block; font-size: .78rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 8px; }

/* About: mission & vision band */
.mv-band { padding: 88px 0; }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.mv2 { padding: 8px 56px 8px 0; }
.mv2 + .mv2 { padding: 8px 0 8px 56px; border-left: 1px solid rgba(255,255,255,.18); }
.mv2 p { font-family: var(--serif); font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.3; color: #fff; margin: 0; }

/* About: at a glance */
.glance { background: var(--paper); padding: 64px 0; }
.legal-line { text-align: center; margin: 20px 0 0; font-size: .88rem; color: var(--stone-text); }

/* About: team */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.member { background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-card); display: flex; flex-direction: column; }
.member-photo { aspect-ratio: 1 / 1; background: linear-gradient(160deg, var(--stone-light), #D5DCE6); color: #9AA7BA; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; position: relative; }
.member-photo svg { width: 38%; height: auto; }
.member-photo span { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--stone-text); }
.member-photo::after { content: ""; position: absolute; left: 0; bottom: 0; width: 44px; height: 44px; background: var(--gold-light); }
.member-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.member-body { padding: 22px 24px 26px; }
.member-body h3 { font-size: 1.3rem; margin-bottom: 4px; }
.member-body .role { display: block; font-size: .82rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 12px; }
.member-body p { margin: 0; font-size: .93rem; color: var(--slate); }

/* Jobs: raised search card under the page header */
.jobs-search { padding-top: 0; }
.jobs-search .job-filters { position: relative; z-index: 2; margin-top: -44px; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 16px; box-shadow: 0 1px 2px rgba(15,36,69,.05), 0 24px 48px -20px rgba(15,36,69,.28); margin-bottom: 36px; }

/* Contact: routes and next steps */
.routes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 48px; }
.route { display: flex; gap: 16px; align-items: center; padding: 22px 24px; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow-card); text-decoration: none; color: var(--slate); transition: transform .25s ease, border-color .25s ease; }
.route:hover { transform: translateY(-3px); border-color: var(--stone); color: var(--slate); }
.route b { display: block; color: var(--blue); font-size: 1.05rem; }
.route span span { font-size: .92rem; }
.route-ic { width: 48px; height: 48px; border-radius: 8px; background: var(--blue); color: var(--gold-light); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.route-ic .ic { width: 22px; height: 22px; }
.route-ic.is-wa { background: #157A44; color: #fff; }
.next-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: ns; }
.next-steps li { counter-increment: ns; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 30px 30px 28px; position: relative; box-shadow: var(--shadow-card); }
.next-steps li::before { content: counter(ns); display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 6px; background: var(--blue); color: #fff; font-family: var(--serif); font-size: 1.2rem; margin-bottom: 18px; }
.next-steps li:first-child::before { background: var(--gold-light); color: var(--blue-deep); }
.next-steps h3 { font-size: 1.25rem; margin-bottom: 8px; }
.next-steps p { margin: 0; color: var(--slate); font-size: .97rem; }

@media (max-width: 1080px) {
  .team { grid-template-columns: repeat(2, 1fr); }
  .support-split, .brief-split { gap: 48px; }
}
@media (max-width: 900px) {
  .support-split, .brief-split, .mv-grid, .routes, .next-steps { grid-template-columns: 1fr; }
  .support-photo { max-width: 420px; }
  .mv2, .mv2 + .mv2 { padding: 0; border-left: 0; }
  .mv2 + .mv2 { margin-top: 32px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.18); }
  .jobs-search .job-filters { margin-top: -28px; }
}
@media (max-width: 600px) {
  .team { grid-template-columns: 1fr 1fr; gap: 14px; }
  .member-body { padding: 16px; }
  .member-body h3 { font-size: 1.1rem; }
  .member-body p { display: none; }
  .member-photo::after { width: 26px; height: 26px; }
  .brief-card { padding: 28px 22px; }
  .glance { padding: 48px 0; }
}

/* ================= Dropdowns ================= */
/* Every browser: branded closed state with a navy chevron */
select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 44px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316305A' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 18px; transition: border-color .2s ease, box-shadow .2s ease; text-overflow: ellipsis; }
select:hover { border-color: var(--stone); }
.sort select { padding-right: 38px; background-position: right 10px center; background-size: 16px; }

/* Chrome & Edge: fully styled open list (other browsers keep their native list) */
@supports (appearance: base-select) {
  select, ::picker(select) { appearance: base-select; }
  select { display: inline-flex; align-items: center; gap: 10px; background-image: none; padding-right: 14px; white-space: nowrap; overflow: hidden; }
  .sort select { padding-right: 10px; }
  select::picker-icon { content: ""; flex-shrink: 0; margin-left: auto; width: 18px; height: 18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316305A' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat; transition: rotate .2s ease; }
  select:open { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(22,48,90,.08); }
  select:open::picker-icon { rotate: 180deg; }
  ::picker(select) { margin-block: 6px; padding: 6px; min-width: anchor-size(width); max-height: min(340px, 60vh); overflow-y: auto; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 2px 4px rgba(15,36,69,.06), 0 22px 44px -16px rgba(15,36,69,.32); opacity: 1; translate: 0 0; transition: opacity .16s ease, translate .16s ease, display .16s allow-discrete, overlay .16s allow-discrete; }
  ::picker(select):not(:popover-open) { opacity: 0; translate: 0 -4px; }
  @starting-style { ::picker(select):popover-open { opacity: 0; translate: 0 -4px; } }
  option { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 6px; font-size: .97rem; color: var(--ink); cursor: pointer; white-space: normal; line-height: 1.35; }
  option:hover, option:focus-visible { background: var(--stone-light); color: var(--blue); outline: none; }
  option:checked { font-weight: 700; color: var(--blue); }
  option::checkmark { order: 1; margin-left: auto; content: ""; width: 16px; height: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238F6417' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; }
  option[value=""] { color: var(--slate); }
}
@media (prefers-reduced-motion: reduce) { ::picker(select) { transition: none; } }
