/* ==========================================================================
   LOYER MUSIC — modern layer (loaded after styles.css, overrides it)
   Palette: warm studio white, near-black ink, and the orange glow of the
   profile portrait as the only accent.
   Display type: Bricolage Grotesque, slightly condensed and tightly tracked.
   Body type: Geist. Labels: Geist Mono — the vernacular of a DAW session.
   Signature: a soft studio light that follows the pointer (or drifts with
   scroll on touch screens) and lights up the main headline as it passes.
   To go back to the previous look, remove this file's <link> from the pages.
   ========================================================================== */

:root {
  --ivory: #F7F5F2;        /* page */
  --ivory-deep: rgba(120, 60, 20, 0.045);   /* panel sections, lets the light through */
  --paper: #FFFFFF;        /* cards */
  --ink: #121010;
  --ink-soft: #5B5651;
  --ink-faint: #938C85;
  --amber: #EA5A16;        /* accent: the portrait's orange */
  --amber-deep: #C2410C;   /* accent for small text, keeps contrast */
  --amber-pale: #FDE3D1;
  --glow: 255, 140, 50;    /* rgb of the light */
  --line: #E7E1DA;
  --line-strong: #D4CCC2;

  --font-display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Geist", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "Geist Mono", "SF Mono", Menlo, monospace;

  --radius: 18px;
}

/* the page color lives on html only, so the light layer behind body stays visible */
body { font-size: 16.5px; }

h1, h2, h3, h4 {
  font-weight: 600;
  font-stretch: 88%;
  letter-spacing: -0.03em;
  line-height: 1.02;
}

::selection { background: var(--amber); color: #fff; }

/* ----- small labels speak mono ----- */
.eyebrow,
.project-type,
.contact-info dt,
.field label,
.scroll-cue a,
.gear-badge,
.promo-eyebrow {
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: 0.04em;
}
.eyebrow { font-size: 0.74rem; color: var(--ink-soft); }
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin: 0 0.55rem 0.1em 0;
  border-radius: 50%;
  background: var(--amber);
}
.project-type { font-size: 0.7rem; color: var(--ink-faint); }

.lede { color: var(--ink-soft); line-height: 1.55; }

/* ----- header ----- */
.site-header.is-scrolled {
  background: rgba(247, 245, 242, 0.72);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
}
.brand {
  font-weight: 700;
  font-stretch: 85%;
  letter-spacing: -0.01em;
  font-size: 1.3rem;
}
.brand span { color: var(--ink-faint); font-weight: 500; }

.nav a {
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}
.nav a.is-active::after {
  left: 50%;
  right: auto;
  bottom: -8px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  transform: translateX(-50%);
}
@media (max-width: 1100px) {
  .nav a { font-family: var(--font-display); font-size: 2rem; font-weight: 600; font-stretch: 88%; letter-spacing: -0.03em; }
  .nav a.is-active::after { left: -1rem; bottom: auto; top: 50%; transform: translateY(-50%); width: 6px; height: 6px; }
}

.icon-btn { border-color: var(--line-strong); background: transparent; }
.icon-btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ----- buttons ----- */
.btn {
  padding: 0.9rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: var(--amber-deep); border-color: var(--amber-deep); }
.btn--ghost { border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); background: var(--paper); }
.form .btn--primary { background: var(--ink); border-color: var(--ink); }
.form .btn--primary:hover { background: var(--amber-deep); border-color: var(--amber-deep); }

/* ----- hero ----- */
.hero h1 {
  font-size: clamp(3rem, 7.2vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
}

/* the portrait file is already cut to a circle */
.hero-photo { border: 0; background: transparent; max-width: 460px; justify-self: end; }
@media (max-width: 880px) {
  .hero-photo { justify-self: start; max-width: 280px; }
}

/* ----- stats ----- */
.stat-num {
  font-weight: 600;
  font-stretch: 88%;
  letter-spacing: -0.04em;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  line-height: 1;
  color: var(--ink);
}
.stat-label { margin-top: 0.7rem; font-size: 0.9rem; }
.stats > div { padding-top: 1.2rem; border-top: 1px solid var(--line-strong); }
@media (max-width: 760px) {
  .stats > div { padding-top: 1rem; }
}

/* ----- carousel ----- */
.carousel-head h2,
.insta h2 { font-size: clamp(2rem, 4vw, 3rem); }
.carousel-btn { border-color: var(--line-strong); }
.carousel-btn:hover { border-color: var(--ink); color: #fff; background: var(--ink); }
.carousel-slide img { border-radius: 14px; border: 0; }
.carousel-slide a:hover img { transform: translateY(-4px); }
.carousel-slide a:hover .carousel-title { color: var(--amber); }
.carousel-title { font-size: 1.3rem; font-weight: 600; transition: color .3s var(--ease); }
.carousel-slide .project-type { margin-top: 0.2rem; }

/* ----- quote ----- */
.pull-quote {
  font-style: normal;
  font-weight: 500;
  font-size: clamp(1.6rem, 3.2vw, 2.5rem);
  line-height: 1.18;
  letter-spacing: -0.03em;
  font-stretch: 92%;
  max-width: 28em;
}
.pull-quote::before,
.pull-quote::after { color: var(--amber); }

/* ----- cards ----- */
.teaser-card,
.project-card,
.gear-item,
.book-item,
.feature-card {
  border-color: transparent;
  border-radius: var(--radius);
  background: var(--paper);
  transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.teaser-card:hover,
.book-item:hover {
  border-color: transparent;
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -24px rgba(15, 16, 18, 0.35);
}
.gear-item:hover { border-color: var(--line-strong); }
.teaser-card h3 { font-size: 1.6rem; }
.teaser-card .arrow,
.gear-link {
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  font-size: 0.92rem;
  color: var(--amber-deep);
}

.project-card h3 { font-size: 1.45rem; }
.project-body { padding: 1.3rem 1.4rem 1.6rem; }

.video-embed,
.insta-embed,
.bio-feature img { border-color: transparent; border-radius: var(--radius); }

/* ----- inner pages ----- */
.page-intro h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); letter-spacing: -0.045em; }

.bio-photo { border: 0; }
.bio-feature figcaption { font-family: var(--font-mono); font-style: normal; font-size: 0.78rem; }
.highlights li::before { border-radius: 50%; }

.process-num {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--amber-deep);
  padding-top: 0.5rem;
}
.process-step h3 { font-size: 1.9rem; }

.contact-info dd { font-weight: 500; font-stretch: 92%; letter-spacing: -0.02em; font-size: clamp(1.15rem, 4.6vw, 1.45rem); overflow-wrap: anywhere; }
.field input,
.field select,
.field textarea { border-color: var(--line-strong); border-radius: 12px; background: var(--paper); }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--amber); box-shadow: 0 0 0 3px var(--amber-pale); }

.jump-links a { font-weight: 500; letter-spacing: 0; border-color: var(--line-strong); }
.jump-links a:hover { border-color: var(--ink); color: var(--ink); }
.gear-badge { background: var(--amber-pale); color: var(--amber-deep); }
.tip { background: var(--paper); border-left-color: var(--amber); }
.book-author { font-family: var(--font-mono); font-style: normal; font-size: 0.82rem; color: var(--ink-soft); }

/* ----- listen section ----- */
.track-title { font-weight: 600; font-stretch: 90%; letter-spacing: -0.02em; }
/* these moods were built from the old amber tokens; pin them to their original colors */
.mood-love-theme { background: linear-gradient(150deg, #A84A60, #F1C7A4); }
.mood-romantic-comedy { background: linear-gradient(150deg, #D9692C, #A84A60); }
.mood-kids-music {
  background:
    radial-gradient(circle, rgba(255,255,255,0.25) 2px, transparent 2px) 0 0 / 20px 20px,
    linear-gradient(150deg, #C2933C, #F1C7A4);
}
.mood-uplifting-music { background: linear-gradient(0deg, #C2933C, #E4D5BD); }

/* ----- footer ----- */
.footer-social { flex-wrap: wrap; gap: 0.6rem 1.2rem; }
.footer-social a { font-weight: 500; }
.footer-social a:hover { color: var(--amber-deep); }

/* ----- warm light ----- */
/* soft orange washes, like daylight through the portrait's backdrop */
.hero,
.page-intro {
  background:
    radial-gradient(55% 75% at 78% 0%, rgba(var(--glow), 0.38), rgba(var(--glow), 0) 70%),
    radial-gradient(40% 55% at 8% 18%, rgba(255, 196, 120, 0.22), rgba(255, 196, 120, 0) 70%);
}
.section:has(.pull-quote) {
  background: radial-gradient(50% 90% at 50% 50%, rgba(var(--glow), 0.14), rgba(var(--glow), 0) 75%);
}
.section:has(.insta) {
  background: radial-gradient(60% 70% at 50% 100%, rgba(var(--glow), 0.2), rgba(var(--glow), 0) 70%);
}

/* the moving studio light: a fixed glow behind the content.
   main.js feeds --gx / --gy; without it the light just rests top right */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(520px circle at var(--gx, 75%) var(--gy, 20%), rgba(var(--glow), 0.16), rgba(var(--glow), 0) 70%);
}

/* the same light catches the headline letters as it passes over them */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero h1,
  .page-intro h1 {
    background: radial-gradient(240px circle at var(--lx, 120%) var(--ly, -40%), var(--amber) 0%, rgba(234, 90, 22, 0.45) 30%, var(--ink) 65%) var(--ink);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}
.hero h1 em { font-style: normal; color: var(--amber); -webkit-text-fill-color: var(--amber); }

/* ----- link-in-bio page ----- */
html:has(.links-page) {
  background:
    radial-gradient(70% 45% at 50% 0%, rgba(var(--glow), 0.32), rgba(var(--glow), 0) 75%) no-repeat,
    var(--ivory);
}
.link-card { border-color: transparent; }
.link-card:hover { border-color: transparent; }
.links-head h1 { letter-spacing: -0.04em; }
.links-note { font-family: var(--font-mono); letter-spacing: 0.02em; }
.link-title { font-stretch: 92%; letter-spacing: -0.02em; }
.links-head p { text-wrap: balance; }

/* ----- latest release (music page) ----- */
.release { margin-bottom: clamp(3.5rem, 8vw, 5.5rem); }
.release-eyebrow { font-size: clamp(0.95rem, 1.6vw, 1.15rem); color: var(--amber-deep); }
.release-eyebrow::before { content: none; }
.release-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.6rem, 4vw, 3.2rem);
  align-items: center;
  margin-top: 1.4rem;
}
.release-cover { margin: 0; cursor: pointer; }

/* the cover is a sticker: its top-right corner is peeled back and breathes slowly;
   hovering (or tapping) peels the whole sticker off to show the album notes underneath.
   the corner's size is --peel (transitions on hover) plus --breathe (the idle loop),
   kept apart so the loop never fights the peel transition. Both are registered so they animate */
@property --peel {
  syntax: "<length-percentage>";
  inherits: true;
  initial-value: 46px;
}
@property --breathe {
  syntax: "<length>";
  inherits: true;
  initial-value: 0px;
}
@keyframes peel-breathe {
  from { --breathe: 0px; }
  to { --breathe: 16px; }
}
.release-art {
  --peel: 46px;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 28px 60px -32px rgba(15, 16, 18, 0.55);
  animation: peel-breathe 2.6s ease-in-out infinite alternate;
  transition: --peel 1s var(--ease);
}
/* keeps everything below the fold line: the corner is cut from the top right */
.release-art img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  clip-path: polygon(calc(-200% - var(--peel) - var(--breathe)) -300%, calc(400% - var(--peel) - var(--breathe)) 300%, -500% 300%);
}
/* the folded-back flap: the lower-left half of the corner square, showing the sticker's paper back */
.release-peel {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  width: calc(var(--peel) + var(--breathe));
  height: calc(var(--peel) + var(--breathe));
  padding: 0;
  border: 0;
  border-bottom-left-radius: 12px;
  background: linear-gradient(to bottom left, transparent 50%, rgba(0, 0, 0, 0.22) 50%, #D9D2C7 51.5%, #F7F3EE 72%, #E4DCD0 100%);
  filter: drop-shadow(-4px 5px 5px rgba(0, 0, 0, 0.35));
  cursor: pointer;
}
.release-about {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.9rem;
  padding: clamp(1.2rem, 4vw, 2.2rem);
  overflow-y: auto;
  background:
    radial-gradient(90% 70% at 100% 0%, rgba(var(--glow), 0.32), rgba(var(--glow), 0) 70%),
    #171312;
  color: #fff;
  font-size: clamp(0.86rem, 1.2vw, 0.98rem);
  line-height: 1.5;
}
.release-cover.is-open .release-art { --peel: 200%; }
@media (hover: hover) {
  .release-cover:hover .release-art { --peel: 200%; }
}
.release-player {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 12px;
}
@media (max-width: 760px) {
  .release-grid { grid-template-columns: 1fr; }
  .release-cover { max-width: 460px; }
}
