:root {
  --bg: #040404;
  --ink: #f2ede6;
  --muted: #cfc6bc;
  --crimson: #7a1f2b;
  --crimson-bright: #8e2533;
  --line: rgba(255, 255, 255, 0.22);
  --serif: "Gloock", "Times New Roman", serif;
  --serif-2: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Manrope", system-ui, sans-serif;
  --body: "Jost", system-ui, sans-serif;
  --script: "Mrs Saint Delafield", cursive;
  --max: 1328px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}


/* =====================================================
   WALLPAPERS: the colors are placeholders.
   Swap each one for your image, e.g.
   background: #040404 url("images/top.jpg") center / cover no-repeat;
   ===================================================== */
/* Each section = two layers:
   ::before  the pinned background (stays still while you scroll; shows through the hole)
   ::after   the scrolling wallpaper on top
   The pinned layer is position:fixed inside a clipped section, which works on iPad/iPhone too
   (Safari there ignores background-attachment: fixed). */
.wall {
  position: relative;
  width: 100%;
  clip-path: inset(0);          /* keeps each pinned layer inside its own section */
}
.wall::before,
.wall::after {
  content: "";
  z-index: -1;
  pointer-events: none;
}
.wall::before { position: fixed; inset: 0; }          /* pinned, fills the screen */
.wall::after  { position: absolute; inset: 0; }       /* scrolls with the section */

/* sections 1 + 2: hero and cards */
.wall-top { background: #030202; }
.wall-top::before { background: #030202 url("images/mask-bg.jpg") center / cover no-repeat; }      /* the mask, pinned */
.wall-top::after  { background: url("images/top-bg.png") center / cover no-repeat; }               /* wallpaper with the hole */

/* sections 3 + 4: about me and get in touch */
.wall-bottom { background: #030305; }
.wall-bottom::before { background: #030305 url("images/stars-bg.jpg") center / cover no-repeat; }  /* Orion starfield, pinned */
.wall-bottom::after  { background: url("images/about-contact-bg.png") center top / auto 100% no-repeat; }  /* artwork */

/* twinkling stars: pinned like the starfield, sitting between it and the artwork */
.twinkles { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.tw {
  position: absolute;
  width: var(--s); height: var(--s);
  margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2);
  opacity: 0;
  animation: twinkle var(--d) ease-in-out var(--dl) infinite;
}
.tw::before, .tw::after {               /* soft four-point sparkle */
  content: ""; position: absolute; left: 50%; top: 50%;
  background: radial-gradient(closest-side, var(--c), transparent);
  transform: translate(-50%, -50%);
}
.tw::before { width: 100%; height: 14%; }
.tw::after  { width: 14%; height: 100%; }
.tw i {                                 /* glowing core */
  position: absolute; inset: 34%; border-radius: 50%;
  background: #fff; box-shadow: 0 0 calc(var(--s) * 0.25) calc(var(--s) * 0.08) var(--c);
}
@keyframes twinkle {
  0%, 100% { opacity: 0;   transform: scale(0.3) rotate(0deg); }
  45%      { opacity: 0.95; transform: scale(1) rotate(12deg); }
  60%      { opacity: 0.7; transform: scale(0.85) rotate(16deg); }
}
/* shooting stars: a bright head with a fading tail, flying down-left */
.shoot {
  position: absolute;
  width: var(--len); height: 2px;
  transform: rotate(var(--ang));
  transform-origin: 0 50%;
  pointer-events: none;
}
.shoot::before {
  content: ""; position: absolute; inset: 0; border-radius: 2px;
  background: linear-gradient(90deg, #fff, rgba(207, 224, 255, 0.55) 18%, transparent);
  box-shadow: 0 0 6px rgba(207, 224, 255, 0.6);
  transform-origin: 0 50%;
  animation: shoot var(--dur) cubic-bezier(0.3, 0.1, 0.6, 1) forwards;
}
@keyframes shoot {
  0%   { opacity: 0; transform: translateX(0) scaleX(0.1); }
  12%  { opacity: 1; }
  70%  { opacity: 1; transform: translateX(calc(var(--len) * -1.6)) scaleX(1); }
  100% { opacity: 0; transform: translateX(calc(var(--len) * -2.6)) scaleX(0.4); }
}
@media (prefers-reduced-motion: reduce) { .tw { animation: none; opacity: 0.5; } .shoot { display: none; } }

/* ================= DIVIDER between the two wallpapers ================= */
.divider {
  position: relative;
  z-index: 2;
  height: 90px;
  margin: -60px 0;                       /* overlaps both sections to hide the seam */
  display: flex;
  align-items: center;
  background: #040303;
  border-top: 1px solid rgba(142, 37, 51, 0.45);
  border-bottom: 1px solid rgba(142, 37, 51, 0.45);
}
/* soft dark fades above and below the bar so the wallpapers melt into it */
.divider::before,
.divider::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 110px;
  pointer-events: none;
}
.divider::before { bottom: 100%; background: linear-gradient(to bottom, rgba(4,3,3,0), #040303); }
.divider::after  { top: 100%;    background: linear-gradient(to top,    rgba(4,3,3,0), #040303); }
/* the quote: words drift in one by one, hold, then dissolve, on a loop */
.quote {
  width: 100%;
  text-align: center;
  font-family: var(--serif-2);                       /* Cormorant Garamond, upright */
  font-style: normal !important;                     /* never italic */
  font-weight: 300;                                  /* Light: thinner */
  font-size: 20px;
  letter-spacing: 3px;
  color: rgba(242, 237, 230, 0.68);
}
.quote::before, .quote::after { color: rgba(142, 37, 51, 0.75); font-size: 20px; }
.quote::before { content: "\201C"; margin-right: 6px; }
.quote::after  { content: "\201D"; margin-left: 4px; }
.quote em, .quote .w { font-style: normal !important; }
.quote em { color: rgba(160, 45, 60, 0.85); }
.quote .w {
  display: inline-block;
  margin: 0 0.06em;
  opacity: 0;
  filter: blur(8px);
  transform: translateY(6px);
  animation: wordCycle 11s ease-in-out infinite;
  animation-delay: calc(var(--i) * 0.22s);
}
@keyframes wordCycle {
  0%        { opacity: 0; filter: blur(8px); transform: translateY(6px);  letter-spacing: 7px; }
  9%        { opacity: 1; filter: blur(0);   transform: translateY(0);    letter-spacing: 3px; }
  62%       { opacity: 1; filter: blur(0);   transform: translateY(0);    letter-spacing: 3px; }
  76%, 100% { opacity: 0; filter: blur(6px); transform: translateY(-4px); letter-spacing: 5px; }
}
@media (prefers-reduced-motion: reduce) {
  .quote .w { animation: none; opacity: 1; filter: none; transform: none; }
}
@media (max-width: 1200px) {
  .quote { font-size: 18px; letter-spacing: 2.5px; }
}
@media (max-width: 640px) {
  .quote { font-size: 14px; letter-spacing: 0.8px; padding: 0 12px; white-space: nowrap; }
  .divider { height: auto; padding: 18px 0; }
}

/* shared heading rule */
.rule {
  width: 80px;
  height: 2px;
  background: var(--crimson-bright);
}

/* ================= NAV ================= */
.nav {
  position: fixed;               /* follows you as you scroll */
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* content lines up with the page's 1328px column */
  padding: 12px max(76px, calc((100% - var(--max)) / 2 + 76px));
  /* dark glass */
  background: rgba(4, 3, 3, 0.62);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}
/* so nav links don't hide section titles under the bar */
[id] { scroll-margin-top: 72px; }
.logo {
  display: block;
  line-height: 0;
  text-decoration: none;
}
.logo img {
  height: 28px;          /* logo size in the navbar */
  width: auto;
  display: block;
  opacity: 0.92;
  transition: opacity 0.2s;
}
.logo:hover img { opacity: 1; }
.nav-links {
  display: flex;
  gap: 50px;
  position: absolute;          /* centred on the page, independent of logo / tag widths */
  left: 50%;
  transform: translateX(-50%);
}
.nav-links a,
.nav-tag {
  font-family: var(--body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
}
.nav-links a { position: relative; padding-bottom: 7px; opacity: 0.85; transition: opacity 0.2s; }
.nav-links a:hover { opacity: 1; }
.nav-links a.active::after,
.nav-links a:hover::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--crimson-bright);
}
.nav-tag { opacity: 0.85; }

/* ================= SECTION 1: HERO ================= */
.hero {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  height: 645px;
}
.hero-content {
  position: absolute;
  left: 58px;
  top: 365px;
  z-index: 2;
}
/* dark feathered glass behind the title + caption */
.hero-content::before {
  content: "";
  position: absolute;
  inset: -60px -90px -55px -80px;
  z-index: -1;
  pointer-events: none;
  background: rgba(4, 3, 3, 0.62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  -webkit-mask-image:
    linear-gradient(to right, transparent 0, #000 16%, #000 84%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 22%, #000 78%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-image:
    linear-gradient(to right, transparent 0, #000 16%, #000 84%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 22%, #000 78%, transparent 100%);
          mask-composite: intersect;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 80px;
  line-height: 1;
  letter-spacing: -0.5px;
}
.hero h1 span { color: var(--crimson-bright); }
.hero .rule { margin: 26px 0 24px; }
.hero-content p {
  font-size: 15px;
  line-height: 1.65;
  letter-spacing: 1.1px;
  color: var(--muted);
}

.slide-index {
  position: absolute;
  right: 38px;
  top: 562px;
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--muted);
}
.slide-index .line { width: 72px; height: 1px; background: var(--line); }

/* ================= SECTION 2: CARDS ================= */
.cards {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 25px;
  padding: 11px 34px 120px 36px;
}
/* dark feathered shade behind the whole card section, so the bright wallpaper calms down */
.cards::before {
  content: "";
  position: absolute;
  top: -50px;
  bottom: -30px;
  left: 50%;
  width: 100vw;                     /* runs edge to edge across the screen */
  transform: translateX(-50%);
  z-index: 0;
  pointer-events: none;
  background: rgba(4, 3, 3, 0.62);
  -webkit-mask-image:
    linear-gradient(to right, transparent 0, #000 4%, #000 96%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 16%, #000 86%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-image:
    linear-gradient(to right, transparent 0, #000 4%, #000 96%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 16%, #000 86%, transparent 100%);
          mask-composite: intersect;
}
.card { position: relative; z-index: 1; }
.card-img {
  aspect-ratio: 296 / 378;
  border: 1px solid rgba(142, 37, 51, 0.35);
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease, filter 0.5s ease;
  filter: saturate(0.85) brightness(0.92);
}
.card:hover .card-img { filter: saturate(1) brightness(1.05); transform: translateY(-4px); }

.img-1 { background-image: url("images/hidden-places.jpg"), linear-gradient(180deg, #2a1810, #120a07); }
.img-2 { background-image: url("images/forgotten-spaces.jpg"), linear-gradient(180deg, #8f8a85, #0f120c); }
.img-3 { background-image: url("images/modern-traces.jpg"), linear-gradient(180deg, #b08670, #141713); }
.img-4 { background-image: url("images/unseen-perspectives.jpg"), linear-gradient(180deg, #3a3c40, #0d0d0b); }

.card-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 0 6px;
  font-size: 10.5px;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
}
.card-label .num { color: var(--muted); letter-spacing: 1.5px; }
.card-label .dash { width: 56px; min-width: 20px; flex-shrink: 1; height: 1px; background: var(--crimson); }
.card-label .title { flex: 1; text-align: center; white-space: nowrap; }
.card-label .arrow { font-size: 15px; letter-spacing: 0; transition: transform 0.25s ease; }
.card-label:hover .arrow { transform: translateX(5px); }

/* ================= SECTION 3: ABOUT ME ================= */
.about-inner {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  min-height: 900px;
  padding: 125px var(--pad) 80px 0;   /* right padding = space after text, so the whole box centres */
  display: grid;
  /* box size controls */
  --pw: 340px;     /* photo width */
  --gap: 100px;    /* space between photo and text */
  --tw: 480px;     /* text width */
  --pad: 46px;     /* space after the text, inside the box */
  --bw: calc(var(--pw) + var(--gap) + var(--tw) + var(--pad));   /* whole box width */
  grid-template-columns: var(--pw) var(--tw);
  gap: 0 var(--gap);
  justify-content: center;          /* centre the box */
  align-content: start;             /* row = photo height, so the text centres inside the box */
  align-items: start;
}
.about-photo { position: relative; z-index: 1; }
.about-text  { position: relative; z-index: 1; }
/* frosted, mirror-like glass panel behind the text, running under the photo */
.about-inner::before {
  content: "";
  position: absolute;
  left: calc(50% - var(--bw) / 2 + var(--pw) * 0.45);                         /* starts under the photo so they connect */
  width: calc(var(--pw) * 0.55 + var(--gap) + var(--tw) + var(--pad));
  top: 125px;                                                   /* = photo top */
  height: calc(var(--pw) * 700 / 510);                          /* = photo height, flush */
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0.015) 22%, rgba(255,255,255,0) 40%,
                            rgba(255,255,255,0.03) 62%, rgba(255,255,255,0) 75%),   /* mirror sheen */
    rgba(6, 5, 6, 0.55);                                                              /* dark tint */
  backdrop-filter: blur(10px) saturate(115%);
  -webkit-backdrop-filter: blur(10px) saturate(115%);
  /* feathered edges; top/bottom fade matches the photo's exactly */
  -webkit-mask-image:
    linear-gradient(to right, transparent 0, #000 12%, #000 90%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 10%, #000 88%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-image:
    linear-gradient(to right, transparent 0, #000 12%, #000 90%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 10%, #000 88%, transparent 100%);
          mask-composite: intersect;
}
/* faint outline for the glass panel (separate layer, so the fade stays) */
.about-inner::after {
  content: "";
  position: absolute;
  left: calc(50% - var(--bw) / 2 + var(--pw) - 1px);   /* starts at the photo's right edge: one shared line */
  width: calc(var(--gap) + var(--tw) + var(--pad) + 1px);
  top: 125px;
  height: calc(var(--pw) * 700 / 510);
  z-index: 0;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.045);
  border-radius: 2px;
}
/* faint outline for the photo */
.about-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 2px;
}
/* dark glow behind the photo so it sinks into the background */
.about-photo::before {
  content: "";
  position: absolute;
  inset: -50px -60px;
  background: radial-gradient(closest-side, rgba(3,3,4,0.9), rgba(3,3,4,0.55) 55%, rgba(3,3,4,0) 100%);
  filter: blur(18px);
  z-index: 0;
  pointer-events: none;
}
.about-photo img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  aspect-ratio: 510 / 700;
  object-fit: cover;
  /* feather all four edges: no hard seams */
  -webkit-mask-image:
    linear-gradient(to right, transparent 0, #000 14%, #000 86%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 10%, #000 88%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-image:
    linear-gradient(to right, transparent 0, #000 14%, #000 86%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 10%, #000 88%, transparent 100%);
          mask-composite: intersect;
}
.about-text { padding-top: 0; align-self: center; max-width: var(--tw); position: relative; isolation: isolate; }
/* frosted glass behind the About text, feathered so it has no hard edges */
.about-text::before {
  content: "";
  position: absolute;
  inset: 0 -70px -60px -70px;
  z-index: -1;
  background: rgba(5, 5, 7, 0.5);
  backdrop-filter: blur(12px) saturate(110%);
  -webkit-backdrop-filter: blur(12px) saturate(110%);
  -webkit-mask-image:
    linear-gradient(to right, transparent 0, #000 16%, #000 84%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 16%, #000 82%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-image:
    linear-gradient(to right, transparent 0, #000 16%, #000 84%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 16%, #000 82%, transparent 100%);
          mask-composite: intersect;
  pointer-events: none;
}

.about-text h2,
.contact-info h2 {
  font-family: var(--serif-2);
  font-weight: 400;
  font-size: 50px;            /* About Me + Get in Touch titles */
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.5px;
}
.about-text .rule { margin: 24px 0 28px; }
.about-text h3 {
  font-family: var(--body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.about-text p {
  font-family: var(--body);
  font-size: 15.5px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--muted);
}

.waveform {
  position: absolute;
  right: 0;
  top: 640px;
  width: 320px;
  height: 80px;
  display: flex;
  align-items: center;
  gap: 2px;
}
.waveform::before {
  content: "";
  position: absolute;
  left: -60px; right: 0; top: 50%;
  height: 1px;
  background: rgba(255, 255, 255, 0.35);
}
.waveform i {
  flex: 1;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 1px;
  animation: pulse 1.6s ease-in-out infinite alternate;
}
@keyframes pulse {
  from { transform: scaleY(0.6); }
  to   { transform: scaleY(1); }
}

.disciplines {
  position: absolute;
  left: 960px;
  top: 730px;
  list-style: none;
  border-left: 2px solid var(--crimson-bright);
  padding: 8px 0 8px 30px;
}
.disciplines li {
  font-family: var(--body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  line-height: 2.1;
  color: var(--muted);
}

/* ================= SECTION 4: GET IN TOUCH ================= */
.contact-inner {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  min-height: 870px;
  padding: 90px 100px 180px 115px;
  display: grid;
  grid-template-columns: 1fr 566px;
  gap: 60px;
  align-items: start;
}
.contact-info { padding-top: 20px; }
.contact-info .rule { margin: 32px 0 36px; }
.contact-info p {
  font-family: var(--body);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--muted);
  max-width: 460px;
}
.contact-list { list-style: none; margin-top: 38px; }
.contact-list li {
  display: flex;
  align-items: center;
  gap: 30px;
  font-family: var(--body);
  font-size: 15.5px;
  font-weight: 300;
  color: var(--ink);
  margin-bottom: 14px;
}
.contact-list svg {
  width: 20px; height: 20px;
  fill: none;
  stroke: var(--muted);
  stroke-width: 1.3;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.contact-info .script {
  font-family: var(--script);
  font-size: 46px;
  line-height: 0.9;
  color: var(--crimson-bright);
  transform: rotate(-12deg);
  margin: 60px 0 0 50px;
}
.contact-info .script span { padding-left: 80px; }

.contact-form {
  border: 1px solid var(--line);
  /* frosted glass: light blur, background still visible */
  background: rgba(10, 8, 8, 0.18);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  padding: 46px 34px 30px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; }
.contact-form label { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.contact-form label span {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-form input,
.contact-form textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--body);
  font-size: 15px;
  padding: 10px 0;
  width: 100%;
  min-width: 0;
  outline: none;
  transition: border-color 0.2s;
}
.contact-form textarea { resize: vertical; min-height: 110px; }
.contact-form input:focus,
.contact-form textarea:focus { border-bottom-color: var(--crimson-bright); }

.contact-form button {
  margin-top: 4px;
  background: transparent;
  border: 1px solid var(--crimson-bright);
  color: var(--ink);
  font-family: var(--body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  padding: 20px;
  cursor: pointer;
  transition: background 0.25s;
}
.contact-form button:hover { background: rgba(142, 37, 51, 0.25); }
.contact-form button .arrow { display: inline-block; margin-left: 18px; font-size: 16px; letter-spacing: 0; transition: transform 0.25s; }
.contact-form button:hover .arrow { transform: translateX(5px); }
.form-note { font-family: var(--body); font-size: 13px; color: var(--muted); text-align: center; min-height: 1em; }

.footer-tag {
  position: absolute;
  right: 80px;
  bottom: 70px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.footer-tag .line { width: 90px; height: 1px; background: var(--line); }
.footer-tag p {
  font-family: var(--body);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-align: right;
  line-height: 2.2;
  color: var(--muted);
}

/* ================= PORTFOLIO VIEW (Hidden Places = Screenplays) ================= */
body.folio-open { overflow: hidden; }
.folio {
  position: fixed;
  inset: 0;
  z-index: 100;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(142, 37, 51, 0.10), transparent 55%),
    linear-gradient(rgba(5, 4, 4, 0.93), rgba(5, 4, 4, 0.97)),
    #050404 url("images/stars-bg.jpg") center / cover no-repeat;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.folio[hidden] { display: block; visibility: hidden; pointer-events: none; }
.folio.open { opacity: 1; visibility: visible; pointer-events: auto; }
.folio-inner { max-width: 1060px; margin: 0 auto; padding: 110px 48px 140px; position: relative; }

.folio-close {
  position: fixed;
  top: 28px; left: max(32px, calc((100% - 1060px) / 2 + 48px));
  z-index: 2;
  background: rgba(5, 4, 4, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--ink);
  font-family: var(--body);
  font-size: 11px; font-weight: 500; letter-spacing: 3px; text-transform: uppercase;
  padding: 12px 20px;
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s;
}
.folio-close span { display: inline-block; margin-right: 10px; transition: transform 0.25s; }
.folio-close:hover { border-color: var(--crimson-bright); background: rgba(142, 37, 51, 0.18); }
.folio-close:hover span { transform: translateX(-4px); }

.folio-head { text-align: center; margin-bottom: 70px; }
.folio-kicker {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--body); font-size: 11px; letter-spacing: 3.5px; text-transform: uppercase;
  color: var(--muted);
}
.folio-kicker .dash { width: 46px; height: 1px; background: var(--crimson); }
.folio-head h2 {
  font-family: var(--serif-2); font-weight: 400; font-size: 50px; line-height: 1;
  text-transform: uppercase; letter-spacing: 1px; margin-top: 22px;
}
.folio-head .rule { margin: 26px auto 26px; }
.folio-intro {
  font-family: var(--body); font-size: 15.5px; font-weight: 300; line-height: 1.8;
  color: var(--muted); max-width: 520px; margin: 0 auto;
}
.folio-filter { display: inline-flex; gap: 6px; margin-top: 38px; flex-wrap: wrap; justify-content: center; }
.folio-filter button {
  background: transparent; border: 1px solid rgba(255, 255, 255, 0.12); color: var(--muted);
  font-family: var(--body); font-size: 10.5px; font-weight: 500; letter-spacing: 2.6px; text-transform: uppercase;
  padding: 10px 18px; cursor: pointer; transition: all 0.25s;
}
.folio-filter button:hover { color: var(--ink); border-color: rgba(255, 255, 255, 0.3); }
.folio-filter button.on { color: var(--ink); border-color: var(--crimson-bright); background: rgba(142, 37, 51, 0.16); }

/* each screenplay */
.sp-list { list-style: none; }
.sp {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 56px;
  align-items: center;
  padding: 44px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.sp:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.folio.open .sp { opacity: 1; transform: none; }
.sp.hide, .sp.off-page { display: none; }
.sp.reveal { animation: spIn 0.6s ease both; }
@keyframes spIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
/* page numbers under the screenplay list */
.folio-pages { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 50px; flex-wrap: wrap; }
.folio-pages[hidden] { display: none; }
.folio-pages button {
  min-width: 46px; height: 46px; padding: 0 10px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--muted);
  font-family: var(--body); font-size: 12px; font-weight: 500; letter-spacing: 2px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.folio-pages button:hover:not(:disabled) { color: var(--ink); border-color: rgba(255, 255, 255, 0.35); }
.folio-pages button.on { color: var(--ink); border-color: var(--crimson-bright); background: rgba(142, 37, 51, 0.18); }
.folio-pages button:disabled { opacity: 0.3; cursor: default; }
.folio-pages .arrow { font-size: 15px; letter-spacing: 0; }

/* the little screenplay title page */
.sp-cover {
  position: relative; display: flex; flex-direction: column; align-items: center;
  aspect-ratio: 8.5 / 11;
  padding: 30% 10% 9%;
  text-decoration: none;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(255,255,255,0.0), rgba(60,45,35,0.22) 100%),
    #d8d0c2;
  color: #1c1715;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(0, 0, 0, 0.4);
  filter: brightness(0.86) sepia(0.12);
  transform: rotate(-1.2deg);
  transition: transform 0.45s ease, filter 0.45s ease, box-shadow 0.45s ease;
}
.sp:nth-child(even) .sp-cover { transform: rotate(1deg); }
.sp-cover:hover, .sp:hover .sp-cover { transform: rotate(0) translateY(-6px); filter: brightness(0.97) sepia(0.06); box-shadow: 0 26px 50px rgba(0,0,0,0.6), 0 0 0 1px rgba(142,37,51,0.6); }
.sp-cover .brad {
  position: absolute; left: 9%; width: 7px; height: 7px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #e8cf8a, #8a6a2a 70%);
  box-shadow: 0 1px 1px rgba(0,0,0,0.5);
}
.sp-cover .brad:nth-child(1) { top: 13%; }
.sp-cover .brad:nth-child(2) { bottom: 13%; }
.sp-cover span:not(.brad) { font-family: "Courier Prime", "Courier New", monospace; text-align: center; }
.cv-title { font-size: 12px; font-weight: 700; letter-spacing: 0.5px; line-height: 1.35; text-decoration: underline; text-underline-offset: 3px; }
.cv-by { font-size: 9px; margin-top: 16%; }
.cv-name { font-size: 10px; margin-top: 4%; letter-spacing: 1px; }
.cv-draft { font-size: 8px; margin-top: auto; align-self: flex-end; opacity: 0.75; }

.sp-num { font-family: var(--body); font-size: 11px; letter-spacing: 2px; color: var(--crimson-bright); }
.sp h3 {
  font-family: var(--serif-2); font-weight: 400; font-size: 36px; line-height: 1.05;
  letter-spacing: 0.3px; margin-top: 10px;
}
.sp-meta { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 0; margin-top: 14px; }
.sp-meta li {
  font-family: var(--body); font-size: 10.5px; font-weight: 500; letter-spacing: 2.4px; text-transform: uppercase;
  color: var(--muted);
}
.sp-meta li + li::before { content: "/"; margin: 0 12px; color: rgba(255,255,255,0.25); }
.sp-log {
  font-family: var(--body); font-size: 15.5px; font-weight: 300; line-height: 1.8;
  color: rgba(242, 237, 230, 0.78); margin-top: 18px; max-width: 620px;
}
.sp-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 24px; max-width: 620px; flex-wrap: wrap; }
.sp-status {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--body); font-size: 10.5px; letter-spacing: 2.4px; text-transform: uppercase; color: var(--muted);
}
.sp-status i { width: 7px; height: 7px; border-radius: 50%; background: #7b746c; }
.sp-status.dev i   { background: var(--crimson-bright); box-shadow: 0 0 8px rgba(178, 40, 58, 0.8); }
.sp-status.write i { background: #c9a35a; box-shadow: 0 0 8px rgba(201, 163, 90, 0.6); }
.sp-status.done i  { background: #b9b2a8; }
.sp-read {
  font-family: var(--body); font-size: 11px; font-weight: 500; letter-spacing: 3px; text-transform: uppercase;
  color: var(--ink); text-decoration: none;
  padding: 12px 20px; border: 1px solid var(--crimson-bright);
  transition: background 0.25s;
}
.sp-read span { display: inline-block; margin-left: 10px; transition: transform 0.25s; }
.sp-read:hover { background: rgba(142, 37, 51, 0.25); }
.sp-read:hover span { transform: translateX(4px); }

@media (max-width: 1100px) {
  .folio-inner { padding: 100px 32px 120px; }
  .folio-close { top: 22px; left: 24px; }
  .sp { grid-template-columns: 150px 1fr; gap: 36px; }
  .sp h3 { font-size: 30px; }
}
@media (max-width: 640px) {
  .folio-inner { padding: 92px 18px 100px; }
  .folio-close { top: 16px; left: 14px; padding: 10px 14px; font-size: 10px; letter-spacing: 2.4px; }
  .folio-head { margin-bottom: 44px; }
  .folio-head h2 { font-size: 32px; }
  .folio-intro { font-size: 14px; }
  .folio-filter button { padding: 9px 12px; font-size: 9.5px; letter-spacing: 2px; }
  .sp { grid-template-columns: 96px 1fr; gap: 20px; padding: 30px 0; align-items: start; }
  .cv-title { font-size: 7px; } .cv-by { font-size: 5.5px; } .cv-name { font-size: 6px; } .cv-draft { font-size: 5px; }
  .sp-cover .brad { width: 5px; height: 5px; }
  .sp h3 { font-size: 23px; margin-top: 6px; }
  .sp-meta li { font-size: 9px; letter-spacing: 1.6px; }
  .sp-meta li + li::before { margin: 0 7px; }
  .sp-log { font-size: 13.5px; line-height: 1.7; margin-top: 12px; }
  .sp-foot { margin-top: 16px; gap: 14px; }
  .sp-read { padding: 10px 14px; font-size: 10px; letter-spacing: 2.4px; }
}
@media (prefers-reduced-motion: reduce) {
  .folio, .sp { transition: none; }
}

/* ================= SCRIPT READER ================= */
.reader {
  position: fixed; inset: 0; z-index: 110;
  overflow-y: auto; -webkit-overflow-scrolling: touch;
  background:
    radial-gradient(ellipse 60% 50% at 70% 30%, rgba(142, 37, 51, 0.12), transparent 70%),
    linear-gradient(rgba(5, 4, 4, 0.94), rgba(5, 4, 4, 0.98)),
    #050404 url("images/stars-bg.jpg") center / cover no-repeat;
  opacity: 0; transition: opacity 0.5s ease;
}
.reader[hidden] { display: block; visibility: hidden; pointer-events: none; }
.reader.open { opacity: 1; visibility: visible; pointer-events: auto; }
.reader-close { z-index: 3; }
.reader-inner {
  max-width: 1160px; margin: 0 auto;
  padding: 120px 48px 60px;
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 72px; align-items: start;
}

/* left: the story */
.rd-info { position: sticky; top: 110px; }
.rd-info h2 {
  font-family: var(--serif-2); font-weight: 400; font-size: 50px; line-height: 1.02;
  margin-top: 12px;
}
.rd-info .rule { margin: 28px 0 30px; }
.rd-info h4 {
  font-family: var(--body); font-size: 10px; font-weight: 600; letter-spacing: 3px;
  text-transform: uppercase; color: rgba(242, 237, 230, 0.5); margin: 26px 0 10px;
}
.rd-info h4:first-of-type { margin-top: 0; }
.rd-log {
  font-family: var(--serif-2); font-style: italic; font-size: 21px; line-height: 1.5; color: var(--ink);
}
.rd-syn {
  font-family: var(--body); font-weight: 300; font-size: 15px; line-height: 1.85;
  color: rgba(242, 237, 230, 0.75);
}
.rd-facts {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.rd-facts dt {
  font-family: var(--body); font-size: 9.5px; font-weight: 600; letter-spacing: 2.5px;
  text-transform: uppercase; color: rgba(242, 237, 230, 0.45);
}
.rd-facts dd { margin-top: 8px; font-family: var(--body); font-size: 13px; letter-spacing: 1px; color: var(--ink); }
.rd-facts dd .sp-status { font-size: 10.5px; color: var(--ink); }
.rd-cta {
  display: inline-flex; align-items: center; gap: 14px; margin-top: 34px;
  border: 1px solid var(--crimson-bright); color: var(--ink); text-decoration: none;
  font-family: var(--body); font-size: 11px; font-weight: 500; letter-spacing: 3.5px; text-transform: uppercase;
  padding: 16px 24px; transition: background 0.25s;
}
.rd-cta:hover { background: rgba(142, 37, 51, 0.25); }
.rd-cta span { transition: transform 0.25s; }
.rd-cta:hover span { transform: translateX(4px); }

/* right: the script page */
.rd-label {
  display: flex; align-items: center; gap: 14px; margin-bottom: 18px;
  font-family: var(--body); font-size: 10px; font-weight: 500; letter-spacing: 3px;
  text-transform: uppercase; color: rgba(242, 237, 230, 0.55);
}
.rd-label .dash { width: 40px; height: 1px; background: var(--crimson); }
.rd-paper {
  position: relative;
  background:
    radial-gradient(ellipse at 40% 20%, rgba(255, 255, 255, 0.35), transparent 60%),
    radial-gradient(ellipse at 50% 50%, transparent 55%, rgba(60, 45, 35, 0.25) 100%),
    #ddd5c7;
  color: #1c1715;
  padding: 64px 9% 56px 15%;
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(0, 0, 0, 0.4);
  filter: brightness(0.9) sepia(0.1);
  transform: rotate(0.6deg) translateY(24px);
  opacity: 0;
  transition: transform 0.8s cubic-bezier(.2,.7,.2,1) 0.1s, opacity 0.6s ease 0.1s;
}
.reader.open .rd-paper { transform: rotate(0.6deg); opacity: 1; }
/* sheets underneath */
.rd-paper::before, .rd-paper::after {
  content: ""; position: absolute; inset: 0; z-index: -1; background: #cfc6b6;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35);
}
.rd-paper::before { transform: rotate(-1.4deg) translate(-6px, 6px); }
.rd-paper::after  { transform: rotate(1.2deg) translate(7px, 10px); background: #c4bba9; }
.rd-paper .brad {
  position: absolute; left: 4.5%; width: 10px; height: 10px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #f0d998, #8a6a2a 70%);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}
.rd-paper .brad:nth-child(1) { top: 9%; }
.rd-paper .brad:nth-child(2) { top: 50%; }
.rd-paper .brad:nth-child(3) { bottom: 9%; }
.rd-pg { position: absolute; top: 28px; right: 9%; font-family: "Courier Prime", "Courier New", monospace; font-size: 13px; }

/* screenplay formatting */
.rd-script { font-family: "Courier Prime", "Courier New", monospace; font-size: 14px; line-height: 1.5; }
.rd-script p { margin: 0; }
.rd-script .sc { margin-top: 1.5em; font-weight: 700; text-transform: uppercase; }
.rd-script .ac { margin-top: 1em; }
.rd-script .ch { margin-top: 1em; margin-left: 38%; text-transform: uppercase; }
.rd-script .pa { margin-left: 31%; max-width: 40%; }
.rd-script .di { margin-left: 22%; max-width: 58%; }
.rd-script .tr { margin-top: 1em; text-align: right; text-transform: uppercase; }
.rd-script > :first-child { margin-top: 0; }
.rd-cont { margin-top: 2em; text-align: right; font-family: "Courier Prime", "Courier New", monospace; font-size: 13px; opacity: 0.7; }

/* bottom: previous / next screenplay */
.rd-nav {
  max-width: 1160px; margin: 0 auto; padding: 30px 48px 90px;
  display: flex; justify-content: space-between; gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.rd-nav button {
  background: none; border: none; cursor: pointer; color: var(--muted);
  display: inline-flex; align-items: baseline; gap: 14px; padding: 10px 0; max-width: 48%;
  transition: color 0.2s;
}
.rd-nav button:hover:not(:disabled) { color: var(--ink); }
.rd-nav button:disabled { visibility: hidden; }
.rd-nav .lb { font-family: var(--body); font-size: 10px; font-weight: 500; letter-spacing: 3px; text-transform: uppercase; opacity: 0.6; }
.rd-nav .t { font-family: var(--serif-2); font-size: 22px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rd-nav .ar { font-size: 16px; color: var(--crimson-bright); }
#rd-next { text-align: right; margin-left: auto; }

@media (max-width: 1100px) {
  .reader-inner { grid-template-columns: 1fr; gap: 54px; padding: 100px 32px 50px; max-width: 720px; }
  .rd-info { position: static; }
  .rd-nav { padding: 26px 32px 70px; max-width: 720px; }
}
@media (max-width: 640px) {
  .reader-inner { padding: 86px 18px 40px; gap: 44px; }
  .rd-info h2 { font-size: 34px; }
  .rd-log { font-size: 18px; }
  .rd-syn { font-size: 14px; }
  .reader { overflow-x: hidden; }
  .rd-paper-wrap { padding: 0 8px 0 4px; }
  .rd-paper { padding: 44px 6% 40px 12%; }
  .rd-paper, .reader.open .rd-paper { transform: rotate(0.3deg); }
  .rd-paper::before { transform: rotate(-0.8deg) translate(-3px, 4px); }
  .rd-paper::after  { transform: rotate(0.7deg) translate(4px, 6px); }
  .rd-pg { top: 18px; font-size: 11px; }
  .rd-script { font-size: 11.5px; }
  .rd-script .ch { margin-left: 30%; }
  .rd-script .pa { margin-left: 22%; max-width: 55%; }
  .rd-script .di { margin-left: 12%; max-width: 76%; }
  .rd-nav { padding: 22px 18px 60px; }
  .rd-nav .lb { display: none; }
  .rd-nav .t { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .reader, .rd-paper { transition: none; }
}

/* ================= FULL SCRIPT (page by page) ================= */
.fullscript {
  position: fixed; inset: 0; z-index: 120;
  overflow-y: auto; -webkit-overflow-scrolling: touch;
  background: #0b0909 radial-gradient(ellipse 70% 50% at 50% 0%, rgba(142, 37, 51, 0.10), transparent 70%);
  opacity: 0; transition: opacity 0.45s ease;
}
.fullscript[hidden] { display: block; visibility: hidden; pointer-events: none; }
.fullscript.open { opacity: 1; visibility: visible; pointer-events: auto; }
.fs-bar {
  position: sticky; top: 0; z-index: 2;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  padding: 16px 28px;
  background: rgba(8, 6, 6, 0.78);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.fs-back {
  justify-self: start; background: none; border: 1px solid rgba(255, 255, 255, 0.14); color: var(--ink); cursor: pointer;
  font-family: var(--body); font-size: 10.5px; font-weight: 500; letter-spacing: 3px; text-transform: uppercase;
  padding: 10px 16px; transition: border-color 0.2s, background 0.2s;
}
.fs-back:hover { border-color: var(--crimson-bright); background: rgba(142, 37, 51, 0.18); }
.fs-back span { margin-right: 8px; }
.fs-title { font-family: "Courier Prime", "Courier New", monospace; font-weight: 700; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink); text-align: center; }
.fs-count { justify-self: end; font-family: var(--body); font-size: 10.5px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--muted); }

.fs-pages { --in: 84.7px; display: flex; flex-direction: column; align-items: center; gap: 34px; padding: 44px 20px 120px; }
.fs-page {
  position: relative;
  width: min(720px, 100%);
  aspect-ratio: 8.5 / 11;
  background:
    radial-gradient(ellipse at 40% 15%, rgba(255, 255, 255, 0.3), transparent 60%),
    radial-gradient(ellipse at 50% 50%, transparent 60%, rgba(60, 45, 35, 0.2) 100%),
    #ddd5c7;
  color: #1c1715;
  filter: brightness(0.92) sepia(0.08);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(0, 0, 0, 0.4);
  font-family: "Courier Prime", "Courier New", monospace;
  /* real screenplay margins: 1.5in left, 1in right/top/bottom (--in = one inch of this page) */
  padding: var(--in) var(--in) var(--in) calc(var(--in) * 1.5);
  overflow: hidden;
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fs-page.seen { opacity: 1; transform: none; }
.fs-page .fs-flow { height: 100%; overflow: hidden; line-height: 1.5; }
.fs-page .pgno { position: absolute; top: calc(var(--in) * 0.5); right: var(--in); }
.fs-page p { margin: 0; }
.fs-page .sc { margin-top: 1.5em; font-weight: 700; text-transform: uppercase; }
.fs-page .ac { margin-top: 1em; }
.fs-page .ins { margin-top: 1em; margin-left: 10%; margin-right: 10%; }
.fs-page .ch { margin-top: 1em; margin-left: 37%; text-transform: uppercase; }
.fs-page .pa { margin-left: 30%; max-width: 38%; }
.fs-page .di { margin-left: 17%; max-width: 62%; }
.fs-page .tr { margin-top: 1em; text-align: right; text-transform: uppercase; }
.fs-page .end { margin-top: 3em; text-align: center; font-weight: 700; letter-spacing: 2px; }
.fs-page .grp { break-inside: avoid; }
.fs-page .fs-flow > :first-child, .fs-page .fs-flow > .grp:first-child > :first-child { margin-top: 0; }
/* title page */
.fs-page.title { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: calc(var(--in) * 3.3); }
.fs-page.title .t { font-weight: 700; text-transform: uppercase; text-decoration: underline; text-underline-offset: 0.35em; letter-spacing: 0.06em; font-size: 1.15em; }
.fs-page.title .w { margin-top: 3em; line-height: 2; }
.fs-page.title .contact { position: absolute; left: calc(var(--in) * 1.5); bottom: var(--in); text-align: left; line-height: 1.6; font-size: 0.9em; }
.fs-page.title .draft { position: absolute; right: var(--in); bottom: var(--in); font-size: 0.9em; }

@media (max-width: 640px) {
  .fs-bar { grid-template-columns: auto 1fr auto; padding: 12px 14px; gap: 10px; }
  .fs-title { font-size: 10.5px; letter-spacing: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .fs-back { padding: 9px 12px; font-size: 9.5px; letter-spacing: 2px; }
  .fs-count { font-size: 9px; letter-spacing: 1.5px; }
  .fs-pages { gap: 22px; padding: 26px 12px 90px; }
}
@media (prefers-reduced-motion: reduce) { .fs-page { transition: none; opacity: 1; transform: none; } }

/* ================= FORGOTTEN SPACES: GALLERY ================= */
.gallery {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(80, 110, 130, 0.10), transparent 55%),
    linear-gradient(rgba(5, 4, 4, 0.93), rgba(5, 4, 4, 0.97)),
    #050404 url("images/stars-bg.jpg") center / cover no-repeat;
}
.gal-inner { max-width: 1240px; }
.gal-tabs { display: inline-flex; margin-top: 40px; border: 1px solid rgba(255, 255, 255, 0.14); }
.gal-tabs button {
  background: transparent; border: none; cursor: pointer; color: var(--muted);
  font-family: var(--serif-2); font-size: 22px; letter-spacing: 1px;
  padding: 12px 34px; transition: color 0.25s, background 0.25s;
}
.gal-tabs button + button { border-left: 1px solid rgba(255, 255, 255, 0.14); }
.gal-tabs button:hover { color: var(--ink); }
.gal-tabs button.on { color: var(--ink); background: rgba(142, 37, 51, 0.22); }
.gal-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 26px; margin-top: 26px; }
.gal-chips[hidden] { display: none; }
.gal-chips button {
  background: none; border: none; cursor: pointer; padding: 6px 0;
  font-family: var(--body); font-size: 10.5px; font-weight: 500; letter-spacing: 2.6px; text-transform: uppercase;
  color: var(--muted); opacity: 0.75; border-bottom: 1px solid transparent; transition: opacity 0.2s, border-color 0.2s;
}
.gal-chips button:hover { opacity: 1; }
.gal-chips button.on { opacity: 1; color: var(--ink); border-color: var(--crimson-bright); }

/* film: wide cinema tiles */
.gal-grid { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 34px; }
.gal-grid .gi { display: none; }
.gal-grid .gi.show { display: block; animation: giIn 0.6s ease both; }
@keyframes giIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.gi-media {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9;
  border: 1px solid rgba(255, 255, 255, 0.08); cursor: pointer; padding: 0;
  box-shadow: 0 24px 50px -18px rgba(0, 0, 0, 0.8);
  transition: transform 0.45s ease, box-shadow 0.45s ease, filter 0.45s ease;
  filter: saturate(0.9) brightness(0.92);
  overflow: hidden;
}
.gi-media::after {   /* soft vignette */
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 50%, transparent 55%, rgba(0, 0, 0, 0.45) 100%);
}
.gi-media:hover { transform: translateY(-5px); filter: saturate(1.05) brightness(1); box-shadow: 0 30px 60px -18px rgba(0,0,0,0.9), 0 0 0 1px rgba(142,37,51,0.6); }
.gi-play {
  position: absolute; z-index: 1; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px;
  border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(5, 4, 4, 0.35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: transform 0.3s, background 0.3s;
}
.gi-play::before {
  content: ""; position: absolute; left: 26px; top: 21px;
  border-left: 16px solid #f2ede6; border-top: 11px solid transparent; border-bottom: 11px solid transparent;
}
.gi-media:hover .gi-play { transform: scale(1.08); background: rgba(142, 37, 51, 0.55); }
.gi-dur, .gi-still {
  position: absolute; z-index: 1; right: 12px; bottom: 12px;
  font-family: var(--body); font-size: 10px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase;
  color: #f2ede6; background: rgba(5, 4, 4, 0.6); padding: 5px 9px;
}
.gi-still { opacity: 0; transition: opacity 0.3s; }
.gi-media:hover .gi-still { opacity: 1; }
.gi-cap { margin-top: 16px; }
.gi-cat {
  font-family: var(--body); font-size: 10px; font-weight: 500; letter-spacing: 2.6px; text-transform: uppercase;
  color: var(--crimson-bright);
}
.gi-cap h3 { font-family: var(--serif-2); font-weight: 400; font-size: 25px; line-height: 1.15; margin-top: 6px; }

/* 3D art: gallery wall of mixed shapes */
.gal-grid:is([data-medium="art"], [data-medium="mix"]) { display: block; columns: 3; column-gap: 26px; }
.gal-grid:is([data-medium="art"], [data-medium="mix"]) .gi.show { break-inside: avoid; margin-bottom: 34px; display: inline-block; width: 100%; }
.gal-grid:is([data-medium="art"], [data-medium="mix"]) .gi[data-orient="tall"] .gi-media   { aspect-ratio: 4 / 5; }
.gal-grid:is([data-medium="art"], [data-medium="mix"]) .gi[data-orient="square"] .gi-media { aspect-ratio: 1 / 1; }
.gal-grid:is([data-medium="art"], [data-medium="mix"]) .gi[data-orient="wide"] .gi-media   { aspect-ratio: 3 / 2; }
.gal-grid:is([data-medium="art"], [data-medium="mix"]) .gi-cap h3 { font-size: 21px; }

.gal-pages { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 30px; flex-wrap: wrap; }
.gal-pages[hidden] { display: none; }
.gal-pages button {
  min-width: 46px; height: 46px; padding: 0 10px; background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.14); color: var(--muted);
  font-family: var(--body); font-size: 12px; font-weight: 500; letter-spacing: 2px; cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.gal-pages button:hover:not(:disabled) { color: var(--ink); border-color: rgba(255, 255, 255, 0.35); }
.gal-pages button.on { color: var(--ink); border-color: var(--crimson-bright); background: rgba(142, 37, 51, 0.18); }
.gal-pages button:disabled { opacity: 0.3; cursor: default; }
.gal-pages .arrow { font-size: 15px; letter-spacing: 0; }

/* placeholder art (replaced by your own renders via data-src) */
.ph-film {
  background:
    radial-gradient(ellipse 18% 30% at 72% 46%, rgba(255, 214, 160, 0.75), transparent 70%),
    linear-gradient(180deg, transparent 58%, rgba(0, 0, 0, 0.85) 58.5%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 2px, transparent 2px 64px),
    radial-gradient(ellipse at 30% 40%, #1e3a46, #0b1418 70%);
}
.ph-film2 {
  background:
    linear-gradient(90deg, transparent 20%, rgba(150, 220, 255, 0.06) 20% 21%, transparent 21% 50%, rgba(150,220,255,0.06) 50% 51%, transparent 51%),
    radial-gradient(ellipse 22% 26% at 50% 45%, rgba(170, 225, 255, 0.55), transparent 70%),
    radial-gradient(ellipse at 50% 120%, rgba(142, 37, 51, 0.7), transparent 60%),
    #0a0d12;
}
.ph-liminal {
  background:
    radial-gradient(ellipse 50% 14% at 50% 0%, rgba(255, 252, 215, 0.95), transparent 80%),
    linear-gradient(#141210, #141210) 50% 64% / 12% 34% no-repeat,
    linear-gradient(180deg, #d9cf8f 0%, #cdbf78 64%, #8f845a 64.5%, #6c6342 100%);
}
.ph-liminal2 {
  background:
    radial-gradient(ellipse 60% 18% at 50% 6%, rgba(240, 255, 255, 0.9), transparent 80%),
    linear-gradient(180deg, transparent 55%, rgba(120, 220, 230, 0.75) 55.3%, #2e7f8f 100%),
    repeating-linear-gradient(90deg, #dfe8e6 0 30px, #c9d6d3 30px 32px),
    #dfe8e6;
}
.ph-light {
  background:
    radial-gradient(ellipse 12% 26% at 50% 52%, rgba(10, 8, 8, 0.95), rgba(10, 8, 8, 0) 70%),
    radial-gradient(ellipse 30% 46% at 50% 55%, rgba(255, 210, 160, 0.55), transparent 70%),
    linear-gradient(180deg, rgba(255, 210, 160, 0.18), transparent 60%),
    #080707;
}
.ph-light2 {
  background:
    radial-gradient(ellipse 10% 34% at 46% 56%, #050505, rgba(5, 5, 5, 0) 75%),
    radial-gradient(ellipse 24% 52% at 54% 52%, rgba(140, 190, 255, 0.5), transparent 70%),
    radial-gradient(ellipse at 20% 100%, rgba(142, 37, 51, 0.5), transparent 55%),
    #07080b;
}
.ph-arch {
  background:
    linear-gradient(115deg, transparent 52%, rgba(255, 236, 200, 0.55) 52% 60%, transparent 60%),
    linear-gradient(180deg, #cfc9bf 0%, #bdb6aa 70%, #8d867b 70.4%, #6f695f 100%),
    #cfc9bf;
}
.ph-arch2 {
  background:
    radial-gradient(ellipse 30% 40% at 70% 20%, rgba(255, 190, 120, 0.6), transparent 70%),
    repeating-linear-gradient(180deg, transparent 0 46px, rgba(0, 0, 0, 0.25) 46px 48px),
    linear-gradient(90deg, #3a3430 0 18%, #6b6158 18% 82%, #3a3430 82%);
}
.ph-psy {
  background:
    radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0) 0 18%, rgba(0, 0, 0, 0.35) 60%),
    conic-gradient(from 30deg at 50% 50%, #ff2d6f, #ffb340, #7cff5a, #35d4ff, #7d4bff, #ff2d6f);
}
.ph-psy2 {
  background:
    repeating-radial-gradient(circle at 50% 55%, rgba(255, 255, 255, 0) 0 14px, rgba(0, 0, 0, 0.28) 14px 22px),
    radial-gradient(circle at 50% 55%, #ffe36b, #ff4fa3 35%, #5b2bff 70%, #0b0618);
}

/* ================= VIEWER ================= */
.viewer {
  position: fixed; inset: 0; z-index: 115; overflow-y: auto; -webkit-overflow-scrolling: touch;
  background: rgba(3, 2, 2, 0.96);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  opacity: 0; transition: opacity 0.4s ease;
  padding: 96px 48px 50px;
}
.viewer[hidden] { display: block; visibility: hidden; pointer-events: none; }
.viewer.open { opacity: 1; visibility: visible; pointer-events: auto; }
.viewer-close { z-index: 3; }
.vw-stage { position: relative; max-width: 1180px; margin: 0 auto; display: flex; align-items: center; justify-content: center; }
.vw-media { width: 100%; display: flex; justify-content: center; }
.vw-media > * {
  max-width: 100%; max-height: 72vh; display: block;
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.vw-media img { object-fit: contain; }
.vw-media video, .vw-media iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; background: #000; }
.vw-media .ph { position: relative; width: 100%; aspect-ratio: 16 / 9; }
.vw-media .ph.tall   { aspect-ratio: 4 / 5; width: auto; height: 72vh; }
.vw-media .ph.square { aspect-ratio: 1 / 1; width: auto; height: 72vh; }
.vw-media .ph.wide-s { aspect-ratio: 3 / 2; }
.vw-media .ph span {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); white-space: nowrap;
  font-family: var(--body); font-size: 10px; letter-spacing: 2.5px; text-transform: uppercase;
  color: #f2ede6; background: rgba(5, 4, 4, 0.6); padding: 6px 12px;
}
.vw-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(5, 4, 4, 0.55); border: 1px solid rgba(255, 255, 255, 0.18); color: var(--ink);
  font-size: 26px; line-height: 1; cursor: pointer; transition: background 0.2s, border-color 0.2s;
}
.vw-arrow:hover:not(:disabled) { background: rgba(142, 37, 51, 0.4); border-color: var(--crimson-bright); }
.vw-arrow:disabled { opacity: 0.2; cursor: default; }
.vw-arrow.prev { left: -70px; } .vw-arrow.next { right: -70px; }
.vw-info {
  max-width: 1180px; margin: 34px auto 0; display: grid; grid-template-columns: 1.5fr 1fr; gap: 50px;
  padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.vw-main h2 { font-family: var(--serif-2); font-weight: 400; font-size: 40px; line-height: 1.05; margin-top: 8px; }
.vw-desc { margin-top: 14px; font-family: var(--body); font-weight: 300; font-size: 15px; line-height: 1.8; color: rgba(242, 237, 230, 0.75); max-width: 620px; }
.vw-facts { display: grid; gap: 16px; align-content: start; }
.vw-facts dt { font-family: var(--body); font-size: 9.5px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; color: rgba(242, 237, 230, 0.45); }
.vw-facts dd { margin-top: 5px; font-family: var(--body); font-size: 14px; color: var(--ink); }
.vw-count { max-width: 1180px; margin: 26px auto 0; text-align: right; font-family: var(--body); font-size: 10.5px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--muted); }

@media (max-width: 1100px) {
  .gal-grid:is([data-medium="art"], [data-medium="mix"]) { columns: 2; }
  .viewer { padding: 86px 32px 40px; }
  .vw-arrow.prev { left: 10px; } .vw-arrow.next { right: 10px; }
  .vw-info { grid-template-columns: 1fr; gap: 26px; }
  .vw-facts { grid-template-columns: repeat(3, 1fr); }
  .vw-media .ph.tall, .vw-media .ph.square { height: auto; width: 100%; max-height: 72vh; }
}
@media (max-width: 640px) {
  .gal-tabs button { font-size: 18px; padding: 10px 24px; }
  .gal-chips { gap: 4px 16px; }
  .gal-chips button { font-size: 9.5px; letter-spacing: 2px; }
  .gal-grid { grid-template-columns: 1fr; gap: 34px; }
  .gal-grid:is([data-medium="art"], [data-medium="mix"]) { columns: 2; column-gap: 12px; }
  .gal-grid:is([data-medium="art"], [data-medium="mix"]) .gi.show { margin-bottom: 22px; }
  .gal-grid:is([data-medium="art"], [data-medium="mix"]) .gi-cap h3 { font-size: 16px; }
  .gal-grid:is([data-medium="art"], [data-medium="mix"]) .gi-cat { font-size: 8.5px; letter-spacing: 1.6px; }
  .viewer { padding: 76px 14px 34px; }
  .vw-arrow { width: 40px; height: 40px; font-size: 20px; }
  .vw-main h2 { font-size: 28px; }
  .vw-desc { font-size: 14px; }
  .vw-facts { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) { .gal-grid .gi.show { animation: none; } }

/* ================= COLLECTIONS (e.g. Level 0) ================= */
/* gallery tile: a stack of frames */
.gi-stack { display: none; }
.gi-coll .gi-media, .gi-coll .gi-media:hover {
  box-shadow:
    8px -8px 0 -1px #24211d, 8px -8px 0 0 rgba(255, 255, 255, 0.16),
    16px -16px 0 -1px #191714, 16px -16px 0 0 rgba(255, 255, 255, 0.09),
    0 24px 50px -18px rgba(0, 0, 0, 0.8);
}
.gi-coll { padding-top: 16px; }
.gi-collbadge {
  position: absolute; z-index: 1; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px; white-space: nowrap;
  font-family: var(--body); color: #f2ede6;
  background: rgba(5, 4, 4, 0.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.35); padding: 12px 20px;
  transition: background 0.3s;
}
.gi-collbadge b { font-weight: 500; font-size: 10px; letter-spacing: 3px; text-transform: uppercase; }
.gi-collbadge small { font-size: 9.5px; letter-spacing: 2px; text-transform: uppercase; opacity: 0.75; }
.gi-coll .gi-media:hover .gi-collbadge { background: rgba(142, 37, 51, 0.55); }

/* the collection page */
.coll {
  position: fixed; inset: 0; z-index: 112; overflow-y: auto; -webkit-overflow-scrolling: touch;
  background:
    radial-gradient(ellipse 70% 40% at 50% 0%, rgba(214, 200, 120, 0.10), transparent 70%),
    linear-gradient(rgba(5, 4, 4, 0.95), rgba(5, 4, 4, 0.98)),
    #050404 url("images/stars-bg.jpg") center / cover no-repeat;
  opacity: 0; transition: opacity 0.45s ease;
}
.coll[hidden] { display: block; visibility: hidden; pointer-events: none; }
.coll.open { opacity: 1; visibility: visible; pointer-events: auto; }
.coll-close { z-index: 3; }
.coll-inner { max-width: 1240px; margin: 0 auto; padding: 110px 48px 130px; }
.coll-head { text-align: center; margin-bottom: 56px; }
.coll-head h2 { font-family: var(--serif-2); font-weight: 400; font-size: 64px; line-height: 1; margin-top: 18px; text-transform: uppercase; letter-spacing: 2px; }
.coll-head .rule { margin: 26px auto; }
.coll-stats { margin-top: 22px; font-family: var(--body); font-size: 10.5px; letter-spacing: 3px; text-transform: uppercase; color: var(--crimson-bright); }

.coll-feature { margin-bottom: 90px; }
.coll-feature .ang-tile { aspect-ratio: 21 / 9; }
.coll-feature .ang-cap h4 { font-size: 26px; }

.loc { margin-top: 70px; }
.loc-head { display: grid; grid-template-columns: auto 1fr; gap: 6px 22px; align-items: baseline; }
.loc-num { font-family: var(--body); font-size: 10.5px; letter-spacing: 3px; text-transform: uppercase; color: var(--crimson-bright); grid-row: span 2; align-self: start; padding-top: 10px; }
.loc-head h3 { font-family: var(--serif-2); font-weight: 400; font-size: 36px; line-height: 1.05; }
.loc-head p { font-family: var(--body); font-weight: 300; font-size: 14.5px; line-height: 1.7; color: rgba(242, 237, 230, 0.7); max-width: 640px; }
.loc-head .loc-count { grid-column: 2; font-family: var(--body); font-size: 10px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--muted); }
.loc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 22px; padding-top: 30px; }

/* collapsed by default: header + cover act as the toggle */
.loc-toggle { cursor: pointer; outline: none; }
.loc-toggle:focus-visible .loc-cover { outline: 1px solid var(--crimson-bright); outline-offset: 4px; }
.loc-toggle .loc-head { margin-bottom: 22px; }
.loc-cover {
  position: relative; aspect-ratio: 21 / 9; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.9);
  transition: box-shadow 0.4s;
}
.loc-toggle:hover .loc-cover { box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(142, 37, 51, 0.6); }
.loc-slide {
  position: absolute; inset: -2%;
  opacity: 0; transform: scale(1.02);
  transition: opacity 1.6s ease, transform 6s linear;
  filter: saturate(0.92) brightness(0.9);
}
.loc-slide.on { opacity: 1; transform: scale(1.09); }
.loc-cover::after {    /* dark fade along the bottom so the button reads */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(5, 4, 4, 0.75) 100%),
              radial-gradient(ellipse at 50% 50%, transparent 60%, rgba(0, 0, 0, 0.4) 100%);
}
.loc-cta {
  position: absolute; z-index: 2; left: 50%; bottom: 22px; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 12px; white-space: nowrap;
  font-family: var(--body); font-size: 11px; font-weight: 500; letter-spacing: 3.5px; text-transform: uppercase; color: #f2ede6;
  background: rgba(5, 4, 4, 0.5); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3); padding: 12px 20px;
  transition: background 0.3s, border-color 0.3s;
}
.loc-toggle:hover .loc-cta { background: rgba(142, 37, 51, 0.55); border-color: var(--crimson-bright); }
.loc-cta i { font-style: normal; font-size: 16px; line-height: 0.6; transition: transform 0.4s; }
.loc-cta .close-t { display: none; }
.loc.open .loc-cta .open-t { display: none; }
.loc.open .loc-cta .close-t { display: inline; }
.loc.open .loc-cta i { transform: rotate(180deg); }
.loc-dots { position: absolute; z-index: 2; right: 18px; top: 16px; display: flex; gap: 6px; }
.loc-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, 0.35); transition: background 0.4s; }
.loc-dots i.on { background: #f2ede6; }

.loc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.6s ease; }
.loc.open .loc-body { grid-template-rows: 1fr; }
.loc-body-in { overflow: hidden; min-height: 0; }
.loc-body .loc-grid { opacity: 0; transform: translateY(-10px); transition: opacity 0.5s ease 0.1s, transform 0.5s ease 0.1s; }
.loc.open .loc-body .loc-grid { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .loc-slide, .loc-body, .loc-body .loc-grid { transition: none; }
  .loc-slide.on { transform: none; }
}

.ang-btn { all: unset; display: block; cursor: pointer; width: 100%; }
.ang-btn:focus-visible .ang-tile { outline: 1px solid var(--crimson-bright); outline-offset: 4px; }
.ang-tile {
  position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  filter: saturate(0.9) brightness(0.92);
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 0.8);
  transition: transform 0.4s ease, filter 0.4s ease, box-shadow 0.4s ease;
}
.ang-tile::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 50%, transparent 55%, rgba(0,0,0,0.45) 100%); }
.ang-btn:hover .ang-tile { transform: translateY(-4px); filter: saturate(1.05) brightness(1); box-shadow: 0 26px 50px -18px rgba(0,0,0,0.9), 0 0 0 1px rgba(142,37,51,0.6); }
.ang-tile .gi-play { width: 50px; height: 50px; margin: -25px 0 0 -25px; }
.ang-tile .gi-play::before { left: 20px; top: 16px; border-left-width: 13px; border-top-width: 9px; border-bottom-width: 9px; }
.ang-no {
  position: absolute; z-index: 1; left: 10px; top: 10px;
  font-family: var(--body); font-size: 9.5px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase;
  color: #f2ede6; background: rgba(5, 4, 4, 0.6); padding: 4px 8px;
}
.ang-cap { margin-top: 12px; }
.ang-cap h4 { font-family: var(--serif-2); font-weight: 400; font-size: 20px; line-height: 1.15; }
.ang-cap p { margin-top: 4px; font-family: var(--body); font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }

/* more placeholder moods for the angles */
.ph-pool-a {
  background:
    radial-gradient(ellipse 70% 20% at 50% 0%, rgba(240, 255, 255, 0.95), transparent 80%),
    linear-gradient(180deg, transparent 48%, rgba(140, 235, 240, 0.85) 48.4%, #2c8a99 100%),
    repeating-linear-gradient(90deg, #e9f1ef 0 22px, #cfdcd9 22px 24px),
    #e9f1ef;
}
.ph-pool-b {
  background:
    linear-gradient(180deg, transparent 70%, rgba(110, 210, 220, 0.8) 70.4%, #24707e 100%),
    repeating-linear-gradient(0deg, transparent 0 22px, rgba(0, 0, 0, 0.1) 22px 24px),
    repeating-linear-gradient(90deg, #dde8e5 0 22px, #c3d1ce 22px 24px),
    linear-gradient(90deg, #9fb3b0 0 22%, transparent 22% 78%, #9fb3b0 78%);
}
.ph-pool-c {
  background:
    radial-gradient(ellipse 40% 30% at 50% 35%, rgba(255, 255, 255, 0.7), transparent 75%),
    repeating-linear-gradient(170deg, rgba(255, 255, 255, 0.12) 0 6px, transparent 6px 18px),
    linear-gradient(180deg, #8fd9df, #2a7f8e);
}
.ph-hall-b {
  background:
    radial-gradient(ellipse 30% 12% at 50% 0%, rgba(255, 250, 210, 0.95), transparent 80%),
    linear-gradient(100deg, #b8ab68 0 30%, transparent 30%),
    linear-gradient(#141210, #141210) 62% 60% / 6% 30% no-repeat,
    linear-gradient(180deg, #d6cb8a 0%, #c9bb73 66%, #857a50 66.5%, #625a3c 100%);
}
.ph-garage {
  background:
    radial-gradient(ellipse 22% 40% at 50% 10%, rgba(255, 180, 90, 0.7), transparent 75%),
    linear-gradient(180deg, transparent 62%, #2b2a27 62.4%, #1b1a18 100%),
    repeating-linear-gradient(90deg, transparent 0 18%, rgba(240, 230, 140, 0.25) 18% 18.6%),
    linear-gradient(180deg, #4a453d, #2e2b26);
}
.ph-garage-b {
  background:
    repeating-linear-gradient(90deg, #3d3934 0 9%, #6a645a 9% 13%, #3d3934 13% 22%),
    radial-gradient(ellipse at 50% 0%, rgba(255, 190, 110, 0.4), transparent 60%),
    #2e2b26;
  background-blend-mode: normal, screen, normal;
}

@media (max-width: 1100px) {
  .coll-inner { padding: 100px 32px 110px; }
  .loc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .coll-head h2 { font-size: 50px; }
}
@media (max-width: 640px) {
  .coll-inner { padding: 88px 16px 90px; }
  .coll-head h2 { font-size: 34px; }
  .coll-feature { margin-bottom: 60px; }
  .coll-feature .ang-tile { aspect-ratio: 16 / 9; }
  .loc { margin-top: 50px; }
  .loc-head { grid-template-columns: 1fr; }
  .loc-num { grid-row: auto; padding-top: 0; }
  .loc-head .loc-count { grid-column: 1; }
  .loc-head h3 { font-size: 28px; }
  .loc-grid { gap: 22px 12px; }
  .loc-cover { aspect-ratio: 16 / 10; }
  .loc-cta { font-size: 9.5px; letter-spacing: 2.5px; padding: 10px 14px; bottom: 14px; }
  .loc-grid { padding-top: 22px; }
  .ang-cap h4 { font-size: 16px; }
  .ang-cap p { font-size: 8.5px; letter-spacing: 1.5px; }
}

.ph-hills-a {
  background:
    radial-gradient(ellipse 120% 60% at 30% 100%, #4f8a3a 0 45%, transparent 46%),
    radial-gradient(ellipse 110% 55% at 85% 105%, #3f7a30 0 48%, transparent 49%),
    linear-gradient(180deg, #8fc3ec 0%, #c9e2f4 55%, #e6f1f7 62%, #6aa04a 62.5%, #437a33 100%);
}
.ph-hills-b {
  background:
    linear-gradient(#f4f2ec, #f4f2ec) 50% 70% / 10% 24% no-repeat,
    linear-gradient(#cfcbc2, #cfcbc2) 50% 70% / 12% 25% no-repeat,
    radial-gradient(ellipse 140% 60% at 50% 105%, #5a9440 0 50%, transparent 51%),
    linear-gradient(180deg, #9ccaf0 0%, #d6e9f6 60%, #5c9442 60.5%, #3f7430 100%);
}
.ph-hills-c {
  background:
    radial-gradient(ellipse 120% 60% at 60% 100%, #4b6e3e 0 46%, transparent 47%),
    linear-gradient(180deg, #8d949a 0%, #b9bec2 58%, #5d7a4d 58.5%, #3c5532 100%);
}
.ph-home-a {
  background:
    radial-gradient(ellipse 18% 30% at 22% 42%, rgba(255, 210, 140, 0.8), transparent 70%),
    linear-gradient(#0d1a22, #0d1a22) 72% 58% / 20% 18% no-repeat,
    radial-gradient(ellipse 14% 12% at 72% 58%, rgba(120, 180, 220, 0.6), transparent 80%),
    linear-gradient(180deg, #4a4036 0%, #5c5044 66%, #b8a68a 66.5%, #8f7f66 100%);
}
.ph-home-b {
  background:
    radial-gradient(ellipse 30% 14% at 50% 0%, rgba(255, 225, 170, 0.8), transparent 80%),
    linear-gradient(#2a221c, #2a221c) 50% 52% / 16% 40% no-repeat,
    linear-gradient(90deg, #6b5c4c 0 26%, #8a7864 26% 74%, #6b5c4c 74%),
    #8a7864;
}
.ph-home-c {
  background:
    radial-gradient(ellipse 12% 8% at 70% 48%, rgba(120, 255, 140, 0.55), transparent 80%),
    radial-gradient(ellipse 30% 40% at 30% 30%, rgba(200, 220, 255, 0.35), transparent 75%),
    linear-gradient(180deg, #1c1f24 0%, #262a30 60%, #4a4a48 60.5%, #33332f 100%);
}

/* psychedelic style placeholders */
.ph-chroma-a { background: linear-gradient(160deg, #ff3b6b 0%, #ff9a3c 18%, #ffe45c 34%, #4dff9a 50%, #3cc8ff 66%, #7a4dff 82%, #ff3bd0 100%); filter: saturate(1.1); }
.ph-chroma-b { background: repeating-linear-gradient(175deg, #ff3b6b 0 8%, #ffb03c 8% 16%, #f7ff5c 16% 24%, #4dffb0 24% 32%, #3c9bff 32% 40%, #9a4dff 40% 48%); }
.ph-chroma-c {
  background:
    radial-gradient(ellipse 50% 30% at 40% 45%, rgba(255, 80, 200, 0.55), transparent 70%),
    radial-gradient(ellipse 40% 30% at 62% 55%, rgba(60, 220, 255, 0.5), transparent 70%),
    radial-gradient(ellipse 35% 25% at 50% 40%, rgba(255, 230, 90, 0.45), transparent 70%),
    #05060a;
}
.ph-abs-a {
  background:
    linear-gradient(#e8e2d8, #e8e2d8) 46% 62% / 9% 52% no-repeat,
    radial-gradient(circle at 66% 38%, #b4382f 0 9%, transparent 9.5%),
    linear-gradient(180deg, #2c2a28, #1a1918);
}
.ph-abs-b {
  background:
    radial-gradient(circle at 38% 52%, #d9d2c6 0 16%, transparent 16.5%),
    linear-gradient(#8e2533, #8e2533) 68% 52% / 14% 40% no-repeat,
    linear-gradient(90deg, #3a3633, #24221f);
}
.ph-abs-c {
  background:
    linear-gradient(32deg, transparent 48%, rgba(255, 255, 255, 0.7) 48.5% 49%, transparent 49.5%),
    linear-gradient(-58deg, transparent 40%, rgba(255, 255, 255, 0.45) 40.4% 40.8%, transparent 41.2%),
    linear-gradient(110deg, transparent 60%, rgba(255, 255, 255, 0.35) 60.3% 60.6%, transparent 61%),
    radial-gradient(ellipse at 50% 50%, #3b4450, #12151a);
}
.ph-glow-a {
  background:
    radial-gradient(ellipse 50% 22% at 50% 45%, rgba(255, 60, 170, 0.75), transparent 75%),
    radial-gradient(ellipse 70% 45% at 30% 70%, rgba(150, 40, 200, 0.4), transparent 70%),
    radial-gradient(ellipse 60% 40% at 75% 30%, rgba(40, 90, 220, 0.35), transparent 70%),
    #07040a;
}
.ph-glow-b {
  background:
    radial-gradient(ellipse 30% 45% at 50% 40%, rgba(80, 170, 255, 0.7), transparent 75%),
    radial-gradient(ellipse 80% 40% at 50% 85%, rgba(60, 120, 200, 0.3), transparent 70%),
    #03060c;
}
.ph-glow-c {
  background:
    radial-gradient(circle at 30% 70%, #ffb347 0 0.6%, transparent 1%),
    radial-gradient(circle at 55% 40%, #ff7a2f 0 0.5%, transparent 0.9%),
    radial-gradient(circle at 70% 60%, #ffd27a 0 0.4%, transparent 0.8%),
    radial-gradient(circle at 42% 25%, #ff9a3c 0 0.5%, transparent 0.9%),
    radial-gradient(ellipse 50% 50% at 50% 100%, rgba(255, 120, 40, 0.55), transparent 70%),
    #0a0503;
}
.ph-5d-a {
  background:
    linear-gradient(transparent 0, transparent calc(50% - 1px), rgba(120, 220, 255, 0.6) 50%, transparent calc(50% + 1px)) 50% 50% / 44% 44% no-repeat,
    linear-gradient(90deg, transparent calc(50% - 1px), rgba(120, 220, 255, 0.6) 50%, transparent calc(50% + 1px)) 50% 50% / 44% 44% no-repeat,
    radial-gradient(circle at 50% 50%, transparent 0 14%, rgba(150, 120, 255, 0.55) 14.3% 14.8%, transparent 15%),
    radial-gradient(circle at 50% 50%, transparent 0 26%, rgba(120, 220, 255, 0.4) 26.3% 26.7%, transparent 27%),
    radial-gradient(ellipse at 50% 50%, #1a1236, #05030c 75%);
}
.ph-5d-b {
  background:
    repeating-linear-gradient(90deg, rgba(150, 120, 255, 0.35) 0 1px, transparent 1px 40px),
    repeating-linear-gradient(0deg, rgba(120, 220, 255, 0.25) 0 1px, transparent 1px 40px),
    radial-gradient(ellipse at 50% 50%, #140f2a, #04030a 80%);
}
.ph-5d-c {
  background:
    repeating-radial-gradient(ellipse at 50% 50%, transparent 0 18px, rgba(140, 110, 255, 0.35) 18px 20px),
    radial-gradient(ellipse at 50% 50%, #1b1338, #05030c 80%);
}

/* ================= UNSEEN PERSPECTIVES: MUSIC ================= */
.music {
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(142, 37, 51, 0.14), transparent 70%),
    linear-gradient(rgba(5, 4, 4, 0.94), rgba(5, 4, 4, 0.98)),
    #050404 url("images/stars-bg.jpg") center / cover no-repeat;
}
.mu-inner { max-width: 1180px; padding-bottom: 160px; }

/* --- album art (placeholders until real covers are added) --- */
.cover-art {
  position: relative; z-index: 1; width: 100%; aspect-ratio: 1; overflow: hidden;
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.06);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 9%;
  background-size: cover; background-position: center;
}
.cover-art { container-type: inline-size; }
.cover-art .ca-t { overflow-wrap: anywhere; font-family: var(--serif-2); font-size: 11cqw; line-height: 1; color: #f2ede6; text-transform: uppercase; letter-spacing: 0.04em; text-shadow: 0 2px 20px rgba(0,0,0,0.5); }
.cover-art .ca-a { margin-top: 0.6em; font-family: var(--body); font-size: 3.6cqw; letter-spacing: 0.35em; text-transform: uppercase; color: rgba(242, 237, 230, 0.75); }
.cover-art.has-img .ca-t, .cover-art.has-img .ca-a { display: none; }
.mc-1 { background: radial-gradient(circle at 65% 35%, rgba(255, 110, 140, 0.55), transparent 45%), repeating-linear-gradient(0deg, rgba(255,255,255,0.05) 0 1px, transparent 1px 3px), radial-gradient(circle at 30% 70%, #3b0d18, #0b0507 75%); }
.mc-2 { background: radial-gradient(ellipse 60% 18% at 50% 0%, rgba(255, 252, 215, 0.95), transparent 80%), linear-gradient(#141210, #141210) 50% 72% / 14% 36% no-repeat, linear-gradient(180deg, #d9cf8f 0%, #cdbf78 66%, #8f845a 66.5%, #6c6342 100%); }
.mc-2 .ca-t, .mc-2 .ca-a { color: #2a2516; text-shadow: none; }
.mc-3 { background: radial-gradient(ellipse 14% 30% at 50% 48%, rgba(255, 236, 190, 0.95), rgba(255, 236, 190, 0) 70%), linear-gradient(#2a201a, #2a201a) 50% 70% / 1.2% 34% no-repeat, radial-gradient(ellipse at 50% 120%, #4a1018, #0a0606 70%); }
.mc-4 { background: radial-gradient(circle at 50% 42%, transparent 0 22%, rgba(255,255,255,0.12) 22.4% 22.8%, transparent 23.2% 30%, rgba(255,255,255,0.08) 30.3% 30.6%, transparent 31%), linear-gradient(160deg, #6b8fa8, #2c3c4a 70%); }
.mc-5 { background: repeating-linear-gradient(90deg, rgba(255, 200, 120, 0.0) 0 16%, rgba(255, 200, 120, 0.35) 16% 17%), radial-gradient(ellipse at 50% 100%, rgba(60, 120, 220, 0.5), transparent 60%), linear-gradient(180deg, #0b1324, #04060c); }
.mc-6 { background: conic-gradient(from 200deg at 60% 55%, #ff2d6f, #ffb340, #7cff5a, #35d4ff, #7d4bff, #ff2d6f); }

/* --- vinyl tucked behind a cover --- */
.rec { position: relative; }
.vinyl {
  position: absolute; z-index: 0; top: 3%; left: 3%; width: 94%; aspect-ratio: 1; border-radius: 50%;
  background:
    radial-gradient(circle, #111 0 3%, var(--lbl, #8e2533) 3.2% 17%, #0c0c0c 17.3% 18%, transparent 18.2%),
    repeating-radial-gradient(circle, #161616 0 3px, #1e1e1e 4px 6px, #161616 7px),   /* wider grooves: no shimmer */
    #111;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  transition: transform 0.6s cubic-bezier(.2,.7,.2,1);
}
.vinyl::after {   /* light sheen */
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 30deg, transparent 0 10%, rgba(255,255,255,0.10) 14%, transparent 20% 60%, rgba(255,255,255,0.07) 64%, transparent 70%);
}
.rec:hover .vinyl, .rec.out .vinyl { transform: translateX(32%); }
.rec.spin .vinyl { transform: translateX(32%); }
.rec.spin .vinyl::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 46%, rgba(255,255,255,0.05) 50%, transparent 54%);
  animation: vinylSpin 1.8s linear infinite;
}
@keyframes vinylSpin { to { transform: rotate(360deg); } }

/* --- featured release --- */
.mu-feature {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 80px; align-items: start;
  padding: 10px 0 90px;
}
.mu-feature .rec { max-width: 440px; margin-right: 18%; position: sticky; top: 110px; }
.mu-feature .rec .vinyl { transform: translateX(30%); }
.mu-feature .rec:hover .vinyl, .mu-feature .rec.spin .vinyl { transform: translateX(42%); }
.mu-eyebrow { font-family: var(--body); font-size: 10.5px; font-weight: 500; letter-spacing: 3.5px; text-transform: uppercase; color: var(--crimson-bright); }
.mu-title { font-family: var(--serif); font-weight: 400; font-size: 54px; line-height: 1; margin-top: 14px; }
.mu-meta { margin-top: 14px; font-family: var(--body); font-size: 11px; font-weight: 500; letter-spacing: 2.6px; text-transform: uppercase; color: var(--muted); }
.mu-about { margin-top: 18px; font-family: var(--body); font-weight: 300; font-size: 15px; line-height: 1.8; color: rgba(242, 237, 230, 0.75); max-width: 520px; }
.mu-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 28px; }
.mu-play {
  display: inline-flex; align-items: center; gap: 12px; cursor: pointer;
  background: var(--crimson-bright); border: 1px solid var(--crimson-bright); color: #f2ede6;
  font-family: var(--body); font-size: 11px; font-weight: 500; letter-spacing: 3.5px; text-transform: uppercase;
  padding: 15px 24px; transition: background 0.25s;
}
.mu-play:hover { background: #a52c3c; }
.mu-play::before { content: ""; border-left: 10px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.mu-play.is-on::before { border: 0; width: 10px; height: 12px; background: linear-gradient(90deg, currentColor 0 35%, transparent 35% 65%, currentColor 65%); }
.mu-open {
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer; background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2); color: var(--ink);
  font-family: var(--body); font-size: 11px; font-weight: 500; letter-spacing: 3.5px; text-transform: uppercase; padding: 15px 22px;
  transition: border-color 0.25s, background 0.25s;
}
.mu-open:hover { border-color: var(--crimson-bright); background: rgba(142, 37, 51, 0.18); }

/* streaming links */
.mu-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.mu-links a {
  font-family: var(--body); font-size: 10px; font-weight: 500; letter-spacing: 2.2px; text-transform: uppercase;
  color: var(--muted); text-decoration: none; border: 1px solid rgba(255, 255, 255, 0.12); padding: 8px 13px;
  transition: color 0.2s, border-color 0.2s;
}
.mu-links a:hover { color: var(--ink); border-color: rgba(255, 255, 255, 0.35); }

/* tracklist */
.tracks { list-style: none; margin-top: 26px; border-top: 1px solid rgba(255, 255, 255, 0.08); counter-reset: none; }
.trk {
  display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 12px;
  padding: 11px 6px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); cursor: pointer;
  transition: background 0.2s;
}
.trk:hover { background: rgba(255, 255, 255, 0.03); }
.trk .n { font-family: var(--body); font-size: 11px; letter-spacing: 1px; color: var(--muted); text-align: center; }
.trk .tt { font-family: var(--body); font-size: 14.5px; color: var(--ink); }
.trk .d { font-family: var(--body); font-size: 12px; color: var(--muted); letter-spacing: 1px; }
.trk .n .pi { display: none; }
.trk:hover .n .num { display: none; }
.trk:hover .n .pi { display: inline-block; border-left: 8px solid #f2ede6; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.trk.playing .tt { color: #e2566a; }
.trk.playing .n .num, .trk.playing:hover .n .pi { display: none; }
.trk.playing .n::after {   /* little equalizer */
  content: ""; display: inline-block; width: 12px; height: 11px;
  background: linear-gradient(#e2566a, #e2566a) 0 100% / 3px 60% no-repeat, linear-gradient(#e2566a, #e2566a) 50% 100% / 3px 100% no-repeat, linear-gradient(#e2566a, #e2566a) 100% 100% / 3px 40% no-repeat;
  animation: eq 0.9s ease-in-out infinite alternate;
}
.trk.playing.paused .n::after { animation-play-state: paused; }
@keyframes eq { 0% { background-size: 3px 30%, 3px 90%, 3px 60%; } 50% { background-size: 3px 90%, 3px 40%, 3px 100%; } 100% { background-size: 3px 60%, 3px 100%, 3px 30%; } }

/* --- discography --- */
.mu-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; padding-top: 50px; border-top: 1px solid rgba(255, 255, 255, 0.08); margin-bottom: 40px; }
.mu-head h3 { font-family: var(--serif-2); font-weight: 400; font-size: 34px; text-transform: uppercase; letter-spacing: 1px; }
.mu-filter { display: flex; flex-wrap: wrap; gap: 6px 26px; }
.mu-filter button {
  background: none; border: none; cursor: pointer; padding: 6px 0;
  font-family: var(--body); font-size: 10.5px; font-weight: 500; letter-spacing: 2.6px; text-transform: uppercase;
  color: var(--muted); opacity: 0.75; border-bottom: 1px solid transparent; transition: opacity 0.2s, border-color 0.2s;
}
.mu-filter button:hover { opacity: 1; }
.mu-filter button.on { opacity: 1; color: var(--ink); border-color: var(--crimson-bright); }
.mu-grid { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 50px 40px; }
.rel-btn { all: unset; display: block; cursor: pointer; width: 100%; }
.rel-btn .rec { margin-right: 22%; }
.rel-btn:focus-visible .cover-art { outline: 1px solid var(--crimson-bright); outline-offset: 4px; }
.rel-cap { margin-top: 18px; }
.rel-cap h4 { font-family: var(--serif-2); font-weight: 400; font-size: 21px; line-height: 1.15; }
.rel-cap p { margin-top: 5px; font-family: var(--body); font-size: 10px; letter-spacing: 2.4px; text-transform: uppercase; color: var(--muted); }
.mu-grid li { animation: giIn 0.6s ease both; }

/* --- release page --- */
.release {
  position: fixed; inset: 0; z-index: 112; overflow-y: auto; -webkit-overflow-scrolling: touch;
  background:
    radial-gradient(ellipse 60% 50% at 25% 30%, color-mix(in srgb, var(--lbl, #8e2533) 22%, transparent), transparent 70%),
    linear-gradient(rgba(5, 4, 4, 0.95), rgba(5, 4, 4, 0.98)),
    #050404 url("images/stars-bg.jpg") center / cover no-repeat;
  opacity: 0; transition: opacity 0.45s ease;
}
.release[hidden] { display: block; visibility: hidden; pointer-events: none; }
.release.open { opacity: 1; visibility: visible; pointer-events: auto; }
.release-close { z-index: 3; }
.release-inner { max-width: 1160px; margin: 0 auto; padding: 120px 48px 60px; display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 80px; align-items: start; }
.release-inner .rec { max-width: 460px; margin-right: 20%; position: sticky; top: 120px; }
.release-inner .rec .vinyl { transform: translateX(30%); }
.release-inner .rec.spin .vinyl, .release-inner .rec:hover .vinyl { transform: translateX(42%); }
.rl-credits { margin-top: 34px; display: grid; gap: 14px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.rl-credits dt { font-family: var(--body); font-size: 9.5px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; color: rgba(242, 237, 230, 0.45); }
.rl-credits dd { margin-top: 4px; font-family: var(--body); font-size: 14px; color: var(--ink); }
.rl-embed { margin-top: 30px; }
.rl-embed iframe { width: 100%; border: 0; border-radius: 8px; }

/* --- mini player --- */
.mini {
  position: fixed; z-index: 130; left: 50%; bottom: 18px; transform: translateX(-50%);
  width: min(880px, calc(100% - 24px));
  display: grid; grid-template-columns: 48px minmax(0, 1fr) auto minmax(0, 1.2fr) auto; align-items: center; gap: 16px;
  padding: 10px 14px 10px 10px;
  background: rgba(12, 10, 10, 0.82); backdrop-filter: blur(16px) saturate(120%); -webkit-backdrop-filter: blur(16px) saturate(120%);
  border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  transition: opacity 0.35s, transform 0.35s;
}
.mini[hidden] { display: grid; opacity: 0; transform: translate(-50%, 20px); pointer-events: none; visibility: hidden; }
.mini-art { width: 48px; height: 48px; padding: 0; }
.mini-art .ca-t, .mini-art .ca-a { display: none; }
.mini-title { font-family: var(--body); font-size: 13.5px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-sub { margin-top: 2px; font-family: var(--body); font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-ctrl { display: flex; align-items: center; gap: 6px; }
.mini-ctrl button { background: none; border: none; color: var(--muted); font-size: 13px; cursor: pointer; width: 32px; height: 32px; transition: color 0.2s; }
.mini-ctrl button:hover { color: var(--ink); }
.mini-ctrl .big { width: 40px; height: 40px; border-radius: 50%; background: #f2ede6; position: relative; }
.mini-ctrl .big::before {   /* pause icon */
  content: ""; position: absolute; left: 14px; top: 13px; width: 12px; height: 14px;
  background: linear-gradient(90deg, #0b0909 0 35%, transparent 35% 65%, #0b0909 65%);
}
.mini.paused .mini-ctrl .big::before { left: 16px; width: 0; height: 0; background: none; border-left: 12px solid #0b0909; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.mini-bar { display: flex; align-items: center; gap: 10px; }
.mini-time { font-family: var(--body); font-size: 10.5px; color: var(--muted); min-width: 30px; text-align: center; }
.mini-track { flex: 1; height: 3px; background: rgba(255, 255, 255, 0.12); cursor: pointer; position: relative; }
.mini-track::before { content: ""; position: absolute; inset: -8px 0; }   /* bigger touch target */
.mini-track i { display: block; height: 100%; width: 0; background: var(--crimson-bright); }
.mini-x { background: none; border: none; color: var(--muted); font-size: 20px; cursor: pointer; width: 28px; }
.mini-x:hover { color: var(--ink); }

@media (max-width: 1100px) {
  .mu-feature { grid-template-columns: 1fr; gap: 50px; justify-items: center; text-align: center; }
  .mu-feature .rec { position: static; width: 70%; max-width: 380px; margin: 0 auto; transform: translateX(-12%); }
  .mu-feature .mu-about { margin-left: auto; margin-right: auto; }
  .mu-feature .mu-actions, .mu-feature .mu-links { justify-content: center; }
  .mu-feature .tracks { text-align: left; }
  .mu-feature > div:last-child { width: 100%; max-width: 620px; }
  .mu-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 28px; }
  .release-inner { grid-template-columns: 1fr; gap: 50px; padding: 100px 32px 50px; max-width: 720px; }
  .release-inner .rec { position: static; width: 70%; max-width: 380px; margin: 0 auto; transform: translateX(-12%); }
}
@media (max-width: 640px) {
  .mu-title { font-size: 36px; }
  .mu-feature { padding-bottom: 60px; }
  .mu-feature .rec { width: 74%; }
  .mu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 18px; }
  .rel-cap h4 { font-size: 16px; }
  .rel-cap p { font-size: 8.5px; letter-spacing: 1.6px; }
  .mu-head { flex-direction: column; align-items: flex-start; }
  .mu-filter { gap: 4px 18px; }
  .release-inner { padding: 86px 18px 40px; }
  .mini { grid-template-columns: 40px minmax(0, 1fr) auto auto; gap: 10px; bottom: 10px; padding: 8px 8px 12px 8px; }
  .mini-art { width: 40px; height: 40px; }
  .mini-ctrl #mini-prev, .mini-ctrl #mini-next { display: none; }
  .mini-bar { grid-column: 1 / -1; grid-row: 2; }
}
@media (prefers-reduced-motion: reduce) {
  .vinyl { transition: none; }
  .rec.spin .vinyl::before, .trk.playing .n::after { animation: none; }
}

/* keep page bottoms clear of the mini player while it's showing */
body.mini-on .release .rd-nav,
body.mini-on .reader .rd-nav { padding-bottom: 150px; }
body.mini-on .coll-inner,
body.mini-on .gal-inner,
body.mini-on .folio-inner { padding-bottom: 170px; }
body.mini-on .viewer { padding-bottom: 140px; }
body.mini-on .fs-pages { padding-bottom: 170px; }
body.mini-on .contact-inner { padding-bottom: 200px; }

/* your live Spotify + SoundCloud players */
.mu-listen { padding: 50px 0 70px; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.mu-listen-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.mu-listen-head h3 { font-family: var(--serif-2); font-weight: 400; font-size: 34px; text-transform: uppercase; letter-spacing: 1px; }
.mu-listen-head .mu-links { margin-top: 0; }
.mu-embeds { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mu-embeds iframe { width: 100%; border: 0; border-radius: 12px; background: rgba(255, 255, 255, 0.03); box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.8); }
@media (max-width: 1100px) { .mu-embeds { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .mu-listen-head h3 { font-size: 28px; } .mu-embeds iframe { height: 352px; } }

.listen-card {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; text-align: left; gap: 8px;
  min-height: 240px; padding: 34px; text-decoration: none; color: var(--ink); overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 12px;
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.8);
  transition: transform 0.35s ease, border-color 0.35s ease;
}
.listen-card.sp { background: radial-gradient(ellipse 70% 80% at 85% 0%, rgba(30, 215, 96, 0.35), transparent 70%), linear-gradient(160deg, #10241a, #070b09); }
.listen-card.sc { background: radial-gradient(ellipse 70% 80% at 85% 0%, rgba(255, 85, 0, 0.35), transparent 70%), linear-gradient(160deg, #2a140a, #0b0705); }
.listen-card:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, 0.3); }
.lc-k { font-family: var(--body); font-size: 10.5px; letter-spacing: 3px; text-transform: uppercase; color: var(--muted); }
.lc-t { font-family: var(--serif-2); font-size: 44px; line-height: 1; }
.lc-s { font-family: var(--body); font-weight: 300; font-size: 14px; color: rgba(242, 237, 230, 0.7); }
.lc-go { margin-top: 10px; font-family: var(--body); font-size: 11px; font-weight: 500; letter-spacing: 3px; text-transform: uppercase; }
.mu-embeds.live .listen-card { display: none; }
@media (max-width: 640px) { .listen-card { min-height: 190px; padding: 24px; } .lc-t { font-size: 34px; } }

/* ================= MODERN TRACES: DANCE ================= */
.dance {
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(255, 120, 40, 0.10), transparent 70%),
    linear-gradient(rgba(5, 4, 4, 0.94), rgba(5, 4, 4, 0.98)),
    #050404 url("images/stars-bg.jpg") center / cover no-repeat;
}
.dn-inner { max-width: 1180px; }
.dn-reel { margin: 0 auto 90px; max-width: 1080px; }
.dn-reel-btn {
  position: relative; display: block; width: 100%; aspect-ratio: 21 / 9; padding: 0; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.1); overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.95);
  transition: box-shadow 0.4s, filter 0.4s; filter: brightness(0.92);
}
.dn-reel-btn:hover { filter: brightness(1.02); box-shadow: 0 40px 80px -30px rgba(0,0,0,0.95), 0 0 0 1px rgba(255, 120, 40, 0.6); }
.dn-reel-btn .gi-play { width: 84px; height: 84px; margin: -42px 0 0 -42px; }
.dn-reel-btn .gi-play::before { left: 34px; top: 27px; border-left-width: 22px; border-top-width: 15px; border-bottom-width: 15px; }
.dn-reel-btn:hover .gi-play { transform: scale(1.08); background: rgba(255, 110, 30, 0.5); }
.dn-reel-tag {
  position: absolute; left: 22px; bottom: 20px; z-index: 1;
  font-family: var(--body); font-size: 10.5px; font-weight: 500; letter-spacing: 3px; text-transform: uppercase;
  color: #f2ede6; background: rgba(5, 4, 4, 0.55); padding: 7px 12px;
}

.dn-tabs-wrap { text-align: center; margin-bottom: 44px; }
.dn-tabs { margin-top: 0; }
.dn-blurb { margin: 22px auto 0; max-width: 520px; font-family: var(--body); font-weight: 300; font-size: 14.5px; line-height: 1.7; color: rgba(242, 237, 230, 0.7); }
.dn-blurb[hidden] { display: none; }

.dn-grid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 26px; }
.dn-grid .dc { display: none; }
.dn-grid .dc.show { display: block; animation: giIn 0.6s ease both; }
.dn-tile {
  position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; padding: 0; cursor: pointer; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 50px -18px rgba(0, 0, 0, 0.85);
  filter: saturate(0.92) brightness(0.92);
  transition: transform 0.45s ease, filter 0.45s ease, box-shadow 0.45s ease;
}
.dn-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.55) 100%); }
.dn-tile:hover { transform: translateY(-5px); filter: saturate(1.05) brightness(1); box-shadow: 0 30px 60px -18px rgba(0,0,0,0.9), 0 0 0 1px rgba(142,37,51,0.6); }
.dn-tile .gi-play { width: 56px; height: 56px; margin: -28px 0 0 -28px; }
.dn-tile .gi-play::before { left: 22px; top: 18px; border-left-width: 14px; border-top-width: 10px; border-bottom-width: 10px; }
.dn-tile .dn-dur { position: absolute; z-index: 1; right: 10px; bottom: 10px; font-family: var(--body); font-size: 10px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; color: #f2ede6; background: rgba(5,4,4,0.6); padding: 5px 9px; }
.dn-cap { margin-top: 14px; }
.dn-cap p { font-family: var(--body); font-size: 10px; font-weight: 500; letter-spacing: 2.6px; text-transform: uppercase; color: var(--crimson-bright); }
.dn-cap h4 { font-family: var(--serif-2); font-weight: 400; font-size: 23px; line-height: 1.15; margin-top: 6px; }

/* booking */
.dn-book { margin-top: 110px; padding-top: 70px; border-top: 1px solid rgba(255, 255, 255, 0.08); text-align: center; }
.dn-book h3 { font-family: var(--serif-2); font-weight: 400; font-size: 42px; line-height: 1.1; margin: 18px 0 16px; }
.dn-book-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 46px; text-align: left; }
.dn-card {
  display: flex; flex-direction: column; gap: 10px; padding: 30px 28px; text-decoration: none; color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.1); background: rgba(10, 8, 8, 0.4);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: border-color 0.3s, background 0.3s, transform 0.3s;
}
.dn-card:hover { border-color: var(--crimson-bright); background: rgba(142, 37, 51, 0.14); transform: translateY(-4px); }
.dc-n { font-family: var(--body); font-size: 10.5px; letter-spacing: 3px; color: var(--crimson-bright); }
.dn-card h4 { font-family: var(--serif-2); font-weight: 400; font-size: 28px; }
.dn-card p { font-family: var(--body); font-weight: 300; font-size: 14px; line-height: 1.7; color: rgba(242, 237, 230, 0.72); flex: 1; }
.dc-go { margin-top: 8px; font-family: var(--body); font-size: 10.5px; font-weight: 500; letter-spacing: 3px; text-transform: uppercase; }

/* fire + belly dance placeholders */
.ph-fire-a { background: radial-gradient(circle at 50% 42%, transparent 0 26%, rgba(255, 150, 40, 0.85) 27% 28.5%, transparent 30%), radial-gradient(circle at 50% 42%, transparent 0 34%, rgba(255, 90, 20, 0.5) 35% 36%, transparent 37.5%), radial-gradient(ellipse 30% 22% at 50% 42%, rgba(255, 170, 70, 0.25), transparent 70%), radial-gradient(ellipse 8% 30% at 50% 78%, #050302, transparent 75%), #070403; }
.ph-fire-b { background: linear-gradient(35deg, transparent 47%, rgba(255, 160, 50, 0.9) 49%, rgba(255, 80, 20, 0.6) 51%, transparent 53%), radial-gradient(ellipse 18% 9% at 22% 70%, rgba(255, 170, 60, 0.9), transparent 70%), radial-gradient(ellipse 18% 9% at 78% 30%, rgba(255, 170, 60, 0.9), transparent 70%), #060302; }
.ph-fire-c { background: radial-gradient(ellipse 22% 14% at 30% 38%, rgba(255, 140, 40, 0.85), transparent 70%), radial-gradient(ellipse 22% 14% at 70% 38%, rgba(255, 140, 40, 0.85), transparent 70%), radial-gradient(ellipse 9% 32% at 50% 70%, #0b0604, transparent 75%), linear-gradient(180deg, #3a2a4a 0%, #6b3a2a 45%, #120806 70%); }
.ph-fire-d { background: radial-gradient(ellipse 34% 14% at 50% 50%, transparent 0 80%, rgba(255, 150, 40, 0.9) 82% 88%, transparent 90%), radial-gradient(ellipse 8% 30% at 50% 60%, #060302, transparent 75%), #080403; }
.ph-fire-e { background: repeating-radial-gradient(ellipse at 50% 46%, transparent 0 10px, rgba(255, 130, 30, 0.55) 10px 12px, transparent 12px 22px), radial-gradient(ellipse at 50% 46%, rgba(255, 120, 30, 0.2), #050302 70%); }
.ph-belly-a { background: radial-gradient(ellipse 30% 45% at 50% 40%, rgba(255, 200, 120, 0.45), transparent 70%), radial-gradient(ellipse 9% 34% at 50% 60%, #120a06, transparent 75%), repeating-linear-gradient(90deg, rgba(212, 170, 80, 0.0) 0 10px, rgba(212, 170, 80, 0.12) 10px 11px), linear-gradient(180deg, #3a1a10, #120806); }
.ph-belly-b { background: linear-gradient(115deg, transparent 20%, rgba(60, 200, 190, 0.35) 30%, rgba(60, 200, 190, 0.1) 50%, transparent 60%), radial-gradient(ellipse 9% 32% at 50% 62%, #0b0606, transparent 75%), radial-gradient(ellipse at 50% 30%, #3a2440, #0c0608 75%); }
.ph-belly-c { background: radial-gradient(ellipse 9% 34% at 48% 58%, #0a0605, transparent 75%), radial-gradient(ellipse 50% 35% at 50% 100%, rgba(142, 37, 51, 0.55), transparent 70%), linear-gradient(180deg, #1c1714, #0a0807); }
.ph-belly-d { background: radial-gradient(circle at 30% 60%, #e8c060 0 1.5%, transparent 2%), radial-gradient(circle at 40% 64%, #e8c060 0 1.5%, transparent 2%), radial-gradient(circle at 50% 66%, #e8c060 0 1.5%, transparent 2%), radial-gradient(circle at 60% 64%, #e8c060 0 1.5%, transparent 2%), radial-gradient(circle at 70% 60%, #e8c060 0 1.5%, transparent 2%), radial-gradient(ellipse 40% 30% at 50% 40%, rgba(255, 190, 100, 0.5), transparent 70%), linear-gradient(180deg, #5a2a18, #1a0c08); }

@media (max-width: 1100px) {
  .dn-reel-btn { aspect-ratio: 16 / 9; }
  .dn-book-grid { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 640px) {
  .dn-reel { margin-bottom: 60px; }
  .dn-tabs button { font-size: 16px; padding: 10px 16px; }
  .dn-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; }
  .dn-cap h4 { font-size: 17px; }
  .dn-cap p { font-size: 8.5px; letter-spacing: 1.6px; }
  .dn-book { margin-top: 80px; padding-top: 50px; }
  .dn-book h3 { font-size: 30px; }
  .dn-card { padding: 24px 22px; }
  .dn-card h4 { font-size: 24px; }
}

/* ================= SITE FOOTER (main page + every portfolio page) ================= */
.site-foot {
  position: relative;
  background: #000;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 46px 24px 50px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.sf-note {
  line-height: 1.7;
  font-family: var(--serif-2);
  font-style: italic;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}
.sf-note span { display: block; white-space: nowrap; }   /* two lines, split at the full stop */
.sf-note span:first-child { font-style: normal; }        /* first line upright, second in italics */
.sf-copy {
  font-family: var(--body);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(207, 198, 188, 0.55);
}
.folio > .site-foot, .coll > .site-foot, .release > .site-foot { margin-top: 0; }
body.mini-on .site-foot { padding-bottom: 130px; }

/* ================= PORTFOLIO NAVBAR: the same navbar as the home page, on top of the portfolio pages ================= */
:root { --pnav: 53px; }   /* = navbar height */
.nav.pnav { z-index: 105; opacity: 0; transition: opacity 0.6s ease; }   /* above the portfolio pages, below viewer / reader / collections */
.pnav[hidden] { display: flex; visibility: hidden; pointer-events: none; }
.pnav.open { opacity: 1; visibility: visible; }
/* make room for the bar: pages start below it, the Back button sits just under it */
.folio { top: var(--pnav); }            /* page (and its scroll bar) starts below the navbar */
.folio .folio-inner { padding-top: 96px; }
.folio .folio-close { top: calc(var(--pnav) + 22px); }

/* ================= PORTFOLIO DROPDOWN: a thin bar that slides out under the navbar ================= */
.nav-drop { display: flex; }
/* script.js moves the bar to sit directly in the navbar, so it spans the full width under it */
.drop-menu {
  position: absolute; top: 100%; left: 0; right: 0;
  display: flex; justify-content: center; align-items: stretch;
  padding: 0 24px;
  background: rgba(5, 4, 4, 0.95);
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s 0.25s;
}
.drop-on .drop-menu { opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition-delay: 0s; }
.drop-menu button {
  position: relative;
  display: grid; grid-template-columns: auto auto; column-gap: 10px; align-items: baseline;
  padding: 14px 30px 15px; border: 0; background: transparent; color: var(--ink); cursor: pointer;
  text-align: left; opacity: 0.75; transition: opacity 0.2s, background 0.2s;
}
.drop-menu button + button::before {      /* thin divider between items */
  content: ""; position: absolute; left: 0; top: 30%; bottom: 30%; width: 1px; background: rgba(255, 255, 255, 0.1);
}
.drop-menu button::after {                /* red underline on hover / current page */
  content: ""; position: absolute; left: 30px; right: 30px; bottom: 0; height: 2px;
  background: var(--crimson-bright); transform: scaleX(0); transition: transform 0.25s ease;
}
.drop-menu button:hover, .drop-menu button:focus-visible, .drop-menu button.current { opacity: 1; outline: none; }
.drop-menu button:hover::after, .drop-menu button.current::after { transform: scaleX(1); }
.drop-menu .dn { grid-row: span 2; font-family: var(--body); font-size: 9px; letter-spacing: 2px; color: var(--crimson-bright); }
.drop-menu .dt { font-family: var(--serif); font-size: 14px; letter-spacing: 0.3px; line-height: 1.2; white-space: nowrap; }
.drop-menu .dk { font-family: var(--body); font-size: 8.5px; font-weight: 500; letter-spacing: 2.2px; text-transform: uppercase; color: var(--muted); opacity: 0.7; margin-top: 3px; }
@media (max-width: 1100px) {
  .drop-menu { padding: 0 8px; }
  .drop-menu button { padding: 12px 18px 13px; }
  .drop-menu button::after { left: 18px; right: 18px; }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1100px) {
  html, body { overflow-x: hidden; }   /* glow layers must not cause sideways scrolling */
  .wall, .divider { overflow-x: clip; }
  /* tablet / phone: all four cards stay in one row */
  .cards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; padding: 11px 24px 100px; }
  .card-label { flex-wrap: wrap; justify-content: center; gap: 4px 8px; text-align: center; font-size: 9.5px; letter-spacing: 1.6px; }
  .card-label .dash { display: none; }
  .card-label .num { width: 100%; text-align: center; }
  .card-label .title { flex: 0 1 auto; white-space: normal; line-height: 1.5; }
  .card-label .arrow { display: none; }
  .nav { padding: 15px 32px; }
  .nav-links { gap: 28px; }
  .nav-links a { padding-top: 7px; }   /* balances the underline space so the text sits mid-bar */
  .nav-links { position: static; transform: none; flex: 1; justify-content: center; margin-right: -32px; }   /* centred between the logo and the screen edge */
  .nav-tag { display: none; }
  .about-inner, .contact-inner { grid-template-columns: 1fr; padding: 100px 32px 80px; }
  .about-photo { max-width: 380px; }
  .about-inner::before { left: 0; right: 0; top: auto; bottom: 60px; height: 70%; }
  .about-inner::after { display: none; }
  .about-text { padding-top: 0; }
  .waveform, .disciplines { position: static; }
  .waveform { margin-top: 20px; }
  .footer-tag { position: static; justify-content: flex-end; }
  .contact-inner { padding-bottom: 60px; }

  /* ---- tablet / phone: centre the stacked About + Contact ---- */
  .about-inner { justify-items: center; text-align: center; padding: 110px 32px 80px; }
  .about-inner::before { display: none; }              /* desktop glass panel off; the text keeps its own glass */
  .about-photo { width: 100%; max-width: 260px; }   /* smaller photo when photo + text stack */
  .about-text { max-width: 620px; margin-top: 48px; align-self: auto; }
  .about-text .rule,
  .contact-info .rule { margin-left: auto; margin-right: auto; }
  .waveform { position: relative; top: auto; right: auto; margin: 40px auto 0; }   /* keeps its centre line attached to it */
  .waveform::before { left: 0; }
  .disciplines { margin-top: 28px; text-align: left; }

  .contact-inner { justify-items: center; text-align: center; }
  .contact-info { max-width: 620px; }
  .hero h1 { font-size: 64px; }   /* stacked: smaller main headline */
  .about-text h2, .contact-info h2 { font-size: 50px; }   /* stacked: smaller section titles */
  .contact-info p { margin-left: auto; margin-right: auto; }
  .contact-list { display: inline-block; text-align: left; }
  .contact-info .script { margin: 50px auto 10px; }
  .contact-form { width: 88%; max-width: 520px; text-align: left; }   /* narrower form with breathing room at the sides */
  .footer-tag { justify-content: center; margin-top: 40px; }
  /* tablet + phone (stacked): show the whole wallpaper art instead of a zoomed-in middle */
  .wall-top::before { background-size: 140vw auto; background-position: center 40px; }   /* full mask face, raised to just under the navbar */
  .wall-top::after {
    background: url("images/m-top-a.png") center 70px / 100% auto no-repeat,
                url("images/m-top-b.png") center bottom / 100% auto no-repeat;
  }
  .wall-bottom::after {
    background: url("images/m-about-a.png") center 90px / 100% auto no-repeat,
                url("images/m-about-b.png") center bottom / 100% auto no-repeat;
  }

}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .hero { height: 560px; }
  .hero h1 { font-size: 42px; }
  .hero-content { left: 16px; right: 16px; top: 300px; }
  .hero-content p { font-size: 13px; }
  .hero-content p br { display: none; }
  .slide-index { top: auto; bottom: 20px; right: 16px; }
  .cards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding: 10px 12px 70px; }
  .card-label { font-size: 7.5px; letter-spacing: 1px; margin-top: 8px; padding: 0; }
  .about-inner, .contact-inner { padding: 70px 16px 60px; }
  .about-text h2, .contact-info h2 { font-size: 46px; }
  .about-photo { max-width: 210px; }
  .wall-top::before { background-size: 175vw auto; background-position: center 60px; }   /* phone: mask a bit bigger */
  .contact-form { width: 84%; padding: 28px 18px 22px; gap: 28px; }
  /* phone: quieter type in Contact */
  .about-text h2, .contact-info h2 { font-size: 32px; letter-spacing: 0.5px; }
  .contact-info p { font-size: 14px; }
  .contact-list li { font-size: 13.5px; gap: 18px; }
  .contact-info .script { font-size: 38px; }
  .contact-form label span { font-size: 9.5px; letter-spacing: 2.4px; }
  .contact-form input, .contact-form textarea { font-size: 16px; }   /* 16px stops iPhone zooming in when you tap a field */
  .contact-form button { font-size: 11px; padding: 16px; letter-spacing: 3.5px; }
  .footer-tag p { font-size: 10px; }
  .contact-form .row { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 640px) {
  .site-foot { padding: 36px 20px 40px; gap: 12px; }
  .sf-note { font-size: 12px; }
  .sf-copy { font-size: 9px; letter-spacing: 2.5px; }
}

@media (max-width: 1100px) {
  .folio .folio-inner { padding-top: 84px; }
  :root { --pnav: 59px; }   /* = navbar height here */
  .folio .folio-close { top: calc(var(--pnav) + 16px); }
}
@media (max-width: 640px) {
  .folio .folio-inner { padding-top: 72px; }
  .folio .folio-close { top: calc(var(--pnav) + 12px); }
}

/* phone: symbols instead of words in the navbar, no logo */
.nav-links .ni { display: none; }
@media (max-width: 640px) {
  .nav .logo { display: none; }
  .nav .nav-links { display: flex; position: static; transform: none; flex: 1; justify-content: center; gap: 46px; margin: 0; }
  .nav .nav-links a { padding: 2px 2px 6px; line-height: 0; }
  .nav-links .ni {
    display: block; width: 20px; height: 20px;
    fill: none; stroke: var(--ink); stroke-width: 1.3; stroke-linejoin: round; stroke-linecap: round;
  }
  .nav-links .nt {                       /* hidden, but still read out by screen readers */
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
  }
  /* portfolio bar under the navbar: 2 x 2 on a phone */
  .drop-menu { display: grid; grid-template-columns: 1fr 1fr; padding: 4px 6px; }
  .drop-menu button { padding: 11px 12px 12px; justify-content: start; }
  .drop-menu button + button::before { display: none; }
  .drop-menu button::after { left: 12px; right: 12px; }
  .drop-menu .dt { font-size: 13px; }
}

/* ================= SCROLL BARS: thin, dark, with a crimson thumb (desktop browsers) ================= */
* { scrollbar-width: thin; scrollbar-color: rgba(142, 37, 51, 0.75) #070606; }   /* Firefox */
::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-track { background: #070606; border-left: 1px solid rgba(255, 255, 255, 0.04); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #a12a3a, #6e1b26);
  border: 2px solid #070606;           /* gap around the thumb so it floats */
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #c03446, #8e2533); }
::-webkit-scrollbar-corner { background: #070606; }

/* real release artwork sits over the designed cover */
.cover-art .ca-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
/* hidden SoundCloud player that the mini player controls */
.sc-dock {
  position: fixed; z-index: 131; left: 50%; bottom: 100px; width: min(480px, calc(100% - 24px));
  background: rgba(12, 10, 10, 0.95); border: 1px solid rgba(255, 255, 255, 0.1); border-top: 2px solid var(--crimson-bright);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  transform: translate(-50%, 0); opacity: 1; transition: opacity 0.3s, transform 0.3s;
}
/* tucked away: off-screen but still running, so the music keeps playing */
.sc-dock:not(.show) { opacity: 0; transform: translate(-50%, calc(100% + 140px)); pointer-events: none; }
.sc-dock-h { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; }
.sc-dock-h span { font-family: var(--body); font-size: 10px; letter-spacing: 2.4px; text-transform: uppercase; color: var(--muted); }
.sc-dock-h button { background: none; border: 0; color: var(--muted); font-size: 18px; line-height: 1; cursor: pointer; }
.sc-dock iframe { display: block; width: 100%; height: 166px; border: 0; }
/* release details: genre line */
.rl-tags { font-family: var(--body); font-size: 11px; letter-spacing: 2.4px; text-transform: uppercase; color: var(--muted); opacity: 0.75; margin: 10px 0 0; }

/* music: list of every track under the latest release */
.mu-all { max-width: 820px; margin: 40px auto 90px; }
.mu-all-h { font-family: var(--serif); font-weight: 400; font-size: 26px; letter-spacing: 0.5px; margin-bottom: 4px; }
.all-tracks .tt small { display: block; margin-top: 3px; font-family: var(--body); font-size: 9.5px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); opacity: 0.6; }
@media (max-width: 640px) { .mu-all { margin: 50px auto 60px; } .mu-all-h { font-size: 22px; } }

/* notice shown in the preview when a track can't play */
.mu-toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 140; width: min(440px, calc(100% - 32px));
  display: grid; grid-template-columns: 1fr auto; gap: 12px 14px; align-items: center;
  padding: 18px 20px; background: rgba(8, 6, 6, 0.95); border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 2px solid var(--crimson-bright); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  opacity: 0; visibility: hidden; transform: translate(-50%, 12px);
  transition: opacity 0.3s, transform 0.3s, visibility 0s 0.3s;
}
.mu-toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
.mu-toast p { font-family: var(--body); font-size: 13px; line-height: 1.6; color: var(--muted); }
.mu-toast strong { color: var(--ink); font-weight: 500; }
.mu-toast a { grid-column: 1; justify-self: start; font-family: var(--body); font-size: 10px; font-weight: 500; letter-spacing: 2.6px; text-transform: uppercase; color: var(--ink); text-decoration: none; border: 1px solid var(--crimson-bright); padding: 10px 16px; }
.mu-toast a:hover { background: rgba(142, 37, 51, 0.25); }
.mu-toast button { grid-column: 2; grid-row: 1; align-self: start; background: none; border: 0; color: var(--muted); font-size: 20px; line-height: 1; cursor: pointer; }

/* Listen: one player at a time, with Spotify / SoundCloud tabs (hosted site) */
.mu-src { display: none; }
.mu-embeds.live { display: block; max-width: 760px; margin: 0 auto; }
.mu-embeds.live .mu-src { display: flex; justify-content: center; gap: 0; margin-bottom: 22px; }
.mu-src button {
  background: none; border: 1px solid rgba(255, 255, 255, 0.14); color: var(--muted); cursor: pointer;
  font-family: var(--body); font-size: 10.5px; font-weight: 500; letter-spacing: 2.6px; text-transform: uppercase; padding: 12px 22px;
}
.mu-src button + button { border-left: 0; }
.mu-src button.on { color: var(--ink); border-color: var(--crimson-bright); background: rgba(142, 37, 51, 0.18); }
.mu-slot { position: relative; }
.mu-slot iframe { width: 100%; }
.mu-slot-load {
  width: 100%; height: 380px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  background: rgba(255, 255, 255, 0.03); border: 1px dashed rgba(255, 255, 255, 0.14); border-radius: 12px; color: var(--ink); cursor: pointer;
}
.mu-slot-load .k { font-family: var(--body); font-size: 10px; letter-spacing: 2.4px; text-transform: uppercase; color: var(--muted); }
.mu-slot-load .t { font-family: var(--serif); font-size: 22px; }
.mu-slot-load:hover { border-color: var(--crimson-bright); }
@media (max-width: 640px) { .mu-slot-load { height: 300px; } }
.mu-slot-load[hidden] { display: none; }

/* release: a pop-up window on iPad and desktop (phones keep the full screen page) */
@media (min-width: 641px) {
  .release {
    background: rgba(3, 3, 3, 0.72);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    display: grid; place-items: center; padding: 5vh 24px; overflow: hidden;
  }
  .release[hidden] { display: grid; }
  .rl-panel {
    position: relative; width: min(1000px, 100%); max-height: 90vh; overflow-y: auto; -webkit-overflow-scrolling: touch;
    background:
      radial-gradient(ellipse 60% 50% at 25% 30%, color-mix(in srgb, var(--lbl, #8e2533) 22%, transparent), transparent 70%),
      linear-gradient(rgba(6, 5, 5, 0.97), rgba(6, 5, 5, 0.99)),
      #060505 url("images/stars-bg.jpg") center / cover no-repeat;
    border: 1px solid rgba(255, 255, 255, 0.1); border-top: 2px solid var(--crimson-bright); border-radius: 6px;
    box-shadow: 0 40px 120px rgba(0, 0, 0, 0.8);
    transform: translateY(14px) scale(0.98); transition: transform 0.45s ease;
  }
  .release.open .rl-panel { transform: none; }
  .rl-panel .release-close { position: sticky; top: 16px; left: auto; margin: 16px 0 0 16px; }
  .rl-panel .release-inner { padding: 24px 48px 30px; gap: 50px; }
  .rl-panel .release-inner .rec { top: 70px; }
  .rl-panel .rd-nav { padding-bottom: 30px !important; }
  .release > .site-foot { display: none; }
  body.mini-on .release { padding-bottom: 110px; }
}
@media (min-width: 641px) and (max-width: 1100px) {
  .rl-panel .release-inner { padding: 20px 32px 24px; }
}
/* iPad: keep the pop-up side by side (cover left, details right) so it isn't too tall */
@media (min-width: 820px) and (max-width: 1100px) {
  .rl-panel .release-inner { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 40px; max-width: none; }
  .rl-panel .release-inner .rec { position: sticky; width: auto; max-width: 340px; margin: 0 18% 0 0; transform: none; }
}

/* only the playing SoundCloud player shows in the pop-up; the one loaded ahead stays invisible */
.sc-dock iframe:not(.cur) { position: absolute; left: 0; bottom: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* top of Music: fade when it switches to the song that's playing */
#mu-feature { transition: opacity 0.22s ease; }
#mu-feature.swap { opacity: 0; }

/* invisible SoundCloud player that reads your track list */
.sc-reader { position: fixed; left: -9999px; top: 0; width: 300px; height: 166px; border: 0; opacity: 0; pointer-events: none; }

/* ================= PLACEHOLDER COVERS: all the same, black with a gray disc =================
   Shown whenever a release has no artwork (or SoundCloud's artwork can't load). Real artwork sits on top. */
.cover-art.mc-1, .cover-art.mc-2, .cover-art.mc-3, .cover-art.mc-4, .cover-art.mc-5, .cover-art.mc-6 {
  background:
    radial-gradient(circle at 50% 50%, #050505 0 4%, #3d3d3d 4.5% 12.5%, #0c0c0c 13% 14.5%, transparent 15%),
    repeating-radial-gradient(circle at 50% 50%, #191919 0 1.1%, #222222 1.6% 2.2%, #191919 2.8%),   /* wider, softer grooves: no shimmer */
    #050505;
  background-size: 100% 100%, 74% 74%, 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
}
.cover-art.mc-1::before, .cover-art.mc-2::before, .cover-art.mc-3::before,
.cover-art.mc-4::before, .cover-art.mc-5::before, .cover-art.mc-6::before {   /* rounds the disc */
  content: ""; position: absolute; inset: 13%; border-radius: 50%;
  box-shadow: 0 0 0 100vmax #050505, inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  pointer-events: none;
}
.cover-art.mc-1 .ca-t, .cover-art.mc-2 .ca-t, .cover-art.mc-3 .ca-t, .cover-art.mc-4 .ca-t, .cover-art.mc-5 .ca-t, .cover-art.mc-6 .ca-t,
.cover-art.mc-1 .ca-a, .cover-art.mc-2 .ca-a, .cover-art.mc-3 .ca-a, .cover-art.mc-4 .ca-a, .cover-art.mc-5 .ca-a, .cover-art.mc-6 .ca-a { display: none; }
/* the record peeking out and the release glow stay neutral too */
.rec, .release { --lbl: #4a4a4a !important; }
/* shine: two soft light sweeps across the grooves, like light catching vinyl */
.cover-art.mc-1::after, .cover-art.mc-2::after, .cover-art.mc-3::after,
.cover-art.mc-4::after, .cover-art.mc-5::after, .cover-art.mc-6::after {
  content: ""; position: absolute; inset: 13%; border-radius: 50%; pointer-events: none;
  background: conic-gradient(from 20deg,
    transparent 0deg, rgba(255,255,255,0.10) 18deg, rgba(255,255,255,0.22) 30deg, rgba(255,255,255,0.10) 42deg, transparent 62deg,
    transparent 180deg, rgba(255,255,255,0.07) 198deg, rgba(255,255,255,0.16) 210deg, rgba(255,255,255,0.07) 222deg, transparent 242deg);
  -webkit-mask: radial-gradient(circle, transparent 0 25%, #000 26%);          /* keeps the shine off the centre label */
          mask: radial-gradient(circle, transparent 0 25%, #000 26%);
}

/* Forgotten Spaces > 3D Art > General: a card that opens the ArtStation portfolio */
.gal-grid:is([data-medium="art"], [data-medium="mix"], [data-medium="photo"]) .gi-ext.show { display: block; column-span: all; margin-bottom: 34px; }   /* card stretches across; the rest sits below */
.gx-card {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 12px;
  aspect-ratio: 21 / 8 !important; padding: 7% 7% 6%; text-decoration: none; color: var(--ink); overflow: hidden;
  background:
    radial-gradient(ellipse 60% 90% at 85% 10%, rgba(19, 175, 240, 0.18), transparent 70%),
    radial-gradient(ellipse 50% 80% at 10% 100%, rgba(142, 37, 51, 0.25), transparent 70%),
    linear-gradient(160deg, #101418, #060606);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: border-color 0.3s, transform 0.3s;
}
.gx-card:hover { border-color: rgba(255, 255, 255, 0.28); transform: translateY(-3px); }
.gx-k { font-family: var(--body); font-size: 10px; font-weight: 500; letter-spacing: 3px; text-transform: uppercase; color: var(--muted); }
.gx-t { font-family: var(--serif); font-size: clamp(36px, 6vw, 64px); line-height: 1; }
.gx-s { max-width: 460px; font-family: var(--body); font-size: 14px; line-height: 1.7; color: var(--muted); }
.gx-go { margin-top: 6px; font-family: var(--body); font-size: 10.5px; font-weight: 500; letter-spacing: 2.6px; text-transform: uppercase; border: 1px solid var(--crimson-bright); padding: 12px 18px; }
.gx-card:hover .gx-go { background: rgba(142, 37, 51, 0.25); }
@media (max-width: 640px) { .gx-card { aspect-ratio: 4 / 5 !important; padding: 26px; } .gx-s { font-size: 13px; } }

/* Photography tab: a clean masonry of photos, like 3D Art */
.gal-grid[data-medium="photo"] { display: block; columns: 3; column-gap: 22px; }
.gal-grid[data-medium="photo"] .gi.show { break-inside: avoid; margin-bottom: 30px; display: inline-block; width: 100%; }
.gal-grid[data-medium="photo"] .gi-empty.show { columns: auto; }
.gal-grid[data-medium="photo"]:has(.gi-empty.show) { columns: 1; }
@media (max-width: 1100px) { .gal-grid[data-medium="photo"] { columns: 2; } }
@media (max-width: 640px) { .gal-grid[data-medium="photo"] { columns: 2; column-gap: 12px; } .gal-grid[data-medium="photo"] .gi.show { margin-bottom: 20px; } }
.gx-empty { cursor: default; }

/* collection drop-down: Videos row, then Photos row, each a swipeable carousel */
.loc-row { margin-top: 26px; }
.loc-row:first-child { margin-top: 22px; }
.loc-row-h { display: flex; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.loc-row-h h4 { font-family: var(--serif-2); font-weight: 400; font-size: 24px; letter-spacing: 0.5px; }
.loc-row-h span { font-family: var(--body); font-size: 10px; letter-spacing: 2.4px; color: var(--crimson-bright); }
.car-nav { margin-left: auto; display: flex; gap: 6px; }
.car-nav button { width: 36px; height: 36px; border: 1px solid rgba(255, 255, 255, 0.14); background: none; color: var(--ink); font-size: 18px; cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.car-nav button:hover { border-color: var(--crimson-bright); background: rgba(142, 37, 51, 0.18); }
.car-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 30%); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 2px; padding: 4px 2px 14px;
  -webkit-overflow-scrolling: touch; scrollbar-width: thin;
}
.loc-row-videos .car-track { grid-auto-columns: minmax(280px, 42%); }
.car-track > .ang-btn { scroll-snap-align: start; }
.car-track .ang-tile { aspect-ratio: 4 / 3; }
.loc-row-videos .car-track .ang-tile { aspect-ratio: 16 / 9; }
@media (max-width: 640px) {
  .car-nav { display: none; }                         /* swipe on phones */
  .car-track { grid-auto-columns: 72%; gap: 12px; }
  .loc-row-videos .car-track { grid-auto-columns: 84%; }
  .loc-row-h h4 { font-size: 20px; }
}

/* video playing in place */
.inline-play { position: absolute; z-index: 5; background: #000; box-shadow: 0 24px 50px -18px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(142, 37, 51, 0.6); }
.inline-play iframe, .inline-play video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.inline-x {
  position: absolute; top: 8px; right: 8px; z-index: 2; width: 30px; height: 30px; border-radius: 50%;
  background: rgba(0, 0, 0, 0.65); border: 1px solid rgba(255, 255, 255, 0.25); color: #fff; font-size: 18px; line-height: 1; cursor: pointer;
}
.gi .gi-cap { cursor: pointer; }

/* YouTube in place: our own controls; tapping the picture doesn't pause */
.inline-play .ip-video, .inline-play .ip-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ip-shield { position: absolute; inset: 0; z-index: 1; pointer-events: none; }   /* until it starts, YouTube's own play button can be tapped (iPad) */
.inline-play.started .ip-shield { pointer-events: auto; }
.ip-bar {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: flex; align-items: center; gap: 10px; padding: 26px 12px 10px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
  font-family: var(--body); font-size: 11px; color: #f2ede6;
}
.ip-pp { flex: none; position: relative; width: 34px; height: 34px; border-radius: 50%; background: #f2ede6; border: 0; cursor: pointer; }
.ip-pp::before {   /* play icon */
  content: ""; position: absolute; left: 13px; top: 10px; width: 0; height: 0;
  border-left: 11px solid #0b0909; border-top: 7px solid transparent; border-bottom: 7px solid transparent;
}
.inline-play.playing .ip-pp::before {   /* pause icon */
  left: 11px; top: 10px; width: 12px; height: 14px; border: 0;
  background: linear-gradient(90deg, #0b0909 0 35%, transparent 35% 65%, #0b0909 65%);
}
.ip-cur, .ip-dur { flex: none; min-width: 32px; text-align: center; font-variant-numeric: tabular-nums; }
.ip-seek { flex: 1; min-width: 0; height: 22px; accent-color: var(--crimson-bright); background: transparent; cursor: pointer; }
.inline-x { z-index: 3; }

/* the round play / pause bubble in the middle of a video playing in place */
.ip-big {
  position: absolute; left: 50%; top: 50%; z-index: 2; width: 64px; height: 64px; margin: -32px 0 0 -32px;
  border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.6); background: rgba(10, 8, 8, 0.45);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); cursor: pointer;
  opacity: 0; pointer-events: none; transition: opacity 0.3s, transform 0.2s, background 0.2s;
}
.inline-play.started .ip-big { opacity: 1; pointer-events: auto; }                  /* paused: always showing */
.inline-play.started.playing .ip-big { opacity: 0; pointer-events: none; }          /* playing: tucked away... */
.inline-play.started.playing.peek .ip-big { opacity: 1; pointer-events: auto; }     /* ...until you tap the picture */
.ip-big:hover { background: rgba(142, 37, 51, 0.55); transform: scale(1.06); }
.ip-big::before {   /* play icon */
  content: ""; position: absolute; left: 25px; top: 21px; width: 0; height: 0;
  border-left: 18px solid #fff; border-top: 11px solid transparent; border-bottom: 11px solid transparent;
}
.inline-play.playing .ip-big::before {   /* pause icon */
  left: 23px; top: 21px; width: 18px; height: 22px; border: 0;
  background: linear-gradient(90deg, #fff 0 33%, transparent 33% 67%, #fff 67%);
}

/* several videos can play at once; only one has sound */
.ip-snd { flex: none; position: relative; width: 30px; height: 30px; border: 0; background: none; cursor: pointer; }
.ip-snd::before {   /* speaker */
  content: ""; position: absolute; left: 6px; top: 9px; width: 6px; height: 12px; background: #f2ede6;
  clip-path: polygon(0 30%, 40% 30%, 100% 0, 100% 100%, 40% 70%, 0 70%);
  width: 12px;
}
.ip-snd::after {   /* sound waves */
  content: ""; position: absolute; left: 17px; top: 9px; width: 8px; height: 12px; border: 2px solid #f2ede6;
  border-left: 0; border-radius: 0 12px 12px 0;
}
.inline-play.muted .ip-snd::after {   /* muted: a cross instead of waves */
  border: 0; border-radius: 0; left: 17px; top: 10px; width: 10px; height: 10px;
  background: linear-gradient(45deg, transparent 42%, #e2556a 42% 58%, transparent 58%), linear-gradient(-45deg, transparent 42%, #e2556a 42% 58%, transparent 58%);
}
.inline-play.muted { box-shadow: 0 24px 50px -18px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.12); }

/* ================= Art & Film: puzzle layout =================
   Only two card sizes: landscape (2 columns wide) and portrait / shorts (2 rows tall).
   They lock together with no gaps; titles sit on the card. Row height is set by script.js. */
.gal-grid[data-medium="mix"] {
  display: grid !important; columns: auto !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: var(--rowh, 200px); grid-auto-flow: row dense; gap: 16px;
}
.gal-grid[data-medium="mix"] .gi.show {
  position: relative; display: block; margin: 0 !important; width: auto;
  grid-column: span 2; grid-row: span 1;                     /* landscape */
}
.gal-grid[data-medium="mix"] .gi.show[data-orient="tall"] { grid-column: span 1; grid-row: span 2; }   /* portrait / shorts */
.gal-grid[data-medium="mix"] .gi.show.gi-ext { grid-column: 1 / -1; grid-row: span 1; }
.gal-grid[data-medium="mix"] .gi.show .gi-media { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto !important; }
.gal-grid[data-medium="mix"] .gi.show .gx-card { aspect-ratio: auto !important; }
.gal-grid[data-medium="mix"] .gi.show:not(.gi-ext) .gi-cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; margin: 0; padding: 40px 14px 12px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.82)); pointer-events: none;
}
.gal-grid[data-medium="mix"] .gi.show .gi-cap h3 { font-size: 18px; margin-top: 3px; color: #f2ede6; }
.gal-grid[data-medium="mix"] .gi.show .gi-cat { font-size: 8.5px; letter-spacing: 1.8px; }
.gal-grid[data-medium="mix"] .gi.show .gi-dur { bottom: auto; top: 10px; }
@media (max-width: 640px) {
  .gal-grid[data-medium="mix"] { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .gal-grid[data-medium="mix"] .gi.show .gi-cap { padding: 30px 10px 9px; }
  .gal-grid[data-medium="mix"] .gi.show .gi-cap h3 { font-size: 15px; }
  .gal-grid[data-medium="mix"] .gi.show .gi-cat { font-size: 7.5px; letter-spacing: 1.4px; }
}

/* collection carousels: shorts keep a portrait card */
.car-track > .ang-btn.is-tall { grid-column: auto; }
.loc-row-videos .car-track .ang-btn.is-tall .ang-tile { aspect-ratio: 9 / 16; }
/* a row mixing shorts and wide videos: every card the same height, shorts portrait, videos 16:9 */
.loc-row-videos .car-track:has(.is-tall) { display: flex; align-items: flex-start; --ch: 340px; }
.loc-row-videos .car-track:has(.is-tall) > .ang-btn { flex: none; width: calc(var(--ch) * 16 / 9); max-width: 84vw; }
.loc-row-videos .car-track:has(.is-tall) > .ang-btn.is-tall { width: calc(var(--ch) * 9 / 16); }
.loc-row-videos .car-track:has(.is-tall) > .ang-btn .ang-tile { aspect-ratio: 16 / 9; }
.loc-row-videos .car-track:has(.is-tall) > .ang-btn.is-tall .ang-tile { aspect-ratio: 9 / 16; }
.coll-feature .loc-row:first-child { margin-top: 0; }
@media (max-width: 640px) { .loc-row-videos .car-track:has(.is-tall) { --ch: 260px; } }

/* phone: Art & Film cards take the whole row; shorts go two to a row. */
@media (max-width: 640px) {
  .gal-grid[data-medium="mix"] { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; grid-auto-flow: row dense; gap: 12px; }
  .gal-grid[data-medium="mix"] .gi.show { grid-column: 1 / -1; grid-row: auto; }
  .gal-grid[data-medium="mix"] .gi.show[data-orient="tall"] { grid-column: span 1; }
  .gal-grid[data-medium="mix"] .gi.show .gi-media { position: relative; inset: auto; height: auto; aspect-ratio: 16 / 9 !important; }
  .gal-grid[data-medium="mix"] .gi.show[data-orient="tall"] .gi-media { aspect-ratio: 9 / 16 !important; }
  .gal-grid[data-medium="mix"] .gi.show.gi-ext .gi-media { aspect-ratio: 4 / 5 !important; }
  .gal-grid[data-medium="mix"] .gi.show .gi-cap h3 { font-size: 17px; }
  .gal-grid[data-medium="mix"] .gi.show[data-orient="tall"] .gi-cap h3 { font-size: 14px; }
  .gal-grid[data-medium="mix"] .gi.show[data-orient="tall"] .gi-play { transform: scale(0.8); }
}

/* home: Forgotten Spaces card slideshow, with the cover's dark, faded, grainy look */
.card-img.cs-on { position: relative; overflow: hidden; background-image: none; background-color: #0d0d0b; }
.cs-slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.6s ease;
  filter: sepia(0.35) saturate(0.55) contrast(1.08) brightness(0.9);
}
.cs-slide.on { opacity: 1; }
.cs-slide.orig { filter: none; }   /* your cover already has the look */
.card-img.cs-on::after {   /* grain + dark edges over every slide */
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 45%, transparent 50%, rgba(0, 0, 0, 0.4) 100%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.5  0 0 0 0 0.45  0 0 0 0 0.4  0 0 0 0.55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay; opacity: 0.9;
}

/* home: Modern Traces card — live fire-spinning scene, with the same grain as the other cards */
.card-img.fire-on, .card-img.viz-on { position: relative; overflow: hidden; background: #050404; }
.fire-cv { position: absolute; inset: 0; width: 100%; height: 100%; display: block; filter: sepia(0.2) contrast(1.05); }
.card-img.fire-on::after, .card-img.viz-on::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 45%, transparent 50%, rgba(0, 0, 0, 0.45) 100%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.5  0 0 0 0 0.45  0 0 0 0 0.4  0 0 0 0.55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay; opacity: 0.9;
}

/* iPad / tablet: navbar links centred on the screen (the logo is small now, so there's room) */
@media (min-width: 641px) and (max-width: 1100px) {
  .nav .nav-links { position: absolute; left: 50%; transform: translateX(-50%); flex: none; margin-right: 0; }
}
