/* The Grit Orchestra – static holding page
   Design tokens lifted from the X / Cornerstone build (Integrity dark stack). */

:root {
  --bg: #000003;
  --text: #ffffff;
  --accent: rgb(59, 204, 255);
  --accent-dark: rgb(0, 115, 155);
  --muted: #666;
  --line: #333;
  --sans: "effra", "Helvetica Neue", Arial, sans-serif;
  --serif: "chaparral-pro", Georgia, "Times New Roman", serif;
  --max: 1200px;
  --narrow: 800px;
}

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

html {
  font-size: 14px;
  scroll-behavior: smooth;
  scroll-padding-top: 60px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.4;
}

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

a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover, a:focus-visible { color: #fafafa; }

/* ---------- Header ---------- */

.logobar {
  padding: 15px 16px;
  text-align: center;
}
.brand { display: inline-block; max-width: 800px; width: 100%; }
.brand img { width: 100%; height: auto; margin: 0 auto; }

.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  min-height: 45px;
}
.navbar ul {
  list-style: none;
  margin: 0 auto;
  padding: 0 8px;
  max-width: var(--max);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.navbar a {
  display: block;
  padding: 15px 20px 0;
  height: 45px;
  color: var(--text);
  font-size: 13px;
  font-weight: 300;
  letter-spacing: .085em;
  text-transform: uppercase;
  box-shadow: inset 0 0 0 0 var(--accent);
  transition: color .2s, box-shadow .2s;
}
.navbar a:hover,
.navbar a:focus-visible,
.navbar a.active {
  color: var(--accent);
  box-shadow: inset 0 4px 0 0 var(--accent);
}

/* ---------- Banners ---------- */

.banner {
  position: relative;
  height: 25em;              /* 350px at 14px root, as on the original */
  overflow: hidden;
  background: #000;
}
.banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .24);
}

/* ---------- Sections ---------- */

.section { padding: 45px 0; }

.narrow {
  max-width: var(--narrow);
  margin: 0 auto;
  padding: 0 16px;
  text-align: center;
  font-size: 1.5em;          /* 21px */
  font-weight: 300;
  line-height: 1.4;
}
.narrow p { margin: 0 0 1em; }
.narrow p:last-child { margin-bottom: 0; }

h1, h2 {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 2.5rem;         /* 35px */
  line-height: 1.4;
  letter-spacing: .185em;
  margin-right: -.185em;
  text-transform: uppercase;
  color: var(--accent);
}

hr.rule {
  display: block;
  width: 0;
  height: 0;
  margin: 0;
  padding-top: 25px;
  border: 0;
}

.intro p { color: #ccc; }

.author {
  font-size: 18px;
  font-style: italic;
  color: var(--accent);
  margin-top: 0;
}

.quote {
  margin: 0;
  padding: 45px 20% 0;
}
.quote p { margin-bottom: 1em; }

a.reverse, a.reverse:visited { color: var(--text); }
a.reverse:hover, a.reverse:focus-visible { color: var(--accent); }

.link p { margin-bottom: .6em; }

/* ---------- Concerts timeline ---------- */

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
}
.timeline li {
  padding: 1.1em 0;
  border-bottom: 1px solid var(--line);
}
.timeline li:last-child { border-bottom: 0; }
.when {
  display: block;
  color: var(--accent);
  font-weight: 400;
}
.what {
  display: block;
  font-weight: 300;
}

/* ---------- Videos ---------- */

.videos {
  max-width: var(--max);
  margin: 45px auto 0;
  padding: 0 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.video {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #111;
}
.video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- Reviews ---------- */

.reviews {
  max-width: var(--max);
  margin: 45px auto 0;
  padding: 0 16px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px 32px;
}
.review {
  margin: 0;
  max-width: 450px;
  justify-self: center;
  text-align: center;
}
.review blockquote { margin: 0; }
.review blockquote p {
  margin: 0 0 .6em;
  font-family: var(--serif);
  font-weight: 300;
  font-size: 1.9rem;         /* ≈ 27px, matching 1.3em of the 21px body on the original */
  line-height: 1.35;
  color: var(--text);
}
.review figcaption {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.45rem;
  color: var(--accent);
}

/* ---------- Gallery ---------- */

.gallery {
  max-width: var(--max);
  margin: 45px auto 0;
  padding: 0 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.gallery a {
  display: block;
  overflow: hidden;
  background: #111;
}
.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: opacity .2s, transform .4s;
}
.gallery a:hover img, .gallery a:focus-visible img {
  opacity: .85;
  transform: scale(1.03);
}

/* ---------- Footer ---------- */

.colophon {
  margin-top: 45px;
  padding: 30px 16px 40px;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 2px;
  line-height: 1.6;
  color: var(--muted);
}
.colophon p { margin: 0; }
.colophon a { color: var(--accent); text-transform: uppercase; }
.colophon a.bdl { text-transform: none; color: #ccc; }
.colophon a:hover { color: #fafafa; }

/* ---------- Lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 3, .95);
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox[hidden] { display: none; }
.lightbox figure {
  margin: 0;
  max-width: calc(100% - 120px);
  max-height: 100%;
}
.lightbox img {
  max-width: 100%;
  max-height: 90vh;
  width: auto;
  height: auto;
  margin: 0 auto;
  box-shadow: 0 0 40px rgba(0, 0, 0, .8);
}
.lightbox button {
  position: absolute;
  background: none;
  border: 0;
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  cursor: pointer;
  line-height: 1;
  padding: 10px 16px;
  transition: color .2s;
}
.lightbox button:hover, .lightbox button:focus-visible { color: var(--accent); outline: none; }
.lb-close { top: 10px; right: 12px; font-size: 44px; }
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); font-size: 64px; }
.lb-prev { left: 8px; }
.lb-next { right: 8px; }

/* ---------- Responsive ---------- */

@media (max-width: 978px) {
  .videos { grid-template-columns: 1fr; max-width: 640px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .quote { padding: 35px 8% 0; }
}

@media (max-width: 600px) {
  h1, h2 { font-size: 2rem; letter-spacing: .14em; margin-right: -.14em; }
  .narrow { font-size: 1.3em; }
  .banner { height: 16em; }
  .navbar a { padding: 15px 11px 0; font-size: 12px; letter-spacing: .06em; }
  .review blockquote p { font-size: 1.55rem; }
  .lightbox figure { max-width: calc(100% - 32px); }
  .lb-prev, .lb-next { font-size: 48px; top: auto; bottom: 8px; transform: none; }
}

@media (max-width: 479px) {
  .gallery { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .gallery img { transition: none; }
}
