/* Ocean Drive Disco — site styles */
@font-face { font-family: "EB Garamond"; src: url("/fonts/eb-garamond.woff") format("woff"); font-weight: 400 800; font-style: normal; font-display: swap; }
@font-face { font-family: "EB Garamond"; src: url("/fonts/eb-garamond-italic.woff") format("woff"); font-weight: 400 800; font-style: italic; font-display: swap; }
:root {
  --gold: #f7bd2c;
  --gold-deep: #c8931a;
  --gold-soft: #ffd978;
  --ink: #0b0a0c;
  --panel: rgba(14, 12, 16, 0.86);
  --line: rgba(247, 189, 44, 0.28);
  --text: #ece6da;
  --muted: #b3aa9a;
  --radius: 14px;
  --max: 1080px;
  --display: "EB Garamond", Garamond, Georgia, serif;
  --body: "EB Garamond", Garamond, Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 400 1.1875rem/1.6 var(--body);
  min-height: 100vh;
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1;
  background: url("/img/damask-bg.webp") center / cover no-repeat;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold-soft); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--gold); color: #000; padding: .5rem 1rem; z-index: 99; }

/* ---------- header ---------- */
.site-header { text-align: center; padding: 28px 16px 0; }
.logo { display: inline-block; position: relative; width: 220px; height: 220px; }
.logo img { position: absolute; inset: 0; width: 100%; height: 100%; }
.logo .record { animation: spin 5s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 600px) { .logo { width: 160px; height: 160px; } }

.nav { margin: 22px auto 0; max-width: var(--max); position: relative; z-index: 20; }
.nav-toggle {
  display: none; margin: 0 auto; background: none; color: var(--gold);
  border: 1px solid var(--line); border-radius: 999px; padding: .55rem 1.3rem;
  font: 700 1rem/1 var(--display); letter-spacing: .16em; cursor: pointer;
}
.nav ul { list-style: none; margin: 0; padding: 0; }
.menu { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 6px; }
.menu > li { position: relative; }
.menu a, .menu button.sub-toggle {
  display: block; color: #fff; text-decoration: none; background: none; border: 0;
  font: 600 .98rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase;
  padding: .85rem .9rem; cursor: pointer; border-radius: 8px;
}
.menu a:hover, .menu button.sub-toggle:hover, .menu a[aria-current="page"],
.menu li.open > .sub-toggle, .menu li.open > a, .menu li:has(.submenu a[aria-current="page"]) > a,
.menu li:has(.submenu a[aria-current="page"]) > .sub-toggle { color: var(--gold); }
@media (hover: hover) and (min-width: 821px) { .menu li:hover > a, .menu li:hover > .sub-toggle { color: var(--gold); } }
.menu a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 6px; }
.sub-toggle::after { content: " ▾"; font-size: .7em; }
.submenu {
  display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  min-width: 210px; background: #141116; border: 1px solid var(--line); border-radius: 10px;
  padding: 6px; box-shadow: 0 18px 40px rgba(0,0,0,.6); text-align: left;
}
.submenu a { letter-spacing: .06em; font-weight: 600; font-size: 1rem; padding: .7rem .9rem; }
.submenu a:hover { background: rgba(247,189,44,.1); }
.menu li.open > .submenu { display: block; }
@media (hover: hover) and (min-width: 821px) {
  .menu li:hover > .submenu, .menu li:focus-within > .submenu { display: block; }
}

@media (max-width: 820px) {
  .nav-toggle { display: inline-block; }
  .menu { display: none; flex-direction: column; background: #141116; border: 1px solid var(--line);
          border-radius: var(--radius); margin: 12px 0 0; padding: 8px; }
  .nav.open .menu { display: flex; }
  .menu a, .menu button.sub-toggle { width: 100%; text-align: center; }
  .submenu { position: static; transform: none; box-shadow: none; border: 0; background: rgba(255,255,255,.03); text-align: center; }
}

/* ---------- layout ---------- */
main { max-width: var(--max); margin: 28px auto 0; padding: 0 16px; }
.panel {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(22px, 5vw, 52px); backdrop-filter: blur(2px);
}
.panel + .panel { margin-top: 24px; }
.narrow { max-width: 760px; margin-left: auto; margin-right: auto; }

h1, h2, h3 { font-family: var(--display); line-height: 1.2; color: var(--gold); margin: 0 0 .6em; }
h1 { font-size: clamp(1.7rem, 4.2vw, 2.6rem); font-weight: 500; letter-spacing: .01em; text-align: center; }
h2 { font-size: clamp(1.25rem, 2.8vw, 1.65rem); font-weight: 500; }
h3 { font-size: 1.1rem; font-weight: 600; letter-spacing: .04em; }
.eyebrow { font: 700 .95rem/1.2 var(--display); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin: 0 0 .6rem; }
.lede { font-size: 1.2rem; text-align: center; color: #fff; max-width: 40em; margin: 0 auto 1.2em; }
p { margin: 0 0 1.05em; }
strong { color: #fff; font-weight: 600; }
.center { text-align: center; }
.muted { color: var(--muted); }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
ul.list { padding-left: 1.2em; } ul.list li { margin: .35em 0; }
.banner { border-radius: 10px; margin: 0 auto 1.6rem; width: 100%; }

/* ---------- home ---------- */
.tagline { text-align: center; font: 600 clamp(1.15rem, 2.6vw, 1.5rem)/1.5 var(--display); color: var(--gold); letter-spacing: .04em; margin: 0 0 1.4rem; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 1.8rem 0 .4rem; }
.tile {
  display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
  min-height: 108px; padding: 18px 14px; border: 1px solid var(--line); border-radius: 12px;
  text-decoration: none; background: rgba(247,189,44,.04); transition: background .2s, border-color .2s, transform .2s;
}
.tile:hover { background: rgba(247,189,44,.12); border-color: var(--gold); transform: translateY(-2px); color: var(--gold); }
.tile b { font: 700 1.08rem/1.2 var(--display); letter-spacing: .16em; color: var(--gold); }
.tile span { font-size: 1rem; color: var(--muted); margin-top: .45rem; }

@media (max-width: 420px) { .tiles { grid-template-columns: 1fr 1fr; gap: 10px; } .tile { min-height: 92px; padding: 14px 8px; } .tile b { font-size: .8rem; letter-spacing: .1em; } .tile span { font-size: .78rem; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; background: var(--gold); color: #120e04; text-decoration: none; border: 0;
  font: 700 .98rem/1 var(--display); letter-spacing: .12em; text-transform: uppercase;
  padding: 1rem 1.6rem; border-radius: 999px; cursor: pointer; transition: background .2s, transform .2s;
}
.btn:hover { background: var(--gold-soft); color: #120e04; transform: translateY(-1px); }
.btn.ghost { background: none; color: var(--gold); border: 1px solid var(--gold); }
.btn.ghost:hover { background: rgba(247,189,44,.12); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 1.6rem 0 .4rem; }

/* ---------- services grid ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; list-style: none; padding: 0; margin: 1.2rem 0 1.8rem; }
.chips li { border: 1px solid var(--line); border-radius: 999px; padding: .45rem 1rem; font: 600 1.02rem/1.2 var(--display); color: #fff; }

/* ---------- photo grid ---------- */
.photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; margin: 1.4rem 0; }
.photos figure { margin: 0; background: #000; border-radius: 10px; overflow: hidden; border: 1px solid rgba(247,189,44,.15); }
.photos button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 22%; transition: transform .35s; }
.photos figure:hover img { transform: scale(1.03); }
.photos figcaption { padding: .7rem .9rem .8rem; font-size: .9rem; color: var(--muted); line-height: 1.4; }

dialog.lightbox { padding: 0; border: 0; background: transparent; max-width: 94vw; max-height: 92vh; }
dialog.lightbox::backdrop { background: rgba(0,0,0,.88); }
dialog.lightbox img { max-width: 94vw; max-height: 82vh; width: auto; border-radius: 8px; margin: 0 auto; }
dialog.lightbox p { text-align: center; color: #fff; margin: .8rem 0 0; }
dialog.lightbox .close { position: fixed; top: 14px; right: 18px; background: none; border: 0; color: #fff; font-size: 2.2rem; cursor: pointer; line-height: 1; }

/* ---------- release grid ---------- */
.releases { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; margin: 1.6rem 0 0; }
.releases a { display: block; text-decoration: none; text-align: center; }
.releases img { border-radius: 8px; aspect-ratio: 1; object-fit: cover; transition: transform .25s; }
.releases a:hover img { transform: translateY(-3px); }
.releases span { display: block; font: 600 1rem/1.3 var(--display); margin-top: .5rem; }

/* ---------- events ---------- */
.event { display: grid; grid-template-columns: 200px 1fr; gap: 22px; align-items: center; padding: 1.4rem 0; border-top: 1px solid var(--line); }
.event:first-of-type { border-top: 0; }
.event img { border-radius: 10px; }
.event h3 { margin-bottom: .3rem; font-size: 1.25rem; }
.event p { margin: 0 0 .25rem; }
.event .when { color: #fff; font-weight: 600; }
.event.no-img { grid-template-columns: 1fr; }
@media (max-width: 600px) { .event { grid-template-columns: 110px 1fr; gap: 16px; align-items: start; } .event img, .event-ph { max-width: 110px; } .event h3 { font-size: 1.1rem; } }

.stops { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; list-style: none; padding: 0; }
.stops li { border: 1px solid var(--line); border-radius: 10px; padding: .9rem 1rem; font-size: .95rem; line-height: 1.5; }
.stops b { color: var(--gold); font-family: var(--display); }

/* ---------- clients ---------- */
.clients { columns: 3 220px; column-gap: 28px; list-style: none; padding: 0; margin: 1.6rem 0; }
.clients li { break-inside: avoid; padding: .55rem 0; border-bottom: 1px solid rgba(247,189,44,.14); font: 600 1.12rem/1.35 var(--display); color: #fff; }

/* ---------- news ---------- */
.news h3 { margin-top: 1.8rem; color: #fff; }
.news ul { padding-left: 1.2em; margin: .4rem 0 0; }
.news li { margin: .3em 0; }

/* ---------- embeds ---------- */
.embed { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; margin: 1.4rem 0; background: #000; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
iframe.player { width: 100%; border: 0; border-radius: 12px; margin: 1rem 0; display: block; }

/* ---------- form ---------- */
.booking { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; margin-top: 1.2rem; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font: 600 .92rem/1.2 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: .4rem; }
.form input, .form select, .form textarea {
  width: 100%; background: rgba(255,255,255,.05); color: #fff; border: 1px solid rgba(247,189,44,.35);
  border-radius: 10px; padding: .8rem .9rem; font: 400 1rem/1.4 var(--body);
}
.form select option { background: #141116; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(247,189,44,.2); }
.form textarea { min-height: 120px; resize: vertical; }
.form .hp { position: absolute; left: -9999px; }
.form .actions { grid-column: 1 / -1; text-align: center; margin-top: .4rem; }
.form .note { grid-column: 1 / -1; text-align: center; font-size: .92rem; color: var(--muted); margin: 0; }
@media (max-width: 600px) { .form { grid-template-columns: 1fr; } }

/* ---------- press kit ---------- */
.jump { display: flex; flex-wrap: wrap; gap: 6px 14px; justify-content: center; font: 700 .95rem/1 var(--display); letter-spacing: .16em; margin: 0 0 1.6rem; }
.jump a { text-decoration: none; padding: .4rem 0; }
section[id] { scroll-margin-top: 20px; }

/* ---------- footer ---------- */
.site-footer { max-width: var(--max); margin: 40px auto 0; padding: 26px 16px 40px; text-align: center; font-size: .92rem; color: var(--muted); }
.site-footer .contact { font: 600 1rem/1.6 var(--display); color: #fff; margin-bottom: .6rem; }
.site-footer .social { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; margin: .6rem 0 1rem; font: 600 1rem/1.6 var(--display); letter-spacing: .08em; }
.site-footer .social a { text-decoration: none; }
.site-footer .music-label { margin: 1.1rem 0 0; font-style: italic; color: var(--text); }
.site-footer .music-label + .social { margin-top: .3rem; }

/* ---------- page entrance ---------- */
@media (prefers-reduced-motion: no-preference) {
  main { animation: rise .6s ease-out both; }
  @keyframes rise { from { opacity: 0; transform: translateY(10px); } }
}
@media (prefers-reduced-motion: reduce) {
  .logo .record { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- live events ---------- */
.event-ph { width: 100%; aspect-ratio: 1; border-radius: 10px; background: #141116 url("/img/logo-record.webp") center / 62% no-repeat; border: 1px solid var(--line); }

.past-h { text-align: center; margin: 2.6rem 0 .4rem; padding-top: 2rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 1.15rem; letter-spacing: .14em; text-transform: uppercase; }
.event.past { opacity: .55; grid-template-columns: 120px 1fr; padding: 1rem 0; }
.event.past:hover { opacity: .8; }
.event.past img, .event.past .event-ph { filter: grayscale(1); }
.event.past h3 { color: var(--muted); font-size: 1.05rem; }
.event.past .when { color: var(--muted); }
.event.past a { color: var(--muted); }
@media (max-width: 600px) { .event.past { grid-template-columns: 84px 1fr; gap: 14px; } .event.past img, .event.past .event-ph { max-width: 84px; } }

/* ================= consolidated layout ================= */
.stack .panel + .panel { margin-top: 22px; }
.menu .has-sub.current > .sub-toggle { color: var(--gold); }
.menu .book a { background: var(--gold); color: #120e04 !important; border-radius: 999px; padding: .8rem 1.3rem; margin-left: 8px; text-decoration: none !important; }
.menu .book a:hover { background: var(--gold-soft); }
.nav-bar { display: none; }
@media (max-width: 820px) {
  .nav-bar { display: flex; gap: 10px; justify-content: center; }
  .nav-bar .btn { padding: .6rem 1.2rem; font-size: .95rem; }
  .menu .book { display: none; }
}
.section-h { text-align: center; font-size: clamp(1.5rem, 3.4vw, 2rem); margin: 0 0 1.2rem; }
.hero { text-align: center; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.1rem); line-height: 1.12; margin-bottom: .5rem; }
.hero .sub { font-size: clamp(1.15rem, 2.4vw, 1.4rem); color: #fff; max-width: 34em; margin: 0 auto; }
.hero .area { color: var(--muted); font-style: italic; margin: .5rem 0 0; }

.svc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.svc a { position: relative; display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; text-decoration: none; border: 1px solid var(--line); }
.svc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.svc a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,7,9,.92) 0%, rgba(8,7,9,.35) 55%, rgba(8,7,9,.1) 100%); }
.svc a:hover img { transform: scale(1.05); }
.svc span { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 1; }
.svc b { display: block; font: 600 clamp(1.05rem, 2.2vw, 1.3rem)/1.15 var(--display); color: var(--gold); }
.svc small { display: block; color: #e9e2d4; font-size: clamp(.85rem, 1.8vw, .98rem); line-height: 1.3; margin-top: .25rem; }
@media (max-width: 860px) { .svc { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
  .svc { gap: 10px; } .svc small { display: none; } .svc a { aspect-ratio: 1; }
  .svc a::after { background: linear-gradient(to top, rgba(8,7,9,.95) 0%, rgba(8,7,9,.5) 45%, rgba(8,7,9,0) 75%); }
  .svc span { left: 10px; right: 10px; bottom: 10px; }
}

.trust { text-align: center; }
.trust .label { font: 600 .95rem/1 var(--display); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin: 0 0 .9rem; }
.names { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 0; margin: 0 auto 1.6rem; max-width: 900px; }
.names span { color: #fff; font-size: clamp(1.05rem, 2.2vw, 1.25rem); padding: 0 14px; border-left: 1px solid var(--line); }
.names span:first-child { border-left: 0; }
.press { margin-bottom: .6rem; }
.press span a { font-style: italic; color: var(--gold); text-decoration-color: rgba(247,189,44,.45); }
.trust .more { margin: 0 0 1.8rem; }
.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.strip img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: 50% 25%; border-radius: 10px; }
@media (max-width: 600px) { .strip { grid-template-columns: repeat(2, 1fr); } }

.booking { margin: 0; padding: 0; border: 0; }
.callrow { text-align: center; margin: 1.1rem 0 0; color: var(--muted); }

.page-hero { margin: -6px 0 1.6rem; }
.page-hero img { width: 100%; aspect-ratio: 16 / 6; object-fit: cover; border-radius: 10px; }
@media (max-width: 600px) { .page-hero img { aspect-ratio: 16 / 9; } }

.included { list-style: none; padding: 0; margin: 0 0 1.4rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.included li { border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.1rem; color: var(--text); line-height: 1.4; }
.included b { display: block; color: var(--gold); font-family: var(--display); font-weight: 600; font-size: 1.15rem; margin-bottom: .25rem; }

.themes { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-bottom: 1.2rem; }
.themes > div { border: 1px solid var(--line); border-radius: 12px; padding: 1.1rem 1.2rem; }
.themes h3 { font-size: 1.3rem; margin-bottom: .35rem; }
.themes p { margin: 0; }
.releases { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 760px) { .releases { grid-template-columns: repeat(3, 1fr); } }
#photos .photos { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { #photos .photos { grid-template-columns: repeat(2, 1fr); } }
#photos .photos figcaption { font-size: .85rem; }
@media (max-width: 600px) { .names span { border-left: 0; padding: 0 9px; } }
/* simcha + community */
.gold { color: var(--gold); }
h1 .gold { display: inline-block; }
.hero .included { margin-top: 2rem; }
.included.three { grid-template-columns: repeat(3, 1fr); }
.included.two, .themes.two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 760px) { .included.three, .included.two, .themes.two { grid-template-columns: 1fr; } }
.included li a { color: var(--gold); }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0 0 1.4rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.steps li { counter-increment: s; border: 1px solid var(--line); border-radius: 12px; padding: 1.1rem 1.2rem; line-height: 1.45; }
.steps li::before { content: counter(s); display: block; font: 500 2.6rem/1 var(--display); color: var(--gold); margin-bottom: .4rem; }
.steps b { display: block; color: #fff; font-family: var(--display); font-weight: 600; font-size: 1.2rem; margin-bottom: .2rem; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.faq-list > div { padding: 1rem 0; border-top: 1px solid var(--line); }
.faq-list h3 { color: var(--gold); font-size: 1.2rem; margin-bottom: .3rem; }
.faq-list p { margin: 0; }
.proof { text-align: center; font: 500 clamp(1.3rem, 2.8vw, 1.7rem)/1.4 var(--display); color: #fff; max-width: 34em; margin: 1.6rem auto .4rem; padding: 1.4rem 1.6rem; border: 1px solid var(--line); border-radius: 12px; }
h1.duo { color: #fff; }




/* ================= scroll-linked header (site.js adds .fx and drives the motion) ================= */
.site-header.fx { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding: 0; overflow: visible; }
.site-header.fx .hdr-bg { position: absolute; inset: 0; background: rgba(11,10,12,.94); border-bottom: 1px solid var(--line); opacity: 0; pointer-events: none;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.site-header.fx .logo { position: absolute; left: 0; top: 0; margin: 0; transform-origin: 0 0; will-change: transform; }
.site-header.fx .nav { position: absolute; left: 0; top: 0; margin: 0; max-width: none; will-change: transform; }
@media (max-width: 820px) { .site-header.fx .nav { will-change: auto; } .site-header.fx .nav-bar { position: absolute; left: 0; top: 0; will-change: transform; } }
.site-header.fx .menu, .site-header.fx .nav-bar { flex-wrap: nowrap; justify-content: flex-start; }
.site-header.fx .submenu { min-width: 270px; }
@media (max-width: 820px) {
  .site-header.fx .menu { position: fixed; left: 12px; right: 12px; top: var(--menu-top, 80px); margin: 0;
    max-height: calc(100vh - var(--menu-top, 80px) - 12px); overflow-y: auto; flex-wrap: wrap; box-shadow: 0 18px 40px rgba(0,0,0,.6); }
}
.site-header .nav-bar .nav-toggle { margin: 0; }

/* ================= first-visit intro (js/intro.js) ================= */
html.intro { overflow: hidden; }
html.intro main { animation: none; }
html.intro .site-header .logo { opacity: 0; }
html.intro .site-header .nav, html.intro main > *, html.intro .site-footer { opacity: 0; }
html.intro main > *, html.intro .site-footer { transform: translateY(16px); }
html.intro.intro-in .site-header .nav, html.intro.intro-in main > *, html.intro.intro-in .site-footer {
  opacity: 1; transform: none; transition: opacity .7s ease, transform .7s ease; transition-delay: var(--d, 0s); }
html.intro.intro-landed { overflow: auto; }
html.intro.intro-landed .site-header .logo { opacity: 1; }
.intro-logo { position: fixed; left: 0; top: 0; z-index: 100; opacity: 0; transform-origin: 0 0; pointer-events: none; transition: opacity .6s ease; }
.intro-logo img { position: absolute; inset: 0; width: 100%; height: 100%; }
.intro-logo .record { animation: spin 5s linear infinite; }
.hero h1 .dot { color: var(--muted); font-size: .7em; vertical-align: .12em; margin: 0 .15em; }
.hero h1 .nw { white-space: nowrap; }
@media (max-width: 600px) { .hero h1 .dot { display: none; } .hero h1 .nw { display: block; } }

/* iPhone Safari: date inputs have a built-in minimum width and native styling; make them match the other fields */
.form { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 600px) { .form { grid-template-columns: minmax(0, 1fr); } }
.form > div { min-width: 0; }
.form input[type="date"] {
  -webkit-appearance: none; appearance: none; display: block;
  width: 100%; min-width: 0; max-width: 100%; box-sizing: border-box;
  min-height: 2.95em; line-height: 1.4; color-scheme: dark;
}
.form input[type="date"]::-webkit-date-and-time-value { text-align: left; margin: 0; }
.form input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(.8) sepia(1) saturate(3) hue-rotate(5deg); opacity: .8; cursor: pointer; }
#photos .photos { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 700px) { #photos .photos { grid-template-columns: repeat(2, 1fr); } }

/* ================= DISCO MODE sign placement on this site =================
   Top-right corner at the top of the page; site.js slides it down (--dm-top) to sit just under the header bar.
   Sign is 74px (80% of the plug-in's 92px default); phones get 58px. */
html #dm-btn { top: calc(var(--dm-top, 14px) + env(safe-area-inset-top, 0px)) !important; transition: opacity .6s ease, transform .15s ease !important; }
html #dm-label { top: calc(var(--dm-top, 14px) + 74px + 8px + env(safe-area-inset-top, 0px)) !important; transition: opacity .6s ease !important; }
@media (max-width: 520px) {
  html #dm-label { top: calc(var(--dm-top, 14px) + 58px + 8px + env(safe-area-inset-top, 0px)) !important; }
}
/* hidden while the intro plays and while the phone menu is open */
html.intro #dm-btn, html.intro #dm-label,
html:has(.nav.open) #dm-btn, html:has(.nav.open) #dm-label { opacity: 0 !important; pointer-events: none !important; }
.page-hero.full img { aspect-ratio: auto; object-fit: contain; }

/* photo viewer: previous / next */
dialog.lightbox { overflow: visible; }
dialog.lightbox figure { margin: 0; }
dialog.lightbox img { max-width: min(94vw, 1100px); max-height: 80vh; }
dialog.lightbox figcaption { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; color: #fff; margin: .8rem auto 0; padding: 0 56px; text-align: center; line-height: 1.4; }
dialog.lightbox .count { color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
dialog.lightbox .nav-arrow {
  position: fixed; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid rgba(247,189,44,.5); background: rgba(11,10,12,.65); color: var(--gold);
  font: 400 2.4rem/1 var(--display); display: flex; align-items: center; justify-content: center; padding: 0 0 6px; cursor: pointer;
}
dialog.lightbox .nav-arrow:hover { background: rgba(247,189,44,.18); }
dialog.lightbox .prev { left: max(12px, env(safe-area-inset-left, 0px)); }
dialog.lightbox .next { right: max(12px, env(safe-area-inset-right, 0px)); }
dialog.lightbox.single .nav-arrow { display: none; }
@media (max-width: 600px) {
  dialog.lightbox .nav-arrow { top: auto; bottom: max(14px, env(safe-area-inset-bottom, 0px)); transform: none; width: 46px; height: 46px; }
  dialog.lightbox img { max-height: 70vh; }
}
/* phones show the gallery 2 across; an odd photo out spans the full row */
@media (max-width: 700px) { #photos .photos figure:last-child:nth-child(odd) { grid-column: 1 / -1; } }
.themes > div.custom { border-color: var(--gold); background: rgba(247,189,44,.06); }
.themes > div.custom .more { margin-top: .6rem; }
/* keep "(SOUND ON)" on one line, centered under the smaller sign */
html #dm-label { width: 90px !important; right: calc(6px + env(safe-area-inset-right, 0px)) !important; white-space: nowrap; letter-spacing: .06em !important; }
@media (max-width: 520px) { html #dm-label { width: 76px !important; right: calc(5px + env(safe-area-inset-right, 0px)) !important; font-size: 9.5px !important; } }

/* Theme Parties tile: image slid to the right (shows more of the photo's left side) */
.svc a[href="/party/"] img, .svc a[href="party/index.html"] img, .svc a[href="#party"] img { object-position: 20% 50%; }

/* footer contact: phone and email on their own lines */
.site-footer .contact span { display: block; }
.site-footer .contact span + span { margin-top: .35rem; }
.site-footer a { white-space: nowrap; }

/* Music: release art as an edge-to-edge tile gallery; tap to enlarge with streaming buttons */
.releases { gap: 0 !important; border-radius: 10px; overflow: hidden; }
.releases button { display: block; padding: 0; margin: 0; border: 0; background: none; cursor: zoom-in; overflow: hidden; }
.releases button img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 0; transition: transform .35s ease, filter .35s ease; }
.releases button:hover img, .releases button:focus-visible img { transform: scale(1.05); filter: brightness(1.08); }
.releases button:focus-visible { outline: 3px solid var(--gold, #f7bd2c); outline-offset: -3px; }
dialog.lightbox .art { position: relative; width: fit-content; margin: 0 auto; }
dialog.lightbox .art img { display: block; }
dialog.lightbox .stream { display: none; }
dialog.lightbox.has-stream .stream {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; position: absolute; left: 0; right: 0; bottom: 0;
  padding: 44px 12px 14px; border-radius: 0 0 8px 8px; background: linear-gradient(transparent, rgba(0,0,0,.82));
}
dialog.lightbox .stream a {
  font: 600 .82rem/1 var(--display); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  color: #1a1206; background: #f7bd2c; padding: .62em 1em; border-radius: 999px; box-shadow: 0 2px 10px rgba(0,0,0,.45);
}
dialog.lightbox .stream a:hover, dialog.lightbox .stream a:focus-visible { background: #ffd56a; }
dialog.lightbox.has-stream img { min-width: min(560px, 90vw); }
@media (max-width: 600px) { dialog.lightbox .stream { gap: 6px; padding: 36px 8px 10px; } dialog.lightbox .stream a { font-size: .74rem; padding: .58em .85em; } }

/* About photos, 3 across: a final row of two sits centered */
@media (min-width: 701px) {
  #photos .photos { grid-template-columns: repeat(6, 1fr); }
  #photos .photos figure { grid-column: span 2; }
  #photos .photos figure:nth-last-child(2):nth-child(3n+1) { grid-column: 2 / span 2; }
  #photos .photos figure:last-child:nth-child(3n+1) { grid-column: 3 / span 2; }
}

/* Privacy policy + form note */
.policy h2 { font-size: 1.35rem; margin: 1.8rem 0 .5rem; text-align: left; }
.policy p { line-height: 1.65; }
.form-note { margin: .4rem 0 0; font-size: .85rem; color: var(--muted); text-align: center; }
.form-note a { color: var(--muted); }
