/* ===============================
   GLOBAL
=============================== */

body {
  margin: 0;
  padding: 0;
  font-size: 20px;
  font-family: 'Lato', sans-serif;
  background-color: #fefdf9;
  color: #333;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #5b8ad8;
}

a:active {
  color: #4a78c2;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===============================
   GLOBAL SECTION LAYOUTS
=============================== */

section {
  position: relative;
  z-index: 1;
}

/* ===============================
   GLOBAL WRAP
=============================== */

.global-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem;
}

/* ===============================
   GLOBAL GRID
=============================== */

.global-grid-one,
.global-grid-two,
.global-grid-three {
  display: grid;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.global-grid-one {
  grid-template-columns: 1fr;
}

.global-grid-two {
  grid-template-columns: 1fr 1fr;
}

.global-grid-three {
  grid-template-columns: 1fr 1fr 1fr;
}

.global-cell {
  padding: 2rem;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

/* vertical dividers only between cells */
.global-cell+.global-cell {
  border-left: 1px solid rgba(0, 0, 0, 0.08);
}

.global-cell.top {
  justify-content: flex-start;
}

.global-cell img {
  width: 100%;
  height: auto;
  display: block;
}

.global-cell.full {
  grid-column: 1 / -1;
  min-height: 0;
}

@media (max-width: 900px) {

  .global-grid-two,
  .global-grid-three {
    grid-template-columns: 1fr;
  }

  /* remove vertical borders when stacked */
  .global-cell+.global-cell {
    border-left: none;
  }

  /* remove bottom border when stacked if needed */
  .global-cell.no-bottom-border {
    border-bottom: none;
  }

}

@media (max-width: 700px) {

  .global-cell {
    padding-left: 1rem;
    padding-right: 1rem;
  }

}

/* ===============================
   MUSIC GRID
=============================== */

.global-cell.music {
  min-height: 0;
}

@media (max-width: 900px) {

  .global-cell.music {
    text-align: center;
    padding: 2rem;
  }

}

/* ===============================
   GALLERY GRID
=============================== */

.gallery-grid {
  display: block;
  column-count: 2;
  column-gap: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.gallery-grid .global-cell {
  break-inside: avoid;
  padding: 2rem;
  min-height: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

/* vertical divider between columns only */
.gallery-grid .global-cell:nth-child(even) {
  border-left: 1px solid rgba(0, 0, 0, 0.08);
}

.gallery-grid img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 700px) {

  .gallery-grid {
    column-count: 1;
  }

  .gallery-grid .global-cell {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  /* remove divider when stacked */
  .gallery-grid .global-cell:nth-child(even) {
    border-left: none;
  }
}

/* ===============================
   GLOBAL HEADER
=============================== */

.global-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.5rem 2rem;
}

.global-logo {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1;
  color: inherit;
  text-decoration: none;
  padding: 0.2rem 0;
  transition: color 0.3s ease;
}

.global-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
}

.global-nav a {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.global-nav a:hover {
  color: #5b8ad8;
}

.global-nav a.is-active {
  color: #d88ab2;
}

.global-nav a.is-active:hover {
  color: #d88ab2;
}

@media (max-width: 900px) {
  .global-header {
    flex-direction: column;
  }
}

/* ===============================
   GLOBAL HERO
=============================== */

.global-hero {
  width: 100%;
  object-fit: cover;
  display: block;
}

/* ===============================
   GLOBAL FOOTER LINKS
=============================== */

.global-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 4rem 2rem;
  gap: 1rem;
}

.global-footer-links a {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  font-size: 0.85rem;
}

/* ===============================
   GLOBAL TYPOGRAPHY
=============================== */

h1,
h2 {
  font-size: 2rem;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.2;
  letter-spacing: 0.08em;
  margin: 0 0 0.5rem 0;
}

h3 {
  font-size: 1rem;
  text-transform: uppercase;
  opacity: 0.7;
  line-height: 1.4;
  letter-spacing: 0.12em;
  margin: 0 0 1.5rem 0;
}

h4 {
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.2;
  margin: 0;
}

p {
  font-size: 1rem;
  color: #333;
  line-height: 1.8;
  text-align: left;
  margin: 0 0 1.2rem 0;
}

p:last-child {
  margin-bottom: 0;
}

/* NAME */

.global-name {
  padding: 2rem;
  text-align: center;
}

.global-name a {
  text-decoration: none;
}

/* SECTION TITLES */

.global-page-header {
  padding: 1rem;
  text-align: center;
}

@media (max-width: 1024px) {

  h1,
  h2 {
    font-size: 1.8rem;
    letter-spacing: 0.075em;
  }

  h3 {
    font-size: 0.95rem;
    letter-spacing: 0.11em;
  }

  h4 {
    font-size: 1.1rem;
    letter-spacing: 0.045em;
  }
}

@media (max-width: 700px) {

  h1,
  h2 {
    font-size: 1.6rem;
    letter-spacing: 0.065em;
    line-height: 1.3;
  }

  h3 {
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    line-height: 1.4;
  }

  h4 {
    font-size: 1rem;
    letter-spacing: 0.04em;
  }
}

@media (max-width: 400px) {

  h1,
  h2 {
    font-size: 1.4rem;
    letter-spacing: 0.06em;
    line-height: 1.4;
  }

  h3 {
    font-size: 0.85rem;
    letter-spacing: 0.095em;
  }

  h4 {
    font-size: 0.95rem;
    letter-spacing: 0.04em;
  }
}

/* ===============================
   GLOBAL BUTTON STYLE
=============================== */

.global-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;

  padding: 0.6rem 1.5rem;
  min-height: 44px;

  border: 1px solid currentColor;
  background-color: #fefdf9;
  color: inherit;
  text-decoration: none;
  cursor: pointer;

  font-size: 0.9rem;
  line-height: 1;
  letter-spacing: 0.08em;
  font-weight: 700;
  text-transform: uppercase;

  transition: color 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}

.global-btn:hover {
  color: #5b8ad8;
  border-color: #5b8ad8;
}

.global-btn:active {
  background-color: #4a78c2;
  border-color: #4a78c2;
  color: #fff;
}

.global-btn.block {
  display: flex;
  width: 100%;
}

@media (max-width: 1024px) {
  .global-btn {
    padding: 0.55rem 1.4rem;
  }
}

@media (max-width: 700px) {
  .global-btn {
    padding: 0.5rem 1.2rem;
    display: block;
  }
}

@media (max-width: 400px) {
  .global-btn {
    padding: 0.45rem 1.1rem;
    width: 100%;
  }
}

/* ===============================
   GLOBAL FORMS
=============================== */

.global-form-standard {
  text-align: left;
}

.global-form-group {
  margin-bottom: 1rem;
}

.global-form-standard label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
  color: #444;
}

.global-form-standard input,
.global-form-standard textarea {
  width: 100%;
  padding: 0.6rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 0;
  box-sizing: border-box;
  background-color: #fefdf9;
}

.global-form-standard textarea {
  resize: vertical;
}

@media (max-width: 1024px) {

  .global-form-standard input,
  .global-form-standard textarea {
    font-size: 0.95rem;
    padding: 0.55rem;
  }
}

@media (max-width: 700px) {

  .global-form-standard input,
  .global-form-standard textarea {
    font-size: 0.9rem;
    padding: 0.5rem;
  }
}

@media (max-width: 400px) {

  .global-form-standard input,
  .global-form-standard textarea {
    font-size: 0.85rem;
    padding: 0.45rem;
  }
}

.bandcamp-small {
  display: none;
}

/* ===============================
   GLOBAL VIDEO EMBEDS
=============================== */

.global-video-embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid #333;
}

.global-video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 1px solid #333;
  border-radius: 4px;
  display: block;
}