/* Fidelity layer for the client-approved 2026-08-09 mockups. */
:root {
  --mock-bg: #01050c;
  --mock-surface: #070c15;
  --mock-line: rgba(255, 255, 255, 0.13);
  --mock-muted: #9ca1ab;
  --mock-gradient: linear-gradient(100deg, #f57d4a 0%, #ee5266 26%, #cc398f 52%, #9c29d3 77%, #6e2af0 100%);
}

html, body { max-width: 100%; overflow-x: clip; }
html:has(.mobile-menu[open]),
html:has(.lightbox[open]),
body:has(.mobile-menu[open]),
body:has(.lightbox[open]) { overflow: hidden; }
body { background: var(--mock-bg); }
.site-header {
  position: relative;
  z-index: 50;
  height: 112px;
  border-bottom: 0;
  background: #01040a;
  backdrop-filter: none;
}
.site-header__inner {
  width: min(calc(100% - 56px), 1616px);
  height: 112px;
  margin-inline: auto;
  padding-inline: 0;
  gap: 18px;
}
.brand { flex: 0 0 auto; gap: 18px; text-decoration: none; }
.brand__logo { width: 166px; height: auto; object-fit: contain; }
.brand__divider { height: 51px; background: rgba(255,255,255,.22); }
.brand__descriptor {
  width: 202px;
  color: #858a94;
  font-size: 12px;
  line-height: 1.55;
  letter-spacing: .055em;
  text-transform: uppercase;
}
.site-nav { flex: 1 1 auto; justify-content: flex-end; gap: clamp(28px, 2.2vw, 38px); }
.site-nav a {
  position: relative;
  padding: 42px 0 40px;
  color: #f5f5f7;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .035em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
.site-nav a::after { content: ""; position: absolute; right: 0; bottom: 30px; left: 0; height: 1px; transform: scaleX(0); background: var(--mock-gradient); }
.site-nav a:hover::after, .site-nav a.is-current::after { transform: scaleX(1); }
.site-header__cta { flex: 0 0 auto; min-width: 238px; height: 57px; margin-left: 0; }
.site-header__cta > span { white-space: nowrap; }
.mobile-menu { position: relative; display: block; flex: 0 0 auto; }
.mobile-menu__toggle {
  display: grid;
  width: 49px;
  height: 49px;
  padding: 0;
  place-content: center;
  gap: 5px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  background: #02050a;
  list-style: none;
}
.mobile-menu__toggle::-webkit-details-marker { display: none; }
.mobile-menu__toggle span { width: 17px; height: 1px; margin: 0; background: #fff; }
.mobile-menu__panel { z-index: 90; right: 0; top: 62px; width: min(360px, calc(100vw - 32px)); }
.mobile-menu:not([open]) .mobile-menu__panel { display: none; }
.button { min-height: 52px; border-radius: 12px; font-size: 13px; letter-spacing: .035em; text-transform: uppercase; }
.button--gradient { background: var(--mock-gradient); }
.mock-kicker {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0 0 30px;
  color: #b6b9c1;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.mock-kicker::before { content: ""; width: 28px; height: 4px; border-radius: 99px; background: var(--mock-gradient); }

.site-footer { background: #030711; }
.site-footer__top { padding-block: 26px; }
.site-footer__bottom { padding-block: 18px; }
.page--services-mockup .site-footer,
.page--formats-mockup .site-footer { display: none; }

@media (min-width: 1281px) and (max-width: 1500px) {
  .site-header,
  .site-header__inner { height: 106px; }
  .brand__logo { width: 158px; }
  .brand__divider { height: 57px; }
  .brand__descriptor { width: 172px; font-size: .71rem; }
  .site-header__cta { min-width: 199px; height: 57px; }
  .mobile-menu__toggle { width: 52px; height: 52px; }
}

@media (min-width: 1281px) {
  .site-header__inner { padding-left: 6px; }
}

@media (min-width: 1501px) {
  .page--home .site-nav { padding-right: 90px; }
}

@media (max-width: 1280px) {
  .site-header__inner { width: min(calc(100% - 40px), 1200px); gap: 18px; }
  .brand__descriptor { display: none; }
  .brand__divider { display: none; }
  .site-nav { gap: 24px; }
  .site-header__cta { min-width: 196px; }
}

@media (max-width: 1024px) {
  .site-header, .site-header__inner { height: 84px; }
  .site-header__inner { width: calc(100% - 32px); }
  .brand__logo { width: 132px; height: auto; }
  .site-nav, .site-header__cta { display: none; }
  .mobile-menu { margin-left: auto; }
  .page--mockup-cases .mobile-menu,
  .page--mockup-blog .mobile-menu { margin-left: auto; }
  .mobile-menu__panel { position: fixed; top: 84px; right: 0; bottom: 0; left: 0; width: 100%; border-radius: 0; }
}

@media (max-width: 560px) {
  .site-header__inner { width: calc(100% - 24px); }
  .brand__logo { width: 116px; }
  .mobile-menu__toggle { width: 44px; height: 44px; }
  .button { width: 100%; justify-content: center; }
  .mock-kicker { gap: 12px; margin-bottom: 20px; font-size: 11px; }
  .mock-kicker::before { width: 22px; height: 3px; }
}

/* Seven primary destinations plus direct contacts remain fully visible on
   compact desktop widths; below that threshold the same CMS navigation moves
   into the accessible menu without clipping CTA or contact targets. */
@media (min-width: 1221px) and (max-width: 1560px) {
  .site-header__inner { gap: 8px; }
  .site-nav { gap: 10px; }
  .site-header__cta { width: 196px; min-width: 196px; padding-inline: 12px; }
  .mobile-menu__toggle { width: 44px; height: 44px; }
}

@media (max-width: 1220px) {
  .site-nav,
  .site-header__cta,
  .site-header__inner > .header-contacts { display: none; }
  .mobile-menu { display: block; margin-left: auto; }
}

@media (min-width: 1025px) and (max-width: 1220px) {
  .mobile-menu__panel {
    position: fixed;
    top: 112px;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    border-radius: 0;
  }
}
