/* ==========================================================================
   /mn/ Minnesota AI Index + anchor pages. Builds on /referral/referral.css
   (.ref-* layout) and /for-fractional-cmos/fcmo.css (.fcmo-list), like the
   other campaign pages. Only the Index-specific pieces live here.
   ========================================================================== */

/* hero video on navy */
.mn-video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.16); }
.mn-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.mn-soon { margin-top: 0.75rem; }

/* big numbers inside .ref-step cards */
.mn-big { display: block; font-family: var(--font-display); font-size: clamp(2rem, 3vw + 0.5rem, 2.75rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; color: var(--primary); }
.mn-proof { margin-top: clamp(1.75rem, 3vw, 2.5rem); }
.mn-link { display: inline-block; margin-top: 1.5rem; font-weight: 700; color: var(--primary); }
.mn-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); margin: clamp(1.75rem, 3vw, 2.5rem) 0; }
@media (max-width: 600px) { .mn-stats { grid-template-columns: minmax(0, 1fr); } }

.mn-h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 800; text-transform: uppercase; color: var(--primary); margin: 0 0 1rem; }

/* bar charts */
.mn-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.mn-bar { display: grid; grid-template-columns: minmax(0, 13rem) minmax(0, 1fr) 4.5rem; gap: 0.75rem; align-items: center; font-size: 0.95rem; }
.mn-bar__label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--color-text); }
.mn-bar__track { height: 14px; background: var(--color-bg-alt); border-radius: var(--radius-pill); overflow: hidden; }
.mn-bar__fill { display: block; height: 100%; background: var(--primary); border-radius: var(--radius-pill); }
.mn-bar__val { text-align: right; font-variant-numeric: tabular-nums; color: var(--color-text-muted); }
.mn-bar--you .mn-bar__label { font-weight: 700; color: var(--primary); }
.mn-bar--you .mn-bar__fill { background: var(--brand-secondary); }
@media (max-width: 520px) { .mn-bar { grid-template-columns: minmax(0, 1fr) 4rem; } .mn-bar__track { grid-column: 1 / -1; grid-row: 2; } }

.mn-missed { margin-top: 2rem; color: var(--color-text-muted); }
.mn-missed summary { cursor: pointer; font-weight: 700; color: var(--primary); margin-bottom: 0.5rem; }
.mn-missed ul { margin: 0; padding-left: 1.2rem; display: grid; gap: 0.35rem; }
.mn-note { margin: 2rem 0 0; font-size: 0.9rem; color: var(--color-text-dim); }
.mn-note .mn-link { margin-top: 0; }

/* index cards */
.mn-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 1.25rem; margin-top: clamp(1.75rem, 3vw, 2.5rem); }
.mn-card { background: var(--white); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 1.5rem; scroll-margin-top: 6rem; }
.mn-card__title { font-family: var(--font-display); text-transform: uppercase; color: var(--primary); font-size: 1.15rem; font-weight: 800; margin: 0 0 0.25rem; }
.mn-card__meta { margin: 0 0 1rem; font-size: 0.85rem; color: var(--color-text-dim); }
.mn-card .mn-bar { grid-template-columns: minmax(0, 1fr) minmax(0, 6rem) 3rem; }
.mn-card__qs { margin-top: 1rem; font-size: 0.88rem; color: var(--color-text-muted); }
.mn-card__qs summary { cursor: pointer; font-weight: 700; color: var(--primary); }
.mn-card__qs ul { margin: 0.5rem 0 0; padding-left: 1.1rem; display: grid; gap: 0.25rem; }

.mn-method { margin: clamp(1.5rem, 3vw, 2rem) 0 0; padding-left: 1.2rem; display: grid; gap: 0.6rem; color: var(--color-text-muted); line-height: 1.6; }
.mn-method b { color: var(--color-text); }

.mn-close-cta { margin-top: 1.75rem; display: flex; justify-content: center; }

/* company page on the service-page parts (11/3) */
.mn-sub { text-align: center; max-width: 62ch; margin: 1rem auto 0; color: var(--color-text-muted); font-size: 1.1rem; line-height: 1.6; }
.mn-board { max-width: 860px; margin: clamp(1.75rem, 3vw, 2.5rem) auto 0; }
.mn-board h3 { margin-bottom: 1.25rem; }
.mn-loom { position: relative; aspect-ratio: 16 / 10; }
.mn-loom iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.mn-board { transform: none; background: var(--white); }
.mn-board li { padding: 0; border-top: 0; }
.mn-board li::before { content: none; }
.mn-board .mn-bars li span { display: block; font-size: 0.95rem; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--color-text); margin: 0; }
.mn-board .mn-bars .mn-bar__val { color: var(--color-text-muted); }
.mn-board .mn-bar--you .mn-bar__label { font-weight: 700; color: var(--primary); }
.mn-board .mn-missed li { padding: 0; }

/* hero video (click to play), on the /team/joe/ intro treatment */
.mn-hero-video { position: relative; z-index: 1; }
.mn-hero-video .meet-joe__video { position: relative; cursor: pointer; }
.mn-hero-video .meet-joe__video iframe { position: absolute; inset: 0; }
.mn-tiles { max-width: 860px; margin: clamp(1.75rem, 3vw, 2.5rem) auto 0; }
.mn-tile--win { background: var(--brand-secondary); border-color: var(--brand-secondary); }
.mn-hero-video { align-self: center; margin: clamp(8px, 2vw, 24px) 0 clamp(40px, 5vw, 64px); }
.mn-hero-video .meet-joe__video { aspect-ratio: 16 / 10; border-radius: 26px; transform: rotate(1.5deg); box-shadow: 0 40px 70px -30px rgba(0, 0, 0, 0.6); background: #0a3a8a; }
@media (max-width: 860px) { .mn-hero-video .meet-joe__video { transform: none; } }
/* play button off the face, bottom-left like the homepage leader card */
.mn-hero-video .meet-joe__play { inset: auto; left: 20px; bottom: 20px; margin: 0; width: 64px; height: 64px; border-width: 3px; }
.mn-hero-video .meet-joe__play svg { width: 24px; height: 24px; }
.mn-hero-video .meet-joe__video-badge { left: 96px; bottom: 37px; background: #fff; color: var(--primary); backdrop-filter: none; border-radius: 999px; padding: 6px 14px; box-shadow: 0 8px 18px -8px rgba(0, 0, 0, 0.4); }
.mn-hero-video .meet-joe__video:hover .meet-joe__play { transform: scale(1.08); }
