
/* Sitewide dimensional buttons: top light, lower edge, contact shadow, color glow. */
body.brand-polish.brand-polish :is(.button, .menu, .footer-links a) {
  --button-glow: 198,160,82;
  background-image: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,0) 48%, rgba(0,0,0,.09));
  border-radius: 6px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28),
              inset 0 -2px 0 rgba(0,0,0,.24),
              0 1px 2px rgba(0,0,0,.4),
              0 8px 24px -6px rgba(var(--button-glow),.28);
  transition: background-color .22s, color .22s, border-color .22s, box-shadow .22s;
}
body.brand-polish.brand-polish .button.solid {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55),
              inset 0 -2px 0 rgba(0,0,0,.2),
              0 1px 2px rgba(0,0,0,.4),
              0 8px 24px -6px rgba(var(--button-glow),.42);
}
body.brand-polish.brand-polish .collections .button {
  --button-glow: 72, 86, 68;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.45),
              inset 0 -2px 0 rgba(0,0,0,.16),
              0 1px 2px rgba(0,0,0,.2),
              0 8px 24px -6px rgba(var(--button-glow),.25);
}
body.brand-polish.brand-polish .collection-foot .button {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25),
              inset 0 -2px 0 rgba(0,0,0,.3),
              0 1px 2px rgba(0,0,0,.3),
              0 8px 24px -6px rgba(var(--button-glow),.38);
}
body.brand-polish.brand-polish :is(.menu, .footer-links a) {
  --button-glow: 105, 114, 93;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18),
              inset 0 -2px 0 rgba(0,0,0,.25),
              0 1px 2px rgba(0,0,0,.4),
              0 6px 18px -6px rgba(var(--button-glow),.22);
}
@media (hover: hover) {
  body.brand-polish.brand-polish :is(.button, .menu, .footer-links a):hover {
    background-image: linear-gradient(180deg, rgba(255,255,255,.13), rgba(255,255,255,0) 48%, rgba(0,0,0,.08));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.5),
                inset 0 -2px 0 rgba(0,0,0,.22),
                0 2px 3px rgba(0,0,0,.3),
                0 10px 28px -6px rgba(var(--button-glow),.44);
  }
}
body.brand-polish.brand-polish :is(.button, .menu, .footer-links a):focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 5px;
}
body.brand-polish.brand-polish .collections .button:focus-visible { outline-color: #485644; }
body.brand-polish.brand-polish :is(.button, .menu, .footer-links a):active {
  background-image: linear-gradient(180deg, rgba(0,0,0,.1), rgba(255,255,255,.03));
  box-shadow: inset 0 2px 4px rgba(0,0,0,.3),
              inset 0 -1px 0 rgba(255,255,255,.16),
              0 1px 2px rgba(0,0,0,.25),
              0 3px 12px -5px rgba(var(--button-glow),.2);
}
@media (max-width: 780px) {
  /* Keep the bottle visible through the established 50% translucent hero buttons. */
  body.brand-polish.brand-polish .landing-main .hero-actions .button {
    background-image: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,0) 48%, rgba(0,0,0,.08));
    box-shadow: inset 0 1px 0 rgba(255,243,216,.36),
                inset 0 -2px 0 rgba(0,0,0,.3),
                0 1px 2px rgba(0,0,0,.45),
                0 8px 24px -6px rgba(198,160,82,.32);
  }
  body.brand-polish.brand-polish .landing-main .hero-actions .button:active {
    box-shadow: inset 0 2px 4px rgba(0,0,0,.35),
                inset 0 -1px 0 rgba(255,243,216,.16),
                0 1px 2px rgba(0,0,0,.3),
                0 3px 12px -5px rgba(198,160,82,.2);
  }
}

/* Shared button relief. Colors, sizing, labels and interaction semantics stay with each page. */
body.brand-polish.brand-polish :is(button, .button, .header-button, .upcoming-release-action, .table-action):not(.text-button):not(.password-toggle) {
  --button-glow: 198,160,82;
  border-radius: 6px;
  box-shadow: inset 0 1px 0 #ffffff47, inset 0 -2px 0 #0000003d,
              0 1px 2px #00000040, 0 8px 24px -6px rgba(var(--button-glow),.28);
}
body.brand-polish.brand-polish :is(.button--gold,.button-gold) {
  box-shadow: inset 0 1px 0 #ffffff8c, inset 0 -2px 0 #00000033,
              0 1px 2px #00000066, 0 8px 24px -6px rgba(var(--button-glow),.42);
}
body.brand-polish.brand-polish[data-page="admin"] :is(button,.button) { --button-glow: 70,88,112; }
body.brand-polish.brand-polish :is(.primary,.secondary,.table-action) { --button-glow: 40,85,64; }
body.brand-polish.brand-polish :is(.admin-delete,#delete-record) { --button-glow: 185,71,71; }
@media (hover:hover) {
  body.brand-polish.brand-polish :is(button,.button,.header-button,.upcoming-release-action,.table-action):not(.text-button):not(.password-toggle):not(:disabled):not([aria-disabled="true"]):hover {
    box-shadow: inset 0 1px 0 #ffffff80, inset 0 -2px 0 #00000038,
                0 2px 3px #0000004d, 0 10px 28px -6px rgba(var(--button-glow),.44);
  }
}
body.brand-polish.brand-polish :is(button,.button,.header-button,.upcoming-release-action,.table-action):not(.text-button):not(.password-toggle):not(:disabled):not([aria-disabled="true"]):active {
  box-shadow: inset 0 2px 4px #0000004d, inset 0 -1px 0 #ffffff29,
              0 1px 2px #00000040, 0 3px 12px -5px rgba(var(--button-glow),.2);
}
body.brand-polish.brand-polish :is(button,.button,.header-button,.upcoming-release-action,.table-action):is(:disabled,[aria-disabled="true"]) {
  box-shadow: inset 0 1px 0 #ffffff20, inset 0 -1px 0 #00000020;
}
/* Show the complete book and decorative lines at their natural wide aspect ratio. */
body.brand-polish img.brand-emblem {
  display:block; width:210px; max-width:100%; height:auto; aspect-ratio:890/245;
  object-fit:contain; object-position:center; mix-blend-mode:screen;
}
body.brand-polish .society-mark.brand-emblem { width:210px; height:auto; margin:0 auto 28px; }
body.brand-polish .book-mark { width:90px; height:auto; flex:0 0 90px; margin:0; transform:none; }
body.brand-polish .book-mark img.brand-emblem { width:100%; height:auto; top:0; }
body.brand-polish .brand-book.brand-emblem { width:90px; height:auto; }
@media(max-width:780px) {
  body.brand-polish .book-mark { width:76px; flex-basis:76px; }
  body.brand-polish .society-mark.brand-emblem { width:190px; height:auto; }
}
@media(prefers-reduced-motion:reduce) {
  body.brand-polish :is(button,.button,.header-button,.footer-links a) { transition:none!important; }
}

