/* ============================================================
   FONTS
============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Space+Grotesk:wght@300;400;500;600&display=swap');

/* ============================================================
   CUSTOM PROPERTIES
============================================================ */
:root {
  /* Palette */
  --black:        #080808;
  --dark:         #111111;
  --surface:      #161616;
  --cream:        #f0ece3;
  --cream-mid:    #e0dbd2;
  --white:        #ffffff;
  --muted-dark:   #777777;
  --muted-light:  #888880;
  --border-dark:  #222222;
  --border-light: #d5d0c8;

  /* Typography */
  --serif: 'Bebas Neue', Impact, 'Arial Narrow', sans-serif;
  --sans:           'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Layout */
  --section-pad:    clamp(5rem, 10vw, 9rem);
  --container-max:  1160px;
  --gutter:         clamp(1.25rem, 5vw, 3rem);
}

/* ============================================================
   RESET
============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

img, svg, video {
  display: block;
  max-width: 100%;
}

ul[role="list"] {
  list-style: none;
}

button {
  cursor: pointer;
  font: inherit;
  background: none;
  border: none;
  color: inherit;
}

/* ============================================================
   BASE
============================================================ */
body {
  font-family: var(--sans);
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================================================
   LAYOUT
============================================================ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left:  var(--gutter);
  padding-right: var(--gutter);
}

.container--narrow {
  max-width: 680px;
}

/* ============================================================
   SECTIONS
============================================================ */
.section {
  padding-top:    var(--section-pad);
  padding-bottom: var(--section-pad);
}

/* Dark section (services, gallery) */
.section--dark {
  background: var(--dark);
  color: var(--white);
}

/* Dark section with a photo backdrop (services) */
.section--photo {
  position: relative;
  background-image: url("assets/web/services-bg.jpg");
  background-size: cover;
  background-position: center 40%;
  isolation: isolate;
}

/* Dark layer between the photo and the content */
.section--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 8, 0.7);
  z-index: -1;
}

/* Lift the card text so it stays legible over the photo */
.section--photo .service-body {
  color: #d6d6d6;
  font-weight: 400;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.section--photo .service-number {
  display: none;
}

/* No dividers over the photo */
.section--photo .services-grid,
.section--photo .service-card {
  border: none;
}

/* Light / cream section (about, testimonials, gigs) */
.section--light {
  background: var(--cream);
  color: var(--black);
}

/* Contact section */
.section--contact {
  background: var(--surface);
  color: var(--white);
}

/* Section label — small all-caps above each heading */
.section-label {
  display: block;
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  opacity: 0.45;
  margin-bottom: 1.5rem;
}

/* Section heading */
.section-title {
  font-family: var(--serif);
  font-size: clamp(2.75rem, 6vw, 5.5rem);
  font-weight: 400;
  line-height: 1.0;
  letter-spacing: 0.04em;
  margin-bottom: 2rem;
}

/* Section body text */
.section-body {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.8;
  opacity: 0.75;
  max-width: 560px;
}

/* ============================================================
   NAVIGATION
============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.35s ease, border-color 0.35s ease;
  border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
  background: rgba(8, 8, 8, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border-dark);
}

.nav-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.nav-logo img {
  height: 96px;
  filter: invert(1)
}

/* Links list */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  color: var(--white);
  text-decoration: none;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.nav-link:hover {
  opacity: 0.45;
}

/* "Book Us" pill */
.nav-cta {
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.45rem 1.2rem;
  opacity: 1;
  transition: background 0.2s, border-color 0.2s, color 0.2s !important;
}

.nav-cta:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
  opacity: 1 !important;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  padding: 0.4rem;
  color: var(--white);
}

.icon-close {
  display: none;
}

.nav-hamburger[aria-expanded="true"] .icon-menu  { display: none;  }
.nav-hamburger[aria-expanded="true"] .icon-close { display: block; }

/* ============================================================
   HERO
============================================================ */
.hero {
  position: relative;
  height: 100svh;
  min-height: 620px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  filter: grayscale(100%) 
}

/* Gradient darkens bottom so text is readable */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(8, 8, 8, 0.05) 0%,
    rgba(8, 8, 8, 0.18) 40%,
    rgba(8, 8, 8, 0.7)  75%,
    rgba(8, 8, 8, 0.95) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--gutter) 2.5rem;
}

.hero-eyebrow {
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--white);
  opacity: 0.55;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(5rem, 10vw, 9rem);
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: 0.06em;
  color: var(--white);
  margin-bottom: 1.75rem;
}

.hero-sub {
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  opacity: 0.55;
  margin-bottom: 2.75rem;
}

/* Scroll indicator — bottom right, vertical text + line */
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  right: var(--gutter);
  z-index: 1;
  color: var(--white);
  opacity: 0.3;
  text-decoration: none;
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  transition: opacity 0.25s;
}

.hero-scroll::after {
  content: '';
  display: block;
  width: 1px;
  height: 48px;
  background: currentColor;
}

.hero-scroll:hover {
  opacity: 0.7;
}

/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.9rem 2rem;
  border: 1px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  line-height: 1;
  white-space: nowrap;
}

/* For dark backgrounds */
.btn-primary {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}
.btn-primary:hover {
  background: var(--cream);
  border-color: var(--cream);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.38);
}
.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

/* For light backgrounds */
.btn-primary-dark {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.btn-primary-dark:hover {
  background: var(--dark);
  border-color: var(--dark);
}

.btn-outline-dark {
  background: transparent;
  color: var(--black);
  border-color: rgba(0, 0, 0, 0.3);
}
.btn-outline-dark:hover {
  border-color: var(--black);
}

.btn-large {
  padding: 1.1rem 2.75rem;
}

.btn-sm {
  padding: 0.55rem 1.2rem;
  font-size: 0.65rem;
}

/* ============================================================
   ABOUT
============================================================ */

/* Two-column intro: title left, body text right */
.about-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  margin-bottom: 4rem;
}

/* Multi-paragraph bio in the right-hand column */
.about-body .section-body + .section-body {
  margin-top: 1.25rem;
}

/* 4-column member grid */
.members-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.member-card {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

/* Portrait-format photo placeholder */
.member-photo {
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.4s;
}

.member-card:hover .member-photo img {
  filter: grayscale(20%);
}

.member-photo--placeholder {
  background: linear-gradient(
    160deg,
    var(--cream-mid) 0%,
    var(--border-light) 100%
  );
}

.member-name {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--black);
}

.member-role {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-light);
}

/* ============================================================
   SERVICES
============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border-dark);
  margin-top: 3rem;
}

.service-card {
  padding: 3rem 3rem 3rem 0;
  border-right: 1px solid var(--border-dark);
}

.service-card:last-child {
  border-right: none;
}

.service-card + .service-card {
  padding-left: 3rem;
}

.service-number {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--muted-dark);
  margin-bottom: 2rem;
}

.service-title {
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--white);
  margin-bottom: 1rem;
}

.service-body {
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--muted-dark);
}

/* ============================================================
   TESTIMONIALS
============================================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 3rem;
}

.testimonial {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  border-top: 1px solid var(--border-light);
  overflow: hidden;
}

/* Testimonials with a photo: image sits flush, no top padding needed */
.testimonial-image {
  height: 220px;
  overflow: hidden;
}

.testimonial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.4s;
}

.testimonial:hover .testimonial-image img {
  filter: grayscale(20%);
}

/* Testimonials without a photo keep top breathing room */
.testimonial:not(:has(.testimonial-image)) {
  padding-top: 2rem;
}

.testimonial-quote {
  font-family: var(--sans);
  font-size: 1rem;
  font-style: italic;
  font-weight: 300;
  line-height: 1.75;
  color: var(--black);
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-style: normal;
}

.testimonial-author strong {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--black);
}

.testimonial-author span {
  font-size: 0.75rem;
  color: var(--muted-light);
}

/* ============================================================
   GALLERY
============================================================ */
/* Spacing above the grid, inside the section */
#gallery .container {
  padding-bottom: 2.5rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 280px;
  gap: 3px;
  background: var(--border-dark);
}

.gallery-item {
  overflow: hidden;
  background: var(--surface);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(80%);
  transition: filter 0.4s, transform 0.5s;
}

.gallery-item:hover img {
  filter: grayscale(10%);
  transform: scale(1.04);
}

/* Span modifiers */
.gallery-item--tall {
  grid-row: span 2;
}

.gallery-item--wide {
  grid-column: span 2;
}

.gallery-item--placeholder {
  background: linear-gradient(
    135deg,
    var(--surface) 0%,
    var(--border-dark) 100%
  );
}

/* ============================================================
   GIGS
============================================================ */
.gigs-list {
  margin-top: 3rem;
  border-top: 1px solid var(--border-light);
}

.gig-item {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--border-light);
}

.gig-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 3.5rem;
  flex-shrink: 0;
  gap: 0.15rem;
}

.gig-month {
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-light);
  line-height: 1;
}

.gig-day {
  font-family: var(--serif);
  font-size: 2.6rem;
  font-weight: 400;
  line-height: 1;
  color: var(--black);
}

.gig-year {
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--muted-light);
  line-height: 1;
  margin-top: 0.2rem;
}

.gig-details {
  flex: 1;
}

.gig-venue {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--black);
  margin-bottom: 0.2rem;
}

.gig-location {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--muted-light);
}

.gig-item--placeholder .gig-venue,
.gig-item--placeholder .gig-day,
.gig-item--placeholder .gig-month {
  opacity: 0.3;
}

.gigs-follow {
  margin-top: 2rem;
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--muted-light);
}

.gigs-follow a {
  color: var(--black);
  text-underline-offset: 3px;
}

.gigs-follow a:hover {
  opacity: 0.55;
}

/* ============================================================
   CONTACT
============================================================ */
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.75rem;
}

/* ============================================================
   FOOTER
============================================================ */
.footer {
  background: var(--black);
  border-top: 1px solid var(--border-dark);
  padding: 2.5rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-logo {
  height: 96px;
  filter: invert(1);
  opacity: 0.6;
}

.footer-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.footer-links a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.45;
  transition: opacity 0.2s;
}

.footer-links a:hover {
  opacity: 1;
}

.footer-copy {
  font-size: 0.68rem;
  color: var(--white);
  opacity: 0.25;
  letter-spacing: 0.06em;
}

.footer-copy a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ============================================================
   RESPONSIVE — tablet (≤ 900px)
============================================================ */
@media (max-width: 900px) {
  .about-header {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .members-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: 1fr;
    border-top: none;
  }

  .service-card {
    padding: 2.5rem 0;
    border-right: none;
    border-top: 1px solid var(--border-dark);
  }

  .service-card + .service-card {
    padding-left: 0;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .testimonial {
    padding: 2rem 0;
    border-top: 1px solid var(--border-light);
    border-bottom: none;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 240px;
  }

  /* flatten spans on smaller screens for cleaner layout */
  .gallery-item--tall,
  .gallery-item--wide {
    grid-row: span 1;
    grid-column: span 1;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }
}

/* ============================================================
   RESPONSIVE — mobile (≤ 640px)
============================================================ */
@media (max-width: 640px) {
  /* Mobile nav */
  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(8, 8, 8, 0.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem var(--gutter) 2.5rem;
    gap: 1.4rem;
    border-bottom: 1px solid var(--border-dark);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-hamburger {
    display: flex;
  }

  /* Pill style doesn't make sense stacked */
  .nav-cta {
    border: none !important;
    padding: 0 !important;
  }

  .hero {
    height: 65svh;
    min-height: 480px;
    align-items: flex-end;
  }

  .hero-image {
    object-position: center center;
  }

  .hero h1 {
    font-size: clamp(3.5rem, 14vw, 6rem);
  }

  .members-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
  }

  .gig-item {
    gap: 1.25rem;
    flex-wrap: wrap;
  }

  .gig-item .btn {
    margin-left: calc(3.5rem + 1.25rem); /* align with gig-details */
  }

  .contact-actions {
    flex-direction: column;
  }

  .contact-actions .btn {
    text-align: center;
  }
}
