/* ============================================================
   MPV — Extended page template styles
   Loaded in addition to mpv.css for About, Services, Case Studies, Contact
   ============================================================ */

/* ---------- PAGE HERO BAND ---------- */
.page-hero {
    padding: 100px 0 80px;
    background: var(--bg);
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: "";
    position: absolute;
    top: -30%; right: -10%;
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(255,199,0,0.08) 0%, transparent 60%);
    pointer-events: none;
}
.page-hero-inner {
    max-width: 860px;
    position: relative;
    z-index: 1;
}
.page-hero .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--ink);
    padding: 8px 16px;
    background: var(--accent-soft);
    border-radius: 999px;
    margin-bottom: 28px;
    border: 1px solid rgba(255,199,0,0.4);
}
.page-hero h1 {
    font-family: 'Fraunces', serif;
    font-size: clamp(48px, 6vw, 78px);
    font-weight: 700;
    line-height: 1.03;
    letter-spacing: -0.035em;
    margin-bottom: 28px;
}
.page-hero h1 em {
    font-style: normal;
    color: var(--accent);
}
.page-hero .lede {
    font-size: 21px;
    line-height: 1.5;
    color: var(--muted);
    max-width: 680px;
}
.page-hero .lede strong { color: var(--ink); font-weight: 600; }

/* ---------- SHARED STATS STRIP ---------- */
.stats-strip {
    padding: 56px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg-2);
}
.stats-strip-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}
.stats-strip-num {
    font-family: 'Fraunces', serif;
    font-size: clamp(32px, 3.8vw, 44px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 10px;
}
.stats-strip-num .unit { color: var(--accent); font-size: 0.65em; font-weight: 600; }
.stats-strip-label {
    font-size: 13.5px;
    color: var(--muted);
    font-weight: 500;
    line-height: 1.4;
}

/* ---------- ABOUT: FOUNDERS DETAIL ---------- */
.about-founders-detail {
    padding: 120px 0;
}
.about-founders-detail .section-header {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 72px;
}
.about-founders-detail .section-header h2 {
    font-size: clamp(40px, 5vw, 56px);
    margin-bottom: 20px;
    letter-spacing: -0.03em;
}
.about-founders-detail .section-header p {
    font-size: 18px;
    color: var(--muted);
    line-height: 1.55;
}

.founder-detail-card {
    background: white;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    padding: 48px;
    margin-bottom: 32px;
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 40px;
    align-items: start;
    transition: box-shadow 0.3s;
}
.founder-detail-card:hover { box-shadow: var(--shadow-lg); }
.founder-detail-avatar {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--bg-2);
    border: 3px solid var(--ink);
}
.founder-detail-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.founder-detail-body .founder-lane {
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 10px;
}
.founder-detail-body .founder-name {
    font-family: 'Fraunces', serif;
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -0.025em;
    margin-bottom: 6px;
}
.founder-detail-body .founder-title {
    font-size: 15px;
    color: var(--muted);
    margin-bottom: 24px;
    font-weight: 500;
}
.founder-detail-body .founder-bio {
    font-size: 16.5px;
    color: var(--ink-2);
    line-height: 1.65;
    margin-bottom: 20px;
}
.founder-detail-body .founder-tagline {
    font-family: 'Fraunces', serif;
    font-size: 20px;
    font-style: italic;
    color: var(--accent);
    font-weight: 500;
    padding-top: 20px;
    border-top: 2px solid var(--accent);
}
.founder-credentials {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.founder-credentials li {
    font-size: 12.5px;
    color: var(--ink);
    padding: 6px 14px;
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-weight: 500;
}

/* ---------- ABOUT: OUR STORY TIMELINE ---------- */
.our-story {
    padding: 120px 0;
    background: var(--bg-2);
}
.our-story-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 72px;
}
.our-story-header h2 { font-size: clamp(40px, 5vw, 54px); margin-bottom: 20px; }
.our-story-header p { font-size: 18px; color: var(--muted); line-height: 1.55; }
.timeline {
    max-width: 820px;
    margin: 0 auto;
    position: relative;
}
.timeline::before {
    content: "";
    position: absolute;
    left: 120px;
    top: 16px;
    bottom: 16px;
    width: 2px;
    background: var(--border-2);
}
.timeline-item {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 40px;
    margin-bottom: 48px;
    position: relative;
}
.timeline-year {
    font-family: 'Fraunces', serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--ink);
    text-align: right;
    padding-right: 8px;
    line-height: 1;
    padding-top: 6px;
}
.timeline-item::before {
    content: "";
    position: absolute;
    left: 115px;
    top: 8px;
    width: 12px;
    height: 12px;
    background: var(--accent);
    border-radius: 50%;
    border: 3px solid var(--bg-2);
    z-index: 2;
}
.timeline-body {
    padding-left: 24px;
}
.timeline-body h4 {
    font-family: 'Fraunces', serif;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}
.timeline-body p { font-size: 15.5px; color: var(--muted); line-height: 1.55; }

/* ---------- ABOUT: BELIEFS ---------- */
.beliefs {
    padding: 120px 0;
    background: var(--bg-dark);
    color: white;
}
.beliefs-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 72px;
}
.beliefs-header .section-eyebrow { color: var(--accent); }
.beliefs-header h2 {
    color: white;
    font-size: clamp(40px, 5vw, 56px);
    margin-bottom: 20px;
}
.beliefs-header p { color: rgba(255,255,255,0.7); font-size: 18px; line-height: 1.55; }
.beliefs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.belief-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    padding: 36px;
    transition: all 0.3s;
}
.belief-card:hover {
    border-color: var(--accent);
    background: rgba(255,199,0,0.06);
}
.belief-number {
    font-family: 'Fraunces', serif;
    font-size: 48px;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 20px;
}
.belief-card h3 {
    color: white;
    font-family: 'Fraunces', serif;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
}
.belief-card p {
    color: rgba(255,255,255,0.75);
    font-size: 15.5px;
    line-height: 1.6;
}

/* ---------- SERVICES: DETAIL PILLARS ---------- */
.services-detail {
    padding: 120px 0;
}
.services-detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}
.service-pillar {
    background: white;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    padding: 56px;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 56px;
    align-items: start;
    transition: all 0.3s;
}
.service-pillar:hover { box-shadow: var(--shadow-lg); border-color: var(--accent); }
.service-pillar-left .service-num-big {
    font-family: 'Fraunces', serif;
    font-size: 86px;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    letter-spacing: -0.04em;
    margin-bottom: 16px;
    opacity: 0.9;
}
.service-pillar-left h3 {
    font-family: 'Fraunces', serif;
    font-size: 34px;
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.15;
    margin-bottom: 14px;
}
.service-pillar-left .service-sub {
    font-size: 16px;
    color: var(--muted);
    line-height: 1.55;
}
.service-pillar-right h4 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted-2);
    margin-bottom: 22px;
}
.service-pillar-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 32px;
}
.service-pillar-bullets li {
    font-size: 15px;
    color: var(--ink-2);
    line-height: 1.5;
    padding-left: 22px;
    position: relative;
}
.service-pillar-bullets li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
}

/* ---------- HOW WE WORK (PROCESS) ---------- */
.process {
    padding: 120px 0;
    background: var(--bg-2);
}
.process-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 72px;
}
.process-header h2 { font-size: clamp(40px, 5vw, 54px); margin-bottom: 20px; }
.process-header p { font-size: 18px; color: var(--muted); line-height: 1.55; }
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
}
.process-step {
    background: white;
    border-radius: var(--radius-lg);
    padding: 36px;
    border: 1px solid var(--border);
    position: relative;
}
.process-step-num {
    font-family: 'Fraunces', serif;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
}
.process-step h3 {
    font-family: 'Fraunces', serif;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}
.process-step p {
    font-size: 14.5px;
    color: var(--muted);
    line-height: 1.55;
}

/* ---------- CASE STUDIES PAGE: AGGREGATE STRIP ---------- */
.cs-aggregate {
    padding: 72px 0;
    background: var(--ink);
    color: white;
    border-top: 1px solid var(--border);
}
.cs-aggregate-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}
.cs-aggregate-num {
    font-family: 'Fraunces', serif;
    font-size: clamp(36px, 4.4vw, 54px);
    font-weight: 700;
    color: var(--accent);
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 10px;
}
.cs-aggregate-label {
    font-size: 13.5px;
    color: rgba(255,255,255,0.7);
    font-weight: 500;
    line-height: 1.4;
}

/* ---------- CASE STUDIES PAGE: DETAIL GRID ---------- */
.cs-featured {
    padding: 120px 0;
}
.cs-featured-header {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 72px;
}
.cs-featured-header h2 { font-size: clamp(40px, 5vw, 56px); margin-bottom: 20px; }
.cs-featured-header p { font-size: 18px; color: var(--muted); line-height: 1.55; }
.cs-featured-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}
.cs-detail-card {
    background: white;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    padding: 44px;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}
.cs-detail-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent);
}
.cs-detail-card.featured {
    background: var(--ink);
    color: white;
    border-color: var(--ink);
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}
.cs-detail-card .cs-tag {
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
}
.cs-detail-card.featured .cs-tag { color: var(--accent); }
.cs-detail-card h3 {
    font-family: 'Fraunces', serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 16px;
}
.cs-detail-card.featured h3 {
    color: white;
    font-size: 34px;
}
.cs-detail-card p {
    font-size: 15.5px;
    color: var(--muted);
    line-height: 1.6;
    flex-grow: 1;
}
.cs-detail-card.featured p {
    color: rgba(255,255,255,0.75);
    font-size: 17px;
}
.cs-result-big {
    margin-top: 28px;
    padding-top: 28px;
    border-top: 1px solid var(--border);
}
.cs-detail-card.featured .cs-result-big {
    border-color: rgba(255,255,255,0.12);
}
.cs-result-num {
    font-family: 'Fraunces', serif;
    font-size: 42px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: 8px;
}
.cs-detail-card.featured .cs-result-num {
    font-size: 72px;
    color: var(--accent);
}
.cs-result-label {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.4;
}
.cs-detail-card.featured .cs-result-label {
    color: rgba(255,255,255,0.7);
    font-size: 15.5px;
}

/* ---------- CASE-STUDY MINI CHARTS ---------- */
.cs-chart {
    margin-top: 22px;
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 18px 18px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.cs-detail-card.featured .cs-chart {
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.1);
}
.cs-chart-label {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--muted-2);
}
.cs-chart-label .accent {
    color: var(--accent);
    letter-spacing: 0.04em;
    font-size: 12px;
}
.cs-detail-card.featured .cs-chart-label { color: rgba(255,255,255,0.5); }
.cs-detail-card.featured .cs-chart-label .accent { color: var(--accent); }

/* SVG line chart */
.cs-chart-svg {
    width: 100%;
    height: 86px;
    display: block;
    overflow: visible;
}
.cs-chart-svg .baseline { stroke: var(--border); stroke-width: 1; stroke-dasharray: 3 3; }
.cs-chart-svg .line { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.cs-chart-svg .line-secondary { fill: none; stroke: var(--muted-2); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 4 3; opacity: 0.7; }
.cs-chart-svg .area { fill: var(--accent); opacity: 0.14; }
.cs-chart-svg .dot { fill: var(--accent); }
.cs-chart-svg .dot-muted { fill: var(--muted-2); opacity: 0.7; }
.cs-detail-card.featured .cs-chart-svg .baseline { stroke: rgba(255,255,255,0.15); }
.cs-detail-card.featured .cs-chart-svg .line-secondary { stroke: rgba(255,255,255,0.45); }
.cs-detail-card.featured .cs-chart-svg .dot-muted { fill: rgba(255,255,255,0.55); }
.cs-chart-axis {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: var(--muted-2);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.cs-detail-card.featured .cs-chart-axis { color: rgba(255,255,255,0.5); }

/* Horizontal comparison bars (Before/After) */
.cs-bar-row {
    display: flex;
    align-items: center;
    gap: 10px;
}
.cs-bar-row-label {
    width: 54px;
    font-size: 10.5px;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    flex-shrink: 0;
}
.cs-bar-track {
    flex: 1;
    height: 12px;
    background: var(--border);
    border-radius: 999px;
    overflow: hidden;
}
.cs-bar-fill {
    height: 100%;
    border-radius: 999px;
    background: var(--accent);
    transition: width 0.6s cubic-bezier(.4,0,.2,1);
}
.cs-bar-fill.muted { background: var(--muted-2); opacity: 0.45; }
.cs-bar-value {
    width: 52px;
    text-align: right;
    font-family: 'Fraunces', serif;
    font-weight: 700;
    font-size: 14px;
    color: var(--ink);
    flex-shrink: 0;
}
.cs-detail-card.featured .cs-bar-row-label { color: rgba(255,255,255,0.55); }
.cs-detail-card.featured .cs-bar-track { background: rgba(255,255,255,0.1); }
.cs-detail-card.featured .cs-bar-value { color: white; }

/* Segmented bar (1P + 3P hybrid) */
.cs-segbar {
    display: flex;
    height: 20px;
    border-radius: 999px;
    overflow: hidden;
    gap: 3px;
}
.cs-segbar-seg {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.cs-segbar-1p { background: var(--ink-2); color: white; flex: 0 0 40%; }
.cs-segbar-3p { background: var(--accent); color: var(--ink); flex: 1; }

/* Legend row */
.cs-chart-legend {
    display: flex;
    gap: 18px;
    font-size: 10.5px;
    font-weight: 600;
    color: var(--muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.cs-chart-legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend-swatch {
    width: 10px;
    height: 10px;
    border-radius: 3px;
    background: var(--accent);
    display: inline-block;
}
.legend-swatch.muted { background: var(--muted-2); opacity: 0.6; }
.legend-swatch.dark { background: var(--ink-2); }
.cs-detail-card.featured .cs-chart-legend { color: rgba(255,255,255,0.6); }

/* Quarterly bars */
.cs-quarters {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    align-items: end;
    height: 78px;
}
.cs-quarter-col {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    height: 100%;
}
.cs-quarter-bar {
    background: var(--accent);
    border-radius: 4px 4px 0 0;
    margin-top: auto;
    min-height: 12px;
}
.cs-quarter-label {
    font-size: 10px;
    font-weight: 700;
    color: var(--muted-2);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-align: center;
    margin-top: 6px;
}
.cs-detail-card.featured .cs-quarter-label { color: rgba(255,255,255,0.55); }

/* Dual-column coexistence */
.cs-dual {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 14px;
    align-items: end;
    height: 78px;
}
.cs-dual-col {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    height: 100%;
}
.cs-dual-bar {
    background: var(--accent);
    border-radius: 4px 4px 0 0;
    margin-top: auto;
}
.cs-dual-bar.dark { background: var(--ink-2); }
.cs-dual-plus {
    align-self: center;
    font-family: 'Fraunces', serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--muted-2);
    padding-bottom: 24px;
}
.cs-detail-card.featured .cs-dual-plus { color: rgba(255,255,255,0.5); }

/* ---------- CONTACT PAGE ---------- */
.contact-layout {
    padding: 80px 0 120px;
}
.contact-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 64px;
    align-items: start;
}
.audit-form-wrap {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 48px;
    box-shadow: var(--shadow-md);
}
.audit-form-wrap h2 {
    font-family: 'Fraunces', serif;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.025em;
    margin-bottom: 12px;
}
.audit-form-wrap > p.intro {
    font-size: 16px;
    color: var(--muted);
    line-height: 1.55;
    margin-bottom: 36px;
}
.form-group {
    margin-bottom: 22px;
}
.form-group.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 8px;
    letter-spacing: 0.01em;
}
.form-group label .req { color: var(--accent); }
.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--border-2);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 15px;
    color: var(--ink);
    background: var(--bg);
    transition: all 0.2s;
    font-weight: 500;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--ink);
    background: white;
    box-shadow: 0 0 0 3px rgba(255,199,0,0.2);
}
.form-textarea { min-height: 120px; resize: vertical; font-family: inherit; }
.form-select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%23131313' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.form-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}
.form-submit {
    width: 100%;
    padding: 16px 24px;
    background: var(--ink);
    color: var(--bg);
    border: none;
    border-radius: 999px;
    font-family: inherit;
    font-size: 15.5px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 12px;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.form-submit:hover {
    background: var(--accent);
    color: var(--ink);
    transform: translateY(-1px);
}
.form-note {
    font-size: 13px;
    color: var(--muted);
    text-align: center;
    margin-top: 14px;
    line-height: 1.5;
}
.form-success {
    background: var(--green-soft);
    border: 1.5px solid var(--green);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    margin-bottom: 24px;
}
.form-success h3 {
    font-family: 'Fraunces', serif;
    font-size: 26px;
    color: var(--green);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}
.form-success p { color: var(--ink); font-size: 15.5px; line-height: 1.55; }
.form-error {
    background: var(--red-soft);
    border: 1.5px solid var(--red);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    color: var(--red);
    font-size: 14.5px;
    margin-bottom: 24px;
    font-weight: 500;
}

/* Contact sidebar */
.contact-side {
    padding-top: 12px;
}
.contact-side h3 {
    font-family: 'Fraunces', serif;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.025em;
    margin-bottom: 20px;
}
.contact-expect {
    list-style: none;
    padding: 0;
    margin: 0 0 40px;
}
.contact-expect li {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px dashed var(--border);
    font-size: 15px;
    line-height: 1.55;
    color: var(--ink-2);
}
.contact-expect li:last-child { border-bottom: none; }
.contact-expect .expect-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: var(--accent-soft);
    color: var(--ink);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Fraunces', serif;
    font-weight: 700;
    font-size: 14px;
}
.contact-alt {
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    margin-top: 32px;
}
.contact-alt-label {
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted-2);
    margin-bottom: 10px;
}
.contact-alt a {
    font-family: 'Fraunces', serif;
    font-size: 20px;
    color: var(--ink);
    font-weight: 600;
    letter-spacing: -0.01em;
}
.contact-alt a:hover { color: var(--accent-dark); }

/* ---------- TEAM PHOTO GRID ---------- */
.team-section {
    padding: 120px 0;
    background: var(--bg);
}
.team-header {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 72px;
}
.team-header h2 {
    font-size: clamp(40px, 5vw, 56px);
    margin-bottom: 20px;
    letter-spacing: -0.03em;
}
.team-header p {
    font-size: 18px;
    color: var(--muted);
    line-height: 1.55;
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}
.team-member {
    text-align: center;
    transition: transform 0.3s;
}
.team-member:hover {
    transform: translateY(-6px);
}
.team-member-photo {
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-bottom: 18px;
    border: 2px solid var(--border);
    transition: border-color 0.3s, box-shadow 0.3s;
}
.team-member:hover .team-member-photo {
    border-color: var(--accent);
    box-shadow: 0 16px 40px rgba(255,199,0,0.2);
}
.team-member.founder .team-member-photo {
    border-color: var(--ink);
    border-width: 3px;
}
.team-member.founder:hover .team-member-photo {
    border-color: var(--accent);
}
.team-member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(20%);
    transition: filter 0.4s, transform 0.4s;
}
.team-member:hover .team-member-photo img {
    filter: grayscale(0%);
    transform: scale(1.05);
}
.team-member-name {
    font-family: 'Fraunces', serif;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 4px;
    color: var(--ink);
}
.team-member.founder .team-member-name {
    font-size: 22px;
}
.team-member-title {
    font-size: 13.5px;
    color: var(--muted);
    font-weight: 500;
    line-height: 1.35;
}
.team-member.founder .team-member-title {
    color: var(--accent);
    font-weight: 600;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 960px) {
    .page-hero { padding: 72px 0 56px; }
    .stats-strip-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
    .founder-detail-card { grid-template-columns: 1fr; padding: 32px; gap: 24px; }
    .founder-detail-avatar { width: 120px; height: 120px; font-size: 44px; }
    .beliefs-grid { grid-template-columns: 1fr; }
    .service-pillar { grid-template-columns: 1fr; padding: 36px; gap: 28px; }
    .service-pillar-bullets { grid-template-columns: 1fr; }
    .process-grid { grid-template-columns: repeat(2, 1fr); }
    .cs-aggregate-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
    .cs-featured-grid { grid-template-columns: 1fr; }
    .cs-detail-card.featured { grid-template-columns: 1fr; grid-column: span 1; }
    .contact-grid { grid-template-columns: 1fr; gap: 48px; }
    .team-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
    .audit-form-wrap { padding: 32px; }
    .timeline::before { left: 60px; }
    .timeline-item { grid-template-columns: 60px 1fr; gap: 20px; }
    .timeline-year { font-size: 18px; }
    .timeline-item::before { left: 55px; }
}
@media (max-width: 560px) {
    .stats-strip-grid, .cs-aggregate-grid { grid-template-columns: 1fr; }
    .process-grid { grid-template-columns: 1fr; }
    .form-group.split { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    /* Stack the EU→US segmented bar so labels fit instead of clipping */
    .cs-segbar { flex-direction: column; height: auto; border-radius: 12px; gap: 6px; }
    .cs-segbar-seg {
        width: 100%;
        flex: 1 1 auto;
        min-height: 36px;
        padding: 9px 14px;
        border-radius: 8px;
        white-space: normal;
        text-align: center;
        line-height: 1.3;
    }
}

/* ---------- LEGAL PAGES (Privacy Policy, Terms, etc.) ---------- */
.mpv-page-legal .legal-content {
    padding: 64px 0 96px;
    background: var(--bg);
}
.mpv-page-legal .legal-container {
    max-width: 760px;
}
.mpv-page-legal .legal-content h2 {
    font-family: 'Fraunces', serif;
    font-size: clamp(22px, 2.4vw, 26px);
    font-weight: 700;
    letter-spacing: -0.015em;
    color: var(--ink);
    margin: 48px 0 16px;
    line-height: 1.25;
}
.mpv-page-legal .legal-content h2:first-of-type {
    margin-top: 32px;
}
.mpv-page-legal .legal-content p {
    font-size: 16px;
    color: var(--ink-2);
    line-height: 1.7;
    margin-bottom: 16px;
}
.mpv-page-legal .legal-content a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.mpv-page-legal .legal-content a:hover {
    color: var(--ink);
}
.mpv-page-legal .legal-address {
    font-style: normal;
    background: var(--bg-2);
    border-left: 3px solid var(--accent);
    padding: 14px 18px;
    margin: 16px 0 20px;
    font-size: 15px;
    color: var(--ink);
    line-height: 1.6;
    border-radius: 0 6px 6px 0;
}
.mpv-page-legal .legal-version {
    margin-top: 56px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    font-size: 13px;
    color: var(--muted-2);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

/* ============================================================
   Page-template AEO additions (v3.3+) — shared across cream-hero
   pages: /case-studies/, /about-us/, etc.
   ============================================================ */

/* Hero AEO Snippet — Sacred Ground. Cream-bg variant. */
.mpv-page-cases .case-hero-aeo,
.mpv-page-about .case-hero-aeo {
  margin: 28px auto 0;
  max-width: 760px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted);
  border-left: 2px solid var(--border, #E5E0D7);
  padding: 4px 0 4px 14px;
  text-align: left;
}

/* Hero CTA wrapper (button row above AEO snippet) */
.mpv-page-cases .page-hero-ctas,
.mpv-page-about .page-hero-ctas {
  margin-top: 28px;
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

/* Case card "Results may vary." disclaimer */
.mpv-page-cases .cs-detail-card .cs-disclaimer {
  font-size: 11px;
  letter-spacing: 0.04em;
  font-style: italic;
  color: var(--muted);
  margin: 10px 0 0;
}

/* H3-link styling: case card titles are now clickable to the sub-page */
.mpv-page-cases .cs-detail-card h3 a {
  color: inherit;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
.mpv-page-cases .cs-detail-card h3 a:hover {
  color: var(--accent-dark, #CC9F00);
  border-bottom-color: var(--accent);
}

/* Anti-persona footer (closing paragraph after the disqualifier grid) */
.mpv-page-cases .cc-antipersona-footer {
  margin: 36px auto 0;
  max-width: 820px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
}

/* CTA disclaimer (small print under the audit button — dark cta-box) */
.mpv-page-cases .cta .cta-disclaimer,
.mpv-page-about .cta .cta-disclaimer {
  margin-top: 22px;
  font-size: 11.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.55);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* Founder name promoted from <div> to <h2>. Match existing visual weight,
   override h2 browser defaults (top margin, line-height). */
.mpv-page-about .founder-detail-body .founder-name.founder-name-h2 {
  margin-top: 0;
  line-height: 1.1;
}
.mpv-page-about .founders-section-h2 {
  /* The intro "Meet the operators." H2 — already styled by the parent
     section-header; this selector exists to make the H2 element predictable. */
}
/* Founder bio paragraph rhythm (multiple <p> tags now per founder) */
.mpv-page-about .founder-detail-body .founder-bio p {
  margin: 0 0 14px;
}
.mpv-page-about .founder-detail-body .founder-bio p:last-child { margin-bottom: 0; }
.mpv-page-about .founder-detail-body .founder-link {
  margin-top: 18px;
  font-size: 15px;
}
.mpv-page-about .founder-detail-body .founder-link a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 2px;
  font-weight: 600;
  transition: color 0.2s;
}
.mpv-page-about .founder-detail-body .founder-link a:hover { color: var(--accent); }
