:root {
  --black: #050505;
  --white: #fff;
  --soft: #f1f1f1;
  --muted: #5d5d5d;
  --serif: Georgia, 'Times New Roman', serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--black);
  background: var(--white);
  font-family: var(--serif);
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
main {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  overflow: visible;
  background: var(--white);
}
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; height: auto; }
.modal-open { overflow: hidden; }

.hero {
  position: relative;
  min-height: 620px;
  overflow: visible;
  display: grid;
  grid-template-columns: minmax(0, 55%) minmax(0, 45%);
  align-items: center;
  isolation: isolate;
  padding: 56px 5.5% 70px;
}
.hero__ghost {
  position: absolute;
  z-index: -2;
  top: -35px;
  left: -12px;
  font-size: clamp(9rem, 17vw, 16rem);
  line-height: .78;
  letter-spacing: -.07em;
  color: #f5f5f5;
  white-space: nowrap;
  user-select: none;
}
.hero__content {
  position: relative;
  z-index: 2;
  width: min(680px, 100%);
  text-align: center;
}
.logo {
  width: min(300px, 75%);
  height: auto;
  margin: 0 auto 34px;
}
h1, h2, p { margin-top: 0; }
h1 {
  margin-bottom: 25px;
  font-size: clamp(1.55rem, 2.6vw, 2.55rem);
  line-height: 1.14;
  font-weight: 400;
}
.hero__description {
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  line-height: 1.38;
}
.hero__description p { margin-bottom: 7px; }
.hero__actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 46px;
}
.button {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 27px;
  border: 1px solid transparent;
  border-radius: 0;
  cursor: pointer;
  font-size: 1.08rem;
  line-height: 1.15;
  text-decoration: none;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.button:hover { transform: translateY(-2px); }
.button:focus-visible, input:focus-visible, textarea:focus-visible, .modal__close:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 3px;
}
.button--primary { color: var(--white); background: var(--black); }
.button--primary:hover { background: #292929; }
.button--secondary { color: var(--black); background: #e9e9e9; }
.button--secondary:hover { background: #dadada; }
.hero__pita {
  position: absolute;
  z-index: -1;
  width: min(58vw, 790px);
  max-width: none;
  right: -13%;
  top: calc(-21% - 135px);
}

.production {
  position: relative;
  z-index: 2;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 1174 / 352;
  background: #111;
}
.production > img { width: 100%; height: 100%; object-fit: cover; object-position: center 50%; }
.production__play {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 66px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,.78);
  transform: translate(-50%, -50%);
  backdrop-filter: blur(4px);
  cursor: pointer;
  transition: transform .2s, background-color .2s;
}
.production__play svg { width: 31px; fill: #fff; filter: drop-shadow(0 1px 1px rgba(0,0,0,.25)); }
.production__play:hover { transform: translate(-50%, -50%) scale(1.06); background: rgba(255,255,255,.92); }
.production__play:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }

.video-modal {
  width: min(1120px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 0;
  background: #000;
  overflow: visible;
}
.video-modal::backdrop { background: rgba(0,0,0,.86); backdrop-filter: blur(4px); }
.video-modal__panel { position: relative; background: #000; }
.video-modal video { display: block; width: 100%; max-height: calc(100dvh - 32px); aspect-ratio: 16 / 9; background: #000; }
.video-modal__close {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 50%;
  color: #fff;
  background: rgba(0,0,0,.55);
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
}
.video-modal__close:hover { background: #000; }
.video-modal__close:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

.story {
  min-height: 530px;
  display: grid;
  grid-template-columns: 35% 65%;
  align-items: center;
  overflow: visible;
  padding: 80px 8% 68px 0;
}
.story__image-wrap { align-self: stretch; position: relative; min-height: 450px; }
.story__image-wrap img {
  position: absolute;
  width: min(660px, 48vw);
  max-width: none;
  left: -26%;
  top: 50%;
  transform: translateY(-50%);
}
.story__copy {
  position: relative;
  z-index: 2;
  max-width: 735px;
  margin-left: 118px;
  padding: 30px 0 30px 54px;
}
.story h2, .contacts h2 { font-size: clamp(2rem, 3vw, 3rem); font-weight: 400; margin-bottom: 34px; }
.story p { font-size: clamp(1.05rem, 1.55vw, 1.32rem); line-height: 1.48; margin-bottom: 30px; }

.contacts {
  min-height: 630px;
  display: grid;
  grid-template-columns: 42% 58%;
  align-items: center;
  overflow: visible;
  padding: 45px 0 70px 8%;
}
.contacts__copy { position: relative; z-index: 2; text-align: center; max-width: 480px; }
.contacts address { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-bottom: 34px; font-style: normal; }
.contacts address a { color: var(--black); font-size: clamp(1.25rem, 2vw, 1.75rem); text-underline-offset: 5px; }
.contacts .button { margin-bottom: 38px; }
.contacts__legal { font-size: .95rem; line-height: 1.45; }
.contacts__image-wrap { align-self: stretch; position: relative; min-height: 550px; }
.contacts__image-wrap img {
  position: absolute;
  width: min(850px, 65vw);
  max-width: none;
  right: -12%;
  top: 50%;
  transform: translateY(-48%);
}

.modal {
  width: min(620px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}
.modal::backdrop { background: rgba(0,0,0,.62); backdrop-filter: blur(3px); }
.modal__panel { position: relative; max-height: calc(100dvh - 32px); overflow-y: auto; background: var(--white); padding: 47px clamp(24px, 6vw, 56px) 42px; }
.modal__close { position: absolute; top: 14px; right: 17px; width: 40px; height: 40px; border: 0; background: transparent; cursor: pointer; font-size: 2.1rem; line-height: 1; }
.eyebrow { margin-bottom: 7px; text-transform: uppercase; letter-spacing: .17em; font-size: .75rem; }
.modal__intro h2 { margin-bottom: 14px; font-size: clamp(1.9rem, 5vw, 2.6rem); font-weight: 400; }
.modal__intro > p:last-child { margin-bottom: 30px; color: var(--muted); line-height: 1.45; }
.form-field { margin-bottom: 20px; }
.form-field label { display: block; margin-bottom: 8px; }
.required-mark { color: #c40000; font-weight: 700; }
.form-field input, .form-field textarea {
  width: 100%;
  border: 1px solid #aaa;
  border-radius: 0;
  padding: 13px 14px;
  background: #fff;
  color: #000;
}
.form-field textarea { min-height: 112px; resize: vertical; }
.form-field input[aria-invalid="true"], .form-field textarea[aria-invalid="true"] { border-color: #a00000; }
.field-error { display: block; min-height: 16px; margin-top: 5px; color: #9b0000; font-family: Arial, sans-serif; font-size: .76rem; }
.field-error:empty { display: none; }
.form-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; align-items: flex-start; gap: 10px; color: #444; font-family: Arial, sans-serif; font-size: .78rem; line-height: 1.4; }
.consent input { margin-top: 2px; accent-color: #000; }
.sample-form__submit { width: 100%; margin-top: 14px; }
.sample-form__submit:disabled { opacity: .55; cursor: wait; transform: none; }
.form-status { margin: 18px 0 0; font-family: Arial, sans-serif; font-size: .9rem; line-height: 1.4; text-align: center; }
.form-status.is-success { color: #13651c; }
.form-status.is-error { color: #9b0000; }

@media (max-width: 800px) {
  main { overflow: clip; }
  .hero { min-height: 620px; grid-template-columns: 1fr; align-items: start; padding: 44px 20px 60px; }
  .hero__ghost { top: 130px; left: 50%; transform: translateX(-50%); font-size: 8rem; line-height: .83; text-align: center; }
  .hero__content { margin: 0 auto; }
  .logo { width: min(300px, 82%); margin-top: 20px; margin-bottom: 28px; }
  .hero h1 { margin-top: 70px; }
  .hero__actions { margin-top: 34px; }
  .hero__pita {
    width: 500px;
    right: auto;
    left: 50%;
    top: -250px;
    bottom: auto;
    transform: translateX(-50%);
  }
  .production { aspect-ratio: 16 / 8.5; }
  .story { grid-template-columns: 1fr; padding: 48px 20px 62px; }
  .story__image-wrap { min-height: 340px; order: 2; }
  .story__image-wrap img { width: 480px; left: 50%; transform: translate(-50%, -50%); }
  .story__copy { margin-left: 0; padding: 0; text-align: center; }
  .story h2, .contacts h2 { margin-bottom: 24px; }
  .contacts { grid-template-columns: 1fr; margin-top: -40px; padding: 35px 20px 40px; }
  .contacts__copy { margin: 0 auto 40px; }
  .contacts__image-wrap { min-height: 360px; }
  .contacts__image-wrap img { width: 590px; right: auto; left: 50%; transform: translate(-50%, -48%); }
}

@media (max-width: 520px) {
  .hero { min-height: 620px; padding-bottom: 60px; }
  .hero__actions { flex-direction: column; }
  .hero__actions .button { width: 100%; }
  .hero__pita { width: 410px; top: -205px; }
  .production { aspect-ratio: 1.4 / 1; }
  .production > img { object-position: 58% center; }
  .production__play { width: 54px; }
  .story { padding-top: 52px; }
  .story__image-wrap { min-height: 280px; }
  .story__image-wrap img { width: 410px; left: 50%; }
  .contacts__image-wrap { min-height: 280px; }
  .contacts__image-wrap img { width: 460px; right: auto; left: 50%; }
  .modal__panel { padding: 36px 20px 26px; }
  .modal__intro h2 { font-size: clamp(1.35rem, 6.5vw, 1.65rem); white-space: nowrap; }
  .modal__intro > p:last-child { margin-bottom: 20px; }
  .form-field { margin-bottom: 13px; }
  .form-field label { margin-bottom: 6px; }
  .form-field input, .form-field textarea { padding: 10px 12px; }
  .form-field textarea { min-height: 88px; }
  .sample-form__submit { min-height: 52px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
