/* =============================================================================
   Agency Clockwork — Design System
   Version: 1.0
   Source of truth: 00_Foundation/05_Brand_Style_Guide.md
   ============================================================================= */


/* =============================================================================
   SECTION 1: CSS CUSTOM PROPERTIES
   ============================================================================= */

:root {
    /* Colors */
    --primary: #1A1A2E;
    --secondary: #252740;
    --accent: #E07A5F;
    --accent-alt: #D4A373;
    --text-primary: #F4F4F9;
    --text-secondary: #9898A8;
    --success: #81B29A;
    --error: #C1666B;
    --border: rgba(212, 163, 115, 0.2);

    /* Typography */
    --font-heading: 'Syne', sans-serif;
    --font-body: 'DM Sans', sans-serif;

    /* Spacing (8px base) */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 96px;

    /* Layout */
    --max-width: 1200px;
    --section-padding: 64px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-pill: 16px;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
}


/* =============================================================================
   SECTION 2: RESET / BASE STYLES
   ============================================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: 72px; /* Offset for fixed nav */
}

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

a {
    color: var(--accent);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--accent-alt);
}

ul,
ol {
    list-style: none;
}


/* =============================================================================
   SECTION 3: TYPOGRAPHY
   ============================================================================= */

/* Mobile-first heading sizes (scales up via media queries below) */
h1,
.h1 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-primary);
    text-wrap: balance;
}

h2,
.h2 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-primary);
    text-wrap: balance;
}

h3,
.h3 {
    font-family: var(--font-heading);
    font-size: 1.375rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-primary);
}

h4,
.h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-primary);
}

.body-lg {
    font-size: 1.125rem;
    line-height: 1.6;
}

.text-sm {
    font-size: 0.875rem;
    line-height: 1.5;
}

.caption {
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.4;
}

.text-secondary {
    color: var(--text-secondary);
}

.text-accent {
    color: var(--accent);
}


/* =============================================================================
   SECTION 4: LAYOUT — CONTAINER AND GRID
   ============================================================================= */

/* Container */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* Grid system — 12 columns */
.grid {
    display: grid;
    gap: var(--space-lg);
}

/* Mobile: all grid variants are single column by default */
.grid--2,
.grid--3,
.grid--4 {
    grid-template-columns: 1fr;
}

.grid--12 {
    grid-template-columns: repeat(12, 1fr);
}

/* Column span utilities */
.col-span-1  { grid-column: span 1; }
.col-span-2  { grid-column: span 2; }
.col-span-3  { grid-column: span 3; }
.col-span-4  { grid-column: span 4; }
.col-span-5  { grid-column: span 5; }
.col-span-6  { grid-column: span 6; }
.col-span-7  { grid-column: span 7; }
.col-span-8  { grid-column: span 8; }
.col-span-9  { grid-column: span 9; }
.col-span-10 { grid-column: span 10; }
.col-span-11 { grid-column: span 11; }
.col-span-12 { grid-column: span 12; }

/* Section base */
.section {
    padding: var(--space-2xl) 0;
}

.section--alt {
    background-color: var(--secondary);
}

/* Hero */
.hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    padding: var(--space-4xl) 0;
}

.hero--home,
.hero--full {
    min-height: 70vh;
}


/* =============================================================================
   SECTION 5: BUTTONS
   ============================================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-base);
    border: none;
    text-decoration: none;
    gap: var(--space-sm);
    line-height: 1;
    white-space: nowrap;
}

/* Primary button */
.btn--primary {
    background: var(--accent);
    color: var(--primary);
    border: 1.5px solid var(--accent);
}

.btn--primary:hover {
    filter: brightness(0.9);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(224, 122, 95, 0.3);
    color: var(--primary);
}

/* Secondary button */
.btn--secondary {
    background: transparent;
    color: var(--accent);
    border: 1.5px solid var(--accent);
}

.btn--secondary:hover {
    background: rgba(224, 122, 95, 0.1);
    color: var(--accent);
}

/* Ghost button */
.btn--ghost {
    background: transparent;
    color: var(--text-primary);
    border: 1.5px solid transparent;
}

.btn--ghost:hover {
    color: var(--accent);
}

/* Button sizes */
.btn--sm {
    padding: 10px 20px;
    font-size: 0.875rem;
}

.btn--lg {
    padding: 18px 36px;
    font-size: 1rem;
}

/* CTA row utility — equal-width buttons regardless of text length.
   Used in hero sections, mid-page CTA bands, and end-of-page CTA sections. */
.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.btn-row--center {
    justify-content: center;
}

.btn-row > .btn {
    min-width: 220px;
}

.btn-row > .btn--lg {
    min-width: 240px;
}

@media (max-width: 480px) {
    .btn-row > .btn,
    .btn-row > .btn--lg {
        min-width: 100%;
    }
}


/* =============================================================================
   SECTION 6: CARDS
   ============================================================================= */

.card {
    background: var(--secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
}

.card__kpi {
    margin-top: auto;
    padding-top: var(--space-md);
    margin-bottom: 0;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: baseline;
    gap: var(--space-sm);
    white-space: nowrap;
    overflow: hidden;
}

.card__kpi-label {
    font-family: var(--font-heading);
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--accent-alt);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    flex-shrink: 0;
}

.card__kpi-value {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
}

.card:hover {
    border-color: var(--accent-alt);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.card__title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

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

/* =============================================================================
   SECTION 7: FORM ELEMENTS
   ============================================================================= */

.form-group {
    margin-bottom: var(--space-lg);
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.form-input {
    width: 100%;
    background: var(--primary);
    border: 1px solid #3A3A50;
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color var(--transition-fast);
    box-shadow: none;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.form-input::placeholder {
    color: var(--text-secondary);
}

.form-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(224, 122, 95, 0.15);
}

textarea.form-input {
    min-height: 120px;
    resize: vertical;
}

/* Custom select with chevron arrow */
select.form-input {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239898A8' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}


/* =============================================================================
   SECTION 8: BADGES
   ============================================================================= */

.badge {
    display: inline-block;
    border-radius: var(--radius-pill);
    padding: 6px 14px;
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1;
    align-self: flex-start;
}

.badge--accent {
    background: rgba(224, 122, 95, 0.15);
    color: var(--accent);
}

.badge--success {
    background: rgba(129, 178, 154, 0.15);
    color: var(--success);
}

.badge--brass {
    background: rgba(212, 163, 115, 0.15);
    color: var(--accent-alt);
}

/* Module Badge — icon + tag, used for Services module cards */
.module-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 6px 12px 6px 10px;
    background: rgba(224, 122, 95, 0.08);
    border: 1px solid rgba(224, 122, 95, 0.3);
    border-radius: var(--radius-pill);
    color: var(--accent);
    align-self: flex-start;
}

.module-badge__icon {
    color: var(--accent);
    flex-shrink: 0;
}

.module-badge__tag {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    line-height: 1;
}


/* =============================================================================
   SECTION 9: UTILITY CLASSES
   ============================================================================= */

/* Text alignment */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

/* Flex utilities */
.flex         { display: flex; }
.flex-col     { display: flex; flex-direction: column; }
.flex-center  { display: flex; justify-content: center; align-items: center; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }

/* Spacing utilities — margin-top */
.mt-xs  { margin-top: var(--space-xs); }
.mt-sm  { margin-top: var(--space-sm); }
.mt-md  { margin-top: var(--space-md); }
.mt-lg  { margin-top: var(--space-lg); }
.mt-xl  { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }
.mt-3xl { margin-top: var(--space-3xl); }
.mt-4xl { margin-top: var(--space-4xl); }

/* Spacing utilities — margin-bottom */
.mb-xs  { margin-bottom: var(--space-xs); }
.mb-sm  { margin-bottom: var(--space-sm); }
.mb-md  { margin-bottom: var(--space-md); }
.mb-lg  { margin-bottom: var(--space-lg); }
.mb-xl  { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }
.mb-3xl { margin-bottom: var(--space-3xl); }
.mb-4xl { margin-bottom: var(--space-4xl); }

/* Margin auto */
.mx-auto { margin-left: auto; margin-right: auto; }

/* Visibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.hidden { display: none; }

/* Mobile-only: hidden by default, shown below 768px */
.visible-mobile { display: none; }

/* Shown by default, hidden below 768px */
.hidden-mobile { display: block; }


/* =============================================================================
   SECTION 10: FOCUS STATES (ACCESSIBILITY — R8.5)
   ============================================================================= */

/* Only show focus ring on keyboard navigation */
*:focus:not(:focus-visible) {
    outline: none;
}

*:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.btn:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(224, 122, 95, 0.2);
}


/* =============================================================================
   SECTION 11: NAVIGATION
   ============================================================================= */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    transition: background var(--transition-base);
}

.nav__inner {
    height: 72px;
}

.nav__logo {
    text-decoration: none;
    color: var(--text-primary);
    z-index: 1001;
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.nav__mark {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.nav__wordmark {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.nav__menu {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav__list {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav__link {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    font-weight: 500;
    transition: color var(--transition-fast);
    position: relative;
}

.nav__link:hover,
.nav__link--active {
    color: var(--text-primary);
}

.nav__link--active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent);
    border-radius: 1px;
}

.nav__cta {
    white-space: nowrap;
}

/* Hamburger button — hidden on desktop, shown on mobile */
.nav__toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
    z-index: 1001;
}

.nav__hamburger,
.nav__hamburger::before,
.nav__hamburger::after {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.nav__hamburger {
    position: relative;
}

.nav__hamburger::before,
.nav__hamburger::after {
    content: '';
    position: absolute;
    left: 0;
}

.nav__hamburger::before {
    top: -7px;
}

.nav__hamburger::after {
    top: 7px;
}

/* Hamburger open state — X animation */
.nav__toggle[aria-expanded="true"] .nav__hamburger {
    background: transparent;
}

.nav__toggle[aria-expanded="true"] .nav__hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.nav__toggle[aria-expanded="true"] .nav__hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}


/* =============================================================================
   SECTION 12: CTA SECTION
   ============================================================================= */

.cta-section {
    background: var(--primary);
    border-top: 1px solid var(--accent-alt);
    text-align: center;
    padding: var(--space-3xl) 0;
}


/* =============================================================================
   SECTION 13: FOOTER
   ============================================================================= */

.footer {
    background: var(--primary);
    border-top: 1px solid var(--border);
    padding: var(--space-3xl) 0 var(--space-xl);
}

.footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}

.footer__brand {
    display: flex;
    flex-direction: column;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer__mark {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.footer__wordmark {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.footer__heading {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--space-md);
}

.footer__list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer__link {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    transition: color var(--transition-fast);
}

.footer__link:hover {
    color: var(--accent);
}

.footer__bottom {
    margin-top: var(--space-2xl);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border);
}


/* =============================================================================
   SECTION 14: RESPONSIVE BREAKPOINTS (mobile-first)
   ============================================================================= */

/* --- max-width: 767px: Mobile nav and footer --- */
@media (max-width: 767px) {
    /* Show hamburger toggle on mobile */
    .nav__toggle {
        display: block;
    }

    /* Slide-out mobile menu */
    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--secondary);
        flex-direction: column;
        align-items: flex-start;
        padding: 96px var(--space-lg) var(--space-lg);
        transition: right var(--transition-slow);
        box-shadow: -4px 0 24px rgba(0, 0, 0, 0.3);
    }

    .nav__menu.is-open {
        right: 0;
    }

    .nav__list {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-lg);
        width: 100%;
    }

    .nav__link {
        font-size: 1.125rem;
    }

    .nav__cta {
        margin-top: var(--space-lg);
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    /* Footer: single column on mobile */
    .footer__grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
}

/* --- 480px: Small phones → phablets --- */
@media (min-width: 480px) {
    h1,
    .h1 {
        font-size: 2.5rem;
    }

    .hero--home,
    .hero--full {
        min-height: 80vh;
    }
}

/* --- 768px: Tablet --- */
@media (min-width: 768px) {
    /* Multi-column grids activate */
    .grid--2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid--3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .grid--4 {
        grid-template-columns: repeat(4, 1fr);
    }

    /* Container gets more breathing room */
    .container {
        padding: 0 var(--space-xl);
    }

    /* Section padding increases */
    .section {
        padding: var(--space-3xl) 0;
    }

    /* Hero scales up */
    .hero {
        min-height: 50vh;
    }

    .hero--home,
    .hero--full {
        min-height: calc(100vh - 72px);
    }

    /* Visibility utilities flip */
    .visible-mobile {
        display: none;
    }

    .hidden-mobile {
        display: block;
    }

    /* Heading scale at tablet */
    h2,
    .h2 {
        font-size: 2.25rem;
    }

    h3,
    .h3 {
        font-size: 1.625rem;
    }

    /* Footer: 2-column layout at tablet */
    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-2xl);
    }
}

/* --- 1024px: Laptop --- */
@media (min-width: 1024px) {
    h1,
    .h1 {
        font-size: 3rem;
    }

    h2,
    .h2 {
        font-size: 2.5rem;
    }

    h3,
    .h3 {
        font-size: 1.75rem;
    }

    .section {
        padding: var(--space-3xl) 0;
    }

    /* Footer: full 4-column layout at desktop */
    .footer__grid {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
        gap: var(--space-2xl);
    }
}

/* --- 1200px: Full desktop (design spec values) --- */
@media (min-width: 1200px) {
    h1,
    .h1 {
        font-size: 3.5rem;
    }

    h2,
    .h2 {
        font-size: 2.625rem;
    }

    h3,
    .h3 {
        font-size: 1.75rem;
    }
}


/* =============================================================================
   SECTION 15: SCROLL ANIMATION UTILITY
   ============================================================================= */

/* Initial state: hidden and shifted down */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* JS adds .visible class via IntersectionObserver (Plan 02) */
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}


/* =============================================================================
   SECTION 16: PHASE 4 — PAGE COMPONENTS
   ============================================================================= */

/* --- Component 1: AI Pyramid — Simplified (Homepage) --- */

.pyramid {
    max-width: 480px;
    margin: 0 auto;
}

.pyramid__layer {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    margin: 0 auto var(--space-xs);
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
}

.pyramid__layer[data-layer="4"] {
    width: 40%;
    background: var(--secondary);
    border: 1px solid var(--border);
}

.pyramid__layer[data-layer="3"] {
    width: 55%;
    background: #2a2c44;
}

@supports (background: color-mix(in srgb, red, blue)) {
    .pyramid__layer[data-layer="3"] {
        background: color-mix(in srgb, var(--secondary) 85%, var(--accent) 15%);
    }
}

.pyramid__layer[data-layer="2"] {
    width: 70%;
    background: #333656;
}

@supports (background: color-mix(in srgb, red, blue)) {
    .pyramid__layer[data-layer="2"] {
        background: color-mix(in srgb, var(--secondary) 70%, var(--accent) 30%);
    }
}

.pyramid__layer[data-layer="1"] {
    width: 85%;
    background: #3d3f68;
}

@supports (background: color-mix(in srgb, red, blue)) {
    .pyramid__layer[data-layer="1"] {
        background: color-mix(in srgb, var(--secondary) 55%, var(--accent) 45%);
    }
}

.pyramid__foundation {
    width: 100%;
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: var(--primary);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    margin: 0 auto;
}


/* --- Component 2: AI Pyramid — Full (Process page) --- */

.pyramid--full {
    max-width: none;
}

.pyramid__row {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.pyramid__description {
    flex: 1;
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

.pyramid__foundation-row {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.pyramid__foundation-description {
    flex: 1;
    font-size: 0.9375rem;
    color: var(--text-secondary);
}


/* --- Component 3: Impact x Readiness Matrix --- */

.matrix {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: 1fr auto;
    column-gap: var(--space-md);
    row-gap: var(--space-sm);
    max-width: 520px;
    margin: 0 auto;
}

/* Y-axis label column — vertical "Business Impact" */
.matrix__y-axis {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-xs) 0;
}

/* Non-rotated wrapper: up-arrow triangle stacked above the rotated name */
.matrix__y-axis-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.matrix__y-axis-up {
    display: block;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 8px solid var(--accent-alt);
}

.matrix__y-axis-name {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--accent-alt);
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

/* X-axis label row — horizontal "System Readiness" */
.matrix__x-axis {
    grid-column: 2;
    grid-row: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 var(--space-xs);
}

/* Horizontal wrapper: name + right-arrow triangle */
.matrix__x-axis-label {
    display: flex;
    align-items: center;
    gap: 8px;
}

.matrix__x-axis-right {
    display: block;
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 8px solid var(--accent-alt);
}

.matrix__x-axis-name {
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--accent-alt);
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

/* High/Low end markers */
.matrix__end {
    font-family: var(--font-heading);
    font-size: 0.625rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

/* Grid area (the 2x2 plot) */
.matrix__grid {
    grid-column: 2;
    grid-row: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: var(--space-sm);
    aspect-ratio: 1;
    width: 100%;
    position: relative;
    min-width: 240px;
}

/* Axis lines drawn through the centre of the grid */
.matrix__grid::before,
.matrix__grid::after {
    content: '';
    position: absolute;
    background: var(--accent-alt);
    z-index: 2;
    pointer-events: none;
}

/* Vertical (Y) axis line — exact horizontal centre */
.matrix__grid::before {
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    transform: translateX(-50%);
}

/* Horizontal (X) axis line — exact vertical centre */
.matrix__grid::after {
    left: 0;
    right: 0;
    top: 50%;
    height: 2px;
    transform: translateY(-50%);
}

/* Arrowheads at the positive ends of each axis */
.matrix__axis-arrow {
    position: absolute;
    width: 0;
    height: 0;
    z-index: 3;
    pointer-events: none;
}

.matrix__axis-arrow--up {
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-bottom: 10px solid var(--accent-alt);
}

.matrix__axis-arrow--right {
    top: 50%;
    right: 0;
    transform: translate(50%, -50%);
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-left: 10px solid var(--accent-alt);
}

.matrix__quadrant {
    border-radius: var(--radius-sm);
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
    min-height: 0;
}

.matrix__quadrant[data-q="1"] {
    background: var(--secondary);
    border: 1px solid var(--border);
}

.matrix__quadrant[data-q="2"] {
    background: rgba(224, 122, 95, 0.08);
    border: 1.5px solid var(--accent);
}

.matrix__quadrant[data-q="3"] {
    background: var(--secondary);
    border: 1px solid var(--border);
    opacity: 0.7;
}

.matrix__quadrant[data-q="4"] {
    background: var(--secondary);
    border: 1px solid var(--border);
    opacity: 0.7;
}

.matrix__q-label {
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-primary);
}

.matrix__quadrant[data-q="2"] .matrix__q-label {
    color: var(--accent);
}

.matrix__q-description {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--text-secondary);
}


/* --- Component 4: Pricing Panel --- */

.pricing-panel {
    background: rgba(224, 122, 95, 0.05);
    border: 1.5px solid var(--accent);
    border-radius: var(--radius-md);
    padding: var(--space-2xl) var(--space-xl);
    max-width: 480px;
    margin: 0 auto;
    text-align: center;
}

.pricing-panel__anchor {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-secondary);
    text-decoration: line-through;
}

.pricing-panel__price-hero {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1.0;
}

.pricing-panel__cohort {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.pricing-panel__upgrade {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-top: var(--space-md);
}

.pricing-panel__guarantee {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--success);
    margin-top: var(--space-md);
}


/* --- Component 5: KMRA Score Bars --- */

.kmra-bars {
    /* Container */
}

.kmra-bars__row {
    display: grid;
    grid-template-columns: 120px 1fr 48px;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.kmra-bars__label {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--text-primary);
    font-weight: 500;
}

.kmra-bars__track {
    height: 8px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    overflow: hidden;
}

.kmra-bars__fill {
    height: 100%;
    border-radius: 4px;
    transition: width var(--transition-slow);
}

.kmra-bars__fill[data-score="0"],
.kmra-bars__fill[data-score="1"] {
    background: var(--success);
}

.kmra-bars__fill[data-score="2"] {
    background: var(--accent-alt);
}

.kmra-bars__fill[data-score="3"],
.kmra-bars__fill[data-score="4"] {
    background: var(--accent);
}

.kmra-bars__score {
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-align: right;
}

.kmra-bars__total {
    margin-top: var(--space-lg);
    padding-top: var(--space-md);
    border-top: 1px solid var(--border);
}

.kmra-bars__total--critical {
    color: var(--accent);
}


/* --- Component 6: Headshot Placeholder --- */

.headshot {
    width: 100%;
    max-width: 360px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    display: block;
}

.headshot-placeholder {
    width: 100%;
    max-width: 320px;
    aspect-ratio: 3 / 4;
    background: var(--secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.headshot-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 12px,
        rgba(212, 163, 115, 0.04) 12px,
        rgba(212, 163, 115, 0.04) 13px
    );
}

.headshot-placeholder__label {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
}


/* --- Component 7: Calendly Container --- */

.calendly-container {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--secondary);
}


/* --- Component: Stat Card (homepage trust section) --- */

.stat-card {
    background: var(--secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: var(--space-xl) var(--space-lg);
    text-align: center;
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-card:hover {
    border-color: var(--accent-alt);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.stat-card__icon {
    color: var(--accent-alt);
    margin-bottom: var(--space-md);
}

.stat-card__number {
    font-family: var(--font-heading);
    font-size: 3.25rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    letter-spacing: -0.02em;
}

.stat-card__unit {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-alt);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-top: var(--space-xs);
    margin-bottom: var(--space-md);
}

.stat-card__sequence {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--accent-alt);
    white-space: nowrap;
    letter-spacing: 0.01em;
    margin: 0 0 var(--space-sm) 0;
}

.stat-card__label {
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* Sequence line — for pyramid layers or other flow sequences inline in prose */
.sequence-line {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--accent-alt);
    letter-spacing: 0.02em;
}


/* --- Component 8: AEO Entity Block --- */

.aeo-entity-block {
    border-left: 3px solid var(--accent-alt);
    padding-left: var(--space-lg);
    color: var(--text-primary);
    font-size: 1rem;
    line-height: 1.6;
    margin: var(--space-xl) 0;
    font-style: normal;
}


/* --- Component 9: FAQ List / Item --- */

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.faq-item {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: var(--space-lg);
    align-items: start;
    border-bottom: 1px solid var(--border);
    padding: var(--space-xl) 0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item__icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: rgba(224, 122, 95, 0.08);
    border: 1px solid rgba(224, 122, 95, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-alt);
    flex-shrink: 0;
}

.faq-item__content {
    min-width: 0;
}

.faq-item__question {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
    text-wrap: balance;
}

.faq-item__answer {
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: none;
    margin: 0;
}

/* Optional structured list inside an FAQ answer (e.g., module-by-module breakdown) */
.faq-item__list {
    list-style: none;
    padding: 0;
    margin: var(--space-md) 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.faq-item__list li {
    color: var(--text-secondary);
    line-height: 1.6;
    padding-left: var(--space-md);
    border-left: 2px solid var(--accent-alt);
}

.faq-item__list strong {
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-right: 0.25em;
}


/* --- Component 10: Deliverable Item (Blueprint page) --- */

.deliverable-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-sm) 0;
    border-bottom: 1px solid rgba(212, 163, 115, 0.1);
}

.deliverable-item:last-child {
    border-bottom: none;
}


/* --- Component 11: Clockwork Loop (Services page) --- */

.clockwork-loop {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    align-items: center;
    justify-content: center;
    padding: var(--space-xl) 0;
}

.clockwork-loop__step {
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: var(--space-xs) var(--space-md);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    white-space: nowrap;
}

.clockwork-loop__arrow {
    color: var(--text-secondary);
    font-size: 0.75rem;
}


/* --- Component 12: Journey Flow (Services page) --- */

.journey-flow {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    align-items: start;
    position: relative;
}

.journey-flow__step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.journey-flow__step-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-sm);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent);
}

.journey-flow__step--optional .journey-flow__step-circle {
    border-color: var(--border);
    color: var(--text-secondary);
}

.journey-flow__step-label {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
}

.journey-flow__step-price {
    font-size: 0.75rem;
    color: var(--text-secondary);
}


/* --- Component 13: Testimonial Card + Slider --- */

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

.testimonial-card__name {
    color: var(--text-secondary);
}

/* .testimonial-card__source uses .badge.badge--accent */

.testimonial-slider {
    position: relative;
}

.testimonial-slider__eyebrow {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: var(--space-lg);
}

.testimonial-slider__track {
    display: flex;
    gap: var(--space-lg);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: var(--space-xs) var(--space-xs) var(--space-md);
    margin: 0 calc(-1 * var(--space-xs));
}

.testimonial-slider__track::-webkit-scrollbar {
    display: none;
}

.testimonial-slider__track:focus {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
    border-radius: var(--radius-md);
}

.testimonial-slider .testimonial-card {
    flex: 0 0 calc(50% - (var(--space-lg) / 2));
    scroll-snap-align: start;
}

@media (max-width: 768px) {
    .testimonial-slider .testimonial-card {
        flex: 0 0 88%;
    }
}

.testimonial-slider__controls {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.testimonial-slider__arrow {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.testimonial-slider__arrow:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.testimonial-slider__arrow:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}


/* =============================================================================
   SECTION 16: RESPONSIVE BREAKPOINTS — PHASE 4 COMPONENTS (mobile-first)
   ============================================================================= */

/* Pyramid layers retain stepped widths (40/55/70/85%) on all screen sizes — percentage widths work at mobile viewport */

/* --- 480px: KMRA bars stack on small screens --- */
@media (max-width: 480px) {
    .kmra-bars__row {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
    }

    .kmra-bars__track {
        /* Sits on row 2, left side */
    }

    .kmra-bars__score {
        /* Sits on row 2, right side */
        text-align: right;
    }
}

/* --- 480px: Pricing panel scales price down on small screens --- */
@media (max-width: 480px) {
    .pricing-panel {
        padding: var(--space-lg);
    }

    .pricing-panel__price-hero {
        font-size: 2.5rem;
    }
}

/* --- 768px: Pyramid full variant — tablet responsive --- */
@media (min-width: 768px) {
    .pyramid--full .pyramid__description,
    .pyramid--full .pyramid__foundation-description {
        font-size: 0.875rem;
        width: 30%;
        flex: none;
    }

    .pricing-panel__price-hero {
        font-size: 3rem;
    }

    /* Matrix: full size at tablet */
    .matrix__grid {
        width: 400px;
        height: 400px;
    }

    /* Journey flow: 4 columns at tablet */
    .journey-flow {
        grid-template-columns: repeat(4, 1fr);
    }

    /* Journey flow connecting line */
    .journey-flow::before {
        content: '';
        position: absolute;
        top: 28px;
        left: 12.5%;
        right: 12.5%;
        height: 1px;
        background: var(--border);
    }

    /* Matrix axis labels — show left/right on tablet+ */
    .matrix__axis-label--left,
    .matrix__axis-label--right {
        display: flex;
    }
}

/* --- 768px: Pyramid full variant — mobile collapse --- */
@media (max-width: 767px) {
    .pyramid--full .pyramid__row,
    .pyramid--full .pyramid__foundation-row {
        flex-direction: column;
    }

    .pyramid--full .pyramid__description,
    .pyramid--full .pyramid__foundation-description {
        margin-top: var(--space-xs);
        width: 100%;
    }

    /* Matrix: hide left/right axis labels on mobile */
    .matrix__axis-label--left,
    .matrix__axis-label--right {
        display: none;
    }

    /* Matrix: full width on mobile */
    .matrix__grid {
        max-width: 100%;
        width: 100%;
    }

    .matrix__quadrant {
        min-height: 100px;
    }
}

/* --- 1024px: Pricing panel desktop price --- */
@media (min-width: 1024px) {
    .pricing-panel__price-hero {
        font-size: 4rem;
    }
}


/* =============================================================================
   SECTION 17: SERVICES PAGE COMPONENTS
   ============================================================================= */

/* --- Card Section Label --- small uppercase divider inside detailed cards */
.card__section-label {
    font-family: var(--font-heading);
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--accent-alt);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-top: var(--space-md);
    margin-bottom: var(--space-sm);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.card__section-label::before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 1px;
    background: var(--accent-alt);
    flex-shrink: 0;
}

/* --- Feature List --- checkmark bullet list (used in module cards, pricing cards) */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.feature-list__item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.feature-list__item::before {
    content: '';
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    margin-top: 3px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23E07A5F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

/* --- Modules Stack (services page: full-width module cards stacked vertically) --- */
.modules-stack {
    display: flex;
    flex-direction: column;
    gap: var(--space-2xl);
}

/* --- Module Pillars Grid (3-column: Systems · Workflow Automation · AI) --- */
.module-pillars {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border);
}

.module-pillars__col {
    min-width: 0;
}

.module-pillars__col .card__section-label {
    margin-top: 0;
}

.module-pillars__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.module-pillars__list li {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
    padding-left: var(--space-md);
    position: relative;
}

.module-pillars__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

.module-pillars__cta {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    transition: color var(--transition-fast);
    letter-spacing: 0.01em;
}

.module-pillars__cta:hover {
    color: var(--accent-alt);
}

.module-card__footer {
    margin-top: var(--space-lg);
    padding-top: var(--space-md);
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    flex-wrap: wrap;
}

/* --- Modules Tabs --- tabbed switcher for the 4 implementation modules */
.modules-tabs {
    margin-top: var(--space-xl);
}

.modules-tabs__nav {
    display: flex;
    gap: var(--space-xs);
    margin-bottom: var(--space-lg);
    border-bottom: 1px solid var(--border);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.modules-tabs__nav::-webkit-scrollbar {
    display: none;
}

.modules-tabs__tab {
    background: transparent;
    border: 0;
    padding: var(--space-md) var(--space-lg);
    cursor: pointer;
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: color var(--transition-fast), border-color var(--transition-fast);
    white-space: nowrap;
    flex-shrink: 0;
}

.modules-tabs__tab:hover {
    color: var(--text-primary);
}

.modules-tabs__tab.is-active {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

.modules-tabs__tab:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

.modules-tabs__tab-badge {
    font-family: var(--font-heading);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    background: rgba(224, 122, 95, 0.12);
    color: var(--accent);
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    transition: background var(--transition-fast), color var(--transition-fast);
}

.modules-tabs__tab.is-active .modules-tabs__tab-badge {
    background: var(--accent);
    color: var(--primary);
}

.modules-tabs__panel {
    display: none;
    animation: fadeInPanel 0.3s ease;
}

.modules-tabs__panel.is-active {
    display: block;
}

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

/* Mobile: drop the full label, distribute the 4 badge pills evenly — no horizontal scroll,
   all 4 modules always visible. The active panel's header re-exposes the full module name. */
@media (max-width: 640px) {
    .modules-tabs__nav {
        justify-content: space-between;
        gap: var(--space-sm);
        overflow-x: visible;
    }

    .modules-tabs__tab {
        padding: var(--space-md) var(--space-sm);
        font-size: 0.875rem;
        flex: 1 1 0;
        justify-content: center;
        gap: 0;
    }

    .modules-tabs__tab-label {
        display: none;
    }

    /* Keep pyramid sequence (Visibility -> Classification -> Decisioning -> Execution) on one line on narrow viewports */
    .sequence-line {
        font-size: clamp(0.625rem, 3vw, 0.875rem);
        letter-spacing: 0;
        white-space: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
    }
    .sequence-line::-webkit-scrollbar {
        display: none;
    }
}

/* Pricing section anchor offset for sticky-nav-aware scroll */
#pricing {
    scroll-margin-top: var(--space-3xl);
}

@media (min-width: 768px) {
    .module-pillars {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-lg);
    }
}

/* --- Pricing Tier Card --- for services page bundle pricing */
.pricing-tier {
    background: var(--secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: var(--space-xl) var(--space-lg);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all var(--transition-base);
}

.pricing-tier:hover {
    border-color: var(--accent-alt);
    transform: translateY(-2px);
}

.pricing-tier__name {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.pricing-tier__price {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-xs);
}

.pricing-tier__savings {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-alt);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--space-md);
}

.pricing-tier__description {
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: var(--space-md);
}

.pricing-tier__features {
    margin-top: auto;
    margin-bottom: var(--space-lg);
}

.pricing-tier__cta {
    width: 100%;
    justify-content: center;
}

.pricing-tier__icon {
    color: var(--accent-alt);
    margin-bottom: var(--space-md);
}

.pricing-tier__price-prefix {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    display: block;
    margin-bottom: var(--space-xs);
    line-height: 1;
}

.pricing-tier__price-period {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0;
}

/* Solo pricing tier — single centered card for the retainer section */
.pricing-tier--solo {
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    align-items: center;
}

.pricing-tier--solo .pricing-tier__features {
    text-align: left;
    align-self: stretch;
}

/* Featured pricing tier — the RECOMMENDED middle card */
.pricing-tier--featured {
    border: 1.5px solid var(--accent);
    background: linear-gradient(180deg, rgba(224, 122, 95, 0.06) 0%, var(--secondary) 100%);
    box-shadow: 0 8px 32px rgba(224, 122, 95, 0.08);
}

@media (min-width: 768px) {
    .pricing-tier--featured {
        transform: translateY(-12px);
    }
    .pricing-tier--featured:hover {
        transform: translateY(-14px);
    }
}

.pricing-tier__badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    white-space: nowrap;
}

/* --- Callout Panel --- subtle info strip (used for Blueprint credit note, retainer note) */
.callout-panel {
    background: rgba(224, 122, 95, 0.06);
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent-alt);
    border-radius: var(--radius-sm);
    padding: var(--space-lg) var(--space-xl);
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.callout-panel__icon {
    color: var(--accent-alt);
    flex-shrink: 0;
}

.callout-panel__text {
    margin: 0;
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.callout-panel__text strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Centered variant — icon on top, text centered, CTA button below */
.callout-panel--centered {
    flex-direction: column;
    text-align: center;
    align-items: center;
    padding: var(--space-xl) var(--space-2xl);
    border-left: 1px solid var(--border);
    border-top: 3px solid var(--accent-alt);
    max-width: 560px;
    margin: var(--space-2xl) auto 0;
}

.callout-panel--centered .callout-panel__text {
    margin: var(--space-md) 0;
}

.callout-panel__cta {
    margin-top: var(--space-sm);
}

/* --- Credit Strip — subtle inline strip for footer-style notes (Blueprint credit) --- */
.credit-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
    padding: var(--space-md) var(--space-lg);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: rgba(224, 122, 95, 0.04);
    max-width: 960px;
    margin: 0 auto;
}

.credit-strip__icon {
    color: var(--accent-alt);
    flex-shrink: 0;
}

.credit-strip__icon-inline {
    color: var(--accent-alt);
    display: inline-block;
    vertical-align: -2px;
    margin-right: var(--space-xs);
}

.credit-strip__text {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.credit-strip__text strong {
    color: var(--text-primary);
    font-weight: 600;
}

.credit-strip__link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent);
    white-space: nowrap;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color var(--transition-fast);
}

.credit-strip__link:hover {
    border-bottom-color: var(--accent);
    color: var(--accent);
}

/* --- Price Highlight — standalone centered price block (used in retainer strip section) --- */
.price-highlight {
    display: inline-flex;
    align-items: baseline;
    gap: var(--space-xs);
    font-family: var(--font-heading);
}

.price-highlight__prefix {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent-alt);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-right: var(--space-sm);
}

.price-highlight__amount {
    font-size: 3.25rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    letter-spacing: -0.02em;
}

.price-highlight__period {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0;
}


/* =============================================================================
   SECTION 18: BLUEPRINT PAGE COMPONENTS
   ============================================================================= */

/* --- Process Stage — numbered stage card for "How It Works" --- */
.process-stage {
    background: var(--secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: var(--space-2xl) var(--space-xl);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all var(--transition-base);
}

.process-stage:hover {
    border-color: var(--accent-alt);
    transform: translateY(-2px);
}

.process-stage__number {
    position: absolute;
    top: -18px;
    left: var(--space-xl);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.process-stage__icon {
    color: var(--accent-alt);
    margin-bottom: var(--space-md);
    margin-top: var(--space-sm);
}

.process-stage__weeks {
    font-family: var(--font-heading);
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--accent-alt);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: var(--space-xs);
}

.process-stage__name {
    font-family: var(--font-heading);
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
    line-height: 1.2;
}

.process-stage__description {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-md);
}


/* --- Deliverable Group — category section divider for the 12 Deliverables --- */
.deliverable-group {
    margin-top: var(--space-2xl);
}

.deliverable-group__header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.deliverable-group__label {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-alt);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    white-space: nowrap;
}

.deliverable-group__count {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-secondary);
    white-space: nowrap;
}

.deliverable-group__line {
    flex: 1;
    height: 1px;
    background: var(--border);
}


/* --- Deliverable Card — compact card for each of the 12 deliverables --- */
.deliverable-card {
    background: var(--secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
    transition: all var(--transition-base);
}

.deliverable-card:hover {
    border-color: var(--accent-alt);
    transform: translateY(-2px);
}

.deliverable-card__check {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: rgba(129, 178, 154, 0.12);
    border: 1px solid rgba(129, 178, 154, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--success);
    flex-shrink: 0;
}

.deliverable-card__content {
    min-width: 0;
    flex: 1;
}

.deliverable-card__title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
    line-height: 1.3;
}

.deliverable-card__description {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

.deliverable-card--wide {
    grid-column: 1 / -1;
}


/* --- Deliverable Featured — for the 90-min debrief bonus card --- */
.deliverable-featured {
    background: linear-gradient(180deg, rgba(224, 122, 95, 0.08) 0%, var(--secondary) 100%);
    border: 1.5px solid var(--accent);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    margin-top: var(--space-2xl);
    display: flex;
    gap: var(--space-lg);
    align-items: flex-start;
}

.deliverable-featured__icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: rgba(224, 122, 95, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
}

.deliverable-featured__content {
    flex: 1;
    min-width: 0;
}

.deliverable-featured__label {
    font-family: var(--font-heading);
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: var(--space-xs);
}

.deliverable-featured__title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
    line-height: 1.2;
}

.deliverable-featured__text {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}


/* --- Benefit Card — for "What You Walk Away With" grid --- */
.benefit-card {
    background: var(--secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    transition: all var(--transition-base);
}

.benefit-card:hover {
    border-color: var(--accent-alt);
    transform: translateY(-2px);
}

.benefit-card__icon {
    color: var(--accent-alt);
    margin-bottom: var(--space-md);
}

.benefit-card__title {
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: var(--space-sm);
}

.benefit-card__text {
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}


/* --- Package Card — value-stack container for Blueprint deliverables + pricing --- */
.package-card {
    background: linear-gradient(180deg, rgba(224, 122, 95, 0.06) 0%, var(--secondary) 100%);
    border: 1.5px solid var(--accent);
    border-radius: var(--radius-md);
    padding: var(--space-2xl) var(--space-2xl);
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 8px 40px rgba(224, 122, 95, 0.08);
}

.package-card__header {
    text-align: center;
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid var(--border);
    margin-bottom: var(--space-xl);
}

.package-card__label {
    font-family: var(--font-heading);
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--accent-alt);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-bottom: var(--space-sm);
}

.package-card__tagline {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin: 0;
}

.package-card__category {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin: var(--space-xl) 0 var(--space-md);
}

.package-card__category-label {
    font-family: var(--font-heading);
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--accent-alt);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    white-space: nowrap;
}

.package-card__category-line {
    flex: 1;
    height: 1px;
    background: var(--border);
}

.package-card__item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-sm) 0;
}

.package-card__item-check {
    color: var(--success);
    flex-shrink: 0;
    margin-top: 2px;
}

.package-card__item-content {
    flex: 1;
    min-width: 0;
}

.package-card__item-title {
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
    line-height: 1.3;
}

.package-card__item-description {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

.package-card__bonus {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-md);
    margin-top: var(--space-lg);
    background: rgba(224, 122, 95, 0.08);
    border: 1px solid rgba(224, 122, 95, 0.3);
    border-radius: var(--radius-sm);
}

.package-card__bonus-icon {
    color: var(--accent);
    flex-shrink: 0;
}

.package-card__bonus-label {
    font-family: var(--font-heading);
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 2px;
}

.package-card__bonus-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

.package-card__bonus-text {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

.package-card__pricing {
    text-align: center;
    padding-top: var(--space-xl);
    margin-top: var(--space-xl);
    border-top: 1px solid var(--border);
}

.package-card__price-hero {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    letter-spacing: -0.02em;
}

.package-card__price-cohort {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-alt);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    margin-top: var(--space-xs);
}

.package-card__price-scope {
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-top: var(--space-md);
}

.package-card__price-guarantee {
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--success);
    margin-top: var(--space-md);
}

.package-card__cta {
    display: block;
    width: 100%;
    max-width: 320px;
    margin: var(--space-xl) auto 0;
    justify-content: center;
}


/* --- Lifecycle tag — small brass label for module cards "Lifecycle: Market → Sale" --- */
.lifecycle-tag {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: var(--space-sm);
}

.lifecycle-tag strong {
    color: var(--accent-alt);
    font-weight: 600;
}


/* --- The Clockwork Flywheel — circular lifecycle diagram --- */
.flywheel {
    --flywheel-radius: 180px;
    position: relative;
    width: calc(var(--flywheel-radius) * 2 + 120px);
    height: calc(var(--flywheel-radius) * 2 + 120px);
    margin: 0 auto;
    max-width: 100%;
}

/* Dashed ring connecting all stages (represents the OES foundation layer + loop continuity) */
.flywheel::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: calc(var(--flywheel-radius) * 2);
    height: calc(var(--flywheel-radius) * 2);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px dashed rgba(212, 163, 115, 0.25);
    pointer-events: none;
}

.flywheel__center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    text-align: center;
    z-index: 2;
}

.flywheel__center-label {
    font-family: var(--font-heading);
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--accent-alt);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    margin-bottom: var(--space-xs);
}

.flywheel__center-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: var(--space-xs);
}

.flywheel__center-subtitle {
    font-size: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.flywheel__stages {
    position: absolute;
    inset: 0;
}

.flywheel__stage {
    position: absolute;
    top: 50%;
    left: 50%;
    /* Offset by -90deg so --angle:0 places the first stage at 12 o'clock (top),
       not 3 o'clock. Then rotate the stage back so text stays upright. */
    transform:
        translate(-50%, -50%)
        rotate(calc(var(--angle) - 90deg))
        translate(var(--flywheel-radius))
        rotate(calc((var(--angle) - 90deg) * -1));
}

.flywheel__stage-pill {
    display: inline-flex;
    align-items: center;
    padding: 10px 18px;
    border-radius: var(--radius-pill);
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    font-weight: 700;
    background: var(--secondary);
    border: 1.5px solid var(--border);
    color: var(--text-primary);
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: all var(--transition-base);
}

/* Module color-coding via data attribute */
.flywheel__stage[data-module="rsa"] .flywheel__stage-pill {
    background: rgba(224, 122, 95, 0.12);
    border-color: var(--accent);
    color: var(--accent);
}

.flywheel__stage[data-module="ade"] .flywheel__stage-pill {
    background: rgba(212, 163, 115, 0.12);
    border-color: var(--accent-alt);
    color: var(--accent-alt);
}

.flywheel__stage[data-module="cxo"] .flywheel__stage-pill {
    background: rgba(129, 178, 154, 0.12);
    border-color: var(--success);
    color: var(--success);
}

/* Flywheel legend — module-to-color key (uniform 2x2 grid of pills) */
.flywheel-legend {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
    max-width: 760px;
    margin: var(--space-2xl) auto 0;
}

.flywheel-legend__item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 10px 14px;
    border-radius: var(--radius-pill);
    background: var(--secondary);
    border: 1px solid var(--border);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.flywheel-legend__item::before {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.flywheel-legend__item[data-module="rsa"]::before {
    background: var(--accent);
}

.flywheel-legend__item[data-module="ade"]::before {
    background: var(--accent-alt);
}

.flywheel-legend__item[data-module="cxo"]::before {
    background: var(--success);
}

.flywheel-legend__item[data-module="oes"]::before {
    background: rgba(212, 163, 115, 0.4);
    border: 1px dashed var(--accent-alt);
}

/* Fallback linear flow for mobile — shown below 768px, hides the flywheel */
.flywheel-mobile {
    display: none;
}

@media (max-width: 767px) {
    .flywheel {
        --flywheel-radius: 108px;
    }

    .flywheel::before {
        border-color: rgba(212, 163, 115, 0.3);
    }

    .flywheel__center {
        width: 140px;
    }

    .flywheel__center-title {
        font-size: 0.95rem;
    }

    .flywheel__center-subtitle {
        font-size: 0.6875rem;
    }

    .flywheel__stage-pill {
        padding: 6px 10px;
        font-size: 0.625rem;
        letter-spacing: 0.05em;
        border-width: 1px;
    }

    .flywheel-mobile {
        display: none;
    }

    .flywheel-legend {
        grid-template-columns: 1fr;
        margin-top: var(--space-lg);
    }

    .flywheel-legend__item {
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
    }
}

/* At wider breakpoints the flywheel can be larger */
@media (min-width: 1200px) {
    .flywheel {
        --flywheel-radius: 200px;
    }
}


/* =============================================================================
   SECTION 18: BLUEPRINT PAGE COMPONENTS
   ============================================================================= */

/* --- Process Stage Card — used in How It Works section --- */
.process-stage {
    background: var(--secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
    transition: all var(--transition-base);
}

.process-stage:hover {
    border-color: var(--accent-alt);
}

.process-stage__header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.process-stage__number {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(224, 122, 95, 0.12);
    border: 1.5px solid var(--accent);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    flex-shrink: 0;
}

.process-stage__meta {
    flex: 1;
    min-width: 0;
}

.process-stage__name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.2;
    margin: 0;
}

.process-stage__weeks {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-alt);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-top: 2px;
}

.process-stage__icon {
    color: var(--accent-alt);
    margin-bottom: var(--space-md);
}

.process-stage__body {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

.process-stage__activities {
    margin-top: auto;
}


/* --- Deliverable Card + Group — used in 12 Deliverables section --- */
.deliverable-group {
    margin-top: var(--space-2xl);
}

.deliverable-group:first-child {
    margin-top: var(--space-xl);
}

.deliverable-group__header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.deliverable-group__label {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-alt);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    white-space: nowrap;
}

.deliverable-group__rule {
    flex: 1;
    height: 1px;
    background: var(--border);
}

.deliverable-group__count {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
    white-space: nowrap;
}

.deliverable-card {
    background: var(--secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    transition: all var(--transition-base);
}

.deliverable-card:hover {
    border-color: var(--accent-alt);
    transform: translateY(-2px);
}

.deliverable-card__check {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    background: rgba(129, 178, 154, 0.12);
    border: 1px solid rgba(129, 178, 154, 0.3);
    color: var(--success);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.deliverable-card__content {
    flex: 1;
    min-width: 0;
}

.deliverable-card__title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
    margin-bottom: var(--space-xs);
    text-wrap: balance;
}

.deliverable-card__hook {
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* Featured debrief card — visually elevated callout for the 90-min debrief bonus */
.deliverable-featured {
    background: linear-gradient(180deg, rgba(224, 122, 95, 0.06) 0%, var(--secondary) 100%);
    border: 1.5px solid var(--accent);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    display: flex;
    align-items: flex-start;
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
    box-shadow: 0 8px 32px rgba(224, 122, 95, 0.08);
}

.deliverable-featured__icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: rgba(224, 122, 95, 0.15);
    border: 1.5px solid var(--accent);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.deliverable-featured__content {
    flex: 1;
    min-width: 0;
}

.deliverable-featured__label {
    font-family: var(--font-heading);
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: var(--space-xs);
}

.deliverable-featured__title {
    font-family: var(--font-heading);
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: var(--space-sm);
}

.deliverable-featured__body {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}


/* --- Benefit Card — used in "What You Walk Away With" section --- */
.benefit-card {
    background: var(--secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: var(--space-xl) var(--space-lg);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: all var(--transition-base);
}

.benefit-card:hover {
    border-color: var(--accent-alt);
    transform: translateY(-2px);
}

.benefit-card__icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: rgba(212, 163, 115, 0.1);
    border: 1px solid rgba(212, 163, 115, 0.3);
    color: var(--accent-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    flex-shrink: 0;
}

.benefit-card__title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
    margin-bottom: var(--space-xs);
}

.benefit-card__body {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}


/* =============================================================================
   SECTION 19: PROCESS PAGE COMPONENTS
   ============================================================================= */

/* --- AEO Definition Label — small brass marker above entity blocks --- */
.aeo-definition-label {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--accent-alt);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    margin-bottom: var(--space-sm);
}


/* --- Framework Answer — "ANSWERS:" callout for each framework section --- */
.framework-answer {
    margin-top: var(--space-xl);
    padding-top: var(--space-md);
    border-top: 1px solid rgba(212, 163, 115, 0.3);
}

.framework-answer__label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--accent-alt);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    margin-bottom: var(--space-xs);
}

.framework-answer__question {
    font-family: var(--font-heading);
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.35;
    margin: 0;
    text-wrap: balance;
}


/* --- Zigzag grid content vertical centering for framework sections --- */
.framework-grid {
    align-items: center;
}


/* --- Framework Intro — eyebrow + name + tagline + body stack --- */
.framework-intro__number {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-alt);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-bottom: var(--space-sm);
}

.framework-intro__name {
    margin-bottom: var(--space-sm);
    text-wrap: balance;
}

.framework-intro__tagline {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--accent-alt);
    line-height: 1.35;
    margin: 0 0 var(--space-lg) 0;
    text-wrap: balance;
}

.framework-intro__body {
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text-secondary);
    margin: 0;
}


/* --- Constraint Tile — compact vertical tile for the 3-type constraints --- */
.constraint-tile {
    background: var(--secondary);
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent-alt);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
    transition: all var(--transition-base);
}

.constraint-tile + .constraint-tile {
    margin-top: var(--space-md);
}

.constraint-tile:hover {
    border-color: var(--accent);
    border-left-color: var(--accent);
}

.constraint-tile__icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: rgba(212, 163, 115, 0.1);
    border: 1px solid rgba(212, 163, 115, 0.25);
    color: var(--accent-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.constraint-tile__content {
    flex: 1;
    min-width: 0;
}

.constraint-tile__title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 var(--space-xs) 0;
    line-height: 1.3;
}

.constraint-tile__problem {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0 0 var(--space-sm) 0;
}

.constraint-tile__fix {
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--accent);
    line-height: 1.4;
    margin: 0;
    display: flex;
    align-items: baseline;
    gap: var(--space-xs);
}

.constraint-tile__fix::before {
    content: "FIX →";
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--accent-alt);
    flex-shrink: 0;
}


/* --- Cadence/Response Card — paired comparison cards --- */
.compare-card {
    background: var(--secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
    transition: all var(--transition-base);
}

.compare-card + .compare-card {
    margin-top: var(--space-md);
}

.compare-card:hover {
    border-color: var(--accent-alt);
}

.compare-card__icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: rgba(212, 163, 115, 0.1);
    border: 1px solid rgba(212, 163, 115, 0.3);
    color: var(--accent-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.compare-card__content {
    flex: 1;
    min-width: 0;
}

.compare-card__tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--accent-alt);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: var(--space-xs);
}

.compare-card__title {
    font-family: var(--font-heading);
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 var(--space-xs) 0;
    line-height: 1.3;
}

.compare-card__body {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}


/* --- Framework grid flip — normalize HTML source order to content-first (mobile-friendly)
   while still producing the desktop zigzag (F1/F3/F5 have visual on the left).
   Source order on mobile always shows copy first, visual second. --- */
@media (min-width: 768px) {
    .framework-grid--flip > :first-child {
        grid-column: 2 / 3;
        grid-row: 1;
    }
    .framework-grid--flip > :last-child {
        grid-column: 1 / 2;
        grid-row: 1;
    }
}


/* --- KMRA Total Overall Panel — visceral payoff row --- */
.kmra-overall {
    margin-top: var(--space-xl);
    padding-top: var(--space-lg);
    border-top: 1.5px solid var(--accent);
    display: flex;
    align-items: baseline;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.kmra-overall__label {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-alt);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    white-space: nowrap;
}

.kmra-overall__score {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}

.kmra-overall__tag {
    font-family: var(--font-heading);
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--primary);
    background: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    white-space: nowrap;
}

/* ============================================================
   SECTION 17 — CLOCKWORK SCORE ASSESSMENT (Phase 5)
   Scoped styles for the interactive assessment UI.
   Namespace: .score-* — do not affect other pages.
   ============================================================ */

.score-question {
    margin-bottom: var(--space-2xl);
}

.score-question__number {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--accent-alt);
    margin-bottom: var(--space-sm);
}

.score-question__text {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.45;
    margin-bottom: var(--space-lg);
}

.score-radio-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.score-radio-label {
    display: block;
    cursor: pointer;
    position: relative;
}

.score-radio-label input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.score-radio-label__pill {
    display: block;
    padding: 14px 20px;
    min-height: 44px; /* R8.5 tap target */
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--secondary);
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    line-height: 1.5;
    transition: border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.score-radio-label:hover .score-radio-label__pill {
    border-color: var(--accent-alt);
    color: var(--text-primary);
}

.score-radio-label input[type="radio"]:checked + .score-radio-label__pill {
    border-color: var(--accent);
    background: rgba(224, 122, 95, 0.10);
    color: var(--text-primary);
    box-shadow: inset 0 0 0 1px var(--accent);
}

.score-radio-label input[type="radio"]:focus-visible + .score-radio-label__pill {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.score-question--error .score-question__text {
    color: var(--accent);
}

.score-question--error .score-radio-label__pill {
    border-color: rgba(224, 122, 95, 0.45);
}

.score-error-message {
    color: var(--accent);
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    margin: var(--space-lg) 0;
    padding: var(--space-md) var(--space-lg);
    border: 1px solid var(--accent);
    border-radius: var(--radius-md);
    background: rgba(224, 122, 95, 0.08);
}

.score-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-md);
    margin-top: var(--space-2xl);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border);
}

.score-nav__spacer {
    flex: 1;
}

.score-section-intro {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-2xl);
    max-width: 640px;
}

@media (min-width: 768px) {
    .score-question__text {
        font-size: 1.25rem;
    }
    .score-radio-label__pill {
        padding: 16px 22px;
    }
}

/* ============================================================
   SECTION 17.1 — CLOCKWORK SCORE OVERLAY (Phase 5.1)
   Full-screen overlay, intake form, progress bar, assembly animation,
   section transition cards, single-question layout adjustments.
   ============================================================ */

/* Overlay container — covers nav (z-index 1001) and all page content */
.score-overlay {
    position: fixed;
    inset: 0;
    z-index: 1100;
    background: var(--primary);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    animation: scoreOverlayFadeIn 240ms ease-out;
}

.score-overlay--hidden {
    display: none;
}

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

.score-overlay__inner {
    max-width: 720px;
    width: 100%;
    margin: 0 auto;
    padding: var(--space-4xl) var(--space-xl);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
}

.score-overlay__close {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    padding: var(--space-sm);
    z-index: 1101;
    transition: color 0.18s ease;
}

.score-overlay__close:hover,
.score-overlay__close:focus-visible {
    color: var(--text-primary);
    outline: none;
}

/* Thin progress bar pinned to top of overlay, fills via --score-progress var */
.score-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--border);
    z-index: 1102;
}

.score-progress-bar::before {
    content: '';
    display: block;
    height: 100%;
    width: var(--score-progress, 0%);
    background: var(--accent);
    transition: width 280ms ease-out;
}

.score-progress-counter {
    position: fixed;
    top: 0.75rem;
    left: 1.5rem;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-secondary);
    z-index: 1102;
}

/* Section transition line — shown above question on Q0, Q5, Q10, Q15 */
.score-transition-line {
    font-size: 0.875rem;
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid var(--border);
}

/* Assembly screen — between Q20 and results */
.score-assembly {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    min-height: 60vh;
    text-align: center;
}

.score-assembly__headline {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    opacity: 0;
    animation: scoreAssemblyFadeIn 300ms ease-out forwards;
}

.score-assembly__subtext {
    font-size: 1rem;
    color: var(--text-secondary);
    opacity: 0;
    animation: scoreAssemblyFadeIn 300ms ease-out 800ms forwards;
}

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

/* Intake form layout — uses existing .form-group / .form-label / .form-input */
.score-intake {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.score-intake__headline {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.25;
    margin-bottom: var(--space-md);
}

.score-intake__subtext {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-xl);
    max-width: 560px;
}

.score-intake__submit {
    margin-top: var(--space-lg);
    align-self: flex-start;
}

/* Bump question text size on desktop for overlay single-question layout */
@media (min-width: 768px) {
    .score-overlay .score-question__text {
        font-size: 1.5rem;
    }
}

/* Body lock helper — applied via JS when overlay opens */
body.score-overlay-open {
    overflow: hidden;
}

/* ============================================================
   SECTION 17.2 — CLOCKWORK SCORE RESULTS (Phase 5.2)
   Score Reveal (Screen 1) and Full Report (Screen 2) styles.
   ============================================================ */

/* Enlarge score number on results screens */
.score-results .price-highlight__amount {
    font-size: 6rem;
    line-height: 1;
}

/* Label above the score number */
.score-label {
    font-family: var(--font-heading);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-secondary);
}

/* Tier badge pill below score */
.score-tier-badge {
    display: inline-block;
    padding: 0.375rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--accent);
    color: var(--accent);
    font-family: var(--font-heading);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-top: var(--space-md);
}

/* Tier headline on Screen 1 */
.score-tier-headline {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
    margin: var(--space-xl) 0 var(--space-lg);
}

/* Diagnosis bullet list (Screen 1) */
.score-diagnosis-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    max-width: 560px;
    margin: 0 auto var(--space-2xl);
}

.score-diagnosis-list__item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
}

.score-diagnosis-list__icon {
    flex-shrink: 0;
    color: var(--accent);
    margin-top: 2px;
}

.score-diagnosis-list__text {
    font-size: 0.9375rem;
    color: var(--text-primary);
    line-height: 1.6;
}

/* Compact score repeat (Screen 2 top) */
.score-compact-repeat {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.score-compact-repeat__number {
    color: var(--accent);
    font-family: var(--font-heading);
    font-weight: 700;
}

/* Primary constraint card (Screen 2) */
.score-constraint-card {
    display: flex;
    gap: var(--space-lg);
    align-items: flex-start;
    padding: var(--space-xl);
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.02);
    margin-bottom: var(--space-2xl);
}

.score-constraint-card__icon {
    flex-shrink: 0;
    color: var(--accent);
    margin-top: 2px;
}

.score-constraint-card__label {
    font-family: var(--font-heading);
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: var(--space-xs);
}

.score-constraint-card__headline {
    font-family: var(--font-heading);
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
    line-height: 1.3;
}

.score-constraint-card__body {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Tier message (Screen 2) — full tier explanation paragraph above the engine grid */
.score-tier-message {
    background: var(--secondary);
    border-left: 3px solid var(--accent-alt);
    border-radius: var(--radius-md);
    padding: var(--space-lg) var(--space-xl);
}

.score-tier-message__text {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.9375rem;
    margin: 0;
}

/* Framework breakdown (Screen 2) — the 5 diagnostic framework subscores */
.score-framework-breakdown {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.score-framework-row {
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--border);
}

.score-framework-row:last-child {
    border-bottom: 0;
}

.score-framework-row__header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: var(--space-md);
    margin-bottom: var(--space-sm);
}

.score-framework-row__label {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.score-framework-row__score {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--accent);
    white-space: nowrap;
}

.score-framework-row__bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: var(--space-sm);
}

.score-framework-row__fill {
    height: 100%;
    background: var(--accent);
    border-radius: 3px;
    transition: width var(--transition-base);
}

.score-framework-row__measures {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-alt);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    line-height: 1.4;
    margin: 0 0 var(--space-xs) 0;
}

.score-framework-row__interp {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* Blueprint panel (Screen 2) */
.score-blueprint-panel {
    border-top: 3px solid var(--accent);
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    padding: var(--space-2xl);
    text-align: center;
    margin-top: var(--space-2xl);
}

.score-blueprint-panel__eyebrow {
    font-family: var(--font-heading);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: var(--space-sm);
}

.score-blueprint-panel__title {
    font-family: var(--font-heading);
    font-size: 1.625rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
    line-height: 1.2;
}

.score-blueprint-panel__sub {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 520px;
    margin: 0 auto var(--space-xl);
}

/* Check list in Blueprint panel */
.score-check-list {
    list-style: none;
    padding: 0;
    margin: 0 auto var(--space-xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    text-align: left;
    max-width: 420px;
}

.score-check-list__item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    font-size: 0.9375rem;
    color: var(--text-primary);
    line-height: 1.5;
}

.score-check-list__icon {
    flex-shrink: 0;
    color: var(--accent);
    margin-top: 3px;
}

/* Urgency / cohort copy in Blueprint panel */
.score-blueprint-panel__urgency {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 480px;
    margin: 0 auto var(--space-xl);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border);
}
