@font-face {
  font-family: Golos;
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('fonts/golos-text-cyrillic-wght-normal.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: Golos;
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('fonts/golos-text-latin-wght-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: dark;
  font-family: Golos, system-ui, sans-serif;
  background: #101112;
  color: #f5f5f2;
  --muted: #b7b8bf;
  --line: #303134;
  --accent: #e6fa8b;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3 { margin: 0; }
em { color: var(--accent); font-style: normal; }
a:focus-visible, button:focus-visible, video:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.wrap { width: min(100% - 64px, 1152px); margin-inline: auto; }
.site-header, .site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.site-header { min-height: 76px; border-bottom: 1px solid var(--line); }
.wordmark { font-weight: 750; letter-spacing: -.035em; }
.site-header nav { display: flex; align-items: center; gap: clamp(12px, 3vw, 32px); font-size: .875rem; }
.site-header nav > a { color: var(--muted); }
.site-header nav > a:hover { color: #fff; }
.site-header nav > .contact-link { color: var(--accent); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 260px);
  align-items: end;
  gap: 24px;
  isolation: isolate;
  position: relative;
  padding-block: 86px 68px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0 0 0 20%;
  background:
    repeating-linear-gradient(119deg, transparent 0 43px, #9b9be323 44px, transparent 45px),
    radial-gradient(ellipse at 82% 20%, #646b9869, transparent 64%);
  mask-image: linear-gradient(98deg, transparent 6%, #000 64%);
  pointer-events: none;
}
.eyebrow {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: .875rem;
  font-weight: 625;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.hero h1 { font-size: clamp(3rem, 6.5vw, 6rem); font-weight: 800; line-height: .96; letter-spacing: -.05em; }
.hero-note { padding-bottom: 3px; }
.hero-note p { margin-bottom: 22px; color: #dedee2; font-size: 1rem; line-height: 1.6; }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  padding-inline: 16px;
  border-radius: 8px;
  background: var(--accent);
  color: #1b2306;
  font-size: .875rem;
  font-weight: 720;
  transition: background .2s ease;
}
.button:hover { background: #f3ffc1; }

.work { padding-block: 43px 64px; scroll-margin-top: 18px; }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 8px 24px; margin-bottom: 25px; }
.section-heading h2 { font-size: clamp(1.9rem, 4vw, 3.1rem); letter-spacing: -.04em; line-height: 1.03; font-weight: 760; }
.section-heading p { color: var(--muted); font-size: .875rem; }
.smm-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 22px); }
.gallery {
  display: grid;
  align-items: center;
  justify-content: center;
  gap: clamp(5px, 1vw, 9px);
  min-height: clamp(230px, 30vw, 355px);
  padding: clamp(9px, 2vw, 20px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #191a1e;
}
.gallery-feed { grid-template-columns: repeat(2, minmax(0, 198px)); }
.gallery-stories { grid-template-columns: repeat(3, minmax(0, 153px)); }
.gallery a { display: block; border-radius: 4px; cursor: zoom-in; }
.gallery a:hover { outline: 1px solid var(--accent); outline-offset: 2px; }
.gallery img { display: block; width: 100%; height: auto; border-radius: 4px; }
.video-work { border-top: 1px solid var(--line); }
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2vw, 22px); }
.case { min-width: 0; }
.player {
  aspect-ratio: 9 / 15;
  position: relative;
  overflow: hidden;
  background: #1b1b23;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.player video { display: block; width: 100%; height: 100%; object-fit: cover; }
.player video[controls] { object-fit: contain; }
.play {
  display: grid;
  place-items: center;
  position: absolute;
  inset: 0;
  width: 100%;
  border: 0;
  padding: 0;
  background: linear-gradient(transparent 55%, #08080976);
  color: #fff;
  cursor: pointer;
  font: inherit;
}
.play:focus-visible { outline-offset: -5px; }
.play-icon {
  display: grid;
  place-items: center;
  width: 59px;
  height: 59px;
  border: 1px solid #ffffff7a;
  border-radius: 50%;
  background: #16161ae0;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}
.play-icon::before {
  content: '';
  margin-left: 4px;
  border-block: 8px solid transparent;
  border-left: 12px solid currentColor;
}
.play:hover .play-icon, .play:focus-visible .play-icon { background: var(--accent); color: #1b2306; transform: scale(1.08); }
.duration {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 5px 8px;
  border-radius: 5px;
  background: #121214e6;
  color: #fff;
  font-size: .875rem;
  font-variant-numeric: tabular-nums;
}
.case-text { padding: 17px 3px 0; }
.case-format { margin-bottom: 6px; color: var(--accent); font-size: .875rem; }
.case h3 { margin-bottom: 8px; font-size: clamp(1.2rem, 2vw, 1.6rem); letter-spacing: -.045em; line-height: 1.15; }
.case-text > p:last-child { color: var(--muted); font-size: 1rem; line-height: 1.55; }

.site-footer { padding-block: 23px 32px; border-top: 1px solid var(--line); }
.site-footer p { font-weight: 650; letter-spacing: -.025em; }

.image-dialog {
  max-width: calc(100% - 36px);
  max-height: calc(100% - 36px);
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 8px;
  background: #191a1e;
}
.image-dialog::backdrop { background: #080809de; }
.image-dialog img { display: block; width: auto; max-width: 100%; max-height: 84dvh; border-radius: inherit; }
.image-dialog button {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 44px;
  height: 44px;
  border: 1px solid #ffffff7a;
  border-radius: 50%;
  background: #16161ae0;
  color: #fff;
  font: 1.6rem/1 Golos, system-ui, sans-serif;
  cursor: pointer;
}

@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(165px, 210px); padding-block: 64px 55px; }
  .hero h1 { font-size: clamp(2.5rem, 6.5vw, 5rem); }
}

@media (max-width: 670px) {
  .wrap { width: calc(100% - 36px); }
  .site-header { min-height: 65px; }
  .hero { grid-template-columns: 1fr; gap: 24px; padding-block: 47px 36px; }
  .hero h1 { font-size: clamp(2.25rem, 9.7vw, 4.3rem); }
  .eyebrow { margin-bottom: 18px; }
  .hero-note p { max-width: 37ch; margin-bottom: 15px; }
  .work { padding-block: 32px 40px; }
  .section-heading { flex-wrap: wrap; margin-bottom: 17px; }
  .work-grid, .smm-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .work-grid .case { width: min(100%, 420px); }
  .gallery { min-height: 0; }
  .case h3 { font-size: 1.4rem; }
  .site-footer { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .play-icon, .button { transition: none; }
}
