/* Fabio Yannis Kluge portfolio (/fabioyanniskluge), v2. Own world, decoupled from site.css.
   A living liquid-chrome field (stage.js, WebGL) under everything; the page floats on it in liquid glass: refraction
   (SVG displacement in Chromium), saturation boost, specular rim, a sheen that follows the pointer. Web approximation
   of Apple's Liquid Glass; there is no official web package. Type: Clash Display + Satoshi, self-hosted.
   Radius rule: panels 32px, media 20px, small media 14px, every control a full pill. */

@font-face { font-family: "Clash Display"; src: url(fonts/ClashDisplay-Semibold.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Clash Display"; src: url(fonts/ClashDisplay-Medium.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Clash Display"; src: url(fonts/ClashDisplay-Light.woff2) format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Switzer"; src: url(fonts/Switzer-Black.woff2) format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url(fonts/Satoshi-Regular.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url(fonts/Satoshi-Medium.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url(fonts/Satoshi-Bold.woff2) format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --ground: #08080a;
  --ink: #f4f5f7;
  --ink-2: #cfd2d8;
  --muted: #9a9ea8;
  --line: rgba(236, 240, 247, .12);
  --cold: 214 224 245;
  --display: "Clash Display", "Helvetica Neue", Arial, sans-serif;
  --body: "Satoshi", "Helvetica Neue", Arial, sans-serif;
  --gut: clamp(16px, 2.4vw, 40px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --chrome: linear-gradient(180deg, #ffffff 0%, #e6e9ee 34%, #8a9099 49%, #f7f8fa 57%, #b7bcc5 78%, #ffffff 100%);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ground); -webkit-text-size-adjust: 100%; scroll-padding-top: 100px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: rgb(var(--cold)); color: var(--ground); }
:focus-visible { outline: 2px solid rgb(var(--cold)); outline-offset: 3px; border-radius: 10px; }
html { scrollbar-color: #3a3c43 var(--ground); }
@media (hover: hover) and (pointer: fine) {
  ::-webkit-scrollbar { width: 10px; height: 10px; }
  ::-webkit-scrollbar-track { background: var(--ground); }
  ::-webkit-scrollbar-thumb { background: #34363d; border-radius: 99px; border: 2px solid var(--ground); }
}
.num { font-variant-numeric: tabular-nums lining-nums; }
.chrome-t { color: #f6f7f9; }
sup.reg { font-size: .5em; line-height: 0; vertical-align: 0; position: relative; top: -.85em; margin-left: .05em; }
.i { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 40; padding: 10px 16px; border-radius: 99px; background: var(--ink); color: var(--ground); text-decoration: none; }
.skip:focus { top: 12px; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- the stage + grain ---------- */
#stage { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; opacity: 0; transition: opacity 1.6s ease; pointer-events: none; }
#stage.on { opacity: 1; }
html:not(.has-stage) body { background: radial-gradient(80vw 70vh at 85% -10%, #2a2d34, transparent 60%), radial-gradient(60vw 60vh at 0% 110%, #16171c, transparent 70%), var(--ground); }
.grain { position: fixed; inset: -50%; z-index: 30; pointer-events: none; opacity: .06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E"); }
main, .foot { position: relative; z-index: 1; }

/* ---------- liquid glass ---------- */
/* every glass surface carries a faint accent of its own (--acc, rgb triplet): it tints the pane, the rim and the light */
.glass { --acc: var(--cold); position: relative; isolation: isolate; border-radius: 32px;
  background: linear-gradient(150deg, rgba(var(--acc) / .17) 0%, rgba(255, 255, 255, .055) 30%, rgba(255, 255, 255, .02) 62%, rgba(var(--acc) / .11) 100%);
  -webkit-backdrop-filter: blur(16px) saturate(1.9) brightness(1.12);
  backdrop-filter: blur(16px) saturate(1.9) brightness(1.12);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, .6),
    inset 0 -1px 1px rgba(255, 255, 255, .14),
    inset 14px 0 30px -24px rgba(255, 255, 255, .5),
    inset 0 -22px 40px -30px rgba(214, 224, 245, .35),
    0 40px 80px -32px rgba(0, 0, 0, .85),
    0 2px 6px rgba(0, 0, 0, .25); }
.glass::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; padding: 1.2px; pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, .85), rgba(255, 255, 255, .12) 28%, rgba(255, 255, 255, 0) 52%, rgba(var(--acc) / .25) 72%, rgba(var(--acc) / .8));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.glass::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background:
    radial-gradient(130% 60% at 18% -12%, rgba(255, 255, 255, .20), transparent 46%),
    radial-gradient(340px 340px at var(--mx, 85%) var(--my, -10%), rgba(var(--acc) / .3), transparent 62%); }
/* accents, minimal: one per brand and section */
.co-umg, .hcard-l, .close-in { --acc: 150 134 255; }          /* violet */
.co-evoke, .intro-in { --acc: 128 196 255; }                   /* light blue */
.co-vibes, .feature { --acc: 255 112 98; }                      /* red */
.co-fvbio, .beatlist { --acc: 238 200 128; }        /* champagne */
.hcard-r, .bar { --acc: 170 226 236; }                          /* ice */
.co-role, .hc-role { color: color-mix(in srgb, rgb(var(--acc)) 55%, #fff); }
html.chromium .glass { -webkit-backdrop-filter: blur(12px) url(#refract) saturate(1.9) brightness(1.14); backdrop-filter: blur(12px) url(#refract) saturate(1.9) brightness(1.14); }
@media (prefers-reduced-transparency: reduce) { .glass, html.chromium .glass { background: #17181c; -webkit-backdrop-filter: none; backdrop-filter: none; } }
.glass > * { position: relative; }

/* ---------- controls ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 24px; border-radius: 999px; font: 500 15px/1 var(--body); text-decoration: none; white-space: nowrap; border: 0;
  transition: transform .25s var(--ease), background-color .25s var(--ease), box-shadow .25s var(--ease); }
.btn:active { transform: scale(.97); }
.btn-solid { background: linear-gradient(180deg, #ffffff, #dfe2e8); color: #0b0b0d; box-shadow: inset 0 -2px 4px rgba(0, 0, 0, .12), inset 0 1px 0 #fff, 0 12px 28px -10px rgba(0, 0, 0, .7); }
.btn-solid:hover { transform: translateY(-1px); box-shadow: inset 0 -2px 4px rgba(0, 0, 0, .12), inset 0 1px 0 #fff, 0 18px 36px -10px rgba(0, 0, 0, .8); }
.btn-glass { color: var(--ink); border-radius: 999px; }
.btn-lg { height: 60px; padding: 0 32px; font-size: 17px; }

/* ---------- bar ---------- */
.bar { position: fixed; z-index: 20; top: 14px; left: 50%; transform: translateX(-50%); width: min(1240px, calc(100% - 24px)); height: 64px; border-radius: 999px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 8px 0 24px; }
.mono { font: 600 20px/1 var(--display); letter-spacing: .06em; text-decoration: none; }
.bar nav { display: flex; gap: 4px; }
.bar nav a { padding: 10px 16px; border-radius: 99px; text-decoration: none; color: var(--ink-2); font-weight: 500; font-size: 15px; transition: color .2s, background-color .2s; }
.bar nav a:hover { color: var(--ink); background: rgba(255, 255, 255, .08); }
.bar-r { display: flex; align-items: center; gap: 8px; }
.bar .btn { height: 48px; }
.lang { display: flex; padding: 3px; border-radius: 99px; background: rgba(0, 0, 0, .25); box-shadow: inset 0 1px 2px rgba(0, 0, 0, .4); }
.lang button { appearance: none; border: 0; background: none; color: var(--muted); font: 500 13px/1 var(--body); letter-spacing: .04em; padding: 10px 12px; border-radius: 99px; cursor: pointer; }
.lang button[aria-pressed="true"] { background: rgba(255, 255, 255, .16); color: var(--ink); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3); }

/* ---------- hero (concept A in liquid glass): the stretched name top centre, signature under it, then a three-part
   row with strong size contrast: small text column, the portrait in glass, figures from huge to small ---------- */
.hero { position: relative; padding: 112px var(--gut) 40px; max-width: 1600px; margin: 0 auto; }
.tiny { margin: 0; font: 700 10.5px/1.2 var(--body); letter-spacing: .2em; text-transform: uppercase; color: color-mix(in srgb, rgb(var(--acc, var(--cold))) 50%, #fff); }
.name { position: relative; z-index: 3; margin: 0; text-align: center; white-space: nowrap;
  font: 900 var(--fit, 10.2vw)/.86 "Switzer", "Helvetica Neue", Arial, sans-serif; letter-spacing: -.035em; text-transform: uppercase;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .55)); }
/* stretched into length: twice as tall at the same width, growing downward */
.name .w { display: inline-block; transform: scaleY(2.05); transform-origin: 50% 0; margin-bottom: .98em; color: #f6f7f9; }
/* every character condensed to 74% of its width (Fabio: "thinner"); the line still spans the full width */
.name .c { display: inline-block; transform: scaleX(.74); margin: 0 -.035em; }
.sigwrap { position: relative; z-index: 4; display: block; width: min(34vw, 520px); margin: -3.4vw 5% -6.5vw auto; transform: rotate(-4deg); pointer-events: none; }
.sig { display: block; width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 6px 16px rgba(0, 0, 0, .6)); }
.sig path { fill: url(#chrome); stroke: url(#chrome); stroke-linecap: round; stroke-linejoin: round; }
.sig .sig-g { stroke-width: 16; }
.sig .sig-s { fill: none; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 4fr) minmax(0, 4fr); gap: clamp(20px, 3vw, 48px); align-items: end; margin-top: clamp(8px, 2vw, 28px); }
.hg-text { display: flex; flex-direction: column; gap: 16px; padding-bottom: 8px; }
.hg-lead { margin: 0; font: 500 clamp(24px, 2.2vw, 34px)/1.12 var(--display); letter-spacing: -.015em; max-width: 18ch; }
.hg-sub { margin: 0; color: var(--muted); font-size: 14px; max-width: 34ch; }
.hg-btns { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.hg-portrait { --acc: 150 134 255; margin: 0; padding: 10px; border-radius: 30px; }
.hg-portrait img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 10%; border-radius: 22px; background: rgba(0, 0, 0, .35); filter: grayscale(1) contrast(1.06); }
.hg-portrait figcaption { display: flex; justify-content: space-between; padding: 12px 8px 4px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.hg-figs { display: flex; flex-direction: column; align-items: flex-end; text-align: right; gap: 14px; padding-bottom: 8px; }
.hg-figs div { display: flex; flex-direction: column; align-items: flex-end; margin-top: .46em; }   /* room for the upward stretch */
.hg-figs b { font: 900 1em/.86 "Switzer", sans-serif; letter-spacing: -.03em; display: inline-block; transform: scaleY(1.5); transform-origin: 100% 100%; }
.hg-figs .f1 { font-size: clamp(64px, 7.4vw, 124px); }
.hg-figs .f2 { font-size: clamp(38px, 4vw, 66px); }
.hg-figs .f3 { font-size: clamp(22px, 2vw, 32px); }
.hg-figs span { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
.founder { --acc: 170 226 236; display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 28px; padding: 16px 26px; border-radius: 999px; }
.founder-logos { display: flex; align-items: center; justify-content: space-between; gap: clamp(18px, 4vw, 64px); flex: 1; max-width: 900px; margin-left: auto; }
.lg { height: 26px; width: auto; opacity: .85; }
.lg-umg { height: 28px; } .lg-evoke { height: 32px; filter: invert(1); } .lg-gv, .lg-rv { height: 32px; } .lg-fv { height: 26px; }
.lg-pair { display: flex; gap: 10px; align-items: center; }
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr 1fr; }
  .hg-text { grid-column: 1 / -1; order: 2; }
  .hg-figs { align-self: center; }
}
@media (max-width: 760px) {
  .hero { padding-top: 96px; }
  .name { white-space: normal; text-align: left; line-height: .9; }
  .name .w { display: block; width: max-content; transform-origin: 0 0; margin-bottom: .95em; }
  .sigwrap { width: 82%; margin: -8vw 0 4vw auto; }
  .hero-grid { grid-template-columns: 1fr; }
  .hg-figs { flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; text-align: left; gap: 10px 16px; min-width: 0; }
  .hg-figs .f1 { font-size: 54px; } .hg-figs .f2 { font-size: 32px; } .hg-figs .f3 { font-size: 22px; }
  .hg-figs span { letter-spacing: .1em; font-size: 10px; }
  .hg-portrait figcaption { font-size: 10px; letter-spacing: .1em; gap: 10px; }
  .hg-figs div { align-items: flex-start; }
  .hg-figs b { transform-origin: 0 100%; }
  .founder { flex-direction: column; align-items: flex-start; border-radius: 28px; }
  .founder-logos { flex-wrap: wrap; justify-content: flex-start; margin-left: 0; gap: 22px; }
}

/* ---------- intro ---------- */
.intro { padding: clamp(90px, 12vw, 180px) var(--gut) 0; max-width: 1320px; margin: 0 auto; }
.intro-in { padding: clamp(28px, 5vw, 72px); }
.intro h2 { margin: 0 0 26px; font: 500 clamp(36px, 5vw, 80px)/1 var(--display); letter-spacing: -.03em; text-wrap: balance; max-width: 16ch; }
.intro p { margin: 0; max-width: 62ch; color: var(--ink-2); font-size: clamp(17px, 1.3vw, 20px); }
.figs { list-style: none; margin: 48px 0 0; padding: 30px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: baseline; gap: 16px 40px; }
.figs li { display: flex; align-items: baseline; gap: 10px; }
.figs b { font: 500 calc(28px + var(--k) * 56px)/1 var(--display); letter-spacing: -.02em; }
.fig-l { color: var(--muted); font-size: 14px; }
.figs .brands { margin-left: auto; align-self: center; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.brands a { display: block; opacity: .72; transition: opacity .25s, transform .25s var(--ease); }
.brands a:hover { opacity: 1; transform: translateY(-2px); }
.brands .lg { height: 26px; } .brands .lg-evoke, .brands .lg-gv, .brands .lg-rv { height: 30px; } .brands .lg-fv { height: 24px; }
.brands .lg-sv { width: 30px; height: 30px; border-radius: 50%; filter: grayscale(1) contrast(1.15); }
@media (max-width: 900px) { .figs .brands { margin-left: 0; width: 100%; padding-top: 18px; border-top: 1px solid var(--line); } }

/* ---------- sections ---------- */
.work, .videos, .beats, .credits { padding: clamp(80px, 10vw, 160px) var(--gut) 0; max-width: 1440px; margin: 0 auto; }
.sec-h { margin: 0 0 calc(.62em + 36px); font: 900 clamp(44px, 6.4vw, 104px)/.86 "Switzer", sans-serif; letter-spacing: -.035em; text-transform: uppercase; display: inline-block; transform: scaleY(1.7); transform-origin: 0 0; }

/* four portrait panels, always side by side (Fabio): a snapping row when the window is too narrow */
.plates { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; perspective: 1400px; }
.co { display: flex; flex-direction: column; aspect-ratio: 3 / 4.6; padding: 26px; transform-style: preserve-3d; transition: transform .5s var(--ease); }
.co-link { position: absolute !important; inset: 0; z-index: 3; border-radius: inherit; }
.co-top { display: flex; justify-content: space-between; align-items: start; min-height: 56px; }
.co-top .i { color: var(--muted); transition: transform .3s var(--ease), color .3s; }
.co:hover .co-top .i { transform: translate(3px, -3px); color: var(--ink); }
.co .lg { height: 44px; } .co .lg-evoke { height: 48px; } .co .lg-gv, .co .lg-rv { height: 40px; } .co .lg-fv { height: 42px; }
.co h3 { margin: auto 0 8px; font: 600 clamp(22px, 1.9vw, 32px)/1.02 var(--display); letter-spacing: -.02em; min-height: 2.04em; display: flex; align-items: end; }
.co-role { margin: 0; color: var(--ink); font-weight: 500; font-size: 15px; }
.co-what { margin: 10px 0 0; color: var(--muted); font-size: 14.5px; line-height: 1.5; min-height: 4.5em; }
.co-stats { margin: 20px 0 0; padding-top: 18px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.co-stats div { display: flex; flex-direction: column-reverse; gap: 4px; }
.co-stats dt { color: var(--muted); font-size: 13px; }
.co-stats dd { margin: 0; font: 500 28px/1 var(--display); letter-spacing: -.01em; }
@media (max-width: 980px) {
  .plates { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(250px, 42vw); overflow-x: auto; scroll-snap-type: x mandatory;
    margin: 0 calc(var(--gut) * -1); padding: 6px var(--gut) 24px; scroll-padding-inline: var(--gut); perspective: none; }
  .co { scroll-snap-align: start; }
}
@media (max-width: 560px) { .plates { grid-auto-columns: 74vw; } }

/* videos */
.sec-row { display: flex; justify-content: space-between; align-items: start; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.sec-row .sec-h { margin: 0 0 .62em; }
.chans { display: flex; gap: 10px; flex-wrap: wrap; }
.chan { display: flex; align-items: center; gap: 10px; padding: 6px 18px 6px 6px; border-radius: 999px; text-decoration: none; }
.chan img { width: 38px; height: 38px; border-radius: 50%; filter: grayscale(1) contrast(1.1); }
.chan span { display: flex; flex-direction: column; line-height: 1.2; }
.chan b { font-weight: 700; font-size: 14px; }
.chan i { font-style: normal; color: var(--muted); font-size: 12px; }
.feature { padding: 10px; border-radius: 32px; margin-bottom: 26px; }
.yt { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; border-radius: 24px; overflow: hidden; cursor: pointer; background: #000; }
.yt img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; }
.yt:hover img { transform: scale(1.03); filter: brightness(.85); }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-play { position: absolute; inset: 0; margin: auto; width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(14px) saturate(1.8); backdrop-filter: blur(14px) saturate(1.8);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .7), 0 20px 50px rgba(0, 0, 0, .5); transition: transform .4s var(--ease); }
.yt:hover .yt-play { transform: scale(1.08); }
.yt-play .i { width: 34px; height: 34px; fill: #fff; stroke: #fff; margin-left: 4px; }
.feature-m { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 16px 14px 8px; }
.feature-m b { font: 500 clamp(18px, 1.6vw, 24px)/1.25 var(--display); }
.feature-m > span { color: var(--muted); }
.rail { list-style: none; margin: 0 calc(var(--gut) * -1); padding: 4px var(--gut) 18px; display: grid; grid-auto-flow: column; grid-auto-columns: clamp(250px, 24vw, 360px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); }
.rail li { scroll-snap-align: start; }
.vid { display: flex; flex-direction: column; gap: 12px; text-decoration: none; }
.vid-img { aspect-ratio: 16 / 9; overflow: hidden; border-radius: 20px; background: #111; box-shadow: inset 0 0 0 1px var(--line), 0 20px 40px -20px rgba(0, 0, 0, .8); }
.vid-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform .8s var(--ease); }
.vid:hover .vid-img img { transform: scale(1.08); }
.vid-t { font-weight: 500; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vid-m { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 14px; }

/* beats */
.beats { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 4vw, 72px); align-items: start; }
.beats-t p { color: var(--ink-2); margin: 0 0 28px; max-width: 40ch; }
.beats-t .btn-glass { height: 52px; }
.beatlist { list-style: none; margin: 0; padding: 10px; }
.beat { display: grid; grid-template-columns: 58px minmax(0, 1fr) minmax(0, 140px) auto; align-items: center; gap: 16px; padding: 10px; border-radius: 20px; transition: background-color .25s; }
.beat:hover, .beat.on { background: rgba(255, 255, 255, .07); }
.beat-play { position: relative; width: 58px; height: 58px; padding: 0; border: 0; border-radius: 14px; overflow: hidden; cursor: pointer; background: #111; color: #fff; }
.beat-play img { width: 100%; height: 100%; object-fit: cover; transition: filter .2s; }
.beat-play .i { position: absolute; inset: 0; margin: auto; width: 22px; height: 22px; fill: currentColor; stroke: currentColor; opacity: 0; transition: opacity .2s; }
.beat-play:hover img, .beat.on .beat-play img { filter: brightness(.45); }
.beat-play:hover .i-play, .beat:not(.on) .beat-play:focus-visible .i-play { opacity: 1; }
.beat.on .i-play { opacity: 0; }
.beat.on .i-pause { opacity: 1; fill: none; stroke-width: 2.5; }
.beat-n { display: flex; flex-direction: column; min-width: 0; }
.beat-n b { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.beat-n i { font-style: normal; color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.beat-bar { height: 2px; }
.beat-bar i { position: absolute; left: 0; top: 0; bottom: 0; width: var(--p, 0%); background: var(--ink); border-radius: 2px; }
.beat-buy { display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; border-radius: 999px; text-decoration: none; font-size: 14px; font-weight: 500; background: rgba(255, 255, 255, .06); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18); transition: background-color .2s; }
.beat-buy:hover { background: rgba(255, 255, 255, .14); }
@media (max-width: 900px) { .beats { grid-template-columns: 1fr; } .beat { grid-template-columns: 58px minmax(0, 1fr) auto; } .beat-bar { display: none; } }

/* releases: a rail the reader moves at their own pace */
.rail-covers { grid-auto-columns: 200px; }
.rail-covers a { display: flex; flex-direction: column; gap: 10px; text-decoration: none; }
.rail-covers img { width: 200px; height: 200px; border-radius: 14px; object-fit: cover; box-shadow: inset 0 0 0 1px var(--line), 0 24px 40px -22px rgba(0, 0, 0, .9); transition: transform .6s var(--ease); }
.rail-covers a:hover img { transform: translateY(-4px); }
.rail-covers span { display: flex; flex-direction: column; line-height: 1.3; }
.rail-covers b { font-weight: 500; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rail-covers i { font-style: normal; color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* close: contact me directly for custom work */
.close { padding: clamp(100px, 13vw, 200px) var(--gut) 72px; max-width: 1440px; margin: 0 auto; }
.close-in { padding: clamp(28px, 5vw, 80px); overflow: hidden; }
.close-k { margin: 0 0 18px; color: var(--ink-2); font-size: clamp(16px, 1.3vw, 19px); max-width: 52ch; }
.close h2 { margin: 0 0 36px; font: 600 clamp(46px, 8.4vw, 140px)/.92 var(--display); letter-spacing: -.04em; text-wrap: balance; max-width: 12ch; }
.close-act { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.mailbox { display: inline-flex; align-items: center; gap: 10px; padding: 6px 6px 6px 24px; border-radius: 999px; max-width: 100%; background: rgba(0, 0, 0, .28); box-shadow: inset 0 1px 3px rgba(0, 0, 0, .5), 0 1px 0 rgba(255, 255, 255, .12); }
.mail { font: 500 clamp(17px, 1.8vw, 24px)/1.2 var(--display); text-decoration: none; }
.mail:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.copy { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 20px; border-radius: 999px; border: 0; background: rgba(255, 255, 255, .12); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3); color: var(--ink); font: 500 14px/1 var(--body); cursor: pointer; flex: none; }
.copy:hover { background: rgba(255, 255, 255, .2); }
.sigwrap-end { position: relative; z-index: 1; display: block; right: auto; top: auto; width: min(460px, 72vw); margin: 56px 0 0 auto; transform: rotate(-4deg); }
.elsewhere { list-style: none; margin: 36px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.elsewhere a { display: inline-flex; align-items: center; gap: 10px; padding: 13px 18px 13px 22px; border-radius: 999px; text-decoration: none; }
.elsewhere span { font-weight: 700; font-size: 15px; white-space: nowrap; }
.elsewhere i { font-style: normal; color: var(--muted); font-size: 14px; white-space: nowrap; }
.elsewhere .i { color: var(--muted); width: 16px; height: 16px; }

.foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 28px var(--gut) 40px; max-width: 1440px; margin: 0 auto; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); }
.foot span:last-child { display: flex; gap: 20px; }

@media (max-width: 640px) {
  .bar { padding: 0 6px 0 18px; height: 58px; }
  .bar nav { display: none; }
  .bar .btn { height: 44px; padding: 0 16px; font-size: 14px; }
  .lang button { padding: 9px 9px; }
}
@media (max-width: 560px) {
  .close-act { flex-direction: column; align-items: stretch; }
  .mailbox { display: flex; flex-direction: column; align-items: stretch; border-radius: 26px; padding: 18px; gap: 14px; }
  .mail { font-size: clamp(16px, 5.2vw, 22px); white-space: nowrap; }
  .copy { justify-content: center; }
}

/* ---------- motion: the name flickers on like a lit tube, then the signature is signed by hand ---------- */
.pen { position: absolute !important; left: 0; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; opacity: 0;
  background: #fff; box-shadow: 0 0 10px 3px rgba(var(--cold) / .9), 0 0 28px 8px rgba(var(--cold) / .35); }
@media (prefers-reduced-motion: no-preference) {
  .js .name .w { opacity: 0; animation: flicker 1.5s linear forwards; }
  .js .name .w1 { animation-delay: .25s; }
  .js .name .w2 { animation-delay: .6s; }
  .js .name .w3 { animation-delay: .9s; }
  @keyframes flicker {
    0% { opacity: 0; }
    6% { opacity: 1; }
    9% { opacity: .1; }
    13% { opacity: .9; }
    16% { opacity: .2; }
    24% { opacity: 1; }
    38% { opacity: 1; }
    40% { opacity: .55; }
    43% { opacity: 1; }
    100% { opacity: 1; text-shadow: none; }
  }
  .js .hero-grid > *, .js .founder { animation: lift 1s var(--ease) both; }
  .js .hg-text { animation-delay: 1.2s; } .js .hg-portrait { animation-delay: 1.35s; } .js .hg-figs { animation-delay: 1.5s; } .js .founder { animation-delay: 1.7s; }
  @keyframes lift { from { opacity: 0; translate: 0 22px; filter: blur(6px); } }
  .js .hero .sigwrap .sig, .js [data-sign] .sig { clip-path: inset(-20% 100% -20% 0); }
  .js .hero .sigwrap .sig { animation: sign 1.9s cubic-bezier(.42, .08, .34, 1) 1.9s forwards; }
  .js .hero .sigwrap .pen { animation: pen 1.9s cubic-bezier(.42, .08, .34, 1) 1.9s forwards; }
  .js .hero .sigwrap .sig-s, .js [data-sign] .sig-s { stroke-dasharray: 1; stroke-dashoffset: 1; }
  .js .hero .sigwrap .sig-s { animation: stroke .6s cubic-bezier(.5, 0, .2, 1) 3.72s forwards; }
  .js [data-sign].go .sig { animation: sign 1.9s cubic-bezier(.42, .08, .34, 1) .2s forwards; }
  .js [data-sign].go .pen { animation: pen 1.9s cubic-bezier(.42, .08, .34, 1) .2s forwards; }
  .js [data-sign].go .sig-s { animation: stroke .6s cubic-bezier(.5, 0, .2, 1) 2.02s forwards; }
  @keyframes sign { from { clip-path: inset(-20% 100% -20% 0); } to { clip-path: inset(-20% 0 -20% 0); } }
  @keyframes pen {
    0% { opacity: 0; left: 1%; top: 52%; }
    4% { opacity: 1; }
    20% { left: 20%; top: 40%; }
    40% { left: 41%; top: 58%; }
    62% { left: 63%; top: 36%; }
    82% { left: 84%; top: 48%; }
    97% { left: 98%; top: 30%; opacity: 1; }
    100% { left: 99%; top: 32%; opacity: 0; }
  }
  @keyframes stroke { to { stroke-dashoffset: 0; } }
}
