:root {
  color-scheme: dark;
  --bg0: #07080a;
  --bg1: #0b0d10;
  --bg2: #0f1217;
  --panel: rgba(255, 255, 255, 0.055);
  --panel2: rgba(255, 255, 255, 0.035);
  --stroke: rgba(255, 255, 255, 0.12);
  --stroke2: rgba(255, 255, 255, 0.08);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.72);
  --muted2: rgba(255, 255, 255, 0.56);
  --accent: #dfbf4f;
  --accent2: #b98b2c;
  --white: #f5f2ea;
  --shadow: 0 22px 90px rgba(0, 0, 0, 0.55);
  --shadow2: 0 14px 56px rgba(0, 0, 0, 0.38);
  --radius: 18px;
  --radius2: 28px;
  --blur: 16px;
  --max: 1400px;
  --navH: 78px;
  --scrollP: 0;
  --mx: 50vw;
  --my: 32vh;
  --vel: 0;
  --pageIn: 0;
  --sceneHue: 44;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

html {
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  letter-spacing: -0.01em;
  color: var(--text);
  background: radial-gradient(1000px 640px at 55% 0%, rgba(255, 255, 255, 0.06), transparent 58%),
    radial-gradient(900px 700px at 75% 25%, rgba(223, 191, 79, 0.1), transparent 62%),
    radial-gradient(900px 700px at 25% 75%, rgba(160, 175, 210, 0.09), transparent 62%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
  overflow-x: hidden;
  opacity: var(--pageIn);
  transform: translate3d(0, calc((1 - var(--pageIn)) * 10px), 0);
  transition: opacity 520ms ease, transform 520ms cubic-bezier(0.2, 0.9, 0.2, 1);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(900px 700px at 55% 12%, hsla(var(--sceneHue), 85%, 55%, 0.1), transparent 62%),
    radial-gradient(900px 700px at 25% 82%, hsla(calc(var(--sceneHue) + 165), 65%, 58%, 0.08), transparent 62%);
  opacity: 0.95;
  transition: opacity 360ms ease;
}

body.is-ready {
  --pageIn: 1;
}

body.is-leaving {
  --pageIn: 0;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

::selection {
  background: rgba(223, 191, 79, 0.24);
}

:focus-visible {
  outline: 3px solid rgba(223, 191, 79, 0.55);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: -9999px;
  z-index: 9999;
  background: rgba(10, 12, 16, 0.9);
  border: 1px solid var(--stroke);
  padding: 10px 12px;
  border-radius: 12px;
  box-shadow: var(--shadow2);
}

.skip:focus {
  left: 16px;
  top: 16px;
}

.wrap {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: 0 clamp(18px, 3vw, 44px);
}

.top-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 100%;
  z-index: 1200;
  background: rgba(255, 255, 255, 0.06);
}

.top-progress i {
  display: block;
  height: 100%;
  width: calc(var(--scrollP) * 100%);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.12), rgba(223, 191, 79, 0.95), rgba(255, 255, 255, 0.1));
  box-shadow: 0 0 22px rgba(223, 191, 79, 0.25);
}

.grid-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.22;
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(700px 460px at 55% 18%, rgba(0, 0, 0, 1), transparent 70%);
}

.grain {
  position: fixed;
  inset: -30%;
  pointer-events: none;
  z-index: 2;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
  transform: translate3d(0, 0, 0);
  animation: grain 9s steps(10) infinite;
}

@keyframes grain {
  0% {
    transform: translate3d(0, 0, 0);
  }
  10% {
    transform: translate3d(-2%, -3%, 0);
  }
  20% {
    transform: translate3d(-6%, 2%, 0);
  }
  30% {
    transform: translate3d(3%, -7%, 0);
  }
  40% {
    transform: translate3d(-3%, 6%, 0);
  }
  50% {
    transform: translate3d(-8%, -2%, 0);
  }
  60% {
    transform: translate3d(7%, 0%, 0);
  }
  70% {
    transform: translate3d(1%, 9%, 0);
  }
  80% {
    transform: translate3d(-10%, 1%, 0);
  }
  90% {
    transform: translate3d(4%, -5%, 0);
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}

.cursor-light {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  background: radial-gradient(520px 420px at var(--mx) var(--my), rgba(223, 191, 79, 0.14), transparent 62%),
    radial-gradient(720px 520px at calc(var(--mx) + 18vw) calc(var(--my) + 14vh), rgba(165, 190, 220, 0.1), transparent 62%),
    radial-gradient(560px 420px at calc(var(--mx) - 18vw) calc(var(--my) + 18vh), rgba(255, 255, 255, 0.06), transparent 62%);
  mix-blend-mode: screen;
  opacity: 0.95;
  transition: opacity 320ms ease;
}

body.is-menu-open .cursor-light {
  opacity: 0.3;
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  background: radial-gradient(1200px 800px at 65% 20%, rgba(223, 191, 79, 0.12), transparent 60%),
    radial-gradient(900px 700px at 20% 80%, rgba(255, 255, 255, 0.06), transparent 60%),
    linear-gradient(180deg, #050608, #0a0c0f);
}

.preloader-inner {
  width: min(560px, calc(100vw - 56px));
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.preloader-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.preloader-brand {
  font-family: "Space Grotesk", Inter, sans-serif;
  font-weight: 650;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.88);
}

.preloader-meta {
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  letter-spacing: 0.02em;
}

.preloader-bar {
  margin: 16px 18px 0;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.preloader-bar i {
  display: block;
  height: 100%;
  width: var(--loadP, 0%);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), rgba(223, 191, 79, 0.92), rgba(255, 255, 255, 0.12));
  box-shadow: 0 0 28px rgba(223, 191, 79, 0.3);
}

.preloader-bottom {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px 18px 18px;
}

.preloader-line {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  line-height: 1.6;
}

.preloader-count {
  font-family: "Space Grotesk", Inter, sans-serif;
  font-weight: 650;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.86);
}

.preloader.is-done {
  opacity: 0;
  pointer-events: none;
  transition: opacity 520ms ease;
}

header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--navH);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
}

.nav {
  width: min(var(--max), 100%);
  height: calc(var(--navH) - 16px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(8, 10, 13, 0.55);
  backdrop-filter: blur(var(--blur));
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
  padding: 10px 12px 10px 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 28px rgba(223, 191, 79, 0.12);
}

.brand .txt {
  display: grid;
  line-height: 1.1;
}

.brand strong {
  font-family: "Space Grotesk", Inter, sans-serif;
  font-weight: 650;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 12px;
}

.brand span {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  justify-content: center;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  padding: 12px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  transition: transform 240ms ease, background 240ms ease, border-color 240ms ease, color 240ms ease;
  will-change: transform;
}

.nav-link:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.92);
}

.nav-link[aria-current="page"] {
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(223, 191, 79, 0.22);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 12px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(14px);
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 240ms ease, border-color 240ms ease, background 240ms ease;
  will-change: transform;
  user-select: none;
}

.btn:hover {
  transform: translateY(-1px);
  border-color: rgba(223, 191, 79, 0.26);
  background: rgba(255, 255, 255, 0.055);
}

.btn.primary {
  border-color: rgba(223, 191, 79, 0.32);
  background: linear-gradient(180deg, rgba(223, 191, 79, 0.18), rgba(255, 255, 255, 0.03));
  box-shadow: 0 0 42px rgba(223, 191, 79, 0.14);
}

.btn.ghost {
  background: transparent;
}

.icon {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.25);
}

.menu-btn {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  display: none;
  place-items: center;
  cursor: pointer;
  transition: transform 240ms ease, background 240ms ease, border-color 240ms ease;
}

.menu-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
}

.hamburger {
  width: 18px;
  height: 12px;
  position: relative;
}

.hamburger i {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.86);
  transform-origin: center;
  transition: transform 320ms ease, top 320ms ease, opacity 320ms ease;
}

.hamburger i:nth-child(1) {
  top: 0;
}
.hamburger i:nth-child(2) {
  top: 5px;
  opacity: 0.85;
}
.hamburger i:nth-child(3) {
  top: 10px;
}

body.is-menu-open .hamburger i:nth-child(1) {
  top: 5px;
  transform: rotate(45deg);
}
body.is-menu-open .hamburger i:nth-child(2) {
  opacity: 0;
}
body.is-menu-open .hamburger i:nth-child(3) {
  top: 5px;
  transform: rotate(-45deg);
}

.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translate3d(-50%, 6px, 0);
  width: min(880px, calc(100vw - 36px));
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease, transform 220ms ease;
}

.dropdown-panel {
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 12, 16, 0.86);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.dropdown-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
}

.drop-links {
  padding: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.drop-links a {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  padding: 12px 12px;
  display: grid;
  gap: 6px;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.drop-links a:hover {
  transform: translateY(-1px);
  border-color: rgba(223, 191, 79, 0.26);
  background: rgba(255, 255, 255, 0.05);
}

.drop-links b {
  font-family: "Space Grotesk", Inter, sans-serif;
  font-weight: 650;
  letter-spacing: 0.04em;
  font-size: 12px;
  text-transform: uppercase;
}

.drop-links small {
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
  font-size: 12px;
}

.drop-aside {
  padding: 14px;
  border-left: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
  display: grid;
  align-content: start;
  gap: 10px;
}

.drop-aside h4 {
  margin: 0;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 13px;
}

.drop-aside p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  line-height: 1.7;
}

.nav-item.is-open .dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(-50%, 0, 0);
}

.menu {
  position: fixed;
  inset: 0;
  z-index: 1500;
  display: grid;
  place-items: center;
  background: radial-gradient(1200px 700px at 60% 20%, rgba(223, 191, 79, 0.12), transparent 60%),
    radial-gradient(900px 700px at 20% 80%, rgba(255, 255, 255, 0.07), transparent 60%),
    linear-gradient(180deg, rgba(6, 7, 9, 0.92), rgba(10, 12, 16, 0.92));
  transform: translate3d(0, -8px, 0);
  opacity: 0;
  pointer-events: none;
  transition: opacity 360ms ease, transform 360ms ease;
  backdrop-filter: blur(18px);
}

body.is-menu-open .menu {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  pointer-events: auto;
}

.menu-panel {
  width: min(860px, calc(100vw - 56px));
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.menu-top strong {
  font-family: "Space Grotesk", Inter, sans-serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.86);
}

.x {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform 240ms ease, border-color 240ms ease, background 240ms ease;
}

.x:hover {
  transform: translateY(-1px);
  border-color: rgba(223, 191, 79, 0.25);
  background: rgba(255, 255, 255, 0.06);
}

.menu-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
}

.menu-links {
  padding: 18px;
  display: grid;
  gap: 10px;
}

.menu-links a {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  padding: 14px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.84);
  transition: transform 240ms ease, border-color 240ms ease, background 240ms ease;
}

.menu-links a:hover {
  transform: translateY(-1px);
  border-color: rgba(223, 191, 79, 0.28);
  background: rgba(255, 255, 255, 0.05);
}

.menu-aside {
  padding: 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
}

.menu-aside h4 {
  margin: 0;
  font-family: "Space Grotesk", Inter, sans-serif;
  letter-spacing: 0.08em;
  font-weight: 650;
  font-size: 14px;
}

.menu-aside p {
  margin: 10px 0 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  font-size: 13px;
}

.kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 20px;
  padding: 0 8px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.22);
  color: rgba(255, 255, 255, 0.72);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.search {
  position: fixed;
  inset: 0;
  z-index: 1750;
  display: grid;
  place-items: center;
  padding: 18px;
  background: radial-gradient(1200px 700px at 55% 20%, rgba(223, 191, 79, 0.12), transparent 60%),
    radial-gradient(900px 700px at 20% 80%, rgba(255, 255, 255, 0.06), transparent 60%),
    rgba(0, 0, 0, 0.62);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
  backdrop-filter: blur(14px);
}

.search.open {
  opacity: 1;
  pointer-events: auto;
}

.search-panel {
  width: min(920px, 100%);
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 12, 16, 0.86);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.search-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.search-title {
  font-family: "Space Grotesk", Inter, sans-serif;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.86);
}

.search-input-row {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: grid;
  gap: 10px;
}

.search-input {
  width: 100%;
  min-height: 52px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  padding: 12px 14px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  letter-spacing: -0.01em;
  outline: none;
}

.search-input:focus {
  border-color: rgba(223, 191, 79, 0.32);
  box-shadow: 0 0 0 1px rgba(223, 191, 79, 0.12);
}

.search-hint {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  color: rgba(255, 255, 255, 0.56);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.search-results {
  display: grid;
  gap: 10px;
  padding: 14px 14px 14px;
  max-height: min(520px, 64vh);
  overflow: auto;
}

.search-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: start;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  padding: 12px 12px;
  color: rgba(255, 255, 255, 0.86);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.search-item:hover,
.search-item.is-active {
  transform: translateY(-1px);
  border-color: rgba(223, 191, 79, 0.22);
  background: rgba(255, 255, 255, 0.05);
}

.search-type {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.2);
  padding: 6px 10px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.search-main {
  display: grid;
  gap: 6px;
}

.search-title-line {
  font-family: "Space Grotesk", Inter, sans-serif;
  font-weight: 650;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  font-size: 13px;
}

.search-sub {
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  line-height: 1.55;
}

.search-go {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  padding-top: 2px;
}

.search-empty {
  color: rgba(255, 255, 255, 0.66);
  font-size: 13px;
  line-height: 1.7;
  padding: 6px 2px 0;
}

.search mark {
  background: rgba(223, 191, 79, 0.22);
  color: rgba(255, 255, 255, 0.92);
  padding: 0 4px;
  border-radius: 6px;
}

main {
  position: relative;
  z-index: 10;
}

.section {
  position: relative;
  padding: 110px 0;
}

.section.tight {
  padding: 82px 0;
}

.chapters {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 14px;
  align-items: start;
}

.chapters-left {
  display: grid;
  gap: 12px;
}

.chapter {
  border-radius: var(--radius2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow2);
  overflow: hidden;
  transform: translate3d(0, 0, 0);
  transition: border-color 320ms ease, background 320ms ease, transform 320ms ease;
}

.chapter.is-active {
  border-color: rgba(223, 191, 79, 0.26);
  background: rgba(255, 255, 255, 0.045);
  transform: translate3d(0, -2px, 0);
}

.chapter .in {
  padding: 16px 16px;
}

.chapter .top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.chapter .top b {
  font-family: "Space Grotesk", Inter, sans-serif;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.86);
}

.chapter .top small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.chapter h3 {
  margin: 10px 0 8px;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-weight: 650;
  letter-spacing: -0.01em;
  font-size: 18px;
  text-transform: uppercase;
}

.chapter p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.75;
  font-size: 13px;
}

.chapters-right {
  position: sticky;
  top: calc(var(--navH) + 22px);
}

.chapters-stage {
  border-radius: var(--radius2);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.chapters-stage::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: radial-gradient(520px 320px at 30% 20%, rgba(223, 191, 79, 0.14), transparent 60%),
    radial-gradient(520px 320px at 70% 80%, rgba(255, 255, 255, 0.08), transparent 62%);
  opacity: 0.7;
  filter: blur(18px);
}

.chapters-media {
  position: relative;
  height: clamp(380px, 58vh, 560px);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
}

.chapter-media {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translate3d(0, 14px, 0) scale(1.02);
  transition: opacity 420ms ease, transform 520ms cubic-bezier(0.2, 0.9, 0.2, 1);
  will-change: opacity, transform;
}

.chapter-media.is-active {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1.02);
}

.chapter-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.06) contrast(1.04);
  transform: scale(1.06);
}

.chapters-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 380px at 55% 20%, rgba(223, 191, 79, 0.14), transparent 62%),
    linear-gradient(180deg, rgba(7, 8, 10, 0), rgba(7, 8, 10, 0.68));
}

.chapters-meta {
  position: relative;
  padding: 14px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.chapters-progress {
  flex: 1;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.chapters-progress i {
  display: block;
  height: 100%;
  width: calc(var(--chapP, 0) * 100%);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(223, 191, 79, 0.92), rgba(255, 255, 255, 0.1));
  box-shadow: 0 0 20px rgba(223, 191, 79, 0.25);
}

.chapters-hint {
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero {
  min-height: 100vh;
  padding: calc(var(--navH) + 56px) 0 64px;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg canvas {
  position: absolute;
  inset: -10%;
  width: 120%;
  height: 120%;
  opacity: 0.62;
  filter: saturate(1.08) contrast(1.06);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(1200px 740px at 50% 30%, transparent 55%, rgba(0, 0, 0, 0.62) 100%);
  opacity: 0.95;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: end;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  border-radius: 999px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
  color: rgba(255, 255, 255, 0.82);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 11px;
}

.kicker i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(223, 191, 79, 0.95);
  box-shadow: 0 0 22px rgba(223, 191, 79, 0.45);
}

.h1 {
  margin: 14px 0 10px;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 0.98;
  font-size: clamp(40px, 6vw, 80px);
  text-transform: uppercase;
}

.lead {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(14px, 1.35vw, 18px);
  line-height: 1.75;
  max-width: 70ch;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.glass {
  border-radius: var(--radius2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(var(--blur));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.glass .in {
  padding: 16px 16px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.stat {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  padding: 14px 12px;
  position: relative;
  overflow: hidden;
}

.stat::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: radial-gradient(260px 140px at 30% 20%, rgba(223, 191, 79, 0.14), transparent 60%),
    radial-gradient(260px 140px at 70% 80%, rgba(255, 255, 255, 0.08), transparent 62%);
  opacity: 0.7;
  filter: blur(18px);
}

.stat b {
  position: relative;
  display: block;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-weight: 650;
  letter-spacing: -0.02em;
  font-size: 22px;
  color: rgba(255, 255, 255, 0.92);
}

.stat span {
  position: relative;
  display: block;
  margin-top: 4px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.64);
  line-height: 1.4;
}

.eyebrow {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.eyebrow h2 {
  margin: 0;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(20px, 3vw, 34px);
  letter-spacing: -0.02em;
  font-weight: 650;
  text-transform: uppercase;
}

.eyebrow p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  max-width: 70ch;
  font-size: 14px;
}

.rule {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(223, 191, 79, 0.25), rgba(255, 255, 255, 0.06));
  opacity: 0.7;
  margin-left: 16px;
}

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

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

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

.card {
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  transform: translate3d(0, 0, 0);
  transition: transform 320ms ease, border-color 320ms ease, background 320ms ease, box-shadow 320ms ease;
  will-change: transform;
  position: relative;
}

.card::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(110deg, rgba(255, 255, 255, 0.06), rgba(223, 191, 79, 0.16), rgba(255, 255, 255, 0.04));
  opacity: 0;
  transition: opacity 320ms ease;
  filter: blur(12px);
}

.card:hover {
  border-color: rgba(223, 191, 79, 0.24);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.55);
}

.card:hover::before {
  opacity: 0.5;
}

.card .in {
  position: relative;
  padding: 16px 16px;
}

.card h3 {
  margin: 0 0 8px;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-weight: 650;
  letter-spacing: 0.02em;
  font-size: 16px;
  text-transform: uppercase;
}

.card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.75;
  font-size: 13px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.chip {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  padding: 8px 10px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.filter {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  min-height: 44px;
  padding: 12px 12px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.74);
  cursor: pointer;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, color 220ms ease;
}

.filter:hover {
  transform: translateY(-1px);
  border-color: rgba(223, 191, 79, 0.24);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.9);
}

.filter.is-active {
  border-color: rgba(223, 191, 79, 0.34);
  background: linear-gradient(180deg, rgba(223, 191, 79, 0.16), rgba(255, 255, 255, 0.03));
  color: rgba(255, 255, 255, 0.92);
}

.projects {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
}

.project-card {
  grid-column: span 6;
  cursor: pointer;
  transform-style: preserve-3d;
}

.project-thumb {
  height: 240px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
  position: relative;
  overflow: hidden;
}

.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.02);
  transform: scale(1.04);
}

.project-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 260px at 20% 30%, rgba(223, 191, 79, 0.14), transparent 62%),
    linear-gradient(180deg, rgba(7, 8, 10, 0), rgba(7, 8, 10, 0.6));
}

.badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 9px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(12px);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

.kv {
  display: grid;
  gap: 6px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.kv small {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.kv small span {
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0.02em;
  text-transform: none;
}

.timeline {
  display: grid;
  gap: 10px;
}

.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.025);
  backdrop-filter: blur(16px);
  transition: transform 280ms ease, border-color 280ms ease, background 280ms ease;
}

.step:hover {
  transform: translateY(-2px);
  border-color: rgba(223, 191, 79, 0.2);
  background: rgba(255, 255, 255, 0.04);
}

.step .num {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  display: grid;
  place-items: center;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.9);
}

.step .txt h4 {
  margin: 0 0 6px;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 650;
}

.step .txt p {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
}

.form {
  display: grid;
  gap: 10px;
}

.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 44px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  padding: 12px 12px;
  outline: none;
  transition: border-color 240ms ease, background 240ms ease, box-shadow 240ms ease;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: rgba(223, 191, 79, 0.3);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 0 0 4px rgba(223, 191, 79, 0.14);
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.floating {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1250;
  display: grid;
  gap: 10px;
}

.fab {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  border: 1px solid rgba(223, 191, 79, 0.28);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(223, 191, 79, 0.1);
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.88);
  transition: transform 240ms ease, border-color 240ms ease, background 240ms ease, box-shadow 240ms ease, color 240ms ease;
}

.fab:hover {
  transform: translateY(-2px);
  border-color: rgba(223, 191, 79, 0.62);
  background: rgba(223, 191, 79, 0.08);
  color: rgba(255, 255, 255, 0.94);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.46), 0 0 0 2px rgba(223, 191, 79, 0.18);
}

.fab strong {
  font-family: "Space Grotesk", Inter, sans-serif;
  font-weight: 650;
  letter-spacing: 0.06em;
  font-size: 12px;
}

.fab svg {
  width: 20px;
  height: 20px;
  display: block;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1700;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.65);
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms ease;
  backdrop-filter: blur(12px);
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-panel {
  width: min(1100px, 100%);
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 12, 16, 0.88);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.lightbox-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.lightbox-title {
  font-family: "Space Grotesk", Inter, sans-serif;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.86);
}

.lightbox-media {
  aspect-ratio: 16/10;
  background: rgba(255, 255, 255, 0.02);
}

.lightbox-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lightbox-bottom {
  display: grid;
  gap: 12px;
  padding: 12px 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: radial-gradient(900px 380px at 20% 0%, rgba(223, 191, 79, 0.08), transparent 60%),
    radial-gradient(900px 380px at 85% 70%, rgba(160, 175, 210, 0.08), transparent 60%);
}

.lightbox-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.lightbox-caption {
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  line-height: 1.6;
}

.lightbox-count {
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lightbox-thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}

.lightbox-thumbs::-webkit-scrollbar {
  display: none;
}

.lightbox-thumb {
  flex: 0 0 auto;
  width: 86px;
  height: 54px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  transform: translate3d(0, 0, 0);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.lightbox-thumb:hover {
  transform: translateY(-1px);
  border-color: rgba(223, 191, 79, 0.24);
  background: rgba(255, 255, 255, 0.05);
}

.lightbox-thumb.is-active {
  border-color: rgba(223, 191, 79, 0.34);
  box-shadow: 0 0 0 1px rgba(223, 191, 79, 0.08);
}

.lightbox-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.04) contrast(1.02);
}

.gallery-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 12px;
}

.gallery-count {
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 12px;
  grid-auto-flow: dense;
}

.gallery.mosaic .tile-wide {
  grid-column: span 6;
}

.gallery.mosaic .tile-tall {
  grid-column: span 3;
}

.gallery.mosaic .tile-big {
  grid-column: span 8;
}

.tile {
  grid-column: span 4;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  display: grid;
  align-items: end;
  aspect-ratio: 4/3;
  transform: translate3d(0, 0, 0);
  transition: transform 240ms ease, border-color 240ms ease, background 240ms ease;
}

.tile-wide {
  aspect-ratio: 16/9;
}

.tile-tall {
  aspect-ratio: 3/4;
}

.tile-big {
  aspect-ratio: 16/10;
}

.tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 520px at 20% 0%, rgba(223, 191, 79, 0.12), transparent 60%),
    radial-gradient(700px 520px at 90% 70%, rgba(160, 175, 210, 0.12), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0.3));
  opacity: 0;
  transition: opacity 320ms ease;
  pointer-events: none;
}

.tile:hover {
  transform: translateY(-2px);
  border-color: rgba(223, 191, 79, 0.22);
  background: rgba(255, 255, 255, 0.045);
}

.tile:hover::before {
  opacity: 1;
}

.tile:hover [data-parallax] {
  --ps: 1.14;
}

.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.04) contrast(1.02);
  transition: filter 320ms ease;
}

.tile .cap {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 12, 16, 0.6);
  backdrop-filter: blur(16px);
  padding: 10px 10px;
  display: grid;
  gap: 6px;
  transform: translate3d(0, 8px, 0);
  opacity: 0.9;
  transition: transform 320ms ease, opacity 320ms ease, border-color 320ms ease, background 320ms ease;
}

.tile:hover .cap {
  transform: translate3d(0, 0, 0);
  opacity: 1;
  border-color: rgba(223, 191, 79, 0.18);
}

.cap-tag {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.56);
}

.cap-title {
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  line-height: 1.55;
}

.gallery-strip {
  margin-bottom: 14px;
}

.gallery-strip .slider-track {
  grid-auto-columns: minmax(260px, 1fr);
}

.strip-tile {
  border: 0;
  padding: 0;
  text-align: left;
  display: grid;
  gap: 10px;
  border-radius: var(--radius2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
  cursor: pointer;
  transform: translate3d(0, 0, 0);
  transition: transform 240ms ease, border-color 240ms ease, background 240ms ease;
}

.strip-tile:hover {
  transform: translateY(-2px);
  border-color: rgba(223, 191, 79, 0.22);
  background: rgba(255, 255, 255, 0.045);
}

.strip-tile img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  filter: saturate(1.04) contrast(1.02);
}

.strip-tile:hover [data-parallax] {
  --ps: 1.12;
}

.strip-tile span {
  padding: 0 12px 12px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  line-height: 1.5;
}

.slider {
  position: relative;
  border-radius: var(--radius2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.slider-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(340px, 1fr);
  gap: 12px;
  padding: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.slider-track::-webkit-scrollbar {
  display: none;
}

.slide {
  scroll-snap-align: start;
}

.slider-controls {
  position: absolute;
  right: 14px;
  top: 14px;
  display: flex;
  gap: 10px;
}

.showcase-shell {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 14px;
  align-items: start;
}

.showcase-stage {
  position: sticky;
  top: calc(var(--navH) + 18px);
  height: calc(100vh - var(--navH) - 36px);
  border-radius: var(--radius2);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 12, 16, 0.68);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow2);
  overflow: hidden;
}

.showcase-media {
  position: absolute;
  inset: 0;
}

.showcase-media-item {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 650ms ease, transform 900ms cubic-bezier(0.2, 0.9, 0.2, 1);
  will-change: opacity, transform;
}

.showcase-media-item.is-active {
  opacity: 1;
  transform: scale(1);
}

.showcase-media-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(900px 650px at 25% 20%, rgba(223, 191, 79, 0.12), transparent 62%),
    radial-gradient(900px 650px at 80% 70%, rgba(160, 175, 210, 0.12), transparent 62%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.58));
  pointer-events: none;
}

.showcase-media-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.03) contrast(1.03);
  will-change: transform;
}

[data-parallax] {
  transform: translate3d(0, var(--py, 0px), 0) scale(var(--ps, 1.08));
}

.showcase-ui {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: end;
  gap: 10px;
  padding: 14px;
  pointer-events: none;
}

.showcase-progress {
  height: 2px;
  width: 100%;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.showcase-progress i {
  display: block;
  height: 100%;
  width: calc(var(--showP, 0) * 100%);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.14), rgba(223, 191, 79, 0.95), rgba(255, 255, 255, 0.1));
  box-shadow: 0 0 28px rgba(223, 191, 79, 0.22);
}

.showcase-hint {
  justify-self: end;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(16px);
}

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

.showcase-card {
  position: relative;
  isolation: isolate;
  border-radius: var(--radius2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.22);
  overflow: hidden;
  transform: translate3d(0, 0, 0);
  transition: transform 320ms ease, border-color 320ms ease, background 320ms ease;
  min-height: 54vh;
  display: grid;
  align-items: end;
}

.showcase-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--showcase-card-bg, none);
  background-size: cover;
  background-position: center;
  opacity: 0.34;
  filter: saturate(1.08) contrast(1.06);
  transform: scale(1.02);
}

.showcase-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(700px 520px at 20% 20%, rgba(223, 191, 79, 0.14), transparent 60%),
    radial-gradient(700px 520px at 80% 70%, rgba(160, 175, 210, 0.12), transparent 62%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.54));
  pointer-events: none;
}

.showcase-card .in {
  position: relative;
  z-index: 1;
}

.showcase-card:hover {
  transform: translateY(-2px);
  border-color: rgba(223, 191, 79, 0.22);
  background: rgba(255, 255, 255, 0.045);
}

.showcase-card:hover::before {
  opacity: 0.44;
}

.showcase-card.is-active {
  border-color: rgba(223, 191, 79, 0.26);
  box-shadow: 0 0 0 1px rgba(223, 191, 79, 0.08), 0 22px 70px rgba(0, 0, 0, 0.45);
}

.showcase-card.is-active::before {
  opacity: 0.48;
}

.showcase-card .top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.showcase-card .top b {
  font-family: "Space Grotesk", Inter, sans-serif;
  letter-spacing: -0.02em;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.92);
}

.showcase-card .top small {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.54);
}

.accordion {
  border-radius: var(--radius2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.accordion details {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.accordion details:first-child {
  border-top: none;
}

.accordion summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.86);
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion .body {
  padding: 0 14px 14px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.75;
  font-size: 13px;
}

.social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.social a {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  padding: 10px 12px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.74);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, color 220ms ease;
}

.social a:hover {
  transform: translateY(-1px);
  border-color: rgba(223, 191, 79, 0.22);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.9);
}

footer {
  position: relative;
  z-index: 10;
  padding: 86px 0 44px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: radial-gradient(1200px 700px at 50% 0%, rgba(223, 191, 79, 0.1), transparent 60%),
    linear-gradient(180deg, rgba(8, 10, 13, 0.7), rgba(7, 8, 10, 0.92));
}

.foot {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: 0 18px;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 14px;
  align-items: start;
}

.foot h3 {
  margin: 0 0 8px;
  font-family: "Space Grotesk", Inter, sans-serif;
  letter-spacing: -0.02em;
  font-weight: 650;
  font-size: 22px;
  text-transform: uppercase;
}

.foot p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  font-size: 14px;
  max-width: 70ch;
}

.foot-meta {
  display: grid;
  gap: 10px;
}

.foot-meta .item {
  display: grid;
  gap: 6px;
  padding: 12px 12px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.02);
}

.foot-meta small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.subtle {
  width: min(var(--max), 100%);
  margin: 18px auto 0;
  padding: 0 18px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  letter-spacing: 0.02em;
}

[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.85, 0.2, 1);
}

[data-reveal].in {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.blur-on-scroll {
  filter: blur(calc(var(--vel) * 0.8px));
}

@media (max-width: 767.98px) {
  :root {
    --navH: 72px;
  }

  header {
    padding: 0 12px;
  }

  .nav {
    height: calc(var(--navH) - 12px);
    padding: 8px 10px 8px 12px;
    gap: 10px;
  }

  .brand {
    min-width: 0;
    flex: 1 1 auto;
    gap: 10px;
  }

  .brand .txt {
    min-width: 0;
    max-width: 100%;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .brand strong {
    font-size: 11px;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .brand span {
    font-size: 10px;
  }

  .brand .txt > span {
    display: none;
  }

  .nav-actions {
    flex: 0 0 auto;
    gap: 8px;
  }

  .nav-actions .btn.primary {
    flex: 0 1 auto;
    min-width: 0;
    max-width: 44vw;
    padding: 10px 10px;
    font-size: 11px;
    letter-spacing: 0.06em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav-actions .btn.primary .icon {
    display: none;
  }

  .menu {
    padding: 12px;
    place-items: start center;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }

  .menu-panel {
    width: 100%;
    max-height: calc(100vh - 24px);
    overflow: auto;
  }

  .menu-top {
    position: sticky;
    top: 0;
    z-index: 1;
    background: rgba(12, 14, 18, 0.92);
    backdrop-filter: blur(16px);
  }

  body.is-menu-open {
    overflow: hidden;
  }

  .hero {
    min-height: auto;
    padding: calc(var(--navH) + 28px) 0 44px;
    align-items: start;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 14px;
  }

  .kicker {
    width: 100%;
    max-width: 100%;
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .kicker span {
    white-space: normal;
    line-height: 1.4;
  }

  .h1 {
    font-size: clamp(32px, 10.4vw, 54px);
    letter-spacing: -0.03em;
    text-transform: none;
    line-height: 1.02;
  }

  .lead {
    font-size: 14px;
  }

  .hero-actions {
    gap: 10px;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
    justify-content: space-between;
  }

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

  .stat:last-child {
    grid-column: 1 / -1;
  }

  .section {
    padding: 86px 0;
  }

  .section.tight {
    padding: 68px 0;
  }

  .eyebrow {
    flex-direction: column;
    align-items: flex-start;
  }

  .rule {
    width: 100%;
    margin-left: 0;
    margin-top: 12px;
  }

  .grid.two,
  .grid.three {
    grid-template-columns: 1fr;
  }

  .projects .project-card {
    grid-column: span 12;
  }

  .row {
    grid-template-columns: 1fr;
  }

  .filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
  }

  .filters::-webkit-scrollbar {
    display: none;
  }

  .filter {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .slider-track {
    grid-auto-columns: minmax(82%, 1fr);
    padding: 12px;
    gap: 10px;
  }

  .gallery-strip .slider-track {
    grid-auto-columns: minmax(78%, 1fr);
  }

  .slider-controls {
    display: none;
  }

  .gallery-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero .project-thumb {
    height: 220px !important;
  }

  .kv small {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 4px;
  }

  .kv small span,
  .lead,
  .lightbox-caption,
  p {
    overflow-wrap: anywhere;
  }

  .step {
    grid-template-columns: 44px 1fr;
    gap: 12px;
    padding: 14px;
  }

  .step .num {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    font-size: 14px;
  }

  .lightbox {
    padding: 12px;
    place-items: start center;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }

  .lightbox-panel {
    max-height: calc(100vh - 24px);
    display: grid;
    grid-template-rows: auto 1fr auto;
  }

  .lightbox-top {
    flex-wrap: wrap;
    position: sticky;
    top: 0;
    z-index: 1;
    background: rgba(12, 14, 18, 0.92);
    backdrop-filter: blur(16px);
  }

  .lightbox-top > div {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .lightbox-media {
    aspect-ratio: auto;
    height: min(56vh, 420px);
  }

  .foot {
    grid-template-columns: 1fr;
  }

  .chapters {
    grid-template-columns: 1fr;
  }

  .chapters-right {
    position: relative;
    top: auto;
  }

  .chapters-media {
    height: clamp(320px, 46vh, 460px);
  }

  .tile {
    grid-column: span 12;
  }

  .gallery.mosaic .tile-wide,
  .gallery.mosaic .tile-tall,
  .gallery.mosaic .tile-big {
    grid-column: span 12;
  }

  .showcase-shell {
    grid-template-columns: 1fr;
  }

  .showcase-stage {
    position: relative;
    top: auto;
    height: clamp(360px, 58vh, 520px);
  }

  .showcase-card {
    min-height: auto;
  }

  .search {
    padding: 12px;
    place-items: start center;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }

  .search-panel {
    border-radius: 22px;
  }

  .search-results {
    max-height: none;
  }

  .search-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .search-type {
    display: none;
  }

  .search-go {
    display: none;
  }

  .search-title-line {
    font-size: 12px;
  }
}

@media (min-width: 768px) and (max-width: 1023.98px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

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

  .grid.two,
  .grid.three {
    grid-template-columns: 1fr;
  }

  .projects .project-card {
    grid-column: span 12;
  }

  .chapters {
    grid-template-columns: 1fr;
  }

  .chapters-right {
    position: relative;
    top: auto;
  }

  .tile {
    grid-column: span 6;
  }

  .gallery.mosaic .tile-wide,
  .gallery.mosaic .tile-tall,
  .gallery.mosaic .tile-big {
    grid-column: span 6;
  }

  .showcase-shell {
    grid-template-columns: 1fr;
  }

  .showcase-stage {
    position: relative;
    top: auto;
    height: clamp(420px, 56vh, 620px);
  }

  .showcase-card {
    min-height: auto;
  }
}

@media (min-width: 1024px) and (max-width: 1439.98px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }
  .projects .project-card {
    grid-column: span 6;
  }
  .tile {
    grid-column: span 4;
  }
}

@media (min-width: 1024px) and (max-width: 1199.98px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

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

  .chapters {
    grid-template-columns: 1fr;
  }

  .chapters-right {
    position: relative;
    top: auto;
  }

  .showcase-shell {
    grid-template-columns: 1fr;
  }

  .showcase-stage {
    position: relative;
    top: auto;
    height: clamp(420px, 56vh, 620px);
  }

  .showcase-card {
    min-height: auto;
  }

  .tile {
    grid-column: span 6;
  }

  .gallery.mosaic .tile-wide,
  .gallery.mosaic .tile-big {
    grid-column: span 12;
  }

  .gallery.mosaic .tile-tall {
    grid-column: span 6;
  }
}

@media (min-width: 1440px) and (max-width: 1599.98px) {
  :root {
    --max: 1400px;
  }
}

@media (min-width: 1600px) {
  :root {
    --max: 1520px;
  }
  .hero-grid {
    gap: 22px;
  }
}

@media (max-width: 1199.98px) {
  .nav-links {
    display: none;
  }
  .menu-btn {
    display: grid;
  }
  .brand {
    min-width: auto;
  }
  .menu-grid {
    grid-template-columns: 1fr;
  }
  .menu-aside {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .cursor-light,
  .grain,
  .grid-overlay,
  .preloader {
    display: none !important;
  }
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}
