@font-face {
  font-family: "Druk Wide";
  src: url("../fonts/DrukWide-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #050505;
  --text: rgba(255, 255, 255, 0.96);
  --muted: rgba(255, 255, 255, 0.78);
  --line: rgba(110, 17, 29, 0.78);
  --line-strong: rgba(156, 31, 46, 0.96);
  --chip-bg: rgba(8, 8, 8, 0.26);
  --chip-bg-hover: rgba(14, 14, 14, 0.42);
  --chip-shadow: 0 18px 40px rgba(37, 4, 7, 0.34);
  --page-pad: 22px;
  --site-font: "Druk Wide", "Montserrat", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body,
button,
input,
textarea,
select,
a {
  font-family: var(--site-font);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: #000;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url("../img/1.png");
  background-size: cover;
  background-position: center center;
  transform: scale(1.03);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__overlay--base {
  background: rgba(0, 0, 0, 0.16);
}

.hero__overlay--bottom {
  background:
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.10) 0%,
      rgba(0, 0, 0, 0.10) 28%,
      rgba(0, 0, 0, 0.26) 52%,
      rgba(0, 0, 0, 0.86) 100%
    );
}

.hero__overlay--side {
  background:
    linear-gradient(
      to right,
      rgba(0, 0, 0, 0.42) 0%,
      rgba(0, 0, 0, 0.08) 36%,
      rgba(0, 0, 0, 0.08) 66%,
      rgba(0, 0, 0, 0.34) 100%
    );
}

.hero__overlay--accent {
  background:
    radial-gradient(circle at 18% 18%, rgba(125, 18, 31, 0.17), transparent 28%),
    radial-gradient(circle at 82% 78%, rgba(125, 18, 31, 0.10), transparent 24%);
  mix-blend-mode: screen;
}

.hero__inner {
  position: relative;
  z-index: 2;
  min-height: 100svh;
  width: 100%;
  padding: 0 var(--page-pad);
}

.hero__branding {
  position: absolute;
  top: 58%;
  left: clamp(48px, 9vw, 180px);
  transform: translateY(-50%);
  width: max-content;
  max-width: min(92vw, 1400px);
}

.hero__title {
  margin: 0;
  font-family: var(--site-font);
  font-size: clamp(78px, 15vw, 250px);
  line-height: 0.84;
  font-weight: 700;
  letter-spacing: -0.07em;
  text-transform: none;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.36);
  white-space: nowrap;
}

.hero__desc {
  margin: 18px 0 0;
  max-width: 760px;
  font-family: var(--site-font);
  font-size: clamp(14px, 1.1vw, 18px);
  line-height: 1.45;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--muted);
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.28);
}

.hero__slider {
  position: absolute;
  left: var(--page-pad);
  right: var(--page-pad);
  bottom: 18px;
}

.nav-shell {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 56px;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.slider-arrow {
  width: 56px;
  height: 56px;
  border: 1px solid rgba(108, 18, 29, 0.82);
  border-radius: 18px;
  background: rgba(8, 8, 8, 0.34);
  backdrop-filter: blur(10px);
  color: rgba(255, 255, 255, 0.94);
  cursor: pointer;
  font-family: var(--site-font);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.slider-arrow span {
  display: block;
  font-size: 34px;
  line-height: 1;
  transform: translateY(-2px);
}

.slider-arrow:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  background: rgba(14, 14, 14, 0.44);
  box-shadow: 0 0 0 1px rgba(123, 20, 32, 0.35), 0 14px 34px rgba(37, 4, 7, 0.28);
}

.nav-carousel {
  position: relative;
  width: 100%;
  border: 1px solid rgba(92, 15, 24, 0.58);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.16), rgba(10, 10, 10, 0.30));
  backdrop-filter: blur(14px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 18px 50px rgba(0, 0, 0, 0.26);
  overflow: hidden;
}

.nav-carousel__viewport {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  cursor: grab;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 18px, #000 calc(100% - 18px), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 18px, #000 calc(100% - 18px), transparent 100%);
}

.nav-carousel__viewport::-webkit-scrollbar {
  display: none;
}

.nav-carousel__viewport.is-dragging {
  cursor: grabbing;
}

.nav-carousel__track {
  display: flex;
  align-items: center;
  gap: 14px;
  width: max-content;
  min-width: 100%;
  padding: 14px;
}

.nav-chip {
  position: relative;
  flex: 0 0 auto;
  min-width: clamp(150px, 12vw, 210px);
  min-height: 64px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--chip-bg);
  backdrop-filter: blur(10px);
  color: rgba(255, 255, 255, 0.95);
  font-family: var(--site-font);
  font-size: 15px;
  line-height: 1.1;
  font-weight: 600;
  text-align: center;
  letter-spacing: -0.02em;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
  overflow: hidden;
}

.nav-chip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(124, 22, 33, 0.20), transparent 42%, rgba(124, 22, 33, 0.06));
  opacity: 0;
  transition: opacity 0.25s ease;
}

.nav-chip:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  background: var(--chip-bg-hover);
  box-shadow: 0 0 0 1px rgba(123, 20, 32, 0.35), var(--chip-shadow);
}

.nav-chip:hover::before {
  opacity: 1;
}

.nav-chip:active {
  transform: translateY(0);
}

.anchors {
  height: 1px;
  overflow: hidden;
}

.anchors section {
  height: 1px;
}

@media (max-width: 1280px) {
  .hero__branding {
    left: clamp(42px, 7vw, 120px);
    top: 57%;
  }

  .hero__title {
    font-size: clamp(72px, 14vw, 190px);
  }
}

@media (max-width: 900px) {
  :root {
    --page-pad: 14px;
  }

  .hero__branding {
    left: 22px;
    top: 54%;
    width: calc(100% - 44px);
    max-width: calc(100% - 44px);
  }

  .hero__title {
    font-size: clamp(58px, 15vw, 128px);
    line-height: 0.88;
    white-space: normal;
  }

  .hero__desc {
    max-width: 420px;
    font-size: 13px;
  }

  .hero__slider {
    bottom: 14px;
  }

  .nav-shell {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    gap: 8px;
  }

  .slider-arrow {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }

  .slider-arrow span {
    font-size: 28px;
  }

  .nav-carousel {
    border-radius: 22px;
  }

  .nav-carousel__track {
    gap: 10px;
    padding: 10px;
  }

  .nav-chip {
    min-width: 138px;
    min-height: 54px;
    padding: 12px 14px;
    border-radius: 16px;
    font-size: 13px;
  }
}

@media (max-width: 520px) {
  :root {
    --page-pad: 10px;
  }

  .hero__branding {
    left: 14px;
    top: 52%;
    width: calc(100% - 28px);
    max-width: calc(100% - 28px);
  }

  .hero__title {
    font-size: clamp(50px, 16vw, 88px);
    line-height: 0.9;
    white-space: normal;
  }

  .hero__desc {
    margin-top: 10px;
    max-width: 280px;
    font-size: 12px;
    line-height: 1.45;
  }

  .nav-shell {
    grid-template-columns: 36px minmax(0, 1fr) 36px;
    gap: 6px;
  }

  .slider-arrow {
    width: 36px;
    height: 36px;
    border-radius: 12px;
  }

  .slider-arrow span {
    font-size: 22px;
    transform: translateY(-1px);
  }

  .nav-carousel {
    border-radius: 18px;
  }

  .nav-carousel__track {
    gap: 8px;
    padding: 8px;
  }

  .nav-chip {
    min-width: 124px;
    min-height: 48px;
    padding: 10px 12px;
    border-radius: 14px;
    font-size: 12px;
  }
}

section[id] {
  scroll-margin-top: 110px;
}

.hero__slider {
  z-index: 20;
}

.hero__slider.is-sticky {
  position: fixed;
  left: 12px;
  right: 12px;
  top: 12px;
  bottom: auto;
  z-index: 1000;
}

.hero__slider.is-sticky .nav-shell {
  max-width: 1520px;
  margin: 0 auto;
}

.hero__slider.is-sticky .nav-carousel {
  border-color: rgba(110, 17, 29, 0.68);
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.82), rgba(10, 10, 10, 0.90));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 16px 42px rgba(0, 0, 0, 0.34);
}

.hero__slider.is-sticky .nav-carousel__track {
  padding: 10px;
  gap: 10px;
}

.hero__slider.is-sticky .nav-chip {
  min-width: 122px;
  min-height: 48px;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 12px;
}

.hero__slider.is-sticky .slider-arrow {
  width: 44px;
  height: 44px;
  border-radius: 14px;
}

.hero__slider.is-sticky .slider-arrow span {
  font-size: 26px;
  transform: translateY(-1px);
}

@media (max-width: 900px) {
  section[id] {
    scroll-margin-top: 84px;
  }

  .hero__slider.is-sticky {
    left: 8px;
    right: 8px;
    top: 8px;
  }

  .hero__slider.is-sticky .nav-shell {
    grid-template-columns: 36px minmax(0, 1fr) 36px;
    gap: 6px;
  }

  .hero__slider.is-sticky .slider-arrow {
    width: 36px;
    height: 36px;
    border-radius: 12px;
  }

  .hero__slider.is-sticky .slider-arrow span {
    font-size: 22px;
  }

  .hero__slider.is-sticky .nav-chip {
    min-width: 104px;
    min-height: 42px;
    padding: 8px 10px;
    font-size: 11px;
    border-radius: 12px;
  }
}