/* Perryoke® responsive website starter
   Mobile-first, framework-free, PHP/MySQL-friendly, PWA-ready.
*/

.trademark {
  font-size: 0.52em;
  line-height: 0;
  position: relative;
  top: -0.42em;
  margin-left: 0.06em;
}

:root {
  --ink: #0c0806;
  --ink-soft: #17100c;
  --wood: #2c170d;
  --cream: #f7f0e5;
  --muted: #c9b9a5;
  --gold: #cf9b48;
  --gold-light: #efd28b;
  --purple: #6f36a9;
  --line: rgba(239, 210, 139, .22);
  --glass: rgba(15, 9, 6, .74);
  --radius: 1.25rem;
  --shadow: 0 24px 70px rgba(0, 0, 0, .35);
  --page-width: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--cream);
  background: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 9999;
  padding: .75rem 1rem;
  background: var(--cream);
  color: var(--ink);
  border-radius: .5rem;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease;
  padding-top: env(safe-area-inset-top);
}

.site-header.scrolled {
  background: rgba(10, 7, 5, .86);
  border-color: var(--line);
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: min(calc(100% - 2rem), var(--page-width));
  min-height: 76px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.28));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  color: var(--cream);
  text-decoration: none;
}

.brand-name {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1;
  text-shadow: 0 3px 12px rgba(0,0,0,.7);
  white-space: nowrap;
}

.brand-name small {
  display: block;
  margin-top: .25rem;
  color: var(--gold-light);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: .62rem;
  font-weight: 850;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.nav-toggle {
  width: 46px;
  height: 46px;
  padding: 10px;
  display: grid;
  align-content: center;
  gap: 5px;
  background: rgba(0,0,0,.35);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: white;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: currentColor;
}

.primary-nav {
  position: absolute;
  top: calc(100% + .5rem);
  left: 1rem;
  right: 1rem;
  display: none;
  padding: .75rem;
  background: rgba(13, 9, 6, .96);
  border: 1px solid var(--line);
  border-radius: 1rem;
  box-shadow: var(--shadow);
}

.primary-nav.open {
  display: grid;
}

.primary-nav a {
  padding: .85rem 1rem;
  text-decoration: none;
  border-radius: .7rem;
  font-weight: 750;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  background: rgba(255,255,255,.07);
}

.nav-cta {
  color: #1b1007 !important;
  background: linear-gradient(135deg, var(--gold-light), var(--gold)) !important;
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  isolation: isolate;
  display: grid;
  align-items: end;
  padding:
    max(7rem, calc(6rem + env(safe-area-inset-top)))
    1rem
    max(2rem, calc(1.5rem + env(safe-area-inset-bottom)));

  background-image:
    url("../images/backgrounds/perryoke-bg-mobile-1440x2560.webp");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

@supports (background-image: url("../images/backgrounds/perryoke-bg-mobile-1440x2560.avif")) {
  .hero {
    background-image:
      url("../images/backgrounds/perryoke-bg-mobile-1440x2560.avif");
  }
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(5,3,2,.14) 0%, rgba(5,3,2,.27) 42%, rgba(5,3,2,.84) 100%),
    linear-gradient(90deg, rgba(5,3,2,.28), transparent 42%, rgba(5,3,2,.20));
}

.hero-content {
  width: min(100%, var(--page-width));
  margin-inline: auto;
  display: grid;
  gap: 1.25rem;
}

.hero-copy {
  max-width: 730px;
}

.eyebrow {
  margin: 0 0 .55rem;
  color: var(--gold-light);
  font-weight: 850;
  letter-spacing: .16em;
  font-size: .78rem;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.03;
}

h1 {
  margin: 0;
  font-size: clamp(2.8rem, 10vw, 6rem);
  max-width: 950px;
  text-shadow: 0 12px 34px rgba(0,0,0,.55);
}

h1 span {
  color: var(--gold-light);
}

.hero-line {
  display: block;
  white-space: nowrap;
}

@media (max-width: 340px) {
  .hero h1 {
    font-size: 2.35rem;
  }
}

.hero-lead {
  max-width: 650px;
  margin: 1rem 0 0;
  color: #f4eadb;
  font-size: clamp(1rem, 3vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.5rem;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .75rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 850;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: #211307;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: 0 12px 30px rgba(207,155,72,.25);
}

.button-secondary {
  color: var(--cream);
  background: rgba(15,10,7,.62);
  border-color: rgba(255,255,255,.24);
  backdrop-filter: blur(10px);
}

.next-show-card {
  padding: 1.25rem;
  background: rgba(14, 9, 6, .74);
  border: 1px solid rgba(239,210,139,.28);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.next-show-card h2 {
  margin: .15rem 0 .35rem;
  font-size: clamp(1.55rem, 5vw, 2.35rem);
}

.next-show-card p {
  margin: .25rem 0;
  color: var(--muted);
}

.next-show-card a,
.text-link {
  display: inline-block;
  margin-top: .65rem;
  color: var(--gold-light);
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.card-kicker {
  color: var(--gold-light) !important;
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: .18em;
}

.section {
  width: min(calc(100% - 2rem), var(--page-width));
  margin-inline: auto;
  padding: 4.5rem 0;
}

.section-dark {
  width: 100%;
  max-width: none;
  padding-inline: max(1rem, calc((100vw - var(--page-width))/2));
  background:
    radial-gradient(circle at 85% 15%, rgba(111,54,169,.16), transparent 25rem),
    linear-gradient(180deg, #120b07, #090605);
  border-block: 1px solid var(--line);
}

.section-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.logo-panel {
  width: min(76vw, 390px);
  margin-inline: auto;
  padding: 1rem;
  border-radius: 50%;
  filter: drop-shadow(0 28px 45px rgba(0,0,0,.32));
}

.logo-panel img {
  aspect-ratio: 1;
  object-fit: contain;
}

.logo-panel.luxury {
  width: min(88vw, 470px);
  max-width: 100%;
  border-radius: 1.5rem;
}

.dj-feature {
  border-bottom: 0;
}

.dj-feature + #karaoke {
  border-top-color: rgba(239, 210, 139, .38);
}

.section h2 {
  margin: 0;
  font-size: clamp(2rem, 7vw, 4.2rem);
}

.section p {
  color: var(--muted);
  font-size: 1.05rem;
}

.section p strong {
  color: var(--cream);
}

.intro-heading {
  align-items: end;
}

.service-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: clamp(1.25rem, 4vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(53,33,21,.74), rgba(22,14,10,.92));
  box-shadow: 0 18px 50px rgba(0,0,0,.2);
}

.service-card h3,
.promise-panel h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  line-height: 1.1;
}

.service-card .service-number {
  margin: 0 0 1.5rem;
  color: var(--gold-light);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .18em;
}

.service-card .text-link {
  margin-top: auto;
  padding-top: .75rem;
}

.experience-grid {
  align-items: stretch;
}

.promise-panel {
  padding: clamp(1.4rem, 4vw, 2.4rem);
  border: 1px solid rgba(239,210,139,.3);
  border-radius: var(--radius);
  background: radial-gradient(circle at 100% 0, rgba(207,155,72,.17), transparent 18rem), var(--ink-soft);
  box-shadow: var(--shadow);
}

.promise-panel .promise-stat {
  margin: 0 0 .3rem;
  color: var(--gold-light);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 8vw, 4.5rem);
  font-weight: 700;
  line-height: 1;
}

.feature-list {
  display: grid;
  gap: .7rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--cream);
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold-light);
  font-weight: 900;
}

.awards-band {
  padding: 4.5rem max(1rem, calc((100vw - var(--page-width))/2));
  background: linear-gradient(135deg, #3a1f10, #16100c 48%, #27122f);
  border-block: 1px solid var(--line);
}

.awards-inner {
  display: grid;
  gap: 2rem;
}

.awards-intro {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  text-align: left;
}

.award-seal {
  width: min(66vw, 250px);
  margin-inline: auto;
}

.award-seal img {
  width: 100%;
  filter:
    drop-shadow(1px 0 0 #f6d777)
    drop-shadow(-1px 0 0 #b87916)
    drop-shadow(0 1px 0 #f6d777)
    drop-shadow(0 -1px 0 #b87916)
    drop-shadow(0 12px 24px rgba(0,0,0,.4));
}

.awards-band h2 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(2rem, 6vw, 4rem);
}

.award-list {
  display: grid;
  gap: .7rem;
}

.award-record {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.award-record strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.15rem, 3vw, 1.45rem);
}

.award-record span {
  color: var(--gold-light);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.award-record small {
  flex-basis: 100%;
  color: var(--muted);
  font-size: .83rem;
  font-weight: 700;
  letter-spacing: .05em;
}

.section-heading {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.section-note {
  max-width: 600px;
}

.show-grid {
  display: grid;
  gap: .8rem;
}

.show-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .9rem;
  align-items: center;
  padding: 1rem;
  background: linear-gradient(145deg, rgba(53,33,21,.85), rgba(22,14,10,.92));
  border: 1px solid var(--line);
  border-radius: 1rem;
}

.show-card h3,
.show-card p {
  margin: 0;
}

.show-card h3 {
  font-size: 1.08rem;
}

.show-card p {
  font-size: .92rem;
}

.show-card > a {
  grid-column: 2;
  color: var(--gold-light);
  font-weight: 800;
}

.show-day {
  grid-row: 1 / span 2;
  width: 58px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: .85rem;
  color: #1b1007 !important;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  font-size: .82rem !important;
  font-weight: 950;
}

.milestone {
  text-align: center;
}

.milestone p:last-child {
  max-width: 660px;
  margin-inline: auto;
}

.credentials {
  display: grid;
  gap: 2rem;
  align-items: center;
  text-align: left;
}

.credentials-copy p:last-child {
  max-width: 760px;
}

.credential-mark {
  width: min(70vw, 260px);
  margin-inline: auto;
  text-align: center;
}

.credential-mark img {
  width: 100%;
  filter: drop-shadow(0 18px 28px rgba(0,0,0,.34));
}

.credential-mark p {
  margin: .65rem 0 0;
  color: var(--gold-light);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1.35;
  text-transform: uppercase;
}

.contact {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  padding-bottom: 6rem;
}

.contact p {
  max-width: 680px;
}

.site-footer {
  display: grid;
  justify-items: center;
  gap: .75rem;
  padding:
    2.5rem 1rem
    max(2.5rem, calc(1.5rem + env(safe-area-inset-bottom)));
  text-align: center;
  background: #070504;
  border-top: 1px solid var(--line);
}

.site-footer img {
  width: 68px;
  height: 68px;
  object-fit: contain;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
}

.site-footer a {
  color: var(--gold-light);
}

.footer-content {
  display: grid;
  justify-items: center;
  gap: .65rem;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .55rem;
  margin-top: .15rem;
}

.site-footer .social-link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 40px;
  padding: .4rem .7rem .4rem .45rem;
  color: #f7efe2;
  font-size: .84rem;
  font-weight: 750;
  line-height: 1;
  text-decoration: none;
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(231, 197, 111, .25);
  border-radius: 999px;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease;
}

.site-footer .social-link:hover,
.site-footer .social-link:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, .11);
  border-color: var(--gold-light);
  transform: translateY(-2px);
}

.site-footer .social-link img {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  object-fit: contain;
}

@media (max-width: 400px) {
  .nav-shell {
    width: min(calc(100% - 1.25rem), var(--page-width));
    gap: .5rem;
  }

  .brand {
    min-width: 0;
    gap: .45rem;
  }

  .brand img {
    width: 50px;
    height: 50px;
  }

  .brand-name {
    font-size: .94rem;
  }

  .brand-name small {
    font-size: .56rem;
    letter-spacing: .12em;
  }

  .site-footer .social-link {
    width: 42px;
    min-height: 42px;
    justify-content: center;
    padding: .45rem;
  }

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

@media (max-width: 700px) {
  .hero-actions,
  .songbook-actions {
    justify-content: center;
  }

  .section-grid .button,
  .contact > .button {
    display: flex;
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
    text-align: center;
  }
}

@media (min-width: 769px) {
  .brand-name {
    display: block;
  }
  .hero {
    background-image:
      url("../images/backgrounds/perryoke-bg-tablet-1600x1600.webp");
    padding-inline: 2rem;
  }

  @supports (background-image: url("../images/backgrounds/perryoke-bg-tablet-1600x1600.avif")) {
    .hero {
      background-image:
        url("../images/backgrounds/perryoke-bg-tablet-1600x1600.avif");
    }
  }

  .hero-content {
    grid-template-columns: minmax(0, 1.55fr) minmax(280px, .65fr);
    align-items: end;
  }

  .section-grid {
    grid-template-columns: minmax(280px, .78fr) minmax(0, 1.22fr);
  }

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

  .experience-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr);
  }

  .awards-inner {
    grid-template-columns: minmax(0, 1.15fr) minmax(310px, .85fr);
    align-items: center;
  }

  .awards-intro {
    grid-template-columns: minmax(150px, 230px) minmax(0, 1fr);
    text-align: left;
  }

  .section-grid.reverse > :first-child {
    order: 2;
  }

  .section-heading,
  .contact {
    grid-template-columns: 1fr auto;
  }

  .credentials {
    grid-template-columns: minmax(0, 1fr) minmax(190px, 280px);
  }

  .show-card {
    grid-template-columns: auto 1fr auto;
  }

  .show-card > a {
    grid-column: auto;
  }
}

@media (min-width: 1101px) {
  .nav-toggle {
    display: none;
  }

  .primary-nav {
    position: static;
    display: flex;
    align-items: center;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
  }

  .brand img {
    width: 66px;
    height: 66px;
  }

  .brand-name {
    font-size: 1.15rem;
  }

  .hero {
    background-image:
      url("../images/backgrounds/perryoke-bg-desktop-2560x1440.webp");
    background-position: center;
    background-attachment: fixed;
    align-items: center;
    padding-bottom: 4rem;
  }

  @supports (background-image: url("../images/backgrounds/perryoke-bg-desktop-2560x1440.avif")) {
    .hero {
      background-image:
        url("../images/backgrounds/perryoke-bg-desktop-2560x1440.avif");
    }
  }

  .hero-content {
    align-items: center;
    padding-top: 5rem;
  }

  .next-show-card {
    padding: 1.5rem;
  }

  .section {
    padding-block: 6rem;
  }

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

/* Compact desktop and scaled-laptop viewports.
   Many 1366×768 Windows laptops expose roughly 1093×614 CSS pixels at
   the recommended 125% display scale, so width and height both matter. */
@media (min-width: 769px) and (max-width: 1400px),
       (min-width: 769px) and (max-height: 850px) {
  .hero h1 {
    font-size: clamp(3.2rem, 5.9vw, 5rem);
  }

  .hero-lead {
    font-size: clamp(1rem, 1.6vw, 1.12rem);
  }

  .hero-actions {
    margin-top: 1rem;
  }

  .next-show-card {
    padding: 1.1rem;
  }

  .next-show-card h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}


/* Dynamic schedule enhancements */
.card-kicker.is-live {
  color: #ffd79b !important;
  text-shadow: 0 0 18px rgba(255, 96, 54, .55);
}

.schedule-loading {
  grid-column: 1 / -1;
  padding: 1.25rem;
  color: var(--muted);
  text-align: center;
}

.show-date-badge {
  grid-row: 1 / span 2;
  width: 68px;
  min-height: 78px;
  display: grid;
  place-items: center;
  align-content: center;
  border-radius: .9rem;
  color: #1b1007;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: inset 0 1px rgba(255,255,255,.42);
  line-height: 1;
}

.show-date-badge .show-day {
  width: auto;
  aspect-ratio: auto;
  display: block;
  border-radius: 0;
  background: none;
  font-size: .68rem !important;
  letter-spacing: .08em;
}

.show-date-number {
  display: block;
  margin: .18rem 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
}

.show-month {
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .08em;
}

.show-card-time {
  color: var(--gold-light) !important;
  font-weight: 750;
}

.availability-panel {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(1rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: rgba(18, 11, 7, .8);
}

/* Fragment links from the service pages land on the calendar itself.
   Leave room for the fixed header, including the iPhone safe area. */
#availability {
  scroll-margin-top: calc(92px + env(safe-area-inset-top));
}

.calendar-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.calendar-heading h3 {
  margin: 0;
  text-align: center;
  font-size: clamp(1.15rem, 3vw, 1.6rem);
}

.calendar-heading button {
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--line);
  border-radius: .6rem;
  color: var(--gold-light);
  background: rgba(255,255,255,.06);
  font: inherit;
  font-size: 1.8rem;
  cursor: pointer;
}

.calendar-heading button:disabled { opacity: .35; cursor: default; }
.calendar-heading button:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 2px; }

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: .35rem;
}

.calendar-weekday, .calendar-day {
  min-width: 0;
  text-align: center;
}

.calendar-weekday {
  padding: .35rem 0;
  color: var(--muted);
  font-size: .75rem;
  font-weight: 800;
}

.calendar-day {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: .55rem;
  font-weight: 750;
}

.calendar-day.open { background: rgba(198, 156, 88, .18); color: var(--gold-light); }
.calendar-day.booked { background: #57362c; color: #fff1e8; }
.calendar-day.unavailable { background: repeating-linear-gradient(135deg, #292421 0 7px, #3b3430 7px 14px); color: #f5eee7; }
.calendar-day.past { opacity: .35; background: rgba(255,255,255,.05); }

.calendar-key {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  margin: 1.25rem 0 .5rem;
  color: var(--muted);
  font-size: .85rem;
}

.calendar-key span { width: .9rem; height: .9rem; border-radius: .2rem; }
.key-booked { background: #57362c; }
.key-unavailable { background: #302a27; margin-left: .6rem; }
.key-open { background: rgba(198, 156, 88, .5); margin-left: .6rem; }
.calendar-note { color: var(--muted); font-size: .9rem; }

.policy-header {
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.policy-header img { display: block; width: 76px; height: 76px; object-fit: contain; }
.policy-shell { width: min(820px, calc(100% - 2rem)); margin: 1rem auto 5rem; }
.policy-shell h1 { margin-bottom: .35rem; }
.policy-shell section { padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.policy-shell section h2 { margin: 0 0 .6rem; font-size: clamp(1.2rem, 3vw, 1.55rem); }
.policy-shell section p { margin: 0; color: var(--muted); }
.policy-updated { margin-top: 0; color: var(--muted); }
.policy-links { margin-top: 2rem; }
.policy-shell a, .site-footer a, .calendar-note a { color: var(--gold-light); }

/* Desktop wrapper for the phone-first karaoke songbook. */
.songbook-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 15%, rgba(111,54,169,.2), transparent 30rem),
    radial-gradient(circle at 85% 75%, rgba(207,155,72,.16), transparent 32rem),
    #0c0806;
}

.songbook-header {
  width: min(calc(100% - 2rem), var(--page-width));
  min-height: 86px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.songbook-header .brand img { width: 66px; height: 66px; }
.songbook-brand-name { display: block; }
.songbook-header .button { min-height: 42px; padding: .55rem 1rem; }

.songbook-shell {
  width: min(calc(100% - 2rem), 1080px);
  margin: 1.5rem auto 5rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 440px);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.songbook-intro h1 {
  margin: 0;
  font-size: clamp(3rem, 7vw, 5.5rem);
}

.songbook-intro > p:not(.eyebrow) {
  max-width: 590px;
  color: var(--muted);
  font-size: 1.08rem;
}

.songbook-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
}

.songbook-update-note {
  max-width: 590px;
  margin: 1.25rem 0 0;
  padding: .85rem 1rem;
  border-left: 3px solid var(--gold);
  border-radius: 0 .75rem .75rem 0;
  background: rgba(198,156,88,.09);
  color: var(--cream);
  font-size: .96rem;
}

.songbook-update-note strong {
  color: var(--gold-light);
}

.qr-card {
  width: fit-content;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  padding: .75rem 1rem .75rem .75rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255,255,255,.055);
}

.qr-card img {
  width: 92px;
  height: 92px;
  padding: .35rem;
  border-radius: .5rem;
  background: white;
}

.qr-card strong,
.qr-card span { display: block; }
.qr-card span { margin-top: .15rem; color: var(--muted); font-size: .86rem; }

.phone-preview {
  position: relative;
  width: min(100%, 430px);
  height: min(78vh, 820px);
  min-height: 650px;
  margin-inline: auto;
  padding: 24px 10px 12px;
  border: 2px solid #9e7939;
  border-radius: 2.4rem;
  background: #060504;
  box-shadow: 0 35px 90px rgba(0,0,0,.55), inset 0 0 0 3px #24180e;
}

.phone-speaker {
  position: absolute;
  top: 10px;
  left: 50%;
  width: 76px;
  height: 5px;
  border-radius: 999px;
  background: #4d443d;
  transform: translateX(-50%);
}

.phone-preview iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 1.65rem;
  background: #fff;
}

@media (max-width: 800px) {
  .songbook-shell { grid-template-columns: 1fr; }
  .phone-preview { width: min(100%, 430px); }
}
