/* Manrope by Mikhail Sharanda, SIL Open Font License 1.1. Source: https://github.com/google/fonts/tree/main/ofl/manrope */
@font-face {
  font-family: "Manrope Embedded";
  src: url("../fonts/manrope-variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --black: #090909;
  --white: #f4f1eb;
  --gray: #aaa7a0;
  --red: #f01070;
  --line: rgba(255, 255, 255, 0.16);
  --font-display: Arial, Helvetica, sans-serif;
  --font-text: "Manrope Embedded", "Segoe UI", Arial, sans-serif;
  --font-ui: "Manrope Embedded", "Arial Narrow", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-text);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: .012em;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img, video { display: block; width: 100%; }

.wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  border-bottom: 1px solid var(--line);
}

header .wrap {
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.logo img {
  width: 210px;
  height: 92px;
  object-fit: contain;
  mix-blend-mode: screen;
  filter:
    drop-shadow(0 0 5px rgba(255, 255, 255, .12))
    drop-shadow(0 0 14px rgba(240, 16, 112, .46));
}

nav { display: flex; gap: 28px; }
.mobile-nav { display: none; }
nav a, .header-link {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
nav a:hover, .header-link:hover { color: var(--red); }

.hero {
  position: relative;
  display: flex;
  min-height: 760px;
  height: 100vh;
  align-items: center;
  overflow: hidden;
}

.hero video {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.15) brightness(0.58);
}

.hero::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.9), rgba(0,0,0,.25)),
    linear-gradient(0deg, rgba(0,0,0,.86), transparent 55%);
  content: "";
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: 0;
}

.label {
  margin: 0 0 20px;
  color: var(--gray);
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.label::before {
  display: inline-block;
  width: 28px;
  height: 1px;
  margin: 0 12px 3px 0;
  background: var(--red);
  content: "";
}

h1, h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -.07em;
  line-height: .86;
  text-transform: uppercase;
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(74px, 12vw, 150px);
  font-weight: 800;
}
h1 span {
  color: transparent;
  font-family: inherit;
  -webkit-text-stroke: clamp(1px, .12vw, 1.8px) var(--white);
}

.hero-bottom {
  display: flex;
  max-width: 950px;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  margin-top: 45px;
}

.hero-bottom p {
  max-width: 480px;
  margin: 0;
  color: #c2bfb9;
  font-size: 15.5px;
  letter-spacing: .018em;
  line-height: 1.68;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  background: var(--red);
  color: #fff;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: .2s ease;
  box-shadow: 0 0 24px rgba(240, 16, 112, 0.18);
}

.button:hover { background: #fff; color: #111; }

section { padding: 87px 0; }

.intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
}

.intro img {
  aspect-ratio: 1 / 1;
  object-fit: contain;
  filter: grayscale(1);
}

h2 { font-size: clamp(58px, 8vw, 102px); }
h2 em { color: var(--red); font-family: Georgia, serif; font-weight: 400; text-transform: none; }

.intro-text > p:not(.label) {
  max-width: 520px;
  margin: 35px 0 0;
  color: var(--gray);
  letter-spacing: .016em;
  line-height: 1.75;
}

.works { border-top: 1px solid var(--line); }

.services { border-top: 1px solid var(--line); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 47px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card {
  display: flex;
  min-width: 0;
  min-height: 230px;
  flex-direction: column;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background .2s ease, color .2s ease;
}

.service-card b {
  color: var(--red);
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
}

.service-card h3 {
  margin: 34px 0 12px;
  font-family: var(--font-display);
  font-size: 20px;
  hyphens: auto;
  letter-spacing: normal;
  line-height: 1.08;
  overflow-wrap: break-word;
  text-transform: uppercase;
}

.service-card p {
  margin: 0;
  color: var(--gray);
  font-size: 14px;
  letter-spacing: .012em;
  line-height: 1.55;
}

.service-card span {
  margin-top: auto;
  padding-top: 20px;
  color: var(--red);
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.service-card:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: -2px;
}

@media (hover: hover) and (pointer: fine) {
  .service-card:hover { background: var(--red); color: #fff; }
  .service-card:hover b,
  .service-card:hover p,
  .service-card:hover span { color: #fff; }
}

.section-top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 47px;
}

.section-top p:last-child {
  max-width: 340px;
  margin: 0;
  color: var(--gray);
  letter-spacing: .016em;
  line-height: 1.72;
}

.gallery {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 2px 0 16px;
  scroll-behavior: auto;
  overscroll-behavior-inline: contain;
  scrollbar-color: var(--red) rgba(255, 255, 255, 0.08);
  scrollbar-width: thin;
  cursor: grab;
  touch-action: pan-y pinch-zoom;
  user-select: none;
  -webkit-user-select: none;
}

.gallery.is-dragging {
  cursor: grabbing;
}

.gallery::-webkit-scrollbar { height: 5px; }
.gallery::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.08); }
.gallery::-webkit-scrollbar-thumb { background: var(--red); }

.gallery img, .gallery video {
  flex: 0 0 clamp(270px, 28vw, 380px);
  width: auto;
  height: 420px;
  object-fit: cover;
  filter: none;
  background: #161616;
}

.gallery-main, .gallery-small {
  min-height: 0;
  grid-row: auto;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 51px;
  border-top: 1px solid var(--line);
}

.step {
  min-height: 230px;
  padding: 28px 24px 28px 0;
  border-right: 1px solid var(--line);
}

.step + .step { padding-left: 24px; }
.step:last-child { border-right: 0; }
.step b { color: var(--red); font-family: var(--font-ui); font-size: 11px; }
.step h3 { margin: 45px 0 12px; font-family: var(--font-display); font-size: 20px; letter-spacing: normal; text-transform: uppercase; }
.step p { margin: 0; color: var(--gray); font-size: 14.5px; letter-spacing: .014em; line-height: 1.68; }

.guide {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 70px;
  border-top: 1px solid var(--line);
}

.guide-cover {
  width: 100%;
  aspect-ratio: 1 / 1;
  margin-bottom: 32px;
  border: 1px solid var(--line);
  object-fit: contain;
}
.guide-card { min-width: 0; padding-top: 40px; }
.guide-card + .guide-card { border-left: 1px solid var(--line); padding-left: 70px; }
.guide-card h3 { margin: 0 0 28px; font-family: var(--font-display); font-size: 34px; letter-spacing: normal; text-transform: uppercase; }
.guide-card h3 span { color: var(--red); }
.guide-card ul { margin: 0; padding: 0; list-style: none; }
.guide-card li { padding: 15px 0; border-bottom: 1px solid var(--line); color: #c9c6c0; letter-spacing: .012em; line-height: 1.52; }
.guide-card small { display: block; margin-top: 22px; color: #75726d; letter-spacing: .012em; line-height: 1.62; }

.studio-info { border-top: 1px solid var(--line); }

.studio-info-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 43px;
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.contact-detail {
  min-width: 0;
  min-height: 150px;
  padding: 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.contact-detail b {
  display: block;
  margin-bottom: 34px;
  color: var(--red);
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.contact-detail a,
.contact-detail address,
.contact-detail span {
  display: block;
  margin: 0;
  color: var(--white);
  font-family: var(--font-text);
  font-size: clamp(18px, 2vw, 25px);
  font-style: normal;
  font-weight: 700;
  line-height: 1.18;
}

.contact-detail a { transition: color .2s ease; }
.contact-detail a:hover { color: var(--red); }

.contact-socials {
  display: grid;
  gap: 9px;
}

.contact-socials a {
  font-size: clamp(15px, 1.4vw, 18px);
  overflow-wrap: anywhere;
}

.contact {
  background: var(--red);
  color: #fff;
}

.contact .label { color: #111; font-weight: 800; }
.contact .label::before { background: #111; }

.contact h2 { max-width: 950px; }
.contact h2 em { color: #111; }
.contact p { max-width: 560px; margin: 30px 0; font-size: 17px; letter-spacing: .014em; line-height: 1.7; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.contact .button { background: #fff; color: #111; }
.contact .button:hover { background: #111; color: #fff; }
.contact .button-dark { background: #111; color: #fff; }
.contact .button-dark:hover { background: #fff; color: #111; }

footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  min-height: 90px;
  align-items: center;
  color: #77746f;
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.footer-brand {
  grid-column: 2;
  text-align: center;
  white-space: nowrap;
}

.footer-top {
  grid-column: 3;
  justify-self: end;
  transition: color .2s ease;
}

.footer-top:hover { color: var(--red); }

@media (max-width: 850px) {
  nav { display: none; }
  .hero { height: 75vh; height: 75svh; min-height: 600px; }
  #about { padding-top: 44px; }

  header .wrap { gap: clamp(14px, 3vw, 28px); }
  .mobile-nav {
    display: flex;
    min-width: 0;
    flex: 1;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(20px, 4vw, 28px);
    margin-left: auto;
  }
  .mobile-nav a {
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    white-space: nowrap;
  }
  .mobile-nav a:hover { color: var(--red); }
  header .header-link { display: none; }
  .hero-content { padding-top: 80px; transform: translateY(28px); }
  .hero-bottom, .section-top { align-items: flex-start; flex-direction: column; }
  .intro, .guide { grid-template-columns: 1fr; gap: 38px; }
  .intro img { max-height: 720px; }
  .gallery img, .gallery video { flex-basis: min(82vw, 350px); height: 390px; }

  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .studio-info-head { align-items: flex-start; flex-direction: column; }
  .contact-details { grid-template-columns: 1fr 1fr; }
  .contact-detail:last-child { grid-column: auto; }
  .step:nth-child(2) { border-right: 0; }
  .guide-card + .guide-card { border-left: 0; padding-left: 0; }
}

@media (max-width: 560px) {
  .wrap { width: min(100% - 28px, 1180px); }
  header .wrap { gap: 14px; }
  header .logo img { width: 100px; height: 54px; }
  .mobile-nav { gap: clamp(12px, 4vw, 18px); }
  .mobile-nav a { font-size: 11.5px; letter-spacing: .05em; }
  header .header-link { min-height: 36px; padding: 0 9px; }
  .hero { height: 75vh; height: 75svh; min-height: 560px; }
  #about { padding-top: 25px; }
  .hero-content { padding: 74px 0 22px; }
  .hero-bottom { gap: 22px; margin-top: 30px; }
  h1 { font-size: clamp(64px, 21vw, 92px); }
  h2 { font-size: clamp(52px, 17vw, 76px); }
  section { padding: 49px 0; }
  .intro, .guide { gap: 29px; }
  .intro-text > p:not(.label) { margin-top: 20px; }
  .section-top { gap: 17px; margin-bottom: 29px; }
  .services-grid { margin-top: 29px; }
  .service-card { min-height: 210px; padding: 20px 14px; }
  .service-card h3 { margin-top: 28px; font-size: 17px; }
  .service-card p { font-size: 13px; }
  .process-grid { grid-template-columns: 1fr; margin-top: 32px; }
  .step { min-height: auto; padding: 24px 0 !important; border-right: 0; border-bottom: 1px solid var(--line); }
  .step h3 { margin-top: 25px; }
  .guide-card { padding-top: 0; }
  .guide-cover { margin-bottom: 19px; }
  .guide-card h3 { margin-bottom: 17px; }
  .studio-info-head { gap: 20px; margin-bottom: 29px; }
  .contact-details { grid-template-columns: 1fr; }
  .contact-detail,
  .contact-detail:last-child { min-height: 118px; grid-column: auto; padding: 20px; }
  .contact-detail b { margin-bottom: 22px; }
  .contact p { margin: 22px 0; }
  .contact { padding-bottom: 64px; }
  footer { min-height: 82px; padding: 20px 0; }
}
