/* United Data — uniteddata.kz
   Design system: United Data (Source Sans 3 400/600; ink #1A1A1A; red #C10000; yellow #FFBB02; paper #FFFFFF / #F2F2F2) */

:root {
  --paper: #FFFFFF;
  --paper-alt: #F2F2F2;
  --ink: #1A1A1A;
  --ink-muted: #4A4A4A;
  --line: #D9D9D9;
  --line-strong: #858585;
  --red: #C10000;
  --red-strong: #9A0000;
  --yellow: #FFBB02;
  --gutter: clamp(20px, 4.5vw, 64px);
  --section: clamp(72px, 9vw, 128px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Source Sans 3", Arial, sans-serif;
  font-size: 17px;
  line-height: 27px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 600; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.skip { position: absolute; left: -9999px; top: 12px; background: var(--paper); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 12px; }

.pad { padding-left: var(--gutter); padding-right: var(--gutter); }
.wrap { max-width: 1312px; margin: 0 auto; }
.muted { color: var(--ink-muted); }
.dot { color: var(--red); }

/* Section meta rule */
.meta {
  border-top: 1px solid var(--ink);
  padding-top: 12px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 24px;
  font-size: 13px; line-height: 18px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
}
.meta .n { color: var(--red); margin-right: 10px; }
.meta .muted { color: var(--ink-muted); }
.meta a { color: var(--red); text-decoration: none; }
.meta a:hover { text-decoration: underline; }

.caps { font-size: 13px; line-height: 18px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }

/* Type */
.h1-home { margin-top: clamp(32px, 4vw, 56px); font-size: clamp(34px, 9vw + 2px, 124px); line-height: 0.94; letter-spacing: -0.03em; max-width: 12.5em; hyphens: manual; }
.h1 { margin-top: clamp(32px, 4vw, 56px); font-size: clamp(34px, 7vw + 6px, 96px); line-height: 0.98; letter-spacing: -0.03em; max-width: 13em; }
.h2 { font-size: clamp(30px, 3.6vw + 12px, 64px); line-height: 1.04; letter-spacing: -0.02em; }
.h2.narrow { max-width: 15em; }
.lead { font-size: 20px; line-height: 30px; color: var(--ink-muted); max-width: 34em; }
.h1, .h1-home, .h2 { overflow-wrap: break-word; }

.intro-row { margin-top: clamp(40px, 4vw, 56px); border-top: 1px solid var(--line); padding-top: 24px; display: flex; flex-wrap: wrap; gap: 32px 24px; }
.intro-row > .lead { flex: 6 1 340px; min-width: 0; }
.intro-row > .side { flex: 3 1 220px; min-width: 0; }

.section { padding-top: var(--section); }
.section.last { padding-bottom: var(--section); }
.section-head { margin: 40px 0 48px; display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: flex-end; }
.section-head > .h2 { flex: 7 1 460px; min-width: 0; }
.section-head > p { flex: 4 1 280px; min-width: 0; color: var(--ink-muted); }
.section-h2 { margin: 40px 0 48px; }

.cta-link {
  display: inline-block; font-size: 28px; line-height: 34px; font-weight: 600; color: var(--red);
  text-decoration: none; border-bottom: 2px solid var(--red); padding-bottom: 2px;
}
.cta-link:hover { color: var(--red-strong); border-color: var(--red-strong); }
.small-link { font-size: 15px; line-height: 23px; color: var(--ink-muted); text-decoration: none; }
.small-link:hover { color: var(--ink); text-decoration: underline; }

/* Rows (services, chapters) */
.rows { border-bottom: 1px solid var(--line); }
.row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 24px; padding: 28px 0; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.row .n { flex: 0 0 48px; font-size: 15px; font-weight: 600; color: var(--red); }
.row .name { flex: 4 1 260px; min-width: 0; font-size: clamp(24px, 1.6vw + 12px, 36px); line-height: 1.1; font-weight: 600; letter-spacing: -0.01em; }
.row .text { flex: 6 1 320px; min-width: 0; color: var(--ink-muted); }
.row .arr { flex: 0 0 32px; font-size: 24px; text-align: right; }
a.row:hover .name { color: var(--red); }

/* Industries list on Home */
.ind-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr)); column-gap: 48px; }
.ind-item { display: flex; gap: 24px; align-items: baseline; padding: 22px 0; border-top: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.ind-item .n { flex: 0 0 32px; font-size: 15px; font-weight: 600; color: var(--red); }
.ind-item .name { display: block; font-size: 24px; line-height: 30px; font-weight: 600; }
.ind-item .tasks { display: block; margin-top: 4px; font-size: 15px; line-height: 23px; color: var(--ink-muted); }
a.ind-item:hover .name { color: var(--red); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 40px 24px; }
.steps li { border-top: 1px solid var(--line); padding-top: 16px; }
.big-n { display: block; font-size: clamp(56px, 3vw + 32px, 88px); line-height: 1; font-weight: 600; letter-spacing: -0.04em; }
.steps h3 { margin: 16px 0 8px; font-size: 24px; line-height: 30px; }
.steps p { color: var(--ink-muted); }

/* fig. 1 — schematic */
.fig { background: var(--paper-alt); padding-top: clamp(40px, 5vw, 72px); padding-bottom: clamp(40px, 5vw, 72px); margin-top: clamp(48px, 5vw, 72px); }
.fig .meta { border-top: 0; padding-top: 0; }
.perimeter { position: relative; margin-top: 36px; border: 2px dashed var(--yellow); background: var(--paper); padding: 40px clamp(16px, 3vw, 40px) 32px; }
.tag-yellow { position: absolute; left: 24px; top: -14px; background: var(--yellow); color: var(--ink); font-size: 13px; line-height: 18px; font-weight: 600; padding: 4px 10px; }
.tag-plain { position: absolute; left: 24px; top: -10px; background: var(--paper); color: var(--ink-muted); font-size: 13px; line-height: 18px; font-weight: 600; padding: 0 8px; }
.flow { display: flex; flex-wrap: wrap; align-items: stretch; gap: 16px; }
.flow .sources { flex: 3 1 220px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.flow .box { border: 1px solid var(--ink); padding: 14px 16px; font-size: 17px; line-height: 23px; }
.flow .arrow { flex: 0 0 40px; display: flex; align-items: center; justify-content: center; font-size: 28px; }
.flow .agents { flex: 3 1 220px; min-width: 0; border: 1px solid var(--ink); border-top: 4px solid var(--red); padding: 24px; display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.flow .agents strong { font-size: clamp(28px, 1.6vw + 14px, 40px); line-height: 1.05; font-weight: 600; letter-spacing: -0.02em; }
.flow .teams { flex: 2 1 180px; min-width: 0; border: 1px solid var(--ink); padding: 24px; display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.flow .teams strong { font-size: 24px; line-height: 30px; font-weight: 600; }
.flow small { font-size: 15px; line-height: 23px; color: var(--ink-muted); }
.cloud-alt { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 4px 24px; align-items: baseline; border: 1px solid var(--line-strong); background: var(--paper); padding: 16px 24px; }
.cloud-alt strong { font-size: 20px; line-height: 28px; font-weight: 600; }
@media (max-width: 720px) {
  .flow .arrow { flex-basis: 100%; height: 28px; transform: rotate(90deg); }
}

/* Deployment panels */
.panels { display: flex; flex-wrap: wrap; gap: 40px 24px; }
.panel { flex: 1 1 360px; min-width: 0; position: relative; padding: 44px 32px 32px; }
.panel.onprem { border: 2px dashed var(--yellow); }
.panel.cloud { border: 1px solid var(--line-strong); }
.panel h3 { margin-bottom: 12px; font-size: clamp(32px, 2.4vw + 12px, 48px); line-height: 1.05; letter-spacing: -0.02em; }
.panel p { color: var(--ink-muted); }
.panel .clouds { margin-top: 16px; font-size: 20px; line-height: 28px; font-weight: 600; color: var(--ink); }

/* In-page nav */
.toc { display: flex; flex-direction: column; font-size: 15px; line-height: 23px; }
.toc a { text-decoration: none; padding: 8px 0; border-bottom: 1px solid var(--line); }
.toc a:hover { color: var(--red); }
.toc .n { color: var(--red); font-weight: 600; margin-right: 10px; }

/* Industry tiles */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr)); gap: 64px 24px; }
.tile { display: block; text-decoration: none; color: var(--ink); border-top: 1px solid var(--ink); padding-top: 16px; }
.tile .big { display: block; font-size: clamp(80px, 5vw + 40px, 152px); line-height: 0.85; font-weight: 600; letter-spacing: -0.05em; }
.tile .name { display: block; margin-top: 24px; font-size: clamp(24px, 1.6vw + 12px, 36px); line-height: 1.1; font-weight: 600; letter-spacing: -0.01em; }
.tile .tasks { display: block; margin-top: 12px; font-size: 15px; line-height: 23px; color: var(--ink-muted); }
.tile .more { display: inline-block; margin-top: 16px; font-size: 15px; line-height: 20px; font-weight: 600; color: var(--red); }
.tile:hover .name { color: var(--red); }

/* Industry cover */
.cover { margin-top: clamp(48px, 5vw, 72px); background: var(--paper-alt); padding-top: clamp(32px, 4vw, 56px); padding-bottom: clamp(32px, 4vw, 56px); overflow: hidden; }
.cover .wrap { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; }
.cover .huge { font-size: clamp(150px, 22vw, 360px); line-height: 0.8; font-weight: 600; letter-spacing: -0.06em; }
.cover .side { flex: 0 1 380px; min-width: 0; padding-bottom: 8px; }
.cover .side p + p { margin-top: 12px; font-size: 24px; line-height: 34px; font-weight: 600; }

.tasks3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 40px 24px; }
.tasks3 > div { border-top: 1px solid var(--line); padding-top: 16px; }
.tasks3 h3 { margin: 16px 0 8px; font-size: 26px; line-height: 32px; }
.tasks3 p { color: var(--ink-muted); }

.steps-rows .r { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 24px; padding: 22px 0; border-top: 1px solid var(--line); }
.steps-rows .r:last-child { border-bottom: 1px solid var(--line); }
.steps-rows .r strong { flex: 2 1 200px; font-size: 26px; line-height: 32px; font-weight: 600; }
.steps-rows .r span { flex: 6 1 320px; min-width: 0; color: var(--ink-muted); }

.end-cta { border-top: 1px solid var(--ink); padding-top: 40px; display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: flex-end; justify-content: space-between; }
.end-cta .h2 { flex: 7 1 460px; min-width: 0; }

.other { margin-top: 96px; }
.other .links { display: flex; flex-wrap: wrap; gap: 4px 32px; margin-top: 12px; font-size: 20px; line-height: 28px; font-weight: 600; }
.other .links a { text-decoration: none; padding: 6px 0; }
.other .links a:hover { color: var(--red); }

/* About */
.rings-band { margin-top: clamp(48px, 5vw, 72px); height: clamp(220px, 28vw, 400px); position: relative; overflow: hidden; }
.rings-band img { position: absolute; left: 34%; top: 0; width: 100%; max-width: none; height: auto; transform: translateY(-12%); }
.figure-10 { font-size: clamp(88px, 6vw + 40px, 144px); line-height: 0.9; font-weight: 600; letter-spacing: -0.04em; }
.figure-10 span { border-bottom: 8px solid var(--yellow); }
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 32px 24px; margin-top: 64px; }
.two-col > div { border-top: 1px solid var(--line); padding-top: 16px; }
.two-col h3 { margin-bottom: 8px; font-size: 26px; line-height: 32px; }
.two-col p { color: var(--ink-muted); }

/* Forms */
.form { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 8px 24px; }
.field { display: flex; flex-direction: column; border-bottom: 1px solid var(--ink); padding-top: 16px; }
.field.wide, .form .wide { grid-column: 1 / -1; }
.field label { font-size: 13px; line-height: 18px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted); }
.field label .opt { font-weight: 400; text-transform: none; letter-spacing: 0; }
.field input, .field textarea {
  font-family: inherit; font-size: 20px; line-height: 30px; color: var(--ink);
  border: 0; background: transparent; padding: 8px 0; width: 100%; border-radius: 0;
}
.field input { height: 48px; }
.field textarea { resize: vertical; min-height: 96px; }
.field:focus-within { border-bottom-color: var(--red); }
.field input:focus, .field textarea:focus { outline: none; }
.consent { display: flex; gap: 12px; align-items: flex-start; margin-top: 20px; font-size: 15px; line-height: 23px; color: var(--ink-muted); }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--red); flex-shrink: 0; }
.btn {
  font-family: inherit; background: var(--red); color: #FFFFFF; border: 0; border-radius: 2px;
  font-size: 17px; line-height: 24px; font-weight: 600; padding: 16px 32px; min-height: 56px; cursor: pointer;
}
.btn:hover { background: var(--red-strong); }
.btn[disabled] { opacity: 0.6; cursor: wait; }
.form-actions { margin-top: 16px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.status { margin-top: 20px; }
.status[hidden] { display: none; }
.status.error { color: var(--red); font-weight: 600; }
.status .big { display: block; font-size: 28px; line-height: 34px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }

.split { display: flex; flex-wrap: wrap; gap: 48px 64px; margin-top: 40px; }
.split > .a { flex: 5 1 360px; min-width: 0; }
.split > .b { flex: 7 1 480px; min-width: 0; }

.contact-email { display: inline-block; margin-top: 28px; font-size: clamp(24px, 1.6vw + 12px, 36px); line-height: 1.1; font-weight: 600; letter-spacing: -0.01em; text-decoration: none; border-bottom: 2px solid var(--red); padding-bottom: 4px; overflow-wrap: anywhere; }

/* Privacy */
.legal { display: flex; flex-wrap: wrap; gap: 48px 64px; align-items: flex-start; }
.legal nav { flex: 3 1 240px; min-width: 0; border-top: 1px solid var(--ink); padding-top: 12px; }
.legal article { flex: 8 1 520px; min-width: 0; max-width: 68ch; border-top: 1px solid var(--ink); padding-top: 24px; }
.legal article h2 { margin: 0 0 12px; font-size: 26px; line-height: 32px; }
.legal article h2 .n { color: var(--red); margin-right: 10px; }
.legal article p { margin-bottom: 40px; }

/* Header */
.site-header { background: var(--paper); }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0 18px; }
.logo { display: inline-flex; flex-shrink: 0; }
.logo img { height: 44px; width: auto; }
.nav { display: flex; align-items: center; gap: 32px; font-size: 15px; line-height: 20px; font-weight: 600; }
.nav a { text-decoration: none; padding: 12px 0; }
.nav a:hover, .nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.nav .contact { color: var(--red); white-space: nowrap; }
.langs { display: flex; align-items: center; }
.langs a { min-width: 36px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; letter-spacing: 0.08em; color: var(--ink-muted); font-weight: 400; text-decoration: none; }
.langs a[aria-current="true"] { color: var(--ink); font-weight: 600; text-decoration: none; }
.langs a:hover { color: var(--ink); }
.menu-btn { display: none; font-family: inherit; background: none; border: 0; min-height: 44px; align-items: center; gap: 10px; cursor: pointer; color: var(--ink); padding: 0; font-size: 15px; font-weight: 600; }
.menu-btn .i-close { display: none; }
.mobile-panel { display: none; border-top: 1px solid var(--ink); padding: 8px 0 32px; }
.mobile-panel a.big { display: block; font-size: 32px; line-height: 1.1; font-weight: 600; letter-spacing: -0.02em; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.mobile-panel a.big.contact { color: var(--red); }
.mobile-panel .langs { gap: 8px; padding-top: 16px; }
.mobile-panel .langs a { font-size: 15px; min-width: 44px; border-bottom: 2px solid transparent; }
.mobile-panel .langs a[aria-current="true"] { border-bottom-color: var(--ink); }
@media (max-width: 1079px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .site-header.is-open .mobile-panel { display: block; }
  .site-header.is-open .menu-btn .i-open { display: none; }
  .site-header.is-open .menu-btn .i-close { display: block; }
}

/* Footer */
.site-footer { background: var(--paper-alt); margin-top: 0; }
.site-footer .wrap { border-top: 1px solid var(--ink); padding: 16px 0 32px; }
.footer-email { display: inline-block; margin: 40px 0 56px; font-size: clamp(30px, 4.5vw + 8px, 72px); line-height: 1; font-weight: 600; letter-spacing: -0.03em; text-decoration: none; border-bottom: 2px solid var(--red); padding-bottom: 6px; overflow-wrap: anywhere; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 40px 24px; border-top: 1px solid var(--line); padding-top: 24px; font-size: 15px; line-height: 23px; }
.footer-cols > div, .footer-cols > nav { flex: 1 1 200px; min-width: 0; }
.footer-cols > .brand { flex: 2 1 260px; }
.footer-cols .caps { color: var(--ink-muted); margin-bottom: 8px; }
.footer-cols nav a, .footer-cols .follow a { display: block; text-decoration: none; padding: 4px 0; }
.footer-cols a:hover { color: var(--red); }
.footer-cols .langs { margin-top: 12px; gap: 4px; }
.footer-legal { margin-top: 48px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 13px; line-height: 18px; color: var(--ink-muted); }
.footer-legal a { color: var(--ink-muted); }

/* --- Brand graphics ------------------------------------------------------- */
.hero { position: relative; overflow: hidden; }
.hero .wrap { position: relative; z-index: 1; }
.hero-rings { position: absolute; z-index: 0; right: calc(-0.3 * clamp(300px, 50vw, 820px)); top: calc(-0.38 * clamp(300px, 50vw, 820px)); width: clamp(300px, 50vw, 820px); pointer-events: none; }
.hero-rings img { width: 100%; height: auto; }
.hero .meta { position: relative; background: var(--paper); }
.hero .h1-home { max-width: 9.4em; }
@media (max-width: 720px) {
  .hero-rings { right: -34vw; top: -26vw; width: 72vw; }
  .hero .h1-home { margin-top: 64px; }
}

.trace { width: 100%; height: auto; display: block; overflow: visible; }

.ind-item .body { flex: 1 1 auto; min-width: 0; }
.ind-item .spark { flex: 0 0 120px; align-self: center; }
@media (max-width: 520px) { .ind-item .spark { display: none; } }

.tile-fig { display: block; background: var(--paper-alt); padding: 20px; margin-bottom: 20px; }
.tile .big { font-size: clamp(64px, 3vw + 40px, 112px); }

.cover-fig { flex: 1 1 360px; min-width: 0; align-self: center; }
.cover .side { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 8px 48px; align-items: baseline; }
.cover .side p + p { margin-top: 0; }


@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print { .site-header .nav, .menu-btn, .mobile-panel, form { display: none !important; } }

/* --- Type scale v2: calmer headings, readable small text ------------------- */
body { font-size: 18px; line-height: 28px; }
.h1-home { font-size: clamp(38px, 3.4vw + 20px, 68px); line-height: 1.06; letter-spacing: -0.02em; max-width: 15em; }
.hero .h1-home { max-width: 13em; }
.h1 { font-size: clamp(34px, 2.4vw + 18px, 54px); line-height: 1.1; letter-spacing: -0.015em; max-width: 18em; }
.h2 { font-size: clamp(28px, 1.4vw + 18px, 40px); line-height: 1.15; letter-spacing: -0.01em; }
.h2.narrow { max-width: 22em; }
.lead { font-size: 20px; line-height: 31px; }
.meta { font-size: 14px; line-height: 20px; letter-spacing: 0.06em; }
.caps { font-size: 14px; line-height: 20px; letter-spacing: 0.06em; }
.small-link { font-size: 16px; }
.row .name { font-size: clamp(22px, 0.6vw + 16px, 26px); line-height: 1.2; letter-spacing: 0; }
.row .text, .ind-item .tasks, .tile .tasks, .steps p, .tasks3 p, .two-col p, .panel p { font-size: 18px; line-height: 28px; }
.ind-item .name { font-size: 22px; line-height: 28px; }
.ind-item .tasks { font-size: 16px; line-height: 24px; }
.big-n { font-size: 20px; line-height: 24px; color: var(--red); letter-spacing: 0; }
.steps h3, .tasks3 h3 { font-size: 22px; line-height: 28px; margin-top: 8px; }
.tile .big { font-size: 20px; line-height: 24px; letter-spacing: 0; color: var(--red); }
.tile .big .dot { display: none; }
.tile .name { margin-top: 8px; font-size: clamp(22px, 0.6vw + 16px, 26px); line-height: 1.2; }
.tiles { gap: 40px 24px; }
.cover .huge { font-size: clamp(64px, 4vw + 32px, 112px); }
.figure-10 { font-size: clamp(64px, 3vw + 40px, 96px); }
.figure-10 span { border-bottom-width: 6px; }
.steps-rows .r strong { font-size: 22px; line-height: 28px; }
.panel h3 { font-size: clamp(26px, 1vw + 18px, 32px); }
.flow .agents strong { font-size: 28px; }
.cta-link { font-size: 22px; line-height: 30px; }
.field label { font-size: 15px; line-height: 20px; letter-spacing: 0.02em; text-transform: none; }
.field input, .field textarea { font-size: 18px; line-height: 28px; }
.consent { font-size: 16px; line-height: 24px; }
.nav { font-size: 16px; }
.langs a { font-size: 14px; }
.legal article h2 { font-size: 22px; line-height: 28px; }
/* Footer: email at normal size */
.footer-email { font-size: 22px; line-height: 30px; letter-spacing: 0; margin: 32px 0 40px; border-bottom-width: 1px; }
.footer-cols { font-size: 16px; line-height: 24px; }
.footer-legal { font-size: 14px; line-height: 20px; }
.contact-email { font-size: 24px; }
.hero-rings { width: clamp(240px, 32vw, 520px); right: calc(-0.28 * clamp(240px, 32vw, 520px)); top: calc(-0.5 * clamp(240px, 32vw, 520px)); }
@media (max-width: 720px) { .hero-rings { right: -30vw; top: -34vw; width: 64vw; } .hero .h1-home { margin-top: 48px; } }

/* --- Content v3 components ------------------------------------------------- */
.tbc { color: var(--ink-muted); font-style: normal; background: var(--paper-alt); padding: 0 6px; }
.draft-bar { background: var(--yellow); color: var(--ink); font-size: 15px; line-height: 22px; font-weight: 600; padding-top: 8px; padding-bottom: 8px; }

/* Row-card tables */
.tbl { border-bottom: 1px solid var(--line); }
.tbl .tr { display: grid; gap: 8px 24px; padding: 20px 0; border-top: 1px solid var(--line); align-items: baseline; }
.tbl.c2 .tr { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
.tbl.c3 .tr { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.8fr) minmax(0, 1.2fr); }
.tbl.c4 .tr { grid-template-columns: minmax(0, 1.1fr) minmax(0, 2fr) minmax(0, 1.1fr) minmax(0, 1fr); }
.tbl .thead { border-top: 1px solid var(--ink); padding: 12px 0; }
.tbl .th { font-size: 14px; line-height: 20px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-muted); }
.tbl .td { font-size: 17px; line-height: 26px; color: var(--ink-muted); }
.tbl .td.first { font-size: 20px; line-height: 27px; font-weight: 600; color: var(--ink); }
@media (max-width: 860px) {
  .tbl .tr, .tbl.c2 .tr, .tbl.c3 .tr, .tbl.c4 .tr { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .tbl .thead { display: none; }
  .tbl .tr:first-of-type, .tbl .thead + .tr { border-top: 1px solid var(--ink); }
  .tbl .td[data-l]::before { content: attr(data-l); display: block; font-size: 13px; line-height: 18px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 2px; }
  .tbl .td { color: var(--ink); }
}
.note { margin-top: 16px; font-size: 16px; line-height: 24px; color: var(--ink-muted); }

/* Problem */
.reasons { margin-top: 16px; border-top: 1px solid var(--line); }
.reasons li { display: flex; gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 20px; line-height: 30px; }
.reasons .n { flex: 0 0 32px; font-size: 16px; font-weight: 600; color: var(--red); }
.close-line { margin-top: 24px; font-size: 20px; line-height: 30px; font-weight: 600; }
.fig-caption { margin-top: 20px; font-size: clamp(20px, 0.8vw + 14px, 26px); line-height: 1.3; font-weight: 600; max-width: 34em; }

/* Clients & partners on Home */
.two-lists { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 64px 48px; }
.names { border-bottom: 1px solid var(--line); }
.names li { display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: baseline; padding: 16px 0; border-top: 1px solid var(--line); }
.names strong { font-size: 22px; line-height: 28px; font-weight: 600; min-width: 11em; }
.names span { color: var(--ink-muted); font-size: 17px; line-height: 26px; flex: 1 1 220px; }

/* Facts */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 40px 24px; margin-top: 40px; }
.facts li { border-top: 1px solid var(--line); padding-top: 16px; }
.facts strong { display: block; font-size: clamp(30px, 1.4vw + 20px, 40px); line-height: 1.15; font-weight: 600; letter-spacing: -0.01em; }
.facts strong span { border-bottom: 4px solid var(--yellow); }
.facts p { margin-top: 12px; color: var(--ink-muted); }
.facts-row { display: flex; flex-wrap: wrap; gap: 8px 0; margin-top: 48px; border-top: 1px solid var(--line); padding-top: 16px; }
.facts-row li { font-size: 22px; line-height: 30px; font-weight: 600; }
.facts-row li + li::before { content: "·"; color: var(--red); margin: 0 14px; }

/* Industry pages */
.tile .promise { display: block; margin-top: 8px; font-size: 18px; line-height: 27px; color: var(--ink); }
.statement { margin-top: 32px; font-size: clamp(22px, 0.8vw + 16px, 28px); line-height: 1.35; max-width: 32em; }
.block-p { margin-top: 24px; font-size: 20px; line-height: 30px; }
.tbl.uc .td.first { font-size: 19px; }

/* Work & Partners cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr)); gap: 48px 24px; }
.cards.three { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.card { border-top: 1px solid var(--ink); padding-top: 16px; }
.card h2 { font-size: clamp(26px, 1vw + 18px, 32px); line-height: 1.15; letter-spacing: -0.01em; }
.card dl { margin: 20px 0 0; }
.card dl > div { padding: 14px 0; border-top: 1px solid var(--line); }
.card dt { font-size: 14px; line-height: 20px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-muted); }
.card dd { margin: 4px 0 0; font-size: 18px; line-height: 27px; }

/* About */
.principles h3 { font-size: 22px; }
.checklist { margin-top: 32px; border-top: 1px solid var(--line); }
.checklist li { padding: 16px 0 16px 32px; border-bottom: 1px solid var(--line); position: relative; font-size: 20px; line-height: 30px; }
.checklist li::before { content: "→"; position: absolute; left: 0; color: var(--red); font-weight: 600; }

/* Contact FAQ */
.faq { border-top: 1px solid var(--ink); }
.faq .qa { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 8px 48px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.faq h3 { font-size: 20px; line-height: 28px; }
.faq p { color: var(--ink-muted); }

/* Select */
.field select { font-family: inherit; font-size: 18px; line-height: 28px; color: var(--ink); border: 0; background: transparent; padding: 8px 0; height: 48px; width: 100%; border-radius: 0; -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%231A1A1A' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 4px center; padding-right: 28px; }
.field select:focus { outline: none; }

/* Footer with industries column */
.footer-cols { margin-top: 32px; border-top: 0; padding-top: 0; }
.footer-cols > .brand { flex: 1.4 1 200px; }
.site-footer .wrap { padding-top: 40px; }

/* --- Reference-driven updates (v4) ---------------------------------------- */
/* Header button */
.btn-talk { background: var(--red); color: #FFFFFF; text-decoration: none; font-weight: 600; padding: 10px 20px; border-radius: 2px; min-height: 44px; display: inline-flex; align-items: center; white-space: nowrap; }
.nav a.btn-talk:hover, .nav a.btn-talk[aria-current="page"] { background: var(--red-strong); text-decoration: none; }

/* Services: one framed block, three columns */
.svc-grid { margin-top: 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); border: 1px solid var(--line); }
.svc-card { display: flex; flex-direction: column; gap: 14px; padding: 32px; text-decoration: none; color: var(--ink); border-left: 1px solid var(--line); margin-left: -1px; border-top: 1px solid var(--line); margin-top: -1px; background: var(--paper); }
.svc-card .caps { color: var(--red); }
.svc-card .promise { font-size: clamp(24px, 0.8vw + 16px, 30px); line-height: 1.2; font-weight: 600; letter-spacing: -0.01em; }
.svc-card .text { color: var(--ink-muted); flex-grow: 1; }
.svc-card .more { align-self: flex-start; font-size: 16px; font-weight: 600; border: 1px solid var(--ink); border-radius: 2px; padding: 10px 18px; min-height: 44px; display: inline-flex; align-items: center; }
.svc-card:hover { background: var(--paper-alt); }
.svc-card:hover .more { background: var(--ink); color: #FFFFFF; }

/* Industries: capabilities list (Andersen-style) */
.cap-list { border-bottom: 1px solid var(--line); }
.cap-item { display: flex; gap: 24px; align-items: baseline; padding: 20px 0; border-top: 1px solid var(--line); text-decoration: none; color: var(--ink-muted); }
.cap-item .n { flex: 0 0 40px; font-size: 16px; font-weight: 600; color: var(--red); }
.cap-item .body { flex: 1 1 auto; min-width: 0; }
.cap-item .name { display: block; font-size: clamp(24px, 1.4vw + 14px, 36px); line-height: 1.15; font-weight: 600; letter-spacing: -0.01em; }
.cap-item .tasks { display: block; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .25s ease, opacity .2s ease, margin .2s ease; color: var(--ink-muted); font-size: 17px; line-height: 26px; }
.cap-item .arr { flex: 0 0 32px; font-size: 26px; opacity: 0; transition: opacity .2s ease; color: var(--red); }
.cap-item:hover, .cap-item:focus-visible { color: var(--ink); }
.cap-item:hover .tasks, .cap-item:focus-visible .tasks { max-height: 120px; opacity: 1; margin-top: 8px; }
.cap-item:hover .arr, .cap-item:focus-visible .arr { opacity: 1; }
@media (hover: none) { .cap-item { color: var(--ink); } .cap-item .tasks { max-height: none; opacity: 1; margin-top: 6px; font-size: 16px; } .cap-item .arr { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .cap-item .tasks, .cap-item .arr { transition: none; } }

/* Clients / partners strip */
.strip { display: grid; border-top: 1px solid var(--ink); border-left: 1px solid var(--line); }
.strip.c4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.strip.c3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.strip li { min-height: 160px; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.strip strong { font-size: clamp(22px, 0.8vw + 16px, 28px); line-height: 1.15; font-weight: 600; letter-spacing: -0.01em; }
.strip span { font-size: 16px; line-height: 24px; color: var(--ink-muted); }

/* Big numbers (EPAM-style row) */
.bignums { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 48px 24px; margin-top: 40px; }
.bignums li { border-top: 1px solid var(--ink); padding-top: 20px; }
.bignums .num { display: block; font-size: clamp(72px, 4vw + 40px, 112px); line-height: 0.95; font-weight: 400; letter-spacing: -0.04em; }
.bignums strong { display: inline-block; margin-top: 12px; font-size: 22px; line-height: 28px; font-weight: 600; border-bottom: 4px solid var(--yellow); }
.bignums p { margin-top: 10px; color: var(--ink-muted); }

/* Kazakhstan block */
.kz-points { margin: 0; border-top: 1px solid var(--ink); }
.kz-points li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.kz-points strong { display: block; font-size: 20px; line-height: 28px; font-weight: 600; }
.kz-points p { margin-top: 4px; color: var(--ink-muted); }

/* How it runs (v5): three framed columns with arrows */
.flow3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); }
.flow3 .cell { position: relative; padding: 32px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.flow3 .cell:first-child { border-left: 0; }
.flow3 .cell + .cell::before { content: "→"; position: absolute; left: -16px; top: 28px; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; background: var(--paper); color: var(--red); font-size: 22px; font-weight: 600; }
.flow3 .caps { color: var(--ink-muted); }
.flow3 .agents { border-top: 4px solid var(--red); margin-top: -1px; }
.flow3 .agents .caps { color: var(--red); }
.flow3 ul { border-top: 1px solid var(--line); }
.flow3 li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 18px; line-height: 26px; }
.flow3 .big { font-size: clamp(22px, 0.6vw + 16px, 26px); line-height: 1.3; font-weight: 600; }
.runs-row { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 4px 24px; align-items: baseline; }
.runs-row strong { font-size: 20px; line-height: 28px; font-weight: 600; }
@media (max-width: 820px) {
  .flow3 { grid-template-columns: minmax(0, 1fr); }
  .flow3 .cell { border-left: 0; border-top: 1px solid var(--line); }
  .flow3 .cell:first-child { border-top: 0; }
  .flow3 .agents { border-top: 4px solid var(--red); }
  .flow3 .cell + .cell::before { content: "↓"; left: 28px; top: -17px; }
}
/* header button: override generic .nav a padding */
.nav a.btn-talk { padding: 10px 22px; text-decoration: none; line-height: 22px; }

/* Hero v6: text left, large brand rings right */
.hero { position: relative; overflow: hidden; }
.hero .meta { background: transparent; position: relative; z-index: 1; }
.hero-copy { position: relative; z-index: 1; max-width: 760px; padding: clamp(40px, 5vw, 72px) 0 clamp(56px, 6vw, 96px); }
.hero .hero-copy .h1-home { margin-top: 0; max-width: 11.5em; }
.hero-copy .lead { margin-top: 28px; max-width: 34em; }
.hero-actions { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; }
.hero-copy .runs { margin-top: 40px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: baseline; font-size: 17px; line-height: 26px; }
.hero-rings { position: absolute; z-index: 0; width: clamp(440px, 48vw, 800px); right: calc(-0.22 * clamp(440px, 48vw, 800px)); top: 50%; transform: translateY(-46%); pointer-events: none; }
.hero-rings img { width: 100%; height: auto; }
@media (max-width: 1100px) and (min-width: 721px) {
  .hero-rings { width: 52vw; right: -20vw; }
  .hero-copy { max-width: 62%; }
}
@media (max-width: 720px) {
  .hero-rings { width: 78vw; right: -26vw; top: 0; transform: translateY(-30%); }
  .hero-copy { max-width: none; padding-top: 44vw; }
  .hero .hero-copy .h1-home { margin-top: 0; }
}
/* Hero v7: separate large arcs, not the whole mark */
.hero-rings { width: clamp(480px, 54vw, 920px); right: calc(-0.1 * clamp(480px, 54vw, 920px)); top: 50%; transform: translateY(-50%); }
@media (max-width: 1100px) and (min-width: 721px) { .hero-rings { width: 60vw; right: -14vw; } }
@media (max-width: 720px) { .hero-rings { width: 92vw; right: -18vw; top: 0; transform: translateY(-24%); } .hero-copy { padding-top: 52vw; } }
@media (max-width: 720px) { .hero-rings { transform: translateY(-46%); } .hero-copy { padding-top: 54vw; } }
@media (max-width: 720px) {
  .hero-rings { width: 100vw; right: -34vw; top: 8px; transform: none; height: 56vw; overflow: hidden; }
  .hero-copy { padding-top: 58vw; }
}
/* Hero v8: no brand graphics, typographic only */
.hero-copy { max-width: none; padding-top: clamp(40px, 5vw, 72px); }
.hero .hero-copy .h1-home { max-width: 14em; }
@media (max-width: 720px) { .hero-copy { padding-top: 40px; } }

/* Language switch v2: dropdown in header, full names elsewhere */
.lang-dd { position: relative; }
.lang-btn { font-family: inherit; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 10px; background: none; border: 1px solid var(--line); border-radius: 2px; color: var(--ink); font-size: 15px; font-weight: 600; letter-spacing: 0.04em; cursor: pointer; }
.lang-btn:hover, .lang-btn[aria-expanded="true"] { border-color: var(--ink); }
.lang-btn .chev { transition: transform .15s ease; }
.lang-btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
.lang-menu { position: absolute; right: 0; top: calc(100% + 6px); min-width: 168px; background: var(--paper); border: 1px solid var(--ink); padding: 4px 0; z-index: 20; }
.lang-menu a { display: block; padding: 10px 16px; font-size: 16px; line-height: 24px; font-weight: 400; text-decoration: none; color: var(--ink); }
.nav .lang-menu a { padding: 10px 16px; }
.lang-menu a:hover { background: var(--paper-alt); text-decoration: none; }
.lang-menu a[aria-current="true"] { font-weight: 600; }
.lang-menu a[aria-current="true"] { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.lang-check { color: var(--red); }
.lang-row .lang-check { display: none; }
.lang-row { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.lang-row a { padding: 8px 0; text-decoration: none; color: var(--ink-muted); font-size: 16px; }
.lang-row a:hover { color: var(--ink); }
.lang-row a[aria-current="true"] { color: var(--ink); font-weight: 600; border-bottom: 2px solid var(--red); }
.mobile-panel .lang-row { padding-top: 16px; }
.mobile-panel .lang-row a { font-size: 18px; }
.footer-cols .lang-row { margin-top: 12px; }
.footer-cols .lang-row a { display: inline-block; padding: 4px 0; }

/* Spacing v2: tighter vertical rhythm, hero fills the width */
:root { --section: clamp(56px, 5.5vw, 88px); }
.section-head { margin: 28px 0 36px; }
.section-h2 { margin: 28px 0 36px; }
.split { margin-top: 28px; }
.hero-copy { padding: clamp(32px, 4vw, 56px) 0 clamp(8px, 1vw, 16px); }
.hero-row { margin-top: 32px; border-top: 1px solid var(--line); padding-top: 24px; display: flex; flex-wrap: wrap; gap: 28px 64px; align-items: flex-start; }
.hero-row .lead { flex: 3 1 420px; min-width: 0; margin-top: 0; max-width: 36em; }
.hero-side { flex: 2 1 300px; min-width: 0; }
.hero-side .hero-actions { margin-top: 0; }
.hero-side .runs { margin-top: 24px; padding-top: 0; border-top: 0; flex-direction: column; gap: 4px; }
.end-cta { padding-top: 32px; }
.other { margin-top: 56px; }
.statement { margin-top: 24px; }
.facts-row { margin-top: 32px; }

/* --- Agent example cards (v9) --------------------------------------------- */
.agent-card { margin: 0; background: var(--paper); border: 1px solid var(--ink); font-size: 16px; line-height: 24px; }
.ac-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.ac-title { font-size: 15px; font-weight: 600; letter-spacing: 0.02em; }
.ac-ex { font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted); border: 1px solid var(--line-strong); border-radius: 2px; padding: 3px 8px; white-space: nowrap; }
.ac-rows li { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 14px; align-items: start; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.ac-rows .st { justify-self: start; font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; padding: 4px 8px; border-radius: 2px; margin-top: 2px; }
.lv-high .st { background: var(--red); color: #FFFFFF; }
.lv-med .st { background: var(--yellow); color: var(--ink); }
.lv-ok .st { background: var(--paper-alt); color: var(--ink-muted); }
.ac-rows .it strong { display: block; font-size: 17px; line-height: 24px; font-weight: 600; }
.ac-rows .it span { color: var(--ink-muted); }
.lv-ok .it strong { font-weight: 400; color: var(--ink-muted); }
.ac-action { padding: 16px 20px; background: var(--paper-alt); border-bottom: 1px solid var(--line); }
.ac-action .caps { font-size: 12px; line-height: 16px; color: var(--red); }
.ac-action p { margin-top: 6px; font-size: 18px; line-height: 26px; font-weight: 600; }
.ac-meta { display: flex; flex-wrap: wrap; gap: 4px 24px; padding: 12px 20px; font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.ac-meta b { font-weight: 600; color: var(--ink); }
@media (max-width: 520px) { .ac-rows li { grid-template-columns: minmax(0, 1fr); gap: 8px; } }

/* Hero with card */
.hero-grid { display: flex; flex-wrap: wrap; gap: 40px 64px; align-items: center; padding: clamp(32px, 4vw, 56px) 0 clamp(16px, 2vw, 24px); }
.hero-text { flex: 1 1 520px; min-width: 0; }
.hero-card { flex: 1 1 400px; min-width: 0; max-width: 560px; }
.hero-text .h1-home { margin-top: 0; font-size: clamp(36px, 2.8vw + 18px, 60px); max-width: 12em; }
.hero-text .lead { margin-top: 24px; }
.hero-text .hero-actions { margin-top: 32px; }
.hero-text .runs { margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: baseline; font-size: 17px; line-height: 26px; }

/* Industry cover with card */
.cover-grid { display: flex; flex-wrap: wrap; gap: 32px 64px; align-items: center; width: 100%; }
.cover-left { flex: 1 1 320px; min-width: 0; }
.cover-left .caps { margin-top: 16px; }
.cover-promise { margin-top: 8px; font-size: clamp(22px, 0.8vw + 16px, 28px); line-height: 1.3; font-weight: 600; max-width: 16em; }
.cover-card { flex: 1 1 420px; min-width: 0; max-width: 600px; }
/* cards removed: hero text spans full width, industry cover stays typographic */
.hero-text { flex-basis: 100%; }
.hero-text .h1-home { font-size: clamp(38px, 3.4vw + 20px, 68px); max-width: 14em; }
.hero-text .lead { max-width: 40em; }

/* ---- photos v1 ---- */
.hero-photo { margin: clamp(40px, 4vw, 64px) 0 0; aspect-ratio: 21 / 8; overflow: hidden; background: var(--paper-alt); }
.hero-photo img, .tile-photo img, .cover-photo img, .cap-item .thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 720px) { .hero-photo { aspect-ratio: 4 / 3; } }
.cap-item { align-items: center; }
.cap-item .thumb { flex: 0 0 120px; height: 80px; overflow: hidden; background: var(--paper-alt); align-self: flex-start; }
.cap-item .n { align-self: flex-start; padding-top: 6px; }
.cap-item .body { align-self: center; }
@media (max-width: 600px) { .cap-item { gap: 16px; } .cap-item .thumb { flex-basis: 80px; height: 56px; } .cap-item .n { display: none; } }
.tile-photo { display: block; aspect-ratio: 16 / 9; overflow: hidden; margin: 0 0 20px; background: var(--paper-alt); }
.tile-photo img { transition: transform .4s ease; }
.tile:hover .tile-photo img { transform: scale(1.03); }
.tile { border-top: 0; padding-top: 0; }
@media (prefers-reduced-motion: reduce) { .tile-photo img { transition: none; } }
.cover .cover-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px 48px; align-items: end; width: 100%; }
.cover-photo { margin: 0; aspect-ratio: 3 / 2; overflow: hidden; background: var(--paper); }
@media (max-width: 900px) { .cover .cover-grid { grid-template-columns: 1fr; } .cover-photo { order: -1; } }
.strip li strong { overflow-wrap: anywhere; }
.card h2 a { color: inherit; text-decoration: none; }
.card h2 a:hover { color: var(--red); }
.strip li { justify-content: flex-start; }
.strip.c4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }

/* ---- type scale v3: stronger hierarchy ---- */
.h1-home { font-size: clamp(40px, 3.8vw + 22px, 80px); line-height: 1.04; letter-spacing: -0.025em; }
.h1 { font-size: clamp(36px, 2.8vw + 18px, 64px); line-height: 1.06; letter-spacing: -0.02em; }
.h2 { font-size: clamp(30px, 1.9vw + 18px, 48px); line-height: 1.1; letter-spacing: -0.015em; }
.h2.section-h2 { margin-bottom: 36px; }
.section-head p, .split .b > .lead:first-child { margin-top: 6px; }
.lead { font-size: 21px; line-height: 33px; }
.statement { font-size: clamp(24px, 1vw + 16px, 32px); }
.svc-card .promise { font-size: clamp(22px, 0.6vw + 16px, 26px); }
.cap-item .name { font-size: clamp(24px, 1.2vw + 16px, 34px); }
.strip strong, .card h2 { font-size: clamp(24px, 0.8vw + 18px, 30px); }
.field label { font-size: 13px; line-height: 18px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted); }
.field label .opt { text-transform: none; letter-spacing: 0; font-weight: 400; }
.field input, .field textarea, .field select { font-size: 19px; }
.consent, .form .consent label { font-size: 16px; line-height: 24px; color: var(--ink-muted); }
.faq h3 { font-size: 21px; }

/* ---- industries list on home: always expanded ---- */
.cap-item { color: var(--ink); align-items: flex-start; padding: 24px 0; }
.cap-item .n { padding-top: 10px; }
.cap-item .body { align-self: auto; }
.cap-item .promise { display: block; margin-top: 6px; font-size: 19px; line-height: 28px; color: var(--ink); }
.cap-item .tasks { max-height: none; opacity: 1; margin-top: 6px; font-size: 16px; line-height: 24px; color: var(--ink-muted); transition: none; }
.cap-item .arr { opacity: 1; align-self: center; }
.cap-item:hover .name, .cap-item:focus-visible .name { color: var(--red); }
.cap-item .thumb { height: 96px; flex-basis: 144px; }
@media (max-width: 600px) { .cap-item .thumb { flex-basis: 88px; height: 62px; } .cap-item .arr { display: none; } }

/* ---- privacy policy body ---- */
.legal article section { margin-bottom: 40px; }
.legal article section p { margin: 0 0 14px; }
.legal article .legal-list { margin: 0 0 14px; padding-left: 22px; }
.legal article .legal-list li { margin-bottom: 6px; }
.legal article .legal-list li::marker { color: var(--red); }
.legal article .legal-list { list-style: disc; }
.strip.pstrip li { min-height: 104px; justify-content: center; }

/* ---- industry page photo (replaces grey cover) ---- */
.ind-photo-sec { margin-top: clamp(32px, 3vw, 48px); }
.ind-photo { margin: 0; aspect-ratio: 21 / 8; overflow: hidden; background: var(--paper-alt); }
.ind-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 720px) { .ind-photo { aspect-ratio: 4 / 3; } }
.cover-left .huge + .cover-promise { margin-top: 16px; }

/* ---- partner / client strips: logo slot, type, website ---- */
.strip.pstrip li { min-height: 150px; justify-content: flex-start; }
.strip li .site { margin-top: auto; padding-top: 8px; font-size: 15px; line-height: 22px; color: var(--ink-muted); text-decoration: underline; text-underline-offset: 3px; }
.strip li .site:hover { color: var(--red); }
.logo-slot { display: flex; align-items: center; height: 56px; margin-bottom: 4px; }
.logo-slot img { max-height: 56px; max-width: 200px; width: auto; height: auto; object-fit: contain; }
/* partners strip adapts to 2–4 partners (GCP, Azure to come) */
.strip.pstrip { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }

/* ---- partner cards v2: larger logos, description, more air ---- */
.strip.pstrip li.pcard { padding: clamp(28px, 3vw, 44px); gap: 0; min-height: 0; }
.pcard .logo-slot { height: 84px; margin-bottom: 28px; }
.pcard .logo-slot img { max-height: 84px; max-width: 280px; }
.pcard strong { margin-bottom: 20px; }
.pcard .ptype { font-size: 13px; line-height: 18px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--red); margin: 0 0 8px; }
.pcard .pdesc { font-size: 17px; line-height: 26px; color: var(--ink); margin: 0 0 20px; max-width: 34em; }
.pcard .site { margin-top: auto; padding-top: 0; }
.pcard .pfor { font-size: 13px; line-height: 18px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted); margin: 4px 0 10px; }
.pcard .ppoints { list-style: none; margin: 0 0 24px; padding: 0; border-top: 1px solid var(--line); }
.pcard .ppoints li { position: relative; padding: 10px 0 10px 22px; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 24px; color: var(--ink); }
.pcard .ppoints li::before { content: "→"; position: absolute; left: 0; top: 10px; color: var(--red); }
.pcard .pdesc { margin-bottom: 24px; }
.strip .pcard .ppoints li { display: block; min-height: 0; border-right: 0; border-left: 0; padding: 10px 0 10px 22px; gap: 0; }
.pcard .ptype + .site { margin-top: 4px; }

/* ---- website links in partner cards ---- */
.strip li a.site, .pcard a.site, .card a.site { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding: 9px 14px; border: 1px solid var(--ink); font-size: 15px; line-height: 20px; font-weight: 600; color: var(--ink); text-decoration: none; transition: background .15s ease, color .15s ease, border-color .15s ease; }
.strip li a.site .site-arr, .card a.site .site-arr { color: var(--red); transition: transform .15s ease, color .15s ease; }
.strip li a.site:hover, .strip li a.site:focus-visible, .card a.site:hover, .card a.site:focus-visible { background: var(--red); border-color: var(--red); color: #fff; }
.strip li a.site:hover .site-arr, .strip li a.site:focus-visible .site-arr, .card a.site:hover .site-arr, .card a.site:focus-visible .site-arr { color: #fff; transform: translate(2px, -2px); }
@media (prefers-reduced-motion: reduce) { .strip li a.site, .strip li a.site .site-arr { transition: none; } }
.card .site-row { border: 0; padding-top: 20px; } .card .site-row dd { margin: 0; }

/* ---- type scale v4: no text below 15px, secondary text 17px ---- */
.caps, .meta, .footer-cols .caps, .toc .n { font-size: 15px; line-height: 20px; letter-spacing: 0.06em; }
.tbl .th, .uc .th { font-size: 15px; line-height: 20px; }
.field label, .pcard .ptype, .pcard .pfor { font-size: 14px; line-height: 20px; letter-spacing: 0.07em; }
.field label .opt { font-size: 14px; }
.tbl .td, .tbl .td[data-l]::before { font-size: 18px; line-height: 27px; }
.tbl .td.first { font-size: 20px; line-height: 27px; }
.cap-item .tasks, .tile .tasks, .note, .uc-note, .strip span, .consent, .form .consent label, .footer-cols, .footer-cols nav a, .footer-cols .follow a, .small-link, .pcard .ppoints li, .ppoints li, .card dd { font-size: 17px; line-height: 26px; }
.pcard .pdesc { font-size: 18px; line-height: 28px; }
.svc-card .more, .tile .more, .toc a, .menu-btn .label { font-size: 16px; line-height: 22px; }
.strip li a.site, .pcard a.site, .card a.site { font-size: 16px; line-height: 20px; padding: 10px 16px; }
.footer-legal, .footer-legal a { font-size: 15px; line-height: 22px; }
.hero .runs, .hero-copy .runs { font-size: 17px; line-height: 26px; }
.faq dd, .faq p { font-size: 18px; line-height: 28px; }
/* unordered lists use the same arrow marker everywhere */
.legal article .legal-list { list-style: none; padding-left: 0; }
.legal article .legal-list li { position: relative; padding-left: 24px; }
.legal article .legal-list li::before { content: "→"; position: absolute; left: 0; color: var(--red); }
.card dt, .menu-btn .label, .menu-btn span { font-size: 15px; line-height: 20px; }

/* ---- markers v2: square bullet for unordered lists, Lucide icon in site links ---- */
.pcard .ppoints li::before, .checklist li::before, .legal article .legal-list li::before { content: ""; width: 7px; height: 7px; background: var(--red); top: 0.62em; left: 2px; transform: none; }
.pcard .ppoints li { padding-left: 22px; }
.checklist li { padding-left: 26px; }
.legal article .legal-list li { padding-left: 22px; }
.strip li a.site, .pcard a.site, .card a.site { gap: 6px; }
.site .ico { color: var(--red); flex: 0 0 16px; transition: color .15s ease, transform .15s ease; }
.site:hover .ico, .site:focus-visible .ico { color: #fff; transform: translate(1px, -1px); }
.pcard .ppoints li::before { top: calc(10px + 0.5em); }
.checklist li::before { top: calc(16px + 0.55em); }
.legal article .legal-list li::before { top: 0.6em; }

/* ---- icons (Lucide) ---- */
.ico { display: inline-block; vertical-align: -0.18em; flex-shrink: 0; }
.cta-ico { margin-left: 2px; vertical-align: -0.2em; transition: transform .15s ease; }
a:hover .cta-ico, button:hover .cta-ico { transform: translateX(3px); }
.svc-card .svc-ico { color: var(--red); display: block; margin-bottom: 2px; }
.step-head { display: flex; align-items: center; justify-content: space-between; }
.step-ico { color: var(--red); }
.cell-ico { display: inline-block; vertical-align: -0.2em; margin-right: 10px; color: var(--red); }
.office-list { list-style: none; margin: 0; padding: 0; }
.office-list li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 18px; line-height: 28px; }
.office-list li:first-child { padding-top: 0; }
.office-list li > .ico { color: var(--red); margin-top: 3px; }
.office-list .contact-email { font-size: 22px; line-height: 28px; }
.office-link { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; font-weight: 600; font-size: 16px; text-decoration: none; border-bottom: 1px solid var(--line); }
.office-link:hover { color: var(--red); border-color: var(--red); }
.office-link .ico { color: var(--red); }
.cta-link .cta-ico, .big.contact .cta-ico { width: 22px; height: 22px; }
.btn .cta-ico { vertical-align: -0.22em; }
@media (prefers-reduced-motion: reduce) { .cta-ico { transition: none; } }
.office-list .contact-email { margin: 0; display: inline-block; }
.step-head { justify-content: flex-start; gap: 12px; margin-top: 4px; }
.step-head .big-n { font-size: 16px; line-height: 20px; }
.bignums li { display: flex; flex-direction: column; }
.bignums .fact-ico { color: var(--red); margin-bottom: 14px; }
.bignums .num { font-size: clamp(64px, 3.4vw + 36px, 96px); }
.bignums li { display: block; } .bignums .fact-ico { display: block; }
.bignums .num { font-size: clamp(72px, 4vw + 40px, 112px); }

/* ---- sticky header ---- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); }
.site-header.is-open { z-index: 60; }
[id] { scroll-margin-top: 96px; }
@media (max-width: 1079px) { [id] { scroll-margin-top: 80px; } .site-header.is-open .mobile-panel { max-height: calc(100vh - 72px); overflow-y: auto; } }

/* ---- client cards: rows aligned across the row (home strip + Work page) ---- */
/* Each card is a 3-row grid: title zone (2 lines, bottom-aligned) / description / button (bottom). The grid of cards
   uses subgrid where supported, so every row line is shared across cards in the same row. */
.strip.cstrip { grid-template-columns: repeat(5, minmax(0, 1fr)); grid-auto-rows: auto; }
.strip.cstrip li.ccard { display: grid; grid-template-rows: minmax(2.4em, auto) auto 1fr; align-content: start; gap: 0; min-height: 0; padding: 28px 24px; }
.strip.cstrip li.ccard > strong, .strip.cstrip li.ccard > .logo-slot { align-self: end; margin: 0; font-size: 24px; line-height: 1.2; }
.strip.cstrip li.ccard > .cdesc { margin-top: 12px; font-size: 16px; line-height: 24px; color: var(--ink-muted); }
.strip.cstrip li.ccard > a.site { align-self: end; justify-self: start; margin-top: 20px; }
@supports (grid-template-rows: subgrid) {
  .strip.cstrip li.ccard { grid-row: span 3; grid-template-rows: subgrid; }
}
@media (max-width: 1240px) { .strip.cstrip { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .strip.cstrip { grid-template-columns: minmax(0, 1fr); } .strip.cstrip li.ccard { display: flex; flex-direction: column; } .strip.cstrip li.ccard > strong { font-size: 24px; } }

.cards.wgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; }
.card.wcard { display: grid; grid-template-rows: minmax(2.4em, auto) auto 1fr; align-content: start; }
.card.wcard h2 { align-self: end; margin: 0; }
.card.wcard dl { margin-top: 16px; }
.card.wcard > a.site { align-self: end; justify-self: start; margin-top: 24px; }
@supports (grid-template-rows: subgrid) { .card.wcard { grid-row: span 3; grid-template-rows: subgrid; } }
@media (max-width: 760px) { .cards.wgrid { grid-template-columns: minmax(0, 1fr); } .card.wcard { display: flex; flex-direction: column; } .card.wcard > a.site { align-self: flex-start; } }
@media (max-width: 760px) {
  .strip.cstrip li.ccard, .card.wcard { align-items: flex-start; }
  .strip.cstrip li.ccard > strong, .strip.cstrip li.ccard > .logo-slot, .strip.cstrip li.ccard > a.site, .card.wcard h2, .card.wcard > a.site { align-self: flex-start; }
}
.legal-addr { display: block; margin-top: 10px; }
