/* =========================================================================
   Downstroke — Dark Brutalist Stage System
   Markus Roth · guitarist / guitar teacher
   Adapted from a black-canvas, single-grotesk, all-caps editorial reference.
   ========================================================================= */

/* ---- 1. Tokens ---------------------------------------------------------- */
:root {
  /* Color — neutral near-black canvas, off-white ink, one desaturated red */
  --bg: #0B0B0C;
  --bg-2: #101012;
  --surface: #161618;
  --surface-2: #1E1E21;
  --ink: #F4F3EF;
  --ink-muted: #9C9B97;
  --ink-faint: #7A7976;
  --line: rgba(244, 243, 239, 0.12);
  --line-strong: rgba(244, 243, 239, 0.24);
  --accent: #C4322B;
  --accent-hover: #D63E36;
  --accent-soft: rgba(196, 50, 43, 0.16);
  --accent-ink: #F4F3EF;

  /* Logo ramp — six strings, six steps of the accent red, light to deep.
     Step 5 is --accent itself. Logo only; never UI. */
  --ramp-1: #F1C4B6;
  --ramp-2: #E9A08F;
  --ramp-3: #E07C69;
  --ramp-4: #D45A48;
  --ramp-5: #C4322B;
  --ramp-6: #8F251F;

  /* Type */
  --font-display: "Archivo", "Arial Black", Impact, sans-serif;
  --font-sans: "Space Grotesk", system-ui, -apple-system, sans-serif;
  --text-label: 0.8125rem; /* 13px — the smallest size anything readable gets */

  /* Radius — the system is square. Only the sound-bar dots and the X mark round. */
  --radius-sm: 2px;
  --radius-md: 4px;

  /* Elevation — tinted to the canvas, low opacity, wide spread. No glows. */
  --shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.7);
  --shadow-lg: 0 48px 96px -40px rgba(0, 0, 0, 0.8);

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.55, 0, 1, 0.45);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --marquee-speed: 28s;

  /* Layout */
  --container: 1400px;
  --pad-x: clamp(1.25rem, 5vw, 5rem);
  --section-y: clamp(5rem, 12vw, 10rem);
  --nav-h: 5.5rem;
}

/* ---- 2. Reset ----------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overscroll-behavior: none;
}

/* Fixed ornament tile — the reference's repeating wallpaper, redrawn as
   plectrum outlines and fret dots. Fixed + pointer-events none, never on a
   scrolling container. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.55;
  background-color: var(--bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96'%3E%3Cg fill='none' stroke='%23F4F3EF' stroke-opacity='0.055' stroke-width='1.2'%3E%3Cpath d='M48 14c-9 0-16 6-16 15 0 12 12 22 16 30 4-8 16-18 16-30 0-9-7-15-16-15z'/%3E%3Cpath d='M0 78h14M82 78h14M78 0v14M78 82v14'/%3E%3C/g%3E%3Cg fill='%23F4F3EF' fill-opacity='0.07'%3E%3Ccircle cx='8' cy='8' r='1.4'/%3E%3Ccircle cx='88' cy='88' r='1.4'/%3E%3C/g%3E%3C/svg%3E");
}

/* Film grain — fixed overlay, pointer-events none */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.045;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

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

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

::selection { background: var(--accent); color: var(--accent-ink); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

/* ---- 3. Layout primitives ---------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(3rem, 7vw, 5rem); }
.section--tight-end { padding-bottom: clamp(3rem, 7vw, 5rem); }
.section--flush { padding-block: 0; }

.rule { height: 1px; background: var(--line); border: 0; }

/* ---- 4. Typography ------------------------------------------------------ */
/* Display: one heavy grotesk, uppercase, tight, line-height under 0.9. */
.display-xl,
.display-lg,
.display-md,
.display-sm {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 112%;
  text-transform: uppercase;
  color: var(--ink);
}
.display-xl { font-size: clamp(3.4rem, 11vw, 9.75rem); line-height: 0.8; letter-spacing: -0.035em; }
.display-lg { font-size: clamp(2.6rem, 6.8vw, 5.75rem); line-height: 0.84; letter-spacing: -0.03em; }
.display-md { font-size: clamp(1.9rem, 4vw, 3.25rem); line-height: 0.9; letter-spacing: -0.025em; }
.display-sm { font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1; letter-spacing: -0.02em; }

.display-accent { color: var(--accent); }
.display-outline {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ink);
}

/* Caps body: the reference sets paragraphs uppercase at 14px / 1.1. */
.caps {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink);
  max-width: 34ch;
}
.caps--muted { color: var(--ink-muted); }

/* Long-form body stays sentence case — legibility beats mood past 3 lines. */
.body { font-size: 1rem; color: var(--ink); line-height: 1.7; max-width: 62ch; }
.body strong { color: var(--ink); font-weight: 500; }

.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: var(--ink);
  line-height: 1.55;
  max-width: 44ch;
}

/* Meta label — tiny, bold, uppercase. Nav, footer, captions. */
.meta {
  font-family: var(--font-sans);
  font-size: var(--text-label);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.2;
}
.meta--muted { color: var(--ink-muted); }

/* Bracket label — [ LIKE THIS ]. Section eyebrows and inline links. */
.bracket {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  font-family: var(--font-sans);
  font-size: var(--text-label);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}
.bracket::before { content: "["; color: var(--ink-muted); }
.bracket::after { content: "]"; color: var(--ink-muted); }
.bracket--muted { color: var(--ink-muted); }

a.bracket {
  position: relative;
  transition: color 0.3s var(--ease);
}
a.bracket::before,
a.bracket::after { transition: color 0.3s var(--ease), transform 0.3s var(--ease); }
a.bracket:hover { color: var(--accent); }
a.bracket:hover::before { color: var(--accent); transform: translateX(-3px); }
a.bracket:hover::after { color: var(--accent); transform: translateX(3px); }
a.bracket:active { transform: translateY(1px); }

/* Fine text */
.small { font-size: 0.78rem; color: var(--ink-muted); line-height: 1.5; }

/* ---- 5. The X mark ------------------------------------------------------ */
/* Brand glyph. Two bars, rotated. Used in the loader, hero, marquee, footer. */
.xmark {
  position: relative;
  display: inline-block;
  width: 1em;
  height: 1em;
  font-size: 1rem;
  flex-shrink: 0;
}
.xmark::before,
.xmark::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  height: 0.22em;
  background: currentColor;
  transform: translate(-50%, -50%) rotate(45deg);
}
.xmark::after { transform: translate(-50%, -50%) rotate(-45deg); }
.xmark--accent { color: var(--accent); }

/* ---- 5b. Logo -------------------------------------------------------- */
/* "Never the Same Twice". Six bars — six strings — over an outlined MARKUS
   ROTH lockup. Bars fill from --ramp-1..6 (fixed, left to right); lockup is
   currentColor.
   Full logo min 120px wide; below that use .logo--mark (bars only). */
.logo {
  display: block;
  width: 160px;
  height: auto;
  color: var(--ink);
}
.logo--mark { width: auto; }
.logo--lg { width: clamp(200px, 22vw, 320px); }
.logo--ink { color: var(--bg); }
.logo__bar { transform-box: fill-box; transform-origin: bottom; transition: transform 0.6s var(--ease); }

/* Style-guide: four exports + rules */
.logo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.logo-cell { padding: 2rem; display: flex; flex-direction: column; gap: 1.25rem; align-items: flex-start; background: var(--bg); }
.logo-cell--light { background: #EDE7DC; color: var(--bg); }
.logo-cell--charcoal { background: #1A1613; }
.logo-cell img { width: 100%; max-width: 200px; height: auto; }
.logo-cell .meta { color: inherit; opacity: 0.6; }
.logo-rules { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2rem 3rem; margin-top: 3rem; }
.logo-rules dt { margin-bottom: 0.5rem; }
.logo-rules dd { font-size: 0.92rem; color: var(--ink-muted); line-height: 1.6; }
.logo-favicons { display: flex; align-items: flex-end; gap: 1.5rem; }
.logo-favicons img { display: block; width: 64px; height: 64px; max-width: none; }
.logo-favicons img:nth-child(2) { width: 32px; height: 32px; }
.logo-favicons img:nth-child(3) { width: 16px; height: 16px; }

/* ---- 6. Buttons --------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 1.6rem;
  font-family: var(--font-sans);
  font-size: var(--text-label);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1;
  border: 1px solid var(--ink);
  border-radius: 0;
  cursor: pointer;
  transition: transform 0.3s var(--ease), background-color 0.3s var(--ease),
    color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); transform: translateY(-1px); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); transform: translateY(-1px); }

.btn svg { width: 0.9em; height: 0.9em; }

/* ---- 7. Tag ------------------------------------------------------------- */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.6rem;
  font-size: var(--text-label);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  line-height: 1;
}
.tag--fill { background: var(--accent); color: var(--accent-ink); }

/* ---- 8. Media ----------------------------------------------------------- */
/* Every photo is grayscale with a bottom scrim; hero adds a red multiply. */
.media {
  position: relative;
  overflow: hidden;
  background: var(--surface);
}
.media img,
.media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.12) brightness(0.86);
  transition: transform 0.8s var(--ease);
}
.media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to top, rgba(11, 11, 12, 0.75) 0%, rgba(11, 11, 12, 0) 55%);
}
.media--tint::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: var(--accent);
  mix-blend-mode: multiply;
  opacity: 0.45;
}
/* Stage photography keeps its colour — red light and sunburst are the brand. Scrim only. */
.media--color img,
.media--color video { filter: contrast(1.05) brightness(0.92); }
a.media:hover img,
.media--hover:hover img,
.media--hover:hover video { transform: scale(1.04); }

/* ---- 9. Sound bars ------------------------------------------------------ */
/* The reference's music widget. Perpetual motion while playing. */
.player {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 0.6rem 0.9rem 0.6rem 0.6rem;
  border: 1px solid var(--line);
  background: var(--bg);
}
.player__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}
.player__btn:hover { background: var(--ink); color: var(--bg); }
.player__btn:active { transform: scale(0.96); }
.player__btn svg { width: 0.8rem; height: 0.8rem; }
.player__btn .ico-pause { display: none; }
.player.is-playing .player__btn .ico-play { display: none; }
.player.is-playing .player__btn .ico-pause { display: block; }

.player__meta { display: flex; flex-direction: column; gap: 0.2rem; }
.player__title { white-space: nowrap; font-size: var(--text-label); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.player__sub { white-space: nowrap; font-size: var(--text-label); color: var(--ink-muted); letter-spacing: 0.06em; text-transform: uppercase; }

.bars { display: flex; align-items: flex-end; gap: 3px; height: 1.1rem; }
.bars span {
  width: 3px;
  height: 100%;
  background: var(--ink);
  transform-origin: bottom;
  transform: scaleY(0.25);
  transition: transform 0.4s var(--ease);
}
.player.is-playing .bars span { animation: bar 0.9s var(--ease) infinite alternate; }
.player.is-playing .bars span:nth-child(1) { animation-duration: 0.72s; }
.player.is-playing .bars span:nth-child(2) { animation-duration: 0.98s; animation-delay: -0.2s; }
.player.is-playing .bars span:nth-child(3) { animation-duration: 0.84s; animation-delay: -0.4s; }
.player.is-playing .bars span:nth-child(4) { animation-duration: 1.06s; animation-delay: -0.1s; }
.player.is-playing .bars span:nth-child(5) { animation-duration: 0.78s; animation-delay: -0.3s; }
@keyframes bar {
  from { transform: scaleY(0.2); }
  to { transform: scaleY(1); }
}

/* ---- 10. Marquee -------------------------------------------------------- */
.marquee {
  overflow: hidden;
  white-space: nowrap;
  border-block: 1px solid var(--line);
  padding-block: 0.6rem;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: inline-flex;
  align-items: center;
  gap: 0;
  will-change: transform;
  animation: marquee var(--marquee-speed) linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  padding-inline: 0.75rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 112%;
  font-size: clamp(2.2rem, 5.5vw, 4.75rem);
  line-height: 1;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}
.marquee__item .xmark { font-size: 0.55em; color: var(--accent); }
.marquee--sm .marquee__item { font-size: var(--text-label); font-family: var(--font-sans); font-weight: 700; font-stretch: normal; letter-spacing: 0.12em; gap: 1rem; padding-inline: 0.5rem; }
.marquee--sm .marquee__item .xmark { font-size: 0.7em; }
@keyframes marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

/* ---- 11. Contact link --------------------------------------------------- */
/* Icon + two-line caps + arrow. The reference's "GET IN TOUCH ↗". */
.contact-link {
  display: inline-grid;
  grid-template-columns: auto auto;
  justify-content: start;
  justify-self: start;
  width: max-content;
  align-items: start;
  gap: 0.6rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.1;
}
.contact-link__icon { width: 1.4rem; height: 1.4rem; margin-top: 0.05rem; }
.contact-link__icon svg { width: 100%; height: 100%; }
.contact-link__text { display: inline-flex; flex-direction: column; }
.contact-link__arrow {
  display: inline-block;
  width: 0.85em;
  height: 0.85em;
  margin-left: 0.35em;
  vertical-align: -0.05em;
  transition: transform 0.3s var(--ease);
}
.contact-link:hover .contact-link__arrow { transform: translate(3px, -3px); }
.contact-link:hover { color: var(--accent); }
.contact-link:active { transform: translateY(1px); }

/* ---- 12. Navigation ----------------------------------------------------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  height: var(--nav-h);
  pointer-events: none;
}
/* Solid canvas once the page has scrolled. Faded in on opacity, never a
   background transition. Hidden again while the menu overlay is open so the
   overlay's own canvas reads edge to edge. */
.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.nav.is-scrolled::before { opacity: 1; }
body.menu-open .nav::before { opacity: 0; }
.nav__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.nav__brand {
  pointer-events: auto;
  display: inline-grid;
  grid-template-columns: auto auto;
  gap: 0.75rem;
  align-items: end;
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 112%;
  font-size: 0.95rem;
  line-height: 0.9;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--ink);
}
.nav__brand-name { display: flex; flex-direction: column; }
.nav__brand .logo--mark { height: 1.7rem; width: auto; }
.nav__brand:active { transform: translateY(1px); }

.nav__menu-btn {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 0.6rem;
  font-size: var(--text-label);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  mix-blend-mode: difference;
  transition: color 0.3s var(--ease);
}
.nav__menu-btn:hover { color: var(--accent); }
.nav__menu-btn:active { transform: translateY(1px); }
.nav__menu-btn .ico { position: relative; width: 1rem; height: 0.7rem; }
.nav__menu-btn .ico::before,
.nav__menu-btn .ico::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  transition: transform 0.4s var(--ease);
}
.nav__menu-btn .ico::before { top: 0; }
.nav__menu-btn .ico::after { bottom: 0; }
.nav__menu-btn .txt-close { display: none; }

/* Full-screen menu overlay */
.menu {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  grid-template-rows: 1fr auto;
  background: var(--bg);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-2%);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), visibility 0s linear 0.5s;
}
.menu__links {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: var(--nav-h);
}
.menu__links a {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 112%;
  font-size: clamp(2.8rem, 8.5vw, 7rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0;
  transform: translateY(20px);
  transition: color 0.3s var(--ease), opacity 0.6s var(--ease), transform 0.6s var(--ease);
  transition-delay: calc(var(--i, 0) * 60ms);
}
.menu__links a small {
  font-family: var(--font-sans);
  font-size: var(--text-label);
  font-weight: 700;
  font-stretch: normal;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
}
.menu__links a:hover { color: var(--accent); }
.menu__foot {
  display: flex;
  justify-content: space-between;
  align-items: last baseline;
  flex-wrap: wrap;
  gap: 1rem;
  padding-block: 2rem;
  border-top: 1px solid var(--line);
}

body.menu-open { overflow: hidden; }
body.menu-open .menu {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), visibility 0s;
}
body.menu-open .menu__links a { opacity: 1; transform: none; }
body.menu-open .nav__menu-btn .txt-open { display: none; }
body.menu-open .nav__menu-btn .txt-close { display: inline; }
body.menu-open .nav__menu-btn .ico::before { transform: translateY(0.25rem) rotate(45deg); }
body.menu-open .nav__menu-btn .ico::after { transform: translateY(-0.25rem) rotate(-45deg); }

/* ---- 13. Hero ----------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100dvh;
  display: grid;
  grid-template-rows: 1fr auto;
  padding-top: var(--nav-h);
}
.hero__stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  align-items: end;
  gap: clamp(1.5rem, 4vw, 4rem);
}
/* The portrait takes the right column; the copy spans both so the name runs
   across the photo's left edge. The photo sits below the copy (z 1 < z 4). */
.hero__media {
  position: relative;
  z-index: 1; /* isolates band and cover below the headline */
  grid-column: 2;
  grid-row: 1;
  aspect-ratio: 5 / 6;
  width: 100%;
}
.hero__media img { object-position: 58% 40%; }

/* Red field — a flat accent block behind the portrait, offset down and
   left, so a red L frames two edges. It sits in the photo's grid cell under
   the photo (z 0 < 1) and never touches the name. Backup: .hero--plain on
   the hero section drops it (photo and name only). */
.hero__field {
  --field-off: clamp(1.25rem, 2.6vw, 2.75rem);
  position: relative;
  z-index: 0;
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  width: 100%;
  aspect-ratio: 5 / 6;
  translate: calc(var(--field-off) * -1) var(--field-off);
  background: var(--accent);
  pointer-events: none;
}
.hero--plain .hero__field { display: none; }

/* Tagline halves flank the X mark, on top of the band */
.hero__tagline {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding-inline: 1.25rem;
  pointer-events: none;
}
.hero__tagline .caps { max-width: none; text-align: right; font-weight: 700; }
.hero__tagline .caps:last-child { text-align: left; }
.hero__tagline .xmark { font-size: clamp(2.4rem, 5vw, 4rem); color: var(--ink); }

.hero__copy {
  position: relative;
  z-index: 4;
  grid-column: 1 / -1;
  grid-row: 1;
  min-width: 0;
  padding-bottom: clamp(1.5rem, 3vw, 3rem);
}
.hero__copy .display-xl { margin-top: 1.25rem; font-size: clamp(3.4rem, 12vw, 11rem); }
.hero__copy .display-xl span { display: block; }
.hero__lede { margin-top: 1.75rem; font-size: clamp(1.125rem, 1.4vw, 1.25rem); text-wrap: balance; }
.hero__cta { margin-top: 1.5rem; }

.hero__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  padding-block: 1.25rem;
}
.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}
.scroll-cue__line {
  width: 3rem;
  height: 1px;
  background: var(--ink-muted);
  transform-origin: left;
  animation: cue 2.2s var(--ease) infinite;
}
@keyframes cue {
  0% { transform: scaleX(0); opacity: 0; }
  35% { transform: scaleX(1); opacity: 1; }
  100% { transform: scaleX(1) translateX(0.5rem); opacity: 0; }
}

/* ---- 14. Statement blocks ----------------------------------------------- */
/* Headline breaks across the image edge — text sits on top of the photo. */
.statement {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 0;
}
.statement__media {
  grid-column: 2;
  grid-row: 1;
  aspect-ratio: 4 / 3;
  width: 100%;
}
.statement__copy {
  position: relative;
  z-index: 1;
  grid-column: 1 / span 2;
  grid-row: 1;
  align-self: end;
  padding-bottom: clamp(1rem, 4vw, 3rem);
  pointer-events: none;
}
.statement__copy > * { pointer-events: auto; }
.statement__copy .display-lg { max-width: none; text-wrap: balance; }
.statement__copy .lead { margin-top: 1.5rem; }
.statement__copy .bracket { margin-top: calc(1.5rem - var(--hit, 0px)); }
.statement__eyebrow { margin-bottom: 1rem; }

.statement--flip .statement__media { grid-column: 1; }
.statement--flip .statement__copy {
  justify-self: end;
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

/* ---- 15. Word list ------------------------------------------------------ */
/* The reference's PUBLIC / PRIVATE / PEEK / B-SIDES block. */
.wordlist {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}
.wordlist__head { display: block; text-align: center; margin-bottom: 1.75rem; }
.wordlist a {
  position: relative;
  display: inline-grid;
  grid-template-columns: auto;
  justify-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 112%;
  font-size: clamp(2.9rem, 9.5vw, 7.75rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--ink);
  padding-block: 0.06em;
  transition: color 0.3s var(--ease), transform 0.5s var(--ease);
}
.wordlist a:hover { color: var(--accent); transform: translateX(0.06em); }
.wordlist a:active { transform: translateY(1px); }
.wordlist__meta {
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translate(0.75rem, -50%);
  font-family: var(--font-sans);
  font-size: var(--text-label);
  font-weight: 700;
  font-stretch: normal;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s var(--ease), transform 0.4s var(--ease);
}
.wordlist a:hover .wordlist__meta { opacity: 1; transform: translate(1.25rem, -50%); }

/* ---- 16. Ledger (lessons list) ----------------------------------------- */
/* Rows, not cards. Number · title · text · action. */
.ledger { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.ledger__row {
  display: grid;
  grid-template-columns: 4rem 1.1fr 1.4fr 13rem;
  align-items: baseline;
  gap: 2rem;
  padding-block: 1.75rem;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.3s var(--ease);
}
.ledger__row:hover { background: rgba(244, 243, 239, 0.025); }
.ledger__num { font-size: var(--text-label); font-weight: 700; letter-spacing: 0.1em; color: var(--ink-faint); }
.ledger__title { font-family: var(--font-display); font-weight: 800; font-stretch: 112%; font-size: clamp(1.25rem, 2vw, 1.7rem); line-height: 0.95; letter-spacing: -0.02em; text-transform: uppercase; hyphens: auto; overflow-wrap: break-word; }
.ledger__text { font-size: 1rem; color: var(--ink); line-height: 1.55; max-width: 44ch; }
.ledger__row .bracket { justify-self: end; }

/* ---- 16b. Gigs (concert dates) ---------------------------------------- */
/* Rows, not cards. Big day numeral, title, muted meta. Generated by gigs.mjs. */
.konzerte__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 2rem; }
.konzerte__head .display-md { margin-top: 1rem; }
.gigs { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.gig {
  display: grid;
  grid-template-columns: 9rem 1fr auto;
  align-items: baseline;
  gap: 2rem;
  padding-block: 1.5rem;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.3s var(--ease);
}
.gig:hover { background: rgba(244, 243, 239, 0.025); }
.gig__date { display: flex; align-items: baseline; gap: 0.5rem; font-family: var(--font-display); font-weight: 800; font-stretch: 112%; text-transform: uppercase; letter-spacing: -0.02em; line-height: 1; }
.gig__day { font-size: clamp(2rem, 3.2vw, 2.75rem); }
.gig__month { font-size: 1rem; }
.gig__year { font-family: var(--font-sans); font-weight: 700; font-stretch: normal; font-size: var(--text-label); letter-spacing: 0.1em; color: var(--ink-faint); }
.gig__title { font-family: var(--font-display); font-weight: 800; font-stretch: 112%; font-size: clamp(1.25rem, 2vw, 1.7rem); line-height: 0.95; letter-spacing: -0.02em; text-transform: uppercase; }
.gig__meta { font-size: var(--text-label); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); white-space: nowrap; }
.gigs:empty::after { content: "Keine Daten angekündigt. Anfragen willkommen."; display: block; padding-block: 1.5rem; color: var(--ink-muted); font-size: 0.92rem; }

/* ---- 17. Quote ---------------------------------------------------------- */
.quote {
  text-align: center;
  max-width: 46rem;
  margin-inline: auto;
  position: relative;
  z-index: 1;
}
.quote__text {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 112%;
  font-size: clamp(1.4rem, 3.2vw, 2.75rem);
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.quote__rule { width: 1px; height: 2.5rem; background: var(--ink-muted); margin: 2rem auto 1.25rem; }
.quote__source { justify-content: center; }

/* ---- 18. Contact block -------------------------------------------------- */
/* Links and the contact-meta row below share these two columns, so the
   email sits under "Schreib mir" and the phone under "Ruf an". */
.contact,
.contact-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 16rem));
  column-gap: clamp(1rem, 4vw, 3rem);
  align-items: start;
}

/* ---- 19. Footer --------------------------------------------------------- */
.footer { position: relative; }
.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 1.5rem;
  padding-block: 2rem 1.75rem;
}
.footer__brand { display: grid; gap: 0.35rem; }
.footer__logo { display: block; width: max-content; margin-bottom: 0.75rem; transition: transform 0.3s var(--ease); }
.footer__logo:active { transform: translateY(1px); }

/* Photography guide grid */
.photo-grid { display: grid; grid-template-columns: 0.75fr 1fr 1fr; grid-auto-rows: 16rem; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.photo-grid__item { margin: 0; }
.photo-grid__item:nth-child(1) { grid-row: span 2; }
.photo-grid__cap { position: absolute; left: 1rem; bottom: 1rem; z-index: 2; }

/* ---- 20. Style-guide chrome --------------------------------------------- */
.guide-head { max-width: 60ch; margin-bottom: 3.5rem; }
.guide-head .display-md { margin-top: 1rem; }
.guide-head .body { margin-top: 1.25rem; }
.guide-block { padding-block: clamp(3rem, 7vw, 5rem); border-top: 1px solid var(--line); }
.guide-block__label { margin-bottom: 2rem; color: var(--ink-faint); }

.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.swatch { background: var(--bg); }
.swatch__chip { height: 6rem; }
.swatch__meta { padding: 0.75rem 0.9rem; }
.swatch__name { font-size: var(--text-label); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.swatch__hex { font-size: var(--text-label); color: var(--ink-muted); letter-spacing: 0.04em; margin-top: 0.15rem; }
.chip--bg { background: #0B0B0C; }
.chip--bg2 { background: #101012; }
.chip--surface { background: #161618; }
.chip--surface2 { background: #1E1E21; }
.chip--ink { background: #F4F3EF; }
.chip--muted { background: #9C9B97; }
.chip--faint { background: #5A5956; }
.chip--accent { background: #C4322B; }

.type-row {
  display: grid;
  grid-template-columns: 8rem 1fr;
  align-items: baseline;
  gap: 1.5rem;
  padding-block: 1.5rem;
  border-bottom: 1px solid var(--line);
}
.type-row__tag { color: var(--ink-faint); }

.component-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.component-demo {
  padding: 2rem;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: flex-start;
}
.component-demo h4 { color: var(--ink-faint); }
.component-demo--row { flex-direction: row; flex-wrap: wrap; align-items: center; }
.component-demo--row h4 { width: 100%; }
.component-demo .marquee { width: 100%; }
.component-demo--wide { grid-column: 1 / -1; }
.component-demo .strings { width: 100%; padding-block: 1.5rem; }
.component-demo code { font-family: var(--font-sans); font-weight: 700; letter-spacing: 0.04em; color: var(--ink-muted); }

/* ---- 21. Scroll reveal -------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---- 22. Responsive ----------------------------------------------------- */
@media (max-width: 1024px) {
  .ledger__row { grid-template-columns: 3rem 1fr 13rem; }
  .ledger__text { grid-column: 2; }
}

@media (max-width: 900px) {
  .hero { min-height: auto; }
  .hero__stage { grid-template-columns: 1fr; gap: 2rem; }
  .hero__media { grid-column: 1; grid-row: 1; max-height: 55svh; aspect-ratio: 4 / 5; justify-self: stretch; }
  .hero__field { grid-column: 1; aspect-ratio: 4 / 5; max-height: 55svh; translate: 0.75rem 0.75rem; }
  .hero__copy { grid-column: 1; grid-row: 2; }
  .hero__tagline { padding-inline: 0.75rem; }

  .statement { grid-template-columns: 1fr; }
  .statement__media,
  .statement--flip .statement__media { grid-column: 1; grid-row: 1; aspect-ratio: 4 / 3; }
  .statement__copy,
  .statement--flip .statement__copy { grid-column: 1; grid-row: 2; margin-top: -3.5rem; padding-top: 0; padding-bottom: 0; }
  .statement__copy .display-lg { max-width: none; }
  .statement--flip .statement__copy { justify-self: stretch; text-align: left; align-items: flex-start; }

  .photo-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 12rem; }
  .photo-grid__item:nth-child(1) { grid-row: span 1; }
  .footer__inner { grid-template-columns: 1fr; justify-items: start; gap: 1.5rem; }
}

@media (max-width: 768px) {
  :root { --nav-h: 4.5rem; --section-y: clamp(4rem, 14vw, 6rem); }
  .display-xl { font-size: clamp(3rem, 15vw, 4.75rem); }
  .caps { max-width: none; }
  .hero__tagline { grid-template-columns: 1fr auto 1fr; gap: 0.5rem; }
  .hero__tagline .caps { font-size: 0.66rem; }
  .hero__foot { flex-direction: column; align-items: flex-start; }
  .ledger__row { grid-template-columns: 2.5rem minmax(0, 1fr); row-gap: 0.75rem; }
  .gig { grid-template-columns: 1fr; row-gap: 0.4rem; }
  .gig__meta { white-space: normal; }
  .konzerte__head { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .ledger__text { grid-column: 2; }
  .ledger__row .bracket { grid-column: 2; justify-self: start; }
  .wordlist__meta { display: none; }
  .wordlist a { font-size: clamp(2.6rem, 8.4vw, 7.75rem); }
  .type-row { grid-template-columns: 1fr; gap: 0.5rem; }
  .menu__foot { flex-direction: column; align-items: flex-start; }
}

/* Phones: statement headlines (and their EN versions) hold two lines up
   to 8.4vw; 8vw leaves room at 320px. */
@media (max-width: 600px) {
  .display-lg { font-size: 8vw; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee__track { animation: none; }
  .player.is-playing .bars span { animation: none; transform: scaleY(0.7); }
  .scroll-cue__line { animation: none; transform: none; opacity: 1; }
  .menu, .menu__links a { transition: none; }
}

/* Footer lockup name: live Archivo text, matches .nav__brand */
.logo__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 112%;
  font-size: 25px;
}
