.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 50;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 32px, var(--max));
  padding: 14px 18px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  backdrop-filter: blur(18px);
  box-shadow: 4px 4px 0 #000;
  transition:
    background 0.45s var(--ease),
    color 0.45s var(--ease),
    border 0.45s var(--ease),
    box-shadow 0.45s var(--ease);
}

.site-header.is-scrolled,
body:not(:has(.hero)) .site-header {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  border-color: var(--accent);
  box-shadow: 6px 6px 0 #000;
}

.brand {
  order: 1;
  font-weight: 800;
  font-family: var(--pixel);
  font-size: 12px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.site-nav {
  order: 2;
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
  font-size: 14px;
  color: currentColor;
}

.site-search-form {
  position: relative;
  width: clamp(210px, 20vw, 310px);
  margin-left: 0;
  z-index: 2;
}

.site-search-label {
  position: relative;
  display: block;
}

.site-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: #000;
  background: var(--yellow);
  border: 2px solid #000;
  transform: translateY(-50%);
  pointer-events: none;
}

.site-search-icon svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.7;
  stroke-linecap: square;
}

.site-search-input {
  width: 100%;
  height: 40px;
  padding: 0 12px 0 44px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  border: 2px solid #000;
  border-radius: var(--radius);
  box-shadow: 3px 3px 0 #000;
  font: 800 13px/1 var(--display);
  transition:
    background 0.2s var(--ease),
    box-shadow 0.2s var(--ease),
    transform 0.2s var(--ease);
}

.site-search-input::placeholder {
  color: rgba(12, 13, 45, 0.62);
  transition: opacity 0.18s var(--ease);
}

.site-search-input.is-changing-placeholder::placeholder {
  opacity: 0;
}

.site-search-input:focus {
  background: #fff;
  box-shadow: 4px 4px 0 #000;
  transform: translateY(-1px);
}

.site-search-input:focus-visible,
.site-search__result:focus-visible {
  outline: 3px solid var(--accent-2);
  outline-offset: 4px;
}

.site-search-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  right: 0;
  display: grid;
  gap: 8px;
  max-height: min(420px, calc(100vh - 130px));
  overflow-y: auto;
  padding: 10px;
  color: var(--ink);
  background:
    linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)),
    linear-gradient(
      135deg,
      rgba(0, 240, 255, 0.28),
      rgba(255, 43, 214, 0.18) 52%,
      rgba(255, 232, 74, 0.24)
    );
  border: 2px solid #000;
  border-radius: var(--radius);
  box-shadow: 6px 6px 0 #000;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition:
    opacity 0.22s var(--ease),
    transform 0.22s var(--ease);
}

.site-search-form.is-open .site-search-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.site-search__result {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  border: 2px solid transparent;
  transition:
    background 0.18s var(--ease),
    border-color 0.18s var(--ease),
    transform 0.18s var(--ease);
}

.site-search__result:hover {
  background: #fff8bf;
  border-color: #000;
  transform: translateX(2px);
}

.site-search__result span {
  padding: 5px 7px;
  color: #000;
  background: var(--accent);
  border: 2px solid #000;
  font-family: var(--pixel);
  font-size: 7px;
  font-weight: 800;
}

.site-search__result strong {
  min-width: 0;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-search__empty {
  padding: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.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;
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  color: var(--ink);
  background:
    radial-gradient(
      circle at 18% 18%,
      rgba(0, 240, 255, 0.18),
      transparent 26%
    ),
    radial-gradient(
      circle at 82% 76%,
      rgba(255, 43, 214, 0.16),
      transparent 28%
    ),
    linear-gradient(rgba(255, 247, 216, 0.96), rgba(255, 247, 216, 0.96));
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s var(--ease);
}

.page-loader::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(21, 21, 55, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 21, 55, 0.08) 1px, transparent 1px);
  background-size: 16px 16px;
}

body.is-loading-page {
  overflow: hidden;
}

body.is-loading-page .page-loader {
  opacity: 1;
  pointer-events: auto;
}

.page-loader__box {
  position: relative;
  display: grid;
  place-items: center;
  width: 230px;
  height: 230px;
}

.page-loader__box::before {
  content: "";
  position: absolute;
  inset: 22px;
  border: 3px solid #000;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 6px 6px 0 #000;
}

.page-loader__brand {
  position: relative;
  z-index: 2;
  padding: 13px 16px;
  color: #000;
  background: var(--yellow);
  border: 3px solid #000;
  box-shadow: 5px 5px 0 #000;
  font-family: var(--pixel);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.page-loader__block {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  width: 20px;
  height: 20px;
  border: 2px solid #000;
  box-shadow:
    inset -4px -4px 0 rgba(0, 0, 0, 0.22),
    3px 3px 0 #000;
  animation: loaderSnake 1.55s linear infinite;
}

.page-loader__block--one {
  background: var(--accent);
  animation-delay: 0s;
}

.page-loader__block--two {
  background: var(--accent-2);
  animation-delay: -0.13s;
}

.page-loader__block--three {
  background: var(--green);
  animation-delay: -0.26s;
}

.page-loader__block--four {
  background: var(--yellow);
  animation-delay: -0.39s;
}

@keyframes loaderSnake {
  0% {
    transform: translate(-92px, -92px);
  }
  24.99% {
    transform: translate(92px, -92px);
  }
  25% {
    transform: translate(92px, -92px);
  }
  49.99% {
    transform: translate(92px, 92px);
  }
  50% {
    transform: translate(92px, 92px);
  }
  74.99% {
    transform: translate(-92px, 92px);
  }
  75% {
    transform: translate(-92px, 92px);
  }
  100% {
    transform: translate(-92px, -92px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-loader,
  .page-loader__block {
    transition: none;
    animation: none;
  }

  .page-loader__block--one {
    transform: translate(-92px, -92px);
  }
  .page-loader__block--two {
    transform: translate(92px, -92px);
  }
  .page-loader__block--three {
    transform: translate(92px, 92px);
  }
  .page-loader__block--four {
    transform: translate(-92px, 92px);
  }
}

.site-nav a:not(.nav-cta) {
  opacity: 0.76;
  transition:
    opacity 0.25s var(--ease),
    color 0.25s var(--ease);
}

.nav-services {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 44px;
}

.nav-services::before {
  content: "";
  position: absolute;
  left: -8px;
  right: -8px;
  top: 100%;
  height: 10px;
}

.nav-services__trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.nav-services__trigger span {
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.22s var(--ease);
}

.nav-services:hover .nav-services__trigger span,
.nav-services.is-open .nav-services__trigger span,
.nav-services:focus-within .nav-services__trigger span {
  transform: translateY(2px) rotate(225deg);
}

.nav-services__panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  width: min(780px, calc(100vw - 32px));
  padding: 14px;
  color: var(--ink);
  background:
    linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)),
    linear-gradient(
      135deg,
      rgba(0, 240, 255, 0.24),
      rgba(255, 43, 214, 0.18),
      rgba(255, 232, 74, 0.22)
    );
  border: 2px solid #000;
  border-radius: var(--radius);
  box-shadow: 8px 8px 0 #000;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(-50%, 6px, 0);
  transition:
    opacity 0.22s var(--ease),
    transform 0.22s var(--ease);
}

.nav-services:hover .nav-services__panel,
.nav-services.is-open .nav-services__panel,
.nav-services:focus-within .nav-services__panel {
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(-50%, 0, 0);
}

.nav-services__panel::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -10px;
  height: 10px;
}

.nav-services__all,
.nav-services__grid a {
  display: grid;
  gap: 5px;
  color: var(--ink);
  opacity: 1 !important;
}

.nav-services__all {
  padding: 14px;
  background: #fff8bf;
  border: 2px solid #000;
  box-shadow: 4px 4px 0 #000;
}

.nav-services__all strong,
.nav-services__grid span {
  font-size: 15px;
  line-height: 1.2;
}

.nav-services__all small,
.nav-services__grid small {
  display: -webkit-box;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.nav-services__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.nav-services__grid a {
  min-height: 78px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.82);
  border: 2px solid transparent;
  transition:
    background 0.18s var(--ease),
    border-color 0.18s var(--ease),
    transform 0.18s var(--ease);
}

.nav-services__grid a:hover,
.nav-services__all:hover {
  color: var(--ink);
  background: #fff;
  border-color: #000;
  transform: translateY(-2px);
}

.nav-services__panel a::after {
  display: none;
}

.site-nav a:hover,
.footer-columns a:hover {
  opacity: 1;
  color: var(--accent);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius);
  border: 2px solid var(--ink);
  font-family: var(--pixel);
  font-size: 9px;
  font-weight: 800;
  color: #000;
  box-shadow: 4px 4px 0 #000;
  transition:
    transform 0.35s var(--ease),
    background 0.35s var(--ease),
    border-color 0.35s var(--ease),
    color 0.35s var(--ease);
}

.button:hover,
.nav-cta:hover {
  transform: translateY(-2px);
}

.button--primary,
.nav-cta {
  color: #000 !important;
  background: var(--yellow);
  border-color: #000;
}

.button--primary:hover,
.nav-cta:hover {
  background: var(--accent);
  border-color: #000;
}

.button--ghost {
  color: var(--ink);
  background: rgba(0, 240, 255, 0.16);
  border-color: var(--accent);
}

.text-link {
  display: inline-flex;
  margin-top: 24px;
  color: var(--accent);
  font-weight: 800;
}

.nav-toggle {
  order: 4;
  display: none;
  width: 44px;
  height: 44px;
  border: 2px solid currentColor;
  border-radius: var(--radius);
  color: inherit;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition:
    transform 0.35s var(--ease),
    opacity 0.35s var(--ease);
}

body.nav-open .nav-toggle span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

body.nav-open .nav-toggle span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  align-items: center;
  min-height: 100vh;
  padding: 96px 24px 32px;
  overflow-y: auto;
  color: var(--ink);
  background:
    radial-gradient(
      circle at 75% 20%,
      rgba(184, 95, 60, 0.42),
      transparent 32%
    ),
    rgba(20, 18, 16, 0.96);
  background:
    radial-gradient(
      circle at 70% 20%,
      rgba(255, 56, 199, 0.28),
      transparent 28%
    ),
    radial-gradient(
      circle at 20% 70%,
      rgba(0, 183, 255, 0.25),
      transparent 30%
    ),
    #fff7d8;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.55s var(--ease);
}

body.nav-open .mobile-menu {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu__inner {
  display: grid;
  gap: 16px;
  width: min(100%, 680px);
  margin: 0 auto;
}

.mobile-menu a:not(.button) {
  font-family: var(--pixel);
  font-size: clamp(22px, 6vw, 46px);
  line-height: 1.24;
  color: var(--ink);
  text-shadow: 3px 3px 0 rgba(255, 255, 255, 0.9);
  transform: translateY(24px);
  opacity: 0;
  transition:
    transform 0.65s var(--ease),
    opacity 0.65s var(--ease);
}

body.nav-open .mobile-menu a,
body.nav-open .mobile-services__trigger {
  transform: translateY(0);
  opacity: 1;
}

body.nav-open .mobile-menu a:nth-child(3) {
  transition-delay: 0.05s;
}
body.nav-open .mobile-menu a:nth-child(4) {
  transition-delay: 0.1s;
}
body.nav-open .mobile-menu a:nth-child(5) {
  transition-delay: 0.15s;
}
body.nav-open .mobile-menu a:nth-child(6) {
  transition-delay: 0.2s;
}
body.nav-open .mobile-menu a:nth-child(7) {
  transition-delay: 0.25s;
}

.mobile-menu__line {
  max-width: 360px;
  color: var(--muted-dark);
}

.mobile-services {
  display: grid;
  gap: 0;
  transition: gap 0.22s var(--ease);
}

.mobile-services.is-open {
  gap: 12px;
}

.mobile-services__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, 520px);
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  font-family: var(--pixel);
  font-size: clamp(22px, 6vw, 46px);
  line-height: 1.24;
  text-align: left;
  text-shadow: 3px 3px 0 rgba(255, 255, 255, 0.9);
  cursor: pointer;
  transform: translateY(24px);
  opacity: 0;
  transition:
    transform 0.65s var(--ease),
    opacity 0.65s var(--ease);
}

.mobile-services__trigger span:last-child {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-left: 16px;
  color: #000;
  background: var(--yellow);
  border: 2px solid #000;
  box-shadow: 3px 3px 0 #000;
  font-size: 18px;
  transition:
    transform 0.22s var(--ease),
    background-color 0.22s var(--ease);
}

.mobile-services.is-open .mobile-services__trigger span:last-child {
  background: var(--green);
  transform: rotate(45deg);
}

.mobile-services__panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 0.42s var(--ease),
    opacity 0.28s var(--ease);
}

.mobile-services.is-open .mobile-services__panel {
  max-height: 520px;
  opacity: 1;
}

.mobile-menu .mobile-services__panel a {
  min-height: 38px;
  padding: 9px 10px;
  color: #000;
  background: rgba(255, 255, 255, 0.82);
  border: 2px solid #000;
  box-shadow: 3px 3px 0 #000;
  font-family: var(--body);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.15;
  text-shadow: none;
}

.mobile-menu .mobile-services__panel a:first-child {
  grid-column: 1 / -1;
  background: var(--yellow);
}

.section,
.page-hero,
.contact-layout,
.legal-page,
.service-hero,
.about-hero {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.section {
  padding: 104px 0;
}

.page-hero {
  padding: 170px 0 82px;
  border-bottom: 1px solid var(--line);
}

.page-hero h1,
.service-hero h1,
.about-hero h1,
.hero h1 {
  max-width: 1040px;
  margin: 0;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(32px, 4.55vw, 58px);
  line-height: 1.02;
  letter-spacing: 0;
}

.page-hero p:not(.eyebrow),
.hero__lead,
.service-hero > p {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.15;
}

p {
  margin: 0;
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--purple);
  font-family: var(--pixel);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sharp-list {
  display: grid;
  gap: 18px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.sharp-list li {
  padding: 18px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 18px;
}

.site-footer {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 32px;
  width: min(100% - 32px, var(--max));
  margin: 70px auto 24px;
  padding: 42px 28px 30px;
  border-top: 2px solid var(--accent);
  color: var(--muted);
  background:
    linear-gradient(
      180deg,
      rgba(255, 247, 216, 0.96),
      rgba(255, 247, 216, 0.98)
    ),
    var(--bg);
  box-shadow: 0 -18px 50px rgba(255, 247, 216, 0.82);
}

.site-footer p {
  max-width: 300px;
  margin-top: 12px;
}

.footer-address {
  display: block;
  margin-top: 20px;
  color: var(--ink);
  font-weight: 700;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(4, max-content);
  gap: 52px;
  justify-content: start;
}

.footer-columns nav {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-columns strong {
  color: var(--yellow);
}

.footer-columns a {
  font-size: 14px;
}

.footer-contact span {
  max-width: 250px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
}

.footer-contact a {
  overflow-wrap: anywhere;
}

.footer-cookie-button {
  width: fit-content;
  padding: 0;
  color: var(--muted);
  background: none;
  border: 0;
  cursor: pointer;
  font-size: 14px;
  text-align: left;
}

.footer-cookie-button:hover {
  color: var(--accent);
}

.copyright {
  grid-column: 1 / -1;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  position: relative;
  z-index: 1;
}

.cta-band {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 32px;
  padding: 58px;
  color: var(--ink);
  background: var(--gradient-warm);
  border: 2px solid #000;
  border-radius: var(--radius);
  box-shadow: var(--pixel-shadow);
  overflow: hidden;
  position: relative;
}

.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px);
  background-size: 44px 44px;
}

.cta-band > * {
  position: relative;
  z-index: 1;
}

.cta-band .eyebrow {
  color: #f2c08c;
}

.cta-band h2 {
  max-width: 860px;
}

.cta-person {
  position: absolute;
  right: 24px;
  bottom: 0;
  z-index: 1;
  width: min(28vw, 320px);
  max-height: 96%;
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(10px 16px 0 rgba(0, 0, 0, 0.22));
}

.cta-band > div,
.cta-band > a {
  position: relative;
  z-index: 2;
}

.cta-person {
  position: absolute;
  right: 20px;
  bottom: 0;
  z-index: 1;
  width: min(30vw, 330px);
  max-height: 92%;
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(10px 16px 0 rgba(0, 0, 0, 0.22));
}

.cta-band > div,
.cta-band > a {
  position: relative;
  z-index: 2;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
}

.pixel-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  color: #000;
  background: var(--accent);
  border: 2px solid #000;
  box-shadow: 4px 4px 0 #000;
  position: relative;
  font-family: var(--pixel);
  font-size: 11px;
}

.pixel-icon::before,
.pixel-icon::after {
  content: "";
  position: absolute;
  display: block;
  width: 8px;
  height: 8px;
  border: 2px solid #000;
  background: var(--yellow);
}

.pixel-icon::before {
  top: -7px;
  right: -7px;
}

.pixel-icon::after {
  left: -7px;
  bottom: -7px;
  background: var(--green);
}

.pixel-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  color: #000;
  background: var(--green);
  border: 2px solid #000;
  box-shadow: 3px 3px 0 #000;
  font-size: 12px;
  font-weight: 900;
}

.tetris-stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  --content-gutter: max(16px, calc((100vw - var(--max)) / 2));
  -webkit-mask-image: linear-gradient(
    90deg,
    #000 0 var(--content-gutter),
    transparent calc(var(--content-gutter) + 10px)
      calc(100vw - var(--content-gutter) - 10px),
    #000 calc(100vw - var(--content-gutter)) 100%
  );
  mask-image: linear-gradient(
    90deg,
    #000 0 var(--content-gutter),
    transparent calc(var(--content-gutter) + 10px)
      calc(100vw - var(--content-gutter) - 10px),
    #000 calc(100vw - var(--content-gutter)) 100%
  );
}

.tetris-block {
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(0, 0, 0, 0.8);
  box-shadow:
    inset -4px -4px 0 rgba(0, 0, 0, 0.24),
    3px 3px 0 #000;
  transform: translate3d(0, -80px, 0);
  filter: saturate(0.9);
  transition:
    transform 0.9s var(--ease),
    opacity 0.5s var(--ease);
}

.cookie-banner,
.cookie-preferences {
  position: fixed;
  z-index: 160;
}

.cookie-banner {
  left: 50%;
  bottom: 18px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
  width: min(100% - 32px, 980px);
  padding: 22px;
  color: var(--ink);
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.96),
      rgba(232, 247, 255, 0.94)
    ),
    var(--surface);
  border: 3px solid #000;
  box-shadow: 8px 8px 0 #000;
  transform: translateX(-50%);
}

.cookie-banner h2,
.cookie-preferences h2 {
  margin: 4px 0 0;
  font-size: clamp(22px, 2.6vw, 34px);
}

.cookie-banner p:not(.eyebrow),
.cookie-preferences p:not(.eyebrow) {
  margin-top: 10px;
  color: var(--muted);
}

.cookie-banner a {
  display: inline-flex;
  margin-top: 12px;
  color: var(--accent);
  font-weight: 900;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.cookie-actions .button {
  white-space: nowrap;
}

.cookie-preferences {
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(21, 21, 55, 0.34);
  backdrop-filter: blur(8px);
}

.cookie-preferences__card {
  display: grid;
  gap: 16px;
  width: min(100%, 620px);
  padding: 28px;
  background: var(--surface);
  border: 3px solid #000;
  box-shadow: 9px 9px 0 #000;
}

.cookie-preferences label {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 12px;
  align-items: start;
  padding: 14px;
  background: #fffdf8;
  border: 2px solid var(--line);
  font-weight: 900;
}

.cookie-preferences input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--accent);
}

.cookie-preferences label span {
  grid-column: 2;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

body.cookie-panel-open {
  overflow: hidden;
}

.shape {
  position: absolute;
  display: block;
  pointer-events: none;
  z-index: 3;
}

.shape--circle {
  width: 72px;
  height: 72px;
  border: 10px solid var(--accent-2);
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 6px 6px 0 #000;
}

.shape--diamond {
  width: 62px;
  height: 62px;
  background: var(--green);
  border: 4px solid #000;
  box-shadow: 6px 6px 0 #000;
  transform: rotate(45deg);
}

.shape--ring {
  width: 108px;
  height: 108px;
  border: 14px solid var(--accent);
  border-radius: 50%;
  box-shadow:
    inset 0 0 0 8px var(--yellow),
    7px 7px 0 #000;
}

.shape--bar {
  width: 150px;
  height: 28px;
  background: var(--accent-2);
  border: 4px solid #000;
  box-shadow: 7px 7px 0 #000;
  transform: rotate(-8deg);
}

.shape--stairs {
  width: 88px;
  height: 88px;
  background:
    linear-gradient(var(--purple), var(--purple)) 0 60px / 28px 28px no-repeat,
    linear-gradient(var(--purple), var(--purple)) 30px 30px / 28px 58px
      no-repeat,
    linear-gradient(var(--purple), var(--purple)) 60px 0 / 28px 88px no-repeat;
  filter: drop-shadow(6px 6px 0 #000);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: -7px;
  height: 6px;
  background: linear-gradient(
    90deg,
    var(--accent),
    var(--accent-2),
    var(--yellow),
    var(--green)
  );
  border: 2px solid #000;
  opacity: 0.92;
}

.site-nav a:not(.nav-cta) {
  position: relative;
}

.site-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 4px;
  background: var(--accent-2);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.18s var(--ease);
}

.site-nav a:not(.nav-cta):hover::after {
  transform: scaleX(1);
}

.site-nav .nav-services__panel a::after {
  display: none;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 860px) {
  .site-header {
    width: calc(100% - 24px);
    top: 12px;
  }

  .site-nav {
    display: contents;
  }

  .site-nav > a {
    display: none;
  }

  .nav-services {
    display: none;
  }

  .site-search-form {
    order: 3;
    width: min(42vw, 190px);
    margin-left: auto;
    margin-right: 8px;
  }

  .site-search-input {
    height: 44px;
    padding-right: 8px;
    font-size: 12px;
  }

  .nav-toggle {
    display: block;
  }

  .site-search-dropdown {
    position: fixed;
    top: 70px;
    left: 12px;
    right: 12px;
    max-height: calc(100vh - 96px);
  }

  .section {
    padding: 72px 0;
  }

  .page-hero {
    padding: 126px 0 58px;
  }

  .cta-band,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .cta-band {
    padding: 30px;
  }

  .cta-person {
    display: none;
  }

  .cta-person {
    display: none;
  }

  .footer-columns {
    grid-template-columns: repeat(2, minmax(0, max-content));
    gap: 28px 42px;
  }

  .footer-columns nav {
    gap: 7px;
  }

  .footer-columns a,
  .footer-cookie-button,
  .footer-contact span {
    font-size: 13px;
    line-height: 1.35;
  }

  .footer-columns strong {
    margin-bottom: 2px;
  }

  .footer-contact {
    grid-column: 1 / -1;
    max-width: 300px;
  }

  .cookie-banner {
    grid-template-columns: 1fr;
    align-items: start;
    max-height: calc(100vh - 32px);
    overflow-y: auto;
  }

  .cookie-actions {
    justify-content: flex-start;
  }

  .cookie-actions .button {
    width: 100%;
    justify-content: center;
  }
}
