/*
 * About Page Styles — New Hope to Asia
 * NHTA Design System v2 — dark hero + warm story + stats + beliefs + contact + map + dark CTA
 */

/* ===== GP OVERRIDES ===== */
.page-template-page-about .inside-article {
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}
.page-template-page-about .entry-header {
    display: none;
}
.page-template-page-about .entry-content {
    max-width: none;
}

/* Kill GP separate-containers gap between content and footer */
.page-template-page-about .site-content {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}
.page-template-page-about .inside-article,
.page-template-page-about .entry-content {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* ===== HERO: DARK BANNER WITH PHOTO ===== */
.nhta-about-hero {
    background: var(--nhta-charcoal);
    position: relative;
    overflow: hidden;
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* Grain texture */
.nhta-about-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
    opacity: .6;
    pointer-events: none;
    z-index: 2;
}
/* Amber glow */
.nhta-about-hero::after {
    content: '';
    position: absolute;
    bottom: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(circle, rgba(212,133,74,.12) 0%, transparent 65%);
    pointer-events: none;
    z-index: 2;
}

/* Photo background */
.nhta-about-hero-photo {
    position: absolute;
    inset: 0;
}
.nhta-about-hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.nhta-about-hero-mask {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(36,36,40,.75) 0%,
        rgba(36,36,40,.85) 50%,
        rgba(36,36,40,.92) 100%
    );
    z-index: 1;
}

/* Hero content */
.nhta-about-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 80px 40px;
    max-width: 700px;
}
.nhta-about-hero-content .nhta-rule.center {
    margin: 12px auto 18px;
}
.nhta-about-hero-h1 {
    font-family: var(--nhta-display) !important;
    font-size: clamp(34px, 4.5vw, 52px) !important;
    font-weight: 900 !important;
    line-height: 1.1 !important;
    color: white !important;
    margin: 0 0 16px !important;
    letter-spacing: -.02em;
}
.nhta-about-hero-h1::after {
    display: none !important;
}
.nhta-about-hero-sub {
    font-family: var(--nhta-sans);
    font-size: 16px;
    font-weight: 300;
    color: var(--nhta-light-text);
    line-height: 1.7;
    max-width: 520px;
    margin: 0 auto;
}

/* Entrance animations */
@keyframes nhta-about-fadeUp {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}
.nhta-about-hero-content .nhta-label { animation: nhta-about-fadeUp .55s ease both; }
.nhta-about-hero-h1 { animation: nhta-about-fadeUp .55s .1s ease both; }
.nhta-about-hero-sub { animation: nhta-about-fadeUp .55s .2s ease both; }

/* ===== OUR STORY: 2-COLUMN ===== */
.nhta-about-story {
    background: var(--nhta-cream);
    padding: 72px 0;
}
.nhta-about-story-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}
.nhta-about-story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Text side */
.nhta-about-story-text .nhta-rule {
    margin: 12px 0 18px;
}
.nhta-about-story-h2 {
    font-family: var(--nhta-display) !important;
    font-size: clamp(26px, 2.5vw, 34px) !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    color: var(--nhta-ink) !important;
    margin: 0 0 14px !important;
}
.nhta-about-story-h2::after {
    display: none !important;
}
.nhta-about-story-body {
    font-family: var(--nhta-sans);
    font-size: 15px;
    font-weight: 500;
    color: var(--nhta-ink-2);
    line-height: 1.7;
    margin-bottom: 12px;
}
.nhta-about-story-detail {
    font-family: var(--nhta-sans);
    font-size: 14px;
    font-weight: 300;
    color: var(--nhta-muted);
    line-height: 1.75;
}

/* Photo side */
.nhta-about-story-photo {
    position: relative;
    border-radius: var(--nhta-r-md);
    overflow: hidden;
}
.nhta-about-story-photo img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    border-radius: var(--nhta-r-md);
    transition: transform .5s ease;
}
.nhta-about-story-photo:hover img {
    transform: scale(1.03);
}
.nhta-about-story-caption {
    display: block;
    text-align: center;
    font-family: var(--nhta-sans);
    font-size: 12px;
    font-weight: 300;
    font-style: italic;
    color: var(--nhta-muted);
    margin-top: 12px;
}

/* ===== EXPANDED HISTORY ===== */
.nhta-about-history {
    background: var(--nhta-cream);
    padding: 0 0 72px;
}
.nhta-about-history-inner {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 40px;
    border-top: 1px solid var(--nhta-cream-3);
    padding-top: 48px;
}
.nhta-about-history-inner p {
    font-family: var(--nhta-sans);
    font-size: 14px;
    font-weight: 300;
    color: var(--nhta-muted);
    line-height: 1.85;
    margin-bottom: 16px;
}
.nhta-about-history-inner p:last-child {
    margin-bottom: 0;
}
.nhta-about-history-inner strong {
    font-weight: 600;
    color: var(--nhta-ink-2);
}

/* ===== BY THE NUMBERS: STATS STRIP ===== */
.nhta-about-stats {
    background: var(--nhta-cream-2);
    padding: 56px 0;
}
.nhta-about-stats-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}
.nhta-about-stat {
    text-align: center;
    min-width: 140px;
}
.nhta-about-stat-num {
    display: block;
    font-family: var(--nhta-display);
    font-size: clamp(36px, 4vw, 48px);
    font-weight: 700;
    color: var(--nhta-amber);
    line-height: 1;
    margin-bottom: 8px;
}
.nhta-about-stat-label {
    display: block;
    font-family: var(--nhta-sans);
    font-size: 13px;
    font-weight: 500;
    color: var(--nhta-muted);
    text-transform: uppercase;
    letter-spacing: .06em;
}

/* ===== WHAT WE BELIEVE: 3-COLUMN ===== */
.nhta-about-believe {
    background: var(--nhta-cream);
    padding: 72px 0;
}
.nhta-about-believe-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}
.nhta-about-believe-heading {
    text-align: center;
    margin-bottom: 48px;
}
.nhta-about-believe-heading .nhta-rule.center {
    margin: 12px auto 18px;
}
.nhta-about-believe-h2 {
    font-family: var(--nhta-display) !important;
    font-size: clamp(28px, 3vw, 38px) !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    color: var(--nhta-ink) !important;
    margin: 0 !important;
}
.nhta-about-believe-h2::after {
    display: none !important;
}
/* Pillar cards use shared .nhta-pillar-* classes from style.css */
.nhta-about-believe-footer {
    text-align: center;
    font-family: var(--nhta-serif);
    font-size: 18px;
    font-weight: 300;
    font-style: italic;
    color: var(--nhta-muted);
    line-height: 1.6;
    max-width: 580px;
    margin: 36px auto 0;
}

/* ===== PARTNERSHIP: CENTERED CARD ===== */
.nhta-about-partner {
    background: var(--nhta-cream-2);
    padding: 72px 0;
}
.nhta-about-partner-inner {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 40px;
}
.nhta-about-partner-card {
    background: white;
    border-radius: var(--nhta-r-lg);
    padding: 48px 44px;
    box-shadow: var(--nhta-shadow-sm);
    text-align: center;
}
.nhta-about-partner-card .nhta-rule.center {
    margin: 12px auto 18px;
}
.nhta-about-partner-h2 {
    font-family: var(--nhta-display) !important;
    font-size: clamp(24px, 2.5vw, 32px) !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    color: var(--nhta-ink) !important;
    margin: 0 0 14px !important;
}
.nhta-about-partner-h2::after {
    display: none !important;
}
.nhta-about-partner-body {
    font-family: var(--nhta-sans);
    font-size: 14px;
    font-weight: 300;
    color: var(--nhta-muted);
    line-height: 1.75;
    max-width: 520px;
    margin: 0 auto 24px;
}

/* ===== CONTACT: INFO + FORM ===== */
.nhta-about-contact {
    background: var(--nhta-cream);
    padding: 72px 0;
}
.nhta-about-contact-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}
.nhta-about-contact-heading {
    text-align: center;
    margin-bottom: 48px;
}
.nhta-about-contact-heading .nhta-rule.center {
    margin: 12px auto 18px;
}
.nhta-about-contact-h2 {
    font-family: var(--nhta-display) !important;
    font-size: clamp(28px, 3vw, 38px) !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    color: var(--nhta-ink) !important;
    margin: 0 !important;
}
.nhta-about-contact-h2::after {
    display: none !important;
}
.nhta-about-contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: start;
}

/* Contact info cards */
.nhta-about-contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.nhta-about-contact-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: white;
    border-radius: var(--nhta-r-md);
    padding: 20px 22px;
    box-shadow: var(--nhta-shadow-sm);
    transition: box-shadow var(--nhta-t);
}
.nhta-about-contact-card:hover {
    box-shadow: var(--nhta-shadow-md);
}
.nhta-about-ci-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--nhta-cream-2);
    border: 1px solid var(--nhta-cream-3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}
.nhta-about-ci-label {
    font-family: var(--nhta-sans);
    font-size: 11px;
    font-weight: 600;
    color: var(--nhta-ink);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 3px;
}
.nhta-about-ci-value {
    font-family: var(--nhta-sans);
    font-size: 13px;
    color: var(--nhta-muted);
    line-height: 1.6;
}
.nhta-about-ci-value a {
    color: var(--nhta-sky) !important;
    text-decoration: none !important;
}
.nhta-about-ci-value a:hover {
    color: var(--nhta-amber) !important;
}

/* Contact form */
.nhta-about-contact-form {
    background: white;
    border-radius: var(--nhta-r-lg);
    padding: 36px 32px;
    box-shadow: var(--nhta-shadow-sm);
}
.nhta-about-contact-form-h3 {
    font-family: var(--nhta-display) !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    color: var(--nhta-ink) !important;
    margin: 0 0 20px !important;
    line-height: 1.2;
}
.nhta-about-contact-form-h3::after {
    display: none !important;
}

/* ===== GOOGLE MAPS ===== */
.nhta-about-map {
    background: var(--nhta-cream);
    padding: 0;
}
.nhta-about-map-label {
    text-align: center;
    padding: 32px 0 24px;
}
.nhta-about-map-embed {
    line-height: 0;
}
.nhta-about-map-embed iframe {
    width: 100%;
    height: 400px;
    border: 0;
    display: block;
}

/* ===== CTA: DARK BANNER ===== */
.nhta-about-cta {
    background: var(--nhta-coal);
    padding: 72px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
/* Grain */
.nhta-about-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
    opacity: .6;
    pointer-events: none;
    z-index: 0;
}
/* Amber glow */
.nhta-about-cta::after {
    content: '';
    position: absolute;
    top: -100px;
    right: -80px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212,133,74,.1) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}
.nhta-about-cta-inner {
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin: 0 auto;
}
.nhta-about-cta-h2 {
    font-family: var(--nhta-display) !important;
    font-size: clamp(30px, 3.5vw, 42px) !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
    color: white !important;
    margin: 14px 0 14px !important;
}
.nhta-about-cta-h2::after {
    display: none !important;
}
.nhta-about-cta-h2 em {
    font-style: italic;
    color: var(--nhta-amber-light);
    font-weight: 400;
}
.nhta-about-cta-body {
    font-family: var(--nhta-sans);
    font-size: 15px;
    font-weight: 300;
    color: var(--nhta-light-text);
    line-height: 1.7;
    margin-bottom: 28px;
}
.nhta-about-cta-btns {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .nhta-about-story-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .nhta-about-story-text {
        text-align: center;
        order: 2;
    }
    .nhta-about-story-photo-wrap {
        order: 1;
    }
    .nhta-about-story-text .nhta-rule {
        margin: 12px auto 18px;
    }
    .nhta-about-contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .nhta-about-stats-inner {
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .nhta-about-hero {
        min-height: 400px;
    }
    .nhta-about-hero-content {
        padding: 60px 24px;
    }
    .nhta-about-hero-h1 {
        font-size: 30px !important;
    }
    .nhta-about-story {
        padding: 48px 0;
    }
    .nhta-about-story-inner {
        padding: 0 20px;
    }
    .nhta-about-history {
        padding: 0 0 48px;
    }
    .nhta-about-history-inner {
        padding: 0 20px;
        padding-top: 36px;
    }
    .nhta-about-stats {
        padding: 40px 0;
    }
    .nhta-about-stats-inner {
        padding: 0 20px;
        gap: 24px;
    }
    .nhta-about-stat-num {
        font-size: 32px;
    }
    .nhta-about-believe {
        padding: 48px 0;
    }
    .nhta-about-believe-inner {
        padding: 0 20px;
    }
    .nhta-about-partner {
        padding: 48px 0;
    }
    .nhta-about-partner-inner {
        padding: 0 20px;
    }
    .nhta-about-partner-card {
        padding: 36px 24px;
    }
    .nhta-about-contact {
        padding: 48px 0;
    }
    .nhta-about-contact-inner {
        padding: 0 20px;
    }
    .nhta-about-contact-form {
        padding: 28px 20px;
    }
    .nhta-about-map-embed iframe {
        height: 300px;
    }
    .nhta-about-cta {
        padding: 56px 24px;
    }
}
