/* ==========================================================================
   Talich Quartet — style.css
   One stylesheet for the whole site, organised as a small design system:

   1. Fonts (self-hosted)
   2. Design tokens (colours, type, spacing, layout, motion)
   3. Reset & base elements
   4. Layout primitives (container, section, grid)
   5. Typography helpers
   6. Components
      6.1  Skip link          6.11 Records list
      6.2  Buttons & links    6.12 Outlets / press strip
      6.3  Header             6.13 Instagram mosaic
      6.4  Menu overlay       6.14 Accordion
      6.5  Video hero         6.15 Page hero
      6.6  Intro + facts      6.16 Timeline
      6.7  Full-bleed image   6.17 Bios
      6.8  Members            6.18 Gallery + lightbox
      6.9  Event              6.19 Embeds (video, map)
      6.10 Marquee + panels   6.20 Press cards, contact cards
                              6.21 Footer, 404, prose
   7. Motion (reveal) & reduced motion
   8. Font Awesome (only the icons this site uses)

   Breakpoints (mobile-first, min-width):
     sm 600px · md 900px · lg 1200px · xl 1600px
   ========================================================================== */


/* 1. FONTS ================================================================= */

@font-face {
  font-family: "Aclonica";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/aclonica-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Aclonica";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/aclonica-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url("/fonts/open-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url("/fonts/open-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Open Sans";
  font-style: italic;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url("/fonts/open-sans-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Open Sans";
  font-style: italic;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url("/fonts/open-sans-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Font Awesome 6 Free";
  font-style: normal;
  font-weight: 900;
  font-display: block;
  src: url("/fonts/fa-solid-900.woff2") format("woff2");
}
@font-face {
  font-family: "Font Awesome 6 Free";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url("/fonts/fa-regular-400.woff2") format("woff2");
}
@font-face {
  font-family: "Font Awesome 6 Brands";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url("/fonts/fa-brands-400.woff2") format("woff2");
}


/* 2. DESIGN TOKENS ========================================================= */

:root {
  /* Colours — taken from the original talichquartet.com:
     black & white photography, the dusty blush block (rgba(135,33,0,.25) on white)
     and its deep rust base colour, which we use for calls to action. */
  --color-primary: #872100;          /* rust — CTA, links (9.3:1 on white) */
  --color-primary-hover: #661900;
  --color-secondary: #e1c8bf;        /* blush from the old calendar block */
  --color-secondary-soft: #f2e8e4;
  --color-accent: #c9a597;           /* blush on dark backgrounds (8:1 on #111) */
  --color-background: #ffffff;
  --color-surface: #f6f2f0;          /* warm paper neutral */
  --color-dark: #111111;
  --color-footer: #222222;           /* old site footer */
  --color-text: #333333;
  --color-muted: #666666;            /* 5.7:1 on white */
  --color-line: rgba(17, 17, 17, 0.14);
  --color-on-dark: #f4efec;
  --color-on-dark-muted: #bdb5b1;    /* 9:1 on #111 */
  --color-line-on-dark: rgba(244, 239, 236, 0.2);
  --color-scrim: rgba(10, 10, 10, 0.55);

  /* Hero video tint: sepia filter + rust → dark brown multiply layer */
  --hero-filter: sepia(0.65) saturate(1.3) contrast(1.06) brightness(0.92);
  --tint-warm: rgba(135, 33, 0, 0.3);   /* brand rust */
  --tint-deep: rgba(74, 36, 20, 0.55);  /* dark violin-wood brown */
  /* Hero scroll scene: how far the visitor scrolls while the video turns into the photo */
  --hero-track: 120svh;
  /* Film grain over the hero video (inline SVG noise, allowed by CSP img-src data:) */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncR type='linear' slope='2.4' intercept='-0.7'/%3E%3CfeFuncG type='linear' slope='2.4' intercept='-0.7'/%3E%3CfeFuncB type='linear' slope='2.4' intercept='-0.7'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --grain-opacity: 0.2;
  /* Footer photo: 1 = as uploaded, higher = lighter */
  --footer-photo-brightness: 1.35;  /* raise for coarser film look, lower for subtler */

  /* Typography */
  --font-display: "Aclonica", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Open Sans", "Helvetica Neue", Arial, sans-serif;
  --font-icons: "Font Awesome 6 Free";
  --font-brands: "Font Awesome 6 Brands";

  --fs-sm: 1rem;                     /* never below 16 px */
  --fs-base: 1.0625rem;
  --fs-lead: clamp(1.1875rem, 1.05rem + 0.5vw, 1.375rem);
  /* heading scale: ratio 1.25 */
  --fs-h6: 1.25rem;
  --fs-h5: 1.5625rem;
  --fs-h4: clamp(1.5625rem, 1.35rem + 0.6vw, 1.953rem);
  --fs-h3: clamp(1.75rem, 1.4rem + 1.2vw, 2.441rem);
  --fs-h2: clamp(2rem, 1.4rem + 2.2vw, 3.052rem);
  --fs-h1: clamp(2.441rem, 1.5rem + 3.4vw, 3.815rem);
  --fs-display: clamp(2.441rem, 1.2rem + 5.2vw, 5.96rem);

  --lh-body: 1.7;
  --lh-heading: 1.12;
  --lh-tight: 1;
  --tracking-caps: 0.14em;
  --measure: 70ch;

  /* Spacing — 8 px grid */
  --space-1: 0.25rem;   /*  4px */
  --space-2: 0.5rem;    /*  8px */
  --space-3: 0.75rem;   /* 12px */
  --space-4: 1rem;      /* 16px */
  --space-5: 1.5rem;    /* 24px */
  --space-6: 2rem;      /* 32px */
  --space-7: 3rem;      /* 48px */
  --space-8: 4rem;      /* 64px */
  --section-space: clamp(var(--space-8), 9vw, calc(var(--space-8) * 2));

  /* Layout */
  --site-max: 1920px;
  --container: 1320px;
  --container-narrow: 880px;
  --gutter: clamp(var(--space-4), 4vw, var(--space-8));
  --header-height: 4.5rem;

  /* Shape, depth, motion */
  --radius: 2px;
  --shadow-sm: 0 1px 2px rgba(17, 17, 17, 0.06);
  --shadow-md: 0 12px 32px -16px rgba(17, 17, 17, 0.22);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --duration-fast: 200ms;
  --duration: 450ms;
  --duration-slow: 900ms;
  --tap: 44px;
}


/* 3. RESET & BASE ========================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--color-dark);
  scroll-padding-top: calc(var(--header-height) + var(--space-4));
}

body {
  margin: 0 auto;
  max-width: var(--site-max);
  min-height: 100vh;
  background: var(--color-background);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body.is-locked { overflow: hidden; }

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

img { height: auto; }

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 var(--space-4);
  font-family: var(--font-display);
  font-weight: 400;
  line-height: var(--lh-heading);
  color: var(--color-dark);
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); text-transform: uppercase; letter-spacing: 0.01em; }
h2 { font-size: var(--fs-h2); text-transform: uppercase; letter-spacing: 0.01em; }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }
h5 { font-size: var(--fs-h5); }
h6 { font-size: var(--fs-h6); }

p,
ul,
ol,
dl,
blockquote,
figure { margin: 0 0 var(--space-5); }

p { max-width: var(--measure); text-wrap: pretty; }

a {
  color: var(--color-primary);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color var(--duration-fast) ease;
}
a:hover { color: var(--color-primary-hover); }

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}
/* on dark / photo backgrounds the focus ring switches to the light blush */
:is(.section--dark, .site-footer, .site-menu, .hero, .page-hero, .bleed, .panel, .marquee, .lightbox, .site-header:not(.is-scrolled):not(.site-header--solid)) :focus-visible {
  outline-color: var(--color-accent);
}
.site-menu__link:focus-visible {
  outline: none;
  color: var(--color-accent);
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

strong { font-weight: 700; }

address { font-style: normal; }

::selection { background: var(--color-secondary); color: var(--color-dark); }


/* 4. LAYOUT PRIMITIVES ===================================================== */

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(var(--container-narrow) + var(--gutter) * 2); }

.section { padding-block: var(--section-space); }
.section--tight { padding-block: var(--space-8); }
.section--surface { background: var(--color-surface); }
.section--blush { background: var(--color-secondary-soft); }
.section--dark {
  background: var(--color-dark);
  color: var(--color-on-dark-muted);
}
.section--dark :is(h1, h2, h3, h4, h5, h6) { color: var(--color-on-dark); }
.section--dark a:not(.btn) { color: var(--color-on-dark); }

.section__head {
  display: grid;
  gap: var(--space-4);
  margin-bottom: var(--space-7);
}
@media (min-width: 900px) {
  .section__head--split {
    grid-template-columns: 1fr 1fr;
    align-items: end;
    gap: var(--space-7);
  }
}
.section__head > :last-child { margin-bottom: 0; }

/* 12-column grid */
.grid {
  display: grid;
  gap: var(--space-6) var(--gutter);
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .col-4 { grid-column: span 4; }
  .col-5 { grid-column: span 5; }
  .col-6 { grid-column: span 6; }
  .col-7 { grid-column: span 7; }
  .col-8 { grid-column: span 8; }
  .col-start-6 { grid-column-start: 6; }
  .col-start-7 { grid-column-start: 7; }
}

.stack > * + * { margin-top: var(--space-5); }

.visually-hidden {
  position: absolute !important; /* utility must always win */
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}


/* 5. TYPOGRAPHY HELPERS ==================================================== */

.eyebrow {
  margin: 0 0 var(--space-4);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--color-primary);
}
.section--dark .eyebrow,
.eyebrow--light { color: var(--color-accent); }

.display {
  font-size: var(--fs-display);
  line-height: 1.02;
  text-transform: uppercase;
}

.lead {
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--color-dark);
}
.section--dark .lead { color: var(--color-on-dark); }

.muted { color: var(--color-muted); }

.prose { max-width: var(--measure); }
.prose > :last-child { margin-bottom: 0; }
.prose h2 { font-size: var(--fs-h3); text-transform: none; margin-top: var(--space-7); }
.prose h3 { font-size: var(--fs-h4); margin-top: var(--space-6); }
.prose ul { padding-left: var(--space-5); }
.prose li + li { margin-top: var(--space-2); }


/* 6. COMPONENTS ============================================================ */

/* 6.1 Skip link ----------------------------------------------------------- */
.skip-link {
  position: fixed;
  top: var(--space-2);
  left: var(--space-2);
  z-index: 200;
  padding: var(--space-3) var(--space-4);
  background: var(--color-dark);
  color: var(--color-on-dark);
  border-radius: var(--radius);
  transform: translateY(-200%);
  transition: transform var(--duration-fast) ease;
}
.skip-link:focus { transform: none; color: var(--color-on-dark); }


/* 6.2 Buttons & links ----------------------------------------------------- */
.btn {
  --btn-bg: var(--color-primary);
  --btn-fg: #ffffff;
  --btn-border: var(--color-primary);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  min-height: var(--tap);
  padding: var(--space-3) var(--space-5);
  border: 1px solid var(--btn-border);
  border-radius: var(--radius);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1.2;
  overflow: hidden;
  isolation: isolate;
  transition: color var(--duration) var(--ease), border-color var(--duration) var(--ease);
}
/* fill sweeps in from the left on hover */
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--btn-hover-bg, var(--color-dark));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--duration) var(--ease);
}
.btn:hover,
.btn:focus-visible { color: var(--btn-hover-fg, #ffffff); border-color: var(--btn-hover-bg, var(--color-dark)); }
.btn:hover::before,
.btn:focus-visible::before { transform: scaleX(1); transform-origin: left; }
.btn .fa-solid { transition: transform var(--duration) var(--ease); }
.btn:hover .fa-arrow-right { transform: translateX(4px); }

.btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--color-dark);
  --btn-border: var(--color-dark);
}
.btn--light {
  --btn-bg: #ffffff;
  --btn-fg: var(--color-dark);
  --btn-border: #ffffff;
  --btn-hover-bg: var(--color-primary);
}
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: #ffffff;
  --btn-border: rgba(255, 255, 255, 0.6);
  --btn-hover-bg: #ffffff;
  --btn-hover-fg: var(--color-dark);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}
/* call-to-action row that follows a list or grid */
:is(ul, ol, .accordion) + .btn-row { margin: var(--space-7) 0 0; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  min-height: var(--tap);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: var(--fs-sm);
  text-decoration: none;
  color: var(--color-dark);
  background: linear-gradient(currentColor, currentColor) no-repeat 0 85% / 0 1px;
  transition: background-size var(--duration) var(--ease), color var(--duration-fast) ease;
}
.link-arrow:hover { background-size: 100% 1px; color: var(--color-primary); }
.link-arrow .fa-solid { transition: transform var(--duration) var(--ease); }
.link-arrow:hover .fa-solid { transform: translateX(4px); }
.section--dark .link-arrow { color: var(--color-on-dark); }
.section--dark .link-arrow:hover { color: var(--color-accent); }


/* 6.3 Header -------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 100;
  width: 100%;
  max-width: var(--site-max);
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  padding-inline: var(--gutter);
  color: #ffffff;
  transform: translateX(-50%);
  transition: background-color var(--duration) var(--ease), color var(--duration) var(--ease), transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}
/* pages without a dark hero start with a solid header */
.site-header--solid,
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  color: var(--color-dark);
  box-shadow: 0 1px 0 var(--color-line);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.site-header.is-hidden { transform: translate(-50%, -100%); }
.menu-open .site-header {
  background: transparent;
  color: var(--color-on-dark);
  box-shadow: none;
  transform: translateX(-50%);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: inherit;
  white-space: nowrap;
}
.brand:hover { color: inherit; opacity: 0.75; }

.site-header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-5);
}

.lang-link {
  display: none;
  align-items: center;
  min-height: var(--tap);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  text-decoration: none;
  color: inherit;
}
.lang-link:hover { color: inherit; opacity: 0.7; }
@media (min-width: 600px) { .lang-link { display: inline-flex; } }

.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  min-width: var(--tap);
  min-height: var(--tap);
  padding: 0 0 0 var(--space-2);
  border: 0;
  background: none;
  color: inherit;
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
}
.menu-toggle__label { display: none; }
@media (min-width: 600px) { .menu-toggle__label { display: inline; } }
.menu-toggle__icon {
  position: relative;
  width: 28px;
  height: 12px;
}
.menu-toggle__icon::before,
.menu-toggle__icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  transition: transform var(--duration) var(--ease), width var(--duration) var(--ease);
}
.menu-toggle__icon::before { top: 0; }
.menu-toggle__icon::after { bottom: 0; width: 70%; left: auto; right: 0; }
.menu-toggle:hover .menu-toggle__icon::after { width: 100%; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon::before { transform: translateY(5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon::after { width: 100%; transform: translateY(-5px) rotate(-45deg); }


/* 6.4 Menu overlay -------------------------------------------------------- */
.site-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  background: var(--color-dark);
  color: var(--color-on-dark);
  visibility: hidden;
  clip-path: inset(0 0 100% 0);
  transition: clip-path var(--duration-slow) var(--ease), visibility 0s linear var(--duration-slow);
}
.site-menu.is-open {
  visibility: visible;
  clip-path: inset(0 0 0 0);
  transition: clip-path var(--duration-slow) var(--ease), visibility 0s;
}
@media (min-width: 900px) {
  .site-menu { grid-template-columns: 1.1fr 0.9fr; }
}

.site-menu__inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-7);
  padding: calc(var(--header-height) + var(--space-6)) var(--gutter) var(--space-6);
  overflow-y: auto;
}

.site-menu__list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-menu__list li {
  overflow: hidden;
}
.site-menu__link {
  display: inline-block;
  padding-block: var(--space-1);
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.4rem + 3vw, 4rem);
  line-height: 1.15;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--color-on-dark);
  transform: translateY(105%);
  transition: transform var(--duration-slow) var(--ease), color var(--duration-fast) ease;
}
.site-menu__link:hover,
.site-menu__link[aria-current="page"] { color: var(--color-accent); }
.site-menu.is-open .site-menu__link { transform: none; }
.site-menu.is-open li:nth-child(2) .site-menu__link { transition-delay: 60ms; }
.site-menu.is-open li:nth-child(3) .site-menu__link { transition-delay: 120ms; }
.site-menu.is-open li:nth-child(4) .site-menu__link { transition-delay: 180ms; }
.site-menu.is-open li:nth-child(5) .site-menu__link { transition-delay: 240ms; }
.site-menu.is-open li:nth-child(6) .site-menu__link { transition-delay: 300ms; }
.site-menu.is-open li:nth-child(7) .site-menu__link { transition-delay: 360ms; }

.site-menu__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-line-on-dark);
  color: var(--color-on-dark-muted);
}
.site-menu__meta a { color: var(--color-on-dark); }

.site-menu__media {
  position: relative;
  display: none;
  overflow: hidden;
}
@media (min-width: 900px) { .site-menu__media { display: block; } }
.site-menu__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity var(--duration-slow) var(--ease), transform 1.6s var(--ease);
}
.site-menu__media img.is-active { opacity: 1; transform: none; }


/* 6.5 Video hero ---------------------------------------------------------- */
.hero {
  position: relative;
  color: #ffffff;
  background: var(--color-dark);
}
/* the screen-high stage of the hero. It is as tall as the large viewport (lvh)
   so it also fills phone screens once the browser toolbar has collapsed. */
.hero__pin {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: max(560px, 100svh);
  min-height: max(560px, 100lvh);
  overflow: hidden;
}
/* Scroll scene (needs JS): the stage stays pinned for --hero-track of scrolling
   while script.js dissolves the video into the photograph. The texts stay put. */
.js .hero__pin {
  position: sticky;
  top: 0;
}
.js .hero::after {
  content: "";
  display: block;
  height: var(--hero-track);
}
.hero__media {
  position: absolute;
  inset: 0;
  isolation: isolate;
}
/* second scene: the photograph, faded and scaled by script.js while scrolling */
.hero__still {
  position: absolute;
  inset: 0;
  opacity: var(--still-opacity, 0);
  transform: scale(var(--still-scale, 1));
  will-change: opacity, transform;
}
/* framing of the photograph: enlarged from the bottom left corner, which lifts
   the two seated faces above the title and moves them to the right of the eyebrow */
.hero__still img {
  transform: scale(1.18);
  transform-origin: 0 100%;
}
/* portrait screens show a narrow slice: keep both seated faces in it, above the title */
@media (max-aspect-ratio: 3/4) {
  .hero__still img {
    object-position: 45% 50%;
    transform: scale(1.25);
    transform-origin: 50% 100%;
  }
}
.hero__media video {
  transform: scale(var(--video-scale, 1));
  will-change: transform;
}
/* warm brown tone over the black-and-white video (violin wood + brand rust) */
.hero__media video,
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: var(--hero-filter);
}
.hero__media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(160deg, var(--tint-warm) 0%, var(--tint-deep) 100%);
  mix-blend-mode: multiply;
}
/* soft vignette so white type always reads on the bright tunnel */
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(30, 15, 8, 0.45) 0%, rgba(30, 15, 8, 0) 28%),
    linear-gradient(0deg, rgba(30, 15, 8, 0.8) 0%, rgba(30, 15, 8, 0.25) 45%, rgba(30, 15, 8, 0) 70%);
}
/* film grain: tiled SVG noise above the video, below the text; jitters like a film strip */
.hero__pin::after {
  content: "";
  position: absolute;
  inset: -50%;
  z-index: 1;
  background-image: var(--grain);
  background-size: 220px 220px;
  opacity: var(--grain-opacity);
  mix-blend-mode: overlay;
  pointer-events: none;
  animation: grain 0.9s steps(6) infinite;
}
.hero__content,
.hero__controls,
.scroll-cue { z-index: 2; }
.hero__content {
  position: relative;
  width: 100%;
  /* on short screens the texts fill the stage: keep them clear of the fixed header */
  padding-top: calc(var(--header-height) + var(--space-5));
  padding-bottom: clamp(var(--space-7), 8vh, calc(var(--space-8) * 1.5));
}
.hero__title {
  max-width: 14ch;
  margin-bottom: var(--space-5);
  color: #ffffff;
}
.hero__title .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em;
}
.hero__title .line > span {
  display: block;
  animation: rise 1.1s var(--ease) both;
}
.hero__title .line:nth-child(2) > span { animation-delay: 120ms; }
.hero__title .line:nth-child(3) > span { animation-delay: 240ms; }
.hero__lead {
  max-width: 46ch;
  margin-bottom: var(--space-6);
  color: rgba(255, 255, 255, 0.88);
  font-size: var(--fs-lead);
  animation: fade-up 1s var(--ease) 400ms both;
}
/* max-width keeps the eyebrow clear of the pause button on short phone screens */
.hero .eyebrow {
  max-width: calc(100% - var(--tap) - var(--space-4));
  color: #ffffff;
  animation: fade-up 1s var(--ease) both;
}
.hero .btn-row { animation: fade-up 1s var(--ease) 550ms both; }

.hero__bar {
  display: grid;
  gap: var(--space-6);
  align-items: end;
}
@media (min-width: 900px) {
  .hero__bar { grid-template-columns: 1fr auto; }
}

.hero__next {
  display: grid;
  gap: var(--space-1);
  max-width: 320px;
  padding: var(--space-4) var(--space-5);
  border-left: 1px solid rgba(255, 255, 255, 0.5);
  color: #ffffff;
  text-decoration: none;
  animation: fade-up 1s var(--ease) 700ms both;
}
.hero__next:hover { color: #ffffff; border-color: #ffffff; }
.hero__next-label {
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--color-secondary);
}
.hero__next-date {
  font-family: var(--font-display);
  font-size: var(--fs-h6);
}

.hero__controls {
  position: absolute;
  right: var(--gutter);
  top: calc(var(--header-height) + var(--space-4));
  display: flex;
  gap: var(--space-2);
}
.icon-btn {
  display: inline-grid;
  place-items: center;
  width: var(--tap);
  height: var(--tap);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: rgba(10, 10, 10, 0.25);
  color: #ffffff;
  transition: background-color var(--duration-fast) ease, border-color var(--duration-fast) ease;
}
.icon-btn:hover { background: rgba(10, 10, 10, 0.6); border-color: #ffffff; }
/* no video to control once the photograph has fully replaced it */
.hero__controls { transition: opacity var(--duration-fast) ease, visibility 0s; }
.hero.is-still .hero__controls {
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--duration-fast) ease, visibility 0s var(--duration-fast);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: var(--space-5);
  display: none;
  width: 1px;
  height: var(--space-8);
  background: rgba(255, 255, 255, 0.3);
  overflow: hidden;
}
.scroll-cue::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #ffffff;
  animation: cue 2.2s var(--ease) infinite;
}
@media (min-width: 1200px) { .scroll-cue { display: block; } }


/* 6.6 Intro + facts ------------------------------------------------------- */
.intro__statement {
  font-size: var(--fs-h2);
  text-transform: uppercase;
}
.intro__statement em {
  font-style: normal;
  color: var(--color-primary);
}

.facts {
  display: grid;
  margin: var(--space-6) 0 0;
  border-top: 1px solid var(--color-line);
}
.facts__row {
  display: grid;
  gap: var(--space-1) var(--space-5);
  padding-block: var(--space-4);
  border-bottom: 1px solid var(--color-line);
}
@media (min-width: 600px) {
  .facts__row { grid-template-columns: 11rem 1fr; }
}
.facts dt {
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--color-muted);
}
.facts dd { margin: 0; color: var(--color-dark); }


/* 6.7 Full-bleed image with parallax -------------------------------------- */
.bleed {
  position: relative;
  display: grid;
  align-items: end;
  min-height: clamp(420px, 85vh, 960px);
  overflow: hidden;
  color: #ffffff;
  background: var(--color-dark);
}
.bleed__media {
  position: absolute;
  inset: -8% 0;
}
/* photos with heads at the top edge: no parallax overflow, anchored to the top */
.bleed--static .bleed__media { inset: 0; }
.bleed__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate3d(0, var(--parallax, 0px), 0);
  will-change: transform;
}
.bleed::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10, 10, 10, 0.72) 0%, rgba(10, 10, 10, 0) 60%);
}
.bleed__content {
  position: relative;
  z-index: 1;
  padding-block: var(--space-8);
}
.bleed__quote {
  max-width: 22ch;
  margin: 0 0 var(--space-5);
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  line-height: 1.12;
  text-transform: uppercase;
  color: #ffffff;
}
.bleed__cite {
  font-style: normal;
  color: rgba(255, 255, 255, 0.85);
}


/* 6.8 Members ------------------------------------------------------------- */
.member-grid {
  display: grid;
  gap: var(--space-6) var(--space-5);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 1200px) {
  .member-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .member-grid > :nth-child(even) { margin-top: var(--space-8); }
}

.member-card {
  position: relative;
  display: grid;
  gap: var(--space-4);
  min-width: 0;
}
.member-card__media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--color-surface);
}
.member-card__media img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  filter: grayscale(1);
  transition: filter var(--duration-slow) var(--ease), transform 1.2s var(--ease);
}
.member-card:hover .member-card__media img,
.member-card:focus-within .member-card__media img { filter: grayscale(0); transform: scale(1.04); }
.member-card__role {
  margin: 0;
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--color-primary);
}
.member-card__name {
  margin: 0;
  font-size: clamp(var(--fs-sm), 0.8rem + 1.2vw, var(--fs-h5));
  overflow-wrap: anywhere;
}
.member-card__name a {
  color: var(--color-dark);
  text-decoration: none;
}
/* whole card is clickable, the name keeps the accessible label */
.member-card__name a::after {
  content: "";
  position: absolute;
  inset: 0;
}


/* 6.9 Event --------------------------------------------------------------- */
.event {
  display: grid;
  background: var(--color-background);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius);
  overflow: hidden;
}
@media (min-width: 900px) {
  .event { grid-template-columns: 5fr 7fr; }
}
.event__media {
  position: relative;
  background: var(--color-secondary);
  padding: var(--space-6);
  display: grid;
  place-items: center;
}
.event__media img {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1;
  object-fit: cover;
  box-shadow: var(--shadow-md);
}
.event__body {
  display: grid;
  align-content: center;
  gap: var(--space-5);
  padding: clamp(var(--space-6), 5vw, var(--space-8));
}
.event__date {
  display: flex;
  align-items: flex-end;
  gap: var(--space-4);
  margin: 0;
  color: var(--color-dark);
}
.event__day {
  font-family: var(--font-display);
  font-size: clamp(4rem, 3rem + 4vw, 7.5rem);
  line-height: 0.8;
}
.event__month {
  display: grid;
  font-weight: 600;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  line-height: 1.4;
}
.event__title { margin: 0; font-size: var(--fs-h4); }
.event__meta {
  display: grid;
  gap: var(--space-2);
  margin: 0;
  padding: 0;
  list-style: none;
}
.event__meta li {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
}
.event__meta .fa-solid {
  width: 1.25em;
  color: var(--color-primary);
}


/* 6.10 Marquee + stacked panels ------------------------------------------- */
.marquee {
  display: flex;
  overflow: hidden;
  padding-block: var(--space-6);
  background: var(--color-dark);
  color: var(--color-on-dark);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex;
  flex-shrink: 0;
  gap: calc(var(--space-8) + var(--space-7));
  margin: 0;
  padding: 0 calc(var(--space-8) + var(--space-7)) 0 0;
  list-style: none;
  animation: marquee 48s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track li {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  text-transform: uppercase;
  white-space: nowrap;
}

/* Stacked panels: each panel pins to the screen and holds for --panel-hold of
   scrolling before the next one slides over it, so the title and the button
   stay readable and clickable for a while. */
.panels {
  position: relative;
  --panel-hold: 70svh;
}
.panel {
  position: sticky;
  top: 0;
  /* on screens lower than the panel's min-height, pin it by its bottom edge so the text stays visible */
  top: min(0px, calc(100svh - 520px));
  display: grid;
  align-items: end;
  height: 100svh;
  min-height: 520px;
  overflow: hidden;
  color: #ffffff;
  background: var(--color-dark);
}
.panel + .panel { margin-top: var(--panel-hold); }
.panel__media {
  position: absolute;
  inset: 0;
}
.panel__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(var(--panel-scale, 1));
  transition: transform 0.1s linear;
}
.panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10, 10, 10, 0.75) 0%, rgba(10, 10, 10, 0.1) 55%);
}
.panel__content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--space-5);
  padding-block: var(--space-8);
}
@media (min-width: 900px) {
  .panel__content { grid-template-columns: 1fr auto; align-items: end; }
}
.panel__index {
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--color-secondary);
}
.panel__title {
  margin: var(--space-2) 0 var(--space-3);
  font-size: var(--fs-display);
  line-height: 1;
  color: #ffffff;
}
.panel__text {
  max-width: 48ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
}


/* 6.11 Records list ------------------------------------------------------- */
.records {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--color-line);
}
.records__item {
  display: grid;
  gap: var(--space-2) var(--space-6);
  padding-block: var(--space-6);
  border-bottom: 1px solid var(--color-line);
  transition: background-color var(--duration) var(--ease);
}
@media (min-width: 900px) {
  .records__item {
    grid-template-columns: 12rem 1fr 1fr;
    align-items: baseline;
    padding-inline: var(--space-4);
  }
  .records__item:hover { background: var(--color-background); }
}
.records__year {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  line-height: 1;
  color: var(--color-primary);
}
.records__title { margin: 0; font-size: var(--fs-h5); }
.records__text { margin: 0; color: var(--color-muted); }


/* 6.12 Outlets strip ------------------------------------------------------ */
.outlets {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--color-line-on-dark);
  border-left: 1px solid var(--color-line-on-dark);
}
@media (min-width: 900px) {
  .outlets { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.outlets li {
  border-right: 1px solid var(--color-line-on-dark);
  border-bottom: 1px solid var(--color-line-on-dark);
}
.outlets a {
  display: grid;
  gap: var(--space-2);
  height: 100%;
  min-height: 9rem;
  align-content: space-between;
  padding: var(--space-5);
  text-decoration: none;
  transition: background-color var(--duration) var(--ease);
}
.outlets a:hover { background: rgba(244, 239, 236, 0.06); }
.outlets__name {
  font-family: var(--font-display);
  font-size: var(--fs-h6);
  text-transform: uppercase;
  color: var(--color-on-dark);
}
.outlets__title { color: var(--color-on-dark-muted); }


/* 6.13 Instagram mosaic --------------------------------------------------- */
.mosaic {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-2);
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 900px) {
  .mosaic {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 15vw;
    max-height: none;
  }
  .mosaic > :first-child { grid-column: span 2; grid-row: span 2; }
}
@media (min-width: 1600px) { .mosaic { grid-auto-rows: 240px; } }
.mosaic a {
  position: relative;
  display: block;
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius);
}
.mosaic img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
@media (min-width: 900px) { .mosaic img { aspect-ratio: auto; } }
.mosaic a::after {
  content: "\f16d";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-brands);
  font-size: 2rem;
  color: #ffffff;
  background: rgba(135, 33, 0, 0.55);
  opacity: 0;
  transition: opacity var(--duration) var(--ease);
}
.mosaic a:hover::after,
.mosaic a:focus-visible::after { opacity: 1; }
.mosaic a:hover img { transform: scale(1.05); }


/* 6.14 Accordion ---------------------------------------------------------- */
.accordion {
  display: grid;
  gap: 0 var(--gutter);
  align-items: start;
}
@media (min-width: 900px) {
  .accordion--two { grid-template-columns: 1fr 1fr; }
}
.accordion__col { border-top: 1px solid var(--color-line); }
.accordion__item { border-bottom: 1px solid var(--color-line); }
.accordion__heading { margin: 0; font-family: var(--font-body); font-size: var(--fs-base); }
.accordion__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  width: 100%;
  min-height: var(--tap);
  padding: var(--space-5) 0;
  border: 0;
  background: none;
  text-align: left;
  font-family: var(--font-display);
  font-size: var(--fs-h6);
  line-height: 1.35;
  color: var(--color-dark);
}
.accordion__trigger:hover { color: var(--color-primary); }
.accordion__trigger .fa-solid {
  flex-shrink: 0;
  font-size: 0.875em;
  color: var(--color-primary);
  transition: transform var(--duration) var(--ease);
}
.accordion__trigger[aria-expanded="true"] .fa-solid { transform: rotate(180deg); }
.accordion__panel {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows var(--duration) var(--ease);
}
.accordion__panel > div { overflow: hidden; }
.accordion__panel p { padding-bottom: var(--space-5); margin: 0; }
.js .accordion__panel[data-collapsed] { grid-template-rows: 0fr; }
.js .accordion__panel[data-collapsed] > div { visibility: hidden; }


/* 6.15 Page hero (sub pages) ---------------------------------------------- */
.page-hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: clamp(560px, 92svh, 860px);
  overflow: hidden;
  color: #ffffff;
  background: var(--color-dark);
}
@media (min-width: 900px) {
  .page-hero { min-height: clamp(460px, 78vh, 860px); }
}
.page-hero__media { position: absolute; inset: 0; }
.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: settle 2.4s var(--ease) both;
}
/* focal point for photos whose subjects sit at the top edge (heads) */
.img-focus-top {
  object-position: 50% 0;
  transform-origin: 50% 0;
}
.img-focus-upper {
  object-position: 50% 20%;
  transform-origin: 50% 20%;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.5) 0%, rgba(10, 10, 10, 0) 30%),
    linear-gradient(0deg, rgba(10, 10, 10, 0.75) 0%, rgba(10, 10, 10, 0) 55%);
}
.page-hero__content {
  position: relative;
  z-index: 1;
  padding-block: var(--space-8) var(--space-7);
}
.page-hero h1 { color: #ffffff; margin-bottom: var(--space-4); animation: fade-up 1s var(--ease) 150ms both; }
.page-hero .eyebrow { color: #ffffff; animation: fade-up 1s var(--ease) both; }
.page-hero__lead {
  max-width: 52ch;
  margin: 0;
  font-size: var(--fs-lead);
  color: rgba(255, 255, 255, 0.9);
  animation: fade-up 1s var(--ease) 300ms both;
}

/* compact text hero for pages without a lead image */
.page-head {
  padding-top: calc(var(--header-height) + var(--space-8));
  padding-bottom: var(--space-7);
  border-bottom: 1px solid var(--color-line);
}
.page-head h1 { margin-bottom: var(--space-4); }

.breadcrumbs {
  margin: 0 0 var(--space-5);
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  font-size: var(--fs-sm);
  color: inherit;
}
.breadcrumbs li + li::before { content: "/"; margin-right: var(--space-2); opacity: 0.6; }
.breadcrumbs a { color: inherit; }
.page-hero .breadcrumbs { color: rgba(255, 255, 255, 0.85); }

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  min-height: var(--tap);
  padding: var(--space-2) var(--space-4);
  border: 1px solid currentColor;
  border-radius: var(--radius);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--color-dark);
}
.lang-switch:hover { background: var(--color-dark); color: #ffffff; }
.lang-switch--light { color: var(--color-on-dark); }
.site-menu__meta .lang-switch--light { color: var(--color-on-dark); }
.lang-switch--light:hover { background: var(--color-on-dark); color: var(--color-dark); }
.site-menu__meta .lang-switch--light:hover { color: var(--color-dark); }
.member-index__lang { margin: var(--space-5) 0 0; }


/* 6.16 Timeline ----------------------------------------------------------- */
.timeline {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0.4rem;
  width: 1px;
  background: var(--color-line-on-dark);
}
.timeline__item {
  position: relative;
  display: grid;
  gap: var(--space-2);
  padding: 0 0 var(--space-7) var(--space-7);
}
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: #ffffff;
}
@media (min-width: 900px) {
  .timeline::before { left: 50%; }
  .timeline__item {
    width: 50%;
    padding: 0 var(--space-7) var(--space-7) 0;
    text-align: right;
  }
  .timeline__item::before { left: auto; right: -0.4rem; }
  .timeline__item:nth-child(even) {
    margin-left: 50%;
    padding: 0 0 var(--space-7) var(--space-7);
    text-align: left;
  }
  .timeline__item:nth-child(even)::before { right: auto; left: -0.4rem; }
  .timeline__item p { margin-left: auto; }
  .timeline__item:nth-child(even) p { margin-left: 0; }
}
.timeline__year {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  line-height: 1;
  color: var(--color-accent);
}
.timeline__item h3 { margin: 0; font-size: var(--fs-h6); }
.timeline__item p { max-width: 40ch; margin-bottom: 0; }


/* 6.17 Bios --------------------------------------------------------------- */
.member-index {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-2);
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 900px) { .member-index { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.member-index a {
  display: grid;
  gap: var(--space-1);
  min-height: var(--tap);
  padding: var(--space-4) var(--space-5);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--color-dark);
  transition: background-color var(--duration) var(--ease), color var(--duration) var(--ease);
}
.member-index a:hover { background: var(--color-dark); color: var(--color-on-dark); }
.member-index span { font-size: var(--fs-sm); color: inherit; opacity: 0.75; }
.member-index strong { font-family: var(--font-display); font-weight: 400; }

.bio {
  display: grid;
  gap: var(--space-7) var(--gutter);
  padding-block: var(--section-space);
  border-bottom: 1px solid var(--color-line);
}
.bio:last-of-type { border-bottom: 0; }
@media (min-width: 900px) {
  .bio { grid-template-columns: 5fr 7fr; align-items: start; }
  .bio__aside { position: sticky; top: calc(var(--header-height) + var(--space-6)); }
  .bio:nth-of-type(even) { grid-template-columns: 7fr 5fr; }
  .bio:nth-of-type(even) .bio__aside { order: 2; }
}
.bio__portrait {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--color-surface);
}
.bio__portrait img { width: 100%; aspect-ratio: 2 / 3; max-height: 72vh; object-fit: cover; object-position: top; }
.bio__caption {
  margin-top: var(--space-4);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--color-muted);
}
.bio__name { font-size: var(--fs-h2); }
.bio__role {
  margin: calc(var(--space-2) * -1) 0 var(--space-6);
  font-weight: 600;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--color-primary);
}
.bio__body h3 {
  margin-top: var(--space-7);
  font-size: var(--fs-h5);
}
.discography {
  margin: 0 0 var(--space-5);
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--color-line);
  max-width: var(--measure);
}
.discography li {
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--color-line);
}


/* 6.18 Gallery + lightbox ------------------------------------------------- */
.gallery,
.video-grid {
  margin: 0;
  padding: 0;
  list-style: none;
}
.gallery {
  columns: 2;
  column-gap: var(--space-3);
}
@media (min-width: 900px) { .gallery { columns: 3; column-gap: var(--space-4); } }
.gallery__item {
  break-inside: avoid;
  margin: 0 0 var(--space-3);
}
@media (min-width: 900px) { .gallery__item { margin-bottom: var(--space-4); } }
.gallery__button {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--color-surface);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
}
.gallery__button img { width: 100%; transition: transform 1.2s var(--ease), opacity var(--duration) ease; }
.gallery__button:hover img { transform: scale(1.04); }
.gallery__button .fa-solid {
  position: absolute;
  right: var(--space-3);
  bottom: var(--space-3);
  display: grid;
  place-items: center;
  width: var(--tap);
  height: var(--tap);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-dark);
  opacity: 0;
  transform: translateY(var(--space-2));
  transition: opacity var(--duration) var(--ease), transform var(--duration) var(--ease);
}
.gallery__button:hover .fa-solid,
.gallery__button:focus-visible .fa-solid { opacity: 1; transform: none; }

.lightbox {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(10, 10, 10, 0.96);
  color: var(--color-on-dark);
}
.lightbox::backdrop { background: rgba(10, 10, 10, 0.9); }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; animation: fade-in var(--duration) var(--ease); }
.lightbox__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4) var(--gutter);
}
.lightbox__figure {
  display: grid;
  place-items: center;
  min-height: 0;
  margin: 0;
  padding: 0 var(--gutter);
}
.lightbox__figure img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.lightbox__nav {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  padding: var(--space-4);
}


/* 6.19 Embeds (YouTube, Google Maps) — load only after a click ------------ */
.video-grid {
  display: grid;
  gap: var(--space-6) var(--space-5);
  grid-template-columns: 1fr;
}
@media (min-width: 600px) { .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .video-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.embed {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--color-dark);
}
.embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.embed__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: #ffffff;
}
.embed__poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  transition: opacity var(--duration) var(--ease), transform 1.2s var(--ease);
}
.embed__poster:hover img { opacity: 0.6; transform: scale(1.04); }
.embed__play {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-primary);
  font-size: 1.25rem;
  transform: translate(-50%, -50%);
  transition: transform var(--duration) var(--ease);
}
.embed__play .fa-solid { margin-left: 4px; }
.embed__poster:hover .embed__play { transform: translate(-50%, -50%) scale(1.1); }
.embed__note {
  margin: var(--space-3) 0 0;
  font-size: var(--fs-sm);
  color: var(--color-muted);
}
.video-card__title {
  margin: var(--space-4) 0 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  font-weight: 600;
  line-height: 1.5;
}

.map {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--color-surface);
}
.map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(1) contrast(1.05);
}
.map__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: var(--space-4);
  padding: var(--space-6);
  text-align: center;
  background:
    repeating-linear-gradient(0deg, transparent 0 47px, var(--color-line) 47px 48px),
    repeating-linear-gradient(90deg, transparent 0 47px, var(--color-line) 47px 48px),
    var(--color-surface);
}
.map__placeholder .fa-solid { font-size: 2rem; color: var(--color-primary); }
.map__placeholder p { margin: 0; max-width: 40ch; }


/* 6.20 Press cards, contact cards ----------------------------------------- */
.press-grid {
  display: grid;
  gap: var(--space-7) var(--space-5);
  grid-template-columns: 1fr;
  margin: 0;
  padding: 0;
  list-style: none;
}
/* 9 items: tablet = 1 wide + 4 rows of 2, desktop = 3 × 3 */
@media (min-width: 600px) {
  .press-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .press-grid > :first-child { grid-column: 1 / -1; }
}
@media (min-width: 1200px) {
  .press-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .press-grid > :first-child { grid-column: auto; }
}
.press-card {
  position: relative;
  display: grid;
  gap: var(--space-3);
  align-content: start;
}
.press-card__media {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--color-surface);
}
.press-card__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: top;
  transition: transform 1.2s var(--ease);
}
.press-card:hover .press-card__media img { transform: scale(1.04); }
.press-card__outlet {
  margin: var(--space-2) 0 0;
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--color-primary);
}
.press-card__title { margin: 0; font-size: var(--fs-h5); text-transform: none; letter-spacing: 0; }
.press-card__title a {
  color: var(--color-dark);
  text-decoration: none;
}
.press-card__title a::after { content: ""; position: absolute; inset: 0; }
.press-card__title a:hover { color: var(--color-primary); }
.press-card__lang { margin: 0; font-size: var(--fs-sm); color: var(--color-muted); }

.contact-grid {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: 1fr;
}
/* 3 cards: tablet = 1 wide + 2, desktop = 3 */
@media (min-width: 600px) {
  .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid > :first-child { grid-column: 1 / -1; }
}
@media (min-width: 1200px) {
  .contact-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .contact-grid > :first-child { grid-column: auto; }
}
.contact-card {
  display: grid;
  align-content: start;
  gap: var(--space-4);
  padding: var(--space-6);
  background: var(--color-background);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.contact-card__region {
  margin: 0;
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--color-primary);
}
.contact-card h3 { margin: 0; font-size: var(--fs-h5); }
.contact-list {
  display: grid;
  gap: var(--space-3);
  margin: 0;
  padding: 0;
  list-style: none;
}
.contact-list li {
  display: grid;
  grid-template-columns: 1.5rem 1fr;
  gap: var(--space-3);
  align-items: baseline;
}
.contact-list .fa-solid { color: var(--color-muted); }
.contact-list a { overflow-wrap: anywhere; }
.contact-list__person { font-weight: 600; color: var(--color-dark); }

.social {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin: 0;
  padding: 0;
  list-style: none;
}
.social a {
  display: inline-grid;
  place-items: center;
  width: var(--tap);
  height: var(--tap);
  border: 1px solid currentColor;
  border-radius: 50%;
  color: inherit;
  text-decoration: none;
  transition: background-color var(--duration-fast) ease, color var(--duration-fast) ease, border-color var(--duration-fast) ease;
}
.social a:hover { background: var(--color-primary); border-color: var(--color-primary); color: #ffffff; }

.split-media {
  display: grid;
  gap: var(--space-7) var(--gutter);
  align-items: center;
}
@media (min-width: 900px) { .split-media { grid-template-columns: 1fr 1fr; } }
.split-media__img {
  overflow: hidden;
  border-radius: var(--radius);
}
.split-media__img img { width: 100%; }


/* 6.21 Footer, 404 -------------------------------------------------------- */
.site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--color-footer);
  color: var(--color-on-dark-muted);
  padding-top: var(--section-space);
}
/* photo background (shoes with coloured laces), darkened for legible text */
.site-footer__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.site-footer__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(var(--footer-photo-brightness));
}
.site-footer__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 20, 20, 0) 0%, rgba(20, 20, 20, 0.12) 50%, rgba(20, 20, 20, 0.45) 100%);
}
.site-footer a { color: var(--color-on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--color-accent); text-decoration: underline; }
.site-footer__brand {
  display: grid;
  gap: var(--space-5);
  padding-bottom: var(--space-7);
  border-bottom: 1px solid var(--color-line-on-dark);
}
@media (min-width: 900px) {
  .site-footer__brand { grid-template-columns: 1fr auto; align-items: end; }
}
.site-footer__wordmark {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 1rem + 7vw, 7.5rem);
  line-height: 0.95;
  text-transform: uppercase;
  color: var(--color-on-dark);
}
.site-footer__tagline { margin: 0; color: var(--color-on-dark); }
.site-footer__cols {
  display: grid;
  gap: var(--space-7) var(--gutter);
  padding-block: var(--space-7);
}
@media (min-width: 600px) { .site-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .site-footer__cols { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.site-footer__title {
  margin: 0 0 var(--space-4);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--color-accent);
}
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li + li { margin-top: var(--space-2); }
.site-footer .social li + li { margin-top: 0; }
.site-footer address { font-style: normal; }
.site-footer address p { margin: 0 0 var(--space-3); }
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: var(--space-5);
  border-top: 1px solid var(--color-line-on-dark);
  font-size: var(--fs-sm);
}
.site-footer__bottom ul { display: flex; flex-wrap: wrap; gap: var(--space-5); }
.site-footer__bottom li + li { margin-top: 0; }
.site-footer .social a:hover { color: #ffffff; text-decoration: none; }

.error-page {
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding: calc(var(--header-height) + var(--space-7)) var(--gutter) var(--space-8);
  text-align: center;
  background: var(--color-surface);
}
.error-page__icon {
  font-size: clamp(4rem, 3rem + 5vw, 7rem);
  color: var(--color-primary);
  margin-bottom: var(--space-6);
}
.error-page p { margin-inline: auto; }
.error-page .btn-row { justify-content: center; }


/* 7. MOTION ================================================================ */

/* Reveal on scroll — only active when JS is running (html.js) */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(var(--space-6));
  transition: opacity var(--duration-slow) var(--ease), transform var(--duration-slow) var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
/* the clip is applied to the child, so the observed element keeps its size */
.js [data-reveal="clip"] { opacity: 1; transform: none; }
.js [data-reveal="clip"] > * {
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1.2s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js [data-reveal="clip"].is-visible > * { clip-path: inset(0 0 0 0); }
.js [data-delay="1"] { --reveal-delay: 100ms; }
.js [data-delay="2"] { --reveal-delay: 200ms; }
.js [data-delay="3"] { --reveal-delay: 300ms; }

@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(var(--space-5)); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes settle { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes marquee { to { transform: translateX(-100%); } }
@keyframes grain {
  0%   { transform: translate(0, 0); }
  17%  { transform: translate(-3%, 2%); }
  33%  { transform: translate(2%, -4%); }
  50%  { transform: translate(-4%, -2%); }
  67%  { transform: translate(3%, 3%); }
  83%  { transform: translate(-1%, 4%); }
  100% { transform: translate(0, 0); }
}
@keyframes cue {
  0% { transform: translateY(-100%); }
  60%, 100% { transform: translateY(100%); }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;      /* user preference must win */
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .js [data-reveal],
  .js [data-reveal="clip"] > * { opacity: 1; transform: none; clip-path: none; }
  .marquee__track { animation: none; flex-wrap: wrap; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee__track[aria-hidden="true"] { display: none; }
  .bleed__media img,
  .panel__media img,
  .hero__still,
  .hero__media video { transform: none; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}


/* 8. FONT AWESOME (subset) ================================================= */

.fa-solid,
.fa-regular,
.fa-brands {
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  line-height: 1;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
}
.fa-solid::before,
.fa-regular::before,
.fa-brands::before { content: var(--fa); }
.fa-solid { font-family: var(--font-icons); font-weight: 900; }
.fa-regular { font-family: var(--font-icons); font-weight: 400; }
.fa-brands { font-family: var(--font-brands); font-weight: 400; }

.fa-arrow-right { --fa: "\f061"; }
.fa-arrow-left { --fa: "\f060"; }
.fa-arrow-down { --fa: "\f063"; }
.fa-arrow-up-right-from-square { --fa: "\f08e"; }
.fa-chevron-down { --fa: "\f078"; }
.fa-chevron-left { --fa: "\f053"; }
.fa-chevron-right { --fa: "\f054"; }
.fa-play { --fa: "\f04b"; }
.fa-pause { --fa: "\f04c"; }
.fa-xmark { --fa: "\f00d"; }
.fa-expand { --fa: "\f065"; }
.fa-download { --fa: "\f019"; }
.fa-envelope { --fa: "\f0e0"; }
.fa-phone { --fa: "\f095"; }
.fa-location-dot { --fa: "\f3c5"; }
.fa-map-location-dot { --fa: "\f5a0"; }
.fa-globe { --fa: "\f0ac"; }
.fa-user { --fa: "\f007"; }
.fa-calendar-days { --fa: "\f073"; }
.fa-clock { --fa: "\f017"; }
.fa-ticket { --fa: "\f145"; }
.fa-language { --fa: "\f1ab"; }
.fa-face-frown { --fa: "\f119"; }
.fa-facebook-f { --fa: "\f39e"; }
.fa-instagram { --fa: "\f16d"; }
.fa-youtube { --fa: "\f167"; }
.fa-spotify { --fa: "\f1bc"; }
