/* Isolated styles for phase one of the homepage redesign. */
.home-redesign { --home-blue: #8dc5f3; }
.home-shell { width: min(1280px, calc(100% - 112px)); margin-inline: auto; }
.redesign-hero, .home-services, .home-method { scroll-margin-top: 88px; }
.redesign-hero { min-height: 85vh; min-height: 85svh; padding: 150px 0 48px; background: #091929; }
.hero-layout { display: grid; grid-template-columns: 55% 45%; align-items: center; }
.redesign-hero .hero-content { min-width: 0; max-width: none; }
.redesign-hero .eyebrow { color: #a4c7e2; font-size: .72rem; line-height: 1.8; letter-spacing: .13em; margin-bottom: 25px; }
.redesign-hero .hero-content h1 { max-width: 710px; font-size: clamp(2.5rem, 4.25vw, 4.1rem); font-weight: 500; line-height: 1.12; letter-spacing: -.045em; overflow-wrap: normal; }
.redesign-hero h1 em { font-style: normal; color: var(--home-blue); }
.redesign-hero .hero-copy { max-width: 600px; font-size: 1.08rem; line-height: 1.7; color: #c3d0dc; margin-top: 28px; }
.hero-promise { max-width: 570px; font-size: 1rem; line-height: 1.7; color: #a9bccd; margin: 14px 0 0; }
.redesign-hero .hero-actions { gap: 14px; margin-top: 32px; }
.redesign-hero .hero-actions::before, .redesign-hero .button::before { display: none; }
.redesign-hero .button { min-height: 52px; padding: 14px 20px; gap: 20px; font-size: .875rem; font-weight: 600; border-radius: 4px; }
.redesign-hero .button.primary { background: #2477c1; color: white; box-shadow: none; }
.redesign-hero .button.primary:hover { background: #1a65a7; }
.redesign-hero .button.secondary { background: transparent; border-color: #536879; }
.redesign-hero .button.secondary:hover { background: #1a3147; }
.hero-network { position: relative; margin: -12px -22px 0 0; background: radial-gradient(ellipse, #16314b70, transparent 68%); pointer-events: none; }
.hero-network svg { width: 100%; height: auto; display: block; }
.hero-references { width: 100%; min-width: 0; overflow: hidden; margin: 38px 0 0; color: #a8bbce; font-size: .78rem; letter-spacing: .1em; }
.hero-references-track { display: flex; width: 100%; }
.hero-references-group { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin: 0; }
.hero-references-group span { color: #647f98; }
.hero-references-group[aria-hidden], .hero-references-end { display: none; }
@media (prefers-reduced-motion: no-preference) {
 .hero-references.is-marquee-ready { mask-image: linear-gradient(90deg,transparent,#000 3%,#000 97%,transparent); }
 .is-marquee-ready .hero-references-track { width: max-content; animation: references-scroll 36s linear infinite; animation-play-state: paused; }
 .is-marquee-ready.is-marquee-running .hero-references-track { animation-play-state: running; }
 .is-marquee-ready .hero-references-group { display: flex; flex: 0 0 auto; flex-wrap: nowrap; justify-content: space-between; min-width: 640px; gap: 28px; padding-right: 28px; white-space: nowrap; }
 .is-marquee-ready .hero-references-end { display: inline; }
 @keyframes references-scroll { to { transform: translateX(-25%); } }
}
@media (max-width: 600px) and (prefers-reduced-motion: no-preference) {
 .is-marquee-ready .hero-references-group { min-width: 520px; gap: 24px; padding-right: 24px; }
}
.home-trust { background: #fff; border-bottom: 1px solid #dee6ee; }
.trust-grid { display: grid; grid-template-columns: .8fr .95fr 1fr 1.35fr; padding-block: 36px; }
.trust-item { padding: 4px 26px; border-left: 1px solid #dae2ea; display: flex; flex-direction: column; gap: 9px; }
.trust-item:first-child { padding-left: 0; border: 0; }
.trust-item:last-child { padding-right: 0; }
.trust-item strong { font-size: clamp(1rem, 1.4vw, 1.3rem); font-weight: 600; letter-spacing: -.025em; }
.trust-item span { color: #566779; font-size: .82rem; line-height: 1.5; }
.home-services { background: #f5f7fa; padding: 110px 0 120px; }
.home-section-head { max-width: 720px; margin-bottom: 48px; }
.home-section-head .eyebrow { color: #24659d; font-size: .72rem; letter-spacing: .14em; margin-bottom: 18px; }
.home-section-head h2 { font-size: clamp(2rem, 3vw, 2.9rem); line-height: 1.16; font-weight: 500; letter-spacing: -.04em; }
.home-section-head > p:last-child { font-size: 1.0625rem; line-height: 1.7; color: #566779; margin: 20px 0 0; max-width: 640px; }
.home-service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.home-service-card { padding: 0; border: 1px solid #dce4eb; border-radius: 7px; box-shadow: 0 4px 16px #0f1f3005; transition: transform 300ms ease, box-shadow 300ms ease; }
.home-service-card:hover { transform: translateY(-4px); box-shadow: 0 14px 28px #0f1f3010; }
.service-art { position: relative; overflow: hidden; background: #102a43; }
.service-art > span { position: absolute; top: 20px; left: 22px; font-size: .75rem; color: #adc6dc; letter-spacing: .15em; }
.service-art svg { display: block; width: 100%; height: auto; transition: transform 300ms ease; }
.home-service-card:hover .service-art svg { transform: scale(1.035); }
.service-body { display: flex; flex: 1; flex-direction: column; padding: 28px; }
.home-service-card h3 { margin: 0; font-size: 1.4rem; font-weight: 550; line-height: 1.3; letter-spacing: -.025em; }
.home-service-card p { margin: 18px 0 24px; font-size: 1rem; line-height: 1.7; }
.home-service-card .service-topics { margin: auto 0 24px; gap: 6px 12px; }
.home-service-card .service-topics li { border: 0; border-radius: 0; padding: 0; color: #50677b; background: none; font-size: .78rem; line-height: 1.7; font-weight: 450; white-space: normal; }
.home-service-card .service-topics li:not(:last-child)::after { content: ' ·'; padding-left: 8px; color: #8c9ba8; }
.home-service-card .service-link { width: 100%; margin: 0; padding: 17px 0 0; min-height: 48px; display: flex; justify-content: space-between; align-items: center; gap: 12px; color: #205f96; border: 0; border-top: 1px solid #e1e7ed; background: none; border-radius: 0; font-weight: 600; font-size: .9rem; }
.home-service-card .service-link:hover { color: #123d63; text-decoration: underline; text-underline-offset: 4px; }
.home-method { background: #0c2033; color: #fff; padding: 110px 0 120px; border-bottom: 1px solid #314456; }
.home-method .eyebrow { color: #8fc4ef; }
.home-method .home-section-head > p:last-child { color: #b4c4d3; }
.method-timeline { --method-progress: 0; position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px; list-style: none; padding: 0; margin: 60px 0 0; }
.method-timeline::before, .method-timeline::after { content: ''; position: absolute; top: 25px; left: 26px; right: var(--method-end, 26px); height: 1px; background: #40576c; }
.method-timeline::after { background: #92c8f5; transform: scaleX(var(--method-progress)); transform-origin: left; }
.method-step { position: relative; z-index: 1; }
.method-number { display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid #5a748b; border-radius: 50%; background: #0c2033; color: #bed0e0; font-size: .85rem; transition: background 300ms, border-color 300ms; }
.method-step.is-active .method-number { color: #e4f3ff; background: #244c6d; border-color: #a2d4fa; }
.method-step h3 { font-size: 1.25rem; font-weight: 550; margin: 27px 0 14px; }
.method-step p { font-size: 1rem; color: #b4c4d3; line-height: 1.75; margin: 0; max-width: 300px; }
.network-signal { opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
 .network-core { transform-origin: 280px 280px; animation: network-turn 90s linear infinite; }
 .network-orbit { transform-origin: 280px 280px; animation: network-turn 65s linear infinite reverse; }
 .network-signal { stroke-dasharray: .07 .93; animation: network-flow var(--signal-duration) linear var(--signal-delay) infinite; }
 .network-halo { transform-origin: 280px 280px; animation: network-breathe 5s ease-in-out infinite; }
 .hero-network .network-core, .hero-network .network-orbit, .hero-network .network-signal, .hero-network .network-halo { animation-play-state: paused; }
 .hero-network.is-network-running .network-core, .hero-network.is-network-running .network-orbit, .hero-network.is-network-running .network-signal, .hero-network.is-network-running .network-halo { animation-play-state: running; }
 @keyframes network-turn { to { transform: rotate(360deg); } }
 @keyframes network-flow { 0% { stroke-dashoffset: 1; opacity: 0; } 15%, 75% { opacity: .85; } 100% { stroke-dashoffset: 0; opacity: 0; } }
 @keyframes network-breathe { 0%, 100% { transform: scale(.9); opacity: .2; } 50% { transform: scale(1.35); opacity: .45; } }
}
@media (max-width: 1100px) {
 .home-shell { width: calc(100% - 64px); }
 .hero-layout { grid-template-columns: 60% 40%; }
 .redesign-hero .hero-content h1 { font-size: clamp(2.5rem, 5vw, 3.4rem); }
 .home-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
 .home-service-card:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; }
 .home-service-card:last-child .service-art { display: grid; align-items: center; }
 .trust-grid { grid-template-columns: 1fr 1fr; gap: 26px 0; }
 .trust-item:nth-child(3) { border-left: 0; padding-left: 0; }
 .method-timeline { gap: 22px; }
}
@media (max-width: 800px) {
 .redesign-hero { padding-top: 136px; }
 .hero-layout { grid-template-columns: 1fr; }
 .redesign-hero .hero-content { max-width: 660px; }
 .hero-network { width: 280px; margin: 20px auto 0; }
 .hero-references { margin-top: 32px; }
 .home-services, .home-method { padding-block: 80px; }
 .method-timeline { grid-template-columns: 1fr; gap: 32px; margin-top: 40px; }
 .method-timeline::before, .method-timeline::after { left: 25px; top: 25px; bottom: var(--method-end, 25px); right: auto; width: 1px; height: auto; }
 .method-timeline::after { transform: scaleY(var(--method-progress)); transform-origin: top; }
 .method-step { padding-left: 78px; min-height: 105px; }
 .method-number { position: absolute; left: 0; top: 0; }
 .method-step h3 { margin: 4px 0 12px; }
 .method-step p { max-width: 540px; }
}
@media (max-width: 600px) {
 .home-shell { width: calc(100% - 40px); }
 .redesign-hero { padding: 120px 0 32px; min-height: auto; }
 .redesign-hero .hero-content h1 { font-size: clamp(2.15rem, 8.8vw, 3.1rem); }
 .redesign-hero .eyebrow { font-size: .65rem; letter-spacing: .09em; margin-bottom: 22px; }
 .redesign-hero .hero-copy { font-size: 1rem; margin-top: 24px; }
 .hero-promise { font-size: 1rem; }
 .redesign-hero .hero-actions { flex-direction: column; margin-top: 28px; }
 .hero-network { width: 210px; margin-block: 8px 0; }
 .hero-references { gap: 8px; font-size: .69rem; letter-spacing: .02em; }
 .trust-grid { padding-block: 28px; gap: 24px 0; }
 .trust-item { padding-inline: 16px; }
 .trust-item strong { font-size: 1.02rem; line-height: 1.35; }
 .trust-item span { font-size: .78rem; }
 .home-service-grid { grid-template-columns: 1fr; gap: 24px; }
 .home-service-card:last-child { display: flex; grid-column: auto; }
 .service-body { padding: 26px; }
 .home-section-head { margin-bottom: 32px; }
 .home-section-head h2 { font-size: 2.05rem; }
 .home-section-head > p:last-child { font-size: 1rem; }
 .method-step { padding-left: 72px; }
}
@media (prefers-reduced-motion: reduce) {
 .redesign-hero *, .home-services *, .home-method * { animation: none !important; transition: none !important; }
 .home-service-card:hover, .home-service-card:hover .service-art svg, .redesign-hero .button:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) { html:has(.home-redesign) { scroll-behavior: auto; } }


.home-service-card .service-art { aspect-ratio: 400 / 210; }
.home-service-card .service-art img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.home-service-card .service-art > span { z-index: 1; padding: 4px 7px; border-radius: 3px; background: #091929a6; color: #d5e7f7; }
@media (min-width: 601px) and (max-width: 1100px) { .home-service-card:last-child .service-art { aspect-ratio: auto; } }

.hero-network:has(.hero-architecture) { margin: 0 -28px 0 0; background: none; }
.hero-architecture { position: relative; aspect-ratio: 1; overflow: hidden; mask-image: radial-gradient(ellipse at center, #000 48%, transparent 74%); }
.architecture-image { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 82% center; }
@media (prefers-reduced-motion: no-preference) {
 .architecture-image { animation: architecture-float 9s ease-in-out infinite; animation-play-state: paused; }
 .is-network-running .architecture-image { animation-play-state: running; }
 @keyframes architecture-float { 0%, 100% { transform: translateY(9px) scale(1.02); } 50% { transform: translateY(-9px) scale(1.06); } }
}
@media (max-width: 800px) { .hero-network:has(.hero-architecture) { width: min(400px, 100%); margin: 24px auto 0; } }
@media (max-width: 600px) { .hero-network:has(.hero-architecture) { width: min(320px, 100%); margin-top: 20px; } }

.hero-network .architecture-motion { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.architecture-light, .architecture-pulse { opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
 .architecture-light { stroke-linecap: round; stroke-width: 2; stroke-dasharray: .035 .965; animation: architecture-light-flow 12s linear infinite; animation-play-state: paused; }
 .architecture-light-blue { stroke: #b6e4ff; }
 .architecture-light-gold { stroke: #e5be70; animation-duration: 18s; animation-delay: -7s; }
 .architecture-pulse { fill: #edc67b; animation: architecture-centre-pulse 5s ease-in-out infinite; animation-play-state: paused; }
 .is-network-running .architecture-light, .is-network-running .architecture-pulse { animation-play-state: running; }
 @keyframes architecture-light-flow { 0% { stroke-dashoffset: 1; opacity: 0; } 12%, 88% { opacity: .8; } 100% { stroke-dashoffset: 0; opacity: 0; } }
 @keyframes architecture-centre-pulse { 0%, 100% { opacity: .03; } 50% { opacity: .22; } }
}

.method-visual { width: 150px; max-width: 100%; margin: 18px 0 12px; color: #7894ab; opacity: .45; transition: opacity 450ms, color 450ms; }
.method-visual svg { display: block; width: 100%; height: auto; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.method-step.is-active .method-visual { color: #a0d2f5; opacity: 1; }
.method-step .method-phase { margin-bottom: 14px; font-size: .76rem; letter-spacing: .03em; color: #809aaf; }
.method-step.is-active .method-phase { color: #c8ae76; }
.method-step.is-active .method-number { box-shadow: 0 0 0 5px #8dc5f30a; }
@media (prefers-reduced-motion: no-preference) {
 .is-method-visible .is-active .method-trace { stroke-dasharray: 8 6; animation: method-information-flow 7s linear infinite; }
 @keyframes method-information-flow { to { stroke-dashoffset: -42; } }
}
@media (prefers-reduced-motion: reduce) { .method-visual { transition: none; } }
