@font-face {
  font-family: "Royal Signage";
  src: url("fonts/royal-signage.ttf") format("truetype");
  font-display: swap;
}
:root {
  --night-deep: #07142a;
  --gold: #f2c744;
  --gold-deep: #d78b22;
  --white: #fff;
  --ink: #1b1308;
  --font: "Royal Signage", Georgia, serif;
  --gap: clamp(1.25rem, 3vw, 2.25rem);
  /* header unit: everything in the header is sized in --u, so it scales evenly with the window */
  --u: clamp(3.2px, 1vw, 8px);
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--u) * 12); }
body {
  background: var(--night-deep) url("img/sky.jpg") center top / cover fixed;
  color: var(--white);
  font: 400 1.35rem/1.6 var(--font);
  text-transform: lowercase;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: var(--white); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
.wrap { width: min(1080px, 100% - 2rem); margin-inline: auto; }

/* header: logo + nav scale proportionally with the viewport, never wrap or hide */
.nav { position: sticky; top: 0; z-index: 10; background: rgb(7 20 42 / .86); backdrop-filter: blur(8px); }
.nav .inner { display: flex; align-items: center; justify-content: space-between; width: min(1400px, 100%); margin-inline: auto; padding: calc(var(--u) * 1.2) calc(var(--u) * 4); }
.nav .logo { flex: none; display: block; }
.nav .logo img { height: calc(var(--u) * 7); width: calc(var(--u) * 7 * 2.153); max-width: none; aspect-ratio: 900 / 418; object-fit: contain; }
.nav nav { flex: none; }
.nav ul { display: flex; align-items: center; gap: calc(var(--u) * 4); list-style: none; padding: 0; font-size: calc(var(--u) * 3); line-height: 1; }
.nav ul a { color: var(--white); text-decoration: none; padding: calc(var(--u) * 1) 0; white-space: nowrap; text-underline-offset: .35em; text-decoration-thickness: 2px; }
.nav ul a:hover, .nav ul a[aria-current] { text-decoration: underline; text-decoration-color: var(--gold); }

/* mobile header: bigger logo, links tucked into a hamburger menu */
.menu-btn { display: none; }
@media (max-width: 700px) {
  .nav .inner { padding: .6rem 1rem; }
  .nav .logo img { height: 4.75rem; width: calc(4.75rem * 2.153); }
  .menu-btn { display: flex; flex-direction: column; justify-content: center; gap: 7px; width: 3.5rem; height: 3.5rem; padding: 0 .75rem; background: none; border: 0; cursor: pointer; }
  .menu-btn span { display: block; height: 3px; background: var(--white); border-radius: 2px; transition: transform .2s, opacity .2s; }
  .nav.open .menu-btn span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
  .nav.open .menu-btn span:nth-child(2) { opacity: 0; }
  .nav.open .menu-btn span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }
  .nav nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: rgb(7 20 42 / .96); border-bottom: 2px solid var(--gold); }
  .nav.open nav { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; font-size: 2rem; padding: .5rem 0 1rem; }
  .nav ul li { text-align: center; }
  .nav ul a { display: block; padding: .6rem 1rem; }
  .nav li.ig a svg { margin-inline: auto; width: 3.4rem; height: 3.4rem; }
}

/* hero */
.hero { --bw: min(100%, max(calc((100svh - 22rem) * 1.6011), 22rem)); position: relative; z-index: 1; display: flow-root; padding: 0; text-align: center; }
.hero h1 { font-size: 0; }
.hero img { width: var(--bw); height: auto; aspect-ratio: 7016 / 4382; max-width: none; margin: calc(var(--bw) * 0.02) auto calc(var(--bw) * -0.045); }
.hero .lede-unused { max-width: 34rem; margin: 1.5rem auto 0; font-size: 1.6rem; }
.btn { display: inline-block; margin-top: 1.2rem; padding: .65rem 1.6rem; background: var(--gold); color: var(--ink); font: 400 1.25rem/1.3 var(--font); text-transform: lowercase; text-decoration: none; border: 0; border-radius: 4px; cursor: pointer; transition: background .15s; }
.btn:hover, .btn:focus-visible { background: rgb(242 199 68 / .82); }

/* sections */
section { padding: clamp(2.5rem, 7vw, 5rem) 0; }
.page-title { padding-top: clamp(2.5rem, 6vw, 4.5rem); }
h1.title, h2 { font: 400 clamp(2rem, 5vw, 3.2rem)/1.1 var(--font); color: var(--gold); margin-bottom: 1.2rem; text-shadow: 0 2px 0 #000; }
.about { text-align: center; }
.about p { max-width: 44rem; margin-inline: auto; }
.about p + p { margin-top: 1rem; }
.board { background: rgb(7 20 42 / .72); border: 0; border-radius: 6px; padding: clamp(1.25rem, 4vw, 2.5rem); }

/* trailer */
.trailer { position: relative; aspect-ratio: 16 / 9; width: min(960px, 100%); margin-inline: auto; border: 0; border-radius: 6px; overflow: hidden; background: #000; }
.trailer video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
.trailer iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* shows */
.show { display: grid; gap: .25rem; padding: 1.25rem 0;  }
.show:first-child { padding-top: 0; }
.show:last-child { border-bottom: 0; padding-bottom: 0; }
.show .label { color: var(--gold); }
.show .date { font-size: 1.7rem; color: var(--gold); line-height: 1.2; }
.show .btn { justify-self: start; margin-top: .6rem; }
.tt-wrap { margin-top: 2rem; }
.tt-wrap .tt-widget { background: #fff; border-radius: 6px; text-transform: none; }

/* cast */
.cast-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr)); gap: 1rem; }
.cast-grid button { position: relative; padding: 0; border: 0; border-radius: 4px; background: none; cursor: pointer; overflow: hidden; aspect-ratio: 1; }
.cast-grid img { width: 100%; height: 100%; object-fit: cover; }
.cast-grid .name { position: absolute; inset: auto 0 0 0; padding: 1.5rem .75rem .6rem; background: linear-gradient(transparent, rgb(3 8 18 / .92)); color: var(--white); font: 400 1.25rem/1.2 var(--font); text-align: left; text-transform: lowercase; }
.bio { background: rgb(7 20 42 / .96); color: var(--white); border: 0; border-radius: 6px; padding: 0; width: min(900px, 100% - 2rem); max-height: calc(100vh - 2rem); overflow: auto; margin: auto; }
.bio::backdrop { background: rgb(3 8 18 / .8); }
.bio .body { display: grid; grid-template-columns: minmax(0, 18rem) 1fr; gap: 1.5rem; padding: 1.5rem; }
.bio img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 4px; }
.bio h2 { font-size: 2rem; margin-bottom: .75rem; }
.bio p + p { margin-top: .8rem; }
.bio .links { margin-top: 1rem; }
.bio .close { position: absolute; top: .4rem; right: .6rem; font: inherit; font-size: 1.6rem; line-height: 1; background: none; border: 0; color: var(--white); cursor: pointer; padding: .4rem .6rem; }
.bio .close:hover { color: var(--gold); }
@media (max-width: 640px) { .bio .body { grid-template-columns: 1fr; } .bio img { max-width: 14rem; } }

/* press */
.press-item { max-width: 46rem; }
.press-item + .press-item { margin-top: 3rem; }
.press-item h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); }
.press-item blockquote { margin-bottom: 1rem; }

/* gallery */
.masonry { column-width: 15rem; column-gap: .75rem; }
.masonry button { display: block; width: 100%; margin: 0 0 .75rem; padding: 0; border: 0; border-radius: 4px; background: none; cursor: zoom-in; overflow: hidden; break-inside: avoid; }
.masonry img { width: 100%; height: auto; }
dialog.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgb(3 8 18 / .94); color: var(--white); }
dialog.lightbox[open] { display: grid; grid-template-columns: auto 1fr auto; align-items: center; }
dialog.lightbox img { max-width: 100%; max-height: 90vh; width: auto; height: auto; margin: auto; }
dialog.lightbox button { font: inherit; text-transform: lowercase; color: var(--white); background: none; border: 0; padding: 1.5rem; cursor: pointer; font-size: 1.4rem; }
dialog.lightbox button:hover { color: var(--gold); }
dialog.lightbox .close { position: absolute; top: 0; right: 0; }

/* forms */
form { display: grid; gap: 1rem; max-width: 38rem; margin-top: 1rem; }
label { display: block; margin-bottom: .25rem; }
input[type=email], input[type=text], textarea { width: 100%; padding: .7rem .9rem; font: inherit; text-transform: lowercase; color: var(--ink); background: #fff; border: 0; border-radius: 3px; }
textarea { min-height: 9rem; resize: vertical; }
form .btn { margin: 0; justify-self: start; font-size: 1.2rem; }
.hp { position: absolute; left: -5000px; }
.status { margin-top: 1rem; }

footer.site { padding: 3rem 0 4rem; text-align: center; background: linear-gradient(transparent, var(--night-deep) 60%); }
footer.site img { width: 260px; height: auto; margin: 0 auto 1rem; }

@media (prefers-reduced-motion: no-preference) {
  .hero img { animation: rise 1.1s cubic-bezier(.2,.7,.2,1) both; }
  @keyframes rise { from { opacity: 0; transform: translateY(24px) scale(.97); } }
}

/* reviews band under the banner */
/* top reviews sit in the same blue box as the shows page info */
.reviews { padding: 0 0 clamp(1rem, 2.5vw, 1.75rem); text-align: center; }
.reviews > .wrap { width: 100%; background: rgb(7 20 42 / .72); border-radius: 0; padding: clamp(1.25rem, 2.5vw, 2rem) clamp(1.5rem, 5vw, 3.5rem); }
.reviews .review-row { width: min(1080px, 100%); margin-inline: auto; }
.reviews .tagline { max-width: 44rem; margin: 0 auto clamp(1.5rem, 4vw, 3rem); font-size: clamp(1.4rem, 3.4vw, 2.2rem); line-height: 1.25; color: var(--white); }
.review-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 6vw, 5rem); align-items: start; }
.review { margin: 0; }
.review .stars { color: var(--gold); font-size: clamp(1.5rem, 3.1vw, 2.2rem); letter-spacing: .12em; line-height: 1; }
.review blockquote { text-wrap: balance; margin: .5rem auto .1rem; max-width: 30rem; font-size: clamp(1.3rem, 2.55vw, 1.9rem); line-height: 1.2; color: var(--white); }
.review figcaption { color: var(--white); font-size: 1.02rem; line-height: 1.2; }
@media (max-width: 560px) {
  .review-row { grid-template-columns: 1fr; gap: 1rem; }
  /* phones: button centred between the banner text and the reviews, reviews pulled up so both quotes show */
  .hero a.btn { margin: calc(.62rem + var(--bw) * 0.045) auto 1.58rem; padding: .55rem 1.8rem; font-size: 1.3rem; }
  .reviews .wrap { padding-top: 1rem; padding-bottom: 1.25rem; }
}

/* gallery: three square tiles across, one on phones (as on the previous site) */
.g-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.g-item { aspect-ratio: 1; overflow: hidden; }
.g-item img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 768px) { .g-grid { grid-template-columns: 1fr; } }

/* quotes under "join us on our quest" */
.about .q { margin: 0 auto 2rem; max-width: 44rem; }
.about .q .stars { color: var(--gold); font-size: clamp(1.9rem, 4vw, 2.3rem); letter-spacing: .12em; line-height: 1; margin-bottom: .3rem; }
.about .q blockquote { font-size: clamp(1.3rem, 3vw, 1.7rem); line-height: 1.3; }
.about .q figcaption { font-size: 1.1rem; margin-top: .25rem; }

/* shows page: everything centred */
.shows-page { text-align: center; }
.shows-page form { margin-inline: auto; }
.shows-page .show { justify-items: center; }
.shows-page .show .btn { justify-self: center; }
.shows-page input { text-align: center; }
.shows-page form .btn { justify-self: center; }

.about .intro { max-width: 46rem; margin: 0 auto 1.4rem; font-size: clamp(1.55rem, 3.2vw, 2rem); line-height: 1.35; }
.about .intro + .q, .about .intro:last-of-type { margin-bottom: clamp(2.75rem, 6.5vw, 4.25rem); }

.hero .btn { display: block; width: fit-content; margin: calc(.2rem + var(--bw) * 0.045) auto 2.2rem; }

.shows-page .board p + p { margin-top: 1rem; }

.hero .btn { padding: .7rem 2.2rem; font-size: 1.5rem; }

.view[hidden] { display: none; }

/* instagram icon in the nav bar, sized with the rest of the header */
.nav .ig a { display: block; padding: calc(var(--u) * 1) 0; }
.nav .ig svg { display: block; width: calc(var(--u) * 3.6); height: calc(var(--u) * 3.6); color: var(--white); }
.nav .ig a:hover svg { color: var(--gold); }

/* "join us on our quest": larger heading, sits closer to the review box */
.about { padding-top: clamp(1rem, 3vw, 2.25rem); }
.about h2 { font-size: clamp(2.5rem, 6.4vw, 4rem); margin-bottom: clamp(2rem, 5vw, 3.25rem); }

/* contact page: everything centred */
#view-contact section { text-align: center; }
#view-contact p { max-width: 40rem; margin-inline: auto; }
#view-contact .status { margin-top: 1.25rem; }

/* home page signup: centred like the shows page */
.home-signup { text-align: center; }
.home-signup form { margin-inline: auto; }
.home-signup .btn { justify-self: center; }

/* cast photos enlarge slightly on hover */
.cast-grid button { transition: transform .2s ease; }
.cast-grid button:hover, .cast-grid button:focus-visible { transform: scale(1.06); z-index: 1; }
@media (prefers-reduced-motion: reduce) { .cast-grid button { transition: none; } }

/* depth: soft blurred shadow under the cast photos */
.cast-grid button { box-shadow: 0 0 22px 3px rgb(0 0 0 / .5); transition: transform .2s ease, box-shadow .2s ease; }
.cast-grid button:hover, .cast-grid button:focus-visible { box-shadow: 0 0 30px 6px rgb(0 0 0 / .65); }



.show[hidden], #no-shows[hidden] { display: none; }
.shows-page .show + .show { margin-top: 1.75rem; }
