/* ==========================================================================
   IT Operation Ltd. — static site stylesheet
   Light, technical look: deep ink + pine green, "signal" mint for status
   details. Segoe UI first (system fonts only, nothing is downloaded).
   ========================================================================== */

:root {
  /* Ink (dark surfaces) */
  --ink-950: #081316;
  --ink-900: #0c1a1d;
  --ink-800: #132629;
  --ink-700: #1d363a;
  --on-ink: #eaf1ef;
  --on-ink-muted: #a3b7b3;        /* 8.4:1 on ink-900 */
  --line-ink: rgba(234, 241, 239, 0.1);

  /* Light surfaces */
  --bg: #fafaf8;
  --surface: #ffffff;
  --tint: #f0f4f2;
  --line: #dfe6e3;
  --line-strong: #c6d2ce;

  /* Text */
  --text: #17262a;
  --muted: #52646a;               /* 5.8:1 on --bg */

  /* Brand */
  --primary: #0a6b59;             /* 6.2:1 on white */
  --primary-strong: #07503f;
  --primary-tint: #e1f0eb;
  --signal: #43d9a2;              /* decorative / on ink only */
  --signal-soft: rgba(67, 217, 162, 0.16);
  --amber: #e7b04b;

  --font: "Segoe UI", "Segoe UI Variable Text", system-ui, -apple-system, BlinkMacSystemFont,
          "Helvetica Neue", Roboto, "Noto Sans", Arial, sans-serif;
  --font-display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system,
          BlinkMacSystemFont, "Helvetica Neue", Roboto, "Noto Sans", Arial, sans-serif;
  --mono: "Cascadia Mono", "Segoe UI Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 1px 2px rgba(12, 26, 29, 0.05), 0 8px 24px -12px rgba(12, 26, 29, 0.14);
  --shadow-lg: 0 2px 4px rgba(12, 26, 29, 0.06), 0 24px 48px -20px rgba(12, 26, 29, 0.25);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --header-h: 72px;
  --gutter: clamp(20px, 4vw, 40px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--primary); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--primary-strong); }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink-900);
  margin: 0 0 0.6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.35rem, 1.6rem + 3.4vw, 4.25rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.85rem, 1.4rem + 1.9vw, 2.85rem); }
h3 { font-size: 1.3rem; font-weight: 400; letter-spacing: -0.01em; }
strong { font-weight: 600; }
main:focus { outline: none; }

:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 4px; }
.on-ink :focus-visible, .site-footer :focus-visible, .cta-band :focus-visible { outline-color: var(--signal); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink-900); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.icon { width: 20px; height: 20px; flex: none; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  font: 500 1rem/1.2 var(--font); letter-spacing: 0.01em;
  border-radius: 999px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover .icon:last-child { transform: translateX(3px); }
.btn-sm { min-height: 44px; padding: 10px 18px; font-size: .95rem; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-strong); color: #fff; }
.btn-signal { background: var(--signal); color: var(--ink-950); }
.btn-signal:hover { background: #6be6b9; color: var(--ink-950); }
.btn-ghost-light { color: var(--on-ink); border-color: rgba(234,241,239,.35); }
.btn-ghost-light:hover { color: #fff; border-color: var(--on-ink); background: rgba(255,255,255,.06); }
.btn-outline { color: var(--ink-900); border-color: var(--line-strong); background: var(--surface); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary-strong); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 500; text-decoration: none;
  min-height: 44px;
}
.link-arrow .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 250, 248, 0.86);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(250, 250, 248, 0.95); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }

.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink-900); min-height: 44px; }
.logo:hover { color: var(--ink-900); }
.logo-mark { width: 34px; height: 34px; }
.logo-mark .lm-a { fill: var(--primary); opacity: .45; }
.logo-mark .lm-b { fill: var(--primary); opacity: .72; }
.logo-mark .lm-c { fill: var(--primary); }
.logo-mark .lm-dot { fill: var(--amber); }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name { font-family: var(--font-display); font-size: 1.32rem; font-weight: 300; letter-spacing: 0.02em; }
.logo-sub { font-size: .72rem; color: var(--muted); letter-spacing: .04em; margin-top: 3px; }
.logo-light { color: #fff; }
.logo-light:hover { color: #fff; }
.logo-light .logo-sub { color: var(--on-ink-muted); }
.logo-light .lm-a, .logo-light .lm-b, .logo-light .lm-c { fill: var(--signal); }

.nav-list { list-style: none; display: flex; align-items: center; gap: 6px; }
.nav-list > li > a, .nav-split > a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px;
  color: var(--text); text-decoration: none; font-size: .98rem; border-radius: 999px;
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.nav-list > li > a:hover, .nav-split > a:hover { background: var(--tint); color: var(--ink-900); }
.nav-list a[aria-current="page"]:not(.btn), .has-mega.is-active .nav-split > a { color: var(--primary); }
.nav-list > li.nav-cta > a { color: #fff; margin-left: 6px; }
.nav-list > li.nav-cta > a:hover { background: var(--primary-strong); color: #fff; }

.nav-split { display: flex; align-items: center; }
.nav-split > a { padding-right: 4px; }
.mega-toggle {
  display: inline-grid; place-items: center; width: 36px; height: 44px;
  background: none; border: 0; border-radius: 8px; color: var(--muted); cursor: pointer;
}
.mega-toggle .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.has-mega.is-open .mega-toggle .icon { transform: rotate(180deg); }

.lang-switch {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 12px;
  border-radius: 999px; font-family: var(--mono); font-size: .85rem; letter-spacing: .06em;
  color: var(--muted); text-decoration: none;
}
.lang-switch .icon { width: 18px; height: 18px; }
.lang-switch:hover { color: var(--ink-900); background: var(--tint); }

.nav-toggle {
  display: none; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  font: inherit; font-size: .95rem; color: var(--ink-900); cursor: pointer;
}
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* Mega menu (desktop) */
.has-mega { position: relative; }
.mega {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 6px);
  width: min(680px, 90vw);
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px;
  padding: 24px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility 0s linear .18s;
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.has-mega:hover .mega, .has-mega:focus-within .mega, .has-mega.is-open .mega {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0);
  transition-delay: 0s;
}
.has-mega.is-closed .mega { opacity: 0; visibility: hidden; pointer-events: none; }
.mega-title { font-family: var(--mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px 10px; }
.mega ul { list-style: none; }
.mega li a {
  display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 8px 10px;
  color: var(--text); text-decoration: none; border-radius: 8px; font-size: .96rem; line-height: 1.3;
}
.mega li a .icon { color: var(--primary); }
.mega li a:hover, .mega li a[aria-current="page"] { background: var(--tint); color: var(--ink-900); }
.mega-all {
  grid-column: 1 / -1; display: inline-flex; align-items: center; gap: 8px; justify-self: start;
  margin-top: 8px; padding: 10px; min-height: 44px; font-weight: 500; text-decoration: none;
}
.mega-all .icon { width: 18px; height: 18px; }

/* Mobile navigation */
@media (max-width: 959px) {
  /* backdrop-filter would make the header the containing block of the fixed drawer */
  .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(250, 250, 248, 0.98); }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
    background: var(--bg); overflow-y: auto; overscroll-behavior: contain;
    padding: 12px var(--gutter) 40px;
    display: none;
  }
  .site-nav.is-open { display: block; }
  .no-js .site-nav { position: static; display: block; padding: 0 0 16px; }
  .no-js .header-inner { flex-wrap: wrap; height: auto; padding-top: 12px; }
  .no-js .nav-toggle { display: none; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--line); }
  .nav-list > li > a:not(.btn), .nav-split > a { font-size: 1.15rem; padding: 14px 0; border-radius: 0; width: 100%; }
  .nav-list > li > a:hover, .nav-split > a:hover { background: none; }
  .nav-split > a { flex: 1; }
  .mega-toggle { display: none; }
  .mega, .has-mega.is-closed .mega {
    position: static; transform: none; width: auto; opacity: 1; visibility: visible; pointer-events: auto;
    grid-template-columns: 1fr; padding: 0 0 12px; border: 0; box-shadow: none; background: none;
  }
  .mega::before { display: none; }
  .mega-title { margin: 10px 0 4px; }
  .mega li a { padding-left: 0; }
  .mega-all { display: none; }
  .nav-list > li.nav-cta { border: 0; padding-top: 20px; }
  .nav-list > li.nav-cta > a { width: 100%; justify-content: center; margin: 0; font-size: 1.05rem; padding: 14px; }
  .nav-list > li.nav-lang { border: 0; padding-top: 8px; }
  .nav-lang .lang-switch { width: 100%; justify-content: center; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 420px) {
  .logo-sub { display: none; }
  .nav-toggle-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-tight { padding: clamp(48px, 6vw, 80px) 0; }
.section-tint { background: var(--tint); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head.split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; }
.section-head.split h2 { margin: 0; }
.section-head p { color: var(--muted); font-size: 1.1rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: .78rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  color: var(--primary); margin: 0 0 18px;
}
.eyebrow::before { content: ""; width: 24px; height: 1px; background: currentColor; }
.on-ink .eyebrow { color: var(--signal); }

.lead { font-size: clamp(1.15rem, 1.05rem + .45vw, 1.35rem); font-weight: 300; line-height: 1.6; color: var(--muted); }
.on-ink .lead { color: var(--on-ink-muted); }

/* Dark band with grid motif */
.on-ink { background: var(--ink-900); color: var(--on-ink); position: relative; overflow: hidden; isolation: isolate; }
.on-ink h1, .on-ink h2, .on-ink h3 { color: #fff; }
.on-ink a:not(.btn) { color: var(--signal); }
.grid-bg::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(var(--line-ink) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-ink) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 20%, transparent 75%);
}
.grid-bg::after {
  content: ""; position: absolute; z-index: -1; width: 640px; height: 640px; right: -160px; top: -240px;
  background: radial-gradient(circle, rgba(67,217,162,.16), transparent 65%);
}

/* ---------- Home hero ---------- */
.hero { padding: clamp(64px, 9vw, 128px) 0 clamp(64px, 8vw, 112px); }
.hero-grid { max-width: 820px; }
.hero h1 { margin-bottom: 24px; }
.hero h1 em { font-style: normal; color: var(--signal); }
.hero .lead { max-width: 680px; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Stats ---------- */
.stats { border-top: 1px solid var(--line-ink); margin-top: clamp(56px, 7vw, 96px); }
.stats ul { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); }
.stats li { padding: 28px 24px 0 0; }
.stats li + li { padding-left: 24px; border-left: 1px solid var(--line-ink); }
.stat-num { display: block; font-family: var(--font-display); font-weight: 200; font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem); line-height: 1; color: #fff; letter-spacing: -0.03em; }
.stat-label { display: block; margin-top: 10px; font-size: .92rem; color: var(--on-ink-muted); line-height: 1.45; }

/* ---------- Service cards ---------- */
.svc-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.svc-grid-delivery { grid-template-columns: repeat(3, 1fr); }
.svc-grid-advisory { grid-template-columns: repeat(4, 1fr); }
.svc-card {
  position: relative; display: flex; flex-direction: column;
  padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.svc-card:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-2px); }
.svc-card:focus-within { border-color: var(--primary); }
.svc-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 28px; }
.svc-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--primary-tint); color: var(--primary); }
.svc-icon .icon { width: 24px; height: 24px; }
.svc-num { font-family: var(--mono); font-size: .8rem; color: var(--muted); }
.svc-card h3 { margin-bottom: 10px; }
.svc-card h3 a { color: var(--ink-900); text-decoration: none; }
.svc-card p { color: var(--muted); font-size: .98rem; flex: 1; }
.svc-more { display: inline-flex; align-items: center; gap: 6px; font-size: .92rem; font-weight: 500; color: var(--primary); }
.svc-more .icon { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.svc-card:hover .svc-more .icon { transform: translateX(3px); }
.stretched::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.stretched:focus-visible { outline: none; }
.stretched:focus-visible::after { outline: 3px solid var(--primary); outline-offset: 3px; }

.pillar + .pillar { margin-top: clamp(48px, 6vw, 72px); }
.pillar-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.pillar-head h3, .pillar-head h2 { font-size: 1.5rem; font-weight: 300; margin: 0; letter-spacing: -0.01em; }
.pillar-head p { margin: 0; color: var(--muted); }
.pillar-tag { font-family: var(--mono); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--primary); }

/* ---------- Approach (two columns) ---------- */
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.prose { max-width: 68ch; }
.prose p { color: var(--text); }
.prose h2 { margin-top: 1.4em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.6em; }
.principles { list-style: none; display: grid; gap: 16px; }
.principle {
  display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 22px 24px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
}
.principle .icon { width: 24px; height: 24px; color: var(--primary); margin-top: 2px; }
.principle h3 { font-size: 1.12rem; margin: 0 0 6px; }
.principle p { margin: 0; color: var(--muted); font-size: .98rem; }

/* ---------- Highlights ---------- */
.hl-grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.hl { padding: 28px 24px; border-top: 2px solid var(--primary); background: var(--surface); border-radius: 0 0 var(--radius) var(--radius); }
.hl-big { font-family: var(--font-display); font-weight: 200; font-size: clamp(1.9rem, 1.4rem + 1.4vw, 2.5rem); line-height: 1.05; letter-spacing: -0.03em; color: var(--ink-900); margin-bottom: 14px; white-space: nowrap; }
.hl-text { font-size: 1rem; color: var(--text); margin-bottom: 14px; }
.hl-client { font-family: var(--mono); font-size: .76rem; letter-spacing: .02em; color: var(--muted); margin: 0; line-height: 1.5; }

/* ---------- Sectors ---------- */
.sectors { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.sectors li { padding: 10px 18px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: .96rem; background: var(--surface); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: clamp(56px, 8vw, 104px) 0 clamp(48px, 6vw, 80px); }
.page-hero .container { max-width: 1200px; }
.page-hero h1 { max-width: 18ch; }
.page-hero .lead { max-width: 640px; margin: 0; }
.crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; font-size: .88rem; margin-bottom: 28px; color: var(--on-ink-muted); }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.crumbs a { color: var(--on-ink-muted) !important; text-decoration: none; }
.crumbs a:hover { color: #fff !important; text-decoration: underline; }
.hero-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; background: var(--signal-soft); color: var(--signal); margin-bottom: 24px; }
.hero-icon .icon { width: 28px; height: 28px; }

/* ---------- Service page body ---------- */
.svc-body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 6vw, 88px); align-items: start; }
.aside-card {
  position: sticky; top: calc(var(--header-h) + 24px);
  padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.aside-card h2 { font-size: 1.25rem; font-weight: 400; margin-bottom: 14px; }
.aside-card ul { list-style: none; margin-bottom: 20px; }
.aside-card li { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .96rem; }
.aside-card li:last-child { border-bottom: 0; }
.aside-card li .icon { width: 18px; height: 18px; color: var(--primary); margin-top: 4px; }
.aside-card .btn { width: 100%; justify-content: center; }

.features { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 32px 0 8px; }
.feature { padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.feature .icon { width: 24px; height: 24px; color: var(--primary); margin-bottom: 14px; }
.feature h3 { font-size: 1.1rem; margin: 0 0 8px; }
.feature p { margin: 0; color: var(--muted); font-size: .97rem; }

.checklist { list-style: none; display: grid; gap: 12px; margin: 16px 0 24px; }
.checklist li { display: grid; grid-template-columns: auto 1fr; gap: 12px; }
.checklist li::before {
  content: ""; width: 20px; height: 20px; margin-top: 4px; border-radius: 50%;
  background: var(--primary-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a6b59' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.quote {
  margin: 32px 0; padding: 4px 0 4px 24px; border-left: 2px solid var(--primary);
  font-family: var(--font-display); font-weight: 300; font-size: 1.35rem; line-height: 1.45; color: var(--ink-900);
}

/* Related references */
.ref-cards { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ref-card { padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; }
.rc-client { font-family: var(--mono); font-size: .76rem; letter-spacing: .04em; text-transform: uppercase; color: var(--primary); margin-bottom: 10px; }
.rc-task { font-size: 1rem; color: var(--ink-900); flex: 1; }
.rc-result { display: flex; gap: 8px; margin: 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: .92rem; color: var(--muted); }
.rc-result .icon { width: 16px; height: 16px; color: var(--primary); margin-top: 4px; }

/* Service pager */
.svc-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-top: 48px; padding-bottom: 48px; }
.pager-link {
  display: flex; align-items: center; gap: 16px; padding: 20px 24px; min-height: 44px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
  text-decoration: none; color: var(--ink-900); transition: border-color .2s var(--ease);
}
.pager-link:hover { border-color: var(--primary); color: var(--ink-900); }
.pager-link small { display: block; font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.pager-link .icon { color: var(--primary); }
.pager-next { justify-content: flex-end; text-align: right; }

/* ---------- References table ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px;
  font: inherit; font-size: .94rem; color: var(--text);
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: 999px; cursor: pointer;
  transition: background-color .15s var(--ease), border-color .15s var(--ease), color .15s var(--ease);
}
.chip:hover { border-color: var(--primary); }
.chip[aria-pressed="true"] { background: var(--ink-900); border-color: var(--ink-900); color: #fff; }
.chip-n { font-family: var(--mono); font-size: .78rem; opacity: .7; }
.refs-count { font-family: var(--mono); font-size: .82rem; color: var(--muted); margin-bottom: 12px; }
.table-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.ref-table { width: 100%; border-collapse: collapse; font-size: .97rem; }
.ref-table th {
  text-align: left; font-family: var(--mono); font-size: .74rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); padding: 16px 20px; background: var(--tint); border-bottom: 1px solid var(--line);
}
.ref-table td { padding: 18px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.ref-table tbody tr:last-child td { border-bottom: 0; }
.ref-table tbody tr:hover td { background: #fbfcfb; }
.ref-table tr[hidden] { display: none; }
.ref-cat { width: 190px; }
.ref-client { width: 22%; font-weight: 600; color: var(--ink-900); }
.ref-result { width: 30%; color: var(--text); }
.ref-result .icon { display: inline-block; vertical-align: -3px; width: 16px; height: 16px; color: var(--primary); margin-right: 6px; }
.ref-result.is-empty::before { content: "—"; color: var(--line-strong); }
.tag {
  display: inline-block; padding: 4px 10px; border-radius: 6px; font-size: .8rem; line-height: 1.35;
  background: var(--tint); color: var(--ink-800); border: 1px solid var(--line);
}
.tag-ops, .tag-dev, .tag-sec { background: var(--primary-tint); border-color: #c4e2d8; color: var(--primary-strong); }

@media (max-width: 860px) {
  .table-wrap { background: none; border: 0; border-radius: 0; overflow: visible; }
  .ref-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .ref-table, .ref-table tbody, .ref-table tr, .ref-table td { display: block; width: auto; }
  .ref-table tr { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 12px; }
  .ref-table td { padding: 4px 0; border: 0; }
  .ref-table tbody tr:hover td { background: none; }
  .ref-table .ref-cat { margin-bottom: 8px; }
  .ref-table .ref-result:not(.is-empty) { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
  .ref-result.is-empty { display: none; }
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.mail-card {
  padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-lg); background: var(--ink-900); color: var(--on-ink);
  position: relative; overflow: hidden; isolation: isolate;
}
.mail-card h2 { color: #fff; font-size: 1.6rem; }
.mail-card p { color: var(--on-ink-muted); }
.mail-big {
  display: inline-flex; align-items: center; gap: 14px; margin: 8px 0 24px;
  font-family: var(--font-display); font-weight: 300; font-size: clamp(1.4rem, 1rem + 1.6vw, 2.1rem);
  color: #fff !important; text-decoration: none; border-bottom: 1px solid rgba(67,217,162,.5); padding-bottom: 6px;
  word-break: break-all;
}
.mail-big .icon { width: 28px; height: 28px; color: var(--signal); }
.mail-big:hover { border-bottom-color: var(--signal); }
.steps { list-style: none; counter-reset: step; display: grid; gap: 20px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 44px 1fr; gap: 16px; }
.steps li::before {
  content: counter(step, decimal-leading-zero); display: grid; place-items: center; width: 44px; height: 44px;
  border-radius: 50%; border: 1px solid var(--line-strong); font-family: var(--mono); font-size: .85rem; color: var(--primary);
}
.steps h3 { font-size: 1.1rem; margin: 8px 0 4px; }
.steps p { margin: 0; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink-900); color: var(--on-ink); position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 120% at 100% 0%, rgba(67,217,162,.14), transparent 60%);
}
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px 48px; flex-wrap: wrap; padding-top: clamp(56px, 7vw, 88px); padding-bottom: clamp(56px, 7vw, 88px); }
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { color: var(--on-ink-muted); margin: 0; max-width: 560px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-950); color: var(--on-ink-muted); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1.2fr .8fr 1fr; gap: 40px; padding-top: 72px; padding-bottom: 48px; }
.footer-brand p { margin-top: 18px; max-width: 300px; }
.footer-title { font-family: var(--mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.site-footer ul { list-style: none; }
.site-footer li a { display: inline-block; padding: 6px 0; color: var(--on-ink-muted); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-mail { display: inline-flex; align-items: center; gap: 10px; color: var(--signal) !important; text-decoration: none; min-height: 44px; word-break: break-all; }
.footer-bottom { display: flex; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; padding-top: 24px; padding-bottom: 32px; border-top: 1px solid var(--line-ink); font-size: .85rem; }
.footer-bottom p { margin: 0; }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: grid; align-items: center; }
.notfound .code { font-family: var(--mono); color: var(--signal); font-size: .9rem; letter-spacing: .12em; }

/* ---------- Reveal on scroll (only when JS runs) ---------- */
.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .svc-grid-advisory { grid-template-columns: repeat(2, 1fr); }
  .hl-grid, .ref-cards { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .two-col, .svc-body, .contact-grid { grid-template-columns: 1fr; }
  .svc-grid-delivery { grid-template-columns: 1fr 1fr; }
  .stats ul { grid-template-columns: 1fr 1fr; }
  .stats li:nth-child(3) { padding-left: 0; border-left: 0; }
  .aside-card { position: static; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .svc-grid-delivery, .svc-grid-advisory, .hl-grid, .ref-cards, .features { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding-top: 56px; }
  .svc-pager { grid-template-columns: 1fr; }
  .pager-next { justify-content: space-between; text-align: left; flex-direction: row-reverse; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }
  .stats li { padding-right: 12px; }
  .stats li + li { padding-left: 16px; }
  .hl-big { white-space: normal; }
}

@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 .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .cta-band, .svc-pager, .site-footer { display: none; }
  .on-ink { background: none; color: #000; }
  .on-ink h1, .on-ink h2 { color: #000; }
}
