@font-face {
  font-family: "Martian Grotesk";
  src: url("../fonts/MartianGrotesk-VF.woff2") format("woff2");
  font-weight: 100 1000;
  font-stretch: 75% 200%;
  font-style: normal;
  font-display: swap;
}

:root,
[data-theme="dark"] {
  --bg:          #1d2a33;
  --bg-elev:     #23323d;
  --surface:     #283948;
  --surface-2:   #314656;
  --surface-3:   #3c5568;
  --border:      #3a5061;
  --rule-strong: #6f8a9a;
  --text:        #f2f5f3;
  --text-muted:  #aabbc4;
  --accent:      #b5f23d;
  --accent-ink:  #16222b;
  --danger:      #ff8a7b;
  --shadow:      0 16px 40px rgba(8, 14, 19, .5);
  --glow:        0 0 0 1px rgba(181, 242, 61, .28);
  --header-bg:   #1d2a33;
  --scrim:       rgba(8, 14, 19, .6);
  --backdrop-ink: rgba(242, 245, 243, .12);
  --glow-a:      rgba(64, 150, 255, .18);
  --glow-b:      rgba(181, 242, 61, .09);
  color-scheme: dark;
}

[data-theme="light"] {
  --bg:          #eceeec;
  --bg-elev:     #f6f7f5;
  --surface:     #f6f7f5;
  --surface-2:   #e1e5e1;
  --surface-3:   #d2d8d2;
  --border:      #c4cbc5;
  --rule-strong: #8b948e;
  --text:        #15181a;
  --text-muted:  #586067;
  --accent:      #2c5c0a;
  --accent-ink:  #f6f7f5;
  --danger:      #b3261e;
  --shadow:      0 16px 32px rgba(21, 24, 26, .07);
  --glow:        0 0 0 1px rgba(44, 92, 10, .28);
  --header-bg:   #eceeec;
  --scrim:       rgba(21, 24, 26, .5);
  --backdrop-ink: rgba(21, 24, 26, .11);
  --glow-a:      rgba(44, 120, 200, .12);
  --glow-b:      rgba(44, 92, 10, .09);
  color-scheme: light;
}

:root {
  --font: "Martian Grotesk", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --w-mark: 75%;
  --w-text: 100%;
  --w-name: 150%;
  --page: 1360px;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 64px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  position: relative;
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-stretch: var(--w-text);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
h1, h2, h3, h4 { font-size: inherit; font-weight: inherit; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg, video, canvas, iframe { display: block; max-width: 100%; }
img, video { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { padding: 0; border: 0; background: none; cursor: pointer; }
[hidden] { display: none !important; }

a:focus-visible,
button:focus-visible,
select:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

::selection { background: var(--accent); color: var(--accent-ink); }

* { scrollbar-width: thin; scrollbar-color: var(--surface-3) transparent; }
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-track { background: transparent; }
*::-webkit-scrollbar-thumb { background: var(--surface-3); border: 2px solid var(--bg); }
*::-webkit-scrollbar-thumb:hover { background: var(--rule-strong); }

.custom-scroll-hide { -ms-overflow-style: none; scrollbar-width: none; }
.custom-scroll-hide::-webkit-scrollbar { display: none; }

[data-motion="off"] { scroll-behavior: auto; }

[data-motion="off"] *,
[data-motion="off"] *::before,
[data-motion="off"] *::after {
  animation-duration: .01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: .01ms !important;
}

@media (prefers-reduced-motion: reduce) {
  html:not([data-motion="on"]) { scroll-behavior: auto; }

  html:not([data-motion="on"]) *,
  html:not([data-motion="on"]) *::before,
  html:not([data-motion="on"]) *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 1000;
  padding: 12px 20px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
}

.skip-link:focus { top: 16px; }

.mark {
  font-stretch: var(--w-mark);
  font-size: .8125rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: .05em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
  color: var(--text-muted);
}

.name {
  font-stretch: var(--w-name);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.01em;
  word-spacing: .14em;
  text-transform: uppercase;
}

body::before,
body::after {
  content: "";
  position: fixed;
  z-index: 0;
  width: 78vmax;
  height: 78vmax;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
}

body::before {
  top: -30vmax;
  left: -24vmax;
  background: radial-gradient(closest-side, var(--glow-a), transparent);
  animation: glow-a 44s ease-in-out infinite alternate;
}

body::after {
  right: -26vmax;
  bottom: -34vmax;
  background: radial-gradient(closest-side, var(--glow-b), transparent);
  animation: glow-b 56s ease-in-out infinite alternate;
}

@keyframes glow-a {
  to { transform: translate3d(30vw, 22vh, 0) scale(1.18); }
}

@keyframes glow-b {
  to { transform: translate3d(-26vw, -24vh, 0) scale(1.22); }
}

.reveal-ready [data-reveal],
.reveal-ready [data-aos] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s ease, transform .7s var(--ease);
}

.reveal-ready .is-revealed,
.reveal-ready[data-motion="off"] [data-reveal],
.reveal-ready[data-motion="off"] [data-aos] {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
}

::view-transition-old(root),
::view-transition-new(root) { animation-duration: .28s; }

[data-motion="off"]::view-transition-old(root),
[data-motion="off"]::view-transition-new(root) { animation: none; }

@keyframes scroll-progress {
  to { transform: scaleX(1); }
}

@supports (animation-timeline: scroll()) {
  .site-header::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    animation: scroll-progress linear both;
    animation-timeline: scroll(root);
    pointer-events: none;
  }

  [data-motion="off"] .site-header::after { display: none; }
}

.backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.app {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.app__main { flex: 1; }

.page-shell {
  width: 100%;
  max-width: var(--page);
  margin: 0 auto;
  padding: 40px var(--gutter) 88px;
}

.page-head { margin-bottom: 32px; }

.page-title {
  font-stretch: var(--w-name);
  font-size: clamp(1.75rem, 4.2vw, 3.25rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.01em;
  word-spacing: .14em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  color: var(--text);
}

.page-sub {
  margin-top: 16px;
  max-width: 65ch;
  color: var(--text-muted);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--header-bg);
  border-bottom: 1px solid var(--border);
  color: var(--text);
  transition: background-color .3s ease, border-color .3s ease, color .3s ease;
}

.site-header__main {
  display: flex;
  align-items: center;
  gap: clamp(16px, 1.6vw, 24px);
  height: 63px;
  padding: 0 clamp(16px, 1.8vw, 28px);
}

.util-nav {
  display: flex;
  align-items: center;
  align-self: stretch;
  gap: clamp(10px, 1vw, 20px);
  padding-left: clamp(14px, 1.4vw, 24px);
  border-left: 1px solid var(--border);
  transition: border-color .3s ease;
}

.util-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-stretch: var(--w-mark);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: .86;
  transition: opacity .2s ease, color .2s ease;
}

.util-link:hover { opacity: 1; color: var(--accent); }
.util-link svg { width: 11px; height: 11px; }

.lang {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
}

.site-header .lang {
  align-self: stretch;
  padding-left: clamp(12px, 1.2vw, 20px);
  border-left: 1px solid var(--border);
  transition: border-color .3s ease;
}

button.lang__btn {
  min-width: 36px;
  height: 32px;
  padding: 0 8px;
  font-stretch: var(--w-mark);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  opacity: .6;
  transition: opacity .2s ease;
}

button.lang__btn:hover { opacity: 1; }

button.lang__btn[aria-current="true"] {
  opacity: 1;
  box-shadow: inset 0 -2px 0 var(--accent);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  margin-right: auto;
  color: inherit;
}

.brand__mark,
.brand__logo {
  display: flex;
  align-items: center;
  height: 40px;
  flex: none;
}

.brand__emblem,
.brand__logo-img {
  display: block;
  width: auto;
  height: 40px;
  object-fit: contain;
}

.brand__logo-img { width: 40px; }

.brand__logo-img.is-light { display: none; }
[data-theme="light"] .brand__logo-img.is-dark  { display: none; }
[data-theme="light"] .brand__logo-img.is-light { display: block; }

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.brand__name {
  font-stretch: var(--w-name);
  font-size: 1.0625rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
}

.brand__full {
  max-width: 30ch;
  font-stretch: var(--w-mark);
  font-size: .75rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: .05em;
  text-transform: uppercase;
  opacity: .72;
}

@media (min-width: 1560px) {
  .brand__full { max-width: none; white-space: nowrap; }
}

.main-nav {
  display: flex;
  align-items: stretch;
  gap: clamp(12px, 1.4vw, 28px);
  height: 100%;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-size: .9375rem;
  font-weight: 600;
  white-space: nowrap;
  color: inherit;
  transition: color .2s ease;
}

.main-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s var(--ease);
}

.main-nav .nav-link:hover::after,
.main-nav .nav-link.is-active::after { transform: scaleX(1); }

button.menu-btn {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  color: inherit;
}

button.menu-btn svg { width: 26px; height: 26px; }

.has-hero .site-header {
  position: fixed;
  left: 0;
  right: 0;
}

.has-hero .site-header:not(.is-stuck) {
  background: linear-gradient(to bottom, rgba(0, 0, 0, .62), rgba(0, 0, 0, 0));
  border-bottom-color: transparent;
  color: #f4f5f2;
}

.has-hero .site-header:not(.is-stuck) .util-nav,
.has-hero .site-header:not(.is-stuck) .lang { border-left-color: rgba(255, 255, 255, .22); }
.has-hero .site-header:not(.is-stuck) .brand__logo-img.is-dark  { display: block; }
.has-hero .site-header:not(.is-stuck) .brand__logo-img.is-light { display: none; }
.has-hero .site-header:not(.is-stuck) { --accent: #b5f23d; }

@media (max-width: 1359px) {
  .brand__full { display: none; }
}

@media (max-width: 1180px) {
  :root { --header-h: 60px; }
  .site-header .main-nav,
  .site-header .util-nav,
  .site-header .lang { display: none; }
  .site-header__main { height: 59px; }
  button.menu-btn { display: grid; }
}

.drawer {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 70;
  display: flex;
  flex-direction: column;
  width: min(320px, 88vw);
  height: 100%;
  background: var(--bg-elev);
  border-right: 1px solid var(--border);
  color: var(--text);
  transform: translateX(-100%);
  visibility: hidden;
  transition: transform .3s var(--ease), visibility 0s linear .3s;
}

.drawer.is-open {
  transform: none;
  visibility: visible;
  transition: transform .3s var(--ease), visibility 0s;
}

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  padding: 0 8px 0 20px;
  border-bottom: 1px solid var(--border);
}

.drawer__title {
  font-stretch: var(--w-name);
  font-size: 1.0625rem;
  font-weight: 800;
}

button.drawer__close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
}

button.drawer__close svg { width: 22px; height: 22px; }

.drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 8px 20px 24px;
}

.drawer__nav .nav-link {
  display: flex;
  min-height: 52px;
  border-bottom: 1px solid var(--border);
  font-size: 1.0625rem;
}

.drawer__nav .nav-link.is-active { box-shadow: inset 3px 0 0 var(--accent); padding-left: 16px; }

.drawer__ext {
  display: flex;
  flex-direction: column;
  margin-top: 20px;
}

.drawer__ext .util-link { min-height: 44px; font-size: .875rem; }

.drawer .lang { margin-top: 16px; gap: 8px; }

.drawer button.lang__btn {
  min-width: 52px;
  height: 44px;
  border: 1px solid var(--border);
  font-size: .875rem;
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 65;
  background: var(--scrim);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility 0s linear .3s;
}

.drawer-overlay.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity .3s ease, visibility 0s;
}

body.drawer-open { overflow: hidden; }

.btn,
.nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid var(--rule-strong);
  background: transparent;
  color: var(--text);
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.btn:hover,
.nav-btn:hover { border-color: var(--text); }

.btn svg,
.nav-btn svg { width: 13px; height: 13px; flex: none; }

.btn--signal {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-ink);
}

.btn--signal:hover {
  border-color: var(--text);
  background: var(--text);
  color: var(--bg);
}

.sect {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
  column-gap: clamp(24px, 4vw, 64px);
  padding: clamp(40px, 6vw, 80px) 0;
  border-top: 1px solid var(--border);
}

.sect__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  align-self: start;
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.sect__title {
  font-stretch: var(--w-name);
  font-size: clamp(1.125rem, 1.7vw, 1.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.005em;
  word-spacing: .14em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  color: var(--text);
}

.sect__more {
  font-size: .9375rem;
  font-weight: 600;
  color: var(--text);
  box-shadow: inset 0 -1px 0 var(--rule-strong);
  transition: box-shadow .2s ease;
}

.sect__more:hover { box-shadow: inset 0 -2px 0 var(--accent); }

.sect__body { min-width: 0; }

.sect--stack {
  grid-template-columns: minmax(0, 1fr);
  row-gap: 28px;
}

.sect--stack .sect__head {
  position: static;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
}

@media (max-width: 900px) {
  .sect { grid-template-columns: minmax(0, 1fr); row-gap: 24px; }
  .sect__more { padding: 12px 0; }
  .site-footer__links a { min-height: 44px; }

  .sect__head {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px 20px;
  }
}

.pgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1px;
  padding: 1px;
}

@media (max-width: 560px) {
  .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.pcard {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  box-shadow: 0 0 0 1px var(--border);
  color: inherit;
  transition: box-shadow .2s ease;
}

.pcard:hover,
.pcard:focus-visible {
  z-index: 1;
  box-shadow: 0 0 0 1px var(--accent);
}

.pcard__media {
  position: relative;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  background: var(--surface);
  overflow: hidden;
}

.pcard__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 16px;
  object-fit: contain;
  transition: transform .3s var(--ease);
}

.pcard:hover .pcard__media img { transform: translateY(-4px) scale(1.04); }

.pcard__noimg {
  font-stretch: var(--w-mark);
  font-size: .8125rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.pcard__body {
  flex: 1;
  padding: 16px 16px 20px;
}

.pcard__cat {
  display: block;
  margin-bottom: 8px;
  font-stretch: var(--w-mark);
  font-size: .75rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.pcard__title {
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.3;
  text-transform: uppercase;
  overflow-wrap: break-word;
  hyphens: auto;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pcard__desc {
  margin-top: 8px;
  font-size: .8125rem;
  line-height: 1.5;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pcard__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px 16px;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--text);
}

.pcard__more svg { width: 14px; height: 14px; }

.pmarquee {
  position: relative;
  overflow: hidden;
}

.pmarquee__track {
  display: flex;
  align-items: stretch;
  width: max-content;
  margin: 0;
  padding: 1px;
  list-style: none;
  animation: pmarquee-scroll var(--pm-duration, 60s) linear infinite;
  will-change: transform;
}

.pmarquee__item {
  flex: 0 0 auto;
  display: flex;
  margin-right: 1px;
}

@keyframes pmarquee-scroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

.pmarquee:hover .pmarquee__track,
.pmarquee:focus-within .pmarquee__track { animation-play-state: paused; }

[data-motion="off"] .pmarquee { overflow-x: auto; }
[data-motion="off"] .pmarquee__track { animation: none; }

.ptile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 232px;
  min-height: 148px;
  padding: 20px 16px;
  background: var(--bg-elev);
  box-shadow: 0 0 0 1px var(--border);
}

.ptile__glow { display: none; }

.ptile__logobox {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 60px;
}

.ptile__logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

[data-theme="dark"] .ptile__logobox--dark-ink .ptile__logo { filter: invert(1) hue-rotate(180deg); }

.ptile__caption,
.ptile__word {
  font-stretch: var(--w-mark);
  font-size: .75rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: .05em;
  text-align: center;
  text-transform: uppercase;
  text-wrap: balance;
  overflow-wrap: anywhere;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ptile__word { font-size: .9375rem; color: var(--text); }

@media (max-width: 640px) {
  .ptile { width: 192px; min-height: 128px; padding: 16px; }
  .ptile__logobox { height: 48px; }
}

.site-footer {
  position: relative;
  border-top: 1px solid var(--border);
  background: var(--bg-elev);
  color: var(--text);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: -1px 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, #0099b5 0 33.33%, #ffffff 33.33% 66.66%, #1eb53a 66.66% 100%);
}

.site-footer__inner {
  max-width: var(--page);
  margin: 0 auto;
  padding: 64px var(--gutter) 0;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr);
  gap: 48px clamp(24px, 4vw, 64px);
}

@media (max-width: 900px) {
  .site-footer__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .site-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .site-footer__grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .site-footer__inner { padding-top: 48px; }
}

.site-footer__brand-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.site-footer__logo {
  display: flex;
  align-items: center;
  height: 56px;
  flex: none;
}

.site-footer__logo .brand__logo-img { width: 56px; height: 56px; }

.site-footer__company {
  font-stretch: 125%;
  font-size: .9375rem;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.site-footer__legal {
  margin-top: 8px;
  font-size: .8125rem;
  color: var(--text-muted);
}

.site-footer__about {
  max-width: 46ch;
  font-size: .9375rem;
  color: var(--text-muted);
}

.site-footer__title {
  margin-bottom: 16px;
  font-stretch: var(--w-mark);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.site-footer__links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.site-footer__links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  font-size: .9375rem;
  transition: color .2s ease;
}

.site-footer__links a:hover { color: var(--accent); }
.site-footer__links svg { width: 11px; height: 11px; }

.fcontact {
  display: block;
  padding: 12px 0;
  border-top: 1px solid var(--border);
  transition: color .2s ease;
}

.fcontact:first-of-type { border-top: 0; padding-top: 0; }
a.fcontact:hover { color: var(--accent); }

.fcontact__label {
  display: block;
  margin-bottom: 2px;
  font-stretch: var(--w-mark);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.fcontact__value {
  display: block;
  font-size: .9375rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.fsocial {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  margin-top: 20px;
  padding: 1px;
}

.fsocial a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  box-shadow: 0 0 0 1px var(--border);
  transition: background-color .2s ease, color .2s ease;
}

.fsocial a:hover { background: var(--text); color: var(--bg); }
.fsocial svg { width: 18px; height: 18px; }

.site-footer__bottom {
  margin-top: 56px;
  padding: 20px 0 24px;
  border-top: 1px solid var(--border);
  font-size: .8125rem;
  color: var(--text-muted);
}

button.a11y-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 900;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--rule-strong);
  background: var(--bg-elev);
  color: var(--text);
  transition: background-color .2s ease, color .2s ease;
}

button.a11y-fab:hover { background: var(--text); color: var(--bg); }
button.a11y-fab svg { width: 24px; height: 24px; }

.a11y-panel {
  position: fixed;
  right: 20px;
  bottom: 80px;
  z-index: 901;
  width: min(340px, calc(100vw - 32px));
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  border: 1px solid var(--rule-strong);
  background: var(--bg-elev);
  box-shadow: var(--shadow);
  color: var(--text);
  opacity: 0;
  transform: translateY(8px);
  visibility: hidden;
  transition: opacity .2s ease, transform .2s var(--ease), visibility 0s linear .2s;
}

.a11y-panel.is-open {
  opacity: 1;
  transform: none;
  visibility: visible;
  transition: opacity .2s ease, transform .2s var(--ease), visibility 0s;
}

.a11y-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 8px 8px 20px;
  border-bottom: 1px solid var(--border);
}

.a11y-panel__title { font-size: 1rem; font-weight: 600; }

button.a11y-panel__close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-muted);
}

button.a11y-panel__close:hover { color: var(--text); }

.a11y-section { padding: 20px; }
.a11y-section + .a11y-section { border-top: 1px solid var(--border); }

.a11y-themes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding: 1px;
}

button.a11y-theme {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 8px;
  box-shadow: 0 0 0 1px var(--border);
  font-size: .8125rem;
  font-weight: 600;
  transition: background-color .2s ease;
}

button.a11y-theme:hover { background: var(--surface-2); }

button.a11y-theme.is-active {
  z-index: 1;
  box-shadow: 0 0 0 1px var(--accent), inset 0 -3px 0 var(--accent);
}

button.a11y-theme svg { width: 20px; height: 20px; }

.a11y-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.a11y-row--switch { margin-bottom: 0; }

.a11y-row__label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .9375rem;
  font-weight: 600;
}

.a11y-row__label svg { width: 18px; height: 18px; color: var(--text-muted); }
.a11y-row__label b { font-weight: 600; font-variant-numeric: tabular-nums; }

.a11y-steppers { display: flex; align-items: center; gap: 1px; padding: 1px; }

button.a11y-step {
  display: grid;
  place-items: center;
  min-width: 44px;
  height: 44px;
  padding: 0 8px;
  box-shadow: 0 0 0 1px var(--border);
  font-size: .8125rem;
  font-weight: 600;
  transition: background-color .2s ease;
}

button.a11y-step:hover { background: var(--surface-2); }
button.a11y-step svg { width: 16px; height: 16px; }

button.a11y-switch {
  position: relative;
  flex: none;
  width: 56px;
  height: 32px;
  border: 1px solid var(--rule-strong);
  background: transparent;
  transition: background-color .2s ease, border-color .2s ease;
}

.a11y-switch__knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 24px;
  height: 24px;
  background: var(--text-muted);
  transition: transform .2s var(--ease), background-color .2s ease;
}

button.a11y-switch::before {
  content: "";
  position: absolute;
  inset: -8px -4px;
}

button.a11y-switch[aria-checked="true"] { border-color: var(--accent); background: var(--accent); }
button.a11y-switch[aria-checked="true"] .a11y-switch__knob { transform: translateX(24px); background: var(--accent-ink); }

.a11y-slider {
  -webkit-appearance: none !important;
  appearance: none !important;
  width: 100%;
  height: 4px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background-color: var(--surface-3) !important;
  background-image: none !important;
  outline: none;
  box-shadow: none !important;
  cursor: pointer;
}

.a11y-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 24px;
  background: var(--accent);
  cursor: pointer;
}

.a11y-slider::-moz-range-thumb {
  width: 12px;
  height: 24px;
  border: 0;
  border-radius: 0;
  background: var(--accent);
  cursor: pointer;
}

.a11y-scale {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  font-stretch: var(--w-mark);
  font-size: .75rem;
  font-variant-numeric: tabular-nums;
  color: var(--text-muted);
}

button.a11y-reset {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--border);
  font-size: .875rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: border-color .2s ease, color .2s ease;
}

button.a11y-reset:hover { border-color: var(--text); color: var(--text); }

[data-tip] { position: relative; }

[data-tip]::after {
  content: attr(data-tip);
  position: absolute;
  right: 0;
  bottom: calc(100% + 8px);
  z-index: 5;
  padding: 8px 12px;
  background: var(--text);
  color: var(--bg);
  font-stretch: var(--w-text);
  font-size: .75rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .15s ease, visibility 0s linear .15s;
}

[data-tip]:hover::after,
[data-tip]:focus-visible::after {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

button.to-top {
  position: fixed;
  right: 20px;
  bottom: 80px;
  z-index: 880;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--rule-strong);
  background: var(--bg-elev);
  color: var(--text);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, visibility 0s linear .2s, background-color .2s ease, color .2s ease;
}

button.to-top.is-shown {
  opacity: 1;
  visibility: visible;
  transition: opacity .2s ease, visibility 0s, background-color .2s ease, color .2s ease;
}

button.to-top:hover { background: var(--text); color: var(--bg); }
button.to-top svg { width: 20px; height: 20px; }

body.a11y-open button.to-top { opacity: 0; visibility: hidden; }
