/* ==========================================================================
   AMANST — modern theme (Bootstrap 5.3 + custom)
   Brand: navy #122059, deep navy #0a1033, royal blue #212cc5, amber #ff9d0b
   ========================================================================== */
:root {
  --brand-navy: #122059;
  --brand-navy-900: #0a1033;
  --brand-blue: #212cc5;
  --brand-blue-600: #1b24a3;
  --brand-amber: #ff9d0b;
  --brand-amber-600: #e88900;
  --brand-amber-text: #a85a00;     /* amber dark enough for text on white (AA) */
  --ink: #1b2033;
  --muted: #5b6478;
  --line: #e4e7ef;
  --surface: #f5f7fb;
  --radius: 14px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 64, .06), 0 1px 3px rgba(16, 24, 64, .08);
  --shadow-md: 0 10px 30px -12px rgba(16, 24, 64, .25);

  --bs-body-font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --bs-body-color: var(--ink);
  --bs-link-color: var(--brand-blue);
  --bs-link-color-rgb: 33, 44, 197;
  --bs-link-hover-color: var(--brand-navy);
  --bs-link-hover-color-rgb: 18, 32, 89;
  --bs-border-color: var(--line);
}

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

body {
  font-family: var(--bs-body-font-family);
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  display: flex; flex-direction: column; min-height: 100vh;
}
main { flex: 1 0 auto; }
main:focus { outline: none; }
h1, h2, h3, h4, h5, h6 { color: var(--brand-navy-900); font-weight: 700; letter-spacing: -0.015em; }
a { text-underline-offset: .15em; }

/* Accessible focus states */
:focus-visible { outline: 3px solid var(--brand-amber); outline-offset: 2px; border-radius: 4px; }
.btn:focus-visible, .form-control:focus, .form-check-input:focus, .btn-close:focus {
  box-shadow: 0 0 0 .25rem rgba(255, 157, 11, .45) !important; outline: none;
}
.form-control:focus { border-color: var(--brand-amber-600); }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 2000;
  background: var(--brand-amber); color: var(--brand-navy-900); font-weight: 600;
  padding: .6rem 1rem; border-radius: 8px; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.text-accent { color: var(--brand-amber); }
.text-brand { color: var(--brand-blue); }
.rounded-4 { border-radius: var(--radius) !important; }
.shadow-soft { box-shadow: var(--shadow-md); }

/* ---------- Buttons ---------- */
.btn { font-weight: 600; border-radius: 10px; letter-spacing: .005em; }
.btn-lg { padding: .8rem 1.4rem; font-size: 1rem; }
.btn-accent { --bs-btn-color: var(--brand-navy-900); --bs-btn-bg: var(--brand-amber); --bs-btn-border-color: var(--brand-amber);
  --bs-btn-hover-color: var(--brand-navy-900); --bs-btn-hover-bg: #ffb23f; --bs-btn-hover-border-color: #ffb23f;
  --bs-btn-active-color: var(--brand-navy-900); --bs-btn-active-bg: var(--brand-amber-600); --bs-btn-active-border-color: var(--brand-amber-600); }
.btn-brand { --bs-btn-color: #fff; --bs-btn-bg: var(--brand-blue); --bs-btn-border-color: var(--brand-blue);
  --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--brand-blue-600); --bs-btn-hover-border-color: var(--brand-blue-600);
  --bs-btn-active-color: #fff; --bs-btn-active-bg: var(--brand-navy); --bs-btn-active-border-color: var(--brand-navy);
  --bs-btn-disabled-bg: var(--brand-blue); --bs-btn-disabled-border-color: var(--brand-blue); }
.btn-outline-brand { --bs-btn-color: var(--brand-blue); --bs-btn-border-color: rgba(33, 44, 197, .35);
  --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--brand-blue); --bs-btn-hover-border-color: var(--brand-blue);
  --bs-btn-active-color: #fff; --bs-btn-active-bg: var(--brand-navy); --bs-btn-active-border-color: var(--brand-navy); }

/* ---------- Header / navbar ---------- */
.site-header { background: rgba(10, 16, 51, .97); backdrop-filter: saturate(140%) blur(8px); transition: box-shadow .2s ease; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, .25); }
.site-header .navbar { padding-top: .7rem; padding-bottom: .7rem; }
.site-header .nav-link { color: rgba(255, 255, 255, .82); font-weight: 500; font-size: .95rem; padding: .5rem .8rem !important; border-radius: 8px; }
.site-header .nav-link:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.site-header .nav-link.active { color: #fff; box-shadow: inset 0 -2px 0 var(--brand-amber); border-radius: 0; }
.site-header .nav-icon { font-size: 1.1rem; }
.navbar-toggler { border-color: rgba(255, 255, 255, .25); }
@media (max-width: 991.98px) {
  .site-header .navbar-collapse { padding: .75rem 0 .5rem; }
  .site-header .nav-link.active { box-shadow: inset 3px 0 0 var(--brand-amber); padding-left: 1rem !important; }
}

.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; }
.brand-mark {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-navy)); color: var(--brand-amber);
  font-weight: 800; font-size: 1.25rem; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { color: #fff; font-weight: 800; font-size: 1.35rem; letter-spacing: .04em; }
.brand-tagline { color: rgba(255, 255, 255, .72); font-size: .72rem; font-style: italic; letter-spacing: .02em; margin-top: 2px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; isolation: isolate;
  background: var(--brand-navy-900) var(--hero-image) center / cover no-repeat;
  padding: clamp(5rem, 14vw, 9.5rem) 0 clamp(4.5rem, 12vw, 8rem);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(10, 16, 51, .94) 0%, rgba(18, 32, 89, .86) 45%, rgba(33, 44, 197, .55) 100%);
}
.hero-title { color: #fff; font-size: clamp(2.5rem, 6.5vw, 4.4rem); font-weight: 800; line-height: 1.04; letter-spacing: -0.03em; margin-bottom: 1.1rem; }
.hero-lead { font-size: clamp(1.05rem, 2vw, 1.25rem); color: rgba(255, 255, 255, .88); max-width: 40rem; line-height: 1.6; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--brand-amber-text); margin-bottom: .75rem; }
.eyebrow-light { color: var(--brand-amber); }

/* Inner page header */
.page-header {
  position: relative; isolation: isolate; color: #fff;
  background: var(--brand-navy) var(--hero-image) center / cover no-repeat;
  padding: clamp(2.75rem, 7vw, 4.5rem) 0 clamp(2.5rem, 6vw, 3.75rem);
}
.page-header::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(10, 16, 51, .95), rgba(33, 44, 197, .78)); }
.page-title { color: #fff; font-size: clamp(1.9rem, 4.5vw, 2.9rem); font-weight: 800; margin: .35rem 0 0; }
.page-subtitle { color: rgba(255, 255, 255, .85); font-size: 1.1rem; margin: .6rem 0 0; max-width: 44rem; }
.breadcrumb-light { margin: 0; font-size: .9rem; --bs-breadcrumb-divider-color: rgba(255, 255, 255, .6); --bs-breadcrumb-item-active-color: rgba(255, 255, 255, .85); }
.breadcrumb-light a { color: #fff; text-decoration: none; }
.breadcrumb-light a:hover { text-decoration: underline; }

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 8vw, 5.5rem) 0; }
.section-tight { padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(3rem, 7vw, 5rem); }
.section-head { max-width: 52rem; margin-bottom: 2.5rem; }
.section-title { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 800; line-height: 1.2; }

.feature-card, .info-card, .content-card, .form-card, .summary-card, .filter-panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.feature-card { padding: 2rem; transition: transform .2s ease, box-shadow .2s ease; }
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.feature-card h3 { font-size: 1.3rem; margin: 1.1rem 0 .5rem; }
.feature-card p { color: var(--muted); margin: 0; line-height: 1.65; }
.feature-icon {
  display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; flex: none;
  background: rgba(33, 44, 197, .08); color: var(--brand-blue); font-size: 1.45rem;
}
.tech-list { list-style: none; padding: 0; margin: .25rem 0 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.tech-list li { font-size: .8rem; font-weight: 500; color: var(--brand-navy); background: var(--surface); border: 1px solid var(--line); padding: .25rem .6rem; border-radius: 999px; }

.cta-band { padding: 0 0 clamp(3.5rem, 8vw, 5.5rem); }
.cta-inner {
  display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: space-between;
  background: linear-gradient(120deg, var(--brand-navy-900), var(--brand-blue)); color: #fff;
  border-radius: calc(var(--radius) + 6px); padding: clamp(1.75rem, 4vw, 3rem);
}
.cta-inner h2 { color: #fff; font-size: clamp(1.4rem, 3vw, 1.9rem); margin-bottom: .35rem; }
.cta-inner p { color: rgba(255, 255, 255, .85); }

.prose { line-height: 1.75; color: #2c3245; }
.prose .lead { font-size: 1.15rem; color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li { margin-bottom: .35rem; }
.prose img { max-width: 100%; height: auto; }
.prose table { width: 100%; }

/* ---------- Contact ---------- */
.info-card { display: flex; gap: 1rem; align-items: center; padding: 1.4rem; }
.info-label { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; margin: 0 0 .2rem; }
.info-card a { color: var(--brand-navy); font-weight: 600; text-decoration: none; }
.info-card a:hover { color: var(--brand-blue); text-decoration: underline; }
.form-card { padding: clamp(1.5rem, 4vw, 2.5rem); }
.contact-image { width: 100%; height: 100%; object-fit: cover; min-height: 420px; }
.form-label { font-weight: 600; font-size: .9rem; color: var(--brand-navy-900); }
.form-control, .input-group-text { border-radius: 10px; padding: .65rem .85rem; border-color: #cfd5e3; }
.input-group > .form-control { border-top-left-radius: 0; border-bottom-left-radius: 0; }
.input-group-text { background: var(--surface); border-top-right-radius: 0; border-bottom-right-radius: 0; }
.form-control::placeholder { color: #8a93a6; }
.req { color: #c2410c; font-weight: 700; }

/* ---------- Jobs list ---------- */
.filter-panel { padding: 1.4rem; position: sticky; top: 96px; }
.filter-title { font-size: 1.05rem; }
.filter-group { border: 0; padding: 0; margin: 0 0 1.25rem; }
.filter-group:last-child { margin-bottom: 0; }
.filter-group legend { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: .6rem; }
.filter-group .form-check { margin-bottom: .45rem; }
.filter-group .form-check-label { font-size: .95rem; text-transform: capitalize; cursor: pointer; }
.form-check-input:checked { background-color: var(--brand-blue); border-color: var(--brand-blue); }
@media (max-width: 991.98px) { .filter-panel { position: static; } }

.jobs-toolbar { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; }
.search-box { position: relative; flex: 1 1 320px; max-width: 520px; }
.search-box i { position: absolute; left: .95rem; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search-box .form-control { padding-left: 2.6rem; height: 48px; }
.jobs-count { color: var(--muted); font-weight: 600; font-size: .95rem; }

.job-list { display: grid; gap: 1rem; }
.job-card {
  position: relative; display: flex; gap: 1.25rem; justify-content: space-between; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.35rem 1.5rem;
  box-shadow: var(--shadow-sm); transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.job-card[hidden] { display: none; }
.job-card:hover, .job-card:focus-within { border-color: rgba(33, 44, 197, .4); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.job-title { font-size: 1.15rem; margin: 0 0 .55rem; text-transform: capitalize; }
.job-title a { color: var(--brand-navy-900); text-decoration: none; }
.job-title a:hover { color: var(--brand-blue); }
.job-title a:focus-visible { outline: none; }
.job-title a:focus-visible::after { outline: 3px solid var(--brand-amber); outline-offset: 2px; border-radius: var(--radius); }
.job-meta { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .35rem 1.25rem; color: var(--muted); font-size: .9rem; }
.job-meta li { display: inline-flex; align-items: center; gap: .4rem; }
.job-meta li:first-child { text-transform: capitalize; }
.job-card-side { display: flex; flex-direction: column; align-items: flex-end; gap: .6rem; flex: none; text-align: right; }
.deadline { margin: 0; font-size: .85rem; color: var(--ink); font-weight: 600; }
.deadline span { display: block; font-weight: 500; color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; }
.badge-req { background: var(--brand-navy); color: #fff; font-weight: 600; letter-spacing: .02em; border-radius: 6px; padding: .4em .6em; }
.badge-soft { background: rgba(33, 44, 197, .08); color: var(--brand-blue); font-weight: 600; border-radius: 6px; padding: .4em .6em; text-transform: capitalize; }
@media (max-width: 575.98px) {
  .job-card { flex-direction: column; align-items: stretch; padding: 1.15rem; }
  .job-card-side { flex-direction: row; justify-content: space-between; align-items: center; text-align: left; border-top: 1px solid var(--line); padding-top: .85rem; }
}
.empty-state { text-align: center; padding: 3rem 1rem; border: 1px dashed #cfd5e3; border-radius: var(--radius); background: var(--surface); }
.empty-state > i { font-size: 2rem; color: var(--muted); }
.empty-state[hidden] { display: none; }

/* ---------- Job detail ---------- */
.content-card { padding: clamp(1.5rem, 4vw, 2.5rem); }
.summary-card { padding: 1.5rem; top: 96px; z-index: 1; }
.summary-list { margin: 0; display: grid; gap: 0; }
.summary-list > div { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.summary-list > div:last-child { border-bottom: 0; }
.summary-list dt { font-weight: 500; color: var(--muted); font-size: .9rem; }
.summary-list dd { margin: 0; font-weight: 600; text-align: right; }
.summary-list .deadline-row dd { color: #b42318; }
.job-description h1, .job-description h2, .job-description h3 { font-size: 1.15rem; margin-top: 1.5rem; }

.modal-content { border: 0; border-radius: calc(var(--radius) + 4px); box-shadow: 0 30px 60px -20px rgba(10, 16, 51, .45); }
.modal-header, .modal-footer { border-color: var(--line); padding: 1.15rem 1.5rem; }
.modal-body { padding: 1.5rem; }

/* ---------- Legal ---------- */
.legal { max-width: 860px; }
.legal h2 { font-size: 1.4rem; margin: 2.25rem 0 .75rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.legal h2:first-of-type { border-top: 0; padding-top: 0; }
.legal h3 { font-size: 1.15rem; margin: 1.5rem 0 .5rem; }
.legal h4 { font-size: 1rem; margin: 1.25rem 0 .4rem; }
.legal p { margin-bottom: .85rem; }
.legal ul li p { margin-bottom: .35rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--brand-navy-900); color: rgba(255, 255, 255, .78); padding: 3.5rem 0 1.5rem; font-size: .95rem; flex-shrink: 0; }
.footer-heading { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; margin-bottom: 1rem; }
.footer-blurb { max-width: 22rem; }
.footer-links li { margin-bottom: .55rem; }
.site-footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.site-footer a:hover { color: var(--brand-amber); text-decoration: underline; }
.footer-contact li { display: flex; gap: .7rem; align-items: center; margin-bottom: .65rem; }
.footer-contact i { color: var(--brand-amber); }
.footer-social { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: rgba(255, 255, 255, .08); font-size: 1.1rem; }
.footer-social:hover { background: var(--brand-amber); color: var(--brand-navy-900) !important; text-decoration: none !important; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 2.5rem; padding-top: 1.25rem; font-size: .85rem; color: rgba(255, 255, 255, .65); }

/* ==========================================================================
   v2 — premium layer (overrides above)
   ========================================================================== */
:root {
  --radius: 18px;
  --glass-bg: rgba(255, 255, 255, .08);
  --glass-border: rgba(255, 255, 255, .16);
  --shadow-md: 0 18px 40px -18px rgba(10, 16, 51, .35);
  --shadow-lg: 0 30px 70px -30px rgba(10, 16, 51, .55);
  --header-h: 76px;
}
body { font-feature-settings: "cv11", "ss01"; letter-spacing: -0.003em; }
h1, h2, h3 { letter-spacing: -0.025em; }
.text-white-75 { color: rgba(255, 255, 255, .8) !important; }

/* ---------- Header: transparent over dark heroes, glass on scroll ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1030; background: transparent; backdrop-filter: none;
  transition: background-color .3s ease, box-shadow .3s ease, backdrop-filter .3s ease; }
.site-header .navbar { min-height: var(--header-h); }
.site-header.is-scrolled, .site-header.menu-open {
  background: rgba(10, 16, 51, .82); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06), 0 12px 30px -12px rgba(0, 0, 0, .45);
}
@media (max-width: 991.98px) { .site-header .navbar-collapse { padding-bottom: 1rem; } }
.brand-mark { background: linear-gradient(135deg, #2b38e0, var(--brand-navy)); box-shadow: 0 6px 18px -6px rgba(33, 44, 197, .8), inset 0 0 0 1px rgba(255,255,255,.15); }
.btn-glow { box-shadow: 0 10px 28px -10px rgba(255, 157, 11, .75); }
.btn-glow:hover { box-shadow: 0 14px 34px -10px rgba(255, 157, 11, .9); transform: translateY(-1px); }
.btn { transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease; }
.btn-glass { --bs-btn-color: #fff; --bs-btn-bg: rgba(255,255,255,.08); --bs-btn-border-color: rgba(255,255,255,.35);
  --bs-btn-hover-color: var(--brand-navy-900); --bs-btn-hover-bg: #fff; --bs-btn-hover-border-color: #fff;
  --bs-btn-active-color: var(--brand-navy-900); --bs-btn-active-bg: #e9ecf7; backdrop-filter: blur(8px); }

/* ---------- Mesh gradient ---------- */
.hero-mesh { position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(48rem 32rem at 12% 18%, rgba(33, 44, 197, .55), transparent 62%),
    radial-gradient(40rem 28rem at 88% 8%, rgba(255, 157, 11, .22), transparent 60%),
    radial-gradient(50rem 30rem at 70% 100%, rgba(43, 56, 224, .35), transparent 65%);
}
.mesh-soft { opacity: .8; }
@media (prefers-reduced-motion: no-preference) {
  .hero-v2 .hero-mesh { animation: meshDrift 18s ease-in-out infinite alternate; }
}
@keyframes meshDrift { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(-2%, 1.5%, 0) scale(1.06); } }

/* ---------- Home hero ---------- */
.hero-v2 { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--brand-navy-900);
  padding: calc(var(--header-h) + clamp(3.5rem, 9vw, 7rem)) 0 clamp(4.5rem, 10vw, 8rem); }
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; z-index: -2; }
.hero-v2::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, rgba(10,16,51,.96) 0%, rgba(10,16,51,.86) 42%, rgba(18,32,89,.55) 75%, rgba(10,16,51,.65) 100%),
              linear-gradient(0deg, rgba(10,16,51,.9) 0%, transparent 35%); }
.hero-v2-inner { position: relative; z-index: 1; }
.display-hero { color: #fff; font-size: clamp(2.4rem, 6vw, 4.6rem); font-weight: 800; line-height: 1.03; letter-spacing: -0.04em; margin: 1.1rem 0 1.25rem; }
.text-gradient { background: linear-gradient(92deg, #ffb53d 0%, #ff9d0b 45%, #ffd18a 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { font-size: clamp(1.05rem, 1.8vw, 1.25rem); color: rgba(255,255,255,.86); max-width: 38rem; }
.pill { display: inline-flex; align-items: center; gap: .55rem; margin: 0; padding: .45rem .9rem; border-radius: 999px;
  background: var(--glass-bg); border: 1px solid var(--glass-border); backdrop-filter: blur(10px);
  font-size: .82rem; font-weight: 600; color: rgba(255,255,255,.92); letter-spacing: .02em; }
.pill-dot, .live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-amber); box-shadow: 0 0 0 4px rgba(255,157,11,.22); flex: none; }
.hero-checks { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; color: rgba(255,255,255,.85); font-size: .95rem; }
.hero-checks i { color: var(--brand-amber); margin-right: .35rem; }

.glass-panel { position: relative; padding: 1.6rem; border-radius: 22px; background: linear-gradient(160deg, rgba(255,255,255,.14), rgba(255,255,255,.05));
  border: 1px solid var(--glass-border); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.18); }
.glass-panel-head { display: flex; align-items: center; gap: .6rem; font-weight: 700; font-size: .9rem; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.85); margin-bottom: 1rem; }
.role-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.role-list li { display: flex; align-items: center; gap: .85rem; padding: .7rem .85rem; border-radius: 12px; background: rgba(10,16,51,.35); border: 1px solid rgba(255,255,255,.08); font-weight: 600; color: #fff; }
.role-ico { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: rgba(255,157,11,.16); color: var(--brand-amber); flex: none; }
.glass-panel-link { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1.1rem; color: var(--brand-amber); font-weight: 700; text-decoration: none; }
.glass-panel-link:hover { color: #ffc266; text-decoration: underline; }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--brand-navy-900);
  padding: calc(var(--header-h) + clamp(2.5rem, 6vw, 4.5rem)) 0 clamp(2.75rem, 6vw, 4.25rem); }
.page-hero-tall { padding-bottom: clamp(5rem, 12vw, 9rem); padding-top: calc(var(--header-h) + clamp(4rem, 10vw, 7rem)); }
.page-hero-bg { position: absolute; inset: 0; z-index: -2; background: var(--hero-image) center 40% / cover no-repeat; opacity: .38; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(10,16,51,.95) 10%, rgba(10,16,51,.7) 60%, rgba(18,32,89,.6)); }
.page-hero .hero-mesh { z-index: -1; }
.page-title { font-size: clamp(2rem, 5vw, 3.3rem); letter-spacing: -0.035em; line-height: 1.08; }
.page-subtitle { max-width: 46rem; }

/* ---------- Sections ---------- */
.section-alt { background: linear-gradient(180deg, #f6f8fc 0%, #eef2fa 100%); }
.section-dark { position: relative; isolation: isolate; overflow: hidden; background: var(--brand-navy-900); color: #fff; }
.section-dark .hero-mesh { z-index: -1; }
.section-head { margin-left: 0; text-align: left; max-width: 48rem; }
.section-lead { color: var(--muted); font-size: 1.08rem; line-height: 1.7; margin-top: .75rem; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; }
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }

/* Stats strip */
.stats-strip { position: relative; z-index: 2; margin-top: -3.25rem; }
.stats-strip.stats-inline { margin-top: 0; padding: 0 0 clamp(3rem, 7vw, 5rem); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-lg); overflow: hidden; }
.stat { padding: 1.6rem 1.25rem; text-align: center; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat-value { margin: 0; font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 800; color: var(--brand-navy-900); letter-spacing: -0.03em; line-height: 1.1; }
.stat-label { margin: .35rem 0 0; color: var(--muted); font-weight: 500; font-size: .92rem; }
.placeholder-text { color: var(--brand-amber-text); background: rgba(255,157,11,.12); border: 1px dashed rgba(168,90,0,.5); border-radius: 8px; padding: 0 .35rem; }
@media (max-width: 767.98px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* Icon tiles & cards */
.icon-tile { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; flex: none;
  background: linear-gradient(140deg, rgba(33,44,197,.12), rgba(33,44,197,.04)); color: var(--brand-blue); font-size: 1.5rem;
  box-shadow: inset 0 0 0 1px rgba(33,44,197,.12); }
.icon-tile-sm { width: 44px; height: 44px; font-size: 1.2rem; border-radius: 12px; }
.service-card { position: relative; height: 100%; padding: 2rem 1.75rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; overflow: hidden; }
.service-card::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--brand-blue), var(--brand-amber)); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(33,44,197,.25); }
.service-card:hover::after { transform: scaleX(1); }
.service-card h3 { font-size: 1.2rem; margin: 1.25rem 0 .55rem; }
.service-card p { color: var(--muted); margin: 0; line-height: 1.65; }

.tech-cloud { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.tech-cloud li { padding: .45rem .85rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: .88rem; color: var(--brand-navy); box-shadow: var(--shadow-sm); }
.media-stack { position: relative; padding-bottom: 3rem; }
.media-main { width: 100%; height: auto; border-radius: 22px; box-shadow: var(--shadow-lg); }
.media-float { position: absolute; width: 42%; height: auto; right: -1rem; bottom: 0; border-radius: 16px; border: 6px solid #fff; box-shadow: var(--shadow-lg); }
@media (max-width: 575.98px) { .media-float { right: .5rem; width: 50%; } }

.sector-card { height: 100%; padding: 1.75rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease; }
.sector-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.sector-card > i { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: rgba(255,157,11,.14); color: var(--brand-amber-text); font-size: 1.35rem; }
.sector-card h3 { font-size: 1.08rem; margin: 1rem 0 .35rem; }
.sector-card p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; counter-reset: none; }
@media (max-width: 991.98px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 1.75rem 1.5rem; border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(10px); }
.step-num { display: inline-block; font-size: .85rem; font-weight: 800; letter-spacing: .1em; color: var(--brand-navy-900); background: var(--brand-amber); border-radius: 8px; padding: .25rem .55rem; }
.step h3 { color: #fff; font-size: 1.15rem; margin: 1.1rem 0 .45rem; }
.step p { color: rgba(255,255,255,.8); margin: 0; line-height: 1.6; }

/* Why */
.why-list { display: grid; gap: 1.35rem; margin-top: 1.75rem; }
.why-item { display: flex; gap: 1rem; align-items: flex-start; }
.why-item h3 { font-size: 1.05rem; margin: .2rem 0 .25rem; }
.why-item p { margin: 0; color: var(--muted); }
.photo-card { position: relative; }
.photo-card img { width: 100%; height: auto; border-radius: 22px; box-shadow: var(--shadow-lg); }
.glass-chip { position: absolute; left: 1.25rem; bottom: 1.25rem; display: inline-flex; align-items: center; gap: .5rem; padding: .6rem 1rem; border-radius: 999px;
  background: rgba(10,16,51,.7); color: #fff; font-weight: 600; font-size: .9rem; backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.18); }
.glass-chip i { color: var(--brand-amber); }

/* Quotes */
.quote-card { height: 100%; margin: 0; padding: 2rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.quote-card > i { font-size: 2.2rem; color: var(--brand-amber-text); line-height: 1; }
.quote-card blockquote { margin: .75rem 0 1rem; font-size: 1.1rem; line-height: 1.6; color: var(--ink); }
.quote-card figcaption { color: var(--muted); font-weight: 600; }
.placeholder-block { border: 2px dashed rgba(168,90,0,.45); background: repeating-linear-gradient(135deg, #fff, #fff 12px, #fffaf1 12px, #fffaf1 24px); }

/* FAQ */
.faq .accordion-item { border: 1px solid var(--line); border-radius: 14px !important; overflow: hidden; margin-bottom: .75rem; box-shadow: var(--shadow-sm); }
.faq .accordion-button { font-weight: 600; font-size: 1.02rem; color: var(--brand-navy-900); padding: 1.1rem 1.25rem; }
.faq .accordion-button:not(.collapsed) { background: rgba(33,44,197,.05); color: var(--brand-blue); box-shadow: none; }
.faq .accordion-button:focus { box-shadow: 0 0 0 .25rem rgba(255,157,11,.45); }
.faq .accordion-body { color: #3a4257; line-height: 1.7; }

/* CTA band */
.cta-v2 { padding: 0 0 clamp(3.5rem, 8vw, 6rem); }
.section + .cta-v2, .stats-inline + .cta-v2 { padding-top: 0; }
.cta-v2-inner { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-wrap: wrap; gap: 1.75rem; align-items: center; justify-content: space-between;
  padding: clamp(2rem, 5vw, 3.5rem); border-radius: 26px; color: #fff; background: var(--brand-navy-900); box-shadow: var(--shadow-lg); }
.cta-v2-inner::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--cta-image) center 55% / cover no-repeat; opacity: .45; }
.cta-v2-inner::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(40rem 20rem at 0% 0%, rgba(33,44,197,.75), transparent 70%), linear-gradient(100deg, rgba(10,16,51,.95), rgba(10,16,51,.55)); }
.cta-v2-copy { max-width: 36rem; }
.cta-v2 h2 { color: #fff; font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 800; }
.cta-v2 p { color: rgba(255,255,255,.85); margin-bottom: 0; }

/* About */
.check-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .85rem; }
@media (max-width: 575.98px) { .check-grid { grid-template-columns: 1fr; } }
.check-grid li { display: flex; gap: .65rem; align-items: center; padding: 1rem 1.1rem; background: #fff; border: 1px solid var(--line); border-radius: 14px; font-weight: 600; box-shadow: var(--shadow-sm); }
.check-grid i { color: var(--brand-blue); font-size: 1.2rem; }

/* Contact */
.audience-card { display: flex; gap: 1.1rem; height: 100%; padding: 1.75rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.audience-card p { color: var(--muted); margin-bottom: .6rem; }
.link-arrow { font-weight: 700; text-decoration: none; color: var(--brand-blue); }
.link-arrow:hover { text-decoration: underline; }
.info-card, .form-card, .content-card, .summary-card, .filter-panel { border-radius: var(--radius); }
.filter-panel, .summary-card { top: calc(var(--header-h) + 20px); }

/* Jobs refinements */
.job-card { border-radius: 16px; }
.job-card::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 3px; background: linear-gradient(180deg, var(--brand-blue), var(--brand-amber)); opacity: 0; transition: opacity .2s ease; }
.job-card:hover::before, .job-card:focus-within::before { opacity: 1; }
.job-portal-note { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; margin-top: 1.5rem; padding: 1.1rem 1.35rem; border-radius: 14px; background: rgba(33,44,197,.05); border: 1px solid rgba(33,44,197,.15); }

/* Footer */
.site-footer { position: relative; overflow: hidden; padding-top: 4.5rem; }
.footer-glow { position: absolute; inset: auto -10% -60% -10%; height: 120%; background: radial-gradient(50% 50% at 50% 50%, rgba(33,44,197,.35), transparent 70%); pointer-events: none; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; }
.back-to-top { font-weight: 600; }

/* ---------- Scroll reveal (JS adds .reveal-ready only if motion is OK) ---------- */
.reveal-ready .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--reveal-delay, 0ms); }
.reveal-ready .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal-ready .reveal { opacity: 1 !important; transform: none !important; } }
@media print { .site-header { position: static; } .reveal { opacity: 1 !important; transform: none !important; } }
/* Overflow guards */
html, body { overflow-x: clip; }
.legal, .prose { overflow-wrap: anywhere; }
.stat-value-text { font-size: clamp(1.15rem, 2vw, 1.45rem); display: inline-flex; align-items: center; gap: .45rem; min-height: 2.64rem; }
.stat-value-text i { color: var(--brand-amber-text); }
