/* =========================================================
   FACE — DESIGN SYSTEM REFINEMENT (Tony Robbins-grade polish)
   Mobile-first. Applies to editable sections only.
   Excludes (untouched): hero, #programs-showcase, #podcast-section
   ========================================================= */

:root {
    /* --- Section rhythm (vertical air) --- */
    --ds-section-y: 72px;
    /* mobile vertical padding */
    --ds-section-x: 20px;
    --ds-container: 1200px;

    /* --- Typographic scale (fluid) --- */
    --ds-eyebrow: clamp(0.72rem, 2.6vw, 0.8rem);
    --ds-title: clamp(2rem, 6vw, 3.4rem);
    --ds-subtitle: clamp(1rem, 3.4vw, 1.2rem);

    /* --- Color rhythm blocks --- */
    --ds-bg-dark: #000000;
    --ds-bg-light: #ffffff;
    --ds-bg-cream: #f5f3ef;
    /* warm neutral like the reference */

    --ds-ink-on-dark: #ffffff;
    --ds-ink-on-light: #0a0a0a;
    --ds-muted-on-dark: #9a9a9a;
    --ds-muted-on-light: #666666;

    --ds-accent: var(--tr-blue, #0051ff);

    /* --- Detail tokens --- */
    --ds-radius: 20px;
    --ds-radius-sm: 12px;
    --ds-ease: cubic-bezier(0.16, 1, 0.3, 1);
    --ds-shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.12);
    --ds-shadow-dark: 0 20px 50px rgba(0, 0, 0, 0.5);
}

@media (min-width: 769px) {
    :root {
        --ds-section-y: 120px;
        --ds-section-x: 5vw;
    }
}

/* ---------------------------------------------------------
   1. SPACING & CONTAINER
   --------------------------------------------------------- */
.ds-section {
    padding: var(--ds-section-y) var(--ds-section-x);
}

.ds-container {
    max-width: var(--ds-container);
    margin: 0 auto;
    width: 100%;
}

/* ---------------------------------------------------------
   2. TYPOGRAPHIC HIERARCHY
   --------------------------------------------------------- */
.ds-eyebrow {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: var(--ds-eyebrow);
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ds-accent);
    margin-bottom: 16px;
}

.ds-title {
    font-family: 'Inter', sans-serif;
    font-size: var(--ds-title);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.03;
    margin: 0 0 18px;
}

.ds-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: var(--ds-subtitle);
    font-weight: 400;
    line-height: 1.55;
    max-width: 640px;
    margin: 0;
}

/* ---------------------------------------------------------
   3. COLOR RHYTHM (block themes)
   --------------------------------------------------------- */
.ds-theme-dark {
    background: var(--ds-bg-dark);
    color: var(--ds-ink-on-dark);
}

.ds-theme-dark .ds-subtitle {
    color: var(--ds-muted-on-dark);
}

.ds-theme-light {
    background: var(--ds-bg-light);
    color: var(--ds-ink-on-light);
}

.ds-theme-light .ds-subtitle {
    color: var(--ds-muted-on-light);
}

.ds-theme-cream {
    background: var(--ds-bg-cream);
    color: var(--ds-ink-on-light);
}

.ds-theme-cream .ds-subtitle {
    color: var(--ds-muted-on-light);
}

/* ---------------------------------------------------------
   4. MICRO-INTERACTIONS & DETAILS
   --------------------------------------------------------- */
.ds-card {
    border-radius: var(--ds-radius);
    transition: transform 0.35s var(--ds-ease), box-shadow 0.35s var(--ds-ease);
    will-change: transform;
}

.ds-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--ds-shadow-soft);
}

.ds-theme-dark .ds-card:hover {
    box-shadow: var(--ds-shadow-dark);
}

.ds-link-arrow .arrow-icon,
.ds-link-arrow .arrow {
    display: inline-block;
    transition: transform 0.3s var(--ds-ease);
}

.ds-link-arrow:hover .arrow-icon,
.ds-link-arrow:hover .arrow {
    transform: translateX(5px);
}
