:root {
  color-scheme: light;
    --bg: #f4f6f8;
    --surface: #ffffff;
    --surface-soft: #edf1f5;
    --surface-strong: #e4eaf0;
    --ink: #10141b;
    --muted: #596575;
    --faint: #778395;
    --line: #cbd4de;
    --line-strong: #aeb9c6;
    --accent: #245eea;
    --accent-strong: #1647c4;
    --accent-soft: #dce7ff;
    --on-accent: #ffffff;
    --success: #087e5b;
    --shadow: 0 18px 50px rgb(21 31 45 / 8%);
    --header-bg: rgb(244 246 248 / 88%);
    --background-grid: rgb(36 94 234 / 7%);
    --background-glow-primary: rgb(36 94 234 / 13%);
    --background-glow-secondary: rgb(100 132 214 / 9%);
    --background-route: rgb(36 94 234 / 7%);
    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 28px;
    --shell: 1180px;
    --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

:root[data-theme="dark"] {
  color-scheme: dark;
    --bg: #090c11;
    --surface: #10151d;
    --surface-soft: #171e29;
    --surface-strong: #1d2633;
    --ink: #f4f7fb;
    --muted: #aab4c3;
    --faint: #8490a2;
    --line: #2d3848;
    --line-strong: #435168;
    --accent: #6f9cff;
    --accent-strong: #91afff;
    --accent-soft: #172a55;
    --on-accent: #08101e;
    --success: #68d9b4;
    --shadow: 0 24px 70px rgb(0 0 0 / 26%);
    --header-bg: rgb(9 12 17 / 88%);
    --background-grid: rgb(111 156 255 / 6%);
    --background-glow-primary: rgb(49 95 196 / 16%);
    --background-glow-secondary: rgb(72 104 173 / 10%);
    --background-route: rgb(111 156 255 / 6%);
}

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

html {
  scroll-behavior: smooth;
    scroll-padding-top: 92px;
}

body {
  position: relative;
    isolation: isolate;
    margin: 0;
    min-width: 320px;
    overflow-x: hidden;
    background:
      radial-gradient(circle at 10% 4%, var(--background-glow-primary), transparent 34rem),
      radial-gradient(circle at 92% 34%, var(--background-glow-secondary), transparent 31rem),
      radial-gradient(circle at 18% 78%, var(--background-glow-secondary), transparent 36rem),
      var(--bg);
    background-attachment: fixed;
    color: var(--ink);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body::before,
body::after {
  position: fixed;
    z-index: -1;
    inset: 0;
    content: "";
    pointer-events: none;
}

body::before {
  background-image:
      linear-gradient(to right, var(--background-grid) 1px, transparent 1px),
      linear-gradient(to bottom, var(--background-grid) 1px, transparent 1px);
    background-size: 48px 48px;
    -webkit-mask-image: linear-gradient(to bottom, rgb(0 0 0 / 80%), rgb(0 0 0 / 34%) 72%, transparent 100%);
    mask-image: linear-gradient(to bottom, rgb(0 0 0 / 80%), rgb(0 0 0 / 34%) 72%, transparent 100%);
}

body::after {
  background-image:
      linear-gradient(115deg, transparent 0 47.85%, var(--background-route) 48%, transparent 48.15%),
      linear-gradient(115deg, transparent 0 68.85%, var(--background-route) 69%, transparent 69.15%);
    background-position: center;
    background-size: 560px 560px, 760px 760px;
    -webkit-mask-image: radial-gradient(circle at 50% 42%, #000 0, rgb(0 0 0 / 72%) 48%, transparent 82%);
    mask-image: radial-gradient(circle at 50% 42%, #000 0, rgb(0 0 0 / 72%) 48%, transparent 82%);
}

body.menu-open {
  overflow: hidden;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

a {
  color: inherit;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.2em;
}

button {
  color: inherit;
}

img,
svg {
  display: block;
    max-width: 100%;
}

p,
h1,
h2,
h3,
h4,
ul,
ol {
  margin-top: 0;
}

p:last-child,
ul:last-child,
ol:last-child {
  margin-bottom: 0;
}

ul,
ol {
  padding-left: 0;
}

::selection {
  background: var(--accent);
    color: var(--on-accent);
}

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

[hidden] {
  display: none !important;
}

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

.icon {
  width: 1.1rem;
    height: 1.1rem;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.shell {
  width: min(calc(100% - 32px), var(--shell));
    margin-inline: auto;
}

.skip-link {
  position: fixed;
    z-index: 1000;
    top: 12px;
    left: 12px;
    padding: 10px 14px;
    transform: translateY(-160%);
    border-radius: 8px;
    background: var(--ink);
    color: var(--bg);
    font-weight: 750;
    text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.eyebrow,
.section-index {
  color: var(--accent);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.09em;
    line-height: 1.4;
    text-transform: uppercase;
}

.site-header {
  position: sticky;
    z-index: 100;
    top: 0;
    border-bottom: 1px solid transparent;
    background: var(--header-bg);
    backdrop-filter: blur(18px);
    transition: border-color 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
}

.header-inner {
  display: flex;
    min-height: 72px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
  display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 11px;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-decoration: none;
}

.brand-mark {
  display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid var(--accent);
    border-radius: 9px;
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: -0.08em;
}

.desktop-nav,
.header-actions {
  display: none;
}

.menu-toggle,
.icon-button,
.language-toggle {
  display: inline-grid;
    min-width: 44px;
    min-height: 44px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--surface);
    cursor: pointer;
    transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.menu-toggle:hover,
.icon-button:hover,
.language-toggle:hover {
  border-color: var(--accent);
    color: var(--accent);
}

.mobile-nav {
  position: fixed;
    z-index: 90;
    inset: 72px 0 0;
    overflow-y: auto;
    border-top: 1px solid var(--line);
    background: var(--bg);
}

.mobile-nav a {
  display: flex;
    min-height: 52px;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
    font-size: 1.1rem;
    font-weight: 720;
    text-decoration: none;
}

.button {
  display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 10px 17px;
    border: 1px solid var(--accent);
    border-radius: var(--radius-sm);
    background: var(--accent);
    color: var(--on-accent);
    font-size: 0.9rem;
    font-weight: 760;
    line-height: 1.2;
    text-decoration: none;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:hover {
  border-color: var(--accent-strong);
    background: var(--accent-strong);
    transform: translateY(-1px);
}

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

.button-secondary:hover {
  border-color: var(--accent);
    background: var(--accent-soft);
    color: var(--accent-strong);
}

.button-small {
  min-height: 42px;
    padding-inline: 14px;
    font-size: 0.82rem;
}

.hero {
  position: relative;
    padding-block: clamp(72px, 10vw, 132px) clamp(72px, 9vw, 112px);
}

.hero::before {
  position: absolute;
    z-index: -1;
    top: 0;
    right: max(0px, calc((100vw - var(--shell)) / 2));
    width: min(44vw, 520px);
    height: 100%;
    background: linear-gradient(140deg, transparent 5%, var(--accent-soft) 100%);
    clip-path: polygon(35% 0, 100% 0, 100% 78%, 0 100%);
    content: "";
    opacity: 0.44;
    pointer-events: none;
}

.hero h1 {
  max-width: 16ch;
    margin: 20px 0 26px;
    font-size: clamp(2.55rem, 9vw, 5.7rem);
    font-weight: 850;
    letter-spacing: -0.065em;
    line-height: 0.96;
    overflow-wrap: anywhere;
}

.hero-lead {
  max-width: 720px;
    margin-bottom: 30px;
    color: var(--muted);
    font-size: clamp(1.03rem, 2.2vw, 1.28rem);
    line-height: 1.55;
}

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

.availability {
  align-self: end;
    max-width: 310px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: color-mix(in srgb, var(--surface) 86%, transparent);
    box-shadow: var(--shadow);
}

.status-dot {
  width: 9px;
    height: 9px;
    flex: 0 0 auto;
    margin-top: 0.45em;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 0 5px color-mix(in srgb, var(--success) 15%, transparent);
}

.proof-grid {
  display: grid;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.section {
  padding-block: clamp(72px, 9vw, 118px);
}

.section-heading {
  display: grid;
    gap: 18px;
    margin-bottom: clamp(38px, 6vw, 66px);
}

.section-heading h2,
.contact-copy h2 {
  margin-bottom: 0;
    font-size: clamp(2.35rem, 7vw, 4.6rem);
    font-weight: 840;
    letter-spacing: -0.058em;
    line-height: 0.98;
    overflow-wrap: normal;
}

.section-heading h2 {
  max-width: 17ch;
}

.case-list {
  display: grid;
    gap: 24px;
}

.case-card {
  overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.case-header {
  padding: clamp(28px, 5vw, 48px);
    border-bottom: 1px solid var(--line);
    background:
      linear-gradient(115deg, var(--accent-soft), transparent 48%),
      var(--surface);
}

.case-header h3 {
  max-width: 26ch;
    margin: 14px 0 10px;
    font-size: clamp(1.75rem, 4vw, 2.7rem);
    font-weight: 820;
    letter-spacing: -0.045em;
    line-height: 1.05;
}

.case-body {
  display: grid;
}

.case-evidence {
  min-width: 0;
    padding: clamp(26px, 5vw, 46px);
}

.decision-list {
  display: grid;
    gap: 12px;
    margin-bottom: 0;
    list-style: none;
}

.decision-list li {
  position: relative;
    padding-left: 27px;
    color: var(--muted);
    font-size: 0.92rem;
}

.decision-list li::before {
  position: absolute;
    top: 0.58em;
    left: 1px;
    width: 13px;
    height: 13px;
    border: 3px solid var(--accent-soft);
    border-radius: 50%;
    background: var(--accent);
    content: "";
}

.case-evidence {
  display: grid;
    align-content: start;
    gap: 26px;
    border-top: 1px solid var(--line);
    background: var(--surface-soft);
}

.mini-flow {
  display: flex;
    align-items: center;
    gap: 8px;
    margin: 10px 0 0;
    overflow-x: auto;
    padding: 8px 2px 10px;
    list-style: none;
    scrollbar-color: var(--line-strong) transparent;
    scrollbar-width: thin;
}

.mini-flow li {
  display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 0.64rem;
    font-weight: 750;
    white-space: nowrap;
}

.mini-flow li > span {
  display: grid;
    min-height: 36px;
    place-items: center;
    padding: 7px 9px;
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    background: var(--surface);
    color: var(--ink);
}

.mini-flow li:not(:last-child)::after {
  color: var(--accent);
    content: "→";
    font-size: 0.9rem;
}

.system-flow-card {
  padding: clamp(24px, 4vw, 34px);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow);
}

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

.system-flow li {
  position: relative;
    display: grid;
    min-height: 48px;
    place-items: center;
    padding: 9px 12px;
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    background: var(--surface-soft);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 760;
    text-align: center;
}

.system-flow li:not(:last-child) {
  margin-bottom: 22px;
}

.system-flow li:not(:last-child)::after {
  position: absolute;
    top: calc(100% + 6px);
    left: 50%;
    color: var(--accent);
    content: "↓";
    transform: translateX(-50%);
}

.timeline {
  position: relative;
    display: grid;
    gap: 18px;
}

.timeline::before {
  position: absolute;
    top: 12px;
    bottom: 12px;
    left: 12px;
    width: 1px;
    background: var(--line-strong);
    content: "";
}

.expertise-grid {
  display: grid;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
}

.contact {
  padding-block: clamp(72px, 9vw, 108px);
    background: var(--ink);
    color: var(--bg);
}

:root[data-theme="dark"] .contact {
  background: #f1f4f8;
    color: #11161e;
}

.contact-copy h2 {
  max-width: 13ch;
    margin: 16px 0 22px;
}

.contact-copy p {
  max-width: 610px;
    margin-bottom: 0;
    color: color-mix(in srgb, currentColor 70%, transparent);
}

.contact .section-index {
  color: var(--accent);
}

.site-footer {
  border-top: 1px solid var(--line);
    padding-block: 26px;
}

.sr-only {
  position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (min-width: 600px) {
  .shell {
    width: min(calc(100% - 48px), var(--shell));
  }

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

@media (min-width: 760px) {
  .system-flow {
    grid-template-columns: repeat(7, minmax(0, 1fr));
        gap: 26px;
  }

  .system-flow li {
    min-height: 60px;
        padding-inline: 6px;
        font-size: 0.64rem;
  }

  .system-flow li:not(:last-child) {
    margin-bottom: 0;
  }

  .system-flow li:not(:last-child)::after {
    top: 50%;
        right: -19px;
        left: auto;
        content: "→";
        transform: translateY(-50%);
  }

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

@media (min-width: 920px) {
  .menu-toggle,
  .mobile-nav {
    display: none !important;
  }

  .desktop-nav,
  .header-actions {
    display: flex;
        align-items: center;
  }

  .desktop-nav {
    gap: 4px;
  }

  .desktop-nav a {
    display: inline-flex;
        min-height: 44px;
        align-items: center;
        padding-inline: 9px;
        border-radius: 8px;
        color: var(--muted);
        font-size: 0.76rem;
        font-weight: 720;
        text-decoration: none;
        transition: color 160ms ease, background-color 160ms ease;
  }

  .desktop-nav a:hover,
  .desktop-nav a.is-active {
    background: var(--surface-soft);
        color: var(--ink);
  }

  .header-actions {
    gap: 8px;
  }

  .language-toggle {
    width: auto;
        padding-inline: 11px;
        font-family: var(--font-mono);
        font-size: 0.7rem;
        font-weight: 760;
  }

  .proof-grid {
    grid-column: 1 / -1;
  }

  .section-heading {
    grid-template-columns: 120px minmax(0, 1fr) minmax(260px, 350px);
        align-items: start;
        column-gap: 28px;
  }

  .section-heading .section-index {
    padding-top: 8px;
  }

  .case-body {
    grid-template-columns: minmax(0, 1.08fr) minmax(400px, 0.92fr);
  }

  .case-evidence {
    border-top: 0;
        border-left: 1px solid var(--line);
  }
}

@media (min-width: 1100px) {
  .desktop-nav a {
    padding-inline: 12px;
        font-size: 0.8rem;
  }

  .case-list {
    gap: 30px;
  }

  .timeline {
    padding-left: 120px;
  }

  .timeline::before {
    left: 66px;
  }
}

@media (max-width: 380px) {
  .hero-actions .button {
    width: 100%;
  }

  .case-header,
  .case-evidence {
    padding-inline: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
  }
}

@media print {
  .site-header,
  .hero-actions,
  .contact,
  .site-footer {
    display: none;
  }

  body {
    background: #fff;
        color: #111;
  }

  .section,
  .hero {
    padding-block: 28px;
  }

  .case-card {
    break-inside: avoid;
        box-shadow: none;
  }
}

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

.header-actions > :not(.menu-toggle) {
  display: none;
}

.language-button {
  min-width: 44px;
    min-height: 44px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--surface);
    color: var(--ink);
    cursor: pointer;
}

.menu-toggle .menu-close-icon {
  display: none;
}

.menu-toggle[aria-expanded="true"] .menu-open-icon {
  display: none;
}

.menu-toggle[aria-expanded="true"] .menu-close-icon {
  display: block;
}

.mobile-nav {
  display: grid;
    top: 72px;
    bottom: auto;
    height: calc(100dvh - 72px);
    gap: 8px;
    padding-block: 22px 40px;
}

.mobile-nav > .button {
  margin-top: 16px;
}

.hero {
  display: grid;
    gap: 52px;
}

.availability-card {
  align-self: end;
    max-width: 330px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: color-mix(in srgb, var(--surface) 86%, transparent);
    box-shadow: var(--shadow);
}

.availability-row {
  display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--muted);
    font-size: 0.9rem;
}

.availability-row p {
  margin-bottom: 0;
}

.availability-card code {
  display: block;
    margin-top: 16px;
    color: var(--accent);
    font-size: 0.72rem;
}

.proof-grid > div {
  min-width: 0;
    padding: 22px;
}

.proof-grid > div + div {
  border-top: 1px solid var(--line);
}

.proof-grid dt {
  display: block;
    margin-bottom: 6px;
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.proof-grid dd {
  display: block;
    margin: 0;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.45;
}

.section-heading > p:last-child:not(.section-index) {
  max-width: 580px;
    margin-bottom: 0;
    color: var(--muted);
    font-size: 1.03rem;
}

.case-header > p {
  margin-bottom: 0;
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.case-header > span {
  display: block;
    max-width: 800px;
    color: var(--muted);
}

.case-narrative {
  display: grid;
    min-width: 0;
    align-content: start;
    gap: 28px;
    padding: clamp(26px, 5vw, 46px);
}

.case-narrative h4 {
  margin-bottom: 7px;
    font-size: 0.82rem;
    font-weight: 800;
}

.case-narrative section > p {
  margin-bottom: 0;
    color: var(--muted);
    font-size: 0.94rem;
}

.decision-list svg {
  position: absolute;
    top: 0.42em;
    left: 0;
    width: 16px;
    height: 16px;
    color: var(--accent);
}

.decision-list li::before {
  display: none;
}

.technical-label {
  margin-bottom: 0;
    color: var(--faint);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.09em;
    line-height: 1.4;
    text-transform: uppercase;
}

.tags {
  display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 0;
    list-style: none;
}

.tags li {
  padding: 8px 10px;
    border: 1px solid color-mix(in srgb, var(--accent) 42%, var(--line));
    border-radius: 8px;
    background: var(--accent-soft);
    color: var(--accent-strong);
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 750;
    line-height: 1.1;
}

.result {
  padding: 20px;
    border-left: 3px solid var(--accent);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    background: var(--surface);
}

.result > p:last-child {
  margin: 8px 0 0;
    color: var(--ink);
    font-size: 0.92rem;
    font-weight: 620;
}

.approach-grid {
  display: grid;
    grid-auto-rows: 1fr;
    align-items: stretch;
    gap: 14px;
    margin-top: 24px;
}

.approach-grid article {
  display: flex;
    height: 100%;
    min-width: 0;
    flex-direction: column;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface);
}

.approach-grid article > svg {
  width: 1.45rem;
    height: 1.45rem;
    margin-bottom: 28px;
    color: var(--accent);
}

.approach-grid article > p,
.expertise-grid article > p {
  margin-bottom: 5px;
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 800;
}

.approach-grid h3 {
  margin-bottom: 9px;
    font-size: 1.12rem;
    letter-spacing: -0.025em;
}

.approach-grid article > span {
  display: block;
    color: var(--muted);
    font-size: 0.9rem;
}

.timeline > article {
  position: relative;
    padding: clamp(24px, 4vw, 36px);
    padding-left: clamp(52px, 7vw, 72px);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface);
}

.timeline-number {
  position: absolute;
    z-index: 1;
    top: 36px;
    left: 6px;
    display: grid;
    width: 22px;
    height: 22px;
    place-items: center;
    border-radius: 50%;
    background: var(--accent);
    color: var(--on-accent);
    font-family: var(--font-mono);
    font-size: 0.54rem;
    font-weight: 800;
}

.timeline-content > header {
  display: grid;
    gap: 10px;
    margin-bottom: 22px;
}

.timeline-content h3 {
  margin-bottom: 3px;
    font-size: clamp(1.2rem, 3vw, 1.55rem);
    letter-spacing: -0.03em;
}

.timeline-content header p {
  margin-bottom: 0;
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 0.74rem;
    font-weight: 750;
}

.timeline-content time {
  color: var(--faint);
    font-family: var(--font-mono);
    font-size: 0.7rem;
}

.timeline-content > ul {
  display: grid;
    gap: 10px;
    margin-bottom: 0;
    list-style: none;
}

.timeline-content > ul li {
  position: relative;
    padding-left: 20px;
    color: var(--muted);
    font-size: 0.92rem;
}

.timeline-content > ul li::before {
  position: absolute;
    top: 0.72em;
    left: 0;
    width: 7px;
    height: 2px;
    background: var(--accent);
    content: "";
}

.expertise-grid > article {
  min-width: 0;
    padding: clamp(25px, 4vw, 36px);
}

.expertise-grid > article + article {
  border-top: 1px solid var(--line);
}

.expertise-grid h3 {
  margin-bottom: 8px;
    font-size: 1.05rem;
}

.expertise-grid article > span {
  display: block;
    margin-bottom: 22px;
    color: var(--muted);
    font-size: 0.88rem;
}

.about-grid {
  display: grid;
    gap: 32px;
}

.about-grid > p {
  max-width: 730px;
    margin-bottom: 0;
    color: var(--muted);
    font-size: clamp(1.05rem, 2vw, 1.22rem);
}

.facts {
  display: grid;
    gap: 1px;
    overflow: hidden;
    margin: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--line);
}

.facts > div {
  min-width: 0;
    padding: 20px;
    background: var(--surface);
}

.facts svg {
  width: 1.25rem;
    height: 1.25rem;
    margin-bottom: 18px;
    color: var(--accent);
}

.facts dt {
  margin-bottom: 5px;
    color: var(--faint);
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 750;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.facts dd {
  margin: 0;
    font-size: 0.92rem;
    font-weight: 680;
    overflow-wrap: anywhere;
}

.contact {
  display: grid;
    gap: 42px;
}

.contact h2 {
  max-width: 13ch;
    margin: 16px 0 22px;
    font-size: clamp(2.35rem, 7vw, 4.6rem);
    font-weight: 840;
    letter-spacing: -0.058em;
    line-height: 0.98;
}

.contact > div > p:last-child {
  max-width: 610px;
    margin-bottom: 0;
    color: color-mix(in srgb, currentColor 70%, transparent);
}

.contact nav {
  display: grid;
    align-content: end;
    gap: 10px;
}

.contact nav > a {
  display: flex;
    min-height: 58px;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 13px 16px;
    border: 1px solid color-mix(in srgb, currentColor 28%, transparent);
    border-radius: var(--radius-sm);
    font-weight: 760;
    text-decoration: none;
}

.contact nav > a:hover {
  border-color: var(--accent);
    background: color-mix(in srgb, var(--accent) 14%, transparent);
}

.site-footer > .shell {
  display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px 24px;
}

.site-footer p {
  margin-bottom: 0;
    color: var(--muted);
    font-size: 0.78rem;
}

.site-footer a {
  display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 7px;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 740;
    text-decoration: none;
}

.header-actions svg,
.mobile-nav svg,
.hero-actions svg,
.decision-list svg,
.approach-grid svg,
.facts svg,
.contact svg,
.site-footer svg {
  display: block;
    width: 1.1rem;
    height: 1.1rem;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.hero-actions .text-link {
  display: inline-flex;
    min-height: 46px;
    align-items: center;
    gap: 7px;
    padding-inline: 8px;
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 740;
    text-decoration: none;
}

.hero-actions .text-link:hover,
.site-footer a:hover {
  color: var(--accent);
}

@media (min-width: 600px) {
  .proof-grid > div + div {
    border-top: 0;
        border-left: 1px solid var(--line);
  }

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

  .timeline-content > header {
    grid-template-columns: minmax(0, 1fr) auto;
        align-items: start;
  }
}

@media (min-width: 760px) {
  .expertise-grid > article + article {
    border-top: 0;
        border-left: 1px solid var(--line);
  }

  .contact {
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  }
}

@media (min-width: 920px) {
  .header-actions > :not(.menu-toggle) {
    display: inline-grid;
  }

  .header-actions .desktop-cv {
    display: inline-flex;
  }

  .language-button {
    width: auto;
        padding-inline: 11px;
        font-family: var(--font-mono);
        font-size: 0.7rem;
        font-weight: 760;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) 300px;
        align-items: end;
  }

  .proof-grid {
    grid-column: 1 / -1;
  }

  .section-heading > p:last-child:not(.section-index) {
    padding-top: 7px;
  }

  .section-heading-about h2 {
    grid-column: 2 / 4;
        max-width: 21ch;
  }

  .case-narrative {
    padding: clamp(26px, 5vw, 46px);
  }

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

  .about-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
        align-items: start;
        gap: clamp(48px, 8vw, 90px);
  }
}

@media (min-width: 1100px) {
  .case-narrative {
    grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 34px;
  }

  .case-narrative section:last-child {
    grid-column: 1 / -1;
  }

  .timeline-number {
    left: 55px;
  }
}

.desktop-nav a {
  position: relative;
}

.desktop-nav a.is-active {
  background: var(--accent-soft);
    color: var(--accent-strong);
}

.desktop-nav a.is-active::after {
  position: absolute;
    right: 10px;
    bottom: 4px;
    left: 10px;
    height: 2px;
    border-radius: 2px;
    background: var(--accent);
    content: "";
}

.contact {
  position: relative;
    isolation: isolate;
    overflow: hidden;
    margin-bottom: clamp(64px, 9vw, 112px);
    padding: clamp(30px, 5vw, 62px);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
    color: var(--ink);
    box-shadow: var(--shadow);
}

:root[data-theme="dark"] .contact {
  background: var(--surface);
    color: var(--ink);
}

.contact::before {
  position: absolute;
    z-index: -1;
    top: -45%;
    right: -12%;
    width: min(54vw, 620px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-soft) 0, transparent 68%);
    content: "";
    opacity: 0.7;
    pointer-events: none;
}

.contact::after {
  position: absolute;
    z-index: -1;
    top: 0;
    right: clamp(30px, 5vw, 62px);
    left: clamp(30px, 5vw, 62px);
    height: 3px;
    background: linear-gradient(90deg, var(--accent), transparent 72%);
    content: "";
}

.contact .section-index {
  color: var(--accent);
}

.contact h2 {
  max-width: 14ch;
    font-size: clamp(2.4rem, 6vw, 4.25rem);
}

.contact > div > p:last-child {
  color: var(--muted);
}

.contact nav > a {
  border-color: var(--line-strong);
    background: var(--surface-soft);
    color: var(--ink);
    transition:
      border-color 180ms ease,
      background-color 180ms ease,
      color 180ms ease,
      transform 180ms ease;
}

.contact nav > a.button {
  border-color: var(--accent);
    background: var(--accent);
    color: var(--on-accent);
}

.contact nav > a:hover {
  border-color: var(--accent);
    background: var(--accent-soft);
    color: var(--accent-strong);
    transform: translateY(-2px);
}

.contact nav > a.button:hover {
  border-color: var(--accent-strong);
    background: var(--accent-strong);
    color: var(--on-accent);
}

.contact nav > a svg:last-child {
  transition: transform 180ms ease;
}

.contact nav > a:hover svg:last-child {
  transform: translate(2px, -2px);
}

.contact nav > a {
  display: grid;
    grid-template-columns: 20px minmax(0, 1fr) 20px;
    text-align: center;
}

.contact nav > a > span {
  min-width: 0;
    text-align: center;
}

.contact nav > .contact-cv {
  border-color: color-mix(in srgb, var(--accent) 48%, var(--line));
    background:
      linear-gradient(90deg, color-mix(in srgb, var(--accent) 12%, transparent), transparent 64%),
      var(--surface-soft);
    color: var(--accent-strong);
    box-shadow: inset 3px 0 0 var(--accent);
}

.contact nav > .contact-cv:hover {
  border-color: var(--accent);
    background: var(--accent-soft);
    color: var(--accent-strong);
}

.contact-cv svg:first-child,
.contact-cv svg:last-child {
  color: var(--accent);
}

.contact-cv svg:last-child {
  justify-self: end;
}

.js .reveal {
  opacity: 0;
    transition:
      opacity 560ms cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay, 0ms),
      transform 560ms cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay, 0ms);
    will-change: opacity, transform;
}

.js .reveal-hero {
  transform: translateY(24px) scale(0.99);
}

.js .reveal-heading {
  transform: translateX(-12px);
}

.js .reveal-case {
  transform: translateY(42px) scale(0.965);
    transform-origin: 50% 100%;
    transition-duration: 640ms;
}

.js .reveal-flow {
  transform: scaleX(0.92);
    transform-origin: 0 50%;
}

.js .reveal-approach {
  opacity: 1;
    transform: none;
    will-change: auto;
}

.js .reveal-approach > * {
  opacity: 0;
    transform: translateY(12px);
    transition:
      opacity 440ms cubic-bezier(0.16, 1, 0.3, 1),
      transform 440ms cubic-bezier(0.16, 1, 0.3, 1);
}

.js .reveal-approach > svg {
  transition-delay: var(--reveal-delay, 0ms);
}

.js .reveal-approach > p {
  transition-delay: calc(var(--reveal-delay, 0ms) + 45ms);
}

.js .reveal-approach > h3 {
  transition-delay: calc(var(--reveal-delay, 0ms) + 90ms);
}

.js .reveal-approach > span {
  transition-delay: calc(var(--reveal-delay, 0ms) + 135ms);
}

.js .reveal-approach.is-visible > * {
  opacity: 1;
    transform: none;
}

.js .reveal-timeline {
  transform: translateX(-14px);
}

.js .reveal-expertise {
  transform: translateY(34px) rotateX(7deg);
    transform-origin: 50% 0;
}

.js .reveal-about {
  transform: translateX(12px) scale(0.985);
}

.js .reveal-contact-copy {
  transform: translateX(-34px);
}

.js .reveal-contact-action {
  transform: translateX(34px) scale(0.985);
}

.js .reveal.is-visible {
  opacity: 1;
    transform: none;
    will-change: auto;
}

.js .contact nav > a.reveal.is-visible:hover {
  transform: translateY(-2px);
}

@media (min-width: 920px) {
  .js .reveal-heading {
    transform: translateX(-34px);
  }

  .approach-grid {
    gap: 18px;
  }

  .js .reveal-timeline {
    transform: translateX(-44px);
  }

  .js .reveal-about {
    transform: translateX(28px) scale(0.985);
  }
}

@media (max-width: 759px) {
  body::before {
    background-size: 36px 36px;
        opacity: 0.72;
  }

  body::after {
    opacity: 0.58;
  }

  .contact {
    gap: 34px;
  }

  .contact h2 {
    max-width: 100%;
  }
}

@media print {
  body {
    background: #ffffff;
  }

  body::before,
  body::after {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal {
    opacity: 1;
        transform: none !important;
        transition: none;
  }

  .js .reveal-approach > * {
    opacity: 1;
        transform: none !important;
        transition: none;
  }

  .contact nav > a:hover,
  .contact nav > a:hover svg:last-child {
    transform: none;
  }
}
