/* MusicMahn — site.css
   One stylesheet for every page. Brand tokens first, then layout, then bands.
   Colours and type come from the MusicMahn brand blueprint. */

:root {
  --charcoal: #171513;
  --stage: #0E0D0C;
  --orange: #D8461C;
  --hot: #F05223;
  --bone: #F1E9DD;
  --grey: #B8AEA4;
  --grey-deep: #7A7268;     /* warm grey dark enough to read on bone (4.5:1) */
  --muted-bone: #C4BEB2;    /* endorsement line only */
  --ink: #171513;
  --rule: rgba(216, 70, 28, 0.9);
  --hair-dark: rgba(241, 233, 221, 0.14);
  --hair-light: rgba(23, 21, 19, 0.14);

  --display: "Oswald", "Avenir Next Condensed", "Arial Narrow", sans-serif;
  --body: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --wrap: 1180px;
  --gut: clamp(20px, 4vw, 48px);
  --band: 70px;
  --header-h: 110px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
}
img, video { max-width: 100%; display: block; }
a { color: var(--orange); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--hot); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--orange); color: var(--bone); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

h1, h2, h3, h4 { font-family: var(--display); text-transform: uppercase; margin: 0; text-wrap: balance; line-height: 1.05; }
h1 { font-weight: 700; letter-spacing: 0.01em; }
h2 { font-weight: 600; letter-spacing: 0.03em; }
h3 { font-weight: 500; letter-spacing: 0.04em; }
p { margin: 0 0 16px; max-width: min(62ch, 100%); }
p:last-child { margin-bottom: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gut); }

/* Big pale signpost labels (the template's "OUR MISSION" move) */
.label {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(38px, 5vw, 59px);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--grey-deep);
  margin: 0 0 18px;
}
.dark .label { color: var(--grey); }
.on-dark .label { color: var(--bone); }
.eyebrow {
  font-family: var(--display);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 10px;
}
.statement {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(26px, 3vw, 35px);
  line-height: 1.15;
  text-transform: none;
  letter-spacing: 0;
  color: var(--charcoal);
  margin: 0 0 18px;
  max-width: 24ch;
}
.rule { width: 56px; height: 2px; background: var(--orange); border: 0; margin: 14px 0 18px; }

/* The two button styles. Nothing else. */
.pill {
  display: inline-block;
  font-family: var(--body);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  padding: 11px 22px;
  border: 2px solid var(--bone);
  border-radius: 25px;
  color: var(--bone);
  background: transparent;
  white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s;
}
.pill:hover { background: var(--bone); color: var(--charcoal); text-decoration: none; }
.pill.orange { border-color: var(--orange); color: var(--orange); }
.pill.orange:hover { background: var(--orange); color: var(--bone); }
.pill.solid { background: var(--orange); border-color: var(--orange); color: var(--bone); }
.pill.solid:hover { background: var(--hot); border-color: var(--hot); }
.link { font-weight: 700; color: var(--orange); }
.link::after { content: " →"; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(14, 13, 12, 0.8);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background .2s, box-shadow .2s;
}
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { height: 40px; width: auto; }
.brand .dark-mark { display: none; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 36px); }
.nav a {
  font-family: var(--display); font-weight: 500; font-size: 16px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--bone); transition: color .2s;
}
.nav a:hover { text-decoration: none; color: var(--hot); }
.nav a[aria-current="page"] { color: var(--hot); }
.nav .pill { font-family: var(--body); text-transform: none; letter-spacing: 0; padding: 9px 18px; }
.site-header.stuck { background: var(--bone); box-shadow: 0 1px 0 var(--hair-light); }
.site-header.stuck .brand .light-mark { display: none; }
.site-header.stuck .brand .dark-mark { display: block; }
.site-header.stuck .nav a { color: var(--charcoal); }
.site-header.stuck .nav a:hover, .site-header.stuck .nav a[aria-current="page"] { color: var(--orange); }
.site-header.stuck .nav .pill { border-color: var(--orange); color: var(--orange); }
.site-header.stuck .nav .pill:hover { background: var(--orange); color: var(--bone); }
.menu-btn { display: none; background: none; border: 2px solid var(--bone); color: var(--bone); border-radius: 25px; padding: 8px 14px; font: 600 14px var(--body); }
.site-header.stuck .menu-btn { border-color: var(--charcoal); color: var(--charcoal); }
/* Pages without a video hero have a dark banner; header behaves the same */

/* ---------- Hero ---------- */
.hero {
  position: relative;
  margin-top: calc(-1 * var(--header-h));
  height: 650px;
  background: var(--stage);
  overflow: hidden;
  color: var(--bone);
}
.hero video, .hero .poster {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  /* Bias the crop to the top of the frame so the subject's head clears the
     translucent header that overlays the first 110px of the hero. */
  object-position: center top;
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 45%;
  background: linear-gradient(to top, rgba(14,13,12,.92), rgba(14,13,12,0));
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 2; height: 100%; display: flex; align-items: flex-end; padding-bottom: 96px; }
.tagline { position: relative; min-height: 165px; width: min(100%, 580px); }
.tagline .slide {
  position: absolute; left: 0; bottom: 0; opacity: 0; transition: opacity .3s ease;
  pointer-events: none;
}
.tagline .slide.active { opacity: 1; pointer-events: auto; }
.tagline h1 { font-size: clamp(34px, 5.2vw, 60px); line-height: 1; color: var(--bone); }
.tagline .sub { font-family: var(--display); font-weight: 500; font-size: clamp(18px, 2vw, 26px); letter-spacing: 0.04em; text-transform: uppercase; color: var(--grey); margin-top: 10px; }
.hero .who { font-weight: 300; font-size: 15px; letter-spacing: 0.06em; color: var(--bone); margin-top: 16px; }
.hero .who::before { content: ""; display: block; width: 56px; height: 2px; background: var(--orange); margin-bottom: 12px; }
@media (prefers-reduced-motion: reduce) { .hero video { display: none; } }

/* Ribbon overlapping the hero's bottom edge */
.ribbon-wrap { position: relative; height: 0; z-index: 3; }
.ribbon {
  position: absolute; right: 0; top: -47px; height: 47px;
  display: flex; align-items: center; gap: 16px;
  padding: 0 var(--gut) 0 40px;
  background: rgba(216, 70, 28, 0.88);
  color: var(--bone);
  font-weight: 600; font-size: 15px;
  width: min(52%, 640px);
  justify-content: center;
}
.ribbon .pill { padding: 6px 14px; font-size: 14px; }

/* ---------- Bands ---------- */
.band { padding-block: var(--band); }
.band.dark { background: var(--charcoal); color: var(--bone); }
.band.stage { background: var(--stage); color: var(--bone); }
.band.dark p, .band.stage p { color: var(--grey); }
.band.orange { background: var(--orange); color: var(--bone); }
.band.orange p { color: var(--bone); }
.band.tight { padding-block: 48px; }
.photo-band { position: relative; overflow: hidden; }
.photo-band .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .18; pointer-events: none; }
.photo-band > .wrap { position: relative; z-index: 1; }

/* Three pillars */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.pillar h3 { font-size: 25px; line-height: 30px; color: var(--bone); margin-bottom: 14px; }
.pillar h3::after { content: ""; display: block; width: 40px; height: 2px; background: var(--orange); margin-top: 12px; }
.pillar p { font-size: 15px; line-height: 24px; margin-bottom: 14px; }

/* Two-column zig-zag */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.two.rev > :first-child { order: 2; }
.two .photo { aspect-ratio: 4 / 3; overflow: hidden; }
.two .photo.tall { aspect-ratio: 3 / 4; max-height: 520px; }
.two .photo img { width: 100%; height: 100%; object-fit: cover; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 20px; }
.chips span { font-family: var(--display); font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; padding: 6px 10px; border: 1px solid var(--hair-light); color: var(--charcoal); }
.dark .chips span { border-color: var(--hair-dark); color: var(--bone); }

/* Settings slider (the template's domains panel) */
.settings { position: relative; height: 490px; background: var(--charcoal); color: var(--bone); overflow: hidden; }
.settings .slide { position: absolute; inset: 0; opacity: 0; transition: opacity .5s ease; }
.settings .slide.active { opacity: 1; }
.settings .slide img { width: 100%; height: 100%; object-fit: cover; }
.settings .slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(23,21,19,.94) 0%, rgba(23,21,19,.86) 45%, rgba(23,21,19,.35) 100%); }
.settings .wrap { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; }
.settings .edge { position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--orange); z-index: 3; }
.settings ul { list-style: none; margin: 0; padding: 0; }
.settings li a {
  display: block; font-family: var(--display); font-weight: 500; font-size: clamp(22px, 2.6vw, 32px); letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--bone); padding: 6px 0; transition: color .2s, padding-left .2s;
}
.settings li a:hover { text-decoration: none; color: var(--hot); }
.settings li.active a { color: var(--hot); padding-left: 8px; }
.settings li.active a::after { content: " ›"; }
.settings .count { position: absolute; right: var(--gut); bottom: 24px; z-index: 2; font-family: var(--display); letter-spacing: .1em; color: var(--grey); font-size: 14px; }

/* Video 1 + 3 */
.videos { display: grid; grid-template-columns: 1.45fr 1fr; gap: 40px; align-items: start; }
.feature .frame { aspect-ratio: 16 / 9; background: #000; }
.feature iframe { width: 100%; height: 100%; border: 0; }
.feature h3 { font-size: 22px; margin: 16px 0 6px; color: var(--bone); }
.feature p { font-size: 15px; }
.smalls { display: grid; gap: 20px; }
.small { display: grid; grid-template-columns: 190px 1fr; gap: 16px; align-items: center; }
.small .thumb { width: 190px; aspect-ratio: 16 / 9; object-fit: cover; background: var(--stage); }
.small h4 { font-family: var(--body); text-transform: none; letter-spacing: 0; font-weight: 600; font-size: 15px; line-height: 20px; color: var(--bone); }
.small small { display: block; color: var(--grey); font-size: 12px; margin-top: 4px; }
.outline-btn {
  display: inline-block; margin-top: 28px; padding: 8px 45px; border: 2px solid var(--orange); color: var(--orange);
  font-weight: 600; font-size: 15px; transition: background .2s, color .2s;
}
.outline-btn:hover { background: var(--orange); color: var(--bone); text-decoration: none; }

/* Booking band */
.book { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.book h2 { font-size: 32px; letter-spacing: .04em; }
.book p { font-size: 23px; line-height: 1.35; font-weight: 300; margin-top: 10px; max-width: 30ch; }

/* Footer */
.site-footer { background: var(--stage); color: var(--bone); }
.site-footer .top { display: grid; grid-template-columns: auto 1fr auto; gap: 40px; align-items: center; padding-block: 48px; }
.site-footer .top img { height: 44px; width: auto; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: center; }
.site-footer nav a { font-family: var(--display); text-transform: uppercase; letter-spacing: .08em; color: var(--bone); font-size: 15px; }
.site-footer .contact { text-align: right; font-size: 14px; line-height: 22px; color: var(--grey); }
.site-footer .contact a { color: var(--bone); }
.site-footer .legal { border-top: 1px solid var(--hair-dark); padding-block: 22px; display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; font-size: 13px; color: var(--grey); }
.site-footer .legal a { color: var(--grey); }
.social { display: flex; gap: 18px; }
.social a { color: var(--bone); display: inline-flex; }
.social svg { width: 20px; height: 20px; fill: currentColor; }
.endorse { color: var(--muted-bone); font-size: 12px; }

/* ---------- Interior pages ---------- */
.banner {
  position: relative; margin-top: calc(-1 * var(--header-h)); min-height: 380px; padding-top: var(--header-h);
  background: var(--stage); color: var(--bone); display: flex; align-items: center; justify-content: center; overflow: hidden; text-align: center;
}
.banner .collage { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(4, 1fr); opacity: .45; }
.banner .collage img { width: 100%; height: 100%; object-fit: cover; }
.banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(14,13,12,.55), rgba(14,13,12,.75)); }
.banner h1 { position: relative; z-index: 1; font-size: clamp(56px, 9vw, 100px); letter-spacing: .04em; }
.banner .kicker { position: relative; z-index: 1; font-family: var(--display); letter-spacing: .18em; text-transform: uppercase; color: var(--orange); font-size: 14px; margin-bottom: 8px; }

.intro { text-align: center; }
.intro p { margin-inline: auto; font-size: 18px; line-height: 30px; }
.intro .statement { max-width: 40ch; }
.intro .rule { margin-inline: auto; }

.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.tile { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--stage); color: var(--bone); display: block; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s, transform .6s; }
.tile .front { position: absolute; left: 24px; bottom: 20px; right: 24px; z-index: 2; }
.tile .front h3 { font-size: 30px; color: var(--bone); text-shadow: 0 2px 12px rgba(0,0,0,.6); }
.tile .back {
  position: absolute; inset: 0; z-index: 3; padding: 28px; background: rgba(23,21,19,.94);
  opacity: 0; transition: opacity .35s; display: flex; flex-direction: column; justify-content: center; gap: 12px;
}
.tile .back h3 { font-size: 26px; color: var(--bone); }
.tile .back p { color: var(--grey); font-size: 15px; line-height: 23px; }
.tile:hover img, .tile:focus-within img { transform: scale(1.04); }
.tile:hover .back, .tile:focus-within .back { opacity: 1; }
.tile:hover .front { opacity: 0; }
.tile:hover { text-decoration: none; }

.stack { display: grid; gap: 20px; }
.stack img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.story h2 { font-size: 28px; color: var(--orange); margin: 26px 0 10px; letter-spacing: .04em; }
.story h2:first-child { margin-top: 0; }
.story ul { padding-left: 20px; margin: 0 0 16px; }
.story li { margin-bottom: 6px; }

.proof { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.proof .n { font-family: var(--display); font-weight: 700; font-size: clamp(40px, 5vw, 64px); line-height: 1; color: var(--bone); }
.proof .t { font-family: var(--display); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; font-size: 13px; color: var(--grey); margin-top: 8px; }
.proof .n::after { content: ""; display: block; width: 32px; height: 2px; background: var(--orange); margin: 12px auto 0; }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid3 .frame { aspect-ratio: 16 / 9; background: #000; }
.grid3 iframe { width: 100%; height: 100%; border: 0; }
.grid3 h3 { font-family: var(--body); text-transform: none; letter-spacing: 0; font-weight: 600; font-size: 15px; margin-top: 10px; color: var(--bone); }

.files { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.file { display: block; padding: 18px 20px; border: 1px solid var(--hair-light); background: rgba(255,255,255,.35); color: var(--charcoal); }
.file:hover { border-color: var(--orange); text-decoration: none; }
.file b { display: block; font-family: var(--display); text-transform: uppercase; letter-spacing: .06em; font-size: 18px; font-weight: 500; }
.file span { font-size: 13px; color: var(--grey-deep); }
.dl { font-size: 13px; color: var(--orange); font-weight: 700; margin-top: 8px; display: block; }

.bios { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.bio { padding: 24px; background: var(--charcoal); color: var(--bone); }
.bio h3 { font-size: 15px; letter-spacing: .14em; color: var(--orange); margin-bottom: 10px; }
.bio p { color: var(--bone); font-size: 15px; }
.bio .count { font-size: 12px; color: var(--grey); }

.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.facts div { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--hair-light); font-size: 15px; }
.facts dt { font-family: var(--display); text-transform: uppercase; letter-spacing: .08em; font-size: 13px; color: var(--grey-deep); }
.facts dd { margin: 0; }

.swatches { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.swatch { border: 1px solid var(--hair-light); }
.swatch i { display: block; height: 56px; }
.swatch b { display: block; font-size: 12px; padding: 8px 8px 2px; font-family: var(--display); letter-spacing: .04em; font-weight: 500; }
.swatch span { display: block; font-size: 11px; padding: 0 8px 8px; color: var(--grey-deep); }

/* Testimonials */
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.quote { padding: 26px 28px; background: var(--charcoal); color: var(--bone); border-left: 3px solid var(--orange); }
.quote p { color: var(--bone); font-size: 16px; line-height: 26px; font-style: italic; }
.quote cite { display: block; margin-top: 14px; font-style: normal; font-size: 13px; color: var(--grey); }
.quote.lead { grid-column: 1 / -1; }
.quote.lead p { font-size: 22px; line-height: 34px; font-family: var(--display); font-style: normal; font-weight: 400; text-transform: none; letter-spacing: 0; max-width: none; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; align-items: start; }
.contact-grid ul { padding-left: 18px; }
form.booking { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
form.booking .full { grid-column: 1 / -1; }
form.booking label { display: block; font-family: var(--display); text-transform: uppercase; letter-spacing: .1em; font-size: 13px; color: var(--grey-deep); margin-bottom: 6px; }
form.booking input, form.booking select, form.booking textarea {
  width: 100%; font: 15px/1.4 var(--body); color: var(--charcoal); background: #fff; border: 1px solid var(--hair-light); padding: 12px 14px; border-radius: 0;
}
form.booking input:focus, form.booking select:focus, form.booking textarea:focus { border-color: var(--orange); outline: none; }
form.booking textarea { min-height: 150px; resize: vertical; }
form.booking button { font: 600 15px var(--body); }
.hidden { display: none; }

/* Entrance: from a visible resting state, never invisible */
.fade { opacity: .6; transform: translateY(14px); transition: opacity .8s ease, transform .8s ease; }
.fade.in { opacity: 1; transform: none; }
.fade.d1 { transition-delay: .4s; } .fade.d2 { transition-delay: .8s; }
@media (prefers-reduced-motion: reduce) { .fade { opacity: 1; transform: none; transition: none; } .tagline .slide, .settings .slide { transition: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .pillars { gap: 28px; }
  .two { gap: 36px; }
  .videos { grid-template-columns: 1fr; }
  .proof { grid-template-columns: repeat(2, 1fr); }
  .swatches { grid-template-columns: repeat(3, 1fr); }
  .site-footer .top { grid-template-columns: 1fr; text-align: center; }
  .site-footer .contact { text-align: center; }
}
@media (max-width: 767px) {
  :root { --header-h: 72px; --band: 52px; }
  .brand img { height: 30px; }
  .nav { display: none; }
  .nav.open { display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: var(--header-h); background: var(--stage); padding: 18px var(--gut) 24px; gap: 14px; align-items: flex-start; }
  .site-header.stuck .nav.open { background: var(--bone); }
  .menu-btn { display: inline-block; }
  .hero { height: 90vh; min-height: 560px; }
  .hero .wrap { padding-bottom: 40px; }
  .tagline { min-height: 185px; width: 100%; }
  .tagline h1 { font-size: 34px; line-height: 36px; }
  .ribbon-wrap { height: auto; }
  .ribbon { position: static; width: 100%; height: auto; padding: 12px var(--gut); flex-wrap: wrap; gap: 10px; }
  .pillars { grid-template-columns: 1fr; gap: 32px; }
  .two, .two.rev { grid-template-columns: 1fr; gap: 24px; }
  .two.rev > :first-child { order: 0; }
  .two .photo.tall { max-height: 420px; }
  .settings { height: auto; min-height: 420px; padding-block: 48px; }
  .settings li a { font-size: 24px; }
  .small { grid-template-columns: 120px 1fr; }
  .small .thumb { width: 120px; }
  .book { flex-direction: column; align-items: flex-start; }
  .book p { font-size: 19px; }
  .tiles, .quotes, .bios, .contact-grid, .grid3, .files, .facts { grid-template-columns: 1fr; }
  .facts div { grid-template-columns: 1fr; gap: 2px; }
  form.booking { grid-template-columns: 1fr; }
  .banner { min-height: 300px; }
  .banner .collage { grid-template-columns: repeat(2, 1fr); }
  .proof { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .swatches { grid-template-columns: repeat(2, 1fr); }
  .label { font-size: 38px; }
}
