/* home.css
   Styles for the index page only. Everything is scoped under body.home so the
   shared banner, footer, and article pages keep their existing styles. */


/* Palette and base type */

body.home {
    --navy: #16324f;
    --teal: #1f7a8c;
    --teal-dark: #155e6c;
    --ink: #1f2933;
    --muted: #52606d;
    --line: #e4e7eb;
    --tint: #f5f8fa;

    font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--ink);
    background: #fff;
    line-height: 1.65;
}

.home h1,
.home h2,
.home h3 {
    color: var(--navy);
    line-height: 1.25;
    margin-top: 0;
}

.home h2 {
    font-size: 1.9rem;
    margin-bottom: 0.5rem;
}

.home h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

/* Centered content column used by every section */
.home .wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}


/* Header overrides for the shared banner */

.home header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 0;
    padding: 14px max(24px, calc((100% - 1100px) / 2 + 24px));
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 10;
}

.home .logo_img {
    width: auto;
    height: 44px;
    padding: 0;
}

.home header nav {
    float: none;
    margin: 0;
}

.home header ul {
    display: flex;
    gap: 28px;
    margin: 0;
}

.home header li {
    padding: 0;
}

.home header a,
.home header a:hover {
    text-transform: none;
    font-size: 0.95rem;
    font-weight: 500;
}

.home header a {
    color: var(--ink);
}

.home header a:hover {
    color: var(--teal);
}

/* Hamburger toggle is hidden on wide screens */
.home .menu-toggle {
    display: none;
    cursor: pointer;
}

.home .menu-toggle div {
    width: 24px;
    height: 2px;
    background: var(--navy);
    margin: 5px 0;
}


/* Sections */

.home section {
    border-bottom: none;
    padding: 0;
}

.home .band {
    padding: 72px 0;
}

.home .band-alt {
    background: var(--tint);
}

.home .section-intro {
    color: var(--muted);
    margin: 0 0 32px;
    font-size: 1.05rem;
}


/* Hero */

.home .hero {
    padding: 96px 0 88px;
    background: linear-gradient(180deg, var(--tint) 0%, #fff 100%);
}

.home .eyebrow {
    color: var(--teal);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0 0 16px;
}

.home .hero h1 {
    font-size: clamp(2rem, 4.5vw, 3rem);
    max-width: 18ch;
    margin-bottom: 20px;
}

.home .lede {
    font-size: 1.2rem;
    color: var(--muted);
    max-width: 60ch;
    margin: 0 0 32px;
}

.home .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}


/* Buttons */

.home .btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: 2px solid var(--teal);
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.home .btn-primary {
    background: var(--teal);
    color: #fff;
}

.home .btn-primary:hover {
    background: var(--teal-dark);
    border-color: var(--teal-dark);
}

.home .btn-secondary {
    background: transparent;
    color: var(--teal);
}

.home .btn-secondary:hover {
    background: var(--teal);
    color: #fff;
}


/* Cards (services and insights) */

.home .card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.home .card {
    background: #fff;
    border: 1px solid var(--line);
    border-top: 3px solid var(--teal);
    border-radius: 8px;
    padding: 28px 24px;
}

.home .card p {
    color: var(--muted);
    margin: 0;
}

.home .card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.home .card-link:hover {
    box-shadow: 0 6px 20px rgba(22, 50, 79, 0.08);
    transform: translateY(-2px);
}

.home .card-date {
    display: block;
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 8px;
}


/* Industries */

.home .pill-list {
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.home .pill-list li {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 8px 20px;
    color: var(--navy);
    font-weight: 500;
}


/* About */

.home .about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 48px;
    align-items: start;
}

.home .credentials {
    background: var(--tint);
    border-radius: 8px;
    padding: 28px;
}

.home .credentials ul {
    margin: 0;
    padding-left: 20px;
    color: var(--muted);
}

.home .credentials li + li {
    margin-top: 8px;
}


/* Contact */

.home .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.home .contact-grid p {
    color: var(--muted);
}

.home .contact-form label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--navy);
    margin: 0 0 6px;
}

.home .contact-form input,
.home .contact-form textarea {
    font: inherit;
    border: 1px solid #cbd2d9;
    border-radius: 6px;
    margin-bottom: 18px;
}

.home .contact-form input:focus,
.home .contact-form textarea:focus {
    outline: 2px solid var(--teal);
    outline-offset: 1px;
    border-color: var(--teal);
}

.home .contact-form button {
    align-self: flex-start;
}


/* Footer */

.home footer {
    background: var(--navy);
    margin-top: 0;
    padding: 24px 0;
    font-size: 0.9rem;
}

.home footer p {
    margin: 0;
}


/* Small screens */

@media (max-width: 800px) {
    .home .band {
        padding: 56px 0;
    }

    .home .hero {
        padding: 64px 0 56px;
    }

    .home .about-grid,
    .home .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .home header {
        flex-wrap: wrap;
    }

    .home .menu-toggle {
        display: block;
    }

    .home header nav {
        width: 100%;
    }

    .home header ul {
        display: none;
        flex-direction: column;
        gap: 0;
        padding-top: 8px;
    }

    .home header ul.active {
        display: flex;
    }

    .home header li a {
        display: block;
        padding: 10px 0;
    }
}
