/* ============================================
   Sholom Musician Website — Mockup Styles
   ============================================ */

:root {
  --plum: #351F30;
  --burgundy: #583A43;
  --brown: #A9866B;
  --beige: #E8D7BE;
  --cream: #F6EDE0;
  --white: #FFFCFA;
  --text-on-dark: #F6EDE0;
  --text-on-light: #351F30;
  --muted-on-dark: rgba(246, 237, 224, 0.72);
  --muted-on-light: rgba(53, 31, 48, 0.68);
  --border-dark: rgba(246, 237, 224, 0.22);
  --border-light: rgba(53, 31, 48, 0.14);
  --focus: #C4A484;
  --radius: 8px;
  --radius-lg: 10px;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.75rem;
  --space-lg: 3rem;
  --space-xl: 5rem;
  --space-2xl: 7rem;
  --max-width: 1180px;
  --max-text: 38rem;
  --header-height: 4.5rem;
  --font-heading: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --transition: 0.28s ease;
}

/* ---------- Reset & Base ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-on-light);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color var(--transition), border-color var(--transition),
    background-color var(--transition), opacity var(--transition);
}

a:hover {
  color: var(--brown);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.25;
  margin: 0 0 var(--space-sm);
}

h1 {
  font-size: clamp(2rem, 4vw, 2.85rem);
}

h2 {
  font-size: clamp(1.55rem, 3vw, 2.1rem);
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0 0 var(--space-sm);
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(100% - 3rem, var(--max-width));
  margin-inline: auto;
}

.section {
  padding: var(--space-xl) 0;
}

.section--tight {
  padding: var(--space-lg) 0;
}

.section--page {
  padding-top: calc(var(--space-xl) + 1rem);
}

.section--lead {
  padding-bottom: 1.5rem;
}

/* Homepage music block — balanced space between hero and footer */
.section--home-music {
  padding-block: clamp(4.25rem, 11vh, 6.25rem);
}

.section--dark {
  background: var(--plum);
  color: var(--text-on-dark);
}

.section--burgundy {
  background: var(--burgundy);
  color: var(--text-on-dark);
}

.section--beige {
  background: var(--beige);
  color: var(--text-on-light);
}

.section--cream {
  background: var(--cream);
  color: var(--text-on-light);
}

.section-intro {
  max-width: var(--max-text);
  margin-bottom: var(--space-lg);
}

.section-intro--center {
  margin-inline: auto;
  text-align: center;
}

.section-intro p,
.muted {
  color: var(--muted-on-light);
}

.section--dark .muted,
.section--burgundy .muted,
.section--dark .section-intro p,
.section--burgundy .section-intro p {
  color: var(--muted-on-dark);
}

.placeholder-note {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brown);
  opacity: 0.75;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--plum);
  color: var(--text-on-dark);
  border-bottom: 1px solid var(--border-dark);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  gap: var(--space-sm);
}

.logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.logo-link img {
  height: 2.5rem;
  width: auto;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-dark);
  color: var(--cream);
  border-radius: var(--radius);
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle-bar {
  display: block;
  width: 1.15rem;
  height: 1.5px;
  background: currentColor;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.site-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.35rem 1.35rem;
}

.nav-list a:not(.btn) {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--muted-on-dark);
  padding: 0.4rem 0;
  border-bottom: 1px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}

.nav-list a:not(.btn):hover,
.nav-list a:not(.btn):focus-visible {
  color: var(--cream);
}

.nav-list a:not(.btn)[aria-current="page"] {
  color: var(--cream);
  border-bottom-color: var(--brown);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-decoration: none;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background-color var(--transition), color var(--transition),
    border-color var(--transition), transform var(--transition),
    box-shadow var(--transition);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--cream);
  color: var(--plum);
  border-color: var(--cream);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--beige);
  color: var(--plum);
  border-color: var(--beige);
}

.btn--outline {
  background: transparent;
  color: var(--cream);
  border-color: var(--cream);
}

.btn--outline:hover,
.btn--outline:focus-visible {
  background: rgba(246, 237, 224, 0.12);
  color: var(--cream);
}

.btn--outline-dark {
  background: transparent;
  color: var(--plum);
  border-color: var(--plum);
}

.btn--outline-dark:hover,
.btn--outline-dark:focus-visible {
  background: var(--plum);
  color: var(--cream);
}

.btn--filled-dark {
  background: var(--plum);
  color: var(--cream);
  border-color: var(--plum);
}

.btn--filled-dark:hover,
.btn--filled-dark:focus-visible {
  background: var(--burgundy);
  border-color: var(--burgundy);
  color: var(--cream);
}

.btn--ghost {
  background: transparent;
  color: var(--plum);
  border-color: var(--border-light);
  padding-inline: 1.15rem;
}

.btn--ghost:hover {
  border-color: var(--plum);
  color: var(--plum);
}

.btn--nav {
  padding: 0.7rem 1.5rem;
  margin-left: 1.35rem;
  border-radius: 9px;
}

.btn--outline.btn--nav:hover,
.btn--outline.btn--nav:focus-visible {
  background: var(--cream);
  color: var(--plum);
  border-color: var(--cream);
  transform: translateY(-1px);
}

.btn--outline.btn--nav:active {
  transform: translateY(1px);
  background: var(--beige);
  border-color: var(--beige);
  color: var(--plum);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-on-dark);
  text-align: center;
  /* Taller cinematic hero; content stays vertically centered */
  min-height: clamp(32rem, 78vh, 46rem);
  padding: clamp(3.5rem, 8vh, 5.5rem) 0;
  overflow: hidden;
}

/* Background variants — switch class on <section class="hero ..."> in index.html */
.hero--solid {
  background-color: var(--plum);
}

.hero--solid .hero-media {
  display: none;
}

.hero--photo {
  /*
    concert-extended.png is 2048×768.
    Face column measured at ≈1020px → 49.8% from the left.
    --hero-pos-x is set in JS so that face point maps to the hero’s
    horizontal center under object-fit: cover (not raw 49.8%/50%).

    Photo lives in .hero-stage; CTAs sit in .hero-cta below the image.

    Cover box (--hero-cover-h) stays top-anchored so object-fit zoom does not
    increase. --hero-bottom-extend lengthens the visible photo downward;
    face-anchored scale bleeds the audience into that zone so the photo
    fills it (no plum gap).
  */
  --hero-parallax-y: 0px;
  --hero-face-x: 49.8%;
  --hero-pos-x: 49.8%;
  --hero-focus-y: 22%;
  --hero-cover-h: clamp(38rem, 90vh, 56rem);
  --hero-bottom-extend: 3.25rem;
  --hero-img-scale: 1.11;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  background-color: var(--plum);
  padding: 0;
  min-height: 0;
  overflow: visible;
}

.hero--photo .hero-stage {
  position: relative;
  overflow: hidden;
  background-color: var(--plum);
  min-height: calc(var(--hero-cover-h) + var(--hero-bottom-extend));
}

/* Clipped photo layer — fills the entire stage */
.hero--photo .hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero--photo .hero-media img {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  /* Locked cover height — top-anchored; does not grow with the extend */
  height: var(--hero-cover-h);
  max-height: none;
  object-fit: cover;
  object-position: var(--hero-pos-x) var(--hero-focus-y);
  transform: translate3d(0, var(--hero-parallax-y), 0) scale(var(--hero-img-scale));
  transform-origin: var(--hero-pos-x) var(--hero-focus-y);
  /* Nearly pure B&W; purple comes only from the faint ::after wash */
  filter: grayscale(100%);
  will-change: transform;
  user-select: none;
}

/* Static overlay on the photo only (~2% purple + neutral dark) */
.hero--photo .hero-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      rgba(53, 31, 48, 0.02),
      rgba(53, 31, 48, 0.02)
    ),
    linear-gradient(
      rgba(0, 0, 0, 0.36),
      rgba(0, 0, 0, 0.44)
    );
}

.hero > .container {
  position: relative;
  z-index: 2;
  width: min(100% - 3rem, var(--max-width));
  margin-inline: auto;
}

/*
  Brand overlay on the photo stage.
  top % is relative to stage height; left:50% is the true horizontal center.
*/
.hero--photo .hero-stage > .container {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0 1.5rem;
}

/* Logo + tagline: ~30–40px above top of head (desktop / laptop) */
.hero--photo .hero-brand {
  position: absolute;
  left: 50%;
  /* Raised so tagline clears the top of the head (~30–40px gap) */
  top: max(0.5rem, calc(38% - 12.5rem - 100px));
  transform: translateX(-50%);
  width: min(100%, 36rem);
  margin: 0;
}

/* CTAs sit fully below the photograph on the plum ground */
.hero--photo .hero-cta {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--plum);
  padding: 1.15rem 1.5rem 1.35rem;
}

.hero--photo .hero-cta .btn-group {
  position: static;
  transform: none;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 0.85rem; /* ~14px */
  width: auto;
  max-width: 100%;
  margin: 0;
}

/* Tablet — slightly shorter stage; brand anchors preserved */
@media (max-width: 900px) {
  .hero {
    min-height: clamp(30rem, 76vh, 42rem);
  }

  .hero--photo {
    --hero-focus-y: 20%;
    --hero-cover-h: clamp(36rem, 86vh, 50rem);
    --hero-bottom-extend: 3rem;
    --hero-img-scale: 1.11;
    min-height: 0;
  }

  .hero--photo .hero-brand {
    /* Raised further on tablet so the tagline clears the head */
    top: max(0.45rem, calc(44% - 11.75rem - 155px));
  }
}

/* Phones only (<768px): shorter photo from the bottom + brand nudge */
@media (max-width: 767px) {
  .hero--photo {
    --hero-focus-y: 18%;
    /* Cover box unchanged (crop/scale/face); stage clips another 100px at the bottom */
    --hero-cover-h: min(84svh, 41rem);
    --hero-bottom-extend: calc(0.75rem - 100px);
    --hero-img-scale: 1.05;
    min-height: 0;
    padding: 0;
  }

  .hero--photo .hero-brand {
    /* ~40px below the prior near-top pin; keeps ~30–40px above the head */
    top: 2.75rem;
    width: min(100%, 22rem);
  }

  .hero--photo .hero-cta .btn-group {
    flex-direction: column;
    align-items: stretch;
    width: min(100%, 20rem);
  }

  .hero--photo .hero-cta .btn-group .btn {
    width: 100%;
  }
}

@media (max-width: 720px) {
  .hero {
    /* svh accounts for mobile browser chrome more stably than vh */
    min-height: min(86svh, 40rem);
    padding: clamp(3.25rem, 7vh, 4.5rem) 0;
  }

  .hero--photo {
    padding: 0;
  }

  .hero--photo .hero-stage > .container {
    padding: 0 1.25rem;
  }

  .hero--photo .hero-cta {
    padding: 1rem 1.25rem 1.25rem;
  }
}

@media (max-width: 400px) {
  .hero {
    min-height: min(88svh, 38rem);
  }

  .hero--photo {
    --hero-cover-h: min(84svh, 39rem);
    --hero-bottom-extend: calc(0.5rem - 100px);
  }

  .hero--photo .hero-brand {
    top: 2.5rem;
  }
}

.hero-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 0;
}

.hero-logo {
  /* ~28% smaller than the previous 360px max */
  width: min(88%, 258px);
  height: auto;
  margin: 0;
}

.hero-tagline {
  font-family: var(--font-heading);
  font-size: clamp(0.78rem, 1.6vw, 0.92rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--beige);
  margin: 0.15rem 0 0;
}

.hero .btn-group {
  justify-content: center;
}

/* Solid hero keeps stacked flow spacing; photo hero CTAs sit in .hero-cta */
.hero:not(.hero--photo) .btn-group {
  margin-top: calc(1.85rem + 10px);
}

/* ---------- About ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.about-copy {
  max-width: 34rem;
}

.about-copy h1 {
  margin-bottom: var(--space-sm);
}

.about-copy .lead {
  font-size: 1.12rem;
  color: var(--text-on-light);
  max-width: 32rem;
}

.framed-media {
  position: relative;
  aspect-ratio: 3 / 4;
  max-width: 420px;
  margin-inline: auto;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--burgundy);
  border: 1px solid rgba(53, 31, 48, 0.12);
  box-shadow: 0 10px 32px rgba(53, 31, 48, 0.1);
}

.framed-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.media-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  height: 100%;
  min-height: 220px;
  padding: var(--space-md);
  text-align: center;
  background: linear-gradient(160deg, var(--burgundy), var(--plum));
  color: var(--cream);
}

.media-placeholder--light {
  background: linear-gradient(160deg, var(--beige), #d9c4a8);
  color: var(--plum);
}

.media-placeholder span {
  font-family: var(--font-heading);
  font-size: 1rem;
}

.media-placeholder small {
  opacity: 0.75;
  font-size: 0.8rem;
}

/* ---------- Music links ---------- */

.music-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.music-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.9rem 1.4rem;
  background: var(--beige);
  border: 1px solid var(--beige);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--plum);
  min-width: 10.5rem;
  transition: background-color var(--transition), border-color var(--transition),
    color var(--transition), transform var(--transition);
}

.music-link:active {
  transform: translateY(1px);
}

.music-link:hover,
.music-link:focus-visible {
  background: #f1e5d1;
  border-color: #f1e5d1;
  color: var(--plum);
}

/* Brief attention cue when "Listen to My Music" is clicked */
.music-link.is-highlighted {
  animation: music-link-glow 1.35s ease-out;
}

@keyframes music-link-glow {
  0% {
    box-shadow: 0 0 0 0 rgba(246, 237, 224, 0);
    background: var(--beige);
    border-color: var(--beige);
  }
  35% {
    box-shadow:
      0 0 0 3px rgba(246, 237, 224, 0.85),
      0 0 22px rgba(169, 134, 107, 0.45);
    background: #f3e8d6;
    border-color: #d4b896;
  }
  100% {
    box-shadow: 0 0 0 0 rgba(246, 237, 224, 0);
    background: var(--beige);
    border-color: var(--beige);
  }
}

.music-link-icon {
  width: 1.35rem;
  height: 1.35rem;
  flex-shrink: 0;
  opacity: 0.9;
}

/* ---------- Preview cards ---------- */

.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-bottom: var(--space-lg);
}

.preview-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.preview-card__media {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--burgundy);
}

.preview-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.preview-card:hover .preview-card__media img {
  transform: scale(1.03);
}

.preview-card__label {
  font-size: 0.88rem;
  color: var(--muted-on-light);
  margin: 0;
}

.cta-banner {
  text-align: center;
  padding: var(--space-lg) 0;
}

.cta-banner p {
  max-width: 30rem;
  margin-inline: auto;
  margin-bottom: var(--space-md);
}

/* ---------- Gallery (Performances) ---------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--burgundy);
  margin: 0;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.gallery-item:hover img {
  transform: scale(1.03);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.video-placeholder {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

/* ---------- Events empty state ---------- */

.events-page {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100vh - var(--header-height) - 12rem);
  padding-bottom: var(--space-2xl);
}

.empty-state {
  text-align: center;
  padding: clamp(3rem, 6vw, 4.5rem) 2rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  background: var(--white);
  max-width: 34rem;
  margin-inline: auto;
}

.empty-state__icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto var(--space-md);
  border: 1.5px solid var(--brown);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brown);
  font-family: var(--font-heading);
  font-size: 1.25rem;
}

.empty-state h2 {
  font-size: 1.35rem;
  margin-bottom: 0.65rem;
}

.empty-state .btn {
  margin-top: 0.75rem;
}

.events-list {
  display: grid;
  gap: var(--space-md);
  max-width: 40rem;
  margin-inline: auto;
}

.event-card {
  padding: var(--space-md);
  border-bottom: 1px solid var(--border-light);
}

.event-card__date {
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brown);
  margin-bottom: 0.35rem;
}

/* ---------- Booking ---------- */

.booking-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(16rem, 0.7fr);
  gap: 2rem;
  align-items: start;
}

.form-panel,
.contact-panel {
  padding: 1.75rem;
  border-radius: var(--radius-lg);
}

.form-panel {
  background: var(--white);
  border: 1px solid var(--border-light);
}

.contact-panel {
  align-self: start;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: var(--plum);
  color: var(--cream);
  padding: 1.4rem 1.45rem;
}

.contact-panel h2 {
  font-size: 1.2rem;
  margin: 0;
}

.contact-panel .muted,
.contact-panel > p {
  font-size: 0.92rem;
  margin: 0;
  line-height: 1.45;
  color: var(--muted-on-dark);
}

.contact-panel__note {
  margin-top: 1rem;
}

.contact-panel a {
  color: var(--beige);
}

.contact-panel a:hover {
  color: var(--cream);
}

.mockup-banner {
  margin-bottom: var(--space-md);
  padding: 0.8rem 1rem;
  background: rgba(169, 134, 107, 0.14);
  border-left: 3px solid var(--brown);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.9rem;
  color: var(--muted-on-light);
}

.form-group {
  margin-bottom: 1.1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.form-group .optional {
  font-weight: 400;
  color: var(--muted-on-light);
  font-size: 0.85rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  background: var(--cream);
  color: var(--text-on-light);
  transition: border-color var(--transition);
}

.form-group input[type="date"] {
  max-width: 100%;
  min-width: 0;
}

.form-group textarea {
  min-height: 8rem;
  resize: vertical;
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
  border-color: var(--brown);
}

.location-combobox__wrap {
  position: relative;
}

.location-suggestions {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 0.25rem);
  z-index: 8;
  margin: 0;
  padding: 0.35rem 0;
  list-style: none;
  max-height: none;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
}

.location-suggestions[hidden] {
  display: none;
}

.location-suggestion {
  display: block;
  width: 100%;
  padding: 0.55rem 0.9rem;
  border: 0;
  background: transparent;
  color: var(--text-on-light);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.location-suggestion:hover,
.location-suggestion.is-active {
  background: rgba(169, 134, 107, 0.16);
}

.form-turnstile {
  position: relative;
  z-index: 5;
  margin-top: 0.25rem;
  min-height: 65px;
  overflow: visible;
  pointer-events: auto;
  isolation: isolate;
}

#booking-turnstile {
  position: relative;
  z-index: 5;
  min-height: 65px;
  pointer-events: auto;
}

.form-turnstile iframe {
  position: relative;
  z-index: 6;
  pointer-events: auto !important;
}

.form-turnstile .cf-turnstile {
  display: inline-block;
  max-width: 100%;
  pointer-events: auto;
}

.form-feedback {
  display: none;
  margin-top: var(--space-sm);
  padding: 0.9rem 1rem;
  background: var(--beige);
  border-radius: var(--radius);
  color: var(--plum);
}

.form-feedback.is-visible {
  display: block;
}

.form-feedback.is-error {
  background: rgba(169, 134, 107, 0.18);
  color: var(--plum);
}

.form-feedback.is-success {
  background: var(--beige);
  color: var(--plum);
}

#booking-submit:disabled {
  opacity: 0.72;
  cursor: wait;
  transform: none;
}

.booking-debug {
  display: none;
  margin-top: var(--space-sm);
  padding: 0.85rem 1rem;
  border: 1px dashed var(--border-light);
  border-radius: var(--radius);
  background: rgba(53, 31, 48, 0.04);
  color: var(--muted-on-light);
  font-size: 0.85rem;
  line-height: 1.45;
  word-break: break-word;
}

.booking-debug.is-visible {
  display: block;
}

.booking-debug__title {
  margin: 0 0 0.35rem;
  font-weight: 600;
  color: var(--plum);
  font-size: 0.88rem;
}

.booking-debug p {
  margin: 0.2rem 0;
}

.direct-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 1.4rem; /* ~22px under the heading */
}

.direct-contact-list a {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--border-dark);
  text-decoration: none;
}

.direct-contact-list a:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.direct-contact-list .label {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
}

.direct-contact-list .value {
  font-size: 0.95rem;
  color: var(--cream);
}

.direct-contact-list a:hover .value {
  color: var(--beige);
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--plum);
  color: var(--text-on-dark);
  padding: var(--space-xl) 0 var(--space-lg);
  border-top: 1px solid var(--border-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.footer-brand img {
  height: 2.65rem;
  width: auto;
  margin-bottom: 0.65rem;
}

.footer-brand p {
  color: var(--muted-on-dark);
  max-width: 16rem;
  font-size: 0.95rem;
}

.footer-heading {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brown);
  margin-bottom: var(--space-sm);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-links a {
  text-decoration: none;
  color: var(--muted-on-dark);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--cream);
}

.footer-bottom {
  padding-top: var(--space-md);
  border-top: 1px solid var(--border-dark);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-sm);
  font-size: 0.85rem;
  color: var(--muted-on-dark);
}

/* ---------- Scroll reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn:hover,
  .preview-card:hover .preview-card__media img,
  .gallery-item:hover img {
    transform: none;
  }

  .hero--photo .hero-media img {
    transform: none;
    will-change: auto;
  }

  .music-link.is-highlighted {
    animation: none;
    background: #f1e5d1;
    border-color: var(--brown);
    box-shadow: 0 0 0 2px rgba(246, 237, 224, 0.9);
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .about-grid,
  .booking-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .about-copy {
    max-width: none;
  }

  .preview-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .framed-media {
    max-width: 360px;
  }

}

@media (max-width: 720px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--plum);
    border-bottom: 1px solid var(--border-dark);
    padding: var(--space-sm) 1.25rem var(--space-md);
    display: none;
  }

  .site-nav.is-open {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
  }

  .nav-list a:not(.btn),
  .nav-list a:not(.btn):hover,
  .nav-list a:not(.btn):active,
  .nav-list a:not(.btn):focus,
  .nav-list a:not(.btn):focus-visible,
  .nav-list a:not(.btn)[aria-current="page"] {
    padding: 0.75rem 0.25rem;
    border-bottom: none;
    text-decoration: none;
  }

  .btn--nav {
    margin-left: 0;
    margin-top: 0.65rem;
    width: 100%;
  }

  .hero-brand {
    margin-bottom: 0;
  }

  .hero-logo {
    width: min(100%, 195px);
  }

  .preview-grid,
  .gallery-grid,
  .video-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .btn-group {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-group .btn {
    width: 100%;
  }

  /* Photo-hero CTAs: stacking is controlled in the hero block (768px). */
  .hero--photo .hero-cta .btn-group {
    flex-direction: column;
    align-items: stretch;
  }

  .hero--photo .hero-cta .btn-group .btn {
    width: 100%;
  }

  .form-panel,
  .contact-panel {
    padding: 1.35rem;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .music-link {
    width: 100%;
  }

  .events-page {
    min-height: auto;
  }
}
