.home-preview {
  --home-nav-height: 72px;
  --home-nav-edge: clamp(20px, 5.2vw, 104px);
  --home-nav-left: max(var(--home-nav-edge), env(safe-area-inset-left));
  --home-nav-right: max(var(--home-nav-edge), env(safe-area-inset-right));
  --home-nav-content: 1740px;
  --home-nav-menu: 132px;
  --home-nav-cta: 124px;
  --home-nav-gap: clamp(12px, 1.4vw, 22px);
  --home-nav-top: env(safe-area-inset-top, 0px);
}
.home-nav-bar, .home-sector {
  color: #f2f0ec;
  font-family: "Culturas Hero Sans", "General Sans", Arial, sans-serif;
}
.home-nav-bar {
  position: fixed;
  z-index: 1100;
  inset: 0 0 auto;
  padding: var(--home-nav-top) var(--home-nav-right) 0 var(--home-nav-left);
  background: #101013;
  transition: transform .26s ease, visibility 0s linear;
}
.home-nav-bar.is-hidden {
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform .26s ease, visibility 0s linear .26s;
}
.home-nav-inner {
  box-sizing: border-box;
  min-height: var(--home-nav-height);
  max-width: var(--home-nav-content);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto var(--home-nav-menu) var(--home-nav-cta);
  align-items: center;
  gap: var(--home-nav-gap);
  border-bottom: 1px solid #514d51;
}
.home-nav-inner > .site-scope-cta { grid-column: 4; }
.home-nav-brand {
  font-size: clamp(25px, 2.1vw, 35px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.065em;
}
.home-nav-links {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 48px);
}
.home-nav-links a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: inherit;
  font-size: clamp(15px, 1.24vw, 20px);
  font-weight: 500;
  letter-spacing: -.035em;
  text-decoration: none;
}
.home-nav-links a:where(:hover, [aria-current]) {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.home-sector {
  box-sizing: border-box;
  position: fixed;
  z-index: 1101;
  width: var(--home-nav-menu);
  top: calc(var(--home-nav-top) + (var(--home-nav-height) - 44px) / 2);
  right: max(var(--home-nav-right), calc((100% - var(--home-nav-content)) / 2));
  transition: transform .26s ease;
}
.home-nav-bar:not(.is-hidden) + .home-sector {
  transform: translateX(calc(-1 * (var(--home-nav-cta) + var(--home-nav-gap))));
}
.home-sector summary {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 44px;
  padding: 0 14px;
  cursor: pointer;
  list-style: none;
  border: 1px solid #575257;
  border-radius: 8px;
  background: #19171b;
  font-size: 14px;
  font-weight: 500;
}
.home-sector summary::-webkit-details-marker { display: none; }
.home-sector summary::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border: solid currentColor;
  border-width: 0 1px 1px 0;
  transform: rotate(45deg);
}
.home-sector[open] summary::after { margin-top: 3px; transform: rotate(225deg); }
.home-sector summary:hover, .home-sector[open] summary { border-color: #888188; }
.home-sector-options {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 160px;
  padding: 5px;
  border: 1px solid #575257;
  border-radius: 8px;
  background: #19171b;
  box-shadow: 0 8px 26px #0005;
}
.home-sector-options :is(a, button) {
  box-sizing: border-box;
  display: flex;
  width: 100%;
  min-height: 44px;
  padding: 0 10px;
  align-items: center;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
}
.home-sector-options :is(a, button):hover { background: #302b31; }
.home-sector-options a[aria-current] { color: #c9f227; font-weight: 600; }
.home-sector-options button {
  margin-top: 4px;
  border-top: 1px solid #514d51;
  border-radius: 0 0 4px 4px;
}
.home-nav-bar a:focus-visible, .home-sector :is(a, button, summary):focus-visible {
  outline: 2px solid #c9f227;
  outline-offset: 2px;
}
.home-preview .ch-hero__topbar {
  top: calc(var(--home-nav-top) + var(--home-nav-height) + 10px);
  left: var(--home-nav-left);
  right: var(--home-nav-right);
  justify-content: flex-end;
}
.home-preview .ch-hero__topbar .ch-hero__controls { position: static; }
.home-preview .ch-hero__topbar [data-hero-pause] { display: none; }
@media (max-width: 640px) {
  .home-preview { --home-nav-height: 101px; --home-nav-menu: 108px; }
  .home-nav-inner {
    height: var(--home-nav-height);
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: 50px 50px;
    gap: 0;
  }
  .home-nav-brand { grid-area: 1 / 1; }
  .home-nav-inner > .site-scope-cta { grid-area: 1 / 2; }
  .home-nav-links { grid-area: 2 / 1; gap: clamp(9px, 3vw, 22px); }
  .home-sector { top: calc(var(--home-nav-top) + 8px); }
  .home-nav-bar:not(.is-hidden) + .home-sector { transform: translateY(45px); }
  .home-sector summary { padding-inline: 10px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-nav-bar, .home-nav-bar.is-hidden, .home-sector { transition: none; }
}
