/* ==========================================================================
   ANDRVAY — shared visual system
   ========================================================================== */

/* Fonts ------------------------------------------------------------------ */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/manrope-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/manrope-latin.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;
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/manrope-latin-ext.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;
}

@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/unbounded-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/unbounded-latin.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;
}

@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/unbounded-latin-ext.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;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('../fonts/jetbrains-mono-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('../fonts/jetbrains-mono-latin.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;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('../fonts/jetbrains-mono-latin-ext.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;
}

/* Tokens ----------------------------------------------------------------- */
:root {
  --bg: #050706;
  --bg-deep: #030504;
  --surface: rgba(11, 16, 12, 0.72);
  --surface-strong: rgba(13, 19, 14, 0.9);
  --surface-soft: rgba(255, 255, 255, 0.025);
  --line: rgba(214, 255, 221, 0.1);
  --line-strong: rgba(214, 255, 221, 0.18);
  --text: #eef3ee;
  --text-soft: #c3ccc4;
  --muted: #89948b;
  --muted-strong: #a3ada5;
  --accent: #7cff8a;
  --accent-soft: #a4ffad;
  --accent-dim: rgba(124, 255, 138, 0.09);
  --accent-line: rgba(124, 255, 138, 0.26);
  --font-body: 'Manrope', 'Segoe UI', sans-serif;
  --font-display: 'Unbounded', 'Manrope', 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Cascadia Mono', Consolas, monospace;
  --shell: 1240px;
  --radius: 18px;
  --ease: cubic-bezier(0.22, 0.8, 0.25, 1);
}

/* Base ------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--bg);
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  display: flex;
  flex-direction: column;
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--accent);
  color: #041006;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}

img,
svg,
canvas {
  display: block;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 20px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 6px;
  background: var(--accent);
  color: #041006;
  font-size: 12px;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 180ms var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

/* Background ------------------------------------------------------------- */
.dots-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.88;
}

.site-header,
.site-main,
.site-footer {
  position: relative;
  z-index: 1;
}

/* Layout ----------------------------------------------------------------- */
.shell {
  width: min(var(--shell), calc(100% - 80px));
  margin-inline: auto;
}

.site-main {
  flex: 1 0 auto;
}

/* Header ----------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: rgba(5, 7, 6, 0.62);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  backdrop-filter: blur(18px) saturate(120%);
  transition:
    background-color 240ms var(--ease),
    border-color 240ms var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(5, 7, 6, 0.88);
}

.header-inner {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  height: 76px;
}

.header-tools {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 14px;
}

.header-menu {
  display: contents;
}

.mobile-actions {
  display: none;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.02);
}

.language-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 22px;
  padding: 0 5px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition:
    color 160ms var(--ease),
    background-color 160ms var(--ease);
}

.language-button:hover {
  color: var(--text);
}

.language-button.is-active {
  background: var(--accent-dim);
  color: var(--accent);
}

.mobile-contact,
.menu-toggle {
  display: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  width: max-content;
  transition: opacity 180ms var(--ease);
}

.brand:hover {
  opacity: 0.82;
}

.brand-logo {
  width: auto;
  height: 34px;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-self: center;
  gap: 2px;
}

.main-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 9px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  transition:
    color 180ms var(--ease),
    background-color 180ms var(--ease);
}

.main-nav a::after {
  position: absolute;
  bottom: 3px;
  left: 50%;
  width: 0;
  height: 1px;
  background: var(--accent);
  content: '';
  transform: translateX(-50%);
  transition: width 220ms var(--ease);
}

.main-nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.main-nav a.is-active {
  color: var(--accent);
}

.main-nav a.is-active::after {
  width: 15px;
}

.header-contact {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 8px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.09em;
  line-height: 1;
  text-transform: uppercase;
  transition: color 180ms var(--ease);
}

.header-contact .contact-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(124, 255, 138, 0.55);
}

.header-contact .arrow {
  color: var(--muted-strong);
  font-size: 12px;
  transition:
    color 180ms var(--ease),
    transform 180ms var(--ease);
}

.header-contact:hover {
  color: var(--accent);
}

.header-contact:hover .arrow {
  color: var(--accent);
  transform: translate(2px, -2px);
}

/* Site search ------------------------------------------------------------ */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.site-search {
  position: relative;
  width: 200px;
}

.search-field {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.025);
  transition:
    border-color 180ms var(--ease),
    background-color 180ms var(--ease),
    box-shadow 180ms var(--ease);
}

.site-search.is-open .search-field,
.search-field:focus-within {
  border-color: rgba(124, 255, 138, 0.4);
  background: rgba(124, 255, 138, 0.035);
  box-shadow: 0 0 0 3px rgba(124, 255, 138, 0.055);
}

.search-icon {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  color: var(--muted);
  transition: color 180ms var(--ease);
}

.site-search.is-open .search-icon,
.search-field:focus-within .search-icon {
  color: var(--accent);
}

.search-input {
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1;
  appearance: none;
  -webkit-appearance: none;
}

.search-input:focus {
  outline: none;
}

.search-input::placeholder {
  color: var(--muted);
  opacity: 1;
}

.search-input::-webkit-search-decoration,
.search-input::-webkit-search-cancel-button {
  display: none;
  -webkit-appearance: none;
}

.search-results {
  position: absolute;
  top: calc(100% + 11px);
  right: 0;
  z-index: 120;
  width: 390px;
  max-height: min(480px, calc(100vh - 112px));
  padding: 7px;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: #080c09;
  box-shadow:
    0 26px 70px rgba(0, 0, 0, 0.56),
    0 0 0 1px rgba(0, 0, 0, 0.2);
  animation: search-panel-in 160ms var(--ease) both;
}

.search-results[hidden] {
  display: none;
}

.search-results::-webkit-scrollbar {
  width: 5px;
}

.search-results::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: var(--line-strong);
}

.search-list {
  display: grid;
  gap: 2px;
}

.search-result {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 16px;
  align-items: center;
  gap: 14px;
  padding: 11px 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  transition:
    color 160ms var(--ease),
    background-color 160ms var(--ease),
    border-color 160ms var(--ease);
}

.search-result:hover,
.search-result.is-active {
  border-color: rgba(124, 255, 138, 0.12);
  background: var(--accent-dim);
}

.search-result-type {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.11em;
  line-height: 1;
  text-transform: uppercase;
  transition: color 160ms var(--ease);
}

.search-result-title {
  display: block;
  overflow: hidden;
  color: var(--text-soft);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -0.012em;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 160ms var(--ease);
}

.search-result-arrow {
  justify-self: end;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1;
  transition:
    color 160ms var(--ease),
    transform 160ms var(--ease);
}

.search-result:hover .search-result-type,
.search-result.is-active .search-result-type,
.search-result:hover .search-result-title,
.search-result.is-active .search-result-title {
  color: var(--accent);
}

.search-result:hover .search-result-arrow,
.search-result.is-active .search-result-arrow {
  color: var(--accent);
  transform: translate(2px, -2px);
}

.search-empty {
  padding: 24px 14px 22px;
}

.search-empty-title {
  margin: 0 0 5px;
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
}

.search-empty-text {
  margin: 0;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.55;
}

.search-hint {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 5px;
  padding: 10px 9px 4px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.03em;
  line-height: 1.4;
}

.search-hint span {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
}

.search-hint kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--muted-strong);
  font-family: var(--font-mono);
  font-size: 8px;
  line-height: 1;
}

@keyframes search-panel-in {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Shared type ------------------------------------------------------------ */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.15em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow .index {
  color: var(--accent);
}

.eyebrow .divider {
  width: 22px;
  height: 1px;
  background: var(--line-strong);
}

.eyebrow-accent {
  color: var(--accent);
}

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  transition:
    color 200ms var(--ease),
    background-color 200ms var(--ease),
    border-color 200ms var(--ease),
    box-shadow 200ms var(--ease),
    transform 200ms var(--ease);
}

.btn .arrow {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 400;
  transition: transform 200ms var(--ease);
}

.btn:hover .arrow {
  transform: translate(3px, -3px);
}

.btn-primary {
  background: var(--accent);
  color: #041006;
  border-color: var(--accent);
  box-shadow: 0 0 0 0 rgba(124, 255, 138, 0);
}

.btn-primary:hover {
  background: var(--accent-soft);
  border-color: var(--accent-soft);
  box-shadow: 0 12px 32px rgba(124, 255, 138, 0.14);
  transform: translateY(-2px);
}

.btn-secondary {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.025);
  color: var(--text);
}

.btn-secondary:hover {
  border-color: rgba(124, 255, 138, 0.38);
  background: var(--accent-dim);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

/* Home ------------------------------------------------------------------- */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 76px);
  min-height: calc(100svh - 76px);
  padding: 72px 0 82px;
}

.hero-inner {
  width: min(1100px, calc(100% - 80px));
  margin-inline: auto;
  text-align: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 38px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.5;
  text-transform: uppercase;
  animation: rise-in 760ms 80ms var(--ease) both;
}

.hero-kicker .status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(124, 255, 138, 0.4);
  animation: status-pulse 3.2s ease-out infinite;
}

.hero-kicker .divider {
  width: 20px;
  height: 1px;
  background: var(--line-strong);
}

.hero-title {
  margin: 0;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(92px, 10.7vw, 166px);
  font-weight: 600;
  letter-spacing: -0.075em;
  line-height: 0.84;
  white-space: nowrap;
  animation: rise-in 900ms 150ms var(--ease) both;
}

.hero-alias {
  margin: 34px 0 0;
  padding-left: 0.24em;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: clamp(24px, 2.7vw, 40px);
  font-weight: 400;
  letter-spacing: 0.24em;
  line-height: 1;
  animation: rise-in 900ms 240ms var(--ease) both;
}

.hero-lead {
  max-width: 590px;
  margin: 32px auto 0;
  color: var(--text-soft);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  animation: rise-in 900ms 330ms var(--ease) both;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 38px;
  animation: rise-in 900ms 420ms var(--ease) both;
}

/* Page hero -------------------------------------------------------------- */
.page-hero {
  padding: 78px 0 58px;
  border-bottom: 1px solid var(--line);
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 52px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1.5;
  text-transform: uppercase;
}

.breadcrumb a {
  transition: color 180ms var(--ease);
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb .sep {
  color: rgba(214, 255, 221, 0.24);
}

.breadcrumb .current {
  color: var(--text-soft);
}

.page-hero .eyebrow {
  color: var(--accent);
}

.page-title {
  max-width: 950px;
  margin: 20px 0 0;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(46px, 5.4vw, 76px);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 1.04;
  animation: rise-in 760ms var(--ease) both;
}

.page-lead {
  max-width: 660px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
  animation: rise-in 760ms 100ms var(--ease) both;
}

/* Catalog ---------------------------------------------------------------- */
.catalog {
  padding: 54px 0 112px;
}

.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.catalog-toolbar p {
  margin: 0;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-transform: uppercase;
}

.catalog-toolbar .catalog-count {
  color: var(--accent);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.project-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 274px;
  padding: 26px 28px 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(15, 21, 16, 0.76), rgba(7, 10, 8, 0.64));
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition:
    border-color 240ms var(--ease),
    background-color 240ms var(--ease),
    transform 240ms var(--ease);
}

.project-card::before {
  position: absolute;
  top: 0;
  left: 28px;
  width: 0;
  height: 1px;
  background: var(--accent);
  content: '';
  opacity: 0.8;
  transition: width 320ms var(--ease);
}

.project-card:hover {
  border-color: rgba(124, 255, 138, 0.25);
  background: linear-gradient(180deg, rgba(17, 25, 18, 0.85), rgba(8, 12, 9, 0.72));
  transform: translateY(-3px);
}

.project-card:hover::before {
  width: 38px;
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 36px;
}

.card-index {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  line-height: 1;
}

.card-type {
  overflow: hidden;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-align: right;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.card-title {
  margin: 0 0 13px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1.12;
}

.card-description {
  max-width: 460px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.72;
}

.card-actions {
  margin-top: auto;
  padding-top: 30px;
}

.card-more {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 36px;
  padding: 0 15px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.09em;
  line-height: 1;
  text-transform: uppercase;
  transition:
    color 180ms var(--ease),
    border-color 180ms var(--ease),
    background-color 180ms var(--ease);
}

.card-more .arrow {
  font-size: 11px;
  transition: transform 180ms var(--ease);
}

.card-more:hover {
  border-color: var(--accent-line);
  background: var(--accent-dim);
  color: var(--accent);
}

.card-more:hover .arrow {
  transform: translate(2px, -2px);
}

/* Detail pages ----------------------------------------------------------- */
.detail-hero {
  padding: 64px 0 54px;
  border-bottom: 1px solid var(--line);
}

.detail-hero .breadcrumb {
  margin-bottom: 48px;
}

.detail-hero .page-title {
  font-size: clamp(54px, 6.5vw, 94px);
}

.detail-lead {
  max-width: 740px;
  margin: 26px 0 0;
  color: var(--text-soft);
  font-size: 17px;
  line-height: 1.75;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 30px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.018);
  color: var(--muted-strong);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(320px, 0.72fr);
  align-items: start;
  gap: 76px;
  padding: 70px 0 112px;
}

.detail-content {
  min-width: 0;
}

.detail-section + .detail-section {
  margin-top: 44px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

.detail-section h2 {
  margin: 0 0 18px;
  color: var(--text);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.3;
}

.detail-section h3 {
  margin: 30px 0 12px;
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.detail-section p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.82;
}

.detail-section p + p {
  margin-top: 16px;
}

.detail-section .tag-list {
  margin-top: 22px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 34px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding: 15px 0 15px 18px;
  border-top: 1px solid var(--line);
  color: var(--text-soft);
  font-size: 13.5px;
  line-height: 1.62;
}

.feature-list li::before {
  position: absolute;
  top: 23px;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  content: '';
  box-shadow: 0 0 8px rgba(124, 255, 138, 0.35);
}

.download-card {
  position: sticky;
  top: 104px;
  padding: 28px;
  border: 1px solid rgba(124, 255, 138, 0.22);
  border-radius: var(--radius);
  background:
    linear-gradient(155deg, rgba(124, 255, 138, 0.06), rgba(8, 12, 9, 0.88) 42%);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.download-card .eyebrow {
  color: var(--accent);
}

.download-card h2 {
  margin: 20px 0 10px;
  color: var(--text);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.25;
}

.download-card > p {
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.7;
}

.download-actions {
  display: grid;
  gap: 0;
  margin-top: 24px;
  padding-top: 6px;
  border-top: 1px solid var(--line);
}

.download-option {
  padding: 18px 0;
}

.download-option + .download-option {
  border-top: 1px solid var(--line);
}

.download-option-label {
  margin: 0 0 10px;
  color: var(--muted-strong);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
}

.download-option .btn {
  min-height: 46px;
  font-size: 12.5px;
}

.download-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.02em;
  line-height: 1.65;
}

.download-note a {
  color: var(--muted-strong);
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 3px;
  transition: color 180ms var(--ease);
}

.download-note a:hover {
  color: var(--accent);
}

/* About ------------------------------------------------------------------ */
.about-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.86fr);
  gap: 96px;
  padding: 76px 0 86px;
  border-bottom: 1px solid var(--line);
}

.about-statement {
  max-width: 600px;
  margin: 0;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(33px, 3.6vw, 51px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1.16;
}

.about-statement span {
  color: var(--muted);
}

.about-copy {
  padding-top: 6px;
}

.about-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.85;
}

.about-copy p + p {
  margin-top: 18px;
}

.about-copy .about-copy-lead {
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.78;
}

.about-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.about-fact {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.about-fact span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
}

.about-fact strong {
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
}

.about-fact a {
  transition: color 180ms var(--ease);
}

.about-fact a:hover {
  color: var(--accent);
}

.disciplines {
  padding: 78px 0 104px;
}

.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 26px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.section-heading h2 {
  margin: 0;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.2;
}

.section-heading .section-note {
  margin: 0;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.11em;
  line-height: 1.5;
  text-transform: uppercase;
}

.discipline-list {
  border-top: 1px solid var(--line);
}

.discipline-row {
  display: grid;
  grid-template-columns: 54px minmax(210px, 0.62fr) minmax(280px, 1.2fr) 20px;
  align-items: center;
  gap: 30px;
  padding: 29px 0;
  border-bottom: 1px solid var(--line);
  transition:
    background-color 180ms var(--ease),
    padding 180ms var(--ease);
}

.discipline-row:hover {
  padding-left: 12px;
  padding-right: 12px;
  background: rgba(124, 255, 138, 0.025);
}

.discipline-number {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.discipline-name {
  color: var(--text);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.discipline-description {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.65;
}

.discipline-arrow {
  justify-self: end;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 13px;
  transition:
    color 180ms var(--ease),
    transform 180ms var(--ease);
}

.discipline-row:hover .discipline-arrow {
  color: var(--accent);
  transform: translate(2px, -2px);
}

/* Footer ----------------------------------------------------------------- */
.site-footer {
  scroll-margin-top: 76px;
  border-top: 1px solid var(--line);
  background: rgba(4, 6, 5, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(400px, 1.1fr);
  gap: 110px;
  padding: 76px 0 64px;
}

.footer-title {
  margin: 20px 0 16px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(38px, 4.3vw, 56px);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 1.05;
}

.footer-copy {
  max-width: 380px;
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.78;
}

.contact-list {
  border-top: 1px solid var(--line);
}

.contact-link {
  display: grid;
  grid-template-columns: 142px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  transition:
    padding 180ms var(--ease),
    background-color 180ms var(--ease);
}

.contact-link:hover {
  padding-left: 8px;
  padding-right: 8px;
  background: rgba(124, 255, 138, 0.025);
}

.contact-label {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  line-height: 1.5;
  text-transform: uppercase;
}

.contact-value {
  color: var(--text-soft);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: color 180ms var(--ease);
}

.contact-arrow {
  justify-self: end;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 13px;
  transition:
    color 180ms var(--ease),
    transform 180ms var(--ease);
}

.contact-link:hover .contact-value,
.contact-link:hover .contact-arrow {
  color: var(--accent);
}

.contact-link:hover .contact-arrow {
  transform: translate(2px, -2px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 22px 0 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  line-height: 1.5;
  text-transform: uppercase;
}

.footer-bottom .footer-meta {
  color: rgba(126, 138, 128, 0.75);
}

/* Questions list --------------------------------------------------------- */
.qa-page {
  padding: 64px 0 110px;
}

.qa-category {
  padding: 46px 0 52px;
  border-bottom: 1px solid var(--line);
}

.qa-category:first-child {
  padding-top: 0;
}

.qa-category-head {
  max-width: 720px;
  margin-bottom: 28px;
}

.qa-category-kicker {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 14px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.qa-category-kicker .divider {
  width: 22px;
  height: 1px;
  background: var(--line-strong);
}

.qa-category-title {
  margin: 0;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(30px, 3.2vw, 44px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1.1;
}

.qa-category-description {
  max-width: 600px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.75;
}

.qa-list {
  max-width: 900px;
  border-top: 1px solid var(--line);
}

.qa-item {
  border-bottom: 1px solid var(--line);
}

.qa-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 21px 0;
  color: var(--text-soft);
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.5;
  cursor: pointer;
  list-style: none;
  transition: color 180ms var(--ease);
}

.qa-item summary::-webkit-details-marker {
  display: none;
}

.qa-item summary::after {
  flex: 0 0 auto;
  color: var(--muted);
  content: '+';
  font-family: var(--font-mono);
  font-size: 17px;
  line-height: 1;
  transition: color 180ms var(--ease);
}

.qa-item summary:hover {
  color: var(--text);
}

.qa-item[open] summary {
  color: var(--text);
}

.qa-item[open] summary::after {
  color: var(--accent);
  content: '−';
}

.qa-answer {
  max-width: 760px;
  padding: 0 52px 24px 0;
}

.qa-answer p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.qa-answer p + p {
  margin-top: 12px;
}

.qa-answer a {
  color: var(--text-soft);
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 3px;
  transition: color 180ms var(--ease);
}

.qa-answer a:hover {
  color: var(--accent);
}

.qa-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  max-width: 900px;
  margin-top: 48px;
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(10, 15, 11, 0.64);
}

.qa-contact-copy {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.65;
}

.qa-contact-copy strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text-soft);
  font-size: 15px;
  font-weight: 600;
}

.qa-contact .btn {
  min-height: 42px;
  padding-inline: 18px;
  font-size: 12px;
}

/* Mobile and tablet header ----------------------------------------------- */
@media (max-width: 1240px) {
  body.menu-is-open {
    overflow: hidden;
  }

  .site-header {
    padding: 10px 12px 0;
    border-bottom: 0;
    background: linear-gradient(
      180deg,
      rgba(5, 7, 6, 0.96) 0%,
      rgba(5, 7, 6, 0.78) 62%,
      rgba(5, 7, 6, 0) 100%
    );
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .site-header.is-scrolled {
    border-bottom-color: transparent;
    background: linear-gradient(
      180deg,
      rgba(5, 7, 6, 0.98) 0%,
      rgba(5, 7, 6, 0.84) 62%,
      rgba(5, 7, 6, 0) 100%
    );
  }

  .site-header .header-inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    width: 100%;
    max-width: none;
    height: 60px;
    margin: 0;
    padding: 0 8px 0 14px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: rgba(7, 11, 8, 0.9);
    -webkit-backdrop-filter: blur(18px) saturate(120%);
    backdrop-filter: blur(18px) saturate(120%);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    transition:
      background-color 240ms var(--ease),
      border-color 240ms var(--ease);
  }

  .site-header.is-scrolled .header-inner {
    border-color: rgba(214, 255, 221, 0.22);
    background: rgba(7, 11, 8, 0.97);
  }

  .brand-logo {
    height: 29px;
  }

  .header-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: auto;
    z-index: 60;
    display: flex;
    flex-direction: column;
    width: min(430px, 100%);
    max-height: calc(100dvh - 96px);
    padding: 12px;
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 1px solid var(--line-strong);
    border-radius: 24px;
    background: #080c09;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.58);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-6px);
    transform-origin: top center;
    transition:
      opacity 180ms var(--ease),
      transform 180ms var(--ease),
      visibility 180ms;
  }

  .site-header.menu-open .header-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-self: stretch;
    order: 1;
    gap: 2px;
  }

  .main-nav a {
    min-height: 44px;
    padding: 0 13px;
    border-radius: 9px;
    color: var(--text-soft);
    font-size: 15px;
  }

  .main-nav a:hover {
    background: rgba(255, 255, 255, 0.035);
  }

  .main-nav a.is-active {
    background: var(--accent-dim);
  }

  .main-nav a::after {
    display: none;
  }

  .header-tools {
    order: 2;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: 100%;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
  }

  .site-search {
    width: 100%;
  }

  .search-field {
    height: 44px;
  }

  .search-results {
    position: static;
    width: 100%;
    max-height: 320px;
    margin-top: 8px;
    background: #060a07;
    box-shadow: none;
  }

  .language-switch {
    align-self: flex-start;
    justify-content: flex-start;
    padding: 4px;
  }

  .language-button {
    min-width: 34px;
    height: 30px;
    font-size: 9.5px;
  }

  .header-contact {
    display: none;
  }

  .mobile-actions {
    display: flex;
    align-items: center;
    justify-self: end;
    gap: 8px;
  }

  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--text);
    cursor: pointer;
    transition: background-color 180ms var(--ease);
  }

  .menu-toggle:hover {
    background: rgba(255, 255, 255, 0.045);
  }

  .menu-toggle span {
    width: 16px;
    height: 1.5px;
    border-radius: 2px;
    background: currentColor;
    transition:
      transform 220ms var(--ease),
      opacity 180ms var(--ease);
  }

  .site-header.menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(5.5px) rotate(45deg);
  }

  .site-header.menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-header.menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-5.5px) rotate(-45deg);
  }

  .mobile-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: var(--text);
    color: #071007;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    transition:
      background-color 180ms var(--ease),
      transform 180ms var(--ease);
  }

  .mobile-contact:hover {
    background: #ffffff;
    transform: translateY(-1px);
  }

  .mobile-contact span {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 400;
  }

  .shell {
    width: calc(100% - 48px);
  }

  .page-hero {
    padding-top: 62px;
  }

  .search-hint {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}

@media (max-width: 980px) {
  .hero {
    min-height: calc(100svh - 80px);
    padding: 54px 0 64px;
  }

  .hero-inner {
    width: min(100% - 48px, 760px);
  }

  .hero-title {
    font-size: clamp(60px, 15.5vw, 124px);
  }

  .hero-alias {
    margin-top: 26px;
    font-size: clamp(20px, 3.2vw, 28px);
  }

  .hero-lead {
    max-width: 520px;
    margin-top: 26px;
    font-size: 15px;
  }

  .hero-actions {
    margin-top: 30px;
  }

  .page-hero {
    padding: 54px 0 44px;
  }

  .page-title {
    font-size: clamp(42px, 7.2vw, 62px);
  }

  .detail-hero {
    padding: 52px 0 44px;
  }

  .detail-hero .breadcrumb {
    margin-bottom: 36px;
  }

  .detail-hero .page-title {
    font-size: clamp(44px, 8vw, 72px);
  }

  .detail-lead {
    font-size: 15.5px;
  }

  .catalog {
    padding: 44px 0 88px;
  }

  .project-grid,
  .project-grid--three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 42px;
    padding: 52px 0 86px;
  }

  .download-card {
    position: static;
    top: auto;
    max-width: 520px;
  }

  .about-intro {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
    padding: 54px 0 66px;
  }

  .about-statement {
    max-width: 680px;
  }

  .disciplines {
    padding: 56px 0 86px;
  }

  .discipline-row {
    grid-template-columns: 40px minmax(0, 1fr) 18px;
    align-items: start;
    gap: 8px 16px;
    padding: 24px 0;
  }

  .discipline-number {
    grid-column: 1;
    grid-row: 1;
    padding-top: 4px;
  }

  .discipline-name {
    grid-column: 2;
    grid-row: 1;
  }

  .discipline-description {
    grid-column: 2;
    grid-row: 2;
  }

  .discipline-arrow {
    grid-column: 3;
    grid-row: 1;
  }


  .footer-main {
    grid-template-columns: minmax(0, 1fr);
    gap: 38px;
    padding: 56px 0 44px;
  }

  .qa-page {
    padding: 48px 0 88px;
  }

  .qa-category {
    padding: 38px 0 44px;
  }
}

@media (max-width: 760px) {
  .shell {
    width: calc(100% - 32px);
  }

  .site-header {
    padding: 8px 10px 0;
  }

  .header-inner {
    height: 56px;
    padding-left: 12px;
  }

  .brand-logo {
    height: 27px;
  }

  .hero {
    min-height: calc(100svh - 72px);
    padding: 44px 0 54px;
  }

  .hero-inner {
    width: calc(100% - 32px);
  }

  .hero-kicker {
    flex-wrap: wrap;
    justify-content: center;
    gap: 7px;
    margin-bottom: 26px;
    font-size: 8.5px;
    letter-spacing: 0.12em;
  }

  .hero-kicker .divider {
    width: 14px;
  }

  .hero-title {
    font-size: clamp(46px, 15vw, 100px);
  }

  .hero-alias {
    margin-top: 22px;
    padding-left: 0.17em;
    font-size: 23px;
    letter-spacing: 0.17em;
  }

  .hero-lead {
    margin-top: 24px;
    font-size: 14px;
    line-height: 1.72;
  }

  .hero-actions {
    flex-direction: column;
    width: min(320px, 100%);
    margin: 28px auto 0;
    gap: 10px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .page-hero {
    padding: 44px 0 36px;
  }

  .breadcrumb {
    margin-bottom: 30px;
    font-size: 8.5px;
  }

  .page-title {
    margin-top: 16px;
    font-size: clamp(36px, 10vw, 54px);
  }

  .page-lead {
    margin-top: 18px;
    font-size: 14.5px;
  }

  .detail-hero {
    padding: 42px 0 36px;
  }

  .detail-hero .page-title {
    font-size: clamp(37px, 9.5vw, 58px);
  }

  .detail-lead {
    margin-top: 20px;
    font-size: 14.5px;
  }

  .detail-tags {
    margin-top: 22px;
  }

  .catalog {
    padding: 32px 0 70px;
  }

  .catalog-toolbar {
    gap: 16px;
    padding-bottom: 16px;
  }

  .catalog-toolbar p {
    font-size: 8.5px;
  }

  .project-grid,
  .project-grid--three {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    margin-top: 20px;
  }

  .project-card {
    min-height: 0;
    padding: 22px 20px;
  }

  .project-card::before {
    left: 20px;
  }

  .card-top {
    margin-bottom: 28px;
  }

  .card-title {
    font-size: 24px;
  }

  .card-actions {
    padding-top: 24px;
  }

  .detail-layout {
    gap: 32px;
    padding: 42px 0 70px;
  }

  .detail-section + .detail-section {
    margin-top: 34px;
    padding-top: 30px;
  }

  .detail-section h2 {
    font-size: 20px;
  }

  .feature-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .download-card {
    padding: 22px;
  }

  .about-statement {
    font-size: clamp(30px, 8.5vw, 42px);
  }

  .about-copy p,
  .footer-copy {
    font-size: 13.5px;
  }

  .about-facts {
    gap: 24px;
  }

  .disciplines {
    padding: 46px 0 70px;
  }

  .section-heading {
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 18px;
  }

  .section-heading h2 {
    font-size: 24px;
  }


  .qa-category {
    padding: 34px 0 38px;
  }

  .qa-category-title {
    font-size: clamp(28px, 8vw, 36px);
  }

  .qa-category-description {
    font-size: 13px;
  }

  .qa-item summary {
    gap: 18px;
    padding: 18px 0;
    font-size: 14.5px;
  }

  .qa-answer {
    padding-right: 16px;
  }

  .qa-answer p {
    font-size: 13.5px;
  }

  .qa-contact {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    margin-top: 34px;
    padding: 22px;
  }

  .footer-main {
    gap: 30px;
    padding: 46px 0 36px;
  }

  .footer-title {
    margin-top: 16px;
    font-size: 38px;
  }

  .contact-link {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 18px;
    grid-template-rows: auto auto;
    gap: 3px 16px;
    padding: 16px 0;
  }

  .contact-label {
    grid-column: 1;
    grid-row: 1;
  }

  .contact-value {
    grid-column: 1;
    grid-row: 2;
    font-size: 15px;
  }

  .contact-arrow {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    padding: 18px 0 22px;
    font-size: 8px;
  }

  .search-results {
    padding: 6px;
  }

  .search-result {
    padding: 10px;
  }

  .search-result-title {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .site-header {
    padding: 8px 10px 0;
  }

  .header-inner {
    height: 54px;
    padding-left: 11px;
  }

  .brand-logo {
    height: 25px;
  }

  .mobile-actions {
    gap: 3px;
  }

  .menu-toggle {
    width: 34px;
    height: 36px;
  }

  .mobile-contact {
    height: 36px;
    padding: 0 11px;
    gap: 5px;
    font-size: 10.5px;
  }

  .hero {
    min-height: calc(100svh - 68px);
    padding: 38px 0 48px;
  }

  .hero-inner {
    width: calc(100% - 24px);
  }

  .hero-kicker {
    margin-bottom: 22px;
    font-size: 8px;
    letter-spacing: 0.1em;
  }

  .hero-title {
    font-size: clamp(44px, 15vw, 64px);
  }

  .hero-alias {
    font-size: 21px;
  }

  .hero-lead {
    font-size: 13.5px;
  }

  .page-title {
    font-size: clamp(33px, 10.5vw, 46px);
  }

  .detail-hero .page-title {
    font-size: clamp(34px, 10vw, 48px);
  }

  .qa-contact .btn {
    width: 100%;
  }

  .footer-title {
    font-size: 34px;
  }
}

/* Motion ----------------------------------------------------------------- */
@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes status-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(124, 255, 138, 0.34);
  }
  65% {
    box-shadow: 0 0 0 7px rgba(124, 255, 138, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(124, 255, 138, 0);
  }
}

/* Reduced motion --------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
