:root {
  /* Brand colors: after-hours, low light, warm brass */
  --void: #07090f;
  --midnight: #0c111d;
  --deep: #0f1524;
  --blue-note: #121b31;
  --brass: #c99a3e;
  --brass-hi: #e3bf6d;
  --brass-dim: rgba(201, 154, 62, 0.32);
  --mist: #d3d8e2;
  --smoke: #8d96aa;
  --line: rgba(201, 154, 62, 0.2);
  --line-soft: rgba(211, 216, 226, 0.1);

  /* Type */
  --font-display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --font-body: "Instrument Sans", system-ui, sans-serif;
  --fs-name: clamp(4.75rem, 15vw, 12rem);
  --fs-h2: clamp(2.25rem, 5vw, 3.75rem);
  --fs-h3: 1.5rem;
  --fs-body: 1.0625rem;
  --fs-small: 0.875rem;

  /* Space */
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(4.5rem, 10vw, 8rem);
  --radius: 4px;
  --max: 1200px;

  /* Motion */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --t-ui: 200ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--void);
  color: var(--mist);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, iframe { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); line-height: 0.95; margin: 0; letter-spacing: 0.01em; color: #eef0f4; }
h2 { font-size: var(--fs-h2); font-weight: 800; text-transform: uppercase; }
h3 { font-size: var(--fs-h3); font-weight: 800; text-transform: uppercase; }
p { margin: 0; }

:focus-visible { outline: 3px solid var(--brass-hi); outline-offset: 3px; border-radius: 2px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: -999px; top: 8px; background: var(--brass); color: var(--void); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem;
  padding: 0.9rem 1.5rem; border-radius: var(--radius);
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: background-color var(--t-ui) var(--ease), color var(--t-ui) var(--ease), border-color var(--t-ui) var(--ease);
}
.btn--brass { background: var(--brass); color: var(--void); }
.btn--brass:hover { background: var(--brass-hi); }
.btn--ghost { border-color: var(--brass-dim); color: var(--brass-hi); }
.btn--ghost:hover { border-color: var(--brass); background: rgba(201, 154, 62, 0.08); }
.btn--sm { padding: 0.55rem 1rem; font-size: 0.9375rem; }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background-color var(--t-ui) var(--ease), border-color var(--t-ui) var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-solid { background: rgba(7, 9, 15, 0.86); border-color: var(--line-soft); backdrop-filter: blur(10px); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav__brand { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; text-transform: uppercase; text-decoration: none; letter-spacing: 0.03em; color: #eef0f4; }
.nav__links { display: flex; align-items: center; gap: 1.75rem; }
.nav__links a:not(.btn) { text-decoration: none; font-weight: 500; color: var(--smoke); transition: color var(--t-ui) var(--ease); }
.nav__links a:not(.btn):hover { color: var(--mist); }
.nav__toggle { display: none; background: none; border: 1px solid var(--line); color: var(--mist); font: 600 0.9375rem var(--font-body); padding: 0.45rem 0.9rem; border-radius: var(--radius); cursor: pointer; }

/* Hero */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 100svh; display: flex; align-items: center;
  padding: calc(68px + 3rem) 0 4rem;
  background: var(--void);
}
.hero__ambient { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero__grain {
  position: absolute; inset: -50%; z-index: -1; pointer-events: none; opacity: 0.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='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 30%; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, transparent, var(--void));
}
.hero__kicker { color: var(--brass); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; font-size: var(--fs-small); }
.hero__name { font-size: var(--fs-name); font-weight: 900; text-transform: uppercase; line-height: 0.84; margin-top: 1rem; }
.hero__name span { display: block; }
.hero__name span:last-child { color: var(--brass); text-shadow: 0 0 60px rgba(201, 154, 62, 0.25); }

/* Opening sequence: the one orchestrated moment on the page */
.hero__name span { animation: rise 760ms var(--ease) backwards; }
.hero__name span:last-child { animation-delay: 120ms; }
.hero__kicker, .player, .hero__lede, .hero__ctas { animation: settle 600ms var(--ease) backwards; }
.hero__kicker { animation-delay: 60ms; }
.player { animation-delay: 380ms; }
.hero__lede { animation-delay: 620ms; }
.hero__ctas { animation-delay: 720ms; }
@keyframes rise { from { transform: translateY(35%); clip-path: inset(100% 0 0 0); } to { transform: none; clip-path: inset(0 0 0 0); } }
@keyframes settle { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.hero__lede { max-width: 34rem; color: #b9c0ce; font-size: 1.125rem; margin-top: 2.25rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }

/* Player: the signature element */
.player { display: flex; align-items: center; gap: 1.25rem; margin-top: 2rem; max-width: 40rem; }
.player__btn {
  flex-shrink: 0; width: 64px; height: 64px; border-radius: 50%;
  border: 1px solid var(--brass); background: rgba(201, 154, 62, 0.1); color: var(--brass-hi);
  display: grid; place-items: center; cursor: pointer;
  transition: background-color var(--t-ui) var(--ease), transform var(--t-ui) var(--ease), box-shadow var(--t-ui) var(--ease);
}
.player__btn svg { width: 24px; height: 24px; fill: currentColor; }
.player__btn .i-pause { display: none; }
.player.is-playing .player__btn .i-play { display: none; }
.player.is-playing .player__btn .i-pause { display: block; }
.player__btn:hover { background: rgba(201, 154, 62, 0.2); box-shadow: 0 0 0 6px rgba(201, 154, 62, 0.08); }
.player__btn:active { transform: scale(0.96); }
.player.is-playing .player__btn { background: var(--brass); color: var(--void); box-shadow: 0 0 40px rgba(201, 154, 62, 0.35); }

.player.needs-click .player__btn { animation: nudge 1.2s var(--ease) 2; }
@keyframes nudge { 0%, 100% { box-shadow: 0 0 0 0 rgba(201, 154, 62, 0.5); } 50% { box-shadow: 0 0 0 12px rgba(201, 154, 62, 0); } }
.player__body { flex: 1; min-width: 0; }
.player__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.player__title { font-weight: 600; color: #eef0f4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player__title span { color: var(--smoke); font-weight: 400; }
.player__time { color: var(--smoke); font-size: var(--fs-small); font-variant-numeric: tabular-nums; white-space: nowrap; }
.player__hint { color: var(--smoke); font-size: 0.8125rem; margin-top: 0.4rem; min-height: 1.3em; transition: opacity var(--t-ui) var(--ease); }
.player.is-playing .player__hint { opacity: 0; }

.wave { display: flex; align-items: center; gap: 3px; height: 52px; margin-top: 0.5rem; cursor: pointer; position: relative; }
.wave i {
  flex: 1; min-width: 2px; border-radius: 2px; height: var(--h);
  background: rgba(211, 216, 226, 0.22);
  transform-origin: center;
  transition: background-color 120ms linear;
}
.wave i.is-played { background: var(--brass); }
.wave.is-intro i { animation: wave-in 900ms var(--ease) both; animation-delay: calc(var(--d) + 450ms); }
@keyframes wave-in { from { transform: scaleY(0.06); opacity: 0.2; } to { transform: scaleY(1); opacity: 1; } }

/* Plays strip */
.plays { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); background: var(--void); }
.plays__list { list-style: none; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); }
.plays__list li { padding: 1.5rem 1.25rem; border-left: 1px solid var(--line-soft); }
.plays__list li:first-child { border-left: 0; padding-left: 0; }
.plays__list strong { display: block; font-family: var(--font-display); font-size: 1.75rem; text-transform: uppercase; font-weight: 800; color: var(--brass); line-height: 1; }
.plays__list span { color: var(--smoke); font-size: 0.9375rem; }

/* Sections */
.section { padding: var(--section) 0; }
.section--deep { background: var(--midnight); }
.section--blue { background: linear-gradient(180deg, var(--midnight), var(--blue-note) 30%, var(--blue-note) 70%, var(--midnight)); }
.section--void { background: var(--void); }
.section__head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.section__head p { margin-top: 1.1rem; font-size: 1.125rem; color: #b9c0ce; }
.section__head--row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 1rem; flex-wrap: wrap; }
.link { font-weight: 600; color: var(--brass-hi); text-underline-offset: 4px; }

/* Packages */
.packages { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--brass-dim); }
.pkg { padding: 2rem 1.75rem 2.25rem; border-right: 1px solid var(--line-soft); position: relative; }
.pkg:last-child { border-right: 0; }
.pkg--featured { background: linear-gradient(180deg, rgba(201, 154, 62, 0.1), rgba(201, 154, 62, 0.02)); box-shadow: inset 0 0 0 1px var(--brass-dim); }
.pkg__tag { position: absolute; top: 0; right: 1.25rem; transform: translateY(-50%); background: var(--brass); color: var(--void); font-weight: 600; font-size: 0.8125rem; padding: 0.2rem 0.6rem; border-radius: var(--radius); }
.pkg__price { display: flex; align-items: baseline; gap: 0.4rem; font-family: var(--font-display); font-size: 3rem; font-weight: 800; margin: 0.75rem 0 1.25rem; line-height: 1; color: #eef0f4; }
.pkg__price span { font-family: var(--font-body); font-size: 0.9375rem; font-weight: 500; color: var(--smoke); }
.pkg--featured .pkg__price { color: var(--brass-hi); }
.pkg { display: flex; flex-direction: column; }
.pkg ul { margin: 0 0 1.75rem; padding: 0; list-style: none; flex: 1; }
.pkg__cta { align-self: flex-start; }
.also__link { margin-left: 0.5rem; color: var(--brass-hi); font-weight: 600; text-underline-offset: 4px; white-space: nowrap; }
.form.is-prefilled { animation: prefilled 1.2s var(--ease); }
@keyframes prefilled { 0% { box-shadow: 0 0 0 0 rgba(201, 154, 62, 0); } 30% { box-shadow: 0 0 0 10px rgba(201, 154, 62, 0.12); } 100% { box-shadow: 0 0 0 24px rgba(201, 154, 62, 0); } }
.field[hidden] { display: none; }
.pkg li { padding: 0.55rem 0; border-top: 1px solid var(--line-soft); font-size: 0.96875rem; color: #c3c9d5; }

.also { display: flex; flex-wrap: wrap; gap: 0.75rem 2.5rem; margin-top: 2.25rem; padding-top: 1.5rem; border-top: 1px solid var(--line-soft); }
.also strong { color: #eef0f4; }
.fine { font-size: var(--fs-small); color: var(--smoke); margin-top: 0.75rem; }

.faq { margin-top: clamp(3rem, 6vw, 4.5rem); max-width: 48rem; }
.faq__title { margin-bottom: 1rem; }
.faq details { border-top: 1px solid var(--line-soft); }
.faq details:last-child { border-bottom: 1px solid var(--line-soft); }
.faq summary { cursor: pointer; padding: 1.1rem 2rem 1.1rem 0; font-weight: 600; list-style: none; position: relative; color: #eef0f4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0.25rem; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--brass); transition: transform var(--t-ui) var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 0 1.25rem; color: #b9c0ce; }

/* Studio */
.steps { list-style: none; margin: 0 0 3rem; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: step; }
.steps li { counter-increment: step; border-top: 1px solid var(--brass); padding-top: 1.25rem; }
.steps li::before { content: "0" counter(step); font-family: var(--font-display); font-weight: 800; font-size: 2.5rem; color: var(--brass); display: block; line-height: 1; margin-bottom: 0.75rem; }
.steps h3 { font-size: 1.375rem; margin-bottom: 0.5rem; }
.steps p { color: #b9c0ce; font-size: 0.96875rem; }

.rates { max-width: 40rem; margin-bottom: 2.25rem; }
.rate { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line-soft); }
.rate__name { font-weight: 500; color: #eef0f4; }
.rate__price { font-family: var(--font-display); font-size: 1.625rem; font-weight: 800; color: var(--brass-hi); line-height: 1.1; white-space: nowrap; }
.rate__note { color: var(--smoke); font-size: var(--fs-small); margin-top: 1rem; }

/* Reels */
.reels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.reel { margin: 0; min-width: 0; }
/* Crop Instagram's embed down to just the video (hides its white header and footer) */
.frame {
  --ig-head: 54px;
  position: relative; overflow: hidden; aspect-ratio: 4 / 5;
  border: 1px solid var(--line); border-radius: var(--radius); background: #000;
}
.frame iframe {
  position: absolute; left: 0; top: calc(var(--ig-head) * -1);
  width: 100%; height: calc(100% + var(--ig-head) + 240px);
  border: 0; background: #000;
}
.reel figcaption { display: flex; justify-content: space-between; gap: 1rem; margin-top: 0.75rem; font-size: 0.9375rem; }
.reel figcaption span { color: #eef0f4; font-weight: 500; }
.reel figcaption a { color: var(--brass-hi); text-underline-offset: 4px; white-space: nowrap; }

/* About */
.about { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.about__quote { margin: 0; border-left: 2px solid var(--brass); padding-left: 1.5rem; }
.about__quote p { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.5rem, 6vw, 4.5rem); line-height: 0.95; text-transform: uppercase; color: #eef0f4; }
.about__quote cite { display: block; margin-top: 1rem; color: var(--smoke); font-style: normal; font-size: var(--fs-small); }
.about__copy h2 { margin-bottom: 1.25rem; }
.about__copy p + p { margin-top: 1rem; }
.about__copy p { color: #b9c0ce; }

/* Book */
.book { border-top: 1px solid var(--line-soft); }
.book__grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(2rem, 6vw, 5rem); }
.book__intro p { margin-top: 1rem; color: #b9c0ce; }
.contact { list-style: none; margin: 2rem 0 0; padding: 0; }
.contact li { display: flex; gap: 1rem; padding: 0.75rem 0; border-top: 1px solid var(--line-soft); }
.contact span { width: 6.5rem; flex-shrink: 0; color: var(--smoke); font-size: var(--fs-small); padding-top: 0.15rem; }
.contact a { color: var(--brass-hi); text-underline-offset: 4px; overflow-wrap: anywhere; }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; align-content: start; }
.field { display: flex; flex-direction: column; gap: 0.4rem; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 500; font-size: 0.9375rem; color: #eef0f4; }
.opt { color: var(--smoke); font-weight: 400; }
.field input, .field select, .field textarea {
  font: inherit; color: var(--mist); background: var(--midnight);
  border: 1px solid #2b3449; border-radius: var(--radius); padding: 0.8rem 0.9rem; width: 100%;
  transition: border-color var(--t-ui) var(--ease), box-shadow var(--t-ui) var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brass); outline: none; box-shadow: 0 0 0 3px rgba(201, 154, 62, 0.3); }
.field [aria-invalid="true"] { border-color: #e07a6a; }
.field input[type="date"] { color-scheme: dark; }
.form .btn { justify-self: start; }
.form__msg { grid-column: 1 / -1; color: var(--brass-hi); min-height: 1.5em; }

/* Mini player: follows the visitor once the song is going */
.mini {
  position: fixed; left: 50%; bottom: 16px; z-index: 60;
  width: min(560px, calc(100% - 24px));
  display: flex; align-items: center; gap: 0.9rem;
  padding: 0.6rem 1rem 0.6rem 0.6rem;
  background: rgba(12, 17, 29, 0.92); backdrop-filter: blur(12px);
  border: 1px solid var(--line); border-radius: 999px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  transform: translate(-50%, calc(100% + 32px)); opacity: 0;
  transition: transform 240ms var(--ease), opacity 240ms var(--ease);
}
.mini.is-shown { transform: translate(-50%, 0); opacity: 1; }
.mini__btn {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--brass); color: var(--void); display: grid; place-items: center;
  transition: background-color var(--t-ui) var(--ease);
}
.mini__btn:hover { background: var(--brass-hi); }
.mini__btn svg { width: 18px; height: 18px; fill: currentColor; }
.mini__btn .i-pause { display: none; }
.mini.is-playing .mini__btn .i-play { display: none; }
.mini.is-playing .mini__btn .i-pause { display: block; }
.mini__info { flex: 1; min-width: 0; }
.mini__title { font-size: 0.9375rem; font-weight: 600; color: #eef0f4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini__title span { color: var(--smoke); font-weight: 400; }
.mini__bar { position: relative; height: 14px; cursor: pointer; margin-top: 0.15rem; }
.mini__bar::before, .mini__bar span { content: ""; position: absolute; left: 0; top: 50%; height: 3px; transform: translateY(-50%); border-radius: 2px; }
.mini__bar::before { right: 0; background: rgba(211, 216, 226, 0.18); }
.mini__bar span { width: 0; background: var(--brass); }
.mini__time { color: var(--smoke); font-size: 0.8125rem; font-variant-numeric: tabular-nums; }

/* Footer */
.footer { border-top: 1px solid var(--line-soft); padding: 1.75rem 0 6rem; color: var(--smoke); font-size: var(--fs-small); background: var(--void); }
.footer__inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

/* Responsive */
@media (max-width: 960px) {
  .about, .book__grid { grid-template-columns: 1fr; }
  .packages { grid-template-columns: 1fr; }
  .pkg { border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .pkg:last-child { border-bottom: 0; }
  .pkg--featured { margin-top: 1rem; }
  .steps { grid-template-columns: 1fr 1fr; }
  .reels { grid-template-columns: 1fr 1fr; }
  .reels .reel:last-child { display: none; }
  .plays__list { grid-template-columns: 1fr 1fr; }
  .plays__list li:nth-child(3) { border-left: 0; padding-left: 0; }
  .plays__list li:nth-child(n+3) { border-top: 1px solid var(--line-soft); }
}
@media (max-width: 720px) {
  .nav__toggle { display: block; }
  .nav__links {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0; padding: 0.5rem var(--gutter) 1.25rem;
    background: var(--void); border-bottom: 1px solid var(--line-soft);
  }
  .nav__links.is-open { display: flex; }
  .nav__links a:not(.btn) { padding: 0.75rem 0; width: 100%; }
  .nav__links .btn { margin-top: 0.75rem; }
  .nav { background: rgba(7, 9, 15, 0.9); }
  .hero { min-height: auto; padding-top: calc(68px + 2.5rem); }
  .steps, .form { grid-template-columns: 1fr; }
  /* Reels become a swipe row on phones; the next one peeks in from the right */
  .reels {
    display: flex; gap: 0.875rem; overflow-x: auto; scroll-snap-type: x mandatory;
    margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 0.5rem;
    scroll-padding-left: var(--gutter); scrollbar-width: none;
  }
  .reels::-webkit-scrollbar { display: none; }
  .reels .reel { flex: 0 0 80%; scroll-snap-align: start; }
  .reels .reel:last-child { display: block; }
  .reel figcaption { flex-direction: column; gap: 0.15rem; font-size: 0.875rem; }
  .plays__list li { padding: 1.1rem 0.75rem; }
  .plays__list li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .plays__list strong { font-size: 1.5rem; }
  .hero__lede { font-size: 1.0625rem; }
  .player { gap: 1rem; }
  .player__btn { width: 56px; height: 56px; }
  .player__title span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wave.is-intro i, .hero__name span, .hero__kicker, .player, .hero__lede, .hero__ctas, .form.is-prefilled { animation: none; }
  * { transition-duration: 0.01ms !important; }
}
