/* ===================================================================
   ABOUT PAGE
   Uses the site's Playfair Display + Inter type system.
   Alternating two-column rows with aside-card pattern.
   =================================================================== */

.about-page {
    background: #ffffff;
    color: #0f172a;
    min-height: 100vh;
    height: auto;
    display: flex;
    flex-direction: column;
}

.about-main {
    flex: 1;
    background: #ffffff;
}

/* --- Shell (content width) --- */
.about-shell {
    width: min(1100px, 100%);
    margin: 0 auto;
}

/* --- Section headings --- */
.about-section-head {
    margin-bottom: 8px;
    max-width: 1000px;
}

.about-section-head h2 {
    margin: 0;
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    line-height: 1.18;
    color: #0a2540;
}

/* ===================================================================
   HERO
   =================================================================== */
.about-hero {
    padding: clamp(52px, 8vw, 88px) 5% clamp(36px, 6vw, 56px);
}

.about-hero-grid {
    display: flex;
    justify-content: center;
    text-align: center;
    gap: clamp(28px, 4vw, 48px);
}

.about-hero-copy {
    max-width: 680px;
}

.about-hero-copy h1 {
    margin: 0 0 18px;
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    line-height: 1.08;
    color: #0a2540;
}

.about-hero-sub {
    margin: 0 auto;
    font-size: clamp(1rem, 1.3vw, 1.1rem);
    line-height: 1.72;
    color: #334155;
    max-width: 56ch;
}

/* Aside card - stripped of vibe-coded box */
/* Section removed per user request */

.about-hero-aside h2 {
    margin: 0 0 12px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.35;
    color: #0a2540;
}

.about-hero-aside ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.about-hero-aside li {
    position: relative;
    padding-left: 18px;
    font-size: 0.92rem;
    line-height: 1.6;
    color: #334155;
}

.about-hero-aside li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.58em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #005efb;
}

/* ===================================================================
   STORY ROWS
   Two-column grid: copy | image (alternating order)
   =================================================================== */
.about-story {
    padding: 0 5% clamp(48px, 7vw, 80px);
}

.about-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(28px, 4vw, 48px);
    align-items: center;
    padding: clamp(36px, 4.5vw, 56px) 0;
}

/* Flip: image before copy */
.about-row--flip .about-row-copy {
    order: 2;
}

.about-row--flip .about-row-media {
    order: 1;
}

/* Center modifier: single column centered */
.about-row--center {
    display: flex;
    justify-content: center;
    text-align: center;
}

.about-row--center .about-row-copy {
    max-width: 720px;
}

.about-row-copy h3 {
    margin: 0 0 12px;
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.25rem, 2.2vw, 1.7rem);
    line-height: 1.22;
    color: #0a2540;
}

.about-row-copy p {
    margin: 0 0 12px;
    font-size: 0.97rem;
    line-height: 1.72;
    color: #334155;
}

.about-row-copy p:last-child {
    margin-bottom: 0;
}

.about-row-copy strong {
    color: #0a2540;
    font-weight: 600;
}

.about-row-media {
    border-radius: 14px;
    overflow: hidden;
}

.about-row-media img {
    width: 100%;
    height: clamp(220px, 30vw, 340px);
    object-fit: cover;
    display: block;
}

.about-row-media--logo {
    background: #ffffff;
}

.about-row-media--logo img {
    object-fit: contain;
}

/* ===================================================================
   PRINCIPLES
   =================================================================== */
.about-principles {
    padding: 0 5% clamp(48px, 7vw, 80px);
}

.about-principles-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(14px, 2vw, 20px);
    margin-top: 24px;
}

.about-principle {
    padding: clamp(20px, 2.4vw, 0) 0;
    background: transparent;
}

.about-principle h3 {
    margin: 0 0 12px;
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.35;
    color: #0a2540;
}

.about-principle h3 {
    margin: 0 0 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.97rem;
    font-weight: 700;
    line-height: 1.35;
    color: #0a2540;
}

.about-principle p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.6;
    color: #334155;
}

/* ===================================================================
   BOTTOM: Labs + Contact side by side
   =================================================================== */
.about-bottom {
    padding: 0 5% clamp(48px, 7vw, 80px);
}

.about-bottom-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
    gap: clamp(14px, 2vw, 20px);
}

.about-labs-card,
.about-contact-card {
    padding: clamp(22px, 2.8vw, 30px) 0;
    background: transparent;
}


.about-labs-card h2,
.about-contact-card h2 {
    margin: 0 0 12px;
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.3rem, 2.2vw, 1.8rem);
    line-height: 1.22;
    color: #0a2540;
}

.about-labs-card p,
.about-contact-card p {
    margin: 0 0 12px;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #334155;
}

.about-labs-card p:last-child {
    margin-bottom: 0;
}

.about-labs-location {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: #0a2540;
}

.about-labs-location svg {
    color: #005efb;
    flex-shrink: 0;
}

/* Contact card */
.about-contact-card {
    display: flex;
    flex-direction: column;
}

.about-contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    border-radius: 999px;
    border: 1px solid #005efb;
    background: #005efb;
    color: #ffffff;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 10px 20px;
    margin-top: auto;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.about-contact-btn:hover {
    background: #0050d9;
    border-color: #0050d9;
}

/* ===================================================================
   FOOTER DISCLAIMER (ABOUT PAGE ONLY)
   =================================================================== */
.about-disclaimer {
    padding: 4px 5% 18px;
}

.about-disclaimer-text {
    margin: 0 auto;
    max-width: 860px;
    font-size: 0.66rem;
    line-height: 1.45;
    font-weight: 500;
    color: #5f6f84;
    text-align: center;
    letter-spacing: 0.008em;
}

.about-disclaimer-text sup {
    font-size: 0.62em;
    line-height: 0;
    vertical-align: super;
}

/* ===================================================================
   REVEAL ANIMATIONS
   =================================================================== */
.abt-reveal {
    opacity: 0;
    transform: translateY(16px);
    animation: abt-fade-up 520ms cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

.abt-reveal-1 {
    animation-delay: 40ms;
}

.abt-reveal-2 {
    animation-delay: 140ms;
}

.abt-reveal-3 {
    animation-delay: 240ms;
}

.abt-reveal-4 {
    animation-delay: 340ms;
}

@keyframes abt-fade-up {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .abt-reveal {
        opacity: 1;
        transform: none;
        animation: none;
    }
}

/* ===================================================================
   RESPONSIVE
   =================================================================== */
@media (max-width: 1024px) {

    .about-hero-grid,
    .about-bottom-grid {
        grid-template-columns: 1fr;
    }

    .about-principles-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 880px) {

    .about-row,
    .about-row.about-row--flip {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: clamp(28px, 4vw, 40px) 0;
    }

    .about-row-copy {
        order: 1 !important;
    }

    .about-row-media {
        order: 2 !important;
    }
}

@media (max-width: 600px) {

    .about-hero,
    .about-story,
    .about-principles,
    .about-bottom {
        padding-left: 6%;
        padding-right: 6%;
    }

    .about-row-media img {
        height: 200px;
    }

    .about-contact-btn {
        width: 100%;
        justify-content: center;
    }

    .about-disclaimer {
        padding-left: 6%;
        padding-right: 6%;
        padding-bottom: 14px;
    }

    .about-disclaimer-text {
        font-size: 0.61rem;
        line-height: 1.42;
    }
}
