:root {
  --ink: #101014;
  --muted: #64615d;
  --paper: #f6f2ea;
  --paper-card: #fffaf1;
  --line: rgba(16, 16, 20, 0.14);
  --accent: #b72632;
  --max: 1160px;
  --radius: 6px;
  --font-body: Manrope, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-heading: Fraunces, Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  background:
    linear-gradient(90deg, rgba(16, 16, 20, 0.06) 1px, transparent 1px) 0 0 / 96px 96px,
    var(--paper);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.45;
  background: transparent;
}

body,
button,
input,
textarea,
select {
  font: inherit;
}

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

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

p,
h1,
h2,
h3,
figure {
  margin-top: 0;
}

strong {
  font-weight: 800;
}

.shell {
  width: min(var(--max), calc(100vw - 96px));
  margin: 0 auto;
}

.site-header {
  color: var(--ink);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.brand {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
}

.brand em {
  font-family: var(--font-heading);
  font-weight: 400;
  font-style: italic;
}

.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 26px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a,
.footer a {
  transition:
    color 150ms ease,
    text-decoration-color 150ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.footer a:hover,
.footer a:focus-visible {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  text-decoration-color: currentColor;
}

section {
  scroll-margin-top: 32px;
}

.hero {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 58px;
  align-items: start;
  padding: 58px 0 72px;
}

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

.hero-no-image {
  grid-template-columns: 1fr;
}

h1 {
  max-width: 760px;
  margin-bottom: 28px;
  font-family: var(--font-heading);
  font-size: 74px;
  font-weight: 400;
  line-height: 0.97;
}

h2,
h3 {
  font-family: var(--font-heading);
}

.lede {
  margin-bottom: 22px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.35;
}

.body-copy {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 17px;
}

.hero-copy p:last-child {
  margin-bottom: 0;
}

.hero-image {
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--ink);
  border-radius: 4px;
  background: #ddd6cc;
}

.hero-carousel {
  position: relative;
  width: 100%;
  height: clamp(300px, 31vw, 440px);
  background: #ddd6cc;
}

.carousel-viewport,
.carousel-slide {
  width: 100%;
  height: 100%;
}

.carousel-viewport {
  position: relative;
  overflow: hidden;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease;
}

.carousel-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image figcaption {
  padding: 11px 13px;
  border-top: 1px solid var(--ink);
  background: rgba(246, 242, 234, 0.92);
  color: var(--ink);
  font-size: 12px;
  text-transform: uppercase;
}

.carousel-button {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(16, 16, 20, 0.4);
  border-radius: 999px;
  background: rgba(246, 242, 234, 0.82);
  color: var(--ink);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  transform: translateY(-50%);
  transition:
    background 150ms ease,
    border-color 150ms ease;
}

.carousel-button:hover,
.carousel-button:focus-visible {
  border-color: var(--ink);
  background: rgba(246, 242, 234, 0.96);
}

.carousel-button-prev {
  left: 12px;
}

.carousel-button-next {
  right: 12px;
}

.carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 14px;
  z-index: 2;
  display: flex;
  gap: 7px;
  transform: translateX(-50%);
}

.carousel-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 1px solid rgba(16, 16, 20, 0.52);
  border-radius: 999px;
  background: rgba(246, 242, 234, 0.74);
  cursor: pointer;
}

.carousel-dot.active {
  background: var(--ink);
}

.slate {
  padding: 0 0 58px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.section-heading h2 {
  margin: 0;
  font-size: 32px;
  line-height: 1.08;
}

.section-heading p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.film-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.film-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-card);
  color: var(--ink);
}

a.film-card {
  transition:
    border-color 150ms ease,
    transform 150ms ease,
    box-shadow 150ms ease;
}

a.film-card:hover,
a.film-card:focus-visible {
  border-color: rgba(16, 16, 20, 0.38);
  box-shadow: 0 10px 24px rgba(16, 16, 20, 0.08);
  transform: translateY(-2px);
}

.film-card img {
  width: 100%;
  height: 128px;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
  background: #ddd6cc;
}

.film-card-body {
  display: flex;
  min-height: 280px;
  flex: 1;
  flex-direction: column;
  padding: 13px;
}

.meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 12px;
}

.meta-row > span:last-child {
  text-align: right;
}

.pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 24px;
  padding: 3px 9px;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.2;
  white-space: nowrap;
}

.film-card h3 {
  margin-bottom: 8px;
  font-size: 17px;
  line-height: 1.15;
}

.film-card p {
  margin-bottom: 13px;
  color: var(--muted);
  font-size: 13px;
}

.film-status {
  margin-top: auto;
}

.about-preview {
  padding: 34px 0 58px;
  border-top: 1px solid var(--line);
}

.about-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.person {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 16px;
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 241, 0.42);
}

.person-no-photo {
  grid-template-columns: 1fr;
}

.person-photo {
  width: 112px;
  height: 132px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #ddd6cc;
  object-fit: cover;
}

.person-body {
  min-width: 0;
}

.person h3 {
  margin-bottom: 4px;
  font-size: 19px;
  line-height: 1.2;
}

.person .role {
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}

.person p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.person a,
.faq-list a,
.contact-panel a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(16, 16, 20, 0.36);
}

.person a:hover,
.person a:focus-visible,
.faq-list a:hover,
.faq-list a:focus-visible,
.contact-panel a:hover,
.contact-panel a:focus-visible {
  text-decoration-color: currentColor;
}

.text-section {
  padding: 34px 0 58px;
  border-top: 1px solid var(--line);
}

.faq-list {
  display: grid;
  gap: 10px;
}

details {
  padding: 15px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 241, 0.38);
}

summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  float: right;
  margin-left: 16px;
  color: var(--accent);
  font-weight: 800;
}

details[open] summary::after {
  content: "-";
}

details p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.contact-section {
  padding-bottom: 44px;
}

.contact-panel {
  max-width: none;
  color: var(--muted);
  font-size: 16px;
}

.contact-panel p {
  margin: 0 0 14px;
}

.contact-links {
  display: grid;
  gap: 9px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.contact-links li {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 16px;
  align-items: baseline;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.contact-links span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.footer {
  display: flex;
  justify-content: space-between;
  padding: 26px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 1100px) {
  .film-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .shell {
    width: min(var(--max), calc(100vw - 48px));
  }

  .nav {
    align-items: flex-start;
    gap: 20px;
    padding: 24px 0;
  }

  .nav-links {
    gap: 14px 20px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: start;
    padding: 42px 0 54px;
  }

  .hero-copy {
    max-width: none;
  }

  h1 {
    font-size: 56px;
  }

  .hero-carousel {
    height: 460px;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

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

  .about-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  html {
    background:
      linear-gradient(90deg, rgba(16, 16, 20, 0.06) 1px, transparent 1px) 0 0 / 64px 64px,
      var(--paper);
  }

  .shell {
    width: min(var(--max), calc(100vw - 32px));
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .brand {
    font-size: 34px;
  }

  .nav-links {
    justify-content: flex-start;
    font-size: 14px;
  }

  .hero {
    padding: 36px 0 46px;
  }

  h1 {
    margin-bottom: 22px;
    font-size: 42px;
    line-height: 1;
  }

  .lede {
    font-size: 19px;
  }

  .body-copy {
    font-size: 16px;
  }

  .hero-carousel {
    height: 330px;
  }

  .section-heading h2 {
    font-size: 30px;
  }

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

  .film-card img {
    height: 180px;
  }

  .film-card-body {
    min-height: 0;
  }

  .person {
    grid-template-columns: 88px minmax(0, 1fr);
  }

  .person-photo {
    width: 88px;
    height: 112px;
  }

  .contact-links li {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (max-width: 400px) {
  h1 {
    font-size: 36px;
  }

  .nav-links {
    gap: 10px 14px;
  }

  .hero-carousel {
    height: 280px;
  }

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

  .person-photo {
    width: 100%;
    height: 220px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .carousel-slide {
    transition: none;
  }
}
