/* Classic edition: the original nadavfriedman.com look (black ground, warm tan
   type, Cormorant Garamond headings, Garamond text, big pill buttons, centered
   logo) rebuilt with a clearer reading order and left-aligned sections. */
:root {
  --black: #000000;      /* page ground, as on the original site */
  --panel: #0d0b09;      /* quiet raised band */
  --tan: #c8a47e;        /* the original site's single colour: text, headings, buttons */
  --tan-soft: #a88c6c;   /* secondary text */
  --cream: #eadccb;      /* rare emphasis, long-form reading */
  --rule: rgba(200, 164, 126, 0.28);
  --wa: #4fce7a;

  --f-head: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --f-text: "EB Garamond", "Adobe Garamond Pro", Garamond, "Times New Roman", serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 56px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0; background: var(--black); color: var(--tan);
  font-family: var(--f-text); font-size: 1.2rem; line-height: 1.65; font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--tan); text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { color: var(--cream); }
:focus-visible { outline: 1px solid var(--cream); outline-offset: 4px; }
h1, h2, h3 { font-family: var(--f-head); font-weight: 500; line-height: 1.08; margin: 0; color: var(--tan); text-wrap: balance; }
h1 { font-size: clamp(2.8rem, 2rem + 4vw, 5rem); }
h2 { font-size: clamp(2.2rem, 1.7rem + 2.2vw, 3.3rem); }
h3 { font-size: clamp(1.6rem, 1.4rem + .8vw, 2rem); }
p { margin: 0; }
em { font-style: italic; }
.kicker { font-family: var(--f-text); font-style: italic; font-size: 1.15rem; color: var(--tan-soft); }
.muted { color: var(--tan-soft); }
.prose { display: grid; gap: 1em; max-width: 62ch; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 128px); }
.section.tight { padding-block: clamp(40px, 6vw, 72px); }
.band { background: var(--panel); }
.head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 32px; margin-bottom: clamp(28px, 4vw, 52px); }
.head > div { display: grid; gap: 8px; min-width: 0; max-width: 62ch; }
.rule { border: 0; border-top: 1px solid var(--rule); margin: 0; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 12px; top: 12px; background: var(--tan); color: var(--black); padding: 8px 14px; z-index: 99; }

/* Buttons: the original's tan pills */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--f-text); font-size: 1.3rem; line-height: 1;
  padding: 18px 34px; border-radius: 999px; border: 1px solid var(--tan);
  background: var(--tan); color: var(--black); text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s;
}
.btn:hover { background: var(--cream); border-color: var(--cream); color: var(--black); }
.btn.ghost { background: transparent; color: var(--tan); }
.btn.ghost:hover { background: rgba(200, 164, 126, .12); color: var(--cream); }
.btn.small { font-size: 1.05rem; padding: 11px 22px; }
.btn .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--wa); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.more { font-style: italic; text-decoration: none; border-bottom: 1px solid var(--rule); padding-bottom: 2px; }
.more::after { content: " →"; font-style: normal; }

/* Header: nav left · logo centre · icons right, as on the original */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: rgba(0, 0, 0, .92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.site-header .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; min-height: 96px; }
.nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.nav a { text-decoration: none; font-size: 1.12rem; padding: 4px 0; border-bottom: 1px solid transparent; white-space: nowrap; }
.nav a[aria-current="page"] { border-bottom-color: var(--tan); }
.logo-link { display: block; justify-self: center; }
.logo-link img { width: 62px; height: auto; }
.icons { display: flex; justify-content: flex-end; gap: 16px; align-items: center; }
.icons a { display: inline-flex; color: var(--tan); }
.icons a:hover { color: var(--cream); }
.icons svg { width: 19px; height: 19px; }
.menu { display: none; }
.menu summary { list-style: none; cursor: pointer; font-style: italic; font-size: 1.2rem; justify-self: end; }
.menu summary::-webkit-details-marker { display: none; }
@media (max-width: 1000px) {
  .site-header .wrap { grid-template-columns: auto 1fr auto; min-height: 76px; }
  .site-header .nav, .site-header .icons { display: none; }
  .logo-link { justify-self: start; order: -1; }
  .logo-link img { width: 46px; }
  .menu { display: block; grid-column: 3; }
  .menu-panel { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--black); border-bottom: 1px solid var(--rule); padding: 16px var(--gutter) 28px; }
  .menu[open] .menu-panel { display: grid; gap: 18px; }
  .menu-panel .nav { display: grid; gap: 4px; }
  .menu-panel .nav a { font-family: var(--f-head); font-size: 1.9rem; }
  .menu-panel .icons { display: flex; justify-content: flex-start; }
}

/* Hero: the original site's black-background cover, name set on the black side */
.hero { position: relative; min-height: clamp(540px, 80vh, 860px); display: grid; align-items: center; overflow: hidden; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% 40%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.75) 0%, rgba(0,0,0,.35) 40%, rgba(0,0,0,0) 60%), linear-gradient(0deg, #000 0%, rgba(0,0,0,0) 20%); }
.hero .wrap { position: relative; z-index: 1; padding-block: 64px; display: grid; gap: 18px; justify-items: start; }
.hero .wrap > * { max-width: 560px; }
.hero h1 { font-size: clamp(3rem, 2rem + 4.4vw, 5.6rem); }
.hero .tag { font-family: var(--f-head); font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); }
.hero .lede { max-width: 40ch; color: var(--cream); font-size: 1.3rem; }
.hero .credit { position: absolute; right: var(--gutter); bottom: 14px; z-index: 1; font-size: .85rem; font-style: italic; color: var(--tan-soft); }
@media (max-width: 820px) {
  .hero { min-height: 0; align-items: end; }
  .hero > img { position: relative; width: 100%; height: 58vh; grid-area: 1 / 1; align-self: start; object-position: 74% 50%; }
  .hero::after { background: linear-gradient(0deg, #000 34%, rgba(0,0,0,0) 62%); }
  .hero .wrap { grid-area: 1 / 1; padding-block: 44vh 40px; }
  .hero .credit { top: 12px; bottom: auto; }
}

/* Stage hero: a live photo that fades into the black page instead of sitting in a frame */
.stage-hero { position: relative; overflow: hidden; }
.stage-hero > img {
  position: absolute; top: 0; right: 0; width: min(78%, 1300px); height: 100%; object-fit: cover; object-position: 60% 40%;
  -webkit-mask-image: radial-gradient(ellipse 62% 58% at 62% 46%, #000 45%, transparent 100%);
          mask-image: radial-gradient(ellipse 62% 58% at 62% 46%, #000 45%, transparent 100%);
}
.stage-hero .wrap { position: relative; z-index: 1; min-height: clamp(460px, 66vh, 720px); display: grid; align-content: center; gap: 18px; justify-items: start; padding-block: 56px; }
.stage-hero .wrap > * { max-width: 520px; }
.stage-hero .credit { position: absolute; right: var(--gutter); bottom: 12px; z-index: 1; }
@media (max-width: 820px) {
  .stage-hero > img { position: relative; width: 100%; height: 50vh; -webkit-mask-image: linear-gradient(0deg, transparent 0%, #000 35%); mask-image: linear-gradient(0deg, transparent 0%, #000 35%); }
  .stage-hero .wrap { min-height: 0; padding-block: 8px 40px; }
  .stage-hero .credit { top: 12px; bottom: auto; }
}

/* Booking options on the Live page */
.offers-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 0 clamp(24px, 4vw, 56px); border-top: 1px solid var(--rule); }
.offers-grid article { display: grid; gap: 8px; align-content: start; padding: 24px 0; border-bottom: 1px solid var(--rule); }
.offers-grid h3 { font-size: 1.7rem; }
.offers-grid .d { color: var(--tan-soft); }
.offers-grid .more { justify-self: start; margin-top: 4px; }

/* Inner page title */
.page-title .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding-block: clamp(36px, 6vw, 80px); }
.page-title .copy { display: grid; gap: 18px; min-width: 0; }
.page-title .copy > .rule { width: 100%; }
.page-title figure { margin: 0; min-width: 0; }
.page-title figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.page-title figcaption, .credit { font-size: .85rem; font-style: italic; color: var(--tan-soft); margin-top: 8px; }
@media (max-width: 820px) { .page-title .wrap { grid-template-columns: 1fr; } }

/* Concert ledger */
.gigs { display: grid; border-top: 1px solid var(--rule); }
.gig { display: grid; grid-template-columns: 78px minmax(0, 1fr) auto; gap: 6px 24px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.gig-date { display: grid; justify-items: start; line-height: 1; font-variant-numeric: lining-nums tabular-nums; }
.gig-date .day { font-family: var(--f-head); font-size: 2.2rem; }
.gig-date .my { font-style: italic; color: var(--tan-soft); margin-top: 2px; font-size: .9rem; }
.gig-main { display: grid; gap: 0; min-width: 0; line-height: 1.35; }
.gig-main h3 { font-size: 1.4rem; }
.gig-main .project { font-style: italic; color: var(--tan-soft); font-size: 1rem; }
.gig-main .where { color: var(--tan-soft); font-size: 1rem; }
.gig-act { justify-self: end; }
.gig-act .btn { font-size: 1rem; padding: 8px 18px; }
.gig.past .gig-date .day { font-size: 1.8rem; color: var(--tan-soft); }
.gig.past h3 { font-size: 1.25rem; }
.gigs-empty { padding: 28px 0; border-bottom: 1px solid var(--rule); display: grid; gap: 16px; justify-items: start; color: var(--tan-soft); }
@media (max-width: 640px) { .gig { grid-template-columns: 60px minmax(0, 1fr); } .gig-date .day { font-size: 1.9rem; } .gig-act { grid-column: 2; justify-self: start; } }

/* "Now" statement and three doors */
.statement { font-family: var(--f-head); font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.6rem); line-height: 1.3; max-width: 46ch; color: var(--tan); }
.statement a { text-decoration-color: var(--rule); }
.doors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 44px); }
@media (max-width: 900px) { .doors { grid-template-columns: 1fr; } }
.door { display: grid; gap: 14px; align-content: start; text-decoration: none; color: var(--tan); min-width: 0; }
.door img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: opacity .3s; }
.door:hover img { opacity: .85; }
.door .label { font-style: italic; color: var(--tan-soft); }
.door p { color: var(--tan-soft); }

/* Plays-with list */
.names { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 5vw, 72px); border-top: 1px solid var(--rule); }
@media (max-width: 760px) { .names { grid-template-columns: 1fr; } }
.names a, .names div { display: grid; gap: 2px; padding: 18px 0; border-bottom: 1px solid var(--rule); text-decoration: none; min-width: 0; }
.names .n { font-family: var(--f-head); font-size: 1.85rem; line-height: 1.15; }
.names .d { color: var(--tan-soft); font-style: italic; font-size: 1.05rem; }
.names a:hover .n { color: var(--cream); }

/* Project entries */
.entry { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start; padding-block: clamp(40px, 6vw, 72px); border-top: 1px solid var(--rule); scroll-margin-top: 110px; }
.entry:first-of-type { border-top: 0; padding-top: 0; }
.entry figure { margin: 0; min-width: 0; }
.entry figure img { width: 100%; object-fit: cover; }
.entry .body { display: grid; gap: 16px; min-width: 0; }
.entry .meta { font-style: italic; color: var(--tan-soft); }
.entry.text-only { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
.entry.text-only .side { display: grid; gap: 8px; align-content: start; }
@media (max-width: 820px) { .entry, .entry.text-only { grid-template-columns: 1fr; } }
.lineup { display: grid; gap: 2px; color: var(--tan-soft); font-size: 1.05rem; }
.lineup b { color: var(--tan); font-weight: 500; }
.pill-list { display: flex; flex-wrap: wrap; gap: 8px 10px; list-style: none; margin: 0; padding: 0; }
.pill-list li { border: 1px solid var(--rule); border-radius: 999px; padding: 4px 14px; font-size: 1rem; color: var(--tan-soft); }

.archive { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
@media (max-width: 900px) { .archive { grid-template-columns: 1fr; } }
.archive article { display: grid; gap: 10px; align-content: start; }
.archive img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; filter: grayscale(.35); }
.archive h3 { font-size: 1.6rem; }
.archive p { color: var(--tan-soft); font-size: 1.08rem; }

/* Media */
.videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 32px 26px; }
.video { display: grid; gap: 10px; text-decoration: none; color: var(--tan); min-width: 0; }
.video .frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--panel); }
.video .frame img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .25s; }
.video .frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video .play { position: absolute; inset: 0; margin: auto; width: 62px; height: 62px; border-radius: 50%; background: rgba(200, 164, 126, .92); display: grid; place-items: center; }
.video .play::before { content: ""; margin-left: 5px; border-left: 16px solid var(--black); border-top: 10px solid transparent; border-bottom: 10px solid transparent; }
.video:hover .frame img { opacity: 1; }
.video .t { font-family: var(--f-head); font-size: 1.5rem; line-height: 1.15; }
.video .s { font-style: italic; color: var(--tan-soft); font-size: 1rem; }
.embed-slot { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; }
.embed-slot iframe { width: 100%; border: 0; border-radius: 12px; display: block; }
.gallery { columns: 3 280px; column-gap: 18px; }
.gallery figure { margin: 0 0 18px; break-inside: avoid; }
.gallery figcaption { font-size: .85rem; font-style: italic; color: var(--tan-soft); padding-top: 6px; }

/* About */
.about-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.about-grid aside { position: sticky; top: 120px; display: grid; gap: 22px; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } .about-grid aside { position: static; max-width: 460px; } }
.facts { display: grid; margin: 0; border-top: 1px solid var(--rule); }
.facts div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: 1.05rem; }
.facts dt { font-style: italic; color: var(--tan-soft); }
.facts dd { margin: 0; }
.quote { font-family: var(--f-text); font-style: italic; font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); line-height: 1.5; max-width: 46ch; margin: 0; }
.quote cite { display: block; font-style: normal; font-size: 1rem; color: var(--tan-soft); margin-top: 10px; }
.bio-box { border: 1px solid var(--rule); padding: 20px 22px; display: grid; gap: 10px; }
.bio-box header { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-style: italic; color: var(--tan-soft); }
.copy-btn { font-family: var(--f-text); font-size: 1rem; background: none; border: 1px solid var(--rule); color: var(--tan); padding: 4px 14px; border-radius: 999px; cursor: pointer; }
.copy-btn:hover { border-color: var(--tan); }

/* Study */
.offers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 44px); }
@media (max-width: 900px) { .offers { grid-template-columns: 1fr; } }
.offer { display: grid; gap: 12px; align-content: start; padding-top: 22px; border-top: 1px solid var(--tan); }
.offer p { color: var(--tan-soft); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.split figure { margin: 0; min-width: 0; }
.split img { width: 100%; }
.split .body { display: grid; gap: 18px; min-width: 0; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } .split.flip > :first-child { order: 2; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 80px); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
form.contact { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-style: italic; color: var(--tan-soft); }
.field input, .field select, .field textarea { font: inherit; font-size: 1.1rem; color: var(--cream); background: transparent; border: 0; border-bottom: 1px solid var(--rule); padding: 10px 2px; width: 100%; border-radius: 0; }
.field select option { background: var(--black); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--tan); }
.field textarea { min-height: 140px; resize: vertical; border: 1px solid var(--rule); padding: 12px; }
.row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 520px) { .row2 { grid-template-columns: 1fr; } }
.form-status { min-height: 1.6em; color: var(--tan-soft); font-style: italic; }
.form-status.ok { color: var(--cream); }
.direct { display: grid; gap: 0; align-content: start; border-top: 1px solid var(--rule); }
.direct .item { display: grid; gap: 8px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.direct .item .k { font-style: italic; color: var(--tan-soft); }
.direct .item .v { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; font-size: 1.25rem; }

/* WhatsApp band + footer, centred like the original footer */
.wa { text-align: center; }
.wa .wrap { display: grid; justify-items: center; gap: 18px; padding-block: clamp(56px, 8vw, 96px); }
.wa p { max-width: 50ch; color: var(--tan-soft); }
.wa .qr { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; justify-content: center; }
.wa .qr img { width: 128px; height: 128px; background: var(--cream); padding: 8px; }
.wa .qr span { font-style: italic; color: var(--tan-soft); max-width: 16ch; text-align: left; }
.site-footer { text-align: center; padding-block: 56px 44px; border-top: 1px solid var(--rule); }
.site-footer .wrap { display: grid; justify-items: center; gap: 14px; }
.site-footer .name { font-family: var(--f-head); font-size: 1.9rem; }
.site-footer .roles { font-style: italic; color: var(--tan-soft); }
.site-footer .icons { justify-content: center; }
.site-footer img { width: 72px; margin-top: 8px; }
.site-footer small { color: var(--tan-soft); font-size: .95rem; }
.sr-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Projects: one release per row, cover centred, story and media on either side */
.category { text-align: center; display: grid; justify-items: center; gap: 10px; padding-block: clamp(40px, 5vw, 64px) clamp(8px, 2vw, 20px); }
.category h2 { font-size: clamp(2.4rem, 1.9rem + 2.4vw, 3.6rem); }
.category p { max-width: 58ch; color: var(--tan-soft); }
.category .ornament { width: 44px; opacity: .9; }
.release { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding-block: clamp(28px, 3.5vw, 44px); scroll-margin-top: 110px; }
.release + .release { border-top: 1px solid var(--rule); }
.release .story { display: grid; gap: 14px; text-align: right; justify-items: end; min-width: 0; }
.release .story .prose { justify-items: end; }
.release .media { display: grid; gap: 14px; justify-items: start; min-width: 0; }
.release h3 { font-size: clamp(2rem, 1.6rem + 1.4vw, 2.8rem); }
.release .meta { font-style: italic; color: var(--tan-soft); }
.release .lineup { justify-items: end; }
.cover { position: relative; margin: 0; width: 100%; max-width: 420px; justify-self: center; }
.cover img, .cover .type { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; box-shadow: 0 30px 90px rgba(200, 164, 126, .12), 0 20px 60px rgba(0, 0, 0, .9); }
.cover::before { content: ""; position: absolute; inset: -14%; z-index: -1; background: radial-gradient(circle, rgba(200, 164, 126, .14) 0%, transparent 65%); }
.cover figcaption { text-align: center; margin-top: 10px; font-size: .9rem; font-style: italic; color: var(--tan-soft); }
.cover .type { display: grid; place-items: center; text-align: center; padding: 12%; color: var(--tan);
  background: repeating-radial-gradient(circle at 50% 50%, transparent 0 22px, rgba(200, 164, 126, .16) 22px 23px), radial-gradient(circle at 50% 50%, #1a140e 0%, #000 72%); }
.cover .type b { font-family: var(--f-head); font-weight: 500; font-size: clamp(2rem, 1.6rem + 1.6vw, 2.8rem); line-height: 1.05; display: block; }
.cover .type i { display: block; margin-top: 10px; color: var(--tan-soft); font-size: 1.05rem; }
.media .video { width: 100%; max-width: 380px; }
.media .reel { margin: 0; width: 100%; max-width: 270px; display: grid; gap: 8px; }
.media .reel video { width: 100%; height: auto; display: block; background: #000; border: 1px solid var(--rule); }
.media .reel figcaption { font-style: italic; font-size: 1rem; color: var(--tan-soft); }
.media .video .t { font-size: 1.25rem; }
.listen-links { display: flex; flex-wrap: wrap; gap: 8px; }
.listen-links a, .listen-links span { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--rule); border-radius: 999px; padding: 6px 14px; font-size: 1rem; text-decoration: none; color: var(--tan); }
.listen-links a:hover { border-color: var(--tan); color: var(--cream); }
.listen-links span { color: var(--tan-soft); font-style: italic; }
.listen-links svg { width: 17px; height: 17px; }
.also { text-align: center; color: var(--tan-soft); font-style: italic; padding-block: 8px 24px; }
.note-band { text-align: center; display: grid; justify-items: center; gap: 12px; padding: clamp(32px, 5vw, 56px) 20px; border-block: 1px solid var(--rule); margin-block: clamp(24px, 4vw, 48px); }
.note-band p { max-width: 54ch; color: var(--tan-soft); }
@media (max-width: 960px) {
  .release { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .release .cover { order: -1; max-width: 360px; }
  .release .story, .release .media { justify-items: center; text-align: center; }
  .release .story .prose, .release .lineup { justify-items: center; }
  .media .video { max-width: 520px; }
  .listen-links { justify-content: center; }
}

/* Streaming strip on Media: one thin row per project */
.stream-strip { border-block: 1px solid var(--rule); }
.stream-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 24px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.stream-row:last-child { border-bottom: 0; }
.stream-row .name { font-family: var(--f-head); font-size: 1.5rem; display: flex; align-items: center; gap: 14px; min-width: 0; }
.stream-row .name img { width: 44px; height: 44px; object-fit: cover; }
.stream-row .icons-row { display: flex; gap: 14px; align-items: center; }
.stream-row .icons-row a { display: inline-flex; color: var(--tan); }
.stream-row .icons-row a:hover { color: var(--cream); }
.stream-row .icons-row svg { width: 22px; height: 22px; }
.stream-row .soon { font-style: italic; color: var(--tan-soft); }
@media (max-width: 560px) { .stream-row { grid-template-columns: 1fr; } }

/* About/Contact: photo shown whole, fading into the black page */
.page-title figure.whole img { aspect-ratio: auto; object-fit: contain; max-height: 74vh; width: auto; max-width: 100%; margin-inline: auto;
  -webkit-mask-image: radial-gradient(ellipse 75% 80% at 50% 45%, #000 55%, transparent 100%); mask-image: radial-gradient(ellipse 75% 80% at 50% 45%, #000 55%, transparent 100%); }
.page-title figure.whole figcaption { text-align: center; }
.roles-list { display: grid; gap: 4px; }
.roles-list a { text-decoration: none; }
main { overflow-x: clip; }

/* Quote over a silent live-session loop */
.quote-video { position: relative; overflow: hidden; display: grid; align-items: center; min-height: clamp(420px, 70vh, 680px); }
.quote-video video, .quote-video .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.quote-video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #000 0%, rgba(0,0,0,.3) 26%, rgba(0,0,0,.3) 74%, #000 100%), linear-gradient(90deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,.15) 70%); }
.quote-video .wrap { position: relative; z-index: 1; padding-block: 72px; }
.quote-video .statement { color: var(--cream); text-shadow: 0 2px 24px rgba(0,0,0,.8); max-width: 40ch; }
.quote-video .statement a { color: var(--cream); text-decoration-color: rgba(234, 220, 203, .45); }
.quote-video .vcredit { position: absolute; right: var(--gutter); bottom: 14px; z-index: 1; font-size: .85rem; font-style: italic; color: var(--tan-soft); }

/* Video carousel: one large player, a strip of choices underneath */
.vplayer { display: grid; gap: 18px; }
.vplayer .stage { max-width: 980px; width: 100%; justify-self: center; display: grid; gap: 10px; }
.vplayer .stage .frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--panel); box-shadow: 0 30px 90px rgba(0,0,0,.8); display: block; }
.vplayer .stage .frame img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.vplayer .stage .frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vplayer .stage .play { position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; border-radius: 50%; background: rgba(200, 164, 126, .94); display: grid; place-items: center; }
.vplayer .stage .play::before { content: ""; margin-left: 6px; border-left: 22px solid var(--black); border-top: 13px solid transparent; border-bottom: 13px solid transparent; }
.vplayer .stage .caption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 18px; align-items: baseline; }
.vplayer .stage .t { font-family: var(--f-head); font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); }
.vplayer .stage .s { font-style: italic; color: var(--tan-soft); }
.vstrip { display: flex; gap: 12px; overflow-x: auto; padding: 4px 2px 10px; scroll-snap-type: x mandatory; max-width: 980px; width: 100%; justify-self: center; }
.vstrip button { flex: 0 0 auto; width: 150px; padding: 0; border: 0; background: none; cursor: pointer; scroll-snap-align: start; display: grid; gap: 6px; text-align: left; color: var(--tan-soft); font: inherit; font-size: .92rem; line-height: 1.25; }
.vstrip button img { width: 150px; aspect-ratio: 16 / 9; object-fit: cover; opacity: .55; outline: 1px solid transparent; transition: opacity .2s; }
.vstrip button:hover img { opacity: .85; }
.vstrip button[aria-pressed="true"] img { opacity: 1; outline: 2px solid var(--tan); outline-offset: 2px; }
.vstrip button[aria-pressed="true"] { color: var(--tan); }

/* Round 5 */
.quote-video .wrap { display: grid; justify-items: center; text-align: center; }
.quote-video .statement { margin-inline: auto; }
.quote-video::after { background: linear-gradient(0deg, #000 0%, rgba(0,0,0,.35) 26%, rgba(0,0,0,.35) 74%, #000 100%), radial-gradient(ellipse at center, rgba(0,0,0,.45) 0%, rgba(0,0,0,.1) 75%); }
.page-title.centered .wrap { display: grid; grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 14px; padding-block: clamp(36px, 5vw, 64px) 8px; }
.page-title.centered .pill-list { justify-content: center; }
.cover.tall { max-width: 340px; }
.cover.tall img { aspect-ratio: auto; object-fit: contain; }
.split figure img[src*="contact-portrait-fg"] { -webkit-mask-image: radial-gradient(ellipse 75% 80% at 50% 45%, #000 55%, transparent 100%); mask-image: radial-gradient(ellipse 75% 80% at 50% 45%, #000 55%, transparent 100%); }

/* Floating player: a small tan-ruled pill, bottom right, above safe areas */
.player {
  position: fixed; z-index: 45; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom));
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 12px;
  max-width: min(390px, calc(100vw - 32px)); padding: 8px 20px 8px 8px; overflow: hidden;
  background: rgba(13, 11, 9, .94); border: 1px solid var(--rule); border-radius: 999px;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 10px 30px rgba(0, 0, 0, .55);
}
.player[hidden] { display: none; }
.player .pp {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--tan); background: var(--tan); color: var(--black);
  display: grid; place-items: center; cursor: pointer; padding: 0; transition: background .2s, border-color .2s;
}
.player .pp:hover { background: var(--cream); border-color: var(--cream); }
.player .pp svg { width: 20px; height: 20px; }
.player .i-pause, .player.on .i-play { display: none; }
.player.on .i-pause { display: block; }
.player.ask .pp { animation: player-ask 2.4s ease-out infinite; }
@keyframes player-ask { 0% { box-shadow: 0 0 0 0 rgba(200, 164, 126, .55); } 70%, 100% { box-shadow: 0 0 0 12px rgba(200, 164, 126, 0); } }
.player .np { display: grid; min-width: 0; line-height: 1.2; }
.player .np b { font-family: var(--f-head); font-weight: 600; font-size: 1.15rem; color: var(--cream); display: flex; align-items: center; gap: 8px; }
.player .np > i { font-size: .88rem; color: var(--tan-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player .eq { display: inline-flex; align-items: end; gap: 2px; height: 11px; }
.player .eq i { width: 2px; height: 3px; background: var(--tan); }
.player.on .eq i { animation: player-eq .9s ease-in-out infinite alternate; }
.player.on .eq i:nth-child(2) { animation-delay: -.3s; } .player.on .eq i:nth-child(3) { animation-delay: -.6s; }
@keyframes player-eq { from { height: 3px; } to { height: 11px; } }
.player .bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(200, 164, 126, .12); }
.player .bar span { display: block; height: 100%; background: var(--tan); transform: scaleX(0); transform-origin: left; }
@media (max-width: 560px) { .player .np > i { display: none; } .player { padding-right: 16px; } }
@media (prefers-reduced-motion: reduce) { .player.ask .pp, .player.on .eq i { animation: none; } .player.on .eq i { height: 8px; } }
/* Keep the footer clear of the floating player */
.site-footer:has(~ .player:not([hidden])) { padding-bottom: 96px; }
/* Compact page head (Projects): title and jump links, a smaller photo */
.page-title.compact .wrap { padding-block: clamp(24px, 3vw, 40px) 0; }
.page-title.compact figure.whole img { max-height: 52vh; }
.page-title.compact h1 { font-size: clamp(2.8rem, 2rem + 3vw, 4.4rem); }
@media (max-width: 820px) { .page-title.compact figure.whole img { max-height: 38vh; } }

/* Home hero: photo sits further right on wide screens so the title stays clear of it */
@media (min-width: 821px) {
  .hero > img { left: 16%; width: 84%; object-position: 70% 40%; }
}

/* Live: a concert photo heading the booking section, fading into the band */
.book-photo { margin: 0 0 clamp(28px, 4vw, 48px); position: relative; }
.book-photo img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; object-position: 50% 42%;
  -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 100%); mask-image: linear-gradient(180deg, #000 62%, transparent 100%); }
.book-photo figcaption { position: absolute; right: 0; bottom: 6px; }
@media (max-width: 640px) { .book-photo img { aspect-ratio: 4 / 3; } }

/* Live: the stage photo alone, centred, fading into the page */
.stage-hero.photo-only > img { position: relative; display: block; width: min(100%, 1500px); height: clamp(340px, 62vh, 680px); margin-inline: auto;
  object-position: 55% 40%;
  -webkit-mask-image: radial-gradient(ellipse 58% 60% at 50% 46%, #000 52%, transparent 100%);
          mask-image: radial-gradient(ellipse 58% 60% at 50% 46%, #000 52%, transparent 100%); }
@media (max-width: 820px) {
  .stage-hero.photo-only > img { height: 46vh; -webkit-mask-image: linear-gradient(0deg, transparent 12%, #000 45%); mask-image: linear-gradient(0deg, transparent 12%, #000 45%); }
  .stage-hero.photo-only .credit { top: auto; bottom: 8px; }
}

/* About: the bio opens with the photo beside it; text wraps beneath on wide screens */
.about-bio .wrap { max-width: 1120px; }
.about-bio .bio-photo { float: left; width: min(40%, 420px); margin: 6px clamp(28px, 4vw, 56px) 20px 0; }
.about-bio .bio-photo img { width: 100%; -webkit-mask-image: radial-gradient(ellipse 72% 66% at 50% 46%, #000 60%, transparent 100%); mask-image: radial-gradient(ellipse 72% 66% at 50% 46%, #000 60%, transparent 100%); }
.about-bio .bio-photo .credit { text-align: center; }
.about-bio .prose { display: block; max-width: none; }
.about-bio .prose p + p { margin-top: 1em; }
.about-bio .bio-links { clear: both; padding-top: 12px; }
@media (max-width: 760px) { .about-bio .bio-photo { float: none; width: min(100%, 420px); margin: 0 auto 24px; } }
.about-bio { padding-top: clamp(24px, 4vw, 48px); }
.about-bio .wrap { max-width: 1040px; }

/* Study: the book cover heads the page */
.book-head .copy { gap: 22px; }
.book-head h1 { font-size: clamp(2.8rem, 2rem + 3.4vw, 4.8rem); }
.book-head .tagline { font-style: italic; font-size: clamp(1.3rem, 1.1rem + .6vw, 1.7rem); color: var(--cream); max-width: 28ch; }
.book-head figure.book { justify-self: center; width: min(100%, 400px); }
.book-head figure.book img { aspect-ratio: 2 / 3; object-fit: cover; box-shadow: 0 30px 60px rgba(0, 0, 0, .7), 0 0 90px rgba(200, 164, 126, .12); }
.method { display: grid; gap: 14px; max-width: 760px; }
.method .prose { max-width: none; }
.split .body .btn { justify-self: start; }

/* Contact: photo beside the form, then the social links, large and centred */
.contact-page { padding-top: clamp(24px, 4vw, 48px); }
.contact-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 72px); align-items: center; max-width: 1120px; }
.contact-photo { margin: 0; }
.contact-photo img { display: block; width: auto; max-width: 100%; max-height: 72vh; margin-inline: auto; -webkit-mask-image: radial-gradient(ellipse 80% 82% at 50% 50%, #000 62%, transparent 100%); mask-image: radial-gradient(ellipse 80% 82% at 50% 50%, #000 62%, transparent 100%); }
.contact-photo figcaption { text-align: center; }
.contact-icons { justify-content: center; gap: clamp(22px, 4vw, 40px); padding-top: clamp(36px, 5vw, 64px); }
.contact-icons svg { width: 32px; height: 32px; }
@media (max-width: 820px) { .contact-layout { grid-template-columns: 1fr; } .contact-photo img { max-height: 46vh; } }

/* 404 */
.not-found .wrap { display: grid; justify-items: center; text-align: center; gap: 18px; padding-block: clamp(40px, 8vw, 120px); }
.not-found .ornament { width: 64px; }
.not-found .actions { justify-content: center; }
