@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/montserrat-400-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/fonts/montserrat-800-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Mario Semi Music — site styles.
   One stylesheet: two weights of Montserrat, a near-black palette, a poster
   hero and the small behaviours the old framework used to supply. */

/* --- tokens ------------------------------------------------------------- */
:root,
.dark {
  --background: 0 0% 7%;
  --foreground: 40 22% 96%;
  --card: 0 0% 11%;
  --border: 0 0% 26%;
  --muted-foreground: 40 8% 70%;
  --primary: 199 34% 76%;
  --rule: rgba(255, 255, 255, .14);
  --page: #121212;
  /* the old build still asks for these names in a few places */
  --font-sans: 'Montserrat', sans-serif;
  --font-display: 'Montserrat', sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* --- base --------------------------------------------------------------- */
html {
  background: var(--page);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: .005em;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  margin: 0;
}

img { border-radius: 0; }

section[id] { scroll-margin-top: 84px; }

a { color: inherit; text-decoration: none; }

[hidden] { display: none !important; }

/* --- headings ----------------------------------------------------------- */
.font-heading,
.legal h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: -.02em;
  line-height: .98;
}

.font-heading em,
.font-heading .italic,
.legal h1 em {
  font-style: normal;
  color: hsl(var(--primary));
}

main section h2.font-heading {
  font-size: clamp(1.85rem, 4.6vw, 3.5rem);
  margin-bottom: 3.5rem;
}

.section-number {
  margin: 0 0 1rem;
  font-family: 'Montserrat', sans-serif;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: hsl(var(--primary));
}

/* --- buttons ------------------------------------------------------------ */
.btn {
  display: inline-block;
  padding: 18px 32px 16px;
  font-family: 'Montserrat', sans-serif;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .2em;
  line-height: 1;
  text-transform: uppercase;
  border-radius: 0;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}

.btn--solid {
  background: #faf8f4;
  border: 1px solid #faf8f4;
  color: #141414;
}
.btn--solid:hover {
  background: hsl(var(--primary));
  border-color: hsl(var(--primary));
  color: #101010;
}

.btn--ghost {
  border: 1px solid rgba(255, 255, 255, .45);
  color: #fff;
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, .1);
  border-color: #fff;
}

/* --- hero --------------------------------------------------------------- */
#hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 94svh;
  margin: 0;
  padding: 0;
  max-width: none;
  overflow: hidden;
}

#hero .hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  aspect-ratio: auto;
}

#hero .hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: grayscale(1) contrast(1.05) brightness(.85);
}

#hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg,
      rgba(10, 10, 10, .86) 0%,
      rgba(10, 10, 10, .48) 34%,
      rgba(10, 10, 10, .74) 74%,
      rgba(10, 10, 10, .96) 100%);
}

#hero .hero-copy {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 132px 24px 104px;
  text-align: center;
}

#hero h1 {
  margin: 0;
  font-size: clamp(3.1rem, 11.5vw, 8.2rem);
  font-weight: 800;
  line-height: .87;
  letter-spacing: -.035em;
  text-transform: uppercase;
  color: #fff;
}

#hero h1 span,
#hero h1 .italic {
  font-style: normal;
  font-weight: 800;
  color: #fff;
}

#hero .hero-kicker {
  margin: 0 0 26px;
  font-size: .68rem;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .72);
}

#hero .hero-role {
  margin: 24px 0 0;
  font-size: .66rem;
  letter-spacing: .38em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .62);
}

#hero .hero-lede {
  max-width: 46ch;
  margin: 22px auto 0;
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: .005em;
  text-transform: none;
  color: rgba(255, 255, 255, .9);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 38px;
}

.hero-social {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 48px;
}

.hero-scroll {
  display: none;
}

/* --- navigation --------------------------------------------------------- */
nav {
  border-bottom: 1px solid transparent;
  transition: background-color .35s ease, border-color .35s ease;
}

nav.font-nav a[href="#"] {
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .24em;
}

nav.font-nav a:not([href="#"]) {
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .18em;
}

nav[data-scrolled="true"] {
  background-color: rgba(10, 10, 10, .92);
  border-bottom-color: var(--rule);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

nav.font-nav a.nav-cta {
  margin-left: 6px;
  padding: 11px 16px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .5);
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
nav.font-nav a.nav-cta:hover {
  background: #faf8f4;
  border-color: #faf8f4;
  color: #141414;
}

nav.font-nav .nav-book {
  display: inline-flex;
  align-items: center;
  margin-left: auto;
  margin-right: 6px;
  padding: 0 14px;
  height: 38px;
  font-size: .6rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .45);
}
nav.font-nav .nav-book:hover {
  background: #faf8f4;
  border-color: #faf8f4;
  color: #141414;
}
@media (min-width: 768px) {
  nav.font-nav .nav-book { display: none; }
}

/* --- mobile menu -------------------------------------------------------- */
.site-menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 6px;
  padding: 124px 28px 40px;
  background: hsl(var(--background));
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity .32s ease, transform .32s ease, visibility .32s;
}
.site-menu[data-open="true"] { opacity: 1; visibility: visible; transform: none; }
.site-menu a {
  padding: 14px 0;
  font-family: 'Montserrat', sans-serif;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: hsl(var(--foreground) / .8);
  border-bottom: 1px solid var(--rule);
  transition: color .25s;
}
.site-menu a:hover { color: hsl(var(--primary)); }
.site-menu a:last-of-type { border-bottom: 0; }
.site-menu__foot {
  margin-top: 28px;
  font-size: .66rem;
  letter-spacing: .16em;
  line-height: 1.9;
  text-transform: uppercase;
  color: hsl(var(--foreground) / .5);
}
body[data-menu-open="true"] { overflow: hidden; }

/* the bar button shows a burger, and a cross while the panel is up */
.nav-close { display: none; }
body[data-menu-open="true"] .nav-burger { display: none; }
body[data-menu-open="true"] .nav-close { display: block; }

/* --- reveal on scroll (markup ships with inline opacity:0) -------------- */
[style*="opacity:0"] {
  transition: opacity .9s cubic-bezier(.22, .61, .25, 1),
              transform .9s cubic-bezier(.22, .61, .25, 1);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [style*="opacity:0"] { transition: none !important; }
  .btn, nav, .site-menu { transition: none; }
}

/* --- sections ----------------------------------------------------------- */
main section {
  padding-top: 84px;
  padding-bottom: 84px;
}
@media (min-width: 768px) {
  main section { padding-top: 124px; padding-bottom: 124px; }
}

main section p {
  font-size: .93rem;
  line-height: 1.85;
}

main section .rounded,
main section .rounded-lg { border-radius: 0; }

/* the section photos carry a warm cast so they belong to the cream text;
   they come back to full colour under the pointer */
#about img,
#watch img,
#moments img {
  filter: sepia(.26) saturate(1.18) hue-rotate(-8deg) contrast(1.01) brightness(1.04);
  transition: filter .45s ease, transform .7s ease;
}
#about img:hover,
#watch a:hover img,
#moments a:hover img {
  filter: none;
}

/* --- reels: a tighter 4:5 frame so the crop lands on the person, not the
   ceiling of the room. Each cover is anchored separately because the three
   videos are framed differently. */
#watch .reel-frame { aspect-ratio: 4 / 5; }
#watch .grid > a:nth-child(1) img { object-position: center 30%; }
#watch .grid > a:nth-child(2) img { object-position: center 36%; }
#watch .grid > a:nth-child(3) img { object-position: center 46%; }

/* the caption sits on its own solid strip under the photo, so no text ever
   covers the image */
#watch .reel-cap {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 12px 18px;
  background: hsl(var(--card));
  border-top: 1px solid var(--rule);
}

/* the play disc sits in the bottom-right corner of the photo, clear of faces */
#watch .reel-play {
  align-items: flex-end;
  justify-content: flex-end;
  padding: 0 18px 18px;
}

/* --- pull quote ---------------------------------------------------------- */
.moments-quote {
  max-width: 34ch;
  margin: 0 auto;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.25rem, 2.4vw, 1.8rem);
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: .005em;
  text-transform: none;
  color: hsl(var(--foreground) / .92);
}

/* --- rhythm: the reels band lifts off the page, the dates section is
   tighter, and the quotation gets its own mark --------------------------- */
#watch {
  background: #151515;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

#schedule {
  padding-top: 88px;
  padding-bottom: 88px;
}

.moments-quote::before {
  content: '';
  display: block;
  width: 56px;
  height: 2px;
  margin: 0 auto 28px;
  background: hsl(var(--primary));
}

/* --- footer small print: break between groups, not inside them ---------- */
footer .nowrap { white-space: nowrap; }
@media (max-width: 640px) {
  footer .foot-dot--tight { display: none; }
}

#about .about-close { text-wrap: balance; }

/* --- agenda ------------------------------------------------------------- */
.shows {
  margin-top: 2.75rem;
  border-top: 1px solid var(--rule);
}
.shows li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 26px 0;
  border-bottom: 1px solid var(--rule);
}
@media (min-width: 640px) {
  .shows li { flex-direction: row; align-items: baseline; gap: 32px; }
}
.shows__when {
  flex: 0 0 auto;
  font-family: 'Montserrat', sans-serif;
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: hsl(var(--primary));
}
@media (min-width: 640px) { .shows__when { width: 190px; } }
.shows__venue {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: hsl(var(--foreground));
}
.shows__where {
  margin-top: 2px;
  font-size: .8rem;
  color: hsl(var(--foreground) / .6);
}
.shows__link {
  margin-left: auto;
  padding-bottom: 2px;
  font-family: 'Montserrat', sans-serif;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: hsl(var(--foreground) / .55);
  border-bottom: 1px solid rgba(255, 255, 255, .4);
  transition: color .25s, border-color .25s;
}
.shows__link:hover { color: hsl(var(--primary)); border-color: hsl(var(--primary)); }

/* the address itself is the map link */
.shows__where-link {
  color: inherit;
  border-bottom: 1px solid rgba(255, 255, 255, .22);
  transition: color .25s, border-color .25s;
}
.shows__where-link:hover {
  color: hsl(var(--primary));
  border-color: hsl(var(--primary) / .5);
}

/* on a phone the row stacks, so the map action tucks under the address with
   a comfortable tap area; on wide rows it sits at the far right */
.shows .shows__link {
  margin: 10px 0 0;
  padding: 8px 0 6px;
  align-self: flex-start;
}
@media (min-width: 640px) {
  .shows .shows__link {
    margin: 0 0 0 auto;
    padding: 0 0 2px;
    align-self: baseline;
  }
}
.shows-empty {
  margin-top: 2.5rem;
  padding: 26px 0;
  font-size: .9rem;
  color: hsl(var(--foreground) / .65);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.shows-empty a { color: hsl(var(--primary)); border-bottom: 1px solid hsl(var(--primary) / .4); }

/* --- enquiry form ------------------------------------------------------- */
form label {
  font-size: .62rem !important;
  font-weight: 800 !important;
  letter-spacing: .16em !important;
}

.form-hint {
  max-width: 44ch;
  margin: 0 0 18px;
  font-size: .74rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, .62);
}

.btn:disabled { opacity: .5; }

.form-note {
  margin-top: 4px;
  font-family: 'Montserrat', sans-serif;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: hsl(var(--primary));
}

/* --- footer ------------------------------------------------------------- */
footer {
  background: #0e0e0e;
  border-top: 1px solid var(--rule);
}
footer p {
  font-size: .7rem !important;
  letter-spacing: .14em !important;
  line-height: 1.9;
}

/* --- legal pages -------------------------------------------------------- */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 140px 24px 72px;
}
.legal__back {
  display: inline-block;
  margin-bottom: 34px;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: hsl(var(--foreground) / .55);
}
.legal__back:hover { color: hsl(var(--primary)); }
.legal h1 {
  margin: 0 0 10px;
  font-size: clamp(2.1rem, 5.4vw, 3.4rem);
}
.legal .updated {
  margin: 0 0 38px;
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: hsl(var(--foreground) / .5);
}
.legal h2 {
  margin: 40px 0 12px;
  padding-top: 18px;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: hsl(var(--foreground) / .85);
  border-top: 1px solid var(--rule);
}
.legal p,
.legal li {
  font-size: .9rem;
  line-height: 1.8;
  color: hsl(var(--foreground) / .72);
}
.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 14px; padding-left: 18px; list-style: disc; }
.legal li { margin-bottom: 6px; }
.legal a { color: hsl(var(--foreground) / .9); border-bottom: 1px solid hsl(var(--primary) / .5); }
.legal a:hover { color: hsl(var(--primary)); }
.legal__card {
  padding: 18px 20px;
  margin-bottom: 8px;
  background: hsl(var(--card));
  border: 1px solid var(--rule);
}
.legal__card p { margin: 0; color: hsl(var(--foreground) / .82); }
.legal__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 48px;
  padding-top: 16px;
  font-size: .66rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: hsl(var(--foreground) / .5);
  border-top: 1px solid var(--rule);
}
.legal__foot a { border-bottom: 0; }

/* --- utilities from the old build that the markup still carries ----------
   The markup sets Tailwind classes on the elements themselves, so the few
   rules below have to out-rank them with !important. Everything else in this
   file wins by order alone, because it loads after the framework stylesheet. */
.hero-kicker,
.hero-role,
.hero-lede { font-family: 'Montserrat', sans-serif; }

main section h2.font-heading { margin-bottom: 3.5rem !important; }

form input,
form textarea,
form select {
  border-radius: 0 !important;
  background: rgba(255, 255, 255, .04) !important;
  border: 1px solid rgba(255, 255, 255, .16) !important;
  font-family: 'Montserrat', sans-serif;
  font-size: .88rem !important;
  padding: 14px 16px !important;
  color: hsl(var(--foreground)) !important;
}
form input::placeholder,
form textarea::placeholder { color: rgba(255, 255, 255, .58) !important; }
form input:focus,
form textarea:focus,
form select:focus { border-color: hsl(var(--primary)) !important; }

form button,
form [type="submit"] {
  border-radius: 0 !important;
  font-family: 'Montserrat', sans-serif;
  font-size: .68rem !important;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

@media (max-width: 640px) {
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 24px;
  }
  .btn {
    padding: 19px 24px 17px;
    text-align: center;
  }
  .hero-social { margin-top: 34px; }
}

/* --- phones and tablets: photo on top, copy in a clean band underneath ---
   The portrait is 4:5, so it is shown almost uncropped and the copy never
   sits on the face. */
@media (max-width: 900px) {
  #hero {
    display: block;
    min-height: 0;
  }
  #hero {
    /* the bar is 85px tall and fixed: without this the photo runs under it and
       the face lands behind the wordmark */
    padding-top: 88px;
  }
  #hero .hero-media {
    position: relative;
    inset: auto;
    height: 42svh;
    max-height: 400px;
  }
  #hero .hero-media img {
    object-position: center 40%;
    filter: grayscale(1) contrast(1.04) brightness(.9);
  }
  #hero .hero-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
      linear-gradient(180deg,
        rgba(12, 12, 12, .45) 0%,
        rgba(12, 12, 12, .04) 22%,
        rgba(12, 12, 12, 0) 55%,
        hsl(var(--background)) 100%);
  }
  #hero::after { display: none; }
  #hero .hero-copy { padding: 0 22px 44px; }
  #hero h1 {
    margin-top: 2px;
    font-size: clamp(2.9rem, 17vw, 5rem);
    line-height: .9;
  }
  #hero .hero-kicker { margin-bottom: 18px; }
  #hero .hero-role { margin-top: 18px; }
  #hero .hero-lede { margin-top: 16px; }
}

/* --- phones: crop the hero portrait so the face sits right under the bar ---
   The raw shot has a strip of unlit ceiling at the top. Anchoring the media to
   a fixed aspect ratio makes the crop land the same way on every phone width,
   so no dead black band is left between the navigation bar and the face. */
@media (max-width: 600px) {
  #hero .hero-media {
    height: auto;
    max-height: none;
    aspect-ratio: 5 / 4;
  }
  #hero .hero-media img {
    object-position: center 34%;
  }
  #hero .hero-media::after {
    background:
      linear-gradient(180deg,
        rgba(12, 12, 12, .22) 0%,
        rgba(12, 12, 12, 0) 20%,
        rgba(12, 12, 12, 0) 55%,
        hsl(var(--background)) 100%);
  }
}


/* --- tablets: same treatment as phones, so the head is never cropped -----
   From 601 to 900px the portrait is shown in a fixed square window, which is
   tall enough to keep the whole guitar body in frame, with the crop anchored
   so the top of the head clears the bar with a little air, on every tablet
   width. A square window pushes the copy further down, so on a 1024px-tall
   tablet the buttons sit just below the first screen. */
@media (min-width: 601px) and (max-width: 900px) {
  #hero .hero-media {
    height: auto;
    max-height: none;
    aspect-ratio: 1 / 1;
  }
  #hero .hero-media img {
    object-position: center 50%;
  }
  #hero .hero-copy { padding-bottom: 28px; }
  #hero .hero-cta { margin-top: 30px; }
}
