/* Søndeï artist site: raw, warm, stage-lit. Warm black, paper white, one amber "spotlight" accent from the hero photo.
   Type: Archivo (condensed, heavy) for headings, IBM Plex Mono for labels and track lists. */
:root {
  color-scheme: dark;
  --bg: #11100e;
  --bg-2: #181613;
  --bg-3: #221f1b;
  --line: #2e2a24;
  --text: #efe8dc;
  --muted: #a99f91;
  --amber: #e0a45a;
  --amber-ink: #17120b;
  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --body: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 48px);
  --sec: clamp(72px, 10vw, 136px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 18px/1.6 var(--body); font-stretch: 100%;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
/* film grain over everything */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 50; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 850; font-stretch: 72%; text-transform: uppercase; letter-spacing: -0.005em; line-height: .95; text-wrap: balance; }
h2 { font-size: clamp(40px, 6.4vw, 84px); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.mono { font-family: var(--mono); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 3px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--text); color: var(--bg); padding: 8px 12px; z-index: 99; }
.skip:focus { left: 8px; }
.tag { font-family: var(--mono); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--amber); margin-bottom: 20px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 12px 26px;
  background: var(--amber); color: var(--amber-ink); border: 1px solid var(--amber); border-radius: 2px;
  font-family: var(--mono); font-weight: 500; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
  transition: background .15s, color .15s;
}
.btn:hover { background: var(--text); border-color: var(--text); }
.btn-ghost { background: transparent; color: var(--text); border-color: #5a5248; }
.btn-ghost:hover { background: var(--text); color: var(--bg); }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 12px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.text-link { text-decoration: none; border-bottom: 1px solid var(--amber); padding-bottom: 2px; font-family: var(--mono); font-size: 14px; text-transform: uppercase; letter-spacing: .06em; }
.text-link:hover { color: var(--amber); }

/* Preview-only placeholders (never show on sondeimusic.com) */
.is-ph { position: relative; min-height: 180px; border: 1px dashed #5a5248; background: repeating-linear-gradient(135deg, transparent 0 12px, rgba(224,164,90,.04) 12px 24px); display: flex !important; align-items: center; justify-content: center; }
.is-ph::after { content: attr(data-ph); font-family: var(--mono); font-size: 13px; color: var(--muted); text-align: center; padding: 16px; max-width: 420px; }
.ph { margin-top: 28px; padding: 28px; border: 1px dashed #5a5248; font-family: var(--mono); font-size: 13px; color: var(--muted); }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(17,16,14,.82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand img { height: 18px; width: auto; }
.top nav { margin-left: auto; }
.top nav ul { display: flex; gap: 26px; }
.top nav a { text-decoration: none; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.top nav a:hover { color: var(--text); }
@media (max-width: 820px) { .top nav { display: none; } .top .btn-sm { margin-left: auto; } .brand img { height: 16px; } }

/* Hero */
.hero { position: relative; min-height: clamp(560px, 88vh, 880px); display: flex; align-items: center; overflow: hidden; background: #0c0b09; }
.hero-photo { position: absolute; top: 0; right: 0; bottom: 0; width: 66%; background-size: cover; background-position: 62% 30%; }
.hero-photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #0c0b09 0%, rgba(12,11,9,.6) 26%, rgba(12,11,9,0) 55%), linear-gradient(0deg, #0c0b09 0%, rgba(12,11,9,0) 30%); }
.hero-photo.is-ph::before { display: none; }
.hero-in { position: relative; z-index: 1; padding-top: 64px; padding-bottom: 64px; }
.hero-name { max-width: 560px; }
.hero-name img { width: 100%; }
.hero-line { margin-top: 32px; font-family: var(--display); font-stretch: 80%; font-weight: 700; font-size: clamp(26px, 3.4vw, 40px); line-height: 1.12; text-transform: uppercase; max-width: 16ch; }
.hero-line em { font-style: normal; color: var(--amber); }
@media (max-width: 760px) {
  .hero { display: block; min-height: 0; }
  .hero-photo { position: relative; width: 100%; aspect-ratio: 1.15; max-width: 100%; }
  .hero-photo::before { background: linear-gradient(0deg, #0c0b09 0%, rgba(12,11,9,0) 45%); }
  .hero-in { margin-top: -96px; padding-top: 0; padding-bottom: 56px; }
  .hero-name { max-width: 300px; }
}
.no-hero-photo .hero { min-height: 0; padding: 96px 0; }

/* Album */
.album { padding: var(--sec) 0; border-top: 1px solid var(--line); }
.album-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
@media (max-width: 860px) { .album-in { grid-template-columns: 1fr; } }
.album-art { aspect-ratio: 1; max-width: 100%; background: var(--bg-3) center / cover no-repeat; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); box-shadow: 0 30px 60px rgba(0,0,0,.45); }
.album-art.has-photo .album-fallback { display: none; }
.album-fallback { width: 32%; opacity: .55; }
.album-body h2 { margin-bottom: 20px; }
.album-note { color: var(--muted); font-size: 19px; max-width: 540px; }
.album-note.is-ph { min-height: 80px; margin-top: 8px; }
.player { margin-top: 36px; }
.now { display: flex; align-items: center; gap: 18px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.play { width: 56px; height: 56px; border-radius: 50%; border: 0; background: var(--amber); color: var(--amber-ink); display: grid; place-items: center; cursor: pointer; flex: none; }
.play:hover { background: var(--text); }
.play svg { fill: currentColor; stroke: none; width: 22px; height: 22px; }
.play .i-pause, .playing .play .i-play { display: none; }
.playing .play .i-pause { display: block; }
.now-txt { flex: 1; min-width: 0; display: grid; gap: 8px; }
.now-title { font-weight: 700; font-size: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar { height: 6px; background: var(--bg-3); cursor: pointer; position: relative; }
.bar span { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--amber); }
.time { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.tracks li button { width: 100%; display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: center; min-height: 48px; padding: 10px 0; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--text); font: 400 14px/1.4 var(--mono); text-align: left; cursor: pointer; }
.tracks li button:hover .t, .tracks li button.on .t { color: var(--amber); }
.tracks .n, .tracks .d { color: var(--muted); font-variant-numeric: tabular-nums; }
.embed-bandcamp iframe { width: 100%; height: 470px; border: 0; margin-top: 32px; }

/* Live */
.live { padding: var(--sec) 0; background: var(--bg-2); border-top: 1px solid var(--line); }
.live-head { max-width: 760px; margin-bottom: 48px; }
.live-head p:not(.tag) { margin-top: 24px; color: var(--muted); font-size: 19px; max-width: 600px; }
.live-photo { aspect-ratio: 21 / 9; max-width: 100%; background: center / cover no-repeat; margin-bottom: 24px; }
.live-photo.is-ph { aspect-ratio: auto; }
.videos { display: grid; gap: 16px; }
.videos.n2 { grid-template-columns: 1fr 1fr; }
.videos.n3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
.videos.n3 > :first-child { grid-row: span 2; }
@media (max-width: 760px) { .videos.n2, .videos.n3 { grid-template-columns: 1fr; grid-template-rows: none; } .videos.n3 > :first-child { grid-row: auto; } }
.videos .yt, .videos iframe { width: 100%; aspect-ratio: 16 / 9; max-width: 100%; height: 100%; min-height: 0; border: 0; background: #000 center / cover no-repeat; cursor: pointer; position: relative; display: block; padding: 0; }
.yt-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 72px; height: 72px; border-radius: 50%; background: var(--amber); color: var(--amber-ink); display: grid; place-items: center; }
.yt-play svg { fill: currentColor; stroke: none; width: 28px; height: 28px; }
.yt:hover .yt-play { background: var(--text); }
.live-cta { margin-top: 40px; }

/* More music */
.music { padding: var(--sec) 0; border-top: 1px solid var(--line); }
.music-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 860px) { .music-in { grid-template-columns: 1fr; } }
.music-txt p:not(.tag) { margin-top: 24px; color: var(--muted); font-size: 19px; max-width: 520px; }
.listen-links { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 28px; }
.listen-links:empty { display: none; }
.embed-sc iframe { width: 100%; height: 450px; border: 0; }
.embed-sc.is-ph { min-height: 320px; }

/* Credits */
.credits { padding: var(--sec) 0; background: var(--bg-2); border-top: 1px solid var(--line); }
.credit-list { margin-top: 40px; border-top: 1px solid var(--line); }
.credit-list li { display: grid; grid-template-columns: 1.2fr 1.4fr auto; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.credit-list .a { font-weight: 500; color: var(--text); }
.credit-list .w, .credit-list .r { color: var(--muted); }
@media (max-width: 600px) { .credit-list li { grid-template-columns: 1fr auto; } .credit-list .w { grid-column: 1 / -1; grid-row: 2; } }
.credit-list.is-ph { min-height: 140px; border: 1px dashed #5a5248; }
.credits-cta { margin-top: 28px; color: var(--muted); }
.credits-cta a { color: var(--amber); }

/* About */
.about { padding: var(--sec) 0; border-top: 1px solid var(--line); }
.about-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.no-about-photo:not(.preview) .about-in { grid-template-columns: 1fr; max-width: 760px; }
@media (max-width: 860px) { .about-in { grid-template-columns: 1fr; } }
.about-photo { aspect-ratio: 4 / 5; max-width: 100%; background: center / cover no-repeat; filter: grayscale(.25) contrast(1.05); }
.about-body h2 { margin-bottom: 28px; }
.about-body p:not(.tag) { font-size: 19px; color: #d9d1c4; max-width: 600px; }
.about-body p + p { margin-top: 18px; }
.skills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.skills li { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; padding: 8px 12px; border: 1px solid var(--line); color: var(--muted); }

/* Sync */
.sync { padding: clamp(56px, 7vw, 88px) 0; background: var(--bg-3); border-top: 1px solid var(--line); }
.sync-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.sync-in > div { max-width: 680px; min-width: 0; }
.sync h2 { font-size: clamp(32px, 4.4vw, 56px); }
.sync p:not(.tag) { margin-top: 16px; color: var(--muted); font-size: 17px; }

/* Contact */
.contact { padding: var(--sec) 0; border-top: 1px solid var(--line); background: radial-gradient(700px 360px at 15% 100%, rgba(224,164,90,.12), transparent 70%), var(--bg); }
.contact-mail { margin-top: 32px; font-family: var(--display); font-stretch: 80%; font-weight: 700; font-size: clamp(24px, 4.6vw, 52px); overflow-wrap: anywhere; }
.contact-mail a { text-decoration: none; border-bottom: 3px solid var(--amber); }
.contact-mail a:hover { color: var(--amber); }
.socials { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.socials a { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 16px; border: 1px solid var(--line); text-decoration: none; font-family: var(--mono); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.socials a:hover { border-color: var(--amber); color: var(--amber); }
.socials.is-ph { min-height: 80px; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 40px 0; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.foot-in img { width: 36px; opacity: .8; }
.foot p { color: var(--muted); font-size: 13px; }
.foot p:last-child { margin-left: auto; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--amber); }
