/*
Theme Name: Cheap Street Fullscreen
Theme URI: https://cheapstreet.band/
Author: Cheap Street
Description: A responsive full-screen Cheap Street landing page with orange navigation styled to match the logo.
Version: 1.2.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: cheap-street-fullscreen
*/

:root {
  color-scheme: dark;
  --cs-black: #000;
  --cs-orange: #d87512;
  --cs-menu-font: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  padding: 0;
  background: var(--cs-black);
}

body {
  font-family: var(--cs-menu-font);
  overflow-x: hidden;
}

.cs-screen {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #000;
}

.cs-logo-link {
  position: absolute;
  inset: 0;
  display: flex;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  align-items: center;
  justify-content: center;
}

.cs-logo {
  display: block;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  max-width: 100vw;
  object-fit: contain;
  object-position: center;
}

/* Navigation sits across the lower part of the screen, over the logo's black background. */
.cs-navigation {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: clamp(22px, 5vh, 56px);
  padding: 0 18px;
}

.cs-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(18px, 3.2vw, 48px);
  list-style: none;
  padding: 0;
  margin: 0;
}

.cs-menu li { margin: 0; padding: 0; }

.cs-menu a {
  display: inline-block;
  color: var(--cs-orange);
  font-family: var(--cs-menu-font);
  font-size: clamp(15px, 1.65vw, 23px);
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 160ms ease, transform 160ms ease;
}

.cs-menu a:hover,
.cs-menu a:focus-visible,
.cs-menu .current-menu-item > a {
  color: #f39832;
}

.cs-menu a:hover { transform: translateY(-2px); }

.cs-menu a:focus-visible {
  outline: 2px solid var(--cs-orange);
  outline-offset: 6px;
}

@media (max-width: 600px) {
  .cs-navigation {
    bottom: max(18px, env(safe-area-inset-bottom));
    padding: 0 12px;
  }
  .cs-menu {
    gap: 10px 19px;
    max-width: 440px;
    margin: 0 auto;
  }
  .cs-menu a {
    font-size: 13px;
    letter-spacing: 0.12em;
  }
  .cs-logo {
    width: 100vw;
    height: auto;
    max-height: 82dvh;
  }
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Bios page */
.cs-bios-page {
  min-height: 100vh;
  min-height: 100dvh;
  background: #000;
  color: #f4f0e9;
  padding: 28px clamp(16px, 4vw, 60px) 60px;
}
.cs-site-nav {
  width: 100%;
  margin: 0 auto 30px;
}
.cs-site-nav .cs-menu {
  justify-content: center;
}
.cs-bios-heading {
  margin: 8px 0 30px;
  color: var(--cs-orange);
  text-align: center;
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 900;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.cs-bios-grid {
  width: min(1200px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(10px, 1.4vw, 20px);
}
.cs-bio-card {
  min-width: 0;
  margin: 0;
  background: #101010;
  border: 1px solid #29231d;
  overflow: hidden;
}
.cs-bio-card img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center;
}
.cs-bio-card figcaption {
  padding: 15px 12px 17px;
  color: var(--cs-orange);
  font-size: clamp(15px, 1.5vw, 20px);
  font-weight: 800;
  letter-spacing: .1em;
  text-align: center;
  text-transform: uppercase;
}
@media (max-width: 760px) {
  .cs-bios-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cs-bios-page { padding-top: 20px; }
}
@media (max-width: 480px) {
  .cs-bios-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 420px) {
  .cs-bios-grid { gap: 10px; }
  .cs-bio-card figcaption { padding: 12px 6px; font-size: 13px; }
}


/* Music page */
.cs-music-page {
  min-height: 100vh;
  min-height: 100dvh;
  background: #000;
  color: #f4f0e9;
  padding: 28px clamp(16px, 3.5vw, 52px) 60px;
}
.cs-music-heading {
  margin: 8px 0 14px;
  color: var(--cs-orange);
  text-align: center;
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 900;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.cs-music-intro {
  width: min(900px, 100%);
  margin: 0 auto 28px;
  text-align: center;
  color: #dedbd5;
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.7;
}
.cs-music-gallery {
  width: min(1500px, 100%);
  margin: 0 auto 42px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(7px, 1vw, 14px);
  align-items: stretch;
}
.cs-music-photo {
  margin: 0;
  min-width: 0;
  overflow: hidden;
  background: #101010;
  border: 1px solid #29231d;
  aspect-ratio: 3 / 4;
}
.cs-music-photo:nth-child(1),
.cs-music-photo:nth-child(4),
.cs-music-photo:nth-child(5),
.cs-music-photo:nth-child(6) { aspect-ratio: 4 / 5; }
.cs-music-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}
.cs-music-photo:hover img { transform: scale(1.035); }
.cs-music-details {
  width: min(1000px, 100%);
  margin: 0 auto;
  padding: clamp(20px, 3vw, 38px);
  border-top: 1px solid #39291b;
  border-bottom: 1px solid #39291b;
  text-align: center;
}
.cs-music-details h2 {
  margin: 0 0 14px;
  color: var(--cs-orange);
  font-size: clamp(22px, 2.6vw, 32px);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.cs-music-details p { color: #dedbd5; line-height: 1.75; }
.cs-music-details a { color: var(--cs-orange); }
.cs-music-editor-content { margin-top: 20px; }
.cs-music-editor-content iframe { max-width: 100%; }
@media (max-width: 1000px) {
  .cs-music-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .cs-music-page { padding-top: 20px; }
  .cs-music-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
}
