:root {
    --brand-purple: #a100ff;
    --brand-purple-dark: #8100cb;
    --brand-orange: #ffa100;
    --brand-orange-light: #ffb83f;
    --ink: #121425;
    --ink-soft: #41475d;
    --muted: #6f768c;
    --line: #e8eaf2;
    --surface: #ffffff;
    --surface-soft: #f8f7fb;
    --surface-purple: #f8f1ff;
    --dark: #10101a;
    --container: 1180px;
    --radius-md: 20px;
    --shadow-sm: 0 10px 30px rgba(27, 18, 46, 0.06);
    --shadow-md: 0 20px 60px rgba(27, 18, 46, 0.10);
    --shadow-brand: 0 18px 50px rgba(161, 0, 255, 0.20);
    --transition: 180ms ease;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 92px;
}

body {
    margin: 0;
    min-width: 320px;
    background: var(--surface);
    color: var(--ink);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body.nav-open { overflow: hidden; }

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

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

button,
input,
select,
textarea { font: inherit; }

button,
a { -webkit-tap-highlight-color: transparent; }

button { border: 0; }

h1,
h2,
h3,
p { margin-top: 0; }

h1,
h2,
h3 { letter-spacing: -0.035em; }

p:last-child { margin-bottom: 0; }

::selection {
    background: rgba(161, 0, 255, 0.16);
    color: var(--ink);
}

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

.section { padding: 104px 0; }

.section-soft {
    background:
        radial-gradient(circle at 8% 14%, rgba(161, 0, 255, 0.06), transparent 26%),
        radial-gradient(circle at 86% 72%, rgba(255, 161, 0, 0.06), transparent 24%),
        var(--surface-soft);
}

.section-dark {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 10%, rgba(161, 0, 255, 0.24), transparent 28%),
        radial-gradient(circle at 85% 84%, rgba(255, 161, 0, 0.12), transparent 30%),
        var(--dark);
    color: #fff;
}

.section-dark::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), transparent 90%);
}

.section-dark > .container {
    position: relative;
    z-index: 1;
}

.skip-link {
    position: fixed;
    z-index: 9999;
    top: 12px;
    left: 12px;
    transform: translateY(-160%);
    border-radius: 8px;
    background: var(--ink);
    color: #fff;
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 700;
}

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

/* Header */
.site-header {
    position: sticky;
    z-index: 1000;
    top: 0;
    border-bottom: 1px solid transparent;
    background: rgba(255,255,255,.88);
    backdrop-filter: blur(16px);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.site-header.is-scrolled {
    border-color: var(--line);
    box-shadow: 0 10px 28px rgba(18,20,37,.05);
}

.header-inner {
    display: flex;
    min-height: 76px;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand {
    display: inline-flex;
    align-items: center;
}

.brand-logo {
    width: 220px;
    height: auto;
}

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

.nav-link {
    border-radius: 10px;
    color: var(--ink-soft);
    padding: 10px 13px;
    font-size: 14px;
    font-weight: 650;
    transition: color var(--transition), background var(--transition);
}

.nav-link:hover,
.nav-link.is-active {
    background: var(--surface-purple);
    color: var(--brand-purple-dark);
}

.nav-cta { margin-left: 10px; }

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border-radius: 12px;
    background: var(--surface-soft);
}

.nav-toggle span {
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: var(--ink);
    transition: transform var(--transition), opacity var(--transition);
}

/* Buttons / labels */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 44px;
    border: 1px solid transparent;
    border-radius: 12px;
    padding: 0 18px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 750;
    line-height: 1;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition);
}

.button:hover { transform: translateY(-1px); }

.button-primary {
    background: linear-gradient(135deg, var(--brand-purple), var(--brand-purple-dark));
    color: #fff;
    box-shadow: 0 10px 28px rgba(161,0,255,.18);
}

.button-primary:hover { box-shadow: var(--shadow-brand); }

.button-secondary {
    border-color: var(--line);
    background: #fff;
    color: var(--ink);
}

.button-secondary:hover {
    border-color: #d8dbea;
    box-shadow: var(--shadow-sm);
}

.button-light {
    background: #fff;
    color: var(--ink);
}

.button-light:hover { box-shadow: 0 14px 36px rgba(0,0,0,.18); }

.button-lg {
    min-height: 52px;
    border-radius: 14px;
    padding: 0 22px;
    font-size: 15px;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--brand-purple-dark);
    font-size: 14px;
    font-weight: 750;
}

.text-link span { transition: transform var(--transition); }
.text-link:hover span { transform: translateX(4px); }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--brand-purple-dark);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.eyebrow-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--brand-orange);
    box-shadow: 0 0 0 5px rgba(255,161,0,.12);
}

.eyebrow-dark { color: #dcb1ff; }

/* Hero */
.hero {
    position: relative;
    overflow: hidden;
    padding-top: 92px;
    padding-bottom: 96px;
}

.hero::before {
    content: "";
    position: absolute;
    width: 560px;
    height: 560px;
    right: -260px;
    top: -260px;
    border-radius: 50%;
    background: rgba(161,0,255,.065);
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0,1.06fr) minmax(420px,.94fr);
    align-items: center;
    gap: 72px;
}

.hero-copy h1 {
    max-width: 760px;
    margin: 22px 0 24px;
    font-size: clamp(48px,6vw,78px);
    line-height: .99;
    letter-spacing: -.06em;
}

.gradient-text {
    display: block;
    background: linear-gradient(90deg,var(--brand-purple-dark) 0%,var(--brand-purple) 45%,var(--brand-orange) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-lead {
    max-width: 680px;
    margin-bottom: 30px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 22px;
    margin-top: 28px;
    color: var(--ink-soft);
    font-size: 13px;
    font-weight: 650;
}

.hero-points span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-points i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--brand-orange);
}

.hero-visual {
    position: relative;
    min-height: 520px;
}

.hero-panel {
    position: absolute;
    z-index: 2;
    inset: 58px 22px 42px 54px;
    overflow: hidden;
    border: 1px solid rgba(161,0,255,.10);
    border-radius: 28px;
    background: linear-gradient(180deg,rgba(255,255,255,.99),rgba(250,248,253,.96));
    box-shadow: 0 36px 90px rgba(46,22,70,.14);
    padding: 26px;
}

.hero-panel::before {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    right: -90px;
    top: -90px;
    border-radius: 50%;
    background: rgba(255,161,0,.10);
}

.panel-top {
    position: relative;
    display: grid;
    grid-template-columns: 46px 1fr auto;
    align-items: center;
    gap: 13px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--line);
}

.panel-mark {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    overflow: hidden;
    border-radius: 13px;
    background: #f5f5f5;
}

.panel-mark img {
    width: 43px;
    height: 43px;
    object-fit: cover;
}

.panel-top div:nth-child(2),
.chart-heading { display: grid; }

.panel-top span,
.chart-heading span,
.panel-cards p {
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
}

.panel-top strong,
.chart-heading strong,
.panel-cards strong {
    color: var(--ink);
    font-size: 13px;
}

.status-pill {
    border-radius: 999px;
    background: #edfff3;
    color: #17783b !important;
    padding: 5px 9px;
    font-size: 10px !important;
    font-weight: 800 !important;
}

.panel-chart {
    margin-top: 22px;
    border-radius: 20px;
    background: #fff;
    padding: 20px;
    box-shadow: inset 0 0 0 1px var(--line);
}

.chart-bars {
    display: flex;
    height: 144px;
    align-items: flex-end;
    gap: 12px;
    margin-top: 22px;
    padding-top: 10px;
    border-bottom: 1px solid var(--line);
    background:
        linear-gradient(to bottom,transparent 31%,#f1f2f7 32%,transparent 33%),
        linear-gradient(to bottom,transparent 64%,#f1f2f7 65%,transparent 66%);
}

.chart-bars span {
    flex: 1;
    min-width: 14px;
    border-radius: 8px 8px 2px 2px;
    background: linear-gradient(180deg,var(--brand-purple),var(--brand-purple-dark));
}

.chart-bars span:nth-child(even) {
    background: linear-gradient(180deg,var(--brand-orange-light),var(--brand-orange));
}

.panel-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 16px;
}

.panel-cards > div {
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    padding: 16px;
}

.panel-cards p { margin: 10px 0 3px; }
.panel-cards strong { font-size: 12px; }

.mini-icon {
    display: inline-grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 10px;
    color: #fff;
    font-size: 11px;
    font-weight: 900;
}

.mini-purple { background: var(--brand-purple); }
.mini-orange { background: var(--brand-orange); }

.hero-orbit {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(161,0,255,.12);
}

.hero-orbit-one {
    width: 430px;
    height: 430px;
    right: -10px;
    top: 30px;
}

.hero-orbit-two {
    width: 320px;
    height: 320px;
    right: 46px;
    top: 86px;
    border-color: rgba(255,161,0,.17);
}

.floating-chip {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 9px;
    border: 1px solid rgba(161,0,255,.11);
    border-radius: 999px;
    background: rgba(255,255,255,.94);
    box-shadow: var(--shadow-sm);
    padding: 9px 14px 9px 9px;
    backdrop-filter: blur(12px);
}

.floating-chip span {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 50%;
    background: var(--brand-purple);
    color: #fff;
    font-size: 9px;
    font-weight: 900;
}

.floating-chip p {
    margin: 0;
    color: var(--ink);
    font-size: 12px;
    font-weight: 800;
}

.chip-one { left: 0; top: 130px; }
.chip-two { right: 0; bottom: 102px; }
.chip-two span { background: var(--brand-orange); }

/* Trust strip */
.trust-strip {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #fff;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(5,1fr);
}

.trust-grid span {
    position: relative;
    padding: 21px 16px;
    color: var(--ink-soft);
    text-align: center;
    font-size: 12px;
    font-weight: 750;
}

.trust-grid span + span::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 1px;
    height: 22px;
    transform: translateY(-50%);
    background: var(--line);
}

/* Shared content */
.section-heading { max-width: 680px; }

.section-heading h2 {
    margin: 14px 0 18px;
    font-size: clamp(34px,4.2vw,54px);
    line-height: 1.08;
}

.section-heading p {
    max-width: 650px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.75;
}

.section-heading-light h2 { color: #fff; }
.section-heading-light p { color: #b9b8c7; }

.centered {
    margin-inline: auto;
    text-align: center;
}

.section-title-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 48px;
}

.split-layout {
    display: grid;
    grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr);
    gap: 100px;
    align-items: start;
}

.split-content { color: var(--muted); }
.split-content p { margin-bottom: 22px; }

.lead-copy {
    color: var(--ink) !important;
    font-size: 19px;
    line-height: 1.7;
}

/* Service cards */
.service-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 18px;
}

.service-card {
    position: relative;
    min-height: 310px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: #fff;
    padding: 28px;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(161,0,255,.18);
    box-shadow: var(--shadow-md);
}

.service-card::after {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    right: -55px;
    bottom: -55px;
    border-radius: 50%;
    background: rgba(161,0,255,.04);
    transition: transform 260ms ease;
}

.service-card:hover::after { transform: scale(1.25); }

.service-number {
    position: absolute;
    right: 22px;
    top: 22px;
    color: #c6cad7;
    font-size: 11px;
    font-weight: 850;
}

.service-icon {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 14px;
    background: var(--surface-purple);
    color: var(--brand-purple-dark);
}

.service-icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-card:nth-child(even) .service-icon {
    background: #fff6e8;
    color: #bd6d00;
}

.service-card h3 {
    margin: 24px 0 12px;
    font-size: 21px;
}

.service-card p {
    margin-bottom: 24px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.75;
}

.service-card a {
    position: relative;
    z-index: 1;
    display: inline-flex;
    gap: 7px;
    align-items: center;
    color: var(--brand-purple-dark);
    font-size: 13px;
    font-weight: 800;
}

.service-mobile-link,
.work-mobile-link,
.mobile-only { display: none; }

/* Work */
.work-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.work-card {
    display: flex;
    min-height: 430px;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 24px;
    background: rgba(255,255,255,.055);
    padding: 30px;
    backdrop-filter: blur(12px);
    transition: transform var(--transition), border-color var(--transition), background var(--transition);
}

.work-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255,255,255,.18);
    background: rgba(255,255,255,.075);
}

.work-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.client-badge {
    display: inline-grid;
    width: 52px;
    height: 52px;
    place-items: center;
    border-radius: 17px;
    background: linear-gradient(135deg,var(--brand-purple),var(--brand-purple-dark));
    color: #fff;
    font-size: 14px;
    font-weight: 900;
}

.client-badge-orange {
    background: linear-gradient(135deg,var(--brand-orange-light),var(--brand-orange));
    color: #392400;
}

.client-badge-large {
    width: 78px;
    height: 78px;
    border-radius: 24px;
    font-size: 20px;
}

.case-label {
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 999px;
    color: #d7d5e2;
    padding: 6px 10px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.client-type {
    margin: 26px 0 7px;
    color: #aaa8ba;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.work-card h3 {
    margin-bottom: 13px;
    color: #fff;
    font-size: 30px;
}

.work-card p {
    color: #bdbac9;
    font-size: 14px;
    line-height: 1.75;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 25px 0;
}

.tag-list span {
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 999px;
    background: rgba(255,255,255,.055);
    color: #d9d7e2;
    padding: 6px 9px;
    font-size: 10px;
    font-weight: 700;
}

.work-card a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
}

.case-study {
    display: grid;
    grid-template-columns: 300px minmax(0,1fr);
    gap: 84px;
    align-items: start;
}

.case-sidebar {
    position: sticky;
    top: 120px;
}

.case-sidebar > p {
    margin: 22px 0 6px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.case-sidebar h2 {
    margin-bottom: 10px;
    font-size: 32px;
    line-height: 1.1;
}

.case-location {
    color: var(--muted);
    font-size: 13px;
}

.case-content h3 {
    max-width: 780px;
    margin: 14px 0 20px;
    font-size: clamp(32px,4vw,48px);
    line-height: 1.12;
}

.case-service-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 32px;
}

.case-service-grid > div {
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    padding: 20px;
}

.case-service-grid strong {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
}

.case-service-grid p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.65;
}

.case-note {
    margin-top: 22px;
    border-left: 3px solid var(--brand-orange);
    border-radius: 0 14px 14px 0;
    background: #fff8ed;
    padding: 20px 22px;
}

.case-note strong {
    display: block;
    margin-bottom: 5px;
}

.case-note p {
    color: #765021;
    font-size: 13px;
}

/* Process */
.process-grid {
    display: grid;
    grid-template-columns: repeat(5,1fr);
    gap: 0;
    margin-top: 54px;
    border: 1px solid var(--line);
    border-radius: 22px;
    overflow: hidden;
}

.process-item {
    position: relative;
    min-height: 210px;
    padding: 26px 22px;
}

.process-item + .process-item { border-left: 1px solid var(--line); }

.process-item > span {
    color: var(--brand-purple);
    font-size: 11px;
    font-weight: 900;
}

.process-item h3 {
    margin: 42px 0 9px;
    font-size: 19px;
}

.process-item p {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.7;
}

/* Page hero */
.page-hero {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    background:
        radial-gradient(circle at 82% 12%,rgba(161,0,255,.075),transparent 28%),
        radial-gradient(circle at 16% 86%,rgba(255,161,0,.05),transparent 26%),
        #fff;
    padding: 88px 0 82px;
}

.page-hero-grid {
    display: grid;
    grid-template-columns: minmax(0,1.3fr) minmax(300px,.7fr);
    gap: 80px;
    align-items: end;
}

.page-hero-copy h1 {
    max-width: 850px;
    margin: 20px 0 22px;
    font-size: clamp(46px,6vw,72px);
    line-height: 1;
}

.page-hero-copy p {
    max-width: 720px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.75;
}

.page-hero-aside {
    border-left: 2px solid var(--brand-orange);
    padding-left: 24px;
}

.page-hero-aside > span {
    display: block;
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.page-hero-aside strong {
    display: block;
    margin-bottom: 10px;
    font-size: 20px;
    line-height: 1.35;
}

.page-hero-aside p,
.page-hero-aside a {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}

/* About */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 16px;
    margin-top: 48px;
}

.value-card {
    min-height: 250px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    padding: 26px;
}

.value-card > span {
    color: var(--brand-orange);
    font-size: 11px;
    font-weight: 900;
}

.value-card h3 {
    margin: 48px 0 10px;
    font-size: 20px;
}

.value-card p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.mission-card {
    min-height: 330px;
    border: 1px solid var(--line);
    border-radius: 26px;
    padding: 34px;
}

.mission-card h2 {
    max-width: 520px;
    margin: 28px 0 18px;
    font-size: clamp(30px,4vw,46px);
    line-height: 1.12;
}

.mission-card p {
    color: var(--muted);
    line-height: 1.75;
}

.mission-card-accent {
    border-color: transparent;
    background: linear-gradient(145deg,var(--brand-purple-dark),var(--brand-purple));
    color: #fff;
}

.mission-card-accent .eyebrow { color: #ecd5ff; }
.mission-card-accent p { color: rgba(255,255,255,.78); }

/* Service detail */
.service-category-heading {
    display: grid;
    grid-template-columns: 80px minmax(0,680px);
    gap: 24px;
    align-items: start;
    margin-bottom: 40px;
}

.category-number {
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    border-radius: 18px;
    background: var(--surface-purple);
    color: var(--brand-purple-dark);
    font-size: 12px;
    font-weight: 900;
}

.service-category-heading h2 {
    margin: 10px 0 12px;
    font-size: clamp(34px,4.2vw,50px);
    line-height: 1.1;
}

.service-category-heading p {
    color: var(--muted);
    line-height: 1.75;
}

.service-detail-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 16px;
}

.service-detail-card {
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    padding: 26px;
}

.service-detail-card h3 {
    margin-bottom: 10px;
    font-size: 21px;
}

.service-detail-card > p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.75;
}

.check-list {
    display: grid;
    gap: 8px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 20px;
    color: var(--ink-soft);
    font-size: 12px;
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--brand-orange);
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: minmax(280px,.78fr) minmax(0,1.22fr);
    gap: 84px;
    align-items: start;
}

.contact-info {
    position: sticky;
    top: 120px;
}

.contact-info h2,
.form-intro h2 {
    margin: 16px 0 18px;
    font-size: clamp(32px,4vw,48px);
    line-height: 1.1;
}

.contact-info > p,
.form-intro p {
    color: var(--muted);
    line-height: 1.75;
}

.form-intro {
    margin-bottom: 26px;
}

.contact-details {
    display: grid;
    gap: 18px;
    margin-top: 38px;
}

.contact-details > div {
    border-top: 1px solid var(--line);
    padding-top: 16px;
}

.contact-details span {
    display: block;
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.contact-details a,
.contact-details strong {
    font-size: 14px;
    font-weight: 700;
}

.contact-form-card {
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--shadow-sm);
    padding: 32px;
}

.contact-form {
    display: grid;
    gap: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.field {
    display: grid;
    gap: 7px;
}

.field label {
    color: var(--ink-soft);
    font-size: 12px;
    font-weight: 750;
}

.field label span { color: #c63434; }

.field input,
.field select,
.field textarea {
    width: 100%;
    border: 1px solid #dfe2ec;
    border-radius: 12px;
    outline: none;
    background: #fff;
    color: var(--ink);
    padding: 12px 13px;
    font-size: 14px;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.field input,
.field select { min-height: 48px; }

.field textarea {
    min-height: 150px;
    resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--brand-purple);
    box-shadow: 0 0 0 4px rgba(161,0,255,.08);
}

.form-submit { justify-self: start; }

.form-note {
    color: var(--muted);
    font-size: 11px;
}

.form-note a {
    color: var(--brand-purple-dark);
    font-weight: 700;
}

.form-alert {
    margin-bottom: 20px;
    border-radius: 14px;
    padding: 14px 16px;
    font-size: 13px;
}

.form-alert-success {
    border: 1px solid #b9e8c8;
    background: #effbf3;
    color: #23603a;
}

/* CTA */
.cta-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: #fff;
    padding: 42px;
}

.cta-card h2 {
    margin: 12px 0 10px;
    font-size: clamp(30px,4vw,46px);
}

.cta-card p {
    max-width: 660px;
    color: var(--muted);
}

.cta-card-dark {
    border-color: rgba(255,255,255,.10);
    background: rgba(255,255,255,.055);
}

.cta-card-dark h2 { color: #fff; }
.cta-card-dark p { color: #b9b8c7; }

/* Legal */
.legal-hero {
    border-bottom: 1px solid var(--line);
    background: var(--surface-soft);
    padding: 82px 0 64px;
}

.legal-hero h1 {
    margin: 14px 0 10px;
    font-size: clamp(44px,6vw,68px);
}

.legal-hero p {
    color: var(--muted);
    font-size: 13px;
}

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

.legal-content { max-width: 820px; }

.legal-content > p,
.legal-content li {
    color: var(--muted);
    line-height: 1.8;
}

.legal-content h2 {
    margin: 40px 0 12px;
    font-size: 24px;
}

.legal-content a {
    color: var(--brand-purple-dark);
    font-weight: 700;
}

.legal-note {
    margin-top: 42px;
    border: 1px solid #f2d9ad;
    border-radius: 16px;
    background: #fff9ef;
    color: #765021;
    padding: 18px 20px;
    font-size: 13px;
}

/* 404 */
.not-found-section {
    display: grid;
    min-height: calc(100vh - 76px);
    place-items: center;
    padding: 80px 0;
}

.not-found-content {
    max-width: 720px;
    text-align: center;
}

.error-code {
    display: block;
    margin-bottom: 16px;
    background: linear-gradient(90deg,var(--brand-purple),var(--brand-orange));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: clamp(90px,18vw,180px);
    font-weight: 900;
    line-height: .8;
    letter-spacing: -.07em;
}

.not-found-content h1 {
    margin: 18px 0;
    font-size: clamp(38px,5vw,58px);
    line-height: 1.05;
}

.not-found-content > p {
    max-width: 560px;
    margin: 0 auto 28px;
    color: var(--muted);
}

/* Footer */
.site-footer {
    border-top: 1px solid #262635;
    background: #0d0d15;
    color: #fff;
    padding: 70px 0 24px;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr .7fr .9fr 1fr;
    gap: 54px;
}

.footer-logo-link { margin-bottom: 18px; }

.footer-logo {
    width: 210px;
    height: auto;
}

.footer-brand p {
    max-width: 390px;
    color: #9292a2;
    font-size: 13px;
    line-height: 1.8;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
}

.footer-column h2 {
    margin-bottom: 8px;
    color: #fff;
    font-size: 12px;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.footer-column a,
.footer-column span {
    color: #9c9baa;
    font-size: 12px;
    transition: color var(--transition);
}

.footer-column a:hover { color: #fff; }

.footer-contact { word-break: break-word; }

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-top: 54px;
    padding-top: 22px;
    border-top: 1px solid #282735;
}

.footer-bottom p,
.footer-legal a {
    margin: 0;
    color: #777787;
    font-size: 11px;
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.footer-legal a:hover { color: #fff; }

/* Reveal */
.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 560ms ease, transform 560ms ease;
}

.reveal-delay-1 { transition-delay: 80ms; }
.reveal-delay-2 { transition-delay: 150ms; }

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

/* Responsive */
@media (max-width: 1100px) {
    .hero-grid { grid-template-columns: 1fr 430px; gap: 42px; }
    .hero-copy h1 { font-size: clamp(46px,6vw,64px); }
    .service-grid,
    .service-detail-grid { grid-template-columns: repeat(2,1fr); }
    .values-grid { grid-template-columns: repeat(2,1fr); }
    .process-grid { grid-template-columns: repeat(3,1fr); }
    .process-item + .process-item { border-left: 0; }
    .process-item { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
    .process-item:nth-child(3n) { border-right: 0; }
    .process-item:nth-last-child(-n + 2) { border-bottom: 0; }
    .footer-main { grid-template-columns: 1.4fr 1fr 1fr; }
    .footer-contact { grid-column: 2 / -1; }
}

@media (max-width: 900px) {
    .section { padding: 82px 0; }
    .nav-toggle { display: inline-flex; }

    .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    .primary-nav {
        position: fixed;
        inset: 76px 16px auto;
        display: none;
        max-height: calc(100vh - 94px);
        overflow-y: auto;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        border: 1px solid var(--line);
        border-radius: 18px;
        background: rgba(255,255,255,.985);
        box-shadow: var(--shadow-md);
        padding: 12px;
    }

    .primary-nav.is-open { display: flex; }
    .nav-link { padding: 13px 14px; }
    .nav-cta { margin: 6px 0 0; }

    .hero { padding-top: 68px; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-copy { max-width: 760px; }

    .hero-visual {
        min-height: 480px;
        max-width: 600px;
        width: 100%;
        margin-inline: auto;
    }

    .split-layout,
    .page-hero-grid,
    .contact-grid { grid-template-columns: 1fr; gap: 44px; }

    .contact-info,
    .case-sidebar { position: static; }

    .work-grid,
    .mission-grid { grid-template-columns: 1fr; }

    .case-study { grid-template-columns: 1fr; gap: 44px; }

    .case-sidebar {
        display: grid;
        grid-template-columns: auto 1fr;
        column-gap: 18px;
        align-items: center;
    }

    .case-sidebar > p,
    .case-sidebar h2,
    .case-location { grid-column: 2; }

    .client-badge-large { grid-row: 1 / span 3; }
    .case-sidebar > p { margin: 0; }
    .case-sidebar h2 { margin: 3px 0; }

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

    .footer-main { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-contact { grid-column: auto; }

    .desktop-only { display: none !important; }
    .mobile-only { display: inline-flex; }
    .service-mobile-link,
    .work-mobile-link { margin-top: 24px; }
}

@media (max-width: 680px) {
    .container { width: min(calc(100% - 28px), var(--container)); }
    .section { padding: 68px 0; }
    .header-inner { min-height: 70px; }
    .brand-logo { width: 184px; }
    .primary-nav { inset: 70px 14px auto; }

    .hero { padding-top: 54px; padding-bottom: 72px; }

    .hero-copy h1 {
        margin-top: 18px;
        font-size: clamp(42px,12.5vw,58px);
    }

    .hero-lead,
    .page-hero-copy p { font-size: 16px; }

    .hero-actions,
    .hero-actions .button { width: 100%; }

    .hero-visual { min-height: 420px; }

    .hero-panel {
        inset: 42px 0 34px 12px;
        padding: 20px;
    }

    .panel-cards { grid-template-columns: 1fr; }
    .panel-cards > div:nth-child(2) { display: none; }
    .floating-chip { display: none; }

    .hero-orbit-one { width: 360px; height: 360px; right: -90px; }
    .hero-orbit-two { width: 270px; height: 270px; right: -30px; }

    .trust-grid { grid-template-columns: repeat(2,1fr); }
    .trust-grid span { border-bottom: 1px solid var(--line); }
    .trust-grid span:nth-child(odd)::before { display: none; }
    .trust-grid span:last-child { grid-column: 1 / -1; border-bottom: 0; }

    .section-title-row { margin-bottom: 34px; }
    .section-heading h2 { font-size: 36px; }

    .service-grid,
    .service-detail-grid,
    .values-grid,
    .case-service-grid { grid-template-columns: 1fr; }

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

    .process-grid { grid-template-columns: 1fr; }

    .process-item,
    .process-item:nth-child(3n),
    .process-item:nth-last-child(-n + 2) {
        min-height: 170px;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .process-item:last-child { border-bottom: 0; }
    .process-item h3 { margin-top: 26px; }

    .page-hero { padding: 64px 0 58px; }
    .page-hero-copy h1 { font-size: 44px; }

    .service-category-heading { grid-template-columns: 1fr; gap: 16px; }
    .form-row { grid-template-columns: 1fr; }
    .contact-form-card { padding: 22px; }
    .cta-card { padding: 30px 24px; }

    .footer-main { grid-template-columns: 1fr; gap: 34px; }
    .footer-brand,
    .footer-contact { grid-column: auto; }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }
}

@media (max-width: 420px) {
    .brand-logo { width: 166px; }

    .hero-copy h1,
    .page-hero-copy h1 { font-size: 39px; }

    .hero-points { display: grid; gap: 10px; }
    .hero-visual { min-height: 390px; }

    .hero-panel { left: 0; right: 0; }
    .panel-top { grid-template-columns: 42px 1fr; }
    .status-pill { display: none; }
    .chart-bars { gap: 7px; }

    .case-sidebar { grid-template-columns: 64px 1fr; }

    .client-badge-large {
        width: 64px;
        height: 64px;
        border-radius: 20px;
        font-size: 16px;
    }
}

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

    .reveal {
        opacity: 1;
        transform: none;
    }
}
