:root {
  --yellow: #ffd21a;
  --dark: #202020;
  --dark-alt: #1c1c1c;
  --text: #ffffff;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  background: var(--dark);
  color: var(--text);
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.4;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- Header ---------- */
.hero {
  position: relative;
  background: var(--yellow);
}
.logo-area {
  padding: 36px 20px 0;
}
.hero .banner {
  width: min(480px, 80%);
  height: auto;
  display: block;
  margin: 0 auto;
}
.skyline-wrap {
  margin-top: 24px;
  aspect-ratio: 3379 / 440;      /* crops the empty solid area at the bottom of the skyline image */
  overflow: hidden;
  background: linear-gradient(to bottom, var(--yellow) 75%, var(--dark) 75%);
}
.skyline {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}
.topbar {
  position: absolute;
  top: 0; left: 0; right: 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 10px 11% 0;
  z-index: 2;
  color: var(--dark);
}
.email {
  font-family: "Roboto Mono", monospace;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.social { display: flex; gap: 14px; }
.social a { color: var(--dark); display: block; }
.social a:hover { opacity: 0.7; }

/* ---------- Gallery ---------- */
.gallery {
  max-width: 940px;
  margin: 0 auto;
  padding: 24px 20px 56px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.gallery-item {
  position: relative;
  display: block;
  padding: 0;
  margin: 0;
  border: 1px solid rgba(255,255,255,0.15);
  background: none;
  cursor: pointer;
  overflow: hidden;
  font: inherit;
  color: inherit;
}
.gallery-item img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: filter 0.2s ease, transform 0.2s ease;
}
.gallery-item .caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 24px 10px 8px;
  background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0));
  font-family: "Roboto Mono", monospace;
  font-size: 0.72rem;
  text-align: left;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}
.gallery-item:hover img,
.gallery-item:focus-visible img { filter: brightness(0.65); transform: scale(1.03); }
.gallery-item:hover .caption,
.gallery-item:focus-visible .caption { opacity: 1; }
.gallery-item:focus-visible { outline: 2px solid var(--yellow); outline-offset: -2px; }

/* ---------- Video popup ---------- */
#video-dialog {
  width: min(92vw, 960px);
  padding: 0;
  border: 0;
  background: #000;
  overflow: visible;
}
#video-dialog::backdrop { background: rgba(0,0,0,0.85); }
#video-frame { aspect-ratio: 16 / 9; width: 100%; }
#video-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
#video-close {
  position: absolute;
  top: -42px; right: 0;
  width: 36px; height: 36px;
  border: 0;
  background: none;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}
#video-close:hover { color: var(--yellow); }

/* ---------- Bands ---------- */
.band { padding: 56px 20px; }
.alt { background: var(--dark-alt); }
main { overflow: hidden; }

.title {
  font-family: "Roboto Mono", monospace;
  font-weight: 400;
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  letter-spacing: 0.06em;
  text-align: center;
  margin: 0 0 32px;
}
.side-title {
  font-family: "Roboto Mono", monospace;
  font-weight: 400;
  font-size: 1.3rem;
  letter-spacing: 0.06em;
  margin: 0 0 24px;
}

/* ---------- Brands ---------- */
.brand-row {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 18px 44px;
}
.brand-row img { width: 100px; height: auto; }

/* ---------- Two-column splits ---------- */
.split {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 24px 40px;
  align-items: start;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 40px;
}
.why-grid h4 {
  font-family: "Roboto Mono", monospace;
  font-weight: 400;
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  margin: 0 0 10px;
}
.why-grid p {
  margin: 0;
  font-size: 0.72rem;
  max-width: 400px;
  text-wrap: balance;
}

/* ---------- About ---------- */
.about-left img { max-width: 220px; margin-top: 20px; }
.about-text { font-size: 0.72rem; text-align: center; align-self: center; }
.about-text p { margin: 0 auto 14px; text-wrap: balance; }
.about-text .lead { white-space: nowrap; }

.services {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  max-width: 340px;
  margin-left: auto;
  margin-right: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(3, auto);
  grid-auto-flow: column;
  gap: 22px 20px;
}
.services li {
  font-family: "Roboto Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-align: center;
}
.services svg {
  width: 16px; height: 16px;
  display: block;
  margin: 0 auto 4px;
}

/* ---------- Footer ---------- */
footer {
  background: var(--yellow);
  color: var(--dark);
  display: flex;
  justify-content: space-between;
  padding: 10px 11%;
  font-family: "Roboto Mono", monospace;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
}

/* ---------- Mobile ---------- */
@media (max-width: 720px) {
  .topbar { padding: 8px 16px 0; }
  .gallery { padding: 32px 12px 40px; }
  .split { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .why-grid p, .about-text p { max-width: none; }
  .why-grid h4 { font-size: 1.2rem; }
  footer { padding: 10px 16px; flex-direction: column; align-items: center; gap: 4px; }
}

/* ---------- About: center the text column on the page ---------- */
.about .split {
  max-width: 1100px;
  grid-template-columns: 1fr minmax(0, 500px) 1fr;
}
.why .split {
  max-width: 1100px;
  grid-template-columns: 200px 1fr;
}
.about-text { margin: 0 auto; width: 100%; }
@media (max-width: 720px) {
  .about .split, .why .split { grid-template-columns: 1fr; }
  .about-text .lead { white-space: normal; }
  .services { grid-template-columns: 1fr 1fr; }
}

.nowrap { white-space: nowrap; }
