@charset "utf-8";

:root {
    --bg: #eef3f7;
    --surface: #ffffff;
    --surface-soft: #f6f8fa;
    --text: #1f2937;
    --muted: #667085;
    --primary: #17324d;
    --primary-light: #24557a;
    --accent: #d7a84b;
    --border: #dfe7ee;
    --shadow: 0 18px 45px rgba(23, 50, 77, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    background: linear-gradient(135deg, #e7eef5 0%, #f5f7f9 50%, #e9f0f4 100%);
    min-height: 100%;
}

body {
    width: min(1100px, calc(100% - 32px));
    margin: 32px auto;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text);
    background-color: var(--surface);
    border: 1px solid rgba(223, 231, 238, 0.9);
    border-radius: 24px;
    box-shadow: var(--shadow);
    overflow-x: hidden;
    overflow-y: visible;
}

header {
    padding: 56px 40px 46px;
    text-align: center;
    color: white;
    background:
        radial-gradient(circle at top right, rgba(215, 168, 75, 0.35), transparent 34%),
        linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
}

header h1 {
    margin: 0;
    font-size: clamp(2rem, 5vw, 3.4rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

header p {
    max-width: 700px;
    margin: 16px auto 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.05rem;
    line-height: 1.7;
}

nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 14px 20px;
    background-color: #10263b;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

nav > a {
    padding: 10px 14px;
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 10px;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

nav > a:hover,
nav > a[aria-current="page"] {
    color: white;
    background-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-1px);
}

main {
    padding: 44px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
    gap: 30px;
    align-items: center;
    margin-bottom: 34px;
}

.hero-copy h2,
.section-heading {
    margin: 0 0 12px;
    color: var(--primary);
    font-size: clamp(1.65rem, 3vw, 2.2rem);
    letter-spacing: -0.025em;
}

.hero-copy p,
.card p,
.feature-card p,
main > p {
    color: var(--muted);
    line-height: 1.75;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    color: #8a651f;
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.profile-photo {
    width: 100%;
    max-height: 460px;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center 35%;
    padding: 0;
    border-radius: 20px;
    background-color: var(--surface-soft);
    border: 1px solid var(--border);
    box-shadow: 0 14px 30px rgba(23, 50, 77, 0.12);
}


.family-photo {
    width: 100%;
    max-height: 560px;
    object-fit: cover;
    object-position: center 38%;
    border-radius: 20px;
    border: 1px solid var(--border);
    box-shadow: 0 14px 30px rgba(23, 50, 77, 0.12);
}

html {
    scroll-behavior: smooth;
}

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

.card,
.feature-card {
    padding: 24px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafb 100%);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: 0 8px 22px rgba(23, 50, 77, 0.06);
}

.card h2,
.card h3,
.feature-card h2,
.feature-card h3 {
    margin-top: 0;
    color: var(--primary);
}

.card p:last-child,
.feature-card p:last-child {
    margin-bottom: 0;
}

.feature-stack {
    display: grid;
    gap: 18px;
}

.school-list,
.place-list {
    list-style: none;
    padding: 0;
    margin: 26px 0 0;
    display: grid;
    gap: 14px;
}

.school-list li,
.place-list li {
    padding: 20px 22px;
    background-color: var(--surface-soft);
    border: 1px solid var(--border);
    border-left: 5px solid var(--accent);
    border-radius: 14px;
    color: var(--muted);
    line-height: 1.6;
}

.school-list strong,
.place-list strong {
    display: block;
    margin-bottom: 4px;
    color: var(--primary);
    font-size: 1.05rem;
}

.callout {
    margin-top: 28px;
    padding: 22px 24px;
    background-color: #f8f3e8;
    border: 1px solid #ebdfc3;
    border-radius: 16px;
    color: #5f523a;
    line-height: 1.7;
}

body > footer {
    margin-top: 0;
    padding: 24px 32px;
    background-color: #10263b;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.88rem;
    line-height: 1.8;
    text-align: center;
}

body > footer a {
    color: #f0ca7b;
}

@media (max-width: 800px) {
    body {
        width: min(100% - 20px, 1100px);
        margin: 10px auto;
        border-radius: 18px;
    }

    header {
        padding: 42px 24px 36px;
    }

    main {
        padding: 28px 22px;
    }

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

    .profile-photo {
        max-height: 420px;
    }
}

@media (max-width: 520px) {
    nav {
        justify-content: stretch;
    }

    nav > a {
        flex: 1 1 42%;
        text-align: center;
    }
}
