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

body {
    min-height: 100vh;
    background: #f8f5f5;
    color: #253044;
    font-family: 'Prompt', sans-serif;
    display: flex;
    flex-direction: column;
}

.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

.auth-header nav a.active {
    color: #a31e25;
    font-weight: 600;
}

main {
    flex: 1;
}

.about-hero {
    padding: 48px 0 34px;
    background:
        radial-gradient(circle at top left, rgba(163, 30, 37, 0.12), transparent 34%),
        linear-gradient(135deg, #fff 0%, #fff8f8 48%, #f7eef0 100%);
    border-bottom: 1px solid #ead7d9;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 32px;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    margin-bottom: 14px;
    padding: 6px 12px;
    border: 1px solid #ead7d9;
    border-radius: 999px;
    background: #fff;
    color: #a31e25;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.hero-copy h2 {
    max-width: 720px;
    color: #7a1921;
    font-size: clamp(1.7rem, 4vw, 3rem);
    line-height: 1.2;
    margin-bottom: 18px;
}

.hero-copy p,
.prose-card p,
.feature-card p {
    color: #4b5563;
    font-size: 1rem;
    line-height: 1.85;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.primary-link,
.secondary-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.18s, box-shadow 0.18s, background 0.18s;
}

.primary-link {
    background: #a31e25;
    color: #fff;
    box-shadow: 0 10px 20px rgba(163, 30, 37, 0.18);
}

.secondary-link {
    border: 1px solid #d9b3b6;
    background: #fff;
    color: #7a1921;
}

.primary-link:hover,
.secondary-link:hover {
    transform: translateY(-2px);
}

.hero-visual {
    position: relative;
    min-height: 330px;
    border: 1px solid #ead7d9;
    border-radius: 24px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(255, 243, 243, 0.76)),
        repeating-linear-gradient(45deg, rgba(163, 30, 37, 0.04) 0 1px, transparent 1px 14px);
    box-shadow: 0 18px 40px rgba(67, 24, 27, 0.12);
    overflow: hidden;
}

.logo-orbit {
    position: absolute;
    inset: 58px 72px 72px;
    display: grid;
    place-items: center;
    border: 1px dashed rgba(163, 30, 37, 0.28);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.58);
}

.logo-orbit img {
    width: 142px;
    height: 142px;
    object-fit: contain;
}

.metric-card {
    position: absolute;
    display: grid;
    gap: 2px;
    min-width: 150px;
    padding: 14px 16px;
    border: 1px solid #ead7d9;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 12px 24px rgba(67, 24, 27, 0.1);
}

.metric-card strong {
    color: #a31e25;
    font-size: 1.2rem;
}

.metric-card span {
    color: #667085;
    font-size: 0.85rem;
}

.metric-top {
    top: 28px;
    right: 22px;
}

.metric-bottom {
    bottom: 24px;
    left: 22px;
}

.about-section {
    margin-top: 28px;
}

.section-heading {
    margin-bottom: 16px;
}

.section-heading span {
    display: block;
    color: #2252a2;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section-heading h3 {
    color: #a31e25;
    font-size: 1.35rem;
    margin-top: 4px;
}

.prose-card,
.feature-card,
.timeline-table-wrapper,
.image-grid figure {
    border: 1px solid #ead7d9;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 25px rgba(163, 30, 37, 0.07);
}

.prose-card {
    display: grid;
    gap: 16px;
    padding: 24px;
}

.two-column {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.feature-card {
    padding: 22px;
}

.card-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    margin-bottom: 14px;
    border-radius: 14px;
    background: #fff3f3;
    color: #a31e25;
    font-size: 1.25rem;
}

.feature-card h3 {
    color: #7a1921;
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.timeline-table-wrapper {
    overflow-x: auto;
}

.timeline-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
    background: #fff;
}

.timeline-table th,
.timeline-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #f0e2e4;
    text-align: left;
    vertical-align: top;
}

.timeline-table th {
    background: #fff7f8;
    color: #7a1921;
    font-weight: 700;
}

.timeline-table tr:last-child td {
    border-bottom: 0;
}

.timeline-table td:first-child {
    color: #a31e25;
    font-weight: 700;
    white-space: nowrap;
}

.featured-figure {
    border: 1px solid #ead7d9;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 32px rgba(163, 30, 37, 0.08);
    overflow: hidden;
}

.featured-image-frame {
    display: grid;
    place-items: center;
    min-height: 360px;
    padding: 42px;
    background:
        radial-gradient(circle at 50% 42%, rgba(163, 30, 37, 0.14), transparent 36%),
        linear-gradient(135deg, #fff7f8, #f8fafc);
}

.featured-image-frame img {
    width: min(340px, 72vw);
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 18px 24px rgba(67, 24, 27, 0.14));
}

.featured-figure figcaption {
    padding: 22px 26px 26px;
    border-top: 1px solid #f0e2e4;
}

.featured-figure p {
    color: #4b5563;
    font-size: 1rem;
    line-height: 1.85;
}

.story-media-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
    gap: 18px;
}

.story-card {
    display: grid;
    gap: 18px;
    border: 1px solid #ead7d9;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(163, 30, 37, 0.08);
    overflow: hidden;
}

.story-card-wide {
    grid-template-columns: minmax(240px, 0.85fr) minmax(0, 1.15fr);
}

.story-image {
    min-height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 28px;
    background:
        radial-gradient(circle at 20% 20%, rgba(163, 30, 37, 0.12), transparent 34%),
        linear-gradient(135deg, #fff7f8, #f8fafc);
}

.system-preview img {
    width: 76px;
    height: 76px;
    object-fit: contain;
    padding: 12px;
    border: 1px solid #ead7d9;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 22px rgba(67, 24, 27, 0.1);
}

.story-content {
    padding: 24px;
}

.story-content h3 {
    color: #7a1921;
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.story-content p {
    color: #4b5563;
    font-size: 0.96rem;
    line-height: 1.78;
}

.story-content p + p {
    margin-top: 10px;
}

.person-card {
    align-content: start;
}

.person-photo {
    display: grid;
    place-items: center;
    padding: 28px 20px 8px;
    background: linear-gradient(180deg, #fff7f8, #fff);
}

.person-photo img {
    width: 132px;
    height: 132px;
    object-fit: cover;
    border: 6px solid #fff;
    border-radius: 50%;
    background: #f8fafc;
    box-shadow: 0 12px 26px rgba(67, 24, 27, 0.14);
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.image-grid figure {
    display: grid;
    place-items: center;
    gap: 10px;
    padding: 18px 12px;
    text-align: center;
}

.image-grid img {
    width: 72px;
    height: 72px;
    object-fit: contain;
}

.image-grid figcaption {
    color: #4b5563;
    font-size: 0.92rem;
    font-weight: 500;
}

footer {
    margin-top: 38px;
    color: #666;
    text-align: center;
    font-size: 0.85rem;
    padding: 12px 0 16px;
    border-top: 1px solid #e2eaf1;
    box-shadow: 0 -1px 8px #e2eaf10c;
    letter-spacing: 0.01em;
}

.footer-content {
    line-height: 1.6;
}

@media (max-width: 900px) {
    .hero-grid,
    .two-column,
    .story-media-grid,
    .story-card-wide {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        min-height: 280px;
    }

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

@media (max-width: 720px) {
    .about-hero {
        padding: 34px 0 24px;
    }

    .hero-copy h2 {
        font-size: 1.65rem;
    }

    .hero-actions a {
        width: 100%;
    }

    .logo-orbit {
        inset: 54px 48px 62px;
    }

    .logo-orbit img {
        width: 112px;
        height: 112px;
    }

    .metric-card {
        min-width: 130px;
        padding: 10px 12px;
    }

    .featured-image-frame {
        min-height: 260px;
        padding: 30px;
    }

    .featured-figure figcaption {
        padding: 18px;
    }

    .prose-card,
    .feature-card {
        padding: 18px;
    }

    .image-grid {
        gap: 10px;
    }

    footer {
        font-size: 0.78rem;
    }
}
