/* Nashville Studios: shared styles
   Direction: the stage is a black box, so the page is a concrete floor with black panels.
   Red comes from the logo and is used for the main action only. */

:root {
  --floor: #d2d5d5;
  --floor-deep: #bfc4c4;
  --wall: #000;
  --ink: #1b1c1d;
  --muted: #474b4d;
  --tape: #f3f3f0;
  --signal: #c4161c;
  --signal-deep: #9e1016;

  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(1.25rem, 4vw, 3rem);
  --max: 72rem;
  --section: clamp(3.5rem, 9vw, 7rem);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 1rem;
}

body {
  margin: 0;
  background: var(--floor);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 3px;
}

.wrap {
  width: min(100% - (var(--gutter) * 2), var(--max));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--tape);
  color: var(--ink);
  padding: 0.75rem 1rem;
  z-index: 10;
}
.skip:focus { left: 0; }

/* Type */

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 78%;
  margin: 0;
  letter-spacing: -0.005em;
}

h1 {
  font-size: clamp(2.75rem, 7.5vw, 5.5rem);
  line-height: 0.95;
  max-width: 16ch;
}

.eyebrow {
  margin: 0 0 1.1rem;
  max-width: none;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

h2 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1;
}

h3 {
  font-size: 1.25rem;
  font-stretch: 85%;
  line-height: 1.2;
}

p { margin: 0 0 1rem; max-width: 60ch; }

/* Buttons and links */

.btn {
  display: inline-block;
  background: var(--signal);
  color: var(--tape);
  font-family: var(--body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  padding: 0.95rem 1.5rem;
  border: 0;
  border-radius: 2px;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover { background: var(--signal-deep); }
.btn[disabled] { opacity: 0.6; cursor: wait; }

.btn--small { padding: 0.6rem 1rem; font-size: 0.95rem; }

.link {
  font-weight: 600;
  text-underline-offset: 0.25em;
}

/* Header */

.site-header {
  position: relative;
  z-index: 5;
  background: var(--wall);
  color: var(--tape);
}

.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding-block: 0.9rem;
}

.nav-toggle { display: none; }

.logo { display: block; line-height: 0; }

.logo img {
  height: clamp(3rem, 5.5vw, 4.25rem);
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  font-size: 0.975rem;
}

.nav a:not(.btn) { text-decoration: none; }
.nav a:not(.btn):hover { text-decoration: underline; text-underline-offset: 0.25em; }

/* Hero */

.hero {
  padding-block: clamp(2.5rem, 6vw, 5rem) var(--section);
}

.lede {
  font-size: clamp(1.15rem, 2vw, 1.375rem);
  line-height: 1.5;
  max-width: 44ch;
  margin-top: 1.5rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  margin: 1.75rem 0 clamp(2.5rem, 6vw, 4.5rem);
}

.hero__photo { margin: 0; }

.hero__photo img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  background: var(--wall);
}

.hero__photo figcaption {
  color: var(--muted);
  font-size: 0.95rem;
  padding-top: 0.5rem;
}

/* Stage specs */

.stage {
  background: var(--floor);
  padding-block: var(--section);
}

.stage__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.stage__intro h2 { margin-bottom: 1.5rem; }

.specs h3 {
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--ink);
}
.specs h3:not(:first-child) { margin-top: 2.25rem; }

.specs dl { margin: 0; }

.specs dl > div {
  display: grid;
  grid-template-columns: minmax(7rem, 9rem) 1fr;
  gap: 1rem;
  padding-block: 0.7rem;
  border-bottom: 1px solid #9fa5a5;
}

.specs dt { color: var(--muted); }
.specs dd { margin: 0; font-weight: 500; }

/* Virtual LED and AI */

.virtual {
  background: var(--tape);
  padding-block: var(--section);
}

.virtual__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.virtual h2 { margin-bottom: 1.5rem; }

.virtual figure { margin: 0; }

.virtual img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--wall);
}

/* On-site spaces: the black box section */

.spaces {
  background: var(--wall);
  color: var(--tape);
  padding-block: var(--section);
}

.spaces h2 { max-width: 18ch; margin-bottom: 2.5rem; }

.spaces__photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.75rem, 2vw, 1.5rem);
  margin: 0 0 2.5rem;
}

.spaces__photos figure { margin: 0; }

.spaces__photos img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: #222;
}

.spaces__photos figcaption {
  padding-top: 0.6rem;
  font-size: 0.95rem;
  color: #d9d9d4;
}

.spaces__list {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 2 22rem;
  column-gap: 3rem;
}

.spaces__list li {
  break-inside: avoid;
  padding-block: 0.65rem;
  border-top: 1px solid #3a3a3a;
}

/* Work: video and stills */

.work {
  background: var(--tape);
  padding-block: var(--section);
}

.work h2 { margin-bottom: 2rem; }

.reel {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--wall);
}

.reel iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.reel--empty {
  display: grid;
  place-items: center;
}

.stills {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.75rem, 2vw, 1.5rem);
  margin-top: clamp(0.75rem, 2vw, 1.5rem);
}

.stills > * {
  aspect-ratio: 3 / 2;
  display: grid;
  place-items: center;
  margin: 0;
}

.stills img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Visit */

.visit { padding-block: var(--section); }

.visit__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: stretch;
}

.visit h2 { margin-bottom: 1.5rem; }

.placeholder {
  border: 1px dashed var(--muted);
  color: var(--muted);
  padding: 0.6rem 0.8rem;
  background: rgba(255, 255, 255, 0.35);
}

.tbd {
  border: 1px dashed var(--muted);
  color: var(--muted);
  padding: 0.05rem 0.4rem;
  font-weight: 400;
}

.map {
  display: grid;
  place-items: center;
  min-height: 16rem;
}

/* Contact */

.contact {
  background: var(--floor-deep);
  padding-block: var(--section);
}

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.contact__intro h2 { margin-bottom: 1.25rem; }

.steps {
  margin: 2rem 0 0;
  padding-left: 1.25rem;
  max-width: 44ch;
}
.steps li { padding-left: 0.4rem; margin-bottom: 1rem; }

.form { display: grid; gap: 1.25rem; }

.field { margin: 0; padding: 0; border: 0; min-width: 0; }

.field > label:not(.choice),
.field > legend {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  padding: 0;
}

.field input[type="text"],
.field input[type="email"],
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--tape);
  border: 1px solid var(--ink);
  border-radius: 2px;
  padding: 0.75rem 0.85rem;
}

.field textarea { resize: vertical; }

.choice {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-right: 1.5rem;
  font-weight: 400;
}

.choice input { accent-color: var(--signal); width: 1.1rem; height: 1.1rem; }

.hp { position: absolute; left: -9999px; }

.form .btn { justify-self: start; }

.form__status { margin: 0; min-height: 1.6em; font-weight: 500; }

/* Footer */

.site-footer {
  background: var(--wall);
  color: var(--tape);
  padding-block: 1.75rem;
  font-size: 0.95rem;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}

.site-footer p { margin: 0; }

/* Legal page (privacy policy) */

.legal {
  background: var(--tape);
  padding-block: var(--section);
  overflow-wrap: anywhere;
}

.legal__wrap { max-width: 48rem; }

.legal h1 {
  font-size: clamp(2.25rem, 6vw, 3.5rem);
  margin-bottom: 0.75rem;
}

.legal h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
  margin: 3rem 0 1rem;
  padding-top: 1.5rem;
  border-top: 2px solid var(--ink);
}

.legal h3 {
  font-size: 1.35rem;
  margin: 2rem 0 0.75rem;
}

.legal h4 {
  font-family: var(--body);
  font-stretch: 100%;
  font-size: 1.05rem;
  font-weight: 600;
  margin: 1.5rem 0 0.5rem;
}

.legal p { max-width: 70ch; }

.legal ul { margin: 0 0 1.25rem; padding-left: 1.25rem; max-width: 70ch; }
.legal li { margin-bottom: 0.6rem; }

.legal a { text-underline-offset: 0.2em; }

/* Smaller screens */

@media (max-width: 52rem) {
  .stage__grid,
  .virtual__grid,
  .visit__grid,
  .contact__grid { grid-template-columns: minmax(0, 1fr); }

  .spaces__photos { grid-template-columns: minmax(0, 1fr); }
  .stills { grid-template-columns: minmax(0, 1fr); }

  .hero__photo img { aspect-ratio: 16 / 9; }

  /* Header: logo plus a Menu button. Without JavaScript the links simply wrap under the logo. */
  .nav { gap: 0.5rem 1.25rem; flex-wrap: wrap; }

  .js .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    min-height: 2.75rem;
    padding: 0 0.9rem;
    background: transparent;
    color: var(--tape);
    font: inherit;
    font-weight: 600;
    border: 1px solid #5a5a5a;
    border-radius: 2px;
    cursor: pointer;
  }

  .nav-toggle__bars,
  .nav-toggle__bars::before,
  .nav-toggle__bars::after {
    display: block;
    width: 1.1rem;
    height: 2px;
    background: currentColor;
    transition: transform 0.2s, opacity 0.2s;
  }
  .nav-toggle__bars { position: relative; }
  .nav-toggle__bars::before,
  .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle__bars::before { top: -6px; }
  .nav-toggle__bars::after { top: 6px; }

  .nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 0; transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { top: 0; transform: rotate(-45deg); }

  .js .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem var(--gutter) 1.5rem;
    background: var(--wall);
    border-top: 1px solid #2a2a2a;
    box-shadow: 0 1.25rem 2rem rgba(0, 0, 0, 0.35);
  }
  .js .nav.is-open { display: flex; }

  .js .nav a:not(.btn) {
    padding: 1rem 0;
    font-size: 1.15rem;
    border-bottom: 1px solid #2a2a2a;
  }

  .js .nav .btn {
    margin-top: 1.25rem;
    padding: 1rem 1.25rem;
    text-align: center;
  }
}

@media (max-width: 24rem) {
  .logo img { height: 2.25rem; }
  .site-header__inner { gap: 0.75rem 0.75rem; }
  .js .nav-toggle { padding: 0 0.7rem; }
}

@media (max-width: 34rem) {
  .specs dl > div { grid-template-columns: minmax(0, 1fr); gap: 0.1rem; }

  .btn { min-height: 3rem; }
  .actions { gap: 1rem 1.5rem; }
  .actions .btn { flex: 1 1 100%; text-align: center; }

  /* Form: easy to tap, one control per row, full-width send button */
  .choice {
    display: flex;
    min-height: 2.75rem;
    margin-right: 0;
  }
  .form .btn { justify-self: stretch; width: 100%; }

  .site-footer__inner { flex-direction: column; }
}

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