:root {
  --brand-navy: #08195b;
  --brand-blue: #0798ef;
  --brand-deep: #02183a;
  --brand-sky: #eaf7ff;
  --brand-mist: #f5f9fc;
  --ink: #10214d;
  --muted: #5b6784;
  --line: #d9e7f2;
  --white: #ffffff;
  --warm: #fff7e9;
  --shadow: 0 20px 60px rgba(3, 34, 77, 0.12);
  --radius: 22px;
  --shell: min(1160px, calc(100% - 48px));
  --font: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: var(--font); line-height: 1.55; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.shell { width: var(--shell); margin-inline: auto; }
.section { padding: 96px 0; }
.section-soft { background: linear-gradient(135deg, #f3faff 0%, #e5f4ff 100%); }
.section-dark { background: var(--brand-deep); color: var(--white); }
.eyebrow { margin: 0 0 14px; color: var(--brand-blue); font-size: .76rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.04; letter-spacing: -.04em; }
h1 { font-size: clamp(3rem, 7vw, 6.25rem); }
h2 { font-size: clamp(2.2rem, 4.4vw, 4rem); }
h3 { font-size: 1.45rem; }
.lead { max-width: 690px; color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.28rem); }
.lead-light { color: #d9ecff; }
.blue { color: var(--brand-blue); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 999; left: 16px; top: -80px; padding: 12px 18px; background: var(--white); color: var(--brand-navy); border-radius: 10px; box-shadow: var(--shadow); }
.skip-link:focus { top: 16px; }

.site-header { position: sticky; z-index: 100; top: 0; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(8,25,91,.08); backdrop-filter: blur(14px); }
.header-inner { min-height: 82px; display: grid; grid-template-columns: 190px 1fr auto; align-items: center; gap: 28px; }
.brand img { width: 180px; height: auto; }
.primary-nav { display: flex; justify-content: center; align-items: center; gap: clamp(14px, 2vw, 28px); }
.primary-nav a { position: relative; padding: 30px 0 24px; font-size: .9rem; font-weight: 700; color: #243260; white-space: nowrap; }
.primary-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 18px; height: 2px; background: var(--brand-blue); transition: right .2s ease; }
.primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { right: 0; }
.primary-nav a[aria-current="page"] { color: var(--brand-blue); }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 12px; padding: 14px 22px; border: 1px solid var(--brand-blue); border-radius: 10px; background: var(--brand-blue); color: var(--white); font-weight: 800; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(7,152,239,.22); }
.button svg, .text-link svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.button-small { min-height: 46px; padding: 11px 18px; }
.button-outline { background: transparent; border-color: currentColor; }
.button-outline:hover { background: rgba(255,255,255,.1); }
.button-light { background: var(--white); border-color: var(--white); color: var(--brand-navy); }
.text-link { display: inline-flex; align-items: center; gap: 10px; color: var(--brand-blue); font-weight: 800; }
.text-link:hover svg { transform: translateX(4px); }
.text-link svg { transition: transform .2s ease; }
.menu-toggle { display: none; width: 46px; height: 46px; border: 0; border-radius: 10px; background: var(--brand-sky); padding: 11px; }
.menu-toggle span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; background: var(--brand-navy); }

.hero { position: relative; min-height: 640px; overflow: hidden; color: var(--white); background: #02183a; }
.hero::before { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, rgba(2,24,58,.94) 0%, rgba(2,36,75,.84) 31%, rgba(2,49,91,.48) 52%, rgba(2,49,91,.12) 72%, rgba(2,24,58,.04) 100%); }
.hero-inner { position: relative; z-index: 2; min-height: 640px; display: grid; grid-template-columns: minmax(0, 1.24fr) minmax(300px, .76fr); align-items: center; gap: 32px; padding-block: 72px; }
.hero-copy { position: relative; z-index: 2; max-width: 680px; }
.hero h1 { margin-bottom: 24px; }
.hero-line { white-space: nowrap; }
.hero .lead { max-width: 520px; margin-bottom: 28px; color: #eef8ff; }
.market-order { display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 0 0 32px; font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.market-order span { position: relative; padding-right: 24px; }
.market-order span:not(:last-child)::after { content: "›"; position: absolute; right: 0; color: var(--brand-blue); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-visual { position: absolute; z-index: 0; inset: 0; overflow: hidden; background: #075b92; }
.hero-visual picture { display: block; width: 100%; height: 100%; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: 66% 50%; image-rendering: auto; transform: translateX(6%) scale(1.18); transform-origin: 50% 50%; }

.capability-intro { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 48px; margin-bottom: 42px; }
.capability-intro h2 { margin-bottom: 0; }
.capability-intro .lead { padding-left: 28px; border-left: 2px solid var(--brand-blue); }
.service-grid, .market-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.service-card { min-height: 245px; display: flex; flex-direction: column; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 10px 36px rgba(6,47,92,.06); }
.service-card h3 { margin-bottom: 18px; }
.service-card p { color: var(--muted); }
.service-card .text-link { margin-top: auto; }
.markets-block { margin-top: 72px; }
.market-card { --market-accent: #0b77c8; position: relative; min-height: 330px; overflow: hidden; padding: 30px; border-radius: var(--radius); color: var(--white); background: linear-gradient(145deg, #071a5c, #0a2f7f); }
.market-card::before, .market-card::after { content: ""; position: absolute; border-radius: 50%; filter: blur(2px); opacity: .55; }
.market-card::before { width: 260px; height: 260px; right: -90px; bottom: -120px; background: var(--market-accent); }
.market-card::after { width: 190px; height: 190px; right: 30px; top: -110px; border: 28px solid rgba(255,255,255,.13); }
.market-card:nth-child(2) { --market-accent: #0d8dde; background: linear-gradient(145deg, #062a70, #0856a2); }
.market-card:nth-child(3) { --market-accent: #12a3dc; background: linear-gradient(145deg, #07436f, #087fae); }
.market-card > * { position: relative; z-index: 2; }
.market-card .eyebrow { color: #92ddff; }
.market-card ul { margin: 26px 0 0; padding: 0; list-style: none; color: #d8efff; }
.market-card li { margin: 6px 0; }

.opportunities { padding: 94px 0 0; }
.section-heading-row { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.section-heading-row h2 { margin-bottom: 0; }
.carousel-controls { display: flex; gap: 10px; }
.carousel-button { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--white); color: var(--brand-navy); cursor: pointer; }
.carousel-button:hover { border-color: var(--brand-blue); color: var(--brand-blue); }
.carousel-button:disabled { opacity: .38; cursor: default; }
.carousel-button:disabled:hover { border-color: var(--line); color: var(--brand-navy); }
.carousel-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(320px, 1fr); grid-template-columns: repeat(3, minmax(320px, 1fr)); gap: 18px; overflow-x: auto; padding: 0 0 22px; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--brand-blue) transparent; }
.job-card { scroll-snap-align: start; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 12px 40px rgba(9,37,88,.07); }
.job-card h3 { margin: 18px 0; }
.job-topline { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.job-kicker { color: var(--brand-blue); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.market-pill { padding: 5px 10px; border-radius: 999px; background: var(--brand-sky); color: var(--brand-navy); font-size: .72rem; font-weight: 800; }
.job-meta { display: flex; flex-wrap: wrap; gap: 10px 18px; color: var(--muted); font-size: .86rem; }
.job-meta span { display: inline-flex; align-items: center; gap: 6px; }
.job-meta svg { width: 17px; fill: none; stroke: var(--brand-blue); stroke-width: 1.7; }
.job-comp { margin: 18px 0 10px; color: var(--brand-navy); font-weight: 800; }
.job-card > p:not(.job-comp) { color: var(--muted); }
.job-card .text-link { margin-top: 12px; }
.build-next { position: relative; isolation: isolate; margin-top: 76px; min-height: 320px; overflow: hidden; color: var(--white); background: var(--brand-deep); }
.build-next::before { content: ""; position: absolute; z-index: -2; inset: 0; background: url("assets/sydney-skyline-panorama.png") center 64% / cover no-repeat; filter: saturate(1.04) contrast(1.03); }
.build-next::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, rgba(2,24,58,.9) 0%, rgba(2,24,58,.67) 50%, rgba(2,24,58,.2) 100%), linear-gradient(90deg, rgba(2,24,58,.48), transparent 72%); }
.build-next-inner { position: relative; z-index: 2; min-height: 320px; display: flex; align-items: center; justify-content: space-between; gap: 34px; padding-block: 56px; }
.build-next .eyebrow { color: #83d9ff; }
.build-next h2 { margin-bottom: 12px; }
.build-next p { max-width: 540px; color: #edf8ff; }
.build-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.page-hero { position: relative; overflow: hidden; padding: 92px 0 86px; color: var(--white); background: radial-gradient(circle at 82% 20%, rgba(7,152,239,.34), transparent 34%), linear-gradient(125deg, #02183a 0%, #063268 64%, #075b92 100%); }
.page-hero::after { content: ""; position: absolute; width: 560px; height: 560px; right: -150px; top: -330px; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; background: transparent; }
.page-hero .shell { position: relative; z-index: 2; }
.page-hero .eyebrow { color: #77d4ff; }
.page-hero h1 { max-width: 900px; margin-bottom: 26px; color: var(--white); font-size: clamp(3.45rem, 5.4vw, 4.5rem); }
.page-hero .lead { color: #dcefff; }
.page-hero .order-line { color: #a8e4ff; }
.page-hero .order-line span:not(:last-child)::after { color: var(--white); }
.order-line { display: inline-flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; color: var(--brand-blue); font-size: .82rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.order-line span:not(:last-child)::after { content: "›"; margin-left: 12px; }

.about-hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .42fr); gap: 72px; align-items: end; }
.about-hero h1 { max-width: 760px; margin-bottom: 24px; color: var(--white); font-size: clamp(3.45rem, 5.4vw, 4.5rem); }
.about-hero h1 .blue { display: block; margin-top: .08em; font-size: .78em; white-space: nowrap; }
.about-hero .lead { max-width: 690px; margin-bottom: 0; color: #dcefff; }
.about-proof { padding-left: 36px; border-left: 1px solid rgba(255,255,255,.3); }
.proof-stat { display: grid; gap: 4px; }
.proof-stat strong { color: var(--brand-blue); font-size: clamp(4rem, 7vw, 6.25rem); line-height: .86; letter-spacing: -.06em; }
.proof-stat span { max-width: 250px; color: #e8f5ff; font-size: 1rem; font-weight: 700; line-height: 1.35; }
.proof-note { margin: 24px 0 0; color: var(--white); font-size: .84rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.about-proof .order-line { margin-top: 18px; color: #a8e4ff; font-size: .68rem; gap: 8px; }
.about-proof .order-line span:not(:last-child)::after { margin-left: 8px; color: var(--white); }

.about-story { background: linear-gradient(180deg, #fff 0%, #fff 72%, #f3faff 100%); }
.purpose-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 88px; align-items: start; }
.purpose-grid h2 { max-width: 520px; margin-bottom: 0; color: var(--brand-navy); }
.purpose-copy { padding-top: 30px; }
.story-body { max-width: 690px; color: var(--muted); font-size: 1.05rem; line-height: 1.65; }
.story-intro { color: var(--ink); font-size: 1.18rem; }
.equation-band { display: grid; grid-template-columns: 150px minmax(0,1fr); gap: 34px; align-items: center; margin-top: 68px; padding: 34px 40px; border-radius: var(--radius); background: linear-gradient(110deg, #061858 0%, #082779 66%, #064f8c 100%); box-shadow: var(--shadow); }
.equation-label { margin: 0; color: #83d9ff; font-size: .75rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.equation-formula { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 13px; margin: 0; color: var(--white); font-size: clamp(1.25rem, 2.2vw, 2rem); font-weight: 800; line-height: 1.25; letter-spacing: -.025em; }
.equation-formula b { color: #83d9ff; }
.equation-formula strong { flex-basis: 100%; margin-top: 3px; color: var(--brand-blue); }
.values-block { margin-top: 82px; }
.values-heading { margin-bottom: 34px; }
.values-heading h2 { margin-bottom: 0; color: var(--brand-navy); }
.value-grid { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 18px; }
.value-card { grid-column: span 2; min-height: 190px; padding: 30px; border: 1px solid var(--line); border-top: 4px solid var(--brand-blue); border-radius: 18px; background: rgba(255,255,255,.92); box-shadow: 0 14px 38px rgba(6,47,92,.07); }
.value-card:nth-child(4) { grid-column: 2 / span 2; }
.value-card:nth-child(5) { grid-column: 4 / span 2; }
.value-card h3 { margin-bottom: 18px; color: var(--brand-navy); font-size: 1.3rem; }
.value-card p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.6; }
.solutions-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.solution-card { padding: 34px; border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); background: rgba(255,255,255,.06); }
.solution-card .eyebrow { color: #77d4ff; }
.solution-card p { margin-bottom: 0; color: #c8dcf4; }
.client-path { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.path-step { padding: 28px; border-radius: var(--radius); background: var(--brand-mist); }

.team-list { display: grid; gap: 28px; }
.profile-card { min-height: 372px; display: grid; grid-template-columns: 300px minmax(0,1fr); gap: 52px; align-items: center; padding: 36px; border: 1px solid var(--line); border-radius: 28px; background: var(--white); box-shadow: var(--shadow); }
.profile-image { width: 300px; aspect-ratio: 1; overflow: hidden; border-radius: 22px; background: var(--brand-mist); }
.profile-image img { width: 100%; height: 100%; object-fit: cover; }
.profile-copy .eyebrow { margin-bottom: 12px; }
.profile-copy h2 { margin-bottom: 16px; color: var(--brand-navy); }
.profile-copy p { color: var(--muted); font-size: 1rem; line-height: 1.65; }
.profile-summary { color: var(--ink) !important; font-size: 1.08rem !important; font-weight: 700; line-height: 1.55 !important; }

.job-filter-bar { display: grid; grid-template-columns: 1fr 260px; gap: 14px; margin-bottom: 34px; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid var(--line); border-radius: 12px; background: var(--white); color: var(--ink); outline: none; }
.field input, .field select { min-height: 54px; padding: 13px 16px; }
.field textarea { min-height: 160px; padding: 16px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand-blue); box-shadow: 0 0 0 4px rgba(7,152,239,.12); }
.field label { display: block; margin-bottom: 7px; font-weight: 800; }
.jobs-list { display: grid; gap: 22px; }
.job-card-detailed { scroll-margin-top: 110px; }
.job-card-detailed ul { columns: 2; margin: 24px 0; padding-left: 20px; color: var(--muted); }
.job-card-detailed li { margin-bottom: 7px; break-inside: avoid; }
.empty-state { padding: 34px; text-align: center; border-radius: var(--radius); background: var(--brand-mist); }

/* JobAdder live jobs widget */
.jobadder-panel { padding: clamp(24px, 4vw, 42px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
#ja-jobs-widget { position: relative; min-height: 120px; color: var(--ink); }
#ja-jobs-widget .ja-loading { position: absolute; top: 18px; left: 50%; width: 32px; height: 32px; transform: translateX(-50%); }
#ja-jobs-widget a { color: var(--brand-blue); }
#ja-jobs-widget .ja-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; margin: 0 0 32px; padding: 0 0 32px; border-bottom: 1px solid var(--line); }
#ja-jobs-widget .ja-form .ja-field-container { margin: 0; }
#ja-jobs-widget .ja-form .ja-field-container::before,
#ja-jobs-widget .ja-form .ja-field-container::after { display: none; }
#ja-jobs-widget .ja-form .ja-field-container label { display: block; float: none; width: auto; margin-bottom: 7px; padding: 0; color: var(--brand-navy); font-weight: 800; }
#ja-jobs-widget .ja-form .ja-field-container .ja-field { float: none; width: 100%; }
#ja-jobs-widget .ja-form select,
#ja-jobs-widget .ja-form textarea,
#ja-jobs-widget .ja-form input[type="text"],
#ja-jobs-widget .ja-form input[type="email"],
#ja-jobs-widget .ja-form input[type="search"],
#ja-jobs-widget .ja-form input[type="tel"] { width: 100%; min-height: 52px; padding: 12px 15px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); color: var(--ink); font: inherit; outline: none; }
#ja-jobs-widget .ja-form textarea { min-height: 150px; resize: vertical; }
#ja-jobs-widget .ja-form select:focus,
#ja-jobs-widget .ja-form textarea:focus,
#ja-jobs-widget .ja-form input:focus { border-color: var(--brand-blue); box-shadow: 0 0 0 4px rgba(7,152,239,.12); }
#ja-jobs-widget .ja-form .ja-submit,
#ja-jobs-widget .ja-form .ja-error-container { margin: 0; }
#ja-jobs-widget .ja-button,
#ja-jobs-widget .view-details { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding: 11px 18px; border: 1px solid var(--brand-blue); border-radius: 10px; background: var(--brand-blue); box-shadow: none; color: var(--white); font: inherit; font-weight: 800; text-decoration: none; text-shadow: none; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
#ja-jobs-widget .ja-button:hover,
#ja-jobs-widget .view-details:hover { background: var(--brand-blue); box-shadow: 0 12px 28px rgba(7,152,239,.22); color: var(--white); cursor: pointer; transform: translateY(-2px); }
#ja-jobs-widget .ja-job-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 0 0 30px; }
#ja-jobs-widget .ja-job-list .job,
#ja-jobs-widget .ja-job-list .job.alt,
#ja-jobs-widget .ja-job-list .job.hot { margin: 0; padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); box-shadow: 0 12px 34px rgba(9,37,88,.07); }
#ja-jobs-widget .ja-job-list .job .title { margin: 0 0 16px; color: var(--brand-navy); font-size: 1.45rem; line-height: 1.14; letter-spacing: -.025em; }
#ja-jobs-widget .ja-job-list .job .title a { color: var(--brand-navy); }
#ja-jobs-widget .ja-job-list .job .title a:hover { color: var(--brand-blue); }
#ja-jobs-widget .ja-job-list .job .meta { display: grid; gap: 8px; margin-bottom: 16px; color: var(--muted); }
#ja-jobs-widget .ja-job-list .job .meta::before,
#ja-jobs-widget .ja-job-list .job .meta::after { display: none; }
#ja-jobs-widget .ja-job-list .job .meta p,
#ja-jobs-widget .ja-job-list .job .meta .classifications,
#ja-jobs-widget .ja-job-list .job .meta .date-posted,
#ja-jobs-widget .ja-job-list .job .meta .salary,
#ja-jobs-widget .ja-job-list .job .meta .reference { float: none; width: auto; margin: 0; padding: 0; text-align: left; }
#ja-jobs-widget .ja-job-list .job .meta .classifications { display: flex; flex-wrap: wrap; gap: 6px 10px; list-style: none; }
#ja-jobs-widget .ja-job-list .job .meta .classifications li { margin: 0; }
#ja-jobs-widget .ja-job-list .job .summary { color: var(--muted); font-size: 1rem; line-height: 1.65; }
#ja-jobs-widget .ja-pager-container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
#ja-jobs-widget .ja-pager,
#ja-jobs-widget .ja-pager-summary { float: none; }
#ja-jobs-widget .ja-pager span,
#ja-jobs-widget .ja-pager a { display: inline-grid; min-width: 38px; min-height: 38px; place-items: center; float: none; margin: 0 5px 5px 0; padding: 6px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--brand-mist); color: var(--brand-navy); line-height: 1; }
#ja-jobs-widget .ja-pager a:hover,
#ja-jobs-widget .ja-pager .current-page { border-color: var(--brand-blue); background: var(--brand-blue); color: var(--white); }
#ja-jobs-widget .ja-job-details .title { margin-bottom: 18px; color: var(--brand-navy); }
#ja-jobs-widget .ja-job-details .meta { color: var(--muted); }
#ja-jobs-widget .ja-job-details .description { color: var(--muted); font-size: 1rem; line-height: 1.68; }
#ja-jobs-widget .ja-job-details .description h2,
#ja-jobs-widget .ja-job-details .description h3 { color: var(--brand-navy); font-size: 1.45rem; }
#ja-jobs-widget .ja-job-details .apply { margin-top: 32px; text-align: left; }
#ja-jobs-widget .ja-job-details .apply .back-link,
#ja-jobs-widget .ja-apply-iframe .apply .back-link { display: inline-block; margin: 0 16px 12px 0; font-weight: 800; }
#ja-jobs-widget .ja-apply-iframe iframe { width: 100%; min-height: 760px; border: 0; }
#ja-jobs-widget .powered-by-jobadder { display: none !important; margin: 28px 0 0; color: var(--muted); font-size: .82rem; text-align: center; }
#ja-jobs-widget .powered-by-jobadder a { color: var(--muted); }

/* Home-page live opportunities carousel */
#ja-jobs-widget.featured-live-jobs { min-height: 330px; }
#ja-jobs-widget.featured-live-jobs .ja-loading { top: 80px; }
#ja-jobs-widget.featured-live-jobs .ja-job-list { display: flex; gap: 18px; overflow-x: auto; margin: 0; padding: 0 0 22px; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-color: var(--brand-blue) transparent; scrollbar-width: thin; }
#ja-jobs-widget.featured-live-jobs .ja-job-list .job,
#ja-jobs-widget.featured-live-jobs .ja-job-list .job.alt,
#ja-jobs-widget.featured-live-jobs .ja-job-list .job.hot { display: flex; min-height: 330px; flex: 0 0 calc((100% - 36px) / 3); flex-direction: column; scroll-snap-align: start; padding: 30px; border-radius: var(--radius); }
#ja-jobs-widget.featured-live-jobs .ja-job-list .job .summary { flex: 1; }
#ja-jobs-widget.featured-live-jobs .ja-job-list .job .view-details { align-self: flex-start; margin-top: 8px; }
#ja-jobs-widget.featured-live-jobs .ja-pager-container { margin-top: 8px; }
#ja-jobs-widget.featured-live-jobs .powered-by-jobadder { margin-top: 10px; }

.testimonial-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.testimonial-card { position: relative; display: grid; min-height: 0; grid-template-columns: minmax(0,1fr) minmax(210px,260px); gap: 36px; align-items: start; overflow: hidden; padding: 78px 38px 36px; border-radius: var(--radius); color: var(--white); background: linear-gradient(145deg, #061858 0%, #082779 68%, #064f8c 100%); box-shadow: 0 14px 38px rgba(6,47,92,.1); }
.testimonial-card::before { content: "“"; position: absolute; left: 32px; top: 4px; color: #77d4ff; font-family: Georgia, serif; font-size: 5.5rem; line-height: 1; }
.testimonial-card blockquote { margin: 0; color: #f3f9ff; font-size: 1.05rem; line-height: 1.67; }
.testimonial-card blockquote p { margin-bottom: 20px; }
.testimonial-card blockquote p:last-child { margin-bottom: 0; }
.testimonial-card cite { display: grid; gap: 3px; align-self: stretch; align-content: end; margin-top: 0; padding-left: 28px; border-left: 1px solid rgba(255,255,255,.2); color: #cfeaff; font-style: normal; }
.testimonial-card cite a, .testimonial-card cite strong { color: #83d9ff; font-weight: 800; }
.testimonial-card cite a:hover { color: var(--white); }
.proof-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; margin-top: 48px; }
.proof-card { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); }
.proof-card p { margin-bottom: 0; color: var(--muted); }

.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: start; }
.contact-panel { position: sticky; top: 120px; padding: 38px; border-radius: var(--radius); background: var(--brand-navy); color: var(--white); }
.contact-panel p { color: #d7e8fb; }
.contact-panel a { color: #77d4ff; font-weight: 800; word-break: break-word; }
.contact-icon-badge { width: 104px; height: 104px; display: grid; place-items: center; margin-top: 30px; padding: 9px; overflow: hidden; border: 1px solid rgba(255,255,255,.72); border-radius: 50%; background: var(--white); box-shadow: 0 14px 34px rgba(0,0,0,.2); }
.contact-icon-badge img { width: 100%; height: 100%; object-fit: contain; border-radius: 50%; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field-full { grid-column: 1 / -1; }
.form-note { margin: 4px 0 0; color: var(--muted); font-size: .86rem; }

.site-footer { background: var(--brand-deep); color: #d9eaff; }
.footer-inner { min-height: 170px; display: grid; grid-template-columns: 170px 1fr auto; grid-template-areas: "brand nav email" "brand meta meta"; align-items: center; gap: 20px 34px; padding-block: 34px; }
.footer-brand { grid-area: brand; padding: 9px; border-radius: 8px; background: var(--white); }
.footer-brand img { width: 150px; height: auto; }
.footer-nav { grid-area: nav; display: flex; flex-wrap: wrap; gap: 14px 24px; }
.footer-nav a { font-size: .82rem; }
.footer-nav a:hover, .footer-email:hover { color: #7bd4ff; }
.footer-email { grid-area: email; color: var(--white); font-size: .86rem; font-weight: 800; }
.footer-meta { grid-area: meta; display: flex; justify-content: flex-end; gap: 8px 20px; color: #93aac9; font-size: .76rem; }

@media (max-width: 1040px) {
  :root { --shell: min(100% - 36px, 940px); }
  .header-inner { grid-template-columns: 168px 1fr auto; gap: 18px; }
  .brand img { width: 160px; }
  .primary-nav { gap: 15px; }
  .primary-nav a { font-size: .78rem; }
  .hero, .hero-inner { min-height: 720px; }
  .hero-inner { display: flex; align-items: center; padding-block: 64px; }
  .hero::before { background: linear-gradient(90deg, rgba(2,24,58,.96) 0%, rgba(2,36,75,.86) 48%, rgba(2,49,91,.34) 78%, rgba(2,24,58,.12) 100%); }
  .hero-visual { inset: 0; width: 100%; height: 100%; }
  .hero-visual img { object-position: 64% 52%; transform: scale(1.08); transform-origin: 64% 52%; }
  .about-hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .about-hero h1 { max-width: 900px; }
  .about-proof { display: grid; grid-template-columns: 180px minmax(0,1fr); gap: 12px 30px; align-items: end; padding: 30px 0 0; border-top: 1px solid rgba(255,255,255,.3); border-left: 0; }
  .proof-stat { grid-row: 1 / span 2; }
  .proof-note { margin: 0; }
  .about-proof .order-line { margin-top: 0; }
  .value-grid { grid-template-columns: repeat(6, 1fr); }
  .client-path { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 160px 1fr; grid-template-areas: "brand nav" "brand email" "meta meta"; }
  .footer-meta { justify-content: flex-start; }
}

@media (max-width: 860px) {
  .section { padding: 72px 0; }
  .header-inner { grid-template-columns: 1fr auto; min-height: 74px; }
  .brand img { width: 168px; }
  .menu-toggle { display: block; grid-column: 2; }
  .header-cta { display: none; }
  .primary-nav { position: fixed; inset: 74px 0 auto; display: grid; align-content: start; gap: 0; max-height: 0; overflow: hidden; background: var(--white); box-shadow: 0 20px 40px rgba(6,36,78,.16); transition: max-height .25s ease; }
  .primary-nav.is-open { max-height: calc(100vh - 74px); padding: 12px 24px 28px; }
  .primary-nav a { padding: 16px 0; font-size: 1rem; border-bottom: 1px solid var(--line); }
  .primary-nav a::after { bottom: 10px; }
  .hero, .hero-inner { min-height: 720px; }
  .hero-inner { display: flex; align-items: center; padding-block: 58px; }
  .hero-copy { max-width: 650px; }
  .hero-visual { inset: 0; width: 100%; height: 100%; opacity: 1; }
  .capability-intro, .story-grid, .purpose-grid, .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .capability-intro .lead { padding-left: 0; border-left: 0; }
  .purpose-copy { padding-top: 0; }
  .equation-band { grid-template-columns: 1fr; gap: 16px; }
  .value-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .value-card, .value-card:nth-child(4), .value-card:nth-child(5) { grid-column: auto; }
  .service-grid, .market-grid, .proof-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .testimonial-card { display: flex; min-height: 0; flex-direction: column; }
  .testimonial-card cite { margin-top: 28px; padding-top: 28px; padding-left: 0; border-top: 1px solid rgba(255,255,255,.2); border-left: 0; }
  .service-card { min-height: auto; }
  .market-card { min-height: 250px; }
  .carousel-rail { grid-template-columns: none; grid-auto-columns: 82%; }
  #ja-jobs-widget.featured-live-jobs .ja-job-list .job,
  #ja-jobs-widget.featured-live-jobs .ja-job-list .job.alt,
  #ja-jobs-widget.featured-live-jobs .ja-job-list .job.hot { flex-basis: 58%; }
  .profile-card { min-height: 344px; grid-template-columns: 260px minmax(0,1fr); gap: 34px; }
  .profile-image { width: 260px; }
  .contact-panel { position: static; }
  .footer-inner { grid-template-columns: 1fr; grid-template-areas: "brand" "nav" "email" "meta"; }
  .footer-brand { width: 170px; }
}

@media (max-width: 640px) {
  :root { --shell: calc(100% - 30px); --radius: 17px; }
  .section { padding: 58px 0; }
  h1 { font-size: clamp(2.75rem, 15vw, 4.4rem); }
  h2 { font-size: clamp(2.05rem, 11vw, 3.1rem); }
  .hero, .hero-inner { min-height: 760px; }
  .hero-inner { padding-top: 52px; }
  .hero h1 { margin-bottom: 18px; }
  .market-order { font-size: .68rem; gap: 8px 12px; }
  .hero-actions .button { width: 100%; }
  .hero::before { background: linear-gradient(180deg, rgba(2,24,58,.94) 0%, rgba(2,36,75,.83) 62%, rgba(2,49,91,.48) 100%); }
  .hero-visual { height: 100%; }
  .hero-visual img { object-position: 64% 54%; transform: scale(1); }
  .capability-intro { margin-bottom: 30px; }
  .markets-block { margin-top: 52px; }
  .service-card, .market-card, .job-card { padding: 24px; }
  .section-heading-row { align-items: flex-start; }
  .carousel-controls { display: none; }
  .carousel-rail { margin-right: -15px; grid-auto-columns: 88%; padding-right: 15px; }
  #ja-jobs-widget.featured-live-jobs .ja-job-list { margin-right: -15px; padding-right: 15px; }
  #ja-jobs-widget.featured-live-jobs .ja-job-list .job,
  #ja-jobs-widget.featured-live-jobs .ja-job-list .job.alt,
  #ja-jobs-widget.featured-live-jobs .ja-job-list .job.hot { min-height: 0; flex-basis: 88%; padding: 24px; }
  .build-next { min-height: 420px; }
  .build-next::before { background-size: auto 100%; background-position: 20% center; }
  .build-next::after { background: linear-gradient(180deg, rgba(2,24,58,.95) 0%, rgba(2,24,58,.76) 58%, rgba(2,24,58,.22) 100%); }
  .build-next-inner { min-height: 420px; display: block; padding-top: 46px; }
  .build-actions .button { width: 100%; }
  .page-hero { padding: 76px 0 64px; }
  .page-hero h1 { font-size: clamp(2.8rem, 13vw, 3.55rem); }
  .page-hero h1 .blue { white-space: normal; }
  .about-proof { display: block; }
  .proof-note { margin-top: 22px; }
  .about-proof .order-line { margin-top: 16px; }
  .equation-band { margin-top: 48px; padding: 26px 24px; }
  .values-block { margin-top: 58px; }
  .value-grid, .solutions-grid, .client-path { grid-template-columns: 1fr; }
  .value-card, .value-card:nth-child(4), .value-card:nth-child(5) { grid-column: auto; min-height: 0; padding: 24px; }
  .profile-card { min-height: 0; grid-template-columns: 1fr; padding: 22px; }
  .profile-image { max-width: 320px; width: 100%; margin-inline: auto; }
  .job-filter-bar { grid-template-columns: 1fr; }
  .job-card-detailed ul { columns: 1; }
  .jobadder-panel { padding: 20px; }
  #ja-jobs-widget .ja-form,
  #ja-jobs-widget .ja-job-list { grid-template-columns: 1fr; }
  #ja-jobs-widget .ja-job-list .job,
  #ja-jobs-widget .ja-job-list .job.alt,
  #ja-jobs-widget .ja-job-list .job.hot { padding: 22px; }
  #ja-jobs-widget .ja-pager-container { align-items: flex-start; flex-direction: column; }
  #ja-jobs-widget .ja-apply-iframe iframe { min-height: 900px; }
  .testimonial-card { padding: 72px 26px 30px; }
  .testimonial-card::before { left: 22px; }
  .contact-form { grid-template-columns: 1fr; }
  .field-full { grid-column: auto; }
  .footer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
  .footer-meta { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
