:root {
  --bg: #0b0b0c;
  --surface: #141416;
  --surface-2: #1d1d20;
  --line: rgba(255, 255, 255, .09);
  --text: #f4f1ec;
  --muted: #9d978f;
  --dim: #6d6862;
  --accent: #ff5500;
  --accent-hi: #ff7a33;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --pad: clamp(18px, 5vw, 64px);
  --max: 1180px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.has-player { padding-bottom: 92px; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
svg { width: 1.25em; height: 1.25em; fill: currentColor; flex: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: #fff; }

h1, h2, .logo { font-family: var(--serif); }
h1 em, h2 em { font-style: italic; font-weight: 400; }
h2 { font-weight: 500; font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.05; margin: 0; letter-spacing: -.01em; }
.label { margin: 0 0 .9rem; color: var(--accent); font-size: .74rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.meta { color: var(--muted); font-size: .84rem; }

/* ---------- top bar: a solid strip above the banner, so the picture needs no shading behind the menu ---------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 8px 24px;
  padding: 11px var(--pad);
  background: rgba(11, 11, 12, .94); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}
.logo { font-style: italic; font-size: clamp(1.15rem, 2.4vw, 1.5rem); text-decoration: none; letter-spacing: .03em; white-space: nowrap; }
.nav nav { display: flex; gap: clamp(14px, 3vw, 36px); }
.nav nav a { position: relative; text-decoration: none; color: rgba(244, 241, 236, .75); font-size: .88rem; letter-spacing: .04em; padding: 6px 0; }
.nav nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav nav a:hover { color: var(--text); }
.nav nav a:hover::after { transform: scaleX(1); }
.nav nav .nav-home { display: inline-flex; align-items: center; gap: 7px; }
.nav-home svg { width: 1.15em; height: 1.15em; }

/* ---------- banner: the photograph with no shading, text in its dark upper-left corner ---------- */
.hero { position: relative; height: clamp(300px, 31vw, 470px); display: grid; align-items: start; isolation: isolate; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-bg {
  position: absolute; inset: -3%; z-index: -2;
  background: url(img/hero.jpg) center 70% / cover no-repeat;
  filter: grayscale(1) contrast(1.05) brightness(1.04);
  animation: drift 28s ease-in-out infinite alternate;
}
.hero::after {             /* film grain */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .16; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@keyframes drift { from { transform: scale(1) translate3d(0, 0, 0); } to { transform: scale(1.05) translate3d(-1%, -.6%, 0); } }

.hero-inner { width: 100%; padding: clamp(24px, 3vw, 46px) var(--pad) 0; }
.eyebrow { display: flex; align-items: center; gap: 14px; margin: 0 0 .9rem; color: rgba(244,241,236,.94); letter-spacing: .2em; text-transform: uppercase; font-size: .72rem; font-weight: 500; text-shadow: 0 1px 3px rgba(0,0,0,.8), 0 0 18px rgba(0,0,0,.7); }
.rule { width: 44px; height: 1px; background: var(--accent); flex: none; }
h1 { font-weight: 500; font-size: clamp(1.8rem, 3.7vw, 3.2rem); line-height: 1.06; letter-spacing: -.015em; margin: 0; max-width: 17ch; text-wrap: balance; text-shadow: 0 1px 3px rgba(0,0,0,.7), 0 2px 26px rgba(0,0,0,.7); }
h1 em { color: inherit; }

/* ---------- centre column: stays black; from 1260px wide the page shows grey to its left and right ---------- */
.stage-col { max-width: var(--max); margin: 0 auto; padding-bottom: clamp(72px, 11vw, 136px); background: var(--bg); }
@media (min-width: 1260px) { .stage { background: #3d3d3d; } }

/* ---------- buttons and figures, directly under the banner ---------- */
.intro { max-width: var(--max); margin: 0 auto; padding: clamp(24px, 3.4vw, 40px) var(--pad) 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px 48px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 11px 20px; border-radius: 999px;
  background: transparent; border: 1px solid rgba(255,255,255,.28); text-decoration: none; font-weight: 500; font-size: .95rem;
  transition: background .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { border-color: var(--text); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; padding: 15px 28px 15px 22px; font-size: 1rem; box-shadow: 0 10px 34px -10px rgba(255, 85, 0, .7); }
.btn-primary:hover { background: var(--accent-hi); border-color: var(--accent-hi); transform: translateY(-1px); box-shadow: 0 14px 40px -10px rgba(255, 85, 0, .85); }
a.btn-primary { padding-inline: 28px; }
.btn-ghost { padding: 15px 26px; backdrop-filter: blur(6px); background: rgba(255,255,255,.05); }
.btn-small { padding: 6px 13px 6px 10px; font-size: .8rem; gap: 6px; white-space: nowrap; border-color: var(--line); color: var(--muted); }
.btn-small svg { width: 1.1em; height: 1.1em; }
.btn-small:hover { color: var(--text); border-color: rgba(255,255,255,.4); }

.stats { display: flex; flex-wrap: wrap; gap: 12px clamp(24px, 4vw, 52px); margin: 0; }
.stats div { display: flex; align-items: baseline; gap: 10px; }
.stats dt { order: 2; color: var(--muted); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.stats dd { margin: 0; font-family: var(--serif); font-size: clamp(1.6rem, 2.8vw, 2.2rem); line-height: 1; }

/* ---------- clients ---------- */
.clients { max-width: var(--max); margin: clamp(24px, 3.4vw, 40px) auto 0; padding: clamp(22px, 3vw, 32px) var(--pad) 0; position: relative; display: grid; grid-template-columns: auto 1fr; gap: 10px 40px; align-items: baseline; }
.clients::before { content: ""; position: absolute; top: 0; left: var(--pad); right: var(--pad); height: 1px; background: var(--line); }
.clients .label { margin: 0; color: var(--dim); white-space: nowrap; }
.clients ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 0; font-family: var(--serif); font-style: italic; font-size: clamp(1.05rem, 2vw, 1.4rem); color: #cfc9c0; }
.clients li:not(:last-child)::after { content: "·"; color: var(--accent); margin: 0 .7em; font-style: normal; }

/* ---------- sections ---------- */
.wrap { max-width: var(--max); margin: 0 auto; padding: clamp(72px, 11vw, 136px) var(--pad) 0; }
#highlights { padding-top: clamp(56px, 7vw, 92px); }
.sec-head { margin-bottom: clamp(24px, 4vw, 44px); }

/* ---------- highlights ---------- */
.highlights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.hl {
  position: relative; isolation: isolate; overflow: hidden;
  aspect-ratio: 4 / 5; border-radius: 14px; background: var(--surface);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(16px, 2vw, 24px);
  box-shadow: 0 0 0 1px var(--line);
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s;
}
.hl:hover, .hl.is-current { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(255,255,255,.2), 0 30px 60px -30px #000; }
.hl.is-current { box-shadow: 0 0 0 1px var(--accent), 0 30px 60px -30px rgba(255,85,0,.45); }
.hl > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s cubic-bezier(.2,.7,.2,1), filter .4s; filter: saturate(.85); }
.hl:hover > img { transform: scale(1.05); filter: saturate(1); }
.hl::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(8,8,9,.97) 0%, rgba(8,8,9,.82) 38%, rgba(8,8,9,.08) 76%); }
.hl-ph { position: absolute; inset: 0; z-index: -2; display: grid; place-items: start center; padding-top: 12%; font-family: var(--serif); font-style: italic; font-size: clamp(5rem, 11vw, 9rem); line-height: 1; color: rgba(244,241,236,.16); background: radial-gradient(120% 90% at 50% 0%, #34343a, #17171a 70%); }
.hl-num { position: absolute; top: 16px; left: 20px; font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: rgba(255,255,255,.85); text-shadow: 0 1px 8px rgba(0,0,0,.6); }
.hl-title { font-family: var(--serif); font-weight: 500; font-size: clamp(1.45rem, 2.4vw, 2rem); line-height: 1.1; margin: 0 0 8px; text-wrap: balance; }
.hl-title em { display: block; font-size: .68em; font-weight: 400; color: #ddd6cb; margin-top: 4px; }
.hl .meta { color: #c4bdb3; }
.hl-row { display: flex; align-items: center; gap: 14px; margin-top: 16px; }
.hl-play { flex: none; width: 54px; height: 54px; border: 0; padding: 0; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px -6px rgba(255,85,0,.7); transition: transform .2s, background .2s; }
.hl-play:hover { transform: scale(1.07); background: var(--accent-hi); }
.hl-play svg { width: 26px; height: 26px; }
.hl-play::after { content: ""; position: absolute; inset: 0; }     /* whole card starts playback */
.hl canvas { flex: 1; min-width: 0; height: 44px; position: relative; z-index: 1; cursor: pointer; }
.hl-title.is-long { font-size: clamp(1.25rem, 1.95vw, 1.62rem); }
.hl-tools { position: absolute; top: 14px; right: 14px; z-index: 1; display: flex; align-items: center; gap: 8px; }
.hl .btn-small { background: rgba(8,8,9,.55); backdrop-filter: blur(8px); color: var(--text); border-color: rgba(255,255,255,.22); }
.hl .info-btn { width: 30px; height: 30px; font-size: 1.05rem; background: rgba(8,8,9,.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: var(--text); border-color: rgba(255,255,255,.3); }

/* ---------- info button and its text bubble ---------- */
.info-btn {
  flex: none; width: 22px; height: 22px; padding: 0; border-radius: 50%;
  display: inline-grid; place-items: center;
  border: 1px solid rgba(255,255,255,.38); background: transparent; color: #d8d2c8;
  font: italic 500 .86rem/1 var(--serif);
  transition: color .2s, border-color .2s, background .2s;
}
.info-btn:hover, .info-btn[aria-expanded="true"] { color: #fff; border-color: var(--accent); background: var(--accent); }
.info-pop {
  position: fixed; z-index: 40; width: min(340px, calc(100vw - 24px));
  padding: 16px 40px 17px 18px; border-radius: 12px;
  background: #f4f1ec; color: #1b1a18; text-align: left;
  box-shadow: 0 24px 60px -12px rgba(0,0,0,.75), 0 0 0 1px rgba(0,0,0,.25);
}
.info-pop::before { content: ""; position: absolute; left: var(--ax, 50%); top: -6px; width: 12px; height: 12px; margin-left: -6px; background: inherit; transform: rotate(45deg); border-radius: 2px; }
.info-pop.is-above::before { top: auto; bottom: -6px; }
.info-title { margin: 0 0 6px; font-family: var(--serif); font-weight: 500; font-size: 1.02rem; line-height: 1.25; }
.info-text { margin: 0; font-size: .9rem; line-height: 1.55; color: #3a3733; white-space: pre-line; }
.info-close { position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; border: 0; border-radius: 50%; background: none; color: #6d6862; font: .85rem var(--sans); }
.info-close:hover { background: rgba(0,0,0,.08); color: #1b1a18; }

/* ---------- filters ---------- */
.filters { display: grid; gap: 12px; margin-bottom: 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--muted); font-size: .92rem; transition: color .2s, border-color .2s, background .2s; }
.chip:hover { color: var(--text); border-color: rgba(255,255,255,.35); }
.chip[aria-pressed="true"] { background: var(--text); color: #0b0b0c; border-color: var(--text); font-weight: 500; }
.chips-minor .chip { font-size: .8rem; padding: 5px 13px; }
.chips-minor .chip[aria-pressed="true"] { background: transparent; color: var(--accent); border-color: var(--accent); }
.chip small { opacity: .55; margin-left: 6px; font-size: .78em; font-variant-numeric: tabular-nums; }

/* ---------- track list ---------- */
.tracks { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); counter-reset: n; }
.track {
  counter-increment: n; position: relative;
  display: grid; grid-template-columns: 2.2ch 72px minmax(0, 1.1fr) minmax(0, 1fr) 92px 4ch; align-items: center; gap: clamp(10px, 1.6vw, 20px);
  padding: 10px clamp(6px, 1vw, 14px); border-bottom: 1px solid var(--line);
  transition: background .2s;
}
.track::before { content: counter(n, decimal-leading-zero); color: var(--dim); font-size: .76rem; font-variant-numeric: tabular-nums; }
.track:hover { background: rgba(255,255,255,.035); }
.track.is-current { background: linear-gradient(90deg, rgba(255,85,0,.12), rgba(255,85,0,0) 70%); }
.track.is-current::before { color: var(--accent); }
.t-art { position: relative; width: 72px; height: 54px; border: 0; padding: 0; border-radius: 6px; overflow: hidden; background: var(--surface-2); }
.t-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s, filter .2s; }
.t-art .ph { width: 100%; height: 100%; display: grid; place-items: center; font-family: var(--serif); font-style: italic; color: var(--dim); font-size: 1.5rem; background: linear-gradient(135deg, #26262a, #151517); }
.t-art .play-badge { position: absolute; inset: 0; margin: auto; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; opacity: 0; transform: scale(.8); transition: opacity .18s, transform .18s; }
.t-art .play-badge svg { width: 18px; height: 18px; }
.track:hover .t-art img, .track.is-current .t-art img { filter: brightness(.55); transform: scale(1.06); }
.track:hover .play-badge, .t-art:focus-visible .play-badge, .track.is-current .play-badge { opacity: 1; transform: none; }
.t-text { min-width: 0; }
.t-title { display: flex; align-items: center; gap: 9px; font-weight: 500; font-size: 1.02rem; }
.t-title > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.track.is-current .t-title { color: var(--accent); }
.t-text .meta { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.t-wave { height: 34px; width: 100%; cursor: pointer; opacity: .75; transition: opacity .2s; }
.track:hover .t-wave, .track.is-current .t-wave { opacity: 1; }
.t-vid { justify-self: end; }
.t-dur { color: var(--muted); font-size: .84rem; font-variant-numeric: tabular-nums; text-align: right; }
.empty { color: var(--muted); padding: 28px 0; }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 6vw, 88px); align-items: center; }
.about-img { margin: 0; position: relative; }
.about-img img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 40% 30%; border-radius: 14px; filter: grayscale(1) contrast(1.05); }
.about-img::after { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--accent); border-radius: 14px; z-index: -1; opacity: .7; }
.about h2 { margin-bottom: 1.4rem; }
.lead { font-family: var(--serif); font-style: italic; font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.4; margin: 0 0 1.2rem; color: #e6e0d6; }
.about p:not(.label) { max-width: 54ch; color: #c9c3ba; }
.note { color: #a67c5f !important; font-size: .8rem; border-left: 2px solid currentColor; padding-left: 10px; margin-top: 1.6rem; }

/* ---------- contact: a plain white panel ---------- */
.contact { background: #fff; color: #141312; text-align: center; color-scheme: light; }
.contact-inner { max-width: 760px; margin: 0 auto; padding: clamp(72px, 10vw, 128px) var(--pad); }
.contact .label { color: #c44100; }
.contact h2 { font-size: clamp(2.4rem, 6.5vw, 4.6rem); margin-bottom: 1rem; }
.contact h2 em { color: var(--accent); }
.contact p:not(.label) { color: #4a4641; margin: 0 auto; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 2.4rem; text-align: left; }
.field { display: grid; gap: 7px; min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field label { font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #3f3b37; }
.field label span { font-weight: 400; letter-spacing: .04em; text-transform: none; color: #77726b; }
.field input, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: 10px;
  border: 1px solid #c4bfb8; background: #fff; color: #141312;
  font: inherit; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:hover, .field textarea:hover { border-color: #8d8780; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255,85,0,.18); }
.field-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.form-foot .btn-primary { padding-inline: 28px; }
.form-foot .btn[disabled] { opacity: .6; cursor: default; }
.contact p.form-status { margin: 0; flex: 1 1 240px; font-size: .9rem; color: #1f6b3a; }
.contact p.form-status.is-error { color: #b3261e; }
.contact p.contact-alt { margin-top: 1.8rem; font-size: .92rem; color: #6d6862; }
.contact-alt a { color: #141312; text-underline-offset: 3px; }
.contact-alt a:hover { color: #c44100; }

.foot { max-width: var(--max); margin: 0 auto; padding: 28px var(--pad) 36px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; color: var(--dim); font-size: .82rem; }
.foot .logo { color: var(--muted); font-size: 1.1rem; }

/* ---------- player bar ---------- */
.player {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: flex; align-items: center; gap: clamp(10px, 1.6vw, 20px);
  padding: 12px var(--pad) calc(12px + env(safe-area-inset-bottom, 0px));
  background: rgba(16, 16, 18, .86); backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5);
  border-top: 1px solid var(--line);
  box-shadow: 0 -20px 50px -20px #000;
  animation: rise .45s cubic-bezier(.2,.8,.2,1);
}
@keyframes rise { from { transform: translateY(100%); } }
.player > img { width: 52px; height: 52px; object-fit: cover; border-radius: 6px; flex: none; background: var(--surface-2); }
.p-main { flex: 1; min-width: 0; }
.p-title { display: flex; align-items: baseline; gap: 12px; font-weight: 500; font-size: .95rem; white-space: nowrap; overflow: hidden; }
.p-title > span { overflow: hidden; text-overflow: ellipsis; }
.p-title .meta { font-weight: 400; flex: 1 10 auto; }
.p-title .info-btn { align-self: center; }
.p-seek { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .76rem; font-variant-numeric: tabular-nums; }
.p-wave { position: relative; flex: 1; min-width: 0; height: 32px; }
.p-wave canvas { width: 100%; height: 100%; }
.p-wave input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.p-wave:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.p-ctrl { display: flex; align-items: center; gap: 2px; flex: none; }
.p-ctrl button { background: none; border: 0; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: var(--muted); transition: color .2s, background .2s, transform .2s; }
.p-ctrl button:hover { color: var(--text); background: rgba(255,255,255,.08); }
.p-ctrl .p-big { background: var(--accent); color: #fff; width: 46px; height: 46px; margin: 0 4px; }
.p-ctrl .p-big:hover { background: var(--accent-hi); color: #fff; transform: scale(1.06); }
.p-ctrl .p-big svg { width: 24px; height: 24px; }
.player .btn-small { color: var(--text); border-color: rgba(255,255,255,.25); padding: 8px 15px 8px 12px; }

.preview-ribbon { position: fixed; left: 50%; top: 70px; transform: translateX(-50%); z-index: 45; max-width: calc(100vw - 24px); padding: 9px 18px; border-radius: 999px; background: var(--accent); color: #fff; font-size: .84rem; font-weight: 500; box-shadow: 0 12px 34px -8px rgba(0,0,0,.7); text-align: center; }
.preview-ribbon a { color: #fff; font-weight: 600; }

/* ---------- video ---------- */
dialog { border: 0; border-radius: 14px; padding: 0; background: #000; color: var(--text); width: min(1040px, 94vw); overflow: hidden; box-shadow: 0 0 0 1px var(--line), 0 50px 120px -20px #000; }
dialog[open] { animation: pop .3s cubic-bezier(.2,.8,.2,1); }
dialog::backdrop { background: rgba(4, 4, 5, .88); backdrop-filter: blur(6px); }
@keyframes pop { from { opacity: 0; transform: scale(.96); } }
.v-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 10px 10px 20px; background: var(--surface); font-family: var(--serif); font-style: italic; font-size: 1.1rem; }
.v-head button { background: none; border: 0; font: 1rem var(--sans); width: 38px; height: 38px; border-radius: 50%; color: var(--muted); }
.v-head button:hover { background: var(--surface-2); color: var(--text); }
dialog video { display: block; width: 100%; max-height: 78vh; background: #000; }

/* ---------- scroll reveal (only when the script is running) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
  .js .reveal.in { opacity: 1; transform: none; }
  .hero-inner > * { animation: up .9s cubic-bezier(.2,.7,.2,1) both; }
  .hero-inner > :nth-child(2) { animation-delay: .1s; }
  .intro > * { animation: up .9s cubic-bezier(.2,.7,.2,1) .22s both; }
  .intro > :nth-child(2) { animation-delay: .34s; }
  @keyframes up { from { opacity: 0; transform: translateY(26px); } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-bg, .player, dialog[open] { animation: none; }
}

/* ---------- smaller screens ---------- */
@media (max-width: 900px) {
  .track { grid-template-columns: 2.2ch 72px minmax(0, 1fr) 92px 4ch; }
  .t-wave { display: none; }
  .highlights { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hl:last-child:nth-child(odd) { grid-column: 1 / -1; aspect-ratio: 2.3 / 1; }     /* an odd panel out takes the full row */
}
@media (max-width: 640px) {
  .nav nav .nav-hl, .nav-home span { display: none; }
  .nav { gap: 8px 12px; }
  .nav nav { gap: 13px; }
  .nav nav a { font-size: .82rem; }
  .logo { font-size: 1.04rem; letter-spacing: .01em; }
  .stats { width: 100%; display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; }
  .stats div { flex-direction: column; align-items: flex-start; gap: 5px; }
  .stats dt { font-size: .7rem; }
  .nav-home svg { width: 1.35em; height: 1.35em; }
  .hero { align-items: end; }
  .hero-inner { padding: 0 var(--pad) 22px; }
  .hero-bg { background-size: auto 150%; background-position: 72% 78%; }
  .hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(11,11,12,.92) 0%, rgba(11,11,12,.6) 36%, rgba(11,11,12,0) 68%); }   /* phones only: the text sits over the bright part of the picture */
  .eyebrow { letter-spacing: .14em; gap: 10px; }
  .eyebrow .rule { width: 24px; }
  .highlights { gap: 10px; }
  .contact-form { grid-template-columns: 1fr; }
  .clients { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; }
  .about-img { max-width: 300px; }
  .hl { aspect-ratio: auto; min-height: 238px; padding: 12px; border-radius: 12px; }
  .hl:last-child:nth-child(odd) { aspect-ratio: auto; min-height: 190px; }
  .hl-num { top: 12px; left: 13px; font-size: .88rem; }
  .hl-tools { top: 9px; right: 9px; gap: 6px; }
  .hl .btn-small { padding: 7px; }
  .hl .btn-small span { display: none; }
  .hl-title, .hl-title.is-long { font-size: 1.08rem; margin-bottom: 6px; }
  .hl .meta { font-size: .72rem; line-height: 1.4; }
  .hl-row { gap: 9px; margin-top: 10px; }
  .hl-play { width: 38px; height: 38px; }
  .hl-play svg { width: 20px; height: 20px; }
  .hl canvas { height: 30px; }
  .hl::before { background: linear-gradient(to top, rgba(8,8,9,.97) 0%, rgba(8,8,9,.86) 48%, rgba(8,8,9,.3) 82%, rgba(8,8,9,.12) 100%); }
  .track { grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; padding-inline: 0; }
  .track::before, .t-dur { display: none; }
  .t-art { width: 56px; height: 44px; }
  .t-vid span { display: none; }
  .t-vid { padding: 8px; }
  .player { gap: 10px; padding-inline: 14px; }
  .player > img, #p-prev, #p-next, .p-title .meta, #p-video span { display: none; }
  .player .btn-small { padding: 9px; }
  .p-ctrl .p-big { margin: 0; }
  body.has-player { padding-bottom: 84px; }
}
@media (max-width: 380px) {
  .nav { padding-inline: 14px; }
  .nav nav { gap: 10px; }
  .nav nav a { font-size: .78rem; letter-spacing: .02em; }
  .logo { font-size: .96rem; }
  .eyebrow { letter-spacing: .1em; font-size: .66rem; }
}
