@import url('https://fonts.googleapis.com/css2?family=Golos+Text:wght@400;500;600;700;800&family=Manrope:wght@400;500;600;700&display=swap');

:root {
  color-scheme: dark;
  --ink: #050a12;
  --surface: #0c1930;
  --white: #f3f8ff;
  --muted: #b3c2d8;
  --blue: #4d91ff;
  --ice: #a9d6ff;
  --line: rgba(181, 215, 255, .22);
  font-family: Manrope, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--white); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--ice); outline-offset: 5px; }
::selection { background: #4186f8; color: #fff; }
.page-light { display: none; }

.site-header {
  position: absolute;
  z-index: 20;
  inset: 0 0 auto;
  min-height: 92px;
  padding: 20px 4%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 6px;
  border: 1px solid rgba(204, 230, 255, .25);
  border-radius: 999px;
  background: rgba(5, 17, 39, .59);
  -webkit-backdrop-filter: blur(22px) saturate(1.2);
  backdrop-filter: blur(22px) saturate(1.2);
  box-shadow: inset 0 1px rgba(255,255,255,.12), 0 12px 40px rgba(0,0,0,.15);
}
.nav a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 40px;
  padding: 8px 20px;
  border-radius: 999px;
  color: #dceafa;
  font-size: 13px;
  font-weight: 600;
  transition: color .2s ease, background .2s ease;
}
.nav a:hover, .nav a:focus-visible { color: #fff; background: rgba(172, 211, 255, .15); }
.menu-button { display: none; }

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: max(760px, 100svh);
  overflow: hidden;
  background: var(--ink);
}
.hero-film {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(#000 0%, #000 65%, rgba(0,0,0,.8) 78%, transparent 100%);
  mask-image: linear-gradient(#000 0%, #000 65%, rgba(0,0,0,.8) 78%, transparent 100%);
}
.hero-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(.9) brightness(.68);
  transform: scale(1.02);
}
.film-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2,7,19,.68), rgba(2,7,19,.32) 58%, rgba(2,7,19,.12)),
              linear-gradient(180deg, rgba(2,7,19,.25), transparent 40%, rgba(5,10,18,.4));
}
.hero-film::after {
  content: "";
  position: absolute;
  inset: 74% -5% -8%;
  background: linear-gradient(transparent, var(--ink) 80%);
  filter: blur(24px);
}
.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 145px 4% 130px;
}
.hero-copy {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 27px;
  text-align: center;
  animation: hero-appear .8s ease-out both;
}
.hero h1 {
  width: 100%;
  margin: 0;
  font-family: "Golos Text", Manrope, Arial, sans-serif;
  font-size: clamp(52px, 7.4vw, 136px);
  font-weight: 800;
  line-height: .91;
  letter-spacing: -.075em;
  text-transform: uppercase;
}
.hero h1 span { display: block; }
.hero h1 span + span {
  padding-bottom: .07em;
  background: linear-gradient(100deg, #fff 0%, #c4e5ff 49%, #69adff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead {
  max-width: 650px;
  margin: 0;
  color: #e2edfa;
  font-size: clamp(17px, 1.35vw, 22px);
  font-weight: 500;
  line-height: 1.5;
  text-wrap: pretty;
}
.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 11px;
  margin-top: 6px;
}
.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 21px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 700;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.button span { font-size: 20px; font-weight: 400; line-height: 1; }
.button-primary { background: #e5f3ff; color: #07162d; }
.button-primary:hover { background: #fff; }
.button-text {
  border-color: rgba(218,237,255,.52);
  background: rgba(6,19,43,.42);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.button-text:hover { background: rgba(93,151,243,.25); border-color: var(--ice); }

.works-section {
  position: relative;
  padding: 65px 4% 145px;
  background: var(--ink);
  scroll-margin-top: 20px;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 50px;
  margin-bottom: 48px;
}
.section-heading h2, .studio-intro h2 {
  margin: 0;
  font-family: "Golos Text", Manrope, Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -.07em;
  line-height: .88;
}
.section-heading h2 { font-size: clamp(76px, 9.5vw, 168px); }
.section-heading > p {
  max-width: 440px;
  margin: 0 0 8px;
  color: var(--muted);
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.55;
}
.work-categories {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 150px;
}
.work-categories a {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: clamp(240px, 21vw, 370px);
  overflow: hidden;
  padding: 28px;
  border: 1px solid rgba(208,231,255,.2);
  border-radius: 9px;
  background: var(--surface);
  transition: border-color .25s ease;
}
.work-categories a::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background-size: cover;
  background-position: center 44%;
  filter: brightness(.68) saturate(.72);
  transform: scale(1.01);
  transition: transform .6s cubic-bezier(.2,.8,.2,1), filter .6s ease;
}
.work-categories a:nth-child(1)::before { background-image: url("media/dynamics.jpg"); }
.work-categories a:nth-child(2)::before { background-image: url("media/air-crash.jpg"); }
.work-categories a:nth-child(3)::before { background-image: url("media/trend.jpg"); }
.work-categories a::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, rgba(2,8,19,.08) 25%, rgba(3,11,26,.93) 100%),
              linear-gradient(90deg, rgba(17,69,160,.36), transparent 75%);
}
.work-categories a:hover, .work-categories a:focus-visible { border-color: #a9d6ff; }
.work-categories a:hover::before, .work-categories a:focus-visible::before { transform: scale(1.055); filter: brightness(.8) saturate(.95); }
.work-categories a span {
  display: block;
  max-width: 380px;
  font-family: "Golos Text", Manrope, Arial, sans-serif;
  font-size: clamp(28px, 2.8vw, 52px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -.055em;
  text-wrap: balance;
}
.work-categories a span::after { content: "↗"; display: block; margin-top: 22px; color: #a9d6ff; font-family: Manrope, Arial, sans-serif; font-size: 25px; font-weight: 400; }

.work-category { padding-top: 32px; border-top: 1px solid var(--line); scroll-margin-top: 30px; }
.work-category + .work-category { margin-top: 130px; }
.category-heading { margin-bottom: 36px; }
.category-heading h3 {
  margin: 0;
  font-family: "Golos Text", Manrope, Arial, sans-serif;
  font-size: clamp(40px, 5.2vw, 92px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.065em;
  text-wrap: balance;
}
.work-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 54px 18px; }
.work-card { appearance: none; display: block; min-width: 0; padding: 0; border: 0; background: none; color: inherit; text-align: left; cursor: pointer; }
.work-image { position: relative; display: block; aspect-ratio: 9 / 14; overflow: hidden; border: 1px solid rgba(207,230,255,.2); border-radius: 7px; background: #0f1c32; transition: border-color .25s ease; }
.work-image::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, rgba(1,7,16,.38)); pointer-events: none; }
.work-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .65s cubic-bezier(.2,.8,.2,1); }
.work-card:hover .work-image, .work-card:focus-visible .work-image { border-color: var(--ice); }
.work-card:hover .work-image img, .work-card:focus-visible .work-image img { transform: scale(1.04); }
.work-play {
  position: absolute;
  z-index: 2;
  right: 14px;
  bottom: 14px;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  padding-left: 3px;
  border: 1px solid rgba(241,249,255,.75);
  border-radius: 50%;
  background: rgba(10,30,68,.63);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: #fff;
  font-size: 14px;
  transition: background .25s ease;
}
.work-card:hover .work-play { background: rgba(47,112,224,.82); }
.work-meta { margin: 15px 0 7px; color: #b5c6df; font-size: 12px; font-weight: 600; }
.work-meta span:first-child { display: none; }
.work-card strong { display: block; font-size: clamp(17px, 1.35vw, 21px); font-weight: 700; line-height: 1.38; letter-spacing: -.025em; }

.studio-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(350px, .8fr);
  align-items: start;
  gap: 7%;
  padding: 135px 4% 160px;
  overflow: hidden;
  border-top: 1px solid var(--line);
  background: radial-gradient(ellipse 75% 100% at 90% 35%, rgba(27,76,167,.2), transparent 65%), var(--ink);
  scroll-margin-top: 30px;
}
.studio-light { display: none; }
.studio-intro h2 { font-size: clamp(85px, 10vw, 190px); }
.studio-intro h2 span { color: var(--blue); }
.studio-details { padding-top: 8px; scroll-margin-top: 40px; }
.studio-description { max-width: 710px; margin: 0 0 32px; font-size: clamp(21px, 1.8vw, 31px); font-weight: 500; line-height: 1.42; letter-spacing: -.03em; }
.studio-invitation { max-width: 620px; margin: 0 0 54px; color: var(--muted); font-size: clamp(16px, 1.2vw, 19px); line-height: 1.65; }
.studio-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 680px;
  padding: 23px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-family: "Golos Text", Manrope, Arial, sans-serif;
  font-size: clamp(24px, 2.1vw, 38px);
  font-weight: 600;
  letter-spacing: -.045em;
  transition: color .2s ease;
}
.studio-contact:hover { color: var(--ice); }
.studio-contact small { display: block; margin-top: 6px; color: var(--muted); font-family: Manrope, Arial, sans-serif; font-size: 14px; font-weight: 500; letter-spacing: 0; }
.contact-arrow { display: grid; flex: none; place-items: center; width: 56px; height: 56px; border: 1px solid rgba(207,231,255,.5); border-radius: 50%; font-size: 25px; font-weight: 400; }
.footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 88px; padding: 24px 4%; border-top: 1px solid var(--line); color: #9aacc6; font-size: 12px; font-weight: 600; }
.footer a:hover { color: #fff; }

.video-dialog { max-width: min(95vw, 850px); max-height: 94dvh; padding: 14px; overflow: hidden; border: 1px solid rgba(190,222,255,.4); border-radius: 13px; background: #0a1529; color: #fff; box-shadow: 0 30px 110px rgba(0,0,0,.8); }
.video-dialog::backdrop { background: rgba(1,5,14,.88); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.dialog-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 42px; padding: 0 2px 12px 6px; font-size: 14px; font-weight: 700; }
.dialog-close { flex: none; width: 36px; height: 36px; border: 1px solid rgba(218,238,255,.45); border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; cursor: pointer; }
.video-dialog video { display: block; max-width: 100%; width: auto; height: min(78dvh, 760px); margin: auto; border-radius: 5px; background: #000; }

@keyframes hero-appear { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

@media (max-width: 1100px) {
  .hero h1 { font-size: clamp(48px, 7.4vw, 82px); }
  .work-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .studio-section { grid-template-columns: 1fr 1fr; gap: 5%; }
}
@media (max-width: 760px) {
  .site-header { min-height: 76px; justify-content: flex-end; padding: 16px 5%; }
  .menu-button { display: block; width: 46px; height: 46px; padding: 11px; border: 1px solid rgba(215,235,255,.44); border-radius: 8px; background: rgba(8,26,57,.7); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); cursor: pointer; }
  .menu-button span { display: block; height: 2px; margin: 6px 2px; background: #eaf5ff; }
  .nav { display: none; position: absolute; top: 70px; right: 5%; left: 5%; flex-direction: column; align-items: stretch; gap: 3px; padding: 8px; border-radius: 9px; background: rgba(7,21,45,.96); }
  .nav.open { display: flex; }
  .nav a { justify-content: flex-start; min-height: 50px; padding: 11px 18px; border-radius: 6px; font-size: 15px; }
  .hero { min-height: max(740px, 100svh); }
  .hero-inner { padding: 145px 5% 115px; }
  .hero-copy { gap: 24px; }
  .hero h1 { font-size: clamp(38px, 9.5vw, 72px); line-height: .98; letter-spacing: -.075em; }
  .hero-lead { max-width: 540px; font-size: 17px; }
  .hero-actions { flex-wrap: wrap; margin-top: 4px; }
  .works-section { padding: 70px 5% 100px; }
  .section-heading { display: block; margin-bottom: 34px; }
  .section-heading h2 { font-size: clamp(70px, 13vw, 106px); }
  .section-heading > p { margin: 18px 0 0; font-size: 16px; }
  .work-categories { gap: 10px; margin-bottom: 90px; }
  .work-categories a { min-height: 180px; padding: 18px; }
  .work-categories a span { font-size: 25px; }
  .work-categories a span::after { margin-top: 14px; font-size: 20px; }
  .work-category + .work-category { margin-top: 90px; }
  .category-heading h3 { font-size: clamp(40px, 7vw, 60px); }
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 38px 13px; }
  .studio-section { display: block; padding: 95px 5% 110px; }
  .studio-intro h2 { font-size: clamp(80px, 14vw, 120px); }
  .studio-details { max-width: 650px; padding-top: 48px; }
  .studio-description { font-size: 24px; }
  .studio-invitation { font-size: 16px; }
  .footer { padding: 24px 5%; }
}
@media (max-width: 530px) {
  .hero { min-height: max(680px, 100svh); }
  .hero-inner { padding-top: 130px; padding-bottom: 90px; }
  .hero h1 { font-size: 9.3vw; }
  .hero-lead { font-size: 16px; }
  .hero-actions { flex-direction: column; width: min(100%, 310px); }
  .hero-actions .button { width: 100%; }
  .button { min-height: 52px; font-size: 13px; }
  .work-categories { grid-template-columns: 1fr; }
  .work-categories a { min-height: 155px; }
  .work-categories a span { max-width: 300px; font-size: 30px; }
  .work-categories a span::after { margin-top: 7px; }
  .work-categories a:nth-child(1)::before { background-position: center 30%; }
  .work-categories a:nth-child(2)::before { background-position: center 36%; }
  .category-heading h3 { font-size: clamp(38px, 10vw, 58px); }
  .work-grid { gap: 36px 11px; }
  .work-image { aspect-ratio: 9 / 15; }
  .work-play { width: 42px; height: 42px; right: 9px; bottom: 9px; font-size: 12px; }
  .work-meta { font-size: 11px; margin-top: 10px; }
  .work-card strong { font-size: 15px; }
  .studio-intro h2 { font-size: 20vw; }
  .studio-description { font-size: 21px; }
  .studio-contact { font-size: 23px; }
  .contact-arrow { width: 46px; height: 46px; }
  .footer { font-size: 10px; }
}
@media (max-width: 360px) {
  .hero h1 { font-size: 9.1vw; }
  .work-grid { grid-template-columns: 1fr; }
  .work-image { aspect-ratio: 9 / 13; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-copy { animation: none; }
  .work-image img, .work-categories a::before, .button, .nav a { transition: none; }
}
