:root {
  --black: #0f1d20;
  --ink: #111314;
  --green: #0f1d20;
  --navy: #0f1d20;
  --paper: #ffffff;
  --stone: #f4f5f6;
  --muted: #62686a;
  --accent: #ffffff;
    --line: rgba(17, 21, 22, 0.14);
  --line-light: rgba(255, 255, 255, 0.16);
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --ease-io: cubic-bezier(0.7, 0, 0.2, 1);
  --gutter: clamp(20px, 5vw, 80px);
  --section: clamp(80px, 10vw, 150px);
  --header: 80px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

address {
  font-style: normal;
}

::selection {
  background: var(--green);
  color: var(--paper);
}

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.wrap {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--accent);
  color: var(--ink);
  border-radius: 4px;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.3s var(--ease);
}

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

.tone-green {
  background: var(--green);
  color: var(--paper);
}

.tone-navy {
  background: var(--navy);
  color: var(--paper);
}

.intro-screen {
  display: none;
}

.js .intro-screen {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black);
  transition: transform 1.1s var(--ease-io) 0.15s;
}

.intro-screen .mark {
  width: 110px;
  height: 64px;
  fill: var(--paper);
  animation: mark-in 1.1s var(--ease) both;
}

.is-loaded .intro-screen {
  transform: translateY(-100%);
}

.is-loaded .intro-screen .mark {
  opacity: 0;
  transition: opacity 0.4s ease;
}

@keyframes mark-in {
  from {
    opacity: 0;
    clip-path: inset(0 100% 0 0);
  }
  to {
    opacity: 1;
    clip-path: inset(0 0 0 0);
  }
}

.curtain {
  position: fixed;
  inset: 0;
  z-index: 140;
  background: var(--black);
  transform: translateY(100%);
  pointer-events: none;
  transition: transform 0.6s var(--ease-io);
}

.is-leaving .curtain {
  transform: none;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  color: var(--paper);
  border-bottom: 1px solid var(--line-light);
  transition: transform 0.6s var(--ease), background-color 0.4s ease;
}

.site-header__bar {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 1440px;
  height: var(--header);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.site-header.is-scrolled {
  background: rgba(15, 29, 32, 0.9);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.site-header.is-hidden {
  transform: translateY(-100%);
}

.logo {
  display: block;
  margin-right: auto;
}

.logo__img {
  height: 22px;
  width: auto;
  fill: currentColor;
}

.logo__img .mark__body {
  fill: var(--accent);
}

.nav {
  display: none;
}

.nav ul {
  display: flex;
  gap: 34px;
}

.nav a {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  opacity: 0.78;
  padding-block: 6px;
  transition: opacity 0.3s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease);
}

.nav a:hover,
.nav a[aria-current="page"] {
  opacity: 1;
}

.nav a:hover::after,
.nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-header .nav__cta {
  display: none;
}

.menu-toggle {
  position: relative;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-light);
  border-radius: 4px;
}

.menu-toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.5s var(--ease), top 0.5s var(--ease);
}

.menu-toggle span:first-child {
  top: 17px;
}

.menu-toggle span:last-child {
  top: 25px;
}

.menu-open .menu-toggle span:first-child,
.menu-open .menu-toggle span:last-child {
  top: 21px;
  transform: rotate(45deg);
}

.menu-open .menu-toggle span:last-child {
  transform: rotate(-45deg);
}

.menu-open {
  overflow: hidden;
}

.menu-open .site-header {
  transform: none;
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--header) + 36px) var(--gutter) 36px;
  background: var(--black);
  color: var(--paper);
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path 0.8s var(--ease-io), visibility 0s linear 0.8s;
}

.menu-open .mobile-menu {
  clip-path: inset(0 0 0 0);
  visibility: visible;
  transition: clip-path 0.8s var(--ease-io);
}

.mobile-menu li {
  overflow: hidden;
  border-bottom: 1px solid var(--line-light);
}

.mobile-menu nav a {
  display: block;
  padding: 12px 0;
  font-family: var(--serif);
  font-size: clamp(34px, 9vw, 52px);
  line-height: 1.15;
  text-decoration: none;
  transform: translateY(100%);
  transition: transform 0.7s var(--ease);
}

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

.menu-open .mobile-menu nav a {
  transform: none;
}

.menu-open .mobile-menu li:nth-child(2) a {
  transition-delay: 0.06s;
}

.menu-open .mobile-menu li:nth-child(3) a {
  transition-delay: 0.12s;
}

.menu-open .mobile-menu li:nth-child(4) a {
  transition-delay: 0.18s;
}

.menu-open .mobile-menu li:nth-child(5) a {
  transition-delay: 0.24s;
}

.mobile-menu__foot a {
  font-size: 15px;
  text-decoration: none;
  opacity: 0.7;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 24px;
  overflow: hidden;
  isolation: isolate;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-decoration: none;
  color: var(--paper);
  background: var(--green);
  border: 1px solid var(--green);
  border-radius: 4px;
  transition: color 0.45s var(--ease), border-color 0.45s var(--ease), transform 0.4s var(--ease);
}

.btn::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  background: rgba(255, 255, 255, 0.14);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.55s var(--ease);
}

.btn:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.btn:hover {
  border-color: var(--green);
}

.btn svg {
  transition: transform 0.5s var(--ease);
}

.btn:hover .ico-arrow {
  transform: translateX(4px);
}

.btn:hover .ico-diag {
  transform: translate(2px, -2px);
}

.btn--accent {
  color: var(--ink);
  background: var(--accent);
  border-color: var(--accent);
}

.btn--accent::before {
  background: var(--stone);
}

.btn--accent:hover {
  border-color: var(--stone);
}

.btn--ghost {
  color: var(--paper);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
}

.btn--ghost::before {
  background: var(--paper);
}

.btn--ghost:hover {
  color: var(--ink);
  border-color: var(--paper);
}

.btn--outline {
  color: var(--ink);
  background: transparent;
  border-color: var(--line);
}

.btn--outline::before {
  background: var(--ink);
}

.btn--outline:hover {
  color: var(--paper);
  border-color: var(--ink);
}

.btn--small {
  padding: 10px 18px;
  font-size: 13px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.label {
  display: block;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.4;
  color: var(--muted);
}

.tone-green .label,
.tone-navy .label,
.site-footer .label {
  color: rgba(255, 255, 255, 0.6);
}

.label--title {
  font-size: 14px;
}

.rule {
  height: 1px;
  background: var(--line);
  margin-bottom: clamp(32px, 4vw, 48px);
  transform-origin: left;
}

.tone-green .rule,
.tone-navy .rule {
  background: var(--line-light);
}

.js .rule[data-grow] {
  transform: scaleX(0);
  transition: transform 1.4s var(--ease-io);
}

.js .rule[data-grow].is-in {
  transform: scaleX(1);
}

.h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 4.4vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.015em;
}

.h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 2.8vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.lead {
  font-family: var(--serif);
  font-size: clamp(20px, 1.7vw, 24px);
  line-height: 1.4;
}

.statement {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.45;
  letter-spacing: -0.015em;
}

.statement--quote {
  max-width: 26ch;
  margin-top: clamp(64px, 9vw, 130px);
  font-family: var(--serif);
  font-size: clamp(26px, 2.8vw, 40px);
  line-height: 1.2;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 1s var(--ease), transform 1.2s var(--ease);
}

.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

.js [data-hero]:not(.is-ready) [data-reveal].is-in {
  opacity: 0;
  transform: translateY(26px);
}

.js [data-delay="1"] {
  transition-delay: 0.1s;
}

.js [data-delay="2"] {
  transition-delay: 0.2s;
}

.js [data-delay="3"] {
  transition-delay: 0.35s;
}

.media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 4px;
  background: var(--stone);
}

.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.14);
}

.js .media[data-reveal] {
  opacity: 1;
  transform: none;
}

.js .media[data-reveal] img {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.4s var(--ease-io);
}

.js .media[data-reveal].is-in img {
  clip-path: inset(0 0 0 0);
}

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--paper);
  background: var(--black);
}

.hero--home {
  min-height: 100vh;
  min-height: 100svh;
}

.hero--page,
.hero--plain {
  min-height: 95vh;
  min-height: 95svh;
}

.hero--plain {
  padding-top: calc(var(--header) + 80px);
  background: var(--green);
}

.hero--404 {
  min-height: 100vh;
  min-height: 100svh;
  align-items: center;
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 29, 32, 0.55) 0%, rgba(15, 29, 32, 0.15) 35%, rgba(15, 29, 32, 0.8) 100%),
    rgba(15, 29, 32, 0.3);
}

.hero__media video,
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  transform: scale(1.12);
  transition: transform 2.6s var(--ease);
}

.js [data-hero].is-ready .hero__media video,
.js [data-hero].is-ready .hero__media img {
  transform: scale(1.02);
}

.hero__content {
  position: relative;
  display: grid;
  gap: 28px;
  padding-top: calc(var(--header) + 60px);
  padding-bottom: clamp(48px, 7vw, 96px);
}

.hero__title {
  max-width: 22ch;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 4.2vw, 62px);
  line-height: 1.1;
  letter-spacing: -0.015em;
}

.hero--page .hero__title,
.hero--plain .hero__title {
  font-size: clamp(48px, 7vw, 104px);
  line-height: 1;
}

.hero__side {
  display: grid;
  gap: 24px;
  max-width: 440px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.82);
}

.hero--404 .hero__content {
  justify-items: start;
}

.code {
  font-family: var(--serif);
  font-size: clamp(110px, 22vw, 300px);
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--accent);
}

.section {
  position: relative;
  padding-block: var(--section);
}

.split {
  display: grid;
  gap: 28px;
}

.split--head {
  margin-bottom: clamp(40px, 5vw, 72px);
}

.split__side {
  display: grid;
  gap: 28px;
  justify-items: start;
  align-content: end;
  max-width: 480px;
}

.split__side p {
  opacity: 0.8;
}

.grid {
  display: grid;
  gap: 20px;
}

.grid__main {
  display: grid;
  gap: clamp(40px, 5vw, 64px);
}

p.grid__main {
  display: block;
}

.grid + .pair {
  margin-top: clamp(56px, 7vw, 96px);
  padding-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--line-light);
}

.pair {
  display: grid;
  gap: 32px;
  align-items: center;
}

.pair__body {
  display: grid;
  gap: 22px;
  justify-items: start;
  max-width: 560px;
}

.pair__body p:not(.lead) {
  opacity: 0.82;
}

.pair__body a:not(.btn),
.statement a {
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}

.closing {
  padding-top: 18px;
  border-top: 1px solid var(--line);
  width: 100%;
}

.closing strong {
  font-weight: 600;
}

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

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

.row__link {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  padding-block: 32px;
  text-decoration: none;
}

.row__num {
  padding-top: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.row__body {
  display: grid;
  gap: 12px;
  justify-items: start;
}

.row__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(26px, 2.4vw, 34px);
  line-height: 1.15;
  transition: transform 0.6s var(--ease);
}

.row__text {
  max-width: 62ch;
  font-size: 15px;
  color: var(--muted);
}

.row__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 2px;
  border-bottom: 1px solid currentColor;
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
}

.row__more svg {
  transition: transform 0.5s var(--ease);
}

.row__img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 4px;
  background: var(--stone);
}

.row__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.4);
  transition: transform 1s var(--ease), filter 0.6s ease;
}

a.row__link:hover .row__title {
  transform: translateX(8px);
}

a.row__link:hover .row__img img {
  transform: scale(1.07);
  filter: grayscale(0);
}

a.row__link:hover .row__more svg {
  transform: translate(2px, -2px);
}

.svc-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.svc-nav ul {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-mask-image: linear-gradient(90deg, #000 80%, transparent);
  mask-image: linear-gradient(90deg, #000 80%, transparent);
  padding-block: 14px;
  scrollbar-width: none;
}

.svc-nav ul::-webkit-scrollbar {
  display: none;
}

.svc-nav a {
  display: block;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  color: var(--muted);
  transition: color 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}

.svc-nav a:hover,
.svc-nav a.is-active {
  color: var(--paper);
  background: var(--green);
  border-color: var(--green);
}

.service {
  padding-top: clamp(56px, 7vw, 104px);
  scroll-margin-top: 70px;
}

.service:last-of-type {
  padding-bottom: var(--section);
}

.svc {
  display: grid;
  gap: 28px;
  align-items: center;
}

.svc__media {
  aspect-ratio: 4 / 3;
}

.svc__body {
  display: grid;
  gap: 20px;
  max-width: 580px;
}

.svc__body p:not(.lead) {
  color: var(--muted);
}

.cards {
  display: grid;
  gap: 12px;
}

.card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 18px;
  padding: 28px 26px 30px;
  background: var(--stone);
  border-radius: 4px;
  transition: transform 0.6s var(--ease), background-color 0.4s ease;
}

.card:hover {
  transform: translateY(-6px);
}

.card p {
  font-size: 16px;
  line-height: 1.65;
}

.card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(26px, 2.2vw, 32px);
  line-height: 1.1;
}

.tone-light {
  background: var(--stone);
  color: var(--ink);
}

.tone-green .card {
  background: var(--stone);
  color: var(--ink);
}

.cta__circle {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  color: var(--paper);
  transition: background-color 0.5s ease, color 0.5s ease, transform 0.7s var(--ease), border-color 0.5s ease;
}

.cta__circle svg {
  width: 30%;
  height: 30%;
}

.mail-link:hover .cta__circle {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--ink);
  transform: rotate(-45deg);
}

.mail-link {
  display: grid;
  gap: 28px;
  justify-items: start;
  text-decoration: none;
}

.mail-link strong {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(18px, 5.4vw, 30px);
  line-height: 1.15;
  overflow-wrap: break-word;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  padding-bottom: 6px;
  transition: background-size 0.8s var(--ease);
}

.mail-link:hover strong {
  background-size: 100% 1px;
}

.policy {
  display: grid;
  gap: 48px;
}

.policy__body {
  display: grid;
  gap: 56px;
  max-width: 760px;
}

.policy__sec {
  display: grid;
  gap: 16px;
  scroll-margin-top: 100px;
}

.policy__sec h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 2.8vw, 38px);
  line-height: 1.15;
}

.policy__sec p,
.policy__sec li,
.policy__sec dd {
  color: #3c4345;
}

.policy__sec ul {
  display: grid;
  gap: 10px;
}

.policy__sec li {
  position: relative;
  padding-left: 22px;
}

.policy__sec li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 10px;
  height: 1px;
  background: var(--green);
}

.policy__sec a {
  color: var(--green);
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

.policy__sec dl {
  border-top: 1px solid var(--line);
}

.policy__sec dl > div {
  display: grid;
  gap: 6px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.policy__sec dt {
  font-family: var(--serif);
  font-size: 21px;
}

.site-footer {
  padding: clamp(80px, 9vw, 130px) 0 28px;
  background: var(--black);
  color: var(--paper);
}

.footer-grid {
  display: grid;
  gap: 22px;
  padding-bottom: clamp(48px, 6vw, 80px);
}

.footer-lead {
  max-width: 40ch;
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.5;
  letter-spacing: -0.015em;
}

.footer-sub {
  max-width: 46ch;
  opacity: 0.6;
}

.footer-grid--links {
  padding-top: 40px;
  border-top: 1px solid var(--line-light);
  gap: 40px;
}

.footer-nav ul {
  display: grid;
  gap: 6px;
}

.footer-nav a {
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  opacity: 0.75;
  transition: opacity 0.3s ease, padding 0.5s var(--ease), color 0.3s ease;
}

.footer-nav a:hover {
  opacity: 1;
  color: var(--accent);
  padding-left: 8px;
}

.footer-contact {
  display: grid;
  gap: 14px;
  align-content: start;
}

.footer-contact address {
  display: grid;
  gap: 4px;
  font-size: 15px;
}

.footer-contact address a {
  text-decoration: none;
  opacity: 0.75;
}

.footer-contact address a:hover {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-logo {
  display: block;
  padding-block: clamp(24px, 4vw, 48px);
  color: var(--paper);
}

.footer-logo .logo__img {
  width: 100%;
  height: auto;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line-light);
  font-size: 13px;
  opacity: 0.6;
}

.footer-bottom a {
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 4px;
  background: var(--green);
  color: var(--paper);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.6s var(--ease), background-color 0.4s ease;
}

.to-top.is-on {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.to-top:hover {
  background: var(--navy);
}

.cookie {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 120;
  max-width: 430px;
  max-height: calc(100vh - 24px);
  overflow-y: auto;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 24px 60px rgba(15, 29, 32, 0.2);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s ease, transform 0.7s var(--ease);
}

.cookie.is-open {
  opacity: 1;
  transform: none;
}

.cookie__main {
  display: grid;
  gap: 16px;
  padding: 26px 24px 22px;
}

.cookie__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.15;
}

.cookie__text {
  font-size: 14px;
  color: var(--muted);
}

.cookie__text a {
  color: var(--green);
  text-underline-offset: 3px;
}

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

.cookie__actions .btn {
  flex: 1 1 auto;
}

.cookie__manage {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: start;
  font-size: 13px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

.cookie__manage svg {
  transition: transform 0.4s var(--ease);
}

.cookie.show-prefs .cookie__manage svg {
  transform: rotate(180deg);
}

.cookie__prefs {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.6s var(--ease);
}

.cookie.show-prefs .cookie__prefs {
  grid-template-rows: 1fr;
}

.cookie__prefs-inner {
  overflow: hidden;
}

.cookie__prefs-pad {
  display: grid;
  gap: 12px;
  padding: 0 24px 24px;
}

.pref {
  display: grid;
  gap: 6px;
  padding: 16px;
  background: var(--stone);
  border-radius: 4px;
}

.pref__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pref__name {
  font-weight: 600;
  font-size: 14px;
}

.pref__always {
  font-size: 12px;
  font-weight: 600;
  color: var(--green);
}

.pref__desc {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

.pref__meta {
  font-size: 12px;
  color: var(--muted);
  opacity: 0.8;
}

.switch {
  position: relative;
  display: inline-flex;
  width: 44px;
  height: 24px;
}

.switch input {
  appearance: none;
  -webkit-appearance: none;
  position: absolute;
  inset: 0;
  margin: 0;
  border-radius: 999px;
  background: #c3c6c3;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.switch input::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: transform 0.4s var(--ease);
}

.switch input:checked {
  background: var(--green);
}

.switch input:checked::after {
  transform: translateX(20px);
}

.cookie__save {
  justify-self: start;
}

@media (min-width: 700px) {
  .cards--5 {
    grid-template-columns: repeat(2, 1fr);
  }

  .svc {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: clamp(32px, 5vw, 80px);
  }

  .svc--flip .svc__media {
    order: 2;
  }

  .row__link {
    grid-template-columns: 56px minmax(0, 1fr) 220px;
    gap: 28px;
    align-items: start;
  }

  .row__img {
    grid-column: 3;
    grid-row: 1;
  }

  .pair {
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 5vw, 72px);
  }

  .pair--flip > .media {
    order: 2;
  }

  .footer-grid--links {
    grid-template-columns: 1fr 1fr;
  }

  .cookie {
    left: 24px;
    bottom: 24px;
  }
}

@media (min-width: 1000px) {
  :root {
    --header: 88px;
  }

  .nav {
    display: block;
    margin-right: 28px;
  }

  .site-header .nav__cta {
    display: inline-flex;
  }

  .menu-toggle,
  .mobile-menu {
    display: none;
  }

  .hero__content {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    align-items: end;
    column-gap: 80px;
  }

  .hero--404 .hero__content {
    grid-template-columns: 1fr;
  }

  .split {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    column-gap: 80px;
    align-items: end;
  }

  .split__side--end {
    justify-items: end;
    max-width: none;
  }

  .grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
    column-gap: 48px;
  }

  .grid + .pair {
    margin-left: calc((100% - 48px) / 4 + 48px);
  }

  .row__link {
    grid-template-columns: 80px minmax(0, 1fr) 300px;
    gap: 48px;
    padding-block: 40px;
  }

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

  .cards--5 {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

  .cards--5 .card {
    min-height: 260px;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1.2fr);
    column-gap: 48px;
    align-items: start;
  }

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

  .footer-contact {
    grid-column: 3;
  }

  .cookie__main {
    padding: 28px 28px 22px;
  }

  .cookie__prefs-pad {
    padding: 0 28px 28px;
  }
}

@media (min-width: 1280px) {
  .cards--5 {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }

  .js .intro-screen {
    display: none;
  }
}
