/**
 * About Us — editorial story page for ZES-QRE.
 * Brand blue + atmospheric wash; story chapters without card clutter in the hero.
 */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Source+Serif+4:opsz,wght@8..60,400;8..60,500;8..60,600&display=swap');

.about-page {
    --about-display: 'Outfit', var(--font-display, 'Segoe UI'), sans-serif;
    --about-serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
    --about-ink: var(--color-text, #050505);
    --about-muted: var(--color-text-muted, #555555);
    --about-blue: var(--color-primary, #0f4fce);
    --about-wash: color-mix(in srgb, var(--about-blue) 9%, #f7f9fc);
    min-height: 100vh;
    color: var(--about-ink);
    font-family: var(--about-display);
    background:
        radial-gradient(120% 80% at 12% -10%, color-mix(in srgb, var(--about-blue) 22%, transparent), transparent 55%),
        radial-gradient(90% 60% at 100% 8%, color-mix(in srgb, var(--about-blue) 12%, transparent), transparent 50%),
        linear-gradient(180deg, var(--about-wash) 0%, var(--color-bg, #fff) 42%, var(--color-bg, #fff) 100%);
    background-attachment: fixed;
}

.about-page.dark-theme,
html.dark-theme .about-page {
    --about-wash: color-mix(in srgb, var(--about-blue) 14%, #0b1220);
}

.about-topbar {
    position: sticky;
    top: 0;
    z-index: 40;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px clamp(16px, 4vw, 40px);
    background: color-mix(in srgb, var(--color-surface-base, #f5f5f5) 72%, transparent);
    backdrop-filter: blur(16px) saturate(140%);
    border-bottom: 1px solid color-mix(in srgb, var(--about-blue) 16%, var(--color-border, rgba(0, 0, 0, 0.1)));
}

.about-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.95rem;
}

.about-brand img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.about-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    align-items: center;
}

.about-nav a {
    color: var(--about-muted);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
}

.about-nav a:hover,
.about-nav a[aria-current='page'] {
    color: var(--about-blue);
}

.about-nav .about-cta {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 10px;
    background: var(--about-blue);
    color: #fff !important;
    font-weight: 600;
}

.about-nav .about-cta:hover {
    background: var(--color-primary-hover, #093da3);
}

/* Hero — one composition: brand, headline, lead, CTA */
.about-hero {
    position: relative;
    max-width: 920px;
    margin: 0 auto;
    padding: clamp(56px, 10vw, 110px) clamp(18px, 4vw, 36px) clamp(40px, 6vw, 64px);
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    inset: 8% -20% auto auto;
    width: min(52vw, 420px);
    height: min(52vw, 420px);
    border-radius: 50%;
    background: radial-gradient(circle, color-mix(in srgb, var(--about-blue) 18%, transparent), transparent 70%);
    pointer-events: none;
    animation: about-glow 9s ease-in-out infinite alternate;
}

@keyframes about-glow {
    from { transform: translate(0, 0) scale(1); opacity: 0.7; }
    to { transform: translate(-18px, 24px) scale(1.08); opacity: 1; }
}

.about-hero-brand {
    margin: 0 0 18px;
    font-size: clamp(1.35rem, 3.5vw, 2rem);
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--about-ink);
    animation: about-rise 0.7s ease both;
}

.about-hero h1 {
    margin: 0 0 18px;
    max-width: 16ch;
    font-size: clamp(2.1rem, 5.2vw, 3.45rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
    font-weight: 800;
    animation: about-rise 0.75s 0.08s ease both;
}

.about-hero-lead {
    margin: 0 0 28px;
    max-width: 38rem;
    font-family: var(--about-serif);
    font-size: clamp(1.1rem, 2.2vw, 1.28rem);
    line-height: 1.55;
    color: color-mix(in srgb, var(--about-ink) 82%, transparent);
    animation: about-rise 0.8s 0.14s ease both;
}

.about-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    animation: about-rise 0.85s 0.2s ease both;
}

.about-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border-radius: 11px;
    font-weight: 600;
    font-size: 0.98rem;
    text-decoration: none;
    border: 1px solid transparent;
    transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.about-btn:hover {
    transform: translateY(-1px);
}

.about-btn--primary {
    background: var(--about-blue);
    color: #fff;
}

.about-btn--ghost {
    background: transparent;
    color: var(--about-ink);
    border-color: color-mix(in srgb, var(--about-ink) 18%, transparent);
}

@keyframes about-rise {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

.about-main {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 clamp(18px, 4vw, 36px) clamp(64px, 10vw, 120px);
}

.about-chapter {
    padding: clamp(36px, 6vw, 64px) 0;
    border-top: 1px solid color-mix(in srgb, var(--about-ink) 8%, transparent);
}

.about-chapter:first-of-type {
    border-top: 0;
    padding-top: 8px;
}

.about-kicker {
    display: inline-block;
    margin: 0 0 12px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--about-blue);
}

.about-chapter h2 {
    margin: 0 0 16px;
    font-size: clamp(1.55rem, 3.2vw, 2.15rem);
    letter-spacing: -0.02em;
    line-height: 1.18;
    font-weight: 700;
}

.about-chapter p {
    margin: 0 0 1.05rem;
    font-family: var(--about-serif);
    font-size: 1.08rem;
    line-height: 1.72;
    color: color-mix(in srgb, var(--about-ink) 88%, transparent);
}

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

.about-chapter strong {
    font-weight: 600;
    color: var(--about-ink);
}

.about-pull {
    margin: 28px 0 0;
    padding: 20px 0 0 22px;
    border-left: 3px solid var(--about-blue);
    font-family: var(--about-serif);
    font-size: clamp(1.15rem, 2.4vw, 1.4rem);
    line-height: 1.45;
    font-style: italic;
    color: var(--about-ink);
}

.about-beliefs {
    display: grid;
    gap: 18px;
    margin-top: 28px;
}

.about-belief {
    padding: 4px 0 4px 0;
}

.about-belief h3 {
    margin: 0 0 6px;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.about-belief p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
}

.about-closing {
    margin-top: clamp(28px, 5vw, 48px);
    padding: clamp(28px, 4vw, 40px) 0 0;
    border-top: 1px solid color-mix(in srgb, var(--about-ink) 10%, transparent);
    text-align: left;
}

.about-closing h2 {
    margin: 0 0 12px;
    font-size: clamp(1.45rem, 3vw, 1.9rem);
}

.about-closing p {
    margin: 0 0 22px;
    max-width: 40rem;
    font-family: var(--about-serif);
    font-size: 1.08rem;
    line-height: 1.65;
    color: color-mix(in srgb, var(--about-ink) 86%, transparent);
}

@media (max-width: 640px) {
    .about-hero h1 {
        max-width: none;
    }

    .about-nav .about-hide-sm {
        display: none;
    }
}
