:root {
    --home-navy: #071f33;
    --home-navy-2: #0c304c;
    --home-orange: #f57900;
    --home-orange-light: #ff9a38;
    --home-ink: #112b40;
    --home-muted: #5d7182;
    --home-soft: #f3f7fa;
    --home-line: #dce6ed;
}

.home-page {
    background: #fff;
    color: var(--home-ink);
}

.skip-link {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 2000;
    transform: translateY(-150%);
    padding: 10px 15px;
    border-radius: 6px;
    background: #fff;
    color: var(--home-navy);
    font-weight: 700;
}

.skip-link:focus { transform: translateY(0); }

.home-page a:focus-visible,
.home-page button:focus-visible {
    outline: 3px solid #ffb66f;
    outline-offset: 3px;
}

.home-hero {
    position: relative;
    overflow: hidden;
    padding: 150px 0 94px;
    color: #fff;
    background:
        radial-gradient(circle at 86% 18%, rgba(245, 121, 0, .18), transparent 28%),
        radial-gradient(circle at 8% 92%, rgba(49, 127, 177, .2), transparent 28%),
        linear-gradient(135deg, var(--home-navy), #0b2a43 58%, #0e3655);
}

.home-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .16;
    background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px);
    background-size: 68px 68px;
    mask-image: linear-gradient(to left, #000, transparent 70%);
}

.home-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(350px, .88fr);
    gap: clamp(50px, 7vw, 92px);
    align-items: center;
}

.home-eyebrow,
.home-kicker {
    display: block;
    margin-bottom: 17px;
    color: var(--home-orange);
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .11em;
    line-height: 1.5;
    text-transform: uppercase;
}

.home-eyebrow {
    color: #ffad5d;
}

.home-hero h1 {
    max-width: 760px;
    margin: 0 0 20px;
    font-size: clamp(2.6rem, 5.4vw, 5rem);
    letter-spacing: -.045em;
    line-height: 1.02;
}

.home-role {
    margin: 0 0 14px;
    color: #ffad5d;
    font-family: Poppins, sans-serif;
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    font-weight: 600;
}

.home-lead {
    max-width: 730px;
    margin: 0;
    color: #c9d8e3;
    font-size: 1.08rem;
    line-height: 1.78;
}

.home-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    align-items: center;
    margin-top: 32px;
}

.home-text-link,
.home-arrow-link {
    color: inherit;
    font-weight: 700;
    text-decoration: none;
}

.home-text-link span,
.home-arrow-link span,
.service-summary-card a span,
.work-card-body a span,
.insight-card a span {
    display: inline-block;
    margin-left: 4px;
    transition: transform .2s ease;
}

.home-text-link:hover span,
.home-arrow-link:hover span,
.service-summary-card a:hover span,
.work-card-body a:hover span,
.insight-card a:hover span { transform: translateX(4px); }

.home-trust-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    margin: 31px 0 0;
    padding: 0;
    list-style: none;
    color: #dce7ee;
    font-size: .9rem;
}

.home-trust-list li::before {
    content: '✓';
    margin-right: 8px;
    color: #ffad5d;
    font-weight: 800;
}

.solution-map {
    padding: 30px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 18px;
    background: rgba(255,255,255,.075);
    box-shadow: 0 30px 80px rgba(0,0,0,.18);
    backdrop-filter: blur(14px);
}

.solution-map-heading {
    display: flex;
    justify-content: space-between;
    gap: 22px;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(255,255,255,.15);
}

.solution-map-heading span { color: #afc3d1; font-size: .86rem; }
.solution-map-heading strong { color: #ffad5d; text-align: right; }
.solution-map ol { display: grid; gap: 8px; margin: 22px 0; padding: 0; list-style: none; }
.solution-map li { display: flex; gap: 16px; align-items: center; padding: 12px 0; }
.solution-map li > span { display: grid; width: 38px; height: 38px; place-items: center; flex: 0 0 38px; border-radius: 9px; background: rgba(255,255,255,.1); color: #ffad5d; font-size: .78rem; font-weight: 700; }
.solution-map li div { display: grid; gap: 2px; }
.solution-map li small { color: #afc3d1; }
.solution-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.solution-tags span { padding: 7px 11px; border: 1px solid rgba(255,255,255,.15); border-radius: 99px; color: #e5eef4; font-size: .78rem; }

.home-intro { padding: 70px 0; border-bottom: 1px solid var(--home-line); }
.home-intro-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 80px; align-items: end; }
.home-intro h2 { max-width: 650px; margin: 0; color: var(--home-navy); font-size: clamp(2rem, 4vw, 3.3rem); letter-spacing: -.035em; }
.home-intro p { margin: 0 0 19px; color: var(--home-muted); font-size: 1.08rem; line-height: 1.75; }
.home-arrow-link { color: var(--home-orange); }

.home-section { padding: 94px 0; }
.home-section-heading { display: grid; grid-template-columns: 1.15fr .85fr; gap: 70px; align-items: end; margin-bottom: 44px; }
.home-section-heading h2,
.home-skills-copy h2,
.home-contact h2 { margin: 0; color: var(--home-navy); font-size: clamp(2rem, 4vw, 3.25rem); letter-spacing: -.035em; }
.home-section-heading p { max-width: 530px; margin: 0; color: var(--home-muted); font-size: 1.02rem; line-height: 1.75; }

.home-services { background: var(--home-soft); }
.service-summary-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--home-line); border-left: 1px solid var(--home-line); }
.service-summary-card { min-height: 315px; padding: 32px; border-right: 1px solid var(--home-line); border-bottom: 1px solid var(--home-line); background: #fff; transition: transform .2s ease, box-shadow .2s ease; }
.service-summary-card:hover { position: relative; z-index: 1; transform: translateY(-4px); box-shadow: 0 18px 45px rgba(7,31,51,.09); }
.service-number { color: var(--home-orange); font-family: Poppins, sans-serif; font-size: .78rem; font-weight: 700; }
.service-summary-card h3 { margin: 42px 0 13px; color: var(--home-navy); font-size: 1.3rem; line-height: 1.35; }
.service-summary-card p { margin: 0 0 24px; color: var(--home-muted); line-height: 1.7; }
.service-summary-card a,
.work-card-body a,
.insight-card a { color: var(--home-orange); font-weight: 700; text-decoration: none; }
.home-all-link { display: inline-block; margin-top: 30px; color: var(--home-navy); font-weight: 700; text-underline-offset: 5px; }

.home-skills-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(55px, 8vw, 105px); align-items: start; }
.home-skills-copy { position: sticky; top: 120px; }
.home-skills-copy p { margin: 22px 0; color: var(--home-muted); line-height: 1.8; }
.product-capabilities { display: flex; flex-wrap: wrap; gap: 9px; margin: 0 0 26px; }
.product-capabilities span { padding: 8px 11px; border-radius: 5px; background: #fff4e8; color: #8b4500; font-size: .82rem; font-weight: 700; }
.skill-groups { border-top: 1px solid var(--home-line); }
.skill-group { display: grid; grid-template-columns: 180px 1fr; gap: 28px; padding: 25px 0; border-bottom: 1px solid var(--home-line); }
.skill-group h3 { margin: 4px 0 0; color: var(--home-navy); font-size: 1rem; }
.skill-group ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.skill-group li { padding: 7px 10px; border: 1px solid var(--home-line); border-radius: 5px; color: #415a6d; font-size: .85rem; }

.home-work { background: var(--home-soft); }
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px; }
.work-card { overflow: hidden; border: 1px solid var(--home-line); border-radius: 14px; background: #fff; }
.work-card-featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.15fr .85fr; }
.work-image { display: block; overflow: hidden; background: #dce6ed; }
.work-image img { display: block; width: 100%; height: 250px; object-fit: cover; transition: transform .35s ease; }
.work-card-featured .work-image img { height: 100%; min-height: 370px; }
.work-card:hover .work-image img { transform: scale(1.025); }
.work-card-body { padding: 30px; }
.work-card-body > span,
.insight-card > span { color: var(--home-orange); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.work-card-body h3 { margin: 13px 0 11px; color: var(--home-navy); font-size: 1.35rem; }
.work-card-body p { display: -webkit-box; overflow: hidden; margin: 0 0 21px; color: var(--home-muted); line-height: 1.7; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.work-card-featured .work-card-body { display: flex; flex-direction: column; justify-content: center; padding: 45px; }
.work-card-featured .work-card-body h3 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.home-empty { padding: 35px; border: 1px solid var(--home-line); border-radius: 12px; background: #fff; color: var(--home-muted); }

.home-proof { color: #fff; background: var(--home-navy); }
.home-section-heading-light h2 { color: #fff; }
.home-section-heading-light p { color: #b9cbd7; }
.proof-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.proof-card { display: flex; min-height: 300px; flex-direction: column; margin: 0; padding: 28px; border: 1px solid rgba(255,255,255,.14); border-radius: 12px; background: rgba(255,255,255,.055); }
.proof-stars { color: #ffad5d; letter-spacing: .08em; }
.proof-card blockquote { flex: 1; margin: 25px 0 32px; color: #e3edf3; font-size: 1.02rem; line-height: 1.75; }
.proof-card figcaption { display: grid; gap: 3px; }
.proof-card figcaption span { color: #9fb5c4; font-size: .82rem; }
.testimonial-carousel { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: center; margin-top: 40px; }
.testimonial-carousel-track { display: grid; grid-auto-columns: minmax(290px, 52%); grid-auto-flow: column; gap: 16px; overflow-x: auto; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.testimonial-proof { display: block; overflow: hidden; border-radius: 10px; background: #fff; scroll-snap-align: start; }
.testimonial-proof img { display: block; width: 100%; height: 310px; object-fit: contain; }
.testimonial-carousel-btn { display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; background: transparent; color: #fff; cursor: pointer; font-size: 1.1rem; }
.testimonial-carousel-btn:hover { border-color: var(--home-orange-light); color: var(--home-orange-light); }
.home-all-link-light { color: #fff; }

.insights-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.insight-card { padding: 29px; border: 1px solid var(--home-line); border-radius: 12px; }
.insight-card h3 { margin: 16px 0 12px; color: var(--home-navy); font-size: 1.25rem; }
.insight-card p { display: -webkit-box; overflow: hidden; margin: 0 0 22px; color: var(--home-muted); line-height: 1.7; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }

.home-contact { padding: 90px 0; background: #fff4e8; }
.home-contact-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 80px; align-items: center; }
.home-contact p { max-width: 650px; margin: 20px 0 28px; color: var(--home-muted); font-size: 1.05rem; line-height: 1.75; }
.home-connect { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.home-connect a { display: grid; gap: 4px; min-height: 86px; padding: 17px; border: 1px solid #f1d1ae; border-radius: 9px; background: rgba(255,255,255,.67); color: var(--home-navy); text-decoration: none; }
.home-connect a:hover { border-color: var(--home-orange); }
.home-connect span { color: var(--home-muted); font-size: .76rem; }
.home-connect strong { overflow: hidden; font-size: .88rem; text-overflow: ellipsis; }

.home-footer { padding: 62px 0 0; color: #c3d3de; background: #051a2a; }
.home-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 55px; padding-bottom: 45px; }
.home-footer-brand { color: #fff; font-family: Poppins, sans-serif; font-size: 1.35rem; font-weight: 700; text-decoration: none; }
.home-footer-brand strong { color: var(--home-orange-light); }
.home-footer p { margin: 15px 0 8px; color: #fff; }
.home-footer small { display: block; max-width: 510px; line-height: 1.7; }
.home-footer nav { display: grid; align-content: start; gap: 9px; }
.home-footer nav a { color: #c3d3de; text-decoration: none; }
.home-footer nav a:hover { color: var(--home-orange-light); }
.home-footer-bottom { padding: 19px 0; border-top: 1px solid rgba(255,255,255,.12); font-size: .86rem; }

@media (max-width: 980px) {
    .home-hero-grid,
    .home-intro-grid,
    .home-skills-grid,
    .home-contact-grid { grid-template-columns: 1fr; }
    .home-hero-grid { gap: 48px; }
    .home-intro-grid,
    .home-contact-grid { gap: 35px; }
    .home-section-heading { grid-template-columns: 1fr; gap: 20px; }
    .service-summary-grid,
    .proof-grid,
    .insights-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-skills-copy { position: static; }
    .work-card-featured { display: block; }
    .work-card-featured .work-image img { min-height: 0; height: 300px; }
    .home-footer-grid { grid-template-columns: 1.6fr 1fr 1fr; }
}

@media (max-width: 680px) {
    .home-hero { padding: 120px 0 68px; }
    .home-hero h1 { font-size: clamp(2.35rem, 12vw, 3.3rem); }
    .home-lead { font-size: 1rem; }
    .solution-map { padding: 22px; }
    .home-intro,
    .home-section,
    .home-contact { padding: 66px 0; }
    .service-summary-grid,
    .work-grid,
    .proof-grid,
    .insights-grid,
    .home-connect,
    .home-footer-grid { grid-template-columns: 1fr; }
    .service-summary-card { min-height: 0; }
    .service-summary-card h3 { margin-top: 25px; }
    .skill-group { grid-template-columns: 1fr; gap: 12px; }
    .testimonial-carousel { grid-template-columns: 1fr; }
    .testimonial-carousel-btn { display: none; }
    .testimonial-carousel-track { grid-auto-columns: 88%; }
    .testimonial-proof img { height: 240px; }
    .home-footer-grid { gap: 30px; }
}

@media (prefers-reduced-motion: reduce) {
    .home-page *,
    .home-page *::before,
    .home-page *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
