/* Load after the shared header styles. The transparent SVG supplies the lettering. */
.ami-site-header .ami-logo-glass {
  --ami-glass-photo-face: linear-gradient(154deg, rgb(255 247 232 / .22), rgb(222 239 255 / .13) 50%, rgb(239 247 255 / .17));
  --ami-glass-navy-face: linear-gradient(154deg, rgb(255 247 232 / .28), rgb(222 239 255 / .22) 52%, rgb(239 247 255 / .25));
  --ami-glass-face: var(--ami-glass-photo-face);
  border-color: transparent;
  box-shadow: 0 2px 4px rgb(2 12 20 / .32), 0 5px 9px rgb(2 12 20 / .19);
}

/* These headers use solid navy. A slightly brighter face gives the black letters contrast. */
.ami-site-header:not(.ami-site-header-over-image) .ami-logo-glass,
.transformation-site:has(.t-experience[data-finish-open]) > .ami-site-header-over-image .ami-logo-glass {
  --ami-glass-face: var(--ami-glass-navy-face);
}

@media (max-width: 900px) {
  .ami-site-header-over-image .ami-logo-glass {
    --ami-glass-face: var(--ami-glass-navy-face);
  }
}

.ami-site-header .ami-logo-glass::before {
  clip-path: inset(0 round var(--ami-glass-radius));
  background:
    radial-gradient(ellipse 18px 5px at 10% 1%, rgb(255 205 144 / .23), transparent 100%),
    radial-gradient(ellipse 17px 5px at 92% 99%, rgb(255 198 137 / .20), transparent 100%),
    radial-gradient(ellipse at 9% 0%, rgb(255 231 192 / .14), transparent 42%),
    radial-gradient(ellipse at 94% 100%, rgb(205 234 255 / .10), transparent 35%),
    radial-gradient(ellipse 52% 95% at 76% 43%, rgb(247 248 246 / .12), transparent 88%),
    var(--ami-glass-face);
  box-shadow:
    inset 0 1px 1px rgb(243 250 255 / .18),
    inset 0 -1px 1px rgb(225 240 249 / .13),
    inset 0 0 0 2px rgb(7 22 33 / .16),
    inset 0 -4px 5px -4px rgb(4 15 27 / .42);
  backdrop-filter: blur(2.5px) brightness(1.24);
}

.ami-site-header .ami-logo-glass::after {
  padding: 1.4px;
  background:
    radial-gradient(ellipse 19px 8px at 10% 3%, rgb(255 244 222 / .77), rgb(255 205 149 / .46) 40%, transparent 100%),
    radial-gradient(ellipse 18px 8px at 92% 97%, rgb(255 242 220 / .70), rgb(255 202 144 / .42) 40%, transparent 100%),
    radial-gradient(ellipse 15px 7px at 91% 3%, rgb(224 246 255 / .52), rgb(181 226 250 / .27) 42%, transparent 100%),
    radial-gradient(ellipse 15px 7px at 9% 97%, rgb(224 246 255 / .48), rgb(181 226 250 / .24) 42%, transparent 100%),
    radial-gradient(ellipse 21% 2px at 43% 0%, rgb(214 242 255 / .28), transparent 100%),
    radial-gradient(ellipse 16% 2px at 38% 100%, rgb(255 223 182 / .19), transparent 100%),
    linear-gradient(180deg, rgb(231 242 250 / .24), rgb(201 220 235 / .09) 22%, rgb(13 27 38 / .18) 50%, rgb(204 222 234 / .10) 76%, rgb(231 242 250 / .25));
}

.ami-site-header .ami-logo-glass img {
  filter: drop-shadow(.35px 1px .85px rgb(1 7 15 / .52));
}
