:root {
    --ink: #132026;
    --muted: #5d6b73;
    --line: #d9e2e5;
    --paper: #ffffff;
    --soft: #f4f8f8;
    --teal: #0f766e;
    --teal-dark: #0b4f4a;
    --blue: #255c99;
    --gold: #c8953b;
    --shadow: 0 18px 45px rgba(15, 41, 52, 0.12);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

@keyframes backgroundDrift {
    0% { background-position: 50% 50%; }
    50% { background-position: 58% 46%; }
    100% { background-position: 50% 50%; }
}

@keyframes nodePulse {
    0%, 100% { transform: translateY(0); box-shadow: 0 12px 30px rgba(15, 41, 52, 0.08); }
    50% { transform: translateY(-6px); box-shadow: 0 18px 38px rgba(15, 41, 52, 0.14); }
}

@keyframes lineFlow {
    0% { opacity: 0.36; }
    50% { opacity: 0.9; }
    100% { opacity: 0.36; }
}

@keyframes floatLayer {
    0% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.45; }
    50% { transform: translate3d(-24px, 18px, 0) scale(1.04); opacity: 0.75; }
    100% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.45; }
}

@keyframes orbitFloat {
    0% { transform: translate3d(0, 0, 0) rotate(0deg); }
    50% { transform: translate3d(18px, -14px, 0) rotate(5deg); }
    100% { transform: translate3d(0, 0, 0) rotate(0deg); }
}

@keyframes gridShift {
    0% { transform: translate3d(0, 0, 0); opacity: 0.26; }
    50% { transform: translate3d(-18px, 12px, 0); opacity: 0.44; }
    100% { transform: translate3d(0, 0, 0); opacity: 0.26; }
}

@keyframes waveSweep {
    0% { transform: translate3d(-2%, 0, 0) scaleY(1); background-position: 0 50%; }
    50% { transform: translate3d(2%, -8px, 0) scaleY(1.08); background-position: 120px 48%; }
    100% { transform: translate3d(-2%, 0, 0) scaleY(1); background-position: 0 50%; }
}

@keyframes hudRotate {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(18deg) scale(1.03); }
    100% { transform: rotate(0deg) scale(1); }
}

@keyframes scanFlow {
    0% { background-position: -160px 0, 0 0; opacity: 0.42; }
    50% { background-position: 120px 0, 0 32px; opacity: 0.72; }
    100% { background-position: -160px 0, 0 0; opacity: 0.42; }
}

@keyframes hexGlow {
    0% { background-position: 0 0, 0 0, 0 0; opacity: 0.34; }
    50% { background-position: 42px 0, -28px 48px, 28px -48px; opacity: 0.62; }
    100% { background-position: 0 0, 0 0, 0 0; opacity: 0.34; }
}

@keyframes particleDrift {
    0% { transform: translate3d(0, 0, 0) scale(0.75); opacity: 0; }
    20% { opacity: 0.75; }
    70% { opacity: 0.55; }
    100% { transform: translate3d(var(--dx), var(--dy), 0) scale(1.15); opacity: 0; }
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.6;
}

body.has-js .section,
body.has-js .cta-band,
body.has-js .project-card {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 520ms ease, transform 520ms ease;
}

body.has-js .section.is-visible,
body.has-js .cta-band.is-visible,
body.has-js .project-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

a {
    color: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 16px clamp(20px, 5vw, 72px);
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(217, 226, 229, 0.85);
    backdrop-filter: blur(16px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    min-width: 0;
}

.brand-mark {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    flex: 0 0 44px;
    color: white;
    background: linear-gradient(135deg, var(--teal-dark), var(--blue));
    border-radius: 8px;
    font-weight: 800;
    letter-spacing: 0;
}

.brand-logo {
    display: block;
    width: 102px;
    height: auto;
    flex: 0 0 auto;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.brand strong,
.brand small {
    display: block;
    line-height: 1.2;
}

.brand strong {
    font-size: 1.18rem;
}

.brand small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 0.9rem;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.site-nav a {
    padding: 10px 12px;
    color: #34464f;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 650;
    font-size: 0.94rem;
}

.site-nav a:hover,
.site-nav a.is-active {
    color: var(--teal-dark);
    background: #eaf4f2;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: white;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    background: var(--ink);
}

.hero {
    position: relative;
    min-height: min(680px, calc(100vh - 76px));
    display: grid;
    align-items: center;
    padding: clamp(72px, 9vw, 128px) clamp(20px, 5vw, 72px);
    overflow: hidden;
    isolation: isolate;
}

.hero-media {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 74% 32%, rgba(128, 214, 204, 0.28), transparent 28%),
        radial-gradient(circle at 88% 78%, rgba(37, 92, 153, 0.28), transparent 30%),
        linear-gradient(115deg, rgba(8, 31, 38, 0.96) 0%, rgba(10, 79, 74, 0.9) 54%, rgba(15, 39, 65, 0.9) 100%),
        url("../images/service-cloud.png") center / cover no-repeat;
    background-size: auto, auto, auto, 112%;
    animation: backgroundDrift 18s ease-in-out infinite;
    z-index: -1;
}

.hero-content {
    max-width: 700px;
    color: white;
    position: relative;
    z-index: 1;
    padding: clamp(22px, 3vw, 34px);
    margin-left: 0;
    background: linear-gradient(90deg, rgba(3, 13, 26, 0.84), rgba(3, 13, 26, 0.6) 78%, rgba(3, 13, 26, 0.18));
    border-radius: 8px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.hero h1 {
    margin: 0;
    font-size: clamp(2rem, 3.7vw, 3.55rem);
    line-height: 1.06;
    letter-spacing: 0;
}

.page-hero h1,
.service-hero h1 {
    margin: 0;
    font-size: clamp(2rem, 3.9vw, 3.65rem);
    line-height: 1.06;
    letter-spacing: 0;
}

.hero p:not(.eyebrow) {
    max-width: 620px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.95);
    font-size: clamp(0.98rem, 1.3vw, 1.08rem);
    font-weight: 500;
}

.page-hero p:not(.eyebrow),
.service-hero p:not(.eyebrow) {
    max-width: 760px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: clamp(1rem, 1.55vw, 1.14rem);
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--gold);
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 20px;
    border: 1px solid transparent;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 800;
    cursor: pointer;
    font-size: 0.96rem;
}

.button.primary {
    color: white;
    background: var(--teal);
}

.button.primary:hover {
    background: var(--teal-dark);
}

.button.secondary {
    color: white;
    border-color: rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
}

.button.secondary.light {
    color: var(--teal-dark);
    border-color: #9bc9c2;
    background: white;
}

.section {
    padding: clamp(64px, 8vw, 112px) clamp(20px, 5vw, 72px);
}

.home-intro {
    padding-bottom: clamp(42px, 5vw, 68px);
}

.intro-copy {
    display: grid;
    gap: 26px;
}

.architecture-map {
    position: relative;
    min-height: 210px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(15, 118, 110, 0.08), rgba(37, 92, 153, 0.06)),
        radial-gradient(circle at 75% 25%, rgba(15, 118, 110, 0.13), transparent 30%),
        #ffffff;
    overflow: hidden;
}

.architecture-map::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(15, 118, 110, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 118, 110, 0.1) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}

.map-node {
    position: absolute;
    z-index: 2;
    display: grid;
    min-width: 94px;
    min-height: 46px;
    place-items: center;
    color: var(--teal-dark);
    background: white;
    border: 1px solid #b9d7d2;
    border-radius: 8px;
    font-weight: 850;
    animation: nodePulse 4.5s ease-in-out infinite;
}

.node-1 { left: 9%; top: 25%; }
.node-2 { left: 36%; top: 14%; animation-delay: 0.4s; }
.node-3 { right: 12%; top: 28%; animation-delay: 0.8s; }
.node-4 { left: 46%; bottom: 16%; animation-delay: 1.1s; }

.map-line {
    position: absolute;
    z-index: 1;
    height: 2px;
    background: linear-gradient(90deg, rgba(15, 118, 110, 0), rgba(15, 118, 110, 0.72), rgba(37, 92, 153, 0));
    transform-origin: left center;
    animation: lineFlow 4s ease-in-out infinite;
}

.line-1 { left: 22%; top: 37%; width: 22%; transform: rotate(-10deg); }
.line-2 { left: 50%; top: 36%; width: 25%; transform: rotate(8deg); animation-delay: 0.5s; }
.line-3 { left: 49%; top: 64%; width: 22%; transform: rotate(-18deg); animation-delay: 1s; }

.advisory-flow {
    position: relative;
    min-height: 280px;
    border: 1px solid #bfd8d4;
    border-radius: 8px;
    background:
        radial-gradient(circle at 50% 45%, rgba(15, 118, 110, 0.18), transparent 24%),
        radial-gradient(circle at 88% 18%, rgba(37, 92, 153, 0.12), transparent 28%),
        linear-gradient(135deg, rgba(244, 248, 248, 0.98), rgba(230, 241, 241, 0.86)),
        #ffffff;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(15, 41, 52, 0.1);
}

.advisory-flow::before {
    content: "";
    position: absolute;
    inset: -20%;
    background:
        linear-gradient(rgba(15, 118, 110, 0.09) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 118, 110, 0.09) 1px, transparent 1px),
        radial-gradient(circle at 50% 50%, transparent 0 18%, rgba(15, 118, 110, 0.14) 18.5% 19%, transparent 19.5% 34%, rgba(37, 92, 153, 0.1) 34.5% 35%, transparent 35.5%);
    background-size: 36px 36px, 36px 36px, 100% 100%;
    animation: gridShift 14s ease-in-out infinite;
}

.flow-core {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 3;
    display: grid;
    width: 118px;
    height: 118px;
    place-items: center;
    transform: translate(-50%, -50%);
    color: white;
    background: radial-gradient(circle at 35% 30%, #1db6aa, var(--teal-dark));
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 50%;
    box-shadow: 0 20px 44px rgba(11, 79, 74, 0.28);
}

.flow-core span {
    align-self: end;
    font-size: 1.9rem;
    font-weight: 950;
}

.flow-core small {
    align-self: start;
    color: rgba(255, 255, 255, 0.82);
    font-weight: 800;
}

.flow-orbit,
.flow-signal,
.flow-node {
    position: absolute;
    z-index: 2;
}

.flow-orbit {
    left: 50%;
    top: 50%;
    border: 1px solid rgba(15, 118, 110, 0.28);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.orbit-one {
    width: 58%;
    height: 58%;
    animation: orbitFloat 16s ease-in-out infinite;
}

.orbit-two {
    width: 78%;
    height: 78%;
    border-style: dashed;
    opacity: 0.7;
    animation: hudRotate 22s ease-in-out infinite;
}

.flow-node {
    display: grid;
    width: 116px;
    min-height: 48px;
    place-items: center;
    color: var(--teal-dark);
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid #a9cbc6;
    border-radius: 8px;
    box-shadow: 0 14px 32px rgba(15, 41, 52, 0.12);
    font-weight: 900;
}

.node-assess { left: 8%; top: 20%; }
.node-design { right: 10%; top: 20%; }
.node-govern { left: 10%; bottom: 18%; }
.node-deliver { right: 9%; bottom: 18%; }

.flow-signal {
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(15, 118, 110, 0.72), transparent);
    transform-origin: center;
    animation: lineFlow 3.6s ease-in-out infinite;
}

.signal-one { left: 21%; top: 32%; width: 26%; transform: rotate(18deg); }
.signal-two { right: 21%; top: 34%; width: 24%; transform: rotate(-18deg); animation-delay: 0.4s; }
.signal-three { left: 28%; bottom: 28%; width: 44%; transform: rotate(0deg); animation-delay: 0.8s; }

.home-focus {
    padding-top: clamp(42px, 5vw, 68px);
}

.intro-grid,
.prose-grid,
.split-band,
.detail-layout,
.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(32px, 6vw, 88px);
    align-items: start;
}

h2 {
    margin: 0;
    font-size: clamp(1.55rem, 2.25vw, 2.35rem);
    line-height: 1.12;
    letter-spacing: 0;
}

h3 {
    margin: 0;
    line-height: 1.25;
}

p {
    color: var(--muted);
    font-size: 0.98rem;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 32px;
}

.card-grid {
    display: grid;
    gap: 18px;
}

.card-grid.six {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card,
.service-row,
.case-grid article,
.case-feature article,
.contact-panel,
.benefit-panel {
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.service-card {
    min-height: 142px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    text-decoration: none;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(244, 248, 248, 0.94)),
        radial-gradient(circle at 92% 20%, rgba(128, 214, 204, 0.22), transparent 28%);
}

.service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, transparent 0 34%, rgba(15, 118, 110, 0.08) 34% 35%, transparent 35% 70%, rgba(37, 92, 153, 0.07) 70% 71%, transparent 71%),
        radial-gradient(circle at 86% 18%, rgba(15, 118, 110, 0.12), transparent 22%);
    opacity: 0.75;
    pointer-events: none;
}

.service-card h3 {
    font-size: clamp(1.1rem, 1.35vw, 1.35rem);
    position: relative;
    z-index: 1;
}

.service-card p {
    margin-bottom: 0;
    font-size: 0.94rem;
}

.service-card::after,
.service-row::after {
    content: "";
    position: absolute;
    right: 18px;
    bottom: 18px;
    width: 34px;
    height: 34px;
    border-right: 2px solid #8abdb6;
    border-bottom: 2px solid #8abdb6;
    opacity: 0;
    transform: translate(-8px, 8px);
    transition: 180ms ease;
}

.service-card span,
.service-row span {
    color: var(--teal);
    font-weight: 900;
}

.service-card:hover,
.service-row:hover {
    border-color: #a9cbc6;
    transform: translateY(-2px);
    transition: 180ms ease;
}

.service-card:hover::after,
.service-row:hover::after {
    opacity: 1;
    transform: translate(0, 0);
}

.split-band {
    background: var(--soft);
}

.industry-list {
    display: grid;
    gap: 16px;
}

.industry-list article {
    padding: 0 0 16px;
    border-bottom: 1px solid var(--line);
}

.tick-grid,
.tick-list,
.plain-list,
.credential-list,
.outcome-grid {
    padding: 0;
    list-style: none;
}

.tick-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.tick-grid li,
.tick-list li {
    position: relative;
    padding-left: 30px;
    color: #253840;
}

.tick-grid li::before,
.tick-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.42em;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--teal);
    box-shadow: inset 0 0 0 4px white, 0 0 0 1px var(--teal);
}

.plain-list {
    display: grid;
    gap: 10px;
}

.plain-list li {
    padding: 12px 14px;
    background: var(--soft);
    border-left: 3px solid var(--teal);
}

.proof-band {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    padding-top: clamp(34px, 5vw, 58px);
    padding-bottom: clamp(34px, 5vw, 58px);
    background: #0f242b;
}

.proof-card {
    padding: 24px;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
}

.proof-card span {
    display: block;
    color: #80d6cc;
    font-size: clamp(1.7rem, 2.8vw, 2.8rem);
    line-height: 1;
    font-weight: 900;
}

.proof-card p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.76);
}

.founder-strip,
.founder-profile {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(32px, 6vw, 88px);
    align-items: start;
}

.founder-strip {
    background: #f7fbfb;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.text-link {
    display: inline-flex;
    margin-top: 10px;
    color: var(--teal-dark);
    font-weight: 850;
    text-decoration: none;
    border-bottom: 2px solid #9bc9c2;
}

.credential-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 24px;
}

.credential-list li {
    padding: 12px 14px;
    color: #253840;
    background: #f4f8f8;
    border-left: 3px solid var(--teal);
}

.cta-band {
    margin: 0 clamp(20px, 5vw, 72px) clamp(48px, 6vw, 72px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: clamp(32px, 5vw, 56px);
    color: white;
    background: linear-gradient(135deg, var(--teal-dark), #183d5a);
    border-radius: 8px;
}

.cta-band h2,
.cta-band p {
    color: white;
}

.cta-band.compact {
    margin-top: 0;
}

.page-hero,
.service-hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: clamp(72px, 9vw, 128px) clamp(20px, 5vw, 72px);
    color: white;
    background:
        radial-gradient(circle at 74% 32%, rgba(128, 214, 204, 0.28), transparent 28%),
        radial-gradient(circle at 90% 82%, rgba(37, 92, 153, 0.28), transparent 30%),
        linear-gradient(115deg, rgba(8, 31, 38, 0.96) 0%, rgba(10, 79, 74, 0.9) 54%, rgba(15, 39, 65, 0.9) 100%),
        url("../images/service-cloud.png") center / cover no-repeat;
    background-size: auto, auto, auto, 112%;
    animation: backgroundDrift 20s ease-in-out infinite;
}

.hero::after,
.page-hero::after,
.service-hero::after {
    content: "";
    position: absolute;
    inset: 0 -10% -14% 24%;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 22% 34%, rgba(128, 214, 204, 0.58) 0 2px, transparent 3px),
        radial-gradient(circle at 58% 22%, rgba(255, 255, 255, 0.38) 0 2px, transparent 3px),
        radial-gradient(circle at 80% 65%, rgba(37, 92, 153, 0.46) 0 2px, transparent 3px),
        linear-gradient(115deg, transparent 0 18%, rgba(128, 214, 204, 0.3) 18% 19%, transparent 19% 42%, rgba(255, 255, 255, 0.18) 42% 43%, transparent 43%);
    background-size: 150px 150px, 220px 220px, 190px 190px, 100% 100%;
    opacity: 0.78;
    animation: floatLayer 12s ease-in-out infinite;
}

.hero::before,
.page-hero::before,
.service-hero::before {
    content: "";
    position: absolute;
    right: clamp(28px, 8vw, 140px);
    top: 18%;
    z-index: 0;
    width: clamp(220px, 30vw, 460px);
    aspect-ratio: 1;
    border: 1px solid rgba(128, 214, 204, 0.32);
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 58%),
        repeating-conic-gradient(from 45deg, rgba(128, 214, 204, 0.24) 0 8deg, transparent 8deg 24deg),
        conic-gradient(from 45deg, transparent, rgba(128, 214, 204, 0.34), transparent, rgba(37, 92, 153, 0.28), transparent);
    opacity: 0.68;
    animation: orbitFloat 16s ease-in-out infinite;
}

.hero-media::after {
    content: "";
    position: absolute;
    inset: -10% -8% -18% 42%;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(128, 214, 204, 0.18) 1px, transparent 1px),
        linear-gradient(90deg, rgba(128, 214, 204, 0.18) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(90deg, transparent, #000 18%, #000 84%, transparent);
    animation: gridShift 14s ease-in-out infinite;
}

.page-hero > *,
.service-hero > * {
    position: relative;
    z-index: 1;
}

.service-hero {
    min-height: 420px;
    display: grid;
    align-content: center;
}

.service-cloud-page .service-hero {
    background:
        radial-gradient(circle at 74% 32%, rgba(128, 214, 204, 0.28), transparent 28%),
        radial-gradient(circle at 90% 82%, rgba(37, 92, 153, 0.28), transparent 30%),
        linear-gradient(115deg, rgba(9, 35, 43, 0.94), rgba(10, 79, 74, 0.78), rgba(15, 39, 65, 0.82)),
        url("../images/service-cloud.png") center / cover no-repeat;
}

.service-ai-page .service-hero {
    background:
        radial-gradient(circle at 74% 32%, rgba(128, 214, 204, 0.28), transparent 28%),
        radial-gradient(circle at 90% 82%, rgba(37, 92, 153, 0.28), transparent 30%),
        linear-gradient(115deg, rgba(9, 35, 43, 0.94), rgba(10, 79, 74, 0.78), rgba(15, 39, 65, 0.82)),
        url("../images/service-ai.png") center / cover no-repeat;
}

.service-cyber-page .service-hero {
    background:
        radial-gradient(circle at 74% 32%, rgba(128, 214, 204, 0.28), transparent 28%),
        radial-gradient(circle at 90% 82%, rgba(37, 92, 153, 0.28), transparent 30%),
        linear-gradient(115deg, rgba(9, 35, 43, 0.94), rgba(10, 79, 74, 0.78), rgba(15, 39, 65, 0.82)),
        url("../images/service-cyber.png") center / cover no-repeat;
}

.service-digital-page .service-hero {
    background:
        radial-gradient(circle at 74% 32%, rgba(128, 214, 204, 0.28), transparent 28%),
        radial-gradient(circle at 90% 82%, rgba(37, 92, 153, 0.28), transparent 30%),
        linear-gradient(115deg, rgba(9, 35, 43, 0.94), rgba(10, 79, 74, 0.78), rgba(15, 39, 65, 0.82)),
        url("../images/service-digital.png") center / cover no-repeat;
}

.service-enterprise-page .service-hero {
    background:
        radial-gradient(circle at 74% 32%, rgba(128, 214, 204, 0.28), transparent 28%),
        radial-gradient(circle at 90% 82%, rgba(37, 92, 153, 0.28), transparent 30%),
        linear-gradient(115deg, rgba(9, 35, 43, 0.94), rgba(10, 79, 74, 0.78), rgba(15, 39, 65, 0.82)),
        url("../images/service-enterprise.png") center / cover no-repeat;
}

.service-due-diligence-page .service-hero {
    background:
        radial-gradient(circle at 74% 32%, rgba(128, 214, 204, 0.28), transparent 28%),
        radial-gradient(circle at 90% 82%, rgba(37, 92, 153, 0.28), transparent 30%),
        linear-gradient(115deg, rgba(9, 35, 43, 0.94), rgba(10, 79, 74, 0.78), rgba(15, 39, 65, 0.82)),
        url("../images/service-due-diligence.png") center / cover no-repeat;
}

.service-cloud-page .service-hero,
.service-ai-page .service-hero,
.service-cyber-page .service-hero,
.service-digital-page .service-hero,
.service-enterprise-page .service-hero,
.service-due-diligence-page .service-hero {
    background-size: auto, auto, auto, 112%;
}

.hero-particle-layer {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-particle-layer span {
    position: absolute;
    left: var(--x);
    top: var(--y);
    width: var(--s);
    height: var(--s);
    border-radius: 50%;
    background: rgba(103, 218, 255, 0.88);
    box-shadow: 0 0 18px rgba(103, 218, 255, 0.8);
    animation: particleDrift var(--t) linear infinite;
    animation-delay: var(--d);
}

.home-page .hero,
.preview-network {
    background: #06101d;
}

.home-page .hero-content {
    width: min(100%, 1200px);
    max-width: none;
    padding: 0;
    background: transparent;
    border-radius: 0;
    text-shadow: 0 3px 18px rgba(0, 0, 0, 0.74);
}

.home-page .hero h1 {
    max-width: 1120px;
    font-size: clamp(2.1rem, 4.25vw, 4.15rem);
}

.home-page .hero p:not(.eyebrow) {
    max-width: 900px;
    color: rgba(255, 255, 255, 0.94);
    font-weight: 500;
}

.home-page .hero .hero-media::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(2, 8, 20, 0.9) 0%, rgba(2, 8, 20, 0.72) 42%, rgba(2, 8, 20, 0.34) 72%, rgba(2, 8, 20, 0.16) 100%),
        linear-gradient(180deg, rgba(2, 8, 20, 0.2), rgba(2, 8, 20, 0.42));
}

.home-page .hero .hero-media,
.preview-network .hero-media {
    background:
        radial-gradient(circle at 18% 58%, rgba(0, 176, 255, 0.18), transparent 30%),
        radial-gradient(circle at 78% 40%, rgba(103, 218, 255, 0.16), transparent 28%),
        linear-gradient(180deg, rgba(2, 8, 20, 0.98), rgba(6, 18, 35, 0.94)),
        url("../images/service-cloud.png") center / cover no-repeat;
}

.home-page .hero::before,
.preview-network::before {
    right: auto;
    left: -10%;
    top: 28%;
    width: 120%;
    height: 42%;
    aspect-ratio: auto;
    border: 0;
    border-radius: 0;
    background:
        radial-gradient(ellipse at 24% 50%, rgba(103, 218, 255, 0.42), transparent 22%),
        radial-gradient(ellipse at 62% 46%, rgba(103, 218, 255, 0.34), transparent 24%),
        repeating-linear-gradient(172deg, transparent 0 16px, rgba(103, 218, 255, 0.16) 17px, transparent 19px);
    opacity: 0.86;
    filter: drop-shadow(0 0 18px rgba(103, 218, 255, 0.35));
    animation: waveSweep 10s ease-in-out infinite;
}

.home-page .hero::after,
.preview-network::after {
    inset: 16% -8% 18% 18%;
    background:
        radial-gradient(circle at 12% 44%, rgba(103, 218, 255, 0.9) 0 2px, transparent 3px),
        radial-gradient(circle at 32% 35%, rgba(255, 255, 255, 0.75) 0 1px, transparent 3px),
        radial-gradient(circle at 58% 52%, rgba(103, 218, 255, 0.85) 0 2px, transparent 3px),
        radial-gradient(circle at 82% 38%, rgba(103, 218, 255, 0.7) 0 2px, transparent 3px),
        linear-gradient(22deg, transparent 0 30%, rgba(103, 218, 255, 0.22) 30% 31%, transparent 31% 62%, rgba(255, 255, 255, 0.12) 62% 63%, transparent 63%);
    background-size: 120px 120px, 190px 190px, 160px 160px, 210px 210px, 100% 100%;
    opacity: 0.86;
}

.hero-hex-page .page-hero,
.hero-hex-page .service-hero,
.preview-hex {
    background:
        radial-gradient(circle at 22% 62%, rgba(0, 183, 255, 0.24), transparent 24%),
        linear-gradient(115deg, rgba(4, 15, 30, 0.98), rgba(7, 36, 58, 0.94)),
        url("../images/service-enterprise.png") center / cover no-repeat;
}

.hero-hex-page .page-hero::after,
.hero-hex-page .service-hero::after,
.preview-hex::after {
    inset: -20% 28% -20% -10%;
    background:
        linear-gradient(30deg, rgba(68, 198, 255, 0.2) 12%, transparent 12.5%, transparent 87%, rgba(68, 198, 255, 0.2) 87.5%, rgba(68, 198, 255, 0.2)),
        linear-gradient(150deg, rgba(68, 198, 255, 0.16) 12%, transparent 12.5%, transparent 87%, rgba(68, 198, 255, 0.16) 87.5%, rgba(68, 198, 255, 0.16)),
        linear-gradient(90deg, rgba(68, 198, 255, 0.12) 2px, transparent 2px);
    background-size: 76px 132px;
    opacity: 0.5;
    animation: hexGlow 13s ease-in-out infinite;
}

.hero-hex-page .page-hero::before,
.hero-hex-page .service-hero::before,
.preview-hex::before {
    right: 8%;
    top: 16%;
    width: clamp(220px, 28vw, 420px);
    border-radius: 8px;
    border-color: rgba(68, 198, 255, 0.18);
    background:
        linear-gradient(90deg, transparent, rgba(68, 198, 255, 0.24), transparent),
        radial-gradient(circle, rgba(68, 198, 255, 0.16), transparent 62%);
    opacity: 0.42;
    animation: gridShift 12s ease-in-out infinite;
}

.hero-flow-page .page-hero,
.hero-flow-page .service-hero,
.preview-flow {
    background:
        radial-gradient(circle at 72% 68%, rgba(151, 72, 255, 0.28), transparent 26%),
        radial-gradient(circle at 28% 44%, rgba(0, 200, 255, 0.24), transparent 25%),
        linear-gradient(120deg, rgba(5, 13, 30, 0.98), rgba(9, 30, 56, 0.95)),
        url("../images/service-ai.png") center / cover no-repeat;
}

.hero-flow-page .page-hero::before,
.hero-flow-page .service-hero::before,
.preview-flow::before {
    left: -8%;
    right: auto;
    top: 44%;
    width: 116%;
    height: 34%;
    aspect-ratio: auto;
    border: 0;
    border-radius: 0;
    background:
        radial-gradient(ellipse at 30% 52%, rgba(0, 210, 255, 0.46), transparent 24%),
        radial-gradient(ellipse at 72% 48%, rgba(171, 71, 255, 0.5), transparent 24%),
        repeating-linear-gradient(166deg, transparent 0 13px, rgba(0, 210, 255, 0.17) 14px, transparent 17px),
        repeating-linear-gradient(15deg, transparent 0 18px, rgba(171, 71, 255, 0.14) 19px, transparent 21px);
    opacity: 0.86;
    filter: drop-shadow(0 0 22px rgba(0, 210, 255, 0.22));
    animation: waveSweep 9s ease-in-out infinite reverse;
}

.hero-flow-page .page-hero::after,
.hero-flow-page .service-hero::after,
.preview-flow::after {
    background:
        radial-gradient(circle at 18% 32%, rgba(0, 210, 255, 0.72) 0 2px, transparent 3px),
        radial-gradient(circle at 66% 56%, rgba(171, 71, 255, 0.74) 0 2px, transparent 3px),
        radial-gradient(circle at 84% 38%, rgba(255, 255, 255, 0.45) 0 1px, transparent 3px),
        linear-gradient(115deg, transparent 0 20%, rgba(0, 210, 255, 0.16) 20% 21%, transparent 21% 55%, rgba(171, 71, 255, 0.18) 55% 56%, transparent 56%);
    opacity: 0.82;
}

.hero-hud-page .service-hero,
.preview-hud {
    background:
        radial-gradient(circle at 72% 50%, rgba(0, 194, 255, 0.28), transparent 26%),
        linear-gradient(115deg, rgba(3, 13, 26, 0.98), rgba(4, 32, 57, 0.94)),
        url("../images/service-cyber.png") center / cover no-repeat;
}

.hero-hud-page .service-hero::before,
.preview-hud::before {
    right: clamp(24px, 10vw, 180px);
    top: 12%;
    width: clamp(260px, 34vw, 520px);
    border-color: rgba(0, 194, 255, 0.28);
    background:
        radial-gradient(circle, transparent 0 18%, rgba(0, 194, 255, 0.28) 18.5% 19%, transparent 19.5% 34%, rgba(0, 194, 255, 0.24) 34.5% 35%, transparent 35.5% 50%, rgba(0, 194, 255, 0.18) 50.5% 51%, transparent 51.5%),
        repeating-conic-gradient(from 0deg, rgba(0, 194, 255, 0.36) 0 3deg, transparent 3deg 13deg);
    opacity: 0.86;
    animation: hudRotate 15s ease-in-out infinite;
}

.hero-hud-page .service-hero::after,
.preview-hud::after {
    inset: 22% -4% 24% 34%;
    background:
        linear-gradient(90deg, transparent, rgba(0, 194, 255, 0.44), transparent),
        repeating-linear-gradient(0deg, transparent 0 19px, rgba(0, 194, 255, 0.12) 20px, transparent 22px);
    background-size: 260px 100%, 100% 42px;
    animation: scanFlow 8s ease-in-out infinite;
}

.hero-hex-page .hero-particle-layer span,
.preview-hex .hero-particle-layer span {
    background: rgba(68, 198, 255, 0.86);
    box-shadow: 0 0 16px rgba(68, 198, 255, 0.72);
}

.hero-flow-page .hero-particle-layer span,
.preview-flow .hero-particle-layer span {
    background: rgba(171, 71, 255, 0.82);
    box-shadow: 0 0 18px rgba(171, 71, 255, 0.75), 0 0 26px rgba(0, 210, 255, 0.32);
}

.hero-hud-page .hero-particle-layer span,
.preview-hud .hero-particle-layer span {
    background: rgba(0, 194, 255, 0.88);
    box-shadow: 0 0 20px rgba(0, 194, 255, 0.82);
}

.prose p:first-child {
    margin-top: 0;
}

.mission {
    background: #10262e;
}

.mission h2 {
    max-width: 1040px;
    color: white;
}

.service-list {
    display: grid;
    gap: 16px;
}

.service-row {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: start;
    padding: 26px;
    text-decoration: none;
    overflow: hidden;
}

.service-row.featured-service {
    border-color: #8fc7bf;
    background:
        linear-gradient(135deg, rgba(234, 244, 242, 0.96), rgba(255, 255, 255, 0.98)),
        radial-gradient(circle at 86% 20%, rgba(15, 118, 110, 0.18), transparent 28%);
}

.service-row h2 {
    font-size: clamp(1.35rem, 2vw, 2rem);
}

.service-row p {
    margin-bottom: 0;
}

.service-row em {
    position: relative;
    z-index: 1;
    color: var(--teal-dark);
    font-style: normal;
    font-size: 0.9rem;
    font-weight: 850;
}

.detail-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(280px, 0.72fr);
}

.benefit-panel {
    padding: 26px;
    background: #f7fbfb;
}

.compliance-strip {
    padding-top: 48px;
    padding-bottom: 48px;
    background: var(--soft);
}

.compliance-strip div {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.compliance-strip span {
    padding: 8px 12px;
    color: var(--teal-dark);
    background: white;
    border: 1px solid #bedbd7;
    border-radius: 8px;
    font-weight: 700;
}

.case-feature {
    background: var(--soft);
}

.case-feature article {
    padding: clamp(28px, 5vw, 52px);
}

.project-stack {
    display: grid;
    gap: 24px;
    background: #f7fbfb;
}

.project-card {
    padding: clamp(26px, 5vw, 52px);
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.project-card.featured-project {
    border-color: #a9cbc6;
}

.project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.project-meta span {
    padding: 7px 9px;
    color: var(--teal-dark);
    background: #eaf4f2;
    border: 1px solid #c6ded9;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 750;
}

.project-card .eyebrow {
    font-size: 0.92rem;
}

.project-body {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(28px, 5vw, 72px);
}

.outcome-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 28px;
}

.outcome-grid li {
    padding: 14px 16px;
    color: #253840;
    background: #f7fbfb;
    border-left: 3px solid var(--teal);
}

.case-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    margin: 28px 0;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.case-grid article {
    padding: 24px;
}

.case-grid h2 {
    font-size: 1.45rem;
}

.case-grid h3 {
    margin-top: 22px;
    color: var(--teal-dark);
    font-size: 0.88rem;
    text-transform: uppercase;
}

.case-hub {
    display: grid;
    gap: 26px;
    background: #f7fbfb;
}

.case-tile-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.case-tile {
    position: relative;
    display: grid;
    min-height: 210px;
    grid-template-rows: auto 1fr auto auto;
    align-content: stretch;
    gap: 8px;
    padding: 20px;
    overflow: hidden;
    color: var(--ink);
    text-align: left;
    border: 1px solid #c8deda;
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(247, 251, 251, 0.98)),
        radial-gradient(circle at 82% 18%, rgba(15, 118, 110, 0.12), transparent 30%);
    box-shadow: 0 16px 38px rgba(15, 41, 52, 0.16);
    cursor: pointer;
    text-decoration: none;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.case-tile::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(15, 118, 110, 0.04) 1px, transparent 1px),
        linear-gradient(0deg, rgba(15, 118, 110, 0.04) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
}

.case-tile:hover {
    transform: translateY(-3px);
    border-color: #80d6cc;
    box-shadow: 0 20px 44px rgba(15, 41, 52, 0.18);
}

.case-tile.is-active {
    outline: 3px solid rgba(15, 118, 110, 0.16);
    border-color: #80d6cc;
    background:
        linear-gradient(135deg, rgba(234, 244, 242, 0.98), rgba(255, 255, 255, 0.98)),
        radial-gradient(circle at 82% 18%, rgba(15, 118, 110, 0.18), transparent 30%);
}

.case-tile span,
.case-tile strong {
    position: relative;
    z-index: 1;
}

.case-tile span {
    color: var(--gold);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.case-tile strong {
    color: var(--ink);
    line-height: 1.16;
    font-size: 1rem;
}

.case-tile em {
    position: relative;
    z-index: 1;
    color: var(--teal-dark);
    font-style: normal;
    font-size: 0.88rem;
    font-weight: 850;
}

.case-sector-badge {
    display: inline-grid;
    place-items: center;
    align-self: start;
    width: fit-content;
    min-width: 74px;
    min-height: 46px;
    padding: 8px 12px;
    color: white !important;
    background: #0f766e;
    border-radius: 8px;
    box-shadow: 0 12px 26px rgba(15, 118, 110, 0.22);
    font-size: 0.9rem !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

.case-nhs .case-sector-badge,
.case-tphc .case-sector-badge {
    background: #1864a6;
}

.case-police .case-sector-badge {
    background: #173f73;
}

.case-tfl .case-sector-badge {
    background: #123c69;
}

.case-detail-stack {
    position: relative;
}

.case-detail-page-layout {
    display: grid;
    grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: start;
    background: #f7fbfb;
}

.case-summary-card {
    position: sticky;
    top: 96px;
    display: grid;
    gap: 16px;
    padding: 26px;
    background: white;
    border: 1px solid #c8deda;
    border-radius: 8px;
    box-shadow: 0 18px 45px rgba(15, 41, 52, 0.1);
}

.case-summary-card .case-sector-badge {
    margin-bottom: 4px;
}

.case-summary-card h2 {
    font-size: clamp(1.35rem, 2vw, 1.9rem);
}

.case-detail-page-content {
    display: grid;
    gap: 22px;
}

.case-detail-page-content > section {
    padding: clamp(24px, 4vw, 40px);
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 14px 36px rgba(15, 41, 52, 0.08);
}

.case-detail {
    display: none;
    padding: clamp(26px, 5vw, 52px);
    background: white;
    border: 1px solid #b9d7d2;
    border-radius: 8px;
    box-shadow: 0 18px 45px rgba(15, 41, 52, 0.12);
}

.case-detail.is-active {
    display: grid;
    gap: 28px;
}

.case-detail-head {
    max-width: 980px;
}

.case-detail-head h2 {
    max-width: 820px;
}

.case-modal,
.service-modal {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: none;
    padding: clamp(14px, 3vw, 32px);
}

.case-modal.is-open,
.service-modal.is-open {
    display: grid;
    place-items: center;
}

.modal-open {
    overflow: hidden;
}

.case-modal-backdrop,
.service-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(3, 13, 26, 0.74);
    backdrop-filter: blur(4px);
}

.case-modal-dialog,
.service-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(1120px, 100%);
    max-height: min(86vh, 900px);
    overflow: auto;
    padding: clamp(24px, 4vw, 44px);
    background: white;
    border: 1px solid #b9d7d2;
    border-radius: 8px;
    box-shadow: 0 28px 80px rgba(3, 13, 26, 0.38);
}

.case-modal-close,
.service-modal-close {
    position: sticky;
    top: 0;
    z-index: 2;
    float: right;
    width: 42px;
    height: 42px;
    margin: -10px -10px 12px 18px;
    color: var(--ink);
    background: #f7fbfb;
    border: 1px solid #c8deda;
    border-radius: 8px;
    font: inherit;
    font-weight: 900;
    cursor: pointer;
}

.case-modal-panel,
.service-modal-panel {
    display: none;
    gap: 28px;
    clear: both;
}

.case-modal-panel.is-active,
.service-modal-panel.is-active {
    display: grid;
}

.case-modal-panel .case-sector-badge {
    margin-bottom: 14px;
}

.case-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(24px, 5vw, 64px);
}

.outcome-list {
    display: grid;
    gap: 10px;
    padding: 0;
    list-style: none;
}

.outcome-list li {
    position: relative;
    padding: 14px 16px 14px 42px;
    color: #20343c;
    background: #f4f8f8;
    border: 1px solid #dce8ea;
    border-radius: 8px;
}

.outcome-list li::before {
    content: "";
    position: absolute;
    left: 16px;
    top: 1.15em;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--teal);
    box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.12);
}

.testimonial-placeholder {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: center;
    background: #f7fbfb;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.testimonial-track {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.testimonial-track span {
    padding: 18px 20px;
    color: var(--teal-dark);
    background: white;
    border: 1px solid #c8deda;
    border-radius: 8px;
    font-weight: 800;
    box-shadow: 0 10px 28px rgba(15, 41, 52, 0.08);
}

.offer-panel {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: start;
    background: #f7fbfb;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.home-offer {
    border-top: 0;
}

.offer-steps {
    display: grid;
    gap: 14px;
}

.offer-steps article,
.assessment-grid article,
.resource-card,
.score-grid article {
    position: relative;
    padding: 22px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 12px 32px rgba(15, 41, 52, 0.08);
}

.offer-steps span {
    display: inline-flex;
    margin-bottom: 10px;
    color: var(--teal-dark);
    font-weight: 900;
}

.assessment-grid,
.resource-grid,
.score-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.resource-grid {
    align-items: stretch;
}

.resource-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.resource-card h2 {
    font-size: clamp(1.25rem, 1.8vw, 1.8rem);
}

.featured-resource {
    grid-column: span 2;
    border-color: #8fc7bf;
    background:
        linear-gradient(135deg, rgba(234, 244, 242, 0.96), rgba(255, 255, 255, 0.98)),
        radial-gradient(circle at 88% 18%, rgba(15, 118, 110, 0.18), transparent 28%);
}

.resource-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: auto;
}

.resource-callout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: #10262e;
}

.resource-callout h2,
.resource-callout p {
    color: white;
}

.guide-layout {
    display: grid;
    grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: start;
}

.checklist-stack {
    display: grid;
    gap: 18px;
}

.checklist-stack article {
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}

.score-panel {
    display: grid;
    grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
    gap: clamp(28px, 5vw, 72px);
    background: #f7fbfb;
}

.disclaimer-strip {
    padding-top: 34px;
    padding-bottom: 34px;
    background: #fff8ed;
    border-top: 1px solid #ead7b8;
    border-bottom: 1px solid #ead7b8;
}

.disclaimer-strip p {
    max-width: 980px;
}

.legal-content {
    display: grid;
    gap: 22px;
    max-width: 980px;
}

.legal-content article {
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
}

.form-note {
    margin: -4px 0 0;
    color: var(--muted);
    font-size: 0.88rem;
}

.form-note a {
    color: var(--teal-dark);
    font-weight: 800;
}

.contact-layout {
    grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
}

.contact-panel,
.contact-form {
    padding: 28px;
}

.contact-form {
    display: grid;
    gap: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.contact-form label {
    display: grid;
    gap: 7px;
    color: #243840;
    font-weight: 750;
}

input,
select,
textarea {
    width: 100%;
    min-height: 46px;
    padding: 11px 12px;
    color: var(--ink);
    border: 1px solid #c9d6da;
    border-radius: 8px;
    font: inherit;
}

textarea {
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    outline: 3px solid rgba(15, 118, 110, 0.18);
    border-color: var(--teal);
}

.hidden-field {
    position: absolute;
    left: -10000px;
}

.form-success,
.form-error {
    padding: 14px 16px;
    border-radius: 8px;
    font-weight: 750;
}

.form-success {
    color: #0f5132;
    background: #e7f6ee;
}

.form-error {
    color: #842029;
    background: #f8d7da;
}

.submission-toast {
    position: fixed;
    right: clamp(16px, 4vw, 40px);
    top: 92px;
    z-index: 40;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    width: min(440px, calc(100vw - 32px));
    padding: 18px;
    color: #0d352f;
    background: #ecfbf7;
    border: 1px solid #9dd9cf;
    border-radius: 8px;
    box-shadow: 0 22px 55px rgba(15, 41, 52, 0.22);
}

.submission-toast strong {
    display: block;
    color: #0d352f;
    line-height: 1.3;
}

.submission-toast p {
    margin: 6px 0 0;
    color: #35534e;
}

.toast-close {
    flex: 0 0 auto;
    min-height: 36px;
    padding: 7px 10px;
    color: var(--teal-dark);
    background: white;
    border: 1px solid #b9d7d2;
    border-radius: 8px;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.submission-toast.is-hidden {
    display: none;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 32px;
    padding: 44px clamp(20px, 5vw, 72px);
    color: white;
    background: #0b171b;
}

.site-footer p,
.footer-brand small {
    color: rgba(255, 255, 255, 0.7);
}

.footer-brand strong,
.footer-brand small {
    display: block;
    line-height: 1.25;
}

.footer-brand small {
    margin-top: 3px;
}

.legal-line {
    max-width: 760px;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.62);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 22px;
    align-content: start;
    justify-content: flex-end;
}

.footer-links a {
    color: white;
    text-decoration: none;
}

@media (max-width: 960px) {
    .site-header {
        align-items: flex-start;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .nav-toggle {
        display: block;
        flex: 0 0 auto;
    }

    .site-nav {
        position: absolute;
        left: 20px;
        right: 20px;
        top: 76px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 12px;
        background: white;
        border: 1px solid var(--line);
        border-radius: 8px;
        box-shadow: var(--shadow);
    }

    .site-nav.is-open {
        display: flex;
    }

    .intro-grid,
    .prose-grid,
    .split-band,
    .detail-layout,
    .contact-layout,
    .case-detail-grid,
    .case-detail-page-layout,
    .case-columns,
    .founder-strip,
    .founder-profile,
    .project-body,
    .offer-panel,
    .guide-layout,
    .score-panel {
        grid-template-columns: 1fr;
    }

    .case-summary-card {
        position: static;
    }

    .card-grid.six,
    .tick-grid,
    .case-grid,
    .case-tile-grid,
    .proof-band,
    .outcome-grid,
    .assessment-grid,
    .resource-grid,
    .score-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .featured-resource {
        grid-column: auto;
    }

    .cta-band,
    .site-footer,
    .resource-callout {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-links {
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    .site-header {
        padding: 12px 16px;
    }

    .brand {
        gap: 10px;
    }

    .brand-logo {
        width: 72px;
    }

    .brand strong {
        font-size: 0.94rem;
        line-height: 1.12;
    }

    .brand small {
        display: none;
    }

    .nav-toggle {
        width: 42px;
        height: 42px;
    }

    .hero {
        min-height: auto;
        padding: 54px 16px 66px;
    }

    .hero-media {
        background:
            radial-gradient(circle at 70% 28%, rgba(128, 214, 204, 0.28), transparent 28%),
            radial-gradient(circle at 90% 82%, rgba(37, 92, 153, 0.28), transparent 30%),
            linear-gradient(115deg, rgba(8, 31, 38, 0.96) 0%, rgba(10, 79, 74, 0.9) 56%, rgba(15, 39, 65, 0.9) 100%),
            url("../images/service-cloud.png") 62% center / cover no-repeat;
        background-size: auto, auto, auto, cover;
    }

    .hero h1,
    .page-hero h1,
    .service-hero h1 {
        font-size: clamp(1.75rem, 9vw, 2.35rem);
        line-height: 1.08;
    }

    .hero-content {
        margin-left: 0;
        padding: 20px 16px;
        background: rgba(3, 13, 26, 0.76);
        border: 1px solid rgba(255, 255, 255, 0.12);
    }

    .home-page .hero-content {
        padding: 0;
        background: transparent;
        border: 0;
    }

    .home-page .hero .hero-media::before {
        background:
            linear-gradient(90deg, rgba(2, 8, 20, 0.94) 0%, rgba(2, 8, 20, 0.82) 70%, rgba(2, 8, 20, 0.62) 100%),
            linear-gradient(180deg, rgba(2, 8, 20, 0.18), rgba(2, 8, 20, 0.56));
    }

    .home-page .hero h1 {
        max-width: none;
        font-size: clamp(2rem, 10vw, 2.75rem);
    }

    .home-page .hero p:not(.eyebrow) {
        max-width: none;
        color: rgba(255, 255, 255, 0.95);
    }

    .hero p:not(.eyebrow),
    .page-hero p:not(.eyebrow),
    .service-hero p:not(.eyebrow),
    p {
        font-size: 0.94rem;
    }

    h2 {
        font-size: clamp(1.38rem, 7vw, 1.95rem);
        line-height: 1.14;
    }

    .section {
        padding: 48px 16px;
    }

    .page-hero,
    .service-hero {
        padding: 58px 16px 66px;
    }

    .service-card {
        min-height: 124px;
        padding: 22px;
    }

    .service-card h3 {
        font-size: 1.18rem;
    }

    .proof-card {
        padding: 20px;
    }

    .proof-card span {
        font-size: 1.75rem;
    }

    .architecture-map {
        min-height: 168px;
    }

    .map-node {
        min-width: 78px;
        min-height: 38px;
        font-size: 0.8rem;
    }

    .advisory-flow {
        min-height: 300px;
    }

    .flow-core {
        width: 92px;
        height: 92px;
    }

    .flow-core span {
        font-size: 1.45rem;
    }

    .flow-node {
        width: 92px;
        min-height: 40px;
        font-size: 0.78rem;
    }

    .node-assess { left: 6%; top: 12%; }
    .node-design { right: 6%; top: 12%; }
    .node-govern { left: 6%; bottom: 12%; }
    .node-deliver { right: 6%; bottom: 12%; }

    .case-tile {
        min-height: 150px;
    }

    .case-modal,
    .service-modal {
        padding: 0;
    }

    .case-modal.is-open,
    .service-modal.is-open {
        place-items: stretch;
    }

    .case-modal-dialog,
    .service-modal-dialog {
        width: 100%;
        max-height: 100vh;
        border-radius: 0;
        border-left: 0;
        border-right: 0;
        padding: 22px 16px 34px;
    }

    .case-modal-close,
    .service-modal-close {
        top: 8px;
        margin: 0 0 12px 12px;
    }

    .hero::before,
    .page-hero::before,
    .service-hero::before {
        right: -42px;
        top: 18px;
        width: 180px;
    }

    .hero::after,
    .page-hero::after,
    .service-hero::after {
        inset: 0 -40% -10% 18%;
        opacity: 0.62;
    }

    .submission-toast {
        left: 16px;
        right: 16px;
        top: 86px;
    }

    .card-grid.six,
    .tick-grid,
    .case-grid,
    .case-tile-grid,
    .proof-band,
    .credential-list,
    .outcome-grid,
    .assessment-grid,
    .resource-grid,
    .score-grid {
        grid-template-columns: 1fr;
    }

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

    .testimonial-placeholder,
    .testimonial-track {
        grid-template-columns: 1fr;
    }

    .button {
        width: 100%;
    }
}
