
.aya-nav{
  --aya-lime:#a8ff00;
  --aya-nav-bg:rgba(5,5,5,.72);
  position:relative;
  z-index:9990;
  width:100%;
  color:#f7f7f2;
  margin:0!important;
}
.aya-nav *{box-sizing:border-box}
.aya-nav.is-sticky{
  position:fixed;
  top:0;
  left:0;
  right:0;
}
.admin-bar .aya-nav.is-sticky{top:32px}
.aya-nav__shell{
  width:min(1540px,100%);
  height:72px;
  margin:0 auto;
  padding:0 clamp(18px,3vw,46px);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  background:var(--aya-nav-bg);
  border:1px solid rgba(255,255,255,.08);
  border-top:0;
  backdrop-filter:blur(18px) saturate(130%);
  -webkit-backdrop-filter:blur(18px) saturate(130%);
  transition:height .25s ease,background .25s ease,border-color .25s ease;
}
.aya-nav.is-scrolled .aya-nav__shell{
  height:60px;
  background:rgba(5,5,5,.9);
  border-color:rgba(168,255,0,.1);
}
.aya-nav__brand{
  display:flex;align-items:center;gap:10px;color:#fff;text-decoration:none!important;
  min-width:145px
}
.aya-nav__brand-mark{
  width:27px;height:27px;position:relative;display:grid;place-items:center
}
.aya-nav__brand-mark:before,
.aya-nav__brand-mark:after,
.aya-nav__brand-mark i{
  content:"";position:absolute;border:1px solid rgba(255,255,255,.55);border-radius:50%
}
.aya-nav__brand-mark:before{width:24px;height:24px}
.aya-nav__brand-mark:after{width:12px;height:12px;border-color:var(--aya-lime)}
.aya-nav__brand-mark i:nth-child(1){width:4px;height:4px;background:var(--aya-lime);border:0;top:0;right:2px;box-shadow:0 0 10px rgba(168,255,0,.7)}
.aya-nav__brand-mark i:nth-child(2){width:5px;height:5px;left:0;bottom:5px}
.aya-nav__brand-mark i:nth-child(3){width:3px;height:3px;right:1px;bottom:4px}
.aya-nav__brand > span:last-child{display:flex;align-items:baseline;gap:5px}
.aya-nav__brand strong{font-size:13px;letter-spacing:.06em}
.aya-nav__brand small{font-size:7px;letter-spacing:.2em;color:rgba(255,255,255,.45)}
.aya-nav__desktop{
  display:flex;align-items:center;gap:clamp(16px,2vw,32px)
}
.aya-nav__desktop a{
  color:rgba(255,255,255,.46);text-decoration:none!important;
  font-size:8px;font-weight:900;letter-spacing:.14em;position:relative;padding:25px 0
}
.aya-nav__desktop a:after{
  content:"";position:absolute;left:0;right:100%;bottom:17px;height:1px;background:var(--aya-lime);transition:right .25s ease
}
.aya-nav__desktop a:hover,.aya-nav__desktop a.is-active{color:#fff}
.aya-nav__desktop a:hover:after,.aya-nav__desktop a.is-active:after{right:0}
.aya-nav__actions{display:flex;align-items:center;gap:9px}
.aya-nav__project{
  min-height:38px;border-radius:999px;background:var(--aya-lime);color:#071000!important;
  text-decoration:none!important;padding:0 8px 0 15px;display:flex;align-items:center;gap:12px;
  font-size:8px;font-weight:950;letter-spacing:.1em
}
.aya-nav__project i{
  width:24px;height:24px;border-radius:50%;display:grid;place-items:center;
  background:rgba(0,0,0,.11);font-style:normal
}
.aya-nav__menu-btn{
  appearance:none;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.02);
  color:#fff;border-radius:999px;min-height:38px;padding:0 13px;display:flex;align-items:center;
  gap:9px;font:inherit;cursor:pointer
}
.aya-nav__menu-btn span{font-size:8px;font-weight:900;letter-spacing:.12em}
.aya-nav__menu-btn i,.aya-nav__menu-btn i:before{
  width:13px;height:1px;background:#fff;display:block;content:"";transition:.25s ease
}
.aya-nav__menu-btn i:before{transform:translateY(4px)}
.aya-nav.is-open .aya-nav__menu-btn i{transform:rotate(45deg)}
.aya-nav.is-open .aya-nav__menu-btn i:before{transform:rotate(-90deg)}
.aya-nav__panel{
  position:fixed;inset:0;z-index:-1;background:rgba(2,2,2,.96);
  opacity:0;visibility:hidden;transition:opacity .3s ease,visibility .3s ease;
  overflow:auto
}
.aya-nav.is-open .aya-nav__panel{opacity:1;visibility:visible;z-index:-1}
.aya-nav__panel-inner{
  min-height:100vh;width:min(1540px,100%);margin:0 auto;padding:120px clamp(22px,5vw,72px) 38px;
  display:flex;flex-direction:column
}
.admin-bar .aya-nav__panel-inner{padding-top:150px}
.aya-nav__panel-head,.aya-nav__panel-footer{
  display:flex;justify-content:space-between;gap:20px;font-size:8px;letter-spacing:.17em;color:rgba(255,255,255,.28)
}
.aya-nav__panel-head{padding-bottom:18px;border-bottom:1px solid rgba(255,255,255,.1)}
.aya-nav__panel-head i{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--aya-lime);margin-right:5px}
.aya-nav__panel-grid{
  flex:1;display:grid;grid-template-columns:minmax(0,1.25fr) minmax(300px,.75fr);gap:60px;
  padding:36px 0
}
.aya-nav__panel-main{display:flex;flex-direction:column}
.aya-nav__panel-main a{
  min-height:74px;border-bottom:1px solid rgba(255,255,255,.08);
  display:grid;grid-template-columns:52px 1fr 32px;align-items:center;
  text-decoration:none!important;color:rgba(255,255,255,.32);transition:.2s ease
}
.aya-nav__panel-main a:hover{color:#fff;padding-left:8px}
.aya-nav__panel-main em{font-style:normal;font-size:8px;color:var(--aya-lime);letter-spacing:.16em}
.aya-nav__panel-main strong{font-size:clamp(30px,4.2vw,62px);letter-spacing:-.05em}
.aya-nav__panel-main i{font-style:normal;width:28px;height:28px;border:1px solid rgba(255,255,255,.1);border-radius:50%;display:grid;place-items:center;font-size:9px}
.aya-nav__panel-main a:hover i{background:var(--aya-lime);color:#071000;border-color:transparent}
.aya-nav__panel-side{
  display:flex;flex-direction:column;gap:30px;padding-top:14px
}
.aya-nav__panel-side > div:not(.aya-nav__panel-note){display:flex;flex-direction:column;gap:8px}
.aya-nav__panel-side span{font-size:8px;letter-spacing:.16em;color:rgba(255,255,255,.28)}
.aya-nav__panel-side a{color:#fff;text-decoration:none!important;font-size:14px}
.aya-nav__panel-note{
  margin-top:auto;padding:22px;border:1px solid rgba(168,255,0,.15);border-radius:18px;
  background:radial-gradient(circle at 80% 20%,rgba(168,255,0,.08),transparent 42%)
}
.aya-nav__panel-note strong{display:block;font-size:24px;letter-spacing:-.04em}
.aya-nav__panel-note span{display:block;margin-top:6px;color:var(--aya-lime);font-size:15px;letter-spacing:-.02em}
.aya-nav__panel-footer{padding-top:18px;border-top:1px solid rgba(255,255,255,.1)}
body.aya-nav-open{overflow:hidden}
.aya-nav-spacer{height:72px}
@media(max-width:1080px){
  .aya-nav__desktop{display:none}
}
@media(max-width:720px){
  .aya-nav__project{display:none}
  .aya-nav__shell{height:62px}
  .aya-nav__panel-grid{grid-template-columns:1fr;gap:34px}
  .aya-nav__panel-main a{min-height:62px}
  .aya-nav__panel-side{padding-top:0}
  .aya-nav__panel-note{margin-top:10px}
  .aya-nav__panel-footer{display:block;line-height:2}
}
@media(max-width:420px){
  .aya-nav__brand{min-width:auto}
  .aya-nav__brand small{display:none}
  .aya-nav__panel-main strong{font-size:30px}
}
@media(max-width:782px){
  .admin-bar .aya-nav.is-sticky{top:46px}
}
@media(prefers-reduced-motion:reduce){
  .aya-nav *{transition:none!important}
}



/* ===== AYA Navigation Header v1.1 ===== */
/* Real AYA logo + improved mobile header */

.aya-nav__brand{
  min-width:170px!important;
  gap:11px!important;
}

.aya-nav__logo-wrap{
  width:34px;
  height:34px;
  border-radius:10px;
  overflow:hidden;
  flex:0 0 34px;
  display:block;
  position:relative;
  box-shadow:0 0 0 1px rgba(255,255,255,.08),0 0 26px rgba(168,255,0,.05);
}

.aya-nav__logo-wrap img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:center;
}

.aya-nav__brand-type{
  display:flex!important;
  align-items:baseline!important;
  gap:6px!important;
}

.aya-nav__brand-type strong{
  font-size:13px!important;
  letter-spacing:.08em!important;
}

.aya-nav__brand-type small{
  font-size:7px!important;
  letter-spacing:.20em!important;
  color:rgba(255,255,255,.42)!important;
}

/* Give desktop header a bit more presence. */
.aya-nav__shell{
  width:min(1600px,calc(100% - 32px))!important;
  height:68px!important;
  border-radius:0 0 16px 16px!important;
}

.aya-nav.is-scrolled .aya-nav__shell{
  height:58px!important;
}

/* Compensate the WordPress/Astra block top spacing when this shortcode is first. */
.aya-nav{
  margin-top:-32px!important;
}

@media(max-width:1080px){
  .aya-nav__shell{
    width:100%!important;
    border-left:0!important;
    border-right:0!important;
    border-radius:0!important;
  }
}

@media(max-width:720px){
  .aya-nav{
    margin-top:-20px!important;
  }

  .aya-nav__shell{
    height:56px!important;
    padding:0 16px!important;
    gap:12px!important;
    background:rgba(7,7,7,.82)!important;
  }

  .aya-nav.is-scrolled .aya-nav__shell{
    height:52px!important;
  }

  .aya-nav__brand{
    min-width:0!important;
    gap:9px!important;
  }

  .aya-nav__logo-wrap{
    width:30px!important;
    height:30px!important;
    flex-basis:30px!important;
    border-radius:8px!important;
  }

  .aya-nav__brand-type strong{
    font-size:12px!important;
  }

  .aya-nav__brand-type small{
    display:none!important;
  }

  .aya-nav__menu-btn{
    min-height:34px!important;
    padding:0 12px!important;
    gap:8px!important;
  }

  .aya-nav__menu-btn span{
    font-size:8px!important;
  }

  .aya-nav__panel-inner{
    padding-top:92px!important;
  }

  .aya-nav__panel-main a{
    min-height:58px!important;
    grid-template-columns:42px 1fr 28px!important;
  }

  .aya-nav__panel-main strong{
    font-size:28px!important;
  }
}

@media(max-width:420px){
  .aya-nav{
    margin-top:-14px!important;
  }

  .aya-nav__shell{
    height:54px!important;
    padding:0 13px!important;
  }

  .aya-nav__logo-wrap{
    width:28px!important;
    height:28px!important;
    flex-basis:28px!important;
  }

  .aya-nav__brand-type strong{
    font-size:11px!important;
  }

  .aya-nav__menu-btn{
    min-height:32px!important;
    padding:0 11px!important;
  }
}



/* ===== v1.1.1 hotfix ===== */

/* The logo is now a background image to prevent WordPress/Gutenberg from
   rendering the original JPG at its intrinsic size inside the editor. */
.aya-nav__logo-wrap{
  display:block!important;
  width:34px!important;
  height:34px!important;
  min-width:34px!important;
  max-width:34px!important;
  min-height:34px!important;
  max-height:34px!important;
  flex:0 0 34px!important;
  overflow:hidden!important;
  border-radius:9px!important;
  background-size:cover!important;
  background-position:center!important;
  background-repeat:no-repeat!important;
}

/* If any cached markup still contains an <img>, never let it escape. */
.aya-nav__logo-wrap img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:cover!important;
}

/* More aggressive removal of the white/top spacing around the first shortcode. */
body .entry-content > .wp-block-group:first-child,
body .entry-content > .wp-block-uagb-container:first-child,
body .entry-content > .wp-block-spectra-container:first-child{
  margin-top:0!important;
  padding-top:0!important;
}
.aya-nav{
  margin-top:-52px!important;
}
.aya-nav + .aya-hero,
.aya-nav-spacer + .aya-hero{
  margin-top:0!important;
}

@media(max-width:782px){
  .aya-nav{
    margin-top:-34px!important;
  }
  .aya-nav__shell{
    height:54px!important;
    min-height:54px!important;
    padding:0 14px!important;
  }
  .aya-nav__logo-wrap{
    width:29px!important;
    height:29px!important;
    min-width:29px!important;
    max-width:29px!important;
    min-height:29px!important;
    max-height:29px!important;
    flex-basis:29px!important;
  }
  .aya-nav__brand-type strong{
    font-size:11px!important;
  }
  .aya-nav__menu-btn{
    min-height:32px!important;
    padding:0 10px!important;
  }
  .aya-nav__menu-btn span{
    font-size:7px!important;
  }
}

/* iPhone/Safari width range */
@media(max-width:480px){
  .aya-nav{
    margin-top:-28px!important;
  }
  .aya-nav__shell{
    height:52px!important;
    min-height:52px!important;
  }
}



/* ===== AYA Navigation Header v1.1.2 — glass black hotfix ===== */

/* Remove the unwanted gray look completely. */
.aya-nav__shell{
  background:
    linear-gradient(180deg,rgba(10,10,12,.82),rgba(5,5,7,.74))!important;
  border:1px solid rgba(255,255,255,.075)!important;
  border-top:0!important;
  box-shadow:
    0 18px 50px rgba(0,0,0,.28),
    inset 0 1px 0 rgba(255,255,255,.025)!important;
  backdrop-filter:blur(18px) saturate(135%)!important;
  -webkit-backdrop-filter:blur(18px) saturate(135%)!important;
}

.aya-nav.is-scrolled .aya-nav__shell{
  background:
    linear-gradient(180deg,rgba(7,7,9,.95),rgba(4,4,6,.90))!important;
  border-color:rgba(168,255,0,.08)!important;
  box-shadow:
    0 16px 42px rgba(0,0,0,.34),
    0 0 0 1px rgba(168,255,0,.015) inset!important;
}

/* Keep the bar visually connected to the hero instead of floating over white. */
.aya-nav{
  background:transparent!important;
}

.aya-nav:before{
  content:"";
  position:absolute;
  left:50%;
  top:0;
  width:min(1600px,calc(100% - 32px));
  height:100%;
  transform:translateX(-50%);
  pointer-events:none;
  background:
    radial-gradient(circle at 18% 0%,rgba(98,60,255,.045),transparent 36%),
    radial-gradient(circle at 88% 0%,rgba(168,255,0,.025),transparent 28%);
  z-index:-1;
}

/* Logo tile: keep it dark and integrated. */
.aya-nav__logo-wrap{
  background-color:#17151d!important;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.065),
    0 6px 18px rgba(0,0,0,.26)!important;
}

/* Refine button + menu so they don't look detached from the header. */
.aya-nav__menu-btn{
  background:rgba(255,255,255,.018)!important;
  border-color:rgba(255,255,255,.11)!important;
}

.aya-nav__menu-btn:hover{
  background:rgba(255,255,255,.04)!important;
  border-color:rgba(168,255,0,.16)!important;
}

/* Desktop: slightly more elegant width and rounding. */
@media(min-width:1081px){
  .aya-nav__shell{
    width:min(1520px,calc(100% - 72px))!important;
    border-radius:0 0 14px 14px!important;
  }
}

/* Mobile: black glass, not gray. */
@media(max-width:1080px){
  .aya-nav__shell{
    background:
      linear-gradient(180deg,rgba(9,9,11,.92),rgba(5,5,7,.86))!important;
    box-shadow:
      0 12px 34px rgba(0,0,0,.28),
      inset 0 1px 0 rgba(255,255,255,.02)!important;
  }
}

/* iPhone / smaller screens */
@media(max-width:480px){
  .aya-nav__shell{
    background:
      linear-gradient(180deg,rgba(8,8,10,.94),rgba(4,4,6,.90))!important;
  }
}



/* ===== AYA Navigation Header v1.1.3 — integrate header into hero ===== */

/*
 * The previous "glass" bar looked gray because it was transparent over
 * WordPress/Astra's white page background. This version deliberately makes
 * the bar dark and pulls the hero underneath it.
 */
.aya-nav{
  margin-top:-64px!important;
  margin-bottom:-68px!important;
  background:transparent!important;
}

.aya-nav__shell{
  background:#08080b!important;
  border:1px solid rgba(255,255,255,.075)!important;
  border-top:0!important;
  box-shadow:
    0 14px 36px rgba(0,0,0,.32),
    inset 0 1px 0 rgba(255,255,255,.025)!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}

.aya-nav.is-scrolled .aya-nav__shell{
  background:rgba(6,6,8,.97)!important;
  border-color:rgba(168,255,0,.08)!important;
}

/* Pull the first hero upward so the navigation visually floats on it. */
.aya-nav + .aya-hero,
.aya-nav-spacer + .aya-hero,
.aya-nav + div .aya-hero{
  margin-top:0!important;
  padding-top:78px!important;
}

/* Neutralize the white strip Astra/Spectra may add above the first shortcode. */
body .entry-content,
body .site-content,
body .ast-container,
body .wp-site-blocks{
  padding-top:0!important;
}
body .entry-content > *:first-child{
  margin-top:0!important;
}

/* Prevent the pseudo glass backdrop from creating a lighter strip. */
.aya-nav:before{
  display:none!important;
}

@media(min-width:1081px){
  .aya-nav__shell{
    width:min(1520px,calc(100% - 72px))!important;
    border-radius:0 0 14px 14px!important;
  }
}

@media(max-width:1080px){
  .aya-nav{
    margin-top:-34px!important;
    margin-bottom:-54px!important;
  }
  .aya-nav__shell{
    background:#08080b!important;
    height:54px!important;
    min-height:54px!important;
  }
  .aya-nav + .aya-hero,
  .aya-nav-spacer + .aya-hero,
  .aya-nav + div .aya-hero{
    padding-top:64px!important;
  }
}

@media(max-width:480px){
  .aya-nav{
    margin-top:-24px!important;
    margin-bottom:-52px!important;
  }
  .aya-nav__shell{
    height:52px!important;
    min-height:52px!important;
    background:#070709!important;
  }
  .aya-nav + .aya-hero,
  .aya-nav-spacer + .aya-hero,
  .aya-nav + div .aya-hero{
    padding-top:60px!important;
  }
}


/* ===== AYA Navigation Header v1.1.4 — automatic top-gap removal ===== */

/* JS sets the exact detected gap dynamically. */
.aya-nav{
  --aya-detected-gap:0px;
  margin-top:calc(-1 * var(--aya-detected-gap))!important;
}

/* Remove common theme/container spacing above the first shortcode. */
body .site-content,
body .ast-container,
body .content-area,
body .site-main,
body article,
body .entry-content{
  margin-top:0!important;
}

body .site-content > .ast-container,
body .entry-content > .wp-block-uagb-container:first-child,
body .entry-content > .wp-block-group:first-child{
  padding-top:0!important;
  margin-top:0!important;
}

@media(max-width:782px){
  .aya-nav__shell{
    border-radius:0!important;
  }
}
