:root {
    --ink: #080d12;
    --ink-soft: #0d151d;
    --ink-lift: #121d27;
    --paper: #f2ede3;
    --paper-deep: #e6ddce;
    --gold: #c8a45d;
    --gold-bright: #e4c77f;
    --gold-dark: #8d713d;
    --mist: #aeb7bd;
    --line: rgba(211, 183, 119, 0.24);
    --line-light: rgba(255, 255, 255, 0.12);
    --green: #67dfa0;
    --display: Georgia, 'Times New Roman', serif;
    --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --page-x: clamp(1.25rem, 5vw, 6.5rem);
    --section-y: clamp(5rem, 10vw, 10rem);
    --header-h: 5.75rem;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 1.5rem);
    background: var(--ink);
}

body {
    margin: 0;
    min-width: 320px;
    overflow-x: hidden;
    color: #f5f1e9;
    background:
        radial-gradient(circle at 82% 9%, rgba(196, 155, 74, 0.09), transparent 31rem),
        var(--ink);
    font-family: var(--sans);
    font-size: 1rem;
    line-height: 1.6;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body.nav-open {
    overflow: hidden;
}

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

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

button,
input {
    font: inherit;
}

svg {
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.6;
}

::selection {
    color: var(--ink);
    background: var(--gold-bright);
}

.svg-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

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

.skip-link {
    position: fixed;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 1000;
    padding: 0.7rem 1rem;
    color: var(--ink);
    background: var(--gold-bright);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    transform: translateY(-150%);
    transition: transform 180ms ease;
}

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

:focus-visible {
    outline: 2px solid var(--gold-bright);
    outline-offset: 4px;
}

.page-noise {
    position: fixed;
    inset: 0;
    z-index: 50;
    pointer-events: none;
    opacity: 0.18;
    background-image:
        repeating-linear-gradient(0deg, transparent 0, transparent 3px, rgba(255, 255, 255, 0.012) 4px),
        repeating-linear-gradient(90deg, transparent 0, transparent 5px, rgba(255, 255, 255, 0.01) 6px);
    mix-blend-mode: soft-light;
}

.legal-atmosphere {
    position: fixed;
    inset: 0;
    z-index: 60;
    overflow: hidden;
    pointer-events: none;
}

.experience-controls {
    position: fixed;
    right: 1.1rem;
    bottom: 1.1rem;
    z-index: 90;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.55rem;
}

.motion-toggle,
.sound-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-width: 2.75rem;
    min-height: 2.75rem;
    padding: 0.55rem 0.75rem;
    color: #aeb8be;
    border: 1px solid var(--line-light);
    background: rgba(8, 13, 18, 0.82);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    font-size: 0.56rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: color 200ms ease, border-color 200ms ease, background 200ms ease;
}

.motion-toggle:hover,
.sound-toggle:hover,
.sound-toggle[aria-pressed="true"] {
    color: var(--gold-bright);
    border-color: var(--gold);
    background: rgba(12, 20, 27, 0.96);
}

.sound-toggle:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.motion-toggle-dot {
    width: 0.72rem;
    height: 0.72rem;
    border-right: 2px solid var(--gold-bright);
    border-left: 2px solid var(--gold-bright);
    background: transparent;
}

.motion-paused .motion-toggle-dot {
    border: 0;
    background: var(--green);
    clip-path: polygon(12% 0, 100% 50%, 12% 100%);
}

.sound-toggle-mark {
    position: relative;
    width: 0.9rem;
    height: 0.9rem;
    flex: 0 0 0.9rem;
}

.sound-toggle-mark::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.28rem;
    width: 0.34rem;
    height: 0.34rem;
    border: 1.5px solid currentColor;
    border-radius: 50%;
    box-shadow: 0.28rem -0.16rem 0 -0.08rem currentColor;
}

.sound-toggle-mark::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0.08rem;
    width: 0.36rem;
    height: 0.62rem;
    border-right: 1.5px solid currentColor;
    border-radius: 50%;
    opacity: 0.45;
    transform: scaleX(0.45);
    transition: opacity 180ms ease, transform 180ms ease;
}

.sound-toggle[aria-pressed="true"] .sound-toggle-mark::after {
    opacity: 1;
    transform: scaleX(1);
}

.motion-paused .legal-atmosphere {
    display: none;
}

.motion-paused .decision-orbit,
.motion-paused .scroll-cue i::after,
.motion-paused .console-pulse,
.motion-paused .hero-visual img {
    animation-play-state: paused;
}

.motion-paused .services::after,
.motion-paused .services-core__line::after,
.motion-paused .practice-card__surface::before,
.motion-paused .practice-card__signal::after {
    animation-play-state: paused !important;
}

.justice-event {
    position: absolute;
    inset: 0;
    opacity: 0;
    isolation: isolate;
    will-change: opacity;
    animation: justice-event-life 11.6s linear forwards;
}

.justice-event-backdrop {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(circle at 50% 50%, rgba(5, 9, 13, 0.08) 0 24%, rgba(3, 7, 10, 0.56) 58%, rgba(2, 5, 8, 0.76) 100%);
    opacity: 0;
    animation: justice-backdrop-life 11.6s ease forwards;
}

.justice-glow {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 1;
    width: min(72vw, 52rem);
    aspect-ratio: 1;
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(229, 201, 130, 0.26) 0, rgba(193, 151, 74, 0.12) 28%, rgba(92, 121, 140, 0.07) 47%, transparent 71%);
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.28);
    filter: blur(2px);
    animation: justice-glow-life 11.6s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

.justice-lightning {
    position: absolute;
    inset: -3vh 0 0;
    z-index: 2;
    width: 100%;
    height: 103vh;
    overflow: visible;
    filter:
        drop-shadow(0 0 0.24rem rgba(255, 251, 225, 0.96))
        drop-shadow(0 0 0.8rem rgba(198, 165, 92, 0.68));
}

.justice-lightning path {
    fill: none;
    stroke: rgba(255, 251, 229, 0.98);
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 1600;
    stroke-dashoffset: 1600;
    vector-effect: non-scaling-stroke;
    opacity: 0;
    animation: justice-lightning-phase-1 11.6s linear forwards;
}

.justice-lightning .lightning-branch {
    stroke-width: 1.35;
    animation-delay: 40ms;
}

.justice-lightning-stage-2 {
    filter:
        drop-shadow(0 0 0.3rem rgba(255, 252, 232, 1))
        drop-shadow(0 0 1rem rgba(198, 165, 92, 0.76));
}

.justice-lightning-stage-2 path {
    stroke-width: 2.7;
    animation-name: justice-lightning-phase-2;
}

.justice-lightning-stage-2 .lightning-branch {
    stroke-width: 1.65;
}

.justice-lightning-stage-3 {
    filter:
        drop-shadow(0 0 0.34rem rgba(255, 253, 238, 1))
        drop-shadow(0 0 1.15rem rgba(207, 173, 96, 0.84));
}

.justice-lightning-stage-3 path {
    stroke-width: 3;
    animation-name: justice-lightning-phase-3;
}

.justice-lightning-stage-3 .lightning-branch {
    stroke-width: 1.8;
}

.justice-figure {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 3;
    display: block;
    width: min(42vw, 30rem, 52svh);
    height: auto;
    max-width: 92vw;
    opacity: 0;
    transform: translate3d(-50%, calc(-50% - 38vh), 0) scale(0.06);
    transform-origin: 50% 50%;
    will-change: transform, opacity;
    filter:
        drop-shadow(0 1.4rem 2.2rem rgba(0, 0, 0, 0.82))
        drop-shadow(0 0 1.25rem rgba(215, 177, 96, 0.36));
    animation: justice-descent 11.6s cubic-bezier(0.2, 0.72, 0.22, 1) forwards;
}

@keyframes justice-event-life {
    0% { opacity: 0; }
    4% { opacity: 1; }
    87% { opacity: 1; }
    100% { opacity: 0; }
}

@keyframes justice-backdrop-life {
    0% {
        opacity: 0;
    }
    8% {
        opacity: 0.88;
    }
    82% {
        opacity: 0.7;
    }
    100% {
        opacity: 0;
    }
}

@keyframes justice-glow-life {
    0% { opacity: 0; transform: translate(-50%, -50%) scale(0.28); }
    7% { opacity: 0.08; }
    12% { opacity: 0.92; }
    24% { opacity: 0.42; }
    62% { opacity: 0.64; transform: translate(-50%, -50%) scale(1); }
    87% { opacity: 0.44; transform: translate(-50%, -50%) scale(1.03); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(1.08); }
}

@keyframes justice-lightning-phase-1 {
    0%, 5.5% { opacity: 0; stroke-dashoffset: 1600; }
    7.5% { opacity: 1; stroke-dashoffset: 0; }
    15.5% { opacity: 0.95; stroke-dashoffset: 0; }
    22.5%, 100% { opacity: 0; stroke-dashoffset: 0; }
}

@keyframes justice-lightning-phase-2 {
    0%, 30% { opacity: 0; stroke-dashoffset: 1600; }
    33% { opacity: 1; stroke-dashoffset: 0; }
    49% { opacity: 0.98; stroke-dashoffset: 0; }
    59%, 100% { opacity: 0; stroke-dashoffset: 0; }
}

@keyframes justice-lightning-phase-3 {
    0%, 57% { opacity: 0; stroke-dashoffset: 1600; }
    60% { opacity: 1; stroke-dashoffset: 0; }
    77% { opacity: 1; stroke-dashoffset: 0; }
    86%, 100% { opacity: 0; stroke-dashoffset: 0; }
}

@keyframes justice-descent {
    0% {
        opacity: 0;
        transform: translate3d(-50%, calc(-50% - 38vh), 0) scale(0.06);
    }
    8% {
        opacity: 0.18;
        transform: translate3d(-50%, calc(-50% - 31vh), 0) scale(0.13);
    }
    20% {
        opacity: 0.74;
        transform: translate3d(-50%, calc(-50% - 22vh), 0) scale(0.32);
    }
    44% {
        opacity: 0.96;
        transform: translate3d(-50%, calc(-50% - 7vh), 0) scale(0.78);
    }
    60%, 87% {
        opacity: 1;
        transform: translate3d(-50%, -50%, 0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate3d(-50%, -50%, 0) scale(1.04);
    }
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
    padding: 0 var(--page-x);
    border-bottom: 1px solid transparent;
    background: linear-gradient(180deg, rgba(8, 13, 18, 0.86), rgba(8, 13, 18, 0));
    transition: height 300ms ease, background 300ms ease, border-color 300ms ease, backdrop-filter 300ms ease;
}

.site-header.is-scrolled {
    height: 4.75rem;
    border-color: var(--line-light);
    background: rgba(8, 13, 18, 0.84);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    min-width: max-content;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 2.65rem;
    height: 2.65rem;
    color: var(--gold-bright);
    border: 1px solid var(--gold);
    background: linear-gradient(145deg, rgba(200, 164, 93, 0.18), rgba(200, 164, 93, 0.04));
    font-family: var(--display);
    font-size: 1.45rem;
    line-height: 1;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-copy strong {
    font-size: 1.02rem;
    letter-spacing: 0.18em;
}

.brand-copy small {
    margin-top: 0.35rem;
    color: #89949c;
    font-size: 0.54rem;
    font-weight: 700;
    letter-spacing: 0.19em;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: clamp(1.25rem, 2.4vw, 2.5rem);
}

.site-nav > a:not(.nav-access) {
    position: relative;
    color: #c6cdd1;
    font-size: 0.73rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.site-nav > a:not(.nav-access)::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.5rem;
    width: 100%;
    height: 1px;
    background: var(--gold-bright);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 220ms ease;
}

.site-nav > a:not(.nav-access):hover::after,
.site-nav > a:not(.nav-access):focus-visible::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-access {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.72rem 1rem;
    color: var(--gold-bright);
    border: 1px solid var(--line);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color 200ms ease, background 200ms ease, border-color 200ms ease;
}

.nav-access svg {
    width: 1rem;
    height: 1rem;
    transition: transform 200ms ease;
}

.nav-access:hover {
    color: var(--ink);
    border-color: var(--gold-bright);
    background: var(--gold-bright);
}

.nav-access:hover svg {
    transform: translateX(0.2rem);
}

.nav-toggle {
    display: none;
}

.hero {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(25rem, 0.92fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 6rem);
    min-height: 100svh;
    padding: calc(var(--header-h) + 4rem) var(--page-x) 6rem;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    left: var(--page-x);
    right: var(--page-x);
    top: var(--header-h);
    height: 1px;
    background: linear-gradient(90deg, var(--gold), transparent 42%, rgba(255, 255, 255, 0.1));
}

.hero::after {
    content: 'LEX · RATIO · VERITAS';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    color: rgba(255, 255, 255, 0.12);
    font-size: 0.56rem;
    font-weight: 800;
    letter-spacing: 0.35em;
    transform: translateY(-50%) rotate(90deg);
}

.hero-visual {
    position: absolute;
    inset: 0 0 0 auto;
    z-index: 0;
    display: block;
    width: min(66vw, 78rem);
    overflow: hidden;
    background: #090e13;
}

.hero-visual::before,
.hero-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.hero-visual::before {
    background:
        linear-gradient(90deg, #080d12 0%, rgba(8, 13, 18, 0.96) 13%, rgba(8, 13, 18, 0.54) 43%, rgba(8, 13, 18, 0.08) 72%),
        linear-gradient(180deg, rgba(8, 13, 18, 0.48), transparent 27%, transparent 67%, #080d12 100%);
}

.hero-visual::after {
    background: radial-gradient(circle at 74% 53%, transparent 0 22%, rgba(8, 13, 18, 0.23) 58%, rgba(8, 13, 18, 0.62) 100%);
}

.hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 68% 50%;
    opacity: 0.94;
    filter: saturate(0.88) contrast(1.06);
    transform: scale(1.025);
    animation: hero-image-breathe 24s ease-in-out infinite alternate;
}

@keyframes hero-image-breathe {
    from { transform: scale(1.025) translate3d(0, 0, 0); }
    to { transform: scale(1.065) translate3d(-0.7%, -0.4%, 0); }
}

.hero-copy {
    position: relative;
    z-index: 4;
    max-width: 54rem;
    text-shadow: 0 1rem 3.6rem rgba(0, 0, 0, 0.62);
}

.eyebrow,
.section-index {
    color: var(--gold-bright);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.eyebrow span {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
}

.eyebrow span::before {
    content: '';
    width: 1.75rem;
    height: 1px;
    background: var(--gold-bright);
}

.hero h1,
.manifesto h2,
.section-heading h2,
.method h2,
.platform-copy h2,
.closing h2 {
    margin: 0;
    font-family: var(--display);
    font-weight: 400;
    letter-spacing: -0.045em;
    line-height: 0.96;
}

.hero h1 {
    margin-top: 1.6rem;
    font-size: clamp(4rem, 7.7vw, 8.8rem);
}

h1 em,
h2 em {
    color: var(--gold-bright);
    font-weight: 400;
}

.hero-lead {
    max-width: 44rem;
    margin: 2rem 0 0;
    color: #b8c0c5;
    font-size: clamp(1.05rem, 1.45vw, 1.28rem);
    line-height: 1.72;
}

.justice-motto {
    max-width: 40rem;
    margin: 1.4rem 0 0;
    padding-left: 1rem;
    color: #e2d5b9;
    border-left: 1px solid rgba(228, 199, 127, 0.64);
    font-family: var(--display);
    font-size: clamp(1.05rem, 1.55vw, 1.35rem);
    line-height: 1.45;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 2.6rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    min-height: 3.45rem;
    padding: 0.85rem 1.35rem;
    border: 1px solid transparent;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color 220ms ease, background 220ms ease, border-color 220ms ease, transform 220ms ease;
}

.button svg {
    width: 1.05rem;
    height: 1.05rem;
    transition: transform 220ms ease;
}

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

.button:hover svg {
    transform: translateX(0.3rem);
}

.button-primary {
    color: var(--ink);
    background: var(--gold-bright);
    border-color: var(--gold-bright);
}

.button-primary:hover {
    background: #f0da9a;
    border-color: #f0da9a;
}

.button-quiet {
    color: #e8e5de;
    border-color: var(--line-light);
    background: rgba(255, 255, 255, 0.02);
}

.button-quiet:hover {
    border-color: var(--gold);
    background: rgba(200, 164, 93, 0.08);
}

.trust-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.8rem;
    margin: 2.6rem 0 0;
    padding: 0;
    color: #88939a;
    list-style: none;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.trust-list li {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.trust-list li::before {
    content: '';
    width: 0.28rem;
    height: 0.28rem;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0.7rem rgba(200, 164, 93, 0.7);
}

.hero-object {
    position: relative;
    z-index: 3;
    display: grid;
    place-items: center;
    justify-self: end;
    width: min(40vw, 39rem);
    aspect-ratio: 1;
}

.hero-object::before {
    content: '';
    position: absolute;
    inset: 9%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(200, 164, 93, 0.1), transparent 63%);
    filter: blur(8px);
}

.decision-orbit {
    position: absolute;
    inset: 10%;
    border: 1px solid rgba(200, 164, 93, 0.25);
    border-radius: 50%;
}

.decision-orbit::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -0.27rem;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--gold-bright);
    box-shadow: 0 0 1rem rgba(228, 199, 127, 0.8);
}

.orbit-one {
    animation: orbital-spin 26s linear infinite;
}

.orbit-two {
    inset: 19%;
    border-color: rgba(255, 255, 255, 0.15);
    animation: orbital-spin 20s linear infinite reverse;
}

.orbit-two::before {
    top: 15%;
    left: auto;
    right: 7%;
    width: 0.35rem;
    height: 0.35rem;
    background: #87949d;
    box-shadow: none;
}

.orbit-three {
    inset: 29%;
    border-style: dashed;
    border-color: rgba(200, 164, 93, 0.33);
    animation: orbital-spin 38s linear infinite;
}

.orbit-three::before {
    top: auto;
    bottom: -0.2rem;
    left: 50%;
    width: 0.32rem;
    height: 0.32rem;
}

@keyframes orbital-spin {
    to { transform: rotate(360deg); }
}

.decision-core {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 46%;
    aspect-ratio: 1;
    padding: 2rem;
    text-align: center;
    color: #f5f1e9;
    border: 1px solid rgba(228, 199, 127, 0.42);
    border-radius: 50%;
    background:
        linear-gradient(145deg, rgba(19, 30, 40, 0.96), rgba(8, 13, 18, 0.98));
    box-shadow:
        0 0 0 0.55rem rgba(200, 164, 93, 0.035),
        0 2rem 7rem rgba(0, 0, 0, 0.45),
        inset 0 0 3rem rgba(200, 164, 93, 0.05);
    cursor: pointer;
    transition: border-color 240ms ease, box-shadow 240ms ease, transform 240ms ease;
}

.decision-core:not(:disabled):hover,
.decision-core:not(:disabled):focus-visible {
    border-color: rgba(228, 199, 127, 0.84);
    box-shadow:
        0 0 0 0.75rem rgba(200, 164, 93, 0.06),
        0 2rem 7rem rgba(0, 0, 0, 0.48),
        inset 0 0 4rem rgba(200, 164, 93, 0.1);
    transform: scale(1.025);
}

.decision-core:disabled {
    cursor: default;
}

.core-index {
    position: absolute;
    top: 13%;
    color: var(--gold);
    font-size: 0.53rem;
    font-weight: 800;
    letter-spacing: 0.2em;
}

.core-scales {
    width: clamp(2.8rem, 4vw, 4.5rem);
    height: clamp(2.8rem, 4vw, 4.5rem);
    margin-bottom: 0.75rem;
    color: var(--gold-bright);
    stroke-width: 1.25;
}

.decision-core strong {
    font-family: var(--display);
    font-size: clamp(1.05rem, 1.7vw, 1.6rem);
    font-weight: 400;
    line-height: 1.05;
}

.decision-core small {
    max-width: 9rem;
    margin-top: 0.7rem;
    color: #849099;
    font-size: 0.5rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1.5;
    text-transform: uppercase;
}

.core-action {
    position: absolute;
    left: 50%;
    bottom: 7%;
    color: var(--gold-bright);
    font-size: 0.43rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    white-space: nowrap;
    opacity: 0.72;
    transform: translateX(-50%);
}

.orbit-label {
    position: absolute;
    padding: 0.35rem 0.55rem;
    color: #9ca6ac;
    background: var(--ink);
    border: 1px solid var(--line-light);
    font-size: 0.53rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.label-one { top: 17%; left: 2%; }
.label-two { top: 14%; right: 2%; }
.label-three { right: 4%; bottom: 19%; }

.object-caption {
    position: absolute;
    left: 15%;
    right: 15%;
    bottom: 5%;
    display: flex;
    justify-content: space-between;
    padding-top: 0.65rem;
    color: #69767e;
    border-top: 1px solid var(--line-light);
    font-size: 0.48rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.scroll-cue {
    position: absolute;
    left: var(--page-x);
    bottom: 1.4rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #69767e;
    font-size: 0.55rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.scroll-cue i {
    position: relative;
    width: 3.2rem;
    height: 1px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.15);
}

.scroll-cue i::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gold);
    transform: translateX(-100%);
    animation: scroll-line 2.4s ease-in-out infinite;
}

@keyframes scroll-line {
    50%, 100% { transform: translateX(100%); }
}

.principle-rail {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #0a1117;
}

.principle-rail > div {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-height: 6rem;
    padding: 1.3rem clamp(1rem, 3vw, 3rem);
    border-right: 1px solid var(--line);
}

.principle-rail > div:last-child {
    border-right: 0;
}

.principle-rail span {
    color: var(--gold);
    font-family: var(--display);
    font-size: 0.8rem;
}

.principle-rail strong {
    font-family: var(--display);
    font-size: clamp(1rem, 1.3vw, 1.3rem);
    font-weight: 400;
}

.section-pad {
    position: relative;
    z-index: 2;
    padding: var(--section-y) var(--page-x);
}

.manifesto {
    color: #171717;
    background:
        linear-gradient(rgba(35, 27, 17, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(35, 27, 17, 0.035) 1px, transparent 1px),
        var(--paper);
    background-size: 3rem 3rem;
}

.manifesto .section-index,
.method .section-index {
    color: var(--gold-dark);
}

.manifesto-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(19rem, 0.72fr);
    gap: clamp(3rem, 8vw, 9rem);
    align-items: end;
    margin-top: clamp(3rem, 6vw, 6rem);
}

.manifesto h2 {
    font-size: clamp(3.3rem, 6.3vw, 7rem);
}

.manifesto-copy {
    padding-bottom: 0.6rem;
}

.manifesto-copy > p {
    margin: 0;
    color: #41403d;
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
    line-height: 1.8;
}

.manifesto blockquote {
    position: relative;
    margin: 2.2rem 0 0;
    padding: 1.25rem 0 0 1.8rem;
    color: #272622;
    border-top: 1px solid rgba(95, 72, 31, 0.24);
    font-family: var(--display);
    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.65;
}

.manifesto blockquote::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1.55rem;
    width: 0.6rem;
    height: 1px;
    background: var(--gold-dark);
}

.services {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background:
        radial-gradient(circle at 8% 20%, rgba(200, 164, 93, 0.1), transparent 30rem),
        radial-gradient(circle at 92% 82%, rgba(87, 123, 139, 0.08), transparent 34rem),
        linear-gradient(145deg, rgba(255, 255, 255, 0.012), transparent 48%),
        #0a1117;
}

.services::before {
    content: '';
    position: absolute;
    z-index: -2;
    inset: 0;
    pointer-events: none;
    opacity: 0.24;
    background-image:
        linear-gradient(rgba(200, 164, 93, 0.075) 1px, transparent 1px),
        linear-gradient(90deg, rgba(200, 164, 93, 0.075) 1px, transparent 1px);
    background-size: 7.5rem 7.5rem;
    mask-image: linear-gradient(180deg, transparent, black 16%, black 86%, transparent);
}

.services::after {
    content: '';
    position: absolute;
    z-index: -1;
    top: 44%;
    left: 50%;
    width: min(76rem, 88vw);
    aspect-ratio: 1;
    border: 1px solid rgba(200, 164, 93, 0.08);
    border-radius: 50%;
    pointer-events: none;
    background: radial-gradient(circle, rgba(200, 164, 93, 0.075), transparent 59%);
    box-shadow:
        0 0 0 8rem rgba(200, 164, 93, 0.018),
        0 0 0 16rem rgba(200, 164, 93, 0.012);
    opacity: 0.58;
    transform: translate(-50%, -50%) scale(0.92);
    animation: services-core-breathe 9s ease-in-out infinite alternate;
    animation-play-state: paused;
}

.services.services-is-active::after {
    animation-play-state: running;
}

.section-heading {
    display: grid;
    grid-template-columns: 1.15fr 0.55fr;
    gap: 3rem;
    align-items: end;
    margin-bottom: clamp(3rem, 6vw, 6rem);
}

.section-heading h2 {
    margin-top: 1.3rem;
    font-size: clamp(3.1rem, 5.8vw, 6.5rem);
}

.section-heading > p {
    max-width: 30rem;
    margin: 0 0 0.45rem auto;
    color: #a6b0b6;
    font-size: 1.05rem;
    line-height: 1.72;
}

.service-architecture {
    display: grid;
    gap: clamp(1.3rem, 2.2vw, 2rem);
}

.services-core__signal {
    display: grid;
    grid-template-columns: auto minmax(4rem, 1fr) auto;
    gap: clamp(1rem, 2.5vw, 2.5rem);
    align-items: center;
    padding: 0.9rem 0;
    color: #c8a45d;
    font-family: var(--sans);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.services-core__line {
    position: relative;
    height: 1px;
    overflow: hidden;
    background: rgba(200, 164, 93, 0.25);
}

.services-core__line::after {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 28%;
    background: linear-gradient(90deg, transparent, var(--gold-bright), transparent);
    transform: translateX(-120%);
    animation: services-line-travel 4.8s ease-in-out infinite;
    animation-play-state: paused;
}

.services.services-is-active .services-core__line::after {
    animation-play-state: running;
}

.services-core__count {
    display: inline-flex;
    align-items: baseline;
    gap: 0.5rem;
    color: #8f9ba1;
    letter-spacing: 0.12em;
}

.services-core__count strong {
    color: #f0ca78;
    font-family: var(--display);
    font-size: 1.6rem;
    font-weight: 400;
    letter-spacing: 0;
}

.practice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid rgba(200, 164, 93, 0.24);
    background: rgba(200, 164, 93, 0.2);
    box-shadow: 0 2.5rem 6rem rgba(0, 0, 0, 0.24);
}

.practice-card {
    min-width: 0;
    background: #0b1319;
}

.practice-card__surface {
    position: relative;
    display: flex;
    height: 100%;
    min-height: clamp(20rem, 29vw, 26rem);
    padding: clamp(1.6rem, 3vw, 3rem);
    overflow: hidden;
    flex-direction: column;
    background:
        linear-gradient(150deg, rgba(255, 255, 255, 0.028), transparent 42%),
        linear-gradient(180deg, rgba(12, 22, 29, 0.98), rgba(8, 15, 20, 0.98));
    transition:
        transform 320ms cubic-bezier(0.2, 0.7, 0.2, 1),
        background 320ms ease,
        box-shadow 320ms ease;
}

.practice-card__surface::before {
    content: '';
    position: absolute;
    z-index: 1;
    top: -30%;
    left: 0;
    width: 26%;
    height: 160%;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(244, 209, 132, 0.14), transparent);
    opacity: 0;
    transform: translate3d(-420%, 0, 0) skewX(-16deg);
    animation: service-card-scan 10.5s ease-in-out infinite;
    animation-play-state: paused;
}

.practice-card:nth-child(2) .practice-card__surface::before { animation-delay: 1.4s; }
.practice-card:nth-child(3) .practice-card__surface::before { animation-delay: 2.8s; }
.practice-card:nth-child(4) .practice-card__surface::before { animation-delay: 4.2s; }

.services.services-is-active .practice-card__surface::before {
    animation-play-state: running;
}

.practice-card__topline {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #89979e;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.service-number {
    color: var(--gold-bright);
    font-family: var(--display);
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0;
}

.practice-card__icon {
    position: absolute;
    z-index: 0;
    top: 1.1rem;
    right: -1.8rem;
    width: clamp(10rem, 17vw, 15rem);
    aspect-ratio: 1;
    color: #ddb762;
    opacity: 0.11;
    transform: rotate(-8deg) scale(0.96);
    transition: opacity 360ms ease, transform 500ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.practice-card__icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.1;
}

.practice-card__copy {
    position: relative;
    z-index: 2;
    max-width: 36rem;
    margin-top: auto;
    padding-top: clamp(6rem, 13vw, 9rem);
}

.practice-card h3 {
    margin: 0;
    font-family: var(--display);
    font-size: clamp(2rem, 3.2vw, 3.35rem);
    font-weight: 400;
    line-height: 1.04;
    text-wrap: balance;
}

.practice-card p {
    max-width: 34rem;
    margin: 1.35rem 0 0;
    color: #9fa9af;
    line-height: 1.72;
}

.practice-card__signal {
    position: absolute;
    z-index: 2;
    right: clamp(1.6rem, 3vw, 3rem);
    bottom: 0;
    left: clamp(1.6rem, 3vw, 3rem);
    height: 1px;
    background: rgba(200, 164, 93, 0.22);
}

.practice-card__signal::after {
    content: '';
    position: absolute;
    top: -0.14rem;
    left: 0;
    width: 0.3rem;
    height: 0.3rem;
    border-radius: 50%;
    background: #f0ca78;
    box-shadow: 0 0 1rem rgba(240, 202, 120, 0.75);
    opacity: 0;
    animation: service-signal-pulse 7.2s ease-in-out infinite;
    animation-play-state: paused;
}

.practice-card:nth-child(2) .practice-card__signal::after { animation-delay: 1.1s; }
.practice-card:nth-child(3) .practice-card__signal::after { animation-delay: 2.2s; }
.practice-card:nth-child(4) .practice-card__signal::after { animation-delay: 3.3s; }

.services.services-is-active .practice-card__signal::after {
    animation-play-state: running;
}

.practice-card:hover .practice-card__surface {
    z-index: 3;
    background:
        linear-gradient(145deg, rgba(200, 164, 93, 0.085), transparent 48%),
        linear-gradient(180deg, #0d1820, #091117);
    box-shadow: inset 0 0 0 1px rgba(224, 184, 101, 0.42), 0 1rem 3rem rgba(0, 0, 0, 0.25);
    transform: translateY(-0.38rem);
}

.practice-card:hover .practice-card__icon {
    opacity: 0.21;
    transform: rotate(0deg) scale(1.04);
}

.service-capabilities {
    margin-top: clamp(1.2rem, 2vw, 1.8rem);
    border-top: 1px solid rgba(200, 164, 93, 0.28);
}

.service-capabilities__heading {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: center;
    padding: 1.35rem 0;
}

.service-capabilities__heading > span {
    color: #c8a45d;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.service-capabilities__heading p {
    margin: 0;
    color: #7f8d94;
    font-size: 0.84rem;
    text-align: right;
}

.capability-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid rgba(200, 164, 93, 0.2);
    background: rgba(200, 164, 93, 0.18);
}

.capability-card {
    position: relative;
    min-width: 0;
    min-height: 17rem;
    padding: clamp(1.4rem, 2.4vw, 2.25rem);
    overflow: hidden;
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.025), transparent 45%),
        #0b1319;
    transition: background 300ms ease, box-shadow 300ms ease;
}

.capability-card::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-bright), transparent);
    opacity: 0.28;
    transform: scaleX(0.18);
    transition: opacity 300ms ease, transform 360ms ease;
}

.capability-card:hover {
    background:
        linear-gradient(145deg, rgba(200, 164, 93, 0.075), transparent 55%),
        #0d171e;
    box-shadow: inset 0 0 0 1px rgba(224, 184, 101, 0.3);
}

.capability-card:hover::after {
    opacity: 0.8;
    transform: scaleX(0.72);
}

.capability-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #c8a45d;
    font-family: var(--display);
    font-size: 0.82rem;
}

.capability-card__meta svg {
    width: 2.5rem;
    height: 2.5rem;
    fill: none;
    stroke: var(--gold-bright);
    stroke-width: 1.2;
    opacity: 0.72;
    transition: opacity 300ms ease, transform 320ms ease;
}

.capability-card:hover .capability-card__meta svg {
    opacity: 1;
    transform: scale(1.08);
}

.capability-card h3 {
    margin: 3rem 0 0;
    font-family: var(--display);
    font-size: clamp(1.6rem, 2.25vw, 2.25rem);
    font-weight: 400;
    line-height: 1.08;
    text-wrap: balance;
}

.capability-card p {
    margin: 1.15rem 0 0;
    color: #94a0a6;
    font-size: 0.92rem;
    line-height: 1.7;
}

@keyframes services-core-breathe {
    from { opacity: 0.42; transform: translate(-50%, -50%) scale(0.9); }
    to { opacity: 0.78; transform: translate(-50%, -50%) scale(1.025); }
}

@keyframes services-line-travel {
    0%, 12% { transform: translateX(-120%); }
    54%, 100% { transform: translateX(460%); }
}

@keyframes service-card-scan {
    0%, 8% { opacity: 0; transform: translate3d(-420%, 0, 0) skewX(-16deg); }
    13% { opacity: 0.9; }
    28% { opacity: 0; transform: translate3d(520%, 0, 0) skewX(-16deg); }
    100% { opacity: 0; transform: translate3d(520%, 0, 0) skewX(-16deg); }
}

@keyframes service-signal-pulse {
    0%, 12% { left: 0; opacity: 0; }
    18% { opacity: 1; }
    48% { left: calc(100% - 0.3rem); opacity: 0; }
    100% { left: calc(100% - 0.3rem); opacity: 0; }
}

.method {
    display: grid;
    grid-template-columns: minmax(17rem, 0.55fr) minmax(0, 1.25fr);
    gap: clamp(4rem, 9vw, 10rem);
    color: #171717;
    background: var(--paper);
}

.method-intro {
    position: sticky;
    top: calc(var(--header-h) + 2rem);
    align-self: start;
}

.method h2 {
    margin-top: 1.5rem;
    font-size: clamp(3.2rem, 5.2vw, 5.8rem);
}

.method-intro > p {
    max-width: 28rem;
    margin: 1.8rem 0 0;
    color: #56534e;
    font-size: 1.04rem;
}

.method-visual {
    position: relative;
    max-width: 34rem;
    margin: 2.5rem 0 0;
    overflow: hidden;
    border: 1px solid rgba(75, 59, 31, 0.24);
    background: #1a1917;
    box-shadow: 0 1.5rem 4rem rgba(33, 26, 16, 0.14);
}

.method-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(8, 13, 18, 0.68));
    pointer-events: none;
}

.method-visual img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: 50% 54%;
    filter: saturate(0.78) contrast(1.03);
    transition: transform 900ms cubic-bezier(0.2, 0.65, 0.3, 1), filter 500ms ease;
}

.method-visual:hover img {
    filter: saturate(0.94) contrast(1.04);
    transform: scale(1.035);
}

.method-visual figcaption {
    position: absolute;
    left: 1.1rem;
    right: 1.1rem;
    bottom: 0.9rem;
    z-index: 2;
    color: #eee6d5;
    font-size: 0.54rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.method-map {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    border-top: 1px solid rgba(75, 59, 31, 0.2);
    border-left: 1px solid rgba(75, 59, 31, 0.2);
    list-style: none;
}

.method-map li {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 13rem;
    padding: clamp(1.5rem, 3vw, 2.6rem);
    border-right: 1px solid rgba(75, 59, 31, 0.2);
    border-bottom: 1px solid rgba(75, 59, 31, 0.2);
    transition: color 250ms ease, background 250ms ease;
}

.method-map li:hover {
    color: var(--paper);
    background: #151b20;
}

.method-map span {
    color: var(--gold-dark);
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.16em;
}

.method-map li:hover span,
.method-map li:hover small {
    color: #bfc6ca;
}

.method-map strong {
    margin-top: auto;
    font-family: var(--display);
    font-size: clamp(1.8rem, 2.8vw, 2.8rem);
    font-weight: 400;
}

.method-map small {
    margin-top: 0.45rem;
    color: #625f59;
    font-size: 0.82rem;
}

.continuity {
    display: grid;
    grid-template-columns: minmax(24rem, 0.9fr) minmax(20rem, 0.7fr);
    gap: clamp(4rem, 10vw, 12rem);
    align-items: center;
    min-height: 48rem;
    overflow: hidden;
    background:
        radial-gradient(circle at 22% 50%, rgba(200, 164, 93, 0.14), transparent 28rem),
        linear-gradient(115deg, #0e171f, #080d12 68%);
}

.continuity-visual {
    position: absolute;
    inset: 0 auto 0 0;
    z-index: 0;
    display: block;
    width: 62%;
    overflow: hidden;
}

.continuity-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(8, 13, 18, 0.12) 0%, rgba(8, 13, 18, 0.36) 55%, #080d12 100%),
        linear-gradient(180deg, rgba(8, 13, 18, 0.32), transparent 30%, transparent 68%, rgba(8, 13, 18, 0.74));
}

.continuity-visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
    opacity: 0.82;
    filter: saturate(0.76) contrast(1.08);
}

.continuity::before {
    content: '';
    position: absolute;
    inset: 2rem;
    border: 1px solid rgba(200, 164, 93, 0.13);
    pointer-events: none;
}

.continuity-clock {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: clamp(0.35rem, 1vw, 1rem);
    color: var(--paper);
    white-space: nowrap;
}

.continuity-clock::before,
.continuity-clock::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(200, 164, 93, 0.28);
}

.continuity-clock::before {
    width: clamp(20rem, 36vw, 38rem);
    height: clamp(20rem, 36vw, 38rem);
    animation: orbital-spin 34s linear infinite;
}

.continuity-clock::after {
    width: clamp(14rem, 27vw, 29rem);
    height: clamp(14rem, 27vw, 29rem);
    border-style: dashed;
    animation: orbital-spin 26s linear infinite reverse;
}

.continuity-clock span {
    position: relative;
    z-index: 2;
    font-family: var(--display);
    font-size: clamp(4.2rem, 8vw, 9rem);
    line-height: 0.8;
    letter-spacing: -0.08em;
    text-shadow: 0 1.3rem 3rem rgba(0, 0, 0, 0.4);
}

.continuity-clock span:last-of-type {
    color: var(--gold-bright);
}

.continuity-clock i {
    position: relative;
    z-index: 2;
    color: var(--gold);
    font-family: var(--display);
    font-size: clamp(1.8rem, 3vw, 3.5rem);
    font-style: normal;
}

.continuity-copy {
    position: relative;
    z-index: 2;
}

.continuity-copy h2 {
    margin: 1.4rem 0 0;
    font-family: var(--display);
    font-size: clamp(3.4rem, 5.8vw, 6.6rem);
    font-weight: 400;
    letter-spacing: -0.045em;
    line-height: 0.96;
}

.continuity-copy h2 em {
    display: inline-block;
    margin-top: 0.16em;
    font-size: 0.68em;
    line-height: 1.03;
}

.continuity-lead {
    margin: 2rem 0 0;
    color: #d8d5ce;
    font-family: var(--display);
    font-size: clamp(1.25rem, 1.8vw, 1.65rem);
    line-height: 1.55;
}

.continuity-copy > p:not(.continuity-lead) {
    margin: 1.3rem 0 0;
    color: #98a4ab;
    line-height: 1.8;
}

.continuity-copy ul {
    margin: 2.2rem 0 0;
    padding: 0;
    border-top: 1px solid var(--line);
    list-style: none;
}

.continuity-copy li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 0;
    color: #c3c9cc;
    border-bottom: 1px solid var(--line);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.continuity-copy li span {
    color: var(--gold);
    font-family: var(--display);
    font-size: 0.7rem;
}

.motion-paused .continuity-clock::before,
.motion-paused .continuity-clock::after {
    animation-play-state: paused;
}

.black-platform {
    overflow: hidden;
    background:
        linear-gradient(120deg, rgba(200, 164, 93, 0.07), transparent 34%),
        #070c10;
}

.black-platform::before {
    content: 'BLACK';
    position: absolute;
    left: -0.08em;
    bottom: -0.23em;
    z-index: 0;
    color: rgba(255, 255, 255, 0.018);
    font-family: var(--display);
    font-size: clamp(10rem, 25vw, 29rem);
    line-height: 1;
}

.platform-shell {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(18rem, 0.68fr) minmax(32rem, 1.15fr);
    gap: clamp(3rem, 7vw, 8rem);
    align-items: center;
}

.platform-kicker {
    margin: 3rem 0 0;
    color: var(--gold-bright);
    font-family: var(--display);
    font-size: 1.1rem;
    font-style: italic;
}

.platform-copy h2 {
    margin-top: 0.75rem;
    font-size: clamp(3rem, 5vw, 5.5rem);
}

.platform-copy > p:not(.platform-kicker) {
    max-width: 37rem;
    margin: 1.8rem 0 0;
    color: #9eaaaf;
    font-size: 1.03rem;
    line-height: 1.8;
}

.button-gold {
    margin-top: 2.2rem;
    color: var(--gold-bright);
    border-color: var(--gold);
    background: rgba(200, 164, 93, 0.06);
}

.button-gold:hover {
    color: var(--ink);
    background: var(--gold-bright);
}

.platform-console {
    position: relative;
    min-height: 38rem;
    border: 1px solid rgba(200, 164, 93, 0.34);
    background:
        linear-gradient(rgba(213, 186, 123, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(213, 186, 123, 0.035) 1px, transparent 1px),
        rgba(10, 17, 23, 0.92);
    background-size: 2.4rem 2.4rem;
    box-shadow: 0 3rem 8rem rgba(0, 0, 0, 0.48);
    transform: perspective(1200px) rotateY(-3deg) rotateX(1deg);
}

.console-bar,
.console-footer {
    display: flex;
    align-items: center;
    min-height: 4.25rem;
    padding: 0 1.4rem;
    border-bottom: 1px solid var(--line);
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.console-bar {
    gap: 0.8rem;
}

.console-mark {
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    color: var(--gold-bright);
    border: 1px solid var(--gold);
    font-family: var(--display);
    font-size: 1rem;
}

.console-bar > i {
    flex: 1;
    height: 1px;
    background: var(--line-light);
}

.console-bar small {
    color: #7f8a91;
    font-size: 0.52rem;
}

.console-body {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem;
    min-height: 29rem;
    padding: 4rem 3rem;
}

.console-axis {
    position: absolute;
    left: 50%;
    top: 12%;
    bottom: 12%;
    width: 1px;
    background: linear-gradient(transparent, var(--gold), transparent);
    opacity: 0.48;
}

.console-axis::after {
    content: '';
    position: absolute;
    left: -0.27rem;
    top: 50%;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: var(--gold-bright);
    box-shadow: 0 0 1.5rem var(--gold);
}

.console-item {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 9rem;
    padding: 1.5rem;
    border: 1px solid var(--line-light);
    background: rgba(7, 12, 16, 0.74);
    transition: border-color 250ms ease, transform 250ms ease;
}

.console-item:hover {
    border-color: var(--gold);
    transform: translateY(-0.2rem);
}

.console-item span {
    color: var(--gold);
    font-size: 0.55rem;
    font-weight: 800;
}

.console-item strong {
    margin-top: 0.55rem;
    font-size: 0.74rem;
    letter-spacing: 0.15em;
}

.console-item small {
    margin-top: 0.35rem;
    color: #7c8990;
    font-size: 0.68rem;
}

.console-pulse {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 5.5rem;
    height: 5.5rem;
    border: 1px solid rgba(228, 199, 127, 0.4);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: console-pulse 3s ease-out infinite;
}

@keyframes console-pulse {
    0% { opacity: 0.8; transform: translate(-50%, -50%) scale(0.2); }
    85%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(1.5); }
}

.console-footer {
    justify-content: space-between;
    min-height: 4rem;
    color: #76838a;
    border-top: 1px solid var(--line);
    border-bottom: 0;
}

.online {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: #a3b1a9;
}

.online i {
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0.8rem rgba(103, 223, 160, 0.78);
}

.closing {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 42rem;
    justify-content: center;
    overflow: hidden;
    text-align: center;
    background:
        radial-gradient(circle at center, rgba(200, 164, 93, 0.11), transparent 30rem),
        #0a1117;
}

.closing::before,
.closing::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 24vw;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold));
}

.closing::before { left: 0; }
.closing::after { right: 0; transform: scaleX(-1); }

.closing-mark {
    width: 4.2rem;
    height: 4.2rem;
    margin-bottom: 1.7rem;
    color: var(--gold);
    stroke-width: 1.1;
}

.closing h2 {
    margin-top: 1.4rem;
    font-size: clamp(3.5rem, 7vw, 7.8rem);
}

.closing > p:not(.eyebrow) {
    margin: 1.8rem 0 0;
    color: #9da8ae;
}

.closing .button {
    margin-top: 2.3rem;
}

.site-footer {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: auto minmax(18rem, 0.7fr) auto;
    align-items: center;
    gap: 3rem;
    padding: 2rem var(--page-x);
    color: #7d898f;
    border-top: 1px solid var(--line);
    background: #070b0f;
    font-size: 0.66rem;
}

.site-footer p {
    max-width: 35rem;
    margin: 0 auto;
    line-height: 1.55;
}

.site-footer > div {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.8rem 1.3rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.site-footer a:hover {
    color: var(--gold-bright);
}

.footer-brand .brand-mark {
    width: 2.2rem;
    height: 2.2rem;
    font-size: 1.15rem;
}

.footer-brand .brand-copy strong {
    color: #e9e5dc;
    font-size: 0.8rem;
}

.footer-brand .brand-copy small {
    font-size: 0.45rem;
}

.js [data-reveal] {
    opacity: 0;
    transform: translateY(2rem);
    transition: opacity 800ms cubic-bezier(0.2, 0.65, 0.3, 1), transform 800ms cubic-bezier(0.2, 0.65, 0.3, 1);
}

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

.js .practice-card:nth-child(2) { transition-delay: 90ms; }
.js .practice-card:nth-child(3) { transition-delay: 160ms; }
.js .practice-card:nth-child(4) { transition-delay: 230ms; }

@media (max-width: 1120px) {
    :root { --page-x: clamp(1.25rem, 4vw, 3.5rem); }

    .site-nav { gap: 1.15rem; }
    .site-nav > a:not(.nav-access) { font-size: 0.65rem; }

    .hero {
        grid-template-columns: minmax(0, 1fr) minmax(22rem, 0.78fr);
        gap: 1.5rem;
    }

    .hero-object { width: min(42vw, 34rem); }

    .platform-shell {
        grid-template-columns: minmax(18rem, 0.7fr) minmax(29rem, 1fr);
        gap: 3rem;
    }
}

@media (max-width: 900px) {
    :root { --header-h: 5rem; }

    .nav-toggle {
        position: relative;
        z-index: 102;
        display: grid;
        place-content: center;
        gap: 0.42rem;
        width: 2.9rem;
        height: 2.9rem;
        color: white;
        border: 1px solid var(--line-light);
        background: rgba(8, 13, 18, 0.8);
        cursor: pointer;
    }

    .nav-toggle > span:not(.sr-only) {
        display: block;
        width: 1.3rem;
        height: 1px;
        background: currentColor;
        transition: transform 220ms ease;
    }

    .nav-toggle[aria-expanded='true'] > span:first-child { transform: translateY(0.23rem) rotate(45deg); }
    .nav-toggle[aria-expanded='true'] > span:nth-child(2) { transform: translateY(-0.23rem) rotate(-45deg); }

    .site-nav {
        position: fixed;
        inset: 0;
        z-index: 101;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 1.6rem;
        padding: 6rem var(--page-x);
        background:
            radial-gradient(circle at 90% 10%, rgba(200, 164, 93, 0.16), transparent 20rem),
            rgba(8, 13, 18, 0.985);
        visibility: hidden;
        opacity: 0;
        transform: translateY(-1rem);
        transition: opacity 240ms ease, transform 240ms ease, visibility 240ms;
    }

    .site-nav.is-open {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
    }

    .site-nav > a:not(.nav-access) {
        font-family: var(--display);
        font-size: clamp(2.1rem, 8vw, 4rem);
        font-weight: 400;
        letter-spacing: -0.02em;
        text-transform: none;
    }

    .site-nav .nav-access {
        margin-top: 1rem;
        font-family: var(--sans);
    }

    .hero {
        grid-template-columns: 1fr;
        align-items: start;
        min-height: auto;
        padding-top: calc(var(--header-h) + 5rem);
        padding-bottom: 5rem;
    }

    .hero-visual {
        inset: 0;
        width: 100%;
        height: 100%;
    }

    .hero-visual::before {
        background:
            linear-gradient(180deg, #080d12 0%, rgba(8, 13, 18, 0.84) 25%, rgba(8, 13, 18, 0.45) 52%, #080d12 100%),
            linear-gradient(90deg, rgba(8, 13, 18, 0.88), rgba(8, 13, 18, 0.16));
    }

    .hero-visual img {
        object-position: 68% 50%;
        opacity: 0.76;
    }

    .hero h1 { font-size: clamp(4rem, 14vw, 7.5rem); }
    .hero-object { justify-self: center; width: min(90vw, 38rem); margin-top: 2rem; }
    .scroll-cue { display: none; }

    .principle-rail { grid-template-columns: repeat(2, 1fr); }
    .principle-rail > div:nth-child(2) { border-right: 0; }
    .principle-rail > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }

    .manifesto-grid,
    .section-heading,
    .method,
    .continuity,
    .platform-shell {
        grid-template-columns: 1fr;
    }

    .section-heading > p { margin-left: 0; }

    .practice-grid { grid-template-columns: 1fr; }
    .practice-card__surface { min-height: 21rem; }
    .practice-card__copy { padding-top: 7rem; }

    .capability-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .capability-card:last-child { grid-column: 1 / -1; }

    .method-intro { position: static; }
    .method-visual { max-width: 42rem; }
    .continuity { min-height: auto; }
    .continuity-clock { min-height: 28rem; }
    .continuity-visual { width: 100%; height: 31rem; bottom: auto; }
    .continuity-visual::after {
        background:
            linear-gradient(180deg, rgba(8, 13, 18, 0.26), rgba(8, 13, 18, 0.18) 50%, #080d12 100%),
            linear-gradient(90deg, rgba(8, 13, 18, 0.2), rgba(8, 13, 18, 0.34));
    }
    .platform-console { min-height: 34rem; transform: none; }

    .site-footer {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .site-footer .brand { justify-content: center; }
    .site-footer > div { justify-content: center; }
}

@media (max-width: 600px) {
    :root {
        --page-x: 1.15rem;
        --section-y: 5rem;
    }

    .brand-copy small { letter-spacing: 0.12em; }
    .hero .eyebrow { font-size: 0.56rem; letter-spacing: 0.14em; }
    .hero::after { display: none; }
    .hero h1 { font-size: clamp(3.65rem, 18vw, 6rem); }

    .hero-actions { align-items: stretch; flex-direction: column; }
    .button { width: 100%; }

    .trust-list {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.65rem;
    }

    .hero-object { width: calc(100vw - 1.1rem); margin-left: -0.55rem; }
    .decision-core { width: 49%; padding: 1rem; }
    .core-index { top: 10%; }
    .decision-core small { display: none; }
    .core-action { bottom: 8%; font-size: 0.38rem; }
    .object-caption { left: 10%; right: 10%; }
    .label-one { left: 0; }
    .label-two { right: 0; }
    .label-three { right: 0; }

    .principle-rail > div { min-height: 5.2rem; padding: 1rem; }
    .principle-rail strong { font-size: 0.95rem; }

    .manifesto h2,
    .section-heading h2,
    .method h2,
    .platform-copy h2 { font-size: clamp(3rem, 15vw, 4.5rem); }

    .services::before { background-size: 4rem 4rem; }
    .services::after { width: 42rem; }

    .services-core__signal {
        grid-template-columns: 1fr auto;
        gap: 0.75rem 1rem;
    }

    .services-core__line {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .services-core__count { justify-self: end; }

    .practice-card__surface {
        min-height: 22rem;
        padding: 1.4rem;
    }

    .practice-card__icon {
        top: 2.5rem;
        right: -1rem;
        width: 10.5rem;
    }

    .practice-card__copy { padding-top: 7rem; }
    .practice-card h3 { font-size: clamp(2rem, 10vw, 2.8rem); }
    .practice-card p { font-size: 0.95rem; }

    .practice-card__signal {
        right: 1.4rem;
        left: 1.4rem;
    }

    .service-capabilities__heading {
        grid-template-columns: 1fr;
        gap: 0.65rem;
    }

    .service-capabilities__heading p { text-align: left; }
    .capability-grid { grid-template-columns: 1fr; }
    .capability-card { min-height: auto; }
    .capability-card h3 { margin-top: 2.25rem; font-size: 2rem; }

    .method-map { grid-template-columns: 1fr; }
    .method-map li { min-height: 10.5rem; }

    .continuity::before { inset: 0.75rem; }
    .continuity-clock { min-height: 20rem; }
    .continuity-clock span { font-size: clamp(3.4rem, 17vw, 5rem); }
    .continuity-copy h2 { font-size: clamp(3.2rem, 15vw, 4.7rem); }

    .platform-console { min-height: 31rem; }
    .console-bar small { display: none; }
    .console-body { gap: 0.7rem; min-height: 23rem; padding: 2.5rem 1rem; }
    .console-item { min-height: 8rem; padding: 1rem; }
    .console-footer span:first-child { display: none; }
    .console-footer { justify-content: center; }

    .closing { min-height: 38rem; }
    .closing::before,
    .closing::after { width: 15vw; }
    .closing h2 { font-size: clamp(3.3rem, 16vw, 5.3rem); }

    .experience-controls {
        right: 0.75rem;
        bottom: 0.75rem;
        flex-direction: row;
    }

    .motion-toggle,
    .sound-toggle {
        width: 2.9rem;
        height: 2.9rem;
        justify-content: center;
        padding: 0;
    }

    .motion-toggle [data-motion-label],
    .sound-toggle [data-sound-label] {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
    }

    .justice-figure {
        width: min(92vw, 24rem, 50svh);
    }

    .justice-glow {
        width: min(112vw, 36rem);
    }

    .justice-lightning path {
        stroke-width: 1.75;
    }
}

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

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

    .legal-atmosphere { display: none; }
    .experience-controls { display: none; }
    .decision-core { cursor: default; }
    .core-action { display: none; }
    .services::after { animation: none; }
    .services-core__line::after,
    .practice-card__surface::before,
    .practice-card__signal::after { display: none; }
    .practice-card:hover .practice-card__surface { transform: none; }
    .js [data-reveal] { opacity: 1; transform: none; }
}

@media (forced-colors: active) {
    .decision-orbit,
    .decision-core,
    .practice-card__surface,
    .capability-card,
    .platform-console,
    .console-item {
        border: 1px solid CanvasText;
    }
}
