:root {
  --bg: #0A0A0A;
  --panel: #111111;
  --panel-2: #131313;
  --line: #262626;
  --line-soft: #1F1F1F;
  --line-strong: #3A3733;
  --text: #EDE9E3;
  --text-2: #CFCAC2;
  --muted: #9A958D;
  --muted-2: #8A857E;
  --accent: #C9A86A;
  --cream: #E8E3DA;
  --serif: 'Instrument Serif', 'Times New Roman', serif;
  --sans: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 17px; line-height: 1.6; overflow-x: hidden; visibility: visible; } /* index.html hides it until this file loads */
img { max-width: 100%; display: block; }
a { color: var(--text); }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; padding: 10px 16px; background: var(--accent); color: var(--bg); z-index: 10; border-radius: 8px; }
.skip:focus { top: 12px; }
.muted { color: var(--muted-2); }
[hidden] { display: none !important; }

.wrap { max-width: 1280px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
@media (max-width: 520px) { .wrap { padding-left: 16px; padding-right: 16px; } }

.eyebrow { margin: 0; font-size: 12px; font-weight: 500; letter-spacing: .34em; text-transform: uppercase; color: var(--muted); }
.eyebrow.accent { color: var(--accent); }

/* Header */
.site-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 32px; padding-top: 20px; padding-bottom: 20px; }
.logo { font-family: var(--serif); font-style: italic; font-size: 30px; line-height: 44px; text-decoration: none; }
.nav { display: flex; flex-wrap: wrap; gap: 0 28px; font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; }
.nav a, .nav span { line-height: 44px; text-decoration: none; }

/* Hero */
.hero { padding-top: clamp(40px, 7vw, 96px); }
.hero .eyebrow { margin-bottom: 28px; }
.hero-title { margin: 0; display: flex; align-items: flex-start; gap: .05em; font-family: var(--serif); font-weight: 400; font-style: italic; font-size: clamp(112px, 21vw, 300px); line-height: .82; letter-spacing: -.035em; }
.hero-title .bloom { display: block; padding-right: .04em; }
.hero-sharp { flex: none; width: .24em; height: .32em; margin-top: .04em; color: var(--accent); }
.hero-row { display: flex; flex-wrap: wrap; gap: 32px 64px; align-items: flex-end; justify-content: space-between; margin-top: 44px; }
.lede { flex: 1 1 340px; max-width: 520px; margin: 0; font-size: clamp(18px, 1.8vw, 22px); font-weight: 300; color: var(--text-2); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }

.btn { display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 28px; border-radius: 999px; font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.btn svg { width: 14px; height: 14px; }
.btn-fill { border: none; background: var(--accent); color: var(--bg); }
.btn-fill:hover { background: var(--text); color: var(--bg); }
.btn-ghost { border: 1px solid var(--line-strong); color: var(--text); background: transparent; }
.btn-ghost:hover { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.btn:disabled { opacity: .6; cursor: progress; }
.i-pause { display: none; }
.is-playing > .i-play { display: none; }
.is-playing > .i-pause { display: block; }

/* Player */
.player { margin-top: clamp(56px, 7vw, 96px); scroll-margin-top: 16px; }
.player-head { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; padding-bottom: 28px; }
.sc-tile { position: relative; flex: none; width: clamp(200px, 22vw, 280px); aspect-ratio: 1 / 1; border-radius: 14px; overflow: hidden; background: var(--panel-2) center / cover no-repeat; border: 1px solid var(--line); transition: box-shadow .4s, border-color .4s; }
.sc-tile iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; transition: opacity .6s; }
.sc-tile.is-loading iframe { opacity: 0; }
.sc-tile.is-blocked { width: clamp(240px, 22vw, 280px); } /* room for a blocker's "Allow" box */
/* Shows through a blocked (empty) player; Privacy Badger's box covers both when it's there. */
.sc-tile.is-blocked::before { content: "SoundCloud’s player is blocked. Allow it in your blocker, then try again."; position: absolute; inset: 0 0 76px; display: flex; align-items: center; justify-content: center; padding: 24px 28px 0; text-align: center; text-wrap: balance; font-size: 15px; line-height: 1.5; color: var(--muted); }
.sc-retry { position: absolute; left: 50%; bottom: 24px; z-index: 1; transform: translateX(-50%); min-height: 44px; padding: 0 22px; white-space: nowrap; }
.sc-tile.is-asking { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(201, 168, 106, .25); }
.np { flex: 1 1 320px; min-width: 0; }
.np-title { margin: 10px 0 0; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(36px, 4.6vw, 64px); line-height: 1; letter-spacing: -.01em; overflow-wrap: anywhere; }
.np-credit { margin: 12px 0 0; font-size: 14px; color: var(--muted); }
.np-credit a { color: var(--muted); }
.np-credit a:hover { color: var(--accent); }
.controls { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 20px; }
.play-btn { width: 72px; height: 72px; border: none; border-radius: 50%; background: var(--accent); color: var(--bg); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background .3s, transform .3s; }
.play-btn:hover { background: var(--text); transform: scale(1.04); }
.play-btn svg { width: 26px; height: 26px; }
.play-btn .i-play { margin-left: 3px; }
.icon-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-strong); background: transparent; color: var(--text); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: border-color .3s, color .3s; }
.icon-btn:hover { border-color: var(--accent); color: var(--accent); }
.icon-btn svg { width: 16px; height: 16px; }
.mode-tag { margin-left: 8px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

.viz { position: relative; height: clamp(300px, 40vw, 520px); border: 1px solid #1C1C1C; border-radius: 14px; overflow: hidden; background: #0C0C0C; }
.viz canvas { display: block; width: 100%; height: 100%; }
.viz-hint { position: absolute; left: 0; right: 0; top: 28%; margin: 0; text-align: center; font-family: var(--serif); font-style: italic; font-size: clamp(20px, 2.4vw, 28px); color: var(--muted); pointer-events: none; }

.progress { display: flex; align-items: center; gap: 16px; margin-top: 18px; font-size: 13px; color: var(--muted-2); font-variant-numeric: tabular-nums; }
.progress input { flex: 1; min-width: 0; height: 28px; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; --p: 0%; }
.progress input::-webkit-slider-runnable-track { height: 3px; border-radius: 3px; background: linear-gradient(to right, var(--accent) var(--p), var(--line) var(--p)); }
.progress input::-moz-range-track { height: 3px; border-radius: 3px; background: var(--line); }
.progress input::-moz-range-progress { height: 3px; border-radius: 3px; background: var(--accent); }
.progress input::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; margin-top: -5.5px; border-radius: 50%; background: var(--text); border: none; }
.progress input::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--text); border: none; }
.sc-note { margin: 14px 0 0; padding: 12px 16px; border: 1px solid var(--line-strong); border-radius: 12px; font-size: 15px; color: var(--text-2); }

/* Sections */
.section { padding-top: clamp(112px, 13vw, 176px); }
.section-head { display: flex; flex-wrap: wrap; gap: 24px 64px; align-items: flex-end; justify-content: space-between; padding-top: 28px; border-top: 1px solid var(--line); }
.section-head .eyebrow { margin-bottom: 16px; }
.section-note { flex: 1 1 300px; max-width: 420px; margin: 0; color: var(--muted); }
.h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(52px, 7vw, 96px); line-height: .95; letter-spacing: -.02em; }
.h2-xl { font-size: clamp(48px, 7vw, 104px); }

/* Track list */
.tracks { list-style: none; margin: 48px 0 0; padding: 0; border-top: 1px solid var(--line-soft); }
.track { display: flex; align-items: center; gap: 8px 16px; border-bottom: 1px solid var(--line-soft); transition: background .3s; }
.track:hover, .track.is-current { background: #101010; }
.track-play { flex: 1; min-width: 0; display: flex; align-items: center; gap: 20px; padding: 14px 12px; border: none; background: transparent; color: var(--text); font: inherit; text-align: left; cursor: pointer; }
.track-num { position: relative; width: 28px; flex: none; font-size: 13px; color: var(--muted-2); font-variant-numeric: tabular-nums; }
.track-num .eq { display: none; align-items: flex-end; gap: 3px; height: 16px; }
.track-num .eq i { display: block; width: 4px; height: 100%; background: var(--accent); transform-origin: bottom; transform: scaleY(.4); }
.track.is-current .track-num .n { display: none; }
.track.is-current .track-num .eq { display: flex; }
.track.is-playing .track-num .eq i { animation: eq .9s ease-in-out infinite; }
.track.is-playing .track-num .eq i:nth-child(2) { animation-delay: -.3s; }
.track.is-playing .track-num .eq i:nth-child(3) { animation-delay: -.6s; }
@keyframes eq { 0%, 100% { transform: scaleY(.25); } 50% { transform: scaleY(1); } }
.track-art { flex: none; width: 56px; height: 56px; border-radius: 8px; object-fit: cover; background: var(--panel-2); }
.track-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.track-title { font-family: var(--serif); font-size: clamp(22px, 2.4vw, 30px); line-height: 1.15; overflow-wrap: anywhere; transition: color .3s; }
.track.is-current .track-title, .track-play:hover .track-title { color: var(--accent); }
.track-sub { margin-top: 2px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); }
.track-link { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; color: var(--muted); }
.track-link svg { width: 14px; height: 14px; }
@media (max-width: 560px) {
  .track-link { font-size: 0; gap: 0; width: 44px; justify-content: center; padding: 0; }
  .track-play { gap: 14px; padding: 12px 4px; }
  .track-art { width: 48px; height: 48px; }
}
.text-link { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; margin-top: 24px; font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; color: var(--accent); }
.text-link svg { width: 16px; height: 16px; }

/* Videos */
.videos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 24px; margin-top: 48px; }
.video { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; transition: border-color .5s; }
.video:hover { border-color: var(--accent); }
.video-frame { position: relative; aspect-ratio: 16 / 9; background: #141414; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-poster { position: absolute; inset: 0; display: block; width: 100%; height: 100%; padding: 0; border: none; background: transparent; cursor: pointer; }
.video-poster img { width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: opacity .4s, transform .7s var(--ease); }
.video-poster:hover img { opacity: 1; transform: scale(1.03); }
.video-play { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; background: var(--accent); color: var(--bg); display: flex; align-items: center; justify-content: center; }
.video-play svg { width: 24px; height: 24px; margin-left: 3px; }
.video-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 18px 22px 22px; }
.video-title { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.15; }
.video-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; color: var(--muted); }
.video-link svg { width: 14px; height: 14px; }

/* About */
.about { display: flex; flex-wrap: wrap; gap: 48px 80px; align-items: center; }
.about-photo { flex: 1 1 280px; min-width: 0; max-width: min(420px, 100%); }
@media (max-width: 560px) { .about-photo { max-width: 260px; } }
.about-photo img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 50%; border: 1px solid var(--line); background: var(--panel-2); filter: grayscale(.15) contrast(1.05); }
.about-photo.no-photo { position: relative; aspect-ratio: 1 / 1; border-radius: 50%; border: 1px solid var(--line); background: var(--panel-2); }
.about-photo.no-photo img { display: none; }
.about-photo.no-photo::after, .sc-tile.is-offline::after, .sc-tile.is-loading::after { content: "Sharp"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-style: italic; font-size: clamp(40px, 6vw, 72px); color: var(--muted-2); }
.sc-tile.is-offline::after, .sc-tile.is-loading::after { font-size: clamp(36px, 3.6vw, 52px); }
.about-copy { flex: 1 1 420px; min-width: 0; }
.about-copy .eyebrow { margin-bottom: 16px; }
.about-lede { margin: 32px 0 0; font-size: clamp(19px, 1.8vw, 22px); font-weight: 300; color: #DAD5CD; }
.facts { display: flex; flex-wrap: wrap; gap: 24px 48px; margin: 40px 0 0; padding-top: 28px; border-top: 1px solid var(--line); }
.facts dt { font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--muted-2); }
.facts dd { margin: 8px 0 0; font-family: var(--serif); font-size: 24px; }

/* Spotify */
.spotify { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 104px) clamp(20px, 6vw, 88px); background: var(--panel); border: 1px solid var(--line); border-radius: 28px; text-align: center; }
.spotify .eyebrow { position: relative; margin-bottom: 20px; }
.spotify .h2 { position: relative; }
.spotify-mark { position: absolute; right: -40px; top: -30px; width: 340px; height: 440px; color: var(--accent); opacity: .07; }
.spotify-body { position: relative; max-width: 460px; margin: 24px auto 0; color: var(--muted); }
#spotifyCta { position: relative; margin-top: 32px; }
.signup { position: relative; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 36px; }
.signup input { flex: 0 1 340px; min-width: 0; min-height: 52px; padding: 0 22px; background: var(--bg); border: 1px solid var(--line-strong); border-radius: 999px; color: var(--text); font-family: inherit; font-size: 16px; }
.signup input::placeholder { color: var(--muted-2); }
.signup-check { flex-basis: 100%; display: flex; justify-content: center; }
.signup-check:empty { display: none; }
.signup-msg { flex-basis: 100%; margin: 4px 0 0; min-height: 1.6em; font-size: 15px; color: var(--muted); }
.signup-alt { position: relative; margin: 28px 0 0; color: var(--muted); }

/* Footer */
.site-footer { padding-top: clamp(112px, 13vw, 176px); padding-bottom: 40px; }
.footer-row { display: flex; flex-wrap: wrap; gap: 32px 64px; align-items: flex-end; justify-content: space-between; padding-top: 32px; border-top: 1px solid var(--line); }
.footer-mark { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(80px, 12vw, 160px); line-height: .85; letter-spacing: -.03em; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-mail { margin: 0; font-size: 15px; color: var(--muted); }
.fineprint { margin: 48px 0 0; font-size: 12px; letter-spacing: .06em; color: var(--muted-2); }

/* Motion */
@keyframes rise { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes bloom { from { opacity: 0; letter-spacing: .06em; filter: blur(18px); } to { opacity: 1; letter-spacing: -.035em; filter: blur(0); } }
.in { animation: rise 1.3s var(--ease) both; }
.hero .lede { animation-delay: .5s; }
.hero .cta { animation-delay: .7s; }
.hero-sharp { animation-delay: 1.2s; }
.player.in { animation-delay: .9s; }
.bloom { animation: bloom 2.2s var(--ease) both; }
/* Sections glide up as they scroll into view; they stay readable the whole time.
   (Browsers without scroll-driven animation simply show them in place.) */
@keyframes glide { from { transform: translateY(64px); } to { transform: none; } }
@supports (animation-timeline: view()) {
  .reveal { animation: glide linear both; animation-timeline: view(); animation-range: entry 0% cover 30%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .in, .bloom { animation: none; }
  .reveal { animation: none !important; }
  .track.is-playing .track-num .eq i { animation: none; }
}
