/* ==========================================================================
   Pages CSS — Sophisticated Inner Page Components
   Khwalo & Associates v4.0
   Mobile-first with responsive breakpoints at bottom
   ========================================================================== */

/* ==========================================================================
   1. Editorial Page Hero Enhancements
   ========================================================================== */

.page-hero-editorial {
    padding: var(--space-section-y-mobile) 0 var(--space-2xl);
    min-height: 40vh;
    display: flex;
    align-items: center;
}

.page-hero-title-lg {
    font-size: clamp(2rem, 5vw, 3.25rem);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-hero-actions {
    margin-top: var(--space-xl);
}

.article-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: var(--font-size-small);
    color: rgba(255, 255, 255, 0.6);
    margin-top: var(--space-sm);
}

.article-meta-sep {
    opacity: 0.4;
}

/* ==========================================================================
   2. About Page — Narrative Section
   ========================================================================== */

.about-narrative {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.about-narrative-title {
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
    font-weight: 800;
    color: var(--color-near-black);
    line-height: var(--line-height-tight);
    letter-spacing: -0.03em;
    margin-bottom: var(--space-lg);
}

.about-narrative-text p {
    font-size: var(--font-size-body);
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--space-md);
}

.about-narrative-text p:last-child {
    margin-bottom: 0;
}

.about-narrative-image {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

.about-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
    transition: transform 0.5s ease;
}

.about-narrative-image:hover .about-img {
    transform: scale(1.02);
}


/* ==========================================================================
   3. About Page — Leadership Section
   ========================================================================== */

.about-leader {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.about-leader-image {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

.about-leader-content {
    position: relative;
    z-index: 1;
}

.about-leader-name {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--color-white);
    line-height: var(--line-height-tight);
    letter-spacing: -0.02em;
    margin-bottom: 0.25rem;
}

.about-leader-role {
    font-size: var(--font-size-h4);
    color: var(--color-accent-yellow);
    font-weight: var(--font-weight-medium);
    margin-bottom: var(--space-lg);
}

.about-leader-text p {
    font-size: var(--font-size-body);
    color: rgba(255, 255, 255, 0.75);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--space-md);
}

.about-leader-credentials {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: var(--space-lg);
}

.about-credential-badge {
    display: inline-block;
    padding: 0.4rem 0.9rem;
    font-size: var(--font-size-small);
    font-weight: var(--font-weight-semibold);
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--border-radius-pill);
    transition: all 0.2s ease;
}

.about-credential-badge:hover {
    background: rgba(201, 169, 110, 0.12);
    border-color: rgba(201, 169, 110, 0.3);
}

/* ==========================================================================
   4. About Page — Values Manifesto
   ========================================================================== */

.values-manifesto {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

.value-block {
    position: relative;
    padding: var(--space-xl);
    background: linear-gradient(145deg, #ffffff 0%, #f7f9fc 100%);
    border: 1px solid rgba(27, 42, 74, 0.06);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 2px 12px rgba(27, 42, 74, 0.04);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.value-block:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(27, 42, 74, 0.08);
    border-color: rgba(201, 169, 110, 0.08);
}

.value-block-number {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(201, 169, 110, 0.06);
    line-height: 1;
    margin-bottom: var(--space-sm);
}

.value-block-title {
    font-size: var(--font-size-h3);
    font-weight: var(--font-weight-bold);
    color: var(--color-near-black);
    margin: 0 0 var(--space-sm) 0;
}

.value-block-text {
    font-size: var(--font-size-body);
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
    margin: 0;
}

/* ==========================================================================
   5. About Page — Credentials List
   ========================================================================== */

.credentials-list {
    max-width: 900px;
    margin: 0 auto;
}

.credential-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
    padding: var(--space-xl) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    align-items: start;
}

.credential-row:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.credential-row-abbr {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--color-accent-yellow);
    letter-spacing: -0.02em;
}

.credential-row-detail h3 {
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-semibold);
    color: var(--color-white);
    margin: 0 0 0.25rem 0;
}

.credential-row-detail p {
    font-size: var(--font-size-small);
    color: rgba(255, 255, 255, 0.6);
    line-height: var(--line-height-relaxed);
    margin: 0;
}

.credential-row-number {
    font-size: var(--font-size-small);
    font-weight: var(--font-weight-semibold);
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}


/* ==========================================================================
   6. About Page — Firm Stats & Locations
   ========================================================================== */

.firm-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
}

.firm-stat {
    text-align: center;
    padding: var(--space-xl) var(--space-md);
    background: linear-gradient(145deg, #ffffff 0%, #f7f9fc 100%);
    border: 1px solid rgba(27, 42, 74, 0.06);
    border-radius: var(--border-radius-lg);
    transition: all 0.3s ease;
}

.firm-stat:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(27, 42, 74, 0.06);
    border-color: rgba(201, 169, 110, 0.08);
}

.firm-stat-number {
    display: block;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: var(--color-near-black);
    line-height: 1;
    letter-spacing: -0.03em;
    margin-bottom: var(--space-xs);
}

.firm-stat-label {
    display: block;
    font-size: var(--font-size-small);
    color: var(--color-medium-grey);
    font-weight: var(--font-weight-medium);
}

.firm-locations {
    padding-top: var(--space-2xl);
    border-top: 1px solid var(--color-light-grey-2);
}

.firm-locations-title {
    font-size: var(--font-size-h3);
    font-weight: var(--font-weight-bold);
    color: var(--color-near-black);
    margin-bottom: var(--space-lg);
    text-align: center;
}

.firm-locations-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

.firm-location {
    padding: var(--space-lg);
    background: var(--color-off-white);
    border-radius: var(--border-radius-md);
    border: 1px solid rgba(27, 42, 74, 0.04);
    transition: all 0.3s ease;
}

.firm-location:hover {
    background: var(--color-white);
    box-shadow: 0 4px 16px rgba(27, 42, 74, 0.06);
}

.firm-location-primary {
    border-left: 3px solid var(--color-accent-yellow);
}

.firm-location-badge {
    display: inline-block;
    font-size: var(--font-size-caption);
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-accent-yellow);
    margin-bottom: 0.25rem;
}

.firm-location h4 {
    font-size: var(--font-size-h4);
    font-weight: var(--font-weight-bold);
    color: var(--color-near-black);
    margin: 0 0 0.25rem 0;
}

.firm-location p {
    font-size: var(--font-size-small);
    color: var(--color-medium-grey);
    margin: 0;
}


/* ==========================================================================
   7. Services Page — Sticky Navigation
   ========================================================================== */

.service-nav {
    position: sticky;
    top: 60px;
    z-index: 100;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-light-grey-2);
    padding: var(--space-sm) 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.service-nav-list {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0;
    margin: 0;
}

.service-nav-list::-webkit-scrollbar {
    display: none;
}

.service-nav-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    font-size: var(--font-size-small);
    font-weight: var(--font-weight-semibold);
    color: var(--color-dark-grey);
    text-decoration: none;
    border-radius: var(--border-radius-pill);
    white-space: nowrap;
    transition: all 0.2s ease;
}

.service-nav-link:hover {
    color: var(--color-near-black);
    background: var(--color-off-white);
}

.service-nav-link.is-active {
    color: var(--color-white);
    background: var(--color-near-black);
}

/* ==========================================================================
   8. Services Page — Process Timeline
   ========================================================================== */

.process-timeline {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 24px;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--color-accent-yellow), var(--color-light-grey-3));
}

.process-step {
    display: flex;
    gap: var(--space-lg);
    padding-bottom: var(--space-xl);
    position: relative;
}

.process-step:last-child {
    padding-bottom: 0;
}

.process-step-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-small);
    font-weight: 800;
    color: var(--color-white);
    background: var(--color-near-black);
    border-radius: 50%;
    position: relative;
    z-index: 1;
}

.process-step-content {
    padding-top: 0.6rem;
}

.process-step-title {
    font-size: var(--font-size-h4);
    font-weight: var(--font-weight-bold);
    color: var(--color-near-black);
    margin: 0 0 var(--space-xs) 0;
}

.process-step-text {
    font-size: var(--font-size-body);
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
    margin: 0;
}


/* ==========================================================================
   9. Services Page — Service Detail Sections
   ========================================================================== */

.service-section {
    scroll-margin-top: 120px;
}

.service-detail-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
    position: relative;
}

.service-detail-number {
    display: block;
    font-size: clamp(4rem, 10vw, 6rem);
    font-weight: 800;
    color: rgba(201, 169, 110, 0.04);
    line-height: 0.8;
    margin-bottom: var(--space-sm);
}

.pg-section-dark .service-detail-number {
    color: rgba(255, 255, 255, 0.04);
}

.service-detail-title {
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
    font-weight: 800;
    color: var(--color-near-black);
    line-height: var(--line-height-tight);
    letter-spacing: -0.03em;
    margin-bottom: var(--space-md);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.pg-section-dark .service-detail-title {
    color: var(--color-white);
}

.service-detail-lead {
    font-size: var(--font-size-body);
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
    max-width: 600px;
    margin: 0 auto;
}

.pg-section-dark .service-detail-lead {
    color: rgba(255, 255, 255, 0.65);
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    align-items: start;
}

.service-detail-image {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

.service-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
    transition: transform 0.5s ease;
}

.service-detail-image:hover .service-img {
    transform: scale(1.02);
}

.service-offerings {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

.service-offering-item {
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid rgba(27, 42, 74, 0.06);
}

.pg-section-dark .service-offering-item {
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

.service-offering-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.service-offering-item h3 {
    font-size: var(--font-size-h4);
    font-weight: var(--font-weight-bold);
    color: var(--color-near-black);
    margin: 0 0 var(--space-xs) 0;
}

.pg-section-dark .service-offering-item h3 {
    color: var(--color-white);
}

.service-offering-item p {
    font-size: var(--font-size-body);
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
    margin: 0;
}

.pg-section-dark .service-offering-item p {
    color: rgba(255, 255, 255, 0.65);
}

.service-detail-cta {
    margin-top: var(--space-xl);
}

.service-detail-cta-link {
    margin-top: var(--space-sm);
}

.link-light {
    color: var(--color-text-inverse-secondary);
}

.link-light:hover {
    color: var(--color-text-inverse);
}


/* ==========================================================================
   10. Services Page — Trust Bar
   ========================================================================== */

.trust-bar {
    padding: var(--space-xl) 0;
    background: var(--color-off-white);
    border-top: 1px solid var(--color-light-grey-2);
    border-bottom: 1px solid var(--color-light-grey-2);
}

.trust-bar-inner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    text-align: center;
}

.trust-item {
    padding: var(--space-sm);
}

.trust-item-value {
    display: block;
    font-size: var(--font-size-h3);
    font-weight: 800;
    color: var(--color-near-black);
    letter-spacing: -0.02em;
    margin-bottom: 0.15rem;
}

.trust-item-label {
    display: block;
    font-size: var(--font-size-caption);
    color: var(--color-medium-grey);
    font-weight: var(--font-weight-medium);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ==========================================================================
   11. Contact Page — Channel Cards
   ========================================================================== */

.contact-channels {
    padding: var(--space-xl) 0;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-light-grey-2);
    margin-top: -1px;
}

.contact-channels-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

.contact-channel-card {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: linear-gradient(145deg, #ffffff 0%, #f7f9fc 100%);
    border: 1px solid rgba(27, 42, 74, 0.06);
    border-radius: var(--border-radius-lg);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-channel-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(27, 42, 74, 0.08);
    border-color: rgba(201, 169, 110, 0.08);
}

.contact-channel-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--gradient-dark);
    color: var(--color-white);
    flex-shrink: 0;
}

.contact-channel-icon-whatsapp {
    background: #25D366;
}

.contact-channel-content {
    display: flex;
    flex-direction: column;
}

.contact-channel-label {
    font-size: var(--font-size-caption);
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-medium-grey);
    margin-bottom: 0.15rem;
}

.contact-channel-value {
    font-size: var(--font-size-h4);
    font-weight: var(--font-weight-bold);
    color: var(--color-near-black);
}

.contact-channel-note {
    font-size: var(--font-size-small);
    color: var(--color-medium-grey);
    margin-top: 0.15rem;
}


/* ==========================================================================
   12. Contact Page — Main Grid & Sidebar
   ========================================================================== */

.contact-main-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
}

.contact-form-section {
    order: 1;
}

.contact-form-title {
    font-size: var(--font-size-h2);
    font-weight: 800;
    color: var(--color-near-black);
    letter-spacing: -0.02em;
    margin-bottom: var(--space-xs);
}

.contact-form-subtitle {
    font-size: var(--font-size-body);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-xl);
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

.contact-sidebar {
    order: 2;
}

.contact-sidebar-block {
    padding: var(--space-lg);
    background: var(--color-off-white);
    border-radius: var(--border-radius-lg);
    margin-bottom: var(--space-md);
}

.contact-sidebar-block:last-child {
    margin-bottom: 0;
}

.contact-sidebar-block h3 {
    font-size: var(--font-size-small);
    font-weight: var(--font-weight-bold);
    color: var(--color-near-black);
    margin: 0 0 var(--space-md) 0;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.contact-sidebar-block p {
    font-size: var(--font-size-body);
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
    margin: 0;
}

.contact-hours {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-hours-row {
    display: flex;
    justify-content: space-between;
    font-size: var(--font-size-body);
    color: var(--color-text-secondary);
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--color-light-grey-2);
}

.contact-hours-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.contact-directions-link {
    display: inline-block;
    margin-top: var(--space-sm);
    font-size: var(--font-size-small);
    font-weight: var(--font-weight-semibold);
    color: var(--color-accent-yellow);
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-directions-link:hover {
    color: var(--color-accent-yellow-hover);
}

.contact-expect-list {
    margin: 0;
    padding: 0;
}

.contact-expect-list li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: var(--space-sm);
    font-size: var(--font-size-body);
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
}

.contact-expect-list li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--color-accent-yellow);
    font-weight: var(--font-weight-bold);
}

.contact-expect-list li:last-child {
    margin-bottom: 0;
}


/* ==========================================================================
   13. Single Post — Enhanced Article Styles
   ========================================================================== */

.kb-author-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.kb-author-firm {
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-bold);
    color: var(--color-near-black);
    margin: 0 0 0.25rem 0;
}

.kb-links-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-sm);
}

.kb-link-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md) var(--space-lg);
    background: var(--color-off-white);
    border: 1px solid rgba(27, 42, 74, 0.04);
    border-radius: var(--border-radius-md);
    text-decoration: none;
    transition: all 0.2s ease;
}

.kb-link-card:hover {
    background: var(--color-white);
    border-color: rgba(201, 169, 110, 0.1);
    box-shadow: 0 4px 12px rgba(27, 42, 74, 0.06);
    transform: translateX(4px);
}

.kb-link-label {
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-semibold);
    color: var(--color-near-black);
}

.kb-link-arrow {
    font-size: var(--font-size-h4);
    color: var(--color-accent-yellow);
    transition: transform 0.2s ease;
}

.kb-link-card:hover .kb-link-arrow {
    transform: translateX(4px);
}

/* ==========================================================================
   14. FAQ Dark Variant
   ========================================================================== */

.pg-faq-list-dark .pg-faq-item {
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

.pg-faq-list-dark .pg-faq-item:first-child,
.pg-faq-list-dark .pg-faq-item:nth-child(2) {
    border-top-color: rgba(255, 255, 255, 0.08);
}

.pg-faq-list-dark .pg-faq-question {
    color: var(--color-white);
}

.pg-faq-list-dark .pg-faq-question:hover {
    color: var(--color-accent-yellow);
}

.pg-faq-list-dark .pg-faq-answer {
    color: rgba(255, 255, 255, 0.7);
}


/* ==========================================================================
   15. Responsive — Tablet (768px+)
   ========================================================================== */

@media (min-width: 768px) {

    .about-story,
    .about-director,
    .about-values,
    .about-credentials,
    .about-offices,
    .about-cta,
    .page-hero-editorial {
        padding-top: var(--space-section-y);
        padding-bottom: var(--space-section-y);
    }

    .about-narrative {
        grid-template-columns: 1.2fr 1fr;
    }

    .about-leader {
        grid-template-columns: 1fr 1.3fr;
    }

    .values-manifesto {
        grid-template-columns: repeat(2, 1fr);
    }

    .credential-row {
        grid-template-columns: 80px 1fr auto;
        align-items: center;
    }

    .firm-stats {
        grid-template-columns: repeat(4, 1fr);
    }

    .firm-locations-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-detail-grid {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }

    .service-detail-grid-reverse {
        direction: rtl;
    }

    .service-detail-grid-reverse>* {
        direction: ltr;
    }

    .trust-bar-inner {
        grid-template-columns: repeat(4, 1fr);
    }

    .contact-channels-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .contact-main-grid {
        grid-template-columns: 1.5fr 1fr;
    }

    .contact-form .form-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .kb-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==========================================================================
   16. Responsive — Desktop (1024px+)
   ========================================================================== */

@media (min-width: 1024px) {

    .page-hero-editorial {
        min-height: 50vh;
        padding: var(--space-section-y-mobile) 0;
    }

    .about-narrative {
        grid-template-columns: 1.3fr 1fr;
        gap: var(--space-3xl);
    }

    .about-leader {
        grid-template-columns: 1fr 1.4fr;
        gap: var(--space-3xl);
    }

    .values-manifesto {
        grid-template-columns: repeat(4, 1fr);
    }

    .credential-row {
        grid-template-columns: 100px 1fr auto;
        gap: var(--space-xl);
    }

    .firm-locations-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .service-detail-grid {
        gap: var(--space-3xl);
    }

    .contact-main-grid {
        grid-template-columns: 1.8fr 1fr;
        gap: var(--space-3xl);
    }

    .kb-links-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}


/* ==========================================================================
   17. About Page v5 — Premium Immersive Design
   ========================================================================== */

/* -- Hero -- */
.about-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: var(--gradient-dark);
}

.about-hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(201, 169, 110, 0.1) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 80%, rgba(27, 42, 74, 0.2) 0%, transparent 50%);
}

.about-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.3) 100%);
}

.about-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: var(--space-2xl) 0;
}

.about-hero-eyebrow {
    font-size: var(--font-size-small);
    font-weight: var(--font-weight-medium);
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: var(--space-lg);
}

.about-hero-headline {
    font-family: var(--font-heading);
    font-size: clamp(2.25rem, 6vw, 4rem);
    font-weight: 800;
    color: var(--color-white);
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin: 0;
}

/* -- Stats Ticker -- */
.about-ticker {
    background: var(--color-near-black);
    padding: var(--space-lg) 0;
    overflow: hidden;
}

.about-ticker-track {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

.about-ticker-item {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
}

.about-ticker-number {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--color-white);
    letter-spacing: -0.03em;
}

.about-ticker-label {
    font-size: var(--font-size-small);
    color: rgba(255, 255, 255, 0.5);
    font-weight: var(--font-weight-medium);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.about-ticker-divider {
    width: 1px;
    height: 32px;
    background: rgba(255, 255, 255, 0.15);
}

/* -- Story Section -- */
.about-story {
    padding: var(--space-section-y-mobile) 0;
    background: var(--color-white);
}

.about-story-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}

.about-story-heading {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--color-near-black);
    line-height: var(--line-height-tight);
    letter-spacing: -0.03em;
    margin: 0;
}

.about-story-body p {
    font-size: var(--font-size-body);
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--space-md);
}

.about-story-intro {
    font-size: 1.125rem;
    color: var(--color-near-black);
    font-weight: var(--font-weight-medium);
    line-height: var(--line-height-relaxed);
}

/* -- Image Break -- */
.about-image-break {
    width: 100%;
    overflow: hidden;
    max-height: 50vh;
}

.about-image-break-img {
    width: 100%;
    height: 100%;
    min-height: 250px;
    object-fit: cover;
    display: block;
}


/* -- Director Section -- */
.about-director {
    padding: var(--space-section-y-mobile) 0;
    background: var(--color-off-white);
}

.about-director-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.about-director-photo {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

.about-director-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
}

.about-director-name {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: var(--color-near-black);
    letter-spacing: -0.03em;
    margin: 0 0 0.25rem 0;
    line-height: var(--line-height-tight);
}

.about-director-title {
    font-size: var(--font-size-body);
    color: var(--color-accent-yellow);
    font-weight: var(--font-weight-medium);
    margin-bottom: var(--space-lg);
}

.about-director-quote {
    margin: 0 0 var(--space-lg) 0;
    padding: var(--space-lg);
    background: var(--color-white);
    border-left: 3px solid var(--color-accent-yellow);
    border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
}

.about-director-quote p {
    font-size: 1.125rem;
    font-style: italic;
    color: var(--color-near-black);
    line-height: var(--line-height-relaxed);
    margin: 0;
}

.about-director-bio {
    font-size: var(--font-size-body);
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--space-lg);
}

.about-director-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.about-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    font-size: var(--font-size-small);
    font-weight: var(--font-weight-bold);
    color: var(--color-near-black);
    background: var(--color-white);
    border: 1px solid var(--color-light-grey-3);
    border-radius: var(--border-radius-pill);
    letter-spacing: 0.02em;
}

/* -- Values Section -- */
.about-values {
    padding: var(--space-section-y-mobile) 0;
    background: var(--color-white);
}

.about-values-header {
    margin-bottom: var(--space-2xl);
}

.about-values-title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--color-near-black);
    letter-spacing: -0.03em;
    margin: 0;
}

.about-values-list {
    max-width: 800px;
}

.about-value-row {
    display: flex;
    gap: var(--space-lg);
    padding: var(--space-xl) 0;
    border-bottom: 1px solid var(--color-light-grey-2);
}

.about-value-row:first-child {
    border-top: 1px solid var(--color-light-grey-2);
}

.about-value-num {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--color-accent);
    opacity: 0.3;
    line-height: 1;
    flex-shrink: 0;
    min-width: 50px;
}

.about-value-content h3 {
    font-size: var(--font-size-h3);
    font-weight: var(--font-weight-bold);
    color: var(--color-near-black);
    margin: 0 0 var(--space-xs) 0;
}

.about-value-content p {
    font-size: var(--font-size-body);
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
    margin: 0;
}


/* -- Credentials Section -- */
.about-credentials {
    padding: var(--space-section-y-mobile) 0;
    background: var(--gradient-dark);
}

.about-credentials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

.about-cred-card {
    padding: var(--space-xl);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    transition: all 0.3s ease;
}

.about-cred-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

.about-cred-card-primary {
    background: rgba(201, 169, 110, 0.08);
    border-color: rgba(201, 169, 110, 0.2);
}

.about-cred-card-primary:hover {
    background: rgba(201, 169, 110, 0.12);
}

.about-cred-number {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    color: var(--color-white);
    letter-spacing: -0.04em;
    line-height: 1;
    opacity: 0.2;
}

.about-cred-abbr {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--color-accent-yellow);
    letter-spacing: -0.02em;
}

.about-cred-detail h3 {
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-bold);
    color: var(--color-white);
    margin: 0 0 0.25rem 0;
}

.about-cred-detail p {
    font-size: var(--font-size-small);
    color: rgba(255, 255, 255, 0.6);
    line-height: var(--line-height-relaxed);
    margin: 0;
}

/* -- Offices Section -- */
.about-offices {
    padding: var(--space-section-y-mobile) 0;
    background: var(--color-white);
}

.about-offices-header {
    margin-bottom: var(--space-2xl);
}

.about-offices-title {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
    font-weight: 800;
    color: var(--color-near-black);
    letter-spacing: -0.03em;
    margin: 0;
}

.about-offices-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

.about-office {
    padding: var(--space-lg);
    background: var(--color-off-white);
    border-radius: var(--border-radius-md);
    border: 1px solid rgba(27, 42, 74, 0.04);
    transition: all 0.3s ease;
}

.about-office:hover {
    background: var(--color-white);
    box-shadow: 0 4px 16px rgba(27, 42, 74, 0.06);
    transform: translateY(-2px);
}

.about-office-hq {
    border-left: 3px solid var(--color-accent-yellow);
    background: var(--color-white);
    box-shadow: 0 2px 12px rgba(27, 42, 74, 0.04);
}

.about-office-tag {
    display: inline-block;
    font-size: var(--font-size-caption);
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-accent-yellow);
    margin-bottom: 0.25rem;
}

.about-office h3 {
    font-size: var(--font-size-h4);
    font-weight: var(--font-weight-bold);
    color: var(--color-near-black);
    margin: 0 0 0.25rem 0;
}

.about-office p {
    font-size: var(--font-size-small);
    color: var(--color-text-secondary);
    margin: 0;
}

.about-office-province {
    color: var(--color-medium-grey);
}

/* -- CTA Section -- */
.about-cta {
    position: relative;
    padding: var(--space-section-y-mobile) 0;
    text-align: center;
    overflow: hidden;
}

.about-cta-bg {
    position: absolute;
    inset: 0;
    background: var(--gradient-dark);
}

.about-cta-bg::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 169, 110, 0.08) 0%, transparent 60%);
}

.about-cta-content {
    position: relative;
    z-index: 1;
    max-width: 650px;
    margin: 0 auto;
}

.about-cta-heading {
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
    font-weight: 800;
    color: var(--color-white);
    letter-spacing: -0.03em;
    margin: 0 0 var(--space-xl) 0;
    line-height: var(--line-height-tight);
}

.about-cta-actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    align-items: center;
    justify-content: center;
}


/* ==========================================================================
   18. About Page v5 — Responsive
   ========================================================================== */

@media (min-width: 768px) {
    .about-story-grid {
        grid-template-columns: 1fr 1.2fr;
        gap: var(--space-2xl);
        align-items: start;
    }

    .about-director-grid {
        grid-template-columns: 1fr 1.4fr;
    }

    .about-credentials-grid {
        grid-template-columns: 1fr 1fr;
    }

    .about-cred-card-primary {
        grid-column: span 2;
    }

    .about-offices-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-cta-actions {
        flex-direction: row;
    }

    .about-ticker-track {
        gap: var(--space-2xl);
    }
}

@media (min-width: 1024px) {
    .about-hero {
        min-height: 80vh;
    }

    .about-story-grid {
        grid-template-columns: 1fr 1.5fr;
        gap: var(--space-3xl);
    }

    .about-director-grid {
        grid-template-columns: 1fr 1.6fr;
        gap: var(--space-3xl);
    }

    .about-credentials-grid {
        grid-template-columns: 1.5fr 1fr 1fr;
    }

    .about-cred-card-primary {
        grid-column: span 1;
    }

    .about-offices-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .about-ticker-track {
        gap: var(--space-3xl);
    }
}