:root {
    --ink: #172033;
    --muted: #667085;
    --line: #e6e9ef;
    --paper: #fbfaf7;
    --panel: #ffffff;
    --navy: #243b6b;
    --teal: #0f9f9a;
    --gold: #c89b3c;
    --soft: #eef6f4;
    --radius: 10px;
    --font: "Manrope", system-ui, sans-serif;
    --serif: "Playfair Display", Georgia, serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at 80% 0%, rgba(15, 159, 154, 0.12), transparent 32%),
        linear-gradient(180deg, #fff, var(--paper));
    font-family: var(--font);
}

a {
    color: inherit;
    text-decoration: none;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1rem clamp(1rem, 4vw, 4rem);
    background: rgba(251, 250, 247, 0.86);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 800;
}

.brand span {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--navy), var(--teal));
    color: #fff;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
}

.main-nav {
    display: flex;
    gap: 1.4rem;
    color: var(--muted);
    font-weight: 700;
}

.main-nav a:hover {
    color: var(--teal);
}

.header-actions {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
}

.header-cta,
.btn,
.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 1.1rem;
    border-radius: 999px;
    font-weight: 800;
}

.header-cta,
.btn.primary {
    background: var(--ink);
    color: #fff;
}

.social-link,
.btn.facebook {
    background: #1877f2;
    color: #fff;
    box-shadow: 0 14px 30px rgba(24, 119, 242, 0.22);
}

.social-link.compact {
    width: 44px;
    padding: 0;
    border-radius: 50%;
    font-family: Arial, sans-serif;
    font-size: 1.25rem;
    font-weight: 900;
}

.btn.ghost {
    border: 1px solid var(--line);
    background: rgba(255,255,255,0.7);
}

main {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) 390px;
    gap: 2rem;
    align-items: center;
    min-height: calc(100vh - 76px);
    padding: 4rem 0;
}

.eyebrow,
.section-kicker {
    color: var(--teal);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.78rem;
    font-weight: 900;
}

h1,
h2 {
    font-family: var(--serif);
    line-height: 1.02;
}

h1 {
    margin: 1rem 0;
    font-size: clamp(3rem, 7vw, 6rem);
    max-width: 900px;
}

.hero p,
.contact-copy p {
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.75;
    max-width: 720px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 2rem;
}

.profile-card {
    padding: 1.4rem;
    border-radius: 24px;
    background: linear-gradient(180deg, #fff, #f3f7f6);
    border: 1px solid var(--line);
    box-shadow: 0 30px 80px rgba(23, 32, 51, 0.12);
}

.portrait {
    aspect-ratio: 4 / 5;
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(36,59,107,0.88), rgba(15,159,154,0.82)),
        var(--soft);
}

.portrait::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 58%, rgba(23, 32, 51, 0.2));
    pointer-events: none;
}

.portrait img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center 34%;
}

.profile-card h2 {
    margin: 1.2rem 0 0.4rem;
}

.profile-card p,
.profile-stats span {
    color: var(--muted);
}

.profile-stats {
    display: grid;
    gap: 0.75rem;
    margin-top: 1.2rem;
}

.profile-stats span {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--line);
}

.profile-stats strong {
    color: var(--navy);
}

section {
    padding: 4.5rem 0;
}

.story-section,
.contact {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 2rem;
    align-items: start;
}

.section-head {
    display: grid;
    gap: 0.6rem;
    margin-bottom: 1.6rem;
}

.section-head h2,
.story-section h2,
.contact h2 {
    margin: 0;
    font-size: clamp(2.2rem, 4vw, 3.8rem);
}

.story-grid,
.service-grid,
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.story-grid article,
.service-card,
.post-card,
.contact-form {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255,255,255,0.72);
    padding: 1.3rem;
}

.story-grid p,
.service-card p,
.post-card p,
.activity-list p {
    color: var(--muted);
    line-height: 1.65;
}

.quote-section {
    padding: 2rem 0 4.5rem;
}

.quote-section > div {
    display: grid;
    gap: 1rem;
    padding: clamp(1.4rem, 4vw, 2.4rem);
    border: 1px solid rgba(15, 159, 154, 0.24);
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(36, 59, 107, 0.96), rgba(15, 159, 154, 0.88)),
        var(--navy);
    color: #fff;
    box-shadow: 0 30px 80px rgba(23, 32, 51, 0.16);
}

.quote-section blockquote {
    max-width: 900px;
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(2rem, 4vw, 3.8rem);
    line-height: 1.08;
}

.quote-section p {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.75;
}

.service-card {
    min-height: 260px;
    display: flex;
    flex-direction: column;
}

.service-card span {
    color: var(--gold);
    font-weight: 900;
}

.service-card h3 {
    font-size: 1.5rem;
}

.service-card a {
    margin-top: auto;
    color: var(--teal);
    font-weight: 900;
}

.post-card.featured {
    grid-column: span 2;
    background: linear-gradient(135deg, var(--navy), #1a6f7c);
    color: #fff;
}

.post-card.featured p,
.post-card.featured small {
    color: rgba(255,255,255,0.75);
}

.post-card small {
    color: var(--teal);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.activity-list {
    display: grid;
    gap: 0.9rem;
}

.activity-list article {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
}

.activity-list time {
    color: var(--gold);
    font-weight: 900;
}

.activity-list h3,
.activity-list p {
    margin: 0;
}

.activity-list article > span {
    padding: 0.4rem 0.7rem;
    border-radius: 999px;
    background: var(--soft);
    color: var(--teal);
    font-weight: 800;
}

.contact {
    padding-bottom: 6rem;
}

.contact-methods {
    display: grid;
    gap: 0.65rem;
    margin-top: 1.3rem;
    color: var(--navy);
    font-weight: 800;
}

.contact-methods a,
.site-footer a {
    color: var(--teal);
    font-weight: 900;
}

.contact-form {
    display: grid;
    gap: 1rem;
}

.contact-form label {
    display: grid;
    gap: 0.45rem;
    color: var(--muted);
    font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0.9rem 1rem;
    font: inherit;
    color: var(--ink);
    background: #fff;
}

.contact-form textarea {
    min-height: 130px;
    resize: vertical;
}

.form-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
}

.form-actions .btn {
    width: 100%;
    border: 0;
    cursor: pointer;
    font: inherit;
}

.form-actions .btn.ghost {
    border: 1px solid var(--line);
    color: var(--ink);
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.4rem clamp(1rem, 4vw, 4rem);
    color: var(--muted);
    border-top: 1px solid var(--line);
}

@media (max-width: 900px) {
    .site-header,
    .main-nav,
    .site-footer {
        flex-wrap: wrap;
    }

    .hero,
    .story-section,
    .contact {
        grid-template-columns: 1fr;
    }

    .story-grid,
    .service-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .post-card.featured {
        grid-column: auto;
    }
}

@media (max-width: 640px) {
    .main-nav {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 0.2rem;
    }

    .header-cta {
        width: 100%;
    }

    .header-actions {
        width: 100%;
    }

    .header-actions .header-cta {
        flex: 1;
    }

    .hero {
        min-height: auto;
        padding: 3rem 0;
    }

    h1 {
        font-size: 2.75rem;
    }

    .activity-list article {
        grid-template-columns: 1fr;
    }

    .form-actions {
        grid-template-columns: 1fr;
    }
}
