/* About Page - Compact Modern Design with Bottom Tab Nav */

:root {
    --cream: #FAF7F2;
    --sand: #E8E0D5;
    --terracotta: #C4704F;
    --terracotta-dark: #A85A3A;
    --sage: #7D9082;
    --charcoal: #2C2C2C;
    --text: #3D3D3D;
    --text-light: #6B6B6B;
    --white: #FFFFFF;
    --border: #E0D8CC;
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', -apple-system, sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text);
    background: var(--cream);
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--terracotta);
    color: white;
    padding: 0.5rem 1rem;
    z-index: 1000;
}
.skip-link:focus { top: 0; }

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* ============================================
   TOP NAVIGATION - Now handled by nav.css
   ============================================ */

/* ============================================
   BOTTOM TAB NAVIGATION - Mobile
   ============================================ */
.bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: var(--charcoal);
    z-index: 1000;
    padding: 0.5rem 0 env(safe-area-inset-bottom, 0.5rem);
    border-top: 1px solid rgba(255,255,255,0.1);
}

.bottom-nav::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    height: 20px;
    background: linear-gradient(to top, rgba(44,44,44,0.15), transparent);
    pointer-events: none;
}

.tab-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    text-decoration: none;
    color: rgba(255,255,255,0.5);
    transition: all 0.2s ease;
    padding: 0.25rem;
}

.tab-item svg {
    width: 22px;
    height: 22px;
    stroke-width: 1.5;
    transition: all 0.2s ease;
}

.tab-item span {
    font-size: 0.65rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.tab-item.active,
.tab-item:hover {
    color: var(--terracotta);
}

.tab-item.active svg {
    stroke-width: 2;
    transform: scale(1.1);
}

/* ============================================
   HERO - Compact
   ============================================ */
.about-hero {
    padding: 85px 1.25rem 2.5rem;
    background: linear-gradient(135deg, var(--sand) 0%, var(--cream) 100%);
}

.hero-content {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 2.5rem;
    align-items: center;
}

.hero-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--terracotta);
    margin-bottom: 0.5rem;
}

.hero-content h1 {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 500;
    color: var(--charcoal);
    line-height: 1.1;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.6;
    max-width: 500px;
}

.hero-image img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

/* ============================================
   STORY SECTION - Compact
   ============================================ */
.story-section {
    padding: 3rem 0;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 200px;
    gap: 3rem;
    align-items: start;
}

.story-main h2 {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    color: var(--charcoal);
    margin-bottom: 1rem;
}

.story-main p {
    margin-bottom: 1rem;
    color: var(--text);
}

.inline-quote {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-style: italic;
    color: var(--terracotta);
    padding: 1rem 0 1rem 1.25rem;
    border-left: 3px solid var(--terracotta);
    margin: 1.5rem 0;
}

.story-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.btn-primary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--terracotta);
    color: white;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background: var(--terracotta-dark);
    transform: translateY(-2px);
}

.btn-outline {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: transparent;
    color: var(--charcoal);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid var(--border);
    border-radius: 6px;
    transition: all 0.2s ease;
}

.btn-outline:hover {
    border-color: var(--terracotta);
    color: var(--terracotta);
}

/* Stats Aside */
.story-aside {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.stat-card {
    background: white;
    padding: 1.25rem;
    border-radius: 10px;
    text-align: center;
    border: 1px solid var(--border);
}

.stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--terracotta);
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ============================================
   EXPERTISE - Compact Grid
   ============================================ */
.expertise-section {
    padding: 2.5rem 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--terracotta);
    margin-bottom: 0.5rem;
}

.section-header h2 {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    color: var(--charcoal);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.exp-card {
    padding: 1.5rem 1.25rem;
    background: var(--cream);
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
}

.exp-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.exp-num {
    display: inline-block;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--terracotta);
    opacity: 0.5;
    margin-bottom: 0.5rem;
}

.exp-card h3 {
    font-size: 1rem;
    color: var(--charcoal);
    margin-bottom: 0.5rem;
}

.exp-card p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* ============================================
   PARTNERS - Marquee Style
   ============================================ */
.partners-section {
    padding: 2.5rem 0;
    overflow: hidden;
}

.partners-marquee {
    margin-top: 1.5rem;
    position: relative;
}

.partners-track {
    display: flex;
    gap: 3rem;
    align-items: center;
    animation: marquee 15s linear infinite;
    width: max-content;
}

.partners-track img {
    height: 50px;
    width: auto;
    opacity: 0.6;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.partners-track img:hover {
    opacity: 1;
    filter: grayscale(0%);
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============================================
   CTA
   ============================================ */
.cta-section {
    padding: 3rem 0;
    background: var(--terracotta);
    text-align: center;
}

.cta-section h2 {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    color: white;
    margin-bottom: 0.5rem;
}

.cta-section p {
    color: rgba(255,255,255,0.85);
    margin-bottom: 1.25rem;
}

.btn-cta {
    display: inline-block;
    padding: 0.875rem 2rem;
    background: white;
    color: var(--terracotta);
    text-decoration: none;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.btn-cta:hover {
    background: var(--charcoal);
    color: white;
    transform: translateY(-2px);
}

/* ============================================
   FOOTER - Compact
   ============================================ */
.footer {
    background: var(--charcoal);
    color: white;
    padding: 2rem 0 1.5rem;
}

@media (max-width: 1024px) {
    .footer {
        padding-bottom: calc(1.5rem + 70px);
    }
}

@media (max-width: 480px) {
    .footer {
        padding-bottom: calc(1.5rem + 65px);
    }
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: white;
}

.footer-logo span {
    color: var(--terracotta);
    font-style: italic;
}

.footer-brand p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    margin-top: 0.25rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-contact a {
    color: var(--sage);
    text-decoration: none;
    font-size: 0.85rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .bottom-nav {
        display: flex;
    }

    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    body {
        padding-bottom: 75px;
    }

    .about-hero {
        padding: 70px 1rem 2rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.25rem;
    }

    .hero-subtitle {
        max-width: 100%;
        font-size: 1rem;
    }

    .hero-image {
        order: -1;
    }

    .hero-image img {
        height: 200px;
        width: 200px;
        border-radius: 50%;
        margin: 0 auto;
        display: block;
    }

    .story-section {
        padding: 2rem 0;
    }

    .story-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .story-aside {
        flex-direction: row;
        justify-content: center;
    }

    .stat-card {
        flex: 1;
        max-width: 140px;
    }

    .inline-quote {
        font-size: 1rem;
    }

    .story-actions {
        justify-content: center;
    }

    .expertise-section {
        padding: 2rem 0;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .expertise-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }

    .exp-card {
        padding: 1.25rem 1rem;
    }

    .exp-card h3 {
        font-size: 0.9rem;
    }

    .exp-card p {
        font-size: 0.8rem;
    }

    .partners-section {
        padding: 2rem 0;
    }

    .partners-track img {
        height: 45px;
    }

    .cta-section {
        padding: 2.5rem 0;
    }

    .cta-section h2 {
        font-size: 1.5rem;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.85rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-image img {
        height: 160px;
        width: 160px;
    }

    .story-main h2 {
        font-size: 1.5rem;
        text-align: center;
    }

    .story-main {
        text-align: center;
    }

    .inline-quote {
        text-align: left;
    }

    .stat-number {
        font-size: 1.75rem;
    }

    .stat-label {
        font-size: 0.65rem;
    }

    .expertise-grid {
        grid-template-columns: 1fr;
    }

    .exp-card {
        display: flex;
        align-items: flex-start;
        text-align: left;
        gap: 1rem;
    }

    .exp-num {
        margin-bottom: 0;
        font-size: 1.25rem;
    }

    .footer-links {
        gap: 0.75rem 1rem;
    }

    .footer-links a {
        font-size: 0.8rem;
    }

    .bottom-nav {
        height: 65px;
    }

    .tab-item svg {
        width: 20px;
        height: 20px;
    }

    .tab-item span {
        font-size: 0.6rem;
    }
}

/* Safe area for iPhone notch */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .bottom-nav {
        height: calc(70px + env(safe-area-inset-bottom));
        padding-bottom: env(safe-area-inset-bottom);
    }

    @media (max-width: 1024px) {
        .footer {
            padding-bottom: calc(1.5rem + 70px + env(safe-area-inset-bottom));
        }
    }
}
