.pdp-header {
  position: fixed;
  top: var(--wp-admin--admin-bar--height, 0px);
  left: 0;
  right: 0;
  z-index: 1000;
}

.pdp-logo {
  display: block;
  width: 120px;
  margin: 94px 0 12px 60px !important;
  line-height: 0;
}

.pdp-logo img {
  width: 120px;
  height: auto;
  display: block;
}

.pdp-gnav {
  display: flex;
  justify-content: center;
  font-family: var(--wp--preset--font-family--mplus);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin: 0 auto;
  flex-wrap: nowrap;
}

.pdp-gnav li {
  margin: 0 30px;
}

.pdp-gnav li:first-child {
  margin-left: 0;
}

.pdp-gnav li:last-child {
  margin-right: 0;
}

.pdp-gnav a {
  color: var(--wp--preset--color--paper);
  text-decoration: none;
  white-space: nowrap;
  padding: 4px 0;
}

.pdp-gnav a:hover {
  text-decoration: none;
}

.pdp-scroll-space { 
  display: none; 
}

.is-front-page .pdp-scroll-space {
  display: block;
  height: var(--pdp-scrollspace, 160px);
}

body:not(.home) .wp-site-blocks{ padding-top: 0 !important; }

.home .pdp-page-wrap {
  padding-top: var(--pdp-header-height, 0px);
}


.home .pdp-gnav-holder .wp-block-navigation {
  position: static; 
}

.home .pdp-gnav-holder .wp-block-navigation.is-fixed {
  position: fixed !important;
  left: 0;
  right: 0;
  top: calc(var(--pdp-header-height, 90px) + var(--wp-admin--admin-bar--height, 0px));
  width: 100%;
  z-index: 990;
}

.home .pdp-gnav-holder { 
  min-height: 0;
  margin-bottom: 120px;
  margin-top: -21vh;
}

.home .pdp-gnav-trigger {
  position: static !important;
  top: -100vh;
  height: 1px;
  width: 1px;
}

.pdp-scroll-space,
.pdp-scroll-space:empty {
  height: 100vh; 
  min-height: 240px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.home .pdp-hero-copy {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  top: calc(var(--pdp-header-height, 90px) + 30%);
  width: min(1080px, 90vw);
  text-align: center;
  z-index: 5;
  pointer-events: none;
  opacity: 0;
  --hero-opacity: 1;
}

.home .pdp-hero-copy__text {
  margin: 0;
  font-size: clamp(32px, 6vw, 65px);
  line-height: 1.15;
  letter-spacing: .06em;
  color: #fff;
  clip-path: inset(0 100% 0 0);
  will-change: clip-path;
  transition: opacity 0.3s ease;
}

.home .pdp-hero-copy.is-active { animation: pdp-hero-fade .9s ease-out forwards; }
.home .pdp-hero-copy.is-active .pdp-hero-copy__text {
  animation: pdp-hero-reveal-clip 2.3s linear;
}

.home .pdp-hero-copy.is-ready {
  opacity: 1 !important;
  transition: opacity .35s ease;
}


.home .pdp-hero-copy__text.is-revealed {
  clip-path: inset(0 0 0 0) !important;
}

.home .pdp-hero-copy.is-suppressed { opacity:0 !important; }
.home .pdp-hero-copy.is-suppressed .pdp-hero-copy__text { 
  opacity:0 !important; 
  clip-path: inset(0 100% 0 0) !important;
}

@keyframes pdp-hero-fade {
  from { opacity: 0; transform: translateX(-50%) translateY(8px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
@keyframes pdp-hero-reveal-clip {
  to { clip-path: inset(0 0 0 0); }
}

@media (prefers-reduced-motion: reduce){
  .home .pdp-hero-copy{ opacity: 1 !important; animation: none !important; }
  .home .pdp-hero-copy__text{ animation: none !important; clip-path: inset(0 0 0 0) !important; }
  .home .pdp-hero-copy.is-hidden{ opacity: 0 !important; }
}

.pdp-hamburger { display: none; }
.pdp-mobile-nav { display: none; }

@media (max-width:767px) {
  .home .pdp-scroll-space { 
    height: 100vh;
    min-height: 140px;
  }

  .home .pdp-hero-copy { 
    width: min(400px, 88vw);
    top: calc(var(--pdp-header-height, 60px) + 36%);
    bottom: 67vh; 
  }
    
  .pdp-logo {
    width: 60px;
    margin: 28px 0 0 20px !important;
  }
  
  .pdp-logo img {
    width: 60px;
    height: 30px;
  }
  
  .home .pdp-gnav-holder,
  .home .pdp-gnav-holder .wp-block-navigation {
    display: none;
  }

  .pdp-header::after {
    margin-top: 60px;
  }

  .pdp-gnav { display:none; }

  .pdp-hamburger {
    display: inline-flex !important;
    position: fixed;
    right: calc(env(safe-area-inset-right, 0) + 12px);
    top:   calc(env(safe-area-inset-top, 0) + 10px);
    width: 44px; 
    height: 44px;
    align-items: center; 
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    color: #fff;
    background: transparent !important;
    border: 0; 
    box-shadow: none; 
    appearance: none;
    z-index: 1002;
    transform: none;
  }

  .admin-bar .pdp-hamburger {
    top: calc(env(safe-area-inset-top, 0) + 56px);
  }

  .pdp-hamburger__bar {
    width: 24px; 
    height: 2px; 
    background: currentColor;
    border-radius: 1px; 
    display: block;
    transition: opacity .2s ease, transform .2s ease;
  }

  .pdp-hamburger[aria-expanded="true"] { z-index: 1100; }

  .pdp-hamburger[aria-expanded="true"] .pdp-hamburger__bar{
    display: none !important;
    transform: none !important; 
    opacity: 1 !important;
    transition: none !important;
  }

  .pdp-hamburger[aria-expanded="true"]::before{
    content: "×";
    display: block;
    color: currentColor;
    font-size: 28px; 
    line-height: 1;
  }

  .pdp-hamburger[aria-expanded="true"] .pdp-hamburger__bar:nth-child(1),
  .pdp-hamburger[aria-expanded="true"] .pdp-hamburger__bar:nth-child(2),
  .pdp-hamburger[aria-expanded="true"] .pdp-hamburger__bar:nth-child(3) {
    transform: none !important;
    opacity: 1 !important;
  }

  .pdp-hamburger:focus-visible {
    outline: 2px solid rgba(255,255,255,.65);
    outline-offset: 2px;
    border-radius: 6px;
  }

  .pdp-mobile-nav { display: block !important; }

  .pdp-mobile-nav__backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.6);
    opacity: 0; 
    pointer-events: none;
    transition: opacity .25s ease;
    z-index: 1000;
    border: 0;
    padding: 0;
    outline: none;
    box-shadow: none;
    background-clip: border-box;
    appearance: none;
    -webkit-appearance: none;
    -webkit-tap-highlight-color: transparent;
  }

  .pdp-mobile-nav__backdrop:focus,
  .pdp-mobile-nav__backdrop:focus-visible{
    outline: none;
    box-shadow: none;
  }

  .admin-bar .pdp-mobile-nav__backdrop {
    top: 56px;
  }

  .pdp-mobile-nav__panel {
    position: fixed; 
    top: 0;
    right: 0;
    height: 100svh;
    width: min(84vw, 320px);
    transform: translateX(100%);
    transition: transform .25s ease;
    background: rgba(0,0,0,.88);
    color: #fff;
    overflow: auto;
    padding: 16px 16px 24px;
    z-index: 1001;
  }

  .admin-bar .pdp-mobile-nav__panel {
    top: 56px; height: calc(100svh - 56px);
  }

  .pdp-mobile-nav.is-open .pdp-mobile-nav__panel { transform: translateX(0); }
  .pdp-mobile-nav.is-open .pdp-mobile-nav__backdrop { opacity: 1; pointer-events: auto; }

  .pdp-mobile-nav__panel a {
    color: #fff !important;
    text-decoration: none;
  }

  .pdp-mobile-nav__list,
  .pdp-mobile-nav__list ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .pdp-mobile-nav__list > li > a {
    display: block;
    padding: 14px 8px;
    border-bottom: 1px solid rgba(255,255,255,.12);
  }

  .pdp-mobile-nav__list .menu-item-has-children > ul {
    display: none; 
    padding-left: 12px;
    border-left: 2px solid rgba(255,255,255,.24);
    margin: 6px 0 8px;
  }

  .pdp-mobile-nav__list .menu-item-has-children.is-open > ul { display: block; }
  .pdp-mobile-nav__list .menu-item-has-children > ul a { padding: 10px 8px; opacity: .95; }
  .pdp-subtoggle { 
    color:#fff; 
    margin-left: auto; 
    border: 0; 
    background: transparent; 
    padding:8px; 
  }

  .pdp-mobile-nav__panel a:hover,
  .pdp-mobile-nav__panel a:focus-visible {
    background: rgba(255,255,255,.08);
    outline: none;
  }
  .pdp-mobile-nav__panel .current-menu-item > a {
    font-weight: 700; background: rgba(255,255,255,.06);
  }

  body.is-nav-open{ overflow: hidden; }

  @media (prefers-reduced-motion: reduce) {
    .pdp-hamburger__bar, .pdp-mobile-nav__panel, .pdp-mobile-nav__backdrop{ transition: none; }
  }
}