/*
Theme Name: MillionDollar Ideas Theme
Theme URI: https://www.milliondollarideasltd.com
Author: MDI
Description: Light, editorial "credibility webapp" theme for MillionDollar Ideas (MDI) — Africa's creative growth partner. Streaming-inspired roster + artist pages, warm-paper palette, gold/emerald accents, Space Grotesk + DM Sans.
Version: 3.0
Text Domain: milliondollar-ideas
*/

/* =========================================================
   1. Design Tokens — cooler "less creamy" paper palette
   ========================================================= */
:root {
    --paper:        #F3F2EE; /* page background — cooler off-white, less yellow */
    --paper-2:      #FBFAF7; /* raised surfaces / cards */
    --paper-3:      #ECEAE4; /* sunken bands */
    --ink:          #141414; /* near-black text + primary button */
    --ink-2:        #2B2B29;
    --ink-soft:     #6B6B64; /* muted body */
    --ink-faint:    #9A9A92;
    --line:         rgba(20, 20, 20, 0.10);
    --line-strong:  rgba(20, 20, 20, 0.18);
    --gold:         #EBB53F; /* refined gold accent */
    --gold-bright:  #F5C518; /* chip / highlight fill */
    --gold-soft:    #F7E7B6;
    --emerald:      #0E7C6B; /* deep emerald/teal eyebrow accent */
    --emerald-soft: #DCEDE9;

    --r:      22px;
    --r-lg:   30px;
    --r-sm:   14px;
    --r-pill: 999px;

    --container: 1180px;
    --header-h:  76px;

    --shadow-sm: 0 1px 2px rgba(20,20,20,.04), 0 4px 14px rgba(20,20,20,.05);
    --shadow-md: 0 6px 20px rgba(20,20,20,.07), 0 20px 50px rgba(20,20,20,.08);
    --shadow-lg: 0 20px 60px rgba(20,20,20,.14);

    --ease: cubic-bezier(.22,.61,.36,1);
    --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
    --font-body: "DM Sans", system-ui, -apple-system, sans-serif;
}

/* =========================================================
   2. Reset + base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--paper);
    color: var(--ink);
    line-height: 1.6;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

/* subtle paper grain */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: .5;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.035'/%3E%3C/svg%3E");
}
#page, .site-header, .site-footer { position: relative; z-index: 1; }

img { max-width: 100%; height: auto; display: block; }

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

h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--ink);
}

p { color: var(--ink-2); }

::selection { background: var(--gold-soft); color: var(--ink); }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 28px;
}

.material-symbols-rounded {
    font-family: 'Material Symbols Rounded', sans-serif;
    font-weight: normal;
    font-style: normal;
    display: inline-block;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    line-height: 1;
    vertical-align: middle;
    letter-spacing: normal;
    text-transform: none;
    white-space: nowrap;
    -webkit-font-smoothing: antialiased;
    font-feature-settings: 'liga';
    -webkit-font-feature-settings: 'liga';
}

/* Inline SVG icons — used for nav/search/tab bar (no font flash). */
.mdi-icon {
    display: block;
    width: 1em;
    height: 1em;
    flex-shrink: 0;
}
.header-search .mdi-icon { width: 22px; height: 22px; }
.menu-toggle .mdi-icon { width: 26px; height: 26px; }
.roster-search .mdi-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: var(--ink-faint);
}

.eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 12px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--emerald);
    margin-bottom: 18px;
}

.section-label {
    font-weight: 600;
    font-size: 12px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--emerald);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(30px, 4.2vw, 52px);
    max-width: 18ch;
}

/* =========================================================
   3. Buttons
   ========================================================= */
.button-primary,
.button-secondary,
.button-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 15px;
    padding: 15px 26px;
    border-radius: var(--r-pill);
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .35s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease), color .3s var(--ease);
    white-space: nowrap;
}
.button-primary .material-symbols-rounded,
.button-outline .material-symbols-rounded { font-size: 20px; transition: transform .35s var(--ease); }

.button-primary {
    background: var(--ink);
    color: #fff;
    box-shadow: var(--shadow-sm);
}
.button-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.button-primary:hover .material-symbols-rounded { transform: translate(3px, -3px); }

.button-outline {
    background: transparent;
    color: var(--ink);
    border-color: var(--line-strong);
}
.button-outline:hover { background: var(--ink); color: #fff; border-color: var(--ink); transform: translateY(-2px); }

.button-secondary {
    background: var(--paper-2);
    color: var(--ink);
    border-color: var(--line);
    box-shadow: var(--shadow-sm);
}
.button-secondary:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 15px;
    color: var(--ink);
    transition: gap .3s var(--ease), color .3s var(--ease);
}
.text-link .material-symbols-rounded { font-size: 19px; transition: transform .3s var(--ease); }
.text-link:hover { color: var(--emerald); gap: 10px; }

.icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    border-radius: var(--r-pill);
    background: var(--paper-2);
    border: 1px solid var(--line);
    color: var(--ink);
    cursor: pointer;
    transition: transform .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
}
.icon-button:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }

/* =========================================================
   4. Header
   ========================================================= */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--header-h);
    z-index: 100;
    display: flex;
    align-items: center;
    transition: background .4s var(--ease), box-shadow .4s var(--ease), backdrop-filter .4s var(--ease);
}
.site-header.is-scrolled {
    background: rgba(243, 242, 238, 0.82);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    box-shadow: 0 1px 0 var(--line);
}
.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.site-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 24px;
    letter-spacing: -0.03em;
    color: var(--ink);
}
.custom-logo { max-height: 40px; width: auto; }

/* MDI logo lockup (emblem badge + wordmark) */
.mdi-logo-link { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; }
.mdi-logo {
    display: block;
    height: 42px;
    width: auto;
    background: #0f1013;
    padding: 8px 11px;
    border-radius: 13px;
    box-shadow: 0 5px 16px rgba(15, 16, 19, .2);
}
.mdi-wordmark {
    display: inline-flex;
    align-items: baseline;
    gap: 0.3em;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 19px;
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--ink);
    text-transform: none;
    white-space: nowrap;
}
.mdi-wordmark span { color: var(--ink-soft); font-weight: 600; }
.mobile-menu-top .mdi-logo { height: 40px; }
.mdi-logo-link--footer { margin-bottom: 16px; }
.mdi-logo--footer { height: 46px; }

.main-navigation {
    display: flex;
    align-items: center;
    gap: 34px;
}
.main-navigation ul {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
    padding: 0;
}
.main-navigation ul a {
    font-weight: 500;
    font-size: 15px;
    color: var(--ink-2);
    position: relative;
    padding: 4px 0;
    transition: color .3s var(--ease);
}
.main-navigation ul a::after {
    content: "";
    position: absolute;
    left: 0; bottom: -2px;
    width: 100%; height: 1.5px;
    background: var(--ink);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .35s var(--ease);
}
.main-navigation ul a:hover { color: var(--ink); }
.main-navigation ul a:hover::after { transform: scaleX(1); transform-origin: left; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.header-search {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px; height: 42px;
    border-radius: var(--r-pill);
    border: 1px solid var(--line);
    background: var(--paper-2);
    color: var(--ink);
    transition: background .3s var(--ease), color .3s var(--ease);
}
.header-search:hover { background: var(--ink); color: #fff; }
.header-cta { padding: 12px 22px; }

.menu-toggle {
    display: none;
    background: var(--paper-2);
    border: 1px solid var(--line);
    color: var(--ink);
    width: 44px; height: 44px;
    border-radius: var(--r-pill);
    cursor: pointer;
    align-items: center;
    justify-content: center;
}
.menu-toggle .material-symbols-rounded { font-size: 26px; }

/* =========================================================
   5. Hero
   ========================================================= */
.site-main { padding-top: 0; }

.hero-section {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding: calc(var(--header-h) + 40px) 0 60px;
    overflow: visible;
}

/* Subtle ambient background video, tinted to the palette + kept faint */
.hero-section .container { position: relative; z-index: 1; }
.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
    width: 100%;
}
.hero-copy { max-width: 620px; }
.hero-eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--emerald);
    margin-bottom: 22px;
}
.hero-title {
    font-size: clamp(40px, 5vw, 62px);
    letter-spacing: -0.03em;
    line-height: 1.08;
    max-width: 16ch;
}
.hero-title .accent {
    font-style: italic;
    font-family: var(--font-display);
    font-weight: 500;
}
.hero-title .accent-a { color: var(--gold); }
.hero-title .accent-b { color: var(--emerald); }
.hero-subtitle {
    font-size: clamp(17px, 1.4vw, 20px);
    color: var(--ink-soft);
    margin-top: 26px;
    max-width: 44ch;
}
.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 36px;
}
.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--line);
}
.hero-stat .num {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 30px;
    letter-spacing: -0.03em;
}
.hero-stat .lbl {
    font-size: 13px;
    color: var(--ink-soft);
    margin-top: 2px;
}

/* Hero media (portrait + subtle looping video) */
.hero-media {
    position: relative;
    border-radius: var(--r-lg);
    overflow: hidden;
    aspect-ratio: 4 / 5;
    box-shadow: var(--shadow-lg);
    background: var(--paper-3);
}
.hero-media img,
.hero-media video {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
}
.hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(20,20,20,.42) 100%);
}
.hero-media-tag {
    position: absolute;
    left: 18px; bottom: 18px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: var(--r-pill);
    background: rgba(251,250,247,.9);
    backdrop-filter: blur(8px);
    box-shadow: var(--shadow-sm);
    font-size: 13px;
    font-weight: 600;
}
.hero-media-tag .eq { display: inline-flex; gap: 2px; align-items: flex-end; height: 14px; }
.hero-media-tag .eq span { width: 3px; background: var(--emerald); border-radius: 2px; animation: eq 1s ease-in-out infinite; }
.hero-media-tag .eq span:nth-child(1){ height: 6px; animation-delay: -.2s; }
.hero-media-tag .eq span:nth-child(2){ height: 13px; animation-delay: -.5s; }
.hero-media-tag .eq span:nth-child(3){ height: 9px;  animation-delay: -.1s; }
.hero-media-tag .eq span:nth-child(4){ height: 12px; animation-delay: -.35s; }
@keyframes eq { 0%,100%{ transform: scaleY(.4);} 50%{ transform: scaleY(1);} }

/* =========================================================
   6. Trusted by
   ========================================================= */
.trusted-by {
    padding: 44px 0;
    border-top: 1px solid var(--line);
}
.trusted-by-inner {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: space-between;
}
.trusted-by-label {
    font-size: 12px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--ink-faint);
    font-weight: 600;
    white-space: nowrap;
}
.trusted-logos {
    display: flex;
    align-items: center;
    gap: 46px;
    flex-wrap: wrap;
}
.trusted-logos span {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 19px;
    color: var(--ink-faint);
    letter-spacing: -0.01em;
    transition: color .3s var(--ease);
}
.trusted-logos span:hover { color: var(--ink); }
.trusted-logo { display: inline-flex; align-items: center; }
.trusted-logo img {
    height: 30px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    opacity: 1;
    transition: transform .3s var(--ease);
}
.trusted-logo:hover img { transform: scale(1.06); }

/* =========================================================
   7. Section shell
   ========================================================= */
.section { padding: clamp(72px, 9vw, 128px) 0; }
.section-head {
    max-width: 720px;
    margin-bottom: 56px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--ink-soft); margin-top: 16px; font-size: 18px; }

.band-sunken { background: var(--paper-3); }

/* =========================================================
   8. What we do
   ========================================================= */
.what-we-do { padding: clamp(72px, 9vw, 128px) 0; }
.wwd-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 56px;
}
.wwd-intro h2 { font-size: clamp(28px, 3.4vw, 44px); }
.wwd-intro p { color: var(--ink-soft); margin: 20px 0 28px; }

.wwd-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.glass-card {
    background: var(--paper-2);
    border: 1px solid var(--line);
    border-radius: var(--r);
    box-shadow: var(--shadow-sm);
    transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.glass-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }

.service-card { padding: 28px; display: flex; flex-direction: column; }
.service-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.service-card-icon {
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--ink);
}
.service-card-icon .material-symbols-rounded { font-size: 34px; }
.service-card-number { font-family: var(--font-display); font-weight: 600; color: var(--ink-faint); font-size: 15px; }
.service-card h3 { font-size: 21px; margin-bottom: 10px; }
.accent-line { display: block; width: 34px; height: 3px; border-radius: 3px; background: var(--gold); margin-bottom: 14px; }
.service-card p { font-size: 15px; color: var(--ink-soft); flex: 1; }
.service-card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 22px; }

/* =========================================================
   9. Featured artists / roster cards
   ========================================================= */
.featured-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 42px;
}
.featured-head h2 { font-size: clamp(28px, 3.6vw, 46px); }
.carousel-controls { display: flex; align-items: center; gap: 10px; }

.artist-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(260px, 1fr);
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 14px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}
.artist-track::-webkit-scrollbar { display: none; }

.artist-card {
    scroll-snap-align: start;
    position: relative;
    border-radius: var(--r);
    overflow: hidden;
    background: var(--paper-3);
    aspect-ratio: 3 / 4;
    box-shadow: var(--shadow-sm);
    transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.artist-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.artist-card img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .8s var(--ease);
}
.artist-card:hover img { transform: scale(1.06); }
.artist-card::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 42%, rgba(20,20,20,.78) 100%);
}
.artist-card.is-featured { outline: 2px solid var(--gold-bright); outline-offset: -2px; }
.artist-card-body {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    z-index: 2;
    padding: 20px;
    color: #fff;
}
.artist-card-body h4 { color: #fff; font-size: 21px; }
.artist-card-genre { font-size: 13px; color: rgba(255,255,255,.78); margin-top: 3px; }
.artist-card-stat {
    display: inline-flex; align-items: center; gap: 5px;
    margin-top: 12px;
    font-size: 13px; font-weight: 600;
    color: var(--gold-bright);
}
.artist-card-stat .material-symbols-rounded { font-size: 17px; }
.artist-card .play-fab {
    position: absolute;
    top: 16px; right: 16px;
    z-index: 3;
    width: 44px; height: 44px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: rgba(251,250,247,.92);
    color: var(--ink);
    opacity: 0;
    transform: translateY(6px) scale(.9);
    transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.artist-card:hover .play-fab { opacity: 1; transform: translateY(0) scale(1); }
.artist-badge {
    position: absolute; top: 16px; left: 16px; z-index: 3;
    padding: 5px 11px;
    border-radius: var(--r-pill);
    background: var(--gold-bright);
    color: var(--ink);
    font-size: 11px; font-weight: 700;
    letter-spacing: .05em; text-transform: uppercase;
}

/* Roster (archive) */
.roster-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.roster-grid .artist-card:nth-child(6n+1) { aspect-ratio: 3 / 4.4; }
.roster-grid .artist-card:nth-child(6n+4) { aspect-ratio: 3 / 4.4; }

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 36px;
}
.filter-chip {
    padding: 10px 18px;
    border-radius: var(--r-pill);
    border: 1px solid var(--line-strong);
    background: transparent;
    color: var(--ink-2);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.filter-chip:hover { border-color: var(--ink); }
.filter-chip.is-active { background: var(--gold-bright); border-color: var(--gold-bright); color: var(--ink); }

.roster-search {
    position: relative;
    margin-left: auto;
    min-width: 240px;
}
.roster-search input {
    width: 100%;
    padding: 12px 16px 12px 42px;
    border-radius: var(--r-pill);
    border: 1px solid var(--line-strong);
    background: var(--paper-2);
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--ink);
}
.roster-search input:focus { outline: none; border-color: var(--ink); }

/* =========================================================
   10. Single artist profile
   ========================================================= */
.artist-hero {
    padding-top: calc(var(--header-h) + 40px);
}
.artist-hero-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 48px;
    align-items: end;
}
.artist-portrait {
    position: relative;
    border-radius: var(--r-lg);
    overflow: hidden;
    aspect-ratio: 4 / 5;
    box-shadow: var(--shadow-lg);
    background: var(--paper-3);
}
.artist-portrait img { width: 100%; height: 100%; object-fit: cover; }
.artist-hero-copy .eyebrow { color: var(--emerald); }
.artist-hero-name {
    font-size: clamp(48px, 8vw, 104px);
    letter-spacing: -0.04em;
    line-height: 0.9;
}
.artist-hero-genre { font-size: 18px; color: var(--ink-soft); margin-top: 14px; }
.artist-hero-copy .hero-buttons { margin-top: 30px; }

.impact-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 46px;
    padding-top: 34px;
    border-top: 1px solid var(--line);
}
.impact-stat .num {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(30px, 4vw, 46px);
    letter-spacing: -0.03em;
}
.impact-stat .lbl {
    font-size: 12px; font-weight: 600;
    letter-spacing: .12em; text-transform: uppercase;
    color: var(--emerald);
    margin-top: 6px;
}

.releases-list { margin-top: 12px; }
.release-row {
    display: grid;
    grid-template-columns: 56px 1fr auto;
    gap: 18px;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    transition: padding-left .3s var(--ease);
}
.release-row:hover { padding-left: 8px; }
.release-cover { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; background: var(--paper-3); }
.release-info h4 { font-size: 18px; }
.release-info span { font-size: 14px; color: var(--ink-soft); }
.release-year { font-family: var(--font-display); font-weight: 600; color: var(--ink-faint); }

.artist-about p { font-size: 18px; color: var(--ink-2); max-width: 62ch; }
.artist-about p + p { margin-top: 18px; }

/* =========================================================
   11. Services / About / Contact
   ========================================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.service-item { padding: 30px; }
.service-icon {
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--emerald);
    font-size: 34px;
    margin-bottom: 16px;
}
.service-item h3 { font-size: 20px; margin-bottom: 10px; }
.service-item p { font-size: 15px; color: var(--ink-soft); }

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 64px;
}
.about-stat {
    padding: 28px;
    border-radius: var(--r);
    background: var(--paper-2);
    border: 1px solid var(--line);
}
.about-stat .num { font-family: var(--font-display); font-weight: 600; font-size: 40px; letter-spacing: -.03em; }
.about-stat .num .plus { color: var(--gold); }
.about-stat .lbl { color: var(--ink-soft); font-size: 14px; margin-top: 6px; }

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.team-card { overflow: hidden; }
.team-photo { aspect-ratio: 1 / 1; background: var(--paper-3); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-body { padding: 22px; }
.team-body h4 { font-size: 19px; }
.team-role { color: var(--emerald); font-size: 14px; font-weight: 600; margin-top: 3px; }
.team-bio {
    margin-top: 12px;
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--ink-soft);
}

.contact-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 48px;
}
.contact-info h2 { font-size: clamp(28px, 3.6vw, 46px); }
.contact-info p { color: var(--ink-soft); margin: 18px 0 30px; }
.contact-detail { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.contact-detail .material-symbols-rounded {
    width: 46px; height: 46px; border-radius: 12px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--paper-2); border: 1px solid var(--line); color: var(--emerald);
}
.contact-detail b { display: block; font-family: var(--font-display); }
.contact-detail span { font-size: 14px; color: var(--ink-soft); }

.contact-form {
    background: var(--paper-2);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 34px;
    box-shadow: var(--shadow-sm);
}
.field { position: relative; margin-bottom: 20px; }
.field input, .field textarea {
    width: 100%;
    padding: 16px 16px 16px;
    border: 1px solid var(--line-strong);
    border-radius: var(--r-sm);
    background: var(--paper);
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--ink);
    transition: border-color .3s var(--ease);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--emerald); }
.field label {
    position: absolute; left: 14px; top: 16px;
    color: var(--ink-faint); font-size: 15px;
    pointer-events: none; transition: all .2s var(--ease);
    background: var(--paper-2); padding: 0 5px;
}
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label {
    top: -9px; font-size: 12px; color: var(--emerald);
}
.form-status { font-size: 14px; margin-top: 12px; min-height: 20px; }

/* Inner page hero (services/about/contact/roster) */
.page-hero {
    padding: calc(var(--header-h) + 64px) 0 24px;
}
.page-hero .eyebrow { color: var(--emerald); }
.page-hero h1 { font-size: clamp(40px, 6vw, 78px); letter-spacing: -0.035em; }
.page-hero p { color: var(--ink-soft); font-size: 19px; margin-top: 18px; max-width: 56ch; }

/* =========================================================
   11b. Partners
   ========================================================= */
.partner-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.partner-card { padding: 30px; }
.partner-logo {
    width: 72px; height: 72px;
    border-radius: 16px;
    background: var(--ink);
    color: var(--gold-bright);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
    margin-bottom: 22px;
}
.partner-logo img { width: 100%; height: 100%; object-fit: cover; }
.partner-logo.has-logo {
    width: 100%;
    height: 96px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 18px 22px;
    justify-content: center;
}
.partner-logo.has-logo img { width: auto; height: 100%; max-width: 100%; object-fit: contain; object-position: center; }
.partner-mono { font-family: var(--font-display); font-weight: 700; font-size: 24px; letter-spacing: -0.02em; }
.partner-card h3 { font-size: 21px; margin-bottom: 10px; }
.partner-card p { color: var(--ink-soft); font-size: 15px; }

/* =========================================================
   11c. Team monogram
   ========================================================= */
.team-mono {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(150deg, var(--paper-3), #e2e0d8);
    color: var(--ink);
}
.team-mono span {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 64px;
    letter-spacing: -0.03em;
    opacity: .55;
}

/* =========================================================
   11d. Testimonials
   ========================================================= */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    align-items: start;
}
.testimonial-card {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.testimonial-card::after { display: none; }
.testimonial-card:hover { transform: translateY(-4px); }
.quote-mark { font-size: 40px; color: var(--gold); line-height: 1; }
.testimonial-card blockquote {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 19px;
    line-height: 1.4;
    letter-spacing: -0.01em;
    color: var(--ink);
    margin: 0;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testimonial-avatar {
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--emerald-soft); color: var(--emerald);
    display: inline-flex; align-items: center; justify-content: center;
    font-family: var(--font-display); font-weight: 600;
}
.testimonial-author b { display: block; font-family: var(--font-display); font-size: 16px; }
.testimonial-author small { color: var(--ink-soft); font-size: 13px; }

/* =========================================================
   11e. Blog
   ========================================================= */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.blog-card { overflow: hidden; display: flex; flex-direction: column; }
.blog-card-media {
    aspect-ratio: 16 / 10;
    background: var(--paper-3);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.blog-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.blog-card:hover .blog-card-media img { transform: scale(1.05); }
.blog-card-media .material-symbols-rounded { font-size: 44px; color: var(--ink-faint); }
.blog-card-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.blog-date { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--emerald); font-weight: 600; }
.blog-card-body h3 { font-size: 21px; line-height: 1.15; }
.blog-card-body p { color: var(--ink-soft); font-size: 15px; flex: 1; }
.post-content p { font-size: 18px; margin-bottom: 18px; }
.post-content h2, .post-content h3 { margin: 32px 0 12px; }

/* =========================================================
   11f. Horizontal scroll experience (About)
   ========================================================= */
.hscroll { position: relative; }
.hscroll-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
}
.hscroll-track {
    display: flex;
    flex-wrap: nowrap;
    height: 100%;
    width: max-content;
    will-change: transform;
}
.hpanel {
    flex: 0 0 100vw;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(var(--header-h) + 30px) 6vw 60px;
    position: relative;
    overflow: hidden;
}
.hpanel-inner {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
}
.hpanel-index {
    display: inline-block;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 12px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--ink-faint);
    margin-bottom: 22px;
}
.hpanel-title {
    font-size: clamp(34px, 4.6vw, 68px);
    letter-spacing: -0.035em;
    line-height: 1.02;
    max-width: 20ch;
}
.hpanel-title .accent {
    font-style: italic;
    font-weight: 500;
}
.hpanel-title .accent-a { color: var(--gold); }
.hpanel-title .accent-b { color: var(--emerald); }
.hpanel-lead {
    font-size: clamp(17px, 1.5vw, 21px);
    color: var(--ink-soft);
    max-width: 52ch;
    margin-top: 26px;
}
.scroll-hint {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 46px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--ink-soft);
}
.scroll-hint .material-symbols-rounded { animation: nudge 1.4s var(--ease) infinite; }
@keyframes nudge { 0%,100%{ transform: translateX(0);} 50%{ transform: translateX(6px);} }

.hpanel-split {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 56px;
    align-items: center;
}
.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin-top: 8px;
    max-width: 860px;
}
.mv-grid .service-card { padding: 34px; }
.mv-grid .service-card h3 { font-size: 24px; margin-bottom: 12px; }

.team-row {
    display: flex;
    gap: 24px;
    margin-top: 40px;
    flex-wrap: nowrap;
    justify-content: flex-start;
    max-width: 840px;
    width: 100%;
}
.team-row .team-card {
    flex: 1 1 0;
    max-width: 440px;
    min-width: 0;
    display: flex;
    align-items: stretch;
    text-align: left;
}
.team-row .team-photo {
    flex: 0 0 172px;
    aspect-ratio: auto;
    align-self: stretch;
    min-height: 240px;
}
.team-row .team-body { flex: 1 1 auto; min-width: 0; padding: 24px 26px; }
.team-row .team-mono span { font-size: 50px; }
.team-card.is-placeholder { border-style: dashed; border-color: var(--line-strong); background: transparent; }
.team-mono--ph {
    background: repeating-linear-gradient(45deg, var(--paper-3), var(--paper-3) 10px, #e6e4dd 10px, #e6e4dd 20px);
    color: var(--ink-faint);
}
.team-mono--ph span { font-size: 46px; font-weight: 300; line-height: 1; }

.hpanel-cta {
    background: var(--ink);
    color: #fff;
}
.hpanel-cta .hpanel-title { color: #fff; margin: 0 auto; }
.hpanel-cta .button-primary { background: var(--gold-bright); color: var(--ink); }
.hpanel-cta .button-primary:hover { background: #fff; }

.hscroll-progress {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--line);
    z-index: 6;
}
.hscroll-progress span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--gold), var(--emerald));
    transform: scaleX(0);
    transform-origin: left;
}

/* =========================================================
   12. Final CTA band
   ========================================================= */
.cta-band {
    margin: 0 0 0;
    padding: clamp(60px, 8vw, 110px) 0;
    background: var(--ink);
    color: #fff;
    text-align: center;
}
.cta-band h2 { color: #fff; font-size: clamp(32px, 5vw, 60px); max-width: 16ch; margin: 0 auto; }
.cta-band p { color: rgba(255,255,255,.7); margin: 20px auto 34px; max-width: 46ch; }
.cta-band .button-primary { background: var(--gold-bright); color: var(--ink); }
.cta-band .button-primary:hover { background: #fff; }
.cta-band .button-outline { color: #fff; border-color: rgba(255,255,255,.32); }
.cta-band .button-outline:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* Compact single-line CTA (headline + button on one row) */
.cta-band--inline { padding: clamp(34px, 4vw, 52px) 0; text-align: left; }
.cta-band--inline .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}
.cta-band--inline h2 { font-size: clamp(26px, 3.2vw, 40px); max-width: 22ch; margin: 0; }
.cta-band--inline .hero-buttons { margin: 0 !important; justify-content: flex-end !important; flex-shrink: 0; }
@media (max-width: 640px) {
    .cta-band--inline { text-align: center; }
    .cta-band--inline .container { justify-content: center; }
    .cta-band--inline .hero-buttons { justify-content: center !important; width: 100%; }
}

/* =========================================================
   13. Footer
   ========================================================= */
.site-footer {
    background: var(--paper-2);
    border-top: 1px solid var(--line);
    padding: 68px 0 40px;
}
.footer-top {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 44px;
    border-bottom: 1px solid var(--line);
}
.footer-brand .site-title { display: inline-block; margin-bottom: 14px; }
.footer-brand p { color: var(--ink-soft); font-size: 15px; max-width: 40ch; }
.footer-col h5 { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 16px; }
.footer-col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { color: var(--ink-2); font-size: 15px; transition: color .3s var(--ease); }
.footer-col ul a:hover { color: var(--emerald); }
.footer-bottom {
    display: flex; align-items: center; justify-content: space-between;
    gap: 20px; flex-wrap: wrap;
    padding-top: 28px;
}
.site-info { color: var(--ink-faint); font-size: 14px; }
.footer-social-links { display: flex; gap: 10px; }
.social-icon {
    width: 42px; height: 42px; border-radius: var(--r-pill);
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--paper); border: 1px solid var(--line); color: var(--ink);
    transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.social-icon:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }

/* =========================================================
   14. Mobile menu + tab bar
   ========================================================= */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: var(--paper);
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    transform: translateY(-100%);
    transition: transform .5s var(--ease);
    visibility: hidden;
}
.mobile-menu.is-open { transform: translateY(0); visibility: visible; }
.mobile-menu-top { display: flex; align-items: center; justify-content: space-between; }
.mobile-menu nav { margin-top: 40px; display: flex; flex-direction: column; gap: 6px; }
.mobile-menu nav a {
    font-family: var(--font-display);
    font-size: 34px; font-weight: 600;
    letter-spacing: -0.02em;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    display: flex; align-items: center; justify-content: space-between;
}
.mobile-menu .button-primary { margin-top: auto; justify-content: center; }

.mobile-tabbar {
    display: none;
    position: fixed;
    left: 50%; bottom: 16px;
    transform: translateX(-50%);
    z-index: 90;
    width: calc(100% - 32px);
    max-width: 460px;
    padding: 8px;
    background: rgba(251,250,247,.9);
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    border: 1px solid var(--line);
    border-radius: var(--r-pill);
    box-shadow: var(--shadow-md);
    justify-content: space-around;
}
.mobile-tabbar a {
    display: flex; flex-direction: column; align-items: center; gap: 2px;
    font-size: 10px; font-weight: 600;
    color: var(--ink-soft);
    padding: 6px 14px;
    border-radius: var(--r-pill);
}
.mobile-tabbar a .material-symbols-rounded { font-size: 24px; }
.mobile-tabbar a .mdi-icon { width: 24px; height: 24px; }
.mobile-tabbar a.is-active { color: var(--ink); }
.mobile-tabbar a.is-active .material-symbols-rounded {
    color: var(--gold);
    font-variation-settings: 'FILL' 1, 'wght' 500;
}
.mobile-tabbar a.is-active .mdi-icon { color: var(--gold); }

/* =========================================================
   15. Reveal animations
   ========================================================= */
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .8s var(--ease), transform .8s var(--ease);
    will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    * { scroll-behavior: auto !important; }
}

/* =========================================================
   16. Responsive
   ========================================================= */
@media (max-width: 1024px) {
    .roster-grid { grid-template-columns: repeat(3, 1fr); }
    .hero-grid { gap: 36px; }
}

@media (max-width: 880px) {
    .main-navigation { display: none; }
    .header-cta { display: none; }
    .menu-toggle { display: inline-flex; }
    .mobile-tabbar { display: flex; }
    body { padding-bottom: 84px; }

    /* Mobile: show the emblem only, drop the wordmark text */
    .site-branding .mdi-wordmark,
    .mobile-menu-top .mdi-wordmark { display: none; }

    .hero-section { min-height: auto; padding: calc(var(--header-h) + 24px) 0 20px; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-media { order: -1; aspect-ratio: 16 / 13; }
    .hero-stats { gap: 26px; }

    .wwd-layout { grid-template-columns: 1fr; gap: 32px; }
    .contact-layout { grid-template-columns: 1fr; gap: 30px; }
    .artist-hero-grid { grid-template-columns: 1fr; gap: 28px; }
    .artist-hero-name { font-size: clamp(52px, 16vw, 88px); }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 30px; }
    .about-stats { grid-template-columns: repeat(2, 1fr); }
    .services-grid { grid-template-columns: 1fr 1fr; }
    .team-grid { grid-template-columns: 1fr 1fr; }
    .roster-grid { grid-template-columns: repeat(2, 1fr); }
    .partner-grid { grid-template-columns: 1fr 1fr; }
    .testimonial-grid { grid-template-columns: 1fr 1fr; }
    .blog-grid { grid-template-columns: 1fr 1fr; }
    .mobile-menu nav a { font-size: 26px; padding: 9px 0; }

    /* About: fall back to normal vertical stacking on mobile */
    .hscroll { height: auto !important; }
    .hscroll-sticky { position: static; height: auto; overflow: visible; }
    .hscroll-track { flex-direction: column; width: 100%; transform: none !important; }
    .hpanel {
        flex: 0 0 auto;
        width: 100%;
        height: auto;
        min-height: 60vh;
        padding: 72px 24px;
    }
    .hpanel-intro { min-height: 78vh; }
    .hscroll-progress { display: none; }
    .hpanel-split { grid-template-columns: 1fr; gap: 26px; }
    .mv-grid { grid-template-columns: 1fr; }
    .team-row {
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 16px;
        max-width: 460px;
        margin-left: auto;
        margin-right: auto;
    }
    .team-row .team-card { flex: 0 0 auto; max-width: none; width: 100%; }
    .scroll-hint { display: none; }
    .hpanel .impact-row { grid-template-columns: repeat(2, 1fr) !important; gap: 20px 16px; }
}

@media (max-width: 560px) {
    .container { padding: 0 20px; }
    body { font-size: 16px; }
    .wwd-cards { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .about-stats { grid-template-columns: 1fr 1fr; }
    .team-grid { grid-template-columns: 1fr; }
    .partner-grid { grid-template-columns: 1fr; }
    .testimonial-grid { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: 1fr; }
    .roster-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
    .impact-row { gap: 12px; }
    .hero-buttons { flex-direction: column; align-items: stretch; }
    .hero-buttons .button-primary, .hero-buttons .button-outline { justify-content: center; }
    .roster-search { order: 3; min-width: 100%; margin-left: 0; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .trusted-logos { gap: 26px; }
    .trusted-logos span { font-size: 16px; }
}
