:root {
  --bg: #000000;
  --panel: rgba(255, 255, 255, 0.075);
  --panel-strong: rgba(255, 255, 255, 0.12);
  --text: #f7f1e6;
  --muted: #c9c0b2;
  --gold: #d7b46a;
  --gold-soft: #f0d88d;
  --gold-deep: #a87b2c;
  --accent: #d7b46a;
  --red: #c66a4a;
  --line: rgba(255, 255, 255, 0.16);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #17120b;
  scroll-behavior: smooth;
  overscroll-behavior: none;
}

body {
  min-height: 100%;
  margin: 0;
  background:
    linear-gradient(90deg, rgba(215, 180, 106, 0.18), transparent 18%, transparent 82%, rgba(215, 180, 106, 0.18)),
    linear-gradient(145deg, #18120b 0%, #261d11 44%, #171510 100%);
  background-color: #17120b;
  color: var(--text);
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overscroll-behavior: none;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(240, 216, 141, 0.2), rgba(240, 216, 141, 0) 16%) left top / 28vw 100% no-repeat,
    linear-gradient(270deg, rgba(240, 216, 141, 0.18), rgba(240, 216, 141, 0) 16%) right top / 28vw 100% no-repeat,
    repeating-linear-gradient(118deg, rgba(240, 216, 141, 0.16) 0 1px, transparent 1px 84px);
  opacity: 0.72;
}

body::after {
  z-index: 0;
  background:
    url("../images/layout/golden-8-ball.png") left clamp(24px, 4vw, 70px) top 42vh / clamp(118px, 12vw, 180px) auto no-repeat,
    url("../images/layout/golden-8-ball.png") right clamp(24px, 5vw, 86px) top 18vh / clamp(130px, 14vw, 210px) auto no-repeat,
    linear-gradient(90deg, rgba(215, 180, 106, 0.34) 0 1px, transparent 1px 100%) left 7vw top / 1px 100% no-repeat,
    linear-gradient(90deg, rgba(215, 180, 106, 0.28) 0 1px, transparent 1px 100%) right 8vw top / 1px 100% no-repeat;
  opacity: 0.22;
}

main {
  position: relative;
  z-index: 1;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

.site-header {
  position: fixed;
  inset: 18px 20px auto;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(10, 11, 11, 0.58);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
  transition: transform 260ms ease, opacity 260ms ease, background 240ms ease, border-color 240ms ease;
}

.site-header.is-scrolled {
  background: rgba(10, 11, 11, 0.82);
  border-color: rgba(215, 180, 106, 0.34);
}

.site-header.is-hidden {
  transform: translateY(calc(-100% - 28px));
  opacity: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  min-height: 44px;
  padding: 2px 4px;
  transition: opacity 180ms ease, transform 180ms ease;
}

.brand img {
  display: block;
  width: clamp(112px, 10vw, 132px);
  height: auto;
}

.brand:hover,
.brand:focus-visible {
  opacity: 0.82;
  transform: translateY(-1px);
}

.main-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
}

.main-nav a,
.search-trigger,
.button {
  min-height: 44px;
  border-radius: 13px;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
}

.search-trigger,
.menu-toggle {
  border: 0;
  color: var(--text);
  font: inherit;
  cursor: pointer;
}

.search-trigger {
  padding: 0 18px;
  background: linear-gradient(135deg, rgba(240, 216, 141, 0.98), rgba(168, 123, 44, 0.94));
  color: #15110b;
  font-weight: 800;
}

.search-trigger:hover,
.button:hover,
.mini-card:hover,
.feature-card:hover {
  transform: translateY(-3px);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.1);
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 96svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  align-items: end;
  gap: 28px;
  padding: 160px clamp(20px, 6vw, 84px) 64px;
  overflow: hidden;
}

.page-hero {
  position: relative;
  min-height: 68svh;
  display: grid;
  justify-items: center;
  align-items: center;
  padding: 150px clamp(20px, 6vw, 84px) 58px;
  overflow: hidden;
}

.home-page .page-hero {
  min-height: 100svh;
  align-items: center;
  padding-bottom: 84px;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.82), transparent);
  pointer-events: none;
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: center;
  width: min(920px, 100%);
  max-width: 920px;
  margin-inline: auto;
  padding: clamp(26px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(13, 12, 10, 0.58);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
  text-align: center;
}

.page-hero-inner.reveal {
  opacity: 1;
  transform: none;
}

.home-page .page-hero-inner {
  grid-template-columns: 1fr;
  justify-self: center;
  width: min(780px, 100%);
  padding: clamp(34px, 6vw, 70px);
  border-color: rgba(215, 180, 106, 0.34);
  background:
    linear-gradient(135deg, rgba(12, 10, 7, 0.72), rgba(16, 14, 10, 0.5)),
    rgba(255, 255, 255, 0.045);
  text-align: left;
}

.hero-title-block {
  min-width: 0;
}

.home-page .hero-title-block h1 {
  max-width: 100%;
  font-size: clamp(40px, 7vw, 82px);
  white-space: nowrap;
}

.home-page .hero-logo-heading {
  display: flex;
  align-items: center;
  min-height: clamp(92px, 15vw, 138px);
  margin: 0;
  white-space: normal;
}

.home-page .hero-logo {
  display: block;
  width: min(100%, 460px);
  height: auto;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.42));
  transform-origin: left center;
  animation: heroLogoIntro 760ms cubic-bezier(0.23, 1, 0.32, 1) both;
}

.home-eyebrow {
  font-size: clamp(11px, 1.8vw, 14px);
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.typing-caret::after {
  content: "";
  display: inline-block;
  width: 0.08em;
  height: 0.88em;
  margin-left: 0.08em;
  background: var(--gold-soft);
  transform: translateY(0.08em);
  animation: caretBlink 720ms steps(2, end) infinite;
}

.hero-ball-stage {
  position: absolute;
  z-index: 0;
  right: max(28px, calc((100vw - 1180px) / 2));
  bottom: clamp(34px, 9vw, 120px);
  width: clamp(190px, 31vw, 440px);
  aspect-ratio: 1;
  pointer-events: none;
  filter: drop-shadow(0 42px 58px rgba(0, 0, 0, 0.68));
  transform: translate3d(var(--ball-x, 0px), var(--ball-y, 0px), 0) rotate(var(--ball-rotate, 0deg)) scale(var(--ball-scale, 1));
  transition: transform 90ms linear;
}

.hero-ball-stage::before {
  content: "";
  position: absolute;
  inset: 16% 10% 6%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 216, 141, 0.36), transparent 68%);
  filter: blur(30px);
  animation: ballGlow 3.6s ease-in-out infinite alternate;
}

.gold-ball {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: goldBallFloat 4.8s ease-in-out infinite, ballIntro 760ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 32%;
  background: linear-gradient(0deg, var(--bg), transparent);
  pointer-events: none;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 11, 11, 0.95) 0%, rgba(10, 11, 11, 0.54) 48%, rgba(10, 11, 11, 0.82) 100%);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  filter: saturate(1.08) contrast(1.08);
  animation: slowZoom 18s ease-in-out infinite alternate;
}

.hero-content,
.hero-card,
.quick-search,
.glass-panel,
.contact-card,
.modern-form {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.hero-content {
  max-width: 820px;
  padding: clamp(26px, 5vw, 58px);
  border-radius: 22px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold-soft);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
}

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
}

h1 {
  max-width: 780px;
  font-size: clamp(42px, 7vw, 92px);
}

h2 {
  font-size: clamp(32px, 4.7vw, 60px);
}

h3 {
  font-size: 22px;
}

.hero-copy,
.section-copy p,
.feature-card p,
.contact-card p,
.form-note {
  color: var(--muted);
}

.hero-copy {
  max-width: 620px;
  margin: 22px 0 0;
  font-size: clamp(17px, 2vw, 21px);
}

.page-hero-inner .hero-copy {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.hero-actions,
.contact-actions {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.page-hero-inner .hero-actions {
  justify-content: center;
}

.home-page .page-hero-inner .hero-actions {
  justify-content: flex-start;
}

.home-page .page-hero-inner .hero-copy {
  margin-right: 0;
  margin-left: 0;
  text-align: left;
}

.opening-status {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: fit-content;
  max-width: 100%;
  margin-top: 2px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 13px;
  background: rgba(7, 8, 7, 0.48);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(14px);
}

.opening-status-dot {
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #b9b0a2;
  box-shadow: 0 0 0 4px rgba(185, 176, 162, 0.11);
}

.opening-status-copy {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 8px;
  align-items: baseline;
  min-width: 0;
  font-size: 13px;
  line-height: 1.35;
}

.opening-status-copy strong {
  color: var(--text);
  font-size: 14px;
}

.opening-status-copy span {
  color: var(--muted);
}

.opening-status.is-open {
  border-color: rgba(120, 205, 145, 0.32);
  background: rgba(18, 58, 32, 0.36);
}

.opening-status.is-open .opening-status-dot {
  background: #7ed094;
  box-shadow: 0 0 0 4px rgba(126, 208, 148, 0.12);
}

.opening-status.is-closed {
  border-color: rgba(215, 180, 106, 0.25);
}

.opening-status.is-closed .opening-status-dot {
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(215, 180, 106, 0.12);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  padding: 0 22px;
  font-weight: 800;
}

.button.primary {
  border-color: rgba(240, 216, 141, 0.65);
  background: linear-gradient(135deg, rgba(240, 216, 141, 1), rgba(215, 180, 106, 0.96) 54%, rgba(168, 123, 44, 0.98));
  color: #17120a;
  box-shadow: 0 14px 30px rgba(215, 180, 106, 0.2);
}

.button.ghost {
  border-color: rgba(240, 216, 141, 0.42);
  background: rgba(255, 255, 255, 0.14);
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.hero-card {
  position: relative;
  z-index: 1;
  padding: 24px;
  border-radius: 18px;
}

.hero-card p {
  margin: 12px 0;
  color: var(--muted);
}

.hero-card strong {
  font-size: 24px;
}

.status-dot {
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 8px rgba(215, 180, 106, 0.16);
}

.quick-search,
.section {
  max-width: 1180px;
  margin: 0 auto;
}

.quick-search {
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  gap: 22px;
  align-items: center;
  padding: 24px;
  border-radius: 30px;
  transform: translateY(-32px);
}

.search-box {
  display: grid;
  gap: 7px;
}

.search-box span,
.modern-form span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: 0;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font: inherit;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

input {
  min-height: 54px;
  padding: 0 18px;
}

textarea {
  resize: vertical;
  padding: 15px 18px;
}

select {
  width: 100%;
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: 0;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font: inherit;
}

input:focus,
textarea:focus,
select:focus {
  border-color: rgba(215, 180, 106, 0.78);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 4px rgba(215, 180, 106, 0.14);
}

.search-results {
  grid-column: 1 / -1;
  display: grid;
  gap: 10px;
}

.result-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
}

.result-item small {
  color: var(--muted);
}

.section {
  padding: 74px 20px;
}

.top-info-section {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: clamp(18px, 4vw, 34px);
  align-items: stretch;
  padding-top: 24px;
  padding-bottom: 46px;
}

.top-info-section.compact-hours {
  grid-template-columns: 1fr;
  max-width: 980px;
}

.hours-feature,
.external-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.074);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.hours-feature {
  border-color: rgba(215, 180, 106, 0.34);
  border-radius: 14px;
  padding: clamp(18px, 3vw, 30px);
  background:
    linear-gradient(135deg, rgba(215, 180, 106, 0.16), rgba(255, 255, 255, 0.055)),
    rgba(255, 255, 255, 0.07);
}

.hours-feature h2 {
  max-width: 780px;
  font-size: clamp(24px, 3.2vw, 42px);
}

.featured-hours {
  margin-top: 20px;
  font-size: 15px;
}

.featured-hours strong {
  color: var(--text);
}

.special-hours {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(215, 180, 106, 0.28);
}

.special-hours-list {
  display: grid;
  grid-template-columns: minmax(180px, 0.8fr) 1fr;
  gap: 12px 18px;
  margin-top: 14px;
}

.special-hours-list span {
  color: var(--gold-soft);
  font-weight: 800;
}

.special-hours-list strong {
  color: var(--text);
}

.external-links {
  display: grid;
  gap: 14px;
}

.external-card {
  display: grid;
  gap: 7px;
  align-content: center;
  min-height: 116px;
  border-radius: 14px;
  padding: 22px;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.external-card:hover {
  transform: translateY(-4px);
  border-color: rgba(215, 180, 106, 0.52);
  background: rgba(215, 180, 106, 0.12);
}

.external-card span {
  color: var(--gold-soft);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.external-card strong {
  font-size: 20px;
}

.intro-grid,
.split-panel,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}

.content-shell,
.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: clamp(22px, 4vw, 44px);
  align-items: start;
}

.contact-band::before {
  content: "";
  grid-column: 1 / -1;
  width: min(520px, 100%);
  height: 3px;
  margin: 0 auto clamp(4px, 1vw, 10px);
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--gold-soft), var(--gold-deep), var(--gold-soft), transparent);
  box-shadow: 0 0 24px rgba(215, 180, 106, 0.34);
}

.content-shell.full-width-content {
  grid-template-columns: 1fr;
}

.contact-page {
  background:
    radial-gradient(circle at 50% 10%, rgba(215, 180, 106, 0.18), transparent 28rem),
    radial-gradient(circle at 12% 55%, rgba(198, 106, 74, 0.11), transparent 24rem),
    linear-gradient(145deg, #080808 0%, #17120d 48%, #080909 100%);
}

.contact-page .page-hero {
  min-height: 74svh;
  background:
    radial-gradient(circle at 50% 42%, rgba(215, 180, 106, 0.18), transparent 24rem),
    linear-gradient(180deg, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.72));
}

.contact-page .page-hero-inner {
  width: min(860px, 100%);
  border-color: rgba(215, 180, 106, 0.4);
}

.contact-form-section {
  max-width: 1180px;
  padding-top: 28px;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(22px, 4vw, 44px);
  border: 1px solid rgba(215, 180, 106, 0.28);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(215, 180, 106, 0.1), rgba(255, 255, 255, 0.055)),
    rgba(255, 255, 255, 0.07);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
  padding: clamp(22px, 4vw, 42px);
}

.contact-intro h2 {
  max-width: 520px;
  font-size: clamp(30px, 4vw, 52px);
}

.contact-intro p:not(.eyebrow) {
  max-width: 520px;
  color: var(--muted);
  font-size: 17px;
}

.contact-quick {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contact-quick a {
  display: grid;
  gap: 4px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.075);
}

.contact-quick span {
  color: var(--gold-soft);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-quick strong {
  font-size: 16px;
}

.contact-form {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form-message {
  grid-column: 1 / -1;
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border: 1px solid;
  border-radius: 12px;
  font-size: 14px;
}

.contact-form-message[hidden] {
  display: none;
}

.contact-form-message strong {
  font-size: 16px;
}

.contact-form-message span,
.contact-form-message ul {
  margin: 0;
}

.contact-form-message ul {
  padding-left: 20px;
}

.contact-form-message.is-success {
  border-color: rgba(104, 211, 145, 0.46);
  background: rgba(31, 120, 72, 0.2);
  color: #d9ffe7;
}

.contact-form-message.is-error {
  border-color: rgba(255, 126, 126, 0.5);
  background: rgba(145, 38, 38, 0.22);
  color: #ffe1e1;
}

.contact-form .field {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.contact-form .field-wide {
  grid-column: 1 / -1;
}

.contact-form .field > span:first-child {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.select-wrap {
  position: relative;
  display: block;
}

.select-wrap::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--gold-soft);
  border-bottom: 2px solid var(--gold-soft);
  pointer-events: none;
  transform: translateY(-70%) rotate(45deg);
}

.contact-form select {
  appearance: none;
  padding: 0 48px 0 18px;
  border-color: rgba(215, 180, 106, 0.34);
  background:
    linear-gradient(135deg, rgba(240, 216, 141, 0.14), rgba(255, 255, 255, 0.08)),
    rgba(255, 255, 255, 0.08);
  font-weight: 800;
}

.contact-form select option {
  background: #191612;
  color: var(--text);
  font-weight: 700;
}

.contact-form select option:checked,
.contact-form select option:hover {
  background: #5c4723;
  color: #fff7dc;
}

.contact-form textarea {
  min-height: 150px;
}

.form-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
}

.form-footer p {
  max-width: 360px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.form-footer a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: rgba(215, 180, 106, 0.62);
  text-underline-offset: 4px;
}

.admin-page .site-header {
  grid-template-columns: 1fr auto;
  gap: 20px;
}

.admin-brand {
  display: inline-flex;
  gap: 11px;
  align-items: center;
  width: fit-content;
  color: var(--text);
  text-decoration: none;
}

.admin-brand img {
  display: block;
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.admin-brand > span {
  display: grid;
  gap: 1px;
}

.admin-brand strong {
  font-size: 14px;
  line-height: 1.1;
}

.admin-brand small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.admin-header-actions {
  display: flex;
  gap: 9px;
  align-items: center;
}

.admin-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.admin-action:hover {
  border-color: rgba(215, 180, 106, 0.42);
  background: rgba(255, 255, 255, 0.1);
}

.admin-action:active,
.admin-page .button:active {
  transform: scale(0.98);
}

.admin-action.is-primary {
  border-color: rgba(240, 216, 141, 0.62);
  background: linear-gradient(135deg, #f5df99, #d7b46a 52%, #a87b2c);
  color: #181109;
}

.admin-main {
  padding-top: 116px;
}

.admin-dashboard-head {
  display: flex;
  gap: 30px;
  align-items: end;
  justify-content: space-between;
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  padding: 44px 0 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-dashboard-head h1 {
  max-width: none;
  margin: 5px 0 8px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
}

.admin-dashboard-head > div > p:last-child {
  margin: 0;
  color: var(--muted);
}

.admin-security-badge {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  flex: 0 0 auto;
  padding: 9px 12px;
  border: 1px solid rgba(126, 180, 137, 0.28);
  border-radius: 999px;
  background: rgba(126, 180, 137, 0.09);
  color: #b8d9bd;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.admin-security-badge::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8fc49a;
  box-shadow: 0 0 0 4px rgba(143, 196, 154, 0.1);
  content: "";
}

.admin-section {
  max-width: 1080px;
  padding-top: 24px;
}

.admin-panel {
  margin-bottom: 24px;
  border-radius: 20px;
}

.admin-panel .contact-intro h2 {
  font-size: clamp(25px, 3vw, 38px);
}

.admin-editor {
  display: grid;
  gap: 0;
}

.admin-category {
  min-width: 0;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.admin-regular-hours-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-content: start;
}

.admin-regular-time {
  display: grid;
  grid-template-columns: minmax(82px, 0.55fr) minmax(0, 1.45fr);
  gap: 10px;
  align-items: center;
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
}

.admin-page .admin-regular-day {
  color: var(--gold-soft);
  font-size: 12px;
  font-weight: 800;
}

.admin-page .admin-regular-time textarea {
  min-height: 40px;
  padding: 7px 10px;
  border-radius: 9px;
  font-size: 13px;
  line-height: 1.4;
  resize: vertical;
}

.admin-hours-list {
  display: grid;
  gap: 10px;
}

.admin-hours-row {
  display: grid;
  grid-template-columns: minmax(180px, 0.75fr) minmax(260px, 1.25fr);
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
}

.admin-hours-row.is-special {
  border-color: rgba(215, 180, 106, 0.2);
  background: rgba(215, 180, 106, 0.045);
}

.admin-status-overrides-editor,
.admin-status-overrides {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.admin-status-override-row {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(215, 180, 106, 0.2);
  border-radius: 14px;
  background: rgba(215, 180, 106, 0.045);
}

.admin-status-override-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.admin-remove-row {
  justify-self: end;
  border: 0;
  padding: 3px 2px;
  background: transparent;
  color: #dcae9d;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.admin-remove-row:hover,
.admin-remove-row:focus-visible {
  color: #ffd6c7;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.admin-empty-note {
  margin: 0;
  padding: 16px;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.admin-inline-action {
  width: fit-content;
  margin-top: 14px;
}

.admin-inline-action > span {
  margin-right: 6px;
  font-size: 18px;
  line-height: 0;
}

.admin-stack {
  display: grid;
  gap: 18px;
}

.admin-media-panel {
  grid-template-columns: 1fr;
  gap: 18px;
}

.admin-media-panel .contact-intro {
  display: grid;
  grid-template-columns: minmax(180px, 0.36fr) minmax(260px, 0.64fr);
  gap: 10px 22px;
  align-items: end;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-media-panel .contact-intro .eyebrow,
.admin-media-panel .contact-intro h2,
.admin-media-panel .contact-intro p:not(.eyebrow) {
  margin: 0;
}

.admin-media-panel .contact-intro h2 {
  grid-column: 1;
  font-size: clamp(24px, 2.6vw, 36px);
}

.admin-media-panel .contact-intro p:not(.eyebrow) {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
}

.admin-media-panel [data-gallery].admin-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-image-row {
  display: grid;
  grid-template-columns: minmax(150px, 0.45fr) repeat(2, minmax(220px, 1fr));
  gap: 14px;
  align-items: start;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.055);
}

.admin-image-row-head {
  display: grid;
  gap: 10px;
}

.admin-image-row h3 {
  margin: 0;
  color: var(--gold-soft);
  font-size: 14px;
  overflow-wrap: anywhere;
}

.admin-image-preview {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(215, 180, 106, 0.24);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.26);
}

.admin-image-preview img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.06);
}

.admin-image-preview figcaption {
  padding: 7px 9px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-preview-strip {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 10px;
}

.admin-preview-strip .admin-image-preview img {
  aspect-ratio: 4 / 3;
}

.admin-gallery-row {
  display: grid;
  grid-template-columns: minmax(130px, 0.36fr) minmax(0, 0.64fr);
  gap: 12px;
  align-items: start;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.055);
}

.admin-gallery-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.admin-page .field {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.admin-page .field-wide {
  grid-column: 1 / -1;
}

.admin-page label span,
.admin-page .field > span:first-child {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.admin-page input,
.admin-page textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(215, 180, 106, 0.34);
  border-radius: 12px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.085);
  color: var(--text);
  font: inherit;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.admin-page input:focus,
.admin-page textarea:focus {
  border-color: rgba(240, 216, 141, 0.78);
  outline: none;
  background: rgba(255, 255, 255, 0.11);
  box-shadow: 0 0 0 3px rgba(215, 180, 106, 0.12);
}

.admin-page textarea {
  min-height: 92px;
  resize: vertical;
}

.admin-page input[type="file"] {
  padding: 10px;
  color: var(--muted);
}

.admin-upload-inline {
  margin-top: -6px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-savebar {
  position: sticky;
  bottom: 18px;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  padding: 14px;
  border: 1px solid rgba(215, 180, 106, 0.28);
  border-radius: 16px;
  background: rgba(10, 11, 11, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.admin-save-status {
  display: flex;
  gap: 11px;
  align-items: center;
}

.admin-save-status > span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #8fc49a;
  box-shadow: 0 0 0 5px rgba(143, 196, 154, 0.1);
}

.admin-save-status.is-dirty > span {
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(215, 180, 106, 0.11);
}

.admin-save-status p {
  display: grid;
  gap: 2px;
  margin: 0;
}

.admin-save-status strong {
  font-size: 13px;
}

.admin-save-status small {
  color: var(--muted);
  font-size: 11px;
}

.admin-page button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.admin-toast-region {
  position: fixed;
  right: 24px;
  bottom: 102px;
  z-index: 100;
  width: min(390px, calc(100% - 32px));
  pointer-events: none;
}

.admin-alert {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 11px;
  align-items: center;
  margin: 0;
  padding: 14px;
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.42);
  font-weight: 800;
  pointer-events: auto;
  animation: admin-toast-in 180ms ease-out both;
  backdrop-filter: blur(18px);
}

.admin-alert p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
}

.admin-alert-icon {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.11);
  font-size: 13px;
}

.admin-alert-close {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 20px;
  cursor: pointer;
}

.admin-alert-close:hover {
  background: rgba(255, 255, 255, 0.1);
}

.admin-alert.is-error {
  border: 1px solid rgba(198, 106, 74, 0.58);
  background: rgba(54, 27, 20, 0.94);
}

.admin-alert.is-success {
  border: 1px solid rgba(215, 180, 106, 0.42);
  background: rgba(38, 32, 18, 0.94);
}

@keyframes admin-toast-in {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.bg8-edit-mode body {
  padding-top: 74px;
}

.bg8-edit-bar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 80;
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  align-items: center;
  padding: 10px 16px;
  border-bottom: 1px solid rgba(215, 180, 106, 0.34);
  background: rgba(10, 11, 11, 0.94);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  overflow-x: auto;
}

.bg8-edit-mode .site-header {
  inset: 88px 20px auto;
}

.bg8-edit-brand {
  flex: 0 0 auto;
  display: inline-flex;
  gap: 9px;
  align-items: center;
  color: var(--gold-soft);
  font-size: 14px;
  font-weight: 900;
}

.bg8-edit-brand img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.bg8-edit-bar label {
  flex: 0 0 auto;
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.bg8-edit-bar select {
  min-height: 38px;
  max-width: min(48vw, 280px);
  border: 1px solid rgba(215, 180, 106, 0.34);
  border-radius: 10px;
  padding: 0 10px;
  background: #15110b;
  color: var(--text);
  font: inherit;
}

.bg8-edit-bar .button {
  flex: 0 0 auto;
  min-height: 38px;
  border-radius: 10px;
  padding: 0 14px;
  font-size: 13px;
}

.bg8-edit-bar .button.is-active {
  border-color: rgba(240, 216, 141, 0.76);
  background: linear-gradient(135deg, rgba(240, 216, 141, 0.96), rgba(168, 123, 44, 0.92));
  color: #17120a;
}

.bg8-text-edit-mode [data-bg8-editable] {
  outline: 1px dashed rgba(240, 216, 141, 0.62);
  outline-offset: 4px;
  cursor: text;
}

.bg8-text-edit-mode [data-bg8-editable]:hover {
  background: rgba(215, 180, 106, 0.14);
}

.bg8-image-edit-mode [data-bg8-image-editable] {
  outline: 2px solid rgba(240, 216, 141, 0.78);
  outline-offset: 5px;
  cursor: pointer;
}

.bg8-image-edit-mode [data-bg8-image-editable]:hover {
  filter: saturate(1.12) brightness(1.08);
}

.bg8-image-edit-mode .hero-media[data-bg8-image-editable] {
  z-index: 2;
}

.bg8-image-edit-mode .hero-media[data-bg8-image-editable]::after {
  pointer-events: none;
}

.bg8-document-edit-mode [data-bg8-document-editable] {
  outline: 2px solid rgba(117, 196, 255, 0.84);
  outline-offset: 5px;
  border-radius: 8px;
  cursor: pointer;
}

.bg8-document-edit-mode [data-bg8-document-editable]:hover {
  background: rgba(117, 196, 255, 0.12);
}

.bg8-edit-popover {
  position: fixed;
  left: 50%;
  top: 96px;
  z-index: 90;
  width: min(560px, calc(100vw - 24px));
  transform: translateX(-50%);
  border: 1px solid rgba(215, 180, 106, 0.36);
  border-radius: 14px;
  background: rgba(10, 11, 11, 0.96);
  box-shadow: var(--shadow);
  padding: 16px;
}

.bg8-edit-popover label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.bg8-edit-popover textarea {
  width: 100%;
  min-height: 150px;
  border: 1px solid rgba(215, 180, 106, 0.34);
  border-radius: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.085);
  color: var(--text);
  font: inherit;
  resize: vertical;
}

.bg8-edit-popover input[type="file"] {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(215, 180, 106, 0.34);
  border-radius: 12px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.085);
  color: var(--muted);
  font: inherit;
}

.bg8-image-preview {
  margin: 14px 0 0;
  overflow: hidden;
  border: 1px solid rgba(215, 180, 106, 0.28);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.32);
}

.bg8-image-preview img {
  display: block;
  width: 100%;
  max-height: 280px;
  object-fit: contain;
}

.bg8-image-preview img[data-bg8-image-format] {
  width: auto;
  max-width: 100%;
  margin-inline: auto;
}

.bg8-image-format-field {
  margin-top: 14px;
}

.bg8-image-format-field select {
  min-height: 46px;
  border: 1px solid rgba(215, 180, 106, 0.34);
  border-radius: 12px;
  padding: 0 12px;
  background: #15110b;
  color: var(--text);
  font: inherit;
}

.bg8-image-format-field small,
.bg8-image-format-note {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.bg8-image-format-note {
  margin: 14px 0 0;
}

[data-bg8-image-format="wide"] {
  height: auto !important;
  aspect-ratio: 16 / 9 !important;
}

[data-bg8-image-format="landscape"] {
  height: auto !important;
  aspect-ratio: 4 / 3 !important;
}

[data-bg8-image-format="square"] {
  height: auto !important;
  aspect-ratio: 1 / 1 !important;
}

[data-bg8-image-format="portrait"] {
  height: auto !important;
  aspect-ratio: 3 / 4 !important;
}

[data-bg8-image-format="tall"] {
  height: auto !important;
  aspect-ratio: 2 / 3 !important;
}

.bg8-document-current {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.bg8-document-current strong {
  color: var(--text);
  overflow-wrap: anywhere;
}

.bg8-edit-popover div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 12px;
}

.admin-logout {
  margin: 0;
}

.content-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.content-prose {
  padding: clamp(24px, 4vw, 46px);
}

.content-prose :first-child {
  margin-top: 0;
}

.content-prose p,
.content-prose li,
.content-prose td {
  color: var(--muted);
}

.content-prose strong {
  color: var(--gold);
}

.content-prose a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: rgba(215, 180, 106, 0.65);
  text-underline-offset: 4px;
}

.content-prose ul {
  display: grid;
  gap: 10px;
  padding-left: 20px;
}

.content-prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  overflow: hidden;
  border-radius: 12px;
}

.content-prose td,
.content-prose th {
  border-bottom: 1px solid var(--line);
  padding: 10px 12px;
  vertical-align: top;
}

.content-prose img {
  max-width: min(100%, 520px);
  height: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.content-prose .row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
  margin: 24px 0 4px;
}

.content-prose .row > [class*="col-"] {
  min-width: 0;
}

.content-prose .row > .col-xs-12 {
  display: none;
}

.content-prose .row img {
  width: 100%;
  max-width: none;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 220ms ease, border-color 220ms ease, filter 220ms ease;
}

.content-prose .row a:hover img {
  transform: translateY(-3px);
  border-color: rgba(215, 180, 106, 0.5);
  filter: saturate(1.1) contrast(1.04);
}

.content-prose a[href*="Mitgliederbeitrag"] img {
  width: min(100%, 340px);
  padding: 12px;
  background: rgba(0, 0, 0, 0.26);
  object-fit: contain;
}

.content-prose a[href*="billardhandel_b"] img {
  display: none;
}

.team-intro,
.gallery-intro {
  max-width: 760px;
  margin-bottom: 28px;
}

.team-intro p:last-child,
.gallery-intro p:last-child {
  color: var(--muted);
  font-size: 18px;
}

.team-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}

.team-member {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  min-height: 190px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.065);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.team-member:hover {
  transform: translateY(-4px);
  border-color: rgba(215, 180, 106, 0.42);
  background: rgba(255, 255, 255, 0.1);
}

.team-member span,
.photo-card span {
  color: var(--gold-soft);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.team-member h3 {
  margin: 8px 0 10px;
}

.team-member p {
  margin: 0;
}

.team-member-content {
  min-width: 0;
}

.team-details {
  margin-top: 18px;
  border-top: 1px solid rgba(215, 180, 106, 0.18);
}

.bg8-team-pdf-controls {
  display: none;
  grid-column: 1 / -1;
  gap: 10px;
  margin-top: 4px;
  border: 1px solid rgba(117, 196, 255, 0.34);
  border-radius: 12px;
  padding: 12px;
  background: rgba(21, 69, 105, 0.18);
}

.bg8-document-edit-mode .bg8-team-pdf-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.bg8-team-pdf-controls p {
  flex: 1 1 320px;
  color: var(--muted);
  font-size: 13px;
}

.bg8-team-pdf-controls .button {
  min-height: 38px;
}

.bg8-document-edit-mode [data-bg8-team-profile] {
  outline: 2px solid rgba(117, 196, 255, 0.42);
  outline-offset: 4px;
}

.team-details details {
  border-bottom: 1px solid rgba(215, 180, 106, 0.18);
}

.team-details summary {
  position: relative;
  padding: 14px 34px 14px 0;
  color: var(--gold-soft);
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.team-details summary::-webkit-details-marker {
  display: none;
}

.team-details summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 4px;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(215, 180, 106, 0.32);
  border-radius: 50%;
  color: var(--gold-soft);
  line-height: 21px;
  text-align: center;
  transform: translateY(-50%);
}

.team-details details[open] summary::after {
  content: "−";
}

.team-details-body {
  padding: 0 0 20px;
  color: var(--muted);
}

.team-details-body p,
.team-details-body ul,
.team-details-body table {
  margin: 12px 0 0;
}

.team-details-body ul {
  padding-left: 20px;
}

.team-details-body li + li {
  margin-top: 6px;
}

.team-details-body h4 {
  margin: 22px 0 6px;
  color: var(--text);
  font-size: 17px;
}

.team-details-body strong {
  color: var(--text);
}

.team-details-body table {
  width: 100%;
  border-collapse: collapse;
}

.team-details-body td {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  vertical-align: top;
}

.team-details-body td:last-child {
  padding-left: 18px;
  color: var(--text);
  font-weight: 700;
  text-align: right;
}

.team-details-body a {
  color: var(--gold-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.member-photo,
.member-fallback {
  width: 150px;
  height: 150px;
  border: 1px solid rgba(215, 180, 106, 0.28);
  border-radius: 12px;
}

.member-photo {
  object-fit: cover;
}

.member-fallback {
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(215, 180, 106, 0.26), rgba(255, 255, 255, 0.08)),
    rgba(255, 255, 255, 0.06);
  color: var(--gold-soft);
  font-size: 34px;
  font-weight: 800;
}

.photo-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 14px;
}

.photo-card {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
  transition: transform 220ms ease, border-color 220ms ease;
}

.photo-card.is-large {
  grid-column: span 2;
  grid-row: span 2;
}

.photo-card img {
  width: 100%;
  height: 100%;
  max-width: none;
  min-height: 210px;
  border: 0;
  border-radius: 0;
  object-fit: cover;
  transition: transform 520ms ease, filter 220ms ease;
}

.photo-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 48%;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.72), transparent);
}

.photo-card span {
  position: absolute;
  z-index: 1;
  left: 14px;
  bottom: 12px;
}

.photo-card:hover {
  transform: translateY(-4px);
  border-color: rgba(215, 180, 106, 0.46);
}

.photo-card:hover img {
  transform: scale(1.06);
  filter: saturate(1.12) contrast(1.05);
}

.content-prose .form-group {
  display: grid;
  gap: 8px;
  margin: 0 0 16px;
}

.content-prose label {
  color: var(--muted);
  font-weight: 800;
}

.content-prose .btn,
.content-prose button[type="submit"] {
  min-height: 48px;
  border: 0;
  border-radius: 12px;
  padding: 0 22px;
  background: var(--gold);
  color: #17120a;
  font: inherit;
  font-weight: 800;
}

.page-gallery {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 14px;
}

.page-gallery.home-gallery-row {
  position: static;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.page-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.sitemap-section {
  padding: 54px 20px 68px;
}

.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.sitemap-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.065);
  padding: 20px;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.sitemap-card:hover {
  transform: translateY(-4px);
  border-color: rgba(215, 180, 106, 0.4);
  background: rgba(255, 255, 255, 0.095);
}

.sitemap-card h3 {
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 16px;
}

.sitemap-card div {
  display: grid;
  gap: 8px;
}

.sitemap-card a {
  color: var(--muted);
  font-weight: 700;
}

.sitemap-card a:hover,
.sitemap-card a[aria-current="page"] {
  color: var(--text);
}

.sitemap-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(215, 180, 106, 0.22);
  color: var(--muted);
  font-weight: 700;
}

.section-logo {
  width: clamp(112px, 14vw, 150px);
  height: auto;
  margin: 0 0 20px;
  opacity: 0.86;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
}

.footer-logo img {
  width: 108px;
  height: auto;
  opacity: 0.72;
  transition: opacity 180ms ease;
}

.footer-logo:hover img,
.footer-logo:focus-visible img {
  opacity: 1;
}

.sitemap-meta.reveal {
  opacity: 1;
  transform: none;
}

.compact-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.section-copy p {
  max-width: 570px;
  font-size: 18px;
}

.image-stack {
  position: relative;
  min-height: 460px;
}

.image-stack img {
  position: absolute;
  width: 72%;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  object-fit: cover;
}

.image-stack img:first-child {
  top: 0;
  right: 0;
}

.image-stack img:last-child {
  left: 0;
  bottom: 0;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 26px;
}

.section-divider {
  width: min(170px, 46vw);
  height: 3px;
  margin: 0 0 22px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold-soft), var(--gold-deep), transparent);
  box-shadow: 0 0 24px rgba(215, 180, 106, 0.22);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.072);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
  transition: transform 200ms ease, background 200ms ease, border-color 200ms ease;
}

.feature-card:hover {
  border-color: rgba(215, 180, 106, 0.42);
  background: rgba(255, 255, 255, 0.12);
}

.feature-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.feature-card div {
  padding: 20px;
}

.split-panel {
  align-items: stretch;
}

.glass-panel,
.contact-card,
.modern-form {
  border-radius: 18px;
  padding: clamp(24px, 4vw, 42px);
}

.hours-list {
  display: grid;
  grid-template-columns: minmax(90px, 0.4fr) 1fr;
  gap: 12px 18px;
  margin-top: 26px;
}

.hours-list span {
  color: var(--muted);
}

.hours-list strong,
.special-hours-list strong {
  white-space: pre-line;
}

.price-cards {
  display: grid;
  gap: 16px;
}

.mini-card {
  display: grid;
  gap: 6px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05));
  transition: transform 200ms ease, border-color 200ms ease, background 200ms ease;
}

.mini-card:hover {
  border-color: rgba(215, 180, 106, 0.5);
  background: rgba(215, 180, 106, 0.12);
}

.mini-card span {
  color: var(--gold-soft);
  font-size: 13px;
  font-weight: 800;
}

.gallery-strip {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 14px;
}

.gallery-strip img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--line);
}

.modern-form {
  display: grid;
  gap: 16px;
}

.modern-form label {
  display: grid;
  gap: 8px;
}

.form-note {
  margin: 0;
  font-size: 14px;
}

.search-dialog {
  width: min(720px, calc(100% - 32px));
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(12, 13, 13, 0.9);
  color: var(--text);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
}

.search-dialog::backdrop {
  background: rgba(0, 0, 0, 0.72);
}

.dialog-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 20px;
}

.dialog-head button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  cursor: pointer;
  font-size: 24px;
}

.modal-results {
  margin-top: 18px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px) scale(0.985);
  transition: opacity 680ms ease, transform 680ms ease;
  transition-delay: var(--delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@keyframes slowZoom {
  from {
    transform: scale(1.04);
  }
  to {
    transform: scale(1.1);
  }
}

@keyframes goldBallFloat {
  0% {
    transform: translate3d(0, 0, 0) rotate(-14deg) scale(1);
  }
  32% {
    transform: translate3d(-22px, -34px, 0) rotate(13deg) scale(1.04);
  }
  66% {
    transform: translate3d(14px, -18px, 0) rotate(-5deg) scale(0.98);
  }
  100% {
    transform: translate3d(0, 0, 0) rotate(-14deg) scale(1);
  }
}

@keyframes ballIntro {
  from {
    opacity: 0;
    transform: translate3d(140px, -78px, 0) rotate(54deg) scale(0.72);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(-14deg) scale(1);
  }
}

@keyframes ballGlow {
  from {
    opacity: 0.5;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1.18);
  }
}

@keyframes heroLogoIntro {
  from {
    opacity: 0;
    transform: translate3d(0, 12px, 0) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes caretBlink {
  0%,
  48% {
    opacity: 1;
  }
  49%,
  100% {
    opacity: 0;
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto auto;
  }

  .menu-toggle {
    display: inline-flex;
    order: 3;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 10px;
    left: 10px;
    width: auto;
    justify-self: stretch;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(10, 11, 11, 0.92);
    padding: 10px;
    backdrop-filter: blur(18px);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    justify-content: center;
  }

  .admin-page .site-header {
    grid-template-columns: 1fr auto;
  }

  .admin-page .main-nav {
    position: static;
    grid-column: 1 / -1;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: stretch;
    background: rgba(255, 255, 255, 0.06);
    border: 0;
    padding: 4px;
  }

  .admin-page .main-nav a {
    flex: 1 1 135px;
  }

  .admin-media-panel .contact-intro,
  .admin-image-row,
  .admin-media-panel [data-gallery].admin-grid {
    grid-template-columns: 1fr;
  }

  .admin-media-panel .contact-intro p:not(.eyebrow) {
    grid-column: 1;
    grid-row: auto;
  }

  .admin-gallery-row {
    grid-template-columns: minmax(120px, 0.36fr) minmax(0, 0.64fr);
  }

  .hero,
  .intro-grid,
  .split-panel,
  .contact-section,
  .contact-panel,
  .top-info-section,
  .content-shell,
  .contact-band,
  .quick-search {
    grid-template-columns: 1fr;
  }

  .page-gallery {
    position: static;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-gallery.home-gallery-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sitemap-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    min-height: auto;
    padding-top: 140px;
  }

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .photo-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header {
    inset: 10px 10px auto;
    gap: 8px;
    border-radius: 16px;
  }

  .bg8-edit-mode .site-header {
    inset: 92px 10px auto;
  }

  .brand img {
    width: 104px;
  }

  .admin-brand > span {
    display: grid;
  }

  .admin-brand img {
    width: 34px;
    height: 34px;
  }

  .admin-action {
    min-height: 38px;
    padding: 0 11px;
    font-size: 12px;
  }

  .admin-action.is-primary {
    display: none;
  }

  .admin-main {
    padding-top: 92px;
  }

  .admin-dashboard-head {
    display: grid;
    gap: 18px;
    align-items: start;
    width: calc(100% - 28px);
    padding: 30px 0 18px;
  }

  .admin-dashboard-head h1 {
    font-size: clamp(32px, 10vw, 44px);
  }

  .admin-security-badge {
    width: fit-content;
  }

  .search-trigger {
    padding: 0 14px;
  }

  .hero {
    padding: 112px 14px 44px;
  }

  .page-hero {
    min-height: auto;
    padding: 112px 14px 44px;
  }

  .hero-content,
  .page-hero-inner,
  .hero-card,
  .quick-search,
  .glass-panel,
  .contact-card,
  .modern-form {
    border-radius: 16px;
  }

  .page-hero-inner {
    grid-template-columns: 1fr;
    gap: 14px;
    text-align: center;
  }

  .home-page .page-hero-inner {
    text-align: center;
  }

  .home-page .page-hero-inner .hero-copy {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
  }

  .home-page .opening-status {
    justify-self: center;
    text-align: left;
  }

  .home-page .hero-title-block h1 {
    font-size: clamp(31px, 9.2vw, 42px);
  }

  .home-page .hero-logo-heading {
    justify-content: center;
    min-height: 80px;
  }

  .home-page .hero-logo {
    width: min(100%, 344px);
    transform-origin: center;
  }

  .home-eyebrow {
    font-size: 11px;
    letter-spacing: 0.06em;
  }

  .hero-ball-stage {
    right: -42px;
    bottom: auto;
    top: 86px;
    width: 190px;
    opacity: 0.72;
  }

  .page-hero-inner h1 {
    font-size: clamp(36px, 11vw, 46px);
  }

  .page-hero-inner .hero-copy {
    font-size: 17px;
  }

  .page-hero-inner .hero-actions {
    grid-column: 1 / -1;
    justify-content: center;
  }

  .section {
    padding: 48px 14px;
  }

  .card-grid,
  .gallery-strip,
  .compact-grid,
  .sitemap-grid,
  .top-info-section,
  .page-gallery,
  .page-gallery.home-gallery-row,
  .team-grid,
  .photo-gallery,
  .photo-gallery {
    grid-template-columns: 1fr;
  }

  .special-hours-list {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .special-hours-list strong {
    margin-bottom: 10px;
  }

  .team-member {
    grid-template-columns: 1fr;
  }

  .member-photo,
  .member-fallback {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .photo-card.is-large {
    grid-column: span 1;
    grid-row: span 1;
  }

  .external-card {
    min-height: 92px;
  }

  .gallery-strip img {
    height: 240px;
  }

  .image-stack {
    min-height: auto;
    display: grid;
    gap: 14px;
  }

  .image-stack img {
    position: static;
    width: 100%;
  }

  .hours-list {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .hours-list strong {
    margin-bottom: 10px;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .admin-grid,
  .admin-regular-hours-grid,
  .admin-image-row,
  .admin-panel,
  .admin-hours-row,
  .admin-status-override-fields {
    grid-template-columns: 1fr;
  }

  .admin-savebar {
    bottom: 10px;
    gap: 12px;
  }

  .admin-savebar .button {
    width: 100%;
  }

  .admin-save-status {
    width: 100%;
  }

  .admin-toast-region {
    right: 16px;
    bottom: 126px;
  }

  .admin-gallery-row,
  .admin-gallery-fields {
    grid-template-columns: 1fr;
  }

  .form-footer {
    align-items: stretch;
  }

  .form-footer .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
