:root {
  color-scheme: dark;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  overflow-x: hidden;
  background: #262626;
  color: #fff;
  font-family: "Open Sans Condensed", "Arial Narrow", "Open Sans", sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 1.45;
}

img { max-width: 100%; height: auto; }

a { color: #11d670; }

.header {
  position: relative;
  z-index: 20;
  background: #262626;
}

body:has(.hero) .header,
body:has(.screen) .header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
}

.topbar {
  text-align: right;
  padding: 10px 3% 6px;
  font-size: 18px;
  color: #fff;
}

.topbar .phone {
  color: #00ff00;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 8px;
  padding: 0 12px 12px;
}

.logo { grid-column: 2; grid-row: 1; justify-self: center; align-self: center; }
.nav-left { grid-column: 1; grid-row: 1; justify-content: flex-start; padding-left: 8px; }
.nav-right { grid-column: 3; grid-row: 1; justify-content: flex-end; padding-right: 8px; }
.logo img { height: 96px; width: auto; display: block; }

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  align-content: center;
  gap: 0;
}

.nav a,
.team .sub a,
.header.open .nav a {
  color: #fff;
  text-decoration: none;
  font-family: "Open Sans Condensed", "Arial Narrow", sans-serif;
  font-size: 12px;
  font-weight: 300;
  font-style: normal;
  letter-spacing: 0.3em;
  line-height: 16px;
  text-transform: uppercase;
  white-space: nowrap;
}
.nav > a,
.team > a { margin: 5px 30px; }
.team .sub a { font-size: 10px; letter-spacing: 0.3em; margin: 6px 18px; }


.team { position: relative; }
.team .sub {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 150px;
  padding: 8px 0;
  background: #1a1a1a;
  z-index: 6;
}
.team:hover .sub,
.team:focus-within .sub { display: block; }
.team .sub a { display: block; padding: 6px 14px; }

.burger {
  display: none;
  position: absolute;
  top: 8px;
  right: 10px;
  z-index: 50;
  width: 42px;
  height: 40px;
  padding: 8px 0;
  background: #161616;
  border: 1px solid #fff;
  cursor: pointer;
}
.burger span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: #fff;
}

.header.open .burger span:first-child { transform: translateY(7px) rotate(45deg); }
.header.open .burger span:last-child { transform: translateY(-7px) rotate(-45deg); }

.cookie {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 30;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  width: min(380px, calc(100% - 24px));
  margin: 0;
  padding: 10px 12px;
  background: #161616;
  color: #ddd;
  font-size: 14px;
}
.cookie p { margin: 0; }
.cookie button {
  background: none;
  border: 0;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.wrap { width: min(77%, 1180px); margin: 0 auto; }

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: 48.192771084337% 46.586345381526%;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}
.hero-inner { position: relative; z-index: 1; padding: 72px 0; }
.hero-h1 {
  margin: 0 0 14px;
  font-weight: 300;
  font-size: 35px;
  line-height: 1.15;
  letter-spacing: 0.05em;
  text-align: center;
}

.screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: var(--pos, center);
  position: relative;
}
.screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--shade, rgba(0, 0, 0, 0.7));
}
.screen > .wrap { position: relative; z-index: 1; padding: 110px 0 48px; }

.row {
  display: grid;
  grid-template-columns: repeat(24, minmax(0, 1fr));
  gap: 16px;
  margin: 10px 0 22px;
}
.col { min-width: 0; }
.indent { min-height: 1px; }

.prose p { margin: 0.25em 0; }
.page-title {
  margin: 28px 0 12px;
  font-weight: 300;
  font-size: 28px;
  letter-spacing: 0.14em;
  text-align: center;
}

.btn-stack {
  width: max-content;
  max-width: 100%;
  margin: 8px auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}
.btn-wrap { margin: 0; text-align: center; }
.btn-stack .btn { width: 100%; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 38px;
  padding: 8px 26px;
  border-radius: 10px;
  color: var(--c, #fff);
  background: var(--bg, rgba(11, 78, 179, 0.08));
  border: 2px solid #ebebeb;
  font-family: "Open Sans Condensed", "Arial Narrow", sans-serif;
  font-size: 15px;
  font-weight: 300;
  letter-spacing: 0.06em;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover {
  color: var(--c, #fff);
  background: var(--hbg, rgba(11, 75, 179, 0.31));
  border-color: #fafafa;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
.gallery .shot {
  display: block;
  width: 100%;
  aspect-ratio: var(--rate, 1);
  padding: 0;
  overflow: hidden;
  background: transparent;
  border: 0;
  cursor: zoom-in;
}
.gallery .shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.shot { text-align: center; }
.shot img { display: block; margin: 0 auto; }

.ba {
  position: relative;
  overflow: hidden;
}
.ba-after { display: block; width: 100%; }
.ba-before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: #fff700;
  transform: translateX(-50%);
  pointer-events: none;
}
.ba input[type="range"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}

.film {
  --film-h: min(44vh, 460px);
  width: 100vw;
  margin-left: calc(50% - 50vw);
}
.film[data-h="100"] { --film-h: clamp(148px, 18vh, 230px); }
.film[data-h="75"] { --film-h: clamp(200px, 40vh, 480px); }
.film-track {
  display: flex;
  gap: 14px;
  height: var(--film-h);
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
}
.film-track::-webkit-scrollbar { display: none; }
.film-track.is-drag { cursor: grabbing; }
.film .shot {
  flex: 0 0 auto;
  height: 100%;
  width: auto;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: inherit;
}
.film .shot img {
  height: 100%;
  width: auto;
  max-width: none;
  object-fit: cover;
  display: block;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.crm-form {
  max-width: 560px;
  margin: 18px auto 8px;
}
.crm-form label {
  display: block;
  margin: 0 0 14px;
  font-size: 15px;
  letter-spacing: 0.05em;
}
.crm-form input[type="text"],
.crm-form textarea,
.crm-form select,
.crm-form input[type="file"] {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 12px 14px;
  box-sizing: border-box;
  background: #fff;
  color: #222;
  border: 0;
  border-radius: 18px;
  font: inherit;
}
.crm-form textarea { min-height: 110px; }
.crm-form .check { display: flex; gap: 8px; align-items: center; }
.form-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.72);
}
.form-modal[hidden] { display: none; }
.form-modal-card {
  position: relative;
  width: min(560px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: 36px 22px 18px;
  background: #262626;
}
.form-modal-close {
  position: absolute;
  top: 8px;
  right: 10px;
  border: 0;
  background: none;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.hp { position: absolute; left: -6000px; }
.success { max-width: 680px; margin: 16px auto 28px; text-align: center; }

.embed { text-align: center; margin: 16px 0; }
.break { width: 36%; margin: 28px auto; border: 0; border-top: 1px solid rgba(255, 255, 255, 0.35); }

.footer {
  padding: 36px 16px 64px;
  color: #d5d5d5;
  text-align: center;
}
.footer p { margin: 6px 0; }
.footer a { color: #00ff00; text-decoration: none; }
.footer .ig { color: #fff; }
.footer .btn { color: #fff; }

.lb[hidden] { display: none !important; }
.lb {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.92);
}
.lb img { max-width: 92vw; max-height: 88vh; }
.lb button {
  position: absolute;
  background: none;
  border: 0;
  color: #fff;
  font-size: 42px;
  cursor: pointer;
}
.lb-close { top: 8px; right: 16px; }
.lb-prev { left: 8px; top: 46%; }
.lb-next { right: 8px; top: 46%; }

@media (max-width: 979px) {
  .burger { display: block; }
  .logo img { height: 52px; }
  .topbar { padding-right: 58px; }
  .bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 14px;
  }
  .logo { margin: 0 auto; }
  .nav { display: none; }
  .header.open .bar {
    position: fixed;
    inset: 0;
    z-index: 40;
    align-items: flex-start;
    overflow: auto;
    padding: 78px 22px 36px;
    background: #1c1c1c;
    text-align: left;
  }
  .header.open .logo { display: block; margin: 0 auto 22px; }
  .header.open .nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .header.open .nav a,
  .header.open .team .sub a {
    font-size: 15px;
    letter-spacing: 0.12em;
    margin: 0;
  }
  .team .sub,
  .team:hover .sub,
  .team:focus-within .sub {
    display: none;
    position: static;
    background: transparent;
    padding: 8px 0 0 12px;
  }
  .team.open .sub,
  .team.open:hover .sub { display: flex; flex-direction: column; gap: 10px; }
}

@media (max-width: 800px) {
  .wrap { width: 92%; }
  .hero { min-height: 100vh; }
}

@media (max-width: 700px) {
  .topbar {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    font-size: 14px;
    line-height: 1.35;
  }
  body:has(.hero) .hero,
  .screen {
    box-sizing: border-box;
    padding-bottom: 72px;
  }
  .row { grid-template-columns: 1fr; }
  .col { grid-column: 1 / -1 !important; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .film { --film-h: clamp(140px, 28vh, 220px); }
  .film[data-h="44"] { --film-h: clamp(180px, 36vh, 320px); }
}
