:root {
    --color-navy: #1a2744;
    --color-navy-light: #2a3d66;
    --color-slate: #3d5a80;
    --color-blue: #2189c1;
    --color-teal: #2dbf90;
    --color-teal-dark: #1a9e78;
    --color-accent: #2dbf90;
    --color-accent-light: #3dd4a2;
    --color-cream: #f5f8f7;
    --color-white: #ffffff;
    --color-text: #2c2c2c;
    --color-text-light: #6b6b6b;
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'DM Sans', system-ui, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

/* ========== SKIP LINK ========== */
.skip-link {
    position: absolute;
    top: -100%;
    left: 0;
    background: var(--color-navy);
    color: var(--color-white);
    padding: 0.75rem 1.5rem;
    z-index: 10000;
    font-size: 0.875rem;
    text-decoration: none;
}

.skip-link:focus {
    top: 0;
}

/* ========== NAV ========== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(26,39,68,0.06);
    transition: box-shadow 0.3s ease;
}

.nav.scrolled {
    box-shadow: 0 2px 40px rgba(26,39,68,0.08);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: var(--color-navy);
}

.nav-logo img {
    height: 44px;
    width: 44px;
    object-fit: contain;
}

.nav-logo-text {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.2;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--color-text);
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--color-accent);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--color-navy);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--color-navy);
    font-weight: 500;
}

.nav-links a.active::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-navy);
    margin: 5px 0;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Hamburger to X animation */
.mobile-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ========== HERO ========== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--color-cream);
}

.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(33,137,193,0.07) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 40vw;
    height: 40vw;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(45,191,144,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 8rem 2rem 6rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    animation: fadeUp 1s ease 0.2s both;
}

.hero-tagline {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    font-weight: 500;
    line-height: 1.15;
    color: var(--color-navy);
    margin-bottom: 1.5rem;
}

.hero-title em {
    font-style: italic;
    color: var(--color-slate);
}

.hero-desc {
    font-size: 1.05rem;
    color: var(--color-text-light);
    max-width: 520px;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--color-white);
    background: var(--color-navy);
    padding: 1rem 2.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.hero-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-blue), var(--color-teal));
    transition: left 0.4s ease;
    z-index: 0;
}

.hero-cta:hover::before {
    left: 0;
}

.hero-cta span {
    position: relative;
    z-index: 1;
}

.hero-cta svg {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.hero-cta:hover svg {
    transform: translateX(4px);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeUp 1s ease 0.5s both;
}

.hero-visual img {
    max-width: 380px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 60px rgba(26,39,68,0.12));
}

/* ========== SECTIONS ========== */
.section {
    padding: 7rem 2rem;
}

.section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.section-label {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 500;
    color: var(--color-navy);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--color-text-light);
    max-width: 640px;
    line-height: 1.8;
}

/* ========== APPROACH ========== */
#approach {
    background: var(--color-white);
}

.approach-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 4rem;
    align-items: start;
}

.approach-text {
    font-size: 1.05rem;
    color: var(--color-text-light);
    line-height: 1.9;
}

.approach-text p + p {
    margin-top: 1.5rem;
}

.approach-pillars {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.pillar {
    padding: 2rem;
    background: var(--color-cream);
    position: relative;
    transition: transform 0.3s ease;
}

.pillar:hover {
    transform: translateX(8px);
}

.pillar::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--color-accent);
}

.pillar-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: 0.5rem;
}

.pillar-desc {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* ========== SERVICES ========== */
#services {
    background: var(--color-navy);
    color: var(--color-white);
}

#services .section-label {
    color: var(--color-accent-light);
}

#services .section-title {
    color: var(--color-white);
}

#services .section-desc {
    color: rgba(255,255,255,0.7);
}

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

.service-category {
    margin-top: 3.5rem;
    padding: 2.5rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
}

.service-category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.service-category-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-white);
}

.service-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.service-item {
    padding: 1.25rem;
    background: rgba(255,255,255,0.03);
    border-left: 2px solid var(--color-accent);
    transition: all 0.3s ease;
}

.service-item:hover {
    background: rgba(255,255,255,0.06);
    transform: translateX(4px);
}

.service-item-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 0.4rem;
}

.service-item-desc {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
}

.service-icon {
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
    display: block;
    color: var(--color-accent-light);
}

.service-title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.service-desc {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
}

/* ========== EXPERIENCE ========== */
#experience {
    background: var(--color-cream);
}

.experience-content {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 4rem;
    margin-top: 4rem;
}

.experience-content--single {
    grid-template-columns: 1fr;
    max-width: 780px;
}

.credentials {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 2rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(26,39,68,0.08);
}

.credential {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--color-text);
    letter-spacing: 0.01em;
}

.credential svg {
    color: var(--color-accent);
    flex-shrink: 0;
}

.experience-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.experience-name {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-navy);
    line-height: 1.2;
}

.experience-role {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
    margin-top: 0.25rem;
}

.experience-text p {
    font-size: 1.05rem;
    color: var(--color-text-light);
    line-height: 1.9;
}

.experience-text p + p {
    margin-top: 1.25rem;
}

/* ========== CONTACT ========== */
#contact {
    background: var(--color-white);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info p {
    font-size: 1.1rem;
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-top: 1px solid rgba(26,39,68,0.06);
    font-size: 0.95rem;
    color: var(--color-text);
}

.contact-detail svg {
    color: var(--color-accent);
    flex-shrink: 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

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

.form-group label {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-text-light);
}

.form-group input,
.form-group textarea {
    padding: 0.9rem 1rem;
    border: 1px solid rgba(26,39,68,0.12);
    background: var(--color-cream);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-text);
    transition: border-color 0.3s ease;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-accent);
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: var(--color-navy);
    color: var(--color-white);
    border: none;
    padding: 1rem 2.5rem;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.4s ease;
    align-self: flex-start;
}

.form-submit:hover {
    background: linear-gradient(135deg, var(--color-blue), var(--color-teal));
}

/* Honeypot field — visually hidden from users */
.hp-field {
    position: absolute;
    left: -9999px;
    top: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    overflow: hidden;
    pointer-events: none;
    tab-index: -1;
}

/* ========== FOOTER ========== */
.footer {
    background: var(--color-navy);
    color: rgba(255,255,255,0.75);
    padding: 3rem 2rem;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-brand {
    font-family: var(--font-display);
    font-size: 1rem;
    color: rgba(255,255,255,0.7);
}

.footer-copy {
    font-size: 0.8rem;
}

.footer-nav {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    margin-top: 0.75rem;
}

.footer-nav a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--color-accent-light);
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.footer-social a {
    color: rgba(255,255,255,0.6);
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: var(--color-accent-light);
}

/* ========== DIVIDER ========== */
.section-divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-blue), var(--color-teal));
    margin: 1rem 0 2rem;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-visual {
        order: -1;
    }

    .hero-visual img {
        max-width: 260px;
    }

    .approach-grid,
    .experience-content,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .services-grid,
    .service-items {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--color-white);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid rgba(26,39,68,0.06);
        box-shadow: 0 10px 40px rgba(26,39,68,0.08);
    }

    .nav-links.open {
        display: flex;
    }

    .mobile-toggle {
        display: flex;
    }

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

    .footer-inner {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-right {
        align-items: center;
    }

    .footer-nav {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .section {
        padding: 4rem 1.5rem;
    }
}
