/* MNZCC - Homepage Section Styles
 * Surface plan: hero (cream) → stats (white) → story (cream) → events (white)
 * → connection map (the one dark band) → membership (cream) → news (white)
 * → spotlight (cream) → partners (white) → testimonial (cream) → CTA (white).
 */

/* ============================================
   HERO
   ============================================ */
.hero {
    min-height: calc(100vh - 0px);
    min-height: 100svh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--color-cream);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding-top: calc(var(--space-xxl) + var(--space-sm));
    padding-bottom: var(--space-xl);
}

.hero-tag {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: var(--text-eyebrow);
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-gray);
    margin-bottom: var(--space-md);
}

.hero-tag::before {
    content: '';
    width: 1.5rem;
    height: 1px;
    background: var(--color-gold);
    flex-shrink: 0;
}

.hero-title {
    color: var(--color-charcoal);
    margin-bottom: var(--space-md);
}

.hero-title .highlight {
    color: var(--color-charcoal);
    display: inline;
}

.hero-text {
    font-size: 1.125rem;
    color: var(--color-gray);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
    max-width: 34em;
}

.hero-actions {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

/* Hero media: straight-edged photo panel, no diagonal clip */
.hero-media,
.hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
    background: var(--color-cream-dark);
}

.hero-poster,
.hero-video,
.hero-bg img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-video {
    opacity: 0;
    transition: opacity 1s ease;
}

.hero-video.loaded {
    opacity: 1;
}

/* A short cream feather where the text column meets the photo; nothing else */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--color-cream) 0%, rgba(245, 243, 239, 0) 18%);
    z-index: 1;
}

.hero-video-toggle {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
    background: var(--color-white);
    border: var(--border-rule);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-fast);
}

.hero-video-toggle:hover {
    background: var(--color-cream);
}

.hero-video-toggle svg {
    width: 18px;
    height: 18px;
    color: var(--color-charcoal);
}

.hero-video-toggle .icon-pause { display: block; }
.hero-video-toggle .icon-play { display: none; }
.hero-video-toggle.paused .icon-pause { display: none; }
.hero-video-toggle.paused .icon-play { display: block; }

/* Scroll cue: quiet */
.hero-scroll {
    position: absolute;
    bottom: var(--space-md);
    left: var(--space-md);
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--color-gray);
    font-size: var(--text-eyebrow);
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    z-index: 2;
}

.hero-scroll-line {
    width: 40px;
    height: 1px;
    background: var(--color-gold);
}

/* Legacy decor hooks: not rendered */
.hero-decor,
.hero-pattern,
.pattern-overlay,
.pattern-divider {
    display: none;
}

/* One orchestrated entrance for the hero copy */
.hero-tag,
.hero-title,
.hero-text,
.hero-actions {
    animation: revealUp 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

.hero-title { animation-delay: 0.1s; }
.hero-text { animation-delay: 0.2s; }
.hero-actions { animation-delay: 0.3s; }

@keyframes revealUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   STATS (white band with hairline rules)
   ============================================ */
.stats {
    background: var(--color-white);
    border-top: var(--border-rule);
    border-bottom: var(--border-rule);
    padding: var(--space-lg) 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}

/* ============================================
   SECTION HEADERS (shared)
   ============================================ */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: var(--space-lg);
    flex-wrap: wrap;
    gap: var(--space-md);
}

.section-header-text {
    max-width: 600px;
}

.section-title {
    color: var(--color-charcoal);
    margin-bottom: 0;
}

.section-title + p {
    margin-top: var(--space-sm);
}

/* ============================================
   STORY TIMELINE (cream)
   ============================================ */
.story {
    background: var(--color-cream);
    position: relative;
    overflow: hidden;
}

.story-intro {
    text-align: center;
    max-width: 680px;
    margin: 0 auto var(--space-lg);
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: var(--space-md) 0;
}

.timeline-track {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--color-stone);
    transform: translateX(-50%);
}

/* Legacy scroll-fill bar: the track is static now */
.timeline-progress {
    display: none;
}

.timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 100px 1fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
    align-items: center;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item:nth-child(odd) .timeline-content {
    grid-column: 1;
    text-align: left;
}

.timeline-item:nth-child(odd) .timeline-marker {
    grid-column: 2;
}

.timeline-item:nth-child(odd)::after {
    content: '';
    grid-column: 3;
}

.timeline-item:nth-child(even) .timeline-content {
    grid-column: 3;
    text-align: left;
}

.timeline-item:nth-child(even) .timeline-marker {
    grid-column: 2;
}

.timeline-item:nth-child(even)::before {
    content: '';
    grid-column: 1;
}

.timeline-marker {
    width: 72px;
    height: 72px;
    background: var(--color-cream);
    border: 1px solid var(--color-charcoal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: background-color var(--transition-medium), color var(--transition-medium);
    margin: 0 auto;
}

.timeline-item.in-view .timeline-marker {
    background: var(--color-charcoal);
}

.timeline-year {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-charcoal);
}

.timeline-item.in-view .timeline-year {
    color: var(--color-white);
}

.timeline-content {
    padding: var(--space-card-pad);
}

.timeline-item.in-view .timeline-content {
    border-color: var(--color-gray-light);
}

.timeline-image {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    margin-bottom: var(--space-sm);
    background: var(--color-cream-dark);
}

.timeline-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.timeline-title {
    font-size: var(--text-h4);
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.timeline-text {
    color: var(--color-gray);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.timeline-stat {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-sm);
    padding-top: var(--space-sm);
    border-top: var(--border-rule);
    flex-wrap: wrap;
}

.timeline-stat-item {
    text-align: left;
}

.timeline-stat-number {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-charcoal);
    line-height: 1.1;
}

.timeline-stat-label {
    font-size: var(--text-caption);
    color: var(--color-gray);
}

/* ============================================
   EVENTS (white) - quantity-aware grid
   ============================================ */
.events {
    background: var(--color-white);
    position: relative;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-card-gap);
}

/* Two events: halves */
.events-grid:has(.event-card:nth-child(2):last-child) {
    grid-template-columns: repeat(2, 1fr);
}

/* One event: a wide horizontal feature card */
.events-grid:has(.event-card:only-child) {
    grid-template-columns: 1fr;
}

.event-card:only-child {
    display: grid;
    grid-template-columns: 7fr 5fr;
}

.event-card:only-child .event-image {
    aspect-ratio: auto;
    min-height: 380px;
    height: 100%;
}

.event-card:only-child .event-content {
    padding: var(--space-lg);
    justify-content: center;
}

.event-card:only-child .event-title {
    font-size: var(--text-h2);
}

/* Four or more: three across, wrapping naturally */

/* ============================================
   CONNECTION MAP (the one dark band)
   ============================================ */
.connection-map {
    background: var(--color-primary);
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.connection-map .section-tag {
    color: rgba(255, 255, 255, 0.7);
    justify-content: center;
}

.connection-map .section-header,
.connection-map .map-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.connection-map h2,
.connection-map .section-title {
    color: var(--color-white);
    text-align: center;
}

.map-container {
    position: relative;
    max-width: 960px;
    margin: 0 auto;
}

.map-svg {
    width: 100%;
    height: auto;
    display: block;
}

/* Real geography: muted land, thin strokes */
.map-svg .map-context path {
    fill: rgba(255, 255, 255, 0.05);
    stroke: rgba(255, 255, 255, 0.14);
    stroke-width: 0.6;
    stroke-linejoin: round;
}

.map-svg .country,
.map-svg .country path {
    fill: rgba(255, 255, 255, 0.16);
    stroke: rgba(255, 255, 255, 0.55);
    stroke-width: 0.8;
    stroke-linejoin: round;
    transition: fill var(--transition-fast);
}

.map-svg .country:hover path {
    fill: rgba(255, 255, 255, 0.24);
}

.map-svg .flight-path {
    fill: none;
    stroke: var(--color-gold);
    stroke-width: 1;
    stroke-dasharray: 4 6;
    opacity: 0.9;
}

.map-svg .flight-dot {
    fill: var(--color-gold);
    r: 3;
}

.map-svg .city-marker {
    cursor: pointer;
}

.map-svg .city-marker .city-halo {
    display: none;
}

.map-svg .city-marker circle {
    fill: var(--color-gold);
    stroke: var(--color-primary);
    stroke-width: 1.5;
    transition: fill var(--transition-fast), r var(--transition-fast);
}

.map-svg .city-marker:hover circle:not(.city-halo),
.map-svg .city-marker:focus circle:not(.city-halo),
.map-svg .city-marker[aria-expanded="true"] circle:not(.city-halo) {
    fill: var(--color-white);
}

/* Focus ring drawn in SVG: a thin white ring around the dot */
.map-svg .city-marker:focus {
    outline: none;
}

.map-svg .city-marker:focus-visible circle:not(.city-halo) {
    stroke: var(--color-white);
    stroke-width: 2.5;
}

.map-svg .city-label {
    fill: rgba(255, 255, 255, 0.9);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    paint-order: stroke;
    stroke: var(--color-primary);
    stroke-width: 4px;
    stroke-linejoin: round;
}

.map-svg .trade-value {
    fill: var(--color-white);
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
}

.map-info-panel {
    position: absolute;
    background: var(--color-white);
    border: var(--border-rule);
    padding: var(--space-sm) var(--space-md);
    width: max-content;
    max-width: min(280px, calc(100vw - 2rem));
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-fast), visibility 0s linear 0.2s;
    z-index: 10;
    color: var(--color-charcoal);
    pointer-events: none;
}

.map-info-panel.active {
    transition: opacity var(--transition-fast), visibility 0s;
    pointer-events: auto;
}

.map-hint {
    text-align: center;
    font-size: var(--text-caption);
    color: rgba(255, 255, 255, 0.55);
    margin-top: var(--space-sm);
}

.map-info-panel.active {
    opacity: 1;
    visibility: visible;
}

.map-info-panel h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-charcoal);
    margin-bottom: var(--space-xs);
}

.map-info-panel p {
    font-size: var(--text-small);
    color: var(--color-gray);
}

.map-headline {
    text-align: center;
    color: rgba(255, 255, 255, 0.75);
    margin: 0 auto var(--space-md);
}

.map-headline-value {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--color-white);
    margin-right: 0.5rem;
}

.map-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0;
    max-width: 800px;
    margin: var(--space-lg) auto 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.map-stat {
    text-align: left;
    padding: var(--space-md) var(--space-md) 0;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.map-stat-value {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-white);
    line-height: 1;
    margin-bottom: var(--space-xs);
}

.map-stat-label {
    font-size: var(--text-small);
    color: rgba(255, 255, 255, 0.75);
}

/* ============================================
   MEMBERSHIP (cream)
   ============================================ */
.membership {
    background: var(--color-cream);
    position: relative;
}

.membership .section-header {
    justify-content: center;
    align-items: center;
    text-align: center;
}

.membership .section-header-text {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.membership-intro {
    color: var(--color-gray);
    font-size: 1.125rem;
    max-width: 36em;
    margin: var(--space-sm) auto 0;
    line-height: 1.6;
}

.tiers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-card-gap);
    margin-top: var(--space-lg);
}

.membership-cta {
    text-align: center;
    margin-top: var(--space-lg);
}

/* Membership comparison tool (interior) */
.membership-comparison {
    margin-top: var(--space-lg);
}

.tier-selector {
    display: flex;
    justify-content: center;
    gap: 0;
    margin: 0 auto var(--space-lg);
    border: var(--border-rule);
    max-width: 600px;
}

.tier-selector button {
    flex: 1;
    padding: 0.875rem 1.25rem;
    background: transparent;
    border: none;
    color: var(--color-gray);
    font-family: var(--font-body);
    font-size: var(--text-small);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    position: relative;
}

.tier-selector button:hover {
    color: var(--color-charcoal);
}

.tier-selector button[aria-selected="true"] {
    background: var(--color-primary);
    color: var(--color-white);
}

.tier-comparison-panel {
    background: var(--color-white);
    border: var(--border-card);
    padding: var(--space-lg);
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.tier-details {
    animation: fadeSlideIn 0.3s ease-out;
}

@keyframes fadeSlideIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.tier-price {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-charcoal);
    margin-bottom: var(--space-md);
}

.tier-benefits {
    list-style: none;
    text-align: left;
    max-width: 400px;
    margin: 0 auto var(--space-md);
}

.tier-benefit {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-xs) 0;
    color: var(--color-charcoal);
    font-size: 0.9375rem;
    border-bottom: var(--border-rule);
}

.tier-benefit svg {
    width: 18px;
    height: 18px;
    color: var(--color-charcoal);
    flex-shrink: 0;
}

.tier-value-badge {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    border: 1px solid var(--color-charcoal);
    color: var(--color-charcoal);
    font-size: var(--text-eyebrow);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.compare-toggle {
    margin-top: var(--space-md);
    padding: 0.875rem 1.75rem;
    background: transparent;
    border: 1px solid var(--color-charcoal);
    color: var(--color-charcoal);
    font-family: var(--font-body);
    font-size: var(--text-small);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.compare-toggle:hover {
    background: var(--color-charcoal);
    color: var(--color-white);
}

/* ============================================
   NEWS (white)
   ============================================ */
.news {
    background: var(--color-white);
}

.news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: start;
}

/* ============================================
   MEMBER SPOTLIGHT (cream)
   ============================================ */
.member-spotlight {
    background: var(--color-cream);
    position: relative;
}

.spotlight-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.spotlight-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.spotlight-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.spotlight-carousel::-webkit-scrollbar {
    display: none;
}

.spotlight-slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: var(--space-lg);
    padding: var(--space-sm);
}

.spotlight-portrait img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.spotlight-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.spotlight-quote {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-charcoal);
    line-height: 1.4;
    margin-bottom: var(--space-md);
    padding-left: var(--space-md);
    border-left: 1px solid var(--color-gold);
}

.spotlight-author {
    margin-bottom: var(--space-sm);
}

.spotlight-author-name {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-charcoal);
}

.spotlight-author-role {
    font-size: var(--text-small);
    color: var(--color-gray);
    display: block;
}

.spotlight-story {
    font-size: 0.9375rem;
    color: var(--color-gray);
    line-height: 1.6;
}

.spotlight-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-md);
    margin-top: var(--space-md);
}

.spotlight-prev,
.spotlight-next {
    width: 44px;
    height: 44px;
    border: 1px solid var(--color-charcoal);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.spotlight-prev:hover,
.spotlight-next:hover {
    background: var(--color-charcoal);
    color: var(--color-white);
}

.spotlight-prev svg,
.spotlight-next svg {
    width: 18px;
    height: 18px;
}

.spotlight-indicators {
    display: flex;
    gap: var(--space-xs);
}

.spotlight-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-stone);
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
}

.spotlight-indicator.active {
    background: var(--color-charcoal);
}

/* ============================================
   PARTNERS (white)
   ============================================ */
.partners {
    background: var(--color-white);
    border-top: var(--border-rule);
    border-bottom: var(--border-rule);
}

.partners-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.partners-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

/* ============================================
   TESTIMONIAL (cream)
   ============================================ */
.testimonial {
    background: var(--color-cream);
    position: relative;
}

.testimonial-content {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.testimonial-quote {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.6vw, 2.25rem);
    font-weight: 500;
    color: var(--color-charcoal);
    line-height: 1.35;
    letter-spacing: -0.01em;
    margin-bottom: var(--space-lg);
    text-wrap: balance;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
}

.testimonial-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--color-cream-dark);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-info {
    text-align: left;
}

.testimonial-name {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-charcoal);
}

.testimonial-role {
    font-size: var(--text-small);
    color: var(--color-gray);
}

/* ============================================
   CTA (white)
   ============================================ */
.cta {
    background: var(--color-white);
    border-top: var(--border-rule);
    position: relative;
}

.cta-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.cta-content {
    max-width: 520px;
}

.cta-title {
    margin-bottom: var(--space-md);
}

.cta-text {
    font-size: 1.125rem;
    color: var(--color-gray);
    margin-bottom: var(--space-md);
    line-height: 1.7;
}

.cta-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xs) var(--space-md);
    margin-bottom: var(--space-lg);
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.9375rem;
    color: var(--color-charcoal);
}

.cta-feature svg {
    width: 18px;
    height: 18px;
    color: var(--color-gold-dark);
    flex-shrink: 0;
}

.cta-image {
    position: relative;
}

.cta-image-main {
    aspect-ratio: 4/5;
    overflow: hidden;
    background: var(--color-cream-dark);
}

.cta-image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-image-placeholder {
    position: absolute;
    inset: 0;
    background: var(--color-cream-dark);
}

/* Photo caption replaces the gold accent square */
.cta-image-accent {
    margin-top: var(--space-sm);
    padding-top: var(--space-sm);
    border-top: var(--border-rule);
}

.cta-image-accent-text {
    font-size: var(--text-caption);
    color: var(--color-gray);
    line-height: 1.5;
}

/* ============================================
   ANIMATIONS (shared)
   ============================================ */
@keyframes slideIn {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ============================================
   AMBIENT AUDIO (optional widget)
   ============================================ */
.audio-toggle {
    position: fixed;
    bottom: 1.5rem;
    left: 1.5rem;
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 0.625rem 0.875rem;
    background: var(--color-white);
    border: var(--border-rule);
    cursor: pointer;
    z-index: 1000;
    font-size: var(--text-caption);
    font-weight: 500;
    color: var(--color-charcoal);
    transition: var(--transition-fast);
}

.audio-toggle:hover {
    background: var(--color-cream);
}

.audio-toggle svg {
    width: 18px;
    height: 18px;
}

.audio-toggle .icon-muted { display: block; }
.audio-toggle .icon-playing { display: none; }
.audio-toggle[aria-pressed="true"] .icon-muted { display: none; }
.audio-toggle[aria-pressed="true"] .icon-playing { display: block; }

.audio-panel {
    position: fixed;
    bottom: 4.5rem;
    left: 1.5rem;
    background: var(--color-white);
    border: var(--border-rule);
    padding: var(--space-md);
    z-index: 1000;
    min-width: 220px;
    box-shadow: var(--shadow-md);
}

.audio-panel[hidden] {
    display: none;
}

.audio-panel h4 {
    font-family: var(--font-display);
    font-size: var(--text-small);
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--color-charcoal);
}

.audio-tracks {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    margin-bottom: var(--space-sm);
}

.audio-track {
    padding: 0.625rem 0.875rem;
    background: transparent;
    border: var(--border-rule);
    text-align: left;
    font-size: var(--text-caption);
    color: var(--color-charcoal);
    cursor: pointer;
    transition: var(--transition-fast);
}

.audio-track:hover {
    background: var(--color-cream);
}

.audio-track.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
}

.audio-volume {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.audio-volume input[type="range"] {
    flex: 1;
    height: 2px;
    -webkit-appearance: none;
    background: var(--color-stone);
}

.audio-volume input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    background: var(--color-charcoal);
    border-radius: 50%;
    cursor: pointer;
}
