/* Hallmark · macrostructure: Photographic · tone: concert poster, documentary · anchor hue: stage red · H6 knobs: image=full-bleed, caption=lower-left, text=overlaid · N9 knobs: cta=text+arrow, wordmark=sans · Ft5 knobs: width=28ch, wordmark=under sentence
 * pre-emit critique: P5 H5 E4 S5 R4 V4
 */

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--color-surface);
  color: var(--color-text);
  font: 400 var(--text-base)/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }

:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.on-photo :focus-visible, .film :focus-visible { outline-color: var(--color-red-soft); }

.skip {
  position: absolute; left: var(--space-md); top: -100px; z-index: 10;
  background: var(--color-paper); color: var(--color-carbon); padding: var(--space-sm) var(--space-md);
}
.skip:focus { top: var(--space-md); }

.poster {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-poster);
  line-height: 0.84;
  letter-spacing: -0.012em;
  text-transform: uppercase;
  color: var(--color-red);
  overflow-wrap: anywhere;
  min-width: 0;
  text-wrap: balance;
}

.link {
  display: inline-flex; align-items: center; gap: var(--space-xs);
  min-height: var(--target);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
  white-space: nowrap;
  transition: color var(--dur-fast) var(--ease-out), text-decoration-color var(--dur-fast) var(--ease-out);
}
.link:hover { text-decoration-color: var(--color-red); }
.link .arrow { transition: transform var(--dur-base) var(--ease-out); }
.link:hover .arrow { transform: translateX(4px); }

.buy {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-sm);
  min-height: 56px;
  padding: 0 var(--space-lg);
  background: var(--color-buy);
  color: var(--color-on-buy);
  border-radius: var(--radius);
  font: 700 var(--text-lg)/1 var(--font-body);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.buy:hover { background: var(--color-buy-hover); }
.buy:active { transform: scale(0.97); }

/* Nav: N9 edge-aligned */
.nav {
  position: absolute; inset: 0 0 auto 0; z-index: 5;
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-md);
  padding: var(--space-md) var(--space-page);
  color: var(--color-on-photo);
}
.brand { display: inline-flex; align-items: center; gap: var(--space-sm); text-decoration: none; min-height: var(--target); }
.brand img { width: 48px; height: 48px; flex-shrink: 0; }
.brand span { font: 800 1.625rem/1 var(--font-display); text-transform: uppercase; letter-spacing: 0.01em; }
.nav .link { font-size: var(--text-base); }

/* Photographic folds */
.fold {
  position: relative;
  isolation: isolate;
  display: grid;
  align-content: end;
  min-height: 92svh;
  background: var(--color-carbon-2);
  color: var(--color-on-photo);
}
.fold--hero { min-height: 100svh; }
.fold > picture, .fold > picture img {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.fold > picture { z-index: -2; }
.fold > picture img { object-fit: cover; filter: grayscale(1) contrast(1.08) brightness(0.86); }
.fold::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, var(--color-scrim) 0%, rgb(14 14 14 / 0.55) 38%, rgb(14 14 14 / 0) 72%);
}
.fold--hero::before {
  background:
    linear-gradient(to bottom, rgb(14 14 14 / 0.55) 0%, rgb(14 14 14 / 0) 22%),
    linear-gradient(to top, var(--color-scrim) 0%, rgb(14 14 14 / 0.5) 42%, rgb(14 14 14 / 0) 70%);
}
.caption {
  width: 100%;
  max-width: var(--page-max);
  margin-inline: auto;
  padding: var(--space-2xl) var(--space-page) var(--space-xl);
  display: grid; gap: var(--space-md);
}
.caption .poster { max-width: 14ch; }
.fold--hero .poster { font-size: var(--text-mast); line-height: 0.8; }
.caption p { max-width: 46ch; font-size: var(--text-lg); color: var(--color-on-photo); }
.caption .actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm) var(--space-xl); margin-top: var(--space-xs); }
.credit {
  position: absolute; right: var(--space-page); top: calc(var(--space-2xl) + var(--space-xl));
  max-width: 34ch;
  font-size: var(--text-sm); line-height: 1.4; text-align: right;
  color: var(--color-on-photo-muted);
  background: rgb(14 14 14 / 0.6);
  padding: var(--space-2xs) var(--space-xs);
}
.fold--hero .credit { top: auto; bottom: var(--space-xl); }
.credit a { text-underline-offset: 3px; }

.fold--right .caption { justify-items: end; text-align: right; }
.fold--right .caption p { justify-self: end; }
.fold--right .credit { right: auto; left: var(--space-page); text-align: left; }

/* Text bands */
.band {
  padding: var(--space-3xl) var(--space-page);
}
.band__inner { max-width: var(--page-max); margin-inline: auto; }
.band h2 {
  font: 800 var(--text-2xl)/0.95 var(--font-display);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
  min-width: 0;
}

.intro .band__inner {
  display: grid; gap: var(--space-xl);
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: end;
}
.intro h2 { max-width: 13ch; }
.intro .lede { font-size: var(--text-xl); line-height: 1.35; max-width: 30ch; }
.intro .body { display: grid; gap: var(--space-md); max-width: var(--measure); color: var(--color-muted); }
.intro .body strong { color: var(--color-text); font-weight: 700; }
.intro .body .link { color: var(--color-link); justify-self: start; }

/* Film */
.film {
  position: relative;
  background: var(--color-carbon-2);
  color: var(--color-on-photo);
}
.film video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--color-carbon-2);
}
.film__bar {
  max-width: var(--page-max); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-md);
  padding: var(--space-md) var(--space-page);
  font-size: var(--text-sm); color: var(--color-on-photo-muted);
}
.film__toggle {
  display: inline-flex; align-items: center; gap: var(--space-xs);
  min-height: var(--target); padding: 0 var(--space-md);
  background: none; border: 1px solid rgb(243 242 238 / 0.35); border-radius: var(--radius);
  color: var(--color-on-photo); font: 700 var(--text-sm)/1 var(--font-body);
  cursor: pointer;
  transition: border-color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.film__toggle:hover { border-color: var(--color-on-photo); }
.film__toggle:active { transform: scale(0.97); }

/* Merch shelf */
.shelf .band__head {
  display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--space-md) var(--space-xl);
  margin-bottom: var(--space-xl);
}
.shelf .band__head p { max-width: 40ch; color: var(--color-muted); }
.shelf .band__head .link { color: var(--color-link); }
.products {
  display: grid; gap: var(--space-xl) var(--space-lg);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.product a { display: grid; gap: var(--space-sm); text-decoration: none; }
.product figure { margin: 0; overflow: hidden; background: var(--color-panel); aspect-ratio: 4 / 3; }
.product img { width: 100%; height: 100%; object-fit: cover; transition: transform 420ms var(--ease-out); }
.product a:hover img { transform: scale(1.035); }
.product .band-name { font: 700 var(--text-sm)/1.2 var(--font-body); color: var(--color-link); text-transform: uppercase; letter-spacing: 0.06em; }
.product .name { font: 700 var(--text-lg)/1.25 var(--font-body); }
.product a:hover .name { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }

/* Band index */
.index .band__inner {
  display: grid; gap: var(--space-2xl);
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: start;
}
.index h2 { margin-bottom: var(--space-lg); }
.index .note { color: var(--color-muted); max-width: 44ch; margin-bottom: var(--space-xl); }
.bands {
  display: flex; flex-wrap: wrap; gap: 0.1em 0.62em;
  font: 800 clamp(1.75rem, 2.6vw + 0.9rem, 3.25rem)/1.12 var(--font-display);
  text-transform: uppercase;
}
.bands li:nth-child(even) a { color: var(--color-muted); }
.bands a { text-decoration: none; transition: color var(--dur-fast) var(--ease-out); }
.bands a:hover { color: var(--color-red); }
.index figure { margin: 0; position: sticky; top: var(--space-xl); }
.index figure img { width: 100%; height: auto; filter: grayscale(1) contrast(1.05); }
.index figcaption { margin-top: var(--space-sm); font-size: var(--text-sm); color: var(--color-muted); }

/* Contact */
.contact { border-top: var(--rule); }
.contact .band__inner {
  display: grid; gap: var(--space-xl);
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
}
.contact .lead { color: var(--color-muted); max-width: 36ch; margin-top: var(--space-md); }
.channels { display: grid; gap: 0; border-top: var(--rule); }
.channels li { border-bottom: var(--rule); }
.channels a {
  display: grid; grid-template-columns: minmax(0, 9rem) minmax(0, 1fr); gap: var(--space-md); align-items: baseline;
  padding: var(--space-lg) 0; text-decoration: none;
}
.channels .k { font-size: var(--text-sm); color: var(--color-muted); }
.channels .v {
  font: 800 var(--text-xl)/1.1 var(--font-display); text-transform: uppercase; letter-spacing: 0.01em;
  overflow-wrap: anywhere; min-width: 0;
  transition: color var(--dur-fast) var(--ease-out);
}
.channels a:hover .v { color: var(--color-link); }
.channels .v.mail { text-transform: none; }

/* Footer: Ft5 statement */
.footer {
  background: var(--color-carbon-2);
  color: var(--color-on-photo);
  padding: var(--space-3xl) var(--space-page) var(--space-xl);
}
.footer__inner { max-width: var(--page-max); margin-inline: auto; display: grid; gap: var(--space-2xl); }
.footer .statement { max-width: 12ch; }
.footer .row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-lg); }
.footer .brand img { width: 64px; height: 64px; }
.footer .meta {
  display: grid; gap: var(--space-xs);
  padding-top: var(--space-lg); border-top: 1px solid rgb(243 242 238 / 0.18);
  font-size: var(--text-sm); color: var(--color-on-photo-muted);
}
.footer .meta a { text-underline-offset: 3px; }

/* Photo crops per fold */
.fold--hero picture img { object-position: 46% 40%; }
.fold--krabathor picture img { object-position: 50% 22%; }
.fold--gutalax picture img { object-position: 56% 30%; }
.fold--messiah picture img { object-position: 50% 40%; }

@media (max-width: 960px) {
  .intro .band__inner, .index .band__inner, .contact .band__inner { grid-template-columns: minmax(0, 1fr); }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .index figure { position: static; max-width: 560px; }
}

@media (max-width: 640px) {
  .fold { min-height: 86svh; }
  .fold--hero { min-height: 100svh; }
  .credit, .fold--right .credit { position: static; max-width: none; text-align: left; background: none; padding: 0 var(--space-page) var(--space-lg); }
  .fold--right .caption { justify-items: start; text-align: left; }
  .fold--right .caption p { justify-self: start; }
  .fold--hero picture img { object-position: 47% 50%; }
  .fold--krabathor picture img { object-position: 50% 18%; }
  .fold--gutalax picture img { object-position: 52% 22%; }
  .fold--messiah picture img { object-position: 50% 30%; }
  .brand span { display: none; }
  .products { gap: var(--space-lg) var(--space-md); }
  .product .name { font-size: var(--text-base); }
  .channels a { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xs); }
  .film__bar { flex-wrap: wrap; }
  .buy { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 1ms !important; }
  .product a:hover img, .link:hover .arrow { transform: none; }
}
