:root {
  --ink: #182322;
  --muted: #64706c;
  --paper: #faf9f4;
  --porcelain: #ffffff;
  --sage: #829d8b;
  --moss: #365648;
  --blue: #365b77;
  --clay: #b35f43;
  --line: #dedbd1;
  --shadow: 0 18px 45px rgba(24, 35, 34, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.85rem clamp(1rem, 4vw, 3rem);
  background: rgba(250, 249, 244, 0.9);
  border-bottom: 1px solid rgba(222, 219, 209, 0.8);
  backdrop-filter: blur(18px);
}

.brand {
  width: min(330px, 52vw);
}

.brand img {
  width: 100%;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  color: var(--moss);
  font-size: 0.93rem;
  font-weight: 700;
}

.main-nav a {
  padding: 0.4rem 0;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  border-color: var(--clay);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  min-height: calc(84vh - 82px);
  padding: clamp(1.35rem, 4vw, 3.5rem) clamp(1rem, 5vw, 4rem) clamp(1.75rem, 4vw, 3rem);
}

.hero-copy {
  max-width: 690px;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Fraunces, Georgia, serif;
  line-height: 1.05;
}

h1 {
  max-width: 15ch;
  font-size: clamp(2.45rem, 4.2vw, 3.55rem);
}

h2 {
  font-size: clamp(2.25rem, 5vw, 4.75rem);
}

h3 {
  font-size: 1.45rem;
}

.hero-copy p:not(.eyebrow),
.section-heading p,
.shop-heading > p,
.about-content p {
  max-width: 64ch;
  color: var(--muted);
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.25rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.78rem 1.08rem;
  border: 1px solid var(--ink);
  border-radius: 6px;
  font-weight: 800;
}

.button.primary {
  color: var(--porcelain);
  background: var(--ink);
}

.button.secondary {
  color: var(--ink);
  background: transparent;
}

.button.light {
  color: var(--porcelain);
  border-color: rgba(255, 255, 255, 0.7);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(24, 35, 34, 0.16);
}

.hero-gallery {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.85rem;
  height: min(45vh, 500px);
  min-height: 320px;
}

.hero-gallery img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-gallery .hero-large {
  grid-row: span 2;
}

.studio-note {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 0.75fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: end;
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1rem, 5vw, 4rem);
  background: var(--moss);
  color: var(--porcelain);
}

.studio-note h2 {
  max-width: 14ch;
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.studio-note p:not(.eyebrow) {
  margin: 0;
  max-width: 68ch;
  color: rgba(255, 255, 255, 0.82);
}

.section {
  padding: clamp(3.5rem, 8vw, 7rem) clamp(1rem, 5vw, 4rem);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(260px, 0.65fr);
  align-items: end;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.section-heading .eyebrow,
.section-heading h2 {
  grid-column: 1;
}

.section-heading p {
  grid-column: 2;
  grid-row: 1 / span 2;
  margin: 0;
}

.filter-bar {
  display: flex;
  gap: 0.55rem;
  overflow-x: auto;
  padding: 0.25rem 0 1.25rem;
}

.filter {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0.55rem 0.9rem;
  color: var(--moss);
  background: var(--porcelain);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.filter.active,
.filter:hover,
.filter:focus-visible {
  color: var(--porcelain);
  background: var(--blue);
  border-color: var(--blue);
}

.gallery {
  column-count: 4;
  column-gap: 1rem;
}

.gallery-item {
  position: relative;
  display: inline-block;
  width: 100%;
  margin: 0 0 1rem;
  overflow: hidden;
  background: var(--porcelain);
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(24, 35, 34, 0.1);
}

.gallery-item img {
  width: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
}

.gallery-item figcaption {
  position: absolute;
  left: 0.7rem;
  bottom: 0.7rem;
}

.gallery-tag {
  padding: 0.35rem 0.58rem;
  color: var(--porcelain);
  background: rgba(24, 35, 34, 0.76);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
}

.gallery-tag:hover,
.gallery-tag:focus-visible {
  background: var(--blue);
  outline: 2px solid rgba(255, 255, 255, 0.78);
  outline-offset: 2px;
}

.gallery-item:hover img {
  transform: scale(1.035);
}

.shop-section {
  background: var(--porcelain);
  border-block: 1px solid var(--line);
}

.digital-section {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.shop-heading {
  grid-template-columns: minmax(0, 0.7fr) minmax(280px, 0.7fr);
}

.shop-heading > p {
  grid-column: 2;
  grid-row: 1;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.shop-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.shop-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  padding: 0.75rem;
  object-fit: contain;
  object-position: center;
  background: var(--paper);
}

.shop-card-content {
  display: grid;
  align-content: start;
  gap: 0.75rem;
  padding: 1rem;
}

.shop-card h3 {
  font-size: 1.35rem;
}

.shop-card p {
  margin: 0;
  color: var(--muted);
}

.shop-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  color: var(--moss);
  font-size: 0.9rem;
  font-weight: 800;
}

.shop-card .button {
  justify-self: start;
  margin-top: 0.3rem;
}

.shop-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  padding: clamp(1rem, 3vw, 1.5rem);
  color: var(--porcelain);
  background: var(--blue);
  border-radius: 8px;
}

.shop-callout p {
  margin: 0.35rem 0 0;
  color: rgba(255, 255, 255, 0.82);
}

.digital-callout {
  background: var(--moss);
}

.about-band {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(300px, 0.65fr);
  align-items: stretch;
  background: var(--ink);
}

.about-content {
  padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 5vw, 4rem);
  color: var(--porcelain);
}

.about-content p {
  color: rgba(255, 255, 255, 0.78);
}

.about-band img {
  width: 100%;
  height: 100%;
  max-height: 640px;
  object-fit: cover;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem clamp(1rem, 5vw, 4rem);
  color: var(--moss);
  background: var(--paper);
  font-weight: 800;
}

.site-footer div {
  display: flex;
  gap: 1rem;
}

@media (max-width: 980px) {
  .hero,
  .about-band,
  .studio-note,
  .section-heading,
  .shop-heading {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  h1 {
    max-width: 13ch;
  }

  .section-heading p,
  .shop-heading > p {
    grid-column: 1;
    grid-row: auto;
  }

  .gallery {
    column-count: 3;
  }

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

@media (max-width: 700px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .brand {
    width: min(360px, 100%);
  }

  .main-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 0.15rem;
  }

  .hero {
    padding-top: 1.5rem;
  }

  .hero-gallery {
    grid-template-columns: 1fr 1fr;
    min-height: 420px;
  }

  .gallery {
    column-count: 2;
  }

  .shop-grid {
    grid-template-columns: 1fr;
  }

  .shop-callout,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 460px) {
  h1 {
    font-size: 2.65rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-gallery {
    grid-template-columns: 1.2fr 0.8fr;
    grid-template-rows: 1fr 1fr;
    height: 140px;
    min-height: 140px;
  }

  .hero-gallery img {
    height: 100%;
    margin-bottom: 0;
  }

  .gallery {
    column-count: 1;
  }
}
