:root {
  --red: #ff3140;
  --red-dark: #d10e18;
  --ink: #f3f0ea;
  --muted: #b7b2aa;
  --line: rgba(255, 255, 255, 0.14);
  --paper: #1c1c1c;
  --paper-2: #262626;
  --white: #101010;
  --dark: #070707;
  --header: 78px;
  --max: 1200px;
  --font: "Manrope", sans-serif;
  --display: "Outfit", sans-serif;
  --radius: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  font-size: 16px;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 40;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--red);
  color: white;
  font-weight: 700;
}
.skip-link:focus { top: 12px; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font-family: inherit; }
::selection { background: var(--red); color: white; }

.wrap {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--header);
  display: flex;
  align-items: center;
  background: rgba(16, 16, 16, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 32px;
}
.logo img { height: 36px; width: auto; }
.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 18px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
}
.nav a {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.nav a.is-active { color: var(--red); }
.nav-tools {
  display: flex;
  align-items: center;
  gap: 14px;
}
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.lang-switch a { color: var(--muted); }
.lang-switch a.is-active { color: var(--ink); }
.lang-switch span { color: var(--muted); }
.linkedin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.contact-list .linkedin { font-weight: 700; }
.nav a.nav-eko,
.nav a.nav-eko.is-active,
.footer-bar a.nav-eko {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #5dcc6a;
}
.nav-eko svg { display: block; flex: none; }
.is-eko .eyebrow,
.is-eko .fact b,
.is-eko .step b { color: #5dcc6a; }
.is-eko .fact,
.is-eko .step { box-shadow: inset 0 0 0 1px rgba(93, 204, 106, 0.35); }
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  background: var(--red);
  color: white;
  font-weight: 700;
  font-size: 14px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease;
}
.btn:hover { background: var(--red-dark); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(18, 18, 18, 0.35);
}
.btn-ghost:hover { background: #f3f0ea; color: #171717; }
.btn-light { background: white; color: #171717; }
.btn-light:hover { background: var(--paper); }

.hero-film {
  position: relative;
  min-height: calc(100vh - var(--header));
  min-height: calc(100svh - var(--header));
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #111 url("../assets/hero-poster.jpg") center/cover no-repeat;
  color: white;
}
.hero-film video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: film-drift 18s ease-out forwards;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.2) 40%, rgba(0, 0, 0, 0.78));
}
.hero-film-copy {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
  padding: 72px 0 48px;
}
.hero-film h1 {
  color: white;
  max-width: 18ch;
  font-size: clamp(48px, 6.4vw, 92px);
}
.hero-film .lede { color: rgba(255, 255, 255, 0.8); max-width: 560px; }
.hero-film .btn-ghost {
  color: white;
  border-color: rgba(255, 255, 255, 0.55);
}
.hero-film .btn-ghost:hover { background: white; color: #171717; }
.hero-film-copy > * {
  opacity: 0;
  transform: translateY(22px);
  animation: rise 0.9s ease forwards;
}
.hero-film-copy > *:nth-child(1) { animation-delay: 0.1s; }
.hero-film-copy > *:nth-child(2) { animation-delay: 0.22s; }
.hero-film-copy > *:nth-child(3) { animation-delay: 0.34s; }
.hero-film-copy > *:nth-child(4) { animation-delay: 0.46s; }
.hero-film-copy > *:nth-child(5) { animation-delay: 0.58s; }
.hero-meta {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 48px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  max-width: 560px;
}
.hero-meta b {
  display: block;
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: -0.03em;
}
.hero-meta span { color: rgba(255, 255, 255, 0.7); font-size: 13px; }

@keyframes film-drift {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-in { opacity: 1; transform: none; }

.eyebrow {
  margin: 0 0 16px;
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -0.04em; line-height: 1.02; }
h1 { margin: 0; font-size: clamp(40px, 5vw, 72px); }
h2 { margin: 0; font-size: clamp(32px, 3.6vw, 52px); }
h3 { margin: 0; font-size: 22px; letter-spacing: -0.03em; }
.lede {
  margin: 18px 0 0;
  max-width: 520px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}
.hero-actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }

.film-section { padding-top: 72px; }
.film {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 28px;
  overflow: hidden;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.film iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.section { padding: 96px 0; scroll-margin-top: var(--header); }
.section-head { max-width: 680px; margin-bottom: 36px; }
.section-head p { margin: 14px 0 0; color: var(--muted); font-size: 17px; }
.section-head .eyebrow { margin-bottom: 12px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.tag-row a {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--paper);
  font-size: 13px;
  font-weight: 700;
}
.tag-row a:hover { background: #f3f0ea; color: #171717; }

.branches {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  align-items: start;
}
.branch {
  position: relative;
  display: flex;
  flex-direction: column;
  grid-column: span 2;
  min-height: 0;
  background: #141414;
  color: var(--ink);
  border-radius: 32px;
  overflow: hidden;
}
.branches .branch:nth-child(4):nth-last-child(2) { grid-column: 2 / span 2; }
.branches .branch:nth-child(5):nth-last-child(1) { grid-column: 4 / span 2; }
.frame {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 22px;
  background: #fff;
}
.branch .frame {
  height: auto;
  margin: 28px 28px 0;
}
.frame.scene { aspect-ratio: auto; height: auto; background: transparent; }
.branch .frame.scene img { width: 100%; height: auto; }
.frame img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: center;
  padding: 0;
  margin: 0;
  border-radius: 0;
  transform: none;
}
.branch figcaption { padding: 22px 72px 28px 28px; }
.branch small {
  display: block;
  margin-bottom: 8px;
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
}
.branch strong { display: block; font-size: 32px; }
.branch span { display: block; margin-top: 6px; color: var(--muted); }
.branch::after {
  content: "→";
  position: absolute;
  right: 18px;
  bottom: 22px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  transition: background 0.25s ease, color 0.25s ease;
}
.branch:hover::after { background: var(--red); color: white; }

.benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.benefit {
  padding: 28px 24px 32px;
  background: var(--paper);
  border-radius: var(--radius);
}
.benefit em {
  display: block;
  margin-bottom: 28px;
  font-family: var(--display);
  font-style: normal;
  font-size: 34px;
  letter-spacing: -0.04em;
  color: var(--red);
}
.benefit p { margin: 10px 0 0; color: var(--muted); }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.steps.cols-3 { grid-template-columns: repeat(3, 1fr); }
.step {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--paper);
}
.step b {
  display: block;
  margin-bottom: 36px;
  font-family: var(--display);
  font-size: 28px;
  color: var(--red);
}
.step p { margin: 10px 0 0; color: var(--muted); font-size: 15px; }

.band {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  min-height: 480px;
  margin: 0 auto;
  width: min(var(--max), calc(100% - 48px));
  border-radius: 28px;
  overflow: hidden;
  background: var(--dark);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.band-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px;
}
.band-copy p { color: rgba(255, 255, 255, 0.72); max-width: 420px; }
.band img { width: 100%; height: 100%; object-fit: cover; }
.band .contact-list span { color: rgba(255, 255, 255, 0.5); }

.clients-page {
  min-height: calc(100svh - var(--header) + 140px);
  display: flex;
  flex-direction: column;
}
.section.clients { padding: 88px 0 140px; }
.clients-page .clients {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 96px 0 160px;
}
.clients .section-head { margin-bottom: 64px; }
.page-hero:has(+ .clients) { padding-bottom: 12px; }
.clients { overflow: hidden; }
.marquee { overflow: hidden; width: 100%; margin: 0; }
.map-section { padding-top: 8px; }
.map-frame {
  height: 460px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 22px;
  width: max-content;
  animation: ticker 70s linear infinite;
}
/* White plate matches the logo files so their built-in white background does not read as a cutout. */
.logo-plate {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  height: 96px;
  padding: 14px 26px;
  background: #fff;
  border-radius: 18px;
}
.marquee-track img {
  height: 54px;
  width: auto;
  max-width: 168px;
  max-height: 54px;
  object-fit: contain;
  margin: 0;
}

.contact { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: start; }
.contact-panel {
  background: #070707;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: white;
  border-radius: 28px;
  padding: 48px;
}
.contact-panel h2,
.contact-panel .lede { color: white; }
.contact-panel .lede { color: rgba(255, 255, 255, 0.72); }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; }
.contact-list li { margin-top: 16px; }
.contact-list span {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-panel .contact-list span { color: rgba(255, 255, 255, 0.5); }
.contact-list a { font-weight: 700; }
form { display: grid; gap: 12px; }
label { display: grid; gap: 6px; font-size: 13px; font-weight: 700; }
input, textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #161616;
  border-radius: 12px;
  padding: 14px 12px;
  font-size: 15px;
  color: #f3f0ea;
}
.contact-panel input,
.contact-panel textarea {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
  color: white;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, textarea:focus { outline: 2px solid var(--red); border-color: transparent; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-note { min-height: 24px; margin: 0; font-size: 14px; color: var(--red); font-weight: 700; }
.contact-panel .form-note { color: #ffb3b8; }

.page-hero { padding: 72px 0 12px; }
.page-hero .lede { max-width: 680px; }
.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 36px;
}
.facts:has(> :nth-child(4)) { grid-template-columns: repeat(4, 1fr); }
.fact {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 22px;
}
.fact b { display: block; font-family: var(--display); font-size: 20px; letter-spacing: -0.03em; }
.fact span { display: block; margin-top: 6px; color: var(--muted); font-size: 14px; }

.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.shot {
  border: 0;
  padding: 28px 28px 8px;
  background: #141414;
  color: var(--ink);
  border-radius: 32px;
  overflow: hidden;
  text-align: left;
  cursor: zoom-in;
}
.shot .frame {
  aspect-ratio: 4 / 3;
  height: auto;
}
.shot .frame img {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
}
.shot-cover .frame { background: #141414; }
.shot-cover .frame img { object-fit: cover; }
.shot.shot-scene .frame { aspect-ratio: auto; height: auto; background: transparent; }
.shot.shot-scene .frame img { width: 100%; height: auto; object-fit: contain; }
.certs { grid-template-columns: repeat(3, 1fr); }
.cert-files { display: flex; flex-wrap: wrap; gap: 8px 14px; margin: 10px 8px 0; }
.cert-files a { color: var(--muted); font-size: 13px; font-weight: 700; }
.cert-files a:hover { color: var(--ink); }
.gallery-label { margin: 64px 0 22px; font-size: 32px; }
.shot > span:last-child {
  display: block;
  padding: 22px 4px 16px;
  font-size: 14px;
  font-weight: 700;
}

.cta-bar {
  width: min(var(--max), calc(100% - 48px));
  margin: 28px auto 72px;
  background: #070707;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: white;
  border-radius: 28px;
  padding: 8px 0;
}
.cta-bar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  width: calc(100% - 64px);
  padding: 28px 0;
}
.cta-bar p { margin: 8px 0 0; color: rgba(255, 255, 255, 0.7); }

.site-footer {
  background: #242424;
  color: var(--ink);
  font-size: 14px;
}
.site-footer > .wrap { padding: 56px 0 32px; }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 28px 48px;
  align-items: start;
}
.footer-name {
  margin: 0 0 8px;
  max-width: 460px;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.3;
}
.footer-grid p { margin: 0; color: var(--muted); }
.footer-meta { margin-top: 8px; font-size: 13px; }
.footer-contact {
  display: grid;
  justify-items: end;
  gap: 8px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.footer-contact a:hover { color: var(--red); }
.footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  flex-wrap: wrap;
}
.footer-bar nav { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.footer-bar a { color: var(--muted); font-size: 13px; font-weight: 600; }
.footer-bar a:hover { color: var(--ink); }
.footer-bar p { margin: 0; color: var(--muted); font-size: 13px; }

dialog {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(920px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
}
dialog::backdrop { background: rgba(10, 10, 10, 0.82); }
dialog img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(920px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  background: transparent;
  border-radius: 16px;
}
dialog button {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: white;
  cursor: pointer;
  font-size: 20px;
}

body.admin-bar .site-header { top: 32px; }

@media (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
}

@media (max-width: 720px) {
  h1 { font-size: 38px; }
  .hero-film h1 { font-size: 42px; }
  .wrap { width: min(var(--max), calc(100% - 32px)); }
  .marquee-track { gap: 14px; }
  .logo-plate { height: 72px; padding: 10px 16px; border-radius: 14px; }
  .marquee-track img { height: 40px; max-height: 40px; max-width: 120px; }
  .map-frame { height: 320px; }
  .section.clients,
  .clients-page .clients { padding: 64px 0 112px; }
  .clients-page { min-height: calc(100svh - var(--header) + 100px); }
}

@media (max-width: 980px) {
  .band, .contact, .benefits, .steps, .steps.cols-3, .branches, .gallery, .facts, .facts:has(> :nth-child(4)), .form-row, .hero-meta {
    grid-template-columns: minmax(0, 1fr);
    flex-direction: column;
  }
  .hero-scrim {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.78));
  }
  .branch,
  .branches .branch:nth-child(4):nth-last-child(2),
  .branches .branch:nth-child(5):nth-last-child(1) { grid-column: auto; min-height: 0; }
  .band { grid-template-columns: 1fr; }
  .band-copy { padding: 36px 24px; }
  .band img { min-height: 260px; }
  .contact-panel { padding: 24px; }
  .site-header { height: auto; }
  .site-header .wrap {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    column-gap: 16px;
    row-gap: 14px;
    padding-top: 14px;
    padding-bottom: 14px;
  }
  .nav-toggle { display: none; }
  .logo { grid-column: 1; grid-row: 1; }
  .nav { display: contents; }
  .nav-tools { grid-column: 2; grid-row: 1; justify-self: end; align-self: center; }
  .nav-links {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px 16px;
  }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-contact { justify-items: start; }
  .footer-bar { align-items: flex-start; }
  .section { padding: 64px 0; }
  .cta-bar .wrap { flex-direction: column; align-items: flex-start; width: calc(100% - 40px); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-film video,
  .marquee-track,
  .hero-film-copy > * { animation: none; }
  .hero-film-copy > * { opacity: 1; transform: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
