:root {
  color-scheme: light;
  --paper: #f8f7f1;
  --ink: #101010;
  --red: #ff3b08;
  --line: rgba(16, 16, 16, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "Archivo Black", Arial Black, Impact, sans-serif;
  letter-spacing: 0;
}

a,
button {
  color: inherit;
  font: inherit;
}

a {
  text-decoration: none;
}

button {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 30;
  display: flex;
  width: 100%;
  justify-content: space-between;
  padding: 9px 10px;
  font-size: clamp(1rem, 1.55vw, 1.75rem);
  line-height: 1;
}

.mini-logo {
  font-family: "Archivo Black", Arial Black, Impact, sans-serif;
  font-style: normal;
  font-weight: 900;
}

.header-link {
  font-size: clamp(1rem, 1.8vw, 2rem);
}

.global-mute {
  position: fixed;
  right: 10px;
  bottom: 38px;
  z-index: 40;
  min-width: 84px;
  padding: 6px 8px;
  background: var(--ink);
  color: var(--paper);
  font-size: clamp(0.82rem, 1vw, 1rem);
  line-height: 1;
}

.landing {
  position: relative;
  display: grid;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
  background: var(--paper);
  transition: background 160ms ease, color 160ms ease;
}

.landing:has(.center-menu:hover),
.landing:has(.center-menu a:hover) {
  background: var(--red);
}

.landing:has(.center-menu:hover) .giant-mark,
.landing:has(.center-menu a:hover) .giant-mark {
  color: var(--red);
  transform: translate(-50%, -50%) scaleX(0.58) scaleY(1.22) skewX(-5deg);
  filter: url("#none");
}

.giant-mark {
  position: absolute;
  top: 50%;
  left: 50%;
  color: var(--red);
  font-family: "Archivo Black", Arial Black, Impact, sans-serif;
  font-size: clamp(10rem, 26vw, 32rem);
  font-style: normal;
  letter-spacing: -0.11em;
  line-height: 0.72;
  transform: translate(-50%, -50%) scaleX(0.74) scaleY(1.16);
  transform-origin: center;
  user-select: none;
  white-space: nowrap;
  transition: color 160ms ease, transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.center-menu {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  font-size: clamp(3.15rem, 7vw, 8.45rem);
  line-height: 0.95;
  text-align: center;
}

.center-menu a:hover {
  color: var(--ink);
  transform: skewX(-12deg) scaleX(1.06);
}

.center-menu a {
  transition: transform 140ms ease, color 140ms ease;
}

.sound-warning {
  position: absolute;
  right: 20px;
  bottom: 9px;
  left: 20px;
  margin: 0 auto;
  max-width: 560px;
  font-size: clamp(0.7rem, 1vw, 1rem);
  line-height: 1.05;
  text-align: center;
  text-transform: uppercase;
}

.bottom-link {
  position: absolute;
  bottom: 8px;
  z-index: 2;
  font-size: clamp(0.8rem, 1.2vw, 1.2rem);
}

.bottom-link.left {
  left: 9px;
}

.bottom-link.right {
  right: 9px;
}

.player-section {
  min-height: 100svh;
  background: #050505;
}

.main-player {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: #050505;
}

.player-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.player-shade {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.34);
  pointer-events: none;
}

.player-title {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  margin: 0;
  color: white;
  font-size: clamp(3.6rem, 6.3vw, 9rem);
  line-height: 0.92;
  text-align: center;
  transform: translate(-50%, -50%);
  opacity: 1;
  transition: opacity 1800ms ease, filter 1800ms ease, transform 1800ms ease;
  pointer-events: none;
}

.main-player.is-title-hidden .player-title {
  opacity: 0;
  filter: blur(10px);
  transform: translate(-50%, -50%) scale(0.98);
}

.media-controls {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  left: 50%;
  z-index: 4;
  display: grid;
  grid-template-columns: auto minmax(120px, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  width: min(880px, calc(100% - 32px));
  min-height: 48px;
  padding: 8px 10px;
  background: rgba(0, 0, 0, 0.48);
  color: white;
  font-size: 0.9rem;
  transform: translateX(-50%);
  backdrop-filter: blur(14px);
}

.control-button {
  min-width: 76px;
  padding: 0;
  color: white;
  text-align: left;
}

.progress {
  width: 100%;
  accent-color: var(--red);
  cursor: pointer;
}

.timecode {
  min-width: 54px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  text-align: right;
}

.arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 54px;
  height: 54px;
  transform: translateY(-50%);
}

.arrow::before {
  content: "";
  position: absolute;
  inset: 11px;
  border-top: 2px solid var(--red);
  border-left: 2px solid var(--red);
}

.arrow-left {
  left: 10px;
}

.arrow-left::before {
  transform: rotate(-45deg);
}

.arrow-right {
  right: 10px;
}

.arrow-right::before {
  transform: rotate(135deg);
}

.works-section {
  background: var(--paper);
}

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

.work-card {
  position: relative;
  display: block;
  min-height: 300px;
  overflow: hidden;
  border-top: 1px solid var(--paper);
  border-right: 1px solid var(--paper);
  background: #ddd;
}

.work-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 140ms ease;
}

.work-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--red);
  opacity: 0;
  transition: opacity 120ms ease;
}

.work-card:hover::before {
  opacity: 1;
}

.work-copy {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  padding: 20px;
  color: var(--ink);
  text-align: center;
  opacity: 0;
  transition: opacity 120ms ease;
}

.work-card:hover .work-copy {
  opacity: 1;
}

.work-copy h2,
.work-copy p {
  margin: 0;
}

.work-copy h2 {
  max-width: 92%;
  font-size: clamp(2rem, 4.75vw, 7.1rem);
  line-height: 0.82;
  text-wrap: balance;
}

.work-copy p {
  display: none;
}

.studio-info {
  min-height: 100svh;
  padding: clamp(80px, 10vw, 150px) 18px 18px;
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.studio-info h2 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(2.7rem, 7.2vw, 9.9rem);
  line-height: 0.88;
}

.studio-info > p {
  max-width: 920px;
  margin: 22px 0 90px;
  font-size: clamp(1.8rem, 4.5vw, 6.3rem);
  line-height: 0.94;
}

.contacts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: end;
}

.contacts span {
  display: block;
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.contacts a {
  border-bottom: 2px solid currentColor;
  font-size: clamp(1.1rem, 1.8vw, 2rem);
}

.cover-capture .site-header,
.cover-capture .global-mute,
.cover-capture .player-title,
.cover-capture .media-controls,
.cover-capture .arrow {
  opacity: 0;
}

@media (max-width: 760px) {
  .giant-mark {
    font-size: clamp(5rem, 24vw, 10rem);
    letter-spacing: -0.12em;
  }

  .center-menu {
    font-size: clamp(3rem, 13vw, 5.2rem);
  }

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

  .work-card {
    min-height: 55svh;
  }
}
