/* Adapted from KiwiCue css/app.css liquid-glass controls and app bar. */
:is(.btn, .burger, .offer-strip a, .button, .gallery-controls button, .contact-icon, .details-section summary, .visit-map > a) {
  --glass-x: 50%;
  --glass-y: 50%;
  position: relative;
  border-radius: 999px;
  min-height: 44px;
  background-color: rgb(255 255 255 / .72);
  background-image:
    radial-gradient(110px circle at var(--glass-x) var(--glass-y), rgb(255 255 255 / .28), transparent 68%),
    linear-gradient(145deg, rgb(255 255 255 / .15), rgb(255 255 255 / .05));
  border: 1px solid rgb(255 255 255 / .60);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .34), inset 0 -1px 0 rgb(45 15 20 / .12), 0 7px 18px rgb(48 10 17 / .09);
  backdrop-filter: blur(20px) saturate(175%);
  -webkit-backdrop-filter: blur(20px) saturate(175%);
  transition: transform .22s cubic-bezier(.2,.8,.2,1), box-shadow .22s ease, background-color .22s ease, border-color .22s ease;
}
.btn--solid { color: #151215; background-color: rgb(255 255 255 / .90); }
:is(.btn--ghost, .burger, .gallery-controls button) {
  color: #fff;
  background-color: rgb(255 255 255 / .08);
  border-color: rgb(255 255 255 / .28);
}
.button {
  color: #fff;
  background-color: rgb(27 23 26 / .94);
}
#offer-submit, .review-cta .button {
  background-color: rgb(112 13 32 / .94);
  border-color: rgb(93 10 24 / .35);
}
.offer-strip a { background-color: rgb(255 255 255 / .09); color: #fff; }
.contact-icon {
  color: #a92c25;
  background-color: rgb(255 255 255 / .76);
  border-color: rgb(93 10 24 / .10);
}
.details-section summary, .visit-map > a {
  padding-inline: 16px;
  background-color: rgb(249 245 242 / .76);
  border-color: rgb(93 10 24 / .10);
}
.visit-map > a { display: inline-flex; align-items: center; margin: 8px; }
#offer-form > label > input {
  border: 1px solid #d3cac6;
  border-radius: 14px;
  background: #fbf9f8;
  box-shadow: inset 0 1px 3px #2115190c;
}
#offer-form > label > input:focus-visible {
  border-color: #8e2530;
  outline: 2px solid #8e2530;
  outline-offset: 2px;
}
#offer-top:focus { outline: none; }
@media (hover: hover) {
  :is(.btn, .burger, .offer-strip a, .button, .gallery-controls button, .contact-icon, .details-section summary, .visit-map > a):not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: inset 0 1px 0 rgb(255 255 255 / .46), 0 13px 24px rgb(43 8 15 / .15);
    background-image: radial-gradient(120px circle at var(--glass-x) var(--glass-y), rgb(255 255 255 / .38), transparent 68%), linear-gradient(145deg, rgb(255 255 255 / .20), rgb(255 255 255 / .07));
  }
  .btn--solid:hover { background-color: rgb(255 255 255 / .96); }
  .button:hover { background-color: rgb(27 23 26 / .94); }
}
:is(.btn, .burger, .offer-strip a, .button, .gallery-controls button, .contact-icon, .details-section summary, .visit-map > a):not(:disabled):is(:active, .is-glass-pressed) {
  transform: translateY(1px) scale(.965);
  box-shadow: inset 0 2px 8px rgb(46 0 15 / .22), inset 0 1px 0 rgb(255 255 255 / .30), 0 4px 10px rgb(40 0 12 / .09);
}
.pass {
  border-radius: 22px;
  background: linear-gradient(145deg, rgb(255 255 255 / .12), rgb(255 255 255 / .03));
  border-color: rgb(255 255 255 / .24);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .24), 0 7px 18px rgb(0 0 0 / .09);
}
.merch__options span, .merch__quantity { border-radius: 14px; }
.nav.is-stuck .nav__inner {
  border: 1px solid rgb(255 255 255 / .42);
  border-radius: 25px;
  background:
    linear-gradient(112deg, rgb(255 255 255 / .24), transparent 27% 70%, rgb(255 255 255 / .11)),
    linear-gradient(135deg, rgb(28 22 25 / .78), rgb(14 12 14 / .68));
  box-shadow: 0 22px 52px rgb(0 0 0 / .19), 0 4px 13px rgb(0 0 0 / .11), inset 0 1px 0 rgb(255 255 255 / .45), inset 0 -1px 0 rgb(39 0 15 / .16);
  backdrop-filter: blur(34px) saturate(185%);
  -webkit-backdrop-filter: blur(34px) saturate(185%);
  padding-inline: 16px;
}
.nav.is-stuck { background: transparent; border-color: transparent; backdrop-filter: none; padding-block: 8px; }
@media (max-width: 767px) {
  .drawer { background: rgb(20 18 21 / .94); backdrop-filter: blur(24px) saturate(145%); -webkit-backdrop-filter: blur(24px) saturate(145%); }
  .contact-links a { min-height: 44px; }
  .review-cta .button { width: min(100%, 280px); }
}
@media (prefers-reduced-motion: reduce) {
  :is(.btn, .burger, .offer-strip a, .button, .gallery-controls button, .contact-icon, .details-section summary, .visit-map > a) { transition: none; }
  :is(.btn, .burger, .offer-strip a, .button, .gallery-controls button, .contact-icon, .details-section summary, .visit-map > a):not(:disabled):is(:hover, :active, .is-glass-pressed) { transform: none; }
}

/* Transparent brand artwork stays clear over the floating header. */
.lockup .logo-img, .header .brand .logo-img { mix-blend-mode: normal; }

.tier .btn--ghost {
  background-color: var(--accent);
  border-color: var(--accent);
  color: #080808;
}
@media (hover: hover) {
  .tier .btn--ghost:hover {
    background-color: var(--accent);
    border-color: var(--accent);
    color: #080808;
    filter: brightness(1.08);
  }
}

/* Full selector outlines replace the rounded underline artefacts. */
.merch__styles, .merch__colours { gap: 8px; }
.merch__options label > span {
  border: 1px solid #494349;
  border-radius: 12px;
  padding: 10px 12px;
  min-height: 44px;
  background: rgb(255 255 255 / .05);
}
.merch__options input:checked + span {
  border-color: #f2f0ec;
  background: rgb(255 255 255 / .13);
  color: #f2f0ec;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .20);
}
.merch__styles label > span::before { display: none; }
.merch__sizes { grid-template-columns: repeat(4, minmax(44px, 54px)); }
.merch__sizes label > span { padding-inline: 8px; }
.merch__details > .btn {
  width: auto;
  min-width: 160px;
  min-height: 44px;
  padding: 12px 22px;
  justify-content: center;
  gap: 20px;
  margin-top: 14px;
}
@media (max-width: 479px) {
  .merch__styles label > span { white-space: normal; font-size: 12px; }
}

/* Keep the same header surface in place while its geometry and glass fade in. */
.nav, .nav.is-stuck {
  padding-block: 0;
  background: transparent;
  border: 0;
  backdrop-filter: none;
}
.nav__inner, .nav.is-stuck .nav__inner {
  position: relative;
  isolation: isolate;
  background: transparent;
  border: 1px solid transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding-inline: 0;
  border-radius: 25px;
  transition: height .4s cubic-bezier(.2,.8,.2,1), padding .4s cubic-bezier(.2,.8,.2,1), margin .4s cubic-bezier(.2,.8,.2,1);
}
.nav__inner { height: 76px; margin-block: 0; }
.nav.is-stuck .nav__inner { height: 64px; margin-block: 8px; padding-inline: 16px; }
.nav__inner::before {
  content: '';
  position: absolute;
  inset: -1px;
  z-index: -1;
  pointer-events: none;
  border: 1px solid rgb(255 255 255 / .42);
  border-radius: inherit;
  background:
    linear-gradient(112deg, rgb(255 255 255 / .24), transparent 27% 70%, rgb(255 255 255 / .11)),
    linear-gradient(135deg, rgb(28 22 25 / .78), rgb(14 12 14 / .68));
  box-shadow: 0 22px 52px rgb(0 0 0 / .19), 0 4px 13px rgb(0 0 0 / .11), inset 0 1px 0 rgb(255 255 255 / .45);
  backdrop-filter: blur(34px) saturate(185%);
  -webkit-backdrop-filter: blur(34px) saturate(185%);
  opacity: 0;
  transition: opacity .4s ease;
}
.nav.is-stuck .nav__inner::before { opacity: 1; }

.details-section details { padding-top: 16px; }
.details-copy { padding-top: 16px; }
@media (prefers-reduced-motion: reduce) {
  .nav__inner, .nav.is-stuck .nav__inner, .nav__inner::before { transition: none; }
}
