:root {
  color-scheme: light;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --accent: #8b1e2d;
  --on-accent: #ffffff;
  --focus: #0b63ce;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 0;
}

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

img {
  height: auto;
}

button,
input,
textarea,
select {
  font: inherit;
}

a {
  color: inherit;
  text-decoration-thickness: 0.09em;
  text-underline-offset: 0.18em;
}

:where(a, button, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  inset: 0 auto auto 1rem;
  padding: 0.75rem 1rem;
  color: #111111;
  background: #ffffff;
  border: 2px solid currentColor;
  transition: none;
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: translateY(1rem);
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

[hidden] {
  display: none !important;
}

.btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.72rem 1rem;
  border: 2px solid var(--accent);
  border-radius: 0;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: color 160ms ease, background-color 160ms ease,
    border-color 160ms ease, transform 160ms ease;
}

.btn-primary {
  color: var(--on-accent);
  background: var(--accent);
}

.btn-ghost {
  color: var(--accent);
  background: transparent;
}

.btn:hover {
  transform: translateY(-1px);
}

.inline-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.inline-list li,
.song-list li,
.experience-list li,
.place-list li {
  overflow-wrap: anywhere;
}

.contact-line {
  font-variant-numeric: tabular-nums;
  user-select: all;
}

summary {
  cursor: pointer;
  min-height: 44px;
}

p,
li,
dd {
  text-wrap: pretty;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

/* Phone-only booking bar. Variants set its colors; pages that use it add
   class="has-book-bar" to <body>. A spacer after the footer keeps the last
   content clear of the bar; --book-bar-under paints it to match the footer. */
.book-bar {
  display: none;
}

@media (max-width: 47.99rem) {
  .book-bar {
    position: fixed;
    z-index: 60;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.5rem;
    padding: 0.6rem 1rem calc(0.6rem + env(safe-area-inset-bottom, 0px));
  }

  .book-bar .btn {
    min-height: 48px;
  }

  .has-book-bar::after {
    display: block;
    height: calc(4.5rem + env(safe-area-inset-bottom, 0px));
    content: "";
    background: var(--book-bar-under, transparent);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  .skip-link,
  nav,
  .btn {
    display: none !important;
  }

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