.design-concept-preview {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 100;
  width: min(300px, calc(100vw - 40px));
  padding: 12px;
  border: 1px solid var(--theme-border, #34495e);
  border-radius: 12px;
  background: var(--theme-surface, #ffffff);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.24);
  color: var(--theme-text, #263746);
  font-family: system-ui, sans-serif;
}

.design-concept-preview summary {
  cursor: pointer;
  color: var(--theme-heading, #005a8c);
  font-weight: 700;
}

.design-concept-preview-list {
  display: grid;
  gap: 6px;
  margin-top: 12px;
}

.design-concept-preview-option {
  padding: 8px;
  border: 1px solid var(--theme-border, #34495e);
  border-radius: 6px;
  background: var(--theme-surface-muted, #f5f5f5);
  color: var(--theme-text, #263746);
  font-size: 13px;
}

.design-concept-preview-option:hover,
.design-concept-preview-option[aria-current="page"] {
  border-color: var(--theme-heading, #005a8c);
  background: var(--theme-menu-highlight, rgba(0, 90, 140, 0.1));
  color: var(--theme-heading, #005a8c);
}

.contact-dialog {
    --contact-surface: var(--theme-surface, #ffffff);
    --contact-text: var(--theme-text, #24394a);
    --contact-heading: var(--theme-heading, #005a8c);
    --contact-border: color-mix(in srgb, var(--contact-heading) 28%, transparent);
    --contact-muted: color-mix(in srgb, var(--contact-text) 74%, transparent);
    --contact-success: color-mix(in srgb, var(--contact-heading) 76%, #16875a);
    width: min(680px, calc(100% - 32px));
    max-height: calc(100dvh - 32px);
    box-sizing: border-box;
    padding: clamp(24px, 5vw, 48px);
    overflow: auto;
    border: 1px solid var(--contact-border);
    border-radius: 12px;
    background: var(--contact-surface);
    color: var(--contact-text);
    box-shadow: 0 28px 90px rgba(0, 18, 42, 0.38);
}

.contact-dialog::backdrop {
    background: rgba(0, 18, 42, 0.72);
    backdrop-filter: blur(4px);
}

.contact-dialog-confirmation {
    overflow-y: hidden;
}

.contact-dialog-confirmation[data-contact-scrollable] {
    overflow-y: auto;
}

.contact-dialog-close {
    position: absolute;
    top: 10px;
    right: 14px;
    padding: 4px 9px;
    border: 0;
    background: transparent;
    color: var(--contact-muted);
    cursor: pointer;
    font-size: 28px;
    line-height: 1;
}

.contact-dialog-form,
.contact-dialog-form label {
    display: grid;
    gap: 9px;
}

.contact-dialog-form {
    gap: 22px;
}

.contact-dialog-heading {
    display: grid;
    gap: 10px;
    padding-right: 28px;
}

.contact-dialog-heading h2,
.contact-dialog-heading p,
.contact-dialog-status {
    margin: 0;
}

.contact-dialog-heading h2 {
    color: var(--contact-heading);
    font-size: clamp(28px, 4vw, 38px);
}

.contact-dialog-heading p,
.contact-dialog-status {
    color: var(--contact-muted);
    font-size: 16px;
    line-height: 1.5;
}

.contact-dialog-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.contact-dialog-form label > span {
    font-size: 14px;
    font-weight: 700;
}

.contact-dialog-form input,
.contact-dialog-form textarea {
    box-sizing: border-box;
    width: 100%;
    border: 1px solid var(--contact-border);
    border-radius: 6px;
    outline: 0;
    background: var(--contact-surface);
    color: var(--contact-text);
    font: inherit;
}

.contact-dialog-form input {
    min-height: 48px;
    padding: 0 14px;
}

.contact-dialog-form textarea {
    min-height: 160px;
    padding: 14px;
    resize: vertical;
}

.contact-dialog-form input:focus-visible,
.contact-dialog-form textarea:focus-visible {
    border-color: var(--contact-heading);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--contact-heading) 18%, transparent);
}

.contact-dialog-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

.contact-dialog-actions button,
.contact-dialog-success button {
    min-height: 46px;
    padding: 0 24px;
    border: 0;
    border-radius: 6px;
    background: var(--contact-heading);
    color: #ffffff;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
}

.contact-dialog-actions button:disabled,
.contact-dialog-success button:disabled {
    cursor: wait;
    opacity: 0.58;
}

.contact-dialog-actions a {
    overflow-wrap: anywhere;
    font-size: 14px;
}

.contact-dialog-status:empty {
    display: none;
}

.contact-dialog-status[data-state="error"] {
    color: #9a2737;
}

.contact-dialog-success {
    display: grid;
    min-height: min(430px, calc(100dvh - 130px));
    place-items: center;
    align-content: center;
    gap: 14px;
    padding: 20px clamp(0px, 4vw, 36px);
    text-align: center;
}

.contact-dialog-success-icon {
    display: grid;
    width: 76px;
    height: 76px;
    margin-bottom: 8px;
    place-items: center;
    border: 1px solid color-mix(in srgb, var(--contact-success) 42%, transparent);
    border-radius: 50%;
    background: color-mix(in srgb, var(--contact-success) 13%, var(--contact-surface));
    color: var(--contact-success);
    box-shadow: 0 14px 40px color-mix(in srgb, var(--contact-success) 18%, transparent);
}

.contact-dialog-success-icon svg {
    width: 38px;
    height: 38px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.5;
}

.contact-dialog-success-kicker,
.contact-dialog-success h2,
.contact-dialog-success-message {
    margin: 0;
}

.contact-dialog-success-kicker {
    color: var(--contact-success);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.contact-dialog-success h2 {
    max-width: 520px;
    color: var(--contact-heading);
    font-size: clamp(28px, 4vw, 38px);
    line-height: 1.12;
}

.contact-dialog-success-message {
    max-width: 460px;
    color: var(--contact-muted);
    font-size: 16px;
    line-height: 1.55;
}

.contact-dialog-success button {
    margin-top: 12px;
}

.contact-dialog-success button:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--contact-heading) 30%, transparent);
    outline-offset: 3px;
}

.contact-dialog-honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

@media (max-width: 600px) {
    .contact-dialog {
        width: calc(100% - 20px);
        max-height: calc(100dvh - 20px);
        padding: 28px 20px 24px;
    }

    .contact-dialog-grid {
        grid-template-columns: 1fr;
    }

    .contact-dialog-success {
        min-height: min(390px, calc(100dvh - 100px));
        padding-inline: 0;
    }
}

/* Onest variable, SIL Open Font License 1.1 (see ../fonts/OFL.txt). */
@font-face {
  font-family: "Onest";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/build/fonts/onest-cyrillic-ext-wght-normal.55ef23b5.woff2)
    format("woff2-variations");
  unicode-range:
    U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: "Onest";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/build/fonts/onest-cyrillic-wght-normal.6a40b716.woff2)
    format("woff2-variations");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Onest";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/build/fonts/onest-latin-ext-wght-normal.ac1c020e.woff2)
    format("woff2-variations");
  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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Onest";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/build/fonts/onest-latin-wght-normal.61e67dc1.woff2) format("woff2-variations");
  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;
}

/* Enterprise Editorial: tokens, then elements, then components. */
:root {
  color-scheme: light;
  --ground: #ffffff;
  --surface: #f3f6f8;
  --surface-strong: #e8edf1;
  --ink: #0f1419;
  --ink-2: #4a5560;
  --line: #e3e7ea;
  --line-strong: #bcc6cd;
  --control: #7a8792;
  --accent-text: #006a8e;
  --accent-text-hover: #004f6a;
  --cyan: #4dcfff;
  --cyan-hover: #26bdf2;
  --on-cyan: #071019;
  --band: #071019;
  --band-ink: #ffffff;
  --band-ink-2: #a3b0ba;
  --band-line: rgb(255 255 255 / 14%);
  --node: #ffffff;
  --flow-line: #006a8e;
  --focus: #006a8e;
  --selection: rgb(77 207 255 / 34%);
  --shadow-panel:
    0 1px 2px rgb(15 20 25 / 5%), 0 18px 40px -24px rgb(15 20 25 / 22%);
  --error: #a02b39;
  --theme-surface: var(--ground);
  --theme-text: var(--ink);
  --theme-heading: var(--ink);
  --header-h: 76px;
  --gutter: clamp(20px, 4.4vw, 64px);
  --radius-s: 8px;
  --radius: 10px;
  --radius-l: 16px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  font-family: Onest, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 100%;
  line-height: 1.6;
  font-synthesis: none;
  background: var(--ground);
  color: var(--ink);
  scrollbar-color: var(--line-strong) var(--ground);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

:root[data-color-theme="dark"] {
  color-scheme: dark;
  --ground: #0b1015;
  --surface: #121a21;
  --surface-strong: #18232c;
  --ink: #eef2f4;
  --ink-2: #a3b0ba;
  --line: #1f2a33;
  --line-strong: #34424e;
  --control: #6b7a86;
  --accent-text: #4dcfff;
  --accent-text-hover: #8adfff;
  --band: #05090d;
  --band-line: rgb(255 255 255 / 10%);
  --node: #0b1015;
  --flow-line: #4dcfff;
  --focus: #4dcfff;
  --selection: rgb(77 207 255 / 30%);
  --shadow-panel: 0 1px 2px rgb(0 0 0 / 30%);
  --error: #ffadb6;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-padding-top: calc(var(--anchor-offset, var(--header-h)) + 16px);
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-size: 1.0625rem;
  caret-color: var(--accent-text);
}

::selection {
  background: var(--selection);
  color: inherit;
}

button,
input,
textarea,
select,
summary {
  font: inherit;
}

a,
button,
summary {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

a {
  color: var(--accent-text);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

a:hover {
  color: var(--accent-text-hover);
  text-decoration-thickness: 2px;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

main:focus {
  outline: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

figure,
blockquote {
  margin: 0;
}

p {
  margin: 0 0 1.1em;
  color: var(--ink-2);
  text-wrap: pretty;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
  text-wrap: balance;
  overflow-wrap: break-word;
  hyphens: manual;
}

h1 > span,
h2 > span {
  display: block;
}

h1 {
  font-size: clamp(2.5rem, 1.6rem + 3.4vw, 4.5rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(2rem, 1.35rem + 2.3vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

h3 {
  font-size: 1.375rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

summary {
  cursor: pointer;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

.wrap {
  width: min(1312px, 100% - 2 * var(--gutter));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  flex: none;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: var(--radius-s);
  background: var(--cyan);
  color: var(--on-cyan);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}

.ee-shell {
  overflow-anchor: none;
}

/* Buttons and links */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius-s);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.button .icon {
  transition: transform 220ms var(--ease-out);
}

.button:hover .icon-arrow-right {
  transform: translateX(3px);
}

.button:hover .icon-arrow-down {
  transform: translateY(2px);
}

.button:hover .icon-arrow-left {
  transform: translateX(-3px);
}

.button-primary {
  background: var(--cyan);
  color: var(--on-cyan);
}

.button-primary:hover {
  background: var(--cyan-hover);
  color: var(--on-cyan);
  text-decoration: none;
}

.button-secondary {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--ink);
}

.button-secondary:hover {
  border-color: var(--ink);
  color: var(--ink);
  text-decoration: none;
}

.button-large {
  min-height: 56px;
  padding: 14px 24px;
  font-size: 1rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-weight: 600;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

.text-link:hover .icon-arrow-right {
  transform: translateX(3px);
}

.text-link .icon {
  transition: transform 220ms var(--ease-out);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: var(--ground);
  transition: border-color 200ms ease;
}

.site-header.transparent {
  border-bottom-color: transparent;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  color: var(--ink);
  text-decoration: none;
}

.brand:hover {
  color: var(--ink);
}

.mark {
  flex: none;
  width: 32px;
  height: 32px;
}

.mark-cell {
  fill: var(--cyan);
}

.mark-v {
  fill: #071019;
}

.brand-word {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: 1.375rem;
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1;
}

.brand-word span {
  color: var(--ink-2);
  font-size: 0.9375rem;
  font-weight: 400;
  letter-spacing: -0.005em;
}

.primary-nav ul {
  display: flex;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-nav a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: var(--radius-s);
  color: var(--ink-2);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.primary-nav a:hover {
  background: var(--surface);
  color: var(--ink);
}

.primary-nav a[aria-current="page"] {
  color: var(--ink);
}

.primary-nav a[aria-current="page"]::after {
  position: absolute;
  right: 12px;
  bottom: 6px;
  left: 12px;
  height: 2px;
  background: var(--accent-text);
  content: "";
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.language-switch {
  display: flex;
  align-items: center;
}

.header-actions > .language-switch a {
  display: grid;
  place-items: center;
  min-width: 40px;
  min-height: 44px;
  border-radius: var(--radius-s);
  color: var(--ink-2);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.header-actions > .language-switch a:hover {
  background: var(--surface);
  color: var(--ink);
}

.language-switch a[aria-current="page"] {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--accent-text);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-s);
  background: transparent;
  color: var(--ink);
}

.theme-toggle:hover {
  background: var(--surface);
}

.when-dark,
[data-color-theme="dark"] .when-light {
  display: none;
}

[data-color-theme="dark"] .when-dark {
  display: block;
}

.button-header {
  margin-left: 8px;
}

.menu {
  display: none;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 44px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-s);
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 600;
}

.menu-toggle:hover {
  border-color: var(--ink);
}

.when-open,
.menu[open] .when-closed {
  display: none;
}

.menu[open] .when-open {
  display: block;
}

.menu-panel {
  position: fixed;
  inset: var(--anchor-offset, var(--header-h)) 0 0;
  z-index: 29;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 8px var(--gutter) 32px;
  border-top: 1px solid var(--line);
  background: var(--ground);
}

html[data-ee-menu-open] {
  overflow: hidden;
}

.menu-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu-panel nav a {
  display: flex;
  align-items: center;
  min-height: 56px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.menu-panel nav a[aria-current="page"] {
  color: var(--accent-text);
}

.menu-settings {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 16px;
}

.menu-settings .language-switch {
  gap: 4px;
}

.menu-settings .language-switch a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border: 0;
  border-radius: var(--radius-s);
  color: var(--ink-2);
  font-size: 1rem;
  font-weight: 500;
}

.menu-settings .language-switch a[aria-current="page"] {
  color: var(--ink);
}

.theme-toggle-wide {
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  font-weight: 500;
}

html:not([data-ee-js]) .theme-toggle-wide {
  display: none;
}

.theme-toggle-wide .when-light,
[data-color-theme="dark"] .theme-toggle-wide .when-dark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.theme-toggle-wide .when-dark,
[data-color-theme="dark"] .theme-toggle-wide .when-light {
  display: none;
}

/* Hero */
.hero {
  display: flex;
  flex-direction: column;
  overflow: clip;
}

.hero-main {
  display: grid;
  flex: 1;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  column-gap: clamp(40px, 5vw, 88px);
  align-items: center;
  padding-block: clamp(56px, 9vh, 112px) clamp(48px, 7vh, 88px);
}

.hero-copy {
  min-width: 0;
}

.hero-proof {
  min-width: 0;
}

.hero-proof figcaption {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin-top: 14px;
  color: var(--ink-2);
  font-size: 0.875rem;
  line-height: 1.5;
}

.hero-proof .text-link {
  min-height: 40px;
  font-size: 0.9375rem;
}

.hero h1 {
  max-width: 13em;
  font-size: clamp(2.75rem, 1rem + 4.2vw, 5rem);
  line-height: 1.03;
  letter-spacing: -0.03em;
}

.hero h1 span {
  display: block;
}

.hero h1 .hero-title-second {
  color: var(--accent-text);
}

.hero-intro {
  max-width: 54ch;
  margin: clamp(24px, 3.4vh, 36px) 0 clamp(28px, 4.4vh, 44px);
  font-size: clamp(1.125rem, 1rem + 0.4vw, 1.3125rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Facts band */
.facts-band {
  background: var(--band);
  color: var(--band-ink);
}

.facts {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-block: 0;
  padding-block: clamp(28px, 4vh, 40px);
}

.fact {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 10px;
  padding-inline: 24px;
  border-left: 1px solid var(--band-line);
}

.fact:first-child {
  padding-left: 0;
  border-left: 0;
}

.fact dd {
  margin: 0;
  color: var(--band-ink);
  font-size: clamp(1.75rem, 1.25rem + 1.3vw, 2.5rem);
  font-weight: 600;
  font-variant-numeric: tabular-nums lining-nums;
  letter-spacing: -0.03em;
  line-height: 1;
  white-space: nowrap;
}

.fact dt {
  max-width: 24ch;
  color: var(--band-ink-2);
  font-size: 0.875rem;
  line-height: 1.4;
}

/* Sections */
.section {
  padding-block: clamp(72px, 9vw, 128px);
}

.section + .section {
  border-top: 1px solid var(--line);
}

.section-tinted,
.section-tinted + .section {
  border-top-color: transparent;
}

.section-tinted {
  background: var(--surface);
}

.section-head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px 32px;
  align-items: last baseline;
  margin-bottom: clamp(40px, 5vw, 72px);
}

.section-head h2 {
  grid-column: 1 / span 7;
  max-width: 18em;
}

.section-head > p,
.section-head > div {
  grid-column: 8 / -1;
  max-width: 46ch;
  margin: 0;
}

.section-head > div p:last-of-type {
  margin-bottom: 8px;
}

.section-head-flush {
  align-items: start;
  margin-bottom: 0;
}

.section-link {
  margin-top: 32px;
}

/* Services disclosure */
.services {
  border-top: 1px solid var(--ink);
}

.service {
  border-bottom: 1px solid var(--line-strong);
}

.service-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 104px;
  padding-block: 24px;
}

.service-summary:focus-visible {
  outline-offset: -2px;
}

.service-title {
  font-size: clamp(1.375rem, 1rem + 1.15vw, 2rem);
  letter-spacing: -0.025em;
  transition: color 180ms ease;
}

.service-summary:hover .service-title {
  color: var(--accent-text);
}

.service-toggle {
  display: grid;
  flex: none;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--ink);
  transition:
    background-color 220ms ease,
    border-color 220ms ease,
    color 220ms ease;
}

.service-toggle svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
}

.toggle-v {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 320ms var(--ease-out);
}

summary:hover .service-toggle {
  border-color: var(--ink);
}

details[open] > summary .service-toggle {
  border-color: var(--cyan);
  background: var(--cyan);
  color: var(--on-cyan);
}

details[open] > summary .toggle-v {
  transform: scaleY(0);
}

.service-detail {
  overflow: hidden;
}

.service-detail-inner {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px 32px;
  padding-bottom: 44px;
}

.service-body {
  grid-column: 1 / span 7;
  max-width: 62ch;
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.6;
}

.service-aside {
  grid-column: 9 / -1;
}

.service-aside h4 {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 600;
}

.service-scope,
.bullets {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.service-scope li,
.bullets li {
  position: relative;
  padding: 5px 0 5px 20px;
  color: var(--ink-2);
}

.service-scope li::before,
.bullets li::before {
  position: absolute;
  top: calc(5px + 0.8em - 3px);
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--cyan);
  content: "";
}

.service-outcome {
  margin: 0;
  color: var(--ink);
  font-weight: 500;
}

/* Work features */
.feature {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 40px 32px;
  align-items: start;
  padding-block: 56px;
  border-top: 1px solid var(--line);
}

.section-head + .feature {
  padding-top: 0;
  border-top: 0;
}

.feature:last-child {
  padding-bottom: 0;
}

.feature-copy {
  grid-column: 1 / span 5;
}

.feature-visual {
  grid-column: 6 / -1;
}

.feature h3 {
  margin-bottom: 20px;
  font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.125rem);
  letter-spacing: -0.028em;
}

.feature h3 a {
  color: inherit;
  text-decoration: none;
}

.feature h3 a:hover {
  color: var(--accent-text);
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.role {
  max-width: 60ch;
  margin-bottom: 28px;
  color: var(--ink);
}

.role-label {
  margin-right: 4px;
  color: var(--accent-text);
  font-weight: 600;
}

.role-large {
  font-size: clamp(1.125rem, 1rem + 0.4vw, 1.3125rem);
  line-height: 1.5;
}

.facts-list {
  margin: 0 0 28px;
  border-top: 1px solid var(--line);
}

.facts-list > div {
  display: grid;
  grid-template-columns: minmax(0, 9rem) minmax(0, 1fr);
  gap: 16px;
  padding-block: 14px;
  border-bottom: 1px solid var(--line);
}

.facts-list dt {
  color: var(--ink-2);
  font-size: 0.875rem;
  line-height: 1.5;
}

.facts-list dd {
  margin: 0;
  color: var(--ink);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.thumb {
  width: 176px;
  margin: 0;
}

.thumb img {
  width: 100%;
  aspect-ratio: 8 / 5;
  padding: 5px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-s);
  background: var(--ground);
  object-fit: cover;
  object-position: top;
}

.thumb figcaption,
.flow > figcaption {
  margin-top: 10px;
  color: var(--ink-2);
  font-size: 0.8125rem;
  line-height: 1.5;
}

/* System flow diagram */
.flow {
  container-type: inline-size;
}

.flow-panel {
  padding: clamp(12px, 4cqi, 40px);
  border-radius: var(--radius-l);
  background: var(--surface);
}

.section-tinted .flow-panel {
  background: var(--ground);
  box-shadow: var(--shadow-panel);
}

.flow-steps {
  display: grid;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.flow-step {
  position: relative;
  display: flex;
  min-width: 0;
}

.flow-node {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 10px;
  min-width: 0;
  padding: 9px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--node);
  overflow-wrap: anywhere;
  hyphens: auto;
}

.flow-node strong {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.3;
}

.flow-node strong::before {
  flex: none;
  width: 8px;
  height: 8px;
  margin-top: calc(0.65em - 4px);
  background: var(--cyan);
  content: "";
}

.flow-node > span {
  min-width: 0;
  color: var(--ink-2);
  font-size: 0.8125rem;
  line-height: 1.4;
}

.flow-link {
  position: absolute;
  top: calc(100% + 6.25px);
  left: calc(50% - 10px);
  width: 20px;
  height: 7.5px;
  overflow: visible;
  transform: rotate(90deg);
}

.flow-link path {
  fill: none;
  stroke: var(--flow-line);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
  vector-effect: non-scaling-stroke;
}

.flow-drop {
  display: none;
}

.flow-rail {
  position: relative;
  margin: 20px 0 0;
  padding: 9px 12px;
  border: 1px solid var(--flow-line);
  border-radius: var(--radius);
  background: var(--node);
  color: var(--ink);
  font-size: 0.8125rem;
  line-height: 1.45;
  text-align: center;
}

.flow-rail::before {
  position: absolute;
  bottom: 100%;
  left: 50%;
  height: 20px;
  border-left: 1.5px dashed var(--flow-line);
  content: "";
}

@container (min-width: 720px) {
  .flow-steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px;
  }

  .flow-node {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 6px;
    padding: 18px 14px;
  }

  .flow-link {
    top: calc(50% - 6px);
    right: -32px;
    left: auto;
    width: 32px;
    height: 12px;
    transform: none;
  }

  .flow-drop {
    position: absolute;
    top: 100%;
    left: 50%;
    display: block;
    height: 33px;
    border-left: 1.5px solid var(--flow-line);
    transform-origin: top;
  }

  .flow-rail {
    margin-top: 32px;
    padding: 14px 18px;
    font-size: 0.875rem;
  }

  .flow-rail::before {
    display: none;
  }
}

[data-flow-state="ready"] .flow-link path {
  stroke-dashoffset: 1;
}

[data-flow-state="ready"] .flow-drop {
  transform: scaleY(0);
}

[data-flow-state="drawn"] .flow-link path {
  transition: stroke-dashoffset 420ms var(--ease-out) var(--flow-delay, 0ms);
}

[data-flow-state="drawn"] .flow-link path + path {
  --flow-delay: calc(var(--flow-step-delay, 0ms) + 300ms);
}

[data-flow-state="drawn"] .flow-drop {
  transition: transform 360ms var(--ease-out) var(--flow-drop-delay, 0ms);
}

.flow-step:nth-child(1) {
  --flow-delay: 0ms;
  --flow-step-delay: 0ms;
  --flow-drop-delay: 1150ms;
}

.flow-step:nth-child(2) {
  --flow-delay: 360ms;
  --flow-step-delay: 360ms;
  --flow-drop-delay: 1230ms;
}

.flow-step:nth-child(3) {
  --flow-delay: 720ms;
  --flow-step-delay: 720ms;
  --flow-drop-delay: 1310ms;
}

.flow-step:nth-child(4) {
  --flow-drop-delay: 1390ms;
}

/* About and principles */
.about {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 40px 32px;
  align-items: start;
}

.about-copy {
  grid-column: 1 / span 6;
}

.about-copy h2 {
  margin-bottom: 32px;
}

.about-copy p {
  max-width: 60ch;
}

.principles {
  grid-column: 8 / -1;
  margin: 0;
  padding: 0;
  list-style: none;
}

.principles li {
  padding-block: 24px;
  border-top: 1px solid var(--line-strong);
}

.principles li:last-child {
  border-bottom: 1px solid var(--line-strong);
}

.principles h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.principles p {
  max-width: 52ch;
  margin: 0;
}

.principles-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.principles-row li,
.principles-row li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.link-list {
  grid-column: 8 / -1;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ink);
  list-style: none;
}

.link-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
  border-bottom: 1px solid var(--line-strong);
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.link-list a:hover {
  color: var(--accent-text);
}

.link-list a:hover .icon {
  transform: translateX(3px);
}

.link-list .icon {
  transition: transform 220ms var(--ease-out);
}

/* Inner page hero */
.page-hero {
  padding-block: clamp(64px, 8vw, 120px) clamp(56px, 6vw, 96px);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 17em;
}

.lead {
  max-width: 60ch;
  margin: 28px 0 0;
  font-size: clamp(1.125rem, 1rem + 0.4vw, 1.3125rem);
  line-height: 1.55;
}

.lead-secondary {
  margin-top: 16px;
  font-size: 1.0625rem;
}

.page-hero .hero-actions,
.jump-links {
  margin-top: 40px;
}

.jump-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.jump-links a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-s);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.jump-links a:hover {
  border-color: var(--ink);
}

.page-hero-band {
  padding-bottom: 0;
  border-bottom: 0;
}

.page-hero-band .facts-band {
  margin-top: clamp(56px, 6vw, 88px);
}

/* Case studies */
.case-head {
  max-width: 62rem;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.case-head h2 {
  margin-bottom: 24px;
}

.case-head .role {
  margin-bottom: 0;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 40px 32px;
  align-items: start;
}

.case-copy {
  grid-column: 1 / span 5;
}

.case-visual {
  grid-column: 6 / -1;
}

.case-lead {
  color: var(--ink);
}

.case-copy h3 {
  margin: 36px 0 14px;
  font-size: 1.125rem;
  letter-spacing: -0.015em;
}

.case-copy .facts-list {
  margin-top: 28px;
}

.evidence {
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  margin-top: 32px;
}

.thumb-large {
  width: auto;
}

.evidence-copy h3 {
  margin-bottom: 8px;
  font-size: 1rem;
}

.evidence-copy p {
  margin-bottom: 4px;
  font-size: 0.9375rem;
}

.legacy-media {
  margin-top: 32px;
  border-block: 1px solid var(--line-strong);
}

.legacy-media summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  color: var(--ink);
  font-weight: 600;
}

.legacy-media .service-toggle {
  width: 40px;
  height: 40px;
}

.legacy-media img {
  width: min(100%, 520px);
  margin: 8px 0 24px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-s);
}

.fine-print {
  max-width: 75ch;
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.fine-print p {
  font-size: 0.875rem;
}

/* Contact band */
.contact-band {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px 40px;
  margin-bottom: clamp(72px, 8vw, 112px);
  padding: clamp(28px, 4.4vw, 64px);
  overflow: hidden;
  border-radius: var(--radius-l);
  background: var(--surface);
}

.contact-band::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(
    55% 150% at 100% 100%,
    rgb(77 207 255 / 24%),
    transparent 72%
  );
  content: "";
}

.contact-band h2 {
  font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem);
}

.contact-band p {
  margin: 12px 0 0;
}

.section + .contact-band,
.section-tinted + .contact-band {
  margin-top: 0;
}

.section-tinted + .contact-band {
  margin-top: clamp(72px, 8vw, 112px);
}

/* Team */
.founder-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 40px 32px;
  align-items: start;
}

.portrait {
  grid-column: 1 / span 5;
}

.portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-l);
  background: var(--surface);
  object-fit: cover;
  object-position: 50% 18%;
}

.portrait figcaption {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 18px;
}

.portrait figcaption strong {
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.portrait figcaption span {
  color: var(--ink-2);
  font-size: 0.9375rem;
}

.founder-copy {
  grid-column: 7 / -1;
}

.founder-copy h2 {
  margin-bottom: 32px;
  font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.75rem);
}

.founder-copy p {
  max-width: 62ch;
}

.founder-copy .founder-lead {
  color: var(--ink);
  font-size: clamp(1.125rem, 1rem + 0.4vw, 1.25rem);
  line-height: 1.55;
}

.quote {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line-strong);
  quotes: "\201C" "\201D";
}

:lang(ru) .quote {
  quotes: "\00AB" "\00BB";
}

.quote p {
  margin-bottom: 16px;
  color: var(--ink);
  font-size: clamp(1.25rem, 1rem + 0.8vw, 1.625rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.4;
}

.quote p::before {
  content: open-quote;
}

.quote p::after {
  content: close-quote;
}

.quote footer {
  color: var(--ink-2);
  font-size: 0.875rem;
}

/* Footer */
.site-footer {
  --focus: var(--cyan);

  padding-block: clamp(64px, 8vw, 112px) 32px;
  background: var(--band);
  color: var(--band-ink);
}

[data-color-theme="dark"] .facts-band,
[data-color-theme="dark"] .site-footer {
  border-top: 1px solid var(--line);
}

.footer-contact {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 32px;
  align-items: end;
  padding-bottom: clamp(48px, 6vw, 72px);
  border-bottom: 1px solid var(--band-line);
}

.footer-contact h2 {
  grid-column: 1 / span 7;
  max-width: 15em;
  color: var(--band-ink);
  font-size: clamp(2rem, 1.25rem + 2.5vw, 3.5rem);
}

.footer-contact-actions {
  display: flex;
  grid-column: 8 / -1;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.footer-email {
  color: var(--cyan);
  font-size: clamp(1.25rem, 1rem + 0.9vw, 1.75rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}

.footer-email:hover {
  color: #8adfff;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 40px 32px;
  padding-block: 56px;
}

.footer-brand {
  grid-column: 1 / span 4;
}

.brand-footer,
.brand-footer:hover {
  color: var(--band-ink);
}

.brand-footer .brand-word span,
.footer-brand p {
  color: var(--band-ink-2);
}

.footer-brand p {
  margin: 16px 0 0;
  font-size: 0.9375rem;
}

.footer-nav {
  display: grid;
  grid-column: 6 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.footer-nav h3 {
  margin-bottom: 8px;
  color: var(--band-ink);
  font-size: 0.9375rem;
  letter-spacing: 0;
}

.footer-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--band-ink-2);
  font-size: 0.9375rem;
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--band-ink);
  text-decoration: underline;
}

.footer-legal {
  margin: 0;
  padding-top: 24px;
  border-top: 1px solid var(--band-line);
  color: var(--band-ink-2);
  font-size: 0.8125rem;
}

/* Shared analytics and privacy disclosure */
.footer-privacy {
  padding-block: 8px 16px;
  border-top: 1px solid var(--band-line);
}

.footer-privacy {
  overflow-wrap: anywhere;
}

.footer-privacy summary {
  display: block;
  max-width: 100%;
  padding-block: 11px;
  color: var(--band-ink-2);
  font-size: 0.9375rem;
  cursor: pointer;
}

.footer-privacy summary:hover {
  color: var(--band-ink);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.footer-privacy p {
  max-width: 75ch;
  margin: 8px 0 0;
  color: var(--band-ink-2);
  font-size: 0.875rem;
  line-height: 1.6;
}

.footer-privacy + .footer-legal {
  border-top: 0;
  padding-top: 8px;
}

/* Shared contact dialog, restyled for this concept */
.contact-dialog {
  --contact-border: var(--control);
  --contact-muted: var(--ink-2);

  border-color: var(--line);
  border-radius: var(--radius-l);
  box-shadow: 0 32px 64px -24px rgb(7 16 25 / 45%);
}

.contact-dialog::backdrop {
  background: rgb(7 16 25 / 62%);
  backdrop-filter: none;
}

.contact-dialog-heading h2,
.contact-dialog-success h2 {
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.contact-dialog-form label > span {
  font-weight: 600;
}

.contact-dialog-form input,
.contact-dialog-form textarea {
  border-radius: var(--radius-s);
}

.contact-dialog-form input:focus-visible,
.contact-dialog-form textarea:focus-visible {
  border-color: var(--focus);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 24%, transparent);
}

.contact-dialog-close {
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  border-radius: var(--radius-s);
  color: var(--ink-2);
}

.contact-dialog-close:hover {
  background: var(--surface);
  color: var(--ink);
}

.contact-dialog-actions button,
.contact-dialog-success button {
  min-height: 48px;
  border-radius: var(--radius-s);
  background: var(--cyan);
  color: var(--on-cyan);
  font-weight: 600;
  line-height: 1.5;
}

.contact-dialog-actions button:hover,
.contact-dialog-success button:hover {
  background: var(--cyan-hover);
}

.contact-dialog-actions a {
  color: var(--accent-text);
}

.contact-dialog-success-icon {
  box-shadow: none;
}

.contact-dialog-success-kicker {
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.contact-dialog-status[data-state="error"] {
  color: var(--error);
}

/* Page transitions from the shared navigation layer */
[data-site-transition-content] {
  transition: opacity 200ms ease-out;
}

[data-site-transition="out"] [data-site-transition-content] {
  opacity: 0;
  transition-duration: 160ms;
}

[data-color-theme-switching] *,
[data-color-theme-switching] *::before,
[data-color-theme-switching] *::after {
  transition: none !important;
}

/* Founder on the home page */
.founder-mini {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line-strong);
}

.founder-mini img {
  width: 112px;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  background: var(--surface);
  object-fit: cover;
  object-position: 50% 18%;
}

.founder-mini figcaption {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.founder-mini-quote {
  quotes: "\201C" "\201D";
}

:lang(ru) .founder-mini-quote {
  quotes: "\00AB" "\00BB";
}

.founder-mini-quote p {
  margin: 0;
  color: var(--ink);
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.45;
}

.founder-mini-quote p::before {
  content: open-quote;
}

.founder-mini-quote p::after {
  content: close-quote;
}

.founder-mini-name {
  color: var(--ink-2);
  font-size: 0.875rem;
  line-height: 1.5;
}

.founder-mini-name strong {
  display: block;
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 600;
}

/* Not found */
.not-found {
  display: flex;
  align-items: center;
  min-height: min(64svh, 640px);
  border-bottom: 0;
}

.not-found > .wrap {
  width: min(1312px, 100% - 2 * var(--gutter));
}

.footer-compact {
  padding-top: clamp(48px, 5vw, 72px);
}

.footer-compact .footer-contact {
  padding-bottom: 40px;
}

.footer-compact .footer-contact h2 {
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2.125rem);
}

.section-flush {
  padding-top: clamp(40px, 5vw, 64px);
  border-top: 0;
}

/* Responsive */
@media (min-width: 861px) and (min-height: 680px) {
  .hero {
    min-height: calc(100svh - var(--header-h));
  }
}

@media (max-width: 959px) {
  .hero-main {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-proof {
    display: none;
  }
}

@media (max-width: 1180px) {
  .primary-nav {
    display: none;
  }

  .menu {
    display: block;
  }
}

@media (max-width: 1024px) {
  .section-head,
  .about,
  .feature,
  .case-grid,
  .footer-contact,
  .footer-columns {
    grid-template-columns: minmax(0, 1fr);
  }

  .section-head h2,
  .section-head > p,
  .section-head > div,
  .about-copy,
  .principles,
  .link-list,
  .feature-copy,
  .feature-visual,
  .case-copy,
  .case-visual,
  .footer-contact h2,
  .footer-contact-actions {
    grid-column: 1 / -1;
  }

  .section-head {
    align-items: start;
  }

  .section-head > p,
  .section-head > div {
    max-width: 62ch;
  }

  .feature-copy,
  .case-copy {
    max-width: 720px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-nav {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  :root {
    --header-h: 68px;
  }

  .facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-block: 8px;
  }

  .fact,
  .fact:first-child {
    padding: 20px 16px 20px 0;
    border-top: 1px solid var(--band-line);
    border-left: 0;
  }

  .fact:nth-child(-n + 2) {
    border-top: 0;
  }

  .fact-base {
    grid-column: 1 / -1;
  }

  .service-detail-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .service-body,
  .service-aside {
    grid-column: 1 / -1;
  }

  .principles-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .principles-row li:last-child {
    border-bottom: 1px solid var(--line-strong);
    padding-bottom: 24px;
  }

  .founder-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .portrait,
  .founder-copy {
    grid-column: 1 / -1;
  }

  .portrait {
    max-width: 440px;
  }
}

@media (max-width: 760px) {
  .hero-primary {
    display: none;
  }

  .header-actions > .language-switch,
  .header-actions > .theme-toggle {
    display: none;
  }

  .header-inner {
    gap: 16px;
  }

  .button-header {
    margin-left: 0;
  }

  .footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .evidence {
    grid-template-columns: minmax(0, 1fr);
  }

  .thumb-large {
    max-width: 320px;
  }
}

@media (max-width: 480px) {
  .menu-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .menu-toggle {
    padding: 0;
    justify-content: center;
  }

  .header-actions {
    gap: 8px;
  }

  .button-header {
    padding-inline: 14px;
    font-size: 0.875rem;
  }

  .brand-word span {
    display: none;
  }

  .hero h1 {
    font-size: clamp(2.375rem, 1.2rem + 6vw, 3rem);
  }

  .hero-actions .button {
    flex: 1 1 100%;
  }

  .facts-list > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .service-summary {
    min-height: 88px;
    padding-block: 20px;
  }

  .service-toggle {
    width: 44px;
    height: 44px;
  }

  .footer-nav {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .contact-band .button {
    width: 100%;
  }
}

@media (max-width: 359px) {
  .site-header .brand-word {
    display: none;
  }
}

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

  [data-flow-state] .flow-link path {
    stroke-dashoffset: 0;
  }

  [data-flow-state] .flow-drop {
    transform: none;
  }
}

/* Enlarged text on a narrow phone: the header action wraps instead of
   pushing the menu button off-screen. */
@media (max-width: 480px) {
  .header-actions {
    min-width: 0;
  }

  .button-header {
    min-width: 0;
    flex: 0 1 auto;
    white-space: normal;
    text-align: center;
    line-height: 1.15;
  }
}

/* Resize text (WCAG 1.4.4): pixel breakpoints do not follow a larger root
   font size, so the header rows, actions and long words wrap instead of
   overflowing. At the default size everything still fits on one row. */
.header-inner,
.primary-nav ul,
.header-actions {
  flex-wrap: wrap;
}

.header-inner {
  row-gap: 8px;
}

.header-actions {
  min-width: 0;
  justify-content: flex-end;
}

.button {
  max-width: 100%;
  white-space: normal;
  text-align: center;
}

h1,
h2,
h3 {
  overflow-wrap: break-word;
}

.service-title,
.contact-band-copy,
.founder-mini figcaption {
  min-width: 0;
}

main p,
main li,
blockquote {
  overflow-wrap: break-word;
}

.founder-mini-quote {
  margin: 0;
}

.founder-mini figcaption > * {
  max-width: 100%;
  overflow-wrap: anywhere;
  white-space: normal;
}

