:root {
  --black: #030404;
  --panel: #151515;
  --panel-soft: #191919;
  --lime: #a4ff00;
  --line: #4d880c;
  --blue-line: #253249;
  --field: #1d2a3c;
  --muted: #d7dde8;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--black);
}

body {
  margin: 0;
  background: var(--black);
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: 0;
}

body.intro-done .intro-curtain {
  display: none;
}

.intro-curtain {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  transform-origin: top center;
  animation: curtainLift 4.45s cubic-bezier(0.72, 0, 0.22, 1) forwards;
}

.intro-curtain::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -34px;
  height: 68px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.62), transparent);
  opacity: 0;
  animation: curtainEdge 4.45s ease forwards;
}

.intro-curtain img {
  width: clamp(104px, 13vw, 230px);
  transform: translateY(6px) scale(0.84);
  opacity: 0;
  filter: grayscale(1) brightness(0.42) drop-shadow(0 12px 18px rgba(0, 0, 0, 0.7));
  animation: logoTrace 4.1s ease forwards;
}

@keyframes logoTrace {
  0% {
    opacity: 0;
    transform: translateY(8px) scale(0.54);
    filter: grayscale(1) brightness(0.24) drop-shadow(0 0 0 rgba(0, 0, 0, 0));
  }

  18% {
    opacity: 0.22;
    transform: translateY(8px) scale(0.72);
    filter: grayscale(1) brightness(0.62) contrast(1.85) drop-shadow(0 0 0 rgba(0, 0, 0, 0));
  }

  42% {
    opacity: 0.48;
    transform: translateY(3px) scale(0.88);
    filter: grayscale(1) brightness(0.55) contrast(2.1) drop-shadow(0 0 0 rgba(0, 0, 0, 0));
  }

  66%,
  84% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: grayscale(0) brightness(1.08) contrast(1.08) drop-shadow(0 13px 18px rgba(0, 0, 0, 0.72));
  }

  100% {
    opacity: 1;
    transform: translateY(-32vh) scale(0.94);
    filter: grayscale(0) brightness(1.08) contrast(1.08) drop-shadow(0 13px 18px rgba(0, 0, 0, 0.72));
  }
}

@keyframes curtainLift {
  0%,
  75% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-108%);
  }
}

@keyframes curtainEdge {
  0%,
  72% {
    opacity: 0;
  }

  78%,
  100% {
    opacity: 1;
  }
}

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

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

.section {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.hero {
  background: #050606;
  min-height: 885px;
}

.hero-line,
.service-line {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-line path,
.service-line path {
  fill: none;
  stroke: var(--line);
  stroke-width: 18;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-block {
  position: absolute;
  left: clamp(72px, 12.8vw, 248px);
  top: 7.5vh;
  z-index: 2;
}

.brand-title {
  margin: 0;
  font-size: clamp(86px, 9.1vw, 168px);
  line-height: 0.94;
  font-weight: 800;
}

.brand-title span {
  color: var(--lime);
}

.brand-mark {
  width: clamp(148px, 14vw, 260px);
  margin-top: clamp(82px, 14vh, 152px);
  margin-left: clamp(40px, 5vw, 90px);
  filter: drop-shadow(0 16px 18px rgba(0, 0, 0, 0.72));
}

.orbit-copy {
  position: absolute;
  width: 620px;
  height: 620px;
  right: -170px;
  top: 22px;
  z-index: 2;
  animation: orbit 22s linear infinite reverse;
}

.orbit-copy text {
  fill: #fff;
  font: 700 48px "Courier New", monospace;
  letter-spacing: 0;
}

@keyframes orbit {
  to {
    transform: rotate(360deg);
  }
}

.hero-footer {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100vh - 74px);
  z-index: 3;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(34px, 4.8vw, 84px);
  font-size: clamp(17px, 1.6vw, 27px);
  font-weight: 800;
}

.hero-footer p {
  margin: 0;
}

.social-dot {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #050606;
  background: #fff;
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
}

.social-dot svg {
  width: 26px;
  height: 26px;
  stroke: #fff;
  fill: none;
  stroke-width: 2.1;
}

.social-dot.instagram {
  color: #fff;
  background: transparent;
}

.who {
  min-height: 910px;
  background:
    linear-gradient(180deg, rgba(4, 10, 19, 0.04) 0%, rgba(4, 9, 18, 0.12) 39%, rgba(5, 6, 6, 0.94) 100%),
    url("assets/buffalo-night.jpg") center 62% / cover no-repeat;
}

.who-content {
  position: relative;
  min-height: 910px;
}

.who h2,
.services h2,
.work h2 {
  margin: 0;
  text-align: center;
  font-size: clamp(66px, 7.2vw, 132px);
  line-height: 1;
  font-weight: 900;
}

.who h2 {
  padding-top: 86px;
}

.who-copy {
  position: absolute;
  margin: 0;
  font-size: clamp(19px, 1.35vw, 27px);
  line-height: 1.25;
  font-weight: 800;
}

.who-copy.first {
  left: 12.1vw;
  top: 41.5%;
  width: min(640px, 39vw);
}

.who-copy.mission {
  right: 5.8vw;
  bottom: 76px;
  width: min(820px, 47vw);
  text-align: center;
}

.who-copy span {
  color: var(--lime);
}

.services {
  min-height: 900px;
  padding: 72px 7vw 96px;
  background: #050606;
}

.service-line {
  opacity: 0.95;
}

.services h2 {
  position: relative;
  z-index: 2;
  margin-bottom: 94px;
}

.service-cards {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(250px, 390px));
  justify-content: center;
  gap: clamp(64px, 7.6vw, 146px);
}

.service-card {
  height: clamp(520px, 32vw, 620px);
  border-radius: 15px;
  background: var(--panel);
  box-shadow: 0 14px 18px rgba(0, 0, 0, 0.32);
  overflow: hidden;
  position: relative;
}

.service-icon {
  width: 34px;
  height: 34px;
  position: absolute;
  left: 33px;
  top: 34px;
  fill: none;
  stroke: #fff;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  position: absolute;
  z-index: 2;
  left: 28px;
  right: 28px;
  top: 49%;
  transform: translateY(-50%);
  margin: 0;
  text-align: center;
  font-size: clamp(18px, 1.25vw, 26px);
  line-height: 1.16;
  font-weight: 900;
}

.service-card img {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 39%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  transition: height 320ms ease, filter 320ms ease, transform 320ms ease;
  will-change: height, filter, transform;
}

.service-card:hover img,
.service-card:focus-within img {
  height: 64%;
  filter: grayscale(0) contrast(1.05) saturate(1.08);
  transform: scale(1.02);
}

.service-card:nth-child(1) img {
  object-position: 51% 26%;
}

.service-card:nth-child(2) img {
  object-position: 50% 58%;
}

.service-card:nth-child(3) img {
  object-position: 50% 56%;
}

.work {
  height: 300vh;
  min-height: 2200px;
  padding-top: 0;
  background: #050606;
  overflow: visible;
}

.work-sticky {
  position: sticky;
  top: 0;
  min-height: 900px;
  height: 100vh;
  padding-top: 24px;
  overflow: hidden;
}

.work-sticky::before {
  content: "";
  position: absolute;
  left: -2vw;
  right: -2vw;
  top: 386px;
  height: 170px;
  border-top: 20px solid var(--line);
  border-radius: 50%;
  transform: rotate(2deg);
  opacity: 0.95;
}

.work h2 {
  position: relative;
  z-index: 3;
  margin-bottom: 112px;
}

.work-window {
  position: relative;
  z-index: 2;
  width: 100vw;
  overflow: hidden;
}

.work-track {
  display: flex;
  width: 300vw;
  transform: translateX(0);
  will-change: transform;
}

.work-slide {
  flex: 0 0 100vw;
  display: grid;
  grid-template-columns: minmax(340px, 460px) minmax(780px, 1080px);
  gap: clamp(48px, 3.65vw, 70px);
  align-items: center;
  padding: 0 clamp(28px, 1.6vw, 44px) 80px;
}

.work-text {
  align-self: center;
  transform: translateY(30px);
}

.work-text h3 {
  margin: 0 0 34px;
  font-size: clamp(42px, 2.55vw, 50px);
  line-height: 0.94;
  font-weight: 900;
  white-space: nowrap;
}

.work-text p {
  width: min(100%, 520px);
  margin: 0;
  font-size: clamp(20px, 1.25vw, 27px);
  line-height: 1.32;
  font-weight: 800;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.work-grid img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  border: 8px solid var(--blue-line);
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.work-slide:nth-child(1) .work-grid img:nth-child(1) {
  object-position: 50% 37%;
}

.work-slide:nth-child(1) .work-grid img:nth-child(2) {
  object-position: 54% 42%;
}

.work-slide:nth-child(1) .work-grid img:nth-child(3) {
  object-position: 52% 32%;
}

.work-slide:nth-child(2) .work-grid img:nth-child(1) {
  object-position: 55% 50%;
}

.work-slide:nth-child(2) .work-grid img:nth-child(2) {
  object-position: 52% 50%;
}

.work-slide:nth-child(2) .work-grid img:nth-child(3) {
  object-position: 48% 38%;
}

.work-slide:nth-child(2) .work-grid img:nth-child(4) {
  object-position: 46% 52%;
}

.work-slide:nth-child(3) .work-grid img:nth-child(1) {
  object-position: 48% 50%;
}

.work-slide:nth-child(3) .work-grid img:nth-child(2) {
  border-color: #18e170;
  object-position: 55% 48%;
}

.work-slide:nth-child(3) .work-grid img:nth-child(3) {
  object-position: 48% 43%;
}

.work-slide:nth-child(3) .work-grid img:nth-child(4) {
  object-position: 50% 52%;
}

.contact {
  min-height: 900px;
  padding: 125px 6vw 100px;
  background:
    linear-gradient(180deg, #050606 0 48px, rgba(5, 6, 6, 0.84) 120px, rgba(5, 6, 6, 0.36) 100%),
    repeating-linear-gradient(0deg, transparent 0 21px, rgba(255, 255, 255, 0.065) 22px 24px),
    repeating-linear-gradient(90deg, transparent 0 68px, rgba(255, 255, 255, 0.065) 69px 71px),
    #050606;
}

.contact-inner {
  max-width: 1520px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 790px 600px;
  gap: 70px;
  align-items: start;
}

.contact-left {
  text-align: center;
  padding-top: 55px;
}

.contact-left h2 {
  margin: 0 0 14px;
  color: var(--lime);
  font-size: clamp(42px, 3.1vw, 60px);
  line-height: 1.05;
  font-weight: 900;
}

.contact-left > p {
  max-width: 820px;
  margin: 0 auto 3px;
  color: #f1f3f8;
  font-size: clamp(21px, 1.45vw, 29px);
  line-height: 1.28;
  font-weight: 500;
}

.contact-card {
  width: 748px;
  min-height: 330px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 44px;
  align-items: center;
  padding: 48px 50px;
  text-align: left;
  border: 2px solid #23304a;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.82);
}

.contact-card h3 {
  margin: 0 0 28px;
  font-size: clamp(28px, 1.8vw, 34px);
  line-height: 1.1;
  font-weight: 900;
}

.contact-card dl {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 22px;
  row-gap: 18px;
  margin: 0;
  font-size: clamp(20px, 1.42vw, 27px);
  line-height: 1.1;
}

.contact-card dt {
  color: var(--lime);
  font-weight: 900;
}

.contact-card dd {
  margin: 0;
  font-weight: 500;
}

.contact-card img {
  width: 230px;
  height: 230px;
  object-fit: cover;
  border-radius: 13px;
}

.contact-form {
  display: grid;
  gap: 10px;
  padding-top: 58px;
  text-align: left;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #fff;
  font-size: 17px;
  line-height: 1;
  font-weight: 600;
}

.contact-form em {
  color: #d52424;
  font-style: normal;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 0;
  border-radius: 4px;
  background: var(--field);
  color: #fff;
  outline: none;
  font: 500 18px Arial, Helvetica, sans-serif;
}

.contact-form input {
  height: 43px;
  padding: 0 17px;
}

.contact-form textarea {
  min-height: 128px;
  resize: vertical;
  padding: 16px 17px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.48);
}

.count {
  justify-self: end;
  min-height: 18px;
  color: #fff;
  font-size: 16px;
}

.contact-form button {
  height: 39px;
  border: 0;
  border-radius: 6px;
  background: var(--lime);
  color: #000;
  font: 800 18px Arial, Helvetica, sans-serif;
  cursor: pointer;
}

footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  color: #fff;
  text-align: center;
  font-size: 18px;
  font-weight: 800;
}

footer img {
  width: 82px;
}

footer p {
  margin: 7px 0;
}

footer span {
  color: var(--lime);
}

footer a:first-of-type {
  color: #e83b73;
}

footer a:last-of-type {
  color: #35b1ec;
}

@media (max-width: 1160px) {
  .hero {
    min-height: 740px;
  }

  .orbit-copy {
    width: 470px;
    right: -190px;
  }

  .who,
  .who-content {
    min-height: 820px;
  }

  .who-copy.first,
  .who-copy.mission {
    width: 74vw;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    text-align: left;
  }

  .who-copy.first {
    top: 34%;
  }

  .who-copy.mission {
    bottom: 82px;
    text-align: center;
  }

  .service-cards {
    gap: 28px;
  }

  .work-slide {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-inline: 7vw;
  }

  .work-text {
    max-width: 760px;
  }

  .contact-inner,
  .contact-card {
    grid-template-columns: 1fr;
    width: auto;
  }

  .contact-card img {
    justify-self: center;
  }
}

@media (max-width: 820px) {
  .section {
    min-height: auto;
  }

  .hero {
    min-height: 720px;
  }

  .brand-block {
    left: 34px;
    top: 56px;
  }

  .brand-title {
    font-size: 82px;
  }

  .brand-mark {
    margin-top: 112px;
    margin-left: 26px;
    width: 148px;
  }

  .hero-line path,
  .service-line path {
    stroke-width: 13;
  }

  .hero-footer {
    bottom: 30px;
    flex-wrap: wrap;
    gap: 18px 28px;
    padding-inline: 28px;
    text-align: center;
  }

  .orbit-copy {
    width: 420px;
    height: 420px;
    top: 42px;
    right: -280px;
  }

  .orbit-copy text {
    font-size: 46px;
  }

  .who {
    min-height: 800px;
  }

  .who h2,
  .services h2,
  .work h2 {
    font-size: 58px;
  }

  .who h2 {
    padding-top: 58px;
  }

  .who-copy.first,
  .who-copy.mission {
    width: calc(100vw - 44px);
    font-size: 18px;
  }

  .services {
    padding-inline: 22px;
  }

  .service-cards {
    grid-template-columns: 1fr;
    max-width: 430px;
    margin-inline: auto;
  }

  .work {
    height: auto;
    min-height: auto;
    padding-top: 60px;
  }

  .work-sticky {
    position: relative;
    height: auto;
    min-height: auto;
    padding-top: 0;
    overflow: visible;
  }

  .work h2 {
    margin-bottom: 56px;
  }

  .work-window {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .work-track {
    width: 300%;
    transform: none !important;
  }

  .work-slide {
    flex-basis: 100vw;
    scroll-snap-align: start;
    padding-bottom: 60px;
  }

  .work-text h3 {
    font-size: 38px;
  }

  .work-text p {
    font-size: 17px;
  }

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

  .contact {
    padding: 82px 22px 180px;
  }

  .contact-inner {
    gap: 46px;
  }

  .contact-card {
    padding: 30px 24px;
    gap: 28px;
  }

  .contact-card dl {
    grid-template-columns: 1fr;
    row-gap: 7px;
  }

  .contact-card dd {
    margin-bottom: 12px;
  }

  footer {
    flex-direction: column;
    gap: 4px;
    bottom: 24px;
    padding-inline: 24px;
  }
}
