/* =========================================================
   Company Profile Portal v2 — IT company edition
   Navy / cobalt / teal · Manrope + IBM Plex Sans
   ========================================================= */
:root {
  --brand: #1D4ED8;
  --brand-2: #1E40AF;
  --accent: #0EA5A4;
  --navy: #0A1A3F;
  --navy-2: #11275C;
  --navy-3: #1B3474;
  --paper: #F6F8FB;
  --white: #FFFFFF;
  --line: #E3E8F0;
  --line-2: #CBD5E1;
  --text: #0F172A;
  --muted: #475569;
  --soft: #94A3B8;
  --on-dark: #C7D2E8;
  --on-dark-2: #8EA0C6;
  --success: #15803D;
  --danger: #B91C1C;
  --display: "Manrope", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --wrap: 1280px;
  --gutter: clamp(20px, 4vw, 40px);
  --r-xs: 4px;
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 18px;
  --header-h: 74px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 8px 24px -12px rgba(15, 23, 42, .18);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.65; color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-2); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; background: var(--brand); color: #fff; padding: 10px 16px; z-index: 200; border-radius: var(--r-sm); }
.skip-link:focus { top: 12px; color: #fff; }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.12; color: var(--text); margin: 0 0 .5em; letter-spacing: -0.025em; }
h1 { font-size: clamp(2.3rem, 4.8vw, 3.75rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.3rem; letter-spacing: -0.015em; }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
.lead { font-size: 1.2rem; line-height: 1.6; color: var(--muted); max-width: 64ch; }
.muted { color: var(--muted); }
.mt-0 { margin-top: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--tight { padding: clamp(44px, 6vw, 76px) 0; }
.section--white { background: var(--white); }
.section--line { border-top: 1px solid var(--line); }
.section--brand, .section--dark { background: var(--navy); color: var(--on-dark); }
.section--brand h2, .section--brand h3, .section--dark h2, .section--dark h3 { color: #fff; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(32px, 4vw, 52px); flex-wrap: wrap; }
.section-head h2 { margin: 0; max-width: 22ch; }
.section-head p { margin: .7rem 0 0; color: var(--muted); max-width: 58ch; font-size: 1.08rem; }
.section--brand .section-head p, .section--dark .section-head p { color: var(--on-dark-2); }
.link-more { font-weight: 600; font-size: .95rem; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.link-more .icon { width: 16px; height: 16px; transition: transform .2s; }
.link-more:hover .icon { transform: translateX(3px); }
.section--brand .link-more, .section--dark .link-more { color: #fff; }
.icon { width: 20px; height: 20px; flex: none; }

/* ---------------- Buttons ---------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 1rem/1 var(--sans); padding: 15px 24px; border-radius: var(--r-sm); border: 1px solid transparent; cursor: pointer; text-decoration: none; transition: background .2s, color .2s, border-color .2s, box-shadow .2s; }
.btn .icon { width: 18px; height: 18px; }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-2); color: #fff; }
.btn--accent { background: #fff; color: var(--navy); }
.btn--accent:hover { background: #E8EEFC; color: var(--navy); }
.btn--ghost { border-color: var(--line-2); color: var(--text); background: var(--white); }
.btn--ghost:hover { border-color: var(--text); color: var(--text); }
.btn--light { border-color: rgba(255,255,255,.3); color: #fff; background: transparent; }
.btn--light:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.06); }
.btn--sm { padding: 10px 16px; font-size: .92rem; }
.btn--block { width: 100%; }

/* ---------------- Top bar + header ---------------- */
.topbar { background: var(--navy); color: var(--on-dark-2); font-size: .85rem; }
.topbar .wrap { display: flex; gap: 22px; align-items: center; height: 38px; }
.topbar a { color: var(--on-dark); text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.topbar a:hover { color: #fff; }
.topbar .icon { width: 15px; height: 15px; }
.topbar__right { margin-left: auto; display: flex; gap: 22px; }
@media (max-width: 760px) { .topbar__hide { display: none !important; } }

.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-header.is-scrolled { box-shadow: 0 6px 20px -16px rgba(15,23,42,.4); }
.site-header__inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--text); flex: none; }
.brand img { height: 38px; width: auto; }
.brand__mark { width: 36px; height: 36px; border-radius: 9px; background: var(--brand); color: #fff; display: grid; place-items: center; font: 800 .95rem/1 var(--display); letter-spacing: -0.02em; }
.brand__name { font: 800 1.15rem/1.1 var(--display); letter-spacing: -0.02em; }
.nav { margin-left: auto; }
.nav > ul { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; align-items: center; }
.nav > ul > li { position: relative; display: flex; align-items: center; }
.nav a.nav__link { display: block; padding: 10px 12px; font-size: .97rem; font-weight: 500; color: var(--text); text-decoration: none; border-radius: var(--r-sm); }
.nav a.nav__link:hover { color: var(--brand); }
.nav a.nav__link[aria-current="page"] { color: var(--brand); }
.nav__caret { border: 0; background: none; padding: 6px 4px; margin-left: -8px; cursor: pointer; color: var(--muted); display: grid; place-items: center; border-radius: 4px; }
.nav__caret .icon { width: 14px; height: 14px; transform: rotate(90deg); transition: transform .2s; }
.has-mega.is-open .nav__caret .icon { transform: rotate(-90deg); }
.mega { position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%); width: min(760px, 92vw); background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: 0 30px 60px -24px rgba(15,23,42,.35); padding: 22px; display: none; z-index: 70; }
.mega::before { content: ""; position: absolute; top: -16px; left: 0; right: 0; height: 16px; }
.has-mega:hover .mega, .has-mega.is-open .mega { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 18px; }
.mega a { display: grid; grid-template-columns: 38px 1fr; gap: 12px; padding: 10px; border-radius: var(--r-sm); text-decoration: none; color: var(--text); align-items: start; }
.mega a:hover { background: var(--paper); }
.mega__icon { width: 38px; height: 38px; border-radius: 9px; background: #EEF2FF; color: var(--brand); display: grid; place-items: center; }
.mega strong { display: block; font-weight: 600; font-size: .96rem; line-height: 1.3; }
.mega span.sub { display: block; font-size: .84rem; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.mega__foot { grid-column: 1 / -1; border-top: 1px solid var(--line); margin-top: 10px; padding-top: 12px; display: flex; justify-content: space-between; font-size: .9rem; }
.mega__foot a { display: inline; padding: 0; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid transparent; background: transparent; color: var(--text); cursor: pointer; }
.icon-btn:hover { background: var(--paper); }
.nav-toggle { display: none; }

@media (max-width: 1140px) {
  .nav-toggle { display: grid; }
  .nav { position: fixed; inset: calc(var(--header-h)) 0 0 0; background: var(--white); padding: 12px var(--gutter) 40px; transform: translateX(100%); visibility: hidden; transition: transform .25s ease, visibility .25s; overflow-y: auto; margin: 0; }
  .nav.is-open { transform: none; visibility: visible; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav > ul > li { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .nav a.nav__link { font: 700 1.3rem/1.2 var(--display); padding: 16px 0; flex: 1; }
  .nav__caret { width: 44px; height: 44px; margin: 0; }
  .mega { position: static; transform: none; width: 100%; box-shadow: none; border: 0; padding: 0 0 12px; }
  .has-mega:hover .mega { display: none; }
  .has-mega.is-open .mega { display: grid; grid-template-columns: 1fr; }
  .mega span.sub { display: none; }
  .header-actions { margin-left: auto; }
  .header-actions .btn { display: none; }
  body.nav-open { overflow: hidden; }
}

/* ---------------- Search overlay ---------------- */
.search-panel { position: fixed; inset: 0; z-index: 90; background: rgba(10, 26, 63, .6); display: none; padding: 10vh var(--gutter) 0; }
.search-panel.is-open { display: block; }
.search-box { max-width: 720px; margin: 0 auto; background: var(--white); border-radius: var(--r-md); overflow: hidden; box-shadow: 0 30px 80px rgba(10, 26, 63, .4); }
.search-box form { display: flex; align-items: center; gap: 12px; padding: 0 20px; border-bottom: 1px solid var(--line); }
.search-box input { flex: 1; border: 0; font: 400 1.25rem/1 var(--sans); padding: 22px 0; outline: none; background: transparent; color: var(--text); }
.search-results { max-height: 60vh; overflow-y: auto; }
.search-results .group { padding: 12px 20px 4px; font-size: .8rem; font-weight: 600; color: var(--muted); }
.search-results a { display: flex; gap: 14px; align-items: center; padding: 10px 20px; text-decoration: none; color: var(--text); }
.search-results a:hover, .search-results a.is-active { background: var(--paper); }
.search-results img { width: 44px; height: 44px; object-fit: cover; border-radius: var(--r-sm); }
.search-results strong { display: block; font-weight: 600; }
.search-results span { font-size: .88rem; color: var(--muted); }
.search-empty { padding: 24px 20px; color: var(--muted); }

/* ---------------- Hero ---------------- */
.hero { background: var(--navy); color: var(--on-dark); position: relative; overflow: hidden; padding: clamp(56px, 8vw, 104px) 0 0; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 56px 56px; mask-image: linear-gradient(180deg, #000 30%, transparent 95%); -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 95%); pointer-events: none; }
.hero .wrap { position: relative; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 72px); align-items: center; }
.hero__badge { display: inline-flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--on-dark); border: 1px solid rgba(255,255,255,.16); padding: 6px 14px 6px 8px; border-radius: 999px; margin-bottom: 26px; text-decoration: none; }
.hero__badge b { background: var(--accent); color: #042F2E; font-size: .78rem; padding: 3px 9px; border-radius: 999px; font-weight: 600; }
.hero__badge:hover { color: #fff; border-color: rgba(255,255,255,.35); }
.hero h1 { color: #fff; font-size: clamp(2.6rem, 5.2vw, 4.25rem); line-height: 1.03; letter-spacing: -0.035em; margin-bottom: 24px; max-width: 15ch; }
.hero__text { font-size: 1.22rem; color: var(--on-dark); max-width: 52ch; margin-bottom: 34px; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__actions .btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.hero__actions .btn--ghost:hover { border-color: #fff; }

.console { background: #0E214E; border: 1px solid rgba(255,255,255,.1); border-radius: var(--r-lg); box-shadow: 0 40px 80px -40px rgba(0,0,0,.6); overflow: hidden; }
.console__bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,.08); font-size: .82rem; color: var(--on-dark-2); }
.console__dots { display: flex; gap: 6px; margin-right: 8px; }
.console__dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.18); }
.console__live { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; color: #7EE7E0; }
.console__live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(14,165,164,.2); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(14,165,164,0); } }
.console ul { list-style: none; margin: 0; padding: 6px 0; }
.console li a { display: grid; grid-template-columns: 1fr auto; gap: 4px 14px; padding: 13px 18px; text-decoration: none; color: inherit; border-bottom: 1px solid rgba(255,255,255,.06); }
.console li:last-child a { border-bottom: 0; }
.console li a:hover { background: rgba(255,255,255,.04); }
.console__title { color: #fff; font-weight: 600; font-size: .98rem; line-height: 1.35; }
.console__meta { font-size: .82rem; color: var(--on-dark-2); grid-column: 1; }
.console .badge { grid-row: 1 / span 2; grid-column: 2; align-self: center; }
.console__foot { display: flex; justify-content: space-between; padding: 12px 18px; border-top: 1px solid rgba(255,255,255,.08); font-size: .85rem; }
.console__foot a { color: #fff; text-decoration: none; }
.console__foot span { color: var(--on-dark-2); }

.figures { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); border-top: 1px solid rgba(255,255,255,.12); margin-top: clamp(48px, 7vw, 88px); }
.figure { padding: 28px 24px 34px 0; }
.figure + .figure { padding-left: 24px; border-left: 1px solid rgba(255,255,255,.12); }
.figure strong { display: block; font: 800 clamp(2rem, 3.6vw, 2.9rem)/1 var(--display); color: #fff; margin-bottom: 8px; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.figure span { font-size: .95rem; color: var(--on-dark-2); }
@media (max-width: 960px) { .hero__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .figures { grid-template-columns: 1fr 1fr; }
  .figure:nth-child(odd) { border-left: 0; padding-left: 0; }
  .figure { border-top: 1px solid rgba(255,255,255,.12); padding: 20px 12px 20px 0; }
  .figure + .figure { padding-left: 12px; }
}

/* ---------------- Logo strip ---------------- */
.logos { background: var(--white); border-bottom: 1px solid var(--line); padding: 30px 0; }
.logos .wrap { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.logos p { margin: 0; font-size: .92rem; color: var(--muted); flex: none; max-width: 15ch; line-height: 1.35; }
.logo-row { display: flex; flex-wrap: wrap; gap: 14px 36px; align-items: center; flex: 1; }
.logo-item { display: flex; align-items: center; height: 40px; color: var(--soft); text-decoration: none; font: 700 1.05rem/1 var(--display); letter-spacing: -0.02em; white-space: nowrap; transition: color .2s; }
.logo-item img { max-height: 36px; width: auto; max-width: 140px; filter: grayscale(1); opacity: .7; transition: filter .2s, opacity .2s; }
a.logo-item:hover { color: var(--text); }
a.logo-item:hover img { filter: none; opacity: 1; }
.logo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.logo-grid > * { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); min-height: 120px; display: grid; place-items: center; padding: 22px; text-align: center; text-decoration: none; color: var(--muted); font: 700 1.05rem/1.25 var(--display); }
.logo-grid img { max-height: 48px; width: auto; max-width: 150px; filter: grayscale(1); opacity: .75; }
.logo-grid > a:hover { color: var(--text); }
.logo-grid > a:hover img { filter: none; opacity: 1; }

/* ---------------- Services grid ---------------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.svc { background: var(--white); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 34px 30px 30px; text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: 14px; transition: background .2s; position: relative; }
.svc:hover { background: #F9FBFF; color: inherit; }
.svc::after { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--brand); transition: width .3s; }
.svc:hover::after { width: 100%; }
.svc__icon { width: 50px; height: 50px; border-radius: 12px; background: #EEF2FF; color: var(--brand); display: grid; place-items: center; }
.svc__icon .icon { width: 24px; height: 24px; }
.svc h3 { margin: 6px 0 0; font-size: 1.25rem; }
.svc p { margin: 0; color: var(--muted); font-size: .98rem; flex: 1; }
.svc .link-more { margin-top: 6px; }
@media (max-width: 980px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .svc-grid { grid-template-columns: 1fr; } }

/* Legacy list-style services (used on detail pages) */
.services { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); border-top: 1px solid var(--line-2); }
.service { padding: 28px 26px 28px 0; border-bottom: 1px solid var(--line-2); text-decoration: none; color: inherit; display: grid; grid-template-columns: 46px 1fr; gap: 16px; }
.service:hover h3 { color: var(--brand); }
.service__icon { width: 46px; height: 46px; border-radius: 11px; background: #EEF2FF; display: grid; place-items: center; color: var(--brand); }
.service__icon .icon { width: 22px; height: 22px; }
.service h3 { font-size: 1.15rem; margin-bottom: 6px; transition: color .2s; }
.service p { margin: 0; color: var(--muted); font-size: .97rem; }
.service small { display: block; margin-top: 10px; color: var(--brand); font-weight: 600; font-size: .85rem; }
.section--brand .services, .section--brand .service { border-color: rgba(255,255,255,.12); }
.section--brand .service__icon { background: rgba(255,255,255,.08); color: #7EE7E0; }
.section--brand .service p { color: var(--on-dark-2); }

/* ---------------- Industries ---------------- */
.ind-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r-md); overflow: hidden; }
.ind { background: var(--navy); padding: 28px 24px; text-decoration: none; color: var(--on-dark); display: flex; flex-direction: column; gap: 12px; min-height: 210px; transition: background .2s; }
.ind:hover { background: var(--navy-2); color: var(--on-dark); }
.ind .icon { width: 26px; height: 26px; color: #7EE7E0; }
.ind h3 { color: #fff; font-size: 1.15rem; margin: auto 0 0; }
.ind p { margin: 0; font-size: .92rem; color: var(--on-dark-2); }
.section:not(.section--brand):not(.section--dark) .ind-grid { background: var(--line); border-color: var(--line); }
.section:not(.section--brand):not(.section--dark) .ind { background: var(--white); color: var(--muted); }
.section:not(.section--brand):not(.section--dark) .ind:hover { background: #F9FBFF; }
.section:not(.section--brand):not(.section--dark) .ind h3 { color: var(--text); }
.section:not(.section--brand):not(.section--dark) .ind p { color: var(--muted); }
.section:not(.section--brand):not(.section--dark) .ind .icon { color: var(--brand); }
@media (max-width: 980px) { .ind-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .ind-grid { grid-template-columns: 1fr; } .ind { min-height: 0; } }

/* ---------------- Case studies ---------------- */
.cases { display: grid; gap: 28px; }
.case { display: grid; grid-template-columns: 1.05fr 1fr; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; text-decoration: none; color: inherit; transition: border-color .2s, box-shadow .2s; }
.case:hover { border-color: var(--line-2); box-shadow: var(--shadow); color: inherit; }
.case:nth-child(even) .case__media { order: 2; }
.case__media { min-height: 320px; background: var(--line); position: relative; }
.case__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.case__body { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; }
.case__body h3 { font-size: clamp(1.4rem, 2.2vw, 1.85rem); margin: 10px 0 12px; }
.case__body p { color: var(--muted); }
.case__metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 18px; margin: auto 0 0; padding-top: 22px; border-top: 1px solid var(--line); }
.case__metrics strong { display: block; font: 800 1.7rem/1.05 var(--display); color: var(--brand); letter-spacing: -0.03em; }
.case__metrics span { display: block; font-size: .86rem; color: var(--muted); margin-top: 6px; line-height: 1.35; }
@media (max-width: 860px) { .case { grid-template-columns: 1fr; } .case:nth-child(even) .case__media { order: 0; } .case__media { min-height: 220px; } }

.project-card { display: block; text-decoration: none; color: inherit; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; transition: border-color .2s, box-shadow .2s; height: 100%; }
.project-card:hover { border-color: var(--line-2); box-shadow: var(--shadow); color: inherit; }
.project-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--line); }
.project-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.project-card:hover .project-card__media img { transform: scale(1.03); }
.project-card > div:last-child { padding: 20px 22px 24px; }
.project-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.project-card p { color: var(--muted); font-size: .96rem; margin: 0; }
.project-card--row { display: grid; grid-template-columns: 150px 1fr; border: 0; background: transparent; border-radius: 0; }
.project-card--row:hover { box-shadow: none; }
.project-card--row .project-card__media { aspect-ratio: 4 / 3; border-radius: var(--r-sm); }
.project-card--row > div:last-child { padding: 0 0 0 18px; }
.project-card--row h3 { font-size: 1.05rem; }
.project-meta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: .85rem; color: var(--muted); margin-bottom: 8px; }
.project-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.projects-feature { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; }
.projects-feature__list { display: grid; gap: 20px; align-content: start; }
@media (max-width: 900px) { .projects-feature { grid-template-columns: 1fr; } }

.badge { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: #EEF2F7; color: var(--muted); white-space: nowrap; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge--completed { background: #DCFCE7; color: #166534; }
.badge--active { background: #DBEAFE; color: #1E40AF; }
.badge--upcoming { background: #FEF3C7; color: #92400E; }
.badge--maintenance { background: #CCFBF1; color: #115E59; }
.badge--archived { background: #EEF2F7; color: var(--muted); }
.console .badge--completed { background: rgba(34,197,94,.14); color: #86EFAC; }
.console .badge--active { background: rgba(59,130,246,.18); color: #93C5FD; }
.console .badge--upcoming { background: rgba(245,158,11,.16); color: #FCD34D; }
.console .badge--maintenance { background: rgba(20,184,166,.16); color: #5EEAD4; }
.tag { display: inline-block; font-size: .8rem; font-weight: 600; color: var(--brand); }

/* ---------------- Process (true sequence) ---------------- */
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); counter-reset: step; border-top: 1px solid var(--line-2); }
.process li { counter-increment: step; padding: 26px 22px 6px 0; position: relative; }
.process li::before { content: counter(step, decimal-leading-zero); display: block; font: 700 .9rem/1 var(--display); color: var(--brand); margin-bottom: 18px; }
.process li::after { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.process h3 { font-size: 1.15rem; margin-bottom: 8px; }
.process p { color: var(--muted); font-size: .95rem; margin: 0; }
.section--brand .process { border-color: rgba(255,255,255,.14); }
.section--brand .process li::before { color: #7EE7E0; }
.section--brand .process li::after { background: var(--accent); }
.section--brand .process p { color: var(--on-dark-2); }

/* ---------------- Why us / features ---------------- */
.why { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.why__list { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line); }
.why__list div { padding: 24px 24px 24px 0; border-bottom: 1px solid var(--line); }
.why__list div:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); }
.why__list h3 { font-size: 1.1rem; margin-bottom: 6px; }
.why__list p { margin: 0; color: var(--muted); font-size: .96rem; }
@media (max-width: 900px) { .why { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .why__list { grid-template-columns: 1fr; } .why__list div:nth-child(even) { padding-left: 0; border-left: 0; } }

.stack { display: flex; flex-wrap: wrap; gap: 10px; }
.stack span { font-size: .92rem; font-weight: 500; padding: 9px 15px; border: 1px solid rgba(255,255,255,.16); border-radius: var(--r-sm); color: var(--on-dark); background: rgba(255,255,255,.03); }
.section:not(.section--brand):not(.section--dark) .stack span { border-color: var(--line-2); color: var(--text); background: var(--white); }

/* ---------------- Testimonials ---------------- */
.quotes { position: relative; }
.quote { display: grid; grid-template-columns: 1fr; gap: 28px; }
.quote blockquote { margin: 0; font: 600 clamp(1.35rem, 2.6vw, 2rem)/1.35 var(--display); letter-spacing: -0.02em; color: var(--text); max-width: 34ch; }
.quote blockquote::before { content: "\201C"; display: block; font-size: 3.6rem; line-height: .6; color: var(--brand); margin-bottom: 18px; }
.quote figcaption { display: flex; gap: 14px; align-items: center; }
.quote figcaption img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.quote figcaption strong { display: block; font-weight: 600; }
.quote figcaption span { font-size: .92rem; color: var(--muted); }
.quote-nav { display: flex; gap: 8px; margin-top: 28px; }
.quote-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--white); cursor: pointer; display: grid; place-items: center; color: var(--text); }
.quote-nav button:hover { border-color: var(--text); }
.quote-nav .dots { display: flex; gap: 6px; align-items: center; margin-left: 10px; }
.quote-nav .dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); }
.quote-nav .dots i.is-on { background: var(--brand); width: 22px; border-radius: 4px; }
.quote-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.quote-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 28px; display: flex; flex-direction: column; gap: 18px; margin: 0; }
.quote-card blockquote { margin: 0; font-size: 1.05rem; line-height: 1.6; color: var(--text); flex: 1; }
.stars { color: #F59E0B; letter-spacing: 2px; font-size: .95rem; }

/* ---------------- People ---------------- */
.leaders { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 32px 24px; }
.person { text-decoration: none; color: inherit; display: block; }
.person__photo { aspect-ratio: 4 / 5; border-radius: var(--r-md); overflow: hidden; background: var(--line); margin-bottom: 16px; }
.person__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.person:hover .person__photo img { transform: scale(1.03); }
.person h3 { font-size: 1.18rem; margin-bottom: 2px; }
.person__role { font-size: .95rem; color: var(--muted); margin: 0; }
.person__org { font-size: .85rem; color: var(--brand); margin-top: 4px; font-weight: 600; }
.section--brand .person h3 { color: #fff; }
.section--brand .person__role { color: var(--on-dark-2); }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 28px 20px; }
.team-grid .person__photo { aspect-ratio: 1; }
.team-grid .person h3 { font-size: 1.05rem; }
.faces { display: flex; flex-wrap: wrap; }
.faces a { width: 76px; height: 76px; border-radius: 50%; overflow: hidden; border: 3px solid var(--white); margin-right: -12px; background: var(--line); transition: transform .2s; position: relative; }
.faces a:hover { transform: translateY(-4px); z-index: 2; }
.faces img { width: 100%; height: 100%; object-fit: cover; }

/* ---------------- Companies ---------------- */
.company-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.company-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: border-color .2s, box-shadow .2s; }
.company-card:hover { border-color: var(--line-2); box-shadow: var(--shadow); color: inherit; }
.company-card__cover { aspect-ratio: 16 / 9; background: var(--line); position: relative; }
.company-card__cover img { width: 100%; height: 100%; object-fit: cover; }
.company-card__logo { position: absolute; left: 24px; bottom: -26px; width: 56px; height: 56px; border-radius: 12px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; }
.company-card__logo img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.company-card__body { padding: 40px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.company-card h3 { margin-bottom: 6px; }
.company-card p { color: var(--muted); font-size: .97rem; flex: 1; }
.company-card__meta { display: flex; gap: 16px; font-size: .86rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; margin-top: 8px; flex-wrap: wrap; }
.company-card__meta b { color: var(--text); font-weight: 600; }

/* ---------------- Gallery & lightbox ---------------- */
.masonry { columns: 3 260px; column-gap: 16px; }
.masonry figure { margin: 0 0 16px; break-inside: avoid; border-radius: var(--r-sm); overflow: hidden; background: var(--line); position: relative; }
.masonry img { width: 100%; height: auto; transition: transform .5s ease; }
.masonry figure:hover img { transform: scale(1.02); }
.masonry figcaption { position: absolute; inset: auto 0 0 0; padding: 28px 14px 12px; font-size: .88rem; color: #fff; background: linear-gradient(transparent, rgba(10,26,63,.75)); opacity: 0; transition: opacity .2s; }
.masonry figure:hover figcaption, .masonry figure:focus-within figcaption { opacity: 1; }
.masonry button { all: unset; display: block; cursor: zoom-in; }
.masonry button:focus-visible { outline: 3px solid var(--accent); }
.album-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.album { text-decoration: none; color: inherit; }
.album__cover { aspect-ratio: 4 / 3; border-radius: var(--r-md); overflow: hidden; background: var(--line); margin-bottom: 12px; }
.album__cover img { width: 100%; height: 100%; object-fit: cover; }
.album h3 { font-size: 1.15rem; margin-bottom: 2px; }
.album span { font-size: .9rem; color: var(--muted); }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(6, 14, 34, .95); display: none; align-items: center; justify-content: center; padding: 60px 70px; }
.lightbox.is-open { display: flex; }
.lightbox img { max-height: 82vh; max-width: 100%; width: auto; border-radius: var(--r-sm); }
.lightbox__caption { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; color: var(--on-dark); font-size: .95rem; }
.lightbox button { position: absolute; background: rgba(255,255,255,.08); border: 0; color: #fff; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.lightbox button:hover { background: rgba(255,255,255,.18); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) { .lightbox { padding: 60px 12px; } .lightbox__prev, .lightbox__next { top: auto; bottom: 56px; transform: none; } }

/* ---------------- Timeline & achievements ---------------- */
.timeline { list-style: none; margin: 0; padding: 0 0 8px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); overflow-x: auto; scrollbar-width: thin; }
.timeline li { padding: 0 24px 0 0; position: relative; }
.timeline li::before { content: ""; display: block; height: 1px; background: rgba(255,255,255,.2); margin: 0 -24px 20px 0; }
.timeline li::after { content: ""; position: absolute; top: -4px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.timeline .year { font: 800 1.9rem/1 var(--display); color: #fff; display: block; margin-bottom: 10px; letter-spacing: -0.03em; }
.timeline h3 { font-size: 1.05rem; color: #fff; margin-bottom: 6px; }
.timeline p { font-size: .92rem; color: var(--on-dark-2); margin: 0; }
.year-block { display: grid; grid-template-columns: 140px 1fr; gap: 24px; padding: 32px 0; border-top: 1px solid var(--line-2); }
.year-block > h2 { font-size: 2.2rem; color: var(--brand); margin: 0; }
.achievement { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 0 0 24px; }
.achievement + .achievement { border-top: 1px solid var(--line); padding-top: 24px; }
.achievement__icon { width: 46px; height: 46px; border-radius: 11px; background: #EEF2FF; display: grid; place-items: center; color: var(--brand); }
.achievement h3 { font-size: 1.15rem; margin-bottom: 4px; }
.achievement p { margin: 0; color: var(--muted); }
.achievement small { color: var(--brand); font-weight: 600; }
.achievement img { margin-top: 12px; max-width: 220px; border-radius: var(--r-sm); border: 1px solid var(--line); }
@media (max-width: 640px) { .year-block { grid-template-columns: 1fr; gap: 12px; } }

/* ---------------- News ---------------- */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.news-card { text-decoration: none; color: inherit; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.news-card:hover { border-color: var(--line-2); box-shadow: var(--shadow); color: inherit; }
.news-card__media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--line); }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; }
.news-card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.news-card__meta { display: flex; gap: 10px; font-size: .85rem; color: var(--muted); flex-wrap: wrap; }
.news-card h3 { font-size: 1.15rem; margin: 10px 0 8px; }
.news-card p { color: var(--muted); font-size: .96rem; margin: 0; }

/* ---------------- Page header & detail ---------------- */
.page-head { background: var(--navy); color: var(--on-dark); padding: clamp(48px, 7vw, 88px) 0 clamp(40px, 5vw, 64px); position: relative; overflow: hidden; }
.page-head::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 56px 56px; mask-image: linear-gradient(90deg, transparent, #000 70%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 70%); pointer-events: none; }
.page-head .wrap { position: relative; }
.page-head h1 { color: #fff; max-width: 22ch; margin-bottom: 16px; }
.page-head .lead { color: var(--on-dark); margin: 0; }
.page-head .muted { color: var(--on-dark-2); }
.page-head a:not(.btn) { color: #fff; }
.page-head .project-meta { color: var(--on-dark-2); }
.crumbs { font-size: .88rem; color: var(--on-dark-2); margin-bottom: 20px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.crumbs a { color: var(--on-dark-2) !important; text-decoration: none; }
.crumbs a:hover { color: #fff !important; text-decoration: underline; }
.crumbs span[aria-hidden] { color: rgba(255,255,255,.25); }
.section .crumbs { color: var(--muted); }
.section .crumbs a { color: var(--muted) !important; }
.section .crumbs a:hover { color: var(--text) !important; }
.section .crumbs span[aria-hidden] { color: var(--line-2); }
.cover { aspect-ratio: 21 / 8; border-radius: var(--r-md); overflow: hidden; background: var(--navy-2); margin-top: 36px; }
.cover img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 700px) { .cover { aspect-ratio: 16 / 10; } }

.detail { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 6vw, 80px); align-items: start; }
.facts { position: sticky; top: calc(var(--header-h) + 24px); background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 8px 24px; }
.facts dl { margin: 0; }
.facts div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts div:last-child { border-bottom: 0; }
.facts dt { font-size: .82rem; color: var(--muted); margin-bottom: 2px; }
.facts dd { margin: 0; font-weight: 500; color: var(--text); }
.facts .btn { width: 100%; margin: 12px 0 16px; }
@media (max-width: 960px) { .detail { grid-template-columns: 1fr; } .facts { position: static; } }

.prose { max-width: 70ch; }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--brand); }
.prose strong { font-weight: 600; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split--top { align-items: start; }
.split__media { border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4 / 5; background: var(--line); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split__media { aspect-ratio: 16 / 10; } }

.metrics-band { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); margin: 0 0 40px; }
.metrics-band div { padding: 26px 24px; }
.metrics-band div + div { border-left: 1px solid var(--line); }
.metrics-band strong { display: block; font: 800 clamp(1.8rem, 3vw, 2.4rem)/1 var(--display); color: var(--brand); letter-spacing: -0.03em; margin-bottom: 8px; }
.metrics-band span { color: var(--muted); font-size: .94rem; }
@media (max-width: 600px) { .metrics-band div + div { border-left: 0; border-top: 1px solid var(--line); } }

.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.chips li, .chip { font-size: .88rem; padding: 7px 14px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--white); color: var(--text); text-decoration: none; }
a.chip:hover { border-color: var(--text); color: var(--text); }
.chip.is-active { background: var(--text); border-color: var(--text); color: #fff; }
.psr { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-2); margin: 40px 0; }
.psr > div { padding: 24px 24px 8px 0; }
.psr > div + div { padding-left: 24px; border-left: 1px solid var(--line-2); }
.psr h3 { font-size: 1.1rem; color: var(--brand); margin-bottom: 10px; }
.psr p { font-size: .98rem; }
@media (max-width: 800px) { .psr { grid-template-columns: 1fr; } .psr > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line-2); } }
.milestones { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.milestones li { padding: 0 0 22px 24px; position: relative; }
.milestones li::before { content: ""; position: absolute; left: -7px; top: 7px; width: 12px; height: 12px; border-radius: 50%; background: var(--white); border: 2px solid var(--brand); }
.milestones time { font-size: .85rem; color: var(--muted); display: block; }
.block { margin-top: 56px; }
.block > h2 { font-size: 1.55rem; margin-bottom: 20px; }
.video { aspect-ratio: 16 / 9; border-radius: var(--r-md); overflow: hidden; background: #000; }
.video iframe { width: 100%; height: 100%; border: 0; }
.profile { display: grid; grid-template-columns: 380px 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.profile__photo { border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4 / 5; background: var(--line); position: sticky; top: calc(var(--header-h) + 24px); }
.profile__photo img { width: 100%; height: 100%; object-fit: cover; }
.profile h1 { margin-bottom: 6px; }
.profile__role { font-size: 1.2rem; color: var(--muted); margin-bottom: 24px; }
@media (max-width: 900px) { .profile { grid-template-columns: 1fr; } .profile__photo { position: static; max-width: 420px; } }
.socials { display: flex; gap: 8px; flex-wrap: wrap; margin: 20px 0; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--text); }
.socials a:hover { border-color: var(--text); background: var(--white); }
.socials .icon { width: 18px; height: 18px; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { padding: 11px 0 11px 32px; border-bottom: 1px solid var(--line); position: relative; }
.check-list li::before { content: ""; position: absolute; left: 4px; top: 19px; width: 11px; height: 6px; border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg); }
.share { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
.share a, .share button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--text); background: transparent; cursor: pointer; }
.share a:hover, .share button:hover { border-color: var(--text); }
.share .icon { width: 17px; height: 17px; }
.statements { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-2); }
.statements > div { padding: 32px 32px 32px 0; }
.statements > div + div { padding-left: 32px; border-left: 1px solid var(--line-2); }
.statements h2 { font: 600 .95rem/1.3 var(--sans); color: var(--brand); margin-bottom: 12px; letter-spacing: 0; }
.statements p { font: 600 1.45rem/1.4 var(--display); color: var(--text); margin: 0; letter-spacing: -0.015em; }
.values { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 32px; }
.values h3 { font-size: 1.2rem; color: #fff; margin-bottom: 8px; }
.values p { color: var(--on-dark-2); margin: 0; }
@media (max-width: 760px) { .statements { grid-template-columns: 1fr; } .statements > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line-2); } }

/* ---------------- Filters, pager, empty ---------------- */
.filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; margin-bottom: 36px; padding: 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); }
.filters label { display: grid; gap: 6px; font-size: .82rem; color: var(--muted); font-weight: 500; }
.filters select, .filters input { font: 400 .98rem var(--sans); padding: 11px 14px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--white); color: var(--text); min-width: 160px; }
.filters input[type="search"] { min-width: 240px; }
.filters .filters__reset { font-size: .9rem; padding: 12px 4px; }
.page-head .filters { background: transparent; border: 0; padding: 0; margin: 24px 0 0; }
.page-head .filters label { color: var(--on-dark-2); }
.result-count { color: var(--muted); font-size: .95rem; margin: -12px 0 24px; }
.empty { text-align: center; padding: 64px 20px; border: 1px dashed var(--line-2); border-radius: var(--r-md); color: var(--muted); background: var(--white); }
.empty h3 { margin-bottom: 8px; }
.pager { display: flex; gap: 6px; justify-content: center; margin-top: 56px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 44px; height: 44px; display: grid; place-items: center; padding: 0 12px; border: 1px solid var(--line-2); border-radius: var(--r-sm); text-decoration: none; color: var(--text); font-weight: 500; background: var(--white); }
.pager a:hover { border-color: var(--text); }
.pager .is-current { background: var(--text); color: #fff; border-color: var(--text); }

/* ---------------- Careers ---------------- */
.jobs { display: grid; gap: 12px; }
.job { display: grid; grid-template-columns: 1fr auto; gap: 8px 24px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px 26px; text-decoration: none; color: inherit; transition: border-color .2s, box-shadow .2s; }
.job:hover { border-color: var(--brand); box-shadow: var(--shadow); color: inherit; }
.job h3 { margin: 0; font-size: 1.18rem; }
.job__meta { display: flex; gap: 8px 18px; flex-wrap: wrap; font-size: .9rem; color: var(--muted); }
.job__meta span { display: inline-flex; gap: 6px; align-items: center; }
.job__meta .icon { width: 15px; height: 15px; }
.job__cta { grid-row: 1 / span 2; grid-column: 2; display: inline-flex; gap: 6px; align-items: center; font-weight: 600; color: var(--brand); }
.job--featured { border-left: 3px solid var(--brand); }
@media (max-width: 640px) { .job { grid-template-columns: 1fr; } .job__cta { grid-row: auto; grid-column: auto; } }
.perks { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 0; border-top: 1px solid rgba(255,255,255,.14); }
.perks div { padding: 24px 24px 24px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.perks h3 { color: #fff; font-size: 1.08rem; margin-bottom: 6px; }
.perks p { color: var(--on-dark-2); margin: 0; font-size: .95rem; }

/* ---------------- FAQ ---------------- */
.faq { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; font: 700 1.1rem/1.4 var(--display); letter-spacing: -0.01em; position: relative; color: var(--text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 30px; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 34px; }
.faq .prose { padding: 0 44px 20px 0; color: var(--muted); }

/* ---------------- Forms & contact ---------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0 0 32px; }
.contact-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-list .icon-wrap { width: 44px; height: 44px; border-radius: 11px; background: #EEF2FF; display: grid; place-items: center; color: var(--brand); }
.contact-list small { display: block; font-size: .82rem; color: var(--muted); }
.contact-list a { color: var(--text); text-decoration: none; font-weight: 500; }
.contact-list a:hover { color: var(--brand); text-decoration: underline; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; color: var(--text); }
.field label span { font-weight: 400; color: var(--muted); }
.field input, .field textarea, .field select { width: 100%; font: 400 1rem/1.5 var(--sans); padding: 12px 14px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--white); color: var(--text); }
.field input[type=file] { padding: 10px; background: var(--paper); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(29, 78, 216, .15); }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: .88rem; margin-top: 6px; }
.field-help { color: var(--muted); font-size: .84rem; margin-top: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.checkfield { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--muted); }
.checkfield input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--brand); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 16px 18px; border-radius: var(--r-sm); margin-bottom: 20px; font-size: .98rem; }
.notice--success { background: #DCFCE7; color: #14532D; }
.notice--error { background: #FEE2E2; color: #7F1D1D; }
.map { margin-top: 24px; aspect-ratio: 16 / 10; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; }
.office-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.office { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 24px; }
.office h3 { font-size: 1.15rem; margin-bottom: 4px; }
.office .tag { margin-bottom: 10px; }
.office p { font-size: .95rem; color: var(--muted); margin: 0 0 6px; }
.section--brand .office { background: var(--navy-2); border-color: rgba(255,255,255,.08); }
.section--brand .office h3 { color: #fff; }
.section--brand .office p { color: var(--on-dark-2); }
.section--brand .office .tag { color: #7EE7E0; }
.section--brand .office a { color: #fff; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

/* ---------------- CTA band ---------------- */
.cta-band { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; background: var(--brand); color: #DCE6FF; border-radius: var(--r-lg); padding: clamp(32px, 5vw, 56px); position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -60px; bottom: -120px; width: 320px; height: 320px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); box-shadow: 0 0 0 60px rgba(255,255,255,.04); pointer-events: none; }
.cta-band h2 { color: #fff; margin: 0 0 10px; max-width: 22ch; }
.cta-band p { margin: 0; max-width: 56ch; color: #DCE6FF; }
.cta-band .actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }
@media (max-width: 800px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--navy); color: var(--on-dark-2); padding: 0 0 28px; font-size: .95rem; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-news { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; padding: 48px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-news h2 { color: #fff; font-size: 1.5rem; margin: 0 0 6px; }
.footer-news p { margin: 0; }
.subscribe { display: flex; gap: 10px; flex-wrap: wrap; }
.subscribe input { flex: 1; min-width: 220px; font: 400 1rem var(--sans); padding: 14px 16px; border-radius: var(--r-sm); border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.05); color: #fff; }
.subscribe input::placeholder { color: var(--on-dark-2); }
.subscribe input:focus { outline: none; border-color: #fff; }
.subscribe__msg { flex-basis: 100%; font-size: .9rem; margin: 4px 0 0; }
.subscribe__msg.ok { color: #7EE7E0; }
.subscribe__msg.err { color: #FCA5A5; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.3fr; gap: 36px; padding: 56px 0 44px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-grid h2 { font: 600 .95rem/1.3 var(--sans); color: #fff; margin-bottom: 16px; letter-spacing: 0; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer .brand { color: #fff; margin-bottom: 16px; }
.site-footer .brand__mark { background: #fff; color: var(--navy); }
.site-footer .socials a { border-color: rgba(255,255,255,.2); color: var(--on-dark); }
.site-footer .socials a:hover { border-color: #fff; background: transparent; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 24px; flex-wrap: wrap; font-size: .88rem; }
.footer-bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } .footer-grid > div:first-child { grid-column: 1 / -1; } }
@media (max-width: 700px) { .footer-news { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* ---------------- Cookie banner ---------------- */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 95; max-width: 560px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: 0 20px 50px -20px rgba(15,23,42,.45); padding: 20px 22px; display: none; }
.cookie.is-visible { display: block; }
.cookie p { margin: 0 0 14px; font-size: .94rem; color: var(--muted); }
.cookie div { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------------- Misc ---------------- */
.preview-bar { background: #FEF3C7; color: #78350F; text-align: center; padding: 8px 16px; font-size: .9rem; font-weight: 600; }
.error-page { text-align: center; padding: clamp(80px, 14vw, 160px) 0; }
.error-page .code { font: 800 clamp(4rem, 12vw, 8rem)/1 var(--display); color: var(--line-2); margin-bottom: 16px; letter-spacing: -0.04em; }
.error-page p { color: var(--muted); max-width: 52ch; margin: 0 auto 28px; }
.register, .hero__org { display: none; }

@media (prefers-reduced-motion: no-preference) {
  .hero__intro > * { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
  .hero__intro > *:nth-child(2) { animation-delay: .06s; }
  .hero__intro > *:nth-child(3) { animation-delay: .12s; }
  .hero__intro > *:nth-child(4) { animation-delay: .18s; }
  .console { animation: rise .8s .22s cubic-bezier(.2, .7, .2, 1) both; }
  @keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
}
@media print { .site-header, .site-footer, .share, .search-panel, .filters, .topbar, .cookie { display: none !important; } body { background: #fff; } }
