html:has(.page--web3),
html:has(.page--web3) body {
  height: auto;
  scroll-snap-type: none;
}

html:has(.page--web3) body {
  margin: 0;
  background: #000;
  color: #fff;
  font-family: var(--font-display);
}

.page--web3 {
  min-height: 100dvh;
  background: #000;
  font-family: var(--font-display);
  --web3-nav-height: calc(clamp(28px, 2vw, 56px) * 2 + var(--chrome-row-min-height));
}

/* Site fonts — override legacy Webflow / Elementor stack */
.page--web3 .web3-root {
  --e-global-typography-primary-font-family: var(--font-display);
  --e-global-typography-secondary-font-family: var(--font-display);
  --e-global-typography-text-font-family: var(--font-editorial);
  --e-global-typography-accent-font-family: var(--font-mono);
  --cmsmasters-base-font-family: var(--font-editorial);
  --cmsmasters-primary-font-family: var(--font-display);
  --cmsmasters-h1-font-family: var(--font-display);
  --cmsmasters-h2-font-family: var(--font-display);
  --cmsmasters-h3-font-family: var(--font-display);
  --cmsmasters-h4-font-family: var(--font-display);
  --cmsmasters-h5-font-family: var(--font-display);
  --cmsmasters-h6-font-family: var(--font-display);
  --_ui-styles---fonts--text: var(--font-editorial);
  --_ui-styles---fonts--heading: var(--font-display);
  font-family: var(--font-display);
}

.page--web3 .web3-root :is(
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  .elementor-heading-title,
  .elementor-widget-cmsmasters-button__button,
  .elementor-widget-cmsmasters-marquee__text
) {
  font-family: var(--font-display) !important;
}

.page--web3 .web3-root :is(p, .elementor-widget-text-editor) {
  font-family: var(--font-editorial) !important;
}

.page--web3 > .top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: clamp(28px, 4vw, 56px) clamp(28px, 5vw, 88px);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition:
    background 280ms ease,
    border-color 280ms ease,
    backdrop-filter 280ms ease,
    -webkit-backdrop-filter 280ms ease;
}

.page--web3 > .top.is-scrolled {
  background: rgba(10, 10, 10, 0.55);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.page--web3 > .top .wordmark--dark,
.page--web3 > .top .utility--dark {
  color: #fff !important;
  opacity: 1;
}

.page--web3 > .top .utility--dark {
  border-bottom-color: rgba(255, 255, 255, 0.35) !important;
}

.page--web3 > .top .utility--dark:hover {
  color: #fff !important;
  border-bottom-color: #fff !important;
}

.page--web3 .web3-root {
  min-height: calc(100dvh - var(--web3-nav-height));
  padding-top: var(--web3-nav-height);
}

.page--web3 .web3-root .cmsmasters-section-for-header-yes,
.page--web3 .web3-root .elementor-element-d0da942 {
  --min-height: calc(100dvh - var(--web3-nav-height));
  min-height: calc(100dvh - var(--web3-nav-height)) !important;
  max-height: calc(100dvh - var(--web3-nav-height));
}

.page--web3 .web3-root .cmsmasters-section-for-header-yes {
  padding-top: 0;
  padding-bottom: 0 !important;
  height: calc(100dvh - var(--web3-nav-height));
  overflow: hidden;
}

.page--web3 .web3-root .cmsmasters-section-for-header-yes .e-con-inner {
  min-height: inherit;
  height: 100%;
}

.page--web3
  .web3-root
  .cmsmasters-section-for-header-yes
  .elementor-background-video-container,
.page--web3
  .web3-root
  .cmsmasters-section-for-header-yes
  .elementor-background-video-hosted {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page--web3 .w-webflow-badge {
  display: none !important;
}

.page--web3 > .bottom {
  position: relative;
  z-index: 1000;
  padding: clamp(28px, 4vw, 56px) clamp(28px, 5vw, 88px);
  background: #000;
  color: #fff;
}

.page--web3 > .bottom .legal-footer__nav a {
  color: #fff !important;
  border-bottom-color: rgba(255, 255, 255, 0.35) !important;
}

.page--web3 > .bottom .legal-footer__nav a:hover {
  color: #fff !important;
  border-bottom-color: #fff !important;
}

@media (max-width: 720px) {
  .page--web3 > .top {
    margin-top: 10px;
    padding-top: 0;
    padding-bottom: clamp(20px, 4vw, 32px);
  }
}
