/* Johnescu — official site
   Black and white like the portrait. One accent: sodium-lamp amber, used for the
   record label, progress and focus only. One typeface: Archivo, from extra-condensed
   (wordmark) to normal width (reading text). */

@font-face {
  font-family: "Archivo";
  src: url("assets/fonts/archivo-latin-wdth-normal.woff2") format("woff2-variations");
  font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  src: url("assets/fonts/archivo-latin-ext-wdth-normal.woff2") format("woff2-variations");
  font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --black: #000000;
  --carbon: #151515;
  --rule: #2a2a2a;
  --bone: #ecebe7;
  --ash: #908e89;
  --dim: #5e5c58;
  --sodium: #f2a33a;
  --max: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--black);
  color: var(--bone);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
a.u, .facts a { text-decoration: underline; text-decoration-color: var(--dim); text-underline-offset: 3px; }
a.u:hover, .facts a:hover { text-decoration-color: var(--bone); }
:focus-visible { outline: 2px solid var(--sodium); outline-offset: 3px; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 50; background: var(--bone); color: var(--black); padding: 8px 14px; }
.skip:focus { left: 8px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

h1, h2, h3 { margin: 0; line-height: 1; }
h2 { font-size: clamp(34px, 5vw, 60px); font-stretch: 72%; font-weight: 650; letter-spacing: -0.01em; }
h3 { font-size: 20px; font-stretch: 85%; font-weight: 600; letter-spacing: 0; margin-bottom: 12px; }
h3.gap { margin-top: 32px; }
p { margin: 0 0 1em; max-width: 64ch; }
.muted { color: var(--ash); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(0, 0, 0, .78);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 60px; }
.nav .brand { font-stretch: 62%; font-weight: 800; font-size: 22px; letter-spacing: .01em; text-transform: uppercase; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 24px; font-size: 15px; }
.nav ul a { color: var(--ash); }
.nav ul a:hover { color: var(--bone); }
@media (max-width: 760px) {
  .nav .wrap { height: auto; flex-direction: column; align-items: stretch; gap: 0; padding-top: 12px; }
  .nav ul { overflow-x: auto; gap: 20px; padding: 8px 0 12px; scrollbar-width: none; white-space: nowrap; }
  .nav ul::-webkit-scrollbar { display: none; }
  .nav ul { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--black);
  min-height: min(calc(100svh - 60px), 980px);
  display: flex; align-items: flex-end;
  padding: 0 0 clamp(40px, 6vw, 80px);
}
.hero-photo { position: absolute; top: 0; right: 0; bottom: 0; width: 62%; z-index: -1; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 30%; }
.hero-photo::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, #000 0%, rgba(0,0,0,.75) 14%, rgba(0,0,0,.2) 34%, rgba(0,0,0,0) 50%),
    linear-gradient(0deg, #000 0%, rgba(0,0,0,.55) 18%, rgba(0,0,0,0) 42%);
}
.hero-inner { width: 100%; }

.wordmark {
  font-size: clamp(84px, 13vw, 212px);
  font-stretch: 62%;
  font-weight: 800;
  line-height: .8;
  letter-spacing: -0.012em;
  margin: 0 0 clamp(24px, 3vw, 36px) -0.035em;
  white-space: nowrap;
}
.lede { font-size: clamp(18px, 1.9vw, 22px); line-height: 1.45; max-width: 36ch; margin-bottom: 10px; }
.meta { color: var(--ash); font-size: 15px; margin-bottom: 0; }

/* The record: tap to hear the latest release. It spins only while playing. */
.deck { --rec: clamp(148px, 14vw, 196px); display: flex; align-items: center; gap: clamp(20px, 2.6vw, 36px); margin-top: clamp(28px, 4vw, 44px); }
.record {
  position: relative; flex: none; width: var(--rec); height: var(--rec);
  border: 0; padding: 0; border-radius: 50%; background: none; cursor: pointer;
}
.record:focus-visible { outline-offset: 6px; }
.vinyl {
  position: absolute; inset: 6px; border-radius: 50%;
  background:
    repeating-radial-gradient(circle at 50% 50%, #0c0c0c 0 1.2px, #1c1c1c 1.6px 2.6px),
    #111;
  box-shadow: inset 0 0 0 1px #2a2a2a, 0 18px 40px rgba(0,0,0,.6);
  animation: spin 1.8s linear infinite; animation-play-state: paused;
}
.record::after {          /* fixed light sheen: stays put while the disc turns */
  content: ""; position: absolute; inset: 6px; border-radius: 50%; pointer-events: none;
  background: conic-gradient(from 20deg, transparent 0 8%, rgba(255,255,255,.09) 12%, transparent 18% 56%, rgba(255,255,255,.06) 61%, transparent 67%);
}
.label {
  position: absolute; inset: 30%; border-radius: 50%; background: var(--sodium);
  box-shadow: 0 0 0 4px #0c0c0c;
}
.label svg { width: 100%; height: 100%; display: block; }
.label text { font-family: var(--font); font-size: 10.5px; font-weight: 700; font-stretch: 80%; letter-spacing: .06em; fill: #1a1206; }
.ring { position: absolute; inset: 0; transform: rotate(-90deg); pointer-events: none; }
.ring circle { fill: none; stroke-width: 1.4; }
.ring-track { stroke: var(--rule); }
.ring-fill { stroke: var(--sodium); stroke-linecap: round; stroke-dasharray: 305; stroke-dashoffset: 305; transition: stroke-dashoffset .25s linear; }
.icon { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.icon svg { width: calc(var(--rec) * .13); height: calc(var(--rec) * .13); fill: #000; grid-area: 1 / 1; }
.icon .i-pause { display: none; }
.record[aria-pressed="true"] .vinyl { animation-play-state: running; }
.record[aria-pressed="true"] .i-play { display: none; }
.record[aria-pressed="true"] .i-pause { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .vinyl { animation: none; } .ring-fill { transition: none; } }

.deck-info { min-width: 0; }
.deck-state { color: var(--sodium); font-size: 14px; font-weight: 500; margin: 0 0 6px; }
.deck-title { font-size: clamp(28px, 3.2vw, 40px); font-stretch: 72%; font-weight: 650; margin-bottom: 4px; }
.deck-meta { color: var(--ash); font-size: 15px; margin-bottom: 16px; }
.deck-links { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

@media (max-width: 859px) {
  .hero { display: block; min-height: 0; padding-bottom: 48px; }
  .hero-photo { position: relative; width: 100%; aspect-ratio: 4 / 5; max-height: 82svh; z-index: 0; }
  .hero-photo img { object-position: 50% 20%; }
  .hero-photo::after { background: linear-gradient(0deg, #000 0%, rgba(0,0,0,.7) 14%, rgba(0,0,0,0) 40%); }
  .hero-inner { position: relative; margin-top: calc(-1 * clamp(56px, 17vw, 120px)); }
  .wordmark { font-size: clamp(64px, 23vw, 200px); }
}
@media (max-width: 420px) {
  .deck { align-items: flex-start; }
  .deck { --rec: 128px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 10px 20px; border: 1px solid var(--bone); border-radius: 999px;
  font-weight: 500; font-size: 15px; background: transparent; cursor: pointer;
}
.btn:hover { background: var(--bone); color: var(--black); }
.btn.solid { background: var(--bone); color: var(--black); }
.btn.solid:hover { background: #fff; }
.btn.small { min-height: 36px; padding: 6px 16px; font-size: 14px; }
.text-link { color: var(--ash); font-size: 15px; padding: 10px 4px; text-decoration: underline; text-decoration-color: var(--dim); text-underline-offset: 3px; }
.text-link:hover { color: var(--bone); }

/* ---------- Sections ---------- */
main section { padding: clamp(64px, 9vw, 128px) 0; border-top: 1px solid var(--rule); }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px 24px; margin-bottom: clamp(28px, 4vw, 48px); flex-wrap: wrap; }
.sec-head p { margin: 0; color: var(--ash); }

/* Latest release */
.featured { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .featured { grid-template-columns: 300px 1fr; gap: 64px; align-items: center; } }
.featured h3 { font-size: clamp(30px, 4vw, 48px); font-stretch: 72%; font-weight: 650; margin-bottom: 8px; }
.rel-meta { color: var(--ash); margin-bottom: 16px; }
.links { display: flex; flex-wrap: wrap; gap: 8px; }
.links a { font-size: 14px; padding: 7px 14px; border: 1px solid var(--rule); border-radius: 999px; color: var(--bone); }
.links a:hover { border-color: var(--bone); }
.status { color: var(--sodium); font-size: 14px; font-weight: 500; margin-bottom: 10px; }
.video {
  position: relative; aspect-ratio: 9 / 16; width: 100%; max-width: 300px; justify-self: center;
  background: var(--carbon); overflow: hidden; border-radius: 4px;
}
.video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.video .play {
  position: absolute; inset: 0; margin: auto; width: 72px; height: 72px; border-radius: 50%;
  border: 0; background: var(--bone); color: var(--black); cursor: pointer; display: grid; place-items: center;
}
.video .play svg { width: 26px; height: 26px; fill: currentColor; margin-left: 3px; }
.video .play:hover { background: #fff; }

.embed { margin-top: 24px; border: 1px solid var(--rule); min-height: 80px; }
.embed button { width: 100%; padding: 22px; background: transparent; color: var(--ash); border: 0; cursor: pointer; text-align: left; }
.embed button:hover { color: var(--bone); }
.embed iframe { width: 100%; border: 0; display: block; }

/* Discography as a label catalog */
.catalog { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.catalog li {
  display: grid; align-items: center; column-gap: 20px; row-gap: 6px;
  grid-template-columns: 56px 1fr;
  padding: 14px 0; border-bottom: 1px solid var(--rule);
}
.thumb {
  grid-row: span 3; width: 56px; height: 56px; border-radius: 2px; overflow: hidden;
  background: repeating-radial-gradient(circle at 50% 50%, #0c0c0c 0 1px, #1b1b1b 1.4px 2.4px);
  position: relative;
}
.thumb::after { content: ""; position: absolute; inset: 37%; border-radius: 50%; background: #2c2c2c; }
.thumb.has-art::after { display: none; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.catalog .ttl { font-size: 18px; font-weight: 600; font-stretch: 85%; line-height: 1.2; }
.catalog .ttl small { font-weight: 400; color: var(--ash); font-size: 15px; }
.catalog .sub { color: var(--ash); font-size: 14px; display: flex; flex-wrap: wrap; gap: 4px 16px; }
.catalog .cat { font-stretch: 75%; font-weight: 600; color: var(--bone); font-variant-numeric: tabular-nums; }
.catalog .lnk { display: flex; flex-wrap: wrap; gap: 0 14px; font-size: 14px; }
.catalog .lnk a { padding: 5px 0; }
.catalog .lnk a { color: var(--ash); text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 3px; }
.catalog .lnk a:hover { color: var(--bone); text-decoration-color: var(--bone); }
@media (min-width: 900px) {
  .catalog li { grid-template-columns: 56px minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1.3fr); row-gap: 0; }
  .thumb { grid-row: auto; }
}

/* Appearances */
.list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.list li { display: grid; grid-template-columns: 1fr auto; gap: 6px 24px; padding: 18px 0; border-bottom: 1px solid var(--rule); align-items: center; }
.list .t { font-weight: 600; font-stretch: 85%; font-size: 18px; line-height: 1.25; }
.list .d { color: var(--ash); font-size: 14px; }
.list a.go { font-size: 14px; white-space: nowrap; padding: 10px 0; text-decoration: underline; text-decoration-color: var(--dim); text-underline-offset: 3px; }
.list a.go:hover { text-decoration-color: var(--bone); }

/* About / press */
.cols { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .cols { grid-template-columns: 1.15fr 1fr; gap: 72px; } }
.facts { margin: 0; border-top: 1px solid var(--rule); font-size: 15px; }
.facts > div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.facts dt { color: var(--ash); }
.facts dd { margin: 0; }
.dd-list { list-style: none; margin: 0 0 4px; padding: 0; }
.dd-list li + li { margin-top: 6px; }
.placeholder { color: var(--sodium); }

.press-rel { margin-top: 56px; }
.press-rel-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 8px; }
.press-rel-head h3 { margin: 0; }
.press-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.press-list li { display: grid; grid-template-columns: 1fr auto; column-gap: 16px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--rule); font-size: 15px; }
.press-list .t { font-weight: 600; }
.press-list .d { color: var(--ash); font-size: 13px; }
.press-list a { grid-row: 1 / span 2; grid-column: 2; font-size: 14px; padding: 10px 0; text-decoration: underline; text-decoration-color: var(--dim); text-underline-offset: 3px; white-space: nowrap; }
.press-list a:hover { text-decoration-color: var(--bone); }
.press-text { width: 100%; min-height: 220px; margin-top: 16px; background: var(--carbon); color: var(--bone); border: 1px solid var(--rule); padding: 12px; font: 13px/1.5 var(--font); }

/* Booking */
.contact .big { font-size: clamp(26px, 4.4vw, 56px); font-stretch: 72%; font-weight: 650; line-height: 1.1; max-width: none; overflow-wrap: anywhere; }
.contact .big a { text-decoration: underline; text-decoration-color: var(--dim); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.contact .big a:hover { text-decoration-color: var(--sodium); }
.socials { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 24px; }
.socials a { color: var(--ash); }
.socials a:hover { color: var(--bone); }

footer { padding: 28px 0 48px; color: var(--ash); font-size: 14px; border-top: 1px solid var(--rule); }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* One page-load moment: the photo surfaces from black, then the name. */
@media (prefers-reduced-motion: no-preference) {
  .hero-photo img { opacity: 0; animation: surface 1.4s .05s cubic-bezier(.2,.7,.2,1) forwards; }
  .wordmark { opacity: 0; transform: translateY(18px); animation: rise .9s .35s cubic-bezier(.2,.7,.2,1) forwards; }
  @keyframes surface { from { opacity: 0; transform: scale(1.03); } to { opacity: 1; transform: none; } }
  @keyframes rise { to { opacity: 1; transform: none; } }
}
