/* ==========================================================================
   ITJASPER Solutions — site stylesheet (v3, October 2026)

   Direction: an established software engineering firm whose products run
   real counters, kitchens, front desks and processing units.
   - Deep navy masthead on every page; the body alternates white and mist.
   - Source Serif 4 (display cut) for headlines, Instrument Sans for the rest.
   - One signal colour (azure, from the logo). No decorative gradients, no
     photography: the imagery is the software itself, drawn as system panels
     and real screens.
   No framework. Sections are built from the components below.
   ========================================================================== */

/* ---------- Fonts (self-hosted) ---------- */
@font-face {
  font-family: 'Source Serif Display';
  src: url('../fonts/source-serif-4-display.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Sans';
  src: url('../fonts/instrument-sans-latin-wght-normal.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  /* brand */
  --ink-900: #0a1430;       /* deepest navy: header, hero, footer */
  --ink: #0f1b3d;           /* dark bands */
  --ink-2: #16254f;         /* raised dark surface */
  --ink-3: #1e3064;         /* dark surface, hover */
  --navy: #243c81;          /* primary action on light (from the logo) */
  --navy-600: #2c4a9c;
  --navy-700: #1b2f69;
  --azure: #1a9bd7;         /* signal (from the logo) */
  --azure-300: #67c3ec;     /* signal on dark */
  --azure-ink: #0b6d9d;     /* azure that passes contrast as text on white */
  --azure-bg: #e8f4fb;

  /* neutrals */
  --paper: #ffffff;
  --mist: #f3f6fa;
  --mist-2: #e8edf4;
  --line: #dbe2ec;
  --line-2: #c5cfdd;
  --text: #121d3b;
  --slate: #475273;
  --muted: #5e6985;

  /* on dark */
  --on-dark: #c7d0e4;
  --on-dark-2: #8794b5;
  --line-dark: rgba(255, 255, 255, .12);
  --line-dark-2: rgba(255, 255, 255, .2);
  --fill-dark: rgba(255, 255, 255, .04);
  --fill-dark-2: rgba(255, 255, 255, .08);

  /* status */
  --ok: #1f7a4d;  --ok-bg: #e5f4ea;
  --warn: #8a5300; --warn-bg: #fdf1dc;
  --danger: #b42318; --danger-bg: #fdecea;

  --serif: 'Source Serif Display', 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --sans: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  --container: 1240px;
  --gutter: 28px;
  --header-h: 76px;
  --r-xs: 4px;
  --r-s: 6px;
  --r: 10px;
  --r-l: 16px;
  --shadow-1: 0 1px 2px rgba(10, 20, 48, .06);
  --shadow-2: 0 20px 50px -24px rgba(10, 20, 48, .35);
  --shadow-3: 0 40px 80px -40px rgba(10, 20, 48, .55);
  --shadow-dark: 0 40px 90px -30px rgba(0, 0, 0, .6);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}
@media (max-width: 900px) { :root { --gutter: 24px; } }
@media (max-width: 640px) { :root { --gutter: 20px; --header-h: 64px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); overflow-x: clip; background: var(--ink-900); }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font-family: var(--sans); font-size: 1.0625rem; line-height: 1.65;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  padding-top: var(--header-h);   /* room for the fixed header */
}
@media (max-width: 640px) { body { font-size: 1rem; } }
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
figure { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
strong, b { font-weight: 600; }
hr { border: 0; border-top: 1px solid var(--line); margin: 0; }
address { font-style: normal; }
::selection { background: var(--azure); color: #fff; }

h1, h2, h3, h4 { margin: 0 0 .5em; color: var(--ink); text-wrap: balance; }
p, li, dd, figcaption { text-wrap: pretty; }
h1, h2, .serif { font-family: var(--serif); font-weight: 500; letter-spacing: -.02em; }
h1 { font-size: clamp(2.4rem, 1.6rem + 2.6vw, 4rem); line-height: 1.04; }
h2 { font-size: clamp(1.85rem, 1.35rem + 1.6vw, 2.8rem); line-height: 1.08; }
h3 { font-family: var(--sans); font-size: 1.1875rem; line-height: 1.3; font-weight: 600; letter-spacing: -.008em; }
h4 { font-family: var(--sans); font-size: 1rem; line-height: 1.35; font-weight: 600; }
.lead { font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); line-height: 1.6; color: var(--slate); }
.small { font-size: .875rem; }
.muted { color: var(--muted); }
.measure { max-width: 64ch; }

:focus-visible { outline: 2px solid var(--azure); outline-offset: 3px; border-radius: var(--r-xs); }
.skip-link { position: absolute; left: 12px; top: -80px; z-index: 1000; padding: 10px 16px; background: #fff; color: var(--ink); border-radius: var(--r-s); font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; color: var(--ink); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: calc(900px + var(--gutter) * 2); }
.section { padding: clamp(64px, 5vw + 32px, 120px) 0; }
.section--tight { padding: clamp(40px, 3vw + 20px, 64px) 0; }
.section--mist { background: var(--mist); }
.section--ink { background: var(--ink); color: var(--on-dark); }
.section--ink h2, .section--ink h3, .section--ink h4 { color: #fff; }
.section--ink .lead { color: var(--on-dark); }
.section--ink a { color: #fff; }
.section--rule { border-top: 1px solid var(--line); }

/* Section header: headline left, context right */
.section-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px 56px; align-items: end; margin-bottom: clamp(36px, 3.5vw + 12px, 64px); }
.section-head h2 { margin: 0; max-width: 24ch; }
.section-head p { margin: 0; color: var(--slate); max-width: 50ch; font-size: 1.0625rem; }
.section--ink .section-head p { color: var(--on-dark); }
.section-head--stack { grid-template-columns: 1fr; align-items: start; }
.section-head--stack p { max-width: 64ch; }
@media (max-width: 900px) { .section-head { grid-template-columns: 1fr; align-items: start; gap: 14px; } }

.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px 56px; align-items: start; }
.split > .col-5 { grid-column: span 5; } .split > .col-6 { grid-column: span 6; } .split > .col-7 { grid-column: span 7; } .split > .col-4 { grid-column: span 4; } .split > .col-8 { grid-column: span 8; }
.split--center { align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 28px; } .split > [class^="col-"] { grid-column: auto; } }

.stack > * + * { margin-top: 16px; }

/* ---------- Buttons & links ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 13px 24px; border-radius: var(--r-s);
  font-family: var(--sans); font-size: .975rem; font-weight: 600; line-height: 1.2; letter-spacing: .002em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  border: 1px solid transparent;
  transition: background-color .22s var(--ease), border-color .22s var(--ease), color .22s var(--ease), box-shadow .22s var(--ease), transform .22s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--navy); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.08) inset, 0 8px 20px -12px rgba(36, 60, 129, .7); }
.btn--primary:hover { background: var(--navy-600); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.1) inset, 0 12px 26px -12px rgba(36, 60, 129, .8); }
.btn--secondary { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn--secondary:hover { border-color: var(--ink); color: var(--ink); }
.btn--light { background: #fff; color: var(--ink-900); }
.btn--light:hover { background: var(--azure-300); color: var(--ink-900); }
.btn--outline-light { background: transparent; color: #fff; border-color: var(--line-dark-2); }
.btn--outline-light:hover { border-color: #fff; color: #fff; background: var(--fill-dark); }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: .9rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--navy); text-decoration: none; }
.link svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.link:hover { color: var(--ink); text-decoration: underline; }
.link:hover svg { transform: translateX(3px); }
.section--ink .link { color: #fff; }

/* ---------- Header (deep navy on every page) ---------- */
/* The header is fixed (not sticky) so it never depends on ancestor overflow or scroll-container
   rules, which differ between mobile engines. Its height is exactly --header-h; the body
   carries the same amount of top padding. */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: var(--ink-900); color: #fff; box-shadow: inset 0 -1px 0 var(--line-dark); transition: box-shadow .25s; }
/* No backdrop-filter or transform here: either would turn the header into the containing block
   for the fixed mobile menu sheet inside it, which then collapses to the header's height. */
.site-header.is-scrolled { box-shadow: inset 0 -1px 0 var(--line-dark), 0 12px 32px -24px rgba(0, 0, 0, .7); }
.site-header__inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex: none; margin-right: auto; }
.brand img { height: 38px; width: auto; }
@media (max-width: 640px) { .brand img { height: 32px; } }

.nav { display: flex; align-items: center; gap: 4px; }
.nav__list { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 13px; border: 0; border-radius: var(--r-s);
  background: none; color: var(--on-dark); font-size: .95rem; font-weight: 500; text-decoration: none; cursor: pointer; line-height: 1.2;
  transition: color .2s, background-color .2s;
}
.nav__link:hover, .nav__item.is-open > .nav__link { color: #fff; background: var(--fill-dark-2); }
.nav__link[aria-current="page"], .nav__item.is-current > .nav__link { color: #fff; }
.nav__link[aria-current="page"]::after, .nav__item.is-current > .nav__link::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 4px; height: 2px; background: var(--azure); border-radius: 2px; }
.nav__link { position: relative; }
.nav__link svg { width: 14px; height: 14px; transition: transform .2s var(--ease); opacity: .7; }
.nav__item.is-open > .nav__link svg { transform: rotate(180deg); }
.nav__cta { margin-left: 14px; min-height: 42px; padding: 9px 18px; background: #fff; color: var(--ink-900); font-size: .925rem; }
.nav__cta:hover { background: var(--azure-300); color: var(--ink-900); }
.header-cta { display: none; }

/* Desktop mega panel */
.nav__item { position: static; }
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: #fff; color: var(--text); border-bottom: 1px solid var(--line);
  box-shadow: 0 30px 50px -30px rgba(10, 20, 48, .5);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.nav__item.is-open > .mega { opacity: 1; visibility: visible; transform: none; }
.mega__inner { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 40px; padding: 30px var(--gutter) 34px; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; }
.mega__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 28px; list-style: none; }
.mega__list a { display: block; padding: 14px 12px 14px 12px; margin-left: -12px; border-radius: var(--r-s); text-decoration: none; color: var(--text); transition: background-color .15s; }
.mega__list a:hover { background: var(--mist); }
.mega__list a:hover strong { color: var(--navy); }
.mega__list strong { display: block; font-size: 1rem; font-weight: 600; color: var(--ink); }
.mega__list span { display: block; margin-top: 3px; font-size: .875rem; color: var(--muted); line-height: 1.5; }
.mega__aside { padding: 24px 26px; background: var(--ink-900); color: var(--on-dark); border-radius: var(--r); }
.mega__aside .mega__title { font-family: var(--serif); font-size: 1.25rem; font-weight: 500; letter-spacing: -.01em; color: #fff; margin: 0 0 8px; }
.mega__aside p { font-size: .925rem; margin-bottom: 14px; line-height: 1.55; }
.mega__aside .link { color: #fff; }

.nav-toggle {
  display: none; width: 44px; height: 44px; align-items: center; justify-content: center;
  border: 1px solid var(--line-dark-2); border-radius: var(--r-s); background: transparent; cursor: pointer; color: #fff;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 18px; height: 1.5px; background: currentColor; transition: transform .25s var(--ease), background .2s; }
.nav-toggle span { position: relative; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* Mobile & tablet navigation: a full-height dark sheet */
.mobile-quick { display: none; }
@media (max-width: 1119px) {
  .nav-toggle { display: inline-flex; }
  .header-cta { display: inline-flex; min-height: 40px; background: #fff; color: var(--ink-900); }
  .header-cta:hover { background: var(--azure-300); color: var(--ink-900); }
  .nav {
    position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0; z-index: 99;
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) calc(24px + env(safe-area-inset-bottom)); background: var(--ink-900); overflow-y: auto; overscroll-behavior: contain;
    clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .32s var(--ease-out), visibility .32s;
  }
  .nav.is-open { clip-path: inset(0); visibility: visible; }
  .nav__list { flex-direction: column; align-items: stretch; }
  .nav__item { border-bottom: 1px solid var(--line-dark); }
  .nav__link { width: 100%; justify-content: space-between; padding: 18px 2px; font-family: var(--serif); font-size: 1.5rem; font-weight: 500; letter-spacing: -.01em; color: #fff; border-radius: 0; }
  .nav__link:hover, .nav__item.is-open > .nav__link { background: none; }
  .nav__link[aria-current="page"]::after, .nav__item.is-current > .nav__link::after { display: none; }
  .nav__link[aria-current="page"], .nav__item.is-current > .nav__link { color: var(--azure-300); }
  .nav__link svg { width: 18px; height: 18px; }
  .mega { position: static; opacity: 1; visibility: visible; transform: none; display: none; border: 0; box-shadow: none; background: transparent; color: var(--on-dark); }
  .nav__item.is-open > .mega { display: block; }
  .mega__inner { display: block; padding: 0 0 14px; }
  .mega__list { grid-template-columns: 1fr; gap: 0; }
  .mega__list a { padding: 12px 0 12px 16px; margin: 0; border-radius: 0; border-left: 1px solid var(--line-dark-2); color: var(--on-dark); }
  .mega__list a:hover { background: none; border-left-color: var(--azure); }
  .mega__list strong { color: #fff; font-family: var(--sans); font-size: 1rem; }
  .mega__list a:hover strong { color: var(--azure-300); }
  .mega__list span { color: var(--on-dark-2); }
  .mega__aside { display: none; }
  .nav__cta { margin: 24px 0 0; width: 100%; min-height: 52px; font-size: 1rem; }
  .mobile-quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
  .mobile-quick a { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px; border: 1px solid var(--line-dark); border-radius: var(--r); font-size: .875rem; font-weight: 600; color: #fff; text-decoration: none; background: var(--fill-dark); }
  .mobile-quick svg { width: 20px; height: 20px; color: var(--azure-300); }
}
@media (max-width: 359px) { .header-cta { display: none; } }
body.nav-open { overflow: hidden; }

/* ---------- Dark masthead shared by the home hero and inner page heroes ---------- */
.hero, .page-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--ink-900); color: var(--on-dark); }
.hero::before, .page-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(900px 520px at 78% 30%, rgba(26, 155, 215, .22), transparent 60%),
    radial-gradient(700px 480px at 12% 110%, rgba(36, 60, 129, .55), transparent 60%);
}
.hero::after, .page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
  background-size: 56px 56px; background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 70% 40%, #000 20%, transparent 80%);
          mask-image: radial-gradient(ellipse 70% 90% at 70% 40%, #000 20%, transparent 80%);
}
.hero h1, .page-hero h1, .hero h2, .page-hero h2 { color: #fff; }
.hero .lead, .page-hero .lead { color: var(--on-dark); }
.hero a:not(.btn):not(.blueprint__live), .page-hero a:not(.btn):not(.blueprint__live) { color: #fff; }

/* ---------- Home hero ---------- */
.hero { padding: clamp(40px, 4vw + 12px, 72px) 0 0; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 12fr) minmax(0, 11fr); gap: 56px; align-items: center; padding-bottom: clamp(56px, 5vw + 20px, 96px); }
.hero__kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 26px; padding: 7px 14px 7px 8px; border: 1px solid var(--line-dark-2); border-radius: 999px; font-size: .875rem; font-weight: 500; color: var(--on-dark); background: var(--fill-dark); }
.hero__kicker img { width: 20px; height: 20px; }
.hero h1 { max-width: 19ch; margin-bottom: 24px; font-size: clamp(2.3rem, 1.4rem + 2.4vw, 3.5rem); }
.hero .lead { max-width: 46ch; margin-bottom: 34px; }
.hero__proof { display: grid; gap: 12px; margin: 40px 0 0; padding: 26px 0 0; border-top: 1px solid var(--line-dark); list-style: none; }
.hero__proof li { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; color: var(--on-dark); }
.hero__proof svg { width: 18px; height: 18px; color: var(--azure-300); flex: none; margin-top: 3px; }
.hero__visual { position: relative; z-index: 0; }
@media (min-width: 1400px) { .hero__visual { margin-right: -48px; } }
@media (max-width: 1099px) {
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .hero h1 { max-width: 22ch; }
  .hero .lead { max-width: 56ch; }
  .hero__visual { max-width: 760px; }
}
@media (max-width: 480px) {
  .hero__kicker { font-size: .8125rem; padding: 8px 16px 8px 10px; }
  /* If the tagline needs two lines, break it between sentences and keep the capsule balanced */
  .hero__kicker > span { text-wrap: balance; line-height: 1.45; }
  .hero__kicker-long { display: none; }
  .hero .btn-row .btn { flex: 1 1 100%; }
  .hero .lead { font-size: 1.0625rem; }
}
@media (max-width: 400px) {
  /* Below 400px the tagline takes two lines: let the capsule hug them instead of the full row */
  .hero__kicker > span { max-width: 26ch; }
}

/* Hero entrance: one orchestrated moment */
.hero [data-rise] { animation: rise .8s var(--ease-out) both; }
.hero [data-rise="2"] { animation-delay: .08s; }
.hero [data-rise="3"] { animation-delay: .16s; }
.hero [data-rise="4"] { animation-delay: .24s; }
.hero [data-rise="5"] { animation-delay: .22s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Capability strip along the base of the hero */
.hero__caps { border-top: 1px solid var(--line-dark); background: rgba(255, 255, 255, .025); }
.hero__caps ul { display: grid; grid-template-columns: auto repeat(6, minmax(0, 1fr)); list-style: none; }
.hero__caps li { padding: 20px 20px 20px 0; font-size: .9rem; font-weight: 500; color: var(--on-dark); line-height: 1.35; }
.hero__caps li + li { padding-left: 20px; border-left: 1px solid var(--line-dark); }
.hero__caps li:first-child { color: var(--on-dark-2); font-weight: 400; padding-right: 32px; }
@media (max-width: 1099px) {
  .hero__caps ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero__caps li:first-child { grid-column: 1 / -1; padding: 18px 0 4px; }
  .hero__caps li + li { border-left: 0; padding-left: 0; padding-right: 16px; }
  .hero__caps li { padding: 10px 16px 10px 0; }
  .hero__caps ul { padding-bottom: 14px; }
}
@media (max-width: 560px) { .hero__caps ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- System panel (hero visual and architecture diagrams) ---------- */
.blueprint { position: relative; background: var(--mist); border: 1px solid var(--line); border-radius: var(--r-l); padding: 24px; }
.blueprint__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 16px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.blueprint__title { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.blueprint__title strong { font-family: var(--serif); font-size: 1.4rem; font-weight: 500; color: var(--ink); letter-spacing: -.01em; }
.blueprint__title span { font-size: .875rem; color: var(--muted); }
.blueprint__live { display: inline-flex; align-items: center; gap: 8px; font-size: .8125rem; font-weight: 600; color: var(--ink); text-decoration: none; padding: 6px 11px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; white-space: nowrap; }
.blueprint__live i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(31, 122, 77, .18); }
.blueprint__live:hover { border-color: var(--ink); color: var(--ink); }
.page-hero .blueprint__live, .section .blueprint__live { color: var(--ink); }
.bp-label { margin: 0 0 8px; font-size: .75rem; font-weight: 600; color: var(--muted); letter-spacing: .01em; }
.bp-apps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.bp-app { position: relative; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.bp-app svg { width: 20px; height: 20px; color: var(--navy); margin-bottom: 8px; }
.bp-app strong { display: block; font-size: .9375rem; font-weight: 600; color: var(--ink); line-height: 1.25; }
.bp-app span { display: block; font-size: .8125rem; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.bp-app::after { content: ""; position: absolute; left: 50%; bottom: -11px; width: 1px; height: 10px; background: var(--line-2); }
.bp-core { position: relative; margin: 10px 0; padding: 14px 16px; background: var(--ink); color: #fff; border-radius: var(--r); display: flex; align-items: center; gap: 14px; }
.bp-core svg { width: 22px; height: 22px; color: var(--azure); flex: none; }
.bp-core strong { display: block; font-size: .9375rem; font-weight: 600; }
.bp-core span { display: block; font-size: .8125rem; color: var(--on-dark); }
.bp-services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.bp-service { position: relative; padding: 10px; background: #fff; border: 1px dashed var(--line-2); border-radius: var(--r-s); font-size: .8125rem; line-height: 1.35; color: var(--text); font-weight: 500; }
.bp-service::before { content: ""; position: absolute; left: 50%; top: -11px; width: 1px; height: 10px; background: var(--line-2); }
.bp-flow { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.bp-track { position: relative; }
.bp-track::before { content: ""; position: absolute; left: 6px; right: calc(25% - 25px); top: 6px; height: 2px; background: var(--line-2); }
.bp-steps__bar { position: absolute; z-index: 1; left: 6px; top: 6px; height: 2px; background: var(--navy); width: 0; transition: width .6s var(--ease); }
.bp-steps { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; list-style: none; }
.bp-steps li { position: relative; padding-top: 22px; font-size: .8125rem; line-height: 1.35; color: var(--muted); font-weight: 500; transition: color .3s; }
.bp-steps li::before { content: ""; position: absolute; left: 0; top: 0; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 2px solid var(--line-2); transition: border-color .3s, background .3s, box-shadow .3s; }
.bp-steps li.is-done { color: var(--text); }
.bp-steps li.is-done::before { border-color: var(--navy); background: var(--navy); }
.bp-steps li.is-active { color: var(--ink); font-weight: 600; }
.bp-steps li.is-active::before { border-color: var(--azure); background: #fff; box-shadow: 0 0 0 4px rgba(26, 155, 215, .2); }
.blueprint__caption { margin: 14px 2px 0; font-size: .875rem; color: var(--muted); }
@media (max-width: 560px) {
  .blueprint { padding: 16px; }
  .bp-app { padding: 10px; }
  .bp-app span { display: none; }
  .bp-services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bp-service:nth-child(n+3)::before { display: none; }
  .bp-steps li { font-size: .75rem; }
}

/* Dark instrument variant: every panel inside the home hero */
.hero .blueprint { background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .03)); border-color: var(--line-dark-2); box-shadow: var(--shadow-dark), 0 0 0 1px rgba(255, 255, 255, .04) inset; padding: 26px; }
.hero .blueprint::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; z-index: -1;
  background: radial-gradient(420px 220px at 90% -10%, rgba(26, 155, 215, .35), transparent 70%); filter: blur(24px); opacity: .9; }
.hero .blueprint .blueprint__head { border-bottom-color: var(--line-dark); }
.hero .blueprint .blueprint__title strong { color: #fff; }
.hero .blueprint .blueprint__title span { color: var(--on-dark-2); }
.hero .blueprint .blueprint__live, .hero .blueprint a.blueprint__live { background: rgba(255, 255, 255, .08); border-color: var(--line-dark-2); color: #fff; }
.hero .blueprint .blueprint__live i { background: #3ddc84; box-shadow: 0 0 0 3px rgba(61, 220, 132, .2); }
.hero .blueprint .blueprint__live:hover { border-color: #fff; }
.hero .blueprint .bp-label { color: var(--on-dark-2); }
.hero .blueprint .bp-app { background: var(--fill-dark-2); border-color: var(--line-dark); }
.hero .blueprint .bp-app svg { color: var(--azure-300); }
.hero .blueprint .bp-app strong { color: #fff; }
.hero .blueprint .bp-app span { color: var(--on-dark-2); }
.hero .blueprint .bp-app::after, .hero .blueprint .bp-service::before { background: var(--line-dark-2); }
.hero .blueprint .bp-core { background: #fff; color: var(--ink-900); box-shadow: 0 10px 30px -14px rgba(0, 0, 0, .6); }
.hero .blueprint .bp-core svg { color: var(--navy); }
.hero .blueprint .bp-core span { color: var(--slate); }
.hero .blueprint .bp-service { background: transparent; border-color: var(--line-dark-2); color: var(--on-dark); }
.hero .blueprint .bp-flow { border-top-color: var(--line-dark); }
.hero .blueprint .bp-track::before { background: var(--line-dark-2); }
.hero .blueprint .bp-steps__bar { background: var(--azure); }
.hero .blueprint .bp-steps li { color: var(--on-dark-2); }
.hero .blueprint .bp-steps li::before { background: var(--ink-900); border-color: var(--line-dark-2); }
.hero .blueprint .bp-steps li.is-done { color: var(--on-dark); }
.hero .blueprint .bp-steps li.is-done::before { border-color: var(--azure); background: var(--azure); }
.hero .blueprint .bp-steps li.is-active { color: #fff; }
.hero .blueprint .bp-steps li.is-active::before { border-color: #fff; background: var(--ink-900); box-shadow: 0 0 0 4px rgba(255, 255, 255, .18); }
.hero .blueprint .blueprint__caption { color: var(--on-dark-2); }
@media (max-width: 560px) { .hero .blueprint { padding: 18px; } }

/* ---------- Trust strip ---------- */
.trust { padding: 30px 0; border-bottom: 1px solid var(--line); background: #fff; }
.trust__inner { display: grid; grid-template-columns: auto 1fr; gap: 20px 56px; align-items: center; }
.trust__label { margin: 0; font-size: .9375rem; color: var(--slate); line-height: 1.45; max-width: 18ch; }
.trust__logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; list-style: none; }
.trust__logos img { height: 36px; width: auto; max-width: 150px; object-fit: contain; filter: grayscale(1) contrast(1.05); opacity: .7; transition: filter .25s, opacity .25s; }
.trust__logos img.is-tall { height: 58px; }
.trust__logos img:hover { filter: none; opacity: 1; }
@media (max-width: 800px) { .trust__inner { grid-template-columns: 1fr; } .trust__label { max-width: none; } .trust__logos { justify-content: flex-start; gap: 16px 28px; } .trust__logos img { height: 30px; max-width: 112px; } .trust__logos img.is-tall { height: 46px; } }

/* ---------- Statement + points (company story) ---------- */
.statement { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px 80px; align-items: start; }
.statement__text { position: sticky; top: calc(var(--header-h) + 32px); }
.statement__text h2 { margin-bottom: 18px; }
.statement__text p { color: var(--slate); margin: 0; max-width: 40ch; }
.statement__text .link { margin-top: 22px; }
.story { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.story > div { padding: 30px 36px 32px 0; border-bottom: 1px solid var(--line); }
.story > div:nth-child(even) { padding-left: 36px; padding-right: 0; border-left: 1px solid var(--line); }
.story h3 { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; letter-spacing: -.012em; margin-bottom: 10px; }
.story p { margin: 0; color: var(--slate); font-size: 1rem; }
@media (max-width: 1000px) { .statement { grid-template-columns: 1fr; gap: 32px; } .statement__text { position: static; } .statement__text p { max-width: 60ch; } }
@media (max-width: 640px) { .story { grid-template-columns: 1fr; } .story > div, .story > div:nth-child(even) { padding: 22px 0; border-left: 0; } }

/* ---------- Bento (what we build) ---------- */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(150px, auto); gap: 14px; }
.bento__tile { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease); }
.bento__tile:hover { border-color: var(--line-2); box-shadow: var(--shadow-2); transform: translateY(-2px); }
.bento__tile svg { width: 24px; height: 24px; color: var(--navy); }
.bento__tile h3 { font-size: 1.0625rem; margin: 6px 0 0; }
.bento__tile p { margin: 0; font-size: .925rem; color: var(--slate); line-height: 1.55; }
.bento__tile--feature { grid-column: span 2; grid-row: span 2; padding: 28px; background: var(--ink-900); color: var(--on-dark); border-color: var(--ink-900); overflow: hidden; }
.bento__tile--feature:hover { border-color: var(--ink-900); transform: none; box-shadow: var(--shadow-dark); }
.bento__tile--feature::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(520px 300px at 100% 0%, rgba(26, 155, 215, .28), transparent 65%);
}
.bento__tile--feature svg { color: var(--azure-300); }
.bento__tile--feature h3 { color: #fff; font-family: var(--serif); font-size: 1.6rem; font-weight: 500; letter-spacing: -.012em; }
.bento__tile--feature p { color: var(--on-dark); font-size: 1rem; max-width: 46ch; }
.bento__tile--feature .bento__art { position: relative; margin-top: auto; padding-top: 22px; }
.bento__tile--wide { grid-column: span 2; flex-direction: row; align-items: flex-start; gap: 20px; }
.bento__tile--wide svg { flex: none; margin-top: 2px; }
.bento__tile--wide h3 { margin-top: 0; }
.bento__foot { margin-top: 14px; display: grid; grid-template-columns: minmax(0, 7fr) auto; gap: 16px 40px; align-items: center; padding: 22px 26px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.bento__foot h3 { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 1.0625rem; }
.bento__foot h3 svg { width: 22px; height: 22px; color: var(--navy); }
.bento__foot p { margin: 6px 0 0 34px; color: var(--slate); font-size: .95rem; }
@media (max-width: 1000px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; } .bento__tile--feature { grid-column: 1 / -1; grid-row: auto; } }
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; gap: 0; }
  .bento__tile--feature { margin-bottom: 8px; }
  /* Small tiles become a compact ruled list on phones */
  .bento__tile:not(.bento__tile--feature) { display: grid; grid-template-columns: 28px 1fr; gap: 2px 14px; padding: 18px 0; background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
  .bento__tile:not(.bento__tile--feature):hover { box-shadow: none; transform: none; }
  .bento__tile:not(.bento__tile--feature) svg { grid-row: 1 / span 2; width: 22px; height: 22px; margin-top: 2px; }
  .bento__tile:not(.bento__tile--feature) h3 { margin: 0; }
  .bento__tile--wide { grid-column: auto; }
  .bento__foot { grid-template-columns: 1fr; margin-top: 20px; }
  .bento__foot p { margin-left: 0; }
  .bento__foot .btn-row .btn { flex: 1 1 auto; }
}

/* Mini illustration: a request moving through a workflow (dark tile) */
.mini-flow { display: grid; gap: 8px; }
.mini-flow__row { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--line-dark); border-radius: var(--r-s); background: var(--fill-dark); font-size: .8125rem; color: var(--on-dark); }
.mini-flow__row b { color: #fff; font-weight: 600; }
.mini-flow__row span { color: var(--on-dark-2); }
.mini-flow .ui-pill { background: rgba(255, 255, 255, .1); color: #fff; }
.mini-flow .ui-pill--ok { background: rgba(61, 220, 132, .16); color: #7fe6ab; }
.mini-flow .ui-pill--warn { background: rgba(255, 190, 90, .16); color: #ffcf7a; }

/* Capability index (inner pages) */
.cap-index { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; list-style: none; border-top: 1px solid var(--line); }
.cap-index li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.cap-index svg { width: 24px; height: 24px; color: var(--navy); margin-top: 2px; }
.cap-index h3 { font-size: 1.0625rem; margin: 0 0 4px; }
.cap-index p { margin: 0; font-size: .95rem; color: var(--slate); line-height: 1.55; }
@media (max-width: 760px) { .cap-index { grid-template-columns: 1fr; } }

.solution-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
.solution-card { display: flex; flex-direction: column; gap: 10px; padding: 28px 30px; border: 1px solid var(--line); border-radius: var(--r-l); background: #fff; }
.solution-card h3 { font-family: var(--serif); font-size: 1.55rem; font-weight: 500; letter-spacing: -.012em; margin: 0; }
.solution-card p { margin: 0; color: var(--slate); }
.solution-card .link { margin-top: auto; padding-top: 8px; }
.section--mist .solution-card { box-shadow: var(--shadow-1); }
@media (max-width: 760px) { .solution-pair { grid-template-columns: 1fr; } }

/* ---------- Product plates ---------- */
.plate { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 56px; align-items: center; padding: 56px 0; border-top: 1px solid var(--line); }
.plate:first-of-type { border-top: 0; padding-top: 0; }
.plate--flip .plate__visual { order: 2; }
.plate__visual { position: relative; padding: clamp(18px, 2.5vw, 36px); border-radius: var(--r-l); background: var(--ink-900); overflow: hidden; }
.plate__visual::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 30%, transparent 90%);
          mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 30%, transparent 90%); }
.plate__visual::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(400px 240px at 100% 0%, rgba(26, 155, 215, .3), transparent 65%); }
.plate__visual > * { position: relative; z-index: 1; }
.plate__visual .ui-note { color: var(--on-dark-2); }
.plate__id { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.plate__mark { width: 46px; height: 46px; display: grid; place-items: center; border-radius: var(--r); background: var(--ink-900); color: #fff; flex: none; }
.plate__mark svg { width: 22px; height: 22px; color: var(--azure-300); }
.plate__name { margin: 0; font-family: var(--serif); font-size: 1.75rem; font-weight: 500; line-height: 1.1; color: var(--ink); letter-spacing: -.015em; }
.plate__id > div > span { display: block; font-size: .875rem; color: var(--muted); margin-top: 2px; }
.plate__id .plate__name { color: var(--ink); margin: 0; max-width: none; }
.plate__problem { font-size: 1.0625rem; color: var(--text); margin-bottom: 10px; }
.plate__solution { color: var(--slate); margin-bottom: 24px; }
.plate__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; margin: 0 0 22px; list-style: none; }
.plate__facts li { display: flex; gap: 10px; font-size: .95rem; color: var(--text); line-height: 1.45; }
.plate__facts svg { width: 18px; height: 18px; color: var(--azure-ink); flex: none; margin-top: 2px; }
.plate__for { margin: 0 0 26px; font-size: .9rem; color: var(--slate); }
.plate__for strong { color: var(--ink); }
@media (max-width: 980px) { .plate { grid-template-columns: 1fr; gap: 32px; padding: 44px 0; } .plate--flip .plate__visual { order: 0; } }
@media (max-width: 560px) { .plate__facts { grid-template-columns: 1fr; } .plate__visual { padding: 14px; border-radius: var(--r); } }

.product-rows { margin-top: 48px; }
.section-head + .product-rows { margin-top: 0; }
.product-row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr) auto; gap: 16px 40px; align-items: center; padding: 28px 0; border-top: 1px solid var(--line); }
.product-row:last-child { border-bottom: 1px solid var(--line); }
.product-row h3 { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; margin: 0; letter-spacing: -.012em; }
.product-row p { margin: 0; color: var(--slate); font-size: .975rem; }
.product-row .small { display: block; margin-top: 4px; color: var(--muted); }
@media (max-width: 800px) { .product-row { grid-template-columns: 1fr; gap: 8px; } }

/* ---------- Frames for real screenshots ---------- */
.shot { position: relative; }
.shot__browser { border: 1px solid var(--line-2); border-radius: var(--r); background: #fff; overflow: hidden; box-shadow: var(--shadow-2); }
.shot__bar { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-bottom: 1px solid var(--line); background: var(--mist); font-size: .8125rem; color: var(--muted); }
.shot__bar svg { width: 14px; height: 14px; color: var(--ok); }
.shot__browser img { width: 100%; }
.shot__caption { margin-top: 14px; font-size: .875rem; color: var(--muted); }
.page-hero .shot__browser { border-color: rgba(255, 255, 255, .14); box-shadow: var(--shadow-dark); }
.page-hero .shot__caption, .plate__visual .shot__caption { color: var(--on-dark-2); }

/* ---------- UI previews (product mockups, built in HTML) ---------- */
.ui { border: 1px solid var(--line-2); border-radius: var(--r); background: #fff; box-shadow: var(--shadow-2); overflow: hidden; font-size: .8125rem; color: var(--text); }
.plate__visual .ui, .plate__visual .shot__browser { border-color: rgba(255, 255, 255, .14); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); }
.ui__bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--mist); }
.ui__bar strong { font-size: .8125rem; font-weight: 600; color: var(--ink); }
.ui__bar span { font-size: .75rem; color: var(--muted); }
.ui__body { padding: 14px; }
.ui-pill { display: inline-flex; align-items: center; gap: 6px; padding: 2px 8px; border-radius: 999px; font-size: .72rem; font-weight: 600; line-height: 1.6; background: var(--mist-2); color: var(--slate); white-space: nowrap; }
.ui-pill--ok { background: var(--ok-bg); color: var(--ok); }
.ui-pill--warn { background: var(--warn-bg); color: var(--warn); }
.ui-pill--info { background: var(--azure-bg); color: var(--azure-ink); }
.ui-pill--ink { background: var(--ink); color: #fff; }

/* POS illustration (follows the product's billing screen) */
.pos { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.pos__menu { padding: 12px; border-right: 1px solid var(--line); min-width: 0; }
.pos__tools { display: flex; gap: 8px; align-items: stretch; margin-bottom: 10px; }
.pos__search { flex: 1; min-width: 0; display: flex; align-items: center; gap: 6px; padding: 6px 8px; border: 1px solid var(--line-2); border-radius: 6px; color: var(--muted); font-size: .72rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pos__search svg { width: 12px; height: 12px; flex: none; }
.pos__search span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pos__open { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 6px 8px; border: 1px solid var(--line-2); border-radius: 6px; font-size: .72rem; font-weight: 600; color: var(--ink); white-space: nowrap; }
.pos__open b { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 4px; background: var(--warn-bg); color: var(--warn); font-size: .68rem; }
.pos__cats { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 10px; }
.pos__cats span { padding: 3px 8px; border: 1px solid var(--line-2); border-radius: 999px; font-size: .68rem; color: var(--slate); white-space: nowrap; }
.pos__cats .is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.pos__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.dish { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; min-height: 64px; padding: 18px 7px 6px 9px; border: 1px solid var(--line); border-left: 3px solid #2f8f5b; border-radius: 6px; background: #fff; }
.dish span { font-size: .72rem; font-weight: 600; color: var(--ink); line-height: 1.25; }
.dish b { font-size: .7rem; font-weight: 600; color: var(--slate); font-variant-numeric: tabular-nums; }
.dish i { position: absolute; top: 4px; right: 4px; padding: 0 4px; border-radius: 3px; background: var(--warn-bg); color: var(--warn); font-style: normal; font-size: .58rem; font-weight: 600; line-height: 1.6; }
.dish--nonveg { border-left-color: #c0392b; }
.dish--egg { border-left-color: #d4a017; }
.pos__side { padding: 12px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.kot { border: 1px dashed var(--line-2); border-radius: 8px; padding: 10px 12px; background: #fff; }
.kot__head { display: flex; justify-content: space-between; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 6px; font-weight: 600; color: var(--ink); }
.kot ul { list-style: none; display: grid; gap: 4px; }
.kot li { display: flex; justify-content: space-between; gap: 8px; }
.kot li b { font-weight: 600; color: var(--ink); }
.bill { border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; }
.bill__row { display: flex; justify-content: space-between; gap: 8px; padding: 2px 0; color: var(--slate); }
.bill__row--total { margin-top: 4px; padding-top: 6px; border-top: 1px solid var(--line); font-weight: 600; color: var(--ink); }
.bill__actions { display: flex; gap: 6px; margin-top: 8px; }
.bill__actions span { flex: 1; text-align: center; padding: 6px 4px; border-radius: 6px; font-weight: 600; font-size: .75rem; border: 1px solid var(--line-2); color: var(--ink); white-space: nowrap; }
.bill__actions span:first-child { background: var(--navy); border-color: var(--navy); color: #fff; }
@media (max-width: 520px) { .pos { grid-template-columns: 1fr; } .pos__menu { border-right: 0; border-bottom: 1px solid var(--line); } }
@media (max-width: 360px) { .pos__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Hotel preview */
.rooms { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.room { padding: 8px 4px; border-radius: 6px; text-align: center; font-weight: 600; font-size: .75rem; border: 1px solid var(--line); background: #fff; color: var(--ink); }
.room--res { background: var(--azure-bg); border-color: #bcdcf0; }
.room--occ { background: var(--ink); border-color: var(--ink); color: #fff; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 10px; font-size: .72rem; color: var(--muted); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; border: 1px solid var(--line); }
.legend .l-res { background: var(--azure-bg); border-color: #bcdcf0; } .legend .l-occ { background: var(--ink); border-color: var(--ink); }

/* Generic status track preview (laundry / rental) */
.track { display: grid; gap: 8px; }
.track__row { display: grid; grid-template-columns: 90px 1fr auto; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; }
.track__row b { font-weight: 600; color: var(--ink); }
.track__row span { color: var(--muted); }

/* ---------- Case study ---------- */
.case { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.case > div { padding: 26px 28px 6px 0; }
.case > div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.case h3 { font-size: .875rem; color: var(--azure-ink); font-weight: 600; margin-bottom: 10px; }
.case p { margin: 0 0 12px; color: var(--text); font-size: .975rem; }
.section--ink .case { border-top-color: var(--line-dark); }
.section--ink .case > div + div { border-left-color: var(--line-dark); }
.section--ink .case h3 { color: var(--azure-300); }
.section--ink .case p { color: var(--on-dark); }
.section--ink .case p strong { color: #fff; }
@media (max-width: 980px) { .case { grid-template-columns: repeat(2, minmax(0, 1fr)); } .case > div:nth-child(3) { padding-left: 0; border-left: 0; } .case > div:nth-child(n+3) { border-top: 1px solid var(--line); } .section--ink .case > div:nth-child(n+3) { border-top-color: var(--line-dark); } }
@media (max-width: 560px) { .case { grid-template-columns: 1fr; } .case > div, .case > div + div { padding: 18px 0 6px; border-left: 0; } .case > div + div { border-top: 1px solid var(--line); } .section--ink .case > div + div { border-top-color: var(--line-dark); } }

/* Case band (home): headline with a large product mark */
.case-band { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px 64px; align-items: end; margin-bottom: 48px; }
.case-band__kicker { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 22px; font-size: .9375rem; color: var(--on-dark); }
.case-band__kicker .plate__mark { width: 40px; height: 40px; background: var(--fill-dark-2); border: 1px solid var(--line-dark); }
.case-band h2 { margin: 0; max-width: 20ch; }
.case-band p { margin: 0; color: var(--on-dark); }
.case-band .link { margin-top: 18px; }
@media (max-width: 900px) { .case-band { grid-template-columns: 1fr; align-items: start; margin-bottom: 36px; } }

.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); list-style: none; }
.facts li { padding: 24px 20px 24px 0; }
.facts li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.facts strong { display: block; font-family: var(--serif); font-size: 1.9rem; font-weight: 500; line-height: 1.1; color: var(--ink); letter-spacing: -.015em; }
.facts span { display: block; margin-top: 6px; font-size: .875rem; color: var(--slate); line-height: 1.45; }
.section--ink .facts { border-color: var(--line-dark); } .section--ink .facts li + li { border-left-color: var(--line-dark); }
.section--ink .facts strong { color: #fff; } .section--ink .facts span { color: var(--on-dark); }
@media (max-width: 860px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .facts li:nth-child(3) { padding-left: 0; border-left: 0; } .facts li:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* ---------- Engineering process (numbered rail) ---------- */
.process { position: relative; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0; list-style: none; counter-reset: step; }
.process::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: var(--line-dark-2); }
.process li { position: relative; padding: 36px 18px 0 0; counter-increment: step; }
.process li::before { content: ""; position: absolute; left: 0; top: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--ink); border: 2px solid var(--azure); }
.process__num { display: block; font-family: var(--serif); font-size: 1.75rem; font-weight: 500; color: var(--azure-300); margin-bottom: 10px; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.process h3 { font-family: var(--serif); font-size: 1.4rem; font-weight: 500; color: #fff; margin-bottom: 6px; letter-spacing: -.012em; }
.process__what { display: block; font-size: .875rem; font-weight: 600; color: #fff; margin-bottom: 6px; line-height: 1.4; }
.process p { margin: 0; font-size: .875rem; line-height: 1.55; color: var(--on-dark); }
@media (max-width: 1100px) {
  .process { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 36px; }
  .process::before { display: none; }
}
@media (max-width: 640px) {
  .process { grid-template-columns: 1fr; row-gap: 0; }
  .process li { padding: 0 0 28px 36px; }
  .process li::after { content: ""; position: absolute; left: 7px; top: 18px; bottom: 0; width: 1px; background: var(--line-dark-2); }
  .process li:last-child::after { display: none; }
  .process__num { font-size: 1.4rem; }
}
/* Light variant of the process list (light backgrounds) */
.process--light::before { background: var(--line-2); }
.process--light li::before { background: #fff; border-color: var(--navy); }
.process--light .process__num { color: var(--azure-ink); }
.process--light h3, .process--light .process__what { color: var(--ink); }
.process--light p { color: var(--slate); }
@media (max-width: 640px) { .process--light li::after { background: var(--line-2); } }

/* ---------- Technology matrix (ruled, not carded) ---------- */
.tech { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 48px; border-top: 1px solid var(--line-2); }
.tech > div { padding: 26px 0 28px; border-bottom: 1px solid var(--line); }
.tech h3 { font-size: 1.0625rem; margin-bottom: 6px; }
.tech p { margin: 0 0 14px; color: var(--slate); font-size: .95rem; line-height: 1.55; }
.tech__tools { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.tech__tools span { display: inline-block; padding: 4px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line-2); font-size: .8125rem; font-weight: 500; color: var(--ink); line-height: 1.4; }
@media (max-width: 980px) { .tech { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 36px; } }
@media (max-width: 640px) { .tech { grid-template-columns: 1fr; } .tech > div { padding: 22px 0; } }

/* ---------- Industries ---------- */
.ind-list { list-style: none; border-top: 1px solid var(--line); }
.ind-list li { border-bottom: 1px solid var(--line); }
.ind-list a, .ind-list .ind-row { display: grid; grid-template-columns: 56px minmax(0, 4fr) minmax(0, 6fr) 28px; gap: 24px; align-items: center; padding: 26px 0; color: var(--text); text-decoration: none; transition: padding .25s var(--ease); }
.ind-list svg.ind-ico { width: 44px; height: 44px; padding: 10px; border-radius: var(--r-s); background: var(--mist); color: var(--navy); transition: background .25s, color .25s; }
.ind-list h3 { font-family: var(--serif); font-size: 1.45rem; font-weight: 500; margin: 0; letter-spacing: -.012em; }
.ind-list p { margin: 0; color: var(--slate); font-size: .975rem; }
.ind-list .go { width: 22px; height: 22px; color: var(--muted); transition: transform .25s var(--ease), color .2s; }
.ind-list a:hover h3 { color: var(--navy); }
.ind-list a:hover svg.ind-ico { background: var(--ink-900); color: var(--azure-300); }
.ind-list a:hover .go { transform: translateX(4px); color: var(--navy); }
@media (max-width: 760px) {
  .ind-list a, .ind-list .ind-row { grid-template-columns: 40px 1fr 20px; grid-template-areas: "ico title go" "ico text go"; gap: 4px 14px; padding: 20px 0; }
  .ind-list svg.ind-ico { grid-area: ico; width: 40px; height: 40px; padding: 9px; align-self: start; }
  .ind-list h3 { grid-area: title; font-size: 1.25rem; }
  .ind-list p { grid-area: text; font-size: .925rem; }
  .ind-list .go { grid-area: go; }
}

/* Industry detail blocks (industries.php, work.php) */
.ind-detail { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px 64px; padding: 56px 0; border-top: 1px solid var(--line); }
.ind-detail:first-of-type { border-top: 0; padding-top: 0; }
.ind-detail h2 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); margin-bottom: 12px; }
.ind-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 36px; }
.ind-steps > div { padding: 18px 0; border-top: 1px solid var(--line); }
.ind-steps h3, .ind-steps h4 { font-size: .875rem; color: var(--azure-ink); margin-bottom: 6px; font-weight: 600; }
.ind-steps p { margin: 0; color: var(--text); }
@media (max-width: 900px) { .ind-detail { grid-template-columns: 1fr; padding: 44px 0; } }
@media (max-width: 560px) { .ind-steps { grid-template-columns: 1fr; } }

/* ---------- Why ITJASPER ---------- */
.why { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); list-style: none; }
.why li { padding: 28px 24px 30px 0; border-bottom: 1px solid var(--line); }
.why li:not(:nth-child(4n+1)) { padding-left: 24px; border-left: 1px solid var(--line); }
.why svg { width: 24px; height: 24px; color: var(--navy); margin-bottom: 16px; }
.why h3, .why h4 { font-size: 1.0625rem; margin-bottom: 6px; }
.why p { margin: 0; font-size: .95rem; color: var(--slate); line-height: 1.55; }
@media (max-width: 1000px) { .why { grid-template-columns: repeat(2, minmax(0, 1fr)); } .why li, .why li:not(:nth-child(4n+1)) { padding: 24px 24px 26px 0; border-left: 0; } .why li:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); } }
@media (max-width: 560px) { .why { grid-template-columns: 1fr; } .why li, .why li:nth-child(even) { padding: 22px 0; border-left: 0; } }
/* Two-column variant beside a statement */
.why--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.why--2 li, .why--2 li:not(:nth-child(4n+1)) { padding: 24px 28px 26px 0; border-left: 0; }
.why--2 li:nth-child(even) { padding-left: 28px; padding-right: 0; border-left: 1px solid var(--line); }
@media (max-width: 560px) { .why--2 { grid-template-columns: 1fr; } .why--2 li, .why--2 li:nth-child(even) { padding: 22px 0; border-left: 0; } }

/* ---------- Closing CTA (navy panel that rides over the footer) ---------- */
.section--cta { padding: clamp(56px, 5vw + 24px, 104px) 0 0; background: transparent; }
.section:not(.section--mist):not(.section--ink) + .section--cta { padding-top: 0; }
.section--cta .container { position: relative; z-index: 2; }
.cta { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px 56px; align-items: end; padding: clamp(36px, 3.5vw + 16px, 64px); border-radius: var(--r-l); overflow: hidden;
  background: linear-gradient(135deg, var(--navy-600) 0%, var(--navy) 45%, var(--navy-700) 100%); color: var(--on-dark); margin-bottom: calc(-1 * var(--cta-overlap, 88px)); box-shadow: var(--shadow-3); }
.cta::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 60% 100% at 100% 50%, #000 10%, transparent 75%);
          mask-image: radial-gradient(ellipse 60% 100% at 100% 50%, #000 10%, transparent 75%); }
.cta::after { content: ""; position: absolute; right: -120px; top: -160px; width: 420px; height: 420px; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, rgba(26, 155, 215, .45), transparent 65%); }
.cta > * { position: relative; z-index: 1; }
.cta h2 { color: #fff; margin-bottom: 14px; max-width: 18ch; }
.cta p { margin: 0; max-width: 52ch; color: #e3e9f5; }
.cta__actions { display: grid; gap: 14px; justify-items: start; }
.cta__contact { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: .95rem; }
.cta__contact a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.cta__contact a:hover { text-decoration: underline; }
.cta__contact svg { width: 16px; height: 16px; color: var(--azure-300); }
.cta .btn--outline-light { border-color: rgba(255, 255, 255, .4); }
@media (max-width: 900px) { .cta { grid-template-columns: 1fr; align-items: start; } }
@media (max-width: 640px) { .section--cta { --cta-overlap: 64px; } .cta .btn-row { width: 100%; } .cta .btn-row .btn { flex: 1 1 auto; } }

/* ---------- Inner page hero (dark masthead) ---------- */
.page-hero { padding: clamp(28px, 2.5vw + 12px, 48px) 0 clamp(48px, 4vw + 20px, 88px); }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px 72px; align-items: end; }
.page-hero h1 { margin-bottom: 20px; max-width: 20ch; font-size: clamp(2.2rem, 1.5rem + 2.2vw, 3.6rem); }
.page-hero .lead { margin: 0; max-width: 56ch; }
.page-hero .btn-row { margin-top: 30px; }
.page-hero .btn--primary { background: #fff; color: var(--ink-900); box-shadow: none; }
.page-hero .btn--primary:hover { background: var(--azure-300); color: var(--ink-900); }
.page-hero .btn--secondary { background: transparent; color: #fff; border-color: var(--line-dark-2); }
.page-hero .btn--secondary:hover { border-color: #fff; background: var(--fill-dark); color: #fff; }
.page-hero__aside { padding: 24px 26px; border: 1px solid var(--line-dark); background: var(--fill-dark); border-radius: var(--r); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.page-hero__aside h2 { font-family: var(--sans); font-size: .875rem; font-weight: 600; margin-bottom: 12px; color: var(--on-dark-2); letter-spacing: 0; }
.page-hero__aside ul { list-style: none; display: grid; gap: 10px; font-size: .95rem; color: var(--on-dark); }
.page-hero__aside li { display: flex; gap: 10px; }
.page-hero__aside svg { width: 18px; height: 18px; color: var(--azure-300); flex: none; margin-top: 3px; }
.page-hero__aside a { color: #fff; text-decoration-color: var(--line-dark-2); }
.page-hero__aside a:hover { color: var(--azure-300); }
.page-hero .kicker { color: var(--on-dark); }
.page-hero .kicker svg { color: var(--azure-300); }
.page-hero .plate__mark { background: var(--fill-dark-2); border: 1px solid var(--line-dark); }
.page-hero .plate__name { color: #fff; }
.page-hero .plate__id > div > span { color: var(--on-dark-2); }
@media (max-width: 900px) { .page-hero__grid { grid-template-columns: 1fr; align-items: start; } }

.page-hero--product .page-hero__grid { align-items: center; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); }
@media (max-width: 980px) { .page-hero--product .page-hero__grid { grid-template-columns: 1fr; } }

.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 26px; padding: 0; list-style: none; font-size: .875rem; color: var(--on-dark-2); }
.breadcrumb a { color: var(--on-dark); text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--line-dark-2); }
.breadcrumb [aria-current] { color: #fff; }

/* ---------- Generic content blocks ---------- */
.feature-list { list-style: none; display: grid; gap: 10px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; }
.feature-list svg { width: 18px; height: 18px; color: var(--azure-ink); flex: none; margin-top: 4px; }
.feature-list--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 32px; }
@media (max-width: 640px) { .feature-list--2 { grid-template-columns: 1fr; } }

.panel { padding: 26px 28px; border: 1px solid var(--line); border-radius: var(--r-l); background: #fff; }
.panel--mist { background: var(--mist); border-color: transparent; }
.panel h3 { margin-bottom: 8px; }
.panel p:last-child { margin-bottom: 0; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

/* Module columns (SQ-Wash) */
.modules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.modules > div { padding: 26px 28px 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.section--mist .modules > div { box-shadow: var(--shadow-1); }
.modules h3 { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; margin-bottom: 2px; letter-spacing: -.012em; }
.modules .muted { display: block; font-size: .875rem; margin-bottom: 16px; }
.modules ul { list-style: none; display: grid; gap: 8px; font-size: .95rem; color: var(--slate); }
.modules li { padding-left: 16px; position: relative; }
.modules li::before { content: ""; position: absolute; left: 0; top: .7em; width: 6px; height: 1px; background: var(--azure-ink); }
@media (max-width: 860px) { .modules { grid-template-columns: 1fr; } }

/* Flow (numbered: used only for real sequences) */
.flow { display: grid; grid-template-columns: repeat(var(--steps, 4), minmax(0, 1fr)); list-style: none; border-top: 1px solid var(--line); counter-reset: flow; }
.flow li { position: relative; padding: 24px 20px 6px 0; counter-increment: flow; }
.flow li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.flow li::before { content: counter(flow, decimal-leading-zero); display: block; margin-bottom: 12px; font-family: var(--serif); font-size: 1.5rem; line-height: 1; font-weight: 500; color: var(--azure-ink); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.flow h3, .flow h4 { font-size: 1.0625rem; margin-bottom: 6px; }
.flow p { margin: 0 0 12px; font-size: .95rem; color: var(--slate); }
@media (max-width: 900px) { .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); } .flow li:nth-child(odd) { padding-left: 0; border-left: 0; } .flow li:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 560px) { .flow { grid-template-columns: 1fr; } .flow li, .flow li + li { padding: 18px 0 4px; border-left: 0; } .flow li + li { border-top: 1px solid var(--line); } }
.flow--3 { --steps: 3; }
.flow--4 { --steps: 4; }

/* Definition-style rows (capability detail) */
.rows { border-top: 1px solid var(--line); }
.rows > div { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 8px 40px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.rows h3, .rows h4 { margin: 0; font-size: 1.0625rem; }
.rows p, .rows ul { margin: 0; color: var(--slate); }
.rows ul { list-style: none; display: grid; gap: 6px; }
@media (max-width: 760px) { .rows > div { grid-template-columns: 1fr; } }

/* ---------- Forms ---------- */
.form-card { padding: clamp(24px, 2.5vw + 10px, 44px); border: 1px solid var(--line); border-radius: var(--r-l); background: #fff; box-shadow: var(--shadow-2); }
.form-card > h2 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); margin-bottom: 8px; }
.form-card > p { color: var(--slate); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; align-content: start; }
.field label, .field legend { font-size: .9rem; font-weight: 600; color: var(--ink); padding: 0; }
.field .req { color: var(--danger); margin-left: 2px; }
.field .opt { font-weight: 400; color: var(--muted); }
.field .hint { font-size: .8125rem; color: var(--muted); }
.field .err { display: none; font-size: .8125rem; color: var(--danger); font-weight: 500; }
.field.has-error .err { display: block; }
.field.has-error .input { border-color: var(--danger); }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.input {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: var(--r-s);
  background: #fff; color: var(--text); font-size: 1rem; transition: border-color .2s, box-shadow .2s;
}
textarea.input { min-height: 150px; resize: vertical; line-height: 1.55; }
select.input { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3 6l5 5 5-5' stroke='%23475273' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.input::placeholder { color: #8b93a7; }
.input:hover { border-color: #a9b4c6; }
.input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(36, 60, 129, .14); }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span { display: inline-flex; align-items: center; min-height: 42px; padding: 9px 14px; border: 1px solid var(--line-2); border-radius: var(--r-s); font-size: .925rem; font-weight: 500; color: var(--text); cursor: pointer; transition: border-color .15s, background .15s, color .15s; }
.choice input:hover + span { border-color: #a9b4c6; }
.choice input:checked + span { border-color: var(--navy); background: #eef2fa; color: var(--ink); box-shadow: inset 0 0 0 1px var(--navy); }
.choice input:focus-visible + span { outline: 2px solid var(--azure); outline-offset: 2px; }
.form-foot { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; margin-top: 24px; }
.form-foot .small { color: var(--muted); max-width: 46ch; }
.recaptcha-wrap { margin-top: 18px; min-height: 78px; }
@media (max-width: 360px) { .g-recaptcha { transform: scale(.88); transform-origin: 0 0; } }
@media (max-width: 600px) { .form-foot .btn { width: 100%; } }
.counter { justify-self: end; font-size: .75rem; color: var(--muted); }

.alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; margin: 0 0 20px; border-radius: var(--r-s); border: 1px solid; font-size: .95rem; }
.alert svg { width: 20px; height: 20px; flex: none; margin-top: 2px; }
.alert p { margin: 0; }
.alert strong { display: block; margin-bottom: 2px; }
.alert--success { background: var(--ok-bg); border-color: #b5dcc4; color: #0f5133; }
.alert--error { background: var(--danger-bg); border-color: #f4b8b2; color: #7d1810; }
.alert--warn { background: var(--warn-bg); border-color: #efd3a0; color: #5e3900; }

/* "What happens next" list */
.next { list-style: none; counter-reset: nx; display: grid; gap: 0; border-top: 1px solid var(--line); }
.next li { counter-increment: nx; display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.next li::before { content: counter(nx); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink-900); color: #fff; font-size: .8125rem; font-weight: 600; }
.next h3 { font-size: 1rem; margin-bottom: 2px; }
.next p { margin: 0; font-size: .95rem; color: var(--slate); }

/* Contact details list */
.contact-list { list-style: none; display: grid; border-top: 1px solid var(--line); }
.contact-list li { display: grid; grid-template-columns: 36px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-list svg { width: 22px; height: 22px; color: var(--navy); margin-top: 2px; }
.contact-list strong { display: block; font-size: .9375rem; color: var(--ink); }
.contact-list span, .contact-list address { display: block; font-size: .95rem; color: var(--slate); }
.map { border-radius: var(--r-l); overflow: hidden; border: 1px solid var(--line); background: var(--mist); }
.map iframe { width: 100%; height: 380px; border: 0; }

/* ---------- Careers ---------- */
.jobs { list-style: none; border-top: 1px solid var(--line); }
.job { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr) auto; gap: 12px 32px; align-items: start; padding: 26px 0; border-bottom: 1px solid var(--line); }
.job h3 { font-family: var(--serif); font-size: 1.45rem; font-weight: 500; margin: 0 0 4px; letter-spacing: -.012em; }
.job p { margin: 0; color: var(--slate); font-size: .95rem; }
.job p b, .job p strong { color: var(--ink); }
@media (max-width: 800px) { .job { grid-template-columns: 1fr; } }

/* ---------- Insights ---------- */
.posts { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; }
.post-card { display: grid; gap: 10px; align-content: start; padding-top: 18px; border-top: 2px solid var(--ink); }
.post-card .meta { font-size: .8125rem; color: var(--muted); }
.post-card h2, .post-card h3 { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin: 0; letter-spacing: -.012em; }
.post-card h2 a, .post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card h2 a:hover, .post-card h3 a:hover { color: var(--navy); text-decoration: underline; }
.post-card p { margin: 0; color: var(--slate); font-size: .95rem; }
@media (max-width: 900px) { .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .posts { grid-template-columns: 1fr; } }

.prose { max-width: 70ch; font-size: 1.0625rem; line-height: 1.75; }
.prose h2 { font-size: clamp(1.5rem, 1.25rem + .8vw, 1.95rem); margin: 1.8em 0 .5em; }
.prose h3 { margin: 1.6em 0 .4em; }
.prose p, .prose ul, .prose ol, .prose blockquote, .prose pre { margin: 0 0 1.1em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .3em 0; }
.prose blockquote { padding: 4px 0 4px 20px; border-left: 2px solid var(--navy); color: var(--slate); font-style: italic; }
.prose code { padding: 1px 6px; border-radius: 4px; background: var(--mist-2); font-size: .9em; }
.prose a { color: var(--navy); }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--ink-900); color: var(--on-dark-2); font-size: .9375rem; }
.site-footer::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(700px 400px at 0% 100%, rgba(36, 60, 129, .45), transparent 65%); }
.site-footer .container { position: relative; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-top { display: grid; grid-template-columns: minmax(0, 4fr) repeat(4, minmax(0, 2fr)); gap: 40px 32px; padding: clamp(56px, 5vw + 24px, 96px) 0 56px; }
body:has(.section--cta) .footer-top { padding-top: calc(var(--cta-overlap, 88px) + clamp(56px, 5vw + 24px, 96px)); }
.footer-brand img { height: 38px; width: auto; }
.footer-brand p { margin: 20px 0 22px; color: var(--on-dark); max-width: 34ch; line-height: 1.6; }
.footer-brand address { color: var(--on-dark-2); line-height: 1.6; }
.footer-brand .contacts { display: grid; gap: 4px; margin-top: 14px; }
.footer-brand .contacts a { color: #fff; }
.footer-col h2 { font-family: var(--sans); font-size: .875rem; font-weight: 600; letter-spacing: 0; color: #fff; margin: 0 0 16px; }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; padding: 24px 0 32px; border-top: 1px solid var(--line-dark); font-size: .875rem; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
@media (max-width: 1000px) { .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr 1fr; gap: 32px 20px; } }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom)); z-index: 90;
  display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .18); background: var(--navy); color: #fff; cursor: pointer;
  box-shadow: 0 14px 30px -14px rgba(10, 20, 48, .8);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s, background-color .2s, border-color .2s;
}
.to-top svg { width: 20px; height: 20px; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--navy-600); border-color: rgba(255, 255, 255, .3); }
.to-top:active { transform: translateY(1px); }
.to-top:focus-visible { outline: 2px solid var(--azure); outline-offset: 3px; }
body.nav-open .to-top { opacity: 0; visibility: hidden; }
@media (max-width: 640px) { .to-top { width: 44px; height: 44px; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); } }

/* ---------- Reveal on scroll (quiet: opacity and a few pixels) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(10px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .cta, .nav-toggle, .header-cta, .to-top { display: none !important; }
  body { font-size: 11pt; padding-top: 0; }
  .hero, .page-hero { background: #fff; color: #000; }
  .hero h1, .page-hero h1 { color: #000; }
  a { color: #000; }
}

/* Small utilities */
.section-foot { margin: 32px 0 0; }

/* ---------- In-page navigation (long pages) ---------- */
.subnav { position: relative; z-index: 40; background: #fff; border-bottom: 1px solid var(--line); }
.subnav__inner { display: flex; align-items: center; gap: 12px 32px; }
.subnav__label { flex: none; font-size: .875rem; color: var(--muted); }
.subnav ul { display: flex; gap: 0 28px; list-style: none; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: block; padding: 16px 0 14px; border-bottom: 2px solid transparent; font-size: .9375rem; font-weight: 500; color: var(--slate); text-decoration: none; white-space: nowrap; transition: color .2s, border-color .2s; }
.subnav a:hover { color: var(--ink); }
.subnav a.is-active { color: var(--ink); border-bottom-color: var(--azure); }
@media (min-width: 900px) { .subnav { position: sticky; top: var(--header-h); } html:has(.subnav) { scroll-padding-top: calc(var(--header-h) + 72px); } }
@media (max-width: 899px) { .subnav ul { -webkit-mask-image: linear-gradient(to right, #000 82%, transparent); mask-image: linear-gradient(to right, #000 82%, transparent); padding-right: 24px; } }
@media (max-width: 640px) { .subnav__label { display: none; } }

/* ---------- Real screens, side by side ---------- */
.screens { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.screen__frame { border: 1px solid var(--line-2); border-radius: var(--r-l); overflow: hidden; background: var(--mist); box-shadow: var(--shadow-2); }
.screen__frame img { width: 100%; }
.screen figcaption { margin-top: 14px; font-size: .925rem; color: var(--slate); line-height: 1.55; }
.screen figcaption strong { display: block; color: var(--ink); font-weight: 600; }
@media (max-width: 640px) { .screens { grid-template-columns: 1fr; } }

/* Caption under an illustrative UI preview */
.ui-note { margin: 12px 0 0; font-size: .8125rem; color: var(--muted); line-height: 1.5; }

/* ---------- Capability groups ---------- */
.cap-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.cap-groups > div { padding: 24px 26px 26px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.cap-groups h3 { display: flex; align-items: center; gap: 10px; font-size: 1.0625rem; margin-bottom: 12px; }
.cap-groups h3 svg { width: 20px; height: 20px; color: var(--navy); flex: none; }
.cap-groups ul { list-style: none; display: grid; gap: 7px; font-size: .95rem; color: var(--slate); line-height: 1.5; }
.cap-groups li { position: relative; padding-left: 16px; }
.cap-groups li::before { content: ""; position: absolute; left: 0; top: .74em; width: 6px; height: 1px; background: var(--azure-ink); }
@media (max-width: 980px) { .cap-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .cap-groups { grid-template-columns: 1fr; gap: 10px; } }

/* ---------- Comparison table (stacks on small screens) ---------- */
.compare-wrap { border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; background: #fff; box-shadow: var(--shadow-1); }
.compare { width: 100%; border-collapse: collapse; font-size: .95rem; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.compare thead th { background: var(--ink-900); color: var(--on-dark); font-size: .8125rem; font-weight: 600; padding-top: 14px; padding-bottom: 14px; border-bottom: 0; }
.compare tbody th { width: 22%; font-weight: 400; }
.compare tbody th a { font-family: var(--serif); font-size: 1.3rem; font-weight: 500; color: var(--ink); text-decoration: none; letter-spacing: -.012em; }
.compare tbody th a:hover { color: var(--navy); text-decoration: underline; }
.compare tbody th span { display: block; margin-top: 2px; font-size: .8125rem; color: var(--muted); }
.compare td { color: var(--slate); }
.compare td .link { white-space: nowrap; }
.compare tbody tr:last-child > * { border-bottom: 0; }
@media (max-width: 820px) {
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100%; }
  .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .compare tr { padding: 20px 22px; border-bottom: 1px solid var(--line); }
  .compare tbody tr:last-child { border-bottom: 0; }
  .compare th, .compare td { padding: 0; border: 0; }
  .compare tbody th { width: auto; margin-bottom: 10px; }
  .compare td { padding: 6px 0; }
  .compare td::before { content: attr(data-label); display: block; font-size: .8125rem; font-weight: 600; color: var(--ink); }
}

/* ---------- Contact layout ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px 64px; align-items: start; }
.contact-aside { display: grid; gap: 32px; }
@media (min-width: 981px) { .contact-aside { position: sticky; top: calc(var(--header-h) + 24px); } }
@media (max-width: 980px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-aside h2 { font-size: clamp(1.4rem, 1.2rem + .6vw, 1.7rem); margin-bottom: 14px; }
.form-section { margin: 0; padding: 0; border: 0; min-width: 0; }
.form-section + .form-section { margin-top: 28px; padding-top: 26px; border-top: 1px solid var(--line); }
.form-section > legend { float: left; width: 100%; padding: 0; margin-bottom: 14px; font-size: 1rem; font-weight: 600; color: var(--ink); }
.form-section > legend + * { clear: both; }

/* ---------- Empty state ---------- */
.empty { padding: clamp(28px, 3vw + 12px, 48px); border: 1px dashed var(--line-2); border-radius: var(--r-l); background: var(--mist); }
.empty h2, .empty h3 { margin-bottom: 8px; }
.empty p { color: var(--slate); max-width: 60ch; }
.empty p:last-child { margin-bottom: 0; }

/* ---------- Article / legal ---------- */
.article-head { position: relative; isolation: isolate; overflow: hidden; padding: clamp(32px, 3vw + 16px, 64px) 0 clamp(32px, 2.5vw + 16px, 52px); background: var(--ink-900); color: var(--on-dark); }
.article-head::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(800px 420px at 85% 20%, rgba(26, 155, 215, .2), transparent 60%); }
.article-head h1 { max-width: 24ch; margin-bottom: 16px; color: #fff; font-size: clamp(2rem, 1.4rem + 2vw, 3.2rem); }
.article-head .lead { color: var(--on-dark); }
.article-meta { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: .9rem; color: var(--on-dark-2); }
.article-layout { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 40px 64px; align-items: start; }
.article-layout aside { position: sticky; top: calc(var(--header-h) + 24px); }
@media (max-width: 960px) { .article-layout { grid-template-columns: 1fr; } .article-layout aside { position: static; } }
.toc { list-style: none; display: grid; gap: 2px; border-left: 1px solid var(--line); font-size: .925rem; }
.toc a { display: block; padding: 6px 0 6px 16px; margin-left: -1px; border-left: 2px solid transparent; color: var(--slate); text-decoration: none; }
.toc a:hover { color: var(--ink); border-left-color: var(--navy); }

/* ---------- Diagram: generic system architecture (reuses the panel parts) ---------- */
.blueprint--plain .blueprint__head { padding-bottom: 14px; margin-bottom: 16px; }
.bp-apps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 560px) { .bp-apps--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bp-apps--4 .bp-app:nth-child(n+3)::after { display: none; } }

/* ---------- Small text helpers ---------- */
.kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; font-size: .9375rem; font-weight: 500; color: var(--slate); }
.kicker svg { width: 20px; height: 20px; color: var(--navy); }
.lede-2 { color: var(--slate); }
.subhead { font-family: var(--serif); font-size: clamp(1.45rem, 1.2rem + .9vw, 2rem); font-weight: 500; letter-spacing: -.015em; line-height: 1.15; color: var(--ink); margin: 0 0 16px; }
.mt-xl { margin-top: clamp(56px, 4.5vw + 16px, 96px); }
.mt-l { margin-top: 32px; }
.mt-0 { margin-top: 0 !important; }

/* UI preview: small list and date strip */
.ui-list { margin-top: 14px; border-top: 1px solid var(--line); }
.ui-list__head, .ui-list__row { display: grid; grid-template-columns: 52px 1fr 1fr auto; gap: 8px; align-items: center; padding: 8px 2px; }
.ui-list__head { font-size: .7rem; font-weight: 600; color: var(--muted); }
.ui-list__row { border-top: 1px solid var(--line); color: var(--slate); }
.ui-list__row b { font-weight: 600; color: var(--ink); }
.ui-dates { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-bottom: 12px; }
.ui-dates > div { padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--mist); }
.ui-dates span { display: block; font-size: .7rem; color: var(--muted); }
.ui-dates b { display: block; font-weight: 600; color: var(--ink); }
@media (max-width: 420px) { .ui-dates { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ui-list__head, .ui-list__row { grid-template-columns: 40px 1fr auto; } .ui-list__head span:nth-child(3), .ui-list__row span:nth-child(3) { display: none; } }
.section--tight + .section { padding-top: clamp(40px, 3vw + 20px, 72px); }

.ind-detail .subhead { margin-top: 4px; }
.group-mark { display: grid; place-items: center; min-height: 240px; padding: 32px; border-radius: var(--r-l); background: var(--ink-900); position: relative; overflow: hidden; }
.group-mark::before { content: ""; position: absolute; inset: 0; background: radial-gradient(360px 220px at 100% 0%, rgba(26, 155, 215, .3), transparent 65%); }
.group-mark img { position: relative; width: 190px; height: auto; }
@media (max-width: 400px) { .track__row { grid-template-columns: minmax(0, 1fr) auto; } .track__row > span:not(.ui-pill) { display: none; } }

/* ==========================================================================
   Careers and job applications (October 2026)
   careers.php: role cards. short_registration.php: application form,
   confirmation and "position not available" states.
   ========================================================================== */

/* Hero extras */
.btn__count { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 7px; margin-left: 2px; border-radius: 999px; background: var(--ink-900); color: #fff; font-size: .78rem; font-weight: 600; line-height: 1; }
.page-hero .btn--primary .btn__count { background: var(--ink-900); color: #fff; }
.btn svg.flip { transform: scaleX(-1); }
.apply-steps { list-style: none; display: grid; gap: 14px; font-size: .95rem; color: var(--on-dark); }
.apply-steps li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; }
.apply-steps__n { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line-dark-2); color: var(--azure-300); font-size: .8rem; font-weight: 600; }
.apply-steps strong { color: #fff; }
.job-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: -6px 0 18px; font-size: .95rem; color: var(--on-dark); }
.job-meta span { display: inline-flex; align-items: center; gap: 8px; }
.job-meta svg { width: 18px; height: 18px; color: var(--azure-300); }
.page-hero--apply h1 { max-width: 22ch; }
.page-hero--apply .lead b, .page-hero--apply .lead strong { color: #fff; }

/* Role cards */
.roles { list-style: none; display: grid; gap: 14px; counter-reset: role; }
.role {
  position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr) auto; gap: 14px 40px; align-items: center;
  padding: 28px 32px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-l);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.role::before { content: ""; position: absolute; left: -1px; top: 22px; bottom: 22px; width: 3px; border-radius: 0 3px 3px 0; background: var(--azure); transform: scaleY(0); transform-origin: center; transition: transform .3s var(--ease-out); }
.role:hover { border-color: #b9c6db; box-shadow: var(--shadow-2); transform: translateY(-2px); }
.role:hover::before, .role:focus-within::before { transform: scaleY(1); }
.role__head { display: flex; gap: 18px; align-items: flex-start; min-width: 0; }
.role__no { flex: none; padding-top: 6px; font-family: var(--serif); font-size: .95rem; color: var(--azure-ink); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.role__title { margin: 0 0 6px; font-family: var(--serif); font-size: clamp(1.3rem, 1.15rem + .5vw, 1.6rem); font-weight: 500; line-height: 1.2; letter-spacing: -.012em; }
.role__link { color: var(--ink); text-decoration: none; }
.role__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }   /* whole card opens the role */
.role__link:focus-visible { outline: none; }
.role:has(.role__link:focus-visible) { outline: 2px solid var(--azure); outline-offset: 3px; }
.role:hover .role__link { color: var(--navy); }
.role__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0; font-size: .875rem; color: var(--muted); }
.role__meta svg { width: 16px; height: 16px; color: var(--navy); }
.role__desc { margin: 0; color: var(--slate); font-size: .975rem; line-height: 1.6; }
.role__desc b, .role__desc strong { color: var(--ink); }
.role__cta { position: relative; z-index: 1; }
.role__cta svg { transition: transform .25s var(--ease); }
.role:hover .role__cta svg { transform: translateX(3px); }
.roles--compact .role { grid-template-columns: minmax(0, 1fr) auto; padding: 20px 24px; }
@media (max-width: 980px) {
  .role { grid-template-columns: minmax(0, 1fr) auto; }
  .role__desc { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 640px) {
  .role, .roles--compact .role { grid-template-columns: 1fr; gap: 12px; padding: 22px 20px; }
  .role__desc { grid-row: auto; }
  .role__cta { width: 100%; }
  .role__head { gap: 12px; }
  .role:hover { transform: none; }
}

/* Application form */
.section--apply { padding-top: clamp(40px, 3vw + 24px, 80px); }
.form-section > legend { display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-size: 1.35rem; font-weight: 500; letter-spacing: -.01em; margin-bottom: 18px; }
.step-no { display: inline-grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--ink-900); color: #fff; font-family: var(--sans); font-size: .8rem; font-weight: 600; letter-spacing: 0; }
.form-card .form-section + .form-section { margin-top: 32px; padding-top: 30px; }
.cond.full { display: block; grid-column: 1 / -1; }
.cond.full > .form-grid { padding: 20px; border-radius: var(--r); background: var(--mist); border: 1px solid var(--line); }
.cond[hidden], .cond.field[hidden] { display: none !important; }
.input-affix { display: flex; align-items: stretch; }
.input-affix > span { display: grid; place-items: center; padding: 0 12px; border: 1px solid var(--line-2); border-right: 0; border-radius: var(--r-s) 0 0 var(--r-s); background: var(--mist); color: var(--slate); font-size: .95rem; font-weight: 500; }
.input-affix .input { border-radius: 0 var(--r-s) var(--r-s) 0; min-width: 0; }
.field.has-error .input-affix > span { border-color: var(--danger); }
.choices--check .choice span { padding-left: 12px; gap: 10px; }
.choices--check .choice span::before { content: ""; flex: none; width: 16px; height: 16px; border: 1.5px solid var(--line-2); border-radius: 4px; background: #fff center / 12px no-repeat; transition: background-color .15s, border-color .15s; }
.choices--check .choice input:checked + span::before { border-color: var(--navy); background-color: var(--navy); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3.5 8.5l3 3 6-7' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.field.has-error .choice span { border-color: #e7a19a; }
.readiness legend { font-weight: 500; line-height: 1.45; }
.readiness + .readiness { padding-top: 16px; border-top: 1px dashed var(--line); }
.error-summary { list-style: none; display: grid; gap: 4px; margin-top: 8px; font-size: .9rem; }
.error-summary a { color: inherit; font-weight: 600; }
.alert > div { min-width: 0; }
.form-verify { margin-top: 32px; padding-top: 26px; border-top: 1px solid var(--line); }
.form-verify__label { margin: 0; font-size: .9rem; font-weight: 600; color: var(--ink); }
.form-verify .recaptcha-wrap { margin-top: 10px; }
.form-foot .small { display: inline-flex; gap: 8px; align-items: flex-start; }
.form-foot .small svg { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--ok); }
.apply-form .btn--primary svg { transition: transform .25s var(--ease); }
.apply-form .btn--primary:hover svg { transform: translateX(3px); }

/* Aside: what you are applying for */
.apply-summary { padding: 24px 26px; border-radius: var(--r-l); background: var(--ink-900); color: var(--on-dark); position: relative; overflow: hidden; }
.apply-summary::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(320px 200px at 100% 0%, rgba(26, 155, 215, .28), transparent 65%); }
.apply-summary > * { position: relative; }
.apply-summary__label { margin: 0 0 4px; font-size: .8125rem; color: var(--on-dark-2); }
.apply-summary__job { margin: 0 0 8px; font-family: var(--serif); font-size: 1.5rem; line-height: 1.2; color: #fff; letter-spacing: -.01em; }
.apply-summary__meta { display: flex; align-items: center; gap: 8px; margin: 0 0 16px; font-size: .9rem; }
.apply-summary__meta svg { width: 16px; height: 16px; color: var(--azure-300); }
.apply-summary .link { color: #fff; font-size: .95rem; }

/* Confirmation / unavailable */
.page-hero--status { padding-bottom: clamp(56px, 5vw + 24px, 104px); }
.status-card { max-width: 760px; outline: none; }
.status-card__icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 22px; border-radius: 50%; background: var(--fill-dark-2); border: 1px solid var(--line-dark); color: var(--azure-300); }
.status-card__icon svg { width: 28px; height: 28px; }
.status-card__icon--ok { background: rgba(61, 220, 132, .14); border-color: rgba(61, 220, 132, .35); color: #7fe6ab; }
.status-card .lead strong { color: #fff; }
.status-card__note { display: flex; gap: 10px; align-items: flex-start; margin: 22px 0 0; font-size: .95rem; color: var(--on-dark); }
.status-card__note svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--azure-300); }
.status-card .btn-row { margin-top: 30px; }

@media (max-width: 600px) {
  .form-section > legend { font-size: 1.2rem; }
  .cond.full > .form-grid { padding: 16px; }
  .page-hero .btn-row .btn { flex: 1 1 100%; }
  .apply-summary { padding: 20px; }
}

/* CV upload (application form) */
.cv-box { display: grid; gap: 10px; }
.cv-pick { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 18px 20px; border: 1.5px dashed var(--line-2); border-radius: var(--r); background: var(--mist); }
.cv-pick[hidden], .cv-file[hidden] { display: none; }
.cv-choose { display: none; cursor: pointer; }
.js .cv-choose { display: inline-flex; }
.js .cv-input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.cv-input:focus-visible + .cv-choose { outline: 2px solid var(--azure); outline-offset: 3px; }
.cv-choose svg { width: 18px; height: 18px; }
.cv-rule { font-size: .875rem; color: var(--muted); }
.cv-file { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px 16px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.cv-file__badge { display: grid; place-items: center; width: 42px; height: 48px; border-radius: 6px; background: #fbe9e7; color: #b42318; font-size: .72rem; font-weight: 700; letter-spacing: .04em; }
.cv-file__info { display: grid; gap: 2px; min-width: 0; }
.cv-file__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .95rem; color: var(--ink); }
.cv-file__meta { font-size: .85rem; color: var(--muted); }
.cv-file__size:not(:empty)::after { content: " ·"; }
.cv-file__status { color: var(--ok); }
.cv-file.is-bad { border-color: #f4b8b2; }
.cv-file.is-bad .cv-file__status { color: var(--danger); }
.cv-file__actions { display: flex; gap: 6px; }
.cv-btn { min-height: 40px; padding: 6px 12px; border: 1px solid var(--line-2); border-radius: var(--r-s); background: #fff; color: var(--ink); font-size: .875rem; font-weight: 600; cursor: pointer; }
.cv-btn:hover { border-color: var(--ink); }
.cv-remove { color: var(--danger); }
.cv-again { display: inline-flex; gap: 8px; align-items: center; color: var(--warn); }
.cv-again svg { width: 16px; height: 16px; flex: none; }
.cv-noscript { font-size: .9rem; }
.field.has-error .cv-pick { border-color: var(--danger); }
@media (max-width: 520px) {
  .cv-pick { padding: 16px; }
  .cv-pick .cv-choose { width: 100%; min-height: 48px; }
  .cv-file { grid-template-columns: auto minmax(0, 1fr); }
  .cv-file__actions { grid-column: 1 / -1; }
  .cv-file__actions .cv-btn { flex: 1; min-height: 44px; }
}
