/*
Theme Name: Material 2026
Theme URI: https://materialmusic.net
Author: Material Music
Description: Material Music website, 2026 redesign. Coloured headline boxes per section, white outlined boxes beneath, Inter Tight throughout.
Version: 1.0.1
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: material-2026
*/

:root{
  --mm-ink:#111111;
  --mm-ink-2:#3A3A3A;
  --mm-muted:#4A4A4A;
  --mm-line:#E4E4E4;
  --mm-line-soft:#EFEFEF;
  --mm-paper:#FFFFFF;
  --mm-footer:#F2F2F2;
  --mm-radius:6px;
  --mm-gap:10px;
  --mm-accent:#F6E3C6;
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--mm-paper);color:var(--mm-ink);font-family:'Inter Tight',system-ui,-apple-system,sans-serif;font-size:15px;line-height:1.5}
img{max-width:100%;height:auto;display:block}
a{color:var(--mm-ink);text-decoration:none}
a:hover{color:var(--mm-muted)}
a:focus-visible,button:focus-visible{outline:2px solid var(--mm-ink);outline-offset:3px}
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}
.mm-skip:focus{position:fixed;top:12px;left:12px;z-index:100;width:auto;height:auto;clip:auto;background:#fff;padding:10px 16px;border:1px solid var(--mm-ink);border-radius:var(--mm-radius)}

/* Page shell */
.mm-page{min-height:100vh;padding:var(--mm-gap);display:flex;flex-direction:column;gap:var(--mm-gap)}
.mm-main{display:flex;flex-direction:column;gap:var(--mm-gap);flex:1}

/* Header */
.mm-header{border:1px solid var(--mm-line);border-radius:var(--mm-radius);padding:20px 24px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:20px;background:var(--mm-paper)}
.mm-logo{display:flex;align-items:center;gap:14px}
.mm-logo img.mm-mark{height:28px;width:auto}
.mm-logo img.mm-wordmark{height:15px;width:auto}
.mm-nav ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:24px;font-size:13px;font-weight:600}
.mm-nav a{display:inline-flex;align-items:center;min-height:44px}
.mm-nav .current-menu-item>a,.mm-nav .current_page_item>a,.mm-nav a[aria-current="page"]{text-decoration:underline;text-underline-offset:6px}
.mm-header-tag{font-size:13px;font-weight:600}

/* Boxes */
.mm-box{border:1px solid var(--mm-line);border-radius:var(--mm-radius);padding:28px 32px;background:var(--mm-paper);display:flex;flex-direction:column;gap:16px;min-width:0}
.mm-box--tall{min-height:220px;justify-content:space-between}
.mm-box--grey{background:var(--mm-footer);border-color:var(--mm-footer)}
.mm-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:var(--mm-gap)}
.mm-grid--2{grid-template-columns:repeat(auto-fit,minmax(420px,1fr))}
@media (max-width:480px){.mm-grid--2{grid-template-columns:1fr}}

/* Headline box */
.mm-hero{background:var(--mm-accent);border-radius:var(--mm-radius);padding:40px 32px 32px;min-height:320px;display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:32px}
.mm-hero--dark{color:#fff}
.mm-hero--dark a{color:#fff}
.mm-hero h1{margin:0;font-size:clamp(52px,7vw,96px);line-height:.92;font-weight:300;letter-spacing:-.04em;max-width:800px}
.mm-hero .mm-intro{margin:0;font-size:19px;line-height:1.45;max-width:540px}
.mm-hero .mm-intro p{margin:0 0 .6em}
.mm-hero .mm-intro p:last-child{margin-bottom:0}
.mm-hero--dark .mm-intro{color:#E8E8E8}

/* Type inside content */
.mm-h2,.mm-content h2{margin:0;font-size:32px;line-height:1.1;font-weight:300;letter-spacing:-.02em}
.mm-h3,.mm-content h3{margin:0;font-size:36px;line-height:1.05;font-weight:300;letter-spacing:-.02em}
.mm-content p{margin:0;font-size:16px;color:var(--mm-ink-2);max-width:520px}
.mm-content .mm-box p+p{margin-top:8px}
.mm-small{font-size:13px;color:var(--mm-muted)}
.mm-content a.mm-link,.mm-link{font-weight:600;text-decoration:underline;text-underline-offset:4px}

/* Pills */
.mm-pills{display:flex;flex-wrap:wrap;gap:8px}
.mm-pill{display:inline-flex;align-items:center;min-height:44px;padding:0 18px;border-radius:999px;border:1px solid #D4D4D4;font-size:13px;font-weight:600;background:transparent}
.mm-pill--solid{background:var(--mm-ink);border-color:var(--mm-ink);color:#fff}
.mm-pill--solid:hover{color:#fff;opacity:.85}
.mm-pill--big{min-height:48px;padding:0 24px;font-size:15px}
.mm-pill--outline{border-color:var(--mm-ink)}

/* Tables */
.mm-table-wrap{overflow-x:auto}
.mm-table{width:100%;border-collapse:collapse;font-size:16px}
.mm-table thead tr{border-bottom:1px solid var(--mm-line);text-align:left;font-size:12px;color:var(--mm-muted)}
.mm-table th{font-weight:600;padding:10px 12px 10px 0}
.mm-table td{padding:14px 12px 14px 0;border-bottom:1px solid var(--mm-line-soft)}
.mm-table tr:last-child td{border-bottom:0}
.mm-table td.mm-dim,.mm-table th.mm-dim{color:var(--mm-muted);font-size:14px}
.mm-table--releases{min-width:720px}
.mm-table--details th{text-align:left;font-weight:400;color:#5C5C5C;padding:10px 12px 10px 0;width:45%;border-bottom:1px solid var(--mm-line-soft)}
.mm-table--details td{padding:10px 0}

/* Lists */
.mm-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));column-gap:32px}
.mm-list li{display:flex;justify-content:space-between;gap:8px;padding:12px 0;border-bottom:1px solid var(--mm-line-soft)}
.mm-list li span:last-child{font-size:14px;color:#5C5C5C}
.mm-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:24px}
.mm-stats div{display:flex;flex-direction:column;gap:2px}
.mm-stats span:first-child{font-size:13px;color:#5C5C5C}
.mm-stats span:last-child{font-size:17px;font-weight:500}

/* Home */
.mm-home-top{display:flex;flex-wrap:wrap;gap:var(--mm-gap)}
.mm-home-hero{flex:1 1 360px;min-width:0;background:#F7E6E9;border-radius:var(--mm-radius);padding:40px 32px 32px;display:flex;flex-direction:column;justify-content:flex-end;gap:20px;min-height:420px}
.mm-home-hero h1{margin:0;font-size:clamp(56px,7vw,96px);line-height:.92;font-weight:300;letter-spacing:-.04em}
.mm-home-hero p{margin:0;font-size:17px;color:var(--mm-ink-2);max-width:420px}
.mm-slides{flex:1.4 1 520px;min-width:0;margin:0;background:#111;border-radius:var(--mm-radius);overflow:hidden;position:relative;aspect-ratio:3/2}
.mm-slides img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:grayscale(100%) contrast(1.05);opacity:0;transition:opacity .8s ease}
.mm-slides img.is-active{opacity:1}
@media (prefers-reduced-motion:reduce){.mm-slides img{transition:none}}
.mm-sections{display:grid;grid-template-columns:repeat(auto-fit,minmax(420px,1fr));gap:var(--mm-gap)}
@media (max-width:480px){.mm-sections{grid-template-columns:1fr}}
.mm-section{border-radius:var(--mm-radius);padding:32px;min-height:300px;display:flex;flex-direction:column;justify-content:space-between;gap:32px}
.mm-section__title{font-size:clamp(40px,4.5vw,56px);line-height:1.05;font-weight:300;letter-spacing:-.02em}
.mm-section__text{display:flex;flex-direction:column;gap:10px;max-width:520px}
.mm-section__text p{margin:0;font-size:17px;line-height:1.5}
.mm-section__text .mm-section__note{font-size:14px;color:var(--mm-ink-2)}
.mm-section--dark{color:#fff}
.mm-section--dark a,.mm-section--dark .mm-section__note{color:#fff}

/* Shop */
.mm-shop{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px}
.mm-content .mm-shop h2{font-size:44px;line-height:1.05}
.mm-shop p{margin-top:6px!important}
.mm-products{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:20px}
.mm-products a{display:flex;flex-direction:column;gap:10px}
.mm-products img{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:var(--mm-radius);background:var(--mm-footer)}
.mm-products__title{font-size:15px;font-weight:500;line-height:1.35}
.mm-products__price{font-size:14px;color:var(--mm-muted)}

/* Connect list */
.mm-connect{list-style:none;margin:0;padding:0;border-top:1px solid var(--mm-line-soft)}
.mm-connect li{border-bottom:1px solid var(--mm-line-soft)}
.mm-connect a{display:flex;justify-content:space-between;align-items:center;gap:16px;min-height:48px}
.mm-connect a span:first-child{font-size:16px;font-weight:500}
.mm-connect a span:last-child{font-size:14px;color:var(--mm-muted)}

/* Case studies */
.mm-case-head{display:flex;flex-direction:column;gap:16px}
.mm-back{font-size:13px;font-weight:600}
.mm-case-logo{background:#fff;border-radius:var(--mm-radius);width:320px;max-width:100%;aspect-ratio:3/2;display:flex;align-items:center;justify-content:center;padding:32px}
.mm-case-logo img{max-width:100%;max-height:100%;object-fit:contain;mix-blend-mode:multiply}
.mm-results{list-style:none;margin:0;padding:0;border-top:1px solid var(--mm-line-soft)}
.mm-results li{padding:10px 0;border-bottom:1px solid var(--mm-line-soft);font-size:16px}
.mm-quote{margin:8px 0 0;font-size:22px;line-height:1.35;font-weight:300}
.mm-quote cite{display:block;margin-top:8px;font-size:13px;font-style:normal;color:var(--mm-muted)}
.mm-pics{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:var(--mm-gap)}
.mm-pics img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:var(--mm-radius)}
.mm-pics .mm-ph{aspect-ratio:4/3;border-radius:var(--mm-radius);border:1px dashed #BDBDBD;display:flex;align-items:center;justify-content:center;font-size:13px;color:var(--mm-muted)}

/* Our story */
.mm-story{flex-direction:row;flex-wrap:wrap;gap:24px 48px;padding:32px}
.mm-content .mm-story h2{flex:1 1 260px;font-size:44px;line-height:1.05}
.mm-story>div{flex:3 1 480px;min-width:0;display:flex;flex-direction:column;gap:16px;max-width:760px}
.mm-content .mm-story p{font-size:17px;line-height:1.6;max-width:none}

/* Brand logos (inside Brands & Projects) */
.mm-brands{display:flex;flex-direction:column;gap:10px;padding-top:16px;border-top:1px solid var(--mm-line-soft)}
.mm-brands>span{font-size:12px;font-weight:600;color:var(--mm-muted)}
.mm-logos{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px 16px}
.mm-logos li{display:flex;align-items:center;justify-content:center;height:44px}
.mm-logos img{max-width:100%;max-height:26px;width:auto;height:auto;object-fit:contain;mix-blend-mode:multiply}

/* Label boxes */
.mm-label{min-height:180px;justify-content:space-between;gap:20px}
.mm-label h2{margin:0;font-size:44px;line-height:1.05;font-weight:300;letter-spacing:-.02em}

/* Release page */
.mm-release-top{display:flex;flex-wrap:wrap;gap:var(--mm-gap)}
.mm-artwork{flex:0 1 420px;min-width:280px;aspect-ratio:1/1;border-radius:var(--mm-radius);overflow:hidden;border:1px solid var(--mm-line)}
.mm-artwork img{width:100%;height:100%;object-fit:cover}
.mm-artwork--empty{border-style:dashed;border-color:#BDBDBD;display:flex;align-items:center;justify-content:center;text-align:center;padding:24px;color:var(--mm-muted)}
.mm-release-hero{flex:999 1 480px;min-width:0;background:var(--mm-accent);border-radius:var(--mm-radius);padding:40px 32px 32px;display:flex;flex-direction:column;justify-content:space-between;gap:32px}
.mm-release-hero .mm-artist{margin:0;font-size:20px}
.mm-release-hero h1{margin:0;font-size:clamp(52px,7vw,96px);line-height:.92;font-weight:300;letter-spacing:-.04em}
.mm-release-hero .mm-meta{margin:8px 0 0;font-size:15px;color:var(--mm-ink-2)}
.mm-release-hero .mm-date{display:flex;flex-direction:column;gap:2px}
.mm-release-hero .mm-date strong{font-size:13px}
.mm-release-hero .mm-date span{font-size:15px;color:var(--mm-ink-2)}

/* Password form */
.mm-protected{max-width:560px}
.mm-protected form{display:flex;flex-direction:column;gap:12px}
.mm-protected label{font-size:13px;font-weight:600;display:flex;flex-direction:column;gap:6px}
.mm-protected input[type="password"]{min-height:48px;padding:0 14px;border:1px solid #BDBDBD;border-radius:var(--mm-radius);font:inherit;font-size:16px}
.mm-protected input[type="submit"]{align-self:flex-start;min-height:48px;padding:0 24px;border-radius:999px;border:0;background:var(--mm-ink);color:#fff;font:inherit;font-weight:600;cursor:pointer}

/* Footer */
.mm-footer{background:var(--mm-footer);border-radius:var(--mm-radius);padding:24px;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:24px;font-size:13px}
.mm-footer img{height:13px;width:auto}
.mm-footer a{font-weight:600}
.mm-footer span{color:var(--mm-muted)}

/* WordPress bits */
.alignleft{float:left;margin:0 20px 10px 0}
.alignright{float:right;margin:0 0 10px 20px}
.aligncenter{margin-left:auto;margin-right:auto}
.wp-caption-text{font-size:13px;color:var(--mm-muted)}

/* Sync case study headline stat */
.mm-stat{display:flex;flex-direction:column;justify-content:space-between;gap:12px;background:#CEDCE3;border-color:transparent}
.mm-stat__num{margin:0;font-size:96px;line-height:.92;font-weight:300;letter-spacing:-.04em}

/* Label logos beside the label name (Records) */
.mm-label__head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.mm-label__head h2{font-size:34px;flex:1 1 auto}
.mm-label__logo{height:auto;width:auto;max-height:30px;max-width:64px;object-fit:contain;flex:0 0 auto;margin-top:6px}
.mm-label__logo--stress,.mm-label__logo--full-circle,.mm-label__logo--pressure{max-height:40px;max-width:44px}
.mm-label__logo--material-music{max-height:14px;max-width:96px;margin-top:14px}
/* Artist portal */
.mm-login{max-width:560px}
.mm-login form p{display:flex;flex-direction:column;gap:6px;margin:0 0 14px}
.mm-login input[type=text],.mm-login input[type=password]{min-height:48px;border:1px solid #BDBDBD;border-radius:6px;padding:0 14px;font:inherit}
.mm-login .login-remember{flex-direction:row;align-items:center}
.mm-login input[type=submit]{min-height:48px;padding:0 24px;border:0;border-radius:999px;background:#111;color:#fff;font:inherit;font-weight:600;cursor:pointer}
.mm-portal-list{list-style:none;margin:16px 0 0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:10px}
.mm-portal-list a{display:flex;flex-direction:column;gap:10px;border:1px solid #E4E4E4;border-radius:6px;padding:12px}
.mm-portal-list img{width:100%;height:auto;aspect-ratio:1/1;object-fit:cover;border-radius:4px}
.mm-portal-list__text{display:flex;flex-direction:column;gap:2px}

/* Label branding on artist release pages */
.mm-labelbar{display:flex;flex-wrap:wrap;align-items:center;gap:14px 24px;padding:18px 28px;border-radius:6px;font-size:13px;font-weight:600;letter-spacing:.06em;text-transform:uppercase}
.mm-labelbar img{height:34px;width:auto;display:block}
.mm-labelbar__links{margin-left:auto;display:flex;gap:20px}
.mm-labelbar__links a{color:inherit;text-decoration:underline;text-underline-offset:4px}
.mm-labelbar--dansu-discs{background:#fff;color:#000;border:2px solid #000}
body:has(.mm-labelbar--dansu-discs) :is(.mm-release-top,.mm-release-body){font-family:brandon-grotesque,"Brandon Grotesque","Josefin Sans",Futura,"Helvetica Neue",Arial,sans-serif}
body:has(.mm-labelbar--dansu-discs) .mm-release-hero{background:#fff!important;color:#000;border:2px solid #000}
body:has(.mm-labelbar--dansu-discs) .mm-release-hero h1{text-transform:uppercase;letter-spacing:.02em;line-height:1}
body:has(.mm-labelbar--dansu-discs) .mm-release-body [style*="#F6E3C6"]{background:#F2F2F2!important}
.mm-labelbar--future-disco{background:#000;color:#fff}
.mm-labelbar--future-disco img{filter:invert(1)}
body:has(.mm-labelbar--future-disco) .mm-release-hero{background:#000!important;color:#fff}
body:has(.mm-labelbar--future-disco) .mm-release-hero .mm-pill--solid{background:#FF0000;border-color:#FF0000;color:#fff}
body:has(.mm-labelbar--future-disco) .mm-release-hero .mm-pill--outline{border-color:#fff;color:#fff}
body:has(.mm-labelbar--future-disco) .mm-release-hero .mm-date span,body:has(.mm-labelbar--future-disco) .mm-release-hero .mm-meta{color:#ccc}
body:has(.mm-labelbar--future-disco) .mm-release-body [style*="#F6E3C6"]{background:#000!important}
body:has(.mm-labelbar--future-disco) .mm-release-body [style*="#F6E3C6"] span{color:#fff!important}
body:has(.mm-labelbar--future-disco) .mm-release-body a[style*="#111111"]{background:#FF0000!important}
