/* ==========================================================================
   The Kelc Collective · shared styles
   Used by every page. Page-specific styles live in artist.css (and academy.css when the Academy module is installed)
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Noir palette: layered blacks, bone text, silver accent */
  --void: #040404;      /* deepest black: hero, artist list, footer */
  --coal: #0a0909;      /* section ground */
  --soot: #111010;      /* section ground, a step up */
  --smoke: #181716;     /* panels and raised surfaces */
  --paper: #e8e4de;     /* bone: primary text on black */
  --ink: #040404;       /* text placed on bone (button hover states) */
  --brick: #2e2c2a;     /* charcoal: quiet fills */
  --brick-bright: #c9c4bc; /* silver: strokes, small accent text */
  --hover: #a9a49d;     /* hover tint for links and solid buttons */
  --line-dark: rgba(232, 228, 222, 0.11);
  --field-line: rgba(232, 228, 222, 0.38);   /* form underlines: visible enough to find */

  --f-display: "Jost", "Helvetica Neue", Arial, "Noto Serif SC", sans-serif;   /* UI: nav, buttons, labels in capitals */
  --f-serif: "Cormorant Garamond", "Noto Serif SC", "Times New Roman", Georgia, serif;
  --f-body: var(--f-display);            /* paragraphs, same family as the nav and buttons */
  --f-name: var(--f-sc);   /* artist names and big title links */
  --f-sc: "Cormorant SC", "Cormorant Garamond", "Noto Serif SC", "Times New Roman", Georgia, serif;

  --gutter: clamp(18px, 4vw, 56px);
  --max: 1360px;
  --nav-h: 72px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --dock: 0;

  /* default theme values (paper) */
  --fg: var(--paper);
  --bg: var(--coal);
  --line: var(--line-dark);
  --muted: rgba(232, 228, 222, 0.56);
  --accent: var(--brick-bright);
  color-scheme: dark;
}

@media (max-width: 720px) {
  :root { --nav-h: 62px; }
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--void);
  color: var(--paper);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4 { text-wrap: balance; }
p { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--brick-bright); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--paper); color: var(--ink); }
[hidden] { display: none !important; }
.is-routing body { visibility: hidden; }   /* see the short-link note in index.html */
.sr-only {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
/* keeps a phrase on one line (artist roles, hyphenated words) */
.nw { white-space: nowrap; }
section[id] { scroll-margin-top: calc(var(--nav-h) - 1px); }
/* keyboard focus never lands hidden behind the sticky header (anchors keep their own offset above) */
html { scroll-padding-top: calc(var(--nav-h) + 16px); }
section[id] { scroll-margin-top: -17px; }
.menu-open body { overflow: hidden; }

/* ---------- 3. Section themes ---------- */
.theme-void, .theme-coal, .theme-soot, .theme-smoke {
  --fg: var(--paper); --line: var(--line-dark);
  --muted: rgba(232, 228, 222, 0.56); --accent: var(--brick-bright);
  color: var(--paper);
}
.theme-void { --bg: var(--void); background: var(--void); }
.theme-coal { --bg: var(--coal); background: var(--coal); }
.theme-soot { --bg: var(--soot); background: var(--soot); }
.theme-smoke { --bg: var(--smoke); background: var(--smoke); }
/* hairline between stacked dark sections */
main > .section { box-shadow: inset 0 1px 0 rgba(232, 228, 222, 0.05); }

/* ---------- Noir atmosphere ---------- */
.vignette {
  position: fixed; inset: 0; z-index: 89; pointer-events: none;
  background: radial-gradient(ellipse 120% 90% at 50% 45%, transparent 55%, rgba(0, 0, 0, 0.6) 100%);
}
/* light through venetian blinds */
.blinds {
  position: absolute; inset: -25% -15%; z-index: 0; pointer-events: none;
  background: repeating-linear-gradient(100deg, rgba(232, 228, 222, 0.07) 0 26px, transparent 26px 62px);
  -webkit-mask-image: radial-gradient(ellipse 38% 48% at var(--bx, 70%) var(--by, 40%), #000 0%, rgba(0, 0, 0, 0.35) 45%, transparent 72%);
  mask-image: radial-gradient(ellipse 38% 48% at var(--bx, 70%) var(--by, 40%), #000 0%, rgba(0, 0, 0, 0.35) 45%, transparent 72%);
  filter: blur(1.2px);
  transform: skewY(-9deg);
  animation: blinds 22s ease-in-out infinite alternate;
}
@keyframes blinds { from { transform: skewY(-9deg) translateX(-3%); opacity: 0.75; } to { transform: skewY(-9deg) translateX(3%); opacity: 1; } }
/* drifting smoke */
.smoke { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.smoke i {
  position: absolute; width: 70vmax; aspect-ratio: 1; border-radius: 50%; filter: blur(60px);
  background: radial-gradient(circle, rgba(232, 228, 222, 0.05), transparent 65%);
  animation: drift 30s ease-in-out infinite alternate;
}
.smoke i:nth-child(1) { left: -25%; top: 10%; }
.smoke i:nth-child(2) { right: -30%; top: -20%; animation-duration: 38s; animation-direction: alternate-reverse; background: radial-gradient(circle, rgba(232, 228, 222, 0.035), transparent 62%); }
@keyframes drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(12%, 8%, 0) scale(1.15); } }

/* ---------- 4. Layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: clamp(88px, 12vw, 168px); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, min(420px, 40%));
  gap: 28px 64px;
  align-items: end;
  margin-bottom: clamp(44px, 6vw, 88px);
}
.section-head .eyebrow { grid-column: 1 / -1; margin: 0; }
.section-head__aside { margin: 0; color: var(--muted); max-width: 42ch; }
@media (max-width: 820px) { .section-head { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- 5. Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  margin: 0 0 28px;
  font-family: var(--f-sc); font-weight: 500; font-size: 1.02rem;
  letter-spacing: 0.14em; color: var(--muted);
}
.eyebrow__num { color: var(--accent); font-variant-numeric: tabular-nums; display: inline-flex; align-items: center; gap: 14px; }
.eyebrow__num::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: 0.7; }

.display {
  font-family: var(--f-serif); font-weight: 400;
  font-size: clamp(2.6rem, 6vw, 5.6rem);
  line-height: 0.98; letter-spacing: -0.015em; margin: 0;
}
.display em { font-style: italic; font-weight: 300; }
/* items separated by a dot: when a line wraps, the dot that would start it is tucked out of view,
   so a dot never hangs at the end of a line (artist roles, Academy details) */
.dots { display: block; overflow: hidden; padding-block: 0.12em; margin-block: -0.12em; }
.dots__in { display: flex; flex-wrap: wrap; margin-left: -0.9em; padding-right: 0.15em; }
.dots__in > span { position: relative; padding-left: 0.9em; white-space: nowrap; }
.dots__in > span::before { content: "\00B7"; position: absolute; left: 0.32em; }
/* two-line heading whose second line steps in (About heading, Community tagline) */
.stagger { display: grid; justify-items: start; }
.stagger > span + span { padding-left: var(--stagger, 1.1em); }
.display--xl { font-size: clamp(3.6rem, 12vw, 11rem); line-height: 0.9; }

/* intro paragraph: same family as all body text, just larger */
.lead {
  font-family: var(--f-body); font-weight: 400;
  font-size: clamp(1.1rem, 1.35vw, 1.28rem); line-height: 1.6;
  margin: 0 0 1.1em; max-width: 44ch;
}
.prose p { margin: 0 0 1em; max-width: 62ch; color: var(--muted); }
.prose--serif p { line-height: 1.7; color: rgba(232, 228, 222, 0.72); max-width: 52ch; }   /* name kept for older markup; same font as all body text */
.label {
  font-family: var(--f-sc); font-weight: 500; font-size: 0.95rem;
  letter-spacing: 0.12em;
}

/* breadcrumbs (artist + academy pages) */
.crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0;
  font-family: var(--f-sc); font-weight: 500; font-size: 1rem;
  letter-spacing: 0.12em; color: var(--muted);
  animation: rise 0.9s var(--ease) 0.1s both;
}
.crumbs a { display: inline-block; padding-block: 8px; }
.crumbs a:hover { color: var(--paper); }
.crumbs b { font-weight: 500; color: var(--accent); }

/* ---------- 6. Grain + scroll progress ---------- */
.grain {
  position: fixed; inset: -60%; z-index: 90; pointer-events: none; opacity: 0.055;
  background-image: 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='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1.2 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.4s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); } 60% { transform: translate(-2%, -1%); }
  80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

/* ---------- 7. Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 60;
  padding-top: env(safe-area-inset-top, 0px);
  color: var(--nav-fg);
  transition: color 0.4s ease;
}
.nav[data-theme="dark"] { --nav-fg: var(--paper); --nav-bg: rgba(4, 4, 4, 0.78); --nav-line: rgba(232, 228, 222, 0.08); }
.nav::before {
  content: ""; position: absolute; inset: 0;
  background: var(--nav-bg); border-bottom: 1px solid var(--nav-line);
  -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3);
  opacity: var(--dock); transition: background-color 0.4s ease;
}
.nav__bar {
  position: relative; height: var(--nav-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
  padding-inline: var(--gutter);
}
.nav__links { display: flex; gap: clamp(18px, 2.6vw, 40px); }
.nav__links a {
  position: relative; padding-block: 8px;
  font-family: var(--f-display); font-weight: 500; font-size: 0.7rem;
  letter-spacing: 0.26em; text-transform: uppercase; opacity: 0.62;
  transition: opacity 0.3s ease;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0.26em; bottom: 0; height: 1px;
  background: var(--brick-bright); transform: scaleX(0); transform-origin: 0 50%;
  transition: transform 0.5s var(--ease);
}
.nav__links a:hover, .nav__links a.is-active { opacity: 1; }
.nav__links a.is-active::after, .nav__links a:hover::after { transform: scaleX(1); }

.nav__right { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 12px; }
.nav__cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 18px; border: 1px solid currentColor; border-radius: 999px;
  font-family: var(--f-display); font-weight: 500; font-size: 0.7rem;
  letter-spacing: 0.24em; text-transform: uppercase;
  transition: background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease;
}
.nav__cta:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.nav__cta i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: blink 2.4s ease-in-out infinite; }

.nav__menu { display: none; width: 44px; height: 44px; place-items: center; position: relative; }
.nav__menu span:not(.sr-only) {
  position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor;
  transition: transform 0.5s var(--ease), top 0.5s var(--ease);
}
.nav__menu span:nth-child(1) { top: 17px; }
.nav__menu span:nth-child(2) { top: 26px; }
.menu-open .nav__menu span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-open .nav__menu span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

.menu-open .nav__progress { opacity: 0; }
.nav__progress {
  position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; opacity: var(--dock);
  background: var(--brick-bright); transform-origin: 0 50%; transform: scaleX(0);
}

@media (max-width: 960px) {
  .nav__links, .nav__cta { display: none; }
  .nav__menu { display: grid; }
}

/* Full-screen menu (mobile) */
.menu {
  position: fixed; inset: 0; z-index: 58;
  background: var(--void); color: var(--paper);
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  padding: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + 28px) var(--gutter) calc(32px + env(safe-area-inset-bottom, 0px));
  clip-path: circle(0% at calc(100% - 42px) 36px);
  transition: clip-path 0.75s var(--ease-io);
  overflow-y: auto;
}
.menu.is-open { clip-path: circle(150% at calc(100% - 42px) 36px); }
.menu__links { display: grid; gap: 6px; }
.menu__links a {
  display: flex; align-items: baseline; gap: 18px;
  font-family: var(--f-serif); font-size: clamp(2rem, min(11vw, 9vh), 4.4rem); line-height: 1.08;
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.8s var(--ease);
  transition-delay: calc(0.18s + var(--i, 0) * 0.07s);
}
.menu__links a small { display: inline-block; min-width: 2.4em; font-family: var(--f-display); font-size: 0.7rem; letter-spacing: 0.28em; color: rgba(232, 228, 222, 0.62); }
.menu.is-open .menu__links a { opacity: 1; transform: none; }
.menu__foot { display: grid; gap: 8px; color: rgba(244, 244, 243, 0.6); font-size: 0.95rem; }

/* ---------- 8. Brand logo ----------
   #brandLogo holds only the TKC monogram. On the home page it starts large in
   the hero (.logo-slot) and docks into the header on scroll; the wordmark
   stays in the hero. On other pages it sits docked from the start. */
.brand {
  position: fixed; top: 0; left: 0; z-index: 65;
  width: max-content;
  transform-origin: 0 0;
  transform: translate3d(var(--gutter), 14px, 0) scale(0.14);
}
.brand.is-snapping { transition: transform 0.7s var(--ease); }
.js .brand { opacity: 0; }
.js .brand.is-ready { opacity: 1; }
.brand__mark { display: block; height: 300px; width: auto; }
.brand.is-ready .brand__mark { animation: markIn 1.8s var(--ease) 0.1s both; }
@keyframes markIn {
  from { opacity: 0; transform: translateY(6%) scale(0.96); filter: blur(10px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}

/* small static logo (footer) */
.mini-logo { display: inline-flex; align-items: center; gap: 18px; }
.mini-logo img:first-child { height: 46px; width: auto; }
.mini-logo img + img { height: 11px; width: auto; }

/* ---------- 9. Buttons ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  background: linear-gradient(var(--fg), var(--fg)) no-repeat 0 0 / 0 100%; background-origin: border-box;
  display: inline-flex; align-items: center; gap: 14px;
  padding: 16px 24px 16px 26px; border: 1px solid var(--fg); border-radius: 999px;
  color: var(--fg);
  font-family: var(--f-display); font-weight: 500; font-size: 0.72rem;
  letter-spacing: 0.24em; text-transform: uppercase; white-space: nowrap;
  transition: color 0.45s var(--ease), border-color 0.45s ease, background-size 0.55s var(--ease);
}
.btn:hover, .btn:focus-visible { background-size: 100% 100%; }
.btn:hover, .btn:focus-visible { color: var(--bg); }
.btn svg { width: 16px; height: 16px; flex: none; transition: transform 0.5s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--solid { background: linear-gradient(var(--hover), var(--hover)) no-repeat 0 0 / 0 100% border-box, var(--paper); border-color: var(--paper); color: var(--ink); }
.btn--solid:hover, .btn--solid:focus-visible { background-size: 100% 100%, auto; }
.btn--solid:hover, .btn--solid:focus-visible { color: var(--ink); border-color: var(--hover); }
.arrow { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.cta-circle {
  width: 52px; height: 52px; flex: none; border-radius: 50%;
  border: 1px solid currentColor; display: grid; place-items: center;
  transition: transform 0.6s var(--ease), background-color 0.4s ease, border-color 0.4s ease, color 0.4s ease;
}
.cta-circle svg { width: 18px; height: 18px; }

.copy-btn {
  min-height: 44px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px;
  font-family: var(--f-display); font-weight: 500; font-size: 0.7rem;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted);
  transition: color 0.3s ease, border-color 0.3s ease;
}
.copy-btn:hover { color: var(--fg); border-color: var(--fg); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.chips a, .chips .chip-soon {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px;
  font-family: var(--f-display); font-weight: 500; font-size: 0.7rem;
  letter-spacing: 0.24em; text-transform: uppercase;
  transition: border-color 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}
.chips a:hover { border-color: var(--paper); background: var(--paper); color: var(--ink); }
/* placeholder link (no url yet): same shape, clearly inactive */
.chips .chip-soon { border-style: dashed; color: var(--muted); cursor: default; }

/* ---------- 10. Marquee ---------- */
.marquee {
  overflow: hidden; padding-block: 6px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee var(--speed, 40s) linear infinite; }
.reel-pop.is-still .reel-pop__play, .reel-pop.is-still .reel-pop__bar { display: none; }
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }

/* ---------- 11. Equaliser ---------- */
.eq { display: flex; align-items: flex-end; gap: 3px; height: var(--eq-h, 100px); }
.eq i {
  flex: 1 1 0; min-width: 1px; height: 100%;
  background: currentColor; border-radius: 1px;
  transform-origin: 50% 100%; transform: scaleY(var(--lo, 0.08));
  animation: eq var(--t, 1s) ease-in-out var(--dl, 0s) infinite alternate;
}
@keyframes eq { from { transform: scaleY(var(--lo, 0.06)); } to { transform: scaleY(var(--hi, 0.6)); } }
.eq--mini { --eq-h: 18px; width: 26px; gap: 2px; }

/* ---------- 12. Reveal ---------- */
[data-reveal] { transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js [data-reveal].pre { opacity: 0; transform: translate3d(0, 40px, 0); }

/* ---------- 13. Shared keyframes ---------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pulse { from { transform: scale(0.35); opacity: 0.7; } to { transform: scale(3.2); opacity: 0; } }
@keyframes drip { 0% { transform: translateY(0); } 100% { transform: translateY(350%); } }

/* ==========================================================================
   HOME
   ========================================================================== */

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: grid; place-items: center;
  padding-block: calc(var(--nav-h) + 48px) 140px;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; will-change: transform; }
.hero__content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: clamp(28px, 4vw, 48px);
}
.logo-slot { width: clamp(118px, 16vw, 232px); height: 270px; }
.hero__wordmark { width: min(78vw, 700px); will-change: opacity, transform; }
.hero__wordmark img { display: block; width: 100%; height: auto; animation: wmIn 1.8s var(--ease-io) 0.7s both; }
@keyframes wmIn {
  from { opacity: 0; clip-path: inset(0 50% 0 50%); letter-spacing: 0.2em; }
  to { opacity: 1; clip-path: inset(0 0 0 0); }
}

/* hero photo (optional, set in content/2-home-page.js) */
.hero__photo {
  position: absolute; inset: 0; background: center / cover no-repeat;
  background-image: var(--hero-img, none);
}
@media (max-width: 760px) { .hero__photo { background-image: var(--hero-img-m, var(--hero-img, none)); } }
.hero__photo::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 60% at 50% 48%, rgba(4, 4, 4, 0.35), rgba(4, 4, 4, 0.75)); }
.hero--photo .ray { display: none; }
.hero--noir .hero__photo { filter: grayscale(1) contrast(1.22) brightness(0.82); }

/* light ray: a soft wedge of light from a source above the frame.
   --sx/--sy (source) and --ang (tilt) are set by hero.js so the dust
   particles can light up exactly where the beam is. */
.ray { position: absolute; left: var(--sx, 34%); top: var(--sy, -12%); width: 0; height: 0; pointer-events: none; }
.ray__layer {
  position: absolute; left: -150vmax; top: 0; width: 300vmax; height: 240vh;
  transform-origin: 50% 0; transform: rotate(calc(var(--ang, 24deg) * -1));
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.75) 45%, transparent 92%);
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.75) 45%, transparent 92%);
}
.ray__halo {
  background: conic-gradient(at 50% 0, transparent 0deg, transparent 159deg, rgba(232, 228, 222, 0.05) 168deg, rgba(232, 228, 222, 0.085) 180deg, rgba(232, 228, 222, 0.05) 192deg, transparent 201deg, transparent 360deg);
  filter: blur(24px);
  animation: raySway 17s ease-in-out infinite alternate;
}
.ray__core {
  background: conic-gradient(at 50% 0, transparent 0deg, transparent 171deg, rgba(240, 237, 232, 0.1) 175deg, rgba(246, 244, 240, 0.2) 180deg, rgba(240, 237, 232, 0.1) 185deg, transparent 189deg, transparent 360deg);
  filter: blur(7px);
  animation: raySway 17s ease-in-out infinite alternate, rayBreathe 7s ease-in-out infinite;
}
.ray__streaks {
  background: repeating-conic-gradient(from 168deg at 50% 0, rgba(255, 255, 255, 0.05) 0deg 0.35deg, transparent 0.35deg 1.1deg, rgba(255, 255, 255, 0.025) 1.1deg 1.4deg, transparent 1.4deg 2.3deg);
  -webkit-mask-image: conic-gradient(at 50% 0, transparent 166deg, #000 174deg, #000 186deg, transparent 194deg), linear-gradient(to bottom, #000, transparent 80%);
  -webkit-mask-composite: source-in;
  mask-image: conic-gradient(at 50% 0, transparent 166deg, #000 174deg, #000 186deg, transparent 194deg), linear-gradient(to bottom, #000, transparent 80%);
  mask-composite: intersect;
  filter: blur(1.5px);
  opacity: 0.9;
  animation: rayShimmer 9s ease-in-out infinite alternate;
}
.ray__source {
  position: absolute; left: -30vmax; top: -30vmax; width: 60vmax; height: 60vmax; border-radius: 50%;
  background: radial-gradient(circle, rgba(246, 244, 240, 0.18), rgba(246, 244, 240, 0.05) 30%, transparent 62%);
  animation: rayBreathe 7s ease-in-out infinite;
}
@keyframes raySway { from { transform: rotate(calc(var(--ang, 24deg) * -1 + 1.2deg)); } to { transform: rotate(calc(var(--ang, 24deg) * -1 - 1.2deg)); } }
@keyframes rayShimmer { from { transform: rotate(calc(var(--ang, 24deg) * -1 + 0.8deg)); opacity: 0.6; } to { transform: rotate(calc(var(--ang, 24deg) * -1 - 0.8deg)); opacity: 1; } }
@keyframes rayBreathe { 0%, 100% { opacity: 0.85; } 50% { opacity: 1; } }
.motes { position: absolute; inset: 0; width: 100%; height: 100%; }

.hero__cue {
  position: absolute; left: 50%; bottom: 30px; z-index: 3; translate: -50% 0;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-family: var(--f-display); font-size: 0.7rem; letter-spacing: 0.34em; text-transform: uppercase;
  color: rgba(244, 244, 243, 0.7); animation: fade 1.2s ease 1.8s both;
}
.hero__cue i { position: relative; width: 1px; height: 52px; overflow: hidden; background: rgba(244, 244, 243, 0.2); }
.hero__cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--paper); animation: drip 2.2s var(--ease-io) infinite; }



/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(44px, 7vw, 120px); align-items: start; }
.about__head { position: sticky; top: calc(var(--nav-h) + 48px); }
.about__visual { display: flex; justify-content: flex-start; margin-top: clamp(40px, 5vw, 64px); }
.about__visual .photo-slot { width: min(100%, 360px); }
.photo-slot {
  position: relative; margin: 0; aspect-ratio: 4 / 5; overflow: hidden;
  border-radius: 50% 50% 16px 16px / 40% 40% 16px 16px; border: 1px solid var(--line);
  background: radial-gradient(ellipse at 50% 30%, #1d1c1a, #0b0a0a 70%);
}
.photo-slot img { width: 100%; height: 100%; object-fit: cover; }   /* shown in colour */
.photo-slot.has-photo .blinds, .photo-slot.has-photo figcaption { display: none; }
.photo-slot .blinds { inset: -40%; --bx: 60%; --by: 35%; }
.photo-slot figcaption {
  position: absolute; left: 0; right: 0; bottom: 18px; text-align: center;
  font-family: var(--f-sc); font-size: 0.95rem; letter-spacing: 0.14em; color: rgba(232, 228, 222, 0.5);
}
/* a landscape About photo (site.aboutPhotoRatio) is shown large in a rounded frame, like the Community photo */
.about__visual.is-wide .photo-slot {
  width: 100%; border-radius: 28px; border-color: rgba(232, 228, 222, 0.1);
  box-shadow: 0 50px 100px rgba(0, 0, 0, 0.45);
}


.pillars { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.pillar { display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.pillar h3 { margin: 6px 0 8px; font-family: var(--f-display); font-weight: 500; font-size: 0.82rem; letter-spacing: 0.26em; text-transform: uppercase; }
.pillar p { margin: 0; color: var(--muted); max-width: 46ch; }

/* animated line icons */
.ico { width: 56px; height: 56px; overflow: visible; }
.ico * { fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.ico .fill-accent { fill: var(--accent); stroke: none; }
.ico .stroke-accent { stroke: var(--accent); }
.ico--speaker .cone { transform-box: fill-box; transform-origin: center; animation: thump 0.9s var(--ease-io) infinite; }
.ico--bulb .spark { transform-box: fill-box; transform-origin: center; animation: spark 2.4s var(--ease-io) infinite; }
.ico--share .wave { opacity: 0; animation: waveOut 1.8s ease-out infinite; }
.ico--share .wave:nth-of-type(2) { animation-delay: 0.6s; }
@media (prefers-reduced-motion: reduce) { .ico--share .wave { opacity: 0.9; } }   /* still: the waves stay visible */
.ico--share .node { fill: var(--bg); transform-box: fill-box; transform-origin: center; animation: nodePop 2.4s var(--ease-io) infinite; animation-delay: calc(var(--i, 0) * 0.4s); }
.ico--share .link { stroke-dasharray: 3 4; animation: dash 1.2s linear infinite; }
.ico--speaker .wave { opacity: 0; animation: waveOut 1.8s ease-out infinite; }
.ico--speaker .wave:nth-of-type(2) { animation-delay: 0.6s; }
.ico--knob .knob { transform-box: view-box; transform-origin: 28px 30px; animation: knob 4s var(--ease-io) infinite; }
.ico--nodes .link { stroke-dasharray: 3 4; animation: dash 1.2s linear infinite; }
.ico--nodes .node:not(.fill-accent) { fill: var(--bg); }
.ico--nodes .node { transform-box: fill-box; transform-origin: center; animation: nodePop 2.4s var(--ease-io) infinite; animation-delay: calc(var(--i, 0) * 0.4s); }
@keyframes thump { 0%, 100% { transform: scale(1); } 20% { transform: scale(1.35); } }
@keyframes waveOut { 0% { opacity: 0.9; } 100% { opacity: 0; } }
@keyframes knob { 0%, 100% { transform: rotate(-120deg); } 50% { transform: rotate(120deg); } }
@keyframes dash { to { stroke-dashoffset: -14; } }
@keyframes nodePop { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.3); } }
@keyframes spark { 0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; } 50% { transform: scale(0.7) rotate(45deg); opacity: 0.7; } }

@media (max-width: 900px) {
  /* tablets and phones: one column; the photo floats beside the opening paragraph, as in The Community */
  .about__grid { display: block; }
  .about__head { position: static; }
  .about__visual { float: right; display: block; width: clamp(118px, 24vw, 190px); margin: 26px 0 24px clamp(18px, 4vw, 36px); }
  .about__visual .photo-slot { width: 100%; }
  .about__visual .photo-slot figcaption { bottom: 10px; font-size: 0.78rem; }
  .about__visual.is-wide { width: clamp(230px, 40vw, 340px); }
  .about__visual.is-wide .photo-slot { border-radius: 20px; }
  .about__body { margin-top: 26px; }
  .pillars { clear: both; }
}
@media (max-width: 560px) {
  /* phones: a wide photo would be too small beside the text, so it runs full width under the heading */
  .about__visual.is-wide { float: none; width: 100%; margin: 26px 0 4px; }
}


/* ---------- Artist list (full-width rows) ---------- */
.artist-list { border-top: 1px solid var(--line); }
.artist-row { position: relative; isolation: isolate; border-bottom: 1px solid var(--line); transition: color 0.45s ease; }
.artist-row::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(232, 228, 222, 0.09), rgba(24, 23, 22, 0.96) 55%); transform: scaleX(0); transform-origin: 0 50%;
  transition: transform 0.65s var(--ease);
}
.artist-row:hover, .artist-row:focus-within { --muted: rgba(232, 228, 222, 0.72); }
.artist-row:hover::before, .artist-row:focus-within::before { transform: scaleX(1); }
.artist-row__link {
  display: grid;
  grid-template-columns: 48px 92px minmax(0, 1.25fr) minmax(0, 1.2fr) 13rem;
  grid-template-areas: "idx shot main bio cta";
  align-items: center; gap: clamp(16px, 2.4vw, 44px);
  min-height: 150px; padding: 24px var(--gutter);
  max-width: var(--max); margin-inline: auto;   /* lines up with the section heading on wide screens */
}
.artist-row__index { grid-area: idx; font-family: var(--f-sc); font-weight: 500; font-size: 1.02rem; letter-spacing: 0.14em; color: var(--accent); font-variant-numeric: tabular-nums; }   /* small numbers match the section numbers */
.artist-row__shot {
  grid-area: shot; margin: 0; width: 92px; aspect-ratio: 4 / 5; overflow: hidden;
  border-radius: 50% 50% 10px 10px / 40% 40% 10px 10px; background: var(--soot);
}
.artist-row__shot img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 0.9s var(--ease); }   /* headshots in colour */
.artist-row:hover .artist-row__shot img { transform: scale(1.1); }
.artist-row__main { grid-area: main; min-width: 0; transition: transform 0.6s var(--ease); }
.artist-row:hover .artist-row__main { transform: translateX(10px); }
.artist-row__name {
  margin: 0; display: flex; align-items: center; gap: 16px;
  font-family: var(--f-name); font-weight: 500;
  font-size: clamp(1.7rem, 3.4vw, 3rem); letter-spacing: 0.05em; line-height: 1.05;
}
.artist-row__alt { font-family: var(--f-serif); font-weight: 300; font-size: 0.62em; letter-spacing: 0.18em; color: var(--muted); text-transform: none; white-space: nowrap; }
.artist-row__role { margin: 10px 0 0; font-family: var(--f-serif); font-style: italic; font-size: 1.18rem; color: var(--muted); }
.artist-row__bio { grid-area: bio; min-width: 0; }
.artist-row__bio p { margin: 0; color: var(--muted); font-size: 0.98rem; max-width: 46ch; }
.artist-row__tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 14px 0 0; padding: 0; }
.artist-row__tags li { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-family: var(--f-display); font-weight: 500; font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; }   /* same as .tag on artist pages */
.artist-row__cta { grid-area: cta; justify-self: end; display: inline-flex; align-items: center; gap: 16px; font-family: var(--f-display); font-weight: 500; font-size: 0.7rem; letter-spacing: 0.24em; text-transform: uppercase; }
.artist-row:hover .cta-circle { background: var(--paper); border-color: var(--paper); color: var(--ink); transform: rotate(-45deg); }

.artist-row--soon .artist-row__link { min-height: 110px; }
.artist-row--soon .artist-row__name { font-size: clamp(1.1rem, 2.2vw, 1.8rem); color: var(--muted); }
.artist-row--soon:hover .artist-row__name { color: var(--paper); }
.soon-mark { grid-area: shot; width: 92px; height: 72px; display: grid; place-items: center; }
.soon-mark svg { width: 56px; height: 56px; overflow: visible; }
.soon-mark circle { fill: none; stroke: currentColor; stroke-width: 1; stroke-dasharray: 4 6; transform-box: fill-box; transform-origin: center; animation: spin 18s linear infinite; }
.soon-mark path { stroke: var(--accent); stroke-width: 1.5; fill: none; }

@media (max-width: 1100px) {
  .artist-row__link { grid-template-columns: 40px 80px minmax(0, 1fr) auto; grid-template-areas: "idx shot main cta" "idx shot bio cta"; row-gap: 12px; }
  .artist-row__shot, .soon-mark { width: 80px; }
  .artist-row__cta-text { display: none; }
}
@media (max-width: 640px) {
  .artist-row__link { grid-template-columns: 72px minmax(0, 1fr) auto; grid-template-areas: "shot main cta" "bio bio bio"; padding-block: 22px; }
  .artist-row__index { display: none; }
  .artist-row__shot, .soon-mark { width: 72px; }
  .cta-circle { width: 44px; height: 44px; }
}

/* ---------- The Community ---------- */
.community__grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); column-gap: clamp(44px, 6vw, 100px);
  /* the empty first and last rows keep the text centred against the photo */
  grid-template-rows: 1fr repeat(6, auto) 1fr;
  grid-template-areas: ". photo" "eye photo" "title photo" "tag photo" "body photo" "up photo" "join photo" ". photo";
}
.community__text { display: contents; }
.community__text .eyebrow { grid-area: eye; justify-self: start; }
.community__text .display { grid-area: title; }
.community__body { grid-area: body; }
.community .upcoming { grid-area: up; }
.community .join { grid-area: join; }
.community .gather { grid-area: photo; align-self: center; justify-self: end; margin: 0; }
.community .gather.is-wide { max-width: none; }   /* a wide photo uses the whole column */
.community__tagline {
  grid-area: tag; margin: 28px 0 0; --stagger: 2em;
  font-family: var(--f-serif); font-weight: 400; font-size: clamp(1.7rem, 2.9vw, 2.5rem); line-height: 1.12;
}
.community__tagline span + span { color: var(--paper); }
.community__tagline > span { white-space: nowrap; }
.community__tagline em { font-style: italic; font-weight: 300; }
.community__body { margin: 22px 0 0; max-width: 46ch; color: var(--muted); font-size: 1.02rem; line-height: 1.7; }
.upcoming { margin-top: 40px; }
.upcoming__label { margin: 0 0 12px; font-family: var(--f-sc); font-size: 1rem; letter-spacing: 0.12em; color: var(--muted); }
.upcoming .tracks { margin: 0; }

/* Community photo: one framed portrait, placeholder until community.photo is set */
.gather { position: relative; width: 100%; max-width: 470px; margin: 0 auto; }
.gather__frame {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden; display: grid; place-items: center;
  border: 1px solid rgba(232, 228, 222, 0.1); border-radius: 28px;
  background: radial-gradient(ellipse at 50% 30%, #1d1c1a, #0b0a0a 72%);
  box-shadow: 0 50px 100px rgba(0, 0, 0, 0.45);
}
.gather__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }   /* shown in colour */
.gather__frame::after { content: ""; position: absolute; inset: 0 0 auto; height: 30%; background: linear-gradient(rgba(4, 4, 4, 0.72), transparent); pointer-events: none; }
.gather__frame .blinds { inset: -40%; --bx: 60%; --by: 25%; }
.gather__frame.has-photo .blinds, .gather__frame.has-photo .gather__ph { display: none; }
.gather__ph { position: relative; font-family: var(--f-sc); font-size: 1rem; letter-spacing: 0.12em; color: rgba(232, 228, 222, 0.45); }
.gather__top {
  position: absolute; z-index: 1; left: 22px; right: 22px; top: 18px; display: flex; justify-content: space-between; gap: 12px;
  font-family: var(--f-sc); font-size: 0.95rem; letter-spacing: 0.12em; color: rgba(232, 228, 222, 0.7);
}
.gather__top span:last-child { display: inline-flex; align-items: center; gap: 8px; }
.gather__top i { width: 6px; height: 6px; border-radius: 50%; background: var(--paper); animation: blink 2.2s ease-in-out infinite; }
.gather figcaption { margin-top: 14px; font-family: var(--f-serif); font-style: italic; font-size: 1rem; color: var(--muted); text-align: center; }

/* join links: WhatsApp group (RSVPs are shared there) and Instagram */
.join { margin-top: 36px; }
.join__buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.join__buttons .btn { min-height: 52px; flex: 1 1 auto; justify-content: center; }
.join__note { margin: 14px 0 0; color: var(--muted); font-size: 0.92rem; }
.wa, .ig { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; flex: none; }
.wa .wa__p, .ig .ig__dot { fill: currentColor; stroke: none; }
.btn .wa, .btn .ig { width: 18px; height: 18px; }
.btn:hover .wa, .btn:hover .ig { transform: none; }

@media (max-width: 900px) {
  /* tablets and phones: one column; the photo floats beside the tagline and the text wraps around it */
  .community__grid { display: block; }
  .community .gather { float: right; width: clamp(118px, 24vw, 190px); max-width: none; margin: 22px 0 12px clamp(18px, 4vw, 36px); }
  .community__tagline { margin-top: 22px; }
  .community .upcoming { clear: both; margin-top: 32px; }
  .gather__top { display: none; }               /* too small to read beside the tagline */
  .gather__ph { font-size: 0.78rem; text-align: center; padding: 0 8px; }
  .gather figcaption { margin-top: 8px; font-size: 0.85rem; }
  .community .gather.is-wide { width: clamp(230px, 40vw, 340px); }
}
@media (max-width: 560px) {
  /* phones: a wide photo would be too small beside the text, so it runs full width under the heading */
  .community .gather.is-wide { float: none; width: 100%; margin: 22px 0 4px; }
}
@media (max-width: 480px) {
  .join__buttons .btn { flex: 1 1 100%; justify-content: center; }
  .community__tagline { font-size: 1.42rem; --stagger: 1.7em; }
}
@media (max-width: 400px) {
  .community__tagline { font-size: 1.28rem; --stagger: 1.4em; }
}

/* ---------- Upcoming list ---------- */
.tracks { list-style: none; margin: 36px 0 44px; padding: 0; border-top: 1px solid var(--line); }
.track {
  display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 18px; align-items: baseline;
  padding: 20px 0; border-bottom: 1px solid var(--line); transition: padding 0.5s var(--ease);
}
.track__n { font-family: var(--f-sc); font-weight: 500; font-size: 1.02rem; letter-spacing: 0.14em; color: var(--accent); font-variant-numeric: tabular-nums; }
.track__name { font-family: var(--f-serif); font-size: clamp(1.4rem, 2vw, 1.75rem); line-height: 1.1; }
.track__meta { font-family: var(--f-sc); font-size: 0.98rem; letter-spacing: 0.1em; color: var(--muted); text-align: right; max-width: 28ch; }
@media (max-width: 560px) { .track { grid-template-columns: 32px minmax(0, 1fr); row-gap: 6px; } .track__meta { grid-column: 2; white-space: normal; text-align: left; max-width: none; } }


/* ---------- Partnerships ---------- */
.logo-rows { display: grid; gap: clamp(36px, 4vw, 56px); }
.logo-group { display: grid; gap: 14px; }

/* conveyor belt (js/home.js): one loop in two rows, each logo placed by script */
.belt {
  --belt-gap: 14px;
  position: relative; width: 100%; max-width: calc(var(--max) - 2 * var(--gutter)); margin-inline: auto;
  min-height: 120px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
@media (max-width: 1100px) { .belt { max-width: none; } }   /* full width on tablets and phones */
.belt.is-moving .belt__track { position: absolute; inset: 6px 0; }   /* room for the hover lift */
.belt.is-moving .logo-cell { position: absolute; left: 0; top: 0; margin: 0; will-change: transform; }
.belt.is-moving { box-sizing: content-box; padding-block: 6px; }
/* reduced motion: the logos sit still in a grid */
.belt.is-static { -webkit-mask-image: none; mask-image: none; min-height: 0; padding-inline: var(--gutter); box-sizing: border-box; }
.belt.is-static .belt__track { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--belt-gap); }
.belt.is-static .logo-cell { margin: 0; width: auto; }
@media (min-width: 1101px) { .belt.is-static { padding-inline: 0; } }   /* already inset to the content width */
@media (max-width: 700px) { .belt.is-static .belt__track { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.logo-group__label {
  display: flex; align-items: center; gap: 14px; margin: 0 0 6px;
  font-family: var(--f-sc); font-weight: 500; font-size: 1.02rem; letter-spacing: 0.14em; color: var(--paper);
}
.logo-group__label::after { content: ""; order: 1; flex: 1; height: 1px; background: var(--line); }
.logo-cell {
  flex: none; margin-right: 14px;
  width: clamp(180px, 19vw, 260px); height: clamp(100px, 10vw, 132px);
  display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 18px; background: rgba(232, 228, 222, 0.02);
  transition: background-color 0.4s ease, border-color 0.4s ease, translate 0.5s var(--ease);
  cursor: pointer;
}
.logo-cell img { display: block; width: auto; height: auto; max-width: 64%; max-height: clamp(58px, 6.2vw, 86px); object-fit: contain; opacity: 0.62; transition: opacity 0.4s ease, transform 0.5s var(--ease); }   /* logos are pale or colour PNGs, shown as they are */
.logo-cell img.is-wide { max-width: 80%; }   /* long wordmarks get more width so they stay legible */
.logo-cell:hover, .logo-cell.is-active { background: rgba(232, 228, 222, 0.05); border-color: rgba(232, 228, 222, 0.5); translate: 0 -4px; }   /* translate, so the lift adds to the belt's movement */
.logo-cell.is-active img, .logo-cell:hover img, .logo-cell:focus-visible img { opacity: 1; transform: scale(1.04); }
/* no logo file yet: the name set in type */
.logo-cell--type { padding: 14px 20px; text-align: center; }
.logo-cell__name {
  font-family: var(--f-display); font-weight: 500; font-size: clamp(0.82rem, 1vw, 0.95rem);
  letter-spacing: 0.22em; text-transform: uppercase; line-height: 1.5; color: rgba(232, 228, 222, 0.62);
  margin-right: -0.22em;   /* balances the letter spacing after the last letter */
  transition: color 0.4s ease;
}
.logo-cell:hover .logo-cell__name, .logo-cell.is-active .logo-cell__name, .logo-cell:focus-visible .logo-cell__name { color: var(--paper); }
.reel-pop {
  position: fixed; left: 0; top: 0; z-index: 45; pointer-events: none;
  width: 210px; aspect-ratio: 9 / 16; margin: -190px 0 0 34px;
}
.reel-pop__frame {
  position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 18px;
  background: #0c0b0b; border: 1px solid rgba(232, 228, 222, 0.16);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.7);
  opacity: 0; transform: scale(0.6) rotate(4deg); transition: opacity 0.35s ease, transform 0.6s var(--ease);
}
.reel-pop.is-on .reel-pop__frame { opacity: 1; transform: scale(1) rotate(2deg); }
.reel-pop video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }   /* videos stay in colour */
.reel-pop__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.reel-pop__ph { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 18px; padding: 20px; text-align: center; }
.reel-pop__ph .blinds { inset: -60%; --bx: 50%; --by: 30%; }
.reel-pop__ph img { position: relative; display: block; width: auto; height: auto; max-width: 72%; max-height: 96px; object-fit: contain; }
.reel-pop__play { position: relative; width: 54px; height: 54px; border-radius: 50%; border: 1px solid rgba(232, 228, 222, 0.5); display: grid; place-items: center; }
.reel-pop__play::before { content: ""; margin-left: 4px; border-left: 14px solid var(--paper); border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.reel-pop__play::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid var(--paper); animation: pulse 2.4s var(--ease) infinite; }
.reel-pop__ph[hidden], .reel-pop__ph img[hidden], .reel-pop__cap[hidden] { display: none; }
.reel-pop__ph.is-named .reel-pop__cap { order: -1; font-family: var(--f-display); font-weight: 500; font-size: 0.95rem; letter-spacing: 0.22em; text-transform: uppercase; line-height: 1.5; color: var(--paper); }
.reel-pop__open {
  position: absolute; left: 14px; right: 14px; bottom: 26px; z-index: 2;
  display: none; align-items: center; justify-content: center; gap: 8px; min-height: 44px;
  border: 1px solid rgba(232, 228, 222, 0.4); border-radius: 999px; background: rgba(12, 11, 11, 0.7);
  font-family: var(--f-display); font-weight: 500; font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--paper);
}
.reel-pop__open svg { width: 9px; height: 9px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.reel-pop.is-modal .reel-pop__open:not([hidden]) { display: inline-flex; }
.reel-pop__cap { position: relative; font-family: var(--f-sc); font-size: 0.95rem; letter-spacing: 0.14em; color: rgba(232, 228, 222, 0.6); }
.reel-pop__bar { position: absolute; left: 14px; right: 14px; bottom: 14px; height: 2px; background: rgba(232, 228, 222, 0.15); overflow: hidden; border-radius: 2px; }
.reel-pop__bar i { display: block; height: 100%; width: 100%; background: var(--paper); transform-origin: 0 50%; animation: reelBar 6s linear infinite; }
@keyframes reelBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.reel-pop.is-live .reel-pop__bar i { animation: none; transform: scaleX(0); transition: transform 0.25s linear; }   /* follows the video */
.reel-pop.is-flip { margin-left: -244px; }
.reel-pop__close { display: none; position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border-radius: 50%; place-items: center; background: rgba(12, 11, 11, 0.7); border: 1px solid rgba(232, 228, 222, 0.3); color: var(--paper); }
.reel-pop__close svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
/* touch devices: centred sheet over a dimmed page */
.reel-pop.is-modal { left: 50%; top: 50%; margin: 0; width: min(62vw, 260px); pointer-events: auto; transform: translate(-50%, -50%) !important; }
.reel-pop.is-modal.is-on { box-shadow: 0 0 0 100vmax rgba(4, 4, 4, 0.6); border-radius: 18px; }
.reel-pop.is-modal .reel-pop__close { display: grid; }
/* pause control for the moving logo rows */
.belt-toggle {
  display: flex; align-items: center; gap: 10px; min-height: 44px; margin: 18px auto 0; padding: 0 18px;
  border: 1px solid var(--line); border-radius: 999px; color: var(--muted);
  font-family: var(--f-display); font-weight: 500; font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
  transition: color 0.3s ease, border-color 0.3s ease;
}
.belt-toggle:hover { color: var(--paper); border-color: var(--muted); }
.belt-toggle__icon { width: 10px; height: 12px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.belt-toggle[aria-pressed="true"] .belt-toggle__icon { width: 0; height: 0; border-right: 0; border-left: 10px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.reel-pop.is-modal .reel-pop__frame { transform: none; }
/* Featured on: a still row of media logos under the partners */
.press { display: grid; gap: 14px; margin-top: clamp(36px, 4vw, 56px); }
.press__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(28px, 5vw, 72px); padding: 14px 0 4px; margin: 0; list-style: none; }
.press__item { display: grid; place-items: center; }
.press__item img { display: block; width: auto; height: clamp(46px, 5vw, 66px); max-width: 38vw; object-fit: contain; opacity: 0.62; transition: opacity 0.4s ease; }
a.press__item:hover img, a.press__item:focus-visible img { opacity: 1; }
.press__name { font-family: var(--f-display); font-weight: 500; font-size: 0.9rem; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(232, 228, 222, 0.62); }
.partners__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; margin-top: 40px; color: var(--muted); }

/* complimentary consultation card (site.consultation) */
.contact__consult { position: relative; z-index: 1; }
.consult {
  position: relative; overflow: hidden; margin-top: clamp(56px, 7vw, 96px);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px clamp(32px, 5vw, 80px); align-items: center;
  padding: clamp(28px, 4vw, 52px);
  border: 1px solid var(--line); border-radius: 28px;
  background: radial-gradient(ellipse at 0% 0%, rgba(232, 228, 222, 0.07), transparent 60%), #141312;   /* solid, so nothing behind shows through */
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.35);
}
.consult[hidden] { display: none; }
.consult__eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin: 0 0 14px;
  font-family: var(--f-sc); font-weight: 500; font-size: 1.02rem; letter-spacing: 0.14em; color: var(--accent);
}
.consult__eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: blink 2.2s ease-in-out infinite; }
.consult__title { margin: 0; font-family: var(--f-serif); font-weight: 400; font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.04; }
.consult__body { margin: 16px 0 0; max-width: 52ch; color: var(--muted); line-height: 1.7; }
.consult__details { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 22px 0 0; padding: 0; }
.consult__details li { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-family: var(--f-display); font-weight: 500; font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; }
.consult__details li:first-child { border-color: rgba(232, 228, 222, 0.5); }
.consult__act { display: grid; justify-items: start; gap: 12px; }
.consult__act .btn { min-height: 54px; }
.consult__act .btn .wa { width: 18px; height: 18px; }
.consult__for { margin: 0; color: var(--muted); font-size: 0.92rem; }
.consult__for { font-family: var(--f-serif); font-style: italic; font-size: 1.08rem; color: rgba(232, 228, 222, 0.78); }
/* privacy line: what a visitor's details are used for (PDPA) */
.consult__privacy { grid-column: 1 / -1; margin: 0; padding-top: 18px; border-top: 1px solid var(--line); font-size: 0.82rem; line-height: 1.6; color: var(--muted); }
@media (max-width: 820px) {
  .consult { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .consult { border-radius: 22px; }
  .consult__act { width: 100%; }
  .consult__act .btn { width: 100%; justify-content: center; }   /* justify-content on the grid itself would shrink and centre its column */
}

/* ---------- Contact ---------- */
.contact { overflow: hidden; }
.contact__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px clamp(40px, 6vw, 100px); align-items: end; }
.contact__grid .lead { color: var(--muted); margin-top: 28px; }
.contact__lines { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.contact__line { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact__line .label { grid-column: 1 / -1; color: var(--muted); margin-bottom: -6px; }
.contact__line a { justify-self: start; font-family: var(--f-body); font-size: clamp(1.02rem, 1.3vw, 1.22rem); padding-block: 8px; overflow-wrap: break-word; min-width: 0; transition: color 0.3s ease; }
.contact__line a:hover { color: var(--hover); }
.contact__lead a { border-bottom: 1px solid rgba(232, 228, 222, 0.3); transition: border-color 0.3s ease; }
.contact__lead a:hover { border-color: var(--paper); }
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } }


/* ---------- Footer ---------- */
.footer { padding-block: clamp(64px, 8vw, 100px) calc(28px + env(safe-area-inset-bottom, 0px)); overflow: hidden; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-bottom: 56px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.footer__tag { margin: 22px 0 0; font-family: var(--f-serif); font-style: italic; font-size: 1.25rem; color: var(--muted); max-width: 26ch; }
.footer__title { margin: 0 0 16px; font-family: var(--f-sc); font-weight: 500; font-size: 1rem; letter-spacing: 0.12em; color: var(--muted); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.footer ul a { display: inline-block; padding-block: 11px; overflow-wrap: break-word; font-variant-numeric: lining-nums; transition: color 0.3s ease; }
.footer ul a:hover { color: var(--hover); }
.footer__bottom { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px 28px; font-family: var(--f-display); font-size: 0.7rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); }
.footer__bottom a { display: inline-block; padding-block: 14px; margin-block: -14px; }
.footer__bottom a:hover { color: var(--paper); }
.footer__bottom > :last-child { justify-self: end; }
@media (max-width: 600px) { .footer__bottom { grid-template-columns: 1fr; } .footer__bottom > :last-child { justify-self: start; } }
@media (max-width: 1100px) { .footer__top { grid-template-columns: repeat(3, minmax(0, 1fr)); } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 720px) { .footer__top { grid-template-columns: 1fr 1fr; } .footer__top > div:last-child { grid-column: 1 / -1; } }

/* ---------- Testimonials (artist pages, and the Academy module) ---------- */
.quotes__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(100%, 680px); gap: 18px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; overscroll-behavior-x: contain;
  /* the first card lines up with the heading on wide screens, like the reels */
  padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
}
.quotes__track::-webkit-scrollbar { display: none; }
.quote {
  scroll-snap-align: start; margin: 0;
  display: grid; grid-template-rows: auto auto 1fr; align-content: start; gap: 32px; min-height: 360px;
  padding: clamp(28px, 4vw, 52px); border: 1px solid var(--line); border-radius: 24px;
  background: rgba(244, 244, 243, 0.03);
  transition: border-color 0.4s ease, background-color 0.4s ease;
}
.quote.is-current { border-color: rgba(232, 228, 222, 0.35); background: rgba(232, 228, 222, 0.04); }
.quote .qm { width: 46px; height: 36px; fill: var(--accent); }
.quote blockquote { margin: 0; font-family: var(--f-serif); font-size: clamp(1.45rem, 2.4vw, 2.1rem); line-height: 1.25; }
.quote figcaption { display: flex; align-items: center; gap: 16px; align-self: end; }
.quote__who { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; min-width: 0; }
.quote__face {
  flex: none; width: 52px; height: 52px; border-radius: 50%; overflow: hidden;
  border: 1px solid var(--line); background: #151413;
  display: grid; place-items: center;
}
.quote__face img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.quote__face--initials { font-family: var(--f-sc); font-size: 1.05rem; letter-spacing: 0.06em; color: var(--muted); }
.quote figcaption b { font-family: var(--f-display); font-weight: 500; font-size: 0.7rem; letter-spacing: 0.24em; text-transform: uppercase; }
.quote__who > span { font-family: var(--f-serif); font-style: italic; color: var(--muted); font-size: 1.05rem; }
.quotes__controls { display: flex; align-items: center; gap: 14px; margin-top: 32px; }
.req { font-size: 0.85em; letter-spacing: 0.04em; text-transform: none; color: var(--muted); }
.field [aria-invalid="true"] { border-bottom-color: #d98c7a; }
.form__note.is-error { color: #e6a596; }
/* pause / play icon shared by the testimonials and reels controls */
.pause-icon { display: block; width: 10px; height: 12px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
[aria-pressed="true"] > .pause-icon { width: 0; height: 0; border-right: 0; margin-left: 3px; border-left: 11px solid currentColor; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.quotes__controls .cta-circle { color: var(--fg); }
@media (hover: hover) { .quotes__controls .cta-circle:hover { background: var(--accent); border-color: var(--accent); color: var(--void); } }
.quotes__prev svg { transform: rotate(180deg); }
.quotes__dots { display: flex; gap: 8px; margin-left: 10px; }
.quotes__dots button { position: relative; width: 26px; height: 3px; border-radius: 2px; background: rgba(232, 228, 222, 0.45); transition: background-color 0.3s ease, width 0.4s var(--ease); }
.quotes__dots button::after { content: ""; position: absolute; left: -4px; right: -4px; top: -20px; bottom: -20px; }  /* larger tap area */
.quotes__dots button[aria-current="true"] { width: 44px; background: var(--accent); }
.quotes__dots button:hover { background: var(--muted); }


/* ---------- Forms ---------- */
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 24px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--f-sc); font-weight: 500; font-size: 0.98rem; letter-spacing: 0.1em; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: inherit; background: transparent;
  border: 0; border-bottom: 1px solid var(--field-line); border-radius: 0; padding: 12px 0;
  transition: border-color 0.3s ease;
}
.field textarea { resize: vertical; min-height: 110px; }
.field select {
  -webkit-appearance: none; appearance: none; padding-right: 28px; cursor: pointer;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23c9c4bc' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 4px center;
}
.field option { color: #111; }   /* the open list stays the system's light one, so its highlight is readable */
.field ::placeholder { color: var(--muted); opacity: 1; }
.field input[type="date"].is-empty { color: var(--muted); }
.field ::-webkit-calendar-picker-indicator { opacity: 0.6; cursor: pointer; }

.field select:invalid { color: var(--muted); }   /* "Choose one" reads as a prompt, like the other placeholders */
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { box-shadow: 0 2px 0 0 var(--accent); }
.form__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 8px; }
.form__note { grid-column: 1 / -1; margin: 0; min-height: 1.4em; font-size: 0.92rem; color: var(--muted); }
.form__privacy { grid-column: 1 / -1; margin: 4px 0 0; font-size: 0.82rem; line-height: 1.6; color: var(--muted); }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }

/* ---------- Finishing motion (all of it is skipped when reduced motion is on) ---------- */
@media (prefers-reduced-motion: no-preference) {
  /* section labels: the hairline after the number draws in */
  .js .eyebrow[data-reveal] .eyebrow__num::after { transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.9s var(--ease) 0.3s; }
  .js .eyebrow.in .eyebrow__num::after { transform: none; }
  /* two-line headings: the second line follows the first */
  .js .stagger[data-reveal] > span { opacity: 0; transform: translateY(0.45em); transition: opacity 0.9s ease, transform 1.1s var(--ease); transition-delay: calc(var(--d, 0) * 90ms + 0.1s); }
  .js .stagger[data-reveal] > span + span { transition-delay: calc(var(--d, 0) * 90ms + 0.34s); }
  .js .stagger.in > span { opacity: 1; transform: none; }
  /* photo frames open upwards like a curtain as they scroll in */
  /* backwards: the clip only applies while opening, so the rounded corners and soft shadow are untouched afterwards */
  .js .about__visual.in .photo-slot, .js .gather.in .gather__frame { animation: curtain 1.5s var(--ease-io) backwards; }
  /* contact links: a hairline underline draws in on hover */
  .contact__line a { background: linear-gradient(currentColor, currentColor) no-repeat 0 calc(100% - 5px) / 0 1px; transition: color 0.3s ease, background-size 0.6s var(--ease); }
  .contact__line a:hover, .contact__line a:focus-visible { background-size: 100% 1px; }
}
@keyframes curtain { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0); } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html, .quotes__track { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important; animation-delay: 0s !important; transition-delay: 0s !important;
  }
  .grain { display: none; }
}

/* skip link: first thing keyboard users reach; hidden until focused */
.skip { position: fixed; left: 16px; top: 12px; z-index: 10000; padding: 12px 18px; border-radius: 999px; background: var(--paper); color: var(--ink); font-family: var(--f-display); font-weight: 500; font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; transform: translateY(-160%); transition: transform 0.2s ease; }
.skip:focus { transform: none; outline: 2px solid var(--paper); outline-offset: 3px; }
main:focus { outline: none; }


/* very narrow phones: long button labels keep inside their pill */
@media (max-width: 360px) {
  .consult__act .btn, .join__buttons .btn { padding-inline: 16px; gap: 10px; letter-spacing: 0.16em; }
}
