@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&display=swap");

:root {
  --ink: #322a49;
  --ink-soft: #625a78;
  --muted: #958da7;
  --line: #dad4e7;
  --panel: #f0edf7;
  --surface: #fbfaff;
  --surface-alt: #eeeaf6;
  --deep: #33284c;
  --deep-2: #17131f;
  --deep-3: #261e39;
  --accent: #7968a9;
  --accent-deep: #57477d;
  --accent-soft: #c9c1de;
  --accent-rgb: 121, 104, 169;
  --ink-rgb: 50, 42, 73;
  --deep-main-rgb: 51, 40, 76;
  --deep-rgb: 23, 19, 31;
  --line-rgb: 218, 212, 231;
  --surface-rgb: 251, 250, 255;
  --white-rgb: 255, 255, 255;
  --white: #fff;
  --header-h: 100px;
  --section-y: clamp(56px, 7vh, 96px);
  --section-screen: 100svh;
  --container: 1480px;
  --radius-ui: 8px;
  --radius-card: 16px;
  --radius-sm: 4px;
  --hero-title-size: clamp(44px, 4.6vw, 76px);
  --hero-title-line-height: 1.04;
}

:root[data-site-theme="graphite"] {
  --ink: #2e2d36;
  --ink-soft: #5f6270;
  --muted: #8f95a2;
  --line: #d7dbe3;
  --panel: #f0f2f6;
  --surface: #fbfcff;
  --surface-alt: #eef1f6;
  --deep: #282637;
  --deep-2: #11121a;
  --deep-3: #20202b;
  --accent: #6d7280;
  --accent-deep: #454a57;
  --accent-soft: #cbd0da;
  --accent-rgb: 109, 114, 128;
  --ink-rgb: 46, 45, 54;
  --deep-main-rgb: 40, 38, 55;
  --deep-rgb: 17, 18, 26;
  --line-rgb: 215, 219, 227;
  --surface-rgb: 251, 252, 255;
}

:root[data-site-theme="blue"] {
  --ink: #24324a;
  --ink-soft: #53627a;
  --muted: #8796b0;
  --line: #d5ddef;
  --panel: #eef3fb;
  --surface: #f8fbff;
  --surface-alt: #edf3fd;
  --deep: #253456;
  --deep-2: #11192a;
  --deep-3: #1d2a45;
  --accent: #4f72b8;
  --accent-deep: #36558f;
  --accent-soft: #c6d4f0;
  --accent-rgb: 79, 114, 184;
  --ink-rgb: 36, 50, 74;
  --deep-main-rgb: 37, 52, 86;
  --deep-rgb: 17, 25, 42;
  --line-rgb: 213, 221, 239;
  --surface-rgb: 248, 251, 255;
}

:root[data-site-theme="green"] {
  --ink: #253a35;
  --ink-soft: #58716a;
  --muted: #85a29a;
  --line: #d1e1dc;
  --panel: #eef7f4;
  --surface: #f8fdfb;
  --surface-alt: #edf7f4;
  --deep: #243d38;
  --deep-2: #101d1a;
  --deep-3: #1b302c;
  --accent: #4c927d;
  --accent-deep: #327061;
  --accent-soft: #bfddd3;
  --accent-rgb: 76, 146, 125;
  --ink-rgb: 37, 58, 53;
  --deep-main-rgb: 36, 61, 56;
  --deep-rgb: 16, 29, 26;
  --line-rgb: 209, 225, 220;
  --surface-rgb: 248, 253, 251;
}

:root[data-site-theme="amber"] {
  --ink: #3b3018;
  --ink-soft: #6c5b35;
  --muted: #9a8454;
  --line: #eadcb8;
  --panel: #f8f1df;
  --surface: #fffaf0;
  --surface-alt: #f7eed9;
  --deep: #47360f;
  --deep-2: #1d1507;
  --deep-3: #33260a;
  --accent: #d5a11d;
  --accent-deep: #a4740e;
  --accent-soft: #f4d98a;
  --accent-rgb: 213, 161, 29;
  --ink-rgb: 59, 48, 24;
  --deep-main-rgb: 71, 54, 15;
  --deep-rgb: 29, 21, 7;
  --line-rgb: 234, 220, 184;
  --surface-rgb: 255, 250, 240;
}

:root[data-site-theme="terracotta"] {
  --ink: #402527;
  --ink-soft: #735052;
  --muted: #a57a75;
  --line: #ecd0c9;
  --panel: #fbefec;
  --surface: #fff8f6;
  --surface-alt: #f9ebe7;
  --deep: #4f2025;
  --deep-2: #210d10;
  --deep-3: #38171b;
  --accent: #df5948;
  --accent-deep: #a83a34;
  --accent-soft: #f2b5ab;
  --accent-rgb: 223, 89, 72;
  --ink-rgb: 64, 37, 39;
  --deep-main-rgb: 79, 32, 37;
  --deep-rgb: 33, 13, 16;
  --line-rgb: 236, 208, 201;
  --surface-rgb: 255, 248, 246;
}

:root[data-site-theme="copper"] {
  --ink: #34351f;
  --ink-soft: #676746;
  --muted: #92905f;
  --line: #e2dfb7;
  --panel: #f5f3df;
  --surface: #fbfbef;
  --surface-alt: #f2f1dd;
  --deep: #3a3b22;
  --deep-2: #15160c;
  --deep-3: #292a17;
  --accent: #9b9445;
  --accent-deep: #6f6b2f;
  --accent-soft: #ddd8a4;
  --accent-rgb: 155, 148, 69;
  --ink-rgb: 52, 53, 31;
  --deep-main-rgb: 58, 59, 34;
  --deep-rgb: 21, 22, 12;
  --line-rgb: 226, 223, 183;
  --surface-rgb: 251, 251, 239;
}

:root[data-site-theme="rosewood"] {
  --ink: #3b252f;
  --ink-soft: #6f4d5c;
  --muted: #9d7386;
  --line: #ead0dc;
  --panel: #faeef4;
  --surface: #fff8fb;
  --surface-alt: #f8eaf1;
  --deep: #4a2338;
  --deep-2: #1f0e18;
  --deep-3: #351827;
  --accent: #b44c76;
  --accent-deep: #873856;
  --accent-soft: #e7b8ca;
  --accent-rgb: 180, 76, 118;
  --ink-rgb: 59, 37, 47;
  --deep-main-rgb: 74, 35, 56;
  --deep-rgb: 31, 14, 24;
  --line-rgb: 234, 208, 220;
  --surface-rgb: 255, 248, 251;
}

@media (max-width: 760px) {
  :root {
    --hero-title-size: clamp(38px, 10.8vw, 52px);
    --hero-title-line-height: 1.03;
  }
}

@media (max-width: 390px) {
  :root {
    --hero-title-size: clamp(34px, 10.2vw, 46px);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 0;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 16px;
  font-weight: 500;
  overflow-x: hidden;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
  font: inherit;
}

.container {
  width: min(var(--container), calc(100% - 64px));
  margin-inline: auto;
  position: relative;
}

.narrow {
  width: min(980px, calc(100% - 64px));
}

.site-header {
  height: var(--header-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding-inline: clamp(24px, 8.8vw, 130px);
  background: rgba(var(--surface-rgb), 0.76);
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid rgba(var(--ink-rgb), 0.08);
  box-shadow: 0 18px 48px rgba(var(--deep-rgb), 0.12);
  backdrop-filter: blur(18px) saturate(1.04);
  animation: headerDrop 760ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

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

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

.site-header > * {
  position: relative;
}

.icon-button,
.language,
.nav-arrow {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle {
  width: 52px;
  height: 52px;
  padding: 11px;
  display: grid;
  align-content: center;
  gap: 6px;
  justify-self: start;
  grid-column: 1;
  grid-row: 1;
  border: 1px solid rgba(var(--ink-rgb), 0.1);
  border-radius: var(--radius-ui);
  background: rgba(var(--white-rgb), 0.34);
  box-shadow: 0 12px 28px rgba(var(--ink-rgb), 0.09);
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.menu-toggle span {
  height: 3px;
  width: 28px;
  background: var(--deep-2);
  border-radius: 999px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  background: rgba(var(--white-rgb), 0.62);
  border-color: rgba(var(--accent-rgb), 0.24);
  box-shadow: 0 16px 34px rgba(var(--ink-rgb), 0.14);
  transform: translateY(-1px);
}

.site-header.open .menu-toggle {
  background: rgba(var(--white-rgb), 0.72);
  border-color: rgba(var(--accent-rgb), 0.32);
  box-shadow: 0 18px 38px rgba(var(--ink-rgb), 0.16);
}

.site-header.open .menu-toggle span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

.site-header.open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.open .menu-toggle span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 1vw, 16px);
  min-height: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  grid-column: 2;
  grid-row: 1;
}

.brand-mark-img {
  display: block;
  width: clamp(56px, 4.35vw, 70px);
  height: clamp(56px, 4.35vw, 70px);
  object-fit: contain;
}

.brand-title {
  color: var(--ink);
  font-size: clamp(25px, 2vw, 34px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  white-space: nowrap;
  text-shadow:
    0 1px 0 rgba(var(--white-rgb), 0.72),
    0 2px 0 rgba(var(--deep-rgb), 0.07),
    0 12px 22px rgba(var(--deep-rgb), 0.12);
}

.language-select {
  justify-self: end;
  grid-column: 3;
  grid-row: 1;
  position: relative;
  z-index: 20;
  width: max-content;
}

.language {
  min-width: 104px;
  width: 100%;
  height: 52px;
  border: 1px solid rgba(var(--ink-rgb), 0.18);
  border-radius: var(--radius-ui);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(var(--white-rgb), 0.34);
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(var(--ink-rgb), 0.08);
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.language:hover,
.language-select.is-open .language {
  background: rgba(var(--white-rgb), 0.68);
  border-color: rgba(var(--accent-rgb), 0.26);
  box-shadow: 0 16px 34px rgba(var(--ink-rgb), 0.13);
  transform: translateY(-1px);
}

.language svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  transition: transform 160ms ease;
}

.language-select.is-open .language svg {
  transform: rotate(180deg);
}

.flag {
  width: 20px;
  height: 13px;
  border-radius: 2px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
  flex: 0 0 auto;
}

.flag--az {
  background: linear-gradient(#00a3dd 0 33.33%, #ef3340 33.33% 66.66%, #509e2f 66.66%);
}

.flag--ru {
  background: linear-gradient(#fff 0 33.33%, #1c57a7 33.33% 66.66%, #d52b1e 66.66%);
}

.flag--en {
  background:
    linear-gradient(34deg, transparent 0 42%, #fff 42% 47%, #c8102e 47% 53%, #fff 53% 58%, transparent 58%),
    linear-gradient(146deg, transparent 0 42%, #fff 42% 47%, #c8102e 47% 53%, #fff 53% 58%, transparent 58%),
    linear-gradient(90deg, transparent 0 39%, #fff 39% 45%, #c8102e 45% 55%, #fff 55% 61%, transparent 61%),
    linear-gradient(0deg, transparent 0 33%, #fff 33% 42%, #c8102e 42% 58%, #fff 58% 67%, transparent 67%),
    #012169;
}

.language-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 100%;
  min-width: 100%;
  padding: 4px;
  display: grid;
  gap: 2px;
  border: 1px solid rgba(var(--ink-rgb), 0.16);
  border-radius: var(--radius-ui);
  background: rgba(var(--surface-rgb), 0.98);
  box-shadow: 0 14px 28px rgba(var(--ink-rgb), 0.16);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.language-select.is-open .language-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.language-option {
  min-height: 31px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 8px;
  border-radius: var(--radius-ui);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.language-option:hover,
.language-option:focus-visible,
.language-option.active {
  background: var(--panel);
}

.mobile-nav {
  position: fixed;
  inset: var(--header-h) auto 0 0;
  width: min(390px, 88vw);
  height: calc(100dvh - var(--header-h));
  max-height: none;
  overflow-y: auto;
  padding: clamp(28px, 4vh, 42px) 28px 34px;
  display: grid;
  align-content: start;
  background:
    linear-gradient(180deg, rgba(var(--deep-rgb), 0.94), rgba(var(--deep-main-rgb), 0.9)),
    rgba(var(--deep-rgb), 0.92);
  border-top: 1px solid rgba(var(--white-rgb), 0.08);
  border-right: 1px solid rgba(var(--white-rgb), 0.1);
  border-radius: 0 var(--radius-ui) var(--radius-ui) 0;
  box-shadow: 30px 0 78px rgba(var(--deep-rgb), 0.42);
  backdrop-filter: blur(22px) saturate(0.96);
  transform: translateX(-108%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms ease, transform 480ms cubic-bezier(0.18, 0.84, 0.24, 1);
  z-index: 45;
}

.mobile-nav::before {
  content: "";
  position: absolute;
  top: 24px;
  right: 0;
  bottom: 28px;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(var(--accent-rgb), 0.42), transparent);
  pointer-events: none;
}

.site-header.open .mobile-nav {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.menu-backdrop {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 8;
  background:
    radial-gradient(circle at 48% 28%, rgba(var(--accent-rgb), 0.13), transparent 34%),
    rgba(var(--deep-rgb), 0.62);
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(10px) saturate(0.82);
  transition: opacity 260ms ease;
}

.site-header.open + .menu-backdrop {
  opacity: 1;
  pointer-events: auto;
}

.menu-links {
  display: grid;
  gap: 0;
  width: 100%;
}

.mobile-nav a {
  border-radius: var(--radius-ui);
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.menu-links a {
  --menu-delay: 0ms;
  position: relative;
  display: grid;
  grid-template-columns: 32px 1fr;
  align-items: center;
  gap: 11px;
  min-height: 56px;
  padding: 11px 8px 11px 0;
  border-bottom: 1px solid rgba(var(--white-rgb), 0.08);
  color: rgba(var(--white-rgb), 0.7);
  font-size: clamp(17px, 1.05vw, 21px);
  font-weight: 800;
  letter-spacing: 0;
  opacity: 0;
  transform: translateX(-18px);
  transition:
    opacity 380ms ease var(--menu-delay),
    transform 380ms cubic-bezier(0.2, 0.82, 0.22, 1) var(--menu-delay),
    color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.site-header.open .menu-links a {
  opacity: 1;
  transform: translateX(0);
}

.menu-links a:nth-child(1) { --menu-delay: 70ms; }
.menu-links a:nth-child(2) { --menu-delay: 115ms; }
.menu-links a:nth-child(3) { --menu-delay: 160ms; }
.menu-links a:nth-child(4) { --menu-delay: 205ms; }
.menu-links a:nth-child(5) { --menu-delay: 250ms; }
.menu-links a:nth-child(6) { --menu-delay: 295ms; }
.menu-links a:nth-child(7) { --menu-delay: 340ms; }

.menu-links a::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
  transition: width 240ms ease;
}

.menu-links a::after {
  content: "";
  position: absolute;
  inset: 9px -10px;
  z-index: -1;
  border-radius: var(--radius-ui);
  background: rgba(var(--white-rgb), 0.06);
  opacity: 0;
  transform: scaleX(0.96);
  transition: opacity 180ms ease, transform 180ms ease;
}

.menu-links a span {
  align-self: center;
  color: rgba(var(--accent-rgb), 0.78);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  transition: color 180ms ease, transform 180ms ease;
}

.menu-links a strong {
  display: block;
  transform: translateY(1px);
  transition: transform 180ms ease, text-shadow 180ms ease;
}

.menu-links a:hover,
.menu-links a:focus-visible,
.menu-links a.is-current {
  color: var(--white);
}

.menu-links a:hover,
.menu-links a:focus-visible {
  transform: translateX(6px);
}

.site-header.open .menu-links a:hover,
.site-header.open .menu-links a:focus-visible {
  transform: translateX(6px);
}

.menu-links a:hover::before,
.menu-links a:focus-visible::before,
.menu-links a.is-current::before {
  width: 82%;
}

.menu-links a:hover::after,
.menu-links a:focus-visible::after,
.menu-links a.is-current::after {
  opacity: 1;
  transform: scaleX(1);
}

.menu-links a:hover span,
.menu-links a:focus-visible span,
.menu-links a.is-current span {
  color: var(--white);
  transform: translateX(4px);
}

.menu-links a:hover strong,
.menu-links a:focus-visible strong,
.menu-links a.is-current strong {
  transform: translate(3px, 1px);
  text-shadow: 0 14px 30px rgba(var(--accent-rgb), 0.24);
}

.hero {
  position: relative;
  height: 100svh;
  min-height: 720px;
  overflow: hidden;
  background: var(--deep-2);
  isolation: isolate;
}

.hero-fallback,
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-fallback {
  transform: scale(1.02);
  filter: saturate(1.04) contrast(1.03);
}

.hero-video {
  opacity: 0;
  transform: scale(1.045);
  filter: saturate(1.04) contrast(1.03);
  animation: heroVideoReveal 1400ms ease 260ms forwards;
}

.hero.is-video-failed .hero-video {
  visibility: hidden;
  animation: none;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(var(--deep-rgb), 0.92), rgba(var(--deep-rgb), 0.72) 34%, rgba(var(--deep-rgb), 0.24) 68%, rgba(var(--deep-rgb), 0.64)),
    linear-gradient(0deg, rgba(var(--deep-rgb), 0.74), transparent 36%, rgba(var(--deep-rgb), 0.22));
}

.hero-glow {
  position: absolute;
  inset: auto 10% 9% auto;
  z-index: 2;
  width: min(420px, 48vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.28), rgba(var(--accent-rgb), 0) 68%);
  filter: blur(12px);
  opacity: 0;
  animation: heroGlowReveal 1200ms ease 950ms forwards;
}

.hero-copy {
  position: absolute;
  left: clamp(44px, 9.8vw, 190px);
  top: 52%;
  z-index: 3;
  width: min(940px, calc(100% - 88px));
  color: var(--white);
  transform: translateY(-50%);
}

.hero-kicker {
  width: max-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 9px 13px;
  border: 1px solid rgba(var(--white-rgb), 0.2);
  border-radius: 999px;
  background: rgba(var(--white-rgb), 0.08);
  color: rgba(var(--white-rgb), 0.88);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.hero-kicker::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(var(--accent-rgb), 0.2);
}

.hero h1 {
  max-width: 920px;
  margin: 0 0 28px;
  font-size: var(--hero-title-size);
  font-weight: 900;
  line-height: var(--hero-title-line-height);
  text-wrap: balance;
}

.hero p {
  max-width: 720px;
  margin: 0;
  color: rgba(var(--white-rgb), 0.88);
  font-size: clamp(16px, 1.35vw, 21px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-actions[hidden] {
  display: none !important;
}

.hero-action {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-ui);
  padding: 15px 22px;
  font-size: 15px;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.hero-action.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: var(--white);
  box-shadow: 0 18px 38px rgba(var(--accent-rgb), 0.3);
}

.hero-action.secondary {
  border: 1px solid rgba(var(--white-rgb), 0.24);
  background: rgba(var(--white-rgb), 0.1);
  color: var(--white);
  backdrop-filter: blur(12px);
}

.hero-action:hover,
.hero-action:focus-visible {
  transform: translateY(-3px);
}

.hero-action.primary:hover,
.hero-action.primary:focus-visible {
  box-shadow: 0 24px 46px rgba(var(--accent-rgb), 0.42);
}

.hero-action.secondary:hover,
.hero-action.secondary:focus-visible {
  background: rgba(var(--white-rgb), 0.16);
}

[data-hero-reveal] {
  opacity: 0;
  transform: translateY(22px);
  filter: blur(8px);
  transition: opacity 620ms ease, transform 620ms cubic-bezier(0.2, 0.8, 0.2, 1), filter 620ms ease;
}

[data-hero-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

@keyframes headerDrop {
  from {
    opacity: 0;
    transform: translateY(-110%);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroVideoReveal {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes heroGlowReveal {
  to {
    opacity: 1;
  }
}

@keyframes siteHeroImageIn {
  to {
    opacity: var(--hero-media-opacity, 1);
    transform: scale(1.02);
  }
}

@keyframes siteHeroImageDrift {
  from {
    transform: scale(1.02) translate3d(0, 0, 0);
  }

  to {
    transform: scale(1.08) translate3d(-1.8%, 1%, 0);
  }
}

@keyframes siteHeroLightIn {
  to {
    opacity: var(--hero-light-opacity, 0.78);
  }
}

@keyframes siteHeroLightDrift {
  0% {
    transform: translate3d(-26%, -18%, 0) scale(1);
  }

  25% {
    transform: translate3d(4%, -26%, 0) scale(1.08);
  }

  50% {
    transform: translate3d(26%, 8%, 0) scale(1.12);
  }

  75% {
    transform: translate3d(-4%, 24%, 0) scale(1.06);
  }

  100% {
    transform: translate3d(-30%, 4%, 0) scale(1.1);
  }
}

@keyframes siteCtaGlowDrift {
  0% {
    transform: translate3d(-24%, -18%, 0) scale(1);
  }

  25% {
    transform: translate3d(12%, -22%, 0) scale(1.08);
  }

  50% {
    transform: translate3d(24%, 12%, 0) scale(1.12);
  }

  75% {
    transform: translate3d(-8%, 22%, 0) scale(1.06);
  }

  100% {
    transform: translate3d(-28%, 4%, 0) scale(1.1);
  }
}

.section {
  min-height: var(--section-screen);
  display: grid;
  align-items: center;
  padding-block: var(--section-y);
  overflow-x: hidden;
  scroll-margin-top: var(--header-h);
}

@supports (overflow: clip) {
  html,
  .section {
    overflow-x: clip;
  }
}

.section h2 {
  margin: 0 0 clamp(52px, 7vh, 84px);
  text-align: center;
  color: var(--ink);
  font-size: clamp(36px, 3.45vw, 64px);
  font-weight: 900;
  line-height: 1.12;
}

.services {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 18%, rgba(var(--accent-rgb), 0.08), transparent 30%),
    radial-gradient(circle at 78% 62%, rgba(var(--deep-rgb), 0.04), transparent 34%),
    var(--surface);
  min-height: auto;
  padding-block: clamp(82px, 8vw, 128px);
}

.services .container {
  width: min(1700px, calc(100% - 128px));
}

.service-list,
.team-list,
.product-list {
  --slider-visible: 3;
  --slider-gap: clamp(44px, 8vw, 132px);
  --slider-side: 0px;
  --carousel-offset: 0px;
  display: grid;
  grid-auto-flow: column;
  justify-content: center;
  gap: var(--slider-gap);
  transition: opacity 180ms ease, transform 180ms ease;
  will-change: transform, opacity;
  cursor: grab;
  user-select: none;
  touch-action: pan-y;
}

.service-list.is-empty,
.team-list.is-empty,
.product-list.is-empty {
  cursor: default;
  user-select: text;
}

.service-list .section-empty,
.team-list .section-empty,
.product-list .section-empty {
  justify-self: center;
  max-width: 520px;
  text-align: center;
}

.service-list {
  --slider-gap: clamp(34px, 3vw, 54px);
  --slider-visible: 3;
  --slider-window: calc(100% - clamp(180px, 14vw, 240px));
  width: min(100%, var(--slider-window));
  margin-inline: auto;
  grid-auto-columns: calc((100% - (2 * var(--slider-gap))) / 3);
  justify-content: start;
  overflow: hidden;
}

.service-list.is-changing,
.team-list.is-changing,
.product-list.is-changing {
  opacity: 0.72;
  transform: translateX(calc(var(--carousel-offset, 0px) + var(--slide-shift, 0px)));
}

.service-list.is-dragging,
.team-list.is-dragging,
.product-list.is-dragging {
  cursor: grabbing;
  opacity: 0.86;
  transition: none;
  transform: translateX(calc(var(--carousel-offset, 0px) + var(--drag-shift, 0px)));
}

.service-list img,
.team-list img,
.product-list img {
  -webkit-user-drag: none;
  user-select: none;
}

.service-card {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-width: 0;
  aspect-ratio: 1.1 / 1;
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(var(--white-rgb), 0.22);
  border-radius: var(--radius-card);
  background: var(--deep);
  box-shadow: 0 30px 86px rgba(var(--deep-rgb), 0.16);
  color: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 220ms ease, background-color 220ms ease, box-shadow 220ms ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(135deg, rgba(var(--white-rgb), 0.18), transparent 34%),
    radial-gradient(circle at 72% 28%, rgba(var(--accent-rgb), 0.18), transparent 42%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.service-card__media {
  position: relative;
  margin: 0;
  height: 100%;
  overflow: hidden;
  background: var(--deep);
}

.service-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(var(--deep-rgb), 0.02) 0%, rgba(var(--deep-rgb), 0.18) 38%, rgba(var(--deep-rgb), 0.82) 100%),
    linear-gradient(90deg, rgba(var(--deep-rgb), 0.18), transparent 48%);
  pointer-events: none;
}

.service-card__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 360ms ease, filter 260ms ease;
}

.service-card__body {
  position: absolute;
  inset: auto 0 0;
  z-index: 3;
  min-height: 0;
  display: grid;
  align-content: end;
  padding: clamp(22px, 2vw, 34px);
  pointer-events: none;
}

.service-card h3 {
  margin: 0;
  max-width: 360px;
  color: var(--white);
  font-size: clamp(25px, 2.1vw, 38px);
  font-weight: 900;
  line-height: 1.03;
  text-shadow: 0 14px 34px rgba(var(--deep-rgb), 0.42);
}

.service-card:hover,
.service-card:focus-visible {
  border-color: rgba(var(--accent-rgb), 0.36);
  background: var(--deep-3);
  box-shadow:
    0 34px 98px rgba(var(--deep-rgb), 0.22),
    0 0 0 1px rgba(var(--accent-rgb), 0.18);
}

.service-card:hover::before,
.service-card:focus-visible::before {
  opacity: 1;
}

.service-card:hover .service-card__media img,
.service-card:focus-visible .service-card__media img {
  transform: scale(1.035);
  filter: saturate(1.04) brightness(0.96);
}

.nav-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: clamp(60px, 4vw, 74px);
  height: clamp(60px, 4vw, 74px);
  display: grid;
  place-items: center;
  border: 1px solid rgba(var(--ink-rgb), 0.16);
  border-radius: var(--radius-ui);
  color: rgba(var(--ink-rgb), 0.48);
  background: rgba(var(--surface-rgb), 0.78);
  box-shadow: 0 12px 26px rgba(var(--ink-rgb), 0);
  transform: translateY(-50%);
  transition: border-color 160ms ease, color 160ms ease, background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.nav-arrow:hover,
.nav-arrow:focus-visible {
  border-color: rgba(var(--ink-rgb), 0.42);
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 16px 30px rgba(var(--ink-rgb), 0.16);
}

.nav-arrow.left {
  left: 0;
}

.nav-arrow.right {
  right: 0;
}

.nav-arrow.left:hover,
.nav-arrow.left:focus-visible {
  transform: translate(-5px, -50%) scale(1.04);
}

.nav-arrow.right:hover,
.nav-arrow.right:focus-visible {
  transform: translate(5px, -50%) scale(1.04);
}

.nav-arrow svg {
  width: clamp(32px, 2.1vw, 40px);
  height: clamp(32px, 2.1vw, 40px);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3.4;
}

@media (min-width: 1360px) {
  .nav-arrow.left {
    left: -86px;
  }

  .nav-arrow.right {
    right: -86px;
  }

  .services .nav-arrow.left {
    left: 0;
  }

  .services .nav-arrow.right {
    right: 0;
  }

  .products .nav-arrow.left {
    left: 0;
  }

  .products .nav-arrow.right {
    right: 0;
  }
}

@media (min-width: 1025px) and (max-width: 1359px) {
  .service-list {
    --slider-visible: 3;
    --slider-window: calc(100% - 144px);
    grid-auto-columns: calc((100% - (2 * var(--slider-gap))) / 3);
  }
}

.slider-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: clamp(60px, 6.4vw, 96px);
}

.slider-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--line);
  cursor: pointer;
  transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.slider-dots span:hover {
  transform: scale(1.18);
}

.slider-dots .active {
  background: var(--ink);
}

.slider-dots.light span {
  background: rgba(var(--white-rgb), 0.46);
}

.slider-dots.light .active {
  box-shadow: inset 0 0 0 2px var(--white);
  background: transparent;
  transform: scale(1.12);
}

.team-section {
  position: relative;
  min-height: var(--section-screen);
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 50% 44%, rgba(var(--accent-rgb), 0.28), transparent 34%),
    linear-gradient(180deg, var(--deep) 0%, var(--deep-3) 100%);
  isolation: isolate;
}

.team-section::before {
  content: "";
  position: absolute;
  inset: 14% 15% auto;
  z-index: -1;
  height: 360px;
  background: radial-gradient(circle, rgba(var(--white-rgb), 0.14), transparent 68%);
  filter: blur(28px);
  opacity: 0.6;
  pointer-events: none;
}

.team-section .container {
  position: relative;
  z-index: 1;
}

.team-section h2 {
  color: var(--white);
}

.team-list {
  min-height: clamp(470px, 52vh, 650px);
  align-items: center;
  --slider-gap: clamp(34px, 4.3vw, 84px);
}

.team-card {
  position: relative;
  width: clamp(300px, 19vw, 420px);
  min-width: 300px;
  aspect-ratio: 296 / 369;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: rgba(var(--surface-rgb), 0.08);
  cursor: default;
  isolation: isolate;
  opacity: 0.72;
  box-shadow: 0 16px 34px rgba(var(--deep-rgb), 0.14);
  transform: scale(0.92);
  transition: opacity 280ms ease, transform 280ms ease, box-shadow 280ms ease;
}

.team-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 360ms ease, filter 360ms ease;
}

.team-card.is-active {
  opacity: 1;
  box-shadow: 0 34px 76px rgba(var(--deep-rgb), 0.36);
  transform: translateY(-12px) scale(1.08);
}

.team-card:not(.is-active) img {
  filter: saturate(0.9) brightness(0.82);
}

.team-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  background: linear-gradient(180deg, rgba(var(--deep-main-rgb), 0.06) 24%, rgba(var(--deep-rgb), 0.78) 100%);
  transition: opacity 260ms ease;
}

.team-overlay {
  position: absolute;
  inset: auto 18px 18px;
  z-index: 2;
  display: block;
  padding: clamp(16px, 1.35vw, 24px);
  border: 1px solid rgba(var(--white-rgb), 0.18);
  background: rgba(var(--surface-rgb), 0.12);
  text-align: left;
  backdrop-filter: blur(14px);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 260ms ease, transform 260ms ease;
  pointer-events: none;
}

.team-card:hover::after,
.team-card:focus-visible::after,
.team-card:active::after {
  opacity: 1;
}

.team-card:hover .team-overlay,
.team-card:focus-visible .team-overlay,
.team-card:active .team-overlay {
  opacity: 1;
  transform: translateY(0);
}

.team-card:hover img,
.team-card:focus-visible img,
.team-card:active img {
  transform: scale(1.035);
  filter: saturate(0.95) brightness(0.78);
}

.team-card h3 {
  margin: 0;
  color: var(--white);
  font-size: clamp(16px, 1.1vw, 22px);
  font-weight: 900;
  line-height: 1.15;
}

.team-card span {
  display: block;
  width: 56px;
  height: 2px;
  margin: 10px 0 11px;
  background: rgba(var(--white-rgb), 0.72);
}

.team-card p {
  margin: 0;
  color: rgba(var(--white-rgb), 0.82);
  font-size: clamp(13px, 0.9vw, 17px);
  font-weight: 800;
}

.team-section .slider-dots {
  margin-top: clamp(36px, 4vw, 58px);
}

.nav-arrow.light {
  border-color: rgba(var(--white-rgb), 0.28);
  color: var(--white);
  background: rgba(var(--white-rgb), 0.08);
  backdrop-filter: blur(12px);
}

.nav-arrow.light:hover,
.nav-arrow.light:focus-visible {
  border-color: rgba(var(--white-rgb), 0.52);
  color: var(--white);
  background: rgba(var(--white-rgb), 0.16);
  box-shadow: 0 18px 34px rgba(var(--deep-rgb), 0.22);
}

.process {
  position: relative;
  min-height: var(--section-screen);
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 30%, rgba(var(--accent-rgb), 0.1), transparent 30%),
    radial-gradient(circle at 82% 72%, rgba(var(--ink-rgb), 0.08), transparent 32%),
    var(--surface);
}

.process .narrow {
  width: min(1280px, calc(100% - 64px));
}

.steps {
  --process-progress: 0%;
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.steps::before,
.steps::after {
  content: "";
  position: absolute;
  top: 31px;
  left: 8%;
  right: 8%;
  height: 2px;
  border-radius: 999px;
  pointer-events: none;
}

.steps::before {
  background: rgba(var(--line-rgb), 0.78);
}

.steps::after {
  right: auto;
  width: var(--process-progress);
  background: linear-gradient(90deg, var(--accent-deep), var(--accent));
  box-shadow: 0 0 24px rgba(var(--accent-rgb), 0.32);
  transition: width 420ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.step {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 22px;
  text-align: center;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 500ms ease, transform 500ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

.step:focus-visible {
  outline: none;
}

.step strong {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  justify-self: center;
  border: 2px solid rgba(var(--line-rgb), 0.9);
  border-radius: 50%;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 12px 30px rgba(var(--ink-rgb), 0.08);
  font-size: clamp(26px, 2.8vw, 40px);
  font-weight: 900;
  line-height: 1;
  transition: color 220ms ease, border-color 220ms ease, background-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.step div {
  position: relative;
  min-height: 178px;
  height: 100%;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 10px;
  overflow: hidden;
  padding: 28px 22px 26px;
  border: 2px solid rgba(var(--line-rgb), 0.9);
  border-radius: var(--radius-card);
  background:
    linear-gradient(145deg, rgba(var(--white-rgb), 0.72), rgba(var(--surface-rgb), 0.92)),
    rgba(var(--surface-rgb), 0.92);
  box-shadow: 0 18px 42px rgba(var(--ink-rgb), 0.06);
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease, background-color 220ms ease;
}

.step div::before {
  content: "";
  position: absolute;
  inset: -50px auto auto -44px;
  width: 138px;
  height: 138px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.18), transparent 68%);
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 260ms ease, transform 260ms ease;
}

.step div::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(var(--white-rgb), 0.5), transparent 34%);
  opacity: 0.5;
  pointer-events: none;
}

.step svg {
  position: relative;
  z-index: 1;
  width: 40px;
  height: 40px;
  fill: none;
  stroke: var(--ink);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.3;
  transition: stroke 220ms ease, transform 220ms ease;
}

.step h3,
.step p {
  position: relative;
  z-index: 1;
  margin: 0;
}

.step h3 {
  color: var(--deep-2);
  font-size: clamp(17px, 1.28vw, 22px);
  font-weight: 900;
  line-height: 1.15;
}

.step p {
  max-width: 245px;
  color: rgba(var(--ink-rgb), 0.68);
  font-size: clamp(12px, 0.9vw, 15px);
  font-weight: 800;
  line-height: 1.35;
  transition: color 220ms ease;
}

.step:hover strong,
.step:focus-within strong,
.step.is-active strong {
  color: var(--white);
  border-color: rgba(var(--accent-rgb), 0.9);
  background: linear-gradient(135deg, var(--accent-deep), var(--accent));
  box-shadow: 0 18px 38px rgba(var(--accent-rgb), 0.24);
  transform: translateY(-4px);
}

.step:hover div,
.step:focus-within div,
.step.is-active div {
  border-color: rgba(var(--accent-rgb), 0.7);
  background:
    linear-gradient(145deg, rgba(var(--white-rgb), 0.96), rgba(var(--surface-rgb), 0.98)),
    var(--white);
  box-shadow: 0 26px 62px rgba(var(--ink-rgb), 0.16);
  transform: translateY(-8px);
}

.step:hover div::before,
.step:focus-within div::before,
.step.is-active div::before {
  opacity: 1;
  transform: scale(1);
}

.step:hover svg,
.step:focus-within svg,
.step.is-active svg {
  stroke: var(--accent-deep);
  transform: translateY(-2px) rotate(-5deg) scale(1.08);
}

.step:hover h3,
.step:focus-within h3,
.step.is-active h3 {
  color: var(--ink);
}

.step:hover p,
.step:focus-within p,
.step.is-active p {
  color: rgba(var(--ink-rgb), 0.78);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  margin-top: 72px;
}

.btn {
  min-width: 280px;
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--radius-ui);
  padding: 16px 28px;
  color: var(--white);
  cursor: pointer;
  font-size: 17px;
  font-weight: 900;
  text-align: center;
  transition: transform 160ms ease, filter 160ms ease;
}

.btn:hover {
  filter: brightness(0.96);
  transform: translateY(-1px);
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
}

.btn.secondary {
  background: var(--ink-soft);
}

.btn.muted {
  width: min(290px, 100%);
  margin: 72px auto 0;
  background: var(--muted);
}

:where(
  .hero-action,
  .btn,
  .services-cta a,
  .service-page-card__link,
  .service-detail-button,
  .contact-button,
  .contact-form button,
  .request-submit,
  .shop-reset-button,
  .shop-more button,
  .knowledge-more,
  .knowledge-cta a,
  .about-button
) {
  position: relative;
  overflow: hidden;
}

:where(
  .hero-action,
  .btn,
  .services-cta a,
  .service-page-card__link,
  .service-detail-button,
  .contact-button,
  .contact-form button,
  .request-submit,
  .shop-reset-button,
  .shop-more button,
  .knowledge-more,
  .knowledge-cta a,
  .about-button
)::after {
  content: "";
  position: absolute;
  inset: -30% auto -30% -70%;
  width: 48%;
  transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(var(--white-rgb), 0.34), transparent);
  opacity: 0;
  pointer-events: none;
}

:where(
  .hero-action,
  .btn,
  .services-cta a,
  .service-page-card__link,
  .service-detail-button,
  .contact-button,
  .contact-form button,
  .request-submit,
  .shop-reset-button,
  .shop-more button,
  .knowledge-more,
  .knowledge-cta a,
  .about-button
):hover::after,
:where(
  .hero-action,
  .btn,
  .services-cta a,
  .service-page-card__link,
  .service-detail-button,
  .contact-button,
  .contact-form button,
  .request-submit,
  .shop-reset-button,
  .shop-more button,
  .knowledge-more,
  .knowledge-cta a,
  .about-button
):focus-visible::after {
  opacity: 1;
  animation: siteButtonShine 760ms ease;
}

@keyframes siteButtonShine {
  from {
    left: -70%;
  }

  to {
    left: 130%;
  }
}

@media (prefers-reduced-motion: reduce) {
  :where(
    .hero-action,
    .btn,
    .services-cta a,
    .service-page-card__link,
    .service-detail-button,
    .contact-button,
    .contact-form button,
    .request-submit,
    .shop-reset-button,
    .shop-more button,
    .knowledge-more,
    .knowledge-cta a,
    .about-button
  )::after {
    animation: none !important;
    opacity: 0 !important;
  }
}

.products {
  min-height: auto;
  padding-block: clamp(72px, 7vw, 112px);
  background:
    radial-gradient(circle at 78% 16%, rgba(var(--accent-rgb), 0.1), transparent 28%),
    var(--surface-alt);
}

.products .container {
  width: min(1700px, calc(100% - 128px));
}

.products .nav-arrow.left {
  left: 0;
}

.products .nav-arrow.right {
  right: 0;
}

.product-list {
  --slider-gap: clamp(28px, 4.2vw, 42px);
  --slider-visible: 4;
  --slider-window: calc(100% - clamp(118px, 9vw, 176px));
  width: min(100%, var(--slider-window));
  margin-inline: auto;
  grid-auto-columns: calc((100% - (3 * var(--slider-gap))) / 4);
  justify-content: start;
  overflow: hidden;
  cursor: default;
}

.products .product-list.is-dragging {
  cursor: default;
}

.product-card {
  width: 100%;
  min-width: 0;
  outline: none;
}

.product-card img {
  width: 100%;
  aspect-ratio: 212 / 265;
  object-fit: cover;
  border-radius: var(--radius-card);
  background: var(--white);
  box-shadow: 0 14px 30px rgba(var(--ink-rgb), 0);
  transition: transform 220ms ease, box-shadow 220ms ease, filter 220ms ease;
}

.product-card h3 {
  margin: 34px 0 0;
  color: var(--deep-2);
  font-size: clamp(18px, 1.48vw, 26px);
  font-weight: 800;
  line-height: 1.2;
  transition: color 180ms ease;
}

.product-card:hover,
.product-card:focus-visible {
  outline: none;
}

.product-card:hover img,
.product-card:focus-visible img {
  transform: scale(1.025);
  filter: saturate(1.05);
  box-shadow:
    0 24px 70px rgba(var(--deep-rgb), 0.12),
    0 0 0 1px rgba(var(--accent-rgb), 0.16);
}

.product-card:hover h3,
.product-card:focus-visible h3 {
  color: var(--ink);
}

.product-card:active {
  filter: brightness(0.98);
}

@media (min-width: 1025px) and (max-width: 1359px) {
  .product-list {
    --slider-visible: 4;
    --slider-window: calc(100% - 144px);
    grid-auto-columns: calc((100% - (3 * var(--slider-gap))) / 4);
  }
}

.info {
  min-height: auto;
  padding-block: clamp(82px, 7.6vw, 124px) clamp(68px, 5.8vw, 96px);
  background: var(--surface);
}

.article-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(30px, 5vw, 56px);
  align-items: start;
}

.section-empty {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 700;
}

.article-card {
  position: relative;
  display: block;
  border-bottom: 1px solid var(--line);
  padding-bottom: 42px;
  cursor: pointer;
  outline: none;
  transition: border-color 220ms ease;
}

.article-card.is-added {
  animation: articleReveal 440ms cubic-bezier(0.2, 0.82, 0.22, 1) both;
}

.article-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-card);
  box-shadow: 0 16px 36px rgba(var(--ink-rgb), 0);
  transition: transform 260ms ease, filter 260ms ease, box-shadow 260ms ease;
}

.article-card h3 {
  margin: 34px 0 0;
  color: var(--deep-2);
  font-size: clamp(17px, 1.5vw, 22px);
  font-weight: 800;
  line-height: 1.28;
  transition: color 200ms ease;
}

.article-card:hover,
.article-card:focus-visible {
  border-color: rgba(var(--accent-rgb), 0.42);
}

.article-card:hover img,
.article-card:focus-visible img {
  filter: saturate(1.04) brightness(0.9);
  box-shadow:
    0 24px 64px rgba(var(--deep-rgb), 0.12),
    0 0 0 1px rgba(var(--accent-rgb), 0.14);
  transform: scale(1.018);
}

.article-card:hover h3,
.article-card:focus-visible h3 {
  color: var(--accent-deep);
}

.article-actions {
  display: flex;
  justify-content: center;
  margin-top: clamp(46px, 4.4vw, 68px);
}

.btn.muted {
  margin: 0;
}

.btn[hidden] {
  display: none;
}

@keyframes articleReveal {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.instagram {
  position: relative;
  min-height: auto;
  padding-block: clamp(66px, 6.4vw, 104px) clamp(76px, 8vw, 124px);
  background:
    linear-gradient(180deg, rgba(var(--line-rgb), 0.18), rgba(var(--line-rgb), 0) 18%),
    var(--surface);
}

.instagram::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(1180px, calc(100% - 80px));
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), 0.34), transparent);
  transform: translateX(-50%);
  pointer-events: none;
}

.instagram h2 {
  margin-bottom: clamp(34px, 4vw, 58px);
}

.instagram .container {
  width: min(1600px, calc(100% - 96px));
}

.instagram-feed {
  width: min(1480px, 100%);
  margin-inline: auto;
}

.instagram-profile-card {
  width: max-content;
  max-width: 100%;
  display: grid;
  grid-template-columns: 68px auto auto;
  align-items: center;
  gap: 24px;
  margin: 0 auto 34px;
  padding: 16px 18px;
  border: 1px solid rgba(var(--line-rgb), 0.78);
  border-radius: var(--radius-card);
  background: rgba(var(--white-rgb), 0.72);
  box-shadow: 0 22px 54px rgba(var(--ink-rgb), 0.1);
  backdrop-filter: blur(16px);
}

.instagram-avatar {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: linear-gradient(135deg, var(--deep), var(--accent));
  font-size: 20px;
  font-weight: 900;
}

.instagram-profile-card strong {
  display: block;
  color: var(--deep-2);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.2;
}

.instagram-profile-card small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.instagram-stats {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
}

.instagram-stats b {
  display: block;
  color: var(--ink);
  font-size: 17px;
  font-weight: 900;
  text-align: center;
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 34px 86px rgba(var(--ink-rgb), 0.14);
}

.instagram-post {
  position: relative;
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--panel);
  outline: none;
}

.instagram-post img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms ease, filter 320ms ease;
}

.instagram-post::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(var(--deep-rgb), 0.08), rgba(var(--deep-rgb), 0.68));
  opacity: 0;
  transition: opacity 220ms ease;
}

.instagram-post::after {
  content: "Instagram";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  color: var(--white);
  font-size: 14px;
  font-weight: 900;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.instagram-post.is-video .instagram-type {
  opacity: 1;
}

.instagram-type {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: rgba(var(--deep-rgb), 0.64);
  font-size: 14px;
  opacity: 0;
  backdrop-filter: blur(8px);
}

.instagram-post:hover::before,
.instagram-post:focus-visible::before,
.instagram-post:hover::after,
.instagram-post:focus-visible::after {
  opacity: 1;
}

.instagram-post:hover::after,
.instagram-post:focus-visible::after {
  transform: translateY(0);
}

.instagram-post:hover img,
.instagram-post:focus-visible img {
  filter: saturate(1.04) brightness(0.76);
  transform: scale(1.06);
}

.instagram-state {
  width: min(520px, 100%);
  margin: 0 auto;
  padding: 20px;
  border: 1px solid rgba(var(--line-rgb), 0.86);
  border-radius: var(--radius-card);
  color: var(--ink-soft);
  background: rgba(var(--white-rgb), 0.72);
  text-align: center;
  font-weight: 800;
}

.instagram-shot {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  object-fit: contain;
}

.footer {
  position: relative;
  overflow: hidden;
  padding-block: 72px 56px;
  color: var(--white);
  background:
    radial-gradient(circle at 14% 18%, rgba(var(--accent-rgb), 0.24), transparent 32%),
    radial-gradient(circle at 86% 12%, rgba(var(--white-rgb), 0.08), transparent 28%),
    linear-gradient(180deg, var(--deep) 0%, var(--deep-2) 100%);
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), 0.72), transparent);
}

.footer .container {
  width: min(1480px, calc(100% - 96px));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.78fr 1fr 1fr;
  gap: clamp(34px, 6vw, 86px);
  margin-top: 0;
}

.footer .footer-logo {
  position: static;
  align-items: center;
  gap: 14px;
  grid-column: auto;
  grid-row: auto;
  left: auto;
  transform: none;
  width: max-content;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  filter: none;
  opacity: 1;
}

.footer .footer-logo img {
  width: clamp(48px, 4vw, 62px);
  height: clamp(48px, 4vw, 62px);
  flex: 0 0 auto;
  object-fit: contain;
}

.footer .footer-logo span {
  color: var(--white);
  font-size: clamp(20px, 1.7vw, 28px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  white-space: nowrap;
  text-shadow:
    0 1px 0 rgba(var(--white-rgb), 0.2),
    0 2px 0 rgba(var(--deep-rgb), 0.42),
    0 14px 26px rgba(var(--deep-rgb), 0.28);
}

.footer h3 {
  margin: 0 0 26px;
  color: var(--white);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.footer a,
.footer p {
  margin: 0;
  color: rgba(var(--white-rgb), 0.62);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  transition: color 180ms ease, transform 180ms ease;
}

.footer a:hover,
.footer a:focus-visible {
  color: var(--white);
}

.footer-grid > div:not(.footer-brand) {
  display: grid;
  align-content: start;
  gap: 14px;
}

.footer-grid > div:not(.footer-brand, .social) a:hover,
.footer-grid > div:not(.footer-brand, .social) a:focus-visible {
  transform: translateX(5px);
}

.contact-list {
  margin: 30px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
  list-style: none;
}

.contact-list li {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 10px 12px;
  border: 1px solid rgba(var(--white-rgb), 0.08);
  border-radius: var(--radius-ui);
  background: rgba(var(--white-rgb), 0.045);
}

.contact-list span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: rgba(var(--accent-rgb), 0.34);
  font-size: 14px;
  flex: 0 0 auto;
}

.contact-list b {
  color: var(--white);
}

.social-icons {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
}

.social-icons a,
.social-icons span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(var(--white-rgb), 0.12);
  border-radius: 50%;
  color: var(--white);
  background: rgba(var(--white-rgb), 0.08);
  font-size: 18px;
  font-weight: 900;
  transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.social-icons span.is-disabled {
  opacity: 0.38;
  cursor: default;
}

.social-icons a:hover,
.social-icons a:focus-visible {
  transform: translateY(-3px);
  background: rgba(var(--accent-rgb), 0.42);
  box-shadow: 0 16px 34px rgba(var(--deep-rgb), 0.26);
}

.ig,
.fb,
.tk,
.yt {
  background: rgba(var(--white-rgb), 0.08);
}

@media (max-width: 1024px) {
  .container,
  .narrow {
    width: min(100% - 40px, var(--container));
  }

  .site-header {
    padding-inline: 28px;
  }

  .products .container {
    width: min(100% - 40px, var(--container));
  }

  .services .container {
    width: min(100% - 40px, var(--container));
  }

  .hero {
    min-height: 680px;
  }

  .service-list,
  .team-list,
  .product-list {
    --slider-visible: 2;
    --slider-gap: 28px;
    --slider-window: calc(100% - 148px);
    width: var(--slider-window);
    margin-inline: auto;
    grid-auto-columns: calc((100% - var(--slider-gap)) / 2);
    justify-content: start;
    overflow-x: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-inline: 0;
    touch-action: pan-x pan-y;
  }

  .service-list::-webkit-scrollbar,
  .team-list::-webkit-scrollbar,
  .product-list::-webkit-scrollbar {
    display: none;
  }

  .service-card,
  .team-card,
  .product-card {
    width: 100%;
    min-width: 0;
    scroll-snap-align: center;
  }

  .team-card {
    width: 100%;
    min-width: 0;
  }

  .team-card.is-active {
    transform: translateY(-8px) scale(1.03);
  }

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

  .steps::before,
  .steps::after {
    display: none;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  :root {
    --header-h: 82px;
    --section-y: 68px;
  }

  .site-header {
    --header-control-size: 50px;
    height: var(--header-h);
    display: flex;
    justify-content: space-between;
    gap: 8px;
    padding-inline: 18px;
  }

  .site-header .brand {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    gap: 10px;
    min-height: 0;
    padding: 0;
  }

  .site-header .brand-mark-img {
    width: 50px;
    height: 50px;
  }

  .brand-title {
    font-size: clamp(19px, 4.6vw, 24px);
  }

  .language-select {
    margin-left: auto;
  }

  .menu-toggle {
    width: var(--header-control-size);
    height: var(--header-control-size);
    padding: 10px;
  }

  .menu-toggle span {
    width: 26px;
  }

  .language {
    min-width: var(--header-control-size);
    width: var(--header-control-size);
    height: var(--header-control-size);
    padding: 0;
    font-size: 12px;
  }

  .language .language-current,
  .language svg {
    display: none;
  }

  .language-menu {
    width: 104px;
    min-width: 104px;
  }

  .mobile-nav {
    inset: var(--header-h) auto 0 0;
    width: min(330px, 88vw);
    height: calc(100dvh - var(--header-h));
    max-height: none;
    padding: 24px 20px 30px;
    border-radius: 0 var(--radius-ui) var(--radius-ui) 0;
  }

  .menu-backdrop {
    inset: var(--header-h) 0 0;
  }

  .menu-links a {
    min-height: 52px;
    grid-template-columns: 30px 1fr;
    gap: 10px;
    padding: 10px 0;
    font-size: clamp(16px, 4.4vw, 19px);
  }

  .menu-links a span {
    width: auto;
    height: auto;
    font-size: 10px;
  }

  .hero {
    height: 700px;
    min-height: 700px;
  }

  .hero-video {
    object-position: 58% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(var(--deep-rgb), 0.96), rgba(var(--deep-rgb), 0.68)),
      linear-gradient(0deg, rgba(var(--deep-rgb), 0.78), transparent 48%);
  }

  .hero-copy {
    left: 20px;
    top: 55%;
    width: calc(100% - 40px);
  }

  .hero h1 {
    max-width: 420px;
    margin-bottom: 20px;
    font-size: var(--hero-title-size);
  }

  .hero p {
    max-width: 380px;
    font-size: 15px;
  }

  .hero-actions {
    margin-top: 26px;
  }

  .hero-action {
    min-height: 50px;
    padding-inline: 18px;
  }

  .section h2 {
    margin-bottom: 44px;
  }

  .section,
  .services,
  .team-section,
  .process,
  .products,
  .info,
  .instagram {
    min-height: auto;
  }

  .service-list,
  .team-list,
  .product-list {
    --slider-visible: 1;
    --slider-gap: 22px;
    --slider-window: calc(100% - 116px);
    width: var(--slider-window);
    grid-auto-columns: 100%;
  }

  .service-card,
  .team-card,
  .product-card {
    width: calc(100% - var(--slider-side) - var(--slider-side));
    min-width: calc(100% - var(--slider-side) - var(--slider-side));
  }

  .nav-arrow {
    width: 46px;
    height: 46px;
    border-radius: var(--radius-ui);
  }

  .nav-arrow svg {
    width: 24px;
    height: 24px;
  }

  .team-list {
    min-height: 390px;
  }

  .team-card.is-active {
    transform: translateY(-6px) scale(1.01);
  }

  .team-overlay {
    inset: auto 14px 14px;
    padding: 14px;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .step {
    gap: 10px;
    grid-template-columns: 56px 1fr;
    grid-template-rows: auto;
    align-items: center;
    text-align: left;
  }

  .step::before {
    content: "";
    position: absolute;
    left: 27px;
    top: 56px;
    bottom: -18px;
    width: 2px;
    z-index: 0;
    background: rgba(var(--line-rgb), 0.8);
  }

  .step:last-child::before {
    display: none;
  }

  .step.is-active::before {
    background: linear-gradient(180deg, var(--accent), rgba(var(--line-rgb), 0.8));
  }

  .step strong {
    position: relative;
    z-index: 2;
    width: 56px;
    height: 56px;
    border-width: 2px;
    box-shadow:
      0 0 0 10px var(--surface),
      0 12px 30px rgba(var(--ink-rgb), 0.08);
    font-size: 25px;
  }

  .step div {
    position: relative;
    z-index: 1;
    height: 168px;
    min-height: 142px;
    justify-items: start;
    padding: 24px 22px;
  }

  .step h3 {
    font-size: 18px;
  }

  .step p {
    max-width: none;
    font-size: 13px;
  }

  .cta-row {
    margin-top: 44px;
    gap: 14px;
  }

  .btn {
    width: 100%;
    min-width: 0;
  }

  .article-list {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .instagram {
    padding-top: 24px;
  }

  .instagram .container {
    width: min(100% - 40px, var(--container));
  }

  .instagram-profile-card {
    width: 100%;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 18px 20px;
    padding: 16px;
  }

  .instagram-avatar {
    width: 64px;
    height: 64px;
  }

  .instagram-profile-card strong,
  .instagram-profile-card small {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .instagram-stats {
    grid-column: 1 / -1;
    justify-content: space-between;
  }

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

  .instagram-shot {
    width: calc(100% + 40px);
    max-width: none;
    margin-left: -20px;
  }

  .footer {
    padding-block: 48px;
  }

  .footer .container {
    width: min(100% - 40px, var(--container));
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 38px;
    margin-top: 0;
  }

  .contact-list {
    margin-top: 30px;
  }
}

@media (max-width: 560px) {
  .site-header .brand {
    gap: 8px;
  }

  .site-header .brand-mark-img {
    width: 42px;
    height: 42px;
  }

  .brand-title {
    font-size: clamp(16px, 4.3vw, 19px);
  }

  .language {
    min-width: var(--header-control-size);
    width: var(--header-control-size);
    height: var(--header-control-size);
    padding: 0;
  }

  .language-menu {
    width: 96px;
    min-width: 96px;
  }
}

@media (max-width: 430px) {
  .site-header {
    --header-control-size: 44px;
  }

  .menu-toggle {
    width: var(--header-control-size);
    height: var(--header-control-size);
    padding: 9px;
  }

  .menu-toggle span {
    width: 24px;
  }

  .language {
    min-width: var(--header-control-size);
    width: var(--header-control-size);
    height: var(--header-control-size);
  }

  .hero {
    height: 660px;
    min-height: 660px;
  }

  .hero h1 {
    font-size: var(--hero-title-size);
  }

  .service-list,
  .team-list,
  .product-list {
    --slider-window: calc(100% - 96px);
  }

  .instagram-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav-arrow {
    display: grid;
    width: 42px;
    height: 42px;
  }
}
