/* =========================================================
   Joël Dollié — Mixing & Mastering Engineer
   Quiet, typographic, one typeface. Warm amber accent used for details:
   audio UI, section markers, links, the primary button and small highlights.
   ========================================================= */
:root {
  --bg: #0b0b0c;
  --bg-2: #131315;
  --line: rgba(255, 255, 255, .1);
  --line-2: rgba(255, 255, 255, .22);
  --text: #e9e6e1;
  --soft: #c4c0b9;
  --muted: #8e8a84;
  --accent: #e3a04a;

  --font: "Hanken Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --wrap: 1440px;
  --pad: clamp(20px, 4vw, 56px);

  /* Hero image framing — adjust when the studio banner arrives */
  --hero-focus: 70% 55%;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.65 var(--font); font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
p { margin: 0 0 1.1em; }
::selection { background: var(--text); color: var(--bg); }
: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); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 300; background: var(--text); color: var(--bg); padding: 8px 14px; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }

/* links & buttons */
.row__body a:not(.btn), .note a, .contact-line a {
  text-decoration: underline; text-decoration-color: rgba(233, 230, 225, .35); text-underline-offset: 3px; text-decoration-thickness: 1px;
  transition: text-decoration-color .2s;
}
.row__body a:not(.btn):hover, .note a:hover, .contact-line a:hover { text-decoration-color: currentColor; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 11px 20px;
  border: 1px solid var(--line-2); border-radius: 2px; background: none;
  font: 500 15px/1.2 var(--font); text-decoration: none; color: var(--text);
  transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--accent); color: #14100a; border-color: var(--accent); }
.text-link {
  background: none; border: 0; padding: 0; font: 500 15px var(--font); color: var(--text);
  text-decoration: underline; text-decoration-color: rgba(233, 230, 225, .35); text-underline-offset: 3px;
}
.text-link:hover { text-decoration-color: currentColor; }
.links { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; margin-top: 28px; }

/* ---------- header ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 100; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.header.is-scrolled { background: rgba(11, 11, 12, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-color: var(--line); }
.header__inner { max-width: 1440px; margin: 0 auto; padding: 18px var(--pad); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo__name { font-weight: 600; font-size: 19px; letter-spacing: -.02em; white-space: nowrap; transition: color .2s; }
.logo:hover .logo__name { color: var(--accent); }

.nav { display: flex; align-items: center; gap: 30px; }
.nav > a, .nav__trigger { padding: 6px 0; background: none; border: 0; font: 400 15px/1 var(--font); color: var(--soft); text-decoration: none; transition: color .2s; }
.nav > a:hover, .nav__trigger:hover, .nav > a.is-active, .nav__trigger.is-active { color: var(--text); }
.nav > a.is-active, .nav__trigger.is-active { box-shadow: inset 0 -1.5px 0 var(--accent); }
.nav__group { position: relative; }
.nav__menu {
  position: absolute; top: calc(100% + 14px); left: -18px; min-width: 210px; padding: 8px 0;
  background: var(--bg-2); border: 1px solid var(--line); display: grid;
  opacity: 0; visibility: hidden; transition: opacity .15s, visibility .15s;
}
.nav__menu::before { content: ""; position: absolute; inset: -16px 0 auto; height: 16px; }
.nav__group:hover .nav__menu, .nav__group:focus-within .nav__menu, .nav__group.is-open .nav__menu { opacity: 1; visibility: visible; }
.nav__menu a { padding: 9px 18px; font-size: 15px; color: var(--soft); text-decoration: none; }
.nav__menu a:hover { color: var(--text); background: rgba(255, 255, 255, .04); }

.burger { display: none; width: 40px; height: 40px; border: 0; background: none; position: relative; z-index: 120; margin-right: -8px; }
.burger span { position: absolute; left: 9px; right: 9px; height: 1.5px; background: var(--text); transition: transform .25s, top .25s; }
.burger span:first-child { top: 15px; } .burger span:last-child { top: 24px; }
.burger[aria-expanded="true"] span:first-child { top: 19.5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 19.5px; transform: rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; z-index: 110; background: var(--bg); padding: 90px var(--pad) 40px; overflow-y: auto; }
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: grid; }
.mobile-menu a { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 22px; text-decoration: none; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--hero-focus); z-index: -2; filter: saturate(.8); }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(11, 11, 12, .85) 0%, rgba(11, 11, 12, .4) 50%, rgba(11, 11, 12, .1) 80%),
    linear-gradient(0deg, rgba(11, 11, 12, .95) 0%, rgba(11, 11, 12, .2) 40%, rgba(11, 11, 12, .2) 75%, rgba(11, 11, 12, .6) 100%);
}
.hero__content { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--pad); }
.hero__title { margin: 0; font-weight: 500; font-size: clamp(52px, 9vw, 136px); line-height: .95; letter-spacing: -.035em; }
.hero__role { margin: 22px 0 0; font-size: clamp(19px, 1.7vw, 24px); font-weight: 500; }
.hero__lead { margin: 10px 0 34px; max-width: 520px; font-size: 18px; color: var(--soft); }
.hero__content { padding-bottom: clamp(70px, 12vh, 130px); }
/* entrance: photo settles, text rises in */
.hero__bg { animation: hero-settle 2.6s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes hero-settle { from { transform: scale(1.07); opacity: .4; } }
.hero__content > * { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.hero__content > :nth-child(2) { animation-delay: .12s; }
.hero__content > :nth-child(3) { animation-delay: .22s; }
.hero__content > :nth-child(4) { animation-delay: .32s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

/* ---------- credits carousel ---------- */
.credits { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 16px 0; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.credits__track { display: flex; width: max-content; animation: marquee 70s linear infinite; }
.credits:hover .credits__track { animation-play-state: paused; }
.credits ul { display: flex; margin: 0; padding: 0; list-style: none; }
.credits li { display: flex; align-items: center; gap: 26px; padding-right: 26px; white-space: nowrap; font-size: 15px; letter-spacing: .01em; color: var(--muted); transition: color .2s; }
.credits li:hover { color: var(--text); }
.credits .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); opacity: .7; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- gentle reveal ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- sections: title column + content column ---------- */
.section { padding: clamp(72px, 9vw, 120px) 0; border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: minmax(180px, 3fr) 9fr; gap: 40px clamp(32px, 5vw, 80px); align-items: start; }
.row__title { margin: 0; position: sticky; top: 100px; font-weight: 500; font-size: clamp(24px, 2.2vw, 30px); line-height: 1.2; letter-spacing: -.015em; }
.row__body { max-width: 860px; min-width: 0; color: var(--soft); }
.lead { font-size: clamp(20px, 1.8vw, 24px); line-height: 1.5; color: var(--text); margin-bottom: 1em; }
.note { font-size: 15px; color: var(--muted); }

/* about */
.about { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 40px; max-width: none; }
.about__photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; filter: saturate(.85); }
.about__text { max-width: 640px; }

/* mixing & mastering */
.info { margin: 36px 0 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.info div { border-top: 1px solid var(--line-2); padding-top: 16px; }
.info dt { color: var(--text); font-weight: 500; margin-bottom: 8px; }
.info dd { margin: 0; font-size: 16px; }
.contact-line { font-size: 19px; color: var(--text); }

/* media rows (e-book, plug-ins, course) */
.media { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: 44px; align-items: start; max-width: none; }
.media > div { max-width: 640px; }
.media__img { width: 100%; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.media__img:hover { transform: translateY(-6px) rotate(-1deg); }
.media__img--book { box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .8); }
.media__img--box { filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .6)); }
.media__title { margin: 0 0 16px; font-weight: 500; font-size: clamp(22px, 2vw, 26px); line-height: 1.25; color: var(--text); letter-spacing: -.01em; }

/* youtube facade */
.yt { position: relative; display: block; width: 100%; padding: 0; border: 0; background: #000; aspect-ratio: 16 / 9; overflow: hidden; }
.yt img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .3s, transform .6s cubic-bezier(.2, .7, .2, 1); }
.yt:hover img { opacity: 1; transform: scale(1.035); }
.yt:hover .yt__play { background: var(--accent); border-color: var(--accent); }
.yt:hover .yt__play::before { border-left-color: #14100a; }
.yt__play { position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: rgba(0, 0, 0, .55); border: 1px solid rgba(255, 255, 255, .6); transition: background .2s; }
.yt__play::before { content: ""; position: absolute; left: 22px; top: 18px; border-style: solid; border-width: 10px 0 10px 15px; border-color: transparent transparent transparent #fff; }
.yt:hover .yt__play { background: rgba(0, 0, 0, .8); }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video { margin: 32px 0 0; }
figcaption, .vcap { margin-top: 12px; font-size: 14px; color: var(--muted); line-height: 1.45; }
.vcap b { display: block; font-weight: 500; color: var(--text); font-size: 15px; }

/* mix reviews */
.options { list-style: none; margin: 32px 0 24px; padding: 0; border-bottom: 1px solid var(--line); }
.options li { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 32px; padding: 18px 0; border-top: 1px solid var(--line); }
.options__name { color: var(--text); font-size: 18px; }
.options__price { color: var(--text); font-size: 18px; min-width: 60px; text-align: right; }
.options form { margin: 0; }

/* tracks */
.tracks { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.track { display: grid; grid-template-columns: 28px 40px minmax(160px, 1fr) minmax(0, 1.5fr) 48px; align-items: center; gap: 18px; padding: 16px 10px; margin: 0 -10px; border-bottom: 1px solid var(--line); transition: background .25s; }
.track:hover { background: rgba(255, 255, 255, .025); }
.track.is-current { background: linear-gradient(90deg, rgba(227, 160, 74, .09), transparent 65%); }
.track__n { font-size: 13px; color: var(--muted); }
.track.is-current .track__n { color: var(--accent); }
.track__btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); background: none; display: grid; place-items: center; transition: border-color .2s, background .2s, color .2s; }
.track__btn svg { width: 16px; height: 16px; fill: currentColor; }
.track__btn .i-pause { display: none; }
.track__btn:hover { border-color: var(--text); }
.track.is-current .track__btn { background: var(--accent); border-color: var(--accent); color: #14100a; }
.track.is-playing .track__btn .i-play { display: none; }
.track.is-playing .track__btn .i-pause { display: block; }
.track__meta { min-width: 0; }
.track__title { display: block; color: var(--text); font-weight: 500; font-size: 16px; line-height: 1.35; }
.track__sub { display: block; font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.track__wave { height: 44px; width: 100%; cursor: pointer; display: block; }
.track__dur { font-size: 13px; color: var(--muted); text-align: right; }

/* videos */
.video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px 24px; }
.vitem { margin: 0; }

/* contact */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 48px; max-width: none; }
.contact__mail { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; font-size: clamp(20px, 2vw, 26px); color: var(--text); }
.copy { padding: 5px 10px; border: 1px solid var(--line-2); border-radius: 2px; background: none; font-size: 12px; color: var(--muted); }
.copy:hover, .copy.is-done { color: var(--text); border-color: var(--text); }
.form { display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; }
.form label span { font-size: 14px; color: var(--muted); }
.form input, .form textarea {
  width: 100%; padding: 12px 14px; border-radius: 2px; border: 1px solid var(--line-2); background: transparent;
  font: 400 16px/1.4 var(--font); color: var(--text); resize: vertical; transition: border-color .2s;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--text); }
.form .is-invalid { border-color: #c9675b; }
.form__foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 4px; }
.form__status { margin: 0; font-size: 14px; color: var(--soft); }

/* footer */
.footer { border-top: 1px solid var(--line); padding: 28px 0 120px; font-size: 14px; color: var(--muted); }
.footer__inner { display: flex; justify-content: space-between; gap: 20px; }
.footer p { margin: 0; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--text); }

/* ---------- persistent player ---------- */
.player {
  position: fixed; left: 50%; bottom: 14px; z-index: 90; width: min(1180px, calc(100% - 24px)); translate: -50% 0;
  background: rgba(19, 19, 21, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line-2); border-radius: 6px; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .8);
}
.player[hidden] { display: none; }
.player__inner { display: grid; grid-template-columns: auto minmax(140px, 240px) 1fr auto auto; align-items: center; gap: 22px; padding: 10px 18px 10px 12px; }
.player__controls { display: flex; align-items: center; gap: 2px; }
.pbtn { width: 36px; height: 36px; border-radius: 50%; border: 0; background: none; display: grid; place-items: center; color: var(--soft); }
.pbtn svg { width: 17px; height: 17px; fill: currentColor; }
.pbtn:hover { color: var(--text); }
.pbtn--main { width: 42px; height: 42px; background: var(--accent); color: #14100a; }
.pbtn--main:hover { color: #14100a; filter: brightness(1.1); }
.pbtn--main .i-pause, .player.is-playing .pbtn--main .i-play { display: none; }
.player.is-playing .pbtn--main .i-pause { display: block; }
.player__meta { min-width: 0; }
.player__title { display: block; font-weight: 500; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player__sub { display: block; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player__wave { display: flex; align-items: center; gap: 12px; min-width: 0; }
.player__wave canvas { flex: 1; height: 34px; min-width: 0; cursor: pointer; }
.tc { font-size: 12px; color: var(--muted); min-width: 34px; }
.tc:last-child { text-align: right; }
.player__meter { display: flex; gap: 3px; height: 32px; }
.player__meter i { width: 4px; height: 100%; background: rgba(255, 255, 255, .08); position: relative; overflow: hidden; }
.player__meter i::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: var(--lvl, 0%); background: linear-gradient(0deg, var(--accent) 0 75%, #f3d08f 90%, #e2694e 100%); background-size: 100% 32px; background-position: bottom; }
.player__vol input { width: 86px; accent-color: var(--accent); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav { display: none; }
  .burger { display: block; }
  .row { grid-template-columns: 1fr; }
  .row__title { position: static; }
  .player__inner { grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; }
  .player__wave { grid-column: 1 / -1; grid-row: 2; }
  .player__meter { display: none; }
}
@media (max-width: 760px) {
  .about, .media, .contact { grid-template-columns: 1fr; }
  .about__photo { max-width: 360px; }
  .media__img { max-width: 220px; }
  .info { grid-template-columns: 1fr; gap: 22px; }
  .video-grid { grid-template-columns: 1fr; }
  .track { grid-template-columns: 40px minmax(0, 1fr) 44px; grid-template-areas: "btn meta dur" "wave wave wave"; row-gap: 10px; }
  .track__n { display: none; }
  .track__btn { grid-area: btn; } .track__meta { grid-area: meta; } .track__dur { grid-area: dur; } .track__wave { grid-area: wave; height: 36px; }
  .options li { grid-template-columns: 1fr auto; gap: 8px 20px; }
  .options form { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero__bg { object-position: 80% 50%; }
  .hero__shade { background: linear-gradient(0deg, rgba(11, 11, 12, .97) 0%, rgba(11, 11, 12, .55) 50%, rgba(11, 11, 12, .3) 75%, rgba(11, 11, 12, .6) 100%); }
  .hero__title { font-size: 15vw; }
  .form__row { grid-template-columns: 1fr; }
  .player { bottom: 8px; }
  .player__vol, .pbtn[data-act="prev"], .pbtn[data-act="next"] { display: none; }
  .player__inner { grid-template-columns: auto minmax(0, 1fr); padding: 10px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__bg, .hero__content > * { animation: none; }
  /* credits speed for reduced motion is set in js/main.js (buildCredits) */
}

/* =========================================================
   Amber accents — warmth in the details, never in big blocks
   ========================================================= */
:root { --accent-soft: rgba(227, 160, 74, .45); --accent-faint: rgba(227, 160, 74, .12); }
::selection { background: var(--accent); color: #14100a; }

/* hero: role line in amber, the one primary button filled */
.hero__role { color: var(--accent); }
.hero .btn { background: var(--accent); border-color: var(--accent); color: #14100a; }
.hero .btn:hover { background: #efb565; border-color: #efb565; }

/* section titles end with an amber full stop */
.row__title::after { content: "."; color: var(--accent); }

/* links: amber underline, amber on hover */
.row__body a:not(.btn), .note a, .contact-line a, .text-link { text-decoration-color: var(--accent-soft); transition: color .2s, text-decoration-color .2s; }
.row__body a:not(.btn):hover, .note a:hover, .contact-line a:hover, .text-link:hover { color: var(--accent); text-decoration-color: var(--accent); }
.btn { border-color: var(--accent-soft); }

/* nav */
.nav > a:hover, .nav__trigger:hover { color: var(--accent); }
.nav__menu { border-top: 2px solid var(--accent); }
.nav__menu a:hover { color: var(--accent); background: var(--accent-faint); }
.mobile-menu a:hover { color: var(--accent); }

/* mixing & mastering: amber rules over the three columns */
.info div { border-top-color: var(--accent); }
.contact-line a { color: var(--accent); }

/* e-book / plug-ins / course titles */
.media__title { color: var(--accent); }

/* mix reviews: prices in amber */
.options__price { color: var(--accent); font-weight: 500; }
.options li { transition: background .2s; }
.options li:hover { background: linear-gradient(90deg, var(--accent-faint), transparent 70%); }

/* tracks */
.track__btn:hover { border-color: var(--accent); color: var(--accent); }
.track:hover .track__title, .track.is-current .track__title { color: var(--accent); }

/* videos */
.vitem:hover .vcap b { color: var(--accent); }
.vcap b { transition: color .2s; }

/* contact */
.contact__mail a { text-decoration-color: var(--accent); }
.copy:hover, .copy.is-done { color: var(--accent); border-color: var(--accent); }
.form input:focus, .form textarea:focus { border-color: var(--accent); }

/* credits strip & footer */
.credits li:hover { color: var(--accent); }
.footer a:hover { color: var(--accent); }

/* thin amber line at the very top of the page, like a console's status light */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: 2px; z-index: 150; background: var(--accent); opacity: .9; }
