/* JUPEB portal — education blue theme, polished */
:root {
    --blue-950: #0c1929;
    --blue-900: #0f2744;
    --blue-800: #1e3a5f;
    --blue-700: #1d4ed8;
    --blue-600: #2563eb;
    --blue-500: #3b82f6;
    --blue-400: #60a5fa;
    --blue-100: #dbeafe;
    --blue-50: #eff6ff;
    --cream: #f1f5f9;
    --text: #0f172a;
    --muted: #64748b;
    --white: #ffffff;
    --radius: 14px;
    --radius-lg: 20px;
    --shadow: 0 20px 50px -20px rgba(15, 39, 68, 0.45);
    --shadow-soft: 0 12px 40px -18px rgba(15, 23, 42, 0.18);
    --font: "DM Sans", system-ui, -apple-system, sans-serif;
    --font-heading: "Outfit", var(--font);
    /* object-position Y for object-fit:cover — lower values anchor toward faces */
    --photo-face-y: 22%;
    --photo-face-y-portrait: 16%;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font);
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--text);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--blue-700);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    line-height: 1.2;
    color: var(--blue-900);
    margin-top: 0;
    letter-spacing: -0.02em;
}

h1 {
    font-weight: 800;
}

h2 {
    font-weight: 700;
}

h3,
h4 {
    font-weight: 700;
}

.container {
    width: min(1140px, 92vw);
    margin-inline: auto;
}

.site-header {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    box-shadow: 0 1px 0 rgba(30, 58, 95, 0.06);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.65rem 0;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.logo-link:hover {
    text-decoration: none;
    opacity: 0.92;
}

.logo-link img {
    height: 48px;
    width: auto;
}

.nav-desktop {
    display: none;
    align-items: center;
    gap: 0.15rem;
}

.nav-desktop a {
    color: var(--blue-800);
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.45rem 0.65rem;
    border-radius: 10px;
    text-decoration: none;
    letter-spacing: -0.01em;
    transition: background 0.15s ease, color 0.15s ease;
}

.nav-desktop a:hover {
    background: var(--blue-50);
    text-decoration: none;
    color: var(--blue-700);
}

.nav-cta {
    background: linear-gradient(135deg, var(--blue-600) 0%, #1e40af 100%);
    color: var(--white) !important;
    margin-left: 0.35rem;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.38);
}

.nav-cta:hover {
    background: linear-gradient(135deg, var(--blue-700), var(--blue-900)) !important;
    filter: brightness(1.03);
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--blue-800);
    border-radius: 2px;
}

.nav-mobile {
    display: none;
    flex-direction: column;
    padding-bottom: 1rem;
    border-top: 1px solid var(--blue-100);
    margin-top: 0.5rem;
}

.nav-mobile.is-open {
    display: flex;
}

.nav-mobile a {
    color: var(--blue-800);
    font-weight: 600;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--blue-50);
    text-decoration: none;
}

.nav-mobile a:last-child {
    border-bottom: none;
}

@media (min-width: 960px) {
    .nav-desktop {
        display: flex;
    }

    .menu-toggle {
        display: none;
    }

    .nav-mobile {
        display: none !important;
    }
}

/* Hero */
.hero {
    background: linear-gradient(145deg, #1a365d 0%, var(--blue-900) 42%, #0a1628 100%);
    color: var(--white);
    padding: 2.5rem 0 3.5rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 90% 70% at 85% 15%, rgba(59, 130, 246, 0.35), transparent 55%),
        radial-gradient(ellipse 50% 40% at 10% 80%, rgba(96, 165, 250, 0.12), transparent 50%);
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.9;
    pointer-events: none;
}

.hero-grid {
    display: grid;
    gap: 2.25rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

@media (min-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr 1.05fr;
        gap: 3rem;
    }
}

.hero-copy h1 {
    color: var(--white);
    font-size: clamp(2rem, 4.5vw, 3.15rem);
    max-width: 16ch;
    margin-bottom: 1rem;
    line-height: 1.08;
}

.hero-eyebrow {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--blue-200, #bfdbfe);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    margin-bottom: 1rem;
}

.hero .lead {
    font-size: 1.125rem;
    color: #e2e8f0;
    max-width: 48ch;
    margin-bottom: 1.75rem;
    font-weight: 500;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hero-figure {
    margin: 0;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-figure img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center var(--photo-face-y);
    display: block;
    transform: scale(1.01);
}

.hero-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem 1.25rem;
    background: linear-gradient(transparent, rgba(15, 23, 42, 0.85));
    color: #f1f5f9;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: var(--font-heading);
    letter-spacing: -0.01em;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.6rem;
    border-radius: 12px;
    font-weight: 700;
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    letter-spacing: -0.02em;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.btn:hover {
    text-decoration: none;
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--white);
    color: var(--blue-800);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.55);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.8);
}

.btn-solid {
    background: linear-gradient(135deg, var(--blue-500) 0%, var(--blue-700) 100%);
    color: var(--white);
    box-shadow: 0 6px 24px rgba(37, 99, 235, 0.45);
}

.btn-outline {
    background: transparent;
    color: var(--blue-700);
    border: 2px solid var(--blue-600);
}

.btn-outline:hover {
    background: var(--blue-50);
}

.notice {
    background: linear-gradient(135deg, #fffbeb, #fff7ed);
    border: 1px solid #fcd34d;
    color: #92400e;
    padding: 1rem 1.35rem;
    border-radius: var(--radius);
    margin: 2rem auto;
    max-width: min(1140px, 92vw);
    font-size: 0.9375rem;
    box-shadow: var(--shadow-soft);
}

.section {
    padding: 4rem 0;
}

.section-alt {
    background: var(--white);
}

.section-title {
    font-size: clamp(1.65rem, 3.2vw, 2.25rem);
    margin-bottom: 0.5rem;
    text-align: center;
}

.section-sub {
    text-align: center;
    color: var(--muted);
    max-width: 58ch;
    margin: 0 auto 2.5rem;
    font-size: 1.05rem;
}

.eyebrow {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--blue-600);
    margin-bottom: 0.5rem;
    text-align: center;
}

.grid-2 {
    display: grid;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 768px) {
    .grid-2 {
        grid-template-columns: 1fr 1fr;
    }
}

.media-frame {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(30, 58, 95, 0.08);
    background: var(--blue-50);
}

.media-frame img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center var(--photo-face-y);
    transition: transform 0.5s ease;
}

.media-frame:hover img {
    transform: scale(1.04);
}

.media-caption {
    padding: 0.75rem 1rem;
    font-size: 0.8125rem;
    color: var(--muted);
    background: var(--white);
    border-top: 1px solid rgba(30, 58, 95, 0.06);
}

.card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.75rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(30, 58, 95, 0.07);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 45px -22px rgba(15, 23, 42, 0.2);
}

.stats-section {
    position: relative;
    padding: 4.5rem 0;
    overflow: hidden;
}

.stats-section__bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, var(--blue-900), #1e3a8a);
}

.stats-section__bg img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center var(--photo-face-y);
    opacity: 0.22;
    mix-blend-mode: overlay;
}

.stats-section__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 39, 68, 0.75), rgba(15, 23, 42, 0.88));
}

.stats-section .container {
    position: relative;
    z-index: 1;
}

.stats-section .eyebrow {
    color: #93c5fd;
}

.stats-section .section-title,
.stats-section .section-sub {
    color: #e2e8f0;
}

.stats-section .section-sub {
    color: #94a3b8;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 2rem 0 0;
}

@media (max-width: 640px) {
    .stats {
        grid-template-columns: 1fr;
    }
}

.stat {
    padding: 1.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.14);
    text-align: center;
    transition: background 0.2s ease, transform 0.2s ease;
}

.stat:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-2px);
}

.stat strong {
    display: block;
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.03em;
}

.stat span {
    font-size: 0.8125rem;
    color: #cbd5e1;
    line-height: 1.45;
    margin-top: 0.35rem;
    display: block;
}

.benefits {
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .benefits {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 960px) {
    .benefits {
        grid-template-columns: repeat(3, 1fr);
    }
}

.benefit h4 {
    margin-bottom: 0.5rem;
    font-size: 1.0625rem;
}

.steps {
    counter-reset: step;
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .steps {
        grid-template-columns: repeat(3, 1fr);
    }
}

.step {
    position: relative;
    padding-top: 0.5rem;
}

.step::before {
    counter-increment: step;
    content: counter(step, decimal-leading-zero);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.65rem;
    height: 2.65rem;
    background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
    color: var(--white);
    font-weight: 800;
    font-family: var(--font-heading);
    border-radius: 12px;
    margin-bottom: 0.85rem;
    font-size: 0.95rem;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
}

.step h4 {
    margin-bottom: 0.35rem;
}

blockquote.quote {
    margin: 1.5rem 0;
    padding: 1.35rem 1.5rem;
    border-left: 4px solid var(--blue-500);
    background: linear-gradient(90deg, var(--blue-50), rgba(239, 246, 255, 0.5));
    color: var(--blue-900);
    font-style: italic;
    border-radius: 0 var(--radius) var(--radius) 0;
}

.list-check {
    list-style: none;
    padding: 0;
    margin: 0;
}

.list-check li {
    padding: 0.4rem 0 0.4rem 1.85rem;
    position: relative;
}

.list-check li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--blue-600);
    font-weight: bold;
}

.image-strip {
    position: relative;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem 1.5rem;
    overflow: hidden;
}

.image-strip__media {
    position: absolute;
    inset: 0;
}

.image-strip__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center var(--photo-face-y);
}

.image-strip__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(15, 39, 68, 0.88), rgba(30, 58, 138, 0.75));
}

.image-strip__content {
    position: relative;
    z-index: 1;
    max-width: 640px;
}

.image-strip__content h2 {
    color: var(--white);
    margin-bottom: 0.75rem;
}

.image-strip__content p {
    color: #e2e8f0;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.split-banner {
    display: grid;
    gap: 0;
    align-items: stretch;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(30, 58, 95, 0.08);
}

@media (min-width: 768px) {
    .split-banner {
        grid-template-columns: 1fr 1fr;
    }
}

.split-banner__img img {
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: cover;
    object-position: center var(--photo-face-y);
}

.split-banner__body {
    padding: 2rem 2rem;
    background: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Ready-to-enrol — tight subject crop + sharpened asset; frame face/desk */
.split-banner--enrol .split-banner__img {
    max-height: min(440px, 52vh);
    overflow: hidden;
}

.split-banner--enrol .split-banner__img img {
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: cover;
    object-position: center var(--photo-face-y-portrait);
}

@media (min-width: 768px) {
    .split-banner--enrol .split-banner__img {
        max-height: none;
    }

    .split-banner--enrol .split-banner__img img {
        min-height: 320px;
    }
}
.cta-panel {
    text-align: center;
    padding: 3rem 1.5rem;
    background: linear-gradient(160deg, var(--blue-50), var(--white));
    border-radius: var(--radius-lg);
    border: 1px solid var(--blue-100);
    box-shadow: var(--shadow-soft);
}

[data-reveal] {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

.site-footer {
    background: linear-gradient(180deg, var(--blue-950), #070d14);
    color: #94a3b8;
    padding: 3rem 0 1.5rem;
    font-size: 0.9375rem;
}

.site-footer h4 {
    color: var(--white);
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
    font-weight: 700;
}

.footer-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr;
    }
}

.footer-phones {
    list-style: none;
    padding: 0;
    margin: 0.85rem 0 0;
    font-size: 0.94rem;
    line-height: 1.55;
}

.footer-phones li {
    margin-bottom: 0.35rem;
}

.footer-phones strong {
    color: var(--white);
}

.site-footer a {
    color: #cbd5e1;
    text-decoration: none;
}

.site-footer a:hover {
    color: var(--blue-400);
    text-decoration: underline;
}

.footer-bottom {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(148, 163, 184, 0.15);
    text-align: center;
    font-size: 0.8125rem;
}

/* Contact form */
.form-wrap {
    max-width: 640px;
    margin: 0 auto;
}

/* Honeypot field — must stay hidden from sighted users */
.sr-only-field {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--blue-900);
    margin-bottom: 0.35rem;
    font-size: 0.875rem;
    font-family: var(--font-heading);
    letter-spacing: -0.01em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    font: inherit;
    background: var(--white);
    transition: border-color 0.15s, box-shadow 0.15s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--blue-500);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.form-group textarea {
    min-height: 160px;
    resize: vertical;
}

.form-error {
    color: #b91c1c;
    font-size: 0.8125rem;
    margin-top: 0.35rem;
}

.alert-success {
    background: #ecfdf5;
    border: 1px solid #6ee7b7;
    color: #065f46;
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
}

.alert-warning {
    background: #fffbeb;
    border: 1px solid #fcd34d;
    color: #92400e;
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
}

.page-hero {
    background: linear-gradient(135deg, var(--blue-800), var(--blue-900));
    color: var(--white);
    padding: 2.75rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 80% at 80% 20%, rgba(59, 130, 246, 0.25), transparent);
    pointer-events: none;
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    color: var(--white);
    margin: 0;
}

.page-hero p {
    margin: 0.5rem 0 0;
    opacity: 0.92;
    font-weight: 500;
}

.page-hero--with-photo {
    padding: 3rem 0;
    background: var(--blue-900);
}

.page-hero__grid {
    display: grid;
    gap: 1.5rem;
    align-items: center;
    text-align: left;
}

@media (min-width: 768px) {
    .page-hero--with-photo .page-hero__grid {
        grid-template-columns: 1.15fr 0.85fr;
        gap: 2rem;
    }

    .page-hero--with-photo {
        text-align: left;
    }
}

.page-hero__photo {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.page-hero__photo img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: center var(--photo-face-y);
    display: block;
}

.embed-wrap {
    width: min(640px, 100%);
    margin-inline: auto;
}

.embed-frame {
    display: block;
    width: 100%;
    height: 1120px;
    min-height: 1120px;
    border: none;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    background: var(--white);
}

.embed-note {
    text-align: center;
    color: var(--muted);
    margin-top: 1rem;
    font-size: 0.9375rem;
}

.register-hero-card {
    max-width: 720px;
    margin: -2rem auto 0;
    position: relative;
    z-index: 2;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.5rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(30, 58, 95, 0.08);
    text-align: center;
    font-size: 0.9375rem;
    color: var(--muted);
}

.contact-phone-list {
    list-style: none;
    padding: 1rem 0 0;
    margin: 0;
    max-width: 28rem;
}

.contact-phone-list li {
    padding: 0.35rem 0;
}

.contact-phone-list a {
    margin-left: 0.35rem;
    font-weight: 600;
}

.page-hero .contact-phone-list a {
    color: #f8fafc;
    text-decoration: underline;
}

.page-hero .contact-phone-list a:hover {
    color: #fde68a;
}

/* Photo gallery — four columns */
.gallery-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 1.5rem;
}

@media (min-width: 900px) {
    .gallery-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.gallery-grid__cell {
    margin: 0;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(30, 58, 95, 0.08);
    box-shadow: var(--shadow-soft);
    background: var(--blue-50);
}

.gallery-grid__cell img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center var(--photo-face-y);
    display: block;
}

/* About page — readable reference layout */
.about-prose {
    max-width: 52rem;
    margin-inline: auto;
}

.about-prose > h2 {
    margin-top: 2rem;
    margin-bottom: 0.65rem;
    font-size: clamp(1.2rem, 2.5vw, 1.45rem);
}

.about-prose > h2:first-child {
    margin-top: 0;
}

.about-prose > h3 {
    margin-top: 1.25rem;
}

.about-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    font-size: 0.9375rem;
}

.about-table th,
.about-table td {
    border: 1px solid rgba(30, 58, 95, 0.12);
    padding: 0.55rem 0.85rem;
    text-align: left;
}

.about-table th {
    background: var(--blue-50);
    font-family: var(--font-heading);
    font-weight: 700;
}

.about-table tbody tr:nth-child(even) {
    background: rgba(239, 246, 255, 0.35);
}

@media (max-width: 767px) {
    .about-compare {
        grid-template-columns: 1fr !important;
    }
}
