/* ==========================================================================
   K2 Engineering Solutions — Corporate Website
   Design tokens, base, layout and components
   ========================================================================== */

:root {
  --navy-950: #050f1f;
  --navy-900: #0a1a30;
  --navy-800: #0f2442;
  --navy-700: #173257;
  --navy-600: #21436f;
  --steel-600: #4f5f75;
  --steel-500: #6b7a90;
  --steel-400: #93a0b3;
  --steel-300: #bcc5d2;
  --steel-200: #dce2ea;
  --grey-100: #eef1f5;
  --grey-50: #f6f8fa;
  --white: #ffffff;
  --brand-blue: #004499;      /* logo blue */
  --brand-gray: #5a5a5a;      /* logo grey */
  --accent: #4c8ff0;          /* brand blue, lightened for dark backgrounds */
  --accent-600: #004499;      /* brand blue for light backgrounds */
  --accent-soft: rgba(0, 68, 153, 0.08);
  --btn: #0b5bd3;
  --btn-hover: #0a4fb8;

  --text: #0f1b2d;
  --text-muted: #4a5a70;
  --line: #dfe4eb;

  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(10, 26, 48, .06), 0 1px 3px rgba(10, 26, 48, .08);
  --shadow-md: 0 12px 28px -12px rgba(10, 26, 48, .22);
  --shadow-lg: 0 28px 56px -20px rgba(10, 26, 48, .35);

  --container: 1220px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 78px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  --font-head: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy-900); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 800; }
h1 { font-size: clamp(2.25rem, 4.6vw, 3.9rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.75rem); }
h3 { font-size: clamp(1.1rem, 1.5vw, 1.3rem); font-weight: 700; letter-spacing: -.01em; }
h4 { font-size: 1rem; font-weight: 700; letter-spacing: 0; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--btn); color: var(--white); padding: 10px 16px; font-weight: 600; border-radius: var(--radius-sm); transition: top .2s; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section--grey { background: var(--grey-50); }
.section--steel { background: var(--grey-100); }
.section--dark { background: var(--navy-900); color: var(--steel-300); }
.section--dark h2, .section--dark h3, .section--dark h4 { color: var(--white); }
.section--dark .lead { color: var(--steel-300); }
.section--bordered { border-top: 1px solid var(--line); }

.blueprint {
  background-image:
    linear-gradient(rgba(147, 160, 179, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(147, 160, 179, .07) 1px, transparent 1px),
    linear-gradient(rgba(147, 160, 179, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(147, 160, 179, .035) 1px, transparent 1px);
  background-size: 96px 96px, 96px 96px, 24px 24px, 24px 24px;
}

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: .75rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: .16em;
  color: var(--navy-600); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--accent); flex: none; }
.section--dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow, .cta-band .eyebrow { color: var(--accent); }
.lead { font-size: clamp(1.05rem, 1.3vw, 1.2rem); color: var(--text-muted); line-height: 1.7; }
.muted { color: var(--text-muted); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head--split { max-width: none; display: grid; gap: 24px 64px; grid-template-columns: 1fr; align-items: end; }
@media (min-width: 900px) { .section-head--split { grid-template-columns: 1.1fr .9fr; } }
.section-head--split .lead { margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: var(--radius-sm);
  font-family: var(--font-head); font-weight: 700; font-size: .95rem; letter-spacing: .01em;
  border: 1.5px solid transparent; transition: background .25s var(--ease), color .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--btn); color: var(--white); }
.btn--primary:hover { background: var(--btn-hover); box-shadow: 0 10px 24px -10px rgba(76, 143, 240, .7); }
.btn--dark { background: var(--navy-900); color: var(--white); }
.btn--dark:hover { background: var(--navy-700); }
.btn--ghost-light { border-color: rgba(255, 255, 255, .35); color: var(--white); }
.btn--ghost-light:hover { border-color: var(--white); background: rgba(255, 255, 255, .06); }
.btn--ghost { border-color: var(--steel-300); color: var(--navy-900); }
.btn--ghost:hover { border-color: var(--navy-900); }
.btn--sm { padding: 11px 18px; font-size: .875rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: .9rem; color: var(--navy-700);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .25s var(--ease); color: var(--accent-600); }
.link-arrow:hover svg { transform: translateX(4px); }
.section--dark .link-arrow { color: var(--white); }
.section--dark .link-arrow svg { color: var(--accent); }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-950); color: var(--steel-400); font-size: .78rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar__tag { font-family: var(--font-mono); letter-spacing: .18em; color: var(--steel-300); }
.topbar__tag b { color: var(--accent); font-weight: 500; }
.topbar__meta { display: none; gap: 24px; }
.topbar__meta span { display: inline-flex; align-items: center; gap: 8px; }
.topbar__meta svg { width: 14px; height: 14px; color: var(--accent); }
@media (min-width: 900px) { .topbar__meta { display: flex; } }

/* ---------- Header / navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px -14px rgba(10, 26, 48, .35); }
.site-header > .container { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; min-width: 0; }
.brand__mark { width: 58px; height: auto; aspect-ratio: 990 / 655; flex: none; }
.brand__mark .k2-b { fill: var(--brand-blue); }
.brand__mark .k2-g { fill: var(--brand-gray); }
.brand__text { display: flex; flex-direction: column; line-height: 1; padding-top: 4px; }
.brand__name { font-family: "Montserrat", var(--font-head); font-weight: 700; font-size: 1rem; letter-spacing: .1em; color: var(--brand-blue); white-space: nowrap; }
.brand__sub { font-family: "Montserrat", var(--font-head); font-weight: 600; font-size: .56rem; letter-spacing: .2em; color: var(--brand-gray); margin-top: 7px; white-space: nowrap; }
.brand--light .k2-b { fill: #5b9bff; }
.brand--light .k2-g { fill: #c3c9d2; }
.brand--light .brand__name { color: var(--white); }
.brand--light .brand__sub { color: var(--steel-400); }
@media (max-width: 1239px) and (min-width: 1140px) { .brand__sub { display: none; } }
@media (max-width: 399px) {
  .site-header > .container { gap: 10px; }
  .brand { gap: 9px; }
  .brand__mark { width: 42px; }
  .brand__name { font-size: .72rem; letter-spacing: .06em; }
  .brand__sub { font-size: .45rem; letter-spacing: .12em; margin-top: 5px; }
  .menu-toggle { width: 42px; height: 42px; flex: none; }
}

.nav { display: none; }
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__link {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; font-family: var(--font-head); font-weight: 600; font-size: .93rem; color: var(--navy-800);
  background: none; border: 0; border-radius: var(--radius-sm); transition: color .2s;
}
.nav__link svg { width: 16px; height: 16px; transition: transform .25s; }
.nav__link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav__link:hover::after, .nav__link[aria-current="page"]::after, .nav__item.is-open > .nav__link::after { transform: scaleX(1); }
.nav__item.is-open > .nav__link svg { transform: rotate(180deg); }
.header-cta { display: none; }

@media (min-width: 1140px) {
  .nav { display: block; }
  .header-cta { display: inline-flex; }
  .menu-toggle { display: none !important; }
}

/* Mega menu */
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--white); border-top: 1px solid var(--line);
  box-shadow: 0 30px 60px -30px rgba(10, 26, 48, .45);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility 0s .22s;
}
.nav__item.is-open .mega { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mega__inner { display: grid; grid-template-columns: repeat(3, 1fr) 300px; gap: 40px; padding-top: 36px; padding-bottom: 40px; }
.mega__title { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--steel-500); margin: 0 0 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.mega__link { display: flex; gap: 12px; align-items: flex-start; padding: 9px 10px; margin: 0 -10px; border-radius: var(--radius-sm); transition: background .2s; }
.mega__link:hover { background: var(--grey-50); }
.mega__link svg { width: 20px; height: 20px; color: var(--accent-600); flex: none; margin-top: 2px; }
.mega__link strong { display: block; font-family: var(--font-head); font-size: .9rem; color: var(--navy-900); font-weight: 700; line-height: 1.3; }
.mega__link span { display: block; font-size: .8rem; color: var(--text-muted); line-height: 1.45; margin-top: 2px; }
.mega__feature { background: var(--navy-900); color: var(--steel-300); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.mega__feature .eyebrow { color: var(--accent); }
.mega__feature h3 { color: var(--white); font-size: 1.15rem; }
.mega__feature p { font-size: .88rem; }
.mega__feature .btn { align-self: flex-start; }

/* Mobile menu */
.menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); color: var(--navy-900); }
.menu-toggle svg { width: 22px; height: 22px; }
.mobile-nav {
  position: fixed; inset: 0; z-index: 150; background: var(--navy-950);
  color: var(--white); overflow-y: auto; padding: 0 0 40px;
  transform: translateX(100%); transition: transform .35s var(--ease); visibility: hidden;
}
.mobile-nav.is-open { transform: none; visibility: visible; }
.mobile-nav__head { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); padding: 0 var(--gutter); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.mobile-nav__close { width: 46px; height: 46px; border-radius: var(--radius-sm); border: 1px solid rgba(255, 255, 255, .15); background: transparent; color: var(--white); display: inline-flex; align-items: center; justify-content: center; }
.mobile-nav__close svg { width: 22px; height: 22px; }
.mobile-nav__list { padding: 12px var(--gutter); }
.mobile-nav__list > li { border-bottom: 1px solid rgba(255, 255, 255, .08); }
.mobile-nav__link, .mobile-nav__acc { display: flex; width: 100%; justify-content: space-between; align-items: center; padding: 18px 0; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--white); background: none; border: 0; text-align: left; }
.mobile-nav__acc svg { width: 20px; height: 20px; transition: transform .25s; color: var(--accent); }
.mobile-nav__acc[aria-expanded="true"] svg { transform: rotate(180deg); }
.mobile-nav__sub { display: none; padding: 0 0 16px; }
.mobile-nav__sub.is-open { display: block; }
.mobile-nav__sub h4 { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--steel-400); margin: 14px 0 6px; font-weight: 500; }
.mobile-nav__sub a { display: block; padding: 8px 0 8px 14px; color: var(--steel-300); border-left: 1px solid rgba(255, 255, 255, .12); font-size: .95rem; }
.mobile-nav__sub a:hover { color: var(--white); border-color: var(--accent); }
.mobile-nav__foot { padding: 24px var(--gutter) 0; }
.mobile-nav__foot .btn { width: 100%; }
.mobile-nav__foot p { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .16em; color: var(--steel-400); text-align: center; margin-top: 20px; }
body.nav-locked { overflow: hidden; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; background: var(--navy-900); color: var(--steel-300); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 80% at 85% 30%, rgba(33, 67, 111, .55), transparent 70%);
  pointer-events: none;
}
.hero__grid { position: relative; display: grid; gap: 56px; padding-top: clamp(56px, 8vw, 104px); padding-bottom: clamp(48px, 6vw, 80px); align-items: center; }
@media (min-width: 1000px) { .hero__grid { grid-template-columns: 1.1fr .9fr; } }
.hero h1 { color: var(--white); margin-bottom: 22px; font-size: clamp(2.2rem, 4.2vw, 3.5rem); }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero__support { font-family: var(--font-head); font-weight: 600; font-size: clamp(1rem, 1.3vw, 1.15rem); color: var(--white); letter-spacing: .01em; margin-bottom: 18px; padding-left: 16px; border-left: 2px solid var(--accent); }
.hero__text { font-size: 1.06rem; color: var(--steel-300); max-width: 560px; margin-bottom: 34px; }

.hero-visual { position: relative; border: 1px solid rgba(188, 197, 210, .14); border-radius: var(--radius-lg); background: linear-gradient(160deg, rgba(23, 50, 87, .55), rgba(5, 15, 31, .55)); padding: 20px; box-shadow: var(--shadow-lg); }
.hero-visual__bar { display: flex; gap: 12px; justify-content: space-between; align-items: center; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .14em; color: var(--steel-400); padding: 2px 4px 14px; border-bottom: 1px dashed rgba(188, 197, 210, .18); margin-bottom: 8px; }
.hero-visual__dots { display: flex; gap: 6px; }
.hero-visual__dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(188, 197, 210, .25); }
.hero-visual__dots i:first-child { background: var(--accent); }
.hero-visual svg.drawing { width: 100%; height: auto; }
.hero-visual .draw-line { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 2.6s var(--ease) .2s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.hero-tag { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 100px; border: 1px solid rgba(188, 197, 210, .2); background: rgba(5, 15, 31, .5); font-size: .75rem; font-family: var(--font-mono); letter-spacing: .06em; color: var(--steel-300); opacity: 0; animation: fadeUp .6s var(--ease) forwards; }
.hero-tag svg { width: 14px; height: 14px; color: var(--accent); }
.hero-tag:nth-child(1) { animation-delay: 1.4s; } .hero-tag:nth-child(2) { animation-delay: 1.6s; } .hero-tag:nth-child(3) { animation-delay: 1.8s; } .hero-tag:nth-child(4) { animation-delay: 2s; } .hero-tag:nth-child(5) { animation-delay: 2.2s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Lifecycle */
.lifecycle { position: relative; border-top: 1px solid rgba(188, 197, 210, .12); background: rgba(5, 15, 31, .55); }
.lifecycle__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 26px; flex-wrap: wrap; }
.lifecycle__head p { margin: 0; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--steel-400); }
.lifecycle__head p b { color: var(--accent); font-weight: 500; }
.lifecycle__track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(118px, 1fr); overflow-x: auto; padding: 22px 0 30px; scrollbar-width: thin; scrollbar-color: var(--navy-600) transparent; position: relative; }
.lifecycle__step { position: relative; padding: 0 10px 0 0; }
.lifecycle__step::before { content: ""; position: absolute; left: 0; right: 0; top: 13px; height: 1px; background: linear-gradient(90deg, rgba(76, 143, 240, .7), rgba(188, 197, 210, .2)); }
.lifecycle__step:last-child::before { right: 50%; }
.lifecycle__node { position: relative; width: 27px; height: 27px; border-radius: 50%; border: 1.5px solid var(--accent); background: var(--navy-900); display: grid; place-items: center; font-family: var(--font-mono); font-size: .65rem; color: var(--accent); }
.lifecycle__step:last-child .lifecycle__node { background: var(--btn); border-color: var(--btn); color: var(--white); }
.lifecycle__label { display: block; margin-top: 14px; font-family: var(--font-head); font-weight: 700; font-size: .88rem; color: var(--white); line-height: 1.3; }

/* ---------- Page hero (internal) ---------- */
.page-hero { position: relative; background: var(--navy-900); color: var(--steel-300); overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; right: -40px; top: 20px; width: 560px; height: 420px;
  background: url("../img/k2-outline.svg") no-repeat center / contain; opacity: .12; pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(56px, 7vw, 96px); }
.page-hero h1 { color: var(--white); max-width: 880px; font-size: clamp(2rem, 4.2vw, 3.4rem); }
.page-hero .lead { color: var(--steel-300); max-width: 760px; margin-bottom: 0; }
.page-hero .btn-row { margin-top: 32px; }

.breadcrumbs { margin-bottom: clamp(28px, 4vw, 44px); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: .82rem; font-family: var(--font-mono); letter-spacing: .04em; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 8px; color: var(--steel-400); }
.breadcrumbs li + li::before { content: "/"; color: var(--navy-600); }
.breadcrumbs a { color: var(--steel-300); transition: color .2s; }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs [aria-current] { color: var(--white); }

/* ---------- Grids ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.split { display: grid; gap: 48px; align-items: start; }
@media (min-width: 1000px) { .split { grid-template-columns: .9fr 1.1fr; gap: 80px; } .split--even { grid-template-columns: 1fr 1fr; } .split--sticky > :first-child { position: sticky; top: calc(var(--header-h) + 40px); } }

/* ---------- Challenge list ---------- */
.challenge-grid { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
@media (min-width: 600px) { .challenge-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .challenge-grid { grid-template-columns: repeat(4, 1fr); } }
.challenge { position: relative; padding: 30px 26px 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); transition: background .3s; }
.challenge:hover { background: var(--grey-50); }
.challenge__num { font-family: var(--font-mono); font-size: .75rem; color: var(--steel-500); letter-spacing: .1em; }
.challenge__icon { width: 44px; height: 44px; border-radius: var(--radius-sm); display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-600); margin: 18px 0 16px; }
.challenge__icon svg { width: 22px; height: 22px; }
.challenge h3 { font-size: 1.08rem; margin: 0; }
.challenge-foot { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; padding: 26px 30px; background: var(--navy-900); color: var(--steel-300); border-radius: var(--radius); }
.challenge-foot p { margin: 0; font-family: var(--font-head); font-size: 1.1rem; color: var(--white); font-weight: 600; max-width: 720px; }

/* ---------- Pillar cards ---------- */
.pillars { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .pillars { grid-template-columns: repeat(6, 1fr); } .pillars .pillar { grid-column: span 2; } .pillars .pillar:nth-child(4) { grid-column: 2 / span 2; } }
.pillar {
  position: relative; display: flex; flex-direction: column; padding: 34px 30px 30px; border-radius: var(--radius);
  background: var(--navy-800); border: 1px solid rgba(188, 197, 210, .12); color: var(--steel-300);
  transition: transform .35s var(--ease), border-color .35s, background .35s; overflow: hidden;
}
.pillar::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--accent); transition: width .5s var(--ease); }
.pillar:hover { transform: translateY(-4px); border-color: rgba(76, 143, 240, .4); background: #12294b; }
.pillar:hover::before { width: 100%; }
.pillar__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 26px; }
.pillar__num { font-family: var(--font-mono); font-size: 2.4rem; font-weight: 500; line-height: 1; color: rgba(188, 197, 210, .22); }
.pillar__icon { width: 52px; height: 52px; border-radius: var(--radius-sm); border: 1px solid rgba(76, 143, 240, .35); display: grid; place-items: center; color: var(--accent); }
.pillar__icon svg { width: 26px; height: 26px; }
.pillar h3 { color: var(--white); font-size: 1.22rem; letter-spacing: .01em; margin-bottom: 12px; }
.pillar p { font-size: .94rem; margin-bottom: 20px; }
.pillar ul { margin-bottom: 26px; display: grid; gap: 9px; }
.pillar li { display: flex; gap: 10px; font-size: .88rem; color: var(--steel-300); line-height: 1.45; }
.pillar li svg { width: 16px; height: 16px; color: var(--accent); flex: none; margin-top: 2px; }
.pillar .link-arrow { margin-top: auto; color: var(--white); }
.pillar .link-arrow svg { color: var(--accent); }

/* ---------- Service tiles ---------- */
.tiles { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .tiles--4 { grid-template-columns: repeat(4, 1fr); } }
.tile {
  position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px 24px 24px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .3s, box-shadow .3s, transform .3s var(--ease);
}
.tile:hover { border-color: var(--steel-300); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.tile__icon { width: 42px; height: 42px; border-radius: var(--radius-sm); background: var(--navy-900); color: var(--accent); display: grid; place-items: center; margin-bottom: 6px; }
.tile__icon svg { width: 21px; height: 21px; }
.tile h3 { font-size: 1.05rem; margin: 0; }
.tile p { font-size: .9rem; color: var(--text-muted); margin: 0; flex: 1; }
.tile .link-arrow { margin-top: 8px; font-size: .85rem; }
.tile__arrow { position: absolute; right: 20px; top: 24px; width: 18px; height: 18px; color: var(--steel-300); transition: color .3s, transform .3s var(--ease); }
.tile:hover .tile__arrow { color: var(--accent-600); transform: translate(3px, -3px); }

/* ---------- Item cards (service detail lists) ---------- */
.items { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; grid-template-columns: 1fr; }
@media (min-width: 640px) { .items { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .items--3 { grid-template-columns: repeat(3, 1fr); } }
.item { background: var(--white); padding: 26px 26px 28px; position: relative; transition: background .25s; }
.item:hover { background: var(--grey-50); }
.item__head { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.item__num { font-family: var(--font-mono); font-size: .72rem; color: var(--accent-600); letter-spacing: .08em; flex: none; }
.item__icon { width: 38px; height: 38px; border-radius: var(--radius-sm); background: var(--accent-soft); color: var(--accent-600); display: grid; place-items: center; flex: none; }
.item__icon svg { width: 19px; height: 19px; }
.item h3 { font-size: 1.02rem; margin: 0; }
.item p { font-size: .9rem; color: var(--text-muted); margin: 0; }
.section--grey .item, .section--grey .item:hover { background: var(--white); }
.section--grey .item:hover { background: #fbfcfd; }

/* Check list */
.checklist { display: grid; gap: 0; grid-template-columns: 1fr; }
@media (min-width: 640px) { .checklist--2 { grid-template-columns: repeat(2, 1fr); column-gap: 32px; } }
@media (min-width: 1000px) { .checklist--3 { grid-template-columns: repeat(3, 1fr); column-gap: 32px; } }
@media (min-width: 640px) and (max-width: 999px) { .checklist--3 { grid-template-columns: repeat(2, 1fr); column-gap: 32px; } }
.checklist li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 500; color: var(--navy-900); }
.checklist li svg { width: 18px; height: 18px; color: var(--accent-600); flex: none; margin-top: 3px; }
.section--dark .checklist li { color: var(--white); border-color: rgba(188, 197, 210, .14); }
.section--dark .checklist li svg { color: var(--accent); }

/* Groups (titled lists) */
.groups { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 800px) { .groups--2 { grid-template-columns: repeat(2, 1fr); } .groups--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 800px) and (max-width: 1099px) { .groups--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 800px) and (max-width: 1099px) { .groups--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .groups--4 { grid-template-columns: repeat(4, 1fr); } }
.group { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; position: relative; }
.group::before { content: ""; position: absolute; left: 28px; top: 0; width: 40px; height: 3px; background: var(--accent); }
.group__label { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--steel-500); margin-bottom: 8px; }
.group h3 { font-size: 1.15rem; margin-bottom: 18px; }
.group .checklist li { padding: 11px 0; font-size: .94rem; }
.group .checklist li:last-child { border-bottom: 0; }
.group p.muted { font-size: .92rem; }

/* ---------- Feature blocks (Why K2) ---------- */
.features { display: grid; gap: 1px; grid-template-columns: 1fr; background: rgba(188, 197, 210, .14); border: 1px solid rgba(188, 197, 210, .14); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 700px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1050px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature { background: var(--navy-900); padding: 36px 32px 38px; transition: background .3s; }
.feature:hover { background: var(--navy-800); }
.feature__icon { width: 48px; height: 48px; color: var(--accent); margin-bottom: 22px; }
.feature__icon svg { width: 34px; height: 34px; stroke-width: 1.4; }
.feature h3 { color: var(--white); font-size: 1.15rem; }
.feature p { font-size: .93rem; color: var(--steel-300); margin: 0; }
.feature ul { display: grid; gap: 6px; margin-top: 4px; }
.feature li { display: flex; gap: 10px; align-items: center; font-size: .88rem; color: var(--steel-300); }
.feature li::before { content: ""; width: 6px; height: 1.5px; background: var(--accent); flex: none; }
.features--light { background: var(--line); border-color: var(--line); }
.features--light .feature { background: var(--white); }
.features--light .feature:hover { background: var(--grey-50); }
.features--light .feature h3 { color: var(--navy-900); }
.features--light .feature p, .features--light .feature li { color: var(--text-muted); }
.features--light .feature__icon { color: var(--accent-600); }

/* ---------- Process steps ---------- */
.steps { display: grid; gap: 0; grid-template-columns: 1fr; counter-reset: step; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(6, 1fr); } }
.step { position: relative; padding: 0 22px 36px 0; }
.step__num { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.step__num b { font-family: var(--font-mono); font-weight: 500; font-size: .9rem; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--navy-900); color: var(--navy-900); flex: none; background: var(--white); transition: background .3s, color .3s; position: relative; z-index: 1; }
.step__num::after { content: ""; flex: 1; height: 1px; background: repeating-linear-gradient(90deg, var(--steel-300) 0 6px, transparent 6px 12px); }
.step:last-child .step__num::after { display: none; }
.step:hover .step__num b { background: var(--navy-900); color: var(--accent); }
.step h3 { font-size: 1.12rem; margin-bottom: 8px; }
.step p { font-size: .9rem; color: var(--text-muted); margin: 0; }
.section--grey .step__num b { background: var(--grey-50); }
.section--grey .step:hover .step__num b { background: var(--navy-900); }

/* ---------- Industry cards ---------- */
.industries { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .industries { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1050px) { .industries { grid-template-columns: repeat(4, 1fr); } }
.industry {
  position: relative; overflow: hidden; border-radius: var(--radius); min-height: 280px;
  padding: 30px 26px; display: flex; flex-direction: column; justify-content: flex-end;
  background: linear-gradient(180deg, rgba(10, 26, 48, .2), rgba(10, 26, 48, .95) 65%), var(--navy-800);
  color: var(--steel-300); isolation: isolate; border: 1px solid rgba(188, 197, 210, .1);
  transition: transform .35s var(--ease);
}
.industry::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(147, 160, 179, .12) 1px, transparent 1px), linear-gradient(90deg, rgba(147, 160, 179, .12) 1px, transparent 1px);
  background-size: 22px 22px; mask-image: linear-gradient(180deg, #000, transparent 70%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%);
}
.industry__icon { position: absolute; top: 26px; right: 22px; width: 82px; height: 82px; color: rgba(76, 143, 240, .85); transition: transform .5s var(--ease); }
.industry__icon svg { width: 100%; height: 100%; stroke-width: .9; }
.industry:hover { transform: translateY(-4px); }
.industry:hover .industry__icon { transform: scale(1.06) rotate(-3deg); }
.industry__num { position: absolute; top: 26px; left: 26px; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; color: var(--steel-400); }
.industry h3 { color: var(--white); font-size: 1.2rem; margin-bottom: 10px; }
.industry p { font-size: .88rem; margin: 0; line-height: 1.55; }
.industry::after { content: ""; position: absolute; left: 26px; bottom: 0; height: 3px; width: 36px; background: var(--accent); transition: width .4s var(--ease); }
.industry:hover::after { width: calc(100% - 52px); }

/* ---------- Flow chains ---------- */
.chain { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.chain__item { display: inline-flex; align-items: center; gap: 10px; }
.chain__node { padding: 12px 18px; border-radius: var(--radius-sm); background: var(--white); border: 1px solid var(--line); font-family: var(--font-head); font-weight: 700; font-size: .92rem; color: var(--navy-900); box-shadow: var(--shadow-sm); }
.chain__arrow { color: var(--accent-600); width: 18px; height: 18px; }
.chain__item:last-child .chain__node { background: var(--navy-900); color: var(--white); border-color: var(--navy-900); }
.section--dark .chain__node { background: var(--navy-800); color: var(--white); border-color: rgba(188, 197, 210, .16); box-shadow: none; }
.section--dark .chain__item:last-child .chain__node { background: var(--btn); color: var(--white); border-color: var(--btn); }
.section--dark .chain__arrow { color: var(--accent); }

/* Single technical interface */
.interface { position: relative; padding: 28px; border-radius: var(--radius-lg); background: var(--navy-900); color: var(--steel-300); overflow: hidden; }
.interface__band { position: relative; display: flex; align-items: center; justify-content: center; gap: 14px; padding: 18px; border: 1.5px solid var(--accent); border-radius: var(--radius); background: rgba(76, 143, 240, .08); margin-bottom: 0; text-align: center; }
.interface__band strong { font-family: var(--font-head); color: var(--white); font-size: 1.05rem; letter-spacing: .02em; }
.interface__band span { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .16em; color: var(--accent); text-transform: uppercase; }
.interface__links { display: grid; grid-template-columns: repeat(8, 1fr); height: 40px; }
.interface__links i { position: relative; }
.interface__links i::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; border-left: 1.5px dashed rgba(76, 143, 240, .6); }
.interface__nodes { display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; }
.interface__node { position: relative; padding: 16px 6px; text-align: center; border-radius: var(--radius-sm); background: var(--navy-800); border: 1px solid rgba(188, 197, 210, .14); }
.interface__node b { display: block; font-family: var(--font-mono); font-size: .66rem; color: var(--accent); font-weight: 500; margin-bottom: 6px; }
.interface__node span { font-family: var(--font-head); font-weight: 700; font-size: .84rem; color: var(--white); line-height: 1.25; display: block; }
.interface__node:not(:last-child)::after { content: "→"; position: absolute; right: -9px; top: 50%; transform: translateY(-50%); color: var(--steel-500); font-size: .8rem; z-index: 1; }
@media (max-width: 899px) {
  .interface__links { display: none; }
  .interface__band { margin-bottom: 16px; flex-direction: column; gap: 6px; }
  .interface { padding: 18px; }
  .interface__nodes { grid-template-columns: repeat(2, 1fr); }
  .interface__node:not(:last-child)::after { display: none; }
}
@media (min-width: 600px) and (max-width: 899px) { .interface__nodes { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Standards ---------- */
.standards { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .standards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .standards { grid-template-columns: repeat(3, 1fr); } }
.standard { padding: 28px 26px; border-radius: var(--radius); border: 1px solid rgba(188, 197, 210, .16); background: var(--navy-800); }
.standard__code { font-family: var(--font-mono); font-size: 1.35rem; font-weight: 500; color: var(--white); letter-spacing: .02em; margin-bottom: 4px; }
.standard__code::after { content: ""; display: block; width: 28px; height: 2px; background: var(--accent); margin-top: 14px; }
.standard p { font-size: .9rem; color: var(--steel-300); margin: 14px 0 0; }

/* Logo-free text badges for third-party names */
.namelist { display: flex; flex-wrap: wrap; gap: 10px; }
.namelist span { padding: 10px 18px; border-radius: 100px; border: 1px solid var(--line); background: var(--white); font-family: var(--font-head); font-weight: 700; font-size: .92rem; color: var(--navy-800); }
.section--dark .namelist span { background: transparent; color: var(--white); border-color: rgba(188, 197, 210, .25); }

/* ---------- Notices / disclaimers ---------- */
.notice { display: flex; gap: 18px; padding: 24px 26px; border-radius: var(--radius); background: var(--grey-50); border: 1px solid var(--line); border-left: 3px solid var(--accent); }
.notice svg { width: 22px; height: 22px; color: var(--accent-600); flex: none; margin-top: 2px; }
.notice p { margin: 0; font-size: .94rem; color: var(--text-muted); }
.notice strong { color: var(--navy-900); display: block; font-family: var(--font-head); margin-bottom: 4px; font-size: .98rem; }
.notice--dark { background: rgba(5, 15, 31, .45); border-color: rgba(188, 197, 210, .16); border-left-color: var(--accent); }
.notice--dark p { color: var(--steel-300); }
.notice--dark strong { color: var(--white); }
.notice--dark svg { color: var(--accent); }
.notice + .notice { margin-top: 16px; }

/* ---------- Statement / quote ---------- */
.statement { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.4rem, 2.6vw, 2.1rem); line-height: 1.35; color: var(--navy-900); letter-spacing: -.015em; margin: 0; }
.statement em { font-style: normal; color: var(--accent-600); }
.section--dark .statement { color: var(--white); }
.section--dark .statement em { color: var(--accent); }

.philosophy { display: grid; gap: 0; grid-template-columns: 1fr; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid rgba(188, 197, 210, .16); }
@media (min-width: 800px) { .philosophy { grid-template-columns: repeat(3, 1fr); } }
.philosophy__item { padding: 38px 32px; background: var(--navy-800); position: relative; }
.philosophy__item + .philosophy__item { border-top: 1px solid rgba(188, 197, 210, .14); }
@media (min-width: 800px) { .philosophy__item + .philosophy__item { border-top: 0; border-left: 1px solid rgba(188, 197, 210, .14); } }
.philosophy__item b { font-family: var(--font-mono); font-weight: 500; font-size: .75rem; letter-spacing: .14em; color: var(--accent); display: block; margin-bottom: 14px; }
.philosophy__item p { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.25; color: var(--white); margin: 0; letter-spacing: -.01em; }

/* Mission / vision */
.mv { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 800px) { .mv { grid-template-columns: 1fr 1fr; } }
.mv__card { padding: 40px 36px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); position: relative; overflow: hidden; }
.mv__card--dark { background: var(--navy-900); border-color: var(--navy-900); }
.mv__card--dark h3 { color: var(--white); }
.mv__card--dark p { color: var(--steel-300); }
.mv__label { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .16em; color: var(--accent-600); text-transform: uppercase; margin-bottom: 14px; display: block; }
.mv__card--dark .mv__label { color: var(--accent); }
.mv__card p { font-size: 1.05rem; margin: 0; color: var(--text-muted); }
.mv__card h3 { font-size: 1.5rem; }

/* Deliverables (report anatomy) */
.report { border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-md); overflow: hidden; }
.report__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 26px; background: var(--navy-900); color: var(--steel-300); font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
.report__head b { color: var(--white); font-weight: 500; }
.report ol { counter-reset: rep; }
.report li { counter-increment: rep; display: grid; grid-template-columns: 52px 1fr; align-items: center; gap: 8px; padding: 16px 26px; border-bottom: 1px solid var(--line); font-family: var(--font-head); font-weight: 700; color: var(--navy-900); }
.report li:last-child { border-bottom: 0; }
.report li::before { content: counter(rep, decimal-leading-zero); font-family: var(--font-mono); font-weight: 500; font-size: .8rem; color: var(--accent-600); }

/* Phases (vendor qualification) */
.phases { display: grid; gap: 20px; grid-template-columns: 1fr; counter-reset: ph; }
@media (min-width: 900px) { .phases { grid-template-columns: 1fr 1.25fr 1fr; } }
.phase { border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); padding: 30px 28px; position: relative; }
.phase__tag { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--navy-600); margin-bottom: 14px; }
.phase__tag b { width: 28px; height: 28px; border-radius: 50%; background: var(--navy-900); color: var(--accent); display: grid; place-items: center; font-weight: 500; letter-spacing: 0; }
.phase h3 { font-size: 1.3rem; }
.phase .checklist li { padding: 10px 0; font-size: .93rem; }
.phase .checklist li:last-child { border-bottom: 0; }

/* Equipment grid */
.equip { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .equip { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1050px) { .equip { grid-template-columns: repeat(4, 1fr); } }
.equip__item { display: flex; align-items: center; gap: 14px; padding: 20px 18px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); font-family: var(--font-head); font-weight: 700; font-size: .95rem; color: var(--navy-900); transition: border-color .25s, box-shadow .25s; }
.equip__item:hover { border-color: var(--steel-300); box-shadow: var(--shadow-sm); }
.equip__item svg { width: 26px; height: 26px; color: var(--accent-600); flex: none; stroke-width: 1.5; }
@media (max-width: 479px) { .equip__item { flex-direction: column; align-items: flex-start; gap: 10px; font-size: .9rem; } }

/* Values */
.values { display: grid; gap: 1px; grid-template-columns: 1fr; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 600px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .values { grid-template-columns: repeat(3, 1fr); } }
.value { background: var(--white); padding: 32px 28px; }
.value__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.value__head svg { width: 30px; height: 30px; color: var(--accent-600); stroke-width: 1.5; }
.value__head b { font-family: var(--font-mono); font-weight: 500; font-size: .75rem; color: var(--steel-400); }
.value h3 { font-size: 1.2rem; margin-bottom: 8px; }
.value p { font-size: .92rem; color: var(--text-muted); margin: 0; }

/* Insights */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 9px 16px; border-radius: 100px; border: 1px solid var(--line); background: var(--white); font-size: .85rem; font-weight: 500; color: var(--navy-800); transition: border-color .2s, background .2s, color .2s; }
button.chip:hover { border-color: var(--navy-800); }
.chip.is-active { background: var(--navy-900); color: var(--white); border-color: var(--navy-900); }
.empty-state { margin-top: 40px; border: 1.5px dashed var(--steel-300); border-radius: var(--radius-lg); padding: clamp(36px, 6vw, 64px) 28px; text-align: center; background: var(--white); }
.empty-state__icon { width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-600); display: grid; place-items: center; }
.empty-state__icon svg { width: 28px; height: 28px; }
.empty-state h3 { font-size: 1.35rem; }
.empty-state p { max-width: 560px; margin: 0 auto 24px; color: var(--text-muted); }
.posts { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .posts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1050px) { .posts { grid-template-columns: repeat(3, 1fr); } }
.post { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); transition: box-shadow .3s, transform .3s var(--ease); }
.post:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.post__media { aspect-ratio: 16 / 9; background: var(--navy-800); }
.post__body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post__cat { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-600); }
.post h3 { font-size: 1.1rem; margin: 0; }
.post p { font-size: .9rem; color: var(--text-muted); margin: 0; flex: 1; }

/* Article (template) */
.article { max-width: 760px; margin: 0 auto; }
.article h2 { font-size: 1.6rem; margin-top: 1.8em; }
.article p, .article li { font-size: 1.06rem; color: #2a3a50; }
.article ul { list-style: disc; padding-left: 1.3em; margin-bottom: 1em; }
.article__meta { display: flex; flex-wrap: wrap; gap: 8px 20px; font-family: var(--font-mono); font-size: .78rem; letter-spacing: .06em; color: var(--steel-300); margin-top: 24px; }

/* Prose (legal pages) */
.prose { max-width: 820px; }
.prose h2 { font-size: 1.45rem; margin-top: 2em; padding-top: 1.2em; border-top: 1px solid var(--line); }
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose p, .prose li { color: #2a3a50; font-size: 1.02rem; }
.prose ul { list-style: none; display: grid; gap: 10px; margin: 0 0 1.2em; }
.prose ul li { position: relative; padding-left: 24px; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .72em; width: 10px; height: 2px; background: var(--accent); }
.prose .placeholder-note { font-size: .9rem; color: var(--text-muted); background: var(--grey-50); border: 1px dashed var(--steel-300); padding: 14px 18px; border-radius: var(--radius-sm); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: 1.25fr .75fr; gap: 56px; } }
.form { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form { grid-template-columns: 1fr 1fr; } .form .full { grid-column: 1 / -1; } }
.field label { display: block; font-family: var(--font-head); font-weight: 700; font-size: .85rem; color: var(--navy-900); margin-bottom: 8px; }
.field label span { color: var(--accent-600); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border: 1px solid var(--steel-300); border-radius: var(--radius-sm);
  font: inherit; font-size: .95rem; color: var(--text); background: var(--white); transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy-700); box-shadow: 0 0 0 3px rgba(33, 67, 111, .12); }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: #b42318; }
.field__error { display: none; font-size: .8rem; color: #b42318; margin-top: 6px; }
.field.has-error .field__error { display: block; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .86rem; color: var(--text-muted); }
.consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--navy-900); flex: none; }
.consent a { color: var(--navy-700); text-decoration: underline; }
.form-status { display: none; padding: 16px 18px; border-radius: var(--radius-sm); font-size: .92rem; }
.form-status.is-visible { display: block; }
.form-status--ok { background: #ecf7ef; border: 1px solid #b7e1c1; color: #1d5c2e; }
.form-status--info { background: var(--grey-50); border: 1px solid var(--line); color: var(--text-muted); }

.contact-card { border-radius: var(--radius-lg); background: var(--navy-900); color: var(--steel-300); padding: 36px 32px; position: relative; overflow: hidden; }
.contact-card h2 { color: var(--white); font-size: 1.35rem; margin-bottom: 4px; }
.contact-card__legal { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .1em; color: var(--accent); margin-bottom: 26px; display: block; }
.contact-card dl { margin: 0; display: grid; gap: 22px; }
.contact-card dl > div { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.contact-card dt { width: 40px; height: 40px; border-radius: var(--radius-sm); border: 1px solid rgba(188, 197, 210, .2); display: grid; place-items: center; color: var(--accent); }
.contact-card dt svg { width: 18px; height: 18px; }
.contact-card dd { margin: 0; font-size: .95rem; line-height: 1.6; color: var(--white); }
.contact-card dd small { display: block; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .14em; color: var(--steel-400); text-transform: uppercase; margin-bottom: 2px; }
.map { margin-top: 24px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; background: var(--grey-100); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.35) contrast(1.05); }
.map--wide { aspect-ratio: 21 / 8; margin-top: 0; }
@media (max-width: 799px) { .map--wide { aspect-ratio: 4 / 3; } }

/* ---------- CTA band ---------- */
.cta-band { position: relative; background: var(--navy-950); color: var(--steel-300); overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background: radial-gradient(ellipse 60% 120% at 100% 50%, rgba(33, 67, 111, .7), transparent 70%);
}
.cta-band .container { position: relative; display: grid; gap: 32px; align-items: center; padding-top: clamp(64px, 8vw, 104px); padding-bottom: clamp(64px, 8vw, 104px); }
@media (min-width: 950px) { .cta-band .container { grid-template-columns: 1.3fr .7fr; } .cta-band .btn-row { justify-content: flex-end; } }
.cta-band h2 { color: var(--white); text-transform: uppercase; letter-spacing: .01em; font-size: clamp(1.8rem, 3.4vw, 2.9rem); }
.cta-band p { font-size: 1.08rem; margin: 0; max-width: 620px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: var(--steel-400); border-top: 1px solid rgba(188, 197, 210, .1); font-size: .92rem; }
.footer-top { display: grid; gap: 40px; grid-template-columns: 1fr; padding-top: 72px; padding-bottom: 56px; }
@media (min-width: 700px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .footer-top { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; } }
.site-footer .brand { margin-bottom: 22px; }
.footer-tag { font-family: var(--font-mono); letter-spacing: .16em; font-size: .76rem; color: var(--accent); margin: 22px 0 14px; }
.footer-disc { font-size: .88rem; line-height: 1.7; color: var(--steel-400); max-width: 380px; }
.footer-col h3 { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--steel-300); font-weight: 500; margin-bottom: 18px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { color: var(--steel-400); transition: color .2s; }
.footer-col a:hover { color: var(--white); }
.footer-col address { font-style: normal; line-height: 1.75; }
.footer-col address strong { color: var(--white); font-weight: 600; display: block; margin-bottom: 4px; }
.footer-strip { border-top: 1px solid rgba(188, 197, 210, .1); border-bottom: 1px solid rgba(188, 197, 210, .1); }
.footer-strip .container { display: flex; flex-wrap: wrap; gap: 6px 22px; padding-top: 18px; padding-bottom: 18px; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--steel-300); }
.footer-strip span + span::before { content: "|"; margin-right: 22px; color: var(--navy-600); }
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 24px; padding-bottom: 28px; font-size: .82rem; }
.footer-bottom nav ul { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-bottom a:hover { color: var(--white); }

/* Floating contact */
.float-cta { position: fixed; right: 18px; bottom: 18px; z-index: 90; display: inline-flex; align-items: center; gap: 10px; padding: 14px 18px; border-radius: 100px; background: var(--btn); color: var(--white); font-family: var(--font-head); font-weight: 700; font-size: .88rem; box-shadow: 0 14px 30px -10px rgba(5, 15, 31, .55); transform: translateY(120px); transition: transform .4s var(--ease); }
.float-cta.is-visible { transform: none; }
.float-cta svg { width: 18px; height: 18px; }
.float-cta--wa { background: #1f9d55; color: var(--white); bottom: 78px; }
@media (max-width: 599px) { .float-cta span { display: none; } .float-cta { padding: 15px; } }

/* ---------- Misc ---------- */
.intro-block { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 1000px) { .intro-block { grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; } }
.kicker-list { display: grid; gap: 14px; margin-top: 8px; }
.kicker-list a { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border: 1px solid var(--line); border-radius: var(--radius-sm); font-family: var(--font-head); font-weight: 700; color: var(--navy-900); background: var(--white); transition: border-color .2s, transform .25s var(--ease); }
.kicker-list a:hover { border-color: var(--navy-900); transform: translateX(4px); }
.kicker-list svg { width: 18px; height: 18px; color: var(--accent-600); }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 16px; } .mt-2 { margin-top: 32px; } .mt-3 { margin-top: 48px; } .mt-4 { margin-top: 64px; }
.mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.divider { height: 1px; background: var(--line); margin: 56px 0; border: 0; }
.related { display: flex; flex-wrap: wrap; gap: 10px; }
.related a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 100px; font-size: .88rem; font-weight: 600; color: var(--navy-800); background: var(--white); transition: border-color .2s; }
.related a:hover { border-color: var(--navy-800); }
.related a svg { width: 14px; height: 14px; color: var(--accent-600); }
.anchor-nav { position: sticky; top: var(--header-h); z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.anchor-nav ul { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.anchor-nav a { display: block; padding: 16px 14px; white-space: nowrap; font-family: var(--font-head); font-weight: 600; font-size: .86rem; color: var(--text-muted); border-bottom: 2px solid transparent; }
.anchor-nav a:hover { color: var(--navy-900); border-color: var(--accent); }

/* ---------- Reveal animations ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js [data-reveal-stagger] > * { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js [data-reveal-stagger].is-visible > * { opacity: 1; transform: none; }
.js [data-reveal-stagger].is-visible > *:nth-child(2) { transition-delay: .06s; }
.js [data-reveal-stagger].is-visible > *:nth-child(3) { transition-delay: .12s; }
.js [data-reveal-stagger].is-visible > *:nth-child(4) { transition-delay: .18s; }
.js [data-reveal-stagger].is-visible > *:nth-child(5) { transition-delay: .24s; }
.js [data-reveal-stagger].is-visible > *:nth-child(6) { transition-delay: .3s; }
.js [data-reveal-stagger].is-visible > *:nth-child(n+7) { transition-delay: .36s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal], .js [data-reveal-stagger] > * { opacity: 1; transform: none; }
  .hero-visual .draw-line { stroke-dashoffset: 0; }
  .hero-tag { opacity: 1; }
}

@media print {
  .topbar, .site-header, .mobile-nav, .float-cta, .cta-band, .map { display: none !important; }
  .page-hero, .hero, .section--dark { background: #fff !important; color: #000 !important; }
  .page-hero h1, .section--dark h2 { color: #000 !important; }
}

/* ---------- Small-screen hardening ---------- */
.split > *, .intro-block > *, .contact-grid > *, .hero__grid > *, .section-head--split > *, .grid > * { min-width: 0; }
h1, h2, h3 { overflow-wrap: break-word; }
@media (max-width: 479px) {
  .btn { white-space: normal; text-align: center; padding: 14px 20px; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn-row .btn { width: 100%; }
  .challenge-foot { padding: 22px 20px; }
  .challenge-foot .btn { width: 100%; }
  .group, .phase, .mv__card, .contact-card { padding-left: 22px; padding-right: 22px; }
  .item { padding: 22px 20px; }
  .feature { padding: 30px 24px; }
  .report li { padding: 14px 18px; grid-template-columns: 40px 1fr; }
  .report__head { padding: 16px 18px; }
  .topbar__tag { font-size: .68rem; letter-spacing: .12em; }
  .footer-strip span + span::before { margin-right: 14px; }
  .footer-strip .container { gap: 6px 14px; }
}
@media (max-width: 699px) {
  .lifecycle__track { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); grid-auto-columns: auto; overflow: visible; gap: 22px 8px; padding: 20px 0 28px; }
  .lifecycle__step { padding: 0; }
  .lifecycle__step::before { display: none; }
  .lifecycle__label { font-size: .8rem; margin-top: 10px; }
  .lifecycle__head p:last-child { display: none; }
  .hero__grid { gap: 40px; }
}
@media (max-width: 479px) {
  .hero h1 { font-size: 2rem; }
  .page-hero h1 { font-size: 1.9rem; }
  .hero__text { font-size: 1rem; }
}

/* Contact form honeypot (hidden from people, visible to bots) */
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status--error { background: #fdf0ef; border: 1px solid #f3c4bf; color: #8a1f14; }

/* ==========================================================================
   Loading screen
   ========================================================================== */
.preloader {
  position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center;
  background: radial-gradient(ellipse 60% 50% at 50% 45%, rgba(33, 67, 111, .55), transparent 70%), var(--navy-950);
  color: var(--steel-300); clip-path: inset(0 0 0 0);
  transition: clip-path .85s cubic-bezier(.77, 0, .18, 1), visibility 0s .85s;
  animation: plFailsafe 0s 7s forwards; /* never block the page, even if scripts fail */
}
.preloader::before {
  content: ""; position: absolute; inset: 0; opacity: .6;
  background-image: linear-gradient(rgba(147, 160, 179, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(147, 160, 179, .07) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%);
}
.preloader::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 120px;
  background: linear-gradient(180deg, transparent, rgba(76, 143, 240, .12) 60%, rgba(111, 176, 255, .5) 99%, transparent);
  animation: plScan 2.2s linear infinite;
}
.preloader.is-done { clip-path: inset(0 0 100% 0); visibility: hidden; }
.preloader__inner { position: relative; z-index: 1; text-align: center; perspective: 900px; padding: 0 24px; }
.preloader__mark { width: min(200px, 48vw); height: auto; margin: 0 auto; overflow: visible; transform-style: preserve-3d; animation: plSpin 1.5s cubic-bezier(.2, .8, .2, 1) both; filter: drop-shadow(0 0 22px rgba(76, 143, 240, .35)); }
.preloader__mark path { fill: transparent; stroke: #6fb0ff; stroke-width: 5; stroke-linejoin: round; stroke-dasharray: 2600; stroke-dashoffset: 2600; animation: plDraw 1.1s ease forwards, plFill .55s ease forwards; }
.preloader__mark .k2-b { --pl-fill: #5b9bff; }
.preloader__mark .k2-g { --pl-fill: #c3c9d2; }
.preloader__mark path:nth-child(1) { animation-delay: .1s, 1s; }
.preloader__mark path:nth-child(2) { animation-delay: .25s, 1.1s; }
.preloader__mark path:nth-child(3) { animation-delay: .4s, 1.2s; }
.preloader__mark path:nth-child(4) { animation-delay: .55s, 1.3s; }
.preloader__name { margin: 26px 0 0; font-family: "Montserrat", var(--font-head); font-weight: 700; font-size: clamp(.95rem, 2.4vw, 1.15rem); color: var(--white); letter-spacing: .22em; animation: plText .9s ease .7s both; }
.preloader__tag { margin: 8px 0 0; font-family: "Montserrat", var(--font-head); font-weight: 600; font-size: .62rem; color: var(--steel-400); letter-spacing: .3em; animation: plText .9s ease .85s both; }
.preloader__bar { width: min(240px, 60vw); height: 2px; margin: 30px auto 12px; background: rgba(188, 197, 210, .15); overflow: hidden; border-radius: 2px; }
.preloader__bar span { display: block; height: 100%; width: var(--pl-progress, 0%); background: linear-gradient(90deg, #2f6fd6, #6fb0ff); box-shadow: 0 0 12px #4c8ff0; transition: width .2s linear; }
.preloader__meta { display: flex; justify-content: space-between; width: min(240px, 60vw); margin: 0 auto; font-family: var(--font-mono); font-size: .66rem; letter-spacing: .2em; color: var(--steel-400); }
.preloader__pct { color: var(--accent); }
/* Quick version for later pages in the same visit */
.pl-quick .preloader { transition-duration: .5s, 0s; transition-delay: 0s, .5s; }
.pl-quick .preloader::after, .pl-quick .preloader__tag { display: none; }
.pl-quick .preloader__mark { animation: none; }
.pl-quick .preloader__mark path { animation: none; fill: var(--pl-fill); stroke: none; }
.pl-quick .preloader__name { animation: none; }
@keyframes plSpin { from { opacity: 0; transform: rotateY(-75deg) rotateX(20deg) translateZ(-160px) scale(.8); } to { opacity: 1; transform: none; } }
@keyframes plDraw { to { stroke-dashoffset: 0; } }
@keyframes plFill { to { fill: var(--pl-fill); stroke-opacity: 0; } }
@keyframes plText { from { opacity: 0; letter-spacing: .6em; } to { opacity: 1; } }
@keyframes plScan { from { transform: translateY(-120px); } to { transform: translateY(100vh); } }
@keyframes plFailsafe { to { visibility: hidden; opacity: 0; pointer-events: none; } }

/* ==========================================================================
   Home hero — 3D model, HUD, perspective floor
   ========================================================================== */
.hero__grid { z-index: 1; }
.hero__floor { position: absolute; left: -25%; right: -25%; bottom: 0; height: 60%; perspective: 520px; pointer-events: none; overflow: hidden; opacity: .55;
  mask-image: linear-gradient(to top, #000 10%, transparent 90%); -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 90%); }
.hero__floor::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 200%; transform: rotateX(74deg); transform-origin: 50% 100%;
  background-image: linear-gradient(rgba(76, 143, 240, .32) 1px, transparent 1px), linear-gradient(90deg, rgba(76, 143, 240, .32) 1px, transparent 1px);
  background-size: 64px 64px; animation: heroFloor 3.5s linear infinite; }
@keyframes heroFloor { to { background-position: 0 64px; } }

.hero-visual__stage { position: relative; aspect-ratio: 560 / 350; }
.hero-visual__stage svg.drawing { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-visual.is-3d svg.drawing { display: none; }
canvas.hero3d { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hud { position: absolute; inset: 0; pointer-events: none; font-family: var(--font-mono); font-size: .64rem; letter-spacing: .14em; color: var(--steel-400); display: none; }
.hero-visual.is-3d .hud { display: block; }
.hud__item { position: absolute; display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; border: 1px solid rgba(76, 143, 240, .25); background: rgba(5, 15, 31, .55); border-radius: 3px; }
.hud__item b { color: #8fbfff; font-weight: 500; }
.hud__item--tl { top: 6px; left: 2px; } .hud__item--tr { top: 6px; right: 2px; } .hud__item--bl { bottom: 4px; left: 2px; } .hud__item--br { bottom: 4px; right: 2px; color: var(--accent); }
.hud__pulse { width: 6px; height: 6px; border-radius: 50%; background: #6fb0ff; box-shadow: 0 0 0 0 rgba(111, 176, 255, .7); animation: hudPulse 1.6s infinite; }
@keyframes hudPulse { 70% { box-shadow: 0 0 0 7px rgba(111, 176, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(111, 176, 255, 0); } }
.hv-corner { position: absolute; width: 18px; height: 18px; border-color: var(--accent); border-style: solid; border-width: 0; opacity: .9; }
.hv-corner--tl { top: -1px; left: -1px; border-top-width: 2px; border-left-width: 2px; border-top-left-radius: var(--radius-lg); }
.hv-corner--tr { top: -1px; right: -1px; border-top-width: 2px; border-right-width: 2px; border-top-right-radius: var(--radius-lg); }
.hv-corner--bl { bottom: -1px; left: -1px; border-bottom-width: 2px; border-left-width: 2px; border-bottom-left-radius: var(--radius-lg); }
.hv-corner--br { bottom: -1px; right: -1px; border-bottom-width: 2px; border-right-width: 2px; border-bottom-right-radius: var(--radius-lg); }
.hero-visual::after { content: ""; position: absolute; inset: -1px; border-radius: var(--radius-lg); pointer-events: none; padding: 1px;
  background: linear-gradient(110deg, transparent 35%, rgba(111, 176, 255, .75) 50%, transparent 65%); background-size: 300% 100%;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: hvSheen 6s linear infinite; }
@keyframes hvSheen { from { background-position: 150% 0; } to { background-position: -150% 0; } }
@media (max-width: 479px) { .hud { font-size: .55rem; letter-spacing: .08em; } .hud__item--br { display: none; } }

/* ==========================================================================
   Inner page heroes — rotating 3D K2 outline + scan sweep
   ========================================================================== */
.page-hero::after { animation: k2Orbit 16s ease-in-out infinite alternate; transform-origin: 60% 50%; }
@keyframes k2Orbit { from { transform: perspective(900px) rotateY(-24deg) rotateX(8deg); } to { transform: perspective(900px) rotateY(24deg) rotateX(-6deg); } }
.page-hero::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; z-index: 0; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(111, 176, 255, .6), transparent); box-shadow: 0 0 18px rgba(76, 143, 240, .5);
  animation: heroSweep 7s ease-in-out infinite; }
@keyframes heroSweep { 0% { transform: translateY(0); opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { transform: translateY(420px); opacity: 0; } }

/* ==========================================================================
   3D tilt cards
   ========================================================================== */
[data-tilt] { transform-style: preserve-3d; }
[data-tilt].is-tilting { transition: transform .12s linear, border-color .35s, background .35s, box-shadow .3s; }
.tilt-glare { position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit; opacity: 0; transition: opacity .35s;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), var(--glare, rgba(255, 255, 255, .14)), transparent 55%); }
[data-tilt]:hover .tilt-glare { opacity: 1; }
.tile { --glare: rgba(76, 143, 240, .12); overflow: hidden; }
.pillar .pillar__icon, .industry .industry__icon, .tile .tile__icon { transform: translateZ(30px); }

/* ==========================================================================
   Photography & image animations
   ========================================================================== */

/* Page hero background photo — slow "Ken Burns" zoom behind a navy gradient */
.page-hero__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .62; transform-origin: 70% 50%; animation: kenBurns 22s ease-out both; }
.page-hero__bg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--navy-900) 18%, rgba(10, 26, 48, .72) 52%, rgba(10, 26, 48, .25) 100%),
              linear-gradient(0deg, rgba(10, 26, 48, .7), transparent 40%); }
@keyframes kenBurns { from { transform: scale(1.16) translate3d(1.5%, 0, 0); } to { transform: scale(1.02) translate3d(0, 0, 0); } }
@media (max-width: 799px) { .page-hero__bg img { opacity: .3; } .page-hero__bg::after { background: linear-gradient(180deg, rgba(10, 26, 48, .75), var(--navy-900)); } }

/* Reveal: a navy panel wipes away while the image settles from a zoom */
.img-reveal { position: relative; overflow: hidden; isolation: isolate; }
.img-reveal img { transition: transform 1.5s cubic-bezier(.2, .7, .2, 1) var(--d, 0s); }
.img-reveal::after { content: ""; position: absolute; inset: 0; z-index: 2; background: var(--navy-800); transform-origin: right; transition: transform 1.1s cubic-bezier(.77, 0, .18, 1) var(--d, 0s); pointer-events: none; }
.js .img-reveal[data-reveal] { opacity: 1; transform: none; }
.js .img-reveal:not(.is-visible) img { transform: scale(1.25); }
.js .img-reveal.is-visible::after { transform: scaleX(0); }
html:not(.js) .img-reveal::after { display: none; }

/* Home — "In the field" mosaic */
.section--showcase { background: var(--white); }
.showcase { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .showcase { grid-template-columns: repeat(2, 1fr); } .shot--lg { grid-column: 1 / -1; } }
@media (min-width: 1000px) { .showcase { grid-template-columns: 1.35fr 1fr 1fr; grid-template-rows: repeat(2, 250px); } .shot--lg { grid-column: 1; grid-row: 1 / span 2; } }
.shot { display: block; border-radius: var(--radius); min-height: 230px; background: var(--navy-800); color: var(--white); }
.shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.shot::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 35%, rgba(5, 15, 31, .88)); transition: background .4s; }
.shot:hover::before { background: linear-gradient(180deg, rgba(5, 15, 31, .1) 20%, rgba(5, 15, 31, .92)); }
.shot.is-visible:hover img, html:not(.js) .shot:hover img { transform: scale(1.08); transition-duration: .9s; transition-delay: 0s; }
.shot__cap { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 3; display: flex; flex-direction: column; gap: 6px; }
.shot__cap small { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--steel-300); }
.shot__cap strong { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-size: 1.2rem; font-weight: 700; }
.shot__cap svg { width: 18px; height: 18px; color: var(--accent); transition: transform .3s var(--ease); }
.shot:hover .shot__cap svg { transform: translate(3px, -3px); }
.shot--lg .shot__cap strong { font-size: 1.6rem; }
.shot::marker { content: none; }
.showcase__note { margin: 14px 0 0; font-size: .78rem; color: var(--steel-500); text-align: right; }

/* Pillar cards — photo header */
.pillar__media { position: relative; margin: -34px -30px 24px; height: 170px; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; }
.pillar__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.pillar__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 36, 66, .1), rgba(15, 36, 66, .85)); }
.pillar:hover .pillar__media img { transform: scale(1.08); }
.pillar__media + .pillar__top { margin-top: -62px; position: relative; z-index: 1; }
.pillar__media + .pillar__top .pillar__icon { background: rgba(10, 26, 48, .85); backdrop-filter: blur(4px); }
.pillar__media + .pillar__top .pillar__num { color: rgba(255, 255, 255, .55); }

/* Industry cards — background photo */
.industry__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: transform 1s var(--ease), opacity .5s; }
.industry:has(.industry__bg) { background: var(--navy-900); }
/* gradient overlay sits between the photo (-2) and the text */
.industry:has(.industry__bg)::before { z-index: -1; opacity: 1; mask-image: none; -webkit-mask-image: none; background-size: auto;
  background-image: linear-gradient(180deg, rgba(10, 26, 48, .1) 0%, rgba(10, 26, 48, .45) 34%, rgba(10, 26, 48, .96) 68%); }
.industry:hover .industry__bg { transform: scale(1.08); opacity: 1; }
.pillar::before { z-index: 2; }

/* About — parallax photo band */
.photo-band { position: relative; min-height: clamp(320px, 42vw, 520px); display: flex; align-items: flex-end; overflow: hidden; background: var(--navy-950); }
.photo-band__img { position: absolute; left: 0; right: 0; top: -15%; width: 100%; height: 130%; object-fit: cover; opacity: .7; will-change: transform; }
.photo-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5, 15, 31, .92), rgba(5, 15, 31, .15) 70%); }
.photo-band .eyebrow { color: var(--accent); }
.photo-band__inner { position: relative; z-index: 1; padding-top: 80px; padding-bottom: clamp(40px, 6vw, 72px); }
.photo-band__quote { margin: 0; max-width: 820px; font-family: var(--font-head); font-weight: 700; font-size: clamp(1.5rem, 3.2vw, 2.5rem); line-height: 1.25; color: var(--white); letter-spacing: -.015em; }

@media (prefers-reduced-motion: reduce) {
  .page-hero__bg img { animation: none; transform: none; }
  .js .img-reveal:not(.is-visible) img { transform: none; }
  .img-reveal::after { display: none; }
}

/* Industry cards with photos — icon and number on solid badges so they stay readable */
.industry:has(.industry__bg) .industry__icon { top: 20px; right: 20px; width: 60px; height: 60px; padding: 13px; border-radius: 14px;
  background: rgba(5, 15, 31, .78); border: 1px solid rgba(76, 143, 240, .5); color: #8fbfff;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .7); }
.industry:has(.industry__bg) .industry__icon svg { stroke-width: 1.7; }
.industry:has(.industry__bg):hover .industry__icon { transform: translateY(-2px) scale(1.04); color: #fff; border-color: var(--accent); }
.industry:has(.industry__bg) .industry__num { top: 20px; left: 20px; padding: 5px 9px; border-radius: 6px; background: rgba(5, 15, 31, .78); color: var(--steel-200);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.industry:has(.industry__bg) h3, .industry:has(.industry__bg) p { text-shadow: 0 1px 10px rgba(5, 15, 31, .6); }
