:root {
    --brand-midnight: #1f2a2b;
    --brand-abyss: #273a3a;
    --brand-emerald: #2f6b4f;
    --brand-gold: #c9983a;
    --brand-ivory: #f3efe6;
    --brand-cloud: #e7ede7;
    --brand-sand: #e8dbc2;
    --text-body: #1d2a2c;
    --text-muted: rgba(29, 42, 44, 0.72);
    --shadow-soft: 0 22px 45px rgba(31, 42, 43, 0.18);
    --shadow-strong: 0 32px 60px rgba(31, 42, 43, 0.28);
    --transition: 200ms ease;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-body);
    background: radial-gradient(circle at 18% 12%, rgba(47, 107, 79, 0.12) 0%, transparent 45%),
        radial-gradient(circle at 82% 10%, rgba(201, 152, 58, 0.14) 0%, transparent 48%),
        linear-gradient(165deg, rgba(243, 239, 230, 0.96) 0%, rgba(231, 237, 231, 0.88) 50%, rgba(243, 239, 230, 0.96) 100%);
    background-attachment: fixed;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Merriweather', 'Times New Roman', serif;
    color: var(--brand-midnight);
    margin-top: 0;
}

p {
    margin: 0 0 1rem;
}

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

a:hover,
a:focus {
    text-decoration: underline;
}

.container {
    width: min(1120px, 92vw);
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(31, 42, 43, 0.9);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(201, 152, 58, 0.28);
    color: #f2f6f9;
    transition: background-color var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
    box-shadow: var(--shadow-soft);
    background: rgba(31, 42, 43, 0.96);
}

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

.branding {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.brand-logo {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 0.85rem;
    padding: 0.35rem;
    background: rgba(240, 245, 248, 0.12);
    box-shadow: 0 18px 30px rgba(5, 13, 22, 0.35);
}

.brand-text h1 {
    font-size: 1.45rem;
    color: #f2f6f9;
}

.brand-text p {
    margin: 0.2rem 0 0;
    color: rgba(242, 246, 249, 0.72);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 0.78rem;
}

.nav-toggle {
    display: none;
    align-items: center;
    gap: 0.65rem;
    border: 1px solid rgba(201, 152, 58, 0.35);
    background: rgba(31, 42, 43, 0.92);
    color: #f7f9fb;
    padding: 0.65rem 1rem;
    border-radius: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color var(--transition), border-color var(--transition), color var(--transition);
}

.nav-toggle-label {
    font-size: 0.75rem;
}

.nav-toggle-icon {
    position: relative;
    width: 1.2rem;
    height: 1px;
    background: currentColor;
    display: inline-flex;
    transition: transform var(--transition), background var(--transition);
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background: currentColor;
    transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle-icon::before {
    transform: translateY(-6px);
}

.nav-toggle-icon::after {
    transform: translateY(6px);
}

.nav-toggle[aria-expanded='true'] {
    background: var(--brand-gold);
    color: var(--brand-midnight);
    border-color: transparent;
}

.nav-toggle[aria-expanded='true'] .nav-toggle-icon {
    background: transparent;
}

.nav-toggle[aria-expanded='true'] .nav-toggle-icon::before {
    transform: rotate(45deg);
}

.nav-toggle[aria-expanded='true'] .nav-toggle-icon::after {
    transform: rotate(-45deg);
}

.primary-nav {
    margin-left: auto;
    margin-right: 1rem;
}

.primary-nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    font-weight: 500;
}

.primary-nav a {
    position: relative;
    color: rgba(242, 246, 249, 0.9);
    padding-bottom: 0.25rem;
}

.primary-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(120deg, var(--brand-gold), rgba(201, 152, 58, 0.4));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition);
}

.primary-nav a:hover::after,
.primary-nav a:focus::after {
    transform: scaleX(1);
    transform-origin: left;
}

.cta-button,
.ghost-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.78rem 1.6rem;
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: 0.04em;
    transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition), color var(--transition);
}

.cta-button {
    background: linear-gradient(120deg, var(--brand-gold), #f6d88c);
    color: var(--brand-midnight);
    box-shadow: var(--shadow-soft);
}

.cta-button:hover,
.cta-button:focus {
    transform: translateY(-2px);
}

.ghost-button {
    border: 2px solid rgba(201, 152, 58, 0.72);
    color: rgba(201, 152, 58, 0.95);
}

.ghost-button:hover,
.ghost-button:focus {
    background: rgba(201, 152, 58, 0.14);
    color: var(--brand-midnight);
}

main {
    overflow: hidden;
}

.hero {
    position: relative;
    padding: 8rem 0 6rem;
    overflow: hidden;
    color: var(--brand-midnight);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(31, 42, 43, 0.92) 0%, rgba(47, 107, 79, 0.85) 58%, rgba(201, 152, 58, 0.62) 100%);
    clip-path: ellipse(120% 100% at 15% 0%);
    z-index: -2;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../img/logo.png');
    background-repeat: no-repeat;
    background-position: right -6rem top -5rem;
    background-size: 26rem;
    opacity: 0.12;
    filter: grayscale(100%) contrast(120%);
    z-index: -1;
}

.hero-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    align-items: center;
    color: #f2f6f9;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.28em;
    color: rgba(201, 152, 58, 0.88);
    font-size: 0.82rem;
    margin-bottom: 1rem;
}

.hero h2 {
    color: #f7f9fb;
    font-size: clamp(2.6rem, 4vw, 3.6rem);
    margin-bottom: 1rem;
}

.hero-copy {
    font-size: 1.05rem;
    line-height: 1.75;
    color: rgba(242, 246, 249, 0.86);
    margin-bottom: 2.25rem;
}

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

.hero-card {
    position: relative;
    background: rgba(243, 239, 230, 0.18);
    border-radius: 1.6rem;
    padding: 2.4rem;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid rgba(201, 152, 58, 0.28);
    box-shadow: var(--shadow-strong);
}

.hero-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(201, 152, 58, 0.12));
    border-radius: inherit;
    z-index: 0;
}

.hero-card .card-title,
.hero-card .card-copy {
    position: relative;
    z-index: 1;
    color: #f7f9fb;
}

.hero-card .card-title {
    font-size: 1.45rem;
}

.hero-card .card-copy {
    line-height: 1.7;
    color: rgba(242, 246, 249, 0.82);
}

.mission {
    padding: 5rem 0;
    background: var(--brand-ivory);
}

.mission h2 {
    font-size: 2.3rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.mission-copy {
    font-size: 1.1rem;
    line-height: 1.9;
    text-align: center;
    max-width: 860px;
    margin: 0 auto;
    color: var(--text-muted);
}

.offerings {
    padding: 5rem 0;
    background: linear-gradient(140deg, rgba(39, 58, 58, 0.08) 0%, rgba(243, 239, 230, 0.92) 100%);
}

.offerings h2 {
    font-size: 2.3rem;
    text-align: center;
    margin-bottom: 0.85rem;
}

.network {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(243, 239, 230, 0.96), rgba(231, 237, 231, 0.82));
}

.network-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    align-items: start;
}

.network-copy {
    color: var(--text-muted);
    line-height: 1.8;
}

.network-highlights {
    list-style: none;
    margin: 0;
    padding: 2.2rem;
    display: grid;
    gap: 1.35rem;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 1.4rem;
    border: 1px solid rgba(31, 42, 43, 0.12);
    box-shadow: var(--shadow-soft);
}

.network-highlights li {
    line-height: 1.7;
    color: var(--text-body);
}

.network-highlights strong {
    color: var(--brand-emerald);
    font-family: 'Merriweather', serif;
}

.collaboration {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(231, 237, 231, 0.9), rgba(232, 219, 194, 0.85));
}

.collaboration-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    align-items: start;
}

.collaboration-copy {
    color: var(--text-muted);
    line-height: 1.8;
    max-width: 640px;
}

.collaboration-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 1.4rem;
    padding: 2.4rem;
    border: 1px solid rgba(31, 42, 43, 0.12);
    box-shadow: var(--shadow-soft);
}

.collaboration-card h3 {
    margin-top: 0;
    margin-bottom: 1.25rem;
}

.collaboration-card ul {
    margin: 0 0 1.5rem;
    padding-left: 1.2rem;
    line-height: 1.7;
    color: var(--text-body);
}

.collaboration-cta {
    margin: 0;
    color: var(--text-muted);
    font-weight: 600;
}

.section-lede {
    text-align: center;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.75;
}

.offering-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.25rem;
}

.offering-card {
    background: rgba(255, 255, 255, 0.92);
    border-radius: 1.35rem;
    padding: 2.25rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(31, 42, 43, 0.1);
}

.offering-card h3 {
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
}

.offering-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

.offering-card ul {
    margin: 1.5rem 0 0;
    padding-left: 1.2rem;
    line-height: 1.7;
    color: var(--text-body);
}

.values {
    padding: 5rem 0;
    background: var(--brand-cloud);
}

.values-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 3rem;
}

.values h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.value-card {
    background: #ffffff;
    padding: 2.1rem;
    border-radius: 1.35rem;
    border: 1px solid rgba(31, 42, 43, 0.12);
    box-shadow: var(--shadow-soft);
}

.value-card p {
    color: var(--text-muted);
    line-height: 1.75;
}

.process {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(31, 92, 77, 0.12), rgba(244, 241, 234, 0.94));
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    align-items: start;
}

.process ol {
    padding-left: 1.2rem;
    line-height: 1.8;
    color: var(--text-muted);
}

.process-card {
    background: rgba(255, 255, 255, 0.94);
    border-radius: 1.35rem;
    padding: 2.4rem;
    border: 1px solid rgba(31, 42, 43, 0.12);
    box-shadow: var(--shadow-soft);
}

.process-card ul {
    margin: 1.5rem 0 0;
    padding-left: 1.2rem;
    line-height: 1.7;
    color: var(--text-body);
}

.cta {
    padding: 4.5rem 0;
    background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.85), rgba(243, 239, 230, 0.85)),
        linear-gradient(135deg, rgba(31, 42, 43, 0.92), rgba(47, 107, 79, 0.84));
    color: #f2f6f9;
}

.cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}

.cta h2 {
    font-size: 2.2rem;
    color: #f7f9fb;
}

.cta p {
    max-width: 620px;
    line-height: 1.8;
    color: rgba(242, 246, 249, 0.88);
}

.cta .cta-button {
    background: #f7f9fb;
    color: var(--brand-midnight);
    box-shadow: none;
}

.cta .cta-button:hover,
.cta .cta-button:focus {
    box-shadow: var(--shadow-soft);
}

.service-area {
    padding: 5rem 0;
    background: linear-gradient(125deg, rgba(244, 241, 234, 0.95), rgba(230, 237, 233, 0.9));
}

.service-area-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    align-items: start;
}

.service-area h2 {
    font-size: clamp(2rem, 3vw, 2.6rem);
    margin-bottom: 1rem;
}

.service-area-copy {
    margin: 0;
    line-height: 1.8;
    color: var(--text-muted);
}

.service-area-list {
    list-style: none;
    margin: 0;
    padding: 2.1rem;
    display: grid;
    gap: 1.35rem;
    background: #ffffff;
    border-radius: 1.4rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(31, 42, 43, 0.1);
}

.service-area-list li {
    font-weight: 500;
    line-height: 1.6;
}

.service-area-list strong {
    color: var(--brand-emerald);
    font-family: 'Merriweather', serif;
}

.contact {
    padding: 5rem 0 6rem;
    background: linear-gradient(180deg, rgba(244, 241, 234, 0.98) 0%, rgba(230, 237, 233, 0.92) 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.6rem;
    align-items: start;
}

.contact h2 {
    font-size: 2.1rem;
}

.contact-details p {
    margin-bottom: 0.75rem;
    color: var(--text-body);
}

.contact-form {
    background: #ffffff;
    padding: 2.25rem;
    border-radius: 1.4rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(31, 42, 43, 0.1);
    display: grid;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

label {
    font-weight: 600;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: 0.85rem;
    border: 1px solid rgba(47, 107, 79, 0.2);
    font: inherit;
    background: rgba(230, 237, 233, 0.45);
    transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: rgba(201, 152, 58, 0.72);
    box-shadow: 0 0 0 3px rgba(201, 152, 58, 0.25);
    background: #ffffff;
    outline: none;
}

.form-footnote {
    margin: 0;
    font-size: 0.86rem;
    color: var(--text-muted);
}

.contact-form button[disabled] {
    opacity: 0.7;
    cursor: not-allowed;
}

.form-status {
    min-height: 1.2rem;
    font-size: 0.92rem;
    color: var(--text-muted);
    margin: -0.2rem 0 0;
}

.form-status.is-success {
    color: #2f7a39;
}

.form-status.is-error {
    color: #b43a2f;
}

.site-footer {
    background: linear-gradient(135deg, rgba(31, 42, 43, 0.96), rgba(39, 58, 58, 0.9));
    color: rgba(242, 246, 249, 0.9);
    padding: 2.75rem 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
    align-items: center;
    text-align: center;
}

.footer-branding {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-logo {
    width: 3rem;
    height: 3rem;
    border-radius: 0.8rem;
    padding: 0.3rem;
    background: rgba(240, 245, 248, 0.12);
    box-shadow: 0 16px 28px rgba(5, 13, 22, 0.35);
}

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

.footer-links a {
    color: rgba(242, 246, 249, 0.82);
    font-weight: 500;
}

.footer-links a:hover,
.footer-links a:focus {
    color: var(--brand-gold);
}

.footer-brand {
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

@media (min-width: 900px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

@media (min-width: 769px) {
    .primary-nav {
        position: static;
        padding: 0;
        border: none;
        box-shadow: none;
        background: transparent;
        display: block;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: inline-flex;
    }

    .primary-nav {
        position: absolute;
        inset: calc(100% + 0.75rem) 0 auto;
        background: rgba(31, 42, 43, 0.96);
        border: 1px solid rgba(201, 152, 58, 0.28);
        border-radius: 1rem;
        padding: 1.3rem;
        box-shadow: var(--shadow-soft);
        display: none;
        z-index: 200;
    }

    .primary-nav ul {
        flex-direction: column;
        gap: 1rem;
    }

    .primary-nav.is-open {
        display: block;
    }

    .header-content {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
        gap: 1.2rem;
    }

    .header-content .cta-button {
        order: 4;
        width: 100%;
    }

    .hero {
        padding-top: 5.5rem;
    }

    .hero::after {
        background-position: right -4rem top -4rem;
        background-size: 18rem;
    }

    .footer-branding {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .cta-button,
    .ghost-button {
        width: 100%;
    }

    .hero-card {
        padding: 2rem;
    }
}
