@font-face {
    font-family: "Onest";
    src: url("../fonts/onest-variable.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Nunito Sans";
    src: url("../fonts/nunito-sans-latin-ext-800.woff2") format("woff2");
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

:root {
    --text: #011142;
    --dark-lila: #7f89d4;
    --blue-dark: #063bc6;
    --light-lila: #9aa4dd;
    --sky: #eaf5ff;
    --ice: #f7fbff;
    --white: #ffffff;
    --mauve: #a66cc2;
    --mauve-soft: #f5edf7;
    --lavender: #cdd4f7;
    --line: #cad8eb;
    --line-dark: #9eb0c8;
    --muted: #52617c;
    --font-main: "Onest", Arial, sans-serif;
    --font-brand: "Nunito Sans", Arial, sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    --ease: cubic-bezier(.22, .78, .22, 1);
    --header-height: 78px;
    --section-space: clamp(96px, 11vw, 168px);
    --card-radius: 20px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    overflow-x: clip;
    background: var(--white);
    scroll-behavior: auto;
    scroll-padding-top: calc(var(--header-height) + 24px);
    scrollbar-width: none;
    -ms-overflow-style: none;
}

body.subpage-redesign {
    margin: 0;
    overflow-x: clip;
    background: var(--white);
    color: var(--text);
    font-family: var(--font-main);
    font-size: 17px;
    line-height: 1.55;
    text-rendering: optimizeLegibility;
}

body.subpage-redesign.is-loading,
html.subpage-intro-enabled,
html.subpage-intro-enabled body {
    overflow: hidden;
}

html::-webkit-scrollbar,
body.subpage-redesign::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

body.subpage-redesign a {
    color: inherit;
    text-decoration: none;
}

body.subpage-redesign img,
body.subpage-redesign svg {
    display: block;
    max-width: 100%;
}

body.subpage-redesign button,
body.subpage-redesign input,
body.subpage-redesign textarea,
body.subpage-redesign select {
    font: inherit;
}

body.subpage-redesign button {
    cursor: pointer;
}

body.subpage-redesign ::selection {
    color: var(--white);
    background: var(--dark-lila);
}

body.subpage-redesign .container {
    --bs-gutter-x: 2.5rem;
}

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

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 3000;
    padding: 10px 16px;
    border-radius: 12px;
    color: var(--white) !important;
    background: var(--text);
    transform: translateY(-150%);
    transition: transform .25s var(--ease);
}

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

:focus-visible {
    outline: 3px solid #0a4dff;
    outline-offset: 4px;
}

.page-intro {
    position: fixed;
    inset: 0;
    z-index: 2500;
    display: none;
    place-content: center;
    gap: 28px;
    color: var(--text);
    background:
        radial-gradient(circle at 50% 38%, rgba(10, 77, 255, .08), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
}

html.subpage-intro-enabled .page-intro {
    display: grid;
}

.page-intro-brand {
    display: grid;
    justify-items: center;
    gap: 18px;
}

.page-intro-logo {
    width: clamp(54px, 7vw, 86px);
    height: auto;
    filter: drop-shadow(0 18px 28px rgba(10, 77, 255, .16));
}

.page-intro-name {
    font-family: var(--font-brand);
    font-size: clamp(42px, 8vw, 118px);
    line-height: 1;
    letter-spacing: -.06em;
}

.page-intro-line {
    width: min(420px, 62vw);
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(10, 77, 255, .42), transparent);
    transform-origin: left center;
}

[hidden] {
    display: none !important;
}

/* Shared progress and navigation shell */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1500;
    width: 100%;
    height: 3px;
    pointer-events: none;
}

.scroll-progress span {
    display: block;
    width: 100%;
    height: 100%;
    transform: scaleX(0);
    transform-origin: left center;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    background: rgba(255, 255, 255, .82);
    -webkit-backdrop-filter: blur(18px) saturate(1.25);
    backdrop-filter: blur(18px) saturate(1.25);
    transition: transform .45s var(--ease), background .3s ease;
}

.site-header.is-scrolled {
    background: rgba(255, 255, 255, .93);
}

.site-header.is-hidden {
    transform: translateY(-110%);
}

.site-header.is-hidden:focus-within {
    transform: translateY(0);
}

.site-header .navbar {
    min-height: var(--header-height);
}

.brand-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text) !important;
    font-family: var(--font-brand);
    font-size: 26px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.04em;
}

.brand-link img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.site-header .nav-link {
    position: relative;
    padding: 8px 2px !important;
    color: var(--text);
    font-size: 16px;
    font-weight: 400;
    text-transform: uppercase;
}

.site-header .nav-link::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 2px;
    left: 0;
    height: 1px;
    background: var(--dark-lila);
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform .35s var(--ease);
}

.site-header .nav-link:hover::after,
.site-header .nav-link:focus-visible::after,
.site-header .nav-link.is-active::after,
.site-header .nav-link[aria-current="page"]::after {
    transform: scaleX(1);
    transform-origin: left center;
}

.button,
.primary-button,
.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    min-height: 52px;
    padding: 20px;
    border: 1px solid transparent;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    text-transform: uppercase;
    transition: color .3s ease, background .3s ease, border-color .3s ease, transform .3s var(--ease);
}

.button span,
.button .icon,
.primary-button .icon,
.secondary-button .icon {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    transition: transform .3s var(--ease);
}

.button:hover span,
.button:hover .icon,
.primary-button:hover .icon,
.secondary-button:hover .icon {
    transform: translate(3px, -3px);
}

.button-blue,
.primary-button,
.btn-primary {
    color: var(--white) !important;
    background: var(--text) !important;
    border-color: var(--text) !important;
    box-shadow: 0 13px 33px -13px #100b6d;
}

.button-blue:hover,
.primary-button:hover,
.btn-primary:hover {
    color: var(--white) !important;
    background: var(--dark-lila) !important;
    border-color: var(--dark-lila) !important;
    transform: translateY(-2px);
}

.secondary-button,
.btn-secondary {
    color: var(--text) !important;
    background: var(--white) !important;
    border-color: var(--light-lila) !important;
    box-shadow: 0 13px 33px -13px rgba(147, 141, 255, .45);
}

.secondary-button:hover,
.btn-secondary:hover {
    color: var(--white) !important;
    background: var(--dark-lila) !important;
    border-color: var(--dark-lila) !important;
    transform: translateY(-2px);
}

.chapter-navigation {
    --chapter-progress: 0%;
    position: fixed;
    top: 50%;
    right: 0;
    z-index: 1450;
    display: flex;
    width: 76px;
    height: min(74svh, 760px);
    max-height: calc(100svh - 104px);
    min-width: 76px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-evenly;
    gap: 0;
    padding: 16px 12px 16px 38px;
    background: transparent;
    box-shadow: none;
    transform: translateY(-50%);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    pointer-events: none;
}

.chapter-line {
    position: absolute;
    top: 16px;
    right: auto;
    bottom: 16px;
    left: 14px;
    width: 2px;
    overflow: hidden;
}

.chapter-line i {
    display: block;
    width: 100%;
    height: var(--chapter-progress, 0%);
    background: var(--light-lila);
    opacity: .3;
    transition: height .12s linear;
}

.chapter-navigation a {
    position: relative;
    display: inline-flex;
    align-items: center;
    color: var(--light-lila);
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: .08em;
    white-space: nowrap;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    text-transform: uppercase;
    opacity: .76;
    pointer-events: auto;
    transition: color .3s ease, opacity .3s ease, font-size .38s var(--ease), letter-spacing .38s var(--ease);
}

.chapter-navigation a::before {
    content: "";
    position: absolute;
    top: 50%;
    right: auto;
    left: -27px;
    z-index: 2;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--light-lila);
    opacity: 0;
    transform: translateY(-50%) scale(.7);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, .88);
    transition: opacity .25s ease, transform .38s var(--ease);
}

.chapter-navigation a:hover,
.chapter-navigation a:focus-visible {
    color: var(--light-lila);
    opacity: 1;
}

.chapter-navigation a.is-current {
    color: var(--dark-lila);
    letter-spacing: .1em;
    opacity: 1;
}

.chapter-navigation a.is-current::before {
    opacity: 1;
    transform: translateY(-50%) scale(1);
}

@media (min-width: 992px) {
    body.subpage-redesign .main-content,
    body.subpage-redesign .site-footer {
        padding-right: 76px;
    }
}

/* Page composition */
.main-content {
    position: relative;
}

.breadcrumbs {
    position: absolute;
    top: calc(var(--header-height) + 22px);
    left: 50%;
    z-index: 20;
    width: min(calc(100% - 40px), 1320px);
    max-width: none;
    transform: translateX(-50%);
}

.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 11px;
    padding: 0;
    margin: 0;
    list-style: none;
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.breadcrumb-entry:not(:last-child)::after {
    content: "/";
    margin-left: 11px;
    color: var(--light-lila);
}

.breadcrumb-entry a {
    border-bottom: 1px solid transparent;
}

.breadcrumb-entry a:hover {
    border-color: currentColor;
}

.page-section {
    position: relative;
    isolation: isolate;
    overflow: clip;
}

.section-padding {
    padding-block: var(--section-space);
}

.section-index {
    position: absolute;
    top: clamp(64px, 7vw, 110px);
    left: max(20px, calc((100vw - 1420px) / 2));
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #5964a8;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
    pointer-events: none;
}

.section-index i {
    position: relative;
    display: block;
    width: 1px;
    height: 104px;
    margin: 12px 0;
    background: currentColor;
    opacity: .65;
}

.section-index i::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 0 5px var(--section-index-bg, var(--white));
}

.section-index small {
    writing-mode: vertical-rl;
    font-size: 9px;
}

.section-title,
.section-heading h2,
.text-block h2,
.info-panel h2,
.legal-copy h1 {
    margin: 0;
    color: var(--text);
    font-size: clamp(40px, 5.2vw, 78px);
    font-weight: 680;
    line-height: .98;
    letter-spacing: -.055em;
    text-wrap: balance;
    overflow-wrap: anywhere;
    hyphens: auto;
}

.section-title em,
.section-heading h2 em,
.text-block h2 em,
.info-panel h2 em,
.legal-copy h1 em {
    color: var(--mauve);
    font-style: normal;
}

.page-title em {
    color: var(--dark-lila);
    font-style: normal;
}

.section-heading {
    display: grid;
    gap: 24px;
    margin-bottom: clamp(48px, 6vw, 82px);
}

.section-heading > p,
.split-section-heading > p {
    max-width: 620px;
    margin: 0;
    color: var(--muted);
    font-size: clamp(18px, 1.6vw, 22px);
}

.split-section-heading {
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, .6fr);
    align-items: end;
}

.centered-section-heading {
    justify-items: start;
    text-align: left;
}

/* Editorial hero */
.hero-section {
    --section-index-bg: var(--white);
    min-height: max(100svh, 790px);
    padding-top: var(--header-height);
    background: var(--white);
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 6% -12% 0 42%;
    z-index: -2;
    background: radial-gradient(circle at 58% 42%, rgba(127, 137, 212, .18), transparent 32%),
                radial-gradient(circle at 80% 68%, rgba(166, 108, 194, .1), transparent 34%);
    filter: blur(14px);
}

.hero-content {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(310px, .55fr);
    align-items: center;
    gap: clamp(34px, 5vw, 92px);
    min-height: max(100svh, 790px);
    padding-top: 110px;
    padding-bottom: 74px;
}

.hero-copy {
    position: relative;
    z-index: 4;
    grid-column: 1;
    grid-row: 1;
    max-width: 960px;
    padding-left: clamp(74px, 7vw, 112px);
}

.page-title {
    max-width: 1050px;
    margin: 0;
    color: var(--text);
    font-size: clamp(56px, 6.8vw, 108px);
    font-weight: 690;
    line-height: .91;
    letter-spacing: -.065em;
    text-wrap: balance;
    overflow-wrap: anywhere;
    hyphens: auto;
}

.hero-intro {
    max-width: 760px;
    margin: clamp(34px, 4vw, 58px) 0 0;
    color: var(--text);
    font-size: clamp(19px, 1.7vw, 24px);
    line-height: 1.45;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.hero-buttons .button {
    gap: 28px;
    padding-inline: 20px;
    font-size: 14px;
    box-shadow: 0px 13px 33px -13px #100B6D;
}

.subpage-hero-media {
    position: relative;
    z-index: 2;
    display: grid;
    place-items: center;
    width: min(42vw, 560px);
    min-height: 480px;
    perspective: 1200px;
    transform-style: preserve-3d;
    pointer-events: auto;
}

.hero-content > .subpage-hero-media {
    grid-column: 2;
    grid-row: 1;
}

.subpage-hero-media.hero-image,
.subpage-hero-media.preview-image {
    margin: 0;
    padding: 0;
}

.subpage-hero-media picture,
.subpage-hero-media picture img {
    width: 100%;
}

.subpage-hero-media::before {
    content: "";
    position: absolute;
    inset: 14% -18% 6% 4%;
    z-index: -1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(6, 59, 198, .16), rgba(127, 137, 212, .05) 48%, transparent 72%);
    filter: blur(14px);
}

.subpage-hero-media img {
    width: 100%;
    height: auto;
    max-height: 610px;
    object-fit: contain;
    filter: drop-shadow(0 34px 46px rgba(1, 17, 66, .18));
    transform: translate3d(var(--media-x, 0), var(--media-y, 0), 0)
               rotateX(var(--media-rx, 0deg)) rotateY(var(--media-ry, 0deg));
    transition: transform .65s var(--ease), filter .4s ease;
    will-change: transform;
}

.subpage-hero-media.is-interacting img {
    transition-duration: .16s;
    filter: drop-shadow(0 42px 58px rgba(1, 17, 66, .24));
}

.hero-scroll {
    position: absolute;
    right: 50%;
    bottom: 28px;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: .12em;
    text-transform: uppercase;
    transform: translateX(50%);
}

.hero-scroll i {
    display: block;
    width: 72px;
    height: 1px;
    background: var(--light-lila);
    transform-origin: left center;
    animation: subpage-scroll-line 1.8s ease-in-out infinite;
}

@keyframes subpage-scroll-line {
    0%, 100% { transform: scaleX(.32); opacity: .5; }
    50% { transform: scaleX(1); opacity: 1; }
}

/* Start-page keyword rail reused between hero and content */
.subpage-keyword-block {
    position: relative;
    z-index: 3;
    padding: 0;
    border: 0;
    background: transparent;
}

.subpage-keyword-rail {
    overflow: hidden;
    padding: 22px 0;
}

.subpage-keyword-track {
    display: flex;
    align-items: center;
    width: max-content;
    gap: 38px;
    padding-left: 0;
    color: var(--dark-lila);
    font-size: 24px;
    font-weight: 300;
    letter-spacing: .035em;
    text-transform: uppercase;
    white-space: nowrap;
    will-change: transform;
    transform: translate3d(var(--keyword-x, 0px), 0, 0);
}

.subpage-keyword-track span::after {
    content: "";
    display: inline-block;
    width: 42px;
    height: 1px;
    margin-left: 38px;
    background: var(--dark-lila);
    vertical-align: middle;
    opacity: .45;
}

/* Cards, lists and editorial content */
.services-section,
.benefits-section,
.references-section,
.key-points-section,
.process-section {
    --section-index-bg: var(--ice);
    background: radial-gradient(circle at 78% 18%, rgba(166, 108, 194, .08), transparent 34%), var(--ice);
}

.services-grid,
.project-grid,
.feature-grid,
.benefits-grid,
.process-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 22px;
}

.service-card,
.project-card,
.feature-card,
.benefit-card,
.process-step,
.info-panel {
    position: relative;
    min-width: 0;
    padding: clamp(28px, 3.2vw, 48px);
    overflow: hidden;
    border: 1px solid var(--light-lila);
    border-radius: var(--card-radius);
    background: rgba(255, 255, 255, .82);
    box-shadow: 0 18px 54px rgba(1, 17, 66, .05);
    transition: transform .45s var(--ease), box-shadow .45s var(--ease), background .35s ease, border-color .35s ease;
}

.service-card,
.project-card {
    grid-column: span 4;
    min-height: 360px;
}

.service-card:nth-child(1),
.service-card:nth-child(4),
.project-card:nth-child(1),
.project-card:nth-child(4) {
    background: linear-gradient(145deg, #fff 0%, #eef4ff 100%);
}

.service-card:nth-child(2),
.service-card:nth-child(5),
.project-card:nth-child(2) {
    background: linear-gradient(145deg, #fff 0%, var(--mauve-soft) 100%);
}

.service-card:nth-child(3),
.project-card:nth-child(3) {
    background: linear-gradient(145deg, #fff 0%, #f0f1ff 100%);
}

.service-card:hover,
.project-card:hover,
.feature-card:hover,
.benefit-card:hover,
.process-step:hover,
.info-panel:hover {
    z-index: 2;
    border-color: var(--dark-lila);
    box-shadow: 0 28px 76px rgba(1, 17, 66, .12);
    transform: translateY(-8px);
}

.service-card .card-number,
.project-card .card-number,
.process-step .step-number,
.service-card > .service-number,
.project-card > .project-number {
    display: block;
    margin-bottom: 46px;
    color: #5964a8;
    font-family: var(--font-mono);
    font-size: 13px;
    letter-spacing: .08em;
}

.card-title,
.service-card h3,
.project-card h3,
.feature-card h3,
.benefit-card h3,
.process-step h3 {
    margin: 0 0 18px;
    color: var(--text);
    font-size: clamp(28px, 3vw, 48px);
    font-weight: 650;
    line-height: 1;
    letter-spacing: -.045em;
}

.service-card p,
.project-card p,
.feature-card p,
.benefit-card p,
.process-step p {
    margin: 0;
    color: var(--muted);
}

.service-card > a:last-child,
.project-card > a:last-child,
.card-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 34px;
    border-bottom: 1px solid var(--line-dark);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.service-card .icon,
.project-card .icon,
.feature-card .icon,
.benefit-card .icon,
.process-step .icon,
.info-panel .icon {
    width: 22px;
    height: 22px;
    color: var(--dark-lila);
}

.service-card > .service-icon,
.service-icon-box,
.service-card > img,
.project-card > img,
.feature-card > img,
.benefit-card > img,
.process-step > img {
    width: min(170px, 48%);
    max-height: 160px;
    margin: 0 0 34px auto;
    object-fit: contain;
}

.service-icon-box {
    display: grid;
    place-items: center;
    width: 92px;
    height: 92px;
    margin-bottom: 42px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255,255,255,.72);
}

.service-icon-box .service-icon,
.service-icon-box img,
.service-icon-box svg {
    width: 52px;
    height: 52px;
    object-fit: contain;
}

.service-card-media {
    width: 100% !important;
    height: 210px !important;
    max-height: none !important;
    margin: -10px 0 34px !important;
    border: 1px solid rgba(154, 164, 221, .42);
    border-radius: 16px;
    background: rgba(255,255,255,.68);
    object-fit: contain !important;
}

.service-rail-section .service-card-media {
    height: 180px !important;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
    border-bottom: 1px solid var(--line-dark);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.service-rail-section {
    display: flex;
    align-items: center;
    height: 100svh;
    min-height: 760px;
    padding-block: clamp(48px, 6vh, 72px);
}

.service-rail-section > .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: min(calc(100% - 40px), 1320px);
    max-width: 1320px;
    padding-left: clamp(76px, 6vw, 96px);
}

.service-rail-section > .section-index {
    background: var(--section-index-bg, var(--ice));
    box-shadow: 0 0 0 12px var(--section-index-bg, var(--ice));
}

@media (min-width: 992px) {
    .service-rail-section > .section-index i {
        height: 72px;
    }

    .service-rail-section > .section-index small {
        position: relative;
        z-index: 1;
        padding-block: 2px;
        background: var(--section-index-bg, var(--ice));
        box-shadow: 0 0 0 4px var(--section-index-bg, var(--ice));
    }
}

@media (min-width: 992px) and (max-height: 800px) {
    .service-rail-section > .section-index i {
        height: 56px;
    }
}

.service-rail-section .section-heading {
    margin-bottom: clamp(26px, 4vh, 42px);
}

.service-rail-section .services-grid {
    display: flex;
    width: max-content;
    max-width: none;
    gap: 22px;
    overflow: visible;
    will-change: transform;
}

.service-rail-section .service-card {
    flex: 0 0 min(62vw, 720px);
    width: min(62vw, 720px);
    height: 480px;
    min-height: 0;
    padding: 34px;
}

body[data-page="services"] .service-card .service-icon-box {
    position: absolute;
    top: 30px;
    right: 30px;
    z-index: 2;
    width: 70px;
    height: 70px;
    margin: 0;
}

body[data-page="services"] .service-card .service-icon-box img,
body[data-page="services"] .service-card .service-icon-box svg {
    width: 40px;
    height: 40px;
}

.services-grid > :nth-child(4),
.services-grid > :nth-child(5) {
    grid-column: span 6;
}

.project-grid > * {
    grid-column: span 6;
}

.feature-grid > *,
.benefits-grid > *,
.process-grid > * {
    grid-column: span 4;
}

.two-column-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.info-panel {
    min-height: 100%;
}

.highlighted-info-panel {
    color: var(--white);
    background: linear-gradient(145deg, var(--text), #102966 70%, #263c82);
    border-color: rgba(255, 255, 255, .16);
}

.highlighted-info-panel h2,
.highlighted-info-panel h3,
.highlighted-info-panel p,
.highlighted-info-panel li {
    color: var(--white);
}

.info-panel h2 {
    margin-bottom: 36px;
    font-size: clamp(32px, 3.8vw, 58px);
}

.check-list,
.icon-list,
.key-points-list {
    display: grid;
    gap: 0;
    padding: 0;
    margin: 20px 0 0;
    list-style: none;
}

.check-list li,
.icon-list li,
.key-points-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
}

.highlighted-info-panel .check-list li {
    border-color: rgba(255, 255, 255, .22);
}

.check-list .icon,
.icon-list .icon {
    flex: 0 0 20px;
    margin-top: 3px;
}

.content-section {
    --section-index-bg: var(--white);
    background: var(--white);
}

.content-stack {
    display: grid;
    gap: 0;
}

.text-block {
    display: grid;
    grid-template-columns: minmax(280px, .8fr) minmax(320px, 1.2fr);
    gap: clamp(40px, 8vw, 128px);
    padding: clamp(54px, 7vw, 94px) 0;
    border-top: 1px solid var(--line-dark);
}

.text-block:last-child {
    border-bottom: 1px solid var(--line-dark);
}

.text-block h2 {
    font-size: clamp(34px, 4.2vw, 64px);
}

.text-block > p,
.text-block > div,
.text-block > ul {
    max-width: 720px;
    margin: 0;
    color: var(--muted);
    font-size: clamp(17px, 1.4vw, 20px);
    line-height: 1.75;
}

.text-block > p + p,
.text-block > div p + p {
    margin-top: 1.1em;
}

.text-block p a {
    color: var(--blue-dark);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.text-block p a:hover {
    color: #4f5cab;
}

.white-section {
    --section-index-bg: var(--white);
    background: var(--white);
}

.related-services-section {
    --section-index-bg: var(--text);
    color: var(--white);
    background: radial-gradient(circle at 78% 15%, rgba(166, 108, 194, .38), transparent 34%),
                linear-gradient(145deg, var(--text), #0b2361 68%, #243879);
}

.related-services-section .section-title,
.related-services-section .section-heading h2,
.related-services-section .section-heading p,
.related-services-section .section-index {
    color: var(--white);
}

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

.related-services a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 128px;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, .36);
    border-radius: var(--card-radius);
    color: var(--white) !important;
    font-size: clamp(20px, 2vw, 30px);
    font-weight: 600;
    letter-spacing: -.03em;
    transition: color .3s ease, background .3s ease, transform .35s var(--ease);
}

.related-services a:hover {
    color: var(--text) !important;
    background: var(--white);
    transform: translateY(-6px);
}

.related-services .icon {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
}

/* FAQ language mirrors the homepage */
.faq-section {
    --section-index-bg: var(--white);
    min-height: min(100svh, 980px);
    background: var(--white);
}

.faq-list {
    border-top: 1px solid var(--line-dark);
}

.faq-item {
    border-bottom: 1px solid var(--line-dark);
}

.faq-item h3 {
    margin: 0;
}

.faq-item button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    width: 100%;
    padding: 27px 0;
    border: 0;
    color: var(--text);
    background: transparent;
    font-size: clamp(24px, 2.7vw, 40px);
    font-weight: 620;
    line-height: 1.12;
    letter-spacing: -.035em;
    text-align: left;
}

.faq-item button .icon {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    color: var(--dark-lila);
    transition: transform .4s var(--ease);
}

.faq-item button[aria-expanded="true"] .icon {
    transform: rotate(180deg);
}

.faq-panel {
    max-width: 920px;
    padding: 0 54px 27px 0;
    overflow: hidden;
}

.faq-panel p {
    margin: 0;
    color: var(--muted);
    font-size: clamp(17px, 1.45vw, 20px);
}

/* Conversion band */
.project-contact-section {
    --section-index-bg: var(--ice);
    padding-block: clamp(72px, 8vw, 122px);
    background: radial-gradient(circle at 84% 20%, rgba(166, 108, 194, .14), transparent 30%), var(--ice);
}

.contact-panel {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 34px 54px;
    min-height: 430px;
    padding: clamp(42px, 6vw, 84px);
    overflow: hidden;
    border: 1px solid var(--light-lila);
    border-radius: var(--card-radius);
    background: linear-gradient(135deg, rgba(255,255,255,.96), rgba(238,244,255,.92) 54%, rgba(245,237,247,.92));
    box-shadow: 0 30px 90px rgba(1, 17, 66, .1);
}

.contact-panel::before {
    content: "";
    position: absolute;
    top: -40%;
    right: -12%;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: rgba(127, 137, 212, .15);
    filter: blur(34px);
    pointer-events: none;
}

.contact-panel-icon {
    display: none;
}

.contact-panel > div:not(.contact-panel-icon) {
    position: relative;
    z-index: 2;
    max-width: 750px;
}

.contact-panel .section-title,
.contact-panel h2 {
    max-width: 820px;
    margin: 0;
    color: var(--text);
    font-size: clamp(44px, 5.8vw, 88px);
    font-weight: 680;
    line-height: .94;
    letter-spacing: -.06em;
}

.contact-panel p {
    max-width: 650px;
    margin: 28px 0 0;
    color: var(--muted);
    font-size: clamp(18px, 1.6vw, 22px);
}

.contact-panel > .button {
    position: relative;
    z-index: 2;
    align-self: end;
}

.contact-panel address {
    position: relative;
    z-index: 2;
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0;
    font-style: normal;
}

.contact-panel address a,
.contact-panel address span {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 48px;
    padding: 12px 18px;
    border: 1px solid var(--line-dark);
    border-radius: 18px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.contact-panel address .icon {
    width: 17px;
    height: 17px;
}

.contact-panel-visual {
    position: absolute;
    right: -20px;
    bottom: -170px;
    z-index: 1;
    width: min(28vw, 340px);
    transform: rotate(-7deg);
    pointer-events: none;
}

/* Long-form legal content */
.legal-main {
    padding-top: var(--header-height);
}

.legal-main .breadcrumbs {
    top: calc(var(--header-height) + 22px);
}

.legal-section {
    --section-index-bg: var(--ice);
    min-height: 70svh;
    padding-top: clamp(150px, 17vw, 230px);
    background: radial-gradient(circle at 78% 8%, rgba(166, 108, 194, .1), transparent 28%), var(--ice);
}

.legal-copy {
    padding: clamp(34px, 5vw, 68px);
    border: 1px solid var(--line);
    border-radius: var(--card-radius);
    background: rgba(255,255,255,.9);
    box-shadow: 0 26px 72px rgba(1,17,66,.06);
}

.legal-copy h1 {
    margin-bottom: 56px;
}

.legal-copy h2 {
    margin: 56px 0 18px;
    color: var(--text);
    font-size: clamp(27px, 3vw, 42px);
    font-weight: 640;
    line-height: 1.12;
    letter-spacing: -.035em;
}

.legal-copy h3,
.legal-copy h4 {
    margin: 36px 0 14px;
    color: var(--text);
    font-size: clamp(21px, 2vw, 30px);
    font-weight: 620;
}

.legal-copy p,
.legal-copy li {
    color: var(--muted);
    line-height: 1.75;
}

.legal-copy a {
    color: var(--blue-dark);
    border-bottom: 1px solid currentColor;
    overflow-wrap: anywhere;
}

.legal-copy table {
    width: 100%;
    border-collapse: collapse;
}

.legal-copy th,
.legal-copy td {
    padding: 12px;
    border: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
    overflow-wrap: anywhere;
    word-break: normal;
}

/* Error treatment */
.error-page .hero-section .page-title {
    font-size: clamp(72px, 10vw, 150px);
}

.error-page .subpage-hero-media img {
    transform: rotate(-5deg) translateY(20px);
}

/* Compact footer copied from the homepage */
.site-footer {
    padding-top: 24px;
    padding-bottom: 28px;
    background: var(--white);
}

.footer-top,
.footer-bottom {
    flex-wrap: wrap;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.footer-company-meta {
    max-width: 520px;
    text-align: center;
}

.services-grid:focus-visible,
.project-grid:focus-visible,
.feature-grid:focus-visible,
.benefits-grid:focus-visible,
.process-grid:focus-visible {
    outline-offset: 6px;
}

.footer-top {
    padding: 30px 0;
    border-bottom: 1px solid var(--line);
}

.footer-top nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 18px 30px;
    font-size: 14px;
}

.footer-top nav a {
    color: var(--dark-lila);
    border-bottom: 1px solid transparent;
    text-transform: uppercase;
}

.footer-top nav a:hover,
.footer-top nav a:focus-visible {
    border-color: currentColor;
}

.footer-bottom {
    padding-top: 22px;
    color: var(--light-lila);
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.footer-bottom i {
    margin: 0 10px;
    font-style: normal;
}

/* Safe reveal defaults before/without JavaScript */
.js .reveal,
.js [data-subpage-reveal] {
    opacity: 0;
    transform: translateY(30px);
}

.js .reveal.is-visible,
.js [data-subpage-reveal].is-visible {
    opacity: 1;
    transform: none;
    transition: opacity .8s var(--ease), transform .8s var(--ease);
}

@media (min-width: 992px) {
    .site-header .navbar-collapse {
        display: grid !important;
        grid-template-columns: 1fr auto;
    }

    .service-card:nth-child(1) {
        grid-column: span 7;
    }

    .service-card:nth-child(2) {
        grid-column: span 5;
    }

    .services-grid > :nth-child(3) {
        grid-column: span 4;
    }

    .services-grid > :nth-child(4),
    .services-grid > :nth-child(5) {
        grid-column: span 4;
    }
}

@media (max-width: 991.98px) {
    .chapter-navigation {
        display: none;
    }

    .section-index {
        left: 18px;
    }

    .hero-copy {
        padding-left: 82px;
    }
}

/*
 * Tablet and narrow laptop sections have less side gutter than desktop sections. Keeping the
 * tall, vertical index in that narrow gutter lets it touch cards, FAQ rules
 * and contact panels. Use the homepage's compact horizontal index treatment
 * for content sections while preserving the vertical hero marker. Pinned
 * service rails keep the vertical marker and reserve their own left gutter.
 */
@media (min-width: 768px) and (max-width: 1119.98px) {
    .page-section:not(.hero-section):not(.service-rail-section) > .section-index {
        position: relative;
        top: auto;
        left: auto;
        flex-direction: row;
        justify-content: flex-start;
        width: min(calc(100% - 40px), 720px);
        margin: 0 auto clamp(32px, 4vw, 40px);
    }

    .page-section:not(.hero-section):not(.service-rail-section) > .section-index i {
        width: 64px;
        height: 1px;
        margin: 0 12px;
    }

    .page-section:not(.hero-section):not(.service-rail-section) > .section-index small {
        writing-mode: horizontal-tb;
    }
}

@media (min-width: 992px) and (max-width: 1119.98px) {
    .page-section:not(.hero-section):not(.service-rail-section) > .section-index {
        width: min(calc(100% - 40px), 960px);
    }
}

@media (max-width: 1199.98px) {
    .page-title {
        font-size: clamp(54px, 7vw, 86px);
    }

    .subpage-hero-media {
        width: min(31vw, 390px);
    }

    .service-card,
    .project-card {
        grid-column: span 6 !important;
    }

    .feature-grid > *,
    .benefits-grid > *,
    .process-grid > * {
        grid-column: span 6;
    }
}

@media (max-width: 991.98px) {
    .site-header {
        background: rgba(255, 255, 255, .96);
    }

    .site-header .navbar-collapse {
        padding: 18px 0 26px;
        border-top: 1px solid var(--line);
    }

    .site-header .navbar-nav {
        gap: 0 !important;
    }

    .site-header .nav-link {
        padding: 12px 0 !important;
    }

    .site-header .button {
        width: 100%;
    }

    .hero-content {
        grid-template-columns: minmax(0, 1fr) minmax(260px, .55fr);
        gap: 20px;
    }

    .hero-copy {
        padding-left: 64px;
    }

    .subpage-hero-media {
        width: 38vw;
        min-height: 420px;
    }

    .text-block {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .split-section-heading {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .related-services {
        grid-template-columns: 1fr;
    }

    .contact-panel {
        grid-template-columns: 1fr;
    }

    .contact-panel > .button {
        justify-self: start;
    }
}

@media (max-width: 767.98px) {
    :root {
        --header-height: 70px;
        --section-space: 86px;
    }

    body.subpage-redesign {
        font-size: 16px;
    }

    body.subpage-redesign .container {
        --bs-gutter-x: 1.5rem;
    }

    .site-header .navbar {
        min-height: var(--header-height);
    }

    .brand-link {
        font-size: 23px;
    }

    .button,
    .primary-button,
    .secondary-button {
        width: 100%;
        min-height: 50px;
        padding: 16px 18px;
    }

    .breadcrumbs {
        top: calc(var(--header-height) + 14px);
        width: min(calc(100% - 28px), 1320px);
    }

    .breadcrumb-list {
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .breadcrumb-entry {
        display: inline;
    }

    .hero-section,
    .hero-content {
        min-height: auto;
    }

    .hero-content {
        grid-template-columns: 1fr;
        padding-top: 148px;
        padding-bottom: 78px;
    }

    .hero-copy {
        grid-column: 1;
        grid-row: 1;
        padding-left: 0;
    }

    .page-title {
        font-size: clamp(48px, 14vw, 72px);
        line-height: .94;
    }

    .hero-intro {
        margin-top: 28px;
        font-size: 18px;
    }

    .hero-buttons {
        display: grid;
        grid-template-columns: 1fr;
    }

    .subpage-hero-media {
        grid-column: 1 !important;
        grid-row: 2 !important;
        justify-self: end;
        width: min(88vw, 430px);
        min-height: 330px;
        margin: -14px -22vw -32px 0;
        opacity: .96;
    }

    .hero-scroll {
        display: none;
    }

    .section-index {
        position: relative;
        top: auto;
        left: auto;
        flex-direction: row;
        justify-content: flex-start;
        width: min(calc(100% - 24px), 696px);
        margin: 0 auto 36px;
        padding-left: 0;
    }

    .hero-section > .section-index {
        position: absolute;
        top: 116px;
        left: 12px;
        width: auto;
        margin: 0;
    }

    .section-index i {
        width: 64px;
        height: 1px;
        margin: 0 12px;
    }

    .section-index small {
        writing-mode: horizontal-tb;
    }

    .section-title,
    .section-heading h2,
    .text-block h2,
    .info-panel h2,
    .legal-copy h1 {
        font-size: clamp(38px, 11vw, 58px);
    }

    .subpage-keyword-track {
        gap: 24px;
    }

    .subpage-keyword-track span::after {
        width: 26px;
        margin-left: 24px;
    }

    .services-grid,
    .project-grid,
    .feature-grid,
    .benefits-grid,
    .process-grid {
        display: flex;
        gap: 14px;
        width: auto;
        margin-right: -12px;
        padding-right: 12px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .services-grid::-webkit-scrollbar,
    .project-grid::-webkit-scrollbar,
    .feature-grid::-webkit-scrollbar,
    .benefits-grid::-webkit-scrollbar,
    .process-grid::-webkit-scrollbar {
        display: none;
    }

    .service-card,
    .project-card,
    .feature-card,
    .benefit-card,
    .process-step {
        flex: 0 0 86vw;
        min-height: 360px;
        scroll-snap-align: start;
    }

    .two-column-layout {
        grid-template-columns: 1fr;
    }

    .text-block {
        padding: 48px 0;
    }

    .faq-item button {
        padding: 23px 0;
        font-size: 24px;
    }

    .contact-panel {
        min-height: 560px;
        padding: 32px 24px 190px;
    }

    .contact-panel .section-title,
    .contact-panel h2 {
        font-size: clamp(42px, 13vw, 64px);
    }

    .contact-panel address {
        display: grid;
    }

    .contact-panel address a,
    .contact-panel address span {
        width: 100%;
    }

    .contact-panel-visual {
        right: -40px;
        bottom: -190px;
        width: 240px;
    }

    .legal-copy {
        padding: 28px 20px;
    }

    .legal-section {
        padding-top: 142px;
    }

    .legal-copy {
        border-radius: 16px;
    }

    .legal-copy table {
        display: block;
        overflow-x: auto;
    }

    .footer-top,
    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-top nav {
        justify-content: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

    .js .reveal,
    .js [data-subpage-reveal] {
        opacity: 1 !important;
        transform: none !important;
    }

    .subpage-hero-media img {
        transform: none !important;
    }
}

/* Homepage parity: the productive homepage remains the visual source of truth. */
body.subpage-redesign {
    font-weight: 400;
}

body.subpage-redesign .main-content {
    background: var(--white);
}

.legal-main {
    padding-top: 0;
}

.hero-section {
    min-height: max(100svh, 820px);
}

.hero-section::before {
    inset: 9% -8% 0 52%;
    background:
        radial-gradient(circle at 58% 42%, rgba(127, 137, 212, .13), transparent 30%),
        radial-gradient(circle at 72% 68%, rgba(166, 108, 194, .08), transparent 32%);
    filter: blur(20px);
}

.hero-content {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
    gap: clamp(28px, 3vw, 48px);
    min-height: max(100svh, 820px);
    align-items: center;
    padding-top: 126px;
    padding-bottom: 92px;
}

.hero-copy {
    grid-column: 1;
    grid-row: 1;
    width: auto;
    min-width: 0;
    max-width: none;
    padding-left: clamp(64px, 6vw, 88px);
}

.page-title {
    max-width: 900px;
    font-size: clamp(64px, 7.5vw, 100px);
    font-weight: 720;
    line-height: .88;
    letter-spacing: -.072em;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: auto;
}

.hero-title-long .page-title {
    max-width: 960px;
    font-size: clamp(52px, 5vw, 72px);
}

.hero-title-very-long .page-title {
    max-width: 940px;
    font-size: clamp(48px, 4.45vw, 64px);
}

.hero-intro {
    max-width: 740px;
    margin-top: clamp(38px, 4vw, 56px);
    font-size: clamp(18px, 1.55vw, 22px);
    font-weight: 300;
    line-height: 1.48;
}

.hero-buttons {
    margin-top: 30px;
}

.subpage-hero-media {
    position: relative;
    top: auto;
    right: auto;
    z-index: 2;
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    align-self: center;
    width: 100%;
    max-width: 560px;
    min-height: 0;
    transform: none;
}

.hero-content > .subpage-hero-media {
    grid-column: 2;
    grid-row: 1;
}

.subpage-hero-media::before {
    inset: 12% -15% 4% 2%;
    background: radial-gradient(circle, rgba(6, 59, 198, .18), rgba(127, 137, 212, .06) 50%, transparent 72%);
}

.subpage-hero-media img {
    max-height: min(66svh, 660px);
    filter: drop-shadow(0 34px 52px rgba(1, 17, 66, .19));
}

.subpage-hero-media--cutout {
    right: auto;
    width: min(100%, 520px);
}

.subpage-hero-media--cutout-wide {
    right: auto;
    width: min(100%, 620px);
}

.subpage-hero-media--icon {
    right: auto;
    width: min(100%, 280px);
}

.subpage-hero-media--icon::before {
    inset: -18%;
}

.subpage-hero-media--icon img {
    width: auto;
    max-height: min(34svh, 280px);
}

.subpage-hero-media--portrait {
    right: auto;
    width: min(100%, 390px);
}

.subpage-hero-media--landscape {
    right: auto;
    width: min(100%, 580px);
    padding: 12px;
    overflow: hidden;
    border: 1px solid rgba(127, 137, 212, .3);
    border-radius: 24px;
    background: rgba(255, 255, 255, .78);
    box-shadow: 0 32px 80px rgba(36, 55, 111, .13);
    transform: translateY(-36%) rotate(-1.4deg);
}

.subpage-hero-media--landscape::before {
    display: none;
}

.subpage-hero-media--landscape img {
    width: 100%;
    max-height: none;
    border-radius: 15px;
    object-fit: contain;
    filter: none;
}

.subpage-keyword-block {
    background: transparent;
}

.subpage-keyword-track {
    font-weight: 300;
}

.section-title,
.section-heading h2,
.text-block h2,
.info-panel h2,
.legal-copy h1 {
    font-weight: 680;
    letter-spacing: -.06em;
    overflow-wrap: break-word;
    hyphens: none;
}

.services-section,
.benefits-section,
.references-section,
.key-points-section,
.process-section {
    background:
        radial-gradient(circle at 79% 18%, rgba(166, 108, 194, .09), transparent 31%),
        linear-gradient(180deg, #f8fbff 0%, #f3f7ff 100%);
}

.service-card,
.project-card,
.feature-card,
.benefit-card,
.process-step,
.info-panel {
    border-color: rgba(127, 137, 212, .46);
    border-radius: 20px;
    box-shadow: 0 22px 60px rgba(34, 56, 112, .07);
}

.service-card {
    display: flex;
    min-height: 500px;
    flex-direction: column;
}

.service-card .card-number {
    margin-bottom: 20px;
}

.service-card-media {
    width: 100% !important;
    height: 210px !important;
    margin: 0 0 28px !important;
    padding: 12px;
    border: 0;
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(255,255,255,.78), rgba(234,245,255,.62));
    object-fit: contain !important;
}

.service-card .service-icon-box {
    position: absolute;
    top: 28px;
    right: 28px;
    z-index: 3;
    width: 62px;
    height: 62px;
    margin: 0;
    border-color: rgba(127, 137, 212, .32);
    background: rgba(255, 255, 255, .72);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.service-card h3,
.service-card .card-title {
    margin-top: auto;
}

.service-card p {
    max-width: 600px;
}

.service-card .text-link {
    align-self: flex-start;
}

.project-card {
    display: flex;
    min-height: 520px;
    flex-direction: column;
}

.project-card .card-number {
    margin-bottom: 18px;
}

.project-card > .project-card-media {
    width: 100%;
    height: 220px;
    max-height: none;
    margin: 0 0 30px;
    border-radius: 16px;
    border: 1px solid rgba(127, 137, 212, .2);
    object-fit: cover;
}

.project-card .service-icon-box {
    position: absolute;
    top: 28px;
    right: 28px;
    width: 62px;
    height: 62px;
    margin: 0;
    background: rgba(255, 255, 255, .72);
}

.project-card h3,
.project-card .card-title {
    margin-top: auto;
}

.process-step {
    display: flex;
    min-height: 440px;
    flex-direction: column;
}

.process-step > .process-step-visual {
    width: auto;
    height: clamp(142px, 16vw, 190px);
    max-width: 62%;
    max-height: none;
    margin: 10px auto 34px;
    object-fit: contain;
    filter: drop-shadow(0 20px 34px rgba(6, 59, 198, .18));
}

.process-step h3 {
    margin-top: auto;
}

.service-rail-section {
    min-height: 780px;
}

.service-rail-section .service-card {
    width: min(61vw, 720px);
    height: clamp(530px, 61vh, 620px);
    flex-basis: min(61vw, 720px);
    padding: clamp(32px, 3vw, 46px);
}

.service-rail-section .service-card-media {
    height: clamp(190px, 25vh, 250px) !important;
}

.service-rail-progress {
    position: relative;
    width: min(100%, 760px);
    height: 2px;
    margin-top: 26px;
    overflow: hidden;
    background: rgba(127, 137, 212, .24);
}

.service-rail-progress i {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--dark-lila), var(--mauve));
    transform: scaleX(0);
    transform-origin: left center;
}

.highlighted-info-panel,
.visual-info-panel {
    color: var(--text);
    border-color: rgba(127, 137, 212, .46);
    background:
        radial-gradient(circle at 88% 12%, rgba(166, 108, 194, .19), transparent 28%),
        linear-gradient(145deg, #fff 0%, var(--mauve-soft) 100%);
}

.highlighted-info-panel h2,
.highlighted-info-panel h3,
.highlighted-info-panel p,
.highlighted-info-panel li,
.visual-info-panel h2,
.visual-info-panel h3,
.visual-info-panel p,
.visual-info-panel li {
    position: relative;
    z-index: 2;
    color: var(--text);
}

.highlighted-info-panel .check-list li {
    border-color: var(--line);
}

.highlighted-info-panel .info-panel-visual,
.visual-info-panel .info-panel-visual {
    position: absolute;
    top: 24px;
    right: 24px;
    z-index: 1;
    width: clamp(108px, 12vw, 160px);
    height: auto;
    opacity: .24;
    filter: drop-shadow(0 16px 26px rgba(6, 59, 198, .12));
    pointer-events: none;
}

.highlighted-info-panel > h2:first-child,
.visual-info-panel > h2:first-child {
    max-width: calc(100% - 90px);
}

.text-block {
    grid-template-columns: minmax(300px, .9fr) minmax(360px, 1.1fr);
    border-color: rgba(158, 176, 200, .72);
}

.text-block > p,
.text-block > div,
.text-block > ul {
    color: var(--muted);
    font-weight: 300;
}

.related-services-section {
    --section-index-bg: var(--ice);
    color: var(--text);
    background:
        radial-gradient(circle at 84% 16%, rgba(166, 108, 194, .12), transparent 30%),
        linear-gradient(180deg, #fbfdff 0%, var(--ice) 100%);
}

.related-services-section .section-title,
.related-services-section .section-heading h2,
.related-services-section .section-heading p,
.related-services-section .section-index {
    color: var(--text);
}

.related-services a {
    border-color: rgba(127, 137, 212, .45);
    color: var(--text) !important;
    background: rgba(255, 255, 255, .76);
    box-shadow: 0 18px 48px rgba(34, 56, 112, .06);
}

.related-services a:hover {
    color: var(--white) !important;
    background: var(--text);
}

.faq-section {
    min-height: min(100svh, 1040px);
    padding-block: clamp(100px, 12vw, 160px);
}

.faq-section .narrow-container {
    width: min(calc(100% - 40px), 1020px);
}

.faq-list,
.faq-item {
    border-color: rgba(166, 108, 194, .52);
}

.faq-item button {
    padding: 30px 0;
    font-weight: 620;
}

.project-contact-section {
    padding-block: clamp(84px, 10vw, 140px);
    background: var(--white);
}

.contact-panel {
    min-height: 520px;
    padding: clamp(46px, 6vw, 84px);
    border-color: rgba(127, 137, 212, .38);
    border-radius: 30px;
    background-color: #f4f8ff;
    background-image:
        linear-gradient(90deg, rgba(255,255,255,.15), rgba(255,255,255,.08)),
        url("../img/contact-abstract-background.webp");
    background-position: center;
    background-size: cover;
    box-shadow: 0 30px 86px rgba(34, 56, 112, .1);
}

.contact-panel::before {
    top: -45%;
    right: -14%;
    width: 540px;
    height: 540px;
    background: rgba(127, 137, 212, .11);
}

.contact-panel > div:not(.contact-panel-icon) {
    max-width: 780px;
}

.contact-panel .section-title,
.contact-panel h2 {
    max-width: 880px;
    font-size: clamp(48px, 6.2vw, 92px);
    font-weight: 680;
}

.contact-panel-visual {
    right: 28px;
    bottom: -155px;
    width: min(24vw, 300px);
    filter: drop-shadow(0 30px 48px rgba(6, 59, 198, .18));
    transform: rotate(-6deg);
}

.contact-panel > .button {
    margin-right: min(16vw, 180px);
}

.legal-section {
    background:
        radial-gradient(circle at 78% 8%, rgba(166, 108, 194, .1), transparent 28%),
        linear-gradient(180deg, #f9fbff 0%, var(--ice) 100%);
}

.legal-copy {
    border-color: rgba(127, 137, 212, .35);
    border-radius: 30px;
    box-shadow: 0 28px 80px rgba(34, 56, 112, .07);
}

@media (max-width: 1199.98px) {
    .hero-copy {
        width: auto;
    }

    .subpage-hero-media--cutout,
    .subpage-hero-media--cutout-wide {
        right: auto;
        width: min(100%, 470px);
    }

    .subpage-hero-media--landscape {
        right: auto;
    }

    .contact-panel > .button {
        margin-right: 0;
    }
}

@media (max-width: 991.98px) {
    .hero-content {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(250px, .48fr);
    }

    .hero-copy {
        width: auto;
        padding-left: 64px;
    }

    .subpage-hero-media,
    .subpage-hero-media--cutout,
    .subpage-hero-media--cutout-wide,
    .subpage-hero-media--icon,
    .subpage-hero-media--portrait,
    .subpage-hero-media--landscape {
        position: relative;
        top: auto;
        right: auto;
        width: 100%;
        padding: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
        transform: none;
    }

    .subpage-hero-media--landscape img {
        filter: drop-shadow(0 28px 44px rgba(1, 17, 66, .15));
    }
}

@media (max-width: 767.98px) {
    .breadcrumbs {
        display: none;
    }

    .hero-section {
        min-height: auto;
    }

    .hero-content {
        display: grid;
        min-height: auto;
        grid-template-columns: 1fr;
        padding-top: 98px;
        padding-bottom: 66px;
    }

    .hero-copy {
        width: auto;
        padding-left: 0;
    }

    .page-title {
        max-width: none;
        font-size: clamp(48px, 14vw, 72px);
        line-height: .91;
        letter-spacing: -.067em;
    }

    .hero-title-long .page-title {
        font-size: clamp(42px, 12vw, 56px);
    }

    .hero-title-very-long .page-title {
        font-size: clamp(38px, 11vw, 50px);
    }

    .subpage-hero-media,
    .subpage-hero-media--cutout,
    .subpage-hero-media--cutout-wide,
    .subpage-hero-media--icon,
    .subpage-hero-media--portrait,
    .subpage-hero-media--landscape {
        justify-self: center;
        width: min(88vw, 430px);
        margin: -70px auto -78px;
        transform: none;
    }

    .subpage-hero-media--portrait {
        width: min(68vw, 320px);
    }

    .subpage-hero-media--icon {
        width: min(58vw, 250px);
        margin: -30px auto -48px;
    }

    .subpage-hero-media--cutout-wide {
        width: min(94vw, 560px);
        margin: -22px auto -48px;
    }

    .subpage-hero-media--landscape {
        width: calc(100vw - 24px);
        margin: 20px auto -32px;
        padding: 8px;
        border: 1px solid rgba(127, 137, 212, .3);
        border-radius: 20px;
        background: rgba(255, 255, 255, .78);
        box-shadow: 0 24px 60px rgba(36, 55, 111, .1);
    }

    .service-card {
        min-height: 500px;
    }

    .project-card,
    .process-step {
        min-height: 480px;
    }

    .service-card-media {
        height: 190px !important;
    }

    .highlighted-info-panel .info-panel-visual {
        width: 120px;
        opacity: .18;
    }

    .text-block {
        grid-template-columns: 1fr;
    }

    .faq-section .narrow-container {
        width: min(calc(100% - 24px), 696px);
    }

    .contact-panel {
        min-height: 620px;
        padding: 34px 24px 210px;
        border-radius: 22px;
    }

    .contact-panel .section-title,
    .contact-panel h2 {
        font-size: clamp(42px, 13vw, 64px);
    }

    .contact-panel-visual {
        right: -12px;
        bottom: -176px;
        width: 230px;
    }

    .legal-copy {
        border-radius: 22px;
    }
}

/* Keep the brand name intact regardless of German automatic hyphenation. */
.brand-word {
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: keep-all;
    -webkit-hyphens: none;
    hyphens: none;
}

/* --------------------------------------------------------------------------
   Strict homepage parity
   The homepage is the canonical source for spacing, typography and motion
   geometry. Keep these final rules last so every migrated route shares it.
   -------------------------------------------------------------------------- */

@media (min-width: 992px) {
    body.subpage-redesign .main-content,
    body.subpage-redesign .site-footer {
        padding-right: 0;
    }
}

.section-title,
.section-heading h2,
.text-block h2,
.info-panel h2,
.legal-copy h1 {
    font-size: clamp(48px, 6vw, 92px);
    font-weight: 680;
    line-height: .98;
    letter-spacing: -.06em;
}

.section-index {
    color: var(--dark-lila);
}

.section-index i {
    opacity: .6;
}

/* Hero: identical 1320 px / 2:1 layout and vertical rhythm as the homepage. */
.hero-section {
    min-height: max(100svh, 820px);
    padding-top: 0;
}

.hero-content {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
    align-items: center;
    gap: 0;
    min-height: max(100svh, 820px);
    padding: 48px 8px 0;
}

.hero-copy {
    position: relative;
    grid-column: 1;
    grid-row: 1;
    width: auto;
    min-width: 0;
    max-width: none;
    padding-right: 12px;
    padding-left: clamp(48px, 7vw, 108px);
}

.hero-copy > .section-index {
    top: 8px;
    left: 20px;
}

.page-title {
    max-width: 900px;
    font-size: clamp(64px, 7.5vw, 100px);
    font-weight: 720;
    line-height: .88;
    letter-spacing: -.072em;
}

.hero-title-long .page-title {
    max-width: 960px;
    font-size: clamp(52px, 5vw, 72px);
}

.hero-title-very-long .page-title {
    max-width: 940px;
    font-size: clamp(48px, 4.45vw, 64px);
}

.hero-intro {
    max-width: 650px;
    margin: 36px 0 30px;
    font-size: clamp(18px, 1.6vw, 22px);
    font-weight: 300;
    line-height: 1.45;
}

.hero-buttons {
    gap: 16px;
    margin-top: 0;
}

.hero-buttons .button,
.hero-buttons .primary-button,
.hero-buttons .secondary-button {
    gap: 28px;
    min-height: 56px;
    padding: 20px;
    font-size: 14px;
}

.hero-buttons .button .icon,
.hero-buttons .button > svg,
.hero-buttons .primary-button .icon,
.hero-buttons .secondary-button .icon {
    width: 14px;
    height: 14px;
}

.hero-buttons .secondary-button,
.hero-buttons .btn-secondary {
    box-shadow: 0 13px 33px -13px rgba(147, 141, 255, .45);
}

.hero-content > .subpage-hero-media,
.subpage-hero-media,
.subpage-hero-media--cutout,
.subpage-hero-media--cutout-wide,
.subpage-hero-media--icon,
.subpage-hero-media--portrait,
.subpage-hero-media--landscape {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    justify-self: auto;
    width: calc(100% - 24px);
    max-width: none;
    min-height: 0;
    margin: 36px 12px 0;
    transform: none;
}

.subpage-hero-media--landscape {
    padding: 12px;
    border: 1px solid rgba(127, 137, 212, .3);
    border-radius: 24px;
    background: rgba(255, 255, 255, .78);
    box-shadow: 0 32px 80px rgba(36, 55, 111, .13);
}

.hero-scroll {
    right: auto;
    bottom: 24px;
    left: 50%;
    gap: 12px;
    color: var(--dark-lila);
    font-size: 10px;
    letter-spacing: .16em;
    transform: translateX(-50%);
}

.hero-scroll i {
    background: var(--dark-lila);
}

/* The horizontal service rail uses the homepage card system verbatim. */
.service-rail-section {
    min-height: 0;
}

.service-rail-section .services-grid {
    gap: 0;
}

.service-rail-section .service-card {
    flex: 0 0 min(62vw, 720px);
    width: min(62vw, 720px);
    height: auto;
    min-height: 570px;
    margin-right: 40px;
    padding: 46px;
    border-color: var(--light-lila);
    border-radius: 20px;
}

.service-rail-section .service-card:hover {
    transform: none;
}

.service-rail-section .service-card .card-number,
.service-rail-section .service-card > .service-number {
    margin-bottom: 20px;
    font-size: 20px;
}

.service-rail-section .service-card h3,
.service-rail-section .service-card .card-title {
    font-size: clamp(52px, 5vw, 78px);
    font-weight: 670;
    line-height: .93;
    letter-spacing: -.055em;
}

.service-rail-section .service-card p {
    font-size: 18px;
}

.service-rail-section .service-card .text-link,
.service-rail-section .service-card > a:last-child,
.service-rail-section .service-card .card-link {
    align-self: flex-start;
    gap: 38px;
    min-height: 56px;
    margin-top: 34px;
    padding: 20px;
    border: 1px solid var(--light-lila);
    border-radius: 20px;
    box-shadow: 0 13px 33px -13px rgba(147, 141, 255, .45);
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
}

.service-rail-progress {
    display: grid;
    width: 100%;
    height: auto;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 18px;
    margin-top: 0;
    padding-top: 28px;
    overflow: visible;
    color: var(--dark-lila);
    background: transparent;
    font-family: var(--font-mono);
    font-size: 12px;
}

.service-rail-progress i {
    position: relative;
    display: block;
    width: 100%;
    height: 1px;
    overflow: hidden;
    background: var(--line-dark);
    transform: none;
}

.service-rail-progress b {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--dark-lila);
    transform: scaleX(.2);
    transform-origin: left center;
}

/* FAQ typography, dividers and +/- affordance mirror the homepage accordion. */
.faq-section {
    min-height: 0;
}

.faq-list,
.faq-item {
    border-color: rgba(166, 108, 194, .52);
}

.faq-item button {
    position: relative;
    padding: 30px 46px 30px 0;
    font-size: clamp(22px, 2.3vw, 34px);
    font-weight: 610;
    line-height: 1.12;
    letter-spacing: -.03em;
}

.faq-item button::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 0;
    color: var(--dark-lila);
    font-size: 30px;
    font-weight: 300;
    line-height: 1;
    transform: translateY(-50%);
}

.faq-item button[aria-expanded="true"]::after {
    content: "\2212";
}

.faq-item button .icon {
    display: none;
}

.faq-panel {
    max-width: 840px;
    padding: 0 0 20px;
}

.faq-panel p {
    color: var(--text);
    font-size: 18px;
}

/* The homepage switches to its stacked hero at the Bootstrap lg boundary. */
@media (max-width: 991.98px) {
    .hero-section,
    .hero-content {
        min-height: auto;
    }

    .hero-content {
        grid-template-columns: 1fr;
        padding: 120px 12px 80px;
    }

    .hero-copy {
        grid-column: 1;
        grid-row: 1;
        padding-right: 12px;
        padding-left: 82px;
    }

    .page-title {
        max-width: none;
        font-size: clamp(68px, 12vw, 108px);
    }

    .hero-title-long .page-title {
        font-size: clamp(54px, 9vw, 76px);
    }

    .hero-title-very-long .page-title {
        font-size: clamp(48px, 8vw, 68px);
    }

    .hero-content > .subpage-hero-media,
    .subpage-hero-media,
    .subpage-hero-media--cutout,
    .subpage-hero-media--cutout-wide,
    .subpage-hero-media--icon,
    .subpage-hero-media--portrait,
    .subpage-hero-media--landscape {
        grid-column: 1;
        grid-row: 2;
        justify-self: center;
        width: min(72vw, 500px);
        margin: 36px auto 0;
    }

    .hero-scroll {
        display: none;
    }

    .page-section:not(.hero-section):not(.service-rail-section) > .section-index {
        position: absolute;
        top: clamp(64px, 7vw, 110px);
        left: 20px;
        flex-direction: column;
        width: auto;
        margin: 0;
    }

    .page-section:not(.hero-section):not(.service-rail-section) > .section-index i {
        width: 1px;
        height: 104px;
        margin: 12px 0;
    }

    .page-section:not(.hero-section):not(.service-rail-section) > .section-index small {
        writing-mode: vertical-rl;
    }
}

@media (min-width: 992px) and (max-height: 720px) {
    .chapter-navigation {
        top: 92px;
        bottom: 20px;
        height: auto;
        min-height: 0;
        transform: none;
    }
}

@media (max-width: 767.98px) {
    .button,
    .primary-button,
    .secondary-button {
        width: auto;
        min-height: 48px;
        padding: 12px 18px;
    }

    .hero-content {
        padding: 98px 12px 66px;
    }

    .hero-copy {
        padding: 0 12px;
    }

    .hero-copy > .section-index,
    .hero-section > .section-index {
        position: relative;
        top: auto;
        left: auto;
        flex-direction: row;
        justify-content: flex-start;
        width: auto;
        margin: 0 0 26px;
    }

    .hero-copy > .section-index i,
    .hero-section > .section-index i,
    .section-index i {
        width: 52px;
        height: 1px;
        margin: 0 12px;
    }

    .hero-copy > .section-index small,
    .hero-section > .section-index small,
    .section-index small {
        writing-mode: horizontal-tb;
    }

    .page-title {
        font-size: clamp(50px, 16vw, 76px);
        line-height: .91;
    }

    .hero-title-long .page-title {
        font-size: clamp(44px, 13vw, 62px);
    }

    .hero-title-very-long .page-title {
        font-size: clamp(39px, 11.5vw, 54px);
    }

    .hero-intro {
        margin: 28px 0 30px;
        font-size: 18px;
    }

    .hero-buttons {
        display: grid;
        grid-template-columns: 1fr;
    }

    .hero-buttons .button,
    .hero-buttons .primary-button,
    .hero-buttons .secondary-button {
        width: 100%;
        min-height: 48px;
        padding: 12px 18px;
    }

    .hero-content > .subpage-hero-media,
    .subpage-hero-media,
    .subpage-hero-media--cutout,
    .subpage-hero-media--cutout-wide,
    .subpage-hero-media--icon,
    .subpage-hero-media--portrait,
    .subpage-hero-media--landscape {
        width: min(90vw, 440px);
        margin: 36px auto 0;
    }

    .subpage-hero-media--portrait {
        width: min(72vw, 340px);
    }

    .subpage-hero-media--icon {
        width: min(64vw, 280px);
    }

    .section-title,
    .section-heading h2,
    .text-block h2,
    .info-panel h2,
    .legal-copy h1 {
        font-size: clamp(47px, 13vw, 72px);
    }

    .service-rail-section .services-grid {
        gap: 14px;
    }

    .service-rail-section .service-card {
        flex-basis: 86vw;
        width: 86vw;
        min-height: 500px;
        margin-right: 0;
        padding: 32px;
    }

    .service-rail-section .service-card h3,
    .service-rail-section .service-card .card-title {
        font-size: clamp(42px, 12vw, 62px);
    }

    .faq-item button {
        padding: 24px 40px 24px 0;
        font-size: 24px;
    }
}

/*
 * Stable underpage frame: retain the homepage's regular desktop measure and
 * soften Bootstrap's abrupt 1320px jump on extra-wide viewports.
 */
@media (min-width: 768px) and (max-width: 991.98px) {
    body.subpage-redesign .breadcrumbs,
    body.subpage-redesign .main-content > .service-rail-section > .container,
    body.subpage-redesign .faq-section .narrow-container {
        max-width: 720px;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    body.subpage-redesign .breadcrumbs,
    body.subpage-redesign .main-content > .service-rail-section > .container,
    body.subpage-redesign .faq-section .narrow-container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
    body.subpage-redesign .main-content > .page-section > .container,
    body.subpage-redesign .breadcrumbs,
    body.subpage-redesign .faq-section .narrow-container {
        max-width: 1140px;
    }
}

@media (min-width: 1400px) {
    body.subpage-redesign .main-content > .page-section > .container,
    body.subpage-redesign .breadcrumbs,
    body.subpage-redesign .faq-section .narrow-container {
        width: min(calc(100% - 40px), 1240px);
        max-width: 1240px;
    }
}

@media (min-width: 1120px) {
    body.subpage-redesign {
        --subpage-content-width: 960px;
        --subpage-container-left: calc((100vw - var(--subpage-content-width)) / 2);
        --subpage-marker-x: max(20px, calc(var(--subpage-container-left) - 32px));
    }

    .page-section > .section-index {
        left: var(--subpage-marker-x);
    }

    .hero-copy > .section-index {
        left: calc(var(--subpage-marker-x) - var(--subpage-container-left) - 8px);
    }
}

@media (min-width: 1200px) {
    body.subpage-redesign {
        --subpage-content-width: 1140px;
    }
}

@media (min-width: 1400px) {
    body.subpage-redesign {
        --subpage-content-width: 1240px;
    }
}

/* Keep regular content markers horizontal throughout the complete tablet band. */
@media (min-width: 768px) and (max-width: 1119.98px) {
    body.subpage-redesign {
        --subpage-content-width: 960px;
        --subpage-container-left: calc((100vw - var(--subpage-content-width)) / 2);
        --subpage-marker-x: max(20px, var(--subpage-container-left));
    }

    .hero-copy > .section-index {
        top: -44px;
        left: calc(var(--subpage-marker-x) - var(--subpage-container-left) - 8px);
        flex-direction: row;
        width: auto;
        margin: 0;
    }

    .hero-copy > .section-index i {
        width: 64px;
        height: 1px;
        margin: 0 12px;
    }

    .hero-copy > .section-index small {
        writing-mode: horizontal-tb;
    }

    .service-rail-section > .section-index {
        left: var(--subpage-marker-x);
    }

    .brandguide-showcase.showcase-block {
        flex-direction: column;
        align-items: stretch;
    }

    .page-section:not(.hero-section):not(.service-rail-section) > .section-index {
        position: relative;
        top: auto;
        left: auto;
        flex-direction: row;
        justify-content: flex-start;
        width: min(calc(100% - 40px), 960px);
        margin: 0 auto clamp(32px, 4vw, 40px);
    }

    .page-section:not(.hero-section):not(.service-rail-section) > .section-index i {
        width: 64px;
        height: 1px;
        margin: 0 12px;
    }

    .page-section:not(.hero-section):not(.service-rail-section) > .section-index small {
        writing-mode: horizontal-tb;
    }
}

/* Content timelines mirror the homepage process rhythm on every narrative underpage. */
@media (min-width: 992px) {
    .content-section.has-content-timeline {
        overflow: visible;
        padding-top: clamp(70px, 8vw, 120px);
        padding-bottom: clamp(90px, 9vw, 140px);
    }

    .subpage-content-timeline {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, .84fr);
        align-items: start;
        gap: clamp(48px, 7vw, 104px);
        padding-inline: clamp(36px, 5vw, 72px);
        border-radius: 20px;
        background:
            radial-gradient(circle at 82% 18%, rgba(234, 245, 255, .9), transparent 31%),
            linear-gradient(180deg, var(--white), #f8fbff);
    }

    .subpage-content-timeline > .subpage-timeline-stage {
        position: -webkit-sticky;
        position: sticky;
        top: 0;
        display: flex;
        min-height: 100svh;
        align-self: start;
        flex-direction: column;
        justify-content: center;
        gap: 0;
        padding: 92px 0 48px;
        border: 0;
    }

    .subpage-timeline-stage > h2 {
        max-width: 540px;
        font-size: clamp(44px, 4.7vw, 72px);
        line-height: .94;
    }

    .subpage-timeline-active {
        margin-top: clamp(24px, 4vh, 42px);
        padding-top: clamp(14px, 2.5vh, 22px);
    }

    .subpage-timeline-active strong {
        display: block;
        color: var(--text);
        font-size: clamp(32px, 10vw, 54px);
        font-weight: 650;
        line-height: .8;
        letter-spacing: -.08em;
    }

    .subpage-timeline-active span {
        display: block;
        max-width: 470px;
        margin-top: clamp(14px, 2.2vh, 20px);
        color: var(--text);
        font-size: clamp(24px, 2.4vw, 30px);
        font-weight: 650;
        line-height: 1.05;
        letter-spacing: -.04em;
    }

    .subpage-timeline-stage > p {
        max-width: 420px;
        margin-top: 28px;
        color: var(--muted);
        font-size: 18px;
        font-weight: 300;
        line-height: 1.65;
    }

    .subpage-timeline-list {
        display: grid;
        gap: clamp(90px, 15vh, 150px);
        min-width: 0;
        padding-top: clamp(92px, 13vh, 145px);
        padding-bottom: clamp(92px, 13vh, 145px);
    }

    .subpage-timeline-list > .subpage-timeline-step,
    .subpage-timeline-list > .subpage-timeline-step:last-child {
        position: relative;
        display: flex;
        min-height: clamp(230px, 32vh, 320px);
        flex-direction: column;
        justify-content: center;
        gap: 0;
        padding: 0;
        border: 0;
        color: var(--text);
        opacity: .22;
        visibility: visible;
        pointer-events: auto;
        transform: none;
        transition: opacity .28s ease, color .28s ease;
    }

    .subpage-timeline-step.is-before,
    .subpage-timeline-step.is-after {
        opacity: .42;
    }

    .subpage-timeline-step.is-hidden-step {
        opacity: .22;
        visibility: visible;
        pointer-events: auto;
    }

    .subpage-timeline-list > .subpage-timeline-step.is-active {
        opacity: 1;
    }

    .subpage-timeline-step-number {
        display: block;
        margin-bottom: 20px;
        color: var(--light-lila);
        font-family: var(--font-mono);
        font-size: 14px;
        letter-spacing: .08em;
    }

    .subpage-timeline-step > h2 {
        max-width: 500px;
        margin: 0 0 18px;
        font-size: clamp(32px, 3vw, 46px);
        font-weight: 650;
        line-height: 1;
        letter-spacing: -.04em;
    }

    .subpage-timeline-step > p {
        max-width: 470px;
        margin: 0;
        color: var(--text);
        font-size: 17px;
        font-weight: 300;
        line-height: 1.65;
    }
}

@media (max-width: 991.98px) {
    .content-section.has-content-timeline {
        overflow: clip;
    }

    .subpage-content-timeline {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
        padding-inline: calc(var(--bs-gutter-x) * .5);
        border-radius: 0;
        background: transparent;
    }

    .subpage-content-timeline > .subpage-timeline-stage {
        position: relative;
        top: auto;
        display: grid;
        width: 100%;
        min-width: 0;
        min-height: 0;
        grid-template-columns: minmax(0, 1fr);
        gap: 26px;
        padding: 48px 0;
        border-top: 1px solid var(--line-dark);
    }

    .subpage-timeline-active,
    .subpage-timeline-step-number {
        display: none;
    }

    .subpage-timeline-list {
        display: grid;
        gap: 0;
        padding: 0;
    }

    .subpage-timeline-list > .subpage-timeline-step,
    .subpage-timeline-list > .subpage-timeline-step.is-active,
    .subpage-timeline-list > .subpage-timeline-step.is-before,
    .subpage-timeline-list > .subpage-timeline-step.is-after,
    .subpage-timeline-list > .subpage-timeline-step.is-hidden-step {
        display: grid;
        width: 100%;
        min-width: 0;
        min-height: 0;
        grid-template-columns: minmax(0, 1fr);
        gap: 26px;
        padding: 48px 0;
        border-top: 1px solid var(--line-dark);
        color: var(--text);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .subpage-timeline-stage > h2,
    .subpage-timeline-stage > p,
    .subpage-timeline-step > h2,
    .subpage-timeline-step > p {
        min-width: 0;
        overflow-wrap: anywhere;
        hyphens: none;
    }

    .subpage-timeline-list > .subpage-timeline-step:last-child {
        border-bottom: 1px solid var(--line-dark);
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    body.subpage-redesign {
        --subpage-content-width: 720px;
    }

    .hero-copy > .section-index {
        left: calc(var(--subpage-marker-x) - var(--subpage-container-left) - 12px);
    }

    .page-section:not(.hero-section):not(.service-rail-section) > .section-index {
        width: min(calc(100% - 40px), 720px);
    }
}

/* Wide key-point panels follow the homepage's process-section proportions. */
@media (min-width: 992px) {
    .key-points-section.section-padding {
        padding-top: clamp(110px, 8vw, 140px);
        padding-bottom: clamp(110px, 9vw, 150px);
    }

    .key-points-section .feature-grid > .info-panel {
        grid-column: span 6;
        min-height: clamp(570px, 72svh, 680px);
        padding: 46px;
    }

    .key-points-section .feature-grid > .info-panel:only-child {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(360px, .833fr);
        grid-template-rows: auto 1fr;
        column-gap: clamp(64px, 8vw, 128px);
        align-items: start;
    }

    .key-points-section .info-panel > h2:first-child {
        max-width: none;
        margin: 0 0 36px;
        font-size: clamp(52px, 5vw, 78px);
        font-weight: 670;
        line-height: .93;
        letter-spacing: -.055em;
        overflow-wrap: normal;
        word-break: normal;
    }

    .key-points-section .feature-grid > .info-panel:only-child > h2:first-child {
        grid-column: 1;
        grid-row: 1;
    }

    .key-points-section .feature-grid > .info-panel:only-child > .check-list,
    .key-points-section .feature-grid > .info-panel:only-child > .icon-list,
    .key-points-section .feature-grid > .info-panel:only-child > .key-points-list {
        grid-column: 2;
        grid-row: 1 / 3;
        align-self: center;
        margin: 0;
        font-size: 18px;
    }

    .key-points-section .feature-grid > .info-panel:only-child > .info-panel-visual {
        position: relative;
        top: auto;
        right: auto;
        grid-column: 1;
        grid-row: 2;
        align-self: end;
        justify-self: end;
        width: clamp(170px, 18vw, 260px);
        margin: 18px 2% -12px 0;
        opacity: .42;
    }
}

@media (max-width: 991.98px) {
    .key-points-section .feature-grid {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
        width: auto;
        margin-inline: auto;
        padding-right: 12px;
        overflow: visible;
        scroll-snap-type: none;
    }

    .key-points-section .feature-grid > .info-panel {
        grid-column: 1;
        width: 100%;
        min-height: 0;
        padding: 40px;
    }

    .key-points-section .info-panel > h2:first-child {
        max-width: none;
        margin: 0 0 32px;
        overflow-wrap: normal;
        word-break: normal;
    }

    .key-points-section .feature-grid > .info-panel:only-child {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto auto auto;
    }

    .key-points-section .feature-grid > .info-panel:only-child > h2:first-child {
        grid-row: 1;
    }

    .key-points-section .feature-grid > .info-panel:only-child > .info-panel-visual {
        position: relative;
        top: auto;
        right: auto;
        grid-row: 2;
        justify-self: end;
        width: clamp(150px, 27vw, 210px);
        margin: -24px 2% 6px 0;
        opacity: .38;
    }

    .key-points-section .feature-grid > .info-panel:only-child > .check-list,
    .key-points-section .feature-grid > .info-panel:only-child > .icon-list,
    .key-points-section .feature-grid > .info-panel:only-child > .key-points-list {
        grid-row: 3;
        margin-top: 20px;
    }
}

@media (max-width: 767.98px) {
    .key-points-section.section-padding {
        padding-top: 86px;
        padding-bottom: 86px;
    }

    .key-points-section .feature-grid {
        padding-right: 0;
    }

    .key-points-section .feature-grid > .info-panel {
        padding: 30px;
    }

    .key-points-section .info-panel > h2:first-child {
        font-size: clamp(47px, 13vw, 72px);
        line-height: .93;
    }

    .key-points-section .feature-grid > .info-panel:only-child > .info-panel-visual {
        width: clamp(150px, 46vw, 190px);
        margin-top: -18px;
    }
}

/* Balance every remaining underpage grid across the homepage container width. */
@media (min-width: 992px) {
    .related-services:has(> a:nth-child(2):last-child),
    .related-services:has(> a:nth-child(4):last-child) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .process-section .process-grid > .process-step {
        grid-column: span 6;
    }
}

@media (min-width: 768px) {
    .faq-section .narrow-container {
        width: min(calc(100% - 40px), 1320px);
        padding-inline: clamp(44px, 7vw, 120px);
    }
}

@media (max-width: 991.98px) {
    .two-column-layout {
        grid-template-columns: minmax(0, 1fr);
    }
}

.faq-item button {
    display: block;
    width: 100%;
    text-align: left;
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .project-card h3,
    .project-card .card-title {
        font-size: 26px;
    }
}

@media (max-width: 767.98px) {
    .brandguide-showcase.showcase-block {
        flex-direction: column;
        align-items: stretch;
    }

    .subpage-timeline-stage > h2,
    .subpage-timeline-step > h2 {
        font-size: clamp(38px, 11vw, 46px);
    }

    .faq-section .narrow-container {
        padding-inline: 0;
    }

    .hero-copy > .section-index {
        margin-left: -6px;
    }

    .page-section:not(.hero-section):not(.service-rail-section) > .section-index {
        position: relative;
        top: auto;
        left: auto;
        flex-direction: row;
        justify-content: flex-start;
        width: min(calc(100% - 24px), 1320px);
        margin: 0 auto 28px;
    }

    .page-section:not(.hero-section):not(.service-rail-section) > .section-index i {
        width: 64px;
        height: 1px;
        margin: 0 12px;
    }

    .page-section:not(.hero-section):not(.service-rail-section) > .section-index small {
        writing-mode: horizontal-tb;
    }
}
