/* HOME glass navigation */
body nav.home-shell-bottomnav {
  isolation: isolate;
  align-items: center;
  height: 82px;
  gap: 1px;
  padding: 6px 7px;
  border: 1px solid rgba(255, 255, 255, .76);
  border-radius: 31px;
  background: rgba(245, 247, 251, .88);
  box-shadow: 0 18px 42px rgba(7, 23, 46, .28),
    0 3px 8px rgba(7, 23, 46, .14), inset 0 0 0 1px rgba(255, 255, 255, .26);
}

@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  body nav.home-shell-bottomnav {
    background: linear-gradient(148deg, rgba(249, 253, 255, .61), rgba(224, 234, 249, .23) 56%, rgba(255, 232, 204, .38));
    -webkit-backdrop-filter: blur(22px) saturate(155%);
    backdrop-filter: blur(22px) saturate(155%);
  }
}

body nav.home-shell-bottomnav::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(ellipse at 25% 0%, rgba(255,255,255,.60), transparent 52%),
    radial-gradient(ellipse at 92% 105%, rgba(255,215,158,.32), transparent 47%);
  box-shadow: inset 0 1px 1px #fff, inset 0 -1px 2px rgba(7,23,46,.25);
}

body nav.home-shell-bottomnav .home-shell-tab {
  justify-content: center;
  border-radius: 23px;
  gap: 3px;
  transition: background-color .18s ease, transform .18s ease;
}

body nav.home-shell-bottomnav .home-shell-icon {
  width: 46px;
  height: 46px;
  flex-basis: 46px;
  border-radius: 17px;
  border: 1px solid rgba(255,255,255,.84);
  background: linear-gradient(150deg, rgba(255,255,255,.90), rgba(237,244,255,.48));
  box-shadow: inset 0 1px 3px #fff, inset 0 -1px 3px rgba(7,23,46,.14), 0 3px 7px rgba(7,23,46,.18);
  transition: transform .18s ease, box-shadow .18s ease;
}

body nav.home-shell-bottomnav .home-shell-label {
  width: auto;
  max-width: 100%;
  box-sizing: border-box;
  padding: 1px 4px;
  border-radius: 8px;
  color: #07172e;
  background: rgba(250,252,255,.74);
  line-height: 13px;
}

body nav.home-shell-bottomnav .home-shell-tab.is-active {
  background: radial-gradient(ellipse at 50% 42%, rgba(255,225,178,.64), transparent 73%);
}

body nav.home-shell-bottomnav .home-shell-tab.is-active .home-shell-icon {
  transform: translateY(-2px);
  border: 1px solid #fbe3b4;
  background: linear-gradient(145deg,#fffaf0,#f4d5a0);
  box-shadow: inset 0 1px 3px #fff, 0 0 0 1px rgba(161,108,43,.63),
    0 0 16px rgba(255,211,140,.84), 0 5px 10px rgba(7,23,46,.20);
}

body nav.home-shell-bottomnav .home-shell-tab.is-active .home-shell-label {
  background: #fff3db;
  font-weight: 700;
}

body nav.home-shell-bottomnav .home-shell-tab:focus-visible {
  outline: 2px solid #16325c;
  outline-offset: -2px;
  background-color: rgba(255,255,255,.62);
}

@media (hover: hover) {
  body nav.home-shell-bottomnav .home-shell-tab:hover .home-shell-icon {
    box-shadow: inset 0 1px 3px #fff, 0 0 15px rgba(255,217,158,.8);
  }
}
body nav.home-shell-bottomnav .home-shell-tab:active { transform: scale(.95); }

@media (max-width: 374px) {
  body nav.home-shell-bottomnav { padding-inline: 4px; }
  body nav.home-shell-bottomnav .home-shell-label { padding-inline: 3px; }
}
@media (prefers-reduced-motion: reduce) {
  body nav.home-shell-bottomnav .home-shell-tab,
  body nav.home-shell-bottomnav .home-shell-icon { transition: none; }
  body nav.home-shell-bottomnav .home-shell-tab:active { transform: none; }
}

/* HOME projects header */
body .mobile-projects header.home-projects-glass {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px 20px;
  margin: 0 0 23px;
  padding: clamp(18px, 4vw, 28px);
  border: 1px solid rgba(255,255,255,.95);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255,255,255,.87), rgba(228,235,246,.48) 60%, rgba(244,217,177,.45));
  box-shadow: inset 0 0 0 1px rgba(167,179,200,.18), 0 16px 34px rgba(7,23,46,.10);
}

body .mobile-projects header.home-projects-glass::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(ellipse at 8% 0%, rgba(255,255,255,.88), transparent 60%),
    radial-gradient(ellipse at 100% 103%, rgba(226,172,98,.27), transparent 49%);
}

body .mobile-projects .home-projects-glass h1 {
  margin: 0 0 5px;
  color: #07172e;
  font-size: clamp(28px, 6vw, 38px);
  line-height: 1.1;
  letter-spacing: -.036em;
  font-weight: 700;
}

body .mobile-projects .home-projects-glass p {
  margin: 0;
  color: #465775;
  font-size: 13px;
  line-height: 1.5;
}

body .mobile-projects .home-projects-count {
  display: inline-block;
  margin-top: 11px;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid rgba(190,201,220,.52);
  color: #233752;
  background: rgba(255,255,255,.64);
  font-size: 12px;
}

body .mobile-projects .home-projects-glass .home-projects-create {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  padding: 10px 16px;
  border: 1px solid rgba(247,219,169,.92);
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(150deg, rgba(40,64,99,.97), #07172e 68%);
  box-shadow: inset 0 1px 2px rgba(255,255,255,.38), 0 0 17px rgba(255,198,119,.60), 0 5px 11px rgba(7,23,46,.18);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: box-shadow .18s ease;
}

body .mobile-projects .home-projects-glass .home-projects-create:is(:hover, :focus-visible) {
  box-shadow: inset 0 1px 2px rgba(255,255,255,.6), 0 0 23px rgba(255,185,97,.91), 0 5px 11px rgba(7,23,46,.18);
}
body .mobile-projects .home-projects-create:focus-visible { outline: 2px solid #23466f; outline-offset: 3px; }

@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  body .mobile-projects header.home-projects-glass {
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    backdrop-filter: blur(18px) saturate(140%);
  }
}
@media (max-width: 380px) {
  body .mobile-projects .home-projects-glass .home-projects-create { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  body .mobile-projects .home-projects-glass .home-projects-create { transition: none; }
}

/* AWI HOME menu emblem */
body nav.home-shell-bottomnav { height: 76px; }

body nav.home-shell-bottomnav .home-shell-tab {
  position: relative;
  min-height: 60px;
  gap: 0;
}

body nav.home-shell-bottomnav .home-shell-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
}

body nav.home-shell-bottomnav .home-shell-icon {
  width: min(52px, 100%);
  height: 52px;
  flex-basis: 52px;
  border-color: rgba(201,162,101,.68);
  background: radial-gradient(ellipse at 25% 3%, #466286, #162945 52%, #07172e 88%);
  box-shadow: inset 0 1px 1px rgba(255,255,255,.58), inset 0 -2px 5px rgba(4,12,25,.58),
    0 4px 10px rgba(7,23,46,.28);
  transition: transform .28s cubic-bezier(.2, 1.55, .55, 1), box-shadow .2s ease;
}

body nav.home-shell-bottomnav .home-shell-tab .home-shell-symbol {
  color: #d8e7fc;
  filter: drop-shadow(0 2px 2px rgba(5,15,30,.75));
}

body nav.home-shell-bottomnav .home-shell-tab:is(.is-active,:focus-visible) .home-shell-symbol {
  color: #ffe0a4;
  filter: drop-shadow(0 0 5px rgba(255,208,133,.46));
}

body nav.home-shell-bottomnav .home-shell-tab:active .home-shell-icon {
  transform: translateY(1px) scale(.93);
}

body nav.home-shell-bottomnav .home-shell-tab.is-menu .home-shell-icon {
  width: min(59px, 100%);
  height: 58px;
  flex-basis: 58px;
  border-radius: 18px;
  border-color: #c9a265;
}

body nav.home-shell-bottomnav .home-shell-tab.is-menu .home-shell-app-icon {
  display: none;
}

body nav.home-shell-bottomnav .home-shell-tab.is-menu .home-shell-icon::before {
  content: '';
  position: absolute;
  top: calc(50% - 14px);
  left: calc(50% - 14px);
  width: 12px;
  height: 12px;
  border-radius: 4px;
  background: linear-gradient(145deg, #fff8e6, #e7b262 72%);
  box-shadow: inset 0 1px 1px #fff8e8, 16px 0 0 #d8e7fc,
    0 16px 0 #c0d2ec, 16px 16px 0 #91adce;
  filter: drop-shadow(0 2px 3px rgba(5,15,30,.6));
}

body nav.home-shell-bottomnav .home-shell-tab.is-menu.is-active .home-shell-icon::before {
  filter: drop-shadow(0 1px 5px rgba(255,208,133,.46));
}

body nav.home-shell-bottomnav .home-shell-tab:is(.is-active,:focus-visible) .home-shell-icon {
  border-color: #ffe5af;
  background: radial-gradient(ellipse at 25% 3%, #506687, #192d4a 54%, #07172e 89%);
  box-shadow: inset 0 1px 2px rgba(255,255,255,.7), 0 0 0 1px rgba(156,101,34,.65),
    0 0 19px rgba(255,196,104,.9), 0 6px 12px rgba(7,23,46,.25);
}

@media (max-width: 345px) {
  body nav.home-shell-bottomnav .home-shell-icon { width: min(46px, 100%); height: 46px; flex-basis: 46px; }
  body nav.home-shell-bottomnav .home-shell-tab.is-menu .home-shell-icon { width: min(52px, 100%); }
}

@media (prefers-reduced-motion: reduce) {
  body nav.home-shell-bottomnav .home-shell-icon { transition: none; }
  body nav.home-shell-bottomnav .home-shell-tab:active .home-shell-icon { transform: none; }
}
