/* =====================================================================
   TALØN / site styles  (v2: modern minimal)
   Black and white only. Negative space does the work.
   Type:  Geist (everything) + Geist Mono (numbers, dates, small data).
   Shape: UI is square. Only media is round: the Ø orb and play buttons.
   Grid:  12 columns. Section labels sit in columns 1-3, content in 5-12.
   Z-index scale (keep to these):
     peek 30 · menu 35 · header 40 · nudge 50 · consent 55 · dialogs = top layer
   ===================================================================== */

@font-face {
  font-family: "Geist";
  src: url("../fonts/geist-latin.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("../fonts/geist-mono-latin.woff2") format("woff2");
  font-weight: 400 600; font-style: normal; font-display: swap;
}

:root {
  --paper: #f3f3f2;
  --ink: #0c0c0c;
  --bg: var(--paper);
  --fg: var(--ink);
  --muted: #666666;
  --line: rgb(12 12 12 / .12);
  --line-2: rgb(12 12 12 / .3);
  --tile: #e6e6e4;
  --hover: rgb(12 12 12 / .045);
  --backdrop: rgb(243 243 242 / .72);

  --sans: "Geist", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --t-xs: 11px;
  --t-s: 13px;
  --t-m: 15px;

  --pad: clamp(16px, 2vw, 28px);
  --gap: clamp(12px, 1.4vw, 20px);
  --hdr: 56px;
  --space: clamp(128px, 24vh, 260px);
  --ease: cubic-bezier(.16, 1, .3, 1);

  --z-peek: 30; --z-menu: 35; --z-hdr: 40; --z-nudge: 50; --z-consent: 55;
  color-scheme: light;
}
:root[data-theme="noir"] {
  --bg: #0b0b0b;
  --fg: #ededed;
  --muted: #8d8d8d;
  --line: rgb(237 237 237 / .12);
  --line-2: rgb(237 237 237 / .3);
  --tile: #171717;
  --hover: rgb(237 237 237 / .06);
  --backdrop: rgb(11 11 11 / .72);
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 16px); }
html.is-locked { overflow: hidden; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 400 var(--t-m)/1.5 var(--sans); letter-spacing: -.006em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, video, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { list-style: none; padding: 0; }
:focus-visible { outline: 1px solid currentColor; outline-offset: 3px; }
::selection { background: var(--fg); color: var(--bg); }
[hidden] { display: none !important; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 1em; height: 1em; fill: currentColor; flex: none; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.skip { position: fixed; left: 12px; top: -80px; z-index: 100; padding: 10px 14px; background: var(--fg); color: var(--bg); font-size: var(--t-s); }
.skip:focus { top: 12px; }
.noscript { padding: 120px var(--pad); font-size: var(--t-s); }

/* all artist media can be forced to black & white */
.mono-media .media { filter: grayscale(1); }
.mono-media .media.is-cover { filter: none; }      /* song covers and videos keep their colour (class is-cover) */

/* ---------- actions: one solid button, everything else is a link ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 18px; white-space: nowrap;
  font: 500 var(--t-s)/1 var(--sans); letter-spacing: 0;
  color: var(--bg); background: var(--fg); border: 1px solid var(--fg); position: relative;
  transition: opacity .2s ease, transform .12s ease;
}
.btn:hover { opacity: .82; }                       /* calm: the button eases back a little, the arrow leans in */
.btn:active { opacity: .7; transform: translateY(1px); }
.btn:focus-visible { outline-color: var(--fg); }   /* the focus line in ink, not in the button's paper label colour */
.btn .ic { width: 12px; height: 12px; transition: transform .3s var(--ease); }
.btn:hover .ic { transform: translate(2px, -2px); }
.link {
  display: inline-flex; align-items: center; gap: 6px; font: 500 var(--t-s)/1.3 var(--sans);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: var(--line-2);
  transition: text-decoration-color .2s ease;
}
.link:hover { text-decoration-color: currentColor; }
.link .ic { width: 11px; height: 11px; }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; font-size: 18px; transition: opacity .2s; }
.icon-btn:hover { opacity: .55; }

/* ---------- header: blends against whatever is under it (black on paper, white on media) ---------- */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: var(--z-hdr);
  height: var(--hdr); padding: 0 var(--pad);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: center;
  color: var(--fg); background: var(--bg); font-size: var(--t-s);
  border-bottom: 1px solid transparent; transition: border-color .4s ease;
}
.hdr.is-scrolled { border-bottom-color: var(--line); }
.hdr__brand { grid-column: 1 / span 4; justify-self: start; font-size: clamp(20px, 1.9vw, 26px); font-weight: 600; letter-spacing: -.01em; line-height: 1; padding: 8px 0; }
.hdr__nav { grid-column: 6 / span 4; display: flex; gap: clamp(14px, 1.6vw, 24px); }
.hdr__nav a { padding: 8px 0; text-decoration: underline 1px transparent; text-underline-offset: 4px; transition: text-decoration-color .2s; }
.hdr__nav a:hover, .hdr__nav a[aria-current="true"] { text-decoration-color: currentColor; }
.hdr__end { grid-column: 10 / -1; justify-self: end; display: flex; align-items: center; gap: 14px; }
.hdr__menu { display: none; padding: 8px 0; }
.hdr__theme { padding: 8px 0; min-width: 34px; text-decoration: underline 1px transparent; text-underline-offset: 4px; transition: text-decoration-color .2s; }
.hdr__theme:hover { text-decoration-color: currentColor; }
html.theme-anim, html.theme-anim * { transition: background-color .4s ease, color .4s ease, border-color .4s ease !important; }

/* social buttons, top right */
.hdr .socials { flex-wrap: nowrap; gap: 2px; }
.hdr .socials a { width: 30px; height: 30px; font-size: 15px; opacity: 1; }
.hdr .socials a:hover { opacity: .55; transform: none; }
.hdr .socials li:nth-child(n+7) { display: none; }

@media (max-width: 1100px) {
  .hdr__nav { display: none; }
  .hdr__menu { display: block; }
  .hdr__end { grid-column: 5 / -1; }
}
@media (max-width: 600px) {
  .hdr .socials li:nth-child(n+5) { display: none; }
  .hdr .socials a { width: 34px; height: 34px; }
  .hdr__end { gap: 8px; }
}
@media (max-width: 359px) { .hdr .socials li:nth-child(n+4) { display: none; } }

/* mobile menu */
.menu {
  position: fixed; inset: 0; z-index: var(--z-menu); background: var(--bg); color: var(--fg);
  padding: calc(var(--hdr) + 32px) var(--pad) calc(28px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px; overflow-y: auto;
}
.menu__nav { display: grid; gap: 2px; }
.menu__nav a { font: 500 clamp(40px, 11vw, 64px)/1.05 var(--sans); letter-spacing: -.04em; }
.socials--menu { justify-content: flex-start; }
@media (prefers-reduced-motion: no-preference) {
  .menu:not([hidden]) .menu__nav a { animation: rise-in .6s var(--ease) both; animation-delay: calc(var(--i, 0) * .04s); }
}

/* ---------- hero: one object in a lot of space ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: grid; place-items: center;
  padding: calc(var(--hdr) + 24px) var(--pad) 140px;
}
.orb { --d: clamp(220px, 44vmin, 540px); position: relative; width: var(--d); height: var(--d); display: block; border-radius: 50%; }
.orb__disc { position: absolute; inset: 0; z-index: 1; clip-path: circle(50% at 50% 50%); background: var(--tile); }
/* the slash in two explicit colours (no blend modes, so it survives any transform/isolation):
   outside the disc it is page ink (.orb__slash, under the disc); inside it is paper, clipped by the disc */
.orb__disc::before, .intro__disc::before {
  content: ""; position: absolute; left: 50%; top: 50%; z-index: 1; width: 1.5px; height: 132%;
  background: #f3f3f2; transform: translate(-50%, -50%) rotate(26deg); pointer-events: none;
}
.orb__disc video, .orb__disc img { width: 100%; height: 100%; object-fit: cover; }
.orb__tint {                                       /* mouse-over colour: multiplies, so the white fog takes the colour and black stays black */
  position: absolute; inset: 0; z-index: 0; border-radius: 50%; pointer-events: none;
  background: var(--tint, transparent); mix-blend-mode: multiply; opacity: 0; transition: opacity .6s ease;
}
.orb.is-tinted .orb__tint { opacity: 1; }
.orb__slash {
  position: absolute; left: 50%; top: 50%; width: 1.5px; height: 132%;
  background: var(--fg); pointer-events: none; z-index: 0;
  transform: translate(-50%, -50%) rotate(26deg);
}
.orb__label {
  position: absolute; left: 50%; bottom: 18%; translate: -50% 0; white-space: nowrap;
  font-size: var(--t-s); font-weight: 500; color: #f3f3f2; mix-blend-mode: difference;
  opacity: 0; transition: opacity .3s ease; pointer-events: none;
}
.orb:hover .orb__label, .orb:focus-visible .orb__label { opacity: 1; }
.orb:focus-visible { outline-offset: 8px; }

.hero__release { position: absolute; left: var(--pad); bottom: 28px; display: grid; gap: 8px; max-width: 420px; }
.hero__kicker, .kicker { font: 400 var(--t-xs)/1.2 var(--mono); color: var(--muted); letter-spacing: .02em; }
.hero__title { font: 500 clamp(24px, 2.5vw, 36px)/1.02 var(--sans); letter-spacing: -.035em; overflow-wrap: anywhere; margin: 2px 0 2px; }
.hero__when, .when { display: flex; flex-wrap: wrap; gap: 2px 12px; font: 400 var(--t-xs)/1.5 var(--mono); color: var(--muted); font-variant-numeric: tabular-nums; }
.hero__when strong, .when strong { color: var(--fg); font-weight: 500; white-space: nowrap; }
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 8px; }

@media (max-width: 700px) {
  .hero { padding-bottom: 210px; }
  .hero__release { right: var(--pad); }
}
@media (max-height: 540px) and (orientation: landscape) {   /* phones sideways: release sits beside the Ø */
  .hero { display: flex; flex-direction: row; align-items: center; justify-content: center; gap: clamp(32px, 6vw, 80px); padding-bottom: 32px; }
  .orb { --d: clamp(160px, 56vh, 260px); }
  .hero__release { position: static; }
}

/* load choreography: the Ø opens, then the slash cuts through, then the release */
@media (prefers-reduced-motion: no-preference) {
  .js .orb__disc { animation: open 1.4s var(--ease) .1s both; }
  .js .orb__slash, .js .orb__disc::before { animation: cut 1.1s var(--ease) .75s both; }
  .js .hero__release { animation: rise-in 1s var(--ease) 1s both; }
}
@keyframes open { from { clip-path: circle(0% at 50% 50%); } to { clip-path: circle(50% at 50% 50%); } }
@keyframes cut { from { transform: translate(-50%, -50%) rotate(26deg) scaleY(0); } to { transform: translate(-50%, -50%) rotate(26deg) scaleY(1); } }
@keyframes rise-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- sections: tiny label on the left, content from column 5 ---------- */
/* spacing is margin, not padding, so a nav click lands exactly on the section label */
.sec {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap);
  margin-top: var(--space); padding: 0 var(--pad);
}
main > .sec:last-child { padding-bottom: var(--space); }
.sec__head { grid-column: 1 / span 3; align-self: start; position: sticky; top: calc(var(--hdr) + 18px); display: flex; align-items: baseline; gap: 10px; }
.sec__label { font: 500 var(--t-s)/1.2 var(--sans); }
.sec__count { font: 400 var(--t-xs)/1 var(--mono); color: var(--muted); }
.sec__body { grid-column: 5 / -1; min-width: 0; }
.sec__foot { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 28px; }
@media (max-width: 900px) {
  .sec { grid-template-columns: minmax(0, 1fr); }
  .sec__head { grid-column: 1 / -1; position: static; margin-bottom: 28px; }
  .sec__body { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(12px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
  .js .reveal.is-in { opacity: 1; transform: none; }
}

/* ---------- index lists (music, videos, tour, contacts) ---------- */
.index__row + .index__row { border-top: 1px solid var(--line); }
.index__link {
  width: 100%; min-height: 56px; padding: 16px 0;
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 3fr) auto; grid-template-areas: "title meta go";
  column-gap: var(--gap); align-items: center; transition: color .25s ease;
}
.index__thumb { grid-area: thumb; display: none; width: 48px; height: 48px; object-fit: cover; background: var(--tile); }
.index__title { grid-area: title; font-weight: 500; overflow-wrap: anywhere; }
.index__meta { grid-area: meta; font: 400 var(--t-xs)/1.4 var(--mono); color: var(--muted); }
.index__go { grid-area: go; display: inline-flex; align-items: center; gap: 6px; font-size: var(--t-s); white-space: nowrap; }
.index__go .ic { width: 11px; height: 11px; }
@media (hover: hover) {
  .index:hover .index__link { color: var(--muted); }
  .index:hover .index__link:hover, .index .index__link:focus-visible { color: var(--fg); }
}
@media (max-width: 700px), (hover: none) {
  .index--media .index__link { grid-template-columns: 48px minmax(0, 1fr) auto; grid-template-areas: "thumb title go" "thumb meta go"; row-gap: 2px; }
  .index--media .index__thumb { display: block; }
  .index__link { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "title go" "meta go"; row-gap: 2px; }
}

/* cover that follows the cursor over the music list (fine pointers only) */
.peek {
  position: fixed; left: 0; top: 0; z-index: var(--z-peek); width: 260px; height: 260px;
  pointer-events: none; will-change: transform;
}
.peek img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: var(--tile);
  opacity: 0; transition: opacity .35s ease;
}
.peek img.is-front { opacity: 1; }
/* enter: wipes open from the bottom and grows; leave: folds shut */
.peek { clip-path: inset(100% 0 0 0); scale: .82; transition: clip-path .55s var(--ease), scale .55s var(--ease); }
.peek.is-on { clip-path: inset(0 0 0 0); scale: 1; }
.peek.is-swap img.is-front { animation: peek-swap .45s var(--ease); }
@keyframes peek-swap { from { transform: scale(1.12); } to { transform: none; } }

/* ---------- videos ---------- */
.reel__stage { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--tile); }
.reel__stage img, .reel__stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.reel__poster { position: absolute; inset: 0; width: 100%; height: 100%; }
.reel__play {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-size: 18px;
  color: var(--ink); background: var(--paper); transition: transform .35s var(--ease);
}
.reel__poster:hover .reel__play { transform: scale(1.08); }
.reel__stage + .index { margin-top: 20px; }
.index__link[aria-current="true"] .index__title::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 10px; border-radius: 50%; background: currentColor; vertical-align: 2px; }

/* ---------- tour ---------- */
.index--tour .index__link { grid-template-columns: minmax(0, 1.4fr) minmax(0, 3fr) minmax(0, 2.6fr) auto; grid-template-areas: "date title meta go"; cursor: default; }
.index--tour .index__date { grid-area: date; font: 500 var(--t-xs)/1.4 var(--mono); font-variant-numeric: tabular-nums; }
.index--tour .index__date span { color: var(--muted); font-weight: 400; margin-left: 8px; }
.show__soldout { font: 400 var(--t-xs)/1 var(--mono); color: var(--muted); text-decoration: line-through; }
@media (max-width: 700px), (hover: none) {
  .index--tour .index__link { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "date go" "title go" "meta go"; row-gap: 3px; }
}
.empty { max-width: 40ch; }
.empty p:first-child { text-wrap: balance; }
.empty p:first-child { font: 400 clamp(21px, 2.2vw, 30px)/1.3 var(--sans); letter-spacing: -.025em; }
.empty p + p { margin-top: 22px; }

/* ---------- store ---------- */
.shop { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px var(--gap); }
.item { display: grid; gap: 12px; align-content: start; }
.item__img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--tile); }
.item__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
a.item:hover .item__img img { transform: scale(1.03); }
.item__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: var(--t-s); }
.item__name { font-weight: 500; }
.item__price, .item__meta { font: 400 var(--t-xs)/1.4 var(--mono); color: var(--muted); }
.item__price { color: var(--fg); }
@media (max-width: 700px) {
  .shop { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 12px; }
  .shop > :first-child:nth-last-child(2n+1) { grid-column: 1 / -1; }
}

/* ---------- sign-up: the one loud line on the page ---------- */
.join__title { font: 500 clamp(46px, 7.4vw, 120px)/.94 var(--sans); letter-spacing: -.05em; text-wrap: balance; }
.join__copy { margin-top: 22px; max-width: 38ch; color: var(--muted); }
.join .form, .join .done, .join .laylo { margin-top: 44px; max-width: 640px; }

.form { display: grid; gap: 14px; }
.form__row { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) auto; gap: 16px; align-items: end; }
.form__stack { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: end; }
@media (max-width: 600px) { .form__row { grid-template-columns: minmax(0, 1fr); } }
.field { position: relative; display: grid; gap: 6px; }
.field label { font: 400 var(--t-xs)/1 var(--mono); color: var(--muted); }
.field input, .field select {
  width: 100%; height: 40px; padding: 0 22px 0 0; border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0;
  background: transparent; color: var(--fg); font: 400 var(--t-m)/1 var(--sans); -webkit-appearance: none; appearance: none;
  transition: border-color .2s ease;
}
.field select option { color: #0c0c0c; background: #f3f3f2; }
.field input::placeholder { color: var(--muted); opacity: 1; }
.field input:focus, .field select:focus { outline: none; border-bottom-color: var(--fg); }
.field input:focus-visible, .field select:focus-visible { box-shadow: 0 1px 0 0 var(--fg); }
.field__caret { position: absolute; right: 0; bottom: 14px; font-size: 12px; pointer-events: none; }
.field.is-invalid input { border-bottom: 2px solid var(--fg); }
.field__err { font: 400 var(--t-xs)/1.4 var(--mono); }
.field__err:empty { display: none; }
.form__legal { font: 400 var(--t-xs)/1.6 var(--mono); color: var(--muted); max-width: 64ch; }
.form__legal a { text-decoration: underline; text-underline-offset: 3px; }
.form__status { font: 400 var(--t-xs)/1.5 var(--mono); min-height: 1.5em; }
.form.is-busy .btn { opacity: .45; pointer-events: none; }
.done { display: grid; gap: 8px; }
.done:focus { outline: none; }                    /* focused only so screen readers announce it */
.done__title { font: 500 clamp(22px, 2.4vw, 32px)/1.15 var(--sans); letter-spacing: -.03em; }
.done p { color: var(--muted); font-size: var(--t-s); }
.laylo { width: 100%; min-height: 280px; border: 0; }

/* ---------- info ---------- */
.info__bio { font: 400 clamp(21px, 2.2vw, 30px)/1.3 var(--sans); letter-spacing: -.025em; max-width: 30ch; text-wrap: pretty; }
.contacts { margin-top: 64px; max-width: 640px; }
.contacts > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: var(--gap); padding: 14px 0; align-items: baseline; }
.contacts > div + div { border-top: 1px solid var(--line); }
.contacts dt { font: 400 var(--t-xs)/1.4 var(--mono); color: var(--muted); }
.contacts dd { font-size: var(--t-s); overflow-wrap: anywhere; }
.contacts dd a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- footer ---------- */
.ftr {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: center;
  padding: 28px var(--pad) calc(28px + env(safe-area-inset-bottom)); font-size: var(--t-s); color: var(--muted);
  border-top: 1px solid var(--line);
}
.ftr__copy { grid-column: 1 / span 4; }
.ftr__links { grid-column: 5 / span 4; display: flex; gap: 20px; }
.ftr__links a:hover { color: var(--fg); }
.ftr .socials { grid-column: 9 / -1; justify-self: end; }
@media (max-width: 700px) {
  .ftr { grid-template-columns: minmax(0, 1fr); row-gap: 18px; }
  .ftr__copy, .ftr__links, .ftr .socials { grid-column: 1 / -1; justify-self: start; }
}

.socials { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.socials a { width: 34px; height: 34px; display: grid; place-items: center; font-size: 15px; color: inherit; transition: opacity .2s ease; }
.socials a:hover { opacity: .55; }
.ftr .socials a { color: var(--fg); }

/* ---------- listen / pre-save dialog ---------- */
dialog { padding: 0; color: var(--fg); background: var(--bg); border: 1px solid var(--line-2); max-width: none; max-height: none; }
dialog::backdrop { background: var(--backdrop); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.listen { width: min(420px, calc(100vw - 24px)); max-height: calc(100dvh - 32px); overflow: auto; }
.listen__head { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 10px 14px 14px; border-bottom: 1px solid var(--line); }
.listen__cover { width: 56px; height: 56px; object-fit: cover; background: var(--tile); }
.listen__kicker { font: 400 var(--t-xs)/1 var(--mono); color: var(--muted); }
.listen__title { margin-top: 6px; font: 500 var(--t-m)/1.2 var(--sans); overflow-wrap: anywhere; }
.listen__list li + li { border-top: 1px solid var(--line); }
.plat { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; gap: 14px; align-items: center; height: 54px; padding: 0 16px; font: 500 var(--t-s)/1 var(--sans); transition: background-color .2s; }
.plat:hover, .plat:focus-visible { background: var(--hover); outline: none; }
.plat .ic { font-size: 17px; }
.plat .ic:last-child { font-size: 11px; color: var(--muted); }
.listen__empty { padding: 22px 16px 24px; display: grid; gap: 16px; justify-items: start; font-size: var(--t-s); color: var(--muted); }
.listen[open], .lightbox[open] { animation: pop .45s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (max-width: 560px) { .listen { width: 100%; margin: auto 0 0; border-width: 1px 0 0; padding-bottom: env(safe-area-inset-bottom); } }
@media (prefers-reduced-motion: reduce) { .listen[open], .lightbox[open] { animation: none; } }

.lightbox { width: min(1200px, calc(100vw - 32px)); background: #000; border: 0; overflow: visible; }
.lightbox::backdrop { background: rgb(0 0 0 / .86); }
.lightbox__frame { aspect-ratio: 16 / 9; }
.lightbox__frame iframe { width: 100%; height: 100%; border: 0; }
.lightbox__close { position: absolute; right: -4px; top: -46px; color: #f3f3f2; }

/* ---------- sign-up nudge: only after real engagement ---------- */
.nudge {
  position: fixed; right: var(--pad); bottom: var(--pad); z-index: var(--z-nudge);
  width: min(360px, calc(100vw - 32px)); padding: 20px; display: grid; gap: 10px;
  background: var(--bg); color: var(--fg); border: 1px solid var(--line-2);
  transform: translateY(calc(100% + 40px)); transition: transform .7s var(--ease);
}
.nudge.is-open { transform: none; }
.nudge__close { position: absolute; top: 4px; right: 4px; }
.nudge__title { font: 500 20px/1.2 var(--sans); letter-spacing: -.025em; padding-right: 36px; }
.nudge__copy { color: var(--muted); font-size: var(--t-s); }
.nudge .form { margin-top: 6px; }
@media (max-width: 560px) { .nudge { left: 0; right: 0; bottom: 0; width: 100%; border-width: 1px 0 0; padding-bottom: calc(20px + env(safe-area-inset-bottom)); } }
@media (prefers-reduced-motion: reduce) { .nudge { transition: none; } }

/* ---------- cookie choices ---------- */
.consent {
  position: fixed; left: var(--pad); bottom: var(--pad); z-index: var(--z-consent);
  width: min(420px, calc(100vw - 32px)); padding: 16px; display: grid; gap: 12px;
  background: var(--bg); border: 1px solid var(--line-2); font-size: var(--t-s);
}
.consent a { text-decoration: underline; text-underline-offset: 3px; }
.consent__btns { display: flex; align-items: center; gap: 18px; }

/* ---------- link page: every link in one place (link.html) ----------
   The home page's grid and section labels, with one list per group. Rows carry the
   platform mark or the cover, and the ink wipe of the buttons. */
.lk-intro {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: center;
  padding: calc(var(--hdr) + clamp(40px, 9vh, 120px)) var(--pad) 0;
}
.lk-intro__orb { grid-column: 1 / span 3; --d: clamp(72px, 8.4vw, 132px); }
.lk-intro__orb.is-photo .orb__disc::before { display: none; }   /* a face is never crossed out: the slash only shows outside the circle */
.lk-intro__text { grid-column: 5 / -1; min-width: 0; }
.lk-intro__title { font: 500 clamp(46px, 7.4vw, 120px)/.94 var(--sans); letter-spacing: -.05em; }
.lk-intro__line { margin-top: 14px; max-width: 40ch; color: var(--muted); }
@media (max-width: 900px) {
  .lk-intro { grid-template-columns: auto minmax(0, 1fr); column-gap: 20px; }
  .lk-intro__orb, .lk-intro__text { grid-column: auto; }
}
.lk .sec { margin-top: clamp(64px, 11vh, 120px); }
.js .lk .reveal { opacity: 1; transform: none; transition: none; }   /* links show at once: nothing on this page waits for a scroll trigger */
@media (max-width: 900px) {                        /* phones: the same page, tighter, so more links show at once */
  .lk-intro { padding-top: calc(var(--hdr) + 28px); }
  .lk .sec { margin-top: 52px; }
  .lk .sec__head { margin-bottom: 14px; }
}
.lk [data-lk] > .sec:last-child { padding-bottom: clamp(72px, 14vh, 160px); }
.lk .join__title { font-size: clamp(40px, 5.4vw, 88px); }

.lk-feat { display: grid; grid-template-columns: clamp(112px, 16vw, 240px) minmax(0, 1fr); column-gap: clamp(18px, 2.4vw, 40px); align-items: center; }
.lk-feat__img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; background: var(--tile); box-shadow: 0 0 0 1px var(--line); }
.lk-feat__text { display: grid; gap: 8px; justify-items: start; min-width: 0; }
.lk-feat__title { font: 500 clamp(28px, 3.8vw, 60px)/1 var(--sans); letter-spacing: -.045em; overflow-wrap: anywhere; text-wrap: balance; }
.lk-feat__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 12px; }
.lk-feat__ctas .btn { height: 48px; padding: 0 22px; }

.lp-rows { border-top: 1px solid var(--line); }
.lp-row { border-bottom: 1px solid var(--line); }
.lp-link {
  position: relative; width: calc(100% + 24px); text-align: left;
  display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; column-gap: 16px;
  min-height: 60px; margin: 0 -12px; padding: 8px 12px;
  transition: color .3s ease, background-color .2s ease;
}
.lp-link__media { width: 44px; height: 44px; display: grid; place-items: center; font-size: 21px; }
.lp-link__media img { width: 44px; height: 44px; object-fit: cover; background: var(--tile); box-shadow: 0 0 0 1px var(--line); }
.lp-link__text { display: grid; gap: 2px; min-width: 0; }
.lp-link__title { font: 500 16px/1.25 var(--sans); letter-spacing: -.012em; overflow-wrap: anywhere; transition: transform .45s var(--ease); }
.lp-link__label { display: inline-flex; align-items: center; gap: 6px; font: 400 var(--t-xs)/1.3 var(--mono); color: var(--muted); overflow-wrap: anywhere; }
.lp-link__label .ic { width: 11px; height: 11px; }
.lp-link__go { display: grid; place-items: center; width: 24px; font-size: 13px; }
.lp-link__go .ic { transition: transform .4s var(--ease); }
/* same as the home page lists: the link you point at slides in a touch, the others step back */
.lp-link:active { background: var(--hover); }       /* phones: a light tint while the finger is down */
.lp-link:focus-visible { outline-offset: -1px; }
@media (hover: hover) {
  .lp-rows:hover .lp-link { color: var(--muted); }
  .lp-rows:hover .lp-link:hover, .lp-rows .lp-link:focus-visible { color: var(--fg); }
  .lp-link:hover .lp-link__title { transform: translateX(6px); }
  .lp-link:hover .lp-link__go .ic { transform: translateX(3px); }
  .lp-link[target]:hover .lp-link__go .ic, button.lp-link:hover .lp-link__go .ic { transform: translate(2px, -2px); }
}

.lp-toast {
  position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: var(--z-nudge);
  padding: 10px 14px; background: var(--fg); color: var(--bg); font-size: var(--t-s); white-space: nowrap;
  opacity: 0; transform: translate(-50%, 8px); transition: opacity .3s ease, transform .4s var(--ease); pointer-events: none;
}
.lp-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* the Ø breathes: a very slow push-in on the footage inside the circle */
@media (prefers-reduced-motion: no-preference) {
  .orb__disc video { animation: breathe 14s ease-in-out infinite alternate; }
}
@keyframes breathe { from { transform: scale(1); } to { transform: scale(1.08); } }

/* ---------- opening sequence: TALØN with the live Ø, handing over to the hero (assets/js/intro.js) ---------- */
.intro { display: none; }
.intro-on .intro { display: block; position: fixed; inset: 0; z-index: 90; cursor: pointer; }
/* the intro is the page's negative: dark curtain over the white site, light over the dark one,
   so the dilating opening is actually visible. --page-fg keeps the page's own ink for the landing Ø. */
:root { --page-fg: var(--fg); }
.intro { --fg: #ededed; --bg: #0b0b0b; --tile: #171717; }
:root[data-theme="noir"] .intro { --fg: #0c0c0c; --bg: #f3f3f2; --tile: #e6e6e4; }
.intro-on body { overflow: hidden; }
.intro__bg { position: absolute; inset: 0; background: var(--bg); }
/* waking up: the curtain is cut away by an almond-shaped opening (the eyelids), lash-soft at the edge */
@property --hu { syntax: "<number>"; inherits: false; initial-value: 0; }
@property --hl { syntax: "<number>"; inherits: false; initial-value: 0; }
@property --a  { syntax: "<number>"; inherits: false; initial-value: 300; }
@property --ex { syntax: "<length>"; inherits: false; initial-value: 0px; }
@property --ey { syntax: "<length>"; inherits: false; initial-value: 0px; }
/* each lid edge is an arc through both eye corners: a circle whose radius follows from the corner
   half-width (a) and the lid's lift (h): r = (a^2 + h^2) / 2h. Curtain shows outside either circle. */
.intro__bg.is-lids {
  --lap: 14px;   /* closed lids overlap by more than their soft edge, so a shut eye is truly dark */
  --ru: calc((var(--a) * var(--a) + var(--hu) * var(--hu)) / (2 * max(var(--hu), .35)) * 1px);
  --rl: calc((var(--a) * var(--a) + var(--hl) * var(--hl)) / (2 * max(var(--hl), .35)) * 1px);
  -webkit-mask:
    radial-gradient(circle var(--ru) at var(--ex) calc(var(--ey) - max(var(--hu), .35) * 1px + var(--lap) + var(--ru)), transparent calc(var(--ru) - 1px), #000 calc(var(--ru) + 11px)),
    radial-gradient(circle var(--rl) at var(--ex) calc(var(--ey) + max(var(--hl), .35) * 1px - var(--lap) - var(--rl)), transparent calc(var(--rl) - 1px), #000 calc(var(--rl) + 5px));
          mask:
    radial-gradient(circle var(--ru) at var(--ex) calc(var(--ey) - max(var(--hu), .35) * 1px + var(--lap) + var(--ru)), transparent calc(var(--ru) - 1px), #000 calc(var(--ru) + 11px)),
    radial-gradient(circle var(--rl) at var(--ex) calc(var(--ey) + max(var(--hl), .35) * 1px - var(--lap) - var(--rl)), transparent calc(var(--rl) - 1px), #000 calc(var(--rl) + 5px));
}
/* the page behind the lids is misted, then comes into focus */
main, .hdr { transition: filter 1.6s cubic-bezier(.3,0,.2,1); }
.intro-fog main, .intro-fog .hdr { filter: blur(22px) brightness(1.06); transition: none; }
.intro__word {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  display: flex; align-items: center; white-space: nowrap; color: var(--fg);
  font: 500 min(21vw, 30vh, 260px)/.74 var(--sans); letter-spacing: -.05em;
}
.intro__side { position: relative; z-index: 1; display: flex; }
.intro__side--l { margin-right: .07em; }
.intro__side--r { margin-left: .07em; }
.intro__l { display: inline-block; will-change: transform, filter, opacity; }
.intro__orb { position: relative; z-index: 2; flex: none; width: .74em; height: .74em; transform-origin: center; will-change: transform; }
.intro__disc { position: absolute; inset: 0; z-index: 1; clip-path: circle(50% at 50% 50%); background: var(--tile); }
.intro__disc video { width: 100%; height: 100%; object-fit: cover; }
.intro__slash {
  position: absolute; left: 50%; top: 50%; width: 1.5px; height: 132%;
  background: var(--fg); z-index: 0; transform: translate(-50%, -50%) rotate(26deg);
}
/* the hero waits under the curtain, then takes over without replaying its own opening */
.intro-on .orb__disc, .intro-on .orb__slash, .intro-on .orb__disc::before, .intro-on .hero__release { animation-play-state: paused; }
.intro-handoff .orb__disc, .intro-handoff .orb__slash, .intro-handoff .orb__disc::before { animation: none; }
.intro-handoff .hero__release { animation-delay: .15s; }

/* a faint rim so the Ø reads as a circle even when its edge is as dark as the page (hero and intro alike) */
@property --rim { syntax: "<length>"; inherits: true; initial-value: 1px; }
@property --rimc { syntax: "<color>"; inherits: true; initial-value: transparent; }
.orb__disc::after, .intro__disc::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  box-shadow: inset 0 0 0 var(--rim, 1px) var(--rimc);
}
.orb__disc { --rimc: color-mix(in srgb, var(--fg) 28%, transparent); }
.intro__disc { --rimc: color-mix(in srgb, var(--fg) 28%, transparent); }

/* ---------- micro-interactions (v2.1) ---------- */
.link .ic, .index__go .ic { transition: transform .4s var(--ease); }
.link:hover .ic, .index__link:hover .index__go .ic { transform: translate(2px, -2px); }
.index__title { display: inline-block; transition: transform .5s var(--ease); }
@media (hover: hover) { .index__link:hover .index__title, .index__link:focus-visible .index__title { transform: translateX(8px); } }
@media (prefers-reduced-motion: reduce) { .index__title, .link .ic, .index__go .ic, .btn .ic, .lp-link__title, .lp-link__go .ic { transition: none; } }

/* ---------- the Ø recedes as you scroll into the page (scroll-driven, where supported) ---------- */
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .hero .orb { animation: orb-recede linear both; animation-timeline: scroll(root); animation-range: 0 90vh; }
    @keyframes orb-recede { to { transform: translateY(-6vh) scale(.82); opacity: .15; } }
  }
}

/* honeypot: invisible to people, bots fill it in */
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* plain facts for crawlers and AI assistants (scripts/seo.mjs); hidden once the real page is built */
.js .pre { display: none; }
.pre { max-width: 640px; margin: 64px auto; padding: 0 var(--pad); display: grid; gap: 12px; font-size: var(--t-s); }
.pre h2 { font-size: 24px; font-weight: 500; } .pre h3 { margin-top: 12px; font-weight: 500; }
.pre a { text-decoration: underline; text-underline-offset: 3px; }
