/* Homepage structure from the brief. Hero presentation stays unchanged. */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: var(--navy); color: var(--paper); }
.header::before { content: ''; position: absolute; top: 0; bottom: 0; left: calc((100vw - 100%) / -2); right: calc((100vw - 100%) / -2); background: var(--navy); z-index: -1; pointer-events: none; }
.header-space { height: 112px; }
.menu-scrim { position: fixed; inset: 0; z-index: 90; background: #06111bbb; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .2s ease, visibility .2s ease; }
.menu-scrim.visible { opacity: 1; visibility: visible; pointer-events: auto; }
html { scroll-padding-top: 135px; }
.service-card, .service-description { scroll-margin-top: 135px; }
.services-nav { display: flex; align-items: center; }
.mega-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 0; border: 0; background: none; color: inherit; font-size: 16px; line-height: 1.5; }
.nav-chevron { width: 16px; height: 16px; display: block; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.mega-toggle[aria-expanded="true"] .nav-chevron { transform: rotate(180deg); }
.mega-toggle:hover, .mega-toggle[aria-expanded="true"] { color: var(--stone); }
.mega-menu[hidden] { display: none !important; }
.mega-menu { position: absolute; left: 0; right: 0; top: calc(100% - 1px); background: #f3f4f2; color: var(--navy); box-shadow: 0 24px 50px #0004; border: 1px solid #d8dcd9; border-radius: 0 0 5px 5px; max-height: calc(100dvh - 135px); overflow-y: auto; overscroll-behavior: contain; }
.mega-intro { display: flex; align-items: center; justify-content: space-between; padding: 20px 32px; border-bottom: 1px solid #d6dddE; font-size: 14px; }
.mega-intro > span { color: #556571; }
.mega-intro a { display: inline-flex; gap: 18px; }
.mega-columns { display: grid; grid-template-columns: 1fr 1fr; padding: 30px 32px 22px; gap: 52px; }
.mega-columns > section + section { border-left: 1px solid #d6ddde; padding-left: 35px; }
.header nav .mega-menu a { padding: 0; color: var(--navy); }
.header nav .mega-menu a::after { display: none; }
.mega-menu .mega-heading { font: 26px/1.3 Lora, Georgia, serif; display: block; margin-bottom: 18px; }
.mega-columns p { color: #52616d; font-size: 14px; margin: 12px 0 22px; }
.mega-columns ul { padding: 0; margin: 0; list-style: none; }
.header nav .mega-columns li a { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 10px 8px; margin-left: -8px; font-size: 16px; line-height: 1.45; border-radius: 3px; transition: background .2s; }
.header nav .mega-menu a:hover, .header nav .mega-menu a:focus-visible { color: #233e50; }
.header nav .mega-columns li a:hover, .header nav .mega-columns li a:focus-visible { background: #dde6ea; }
.mega-columns li svg { width: 18px; height: 18px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.3; opacity: .5; }
.mega-bottom { background: #e1e7e9; padding: 22px 32px; display: flex; justify-content: space-between; gap: 20px; font-size: 16px; }
.mega-bottom button { border: 0; padding: 0; background: transparent; color: var(--navy); font-size: 16px; display: inline-flex; gap: 20px; text-align: left; }
.positioning { background: #fafaf9; }
.positioning-heading { display: grid; grid-template-columns: 1.1fr 1fr; gap: 90px; align-items: center; }
.positioning-heading h2 { margin-bottom: 0; }
.positioning-copy p, .comparison p, .role-grid p, .problem-grid p, .value-grid p { font-size: 18px; line-height: 1.65; color: #424f58; }
.positioning-copy p:last-child { margin-bottom: 0; }
.comparison { display: grid; grid-template-columns: 1fr 100px 1fr; gap: 30px; margin-top: 55px; padding: 40px; background: #ededE9; border-radius: 4px; }
.comparison-label { font-size: 16px; color: #52616a; display: block; margin-bottom: 22px; }
.comparison h3 { font-size: 31px; margin-bottom: 16px; }
.comparison p { max-width: 440px; margin-bottom: 0; }
.comparison-bridge { display: grid; place-items: center; }
.comparison-bridge svg { width: 60px; fill: none; stroke: #5c7483; stroke-width: 1.2; }
.comparison-result { border-left: 1px solid #c7d0d5; padding-left: 36px; }
.services.section { padding-top: 30px; }
.service-card { scroll-margin-top: 30px; }
.service-grid { align-items: start; }
.service-description { padding: 26px 0; border-bottom: 1px solid #101e2820; scroll-margin-top: 35px; }
.service-description:last-child { border-bottom: 0; }
.service-description h4 { font-size: 20px; font-weight: 500; line-height: 1.4; margin: 0 0 14px; }
.service-description .inline-button { font-size: 16px; line-height: 1.5; }
.service-description:target h4 { text-decoration: underline; text-underline-offset: 5px; text-decoration-color: #6c8fa1; }
.audience { background: #ededed; }
.role-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 38px; margin-top: 48px; }
.role-symbol { display: block; color: #536c7c; font-size: 33px; line-height: 1; margin-bottom: 26px; }
.role-grid h3 { font-size: 29px; margin-bottom: 18px; }
.role-grid article + article { padding-left: 35px; border-left: 1px solid #c8d0d4; }
.sector-block { margin-top: 40px; padding-top: 30px; border-top: 1px solid #c8d0d4; }
.sector-block > span { display: block; font-size: 16px; color: #52616a; margin-bottom: 20px; }
.sector-list { display: flex; flex-wrap: wrap; gap: 12px; }
.sector-list > span { font-size: 16px; border: 1px solid #bbc7ce; padding: 11px 18px; border-radius: 28px; }
.problem-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 70px; row-gap: 24px; }
.problem-grid article { border-top: 1px solid #c8d1d6; padding: 30px 0 10px; transition: border-color .25s ease; }
.problem-grid article:hover { border-color: #344f60; }
.problem-question { font-size: 16px; color: #52616a; margin-bottom: 24px; }
.problem-grid h3 { font-size: 30px; margin-bottom: 18px; }
.problem-cta { color: var(--navy); border-color: #617681; margin-top: 25px; font-size: 16px; text-align: left; }
.problem-cta:hover { background: #e1e7e9; }
.business-value { background: #deded7; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 35px; }
.value-grid article { display: flex; flex-direction: column; }
.value-icon { margin-bottom: 27px; }
.value-icon svg { width: 44px; height: 44px; fill: none; stroke: #344f60; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.value-grid h3 { font-size: 30px; margin-bottom: 21px; }
.value-grid p { margin-bottom: 28px; }
.value-grid article > span { border-top: 1px solid #b6bfbd; padding-top: 20px; font-size: 16px; margin-top: auto; color: #42545e; line-height: 1.5; }
/* Small, deliberate responses for the new content blocks. */
.role-symbol, .value-icon svg { transition: transform .35s ease, color .35s ease, stroke .35s ease; }
.role-grid h3, .problem-grid h3, .value-grid h3 { transition: color .35s ease; }
.value-grid article > span { transition: border-color .35s ease; }
.comparison-result { transition: border-color .35s ease; }
.comparison-bridge svg { transition: translate .35s ease; }
@media (hover: hover) and (pointer: fine) {
 .role-grid article:hover .role-symbol { transform: translateY(-3px); color: #243f50; }
 .value-grid article:hover .value-icon svg { transform: translateY(-3px); stroke: #101e28; }
 .role-grid article:hover h3, .problem-grid article:hover h3, .value-grid article:hover h3 { color: #385a6d; }
 .value-grid article:hover > span, .comparison:hover .comparison-result { border-color: #617e8d; }
 .comparison:hover .comparison-bridge svg { translate: 4px 0; }
}
@media (prefers-reduced-motion: no-preference) {
 .positioning-heading.reveal-arrived, .comparison.reveal-arrived,
 .role-grid.reveal-arrived, .problem-grid.reveal-arrived, .value-grid.reveal-arrived {
   animation: quiet-arrival .75s cubic-bezier(.2,.7,.2,1) both;
 }
 @keyframes quiet-arrival { from { opacity: .6; translate: 0 14px; } to { opacity: 1; translate: 0 0; } }
}
@media (prefers-reduced-motion: reduce) {
 .role-symbol, .value-icon svg, .comparison-bridge svg { transform: none !important; translate: none !important; }
}
@media (max-width: 1100px) and (min-width: 801px) {
 .header-space { height: 125px; }
 .positioning-heading { gap: 45px; }
 .mega-menu { max-height: calc(100dvh - 145px); }
 .mega-columns { gap: 28px; }
 .mega-columns > section + section { padding-left: 25px; }
 .role-grid { gap: 23px; }
 .role-grid article + article { padding-left: 23px; }
 .value-grid h3, .role-grid h3 { font-size: 25px; }
}
@media (max-width: 800px) {
 .header-space { height: 88px; }
 .header { clip-path: none; box-shadow: none; }
 html { scroll-padding-top: 108px; }
 .header nav.open { max-height: calc(100dvh - 88px); overflow-y: auto; overscroll-behavior: contain; }
 .services-nav { display: block; }
 .mega-toggle { width: 100%; justify-content: space-between; }
 .mega-menu { position: static; max-height: none; border: 0; border-radius: 3px; box-shadow: none; margin: 5px 0 14px; }
 .mega-columns { grid-template-columns: 1fr; gap: 28px; padding: 24px 20px; }
 .mega-columns > section + section { border-left: 0; border-top: 1px solid #c4cfd5; padding: 25px 0 0; }
 .mega-intro { padding: 18px 20px; gap: 15px; }
 .mega-bottom { flex-direction: column; padding: 22px 20px; }
 .mega-menu .mega-heading { font-size: 25px; }
 .positioning-heading { grid-template-columns: 1fr; gap: 28px; }
 .positioning-heading h2 { font-size: 35px; }
 .comparison { grid-template-columns: 1fr; padding: 26px; gap: 24px; margin-top: 30px; }
 .comparison-bridge { justify-items: start; height: 40px; }
 .comparison-bridge svg { transform: rotate(90deg); width: 40px; }
 .comparison-result { border-left: 0; border-top: 1px solid #c7d0d5; padding: 24px 0 0; }
 .services.section { padding-top: 0; }
 .role-grid, .problem-grid, .value-grid { grid-template-columns: 1fr; gap: 28px; }
 .role-grid article + article { border-left: 0; border-top: 1px solid #c8d0d4; padding: 28px 0 0; }
 .role-symbol { margin-bottom: 18px; }
 .role-grid h3, .problem-grid h3, .value-grid h3 { font-size: 28px; }
 .value-grid article + article { margin-top: 16px; }
 .value-grid h3 br { display: none; }
 .problem-cta { width: 100%; }
}
