:root {
    --brand: #e74c3d;
    --brand-dark: #bf3429;
    --ink: #172433;
    --muted: #617181;
    --line: #e8edf1;
    --soft: #fbf7f5;
    --paper: #ffffff;
    --header-height: 88px;
    --ease: cubic-bezier(0.19, 1, 0.22, 1);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img,
canvas {
    display: block;
    max-width: 100%;
}

button {
    font: inherit;
}

.skip-link {
    position: fixed;
    left: 16px;
    top: 16px;
    z-index: 100;
    transform: translateY(-150%);
    border-radius: 999px;
    background: var(--ink);
    color: #fff;
    padding: 10px 14px;
    transition: transform 180ms ease;
}

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

.container {
    width: min(1120px, calc(100% - 40px));
    margin-inline: auto;
}

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 50;
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 clamp(20px, 4vw, 64px);
    transition: background-color 260ms ease, box-shadow 260ms ease, height 260ms ease;
}

.site-header.is-scrolled {
    height: 74px;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

.brand {
    display: inline-flex;
    align-items: center;
    width: clamp(154px, 16vw, 210px);
}

.brand img {
    width: 100%;
    height: auto;
}

.menu-toggle {
    width: 54px;
    height: 54px;
    border: 1px solid rgba(23, 36, 51, 0.12);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.72);
    display: grid;
    place-items: center;
    gap: 0;
    cursor: pointer;
    box-shadow: 0 16px 40px rgba(23, 36, 51, 0.08);
    backdrop-filter: blur(14px);
    transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.menu-toggle:hover {
    transform: translateY(-2px);
    border-color: rgba(231, 76, 61, 0.5);
}

.sail-menu-icon {
    position: relative;
    width: 24px;
    height: 24px;
    transform: rotate(-8deg);
    transition: transform 420ms var(--ease);
}

.sail-menu-icon::before {
    content: "";
    position: absolute;
    left: 3px;
    top: 4px;
    width: 15px;
    height: 16px;
    background: var(--brand);
    clip-path: polygon(100% 0, 0 62%, 100% 100%);
    transition: transform 420ms var(--ease), opacity 260ms ease;
}

.sail-menu-icon::after {
    content: "";
    position: absolute;
    right: 3px;
    top: 3px;
    width: 3px;
    height: 19px;
    border-radius: 999px;
    background: var(--ink);
    transform: skewY(-10deg);
    transition: transform 420ms var(--ease), background 260ms ease;
}

.sail-menu-icon i {
    position: absolute;
    left: 5px;
    bottom: 3px;
    width: 14px;
    height: 4px;
    border-radius: 999px;
    background: rgba(23, 36, 51, 0.22);
    transform: skewX(-28deg);
    transition: transform 420ms var(--ease), opacity 260ms ease;
}

.menu-open .sail-menu-icon {
    transform: rotate(0deg);
}

.menu-open .sail-menu-icon::before {
    opacity: 0;
    transform: scale(0.3);
}

.menu-open .sail-menu-icon::after {
    right: 10px;
    top: 3px;
    width: 3px;
    height: 20px;
    background: var(--ink);
    transform: rotate(45deg);
}

.menu-open .sail-menu-icon i {
    left: 10px;
    bottom: auto;
    top: 3px;
    width: 3px;
    height: 20px;
    background: var(--ink);
    transform: rotate(-45deg);
    opacity: 1;
}

.side-menu {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 70;
    width: min(50vw, 640px);
    min-width: 420px;
    background: #fff;
    transform: translateX(104%);
    transition: transform 700ms var(--ease);
    box-shadow: -32px 0 80px rgba(23, 36, 51, 0.12);
}

.side-menu.is-open {
    transform: translateX(0);
}

.side-menu__inner {
    height: 100%;
    padding: clamp(28px, 5vw, 64px);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.side-menu__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.side-menu__top img {
    width: 70px;
    height: auto;
}

.side-menu__close {
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: var(--soft);
    cursor: pointer;
    position: relative;
}

.side-menu__close::before,
.side-menu__close::after {
    content: "";
    position: absolute;
    left: 15px;
    top: 23px;
    width: 18px;
    height: 2px;
    background: var(--ink);
    border-radius: 999px;
}

.side-menu__close::before {
    transform: rotate(45deg);
}

.side-menu__close::after {
    transform: rotate(-45deg);
}

.side-menu__nav {
    display: grid;
    gap: 12px;
    margin-block: auto;
    padding-block: 28px;
}

.side-menu__link,
.menu-group__toggle {
    width: fit-content;
    font-size: clamp(1rem, 2.2vw, 2.2rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0;
    transition: color 220ms ease, transform 300ms var(--ease);
}

.side-menu__link:hover,
.side-menu__link:focus-visible,
.menu-group__toggle:hover,
.menu-group__toggle:focus-visible {
    color: var(--brand);
    transform: translateX(10px);
}

.menu-group {
    display: grid;
    gap: 0;
}

.menu-group__toggle {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    border: 0;
    padding: 0;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
    text-align: left;
}

.menu-group__toggle i {
    position: relative;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    border: 1px solid rgba(23, 36, 51, 0.16);
    border-radius: 50%;
}

.menu-group__toggle i::before,
.menu-group__toggle i::after {
    content: "";
    position: absolute;
    left: 4px;
    right: 4px;
    top: 8px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 260ms ease;
}

.menu-group__toggle i::after {
    transform: rotate(90deg);
}

.menu-group.is-open .menu-group__toggle {
    color: var(--brand);
}

.menu-group.is-open .menu-group__toggle i::after {
    transform: rotate(0deg);
}

.menu-group__panel {
    display: grid;
    gap: 10px;
    max-height: 0;
    overflow: hidden;
    padding-left: clamp(18px, 2vw, 28px);
    border-left: 1px solid transparent;
    opacity: 0;
    transition: max-height 520ms var(--ease), opacity 260ms ease, margin-top 260ms ease, border-color 260ms ease;
}

.menu-group.is-open .menu-group__panel {
    max-height: 860px;
    margin-top: 16px;
    border-color: rgba(231, 76, 61, 0.28);
    opacity: 1;
}

.menu-group__panel .menu-group {
    margin-block: 4px;
}

.menu-group__panel .menu-group__toggle {
    color: var(--ink);
    font-size: clamp(1rem, 1.35vw, 1.16rem);
    line-height: 1.1;
}

.menu-group__panel .menu-group__toggle i {
    width: 16px;
    height: 16px;
    flex-basis: 16px;
}

.menu-group__panel .menu-group__toggle i::before,
.menu-group__panel .menu-group__toggle i::after {
    left: 4px;
    right: 4px;
    top: 7px;
}

.menu-group__panel .menu-group__panel {
    gap: 8px;
    padding-left: 18px;
}

.menu-group__panel .menu-group.is-open .menu-group__panel {
    max-height: 420px;
    margin-top: 12px;
}

.menu-group__panel a {
    width: fit-content;
    color: var(--muted);
    font-size: clamp(0.92rem, 1.2vw, 1.05rem);
    font-weight: 800;
    line-height: 1.1;
    transition: color 180ms ease, transform 240ms var(--ease);
}

.menu-group__panel a:hover,
.menu-group__panel a:focus-visible {
    color: var(--brand);
    transform: translateX(8px);
}

.side-menu p {
    max-width: 440px;
    margin: 48px 0 0;
    color: var(--muted);
}

.menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 60;
    background: rgba(23, 36, 51, 0.24);
    opacity: 0;
    pointer-events: none;
    transition: opacity 450ms ease;
}

.menu-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
}

.hero {
    position: relative;
    min-height: 100svh;
    display: grid;
    align-items: center;
    overflow: hidden;
    padding: calc(var(--header-height) + 72px) 0 96px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0) 76%, #fff 100%),
        radial-gradient(circle at 78% 36%, rgba(231, 76, 61, 0.08), transparent 28%),
        #fff;
}

.particle-field {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

.hero__mark {
    position: absolute;
    right: clamp(-40px, 6vw, 96px);
    top: 22%;
    width: clamp(210px, 32vw, 520px);
    opacity: 0.08;
    transform: rotate(-8deg);
    pointer-events: none;
}

.hero__content {
    position: relative;
    z-index: 1;
    max-width: 980px;
}

.eyebrow,
.section-kicker {
    margin: 0 0 20px;
    color: var(--brand);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero h1,
.section h2 {
    margin: 0;
    color: var(--ink);
    line-height: 0.98;
    letter-spacing: 0;
}

.hero h1 {
    max-width: 1080px;
    font-size: clamp(3.35rem, 6vw, 6.9rem);
    font-weight: 800;
}

.hero__lead {
    max-width: 720px;
    margin: 18px 0 0;
    color: var(--muted);
    font-size: clamp(1.06rem, 1.7vw, 1.32rem);
}

.hero__slogan {
    margin: 20px 0 0;
    color: var(--brand);
    font-size: clamp(1.12rem, 2.1vw, 1.72rem);
    font-weight: 800;
    line-height: 1.15;
}

.primary-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    margin-top: 30px;
    padding: 0 26px;
    border-radius: 999px;
    background: var(--brand);
    color: #fff;
    font-weight: 800;
    box-shadow: 0 20px 44px rgba(231, 76, 61, 0.28);
    transition: transform 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.primary-cta:hover,
.primary-cta:focus-visible {
    transform: translateY(-3px);
    background: var(--brand-dark);
    box-shadow: 0 24px 54px rgba(231, 76, 61, 0.36);
}

.section {
    position: relative;
    padding: clamp(82px, 10vw, 150px) 0;
    overflow: hidden;
}

.section::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, transparent, rgba(231, 76, 61, 0.026) 46%, transparent),
        linear-gradient(90deg, transparent, rgba(23, 36, 51, 0.025), transparent);
}

.section--intro {
    padding-top: clamp(72px, 8vw, 112px);
}

.intro-grid,
.approach__grid,
.focus__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 0.45fr 1fr;
    gap: clamp(36px, 7vw, 92px);
    align-items: start;
}

.intro-grid h2,
.section-heading h2,
.approach h2,
.focus h2,
.contact h2 {
    font-size: clamp(2.45rem, 5.8vw, 5.8rem);
    font-weight: 800;
}

.intro-grid p:not(.section-kicker),
.focus__copy p,
.contact p {
    max-width: 720px;
    margin: 24px 0 0;
    color: var(--muted);
    font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.section-heading {
    position: relative;
    z-index: 1;
    max-width: 780px;
    margin-bottom: clamp(44px, 6vw, 78px);
}

.service-list {
    position: relative;
    z-index: 1;
    display: grid;
    border-top: 1px solid var(--line);
}

.service-item {
    display: grid;
    grid-template-columns: 96px minmax(180px, 0.42fr) 1fr;
    gap: clamp(20px, 4vw, 54px);
    align-items: center;
    padding: clamp(24px, 4vw, 46px) 0;
    border-bottom: 1px solid var(--line);
}

.service-item span {
    color: var(--brand);
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.service-item h3 {
    margin: 0;
    font-size: clamp(1.3rem, 2.3vw, 2.05rem);
    line-height: 1.1;
}

.service-item p {
    margin: 0;
    color: var(--muted);
}

.inline-service-link {
    color: var(--brand);
    font-weight: 800;
}

.approach {
    background: linear-gradient(180deg, #fff 0%, var(--soft) 52%, #fff 100%);
}

.timeline {
    display: grid;
    gap: 0;
    border-top: 1px solid rgba(23, 36, 51, 0.12);
}

.timeline__item {
    display: grid;
    grid-template-columns: 74px 1fr;
    gap: 24px;
    padding: 30px 0;
    border-bottom: 1px solid rgba(23, 36, 51, 0.12);
}

.timeline__item > span {
    color: var(--brand);
    font-weight: 800;
}

.timeline__item h3 {
    margin: 0;
    font-size: 1.18rem;
}

.timeline__item p {
    margin: 8px 0 0;
    color: var(--muted);
}

.focus__grid {
    grid-template-columns: 1fr 0.74fr;
    align-items: center;
}

.metric-strip {
    display: grid;
    gap: 0;
    border-left: 2px solid var(--brand);
}

.metric-strip div {
    padding: 24px 0 24px 30px;
    border-bottom: 1px solid var(--line);
}

.metric-strip div:first-child {
    border-top: 1px solid var(--line);
}

.metric-strip strong,
.metric-strip span {
    display: block;
}

.metric-strip strong {
    font-size: clamp(1.35rem, 2.4vw, 2rem);
    line-height: 1.05;
}

.metric-strip span {
    margin-top: 8px;
    color: var(--muted);
}

.contact {
    padding-bottom: clamp(90px, 12vw, 160px);
    background:
        linear-gradient(180deg, #fff 0%, rgba(231, 76, 61, 0.05) 58%, #fff 100%);
}

.contact__inner {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.contact-link {
    display: inline-flex;
    margin-top: 32px;
    color: var(--brand);
    font-size: clamp(1.35rem, 3vw, 2.6rem);
    font-weight: 800;
    line-height: 1.1;
    word-break: break-word;
}

.service-page-hero {
    position: relative;
    min-height: 92svh;
    display: grid;
    align-items: center;
    overflow: hidden;
    padding: calc(var(--header-height) + 86px) 0 106px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0) 78%, #fff 100%),
        radial-gradient(circle at 82% 42%, rgba(231, 76, 61, 0.09), transparent 30%),
        #fff;
}

.service-page-hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
    gap: clamp(42px, 7vw, 96px);
    align-items: center;
}

.service-page-hero h1 {
    max-width: 880px;
    margin: 0;
    color: var(--ink);
    font-size: clamp(3.2rem, 6.6vw, 7.2rem);
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: 0;
}

.service-page-hero__mark {
    position: absolute;
    right: clamp(-78px, 4vw, 72px);
    top: 18%;
    width: clamp(220px, 34vw, 520px);
    opacity: 0.065;
    transform: rotate(-10deg);
    pointer-events: none;
}

.service-radar {
    position: relative;
    aspect-ratio: 1;
    border: 1px solid rgba(23, 36, 51, 0.12);
    border-radius: 50%;
    display: grid;
    place-items: center;
    overflow: hidden;
    --orbit-radius: clamp(122px, 13vw, 166px);
}

.service-radar::before,
.service-radar::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(231, 76, 61, 0.16);
    z-index: 1;
}

.service-radar::before {
    inset: 18%;
}

.service-radar::after {
    inset: 36%;
    background: rgba(231, 76, 61, 0.06);
}

.service-radar__sweep {
    position: absolute;
    inset: 7%;
    z-index: 0;
    border-radius: 50%;
    background: conic-gradient(from -20deg, rgba(231, 76, 61, 0.24) 0deg, rgba(231, 76, 61, 0.08) 36deg, transparent 74deg);
    filter: blur(0.2px);
    opacity: 0.9;
    transform-origin: 50% 50%;
    animation: radarSweep 5.5s linear infinite;
}

.service-radar span {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 2;
    width: 0;
    height: 0;
    animation: radarOrbit 24s linear infinite;
}

.service-radar span b {
    display: grid;
    place-items: center;
    width: 74px;
    height: 74px;
    border: 1px solid rgba(231, 76, 61, 0.22);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.78);
    color: var(--brand);
    font-size: 0.84rem;
    font-weight: 800;
    box-shadow: 0 18px 46px rgba(23, 36, 51, 0.08);
    backdrop-filter: blur(12px);
    transform: translate(-50%, -50%);
    animation: radarCounter 24s linear infinite;
}

.service-radar span:nth-of-type(1) {
    animation-delay: 0s;
}

.service-radar span:nth-of-type(1) b {
    animation-delay: 0s;
}

.service-radar span:nth-of-type(2) {
    animation-delay: -4.8s;
}

.service-radar span:nth-of-type(2) b {
    animation-delay: -4.8s;
}

.service-radar span:nth-of-type(3) {
    animation-delay: -9.6s;
}

.service-radar span:nth-of-type(3) b {
    animation-delay: -9.6s;
}

.service-radar span:nth-of-type(4) {
    animation-delay: -14.4s;
}

.service-radar span:nth-of-type(4) b {
    animation-delay: -14.4s;
}

.service-radar span:nth-of-type(5) {
    animation-delay: -19.2s;
}

.service-radar span:nth-of-type(5) b {
    animation-delay: -19.2s;
}

.service-manifest__grid,
.service-stack__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 0.42fr 1fr;
    gap: clamp(36px, 7vw, 92px);
    align-items: start;
}

.service-manifest h2,
.service-stack h2 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(2.45rem, 5.8vw, 5.8rem);
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: 0;
}

.service-manifest p:not(.section-kicker) {
    max-width: 760px;
    margin: 24px 0 0;
    color: var(--muted);
    font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.service-deep-dive {
    background: linear-gradient(180deg, #fff 0%, var(--soft) 50%, #fff 100%);
}

.service-chapters {
    position: relative;
    z-index: 1;
    display: grid;
    border-top: 1px solid rgba(23, 36, 51, 0.12);
}

.service-chapter {
    display: grid;
    grid-template-columns: 86px minmax(300px, 0.62fr) minmax(0, 1fr);
    gap: clamp(24px, 4vw, 56px);
    align-items: start;
    padding: clamp(34px, 5vw, 64px) 0;
    border-bottom: 1px solid rgba(23, 36, 51, 0.12);
}

.service-chapter__index {
    color: var(--brand);
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.service-chapter__main p {
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.service-chapter__main h3 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(2.2rem, 3.6vw, 4rem);
    font-weight: 800;
    line-height: 0.96;
    letter-spacing: 0;
    overflow-wrap: normal;
    text-wrap: balance;
}

.service-chapter__copy p {
    max-width: 660px;
    margin: 0;
    color: var(--ink);
    font-size: clamp(1.04rem, 1.5vw, 1.22rem);
}

.service-detail-link {
    display: inline-flex;
    margin-top: 20px;
    color: var(--brand);
    font-weight: 800;
}

.service-sub-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.service-sub-links a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid rgba(231, 76, 61, 0.18);
    border-radius: 999px;
    color: var(--brand);
    font-size: 0.82rem;
    font-weight: 800;
    background: rgba(231, 76, 61, 0.055);
}

.detail-hero {
    position: relative;
    min-height: 88svh;
    display: grid;
    align-items: center;
    overflow: hidden;
    padding: calc(var(--header-height) + 84px) 0 104px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0) 78%, #fff 100%),
        radial-gradient(circle at 78% 34%, rgba(231, 76, 61, 0.09), transparent 31%),
        #fff;
}

.detail-hero__mark {
    position: absolute;
    right: clamp(-72px, 5vw, 84px);
    top: 18%;
    width: clamp(220px, 34vw, 520px);
    opacity: 0.06;
    transform: rotate(-10deg);
    pointer-events: none;
}

.detail-hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
    gap: clamp(42px, 7vw, 94px);
    align-items: center;
}

.detail-hero h1 {
    max-width: 920px;
    margin: 0;
    color: var(--ink);
    font-size: clamp(3rem, 5.5vw, 6rem);
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: 0;
}

.detail-hero__lead {
    max-width: 760px;
    margin: 26px 0 0;
    color: var(--muted);
    font-size: clamp(1.05rem, 1.6vw, 1.25rem);
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin: 0 0 18px;
    color: rgba(23, 36, 51, 0.48);
    font-size: 0.88rem;
    font-weight: 800;
}

.breadcrumb a {
    color: var(--muted);
    transition: color 220ms ease;
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
    color: var(--brand);
}

.breadcrumb span:not(:last-child)::after,
.breadcrumb a::after {
    content: "/";
    margin-left: 8px;
    color: rgba(23, 36, 51, 0.25);
}

.breadcrumb span:last-child {
    color: var(--brand);
}

.detail-hero__panel {
    display: grid;
    gap: 0;
    border-left: 2px solid var(--brand);
}

.detail-hero__panel span {
    display: block;
    padding: 22px 0 22px 28px;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-weight: 700;
}

.detail-hero__panel strong {
    display: block;
    margin-bottom: 4px;
    color: var(--ink);
    font-size: clamp(1.28rem, 2vw, 1.72rem);
    line-height: 1.05;
}

.detail-nav {
    position: relative;
    z-index: 2;
    margin-top: -42px;
}

.detail-nav__inner {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px;
    border: 1px solid rgba(23, 36, 51, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 22px 60px rgba(23, 36, 51, 0.08);
    backdrop-filter: blur(18px);
}

.detail-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 999px;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 800;
    transition: color 220ms ease, background 220ms ease;
}

.detail-nav a:hover,
.detail-nav a:focus-visible {
    background: rgba(231, 76, 61, 0.09);
    color: var(--brand);
}

.detail-split,
.detail-process,
.related-services {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 0.45fr 1fr;
    gap: clamp(36px, 7vw, 92px);
    align-items: start;
}

.detail-split h2,
.detail-process h2,
.seo-content h2,
.related-services h2 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(2.35rem, 5.4vw, 5.4rem);
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: 0;
}

.detail-rich p {
    max-width: 760px;
    margin: 0 0 20px;
    color: var(--muted);
    font-size: clamp(1rem, 1.45vw, 1.16rem);
}

.detail-rich p:first-child {
    color: var(--ink);
    font-size: clamp(1.08rem, 1.7vw, 1.3rem);
}

.detail-pillars {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}

.detail-card {
    min-height: 260px;
    padding: clamp(24px, 3.4vw, 40px);
    background: rgba(255, 255, 255, 0.92);
}

.detail-card span {
    color: var(--brand);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.detail-card h3 {
    margin: 28px 0 14px;
    color: var(--ink);
    font-size: clamp(1.4rem, 2.2vw, 2rem);
    line-height: 1.05;
}

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

.detail-steps {
    display: grid;
    border-top: 1px solid var(--line);
}

.detail-step {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 22px;
    padding: 28px 0;
    border-bottom: 1px solid var(--line);
}

.detail-step span {
    color: var(--brand);
    font-weight: 800;
}

.detail-step h3 {
    margin: 0 0 8px;
    color: var(--ink);
    font-size: 1.2rem;
}

.detail-step p {
    margin: 0;
    color: var(--muted);
}

.seo-content {
    background: linear-gradient(180deg, #fff 0%, var(--soft) 50%, #fff 100%);
}

.seo-content__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    margin-top: clamp(36px, 6vw, 64px);
    background: rgba(23, 36, 51, 0.1);
    border: 1px solid rgba(23, 36, 51, 0.1);
}

.seo-content__item {
    padding: clamp(24px, 3vw, 36px);
    background: rgba(255, 255, 255, 0.92);
}

.seo-content__item span {
    color: var(--brand);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.seo-content__item h3 {
    margin: 22px 0 12px;
    color: var(--ink);
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    line-height: 1.08;
}

.seo-content__item p {
    margin: 0;
    color: var(--muted);
}

.related-service-list {
    display: grid;
    gap: 0;
    border-top: 1px solid var(--line);
}

.related-service-list a {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 24px 0;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    font-size: clamp(1.3rem, 2.4vw, 2rem);
    font-weight: 800;
    line-height: 1.06;
}

.related-service-list a::after {
    content: "→";
    color: var(--brand);
}

.service-chapter__copy ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 18px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.service-chapter__copy li {
    position: relative;
    padding-left: 22px;
    color: var(--muted);
}

.service-chapter__copy li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.68em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand);
}

.stack-lines {
    display: grid;
    border-top: 1px solid var(--line);
}

.stack-lines span {
    display: block;
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    font-size: clamp(1.25rem, 2.4vw, 2rem);
    font-weight: 800;
    line-height: 1.08;
}

@keyframes radarSweep {
    to {
        transform: rotate(360deg);
    }
}

@keyframes radarOrbit {
    from {
        transform: rotate(0deg) translateX(var(--orbit-radius));
    }

    to {
        transform: rotate(360deg) translateX(var(--orbit-radius));
    }
}

@keyframes radarCounter {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(-360deg);
    }
}

.site-footer {
    padding: 28px 0 38px;
}

.not-found-page {
    min-height: 100svh;
    background:
        radial-gradient(circle at 72% 28%, rgba(231, 76, 61, 0.09), transparent 28%),
        linear-gradient(180deg, #fff 0%, rgba(231, 76, 61, 0.035) 100%);
}

.not-found {
    position: relative;
    min-height: 100svh;
    display: grid;
    align-items: center;
    overflow: hidden;
    padding: clamp(26px, 4vw, 54px);
}

.not-found::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        radial-gradient(circle, rgba(231, 76, 61, 0.32) 1px, transparent 1px),
        linear-gradient(115deg, transparent 0 48%, rgba(231, 76, 61, 0.08) 48% 48.4%, transparent 48.4% 100%);
    background-size: 82px 82px, 100% 100%;
    opacity: 0.35;
}

.not-found__brand {
    position: absolute;
    left: clamp(22px, 5vw, 70px);
    top: clamp(20px, 4vw, 44px);
    z-index: 2;
    width: clamp(154px, 16vw, 210px);
}

.not-found__brand img {
    width: 100%;
    height: auto;
}

.not-found__stage {
    position: relative;
    z-index: 1;
    width: min(1120px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1fr);
    gap: clamp(36px, 7vw, 96px);
    align-items: center;
    padding-top: 56px;
}

.not-found__orbit {
    position: relative;
    aspect-ratio: 1;
    border: 1px solid rgba(23, 36, 51, 0.1);
    border-radius: 50%;
    display: grid;
    place-items: center;
    max-width: 440px;
}

.not-found__orbit::before,
.not-found__orbit::after {
    content: "";
    position: absolute;
    border-radius: 50%;
}

.not-found__orbit::before {
    inset: 18%;
    border: 1px dashed rgba(231, 76, 61, 0.26);
    animation: notFoundSpin 16s linear infinite;
}

.not-found__orbit::after {
    inset: 36%;
    background: rgba(231, 76, 61, 0.07);
}

.not-found__orbit img {
    position: relative;
    z-index: 2;
    width: clamp(96px, 14vw, 160px);
    opacity: 0.9;
    transform: rotate(-8deg);
}

.not-found__orbit span {
    position: absolute;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(231, 76, 61, 0.22);
    color: var(--brand);
    font-size: 0.78rem;
    font-weight: 800;
    box-shadow: 0 18px 46px rgba(23, 36, 51, 0.08);
    backdrop-filter: blur(12px);
}

.not-found__orbit span:nth-child(1) {
    left: 50%;
    top: 0;
    transform: translate(-50%, -8%);
}

.not-found__orbit span:nth-child(2) {
    right: 2%;
    bottom: 20%;
}

.not-found__orbit span:nth-child(3) {
    left: 4%;
    bottom: 22%;
}

.not-found__copy h1 {
    margin: 0;
    color: var(--brand);
    font-size: clamp(6rem, 13vw, 11rem);
    font-weight: 800;
    line-height: 0.78;
    letter-spacing: 0;
}

.not-found__copy h2 {
    max-width: 720px;
    margin: 22px 0 0;
    color: var(--ink);
    font-size: clamp(2.2rem, 4.5vw, 4.3rem);
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: 0;
}

.not-found__copy p:not(.eyebrow) {
    max-width: 640px;
    margin: 20px 0 0;
    color: var(--muted);
    font-size: clamp(1.02rem, 1.5vw, 1.2rem);
}

.not-found__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    margin-top: 28px;
}

.not-found__actions .primary-cta {
    margin-top: 0;
}

.not-found__mail {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 0 24px;
    border: 1px solid rgba(23, 36, 51, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    color: var(--ink);
    font-weight: 800;
    backdrop-filter: blur(14px);
    transition: transform 220ms ease, border-color 220ms ease, color 220ms ease;
}

.not-found__mail:hover,
.not-found__mail:focus-visible {
    transform: translateY(-3px);
    border-color: rgba(231, 76, 61, 0.5);
    color: var(--brand);
}

@keyframes notFoundSpin {
    to {
        transform: rotate(360deg);
    }
}

.footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: var(--muted);
    font-size: 0.92rem;
}

.footer__inner span:first-child {
    color: var(--ink);
    font-weight: 800;
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 800ms ease, transform 800ms var(--ease);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 860px) {
    :root {
        --header-height: 76px;
    }

    .container {
        width: min(100% - 32px, 680px);
    }

    .site-header {
        padding-inline: 16px;
    }

    .brand {
        width: 154px;
    }

    .menu-toggle {
        width: 48px;
        height: 48px;
    }

    .side-menu {
        width: min(88vw, 420px);
        min-width: 0;
    }

    .side-menu__inner {
        padding: 28px;
    }

    .side-menu__link,
    .menu-group__toggle {
        font-size: clamp(1.05rem, 5.2vw, 1.72rem);
    }

    .menu-group__panel a {
        font-size: 0.95rem;
    }

    .hero {
        min-height: 92svh;
        padding: calc(var(--header-height) + 48px) 0 86px;
    }

    .hero h1 {
        font-size: clamp(3.05rem, 16vw, 4.55rem);
        line-height: 1;
    }

    .hero__lead {
        margin-top: 24px;
    }

    .hero__mark {
        right: -86px;
        top: 16%;
        width: 300px;
        opacity: 0.065;
    }

    .intro-grid,
    .approach__grid,
    .focus__grid,
    .detail-hero__grid,
    .detail-split,
    .detail-process,
    .related-services,
    .service-page-hero__grid,
    .service-manifest__grid,
    .service-stack__grid {
        grid-template-columns: 1fr;
    }

    .detail-hero {
        min-height: auto;
        padding: calc(var(--header-height) + 58px) 0 90px;
    }

    .detail-hero h1 {
        font-size: clamp(2.8rem, 14vw, 4.5rem);
    }

    .detail-hero__mark {
        right: -92px;
        top: 12%;
        width: 310px;
    }

    .detail-hero__panel {
        border-left-width: 0;
        border-top: 2px solid var(--brand);
    }

    .detail-hero__panel span {
        padding-left: 0;
    }

    .detail-nav {
        margin-top: -32px;
    }

    .detail-nav__inner {
        border-radius: 24px;
    }

    .detail-pillars,
    .seo-content__grid {
        grid-template-columns: 1fr;
    }

    .detail-card {
        min-height: auto;
    }

    .service-page-hero {
        min-height: auto;
        padding: calc(var(--header-height) + 58px) 0 88px;
    }

    .service-page-hero h1 {
        font-size: clamp(2.8rem, 14vw, 4.4rem);
    }

    .service-page-hero__mark {
        right: -92px;
        top: 12%;
        width: 310px;
    }

    .service-radar {
        width: min(100%, 340px);
        margin-inline: auto;
        --orbit-radius: 136px;
    }

    .service-radar span b {
        width: 62px;
        height: 62px;
        font-size: 0.76rem;
    }

    .service-chapter {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .service-chapter__main h3 {
        font-size: clamp(2.15rem, 12vw, 3.55rem);
    }

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

    .service-item {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .service-item span {
        font-size: 0.78rem;
    }

    .timeline__item {
        grid-template-columns: 52px 1fr;
        gap: 16px;
    }

    .metric-strip div {
        padding-left: 22px;
    }

    .footer__inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .not-found {
        align-items: start;
        padding: 24px 16px 56px;
    }

    .not-found__brand {
        left: 16px;
        top: 20px;
        width: 154px;
    }

    .not-found__stage {
        grid-template-columns: 1fr;
        gap: 22px;
        padding-top: 88px;
    }

    .not-found__orbit {
        width: min(100%, 230px);
        margin: 0 auto;
    }

    .not-found__orbit span {
        width: 48px;
        height: 48px;
        font-size: 0.74rem;
    }

    .not-found__copy h1 {
        font-size: clamp(4.8rem, 25vw, 6.2rem);
    }

    .not-found__copy h2 {
        margin-top: 16px;
        font-size: clamp(1.95rem, 9vw, 2.7rem);
    }

    .not-found__copy p:not(.eyebrow) {
        margin-top: 16px;
    }

    .not-found__actions {
        margin-top: 22px;
    }
}

@media (max-width: 420px) {
    .hero h1 {
        font-size: clamp(2.7rem, 15vw, 3.25rem);
    }

    .primary-cta {
        width: 100%;
    }

    .intro-grid h2,
    .section-heading h2,
    .approach h2,
    .focus h2,
    .contact h2,
    .detail-split h2,
    .detail-process h2,
    .seo-content h2,
    .related-services h2,
    .service-manifest h2,
    .service-stack h2 {
        font-size: clamp(2.15rem, 12vw, 3rem);
    }

    .not-found__actions,
    .not-found__actions .primary-cta,
    .not-found__mail {
        width: 100%;
    }
}

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

    .particle-field {
        display: none;
    }

    .service-radar__sweep,
    .service-radar span,
    .service-radar span b,
    .not-found__orbit::before {
        animation: none;
    }
}
