/* ==========================================================================
   Sumari — 3D audio-reactive rebuild
   Palette + type sampled directly from the live Squarespace site:
   bg #0A0A0A · panel #161616 · cream #F2F0E6 · olive #556652 · sage #8A9A82
   Headline font: Anton · Body/UI font: Epilogue
   ========================================================================== */

:root {
  --bg: #0a0a0a;
  --bg-alt: #111111;
  --panel: #161616;
  --cream: #f2f0e6;
  --olive: #556652;
  --olive-deep: #414f3f;
  --sage: #8a9a82;
  --muted: #9c9c9c;
  --line: rgba(242, 240, 230, 0.12);
  --container: 1240px;
  --gutter: clamp(24px, 6vw, 96px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: 'Epilogue', sans-serif;
  font-weight: 400;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: 'Anton', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 0.98;
  letter-spacing: 0.005em;
  margin: 0;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; background: none; border: none; color: inherit; cursor: pointer; }

.eyebrow {
  font-family: 'Epilogue', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--sage);
  margin: 0 0 18px;
}

/* ---------- 3D canvas ---------- */
#scene {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  display: block;
  z-index: 0;
  background: var(--bg);
}

#scene-vignette {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(10,10,10,0) 0%, rgba(10,10,10,0.55) 62%, rgba(10,10,10,0.96) 100%);
}

main, header, footer, .mini-player, .panel { position: relative; z-index: 2; }

/* ---------- Loader ---------- */
#loader {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-mark {
  font-family: 'Anton', sans-serif;
  font-size: 28px;
  color: var(--olive);
  border: 2px solid var(--olive);
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  animation: pulse 1.6s ease-in-out infinite;
}
.loader-bar { width: 160px; height: 2px; background: rgba(242,240,230,0.15); overflow: hidden; }
.loader-bar span { display: block; width: 40%; height: 100%; background: var(--sage); animation: loading 1.1s ease-in-out infinite; }
@keyframes loading { 0% { transform: translateX(-100%); } 100% { transform: translateX(350%); } }
@keyframes pulse { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.08); opacity: 0.7; } }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px var(--gutter);
  mix-blend-mode: normal;
}
.site-header::before {
  /* scrim so scrolled headings never visually collide with the logo/menu
     icon — the header itself is otherwise transparent. Taller than the
     header's own box so the fade-out happens gradually below it. */
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 140px;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(rgba(6,7,6,0.82) 0%, rgba(6,7,6,0.45) 60%, rgba(6,7,6,0) 100%);
}
.brand { color: var(--sage); display: flex; }
.brand-mark { display: block; opacity: 0.88; transition: opacity .25s ease, transform .25s ease; }
.brand:hover .brand-mark { opacity: 1; transform: scale(1.05); }

.menu-toggle {
  position: relative;
  z-index: 61; /* must stay above .site-nav (55) so it remains clickable while the menu is open */
  width: 44px; height: 44px;
  display: flex; flex-direction: column;
  align-items: flex-end; justify-content: center;
  gap: 6px;
}
.menu-toggle span { display: block; width: 30px; height: 2px; background: var(--cream); transition: transform .35s ease, opacity .35s ease, width .35s ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); width: 30px; }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); width: 30px; }

.site-nav {
  position: fixed;
  inset: 0;
  background: rgba(8,9,8,0.97);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  transform: translateY(-100%);
  transition: transform .5s cubic-bezier(.77,0,.18,1);
  z-index: 55;
}
.site-nav.open { transform: translateY(0); }
.site-nav a {
  font-family: 'Anton', sans-serif;
  font-size: clamp(30px, 6vw, 52px);
  text-transform: uppercase;
  color: var(--olive);
  opacity: 0.75;
  transition: color .3s ease, opacity .3s ease, letter-spacing .3s ease;
}
.site-nav a:hover { color: var(--cream); opacity: 1; letter-spacing: 0.02em; }
.site-nav a[aria-current="page"] { color: var(--sage); opacity: 1; }
.brand[aria-current="page"] { color: var(--cream); }
.brand[aria-current="page"] .brand-mark { opacity: 1; }

/* ---------- Mini player ---------- */
.mini-player {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 50;
  background: rgba(20,20,18,0.78);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 16px;
  width: 260px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mp-meta { display: flex; flex-direction: column; gap: 2px; }
.mp-title { font-size: 13px; font-weight: 600; color: var(--cream); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mp-sub { font-size: 11px; color: var(--muted); }
.mp-controls { display: flex; align-items: center; gap: 16px; font-size: 12px; }
.mp-controls button { color: var(--muted); transition: color .2s ease; }
.mp-controls button:hover { color: var(--cream); }
#mp-play { color: var(--sage); font-size: 14px; }
.mp-bars { display: flex; align-items: flex-end; gap: 2px; height: 18px; }
.mp-bars span { display: block; width: 3px; background: var(--olive); border-radius: 1px; transition: background .3s ease; }
.mini-player.playing .mp-bars span { background: var(--sage); }

/* ---------- Layout helpers ---------- */
main { }
section { padding: clamp(90px, 14vh, 160px) var(--gutter); }
.section-head { max-width: 720px; margin-bottom: clamp(40px, 6vh, 64px); }
.section-head h2 { font-size: clamp(34px, 5.4vw, 64px); }
.section-lede { margin-top: 18px; font-size: 17px; color: var(--muted); max-width: 460px; line-height: 1.5; }

/* ---------- Routed view transitions ---------- */
#view-root { display: block; opacity: 1; transform: translateY(0); transition: opacity .22s ease, transform .22s ease; }
#view-root.view-exit { opacity: 0; transform: translateY(14px); }
#view-root.view-enter { opacity: 1; transform: translateY(0); }

/* ---------- Page hero (Work / Services / Connect) ---------- */
.page-hero {
  padding-top: clamp(140px, 20vh, 200px);
  max-width: 960px;
}
.page-hero h1 { font-size: clamp(38px, 6.4vw, 76px); color: var(--cream); }
.page-hero .section-lede { max-width: 620px; }

/* ---------- clip-corner utility: diagonal-cut top-right, matches the
   live site's video-thumbnail / pricing-card motif ---------- */
.clip-corner {
  clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 0 100%);
}

/* ---------- Featured project (Work) ---------- */
.featured-project {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}
.fp-media {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--olive-deep), #1c231b);
  clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 0 100%);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.fp-waveform { width: 70%; height: 46%; position: relative; }
.fp-waveform::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(90deg, var(--sage) 0 4px, transparent 4px 10px);
  mask-image: linear-gradient(90deg, transparent, black 15%, black 85%, transparent);
  opacity: 0.55;
}
.fp-copy .fp-sub { margin-top: 14px; font-size: 13px; letter-spacing: 0.1em; color: var(--sage); font-weight: 600; }
.fp-copy h2 { margin-top: 18px; font-size: clamp(28px, 4vw, 42px); color: var(--cream); }
.fp-copy > p:not(.fp-sub) { margin-top: 20px; color: var(--muted); font-size: 15px; line-height: 1.6; max-width: 460px; }
.fp-copy .learn { display: inline-block; margin-top: 24px; font-size: 12px; font-weight: 600; letter-spacing: 0.1em; color: var(--sage); }
.fp-copy .learn:hover { color: var(--cream); }

/* ---------- Brand wall (Work) ---------- */
.brand-wall { padding-top: 0; }
.brand-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 14px;
}
.brand-tile {
  /* Each tile already carries .clip-corner in the markup, so this fill
     is what actually gives it a shape — a translucent diagonal-cut card
     of its own, same cream-tinted translucency as --line (the hairline
     color used across the rest of the site), instead of one uniform
     background spanning the whole grid. */
  background: rgba(242, 240, 230, 0.055);
  min-height: 100px;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 14px;
  font-family: 'Anton', sans-serif;
  font-size: 15px;
  color: var(--muted);
  transform-style: preserve-3d;
  transition: color .3s ease, background .3s ease, transform .35s cubic-bezier(.2,.8,.2,1);
}
.brand-tile:hover { color: var(--cream); background: rgba(242, 240, 230, 0.1); }
.brand-tile img {
  max-width: 78%;
  max-height: 46px;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.72;
  transition: opacity .3s ease, transform .3s ease;
}
.brand-tile:hover img { opacity: 1; }

/* ---------- Work gallery: filters + project grid ---------- */
.work-gallery { padding-top: 0; }
.filter-tabs { display: flex; flex-wrap: wrap; gap: 28px; border-bottom: 1px solid var(--line); padding-bottom: 20px; margin-bottom: 40px; }
.filter-tab { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; color: var(--muted); padding-bottom: 6px; border-bottom: 2px solid transparent; transition: color .3s ease, border-color .3s ease; }
.filter-tab:hover { color: var(--cream); }
.filter-tab.active { color: var(--sage); border-color: var(--sage); }

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
}
.project-card {
  position: relative;
  text-align: left;
  aspect-ratio: 4/3;
  background: linear-gradient(150deg, #1a1f18, #0e100d 70%);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s ease;
}
.project-card:hover { box-shadow: 0 24px 50px -20px rgba(0,0,0,0.7); }
.project-card.hidden { display: none; }
.project-card .pc-wave {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(100deg, rgba(138,154,130,0.16) 0 3px, transparent 3px 9px);
  opacity: 0.6;
}
.project-card .pc-tag {
  position: relative;
  align-self: flex-start;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage);
  background: rgba(10,10,10,0.6);
  padding: 5px 10px;
}
.project-card .pc-title {
  position: relative;
  font-family: 'Anton', sans-serif;
  font-size: 17px;
  color: var(--cream);
  line-height: 1.2;
}

/* ---------- Pricing (Services) ---------- */
.pricing-grid {
  padding-top: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}
.price-card {
  background: var(--panel);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  transform-style: preserve-3d;
  transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s ease;
}
.price-card:hover { box-shadow: 0 24px 50px -20px rgba(0,0,0,0.7); }
.price-card h3 { font-size: 19px; color: var(--cream); }
.price-card p { margin-top: 14px; color: var(--muted); font-size: 14px; line-height: 1.5; flex-grow: 1; }
.price-row { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.price-label { font-size: 11px; letter-spacing: 0.1em; color: var(--muted); }
.price-amt { font-family: 'Anton', sans-serif; font-size: 30px; color: var(--cream); }
.btn-block { justify-content: center; margin-top: 20px; }

/* ---------- FAQ accordion (Services / Connect) ---------- */
.faq { padding-top: 0; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 4px;
  font-family: 'Epilogue', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: var(--cream);
  text-align: left;
}
.faq-plus { font-size: 20px; color: var(--sage); transition: transform .3s ease; flex-shrink: 0; }
.faq-item.open .faq-plus { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .4s ease;
}
.faq-item.open .faq-a { max-height: 200px; padding-bottom: 22px; }
.faq-a p { color: var(--muted); font-size: 14px; line-height: 1.6; max-width: 640px; }

/* ---------- About ---------- */
.about-hero {
  padding-top: clamp(140px, 20vh, 200px);
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: start;
}
.about-portrait {
  aspect-ratio: 3/4;
  background: radial-gradient(circle at 50% 40%, var(--olive-deep), #0d0f0c 75%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  position: relative;
  clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 30px, 100% 100%, 0 100%);
}
.about-portrait-rings {
  width: 120px; height: 120px;
  border: 1.5px solid var(--sage);
  border-radius: 50%;
  position: relative;
}
.about-portrait-rings::before {
  content: '';
  position: absolute; inset: -18px;
  border: 1px solid rgba(138,154,130,0.35);
  border-radius: 50%;
}
.about-portrait-mono {
  position: absolute;
  font-family: 'Anton', sans-serif;
  font-size: 34px;
  color: var(--cream);
  top: 50%; left: 50%;
  transform: translate(-50%, calc(-50% - 9px));
}
.about-portrait-caption { font-size: 11px; color: var(--muted); text-align: center; max-width: 200px; padding: 0 16px; }
.about-copy h1 { font-size: clamp(38px, 6vw, 64px); color: var(--cream); }
.about-copy p { margin-top: 20px; color: var(--muted); font-size: 15px; line-height: 1.65; max-width: 640px; }
.about-copy p:first-of-type { margin-top: 26px; }

.why-grid { }
.credits { text-align: center; padding-top: 0; }
.credits-row { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; margin-top: 10px; }
.credits-row span { font-family: 'Anton', sans-serif; font-size: clamp(20px, 3vw, 30px); color: var(--cream); opacity: 0.85; }
.credits-note { margin-top: 20px; font-size: 13px; color: var(--muted); }

.artist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(128px, 1fr));
  gap: 34px 16px;
  max-width: 980px;
  margin: 34px auto 0;
}
.artist-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transform-style: preserve-3d;
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.artist-hex {
  position: relative;
  width: 100%;
  max-width: 140px;
  aspect-ratio: 1 / 1.06;
  margin: 0 auto;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}
.artist-hex img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.2) contrast(1.05);
  transition: transform .5s ease, filter .35s ease;
}
.artist-tile:hover .artist-hex img { transform: scale(1.1); filter: grayscale(0) contrast(1.08); }
.artist-name {
  font-family: 'Anton', sans-serif;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--muted);
  text-align: center;
  line-height: 1.3;
  transition: color .3s ease;
}
.artist-tile:hover .artist-name { color: var(--cream); }

/* ---------- Reel ---------- */
.reel-page-hero { padding-bottom: clamp(16px, 2.5vh, 32px); }
.stat-strip { padding-top: 0; padding-bottom: clamp(50px, 8vh, 90px); }
.stat-block {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: clamp(28px, 5vw, 48px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px, 5vw, 56px);
  clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 30px, 100% 100%, 0 100%);
}
.stat-block-main { flex: 0 0 auto; }
.stat-block-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  flex: 1 1 320px;
  max-width: 420px;
}
.stat-num { font-family: 'Anton', sans-serif; font-size: clamp(48px, 8vw, 84px); color: var(--cream); line-height: 1; margin-top: 8px; }
.stat-caption { color: var(--muted); font-size: 14px; line-height: 1.5; }
.btn-small { padding: 10px 20px; font-size: 12px; display: inline-flex; }

.reel-bio {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: start;
}
.reel-bio-copy { max-width: 640px; }
.reel-bio p { margin-top: 20px; color: var(--muted); font-size: 15px; line-height: 1.65; }
.reel-bio p:first-of-type { margin-top: 26px; }

.reel-playlists { }
.playlist-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.playlist-card {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 20px;
  transform-style: preserve-3d;
}
.playlist-label { font-family: 'Anton', sans-serif; font-size: 15px; letter-spacing: 0.04em; color: var(--sage); margin-bottom: 14px; }
.playlist-card iframe { display: block; width: 100%; border: 0; border-radius: 12px; }

/* ---------- The Vault (license + shop) ---------- */
.track-player { padding-top: 0; }
.track-list { margin-top: 24px; border-top: 1px solid var(--line); }
.track-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 4px;
  border-bottom: 1px solid var(--line);
  transform-style: preserve-3d;
}
.track-play {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid var(--cream);
  color: var(--cream);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  padding-left: 2px;
  transition: background .3s ease, color .3s ease, border-color .3s ease;
}
.track-play:hover { border-color: var(--sage); color: var(--sage); }
.track-row.playing .track-play {
  background: var(--olive);
  border-color: var(--olive);
  color: var(--cream);
  padding-left: 0;
}
.track-info { flex: 1; min-width: 0; }
.track-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}
.track-title {
  font-family: 'Anton', sans-serif;
  font-size: 16px;
  color: var(--cream);
  transition: color .3s ease;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.track-row.playing .track-title { color: var(--sage); }
.track-time {
  flex-shrink: 0;
  font-size: 11px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.track-progress {
  margin-top: 12px;
  height: 4px;
  background: var(--line);
  border-radius: 2px;
  cursor: pointer;
  position: relative;
}
.track-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--sage);
  border-radius: 2px;
}
.track-buy-btn { flex-shrink: 0; }
.track-empty-note { margin-top: 18px; font-size: 12px; color: var(--muted); line-height: 1.5; max-width: 520px; }

.shop-section { padding-top: 0; }
.shop-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 22px;
}
.shop-card {
  /* Same translucent, diagonal-cut tile treatment as the brand wall
     (.clip-corner + a cream-tinted --line fill), just roomier so a
     title, blurb, price, and buy button all fit comfortably. */
  background: rgba(242, 240, 230, 0.055);
  padding: clamp(22px, 3vw, 28px);
  display: flex;
  flex-direction: column;
  transform-style: preserve-3d;
  transition: background .3s ease, transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s ease;
}
.shop-card:hover { background: rgba(242, 240, 230, 0.1); box-shadow: 0 24px 50px -20px rgba(0,0,0,0.7); }
.shop-card-media {
  aspect-ratio: 4/3;
  background: linear-gradient(150deg, #1a1f18, #0e100d 70%);
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%);
  margin-bottom: 18px;
  background-size: cover;
  background-position: center;
}
.shop-card h3 { font-family: 'Anton', sans-serif; font-size: 18px; color: var(--cream); letter-spacing: 0.01em; }
.shop-card p { margin-top: 10px; color: var(--muted); font-size: 13px; line-height: 1.5; flex-grow: 1; }
.shop-card-footer {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.shop-card-price { font-family: 'Anton', sans-serif; font-size: 19px; color: var(--cream); }
.shop-buy-btn {
  font-family: 'Epilogue', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--cream);
  background: var(--olive);
  padding: 10px 18px;
  border-radius: 2px;
  transition: transform .3s ease, background .3s ease;
}
.shop-buy-btn:hover { transform: translateY(-2px); background: var(--sage); color: #101210; }
.shop-empty-note { margin-top: 22px; font-size: 12px; color: var(--muted); line-height: 1.5; max-width: 520px; }

.license-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 5vw, 48px); }
.license-feature { border-top: 1px solid var(--olive); padding-top: 20px; }
.license-feature-num { font-size: 13px; color: var(--sage); font-weight: 600; }
.license-feature h3 { margin-top: 12px; font-size: 22px; color: var(--cream); }
.license-feature p { margin-top: 12px; color: var(--muted); font-size: 14px; line-height: 1.55; }

/* ---------- Connect / contact form ---------- */
.page-hero-connect { padding-bottom: 0; }
.contact-wrap { padding-top: 40px; }
.contact-form {
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--cream);
}
.req { font-weight: 400; color: var(--muted); font-size: 12px; text-transform: none; letter-spacing: 0; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-form input,
.contact-form textarea {
  font-family: 'Epilogue', sans-serif;
  font-size: 15px;
  color: var(--cream);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 14px 16px;
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--sage);
}
.contact-form .btn { align-self: flex-start; }
.cf-status { font-size: 13px; color: var(--sage); min-height: 18px; }
.cf-status.error { color: #e8a598; }
.cf-note { font-size: 12px; color: var(--muted); line-height: 1.5; max-width: 520px; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 120px;
  padding-bottom: 80px;
}
.hero-inner { max-width: 780px; }
.hero-wordmark {
  display: block;
  width: clamp(200px, 30vw, 400px);
  height: auto;
  margin-bottom: 28px;
  filter: drop-shadow(0 0 40px rgba(0,0,0,0.5));
}
.hero h1 {
  font-size: clamp(48px, 9vw, 112px);
  color: var(--cream);
  text-shadow: 0 0 60px rgba(0,0,0,0.6);
}
.hero-sub {
  margin-top: 26px;
  font-size: clamp(15px, 1.6vw, 19px);
  color: var(--muted);
  max-width: 520px;
  line-height: 1.55;
}
.hero-actions { display: flex; align-items: center; gap: 18px; margin-top: 40px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Epilogue', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.14em;
  padding: 16px 30px;
  border-radius: 2px;
  transition: transform .3s ease, background .3s ease, color .3s ease, border-color .3s ease;
}
.btn-solid { background: var(--olive); color: var(--cream); }
.btn-solid:hover { transform: translateY(-2px); background: var(--sage); color: #101210; }
.btn-outline { border: 1.5px solid var(--cream); color: var(--cream); }
.btn-outline:hover { background: var(--cream); color: #101210; transform: translateY(-2px); }
.btn-ghost { color: var(--cream); border: 1px solid var(--line); background: rgba(255,255,255,0.02); }
.btn-ghost:hover { border-color: var(--sage); color: var(--sage); }
.btn-ghost .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); transition: background .3s ease, box-shadow .3s ease; }
.btn-ghost.active .dot { background: #7CFC9A; box-shadow: 0 0 10px #7CFC9A; }

.scroll-cue {
  position: absolute;
  left: var(--gutter);
  bottom: 34px;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
}
.scroll-cue span { width: 1px; height: 32px; background: linear-gradient(var(--sage), transparent); animation: scrollcue 1.8s ease-in-out infinite; }
@keyframes scrollcue { 0% { opacity: 0.2; } 50% { opacity: 1; } 100% { opacity: 0.2; } }

/* ---------- Services ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.service-card {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 32px 26px;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  background: rgba(255,255,255,0.01);
  transform-style: preserve-3d;
  transition: transform .45s cubic-bezier(.2,.8,.2,1), background .45s ease, box-shadow .45s ease;
  will-change: transform;
}
.service-card:hover {
  background: rgba(85,102,82,0.14);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.6);
}
.service-card .num { font-size: 13px; color: var(--sage); font-weight: 600; letter-spacing: 0.1em; }
.service-card h3 { margin-top: 22px; font-size: 22px; color: var(--cream); }
.service-card p { margin-top: 12px; color: var(--muted); font-size: 14px; line-height: 1.5; flex-grow: 1; }
.service-card .learn { margin-top: 20px; font-size: 12px; font-weight: 600; letter-spacing: 0.1em; color: var(--sage); }

/* ---------- Work / clients ---------- */
.client-list { border-top: 1px solid var(--line); }
.client-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 4px;
  border-bottom: 1px solid var(--line);
  font-family: 'Anton', sans-serif;
  font-size: clamp(20px, 3.4vw, 34px);
  color: var(--cream);
  transition: color .3s ease, padding-left .3s ease;
}
.client-row:hover { color: var(--sage); padding-left: 14px; }
.client-row .plus { font-family: 'Epilogue', sans-serif; font-size: 22px; color: var(--sage); transition: transform .3s ease; }
.client-row:hover .plus { transform: rotate(90deg); }
.view-all { display: inline-block; margin-top: 30px; font-size: 13px; font-weight: 600; letter-spacing: 0.12em; color: var(--sage); }
.view-all:hover { color: var(--cream); }

/* ---------- Process ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}
.process-step { border-top: 1px solid var(--olive); padding-top: 20px; }
.process-step .num { font-size: 13px; color: var(--sage); font-weight: 600; }
.process-step h3 { margin-top: 12px; font-size: 22px; color: var(--cream); }
.process-step p { margin-top: 12px; color: var(--muted); font-size: 14px; line-height: 1.55; }

/* ---------- CTA ---------- */
.cta {
  background: var(--olive);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}
.cta h2 { font-size: clamp(30px, 5.6vw, 58px); color: var(--cream); }

/* ---------- Footer ---------- */
.site-footer {
  /* A plain flex row with justify-content: space-between only centers
     .footer-social relative to its two neighbors' inner edges — since
     the copyright text and the "Prototype rebuild..." note aren't the
     same width, that visually drags the icons off the page's true
     center. A 3-column grid with two equal 1fr side columns centers the
     middle column on the actual page center regardless of how wide the
     copyright/note text on either side is. */
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 26px var(--gutter);
  font-size: 12px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}
.footer-copy { justify-self: start; }
.footer-note { justify-self: end; text-align: right; }

.footer-social {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 18px;
}
.footer-social a {
  display: flex;
  color: var(--muted);
  transition: color .3s ease;
}
.footer-social a:hover { color: var(--cream); }
.footer-social svg { width: 18px; height: 18px; }
.footer-social-trubopp span {
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Anton', sans-serif;
  font-size: 12px;
  line-height: 1;
  border: 1px solid currentColor;
  border-radius: 4px;
}

/* ---------- Client detail panel ---------- */
.panel {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(420px, 88vw);
  background: var(--panel);
  border-left: 1px solid var(--line);
  transform: translateX(100%);
  transition: transform .5s cubic-bezier(.77,0,.18,1);
  z-index: 70;
  padding: 90px 36px 40px;
}
.panel.open { transform: translateX(0); }
.panel-close { position: absolute; top: 26px; right: 30px; font-size: 26px; color: var(--muted); }
.panel-close:hover { color: var(--cream); }
#panel-title { font-size: 30px; margin-top: 10px; color: var(--cream); }
#panel-body { margin-top: 18px; color: var(--muted); line-height: 1.6; font-size: 14px; }
.panel-watch {
  margin-top: 26px;
  font-size: 12px;
  letter-spacing: 0.06em;
  padding: 12px 22px;
}
.panel-watch[hidden] { display: none; }

/* ---------- Video lightbox (real Vimeo / YouTube embeds) ---------- */
.video-lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px clamp(16px, 5vw, 64px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
}
.video-lightbox.open { opacity: 1; pointer-events: auto; }
.vl-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 7, 6, 0.92);
}
.vl-inner {
  position: relative;
  width: min(1040px, 100%);
  transform: translateY(18px) scale(0.98);
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.video-lightbox.open .vl-inner { transform: translateY(0) scale(1); }
.vl-close {
  position: absolute;
  top: -46px;
  right: 0;
  font-size: 28px;
  line-height: 1;
  color: var(--cream);
  background: none;
  border: 0;
  cursor: pointer;
}
.vl-close:hover { color: var(--sage); }
.vl-frame-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border: 1px solid var(--line);
  overflow: hidden;
}
.vl-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vl-caption { margin-top: 18px; text-align: center; }
.vl-caption #vl-title { font-size: 20px; color: var(--cream); margin-top: 6px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .featured-project { grid-template-columns: 1fr; }
  .about-hero, .reel-bio { grid-template-columns: 1fr; }
  .about-portrait { max-width: 320px; }
  .playlist-grid { grid-template-columns: 1fr; }
  .license-features { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 640px) {
  section, .page-hero, .about-hero { padding-left: 22px; padding-right: 22px; }
  .mini-player { width: calc(100vw - 40px); }
  /* padding-bottom clears the fixed mini-player (~111px tall, 20px from
     the bottom), which on narrow viewports is nearly full-width and would
     otherwise sit directly on top of the footer's social icons */
  .site-footer { grid-template-columns: 1fr; justify-items: center; gap: 8px; padding-bottom: 150px; }
  .footer-copy, .footer-note { justify-self: center; text-align: center; }
  .cf-row { grid-template-columns: 1fr; }
  .brand-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-block { padding: 26px; }
  .artist-grid { grid-template-columns: repeat(3, 1fr); gap: 26px 10px; }
  .track-row { flex-wrap: wrap; row-gap: 14px; }
  .track-info { order: 3; flex-basis: 100%; }
  .track-buy-btn { margin-left: auto; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .loader-mark, .scroll-cue span { animation: none; }
}
