.site-chrome {
  box-sizing: border-box;
  font: 400 14px/1.6 "Inter", sans-serif;
  color: #eee9f7;
  text-align: left;
  -webkit-tap-highlight-color: transparent;
}

.site-chrome *, .site-chrome *::before, .site-chrome *::after {
  box-sizing: border-box;
}

.site-chrome [hidden] {
  display: none !important;
}

.site-chrome a, .site-chrome button {
  font: inherit;
  color: inherit;
  text-decoration: none;
}

.site-chrome button {
  cursor: pointer;
}

.site-chrome a:focus-visible, .site-chrome button:focus-visible {
  outline: 2px solid #c8b7fa;
  outline-offset: 4px;
}

.site-chrome .chrome-ui-icon, .site-chrome .chrome-button-icon {
  display: inline-block;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  object-fit: contain;
  vertical-align: middle;
  filter: brightness(0) invert(1);
}

.chrome-header, .chrome-footer {
  width: calc(100% - 2 * clamp(22px, 5.3vw, 96px));
  max-width: 1408px;
  margin: 0 auto;
}

.chrome-header {
  position: relative;
  z-index: 100;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  min-height: 96px;
  padding: 0;
  border-bottom: 1px solid #30283e;
}

.chrome-header .chrome-brand {
  display: inline-flex;
  justify-self: start;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  white-space: nowrap;
  transition: transform 200ms ease;
}

.chrome-header .chrome-brandword {
  display: block;
  font: 800 22px/1 "Inter", sans-serif;
  letter-spacing: -1.4px;
  color: #eee9f7;
  transition: color 200ms ease, text-shadow 200ms ease;
}

.chrome-header .chrome-studio-logo {
  display: block;
  width: 44px;
  max-width: 100%;
  height: 44px;
  object-fit: contain;
}

.chrome-header .chrome-navcenter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.chrome-header .chrome-nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  margin: 0;
  padding: 10px 13px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #aaa2b8;
  font: 500 13px/1.4 "Inter", sans-serif;
  letter-spacing: 0;
  white-space: nowrap;
  transition: color 180ms ease, background-color 180ms ease;
}

.chrome-header .chrome-nav-link::after {
  content: "";
  position: absolute;
  right: 13px;
  bottom: 5px;
  left: 13px;
  height: 2px;
  border-radius: 2px;
  background: #c8b7fa;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 200ms ease;
}

.chrome-header .chrome-navactions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  justify-self: end;
  gap: 12px;
  min-width: 0;
}

.chrome-header .chrome-langwrapper {
  position: relative;
}

.chrome-header .chrome-lang-button,
.chrome-header .chrome-nav-contact,
.chrome-header .chrome-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 40px;
  margin: 0;
  padding: 9px 14px;
  border: 1px solid #3a2e49;
  border-radius: 999px;
  background: #171220;
  color: #ded2eb;
  font: 500 12px/1.5 "Inter", sans-serif;
  letter-spacing: 0;
  white-space: nowrap;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.chrome-header .chrome-lang-button {
  min-width: 70px;
}

.chrome-header .chrome-nav-contact > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.chrome-header .chrome-nav-contact .chrome-ui-icon {
  transition: transform 180ms ease;
}

.chrome-header .chrome-lang-button .chrome-ui-icon {
  width: 14px;
  height: 14px;
  transition: transform 180ms ease;
}

.chrome-header .chrome-lang-button[aria-expanded="true"] .chrome-ui-icon {
  transform: rotate(180deg);
}

.chrome-header .chrome-langmenu {
  position: absolute;
  z-index: 110;
  top: calc(100% + 10px);
  right: 0;
  display: grid;
  width: 174px;
  padding: 6px;
  border: 1px solid #3a2e49;
  border-radius: 14px;
  background: #171220;
  box-shadow: 0 12px 30px #0005;
}

.chrome-header .chrome-langmenu.open {
  animation: chrome-reveal 160ms ease both;
}

.chrome-header .chrome-langitem {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px 11px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  text-align: left;
  color: #aaa2b8;
  font: 500 13px/1.5 "Inter", sans-serif;
  transition: color 160ms ease, background-color 160ms ease;
}

.chrome-header .chrome-langitem.selected {
  background: #281e35;
  color: #eee9f7;
}

.chrome-header .chrome-langcheck {
  visibility: hidden;
}

.chrome-header .selected .chrome-langcheck {
  visibility: visible;
}

.chrome-header .chrome-menu-toggle, .chrome-header .chrome-mobile-nav {
  display: none;
}

.chrome-header .chrome-nav-link:focus-visible {
  background: #211a2d;
  color: #f3edff;
}

.chrome-header .chrome-nav-link:focus-visible::after {
  transform: scaleX(1);
}

.chrome-header .chrome-brand:active,
.chrome-header .chrome-nav-contact:active,
.chrome-header .chrome-lang-button:active,
.chrome-header .chrome-menu-toggle:active {
  transform: translateY(1px);
}

.chrome-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 64px;
  padding: 28px 0;
  border-top: 1px solid #30283e;
  color: #aaa2b8;
  font: 400 12px/1.6 "Inter", sans-serif;
}

.chrome-footer > span {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.chrome-footer a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 180ms ease;
}

.chrome-footer .chrome-footer-strong {
  color: #eee9f7;
  font-weight: 600;
}

.chrome-footer .chrome-ui-icon {
  width: 14px;
  height: 14px;
  transition: transform 180ms ease;
}

body.modal-open {
  overflow: hidden;
}

.chrome-overlay {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: none;
  place-items: center;
  overflow-y: auto;
  padding: 24px;
  background: rgba(5, 4, 10, 0.88);
}

.chrome-overlay.open {
  display: grid;
}

.chrome-overlay .chrome-dialog {
  position: relative;
  width: min(100%, 620px);
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid #3a2e49;
  border-radius: 24px;
  background: #14101d;
}

.chrome-overlay .chrome-dialog-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 8px;
  border: 1px solid #3a2e49;
  border-radius: 50%;
  background: #21182e;
  transition: background-color 180ms ease, border-color 180ms ease;
}

.chrome-overlay .chrome-section-index {
  color: #c8b7fa;
  font: 600 11px/1.5 "Inter", sans-serif;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.chrome-overlay h2 {
  margin: 24px 0;
  padding: 0;
  border: 0;
  font: 600 clamp(32px, 5vw, 48px)/1.15 "Inter", sans-serif;
  letter-spacing: -1.5px;
}

.chrome-overlay h2 em {
  font: italic 500 1.06em/1.15 "Playfair Display", serif;
  color: #c8b7fa;
}

.chrome-overlay p {
  max-width: none;
  margin: 0 0 24px;
  font: 400 15px/1.85 "Inter", sans-serif;
  color: #bbb2c8;
}

.chrome-overlay .chrome-signature {
  color: #c8b7fa;
  font: italic 22px/1.5 "Playfair Display", serif;
}

@keyframes chrome-reveal {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (hover: hover) {
  .chrome-header .chrome-brand:hover {
    transform: translateY(-2px);
  }

  .chrome-header .chrome-brand:hover .chrome-brandword {
    color: #eadfff;
    text-shadow: 0 0 18px #c6b5ff40;
  }

  .chrome-header .chrome-nav-link:hover {
    color: #f3edff;
    background: #211a2d;
  }

  .chrome-header .chrome-nav-link:hover::after {
    transform: scaleX(1);
  }

  .chrome-header .chrome-lang-button:hover,
  .chrome-header .chrome-menu-toggle:hover,
  .chrome-header .chrome-nav-contact:hover {
    border-color: #a988c9;
    background: #251b32;
    color: #f3edff;
  }

  .chrome-header .chrome-nav-contact:hover {
    transform: translateY(-2px);
  }

  .chrome-header .chrome-nav-contact:hover .chrome-ui-icon,
  .chrome-footer a:hover .chrome-ui-icon {
    transform: translate(2px, -2px);
  }

  .chrome-header .chrome-langitem:hover {
    background: #281e35;
    color: #eee9f7;
  }

  .chrome-footer a:hover {
    color: #eee9f7;
  }

  .chrome-overlay .chrome-dialog-close:hover {
    background: #352345;
    border-color: #a988c9;
  }
}

@media (max-width: 1040px) {
  .chrome-header {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .chrome-header .chrome-navcenter {
    display: none;
  }

  .chrome-header .chrome-menu-toggle {
    display: inline-flex;
    width: 40px;
    padding: 9px;
  }

  .chrome-header .chrome-mobile-nav.open {
    position: absolute;
    inset: calc(100% + 10px) 0 auto;
    display: grid;
    gap: 5px;
    padding: 14px;
    border: 1px solid #3a2e49;
    border-radius: 16px;
    background: #171220;
    animation: chrome-reveal 180ms ease both;
  }

  .chrome-header .chrome-mobile-nav .chrome-nav-link {
    justify-content: flex-start;
    width: 100%;
    min-height: 44px;
  }
}

@media (max-width: 480px) {
  .chrome-header {
    min-height: 84px;
    gap: 12px;
  }

  .chrome-header .chrome-brand {
    gap: 8px;
  }

  .chrome-header .chrome-brandword {
    font-size: 19px;
    letter-spacing: -1px;
  }

  .chrome-header .chrome-studio-logo {
    width: 36px;
    height: 36px;
  }

  .chrome-header .chrome-navactions {
    gap: 7px;
  }

  .chrome-header .chrome-nav-contact {
    display: none;
  }

  .chrome-header .chrome-lang-button {
    min-width: 62px;
    padding: 9px 10px;
  }

  .chrome-footer {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 44px;
  }
}

@media (max-width: 360px) {
  .chrome-header .chrome-brandword {
    font-size: 17px;
  }

  .chrome-header .chrome-brand {
    gap: 6px;
  }

  .chrome-header .chrome-navactions {
    gap: 5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-chrome *, .site-chrome *::before, .site-chrome *::after {
    animation: none !important;
    transition: none !important;
  }

  .chrome-header .chrome-brand:hover,
  .chrome-header .chrome-nav-contact:hover,
  .chrome-footer a:hover .chrome-ui-icon,
  .chrome-header .chrome-nav-contact:hover .chrome-ui-icon {
    transform: none;
  }
}

@media print {
  .site-chrome {
    display: none !important;
  }
}
