/* ==========================================================================
   THE BOLD WAY - Design System
   Extracted from homepage-v14.html (source of truth)
   All pages inherit this stylesheet.
   ========================================================================== */

/* ===== RESET ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
    /* Dark theme (primary) */
    --bg-primary: #07090F;
    --bg-secondary: #0B0E16;
    --bg-card: #10141E;
    --bg-elevated: #151A26;

    /* Text */
    --text-primary: #FFFFFF;
    --text-secondary: #9BA3B5;
    --text-tertiary: #5A6475;
    --text-dim: #3D4555;

    /* Accent: Red */
    --red: #C0392B;
    --red-bright: #E74C3C;
    --red-glow: rgba(231, 76, 60, 0.15);
    --red-muted: rgba(192, 57, 43, 0.12);
    --red-subtle: rgba(192, 57, 43, 0.06);
    --red-border: rgba(192, 57, 43, 0.25);

    /* Accent: Gold */
    --gold: #C9A227;
    --gold-hover: #D4AD2B;
    --gold-muted: rgba(201, 162, 39, 0.08);
    --gold-border: rgba(201, 162, 39, 0.15);
    --gold-subtle: rgba(201, 162, 39, 0.04);

    /* EGL Pillar Colors */
    --execute-red: #D33A4D;
    --execute-red-glow: rgba(211, 58, 77, 0.15);
    --execute-red-muted: rgba(211, 58, 77, 0.10);
    --execute-red-border: rgba(211, 58, 77, 0.25);

    --grow-teal: #23B0C8;
    --grow-teal-glow: rgba(35, 176, 200, 0.15);
    --grow-teal-muted: rgba(35, 176, 200, 0.10);
    --grow-teal-border: rgba(35, 176, 200, 0.25);

    --live-purple: #B77DAA;
    --live-purple-glow: rgba(183, 125, 170, 0.15);
    --live-purple-muted: rgba(183, 125, 170, 0.10);
    --live-purple-border: rgba(183, 125, 170, 0.25);

    --sage-green: #169E86;
    --sage-green-glow: rgba(22, 158, 134, 0.15);
    --sage-green-muted: rgba(22, 158, 134, 0.10);
    --sage-green-border: rgba(22, 158, 134, 0.25);

    /* Borders */
    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.12);

    /* Light section palette */
    --bg-light: #F5F3F0;
    --bg-light-card: #FFFFFF;
    --text-light-primary: #1A1A2E;
    --text-light-secondary: #4A4A5A;
    --text-light-tertiary: #7A7A8A;
    --border-light: rgba(0, 0, 0, 0.08);
    --border-light-hover: rgba(0, 0, 0, 0.14);

    /* Layout */
    --container-max: 1080px;
    --section-padding: clamp(72px, 8vw, 110px);
}


/* ===== BASE TYPOGRAPHY ===== */
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

/* Subtle noise texture overlay */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
}

h1 {
    font-size: clamp(44px, 5.5vw, 68px);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1.08;
}
h2 {
    font-size: clamp(28px, 3.5vw, 44px);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.12;
}
h3 {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.3;
}

.eyebrow {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--red-bright);
}
.subheading {
    font-size: 17px;
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 1.75;
}

a { color: var(--text-primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--text-secondary); }


/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    font-family: inherit;
}
.btn-primary {
    background: var(--red-bright);
    color: white;
    font-weight: 700;
}
.btn-primary:hover {
    background: #EF5A4A;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(231, 76, 60, 0.35);
}
.btn-secondary {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid rgba(255,255,255,0.15);
    font-weight: 600;
}
.btn-secondary:hover {
    border-color: rgba(255,255,255,0.3);
    color: var(--text-primary);
    transform: translateY(-2px);
    background: rgba(255,255,255,0.03);
}
.btn-text {
    background: none;
    border: none;
    color: var(--gold);
    font-size: 13px;
    font-weight: 600;
    padding: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}
.btn-text:hover { color: var(--gold-hover); }


/* ===== LAYOUT ===== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}
section {
    padding: var(--section-padding) 0;
    position: relative;
}
.section-alt { background: var(--bg-secondary); }

.section-rule { height: 1px; background: var(--border); }

.section-divider {
    width: 60%;
    max-width: 600px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
    margin: 0 auto;
}


/* ===== LIGHT SECTION ===== */
.section-light {
    background: var(--bg-light);
    color: var(--text-light-primary);
}
.section-light .eyebrow { color: var(--red-bright); }
.section-light h2 { color: var(--text-light-primary); }
.section-light .subheading { color: var(--text-light-secondary); }


/* ===== PHOENIX CREST ===== */
.crest {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 28px;
}
.crest img {
    height: 38px;
    width: auto;
    opacity: 0.55;
}
.crest-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}
.section-light .crest img { opacity: 0.15; filter: invert(1); }
.section-light .crest-line { background: linear-gradient(90deg, transparent, rgba(0,0,0,0.1), transparent); }


/* ===== ASSERTION BOX ===== */
.assertion-box {
    padding: 22px 28px;
    border-left: 3px solid var(--red);
    background: rgba(192, 57, 43, 0.06);
    border-radius: 0 8px 8px 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.65;
}
.assertion-box-red {
    border-left-color: var(--red-bright);
    background: rgba(231, 76, 60, 0.06);
    color: var(--red-bright);
}
.section-light .assertion-box {
    background: rgba(192, 57, 43, 0.06);
    color: var(--text-light-primary);
}
.section-light .assertion-box-red {
    background: rgba(231, 76, 60, 0.06);
    color: var(--red-bright);
}


/* ===== STAT CALLOUT ===== */
.stat-callout {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 20px 24px;
    margin: 24px 0;
    display: flex;
    align-items: center;
    gap: 16px;
}
.stat-callout-number {
    font-size: 28px;
    font-weight: 800;
    color: var(--red-bright);
    flex-shrink: 0;
}
.stat-callout-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}


/* ===== IMAGE MOMENTS ===== */
.image-moment { position: relative; overflow: hidden; }
.image-moment-tall { height: 55vh; min-height: 400px; }
.image-moment-medium { height: 40vh; min-height: 320px; }
.image-moment-bg { position: absolute; inset: 0; z-index: 0; }
.image-moment-bg img { width: 100%; height: 100%; object-fit: cover; }
.image-moment-bg.darken-heavy::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(7, 9, 15, 0.55) 0%, rgba(7, 9, 15, 0.35) 50%, rgba(7, 9, 15, 0.65) 100%);
}
.image-moment-bg.darken-medium::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, var(--bg-primary) 0%, rgba(7,9,15,0.55) 25%, rgba(7,9,15,0.55) 75%, var(--bg-primary) 100%);
}
.image-moment-content {
    position: relative; z-index: 2; height: 100%;
    display: flex; align-items: center; justify-content: center; text-align: center;
    padding: 0 24px;
}
.image-moment-text { max-width: 640px; }
.image-moment-text .eyebrow { margin-bottom: 12px; }
.image-moment-text h2 { text-shadow: 0 2px 20px rgba(0,0,0,0.6); }


/* ===== IMAGE PLACEHOLDER ===== */
.image-placeholder {
    background: #1a1a2e;
    border: 2px dashed #333;
    padding: 40px;
    text-align: center;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.image-placeholder-info {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
}
.image-placeholder-info strong {
    display: block;
    margin-top: 4px;
}


/* ===== CARD GRID ===== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 28px 24px;
    transition: border-color 0.3s, transform 0.3s;
}
.feature-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}
.feature-card .card-icon {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: rgba(231, 76, 60, 0.08);
    border: 1px solid rgba(231, 76, 60, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.feature-card .card-icon-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--red-bright);
}
.feature-card h3 { margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

@media (max-width: 768px) {
    .card-grid { grid-template-columns: 1fr; }
}


/* ===== TESTIMONIAL CARDS ===== */
.testimonial-card {
    background: rgba(16, 20, 30, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    transition: border-color 0.3s;
}
.testimonial-card:hover { border-color: var(--border-hover); }
.testimonial-quote {
    font-size: 36px;
    font-weight: 800;
    color: var(--red-bright);
    line-height: 1;
    margin-bottom: 16px;
}
.testimonial-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    font-style: italic;
    flex: 1;
    margin-bottom: 16px;
}
.testimonial-attribution {
    padding-top: 14px;
    border-top: 1px solid var(--border);
}
.testimonial-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}
.testimonial-company {
    font-size: 13px;
    color: var(--text-tertiary);
    margin-bottom: 10px;
}
.testimonial-result {
    font-size: 13px;
    font-weight: 700;
    color: var(--red-bright);
    letter-spacing: 0.3px;
}


/* ===== PROOF BAR ===== */
.proof-bar {
    padding: 56px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg-secondary);
}
.proof-bar-inner {
    display: flex;
    flex-direction: column;
    gap: 36px;
}
.proof-stats {
    display: flex;
    justify-content: center;
    gap: 64px;
}
.proof-stat {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: center;
}
.proof-value {
    font-size: 40px;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: var(--red-bright);
}
.proof-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-tertiary);
}
.proof-press {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
}
.proof-press-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-right: 8px;
}
.proof-press-name {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-size: 22px;
    font-weight: 600;
    color: rgba(255,255,255,0.55);
    letter-spacing: 0.5px;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .proof-stats { flex-direction: column; gap: 24px; align-items: center; }
    .proof-press { gap: 24px; }
    .proof-press-name { font-size: 18px; }
}


/* ===== SCREENSHOTS ===== */
.screenshot-container {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 16px 48px rgba(0,0,0,0.35);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}
.screenshot-container:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 64px rgba(0,0,0,0.5);
}
.screenshot-container img {
    width: 100%;
    height: auto;
    display: block;
}
.screenshot-caption {
    font-size: 12px;
    color: var(--text-dim);
    margin-top: 12px;
    text-align: center;
    font-weight: 500;
    letter-spacing: 0.3px;
}


/* ===== BULLET ITEMS ===== */
.bullet-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.bullet-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}
.bullet-icon {
    width: 22px;
    height: 22px;
    border-radius: 5px;
    flex-shrink: 0;
    margin-top: 1px;
    background: rgba(231, 76, 60, 0.08);
    border: 1px solid rgba(231, 76, 60, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}
.bullet-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--red-bright);
}


/* ===== TIMELINE ===== */
.timeline-primary {
    max-width: 680px;
    margin: 0 auto 40px;
    position: relative;
    padding-left: 44px;
}
.timeline-primary::before {
    content: '';
    position: absolute;
    left: 13px;
    top: 8px;
    bottom: 8px;
    width: 1px;
    background: linear-gradient(180deg, var(--red-border), var(--border));
}
.section-light .timeline-primary::before {
    background: linear-gradient(180deg, rgba(231, 76, 60, 0.3), var(--border-light));
}
.timeline-step {
    position: relative;
    padding: 0 0 28px 0;
}
.timeline-step:last-child { padding-bottom: 0; }
.timeline-step-marker {
    position: absolute;
    left: -44px;
    top: 4px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    color: var(--red-bright);
    background: var(--bg-card);
    border: 2px solid rgba(231, 76, 60, 0.3);
}
.section-light .timeline-step-marker {
    background: var(--bg-light-card);
    border: 2px solid rgba(231, 76, 60, 0.3);
}
.timeline-step-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}
.section-light .timeline-step-title { color: var(--text-light-primary); }
.timeline-step-desc { font-size: 14px; line-height: 1.6; }
.section-light .timeline-step-desc { color: var(--text-light-secondary); }
.timeline-summary {
    text-align: center;
    font-size: 15px;
    line-height: 1.75;
    max-width: 620px;
    margin: 0 auto 40px;
}
.section-light .timeline-summary { color: var(--text-light-tertiary); }
.timeline-cta { text-align: center; }


/* ===== TWO-COLUMN LAYOUT ===== */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}
.two-col-center { align-items: center; }

@media (max-width: 768px) {
    .two-col { grid-template-columns: 1fr; gap: 40px; }
}


/* ===== SPLIT PANEL (founders/living proof style) ===== */
.split-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 440px;
}
.split-panel-image {
    position: relative;
    overflow: hidden;
}
.split-panel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.split-panel-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 56px 64px;
    background: var(--bg-secondary);
}
.split-panel-content .eyebrow { margin-bottom: 16px; }
.split-panel-content h2 {
    font-size: clamp(22px, 2.5vw, 32px);
    margin-bottom: 20px;
}
.split-panel-content p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 14px;
}
.split-panel-content .emphasis {
    font-weight: 600;
    color: var(--text-primary);
}
.split-panel-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--gold);
    margin-top: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.split-panel-link:hover { color: var(--gold-hover); }

@media (max-width: 768px) {
    .split-panel { grid-template-columns: 1fr; }
    .split-panel-content { padding: 40px 24px; }
}


/* ===== BEFORE/AFTER TRANSFORM ===== */
.transform-grid {
    display: grid;
    grid-template-columns: 1fr 1px 1fr;
    gap: 0;
    max-width: 860px;
    margin: 0 auto;
}
.transform-divider { background: var(--border); }
.transform-col { padding: 0 36px; }
.transform-col-label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 24px;
    display: block;
}
.transform-col.before .transform-col-label { color: var(--red-bright); }
.transform-col.after .transform-col-label { color: var(--gold); }
.transform-items { display: flex; flex-direction: column; gap: 16px; }
.transform-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
}
.transform-item-icon {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 700;
    margin-top: 2px;
}
.before .transform-item-icon { background: var(--red-muted); color: var(--red-bright); }
.after .transform-item-icon { background: var(--gold-muted); color: var(--gold); }

@media (max-width: 768px) {
    .transform-grid { grid-template-columns: 1fr; gap: 40px; }
    .transform-divider { display: none; }
    .transform-col { padding: 0; }
}


/* ===== SECTION BACKGROUND TREATMENTS ===== */
.bg-gradient-red {
    background: var(--bg-secondary);
    background-image: radial-gradient(ellipse at 85% 15%, rgba(192, 57, 43, 0.04) 0%, transparent 60%);
}
.bg-gradient-dark {
    background: linear-gradient(180deg, #0E1219 0%, var(--bg-primary) 100%);
}
.bg-card-section {
    background: var(--bg-card);
}


/* ===== VISION / FULL-WIDTH OVERLAY SECTIONS ===== */
.fullwidth-overlay {
    position: relative;
    overflow: hidden;
    padding: clamp(80px, 10vw, 140px) 0;
}
.fullwidth-overlay-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.fullwidth-overlay-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.fullwidth-overlay-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, var(--bg-primary) 0%, rgba(7,9,15,0.75) 20%, rgba(7,9,15,0.75) 80%, var(--bg-primary) 100%);
}
.fullwidth-overlay .container {
    position: relative;
    z-index: 2;
}


/* ===== PAGE HERO (for inner pages) ===== */
.page-hero {
    min-height: 50vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding-top: 64px;
    background: var(--bg-primary);
}
.page-hero .container {
    position: relative;
    z-index: 2;
    padding-top: 60px;
    padding-bottom: 60px;
}
.page-hero .eyebrow { margin-bottom: 16px; }
.page-hero h1 { max-width: 740px; margin-bottom: 20px; }
.page-hero .subheading {
    max-width: 640px;
    margin-bottom: 32px;
}
.page-hero .hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.page-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.page-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.page-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(7,9,15,0.92) 0%, rgba(7,9,15,0.82) 40%, rgba(7,9,15,0.60) 100%);
}
/* Particle / subtle animation hero variant */
.page-hero-particles {
    background: var(--bg-primary);
    background-image:
        radial-gradient(ellipse at 20% 50%, rgba(192, 57, 43, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 30%, rgba(201, 162, 39, 0.02) 0%, transparent 50%);
}

@media (max-width: 768px) {
    .page-hero { min-height: 40vh; }
    .page-hero .hero-buttons { flex-direction: column; }
    .page-hero .hero-buttons .btn { width: 100%; }
}


/* ===== NEWSLETTER ===== */
.newsletter-input {
    background: var(--bg-primary);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 6px;
    padding: 10px 14px;
    color: var(--text-primary);
    font-size: 13px;
    font-family: inherit;
    width: 220px;
    transition: border-color 0.2s;
}
.newsletter-input:focus {
    border-color: rgba(255,255,255,0.2);
    outline: none;
}
.newsletter-input::placeholder { color: var(--text-dim); }
.newsletter-btn {
    padding: 10px 18px;
    background: var(--red-bright);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s;
}
.newsletter-btn:hover { background: #EF5A4A; }


/* ===== ANIMATIONS ===== */
.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
.stagger-2 { transition-delay: 0.07s; }
.stagger-3 { transition-delay: 0.14s; }
.stagger-4 { transition-delay: 0.21s; }
.stagger-5 { transition-delay: 0.28s; }


/* ===== UTILITY CLASSES ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.mt-sm { margin-top: 16px; }
.mt-md { margin-top: 32px; }
.mt-lg { margin-top: 48px; }
.mb-sm { margin-bottom: 16px; }
.mb-md { margin-bottom: 32px; }
.mb-lg { margin-bottom: 48px; }
.max-w-prose { max-width: 640px; }
.max-w-narrow { max-width: 520px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.highlight { color: var(--text-primary); font-weight: 600; }
.body-text { font-size: 15px; color: var(--text-secondary); line-height: 1.8; }
.body-large { font-size: 16px; line-height: 1.8; color: var(--text-secondary); }

/* Typography polish: prevent orphans in headings */
h1, h2, h3 {
    text-wrap: balance;
}
.subheading, .body-text, .body-large {
    text-wrap: pretty;
}

/* Grid utilities */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .grid-2 { grid-template-columns: 1fr; }
    .grid-3 { grid-template-columns: 1fr; }
    .grid-4 { grid-template-columns: 1fr; }
}
