/* MixMaster Sessions — dark theme (2026-11-18).
   Loaded AFTER the three Webflow stylesheets on every Webflow-based page, so
   it only re-colours; layout and type still come from Webflow. The pages that
   were already dark (sign-up, log-in, membership, live-watch, live-produce)
   do not load this file.
   To revert: remove the <link href="css/mm-dark.css"> line (or restore the
   zip copy Keith made 2026-11-18; a copy is also in _backups/2026-11-18-dark). */

:root{
  --white:#0B0B0C;            /* Webflow uses --white for section/nav backgrounds */
  --mm-bg:#0B0B0C; --mm-card:#151516; --mm-card-2:#1d1d1f;
  --mm-line:rgba(255,255,255,.12); --mm-text:#fff; --mm-dim:rgba(255,255,255,.68);
  color-scheme:dark;
}

html, body, .body, .page-wrapper{
  background-color:var(--mm-bg);
  color:var(--mm-text);
}
.section, .container, .wrapper{ color:var(--mm-text); }

/* Webflow text defaults */
a{ color:#d6d6da; }
a:hover{ color:#fff; }
p, li, label, td, th, span, small{ color:inherit; }
h1,h2,h3,h4,h5,h6{ color:#fff; }
.paragraph-smaller, .paragraph-smaller-2, .text-block-2, .text-block-3, .subheading, .subheading-2{ color:var(--mm-dim); }
hr{ border-color:var(--mm-line); }

/* Navigation */
.navigation, .navigation-items, .nav-menu, .w-nav, .w-nav-menu{
  background-color:var(--mm-bg);
}
.navigation{ border-bottom:1px solid var(--mm-line); }
.nav-link, .navigation-item{ color:#fff; }
.nav-link:hover{ color:#fff; opacity:.75; }
.nav-link.w--current{ color:#fff; text-decoration:underline; }
.navigation .nav-link.button{ background-color:#fff; color:#000; }
.navigation .nav-link.button:hover{ background-color:#e6e6e8; color:#000; opacity:1; }
/* the logo is dark artwork on a transparent/white ground; give it a light chip */
.navigation .brand img, .navigation-items .brand img, .navigation img.logo{ background:#fff; border-radius:6px; padding:2px 6px; }
.mm-nav-toggle svg{ stroke:#fff; }
.mm-nav-toggle path, .mm-nav-toggle line, .mm-nav-toggle rect{ stroke:#fff; }
@media (max-width:767px){
  .nav-menu{ background-color:var(--mm-bg); border-top:1px solid var(--mm-line); }
}

/* Cards, panels, boxes */
.mm-card, .card, .w-dyn-item, .grid-card-link-block, .class-card, .w-commerce-commercecartcontainer,
.w-commerce-commercecheckoutblockcontent, .w-commerce-commercecheckoutcustomerinfowrapper,
.w-commerce-commercecheckoutshippingaddresswrapper, .w-commerce-commercecheckoutorderitemswrapper,
.w-commerce-commercecheckoutsummaryblockheader, .w-commerce-commercecheckoutpaymentinfowrapper{
  background-color:var(--mm-card); color:var(--mm-text); border-color:var(--mm-line);
}

/* Forms */
input, textarea, select, .text-field, .w-input, .w-select{
  background-color:var(--mm-card-2); color:#fff; border:1px solid var(--mm-line);
}
input::placeholder, textarea::placeholder{ color:rgba(255,255,255,.4); }
input:focus, textarea:focus, select:focus{ border-color:#fff; outline:0; }

/* Buttons: keep light buttons readable on dark */
.button.cc-white-button, .btn.btn-white{ background-color:#fff; color:#111; }

/* Tables, dividers, borders that were pale grey on white */
table, th, td{ border-color:var(--mm-line); }
.w-commerce-commercecartitem, .w-commerce-commercecartfooter, .w-commerce-commercecartheader{ border-color:var(--mm-line); }

/* Images on light plates (logo/diagrams) */
.image-wrap-3, .image-box-2{ background-color:transparent; }

/* Mux / embeds keep their own colours */
mux-player, iframe, video{ background:#000; }

/* Text inside the white buttons stays dark (the button itself is not inverted) */
.button.cc-white-button, .button.cc-white-button *{ color:#111; }
/* Empty-state messages and small meta text */
.w-dyn-empty, .w-dyn-empty *{ color:var(--mm-dim); }
.track-time{ color:var(--mm-dim); }

/* ===== Desktop polish (2026-11-18): gutters, charcoal depth, hero blending ===== */

/* Page background: charcoal with faint warm (studio amber) and cool (teal) glows,
   so the page has depth instead of flat black. `html body` beats the pages'
   own inline `body{background}` rules. */
html body{
  background-color:#101012;
  background-image:
    radial-gradient(1100px 620px at 12% 8%, rgba(190,130,70,.13), transparent 62%),
    radial-gradient(1000px 640px at 92% 42%, rgba(79,209,197,.07), transparent 62%),
    linear-gradient(180deg, #19191c 0%, #101012 38%, #0c0c0e 70%, #151518 100%);
  background-repeat:no-repeat;
  background-attachment:fixed;
}
/* Sections that were painted solid black now let the page show through, with a
   barely-there band to separate them. */
.section.cc-store-home-wrap, section.mm-media, .section-2, .podcast, .template-section, .section-default{
  background-color:transparent;
}
.section-2, .template-section{ background-color:rgba(255,255,255,.018); }
section.mm-media{ background:transparent; }
.live-mixing-sessions{
  background:linear-gradient(180deg, #0c0c0e 0%, #1b0e0e 55%, #0e0d0f 100%);
}

/* Hero areas that sit on a photo: fade the photo's bottom edge into the page */
.hero-section, .hero{ position:relative; }
.hero-section::after, .hero::after{
  content:""; position:absolute; left:0; right:0; bottom:0; height:38%;
  background:linear-gradient(180deg, transparent, #101012);
  pointer-events:none;
}
.hero-wrapper{ position:relative; z-index:2; }

/* Photos and cards: soft corners and depth */
.thumbnail-4, .image-box-2 img, .podcast img, .mm-media-wrap img{ border-radius:12px; }
.podcast img, .thumbnail-4{ box-shadow:0 10px 30px rgba(0,0,0,.45); }
.mm-card{ box-shadow:0 8px 28px rgba(0,0,0,.35); border-radius:14px; }

/* Gutters: content no longer runs to the screen edge on wide screens */
@media (min-width:992px){
  .navigation{ padding-left:clamp(32px,6vw,110px); padding-right:clamp(32px,6vw,110px); }
  .vertical-wrapper-2, .font-align-center-2, .mm-media-wrap, .mm-wrap{
    max-width:1200px; margin-left:auto; margin-right:auto;
    padding-left:clamp(24px,3vw,48px); padding-right:clamp(24px,3vw,48px);
  }
  .container-2, .container-46, .container-default-5{
    max-width:1240px; margin-left:auto; margin-right:auto;
    padding-left:clamp(32px,5vw,96px); padding-right:clamp(32px,5vw,96px);
  }
  .container-30{ max-width:940px; margin-left:auto; margin-right:auto; }
  .section, .section-default, .podcast, .template-section{ padding-left:clamp(0px,2vw,32px); padding-right:clamp(0px,2vw,32px); }
}
@media (min-width:1600px){
  .vertical-wrapper-2, .font-align-center-2{ max-width:1320px; }
}
@media (max-width:991px){
  html body{ background-attachment:scroll; }
}

/* Player-style pages (#root.wrap: mentor-sessions, podcsts, templates, advanced-*, mixing-*, vocal-tracking):
   drop the navy slab so they share the charcoal page, and give them side margins. */
#root.wrap{ background:transparent; max-width:1400px; margin-left:auto; margin-right:auto; box-sizing:border-box; }
@media (min-width:992px){ #root.wrap{ padding-left:clamp(24px,4vw,64px); padding-right:clamp(24px,4vw,64px); } }
#root.wrap .side{ background:#151517; border:1px solid var(--mm-line); border-radius:14px; }

/* Inline-styled page wrappers that painted solid black */
.mm-hm, .section, .body, .page-wrapper{ background-color:transparent; }
.navigation, .navigation-items{ background-color:rgba(14,14,16,.94); }

/* Webflow forces player pages full-bleed with !important; give them margins back. */
@media (min-width:992px){
  #root.wrap, #root.wrap:has(mux-player, iframe, video){
    max-width:1400px !important; width:auto !important;
    padding-left:clamp(24px,4vw,64px) !important; padding-right:clamp(24px,4vw,64px) !important;
  }
}

/* ===== Buttons and borders (2026-11-18) ===== */
:root{ --mm-accent:#e0a867; --mm-accent-glow:rgba(224,168,103,.30); }

/* Primary (light) buttons: soft pearl gradient, pill, lifted */
html body .btn:not(.ghost):not(.btn-ghost),
html body .button.cc-white-button,
html body .navigation .nav-link.button,
html body .w-button.cc-primary{
  background-image:linear-gradient(180deg,#ffffff 0%,#e3e3e8 100%);
  background-color:#fff; color:#111;
  border:1px solid rgba(255,255,255,.65); border-radius:999px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9), 0 6px 18px rgba(0,0,0,.45);
  transition:transform .15s ease, box-shadow .2s ease, border-color .2s ease;
  text-decoration:none;
}
html body .btn:not(.ghost):not(.btn-ghost):hover,
html body .button.cc-white-button:hover,
html body .navigation .nav-link.button:hover{
  transform:translateY(-1px);
  border-color:var(--mm-accent);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9), 0 8px 26px var(--mm-accent-glow);
  color:#111; opacity:1;
}

/* Dark buttons (Watch Now, Get Templates, form submits): charcoal with a hairline */
html body .button-22, html body .button-28, html body .button-26,
html body .button.w-button, html body .w-button:not(.cc-primary){
  background-image:linear-gradient(180deg,#26262b 0%,#131315 100%);
  background-color:#131315; color:#fff;
  border:1px solid rgba(255,255,255,.22); border-radius:999px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08), 0 6px 18px rgba(0,0,0,.45);
  transition:transform .15s ease, box-shadow .2s ease, border-color .2s ease;
  text-decoration:none;
}
html body .button-22:hover, html body .button-28:hover, html body .button-26:hover,
html body .button.w-button:hover, html body .w-button:not(.cc-primary):hover{
  transform:translateY(-1px); border-color:var(--mm-accent);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.1), 0 8px 26px var(--mm-accent-glow);
  color:#fff;
}

/* Ghost / outline buttons */
html body .btn.ghost, html body .btn-ghost{
  background:transparent; color:#fff; border:1px solid rgba(255,255,255,.3); border-radius:999px;
  transition:border-color .2s ease, background-color .2s ease, transform .15s ease;
}
html body .btn.ghost:hover, html body .btn-ghost:hover{
  border-color:var(--mm-accent); background:rgba(224,168,103,.08); transform:translateY(-1px);
}
html body .btn:active, html body .button:active, html body .w-button:active{ transform:translateY(0); }
html body .btn:focus-visible, html body .button:focus-visible, html body .w-button:focus-visible,
html body a:focus-visible{ outline:2px solid var(--mm-accent); outline-offset:3px; }

/* Cards and panels: hairline border, warm edge on hover */
.mm-card, .card, .opt, .grid-card-link-block, #root.wrap .side{
  border:1px solid rgba(255,255,255,.11);
  transition:border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.mm-card:hover, .opt:not(.sel):hover, .grid-card-link-block:hover{
  border-color:rgba(224,168,103,.45);
  box-shadow:0 10px 30px rgba(0,0,0,.45), 0 0 0 1px rgba(224,168,103,.08);
}
.opt.sel{ border-color:var(--mm-accent); box-shadow:0 0 0 1px rgba(224,168,103,.35), 0 10px 30px rgba(0,0,0,.4); }

/* Inputs */
input, textarea, select, .text-field, .w-input, .w-select{ border-radius:10px; transition:border-color .2s ease, box-shadow .2s ease; }
input:focus, textarea:focus, select:focus, .w-input:focus{
  border-color:var(--mm-accent); box-shadow:0 0 0 3px rgba(224,168,103,.18);
}

/* Photos and nav edge */
.thumbnail-4, .podcast img, .image-box-2 img, .mm-media-wrap img{ border:1px solid rgba(255,255,255,.1); }
.navigation{ border-bottom:1px solid transparent; border-image:linear-gradient(90deg,transparent,rgba(224,168,103,.35),transparent) 1; }
hr{ border:0; height:1px; background:linear-gradient(90deg,transparent,rgba(255,255,255,.18),transparent); }

/* ===== Mobile app shell (2026-11-19) =====
   (menu toggle: hidden on desktop, see below) */
.mm-nav-toggle{ display:none; background:none; border:none; cursor:pointer; }
/* ===== (continued) =====
   Phones only. Bottom tab bar (js/mm-mobile.js), a visible menu button,
   and each page section set apart as its own rounded panel. */
.mm-tabbar{ display:none; }
@media (max-width:767px){
  body.mm-has-tabbar{ padding-bottom:calc(76px + env(safe-area-inset-bottom)); }

  .navigation .nav-menu:not(.mm-open){ display:none; }

  /* top bar: compact and sticky like an app header */
  .navigation{ position:sticky; top:0; z-index:50; backdrop-filter:saturate(1.4) blur(14px); -webkit-backdrop-filter:saturate(1.4) blur(14px); background-color:rgba(11,11,12,.88); }
  .navigation-items, .navigation .w-nav-menu{ background-color:transparent; }

  /* hamburger: was dark-on-dark and nearly invisible */
  .mm-nav-toggle, .menu-button.w-nav-button{
    display:flex; align-items:center; justify-content:center;
    width:42px; height:42px; padding:0; border-radius:12px;
    background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.28); cursor:pointer;
  }
  .mm-nav-toggle img, .menu-button .menu-icon{ filter:invert(1) brightness(2); width:22px; opacity:1; }
  .menu-button.w--open{ background:rgba(255,255,255,.18); width:42px; height:42px; padding:0; box-sizing:border-box; }
  .menu-button.w-nav-button{ box-sizing:border-box; }

  /* dropdown menu as a floating sheet under the bar */
  .navigation .nav-menu.mm-open{
    position:absolute; top:100%; left:0; right:0; width:auto; display:flex; flex-direction:column;
  }
  .navigation .nav-menu.mm-open, .navigation .w-nav-overlay .w-nav-menu{
    margin:6px 12px 12px; padding:6px; border:1px solid var(--mm-line); border-radius:18px;
    background:#17171a; box-shadow:0 18px 40px rgba(0,0,0,.55);
  }
  .nav-menu .nav-link{ padding:14px 16px; border-radius:12px; font-size:16px; text-align:left; }
  .nav-menu .nav-link.w--current{ background:rgba(224,168,103,.14); color:#e0a867; text-decoration:none; }
  .nav-menu .nav-link.button{ margin:6px 0 2px; text-align:center; width:100%; display:block; box-sizing:border-box; }

  /* bottom tab bar */
  .mm-tabbar{
    display:grid; grid-template-columns:repeat(5,1fr); position:fixed; left:0; right:0; bottom:0; z-index:60;
    padding:8px 6px calc(8px + env(safe-area-inset-bottom));
    background:rgba(14,14,16,.94); backdrop-filter:blur(18px) saturate(1.4); -webkit-backdrop-filter:blur(18px) saturate(1.4);
    border-top:1px solid var(--mm-line); box-shadow:0 -10px 30px rgba(0,0,0,.45);
  }
  .mm-tab{
    display:flex; flex-direction:column; align-items:center; gap:4px; padding:6px 0 4px; border-radius:14px;
    color:rgba(255,255,255,.55); text-decoration:none; font:600 10.5px/1.1 Montserrat,Lato,Helvetica,Arial,sans-serif; letter-spacing:.02em;
    -webkit-tap-highlight-color:transparent; transition:color .15s, background .15s, transform .1s;
  }
  .mm-tab:active{ transform:scale(.94); }
  .mm-tab.is-on{ color:#e0a867; background:rgba(224,168,103,.13); }
  .mm-tab.is-on svg{ filter:drop-shadow(0 0 6px rgba(224,168,103,.55)); }
  .mm-tab span{ color:inherit; }

  /* each section = its own app-style panel */
  body > .section-2, body > .podcast, body > .section, body > .template-section, body > section,
  body > .mm-hm, body > .wrap, body > .section-80, body > .container-3,
  body > .mm-cp > *, body > .mm-live > *, body > .mm-tp > *{
    margin:14px 12px; border-radius:24px; overflow:hidden;
    background-color:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.1);
    box-shadow:0 12px 30px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.06);
  }
  body > .section-2, body > .podcast, body > .section, body > .template-section, body > section{ padding:22px 16px; }
  body > .wrap{ padding:18px 14px; }
  body > .hero-section, body > .hero{ margin:12px; border-radius:24px; overflow:hidden; }
  body > .hero-section::after, body > .hero::after{ display:none; }
  body > .mm-media{ background:transparent; padding:22px 16px; }
  body > .hide, body > .w-condition-invisible{ display:none; }

  /* tighter headings so a panel reads like a card, not a page */
  body > section h2, body > .section-2 h2, body > .podcast h2, body > .template-section h2{ font-size:28px; line-height:1.15; }
  body > section img, body > .section-2 img{ border-radius:16px; }
}
