/* Gallery AWA header, styled to match the SOULSTREAM header: a floating white pill bar with a
   crimson "Contact" button on the left, the logo centred, and search + menu buttons on the
   right, opening a slide-in menu. Shared by the mirrored Squarespace pages (static markup from
   scripts/awa-header.html) and the Next pages (GalleryHeader in GalleryChrome.tsx). */

/* Hide the old Squarespace header + mobile bar/overlay on mirrored pages. */
body .Header--top,
body .Header--bottom,
body .Mobile-bar,
body .Mobile-overlay {
  display: none !important;
}
/* The home page (a Squarespace "Slide" template) carries its own logo + menu inside every
   slide: hide those too so only the Gallery AWA header shows. */
body .sqs-slice-group.group-branding,
body .sqs-slice-group.group-links {
  display: none !important;
}

@font-face {
  font-family: "AwaLato";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("/site-assets/live/fonts/lato-400-normal-latin.woff2") format("woff2");
}
@font-face {
  font-family: "AwaLato";
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url("/site-assets/live/fonts/lato-700-normal-latin.woff2") format("woff2");
}
@font-face {
  font-family: "AwaLato";
  font-weight: 900;
  font-style: normal;
  font-display: swap;
  src: url("/site-assets/live/fonts/lato-900-normal-latin.woff2") format("woff2");
}

:root {
  /* Gallery AWA theme (from the site stylesheet): purple primary, red-orange accent */
  --awa-p: #532d8a;
  --awa-p-dark: #40236b;
  --awa-accent: #ef3c25;
  --awa-soft: #f1ecf8;
  --awa-soft2: #e4daf2;
}

.awa-hdr {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  margin: 0 auto; /* centred without a transform, so the fixed menu/scrim stay viewport-relative */
  z-index: 1000;
  width: calc(100% - 48px);
  max-width: 781px;
  font-family: "AwaLato", Lato, sans-serif;
  line-height: normal; /* the Squarespace pages set a tall body line-height; Soulstream uses normal */
  -webkit-font-smoothing: antialiased;
}
.awa-hdr *,
.awa-hdr *::before,
.awa-hdr *::after {
  box-sizing: border-box;
}
.awa-hdr a {
  text-decoration: none;
}
.awa-hdr-spacer {
  height: 204px; /* header stack ends at 193px */
}

.awa-nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 86px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--awa-p);
  border-radius: 24px;
  box-shadow: 0 4px 28px rgba(83, 45, 138, 0.08), 0 1px 4px rgba(83, 45, 138, 0.04);
  transition: box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1);
}
.awa-nav:hover {
  box-shadow: 0 6px 40px rgba(83, 45, 138, 0.12), 0 2px 8px rgba(83, 45, 138, 0.06);
}

/* Contact button (left) */
.awa-connect {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 16px;
  border-radius: 16px;
  background: var(--awa-p);
  color: #fff !important;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.36px;
  line-height: 1.2;
  white-space: nowrap;
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.awa-connect:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(83, 45, 138, 0.3);
}
.awa-connect-icon {
  display: none;
}

/* Logo, always visually centred regardless of the side buttons' widths */
.awa-lockup {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: block;
  line-height: 0;
}
.awa-lockup img {
  display: block;
  height: 62px; /* tightly-cropped logo (awa-header-logo.png), so the artwork itself is large */
  width: auto;
  max-width: 260px;
  object-fit: contain;
}

/* Search + menu buttons (right) */
.awa-right {
  display: flex;
  align-items: center;
  gap: 9px;
}
.awa-iconbtn {
  color: var(--awa-p);
  display: block;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  line-height: 0;
  border-radius: 16px;
}
.awa-iconbtn svg {
  display: block;
  width: 49px;
  height: 49px;
}
.awa-iconbtn:focus-visible,
.awa-connect:focus-visible,
.awa-lockup:focus-visible {
  outline: 2px solid var(--awa-p);
  outline-offset: 2px;
}

@media (max-width: 660px) {
  .awa-hdr {
    width: calc(100% - 24px);
    top: 16px;
  }
  .awa-hdr-spacer {
    height: 204px; /* header stack ends at 189px */
  }
  .awa-nav {
    min-height: 89px;
    padding: 0 12px;
  }
  .awa-connect {
    padding: 10px 16px;
    border-radius: 12px;
  }
  .awa-connect-text {
    display: none;
  }
  .awa-connect-icon {
    display: block;
    color: #fff;
  }
  .awa-lockup img {
    height: 40px;
    max-width: 140px;
  }
  .awa-iconbtn svg {
    width: 40px;
    height: 40px;
  }
}

/* Slide-in menu: same design as the SOULARIUM / SOULSTREAM drawer (a right-side panel with a
   pink "Back" pill, and links in a rounded glass card: icon circle, label, arrow). */
.awa-scrim {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease;
  z-index: 1001;
}
.awa-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 390px;
  max-width: 92vw;
  z-index: 1002;
  display: flex;
  flex-direction: column;
  background: #fff;
  box-shadow: none;
  transform: translateX(105%);
  visibility: hidden;
  transition: transform 300ms cubic-bezier(0.23, 1, 0.32, 1), visibility 0s linear 300ms;
  overflow-y: auto;
}
/* the header is its own stacking context; lift it above page-level fixed bars (e.g. the bottom page nav) while the menu is open */
.awa-hdr.is-open {
  z-index: 2000;
}
.awa-hdr.is-open .awa-scrim {
  opacity: 1;
  pointer-events: auto;
}
.awa-hdr.is-open .awa-drawer {
  transform: translateX(0);
  visibility: visible;
  transition: transform 300ms cubic-bezier(0.23, 1, 0.32, 1), visibility 0s;
}
.awa-dhead {
  display: flex;
  align-items: center;
  padding: 16px 24px 6px;
  background: #fff;
}
.awa-back {
  color: var(--awa-p);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px 10px 8px;
  border: 0;
  border-radius: 600px;
  background: linear-gradient(248deg, rgba(228, 218, 242, 0.27) 0%, #e4daf2 100%);
  -webkit-backdrop-filter: blur(4.5px);
  backdrop-filter: blur(4.5px);
  cursor: pointer;
}
.awa-back p {
  margin: 0;
  color: var(--awa-p);
  font-size: 14px;
  font-weight: 700;
  line-height: 14px;
}
.awa-back:focus-visible,
.awa-ditem a:focus-visible,
.awa-ditem button:focus-visible {
  outline: 2px solid var(--awa-p);
  outline-offset: 2px;
}
.awa-dbody {
  padding: 24px 16px 87px;
  background: #fff;
}
.awa-dgroup {
  overflow: hidden;
  border: 1px solid #fff;
  border-radius: 16px;
  background: rgba(245, 245, 245, 0.9);
  box-shadow: -5px -5px 250px 0 rgba(255, 255, 255, 0.02) inset;
  -webkit-backdrop-filter: blur(21px);
  backdrop-filter: blur(21px);
}
.awa-drow {
  padding: 16px 16px 0;
}
.awa-drow:hover {
  background-color: #f1ecf8;
}
.awa-ditem {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(83, 45, 138, 0.12);
  color: var(--awa-p);
  font-size: 14px;
  background: transparent;
}
.awa-ditem.awa-dlast {
  border-bottom: 0;
}
.awa-ditem a,
.awa-ditem button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--awa-p);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.28px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}
.awa-dlink {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
}
.awa-dicon {
  color: var(--awa-p);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(248deg, rgba(228, 218, 242, 0.27) 0%, #e4daf2 100%);
  -webkit-backdrop-filter: blur(4.5px);
  backdrop-filter: blur(4.5px);
}
.awa-dicon svg {
  display: block;
  width: 18px;
  height: 18px;
}
.awa-dchev {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}
.awa-dexpand {
  display: flex;
  transition: transform 0.2s ease;
}
#awaEvBtn[aria-expanded="true"] .awa-dexpand {
  transform: rotate(90deg);
}
.awa-dsub[hidden] {
  display: none;
}
.awa-dsubitem a {
  padding-left: 40px;
}

/* Tagline ticker (below the bar) */
.awa-ticker {
  margin-top: 8px; /* nav bottom 102px + 8px = ticker at 110px */
  overflow: hidden;
  padding: 8px 0;
  background: #fff;
  border: 1px solid rgba(83, 45, 138, 0.09);
  border-radius: 16px;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.awa-ticker-track {
  display: flex;
  width: max-content;
  animation: awaTicker 22s linear infinite;
  will-change: transform;
}
.awa-ticker-content {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.awa-phrase {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  white-space: nowrap;
  color: var(--awa-p-dark);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: -0.28px;
}
.awa-sep {
  display: inline-block;
  padding: 0 12px;
  font-weight: 700;
  opacity: 0.85;
  color: var(--awa-accent);
}
.awa-phrase-brand {
  padding: 0 50px;
  text-transform: uppercase;
  font-weight: 900;
}
@keyframes awaTicker {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .awa-ticker-track { animation: none; }
}

/* Section pills (below the ticker) */
.awa-strip {
  margin-top: 6px; /* ticker bottom 145px + 6px = pills at 151px */
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.awa-strip-group {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 12px;
  width: 100%;
}
.awa-pill {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border: 1px solid rgba(83, 45, 138, 0.09);
  border-radius: 16px;
  background: var(--awa-soft);
  color: var(--awa-p) !important;
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.28px;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.awa-pill:hover,
.awa-pill.on {
  background: var(--awa-soft2);
  border-color: rgba(83, 45, 138, 0.3);
}
.awa-pill:hover {
  transform: translateY(-1px);
}

/* Ticker + pills slide away on scroll down and return on scroll up */
.awa-hdr.is-scrolled .awa-ticker,
.awa-hdr.is-scrolled .awa-strip {
  opacity: 0;
  transform: translateY(-15px);
  pointer-events: none;
}

@media (max-width: 660px) {
  .awa-strip { margin-top: 5px; }
  .awa-strip-group {
    gap: 8px;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .awa-strip-group::-webkit-scrollbar { display: none; }
  .awa-pill {
    flex: 0 0 auto;
    padding: 10px 24px;
    font-size: 12px;
  }
}
