﻿:root {
    --bg: #f8f8f6;
    --bg-muted: #ffffff;
    --text: #222325;
    --text-muted: #4f5054;
    --accent: #387572;
    --accent-light: #e0f2f1;
    --border: #d8dadb;
    --shadow: 0 25px 50px -20px rgba(40, 60, 65, 0.12);
    --font-base: "Work Sans", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    --font-accent: "DM Serif Display", "Times New Roman", serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-base);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
}

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

a:hover,
a:focus {
    color: var(--accent);
}

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

.container {
    width: min(100%, 1100px);
    margin-inline: auto;
    padding: 0 1.5rem;
}

.section {
    padding: 4.5rem 0;
    background: var(--bg);
}

.section.light {
    background: var(--bg-muted);
}

.section-heading {
    max-width: 580px;
}

.section-heading h2 {
    margin-bottom: 0.75rem;
    font-family: var(--font-accent);
    font-size: clamp(2rem, 4vw, 2.8rem);
    letter-spacing: -0.01em;
}

.section-heading p {
    margin: 0;
    color: var(--text-muted);
    font-size: 1.05rem;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(248, 248, 246, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(216, 218, 219, 0.6);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 1rem;
    background: var(--accent);
    color: #fff;
    font-weight: 600;
}

.nav {
    position: relative;
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: none;
    flex-direction: column;
    gap: 1rem;
    background: rgba(248, 248, 246, 0.96);
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 13rem;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
}

.nav-links a {
    font-weight: 500;
}

.nav-toggle {
    border: none;
    background: transparent;
    padding: 0.35rem;
    display: inline-flex;
    flex-direction: column;
    gap: 0.35rem;
    cursor: pointer;
}

.nav-toggle-line {
    width: 1.5rem;
    height: 2px;
    background: var(--text);
    border-radius: 999px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav[data-open="true"] .nav-links {
    display: flex;
}

.nav[data-open="true"] .nav-toggle-line:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.nav[data-open="true"] .nav-toggle-line:nth-child(2) {
    opacity: 0;
}

.nav[data-open="true"] .nav-toggle-line:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.hero {
    padding-top: 6rem;
    padding-bottom: 4rem;
}

.hero-grid {
    display: grid;
    gap: 2.5rem;
}

.hero-media {
    display: grid;
    gap: 1.5rem;
    align-content: start;
}

.hero-portrait {
    margin: 0;
    border-radius: 1.75rem;
    overflow: hidden;
    background: #f1f3f2;
    box-shadow: var(--shadow);
    aspect-ratio: 3 / 4;
    max-width: min(100%, 360px);
}

.hero-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.35em;
    font-size: 0.75rem;
    color: var(--accent);
    margin: 0 0 1.5rem 0;
}

.hero-text h1 {
    font-family: var(--font-accent);
    font-size: clamp(2.5rem, 6vw, 3.6rem);
    line-height: 1.15;
    margin: 0 0 1.25rem 0;
}

.lead {
    font-size: 1.12rem;
    color: var(--text-muted);
}

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

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    border-radius: 999px;
    border: 1px solid var(--accent);
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button.primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 10px 24px -12px rgba(56, 117, 114, 0.6);
}

.button.primary:hover,
.button.primary:focus {
    transform: translateY(-1px);
    box-shadow: 0 14px 24px -10px rgba(56, 117, 114, 0.55);
}

.button.ghost {
    background: transparent;
    color: var(--accent);
}

.button.ghost:hover,
.button.ghost:focus {
    background: var(--accent-light);
}

.hero-card {
    background: var(--bg-muted);
    border-radius: 1.75rem;
    padding: 2.1rem;
    box-shadow: var(--shadow);
}

.hero-card h2 {
    font-family: var(--font-accent);
    margin-top: 0;
}

.signature {
    display: block;
    margin-top: 1.25rem;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.fact-grid,
.service-grid,
.audience-grid,
.image-grid {
    display: grid;
    gap: 1.5rem;
}

.fact-card,
.service-card,
.audience-card,
.quote-card,
.contact-card {
    background: var(--bg-muted);
    padding: 2rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(216, 218, 219, 0.6);
    box-shadow: var(--shadow);
}

.image-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.image-card {
    background: var(--bg-muted);
    border-radius: 1.5rem;
    border: 1px solid rgba(216, 218, 219, 0.6);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.image-card img {
    width: 100%;
    height: 100%;
    max-height: 220px;
    object-fit: cover;
}

.image-card figcaption {
    padding: 1.25rem 1.35rem 1.4rem;
    font-size: 0.92rem;
    color: var(--text-muted);
}

.fact-card h3,
.service-card h3,
.audience-card h3,
.contact-card h3 {
    margin-top: 0;
    font-size: 1.25rem;
}

.service-card ul {
    padding-left: 1rem;
    color: var(--text-muted);
}

.pill-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.pill-bar span {
    background: var(--accent-light);
    border-radius: 999px;
    padding: 0.6rem 1.2rem;
    font-weight: 500;
    color: var(--accent);
}

.accent {
    color: var(--accent);
    font-weight: 600;
}

.process-list {
    list-style: none;
    margin: 3rem 0 0;
    padding: 0;
    display: grid;
    gap: 1.5rem;
}

.process-list li {
    background: var(--bg-muted);
    border-radius: 1.5rem;
    padding: 1.75rem;
    border: 1px solid rgba(216, 218, 219, 0.7);
    box-shadow: var(--shadow);
}

.process-list h3 {
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
}

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

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

.contact-form label {
    font-weight: 600;
}

.contact-form input,
.contact-form textarea {
    padding: 0.85rem 1rem;
    border-radius: 0.85rem;
    border: 1px solid var(--border);
    font: inherit;
    background: #fdfdfc;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: 2px solid rgba(56, 117, 114, 0.25);
    border-color: var(--accent);
}

.form-hint {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.site-footer {
    padding: 2.5rem 0;
    border-top: 1px solid rgba(216, 218, 219, 0.6);
    background: var(--bg);
}

.footer-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

@media (min-width: 600px) {
    .hero {
        padding-top: 6.5rem;
    }

    .image-card img {
        max-height: 240px;
    }
}

@media (min-width: 720px) {
    .nav-links {
        position: static;
        display: flex !important;
        flex-direction: row;
        gap: 2rem;
        padding: 0;
        box-shadow: none;
        background: transparent;
    }

    .nav-toggle {
        display: none;
    }

    .hero-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: center;
    }

    .hero-media {
        align-items: start;
    }

    .section-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
    }

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

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

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

    .image-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

@media (min-width: 960px) {
    .hero {
        padding-top: 7rem;
        padding-bottom: 5rem;
    }

    .hero-card {
        margin-left: auto;
        max-width: 420px;
    }

    .image-card img {
        max-height: 260px;
    }

    .service-card ul {
        font-size: 0.98rem;
    }

    .process-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
