/* Shared by all three pages: reset, placeholders, reveals, page transitions. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { overflow-x: hidden; overflow-x: clip; }
body { margin: 0; -webkit-font-smoothing: antialiased; }
img, video, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; padding: 10px 14px; background: #fff; color: #111; text-decoration: none; }
.skip:focus { top: 12px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* Page arrival: a short fade from the page colour */
.page-veil { display: none; }
.js .page-veil {
  display: block; position: fixed; inset: 0; z-index: 300; pointer-events: none; background: var(--veil, #111);
  opacity: 1; transition: opacity .7s cubic-bezier(.2,.7,.1,1);
  animation: veil-failsafe .4s 3s forwards;   /* never stuck if a script fails */
}
html.arrived .page-veil { opacity: 0; }
html.leaving .page-veil { animation: none; opacity: 1; transition-duration: .5s; }
@keyframes veil-failsafe { to { opacity: 0; } }

/* ---------- Photo placeholders: designed, and they say what goes there ---------- */
.frame { position: relative; overflow: hidden; }
.frame > img, .frame > video, .frame > .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph {
  --a: #CFC6BA; --b: #B9AE9F; --c: #E8E1D6; --ink: #2B2622;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: clamp(14px, 2vw, 24px);
  color: var(--ink); isolation: isolate; overflow: hidden;
  background:
    radial-gradient(60% 50% at 72% 28%, var(--c), transparent 70%),
    radial-gradient(80% 70% at 15% 90%, var(--b), transparent 70%),
    linear-gradient(160deg, var(--a), var(--b));
}
.ph::before { /* film grain */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .22; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
.ph__tag {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 11px 5px 9px; border-radius: 999px; font: 600 12px/1.2 system-ui, -apple-system, sans-serif; letter-spacing: .01em;
  background: color-mix(in srgb, var(--ink) 12%, transparent); border: 1px solid color-mix(in srgb, var(--ink) 22%, transparent);
}
.ph__tag svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.ph__note { max-width: 46ch; font: 500 13px/1.45 system-ui, -apple-system, sans-serif; opacity: .82; }
.ph--quiet .ph__note { display: none; }

.ph[data-tone="golden"] { --a: #E9A66B; --b: #B8573A; --c: #FFE1A8; --ink: #2C140B; }
.ph[data-tone="studio"] { --a: #3A2A1F; --b: #1E1611; --c: #B88A4A; --ink: #F1E8DA; }
.ph[data-tone="coral"]  { --a: #FF7A5C; --b: #D9402A; --c: #FFC7A8; --ink: #2A0E08; }
.ph[data-tone="dusk"]   { --a: #5B4A86; --b: #2A2147; --c: #F0A38B; --ink: #F6EEFF; }
.ph[data-tone="sun"]    { --a: #FFD45E; --b: #F59B3A; --c: #FFF3C4; --ink: #3A2306; }
.ph[data-tone="sky"]    { --a: #A9CBEA; --b: #7E8FCF; --c: #F1E3F7; --ink: #15203A; }
.ph[data-tone="sage"]   { --a: #B8C7A6; --b: #7F9474; --c: #EEF1DE; --ink: #1D2A18; }
.ph[data-tone="paper"]  { --a: #EFE7DA; --b: #D8CBB6; --c: #FFFFFF; --ink: #3A2E22; }
.ph[data-tone="stage"]  { --a: #2B2230; --b: #0F0C12; --c: #C97A5A; --ink: #F7EBE3; }
.ph[data-tone="night"]  { --a: #2A2340; --b: #120F1C; --c: #C9A15A; --ink: #F1E8DA; }

/* ---------- Scroll reveals (visible at rest without JS) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2,.7,.1,1), transform 1.1s cubic-bezier(.2,.7,.1,1); transition-delay: var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Small back button, top left of the artist and composer pages ---------- */
.backlink {
  display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px 0 9px; border-radius: 999px; flex: none;
  border: 1px solid color-mix(in srgb, currentColor 28%, transparent); text-decoration: none; font-size: 12px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase; line-height: 1; transition: border-color .25s, background-color .25s, gap .3s cubic-bezier(.2,.7,.1,1);
}
.backlink svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s cubic-bezier(.2,.7,.1,1); }
.backlink:hover { border-color: currentColor; }
.backlink:hover svg { transform: translateX(-3px); }
@media (pointer: coarse) { .backlink { height: 44px; padding: 0 14px 0 11px; } }
@media (max-width: 400px) { .backlink span { display: none; } .backlink { width: 40px; padding: 0; justify-content: center; } }

/* ---------- Socials, footer: one flat colour at rest; the brand colour only on hover (phones: while pressed) ---------- */
.sw { transition: color .3s, text-shadow .3s; }
.sw__l, .sw__sp { display: inline-block; transform-origin: 50% 85%; transition: color .3s; }
.sw__sp { width: .26em; }
.sw.is-on[data-net="instagram"] .sw__l { color: var(--c); }   /* each letter has its own step of the gradient (shared.js) */
.sw.is-on[data-net="spotify"] { color: #1ED760; }
.sw.is-on[data-net="tiktok"] { color: #FFFFFF; text-shadow: -.035em -.02em 0 #25F4EE, .035em .02em 0 #FE2C55; }
.sw.is-on[data-net="youtube"] { color: #FF0033; }
.sw.is-on[data-net="applemusic"] .sw__l { background: linear-gradient(180deg, #FB5C74, #FA233B); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.sw.is-on[data-net="linkedin"] { color: #70B5F9; }
.sw.is-on[data-net="imdb"] { color: #F5C518; }
/* the magnifier (shared.js) moves these every frame, so no CSS transform transition */
ul.is-dock { position: relative; z-index: 2; padding-top: clamp(14px, 2.2vw, 34px); }
.is-dock .sw { position: relative; transform-origin: 50% 62%; will-change: transform; }
.is-dock .sw__l { will-change: transform; }
.is-dock .sw.is-on { z-index: 3; }

/* ---------- Socials, top bar: small logos only ---------- */
.navsocial { display: flex; align-items: center; gap: 2px; }
.navsocial__a { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: inherit; opacity: .82; transition: opacity .2s, color .2s, background-color .2s, transform .3s cubic-bezier(.2,.7,.1,1); }
.navsocial__a svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.navsocial__a svg .f { fill: currentColor; stroke: none; }
.navsocial__a svg text { font: 800 6.6px/1 "Arial Black", Arial, sans-serif; letter-spacing: -.02em; }
.navsocial__a:hover, .navsocial__a:focus-visible { opacity: 1; transform: translateY(-1px); background: color-mix(in srgb, currentColor 9%, transparent); }
.navsocial__a[data-net="instagram"]:hover { color: #E1306C; }
.navsocial__a[data-net="spotify"]:hover { color: #1DB954; }
.navsocial__a[data-net="tiktok"]:hover svg { filter: drop-shadow(-1.2px -1px 0 #25F4EE) drop-shadow(1.2px 1px 0 #FE2C55); }
.navsocial__a[data-net="youtube"]:hover { color: #FF0033; }
.navsocial__a[data-net="applemusic"]:hover { color: #FA2D48; }
.navsocial__a[data-net="linkedin"]:hover { color: #0A66C2; }
.navsocial__a[data-net="imdb"]:hover { color: #D9A800; }
@media (pointer: coarse) { .navsocial__a { width: 44px; height: 44px; } }
/* the copy inside the phone menu */
.navsocial--menu { gap: 6px; padding-top: 18px; }
.navsocial .navsocial__a { padding: 0; border: 0; font-size: inherit; text-transform: none; letter-spacing: 0; }
.navsocial .navsocial__a::after { content: none; }
.navsocial--menu { display: none; }
