:root {
  --purple: #4d00cf;
  --purple-bright: #8b3ff3;
  --black: #050505;
  --white: #ffffff;
  --mist: #f0f0f0;
  --text: #151515;
  --muted: #404040;
  --container: 1140px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: "Raleway", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6;
}

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

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

button {
  font: inherit;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mobile-only {
  display: none;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  height: 75px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2%;
  color: var(--white);
  background: rgba(0, 0, 0, 0.35);
  transition: height 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  height: 55px;
  background: rgba(255, 255, 255, 0.97);
  color: #202020;
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.08);
}

.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 200px;
  height: 44px;
}

.brand-logo {
  position: absolute;
  inset: 0 auto auto 0;
  width: 200px;
  height: 44px;
  object-fit: contain;
  object-position: left center;
  transition: opacity 160ms ease, transform 180ms ease;
}

.brand-logo-light {
  opacity: 0;
}

.site-header.is-scrolled .brand-logo-dark,
.site-header.is-open .brand-logo-dark {
  opacity: 0;
}

.site-header.is-scrolled .brand-logo-light,
.site-header.is-open .brand-logo-light {
  opacity: 1;
}

.site-header.is-scrolled .brand-logo,
.site-header.is-open .brand-logo {
  transform: translateY(-2px);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-family: "Raleway", Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.main-nav a {
  position: relative;
  padding: 26px 0;
  opacity: 0.88;
  transition: color 160ms ease, opacity 160ms ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 160ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--purple-bright);
  opacity: 1;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

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

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

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

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #111;
  color: var(--white);
}

.hero-bg {
  position: absolute;
  inset: -40vh 0;
  background: url("img/mop252upminmin.jpg") center center / cover no-repeat;
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1040px, calc(100% - 32px));
  text-align: center;
}

.hero h1,
.hero p {
  margin: 0;
  font-family: "Urbanist", "Raleway", Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 2px;
}

.hero h1 {
  color: var(--purple-bright);
  font-size: 38px;
  line-height: 1.18;
}

.hero p {
  margin-top: 8px;
  font-size: 52px;
  line-height: 1.1;
}

.scroll-down {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 34px;
  width: 100px;
  height: 50px;
  transform: translateX(-50%);
  opacity: 1;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.scroll-down.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.scroll-down::before,
.scroll-down::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  display: block;
  margin: auto;
  border-right: 1px solid var(--white);
  border-bottom: 1px solid var(--white);
  transform: rotate(45deg);
}

.scroll-down::before {
  bottom: 20px;
  width: 60px;
  height: 60px;
}

.scroll-down::after {
  bottom: 35px;
  width: 30px;
  height: 30px;
  animation: sc-down-a 0.3s infinite alternate;
}

.back-to-top {
  position: fixed;
  z-index: 60;
  right: 20px;
  bottom: 20px;
  width: 46px;
  height: 46px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 17px;
  width: 20px;
  height: 20px;
  border-top: 7px solid rgba(0, 0, 0, 0.23);
  border-left: 7px solid rgba(0, 0, 0, 0.23);
  border-radius: 4px 0 0 0;
  transform: rotate(45deg);
}

.back-to-top::after {
  content: none;
}

.section {
  padding: 60px 0;
}

.portfolio {
  background-color: var(--mist);
  background-image: url("img/3funpngmin.png");
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.sample-list {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.sample {
  display: grid;
  grid-template-columns: 24% 1fr;
  align-items: stretch;
  margin-top: 60px;
  height: 150px;
}

.sample:first-child {
  margin-top: 0;
}

.sample-art {
  position: relative;
  height: 150px;
  padding: 0;
  border: 0;
  background: #222;
  cursor: pointer;
  overflow: hidden;
}

.sample-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sample-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.08);
  transition: background 160ms ease;
}

.sample-art:hover::after,
.sample-art:focus-visible::after,
.sample.is-playing .sample-art::after {
  background: rgba(77, 0, 207, 0.24);
}

.play-icon {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  transform: translate(-50%, -50%);
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
}

.play-icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 52%;
  width: 0;
  height: 0;
  transform: translate(-42%, -50%);
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 12px solid var(--white);
}

.art-wave {
  position: absolute;
  z-index: 1;
  left: 22px;
  right: 22px;
  bottom: 18px;
  height: 20px;
  overflow: hidden;
  opacity: 0.9;
  background:
    repeating-linear-gradient(
      to right,
      rgba(255, 255, 255, 0.58) 0 1px,
      transparent 1px 4px
    );
  -webkit-mask-image: linear-gradient(
    to top,
    transparent 0,
    #000 3px,
    #000 9px,
    transparent 9px,
    transparent 12px,
    #000 12px,
    #000 17px,
    transparent 17px
  );
  mask-image: linear-gradient(
    to top,
    transparent 0,
    #000 3px,
    #000 9px,
    transparent 9px,
    transparent 12px,
    #000 12px,
    #000 17px,
    transparent 17px
  );
}

.art-wave span {
  display: block;
  width: 0%;
  height: 100%;
  background:
    repeating-linear-gradient(
      to right,
      rgba(116, 1, 223, 0.95) 0 1px,
      transparent 1px 4px
    );
}

.sample.is-playing .play-icon::before {
  left: 50%;
  width: 12px;
  height: 16px;
  border: 0;
  transform: translate(-50%, -50%);
  background:
    linear-gradient(to right, var(--white) 0 4px, transparent 4px 8px, var(--white) 8px 12px);
}

.sample-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 150px;
  padding: 24px 28px;
  isolation: isolate;
}

.sample-copy::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, 0.8);
  mix-blend-mode: screen;
}

.sample h3 {
  margin: 0;
  color: #000;
  font-family: "Raleway", Arial, sans-serif;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 3.6px;
  line-height: 1.2;
}

.sample p {
  max-width: 620px;
  margin: 8px 0 0;
  color: #000;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.6;
}

.services {
  background-color: var(--white);
  background-image: url("img/1hipmodpngmin.png");
  background-position: center top;
  background-size: cover;
  color: var(--white);
  text-align: center;
}

.services.section {
  padding: 42px 0 48px;
}

.section-inner {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.services h2,
.contact h2 {
  margin: 0 0 20px;
  font-family: "Dosis", Arial, sans-serif;
  font-size: 42px;
  font-weight: 400;
  line-height: 1.2;
}

.services h2 {
  color: #000;
  margin-bottom: 22px;
}

.services p {
  margin: 0 auto;
  max-width: 1080px;
  font-family: "Raleway", Arial, sans-serif;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.42;
}

.contact {
  background: var(--white);
  text-align: center;
}

.contact.section {
  padding: 78px 0 64px;
}

.contact-inner {
  width: min(650px, calc(100% - 32px));
  margin: 0 auto;
}

.contact p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 24px;
  line-height: 1.55;
}

.contact h2 {
  margin-bottom: 28px;
  font-size: 52px;
}

.contact p strong {
  color: #111;
}

.contact-form {
  display: grid;
  gap: 16px;
  margin: 8px auto 0;
  text-align: left;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: #151515;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(77, 0, 207, 0.34);
  border-radius: 5px;
  padding: 13px 14px;
  color: #111;
  background: #fff;
  font: 400 18px/1.35 "Raleway", Arial, sans-serif;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(77, 0, 207, 0.12);
}

.contact-check {
  max-width: 170px;
}

.contact-submit {
  justify-self: center;
  min-width: 210px;
  margin-top: 4px;
  padding: 14px 24px;
  border: 1px solid var(--purple);
  border-radius: 5px;
  color: var(--white);
  background: var(--purple);
  font-family: "Dosis", Arial, sans-serif;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.1;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, opacity 160ms ease;
}

.contact-submit:hover,
.contact-submit:focus-visible {
  color: var(--purple);
  background: var(--white);
}

.contact-submit:disabled {
  cursor: wait;
  opacity: 0.6;
}

.botcheck {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

.form-status {
  min-height: 25px;
  margin: 0 !important;
  text-align: center;
  font-size: 17px !important;
  font-weight: 700;
}

.form-status.is-success {
  color: #167a35 !important;
}

.form-status.is-error {
  color: #b00020 !important;
}

.email-fallback {
  margin: 18px 0 0 !important;
  color: #777 !important;
  font-size: 16px !important;
}

.email-fallback a {
  color: var(--purple);
  font-weight: 700;
}

.email-fallback a:hover,
.email-fallback a:focus-visible {
  text-decoration: underline;
}

.copyright {
  margin-top: 36px !important;
  color: #ccc !important;
  font-size: 13px !important;
}

@keyframes sc-down-a {
  0% {
    transform: translateY(0) rotate(45deg);
  }

  100% {
    transform: translateY(2px) rotate(45deg);
  }
}

@media (max-width: 1024px) {
  .hero h1,
  .hero p {
    font-size: 56px;
  }

  .portfolio {
    background-attachment: scroll;
  }

  .sample {
    grid-template-columns: 1fr;
    height: auto;
  }

  .sample-art {
    min-height: 300px;
    height: 300px;
  }
}

@media (max-width: 767px) {
  .site-header {
    height: 64px;
    padding: 0 16px;
  }

  .brand,
  .brand-logo {
    width: 175px;
    height: 39px;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    padding: 8px 16px 18px;
    color: #202020;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.08);
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: transform 180ms ease, opacity 180ms ease, visibility 180ms ease;
  }

  .site-header.is-open .main-nav {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .main-nav a {
    padding: 12px 0;
  }

  .main-nav a::after {
    bottom: 8px;
    right: auto;
    width: 80px;
  }

  .hero h1,
  .hero p {
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
    font-size: 40px;
  }

  .mobile-only {
    display: block;
  }

  .sample {
    margin-top: 34px;
  }

  .sample-art,
  .sample-art img {
    min-height: 0;
    height: 300px;
  }

  .sample-copy {
    height: auto;
    min-height: 155px;
    padding: 24px 20px 34px;
  }

  .sample h3 {
    font-size: 26px;
    letter-spacing: 2.4px;
  }

  .art-wave {
    left: 28px;
    right: 28px;
    bottom: 24px;
  }

  .services {
    background-position: 72% top;
    background-size: auto 720px;
  }

  .services p {
    max-width: 340px;
    font-size: 21px;
    line-height: 1.35;
    text-shadow: 0 1px 4px rgba(190, 0, 70, 0.75);
  }

  .contact.section {
    padding: 68px 0 54px;
  }

  .contact h2 {
    font-size: 44px;
    margin-bottom: 24px;
  }

  .contact p {
    font-size: 22px;
    margin-bottom: 22px;
  }

  .contact-form {
    gap: 14px;
  }

  .contact-submit {
    width: 100%;
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .hero h1,
  .hero p {
    max-width: 320px;
    font-size: 36px;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 16px;
  }

  .contact-submit {
    font-size: 25px;
  }
}
