/* latin-ext */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(/assets/fonts/Archivo-latin-ext-0.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(/assets/fonts/Archivo-latin-1.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/HankenGrotesk-latin-ext-2.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/HankenGrotesk-latin-3.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/HankenGrotesk-latin-ext-2.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/HankenGrotesk-latin-3.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/HankenGrotesk-latin-ext-2.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/HankenGrotesk-latin-3.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/IBMPlexMono-latin-ext-4.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/IBMPlexMono-latin-5.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/IBMPlexMono-latin-ext-6.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/IBMPlexMono-latin-7.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

  /* Layout: data-first. A wide hero whose ridge has seven peaks, one per service (data is the highest);
     cards only where something is an object (a service, a project, an example UI); duotone line icons in tinted tiles. */
  :root {
    --bg: #F2F4F1;
    --surface: #FFFFFF;
    --soft: #E6EBE7;
    --ink: #13201B;
    --muted: #55645D;
    --line: #D4DBD6;
    --accent: #1D4ED8;
    --accent-ink: #FFFFFF;
    --ok: #1F7A4D;
    --warn: #9A5B00;
    --bad: #B42318;

    --f-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
    --f-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
    --f-mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

    --r: 6px;
    --ctl-h: 2.75rem;
    --gutter: clamp(16px, 4vw, 40px);
  }
  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
      --bg: #0E1412; --surface: #151D1A; --soft: #1B2622; --ink: #E6ECE8; --muted: #93A29A;
      --line: #26312D; --accent: #8AA6FF; --accent-ink: #0E1412; --ok: #5CC28E; --warn: #E2B44A; --bad: #F2877C;
      color-scheme: dark;
    }
  }
  :root[data-theme="dark"] {
    --bg: #0E1412; --surface: #151D1A; --soft: #1B2622; --ink: #E6ECE8; --muted: #93A29A;
    --line: #26312D; --accent: #8AA6FF; --accent-ink: #0E1412; --ok: #5CC28E; --warn: #E2B44A; --bad: #F2877C;
    color-scheme: dark;
  }

  :root[data-lang="hu"] .en, :root[data-lang="en"] .hu { display: none !important; }

  * { box-sizing: border-box; }
  body { background: var(--bg); color: var(--ink); font: 400 16.5px/1.6 var(--f-body); -webkit-font-smoothing: antialiased; }
  a { color: inherit; }
  h1, h2, h3 { font-family: var(--f-display); margin: 0; text-wrap: balance; }
  h1 { font-size: clamp(2.2rem, 5.4vw, 4.25rem); font-weight: 720; font-stretch: 112%; letter-spacing: -0.028em; line-height: 1.02; }
  h2 { font-size: clamp(1.55rem, 3vw, 2.35rem); font-weight: 680; font-stretch: 108%; letter-spacing: -0.02em; line-height: 1.1; }
  h3 { font-size: 1.125rem; font-weight: 640; letter-spacing: -0.005em; line-height: 1.3; }
  p { margin: 0; }
  ul { margin: 0; }
  .wrap { max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
  .eyebrow { font: 500 12px/1.4 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
  .lead { font-size: clamp(1.06rem, 1.6vw, 1.2rem); line-height: 1.55; color: var(--muted); max-width: 62ch; }
  .dim { color: var(--muted); }
  .tn { font-variant-numeric: tabular-nums; }
  :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 3px; }
  [id^="services-"], [id^="portfolio-"], #capabilities { scroll-margin-top: 88px; }

  /* ---------- icons ---------- */
  .ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; display: block; }
  .ico .d { fill: color-mix(in srgb, var(--accent) 20%, transparent); stroke: var(--accent); }
  .tile {
    flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; color: var(--ink);
    background: linear-gradient(150deg, color-mix(in srgb, var(--accent) 14%, var(--surface)) 0%, var(--surface) 75%);
    border: 1px solid color-mix(in srgb, var(--accent) 24%, var(--line));
    box-shadow: 0 6px 16px -10px color-mix(in srgb, var(--accent) 60%, transparent);
    transition: transform .3s cubic-bezier(.2, .8, .2, 1);
  }
  .tile.lg { width: 60px; height: 60px; border-radius: 15px; }
  .tile.lg .ico { width: 28px; height: 28px; }
  .ci { display: inline-flex; color: var(--muted); }
  .ci .ico { width: 15px; height: 15px; stroke-width: 1.8; }
  @media (hover: hover) { a:hover .tile, .card:hover .tile { transform: rotate(-5deg) scale(1.05); } }

  /* ---------- controls: one height for inputs, selects and buttons ---------- */
  .btn, .ctl { height: var(--ctl-h); font: 500 15px/1.2 var(--f-body); border: 1px solid transparent; border-radius: var(--r); }
  .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding-inline: 18px; cursor: pointer;
    text-decoration: none; white-space: nowrap; font-weight: 600; background: transparent; color: var(--ink);
    transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .12s ease;
  }
  .btn:active { transform: scale(.97); }
  .btn-primary { background: var(--accent); color: var(--accent-ink); }
  .btn-primary:hover { background: color-mix(in srgb, var(--accent) 88%, var(--ink)); }
  .btn-ghost { border-color: var(--line); }
  .btn-ghost:hover { border-color: var(--muted); }
  .btn-icon { width: var(--ctl-h); padding: 0; }
  .btn .ico { width: 17px; height: 17px; }
  .ctl { width: 100%; padding-inline: 12px; background: var(--surface); color: var(--ink); border-color: var(--line); transition: border-color .15s ease, box-shadow .15s ease; }
  .ctl:hover { border-color: color-mix(in srgb, var(--muted) 60%, var(--line)); }
  .ctl:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
  .ctl[aria-invalid="true"] { border-color: var(--bad); }
  textarea.ctl { height: auto; min-height: 9rem; padding-block: 10px; line-height: 1.5; resize: vertical; }
  select.ctl { appearance: none; -webkit-appearance: none; padding-right: 36px; }
  .sel { position: relative; }
  .sel::after { content: ""; position: absolute; right: 14px; top: 50%; width: 7px; height: 7px; pointer-events: none; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: translateY(-70%) rotate(45deg); }
  .seg { display: inline-flex; }
  .seg .btn { border-color: var(--line); border-radius: 0; padding-inline: 12px; font: 500 13px/1.2 var(--f-mono); letter-spacing: .04em; }
  .seg .btn:first-child { border-radius: var(--r) 0 0 var(--r); }
  .seg .btn:last-child { border-radius: 0 var(--r) var(--r) 0; margin-left: -1px; }
  .seg .btn[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); position: relative; }

  /* ---------- header ---------- */
  .top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--bg) 86%, transparent); -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
  .top-in { display: flex; align-items: center; gap: 24px; padding-block: 10px; }
  .brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
  .glyph { width: 34px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
  .wm { font: 760 19px/1 var(--f-display); font-stretch: 118%; letter-spacing: -0.02em; }
  .wm-it { font: 500 11px/1 var(--f-mono); letter-spacing: .1em; color: var(--muted); border: 1px solid var(--line); padding: 3px 5px; border-radius: 3px; }
  .nav { display: flex; gap: 2px; margin-left: 8px; }
  .nav a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; padding: 8px 12px; border-radius: var(--r); color: var(--muted); font-weight: 500; font-size: 15px; transition: color .15s ease, background-color .15s ease; }
  .nav a:hover, .nav a[aria-current="page"] { color: var(--ink); background: var(--soft); }
  .top-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
  .menu-btn { display: none; }
  .menu-btn svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.8; fill: none; stroke-linecap: round; }
  #mnav { border-top: 1px solid var(--line); }
  #mnav nav { display: grid; padding-block: 8px 16px; }
  #mnav a { display: flex; align-items: center; gap: 10px; padding: 12px 4px; text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--line); }
  #mnav a:last-child { border-bottom: 0; }
  @media (max-width: 860px) { .nav, .top-cta { display: none; } .menu-btn { display: inline-flex; } }

  /* ---------- pages ---------- */
  main[data-page]:not([hidden]) { animation: rise .34s cubic-bezier(.2, .8, .2, 1); }
  @keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
  .section { padding-block: clamp(56px, 8vw, 104px); }
  .section + .section { border-top: 1px solid var(--line); }
  .section-head { display: grid; gap: 14px; margin-bottom: clamp(28px, 4vw, 44px); max-width: 720px; }
  .head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 32px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 44px); }
  .head-row .section-head { margin-bottom: 0; }
  .more { font: 500 13.5px/1.2 var(--f-mono); color: var(--accent); text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
  .more:hover { text-decoration: underline; text-underline-offset: 3px; }
  .page-head { padding-block: clamp(48px, 7vw, 80px) clamp(28px, 4vw, 40px); display: grid; gap: 20px; }
  .page-head h1 { font-size: clamp(2rem, 4.6vw, 3.5rem); max-width: 20ch; }

  /* home hero + ridge */
  .hero { padding-block: clamp(48px, 7vw, 88px) 0; display: grid; gap: 28px; }
  .hero h1 { max-width: 19ch; }
  .hero-row { display: flex; gap: 28px 48px; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; }
  .hero-row .lead { flex: 1 1 420px; min-width: 0; }
  .cta-row { display: flex; gap: 10px; flex-wrap: wrap; }
  .ridge-wrap { padding-block: 28px 0; }
  #ridge { display: block; width: 100%; height: auto; overflow: visible; }
  #ridge .r-back { fill: var(--soft); }
  #ridge .r-fill { fill: url(#rg); }
  #ridge .r-line { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; }
  #ridge .r-base { stroke: var(--line); stroke-width: 1; }
  #ridge .r-tick { stroke: var(--muted); stroke-width: 1; stroke-dasharray: 2 3; }
  #ridge .r-dot { fill: var(--bg); stroke: var(--ink); stroke-width: 1.6; }
  #ridge .r-dot.top { fill: var(--accent); stroke: var(--accent); }
  #ridge .r-lbl { font: 500 13px var(--f-mono); fill: var(--ink); letter-spacing: .04em; }
  #ridge .ico { color: var(--ink); }
  #ridge a:hover .r-lbl { fill: var(--accent); }
  #ridge a:hover .r-tick { stroke: var(--accent); }
  .stop-a { stop-color: var(--ink); stop-opacity: .08; }
  .stop-b { stop-color: var(--ink); stop-opacity: 0; }
  @media (prefers-reduced-motion: no-preference) {
    #ridge .r-line { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.6s cubic-bezier(.3, .7, .2, 1) .1s forwards; }
    #ridge .r-marks { animation: fade .5s ease 1.1s both; }
  }
  @keyframes draw { to { stroke-dashoffset: 0; } }
  @keyframes fade { from { opacity: 0; } to { opacity: 1; } }
  @media (max-width: 720px) { #ridge .r-marks text, #ridge .r-tick, #ridge .r-marks svg { display: none; } }

  /* source-to-decision flow */
  .flow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
  .flow-steps { list-style: none; padding: 0; display: grid; gap: 0; counter-reset: f; }
  .flow-steps li { counter-increment: f; display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); gap: 2px 14px; padding-block: 16px; border-top: 1px solid var(--line); }
  .flow-steps li:first-child { border-top: 2px solid var(--ink); }
  .flow-steps li::before { content: counter(f, decimal-leading-zero); grid-row: span 2; font: 500 12px/1.9 var(--f-mono); color: var(--muted); letter-spacing: .06em; }
  .flow-steps p { color: var(--muted); font-size: 15.5px; }
  @media (max-width: 900px) { .flow { grid-template-columns: minmax(0, 1fr); } }

  /* service cards */
  .card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; min-width: 0; transition: border-color .2s ease, transform .25s cubic-bezier(.2, .8, .2, 1); }
  a.card { text-decoration: none; display: block; }
  @media (hover: hover) { a.card:hover { border-color: var(--muted); transform: translateY(-2px); } }
  .svc-feature { display: grid !important; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 28px 48px; padding: clamp(24px, 3.5vw, 36px); margin-bottom: 16px; }
  .svc-feature .l { display: grid; gap: 16px; align-content: start; }
  .svc-feature h3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); font-stretch: 108%; }
  .svc-feature p { color: var(--muted); }
  .ticks { list-style: none; padding: 0; display: grid; gap: 10px; align-content: start; }
  .ticks li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; font-size: 15.5px; }
  .ticks li::before { content: ""; width: 10px; height: 6px; margin-top: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
  .svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .svc-grid .card { display: grid; gap: 12px; align-content: start; padding: 24px; }
  .svc-grid p { color: var(--muted); font-size: 15.5px; }
  .go { font: 500 13px/1.2 var(--f-mono); color: var(--accent); }
  @media (max-width: 900px) { .svc-feature { grid-template-columns: minmax(0, 1fr); } .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  @media (max-width: 600px) { .svc-grid { grid-template-columns: minmax(0, 1fr); } }

  /* work cards */
  .work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .work-grid .card { display: grid; grid-template-rows: auto auto 1fr auto; gap: 12px; padding: 24px; }
  .sector { font: 500 11.5px/1.3 var(--f-mono); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
  .work-grid p { color: var(--muted); font-size: 15.5px; }
  @media (max-width: 900px) { .work-grid { grid-template-columns: minmax(0, 1fr); } }

  .tags { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; list-style: none; }
  .tags li { display: inline-flex; align-items: center; gap: 6px; font: 400 12px/1 var(--f-mono); color: var(--muted); border: 1px solid var(--line); border-radius: 5px; padding: 5px 8px; background: var(--surface); }

  /* models + principles */
  .models { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  @media (max-width: 1080px) { .models { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

  /* talent */
  .tile.sm { width: 36px; height: 36px; border-radius: 10px; box-shadow: none; }
  .tile.sm .ico { width: 18px; height: 18px; }
  .talent-teaser { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px clamp(32px, 5vw, 64px); align-items: center; }
  .role-chips { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .role-chips li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); font-weight: 500; font-size: 15px; min-width: 0; }
  @media (max-width: 900px) { .talent-teaser { grid-template-columns: minmax(0, 1fr); } }
  @media (max-width: 460px) { .role-chips { grid-template-columns: minmax(0, 1fr); } }
  .facts { display: flex; flex-wrap: wrap; gap: 10px 28px; padding: 0; margin: 4px 0 0; list-style: none; }
  .facts li { display: grid; gap: 2px; }
  .facts b { font: 700 clamp(1.4rem, 2.4vw, 1.9rem)/1.1 var(--f-display); font-stretch: 110%; letter-spacing: -0.02em; }
  .facts span { font: 500 11.5px/1.3 var(--f-mono); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
  .model-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .model-pair .card { display: grid; gap: 14px; align-content: start; padding: clamp(24px, 3vw, 32px); }
  .model-pair p { color: var(--muted); }
  @media (max-width: 860px) { .model-pair { grid-template-columns: minmax(0, 1fr); } }
  .roles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .roles .card { display: grid; gap: 10px; align-content: start; padding: 20px; }
  .roles p { color: var(--muted); font-size: 14.5px; }
  @media (max-width: 1000px) { .roles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  @media (max-width: 520px) { .roles { grid-template-columns: minmax(0, 1fr); } }
  .prof { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 4px 14px; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .prof:last-child { border-bottom: 0; }
  .prof .av { grid-row: span 2; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font: 600 13px/1 var(--f-mono); color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, var(--surface)); border: 1px solid color-mix(in srgb, var(--accent) 25%, var(--line)); }
  .prof b { font-weight: 600; font-size: 15px; }
  .prof .meta { grid-column: 2 / -1; font: 400 12.5px/1.4 var(--f-mono); color: var(--muted); }
  .models > div { display: grid; gap: 10px; align-content: start; padding: 24px; border: 1px solid var(--line); border-top: 2px solid var(--accent); border-radius: 4px 4px 12px 12px; background: var(--surface); min-width: 0; }
  .models p { color: var(--muted); font-size: 15.5px; }
  @media (max-width: 860px) { .models { grid-template-columns: minmax(0, 1fr); } }
  .princ { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
  .princ div { display: grid; gap: 10px; align-content: start; min-width: 0; }
  .princ p { color: var(--muted); font-size: 15.5px; }
  .princ .k { font: 500 12px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
  @media (max-width: 960px) { .princ { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  @media (max-width: 560px) { .princ { grid-template-columns: minmax(0, 1fr); } }

  /* services page */
  .jump { display: flex; flex-wrap: wrap; gap: 8px; }
  .jump a { display: inline-flex; align-items: center; gap: 8px; height: var(--ctl-h); padding-inline: 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); text-decoration: none; font: 500 15px/1.2 var(--f-body); transition: border-color .15s ease; }
  .jump a:hover { border-color: var(--muted); }
  .jump .ico { width: 17px; height: 17px; }
  .svc { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 24px clamp(32px, 5vw, 72px); padding-block: clamp(40px, 6vw, 64px); border-top: 1px solid var(--line); }
  .svc .l { display: grid; gap: 16px; align-content: start; }
  .svc .l p { color: var(--muted); }
  .svc .ticks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 28px; }
  @media (max-width: 860px) { .svc { grid-template-columns: minmax(0, 1fr); } }
  @media (max-width: 560px) { .svc .ticks { grid-template-columns: minmax(0, 1fr); } }

  /* portfolio */
  .filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
  .filters .btn { border-color: var(--line); background: var(--surface); font-weight: 500; padding-inline: 14px; }
  .filters .btn[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
  .filters .btn[aria-pressed="true"] .ico .d { fill: color-mix(in srgb, var(--bg) 25%, transparent); stroke: var(--bg); }
  .count { font: 400 13px/1 var(--f-mono); color: var(--muted); margin-left: 6px; }
  .case { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 32px clamp(32px, 5vw, 64px); padding-block: clamp(44px, 6vw, 72px); border-top: 1px solid var(--line); align-items: start; }
  .case .l { display: grid; gap: 18px; }
  .case .title { display: flex; gap: 16px; align-items: center; }
  .case h2 { font-size: clamp(1.45rem, 2.6vw, 2rem); }
  .case .sector { display: block; margin-top: 4px; }
  .case .challenge { color: var(--muted); font-size: 1.05rem; max-width: 58ch; }
  .case h4 { margin: 4px 0 0; font: 500 11.5px/1.2 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
  @media (max-width: 960px) { .case { grid-template-columns: minmax(0, 1fr); } }
  .small-cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .small-cases .card { display: grid; grid-template-rows: auto auto 1fr auto; gap: 12px; padding: 24px; }
  .small-cases p { color: var(--muted); font-size: 15.5px; }
  @media (max-width: 960px) { .small-cases { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  @media (max-width: 600px) { .small-cases { grid-template-columns: minmax(0, 1fr); } }
  .empty { margin-block: 32px; padding: 32px; border: 1px dashed var(--line); border-radius: 12px; color: var(--muted); text-align: center; }

  /* example cards */
  .ex { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; min-width: 0; box-shadow: 0 1px 0 var(--line), 0 18px 40px -28px color-mix(in srgb, var(--ink) 40%, transparent); }
  .ex-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); font: 500 12.5px/1.3 var(--f-mono); }
  .chip { font: 500 11px/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); border: 1px dashed var(--line); padding: 4px 6px; border-radius: 4px; white-space: nowrap; }
  .ex-rows { list-style: none; padding: 0; }
  .ex-rows li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
  .ex-rows li:last-child { border-bottom: 0; }
  .ex-rows .sub { grid-column: 1 / -1; font: 400 12.5px/1.35 var(--f-mono); color: var(--muted); }
  .ex-rows .desc { display: block; color: var(--muted); font-size: 13.5px; }
  .ex-rows b { font: 500 13.5px/1.4 var(--f-mono); }
  .ex-f { padding: 11px 16px; background: var(--soft); font: 400 12.5px/1.4 var(--f-mono); color: var(--muted); }
  .pill { display: inline-flex; align-items: center; gap: 6px; font: 500 12px/1 var(--f-mono); padding: 5px 8px; border-radius: 99px; white-space: nowrap; }
  .pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
  .p-ok { color: var(--ok); background: color-mix(in srgb, var(--ok) 13%, transparent); }
  .p-warn { color: var(--warn); background: color-mix(in srgb, var(--warn) 15%, transparent); }
  .prog { padding: 14px 16px; border-bottom: 1px solid var(--line); display: grid; gap: 8px; font: 400 12.5px/1.3 var(--f-mono); color: var(--muted); }
  .prog .bar { height: 6px; border-radius: 99px; background: var(--soft); overflow: hidden; }
  .prog .bar i { display: block; height: 100%; width: 80%; background: var(--accent); border-radius: inherit; }
  .prog .row { display: flex; justify-content: space-between; gap: 12px; }
  .lin { list-style: none; padding: 18px 16px; margin: 0; display: grid; }
  .lin > li { position: relative; padding: 0 0 18px 26px; display: grid; gap: 4px; }
  .lin > li:last-child { padding-bottom: 0; }
  .lin > li::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: -8px; width: 1px; background: var(--line); }
  .lin > li:last-child::before { display: none; }
  .lin > li::after { content: ""; position: absolute; left: 0; top: 5px; width: 11px; height: 11px; border-radius: 50%; background: var(--surface); border: 1.5px solid var(--accent); }
  .lin .lv { font: 500 11px/1.2 var(--f-mono); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
  .lin .nm { font: 500 14px/1.4 var(--f-mono); overflow-wrap: anywhere; }
  .lin .src { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 6px; }
  .lin .src li { font: 400 13px/1.35 var(--f-mono); border: 1px solid var(--line); border-radius: 5px; padding: 7px 9px; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
  .lin .src span:last-child { color: var(--muted); }
  .tbl-wrap { overflow-x: auto; }
  .tbl { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 470px; }
  .tbl th { text-align: left; font: 500 11px/1.2 var(--f-mono); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); padding: 10px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
  .tbl td { padding: 11px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; font-variant-numeric: tabular-nums; }
  .tbl tr:last-child td { border-bottom: 0; }
  .tbl td:first-child { font-family: var(--f-mono); font-size: 13.5px; }
  .tbl .r { text-align: right; }
  .tbl .warn { color: var(--warn); font-weight: 600; }
  .tbl .okc { color: var(--ok); }

  /* CTA band */
  .band { background: var(--ink); color: var(--bg); }
  .band-in { display: flex; align-items: center; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; padding-block: clamp(44px, 6vw, 72px); }
  .band h2 { max-width: 24ch; }
  .band p { color: color-mix(in srgb, var(--bg) 70%, var(--ink)); margin-top: 10px; max-width: 52ch; }
  .band .btn { background: var(--bg); color: var(--ink); }
  .band .btn:hover { background: color-mix(in srgb, var(--bg) 88%, var(--ink)); }

  /* contact */
  .contact { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 80px); padding-block: clamp(48px, 7vw, 88px); align-items: start; }
  .contact-l { display: grid; gap: 28px; }
  .direct { display: grid; border-top: 1px solid var(--line); margin: 0; }
  .direct > div { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr) auto; gap: 12px; align-items: center; padding-block: 12px; border-bottom: 1px solid var(--line); min-height: calc(var(--ctl-h) + 24px); }
  .direct dt { font: 500 11.5px/1.2 var(--f-mono); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
  .direct dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; user-select: all; }
  .ph { text-decoration: underline dashed color-mix(in srgb, var(--muted) 70%, transparent); text-underline-offset: 4px; text-decoration-thickness: 1px; }
  .next { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; counter-reset: n; }
  .next li { counter-increment: n; display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: 4px 12px; }
  .next li::before { content: counter(n); grid-row: span 2; width: 1.75rem; height: 1.75rem; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font: 500 12px/1 var(--f-mono); color: var(--muted); }
  .next b { font-weight: 600; }
  .next span { color: var(--muted); font-size: 15px; }
  .formcard { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: clamp(20px, 3vw, 32px); }
  .fgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
  .fgrid .full { grid-column: 1 / -1; }
  .field { display: grid; gap: 6px; align-content: start; min-width: 0; }
  .field label { font-weight: 600; font-size: 14px; }
  .field label .opt { font-weight: 400; color: var(--muted); }
  .err { font-size: 13.5px; color: var(--bad); }
  .err:empty { display: none; }
  .check { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; align-items: start; font-size: 14.5px; color: var(--muted); }
  .check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent); }
  .form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
  .form-foot small { color: var(--muted); font-size: 13px; }
  .sent { display: grid; gap: 14px; justify-items: start; padding-block: 24px; }
  .sent .tick { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--ok) 15%, transparent); color: var(--ok); }
  .sent .tick svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
  .sent p { color: var(--muted); max-width: 46ch; }
  @media (max-width: 960px) { .contact { grid-template-columns: minmax(0, 1fr); } }
  @media (max-width: 560px) {
    .fgrid { grid-template-columns: minmax(0, 1fr); }
    .direct > div { grid-template-columns: minmax(0, 1fr) auto; }
    .direct dt { grid-column: 1 / -1; }
  }

  /* footer */
  .foot { border-top: 1px solid var(--line); padding-block: 48px 32px; font-size: 14.5px; }
  .foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.3fr 1fr; gap: 32px; }
  .foot-grid > div { display: grid; gap: 8px; align-content: start; min-width: 0; }
  .foot h4 { margin: 0 0 4px; font: 500 11.5px/1.2 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
  .foot a { text-decoration: none; color: var(--ink); }
  .foot a:hover { text-decoration: underline; text-underline-offset: 3px; }
  .foot .m { color: var(--muted); }
  .foot-bot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font: 400 12.5px/1.5 var(--f-mono); }
  @media (max-width: 860px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  @media (max-width: 480px) { .foot-grid { grid-template-columns: minmax(0, 1fr); } }

  @media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

  html, body { margin: 0; }
  [hidden] { display: none !important; }
  img { max-width: 100%; }
  .btn:disabled { opacity: .6; cursor: progress; }
  .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
  .prose { max-width: 72ch; display: grid; gap: 14px; padding-block: clamp(40px, 6vw, 72px); }
  .prose h1 { font-size: clamp(2rem, 4.4vw, 3rem); }
  .prose h2 { font-size: 1.3rem; margin-top: 18px; }
  .prose p, .prose li { color: var(--muted); }
  .prose ul { padding-left: 1.2em; display: grid; gap: 6px; }
  .prose a { color: var(--accent); }
  .prose table { border-collapse: collapse; width: 100%; font-size: 15px; }
  .prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
  .prose th { font: 500 11.5px/1.3 var(--f-mono); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
  .prose td { color: var(--ink); }
  .tbl-scroll { overflow-x: auto; }

  /* example cards removed: these sections are one column now */
  .flow { grid-template-columns: minmax(0, 1fr); max-width: 820px; }
  .case { grid-template-columns: minmax(0, 1fr); }
  .case .l { max-width: 980px; }
  @media (min-width: 900px) { .case .ticks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 32px; } }

  /* review 2026-10-10: buttons under the intro, staffing line, status labels */
  .hero-row { display: grid; gap: 22px; justify-content: start; align-items: start; }
  .hero-row .lead { max-width: 64ch; }
  .hero-staff { color: var(--muted); font-size: 15.5px; max-width: 64ch; }
  .hero-staff a { color: var(--accent); font-weight: 600; text-decoration: none; white-space: nowrap; }
  .hero-staff a:hover { text-decoration: underline; text-underline-offset: 3px; }
  .pf-note { font: 400 13px/1.4 var(--f-mono); color: var(--muted); }
  .status { display: inline-flex; align-items: center; gap: 6px; margin: 6px 0 0; padding: 4px 8px; border-radius: 99px;
    font: 500 11.5px/1 var(--f-mono); letter-spacing: .03em; border: 1px solid var(--line); color: var(--muted); width: fit-content; }
  .status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
  .st-live { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 35%, var(--line)); }
  .st-dev { color: var(--warn); border-color: color-mix(in srgb, var(--warn) 35%, var(--line)); }
  .case .title > div { display: grid; gap: 2px; justify-items: start; }
  .small-cases .status { margin-top: -4px; }
