@font-face {
  font-family: "Benzin Bold";
  src: url("benzin-bold%20(1).otf") format("opentype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Good Vibes Pro";
  src: url("GoodVibesCyr.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Display";
  src: url("SF-Pro-Display-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f5f5f7;
  --bg-soft: #fbfbfd;
  --ink: #050507;
  --muted: #6e6e73;
  --white-soft: rgba(255, 255, 255, 0.72);
  --line: rgba(0, 0, 0, 0.1);
  --line-dark: rgba(255, 255, 255, 0.15);
  --blue: #0071e3;
  --yellow: #ffd51f;
  --display: "Benzin Bold", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --body: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --script: "Good Vibes Pro", "Brush Script MT", "Segoe Script", cursive;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--body);
  overflow-x: hidden;
  text-rendering: geometricPrecision;
}

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

button {
  color: inherit;
  font: inherit;
}

video {
  display: block;
  background: #050507;
}

::selection {
  color: white;
  background: var(--ink);
}

.scroll-line {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 400;
  width: 100%;
  height: 2px;
  background: transparent;
}

.scroll-line span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left center;
}

.site-header {
  position: fixed;
  top: 14px;
  left: 50%;
  z-index: 300;
  width: min(1040px, calc(100% - 28px));
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(18, 18, 20, 0.86), rgba(18, 18, 20, 0.56)),
    rgba(10, 10, 12, 0.64);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -1px 0 rgba(255, 255, 255, 0.06),
    0 22px 70px rgba(0, 0, 0, 0.22);
  transform: translateX(-50%);
  backdrop-filter: blur(28px) saturate(1.55);
  transition: background 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(105deg, rgba(255, 255, 255, 0.16), transparent 32%, rgba(255, 255, 255, 0.08) 70%, transparent);
  opacity: 0.78;
}

.site-header.is-scrolled {
  background:
    linear-gradient(135deg, rgba(12, 12, 14, 0.92), rgba(12, 12, 14, 0.66)),
    rgba(10, 10, 12, 0.74);
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 20px 64px rgba(0, 0, 0, 0.28);
}

.header-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 58px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 0 12px 0 18px;
}

.brand,
.nav,
.header-cta {
  display: flex;
  align-items: center;
}

.brand {
  gap: 9px;
  color: white;
  font-size: 14px;
  font-weight: 750;
}

.brand-orb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 26%, white 0 16%, transparent 18%),
    linear-gradient(135deg, #5de1ff, #0071e3 52%, #ffd51f);
  box-shadow: 0 0 24px rgba(0, 113, 227, 0.42);
}

.nav {
  justify-content: center;
  gap: clamp(16px, 3vw, 40px);
  justify-self: center;
  min-height: 38px;
  padding: 0 18px;
  color: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  font-size: 13px;
  backdrop-filter: blur(12px);
}

.header-cta {
  justify-content: center;
  min-height: 38px;
  padding: 0 18px;
  color: #050507;
  border-radius: 999px;
  background: white;
  font-size: 13px;
  font-weight: 700;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 12px 28px rgba(0, 0, 0, 0.22);
}

.nav a,
.brand,
.header-cta {
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav a:hover,
.brand:hover,
.header-cta:hover {
  opacity: 0.62;
}

.section {
  position: relative;
  overflow: hidden;
  padding: clamp(86px, 10vw, 148px) 24px;
}

section[id] {
  scroll-margin-top: 72px;
}

.section--dark {
  color: white;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 46px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.012) 0 1px, transparent 1px 34px),
    linear-gradient(135deg, rgba(255, 255, 255, 0.045), transparent 28%),
    #050506;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 100svh;
  padding: 116px 24px 56px;
  background:
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.018) 0 1px, transparent 1px 54px),
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.012) 0 1px, transparent 1px 38px),
    linear-gradient(110deg, rgba(255, 255, 255, 0.72), transparent 36%),
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.9), transparent 32%),
    linear-gradient(180deg, var(--bg-soft), #eeeeF2 74%, #e2e2e7);
}

.hero-copy,
.section-head,
.contact-inner,
.split,
.glass-grid,
.work-grid {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.hero-copy {
  position: relative;
  z-index: 2;
  text-align: center;
}

.kicker {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: 0;
}

.hero-title,
.section-title {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: 0;
}

.hero-title {
  max-width: 970px;
  margin: 0 auto;
  font-size: clamp(42px, 6.7vw, 88px);
  line-height: 0.96;
}

.hero-text,
.body-text {
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.34;
  letter-spacing: 0;
}

.hero-text {
  width: min(710px, 100%);
  margin: 22px auto 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 720;
  cursor: pointer;
  transition: transform 180ms ease, opacity 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--dark {
  color: white;
  background: #111;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.18);
}

.button--glass {
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.78);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0.3)),
    rgba(255, 255, 255, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 16px 42px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(22px) saturate(1.4);
}

.hero-screen {
  position: relative;
  z-index: 2;
  width: min(1020px, 100%);
  margin: clamp(32px, 4.5vw, 54px) auto 0;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 30px;
  background: #111;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    0 36px 110px rgba(0, 0, 0, 0.24);
}

.hero-screen video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent 26%, rgba(0, 0, 0, 0.42)),
    linear-gradient(110deg, rgba(255, 255, 255, 0.26), transparent 31%, rgba(255, 255, 255, 0.08) 70%, transparent);
}

.screen-glass {
  position: absolute;
  z-index: 2;
  min-width: min(250px, 45vw);
  padding: 14px 16px;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.05)),
    rgba(0, 0, 0, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 22px 60px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(24px) saturate(1.6);
}

.screen-glass span,
.screen-glass strong {
  display: block;
}

.screen-glass span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
}

.screen-glass strong {
  margin-top: 5px;
  font-size: 17px;
}

.screen-glass--left {
  left: 22px;
  top: 22px;
}

.screen-glass--right {
  right: 22px;
  bottom: 22px;
}

.split {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.38fr 1fr;
  gap: clamp(28px, 6vw, 82px);
  align-items: start;
}

.section-title {
  max-width: 980px;
  font-size: clamp(42px, 6.4vw, 86px);
  line-height: 0.98;
}

.split .body-text {
  max-width: 800px;
  margin-top: 28px;
}

.section-head {
  position: relative;
  z-index: 1;
  margin-bottom: 48px;
}

.section-head--center {
  text-align: center;
}

.section-head--center .section-title,
.section-head--center .body-text {
  margin-left: auto;
  margin-right: auto;
}

.body-text--dark {
  max-width: 720px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.62);
}

.work-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.work-button {
  position: relative;
  display: grid;
  align-content: end;
  width: 100%;
  min-height: 430px;
  overflow: hidden;
  padding: 24px;
  color: white;
  border: 1px solid var(--line-dark);
  border-radius: 28px;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 24px),
    linear-gradient(180deg, #18181b, #070708);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 28px 84px rgba(0, 0, 0, 0.32);
  text-align: left;
  cursor: pointer;
  transition: transform 210ms ease, border-color 210ms ease, box-shadow 210ms ease;
}

.work-cover {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.76;
  filter: saturate(1.04) contrast(1.08) brightness(0.72);
  transform: scale(1.04);
  transition: opacity 220ms ease, transform 260ms ease, filter 220ms ease;
}

.work-button::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: 1;
  border-radius: 27px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.48) 58%, rgba(0, 0, 0, 0.82)),
    linear-gradient(110deg, rgba(255, 255, 255, 0.24), transparent 30%, rgba(255, 255, 255, 0.06) 70%, transparent),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 5px);
  pointer-events: none;
}

.work-button::after {
  content: "▶";
  position: absolute;
  right: 20px;
  top: 20px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  font-size: 15px;
  line-height: 1;
  backdrop-filter: blur(14px);
}

.work-button .work-meta::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 10px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid rgba(255, 255, 255, 0.62);
}

.work-button:hover {
  border-color: rgba(255, 255, 255, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 34px 100px rgba(0, 0, 0, 0.44);
  transform: translateY(-5px);
}

.work-button:hover .work-cover {
  opacity: 0.9;
  filter: saturate(1.1) contrast(1.1) brightness(0.78);
  transform: scale(1.08);
}

.work-number,
.work-title,
.work-meta {
  position: relative;
  z-index: 2;
  display: block;
}

.work-number {
  margin-bottom: 120px;
  color: rgba(255, 255, 255, 0.34);
  font-family: var(--display);
  font-size: clamp(72px, 7vw, 118px);
  line-height: 0.86;
}

.work-title {
  font-family: var(--display);
  font-size: clamp(32px, 4vw, 54px);
  line-height: 0.96;
}

.work-meta {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 13px;
}

.legal-note {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  margin: 24px auto 0;
  color: rgba(255, 255, 255, 0.42);
  font-size: 12px;
  line-height: 1.45;
}

.approach {
  background:
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.018) 0 1px, transparent 1px 46px),
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.014) 0 1px, transparent 1px 32px),
    linear-gradient(180deg, #f5f5f7, #ececf0);
}

.glass-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 52px;
}

.glass-card {
  min-height: 300px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.28)),
    rgba(255, 255, 255, 0.46);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    0 26px 72px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(24px) saturate(1.35);
}

.glass-card span {
  color: var(--muted);
  font-size: 13px;
}

.glass-card h3 {
  margin: 82px 0 14px;
  font-size: clamp(25px, 2.5vw, 36px);
  line-height: 1.02;
}

.glass-card p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.45;
}

.contact-inner {
  position: relative;
  z-index: 1;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 50px;
}

.contact-tile {
  min-height: 176px;
  padding: 22px;
  border: 1px solid var(--line-dark);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.05);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 24px 70px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(22px) saturate(1.45);
  transition: transform 180ms ease, border-color 180ms ease;
}

.contact-tile:hover {
  border-color: rgba(255, 255, 255, 0.34);
  transform: translateY(-4px);
}

.contact-tile span {
  color: rgba(255, 255, 255, 0.56);
  font-size: 13px;
}

.contact-tile strong {
  display: block;
  margin-top: 62px;
  color: white;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: var(--bg);
  font-size: 13px;
}

.depth-word {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  color: rgba(0, 0, 0, 0.13);
  font-family: var(--display);
  font-size: clamp(90px, 18vw, 260px);
  line-height: 0.8;
  filter: blur(7px);
  opacity: 0.55;
  transform: rotate(-4deg);
  white-space: nowrap;
}

.section--dark .depth-word {
  color: rgba(255, 255, 255, 0.14);
}

.depth-word--hero {
  left: -4vw;
  bottom: -0.34em;
}

.depth-word--about {
  right: -8vw;
  bottom: -0.3em;
}

.depth-word--contact {
  right: -2vw;
  bottom: -0.26em;
}

.lightbox {
  width: min(920px, calc(100% - 28px));
  padding: 0;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 30px;
  background: rgba(7, 7, 8, 0.96);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.58);
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.72);
}

.lightbox-inner {
  padding: 18px;
}

.load-panel {
  min-height: 430px;
  display: grid;
  place-items: center;
  align-content: center;
  padding: 28px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 32%, rgba(255, 213, 31, 0.13), transparent 34%),
    linear-gradient(180deg, #151518, #08080a);
}

.load-video {
  position: relative;
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.06);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 22px 70px rgba(0, 0, 0, 0.42);
  cursor: pointer;
  backdrop-filter: blur(18px);
}

.load-video span {
  width: 0;
  height: 0;
  margin-left: 6px;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  border-left: 22px solid white;
  filter: drop-shadow(0 0 18px rgba(255, 255, 255, 0.34));
}

.modal-video {
  width: 100%;
  max-height: 74vh;
  object-fit: contain;
  border-radius: 22px;
  background: black;
}

.modal-video[hidden],
.load-panel[hidden] {
  display: none !important;
}

.lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  cursor: pointer;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 740ms cubic-bezier(0.2, 0.72, 0.18, 1),
    transform 740ms cubic-bezier(0.2, 0.72, 0.18, 1);
}

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

@media (max-width: 940px) {
  .split,
  .work-grid,
  .glass-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .work-button {
    min-height: 300px;
  }

  .work-number {
    margin-bottom: 70px;
  }

  .glass-card {
    min-height: 240px;
  }

  .glass-card h3 {
    margin-top: 48px;
  }
}

@media (max-width: 720px) {
  .header-inner {
    grid-template-columns: 1fr auto;
    width: calc(100% - 20px);
  }

  .nav {
    display: none;
  }

  .hero {
    padding: 92px 14px 48px;
  }

  .hero-title,
  .section-title {
    font-size: clamp(38px, 12vw, 62px);
  }

  .hero-screen {
    aspect-ratio: 4 / 5;
    border-radius: 24px;
  }

  .screen-glass {
    min-width: 0;
    max-width: calc(100% - 32px);
  }

  .screen-glass--left {
    left: 16px;
    top: 16px;
  }

  .screen-glass--right {
    right: 16px;
    bottom: 16px;
  }

  .section {
    padding: 76px 14px;
  }

  .button {
    width: 100%;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
