@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url(../assets/fonts/poppins-500.woff) format("woff"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url(../assets/fonts/poppins-700.woff) format("woff"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url(../assets/fonts/inter-400.woff) format("woff"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url(../assets/fonts/inter-500.woff) format("woff"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url(../assets/fonts/inter-600.woff) format("woff"); }
/* Layout concept: a corporate sales site built around the inQbia ring-and-dot mark.
   Three pillars (Talent, Technology, Creative) sit in a Venn of rings in the hero, then
   services, industries, credibility, one service-aware enquiry form. */
:root {
  --bg: #F2F6FB;
  --surface: #FFFFFF;
  --ink: #0B1B33;
  --muted: #46587A;
  --line: #D6E0EF;
  --blue: #073C82;
  --orange: #FF7900;
  --on-accent: #0B1B33;
  --tint: #E6EEF9;
  --deep: #073C82;
  --deep-a: #0A4799;
  --deep-b: #052F68;
  --deep-bg: radial-gradient(rgba(255,255,255,.16) 1.2px, transparent 1.6px) 0 0 / 28px 28px, linear-gradient(135deg, var(--deep-a), var(--deep-b));
  --on-deep: #FFFFFF;
  --on-deep-muted: #BCD0EE;
  --sky: #86B6FF;
  --ring: var(--blue);
  --font-display: "Poppins", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #06142B; --surface: #0B2147; --ink: #EAF2FF; --muted: #A6BCDD; --line: #1C3868;
    --blue: #86B6FF; --orange: #FF7900; --on-accent: #0B1B33; --tint: #10294F;
    --deep: #073C82; --deep-a: #0A4799; --deep-b: #042A5E; --on-deep: #FFFFFF; --on-deep-muted: #B4C8EA; --sky: #86B6FF; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #06142B; --surface: #0B2147; --ink: #EAF2FF; --muted: #A6BCDD; --line: #1C3868;
    --blue: #86B6FF; --orange: #FF7900; --on-accent: #0B1B33; --tint: #10294F;
    --deep: #073C82; --deep-a: #0A4799; --deep-b: #042A5E; --on-deep: #FFFFFF; --on-deep-muted: #B4C8EA; --sky: #86B6FF; color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
a, button, input, select, textarea, label, summary, [role="button"] { touch-action: manipulation; }
input[type="text"], input[type="email"], input[type="tel"], input[type="search"], textarea { -webkit-appearance: none; appearance: none; border-radius: 10px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 16px; line-height: 1.6;
  padding-left: max(0px, env(safe-area-inset-left, 0px));
  padding-right: max(0px, env(safe-area-inset-right, 0px));
  -webkit-font-smoothing: antialiased;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--surface); }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--ring); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: 1180px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
section { padding-block: 84px; }
.eyebrow { font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--orange); }
.h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 700; max-width: 22ch; }
.lead { color: var(--muted); font-size: 18px; max-width: 62ch; margin-top: 16px; }
.sec-head { margin-bottom: 44px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 999px; font: 600 15px/1 var(--font-body); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease; }
@media (hover: hover) { .btn:hover { transform: translateY(-2px); } }
.btn-primary { background: var(--orange); color: var(--on-accent); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-sm { min-height: 42px; padding: 10px 18px; font-size: 14px; }

/* Top bar */
.topbar { background: var(--deep-bg); color: var(--on-deep); }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 46px; padding-block: 6px; }
.top-contact { font-size: 13px; color: var(--on-deep-muted); overflow-wrap: anywhere; }
.top-actions { display: flex; gap: 8px; }
.topbar .btn { min-height: 34px; padding: 6px 16px; font-size: 13px; }
.btn-outline-deep { border-color: var(--on-deep); color: var(--on-deep); background: transparent; }
@media (max-width: 640px) {
  .topbar { display: none; }
}
@media (max-width: 900px) {
  input, select, textarea { font-size: 16px !important; }
  .copy { min-height: 36px; padding: 6px 14px; font-size: 13.5px; }
}

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--surface); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 700 24px/1 var(--font-display); letter-spacing: -0.02em; }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand b { color: var(--blue); font-weight: 700; }
.brand img.logo { display: block; height: 40px; width: auto; background: #fff; padding: 4px 10px; border-radius: 10px; }
.footer .brand img.logo { height: 64px; padding: 8px 14px; border-radius: 12px; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a.link { text-decoration: none; font-size: 14.5px; font-weight: 500; color: var(--muted); padding: 6px 0; border-bottom: 2px solid transparent; }
@media (hover: hover) { .nav a.link:hover { color: var(--ink); border-bottom-color: var(--orange); } }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
.menu-btn svg { width: 22px; height: 22px; }
.mobile-panel { display: none; }

/* Hero */
.hero { padding-block: 64px 80px; background: var(--surface); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(32px, 4.6vw, 56px); font-weight: 700; max-width: 15ch; line-height: 1.18; }
.hero h1 em { font-style: normal; color: var(--orange); }
.hero .sub { margin-top: 22px; font-size: 19px; color: var(--muted); max-width: 52ch; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.chip { padding: 7px 14px; border-radius: 999px; background: var(--tint); color: var(--ink); font-size: 13.5px; font-weight: 500; border: 1px solid var(--line); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.venn { width: 100%; max-width: 460px; justify-self: center; }
.venn text { font-family: var(--font-display); font-weight: 700; fill: #fff; }
.venn .small { font-family: var(--font-body); font-weight: 500; font-size: 11.5px; fill: var(--muted); }

/* Hero on the royal-blue dotted theme */
.topbar, .hero, .pillar.primary, .svc.wide, .immersive, .footer { --ring: var(--orange); }
.hero { background: var(--deep-bg); color: var(--on-deep); border-bottom: 0; }
.hero .eyebrow { color: var(--on-deep-muted); }
.hero h1 { color: #fff; }
.hero .sub { color: var(--on-deep-muted); }
.hero .chip { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.28); }
.hero .btn-ghost { border-color: #fff; color: #fff; }
@media (hover: hover) { .hero .btn-ghost:hover { background: rgba(255,255,255,.14); } }
@media (hover: hover) { .btn-primary:hover { background: #FF9433; } }

/* Pillars */
.pillars { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 20px; }
.pillar { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 28px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.pillar.primary { background: var(--deep-bg); color: var(--on-deep); border-color: var(--deep); }
.pillar .tag { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.pillar.primary .tag { color: var(--orange); }
.pillar h3 { font-size: 26px; }
.pillar p { color: var(--muted); }
.pillar.primary p { color: var(--on-deep-muted); }
.pillar .dot { width: 14px; height: 14px; border-radius: 50%; }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.svc { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 30px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.svc { overflow: hidden; }
.svc-img { display: block; width: calc(100% + 60px); max-width: none; height: auto; aspect-ratio: 16 / 9; object-fit: cover; margin: -30px -30px 4px; background: var(--tint); }
.svc.full .svc-img { aspect-ratio: 21 / 8; }
.svc.wide { grid-column: 1 / -1; background: var(--deep-bg); color: var(--on-deep); border-color: var(--deep); }
.svc-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.svc .kicker { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.svc.wide .kicker { color: var(--orange); }
.svc h3 { font-size: 24px; }
.svc ul { display: grid; gap: 9px; }
.svc.wide ul, .svc.full ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 28px; }
.svc.full { grid-column: 1 / -1; }
.svc li { padding-left: 22px; position: relative; font-size: 15.5px; }
.svc li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 50%; border: 2px solid var(--blue); }
.svc.wide li::before { border-color: var(--orange); }
.svc .target { margin-top: auto; padding-top: 16px; border-top: 1px dashed var(--line); font-size: 14px; color: var(--muted); }
.svc.wide .target { border-top-color: rgba(255,255,255,.25); color: var(--on-deep-muted); }
.target b { color: var(--ink); font-weight: 600; }
.svc.wide .target b { color: var(--on-deep); }

/* Immersive spotlight */
.immersive { background: var(--deep-bg); color: var(--on-deep); }
.immersive .eyebrow { color: var(--orange); }
.immersive .lead { color: var(--on-deep-muted); }
.imm-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 44px; }
.imm-card { border: 1px solid rgba(255,255,255,.18); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.imm-card svg { width: 40px; height: 40px; stroke: var(--orange); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.imm-card h3 { font-size: 20px; }
.imm-card p { color: var(--on-deep-muted); font-size: 15px; }
.benefits { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.benefits span { padding: 8px 18px; border-radius: 999px; border: 1px solid rgba(255,255,255,.3); font-weight: 500; font-size: 14px; }
.imm-link { display: inline-flex; margin-top: 30px; color: var(--orange); font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--orange); padding-bottom: 2px; }

/* Industries */
.ind-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ind { background: var(--surface); display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; }
.ind-img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; background: var(--tint); }
.ind-body { padding: 20px 24px 26px; display: flex; flex-direction: column; gap: 8px; border-top: 3px solid var(--orange); }
.ind h3 { font-size: 21px; }
.ind p { color: var(--muted); font-size: 15px; }
.note-line { margin-top: 22px; color: var(--muted); font-size: 15px; max-width: 70ch; }

/* Credibility */
.work-top { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; }
.work-fig { margin: 0; }
.work-fig img { display: block; width: 100%; height: auto; border-radius: 18px; border: 1px solid var(--line); }
.case-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 24px; }
.case { border: 2px dashed var(--line); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 14px; background: transparent; min-width: 0; }
.case .badge { align-self: flex-start; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: var(--tint); color: var(--blue); }
.case h4 { font-size: 20px; }
.case dl { margin: 0; display: grid; gap: 8px; font-size: 14.5px; }
.case dt { font-weight: 600; font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.case dd { margin: 0 0 4px; color: var(--ink); }
.proof-note { margin-top: 22px; color: var(--muted); font-size: 15px; max-width: 72ch; }

/* Insights */
.insights { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ins-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.ins { display: flex; gap: 16px; align-items: baseline; padding: 20px 0; border-top: 1px solid var(--line); font-family: var(--font-display); font-size: 20px; font-weight: 500; line-height: 1.3; }
.ins small { font: 600 12px/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--blue); min-width: 76px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: start; }
.contact-info { display: grid; gap: 22px; }
.ci { display: grid; gap: 4px; }
.ci .label { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ci .val { font-size: 17px; overflow-wrap: anywhere; }
.copy { margin-left: 10px; font: 600 12.5px var(--font-body); padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 30px; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding: 0; border: 0; min-width: 0; }
.seg legend { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 0; margin-bottom: 10px; }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; left: 0; top: 0; }
.seg span { display: inline-block; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; font-weight: 500; background: var(--bg); }
.seg input:checked + span { background: var(--deep); color: var(--on-deep); border-color: var(--deep); }
.seg input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label, .field .lab { font-size: 13.5px; font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; min-height: 46px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: 400 15px var(--font-body); }
.field textarea { min-height: 96px; resize: vertical; }
.radios { display: flex; flex-wrap: wrap; gap: 8px; }
.radios label { font-weight: 500; cursor: pointer; }
.radios label, .seg label { position: relative; }
.field .radios input { position: absolute; opacity: 0; pointer-events: none; width: 1px; min-height: 0; height: 1px; padding: 0; border: 0; left: 0; top: 0; }
.radios span { display: inline-block; padding: 9px 16px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); font-size: 14px; }
.radios input:checked + span { border-color: var(--blue); background: var(--tint); color: var(--ink); box-shadow: inset 0 0 0 1px var(--blue); }
.radios input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.form-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 22px; }
.status { font-size: 14.5px; color: var(--muted); max-width: 46ch; }
.status.ok { color: var(--ink); }


/* Careers / resume */
.careers { background: var(--tint); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.careers-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.careers-tag { font-family: var(--font-display); font-size: 22px; font-weight: 500; line-height: 1.3; margin-top: 18px; max-width: 30ch; color: var(--blue); }
.steps { margin: 32px 0 0; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 18px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.steps li::before { content: counter(step); width: 40px; height: 40px; border-radius: 50%; background: var(--deep); color: var(--on-deep); font: 700 17px/40px var(--font-display); text-align: center; }
.steps b { display: block; font-weight: 600; }
.steps span { display: block; color: var(--muted); font-size: 15px; }
.resume-card { position: relative; }
.drop { display: grid; gap: 6px; justify-items: center; text-align: center; padding: 26px 18px; border: 2px dashed var(--blue); border-radius: 16px; background: var(--bg); cursor: pointer; transition: background .15s ease, border-color .15s ease; }
.drop:hover, .drop.over { background: var(--tint); border-color: var(--orange); }
.drop:focus-within { outline: 3px solid var(--blue); outline-offset: 3px; }
.drop svg { width: 34px; height: 34px; stroke: var(--blue); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.drop .t { font-weight: 600; }
.drop .s { font-size: 13.5px; color: var(--muted); }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.file-chip { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); font-size: 14.5px; min-width: 0; }
.file-chip .nm { overflow-wrap: anywhere; font-weight: 500; }
.file-chip small { color: var(--muted); margin-left: 8px; white-space: nowrap; }
.file-chip button { flex: none; border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 999px; padding: 6px 12px; font: 600 12.5px var(--font-body); cursor: pointer; }
.field-err { color: #B42318; font-size: 13px; min-height: 0; }
:root[data-theme="dark"] .field-err { color: #FF8A7A; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .field-err { color: #FF8A7A; } }
.field input[aria-invalid="true"] { border-color: #B42318; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.consent input { width: 20px; min-height: 20px; margin-top: 2px; accent-color: var(--blue); flex: none; }
.done { display: grid; gap: 14px; justify-items: start; padding: 10px 4px; }
.done .tick { width: 56px; height: 56px; border-radius: 50%; background: var(--orange); display: grid; place-items: center; }
.done .tick svg { width: 28px; height: 28px; stroke: var(--on-accent); fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.done h3 { font-size: 26px; }
.done p { color: var(--muted); max-width: 48ch; }
.done .note { font-size: 13.5px; }

/* Footer */
.footer { background: var(--deep-bg); color: var(--on-deep); padding-block: 56px 36px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.footer h4 { font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--on-deep-muted); margin-bottom: 14px; font-family: var(--font-body); font-weight: 600; }
.footer ul { display: grid; gap: 9px; font-size: 15px; }
.footer a { text-decoration: none; }
@media (hover: hover) { .footer a:hover { text-decoration: underline; } }
.footer p { color: var(--on-deep-muted); font-size: 15px; }
.footer .brand { color: var(--on-deep); margin-bottom: 14px; }
.footer .brand b { color: var(--orange); }
.foot-base { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.18); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 13.5px; color: var(--on-deep-muted); }

.float-cta { transition: opacity .25s ease, transform .25s ease; position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 40; box-shadow: 0 10px 28px rgba(8, 20, 40, .28); }

.menu-open .float-cta { opacity: 0; pointer-events: none; visibility: hidden; }
.float-cta.off { opacity: 0; transform: translateY(14px); pointer-events: none; visibility: hidden; }
@media (max-width: 1140px) {
  .nav .link { display: none; }
  .menu-btn { display: inline-flex; }
  .mobile-panel[data-open="true"] { display: grid; gap: 4px; padding-block: 8px 18px; border-top: 1px solid var(--line); }
  .mobile-panel { max-height: calc(100vh - 96px); max-height: calc(100dvh - 96px); overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
  .mobile-panel a.btn { border-bottom: 0; padding: 12px 20px; font-weight: 600; text-align: center; margin-top: 8px; }
  .mobile-panel a { padding: 12px 4px; text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--line); }
  .imm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  section { padding-block: 60px; }
  .hero-grid, .contact-grid, .careers-grid, .work-top { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .svc.wide ul, .svc.full ul { grid-template-columns: 1fr; }
  .ind-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-grid { grid-template-columns: 1fr; }
  .ins-list { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .venn-wrap { max-width: 400px; }
}
@media (max-width: 560px) {
  .svc.full .svc-img { aspect-ratio: 16 / 9; }
  .nav .btn { display: none; }
  .ind-grid, .imm-grid, .fields, .foot-grid { grid-template-columns: 1fr; }
        .form-card { padding: 22px 18px; }
  .hero { padding-block: 40px 56px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }

/* Job portal: public openings */
.jobs { background: var(--bg); }
.jobs-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px; }
.jobs-count { font-size: 14px; color: var(--muted); }
.job-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 36px; }
.job { display: flex; flex-direction: column; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px; position: relative; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
@media (hover: hover) { .job:hover { transform: translateY(-3px); border-color: var(--blue); box-shadow: 0 14px 30px rgba(7, 60, 130, .14); } }
.job-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 600; background: var(--tint); color: var(--ink); border: 1px solid var(--line); }
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.badge.live::before { background: #1A9E5C; }
.badge.draft::before { background: #8A93B2; }
.badge.expired::before { background: #D14B3B; }
.job-posted { font-size: 12.5px; color: var(--muted); }
.job h3 { font-size: 22px; font-weight: 700; }
.job-co { font-weight: 600; color: var(--blue); font-size: 15px; margin-top: -6px; }
.job-meta { display: grid; gap: 6px; font-size: 14.5px; color: var(--muted); }
.job-meta span { display: flex; align-items: center; gap: 8px; }
.job-meta svg { width: 17px; height: 17px; flex: none; stroke: var(--blue); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.job-desc { color: var(--ink); font-size: 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; white-space: pre-line; overflow-wrap: anywhere; }
.job-desc.open { -webkit-line-clamp: unset; display: block; }
.job-more { align-self: flex-start; border: 0; background: none; padding: 0; color: var(--blue); font: 600 13.5px var(--font-body); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.job-foot { margin-top: auto; padding-top: 6px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.job-close { font-size: 12.5px; color: var(--muted); }
.jobs-empty { margin-top: 36px; padding: 40px 24px; text-align: center; border: 2px dashed var(--line); border-radius: 18px; background: var(--surface); display: grid; gap: 12px; justify-items: center; }
.jobs-empty h3 { font-size: 24px; }
.jobs-empty p { color: var(--muted); max-width: 52ch; }
.skeleton { height: 260px; border-radius: 18px; border: 1px solid var(--line); background: linear-gradient(90deg, var(--surface), var(--tint), var(--surface)); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* Apply modal */
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; background: rgba(10, 16, 48, .62); overflow-y: auto; }
.modal-box { width: min(560px, 100%); max-height: calc(100dvh - 32px); overflow-y: auto; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 20px; padding: 26px; position: relative; }
.modal-x { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font-size: 20px; line-height: 1; cursor: pointer; }
.modal h3 { font-size: 24px; padding-right: 40px; }
.modal .sub { color: var(--muted); margin: 4px 0 18px; font-size: 14.5px; }
.sr-note { font-size: 13px; color: var(--muted); margin-top: 10px; }
.notice { margin-top: 28px; padding: 14px 18px; border-radius: 14px; background: var(--tint); border: 1px solid var(--line); font-size: 14.5px; color: var(--ink); }

/* Admin dashboard */
.admin { min-height: 100vh; min-height: 100dvh; background: var(--bg); }
.adm-bar { background: var(--deep-bg); color: var(--on-deep); }
.adm-bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding-block: 14px; }
.adm-bar b { font-family: var(--font-display); font-size: 20px; }
.adm-bar .pill { margin-left: 10px; font-size: 12px; font-weight: 600; background: var(--orange); color: var(--on-accent); padding: 3px 10px; border-radius: 999px; }
.adm-main { padding-block: 32px 80px; }
.adm-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.tab { border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 999px; padding: 10px 18px; font: 600 14.5px var(--font-body); cursor: pointer; min-height: 44px; }
.tab[aria-selected="true"] { background: var(--deep); color: var(--on-deep); border-color: var(--deep); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 22px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.stat b { display: block; font: 700 28px var(--font-display); color: var(--blue); }
.stat span { font-size: 13px; color: var(--muted); }
.adm-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.adm-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.fchip { border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 999px; padding: 7px 14px; font: 500 13.5px var(--font-body); cursor: pointer; min-height: 38px; }
.fchip[aria-pressed="true"] { background: var(--tint); border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.rows { display: grid; gap: 12px; }
.row { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 18px; align-items: center; }
.row h4 { font-size: 18px; overflow-wrap: anywhere; }
.row .sub { color: var(--muted); font-size: 14px; display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 6px; }
.row-act { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.mini { border: 1px solid var(--line); background: var(--bg); color: var(--ink); border-radius: 10px; padding: 8px 14px; font: 600 13.5px var(--font-body); cursor: pointer; min-height: 40px; }
@media (hover: hover) { .mini:hover { border-color: var(--blue); } }
.mini.pri { background: var(--orange); border-color: var(--orange); color: var(--on-accent); }
.mini.danger { color: #B42318; border-color: #E5B5AF; }
:root[data-theme="dark"] .mini.danger { color: #FF8A7A; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .mini.danger { color: #FF8A7A; } }
.mini[disabled] { opacity: .55; cursor: wait; }
.confirm { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 10px; background: var(--tint); border: 1px solid var(--line); font-size: 14.5px; }
.editor { background: var(--surface); border: 1px solid var(--blue); border-radius: 18px; padding: 24px; margin-bottom: 22px; }
.editor h3 { font-size: 22px; margin-bottom: 16px; }
.hint { font-size: 12.5px; color: var(--muted); font-weight: 400; }
.app { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; display: grid; gap: 10px; }
.app-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; align-items: baseline; }
.app h4 { font-size: 18px; }
.app .sub { color: var(--muted); font-size: 14px; display: flex; flex-wrap: wrap; gap: 4px 16px; }
.app .sub a { color: var(--blue); }
.app-act { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.app-act select { min-height: 40px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); padding: 6px 10px; font: 500 14px var(--font-body); }
.adm-search { min-height: 44px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); padding: 8px 12px; font: 400 15px var(--font-body); min-width: 220px; }
.adm-empty { padding: 36px 20px; text-align: center; color: var(--muted); border: 2px dashed var(--line); border-radius: 14px; background: var(--surface); }
.adm-gate { max-width: 520px; margin: 80px auto; text-align: center; display: grid; gap: 14px; justify-items: center; }
.toast { position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 90; background: var(--ink); color: var(--bg); padding: 12px 20px; border-radius: 999px; font-size: 14.5px; font-weight: 500; max-width: calc(100vw - 32px); box-shadow: 0 10px 28px rgba(8, 20, 40, .3); }
@media (max-width: 1000px) { .job-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) {
  .job-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .row { grid-template-columns: 1fr; }
  .row-act { justify-content: flex-start; }
  .modal-box, .editor { padding: 20px 16px; }
  .adm-search { min-width: 0; width: 100%; }
}

/* Animated hero Venn */
.venn-wrap { width: 100%; max-width: 480px; justify-self: center; display: grid; gap: 14px; }
.venn { width: 100%; max-width: none; overflow: visible; display: block; }
.venn text { pointer-events: none; }
.orb { cursor: pointer; outline: none; --c: #fff; }
.orb.o1 { --c: var(--orange); } .orb.o2 { --c: var(--sky); } .orb.o3 { --c: #fff; }
.orb .float { animation: vfloat 7s ease-in-out infinite; }
.orb.o2 .float { animation-duration: 8.5s; animation-delay: -2s; }
.orb.o3 .float { animation-duration: 9.5s; animation-delay: -4s; }
.orb .pop { transform-box: fill-box; transform-origin: center; transition: transform .45s cubic-bezier(.2,.8,.2,1), opacity .35s ease; }
.orb .disc { fill-opacity: 0; animation: vfill 1.2s ease-out .9s forwards; transition: fill-opacity .35s ease; mix-blend-mode: screen; }
.orb .ring { fill: none; stroke: var(--c); stroke-width: 3; stroke-dasharray: 1; stroke-dashoffset: 1; animation: vdraw 1.6s cubic-bezier(.65,0,.35,1) forwards; transition: stroke-width .3s ease; filter: drop-shadow(0 0 6px color-mix(in srgb, var(--c) 55%, transparent)); }
.orb.o2 .ring { animation-delay: .25s; } .orb.o3 .ring { animation-delay: .5s; }
.orb .lbl { opacity: 0; animation: vup .8s ease-out 1.3s forwards; }
.orb.o2 .lbl { animation-delay: 1.45s; } .orb.o3 .lbl { animation-delay: 1.6s; }
.orb .spin { animation: vspin 14s linear infinite; }
.orb.o2 .spin { animation-duration: 18s; animation-direction: reverse; } .orb.o3 .spin { animation-duration: 16s; }
.orb .dot { fill: var(--c); opacity: .95; filter: drop-shadow(0 0 5px var(--c)); }
.venn.has-on .orb:not(.on) .pop { opacity: .78; }
.orb.on .pop { transform: scale(1.045); }
.orb.on .disc { fill-opacity: 1; }
.orb.on .ring { stroke-width: 4.6; }
.orb:focus-visible .ring { stroke-width: 5; stroke: #fff; }
.core-ripple { fill: none; stroke: var(--orange); stroke-width: 2; transform-origin: 210px 172px; opacity: 0; animation: vripple 3.2s ease-out 2s infinite; }
.core-ripple.r2 { animation-delay: 3.6s; }
.core-ring { fill: none; stroke: var(--orange); stroke-width: 1.6; stroke-dasharray: 3 7; transform-origin: 210px 172px; animation: vspin 10s linear infinite; opacity: .9; }
.core-dot { fill: var(--orange); transform-origin: 210px 172px; animation: vbeat 3.2s ease-in-out 2s infinite; filter: drop-shadow(0 0 8px var(--orange)); }
.core-txt { opacity: 0; animation: vup .8s ease-out 1.9s forwards; }
.venn-info { min-height: 112px; padding: 16px 18px; border-radius: 16px; border: 1px solid rgba(255,255,255,.26); background: rgba(255,255,255,.1); color: #fff; backdrop-filter: blur(4px); }
.venn-info h3 { font-size: 18px; display: flex; align-items: center; gap: 10px; }
.venn-info h3::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--vc, var(--orange)); box-shadow: 0 0 10px var(--vc, var(--orange)); flex: none; }
.venn-info p { font-size: 14.5px; color: var(--on-deep-muted); margin-top: 6px; }
.venn-info a { display: inline-block; margin-top: 8px; font-weight: 600; font-size: 14px; color: var(--orange); text-underline-offset: 3px; }
.venn-info .swap { animation: vswap .45s ease-out; }
@keyframes vdraw { to { stroke-dashoffset: 0; } }
@keyframes vfill { to { fill-opacity: .9; } }
@keyframes vup { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes vfloat { 0%, 100% { transform: translate(0, 0); } 33% { transform: translate(5px, -7px); } 66% { transform: translate(-5px, 5px); } }
@keyframes vspin { to { transform: rotate(360deg); } }
@keyframes vripple { 0% { transform: scale(.6); opacity: .8; } 100% { transform: scale(4.2); opacity: 0; } }
@keyframes vbeat { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.25); } }
@keyframes vswap { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .orb .float, .orb .spin, .core-ring, .core-dot, .core-ripple { animation: none; }
  .orb .ring { animation: none; stroke-dashoffset: 0; } .orb .disc { animation: none; fill-opacity: .9; } .orb .lbl, .core-txt { animation: none; opacity: 1; }
  .venn-info .swap { animation: none; }
}
