/**
 * Homepage sections — full visual system (index.html only).
 * Overrides legacy glass/Space Grotesk styles from styles.css.
 */

.page-home {
    --home-pad: clamp(5rem, 9vw, 7.5rem);
    --home-gap: clamp(2.5rem, 5vw, 4rem);
    --home-border: rgba(255, 255, 255, 0.09);
    --home-border-soft: rgba(255, 255, 255, 0.05);
    --home-surface: #0c0c0c;
    --home-surface-raised: #111111;
    --home-muted: rgba(255, 255, 255, 0.55);
    --home-text: rgba(255, 255, 255, 0.9);
    --home-red-dim: rgba(239, 35, 35, 0.12);
    --home-red-glow: rgba(239, 35, 35, 0.35);
    --home-font-display: var(--font-display);
}

/* ── Reset legacy section chrome ── */

.page-home .impact-section-modern,
.page-home .testimonials-section-attractive,
.page-home .team-section-new,
.page-home .engagements-section-modern {
    padding: var(--home-pad) 0 !important;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.page-home .engagements-layout {
    display: grid;
    align-items: start;
    max-width: 1180px;
    margin: 0 auto;
}

.page-home .container {
    max-width: 1180px;
    padding-left: clamp(1.25rem, 4vw, 2rem);
    padding-right: clamp(1.25rem, 4vw, 2rem);
}

.page-home .stats-list-container,
.page-home .engagements-list-container {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    overflow: visible !important;
}

.page-home .stats-list-container:hover,
.page-home .engagements-list-container:hover {
    border: none !important;
    box-shadow: none !important;
}

.page-home .testimonials-section-attractive::before,
.page-home .testimonials-section-attractive::after,
.page-home .impact-section-modern::before,
.page-home .engagements-section-modern::before {
    display: none !important;
}

.page-home .testimonial-card-attractive::before,
.page-home .quote-decoration {
    display: none !important;
}

.page-home .landing-section {
    border-bottom: 1px solid var(--home-border-soft);
    min-height: 100svh;
    min-height: 100dvh;
    min-height: 100vh;
    box-sizing: border-box;
    padding-top: calc(96px + env(safe-area-inset-top, 0px));
    padding-bottom: clamp(2rem, 4vh, 3rem);
}

/* ── Shared section typography ── */

.page-home .highlights-label,
.page-home .testimonials-label,
.page-home .team-label {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    font-family: var(--font-body);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--brand-red);
    opacity: 1;
    margin-bottom: 1.25rem;
}

.page-home .highlights-label::before,
.page-home .testimonials-label::before,
.page-home .team-label::before {
    content: '';
    width: 24px;
    height: 2px;
    border-radius: 0;
    box-shadow: none;
    background: var(--brand-red);
    flex-shrink: 0;
}

.page-home .highlights-title,
.page-home .testimonials-title-attractive,
.page-home .team-title-new {
    font-family: var(--font-display) !important;
    font-size: clamp(2rem, 3.5vw, 2.85rem) !important;
    font-weight: var(--heading-weight) !important;
    letter-spacing: -0.04em !important;
    line-height: 1.05 !important;
    color: var(--text-primary) !important;
    margin: 0 0 1.25rem !important;
}

.page-home .highlights-description,
.page-home .team-description-new {
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--home-muted);
}

.page-home .metrics-header .highlights-description,
.page-home .engagements-highlights .highlights-description {
    max-width: none;
}

.page-home .team-description-new {
    max-width: 52ch;
}

/* Section index numbers — watermark, not layout-breaking */
.page-home .metrics-header,
.page-home .testimonials-header-attractive,
.page-home .team-header-new,
.page-home .engagements-highlights {
    position: relative;
}

.page-home .metrics-header::before {
    content: '01';
}

.page-home .testimonials-header-attractive::before {
    content: '02';
}

.page-home .team-header-new::before {
    content: '03';
}

.page-home .engagements-highlights::before {
    content: '04';
}

.page-home .metrics-header::before,
.page-home .testimonials-header-attractive::before,
.page-home .team-header-new::before,
.page-home .engagements-highlights::before {
    position: absolute;
    top: -0.35rem;
    right: 0;
    display: block;
    font-family: var(--font-display);
    font-size: clamp(4rem, 8vw, 6rem);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.06em;
    color: rgba(239, 35, 35, 0.07);
    margin: 0;
    pointer-events: none;
    user-select: none;
}

.page-home .testimonials-header-attractive::before {
    right: auto;
    left: 0;
}

/* ══════════════════════════════════════
   METRICS (01) — editorial rail
   ══════════════════════════════════════ */

.page-home .impact-section-modern {
    font-family: var(--home-font-display);
    background:
        radial-gradient(ellipse 80% 50% at 50% 100%, rgba(239, 35, 35, 0.06) 0%, transparent 62%),
        #000;
}

.page-home .impact-section-modern .container {
    position: relative;
}

.page-home .metrics-header {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(260px, 1.05fr);
    gap: clamp(1.5rem, 3vw, 2.5rem);
    align-items: end;
    max-width: none;
    margin: 0;
    text-align: left;
    padding-bottom: 0;
}

.page-home .metrics-header-main {
    min-width: 0;
}

.page-home .metrics-header .highlights-label {
    justify-content: flex-start;
    margin-bottom: 1rem;
}

.page-home .metrics-header .highlights-label::before {
    display: block;
}

.page-home .metrics-header .highlights-label::after {
    display: none;
}

.page-home .metrics-header .highlights-title {
    font-family: var(--home-font-display);
    font-weight: var(--heading-weight) !important;
    letter-spacing: -0.03em !important;
    margin-bottom: 0 !important;
}

.page-home .metrics-header .highlights-description {
    max-width: 42ch;
    margin: 0 0 0.15rem;
    font-size: 0.9375rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.5);
}

.page-home .metrics-header::before {
    font-family: var(--font-display);
    font-weight: 500;
    letter-spacing: -0.05em;
    top: -0.5rem;
    right: 0;
    left: auto;
}

.page-home .metrics-rail {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: clamp(2rem, 3.5vw, 2.75rem);
    border-top: 1px solid var(--home-border);
    border-bottom: 1px solid var(--home-border);
    position: relative;
}

.page-home .metrics-rail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(239, 35, 35, 0.55) 50%, transparent);
    pointer-events: none;
}

.page-home .metric-cell {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
    padding: clamp(1.75rem, 3vw, 2.35rem) clamp(1.15rem, 2vw, 1.65rem);
    min-height: 11rem;
    border-right: 1px solid var(--home-border-soft);
    transition: background 0.35s ease;
}

.page-home .metric-cell:last-child {
    border-right: none;
}

.page-home .metric-cell:hover {
    background: linear-gradient(180deg, rgba(239, 35, 35, 0.05) 0%, transparent 100%);
}

.page-home .metric-index {
    font-family: var(--home-font-display);
    font-size: 0.625rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    color: rgba(239, 35, 35, 0.55);
    line-height: 1;
}

.page-home .metric-cell .stat-number {
    font-family: var(--font-display) !important;
    font-size: clamp(2rem, 3.6vw, 3.15rem) !important;
    font-weight: var(--heading-weight) !important;
    letter-spacing: -0.045em !important;
    line-height: 1 !important;
    margin: 0 !important;
    color: #fff !important;
    font-variant-numeric: tabular-nums;
    font-feature-settings: 'tnum' 1;
    white-space: nowrap;
}

.page-home .metric-cell:nth-child(3) .stat-number {
    font-size: clamp(1.75rem, 3vw, 2.75rem) !important;
    letter-spacing: -0.035em !important;
}

.page-home .metric-cell:hover .stat-number {
    text-shadow: 0 0 40px rgba(239, 35, 35, 0.22);
}

.page-home .metric-cell .stat-desc {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 400;
    line-height: 1.45;
    letter-spacing: 0.01em;
    text-transform: none;
    color: var(--home-muted);
    margin: 0;
    max-width: 14ch;
}

.page-home .metric-cell:nth-child(2) .stat-desc,
.page-home .metric-cell:nth-child(4) .stat-desc {
    max-width: 16ch;
}

/* ══════════════════════════════════════
   TESTIMONIALS
   ══════════════════════════════════════ */

.page-home .testimonials-section-attractive {
    background:
        linear-gradient(180deg, #050505 0%, #0a0a0a 50%, #050505 100%);
}

.page-home .testimonials-section-attractive .container {
    position: relative;
}

.page-home .testimonials-section-attractive .container::before {
    content: '';
    position: absolute;
    inset: 10% -5% 10% -5%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 20%, transparent 75%);
    pointer-events: none;
    z-index: 0;
}

.page-home .testimonials-header-attractive,
.page-home .testimonials-grid-attractive {
    position: relative;
    z-index: 1;
}

.page-home .testimonials-header-attractive {
    max-width: 520px;
    margin-bottom: 3rem;
}

.page-home .testimonials-title-attractive {
    margin-bottom: 0 !important;
}

.page-home .testimonials-grid-attractive {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 1.25rem;
    max-width: 1180px;
    margin: 0 auto;
}

.page-home .testimonial-card-attractive {
    display: flex;
    flex-direction: column;
    padding: 1.75rem;
    background: var(--home-surface) !important;
    border: 1px solid var(--home-border) !important;
    border-radius: 0 !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.page-home .testimonial-card-attractive:nth-child(1) {
    grid-column: span 5;
}

.page-home .testimonial-card-attractive:nth-child(2) {
    grid-column: span 7;
}

.page-home .testimonial-card-attractive:nth-child(3) {
    grid-column: span 12;
    flex-direction: row;
    align-items: stretch;
    gap: 2rem;
}

.page-home .testimonial-card-attractive::after {
    content: '';
    display: block !important;
    position: absolute;
    left: 0;
    top: 1.25rem;
    bottom: 1.25rem;
    width: 3px;
    border-radius: 0 2px 2px 0;
    background: var(--brand-red);
    opacity: 0.85;
}

.page-home .testimonial-card-attractive:hover {
    transform: translateY(-4px) !important;
    border-color: rgba(239, 35, 35, 0.3) !important;
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.4) !important;
    background: var(--home-surface-raised) !important;
}

.page-home .testimonial-content-attractive {
    flex: 1;
    margin-bottom: 1.5rem;
    padding-left: 0.75rem;
}

.page-home .testimonial-card-attractive:nth-child(3) .testimonial-content-attractive {
    margin-bottom: 0;
}

.page-home .testimonial-text-attractive {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.78;
    color: var(--home-text);
    margin: 0;
}

.page-home .testimonial-card-attractive:nth-child(1) .testimonial-text-attractive {
    font-size: 1.0625rem;
}

.page-home .testimonial-author-attractive {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.25rem;
    margin-top: auto;
    border-top: 1px solid var(--home-border-soft);
    padding-left: 0.75rem;
}

.page-home .testimonial-card-attractive:nth-child(3) .testimonial-author-attractive {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-width: 200px;
    padding-top: 0;
    margin-top: 0;
    border-top: none;
    border-left: 1px solid var(--home-border-soft);
    padding-left: 2rem;
}

.page-home .avatar-glow {
    display: none !important;
}

.page-home .avatar-img-attractive,
.page-home .avatar-inner {
    width: 48px !important;
    height: 48px !important;
    border-radius: 0 !important;
    border: 1px solid rgba(239, 35, 35, 0.22) !important;
}

.page-home .testimonial-card-attractive:hover .avatar-img-attractive,
.page-home .testimonial-card-attractive:hover .avatar-inner {
    transform: none !important;
    border-color: rgba(239, 35, 35, 0.4) !important;
}

.page-home .author-name-attractive {
    font-family: var(--font-display) !important;
    font-size: 1rem !important;
    font-weight: var(--heading-weight) !important;
    margin: 0 0 0.2rem !important;
}

.page-home .author-name-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.page-home .author-name-link:hover {
    color: var(--brand-red);
}

.page-home .author-title-attractive {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    color: var(--home-muted);
    margin: 0;
}

/* ══════════════════════════════════════
   TEAM (03) — editorial roster
   ══════════════════════════════════════ */

.page-home .team-section-new {
    background:
        radial-gradient(ellipse 70% 45% at 0% 0%, rgba(239, 35, 35, 0.05) 0%, transparent 58%),
        #000;
}

.page-home .team-section-new::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--home-border), transparent);
}

.page-home .team-header-new {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(260px, 1.05fr);
    gap: clamp(1.5rem, 3vw, 2.5rem);
    align-items: end;
    max-width: none;
    margin: 0 0 0;
    padding: 0;
    border-left: none;
    text-align: left;
}

.page-home .team-header-main {
    min-width: 0;
}

.page-home .team-header-new::after {
    display: none;
}

.page-home .team-header-new .team-label {
    margin-bottom: 1rem;
}

.page-home .team-header-new .team-title-new {
    margin-bottom: 0 !important;
}

.page-home .team-header-new .team-description-new {
    max-width: 42ch;
    margin: 0 0 0.15rem;
    font-size: 0.9375rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.5);
}

.page-home .team-header-new::before {
    top: -0.5rem;
    right: 0;
    left: auto;
}

.page-home .team-roster {
    margin-top: clamp(2rem, 3.5vw, 2.75rem);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border: 1px solid var(--home-border);
    position: relative;
}

.page-home .team-roster::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(239, 35, 35, 0.55) 50%, transparent);
    pointer-events: none;
}

.page-home .team-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
    padding: clamp(1.25rem, 2.2vw, 1.65rem);
    border-right: 1px solid var(--home-border-soft);
    border-bottom: 1px solid var(--home-border-soft);
    background: transparent;
    border-radius: 0 !important;
    text-align: center !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
    transform: none !important;
    transition: background 0.35s ease;
    min-height: 100%;
}

.page-home .team-card:hover {
    background: linear-gradient(135deg, rgba(239, 35, 35, 0.05) 0%, transparent 70%);
    transform: none !important;
    box-shadow: none !important;
}

.page-home .team-card:nth-child(2n) {
    border-right: none;
}

.page-home .team-card:nth-last-child(-n+2) {
    border-bottom: none;
}

.page-home .team-card-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    text-align: center;
}

.page-home .team-member-index {
    font-family: var(--home-font-display);
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    font-weight: 500;
    letter-spacing: -0.04em;
    color: rgba(239, 35, 35, 0.48);
    line-height: 1;
    padding-top: 0;
}

.page-home .team-card-identity {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
    width: 100%;
}

.page-home .team-member-visual {
    flex-shrink: 0;
    line-height: 0;
}

.page-home .team-avatar-img {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: block;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-home .team-card:hover .team-avatar-img {
    border-color: rgba(239, 35, 35, 0.35);
    box-shadow: 0 0 0 1px rgba(239, 35, 35, 0.08);
}

.page-home .team-member-identity {
    min-width: 0;
    flex: 1;
    padding: 0;
    text-align: center;
    width: 100%;
}

.page-home .team-card .team-handle {
    margin: 0 0 0.5rem !important;
    padding: 0 !important;
    line-height: 1.15 !important;
    text-align: center !important;
}

.page-home .team-handle,
.page-home .team-handle-link {
    font-family: var(--font-body) !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    letter-spacing: -0.03em !important;
    font-kerning: none;
    font-variant-ligatures: none;
    text-rendering: geometricPrecision;
}

.page-home .team-handle-link {
    display: inline !important;
    color: var(--text-primary);
    text-decoration: none !important;
    white-space: nowrap;
    transform: none !important;
    transition: color 0.2s ease;
}

.page-home .team-handle-link:hover {
    color: var(--brand-red);
    text-decoration: none;
    transform: none !important;
}

.page-home .team-card-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    justify-content: center;
}

.page-home .team-role-pill,
.page-home .team-title-pill {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1.3;
    padding: 0.2rem 0.45rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.55);
}

.page-home .team-title-pill {
    border-color: rgba(239, 35, 35, 0.28);
    background: rgba(239, 35, 35, 0.08);
    color: rgba(255, 180, 180, 0.92);
}

.page-home .team-title-pill--lead {
    border-color: rgba(245, 158, 11, 0.35);
    background: rgba(245, 158, 11, 0.1);
    color: #fbbf24;
}

.page-home .team-card .team-bio-new {
    font-family: var(--font-body);
    font-size: 0.875rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.58);
    margin: 0;
    padding-left: 0;
    max-width: 36ch;
    text-align: center;
}

.page-home .team-card .team-protocols {
    min-width: 0;
    width: 100%;
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: auto;
    padding-top: 0.85rem;
    text-align: center;
}

.page-home .team-protocols-label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.34);
    margin-bottom: 0.55rem;
}

.page-home .team-protocol-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: center;
}

.page-home .team-protocol-list li {
    font-family: var(--font-body);
    font-size: 0.6875rem;
    font-weight: 500;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.72);
    padding: 0.25rem 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    transition: border-color 0.2s ease, color 0.2s ease;
}

.page-home .team-card:hover .team-protocol-list li {
    border-color: rgba(239, 35, 35, 0.2);
    color: rgba(255, 255, 255, 0.85);
}

/* ══════════════════════════════════════
   ENGAGEMENTS
   ══════════════════════════════════════ */

.page-home .engagements-section-modern {
    background:
        radial-gradient(ellipse 60% 50% at 0% 100%, rgba(239, 35, 35, 0.06) 0%, transparent 55%),
        #050505;
}

.page-home .engagements-layout {
    grid-template-columns: minmax(260px, 0.85fr) 1.15fr;
    gap: var(--home-gap);
}

.page-home .engagements-highlights {
    position: sticky;
    top: 7rem;
    padding-top: 0.5rem;
    padding-left: 1.25rem;
    border-left: 1px solid var(--home-border);
}

.page-home .engagements-highlights::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 2px;
    height: 2rem;
    background: var(--brand-red);
}

.page-home .engagements-list {
    display: flex !important;
    flex-direction: column;
    gap: 0.875rem;
    border: none;
    background: transparent;
}

.page-home .engagement-row {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.25rem;
    padding: 1.25rem 1.35rem;
    background: var(--home-surface) !important;
    border: 1px solid var(--home-border) !important;
    border-radius: 0 !important;
    border-bottom: none !important;
    transform: none !important;
    transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.page-home .engagement-row::before {
    display: none !important;
}

.page-home .engagement-row:hover {
    background: var(--home-surface-raised) !important;
    border-color: rgba(239, 35, 35, 0.28) !important;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px) !important;
}

.page-home .engagement-logo-area {
    width: 3rem;
    height: 3rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid var(--home-border-soft);
    background: rgba(255, 255, 255, 0.04);
}

.page-home .engagement-info {
    flex: 1 1 180px;
    min-width: 0;
}

.page-home .engagement-date-modern {
    flex: 0 0 auto;
    font-family: var(--font-body);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.38);
    white-space: nowrap;
}

.page-home .engagement-btn {
    flex: 0 0 auto;
    margin-left: auto;
}

.page-home .engagement-logo-img,
.page-home .engagement-logo-icon {
    width: 100% !important;
    height: 100% !important;
    border-radius: 0 !important;
    object-fit: contain;
    background: transparent;
    border: none !important;
    padding: 0.35rem;
}

.page-home .engagement-name {
    font-family: var(--font-display) !important;
    font-size: 1.0625rem !important;
    font-weight: var(--heading-weight) !important;
    margin: 0 0 0.25rem !important;
    line-height: 1.2 !important;
}

.page-home .engagement-desc {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    color: var(--home-muted);
    margin: 0;
    line-height: 1.45;
}

.page-home .view-btn {
    background: transparent;
    color: var(--brand-red);
    border: 1px solid rgba(239, 35, 35, 0.35);
    border-radius: 0;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.45rem 0.95rem;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.page-home .view-btn:hover {
    background: var(--brand-red);
    color: #fff;
    border-color: var(--brand-red);
    transform: none !important;
}

.page-home .private-btn {
    border-radius: 0;
    font-size: 0.75rem;
    padding: 0.45rem 0.9rem;
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--home-border);
}

.page-home .engagements-view-all {
    margin: 1.25rem 0 0;
    text-align: center;
}

.page-home .engagements-view-all-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.65rem 1.25rem;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--brand-red);
    text-decoration: none;
    border: 1px solid rgba(239, 35, 35, 0.35);
    border-radius: 0;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.page-home .engagements-view-all-link:hover {
    background: var(--brand-red);
    color: #fff;
    border-color: var(--brand-red);
}

.page-home .scroll-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.page-home .engagement-row.scroll-reveal.is-visible:hover,
.page-home .team-card.scroll-reveal.is-visible:hover {
    transform: none !important;
}

/* ── Responsive ── */

@media (max-width: 1100px) {
    .page-home .testimonial-card-attractive:nth-child(1),
    .page-home .testimonial-card-attractive:nth-child(2),
    .page-home .testimonial-card-attractive:nth-child(3) {
        grid-column: span 12;
    }

    .page-home .testimonial-card-attractive:nth-child(3) {
        flex-direction: column;
    }

    .page-home .testimonial-card-attractive:nth-child(3) .testimonial-author-attractive {
        flex-direction: row;
        border-left: none;
        border-top: 1px solid var(--home-border-soft);
        padding-left: 0.75rem;
        padding-top: 1.25rem;
        min-width: 0;
    }

    .page-home .engagements-highlights {
        position: static;
        padding-left: 0;
        border-left: none;
    }

    .page-home .engagements-highlights::after {
        display: none;
    }

    .page-home .team-header-new {
        grid-template-columns: 1fr;
        gap: 1rem;
        align-items: start;
    }

    .page-home .team-header-new .team-description-new {
        max-width: none;
        margin: 0;
    }

    .page-home .team-header-new::before {
        right: auto;
        left: 0;
    }

    .page-home .team-roster {
        grid-template-columns: 1fr;
    }

    .page-home .team-card {
        border-right: none !important;
        border-bottom: 1px solid var(--home-border-soft) !important;
    }

    .page-home .team-card:last-child {
        border-bottom: none !important;
    }

    .page-home .team-card .team-bio-new,
    .page-home .team-card .team-protocols {
        padding-left: 0;
        text-align: center;
    }

    .page-home .team-avatar-img {
        width: 3.25rem;
        height: 3.25rem;
    }
}

@media (max-width: 900px) {
    .page-home .engagements-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .page-home .metrics-header {
        grid-template-columns: 1fr;
        gap: 1rem;
        align-items: start;
    }

    .page-home .metrics-header .highlights-description {
        max-width: none;
        margin: 0;
    }

    .page-home .metrics-header::before {
        right: auto;
        left: 0;
    }

    .page-home .metrics-rail {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .page-home .metric-cell:nth-child(2) {
        border-right: none;
    }

    .page-home .metric-cell:nth-child(1),
    .page-home .metric-cell:nth-child(2) {
        border-bottom: 1px solid var(--home-border-soft);
    }

    .page-home .engagements-highlights {
        position: static;
        padding-left: 0;
        border-left: none;
    }

    .page-home .engagements-highlights::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .page-home {
        --home-pad: clamp(3.25rem, 9vw, 4.75rem);
        --home-gap: clamp(1.75rem, 5vw, 2.5rem);
    }

    .page-home .metrics-header::before,
    .page-home .testimonials-header-attractive::before,
    .page-home .team-header-new::before,
    .page-home .engagements-highlights::before {
        font-size: clamp(2.25rem, 11vw, 3.25rem);
        top: -0.15rem;
    }

    .page-home .landing-section {
        min-height: 100svh;
        min-height: 100dvh;
        min-height: 100vh;
        padding: calc(68px + env(safe-area-inset-top, 0px)) 0 clamp(1.75rem, 4vh, 2.5rem);
    }

    .page-home .landing-split {
        gap: 0.85rem;
    }

    .page-home .landing-logo-panel {
        height: clamp(210px, 36vh, 300px);
        min-height: 0;
        max-height: none;
        width: calc(100% + 0.75rem);
        order: -1;
        margin-top: -1.5rem;
        margin-left: -0.375rem;
        margin-right: -0.375rem;
        margin-bottom: -0.25rem;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
    }

    .page-home .landing-logo-panel canvas {
        width: 100%;
        height: 100%;
    }

    .page-home .landing-copy,
    .page-home .content-wrapper {
        width: 100%;
        align-items: center;
        text-align: center;
    }

    .page-home .landing-title,
    .page-home .landing-description {
        text-align: center;
    }

    .page-home .landing-buttons {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
        gap: 0.65rem;
    }

    .page-home .landing-buttons .btn {
        width: 100%;
        justify-content: center;
        min-height: 44px;
    }

    .page-home .landing-title {
        font-size: clamp(1.75rem, 7.5vw, 2.35rem) !important;
        margin-bottom: 1rem !important;
    }

    .page-home .landing-description {
        font-size: 0.9375rem;
        line-height: 1.65;
        margin-bottom: 1.25rem;
    }

    .page-home .metric-cell .stat-number {
        white-space: normal;
        font-size: clamp(1.65rem, 7.5vw, 2.15rem) !important;
    }

    .page-home .metric-cell:nth-child(3) .stat-number {
        font-size: clamp(1.5rem, 6.5vw, 2rem) !important;
    }

    .page-home .metric-cell .stat-desc {
        max-width: none;
    }

    .page-home .testimonials-header-attractive {
        max-width: none;
        margin-bottom: 2rem;
    }

    .page-home .testimonial-card-attractive {
        padding: 1.35rem;
    }

    .page-home .testimonial-card-attractive:nth-child(3) {
        flex-direction: column;
        gap: 1.25rem;
    }

    .page-home .testimonial-card-attractive:nth-child(3) .testimonial-content-attractive {
        flex: none;
    }

    .page-home .testimonial-card-attractive:nth-child(3) .testimonial-author-attractive {
        flex-direction: row;
        border-left: none;
        border-top: 1px solid var(--home-border-soft);
        padding-left: 0;
        padding-top: 1rem;
        min-width: 0;
    }

    .page-home .testimonial-text-attractive {
        font-size: 0.9375rem;
        line-height: 1.65;
    }

    .page-home .engagement-row {
        flex-direction: column;
        align-items: stretch;
        gap: 0.85rem;
        padding: 1.1rem 1rem;
    }

    .page-home .engagement-info {
        flex: none;
        width: 100%;
    }

    .page-home .engagement-date-modern {
        order: -1;
        margin-left: 0;
    }

    .page-home .engagement-btn,
    .page-home a.engagement-btn {
        margin-left: 0;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 44px;
        text-align: center;
    }

    .page-home .engagements-view-all-link {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 640px) {
    .page-home .team-card-head {
        gap: 0.65rem;
    }

    .page-home .team-member-index {
        font-size: 0.9375rem;
    }

    .page-home .metrics-rail {
        grid-template-columns: 1fr;
    }

    .page-home .metric-cell {
        border-right: none;
        border-bottom: 1px solid var(--home-border-soft);
        min-height: 0;
        padding: 1.2rem 1rem;
    }

    .page-home .metric-cell:last-child {
        border-bottom: none;
    }

    .page-home .team-avatar-img {
        width: 3rem;
        height: 3rem;
    }

    .page-home .team-bio-new {
        font-size: 0.8125rem;
    }

    .page-home .highlights-title,
    .page-home .testimonials-title-attractive,
    .page-home .team-title-new {
        font-size: clamp(1.6rem, 6.5vw, 2rem) !important;
    }

    .page-home .highlights-description,
    .page-home .team-description-new {
        font-size: 0.875rem;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    .page-home .landing-logo-panel {
        height: clamp(190px, 34vh, 260px);
        width: calc(100% + 0.5rem);
        margin-left: -0.25rem;
        margin-right: -0.25rem;
    }

    .page-home .landing-title {
        font-size: clamp(1.55rem, 8.5vw, 1.95rem) !important;
        letter-spacing: -0.03em !important;
    }

    .page-home .metrics-header::before,
    .page-home .testimonials-header-attractive::before,
    .page-home .team-header-new::before,
    .page-home .engagements-highlights::before {
        font-size: 2rem;
        opacity: 0.65;
    }

    .page-home .metric-index {
        font-size: 0.5625rem;
    }
}

/* Center team card content — overrides global .team-handle { text-align: center } conflicts */
.page-home .team-roster .team-card-identity,
.page-home .team-roster .team-member-identity,
.page-home .team-roster .team-handle,
.page-home .team-roster .team-card-badges {
    text-align: center !important;
}

.page-home .team-roster .team-handle a,
.page-home .team-roster .team-handle-link {
    display: inline !important;
    text-align: center !important;
    transform: none !important;
    text-decoration: none !important;
}

.page-home .team-roster h3.team-handle {
    font-family: var(--font-body) !important;
    font-weight: 600 !important;
    font-size: 0.9375rem !important;
}
