:root {
  --ink: #14161c;
  --ink-2: #1c1f27;
  --ink-3: #262a34;
  --cream: #f4ede1;
  --cream-dim: #c9c1b3;
  --muted: #8f8a80;
  --brass: #d4a24c;
  --brass-2: #e8bd6a;
  --red: #d8463a;
  --radius: 14px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --nav-h: 68px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }

body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--brass-2); }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h2 { font-size: clamp(2rem, 4.5vw, 3rem); }
h3 { font-size: 1.75rem; }

.container { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }
.center { text-align: center; }

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--brass);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.lead { font-size: 1.25rem; color: var(--cream); }
p { color: var(--cream-dim); margin: 0 0 1.1em; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8em 1.6em;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--brass); color: var(--ink); }
.btn--primary:hover { background: var(--brass-2); }
.btn--ghost { border: 1.5px solid rgba(244, 237, 225, 0.6); color: var(--cream); }
.btn--ghost:hover { background: rgba(244, 237, 225, 0.1); }
.btn--large { font-size: 1.15rem; margin-top: 0.5rem; }

/* Navigation */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--nav-h);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.nav.is-scrolled {
  background: rgba(20, 22, 28, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}
.nav__inner {
  width: min(1120px, 100% - 32px);
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__brand {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--cream);
  text-decoration: none;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.nav__brand img { width: 40px; height: auto; }
.nav__brand span { color: var(--brass); }
.nav__links {
  display: flex;
  gap: 2rem;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__links a {
  color: var(--cream);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  opacity: 0.85;
  transition: opacity 0.2s, color 0.2s;
}
.nav__links a:hover,
.nav__links a.is-active { opacity: 1; color: var(--brass-2); }
.nav__links .nav__cta {
  padding: 0.45em 1.1em;
  border: 1.5px solid var(--brass);
  border-radius: 999px;
  opacity: 1;
}
.nav__links .nav__cta:hover { background: var(--brass); color: var(--ink); }

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: none;
  border: 0;
  padding: 10px;
  cursor: pointer;
}
.nav__toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--cream);
  transition: transform 0.25s, opacity 0.25s;
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 760px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 16px 1.25rem;
    background: rgba(20, 22, 28, 0.97);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s, transform 0.2s;
  }
  .nav__links.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav__links li { width: 100%; }
  .nav__links a { display: block; padding: 0.8rem 0; font-size: 1.1rem; }
  .nav__links .nav__cta { display: inline-block; margin-top: 0.5rem; padding: 0.5em 1.4em; }
  .nav:has(.is-open) { background: rgba(20, 22, 28, 0.97); }
}

/* Hero */
.hero {
  position: relative;
  min-height: clamp(560px, 100svh, 980px);
  display: grid;
  align-items: end;
  padding: calc(var(--nav-h) + 2rem) 0 clamp(4rem, 10vh, 7rem);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 22, 28, 0.7) 0%, rgba(20, 22, 28, 0) 55%),
    linear-gradient(180deg, rgba(20, 22, 28, 0.5) 0%, rgba(20, 22, 28, 0) 22%, rgba(20, 22, 28, 0) 50%, rgba(20, 22, 28, 0.88) 78%, var(--ink) 100%),
    url("/assets/img/hero.jpg") center 30% / cover no-repeat;
}
.hero__content {
  position: relative;
  width: min(1120px, 100% - 32px);
  margin-inline: auto;
}
.hero h1 {
  font-size: clamp(3.25rem, 9vw, 6.5rem);
  margin-bottom: 0.15em;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.4);
}
.hero__lead {
  max-width: 34rem;
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  color: var(--cream);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 1.5rem;
  width: 22px;
  height: 22px;
  border-right: 2px solid var(--cream);
  border-bottom: 2px solid var(--cream);
  transform: translateX(-50%) rotate(45deg);
  opacity: 0.6;
  animation: bob 2s ease-in-out infinite;
}
@media (max-width: 700px) {
  .hero {
    min-height: 0;
    display: block;
    padding: var(--nav-h) 0 3.5rem;
  }
  .hero__bg {
    position: relative;
    height: 68vw;
    margin-bottom: -2.5rem;
    background:
      linear-gradient(180deg, rgba(20, 22, 28, 0.6) 0%, rgba(20, 22, 28, 0) 25%, rgba(20, 22, 28, 0) 70%, var(--ink) 100%),
      url("/assets/img/hero.jpg") center 30% / cover no-repeat;
  }
  .hero__scroll { display: none; }
}

@keyframes bob { 50% { transform: translate(-50%, 6px) rotate(45deg); } }

/* Sections */
.section { padding: clamp(4.5rem, 10vw, 7.5rem) 0; }
.section--alt { background: var(--ink-2); }
.section__intro { max-width: 38rem; margin-bottom: 2.5rem; }

.paper {
  --paper: #efe6d2;
  --rust: #c4562b;
  --blue: #2a4fa8;
  background: var(--paper);
  color: var(--ink);
  overflow: hidden;
}
.paper p { color: #4a4640; }
.paper .lead { color: var(--ink); }
.paper .eyebrow { color: var(--rust); }

.trio {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.trio__art {
  position: relative;
  margin: 0;
  isolation: isolate;
}
/* Shapes taken from the illustration's palette */
.trio__art::before,
.trio__art::after {
  content: "";
  position: absolute;
  z-index: -1;
}
.trio__art::before {
  inset: -8% -14% 18% 22%;
  background: var(--blue);
  border-radius: 999px 999px 0 0;
}
.trio__art::after {
  width: 46%;
  aspect-ratio: 1;
  left: -12%;
  bottom: -6%;
  background: var(--rust);
  border-radius: 50%;
}
.trio__art img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 18px 40px rgba(20, 22, 28, 0.25);
}
@media (max-width: 820px) {
  .trio { grid-template-columns: 1fr; }
  .trio__art { width: min(380px, 80%); margin: 1rem auto 1.5rem; }
}

/* Audio player */
.player {
  background: var(--ink-2);
  border: 1px solid var(--ink-3);
  border-radius: var(--radius);
  overflow: hidden;
}
.player__now {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid var(--ink-3);
}
.player__play {
  flex: none;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 0;
  border-radius: 50%;
  background: var(--brass);
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.player__play:hover { background: var(--brass-2); transform: scale(1.05); }
.player__icon {
  width: 0;
  height: 0;
  margin-left: 5px;
  border-style: solid;
  border-width: 11px 0 11px 18px;
  border-color: transparent transparent transparent var(--ink);
}
.player.is-playing .player__icon {
  width: 18px;
  height: 22px;
  margin: 0;
  border: 0;
  border-left: 6px solid var(--ink);
  border-right: 6px solid var(--ink);
}
.player__meta { flex: 1; min-width: 0; }
.player__album {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.player__title {
  margin: 0.1rem 0 0.5rem;
  color: var(--cream);
  font-family: var(--serif);
  font-size: 1.4rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.player__progress { display: flex; align-items: center; gap: 0.75rem; }
.player__time { color: var(--muted); font-size: 0.8rem; font-variant-numeric: tabular-nums; }
.player__progress input { flex: 1; accent-color: var(--brass); min-width: 0; }
.player__list {
  list-style: none;
  margin: 0;
  padding: 0.5rem;
  max-height: 420px;
  overflow-y: auto;
}
.player__list button {
  display: flex;
  width: 100%;
  gap: 1rem;
  align-items: center;
  padding: 0.6rem 0.9rem;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--cream-dim);
  font: inherit;
  font-size: 0.95rem;
  text-align: left;
  cursor: pointer;
}
.player__list button:hover { background: var(--ink-3); color: var(--cream); }
.player__num { width: 1.5rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.player__name { flex: 1; }
.player__dur { color: var(--muted); font-size: 0.85rem; font-variant-numeric: tabular-nums; }
.player__list .is-current button { color: var(--brass-2); }
.player__list .is-current .player__num { color: var(--brass); }
.player__list .is-playing .player__num { font-size: 0; }
.player__list .is-playing .player__num::before { content: "♪"; font-size: 1rem; }

/* Members */
.member {
  display: grid;
  grid-template-columns: minmax(180px, 320px) 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  margin-top: clamp(3rem, 7vw, 5rem);
}
.member--reverse { grid-template-columns: 1fr minmax(180px, 320px); }
.member--reverse .member__img { order: 2; }
.member__img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--ink-3);
  box-shadow: 0 0 0 1px rgba(212, 162, 76, 0.5), 0 25px 60px rgba(0, 0, 0, 0.45);
}
.member__role {
  margin-top: -0.4rem;
  color: var(--brass);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

@media (max-width: 680px) {
  .member,
  .member--reverse { grid-template-columns: 1fr; text-align: center; }
  .member__img,
  .member--reverse .member__img { order: 0; width: min(220px, 60vw); margin-inline: auto; }
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  grid-auto-rows: 170px;
  grid-auto-flow: dense;
  gap: 10px;
}
.gallery__item {
  padding: 0;
  border: 0;
  border-radius: 10px;
  overflow: hidden;
  cursor: zoom-in;
  background: var(--ink-3);
}
.gallery__item.is-tall { grid-row: span 2; }
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, filter 0.4s ease;
}
.gallery__item:hover img { transform: scale(1.05); filter: brightness(1.08); }
.gallery__item:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; }

@media (max-width: 520px) {
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 130px; gap: 6px; }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 11, 14, 0.94);
  padding: 3rem 4rem;
}
.lightbox[hidden] { display: none; }
.lightbox__img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 6px;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.6);
}
.lightbox button {
  position: absolute;
  background: none;
  border: 0;
  color: var(--cream);
  cursor: pointer;
  line-height: 1;
  opacity: 0.75;
}
.lightbox button:hover { opacity: 1; }
.lightbox__close { top: 0.75rem; right: 1rem; font-size: 2.75rem; }
.lightbox__nav { top: 50%; transform: translateY(-50%); font-size: 4rem; padding: 1rem; }
.lightbox__prev { left: 0.25rem; }
.lightbox__next { right: 0.25rem; }

@media (max-width: 600px) {
  .lightbox { padding: 3.5rem 0.5rem; }
  .lightbox__nav { top: auto; bottom: 0.25rem; transform: none; font-size: 3rem; }
}

/* Videos */
.videos {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
}
.video { margin: 0; grid-column: span 6; }
.video.is-tall { grid-column: span 4; }
.video video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #000;
  border-radius: var(--radius);
}
.video.is-tall video { aspect-ratio: 9 / 16; }
.video figcaption { margin-top: 0.6rem; color: var(--muted); font-size: 0.9rem; }

@media (max-width: 900px) {
  .video, .video.is-tall { grid-column: span 12; }
  .video.is-tall { grid-column: span 6; }
}
@media (max-width: 520px) {
  .video.is-tall { grid-column: span 12; width: min(100%, 360px); margin-inline: auto; }
}

/* Contact */
.contact {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(212, 162, 76, 0.16), transparent 60%),
    var(--ink);
}

.contact__mail { margin-top: 1.25rem; overflow-wrap: anywhere; }
.contact__mail a { color: var(--cream-dim); }

/* Footer */
.footer {
  padding: 2rem 0;
  border-top: 1px solid var(--ink-3);
  font-size: 0.9rem;
}
.footer p { margin: 0; color: var(--muted); }
.footer__brand { display: flex; align-items: center; gap: 0.75rem; }
.footer__brand img { width: 40px; height: auto; }
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}
.footer nav { display: flex; gap: 1.5rem; }
.footer a { color: var(--cream-dim); text-decoration: none; }
.footer a:hover { color: var(--brass-2); }

/* Legal pages */
.legal { padding: calc(var(--nav-h) + 3rem) 0 5rem; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3rem); }
.legal h2 { font-size: 1.4rem; margin-top: 2rem; }
.legal .todo { color: var(--red); }
.nav--solid { background: rgba(20, 22, 28, 0.92); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.hero .eyebrow { text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8); }
