/* ==========================================================================
   ARMAND DIGITAL
   Engineering Editorial × Interface as Proof
   ========================================================================== */


/* ==========================================================================
   01. TOKENS
   ========================================================================== */

:root {
    --ink: #080808;
    --paper: #f3f1ec;

    --paper-88: rgba(243, 241, 236, 0.88);
    --paper-72: rgba(243, 241, 236, 0.72);
    --paper-56: rgba(243, 241, 236, 0.56);
    --paper-40: rgba(243, 241, 236, 0.40);
    --paper-28: rgba(243, 241, 236, 0.28);
    --paper-18: rgba(243, 241, 236, 0.18);
    --paper-12: rgba(243, 241, 236, 0.12);
    --paper-08: rgba(243, 241, 236, 0.08);
    --paper-04: rgba(243, 241, 236, 0.04);

    --signal: #ff4938;

    --page-gutter: clamp(36px, 4vw, 76px);

    --font-sans:
        Inter,
        "Helvetica Neue",
        Helvetica,
        Arial,
        sans-serif;

    --font-mono:
        "SFMono-Regular",
        Consolas,
        "Liberation Mono",
        monospace;

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

    --card-edge-x: 17px;
    --card-chrome-top: 16px;
    --card-content-top: 44px;
    --card-content-bottom: 52px;
    --card-caption-bottom: 10px;
}


/* ==========================================================================
   02. RESET
   ========================================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}


html {
    min-width: 320px;

    background: var(--ink);

    color-scheme: dark;

    scroll-behavior: smooth;
}

body {
    min-width: 320px;

    margin: 0;

    overflow-x: hidden;

    background: var(--ink);
    color: var(--paper);

    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.5;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    margin: 0;
    padding: 0;

    border: 0;

    background: none;
    color: inherit;

    font: inherit;
}

img,
svg {
    display: block;

    max-width: 100%;
}

:focus-visible {
    outline: 2px solid var(--signal);
    outline-offset: 5px;
}


/* ==========================================================================
   03. HERO
   ========================================================================== */

.hero {
    position: relative;

    isolation: isolate;

    min-height: 760px;
    height: 100vh;

    padding:
        86px var(--page-gutter) 0;

    display: grid;

    grid-template-rows:
        minmax(0, 1fr) 104px;

    overflow: hidden;

    background:
        radial-gradient(circle at 73% 42%,
            rgba(255, 249, 229, 0.07),
            rgba(255, 249, 229, 0.018) 26%,
            transparent 51%),
        linear-gradient(108deg,
            #070707 0%,
            #090909 48%,
            #0d0d0c 75%,
            #080808 100%);
}

.hero::before {
    content: "";

    position: absolute;
    z-index: -3;

    inset: 0;

    pointer-events: none;

    background-image:
        linear-gradient(to right,
            transparent calc(100% - 1px),
            rgba(255, 255, 255, 0.032) 1px),
        linear-gradient(to bottom,
            transparent calc(100% - 1px),
            rgba(255, 255, 255, 0.02) 1px);

    background-size:
        clamp(120px, 10vw, 190px) 100%,
        100% 110px;
}


/* ==========================================================================
   04. HERO LAYOUT
   ========================================================================== */

.hero__stage {
    min-height: 0;

    display: grid;

    grid-template-columns:
        minmax(440px, 0.86fr) minmax(650px, 1.44fr);

    align-items: center;

    column-gap: clamp(28px, 3.4vw, 66px);

    padding:
        clamp(22px, 3vh, 38px) 0 24px;
}

.hero__copy {
    position: relative;
    z-index: 40;

    width: 100%;
    max-width: 650px;
}

.hero__eyebrow {
    margin: 0 0 22px;

    display: flex;
    align-items: center;

    gap: 16px;

    color: var(--paper-56);

    font-family: var(--font-mono);
    font-size: 0.80rem;

    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero__eyebrow>span {
    width: 28px;
    height: 1px;

    background: var(--signal);
}

.hero__eyebrow small strong {
    color: var(--signal);
    font-weight: inherit;
}

.hero__title {
    margin: 0;

    font-size: clamp(3.05rem, 3.55vw, 4.65rem);
    font-weight: 500;
    line-height: 0.91;

    letter-spacing: -0.061em;
}

.hero__title>span {
    display: block;

    white-space: nowrap;
}

.hero__title>span:last-child {
    color: var(--paper-56);
}

.hero__intro {
    max-width: 430px;

    margin: 25px 0 0;

    color: var(--paper-72);

    font-size: clamp(1rem, 1.05vw, 1.12rem);
    line-height: 1.55;
}


/* ==========================================================================
   05. ACTIONS
   ========================================================================== */

.hero__actions {
    margin-top: 25px;

    display: flex;
    align-items: center;

    gap: 10px;
}

.button {
    min-height: 47px;

    padding: 0 21px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 27px;

    border: 1px solid var(--paper-18);

    font-size: 0.80rem;
    font-weight: 700;

    letter-spacing: 0.11em;
    text-transform: uppercase;

    transition:
        transform 250ms var(--ease-out),
        background-color 250ms var(--ease-out),
        border-color 250ms var(--ease-out);
}

.button--primary {
    min-width: 218px;

    border-color: var(--paper);

    background: var(--paper);
    color: var(--ink);
}

.button--primary span {
    font-size: 0.9rem;

    transition: transform 250ms var(--ease-out);
}

.button--primary:hover {
    transform: translateY(-2px);
}

.button--primary:hover span {
    transform: translateX(4px);
}

.button--secondary {
    background: rgba(255, 255, 255, 0.015);
}

.button--secondary:hover {
    border-color: var(--paper-40);

    background: var(--paper-04);
}


/* ==========================================================================
   06. ACTIVE LAYER STATUS
   ========================================================================== */

.hero__layer-status {
    max-width: 390px;

    margin-top: 23px;
    padding-top: 14px;

    display: grid;

    grid-template-columns:
        68px minmax(0, 1fr);

    gap: 17px;

    border-top: 1px solid var(--paper-08);
}

.hero__layer-count {
    color: var(--signal);

    font-family: var(--font-mono);
    font-size: 0.78rem;

    letter-spacing: 0.10em;
}

.hero__layer-status p {
    margin: 0;

    display: flex;
    flex-direction: column;

    gap: 3px;
}

.hero__layer-status strong {
    font-size: 0.83rem;
    font-weight: 700;

    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.hero__layer-status p span {
    color: var(--paper-72);

    font-size: 0.92rem;
    line-height: 1.45;
}


/* ==========================================================================
   07. SYSTEM SCENE
   ========================================================================== */

.system-scene {
    position: relative;
    z-index: 20;

    width: 100%;
    height: clamp(470px, 61vh, 570px);

    min-height: 0;
}

.system-scene__beam {
    position: absolute;
    z-index: -3;

    top: -130px;
    left: 48%;

    width: 300px;
    height: 760px;

    pointer-events: none;

    background:
        linear-gradient(96deg,
            transparent,
            rgba(255, 249, 230, 0.14) 48%,
            transparent);

    filter: blur(24px);

    transform: rotate(5deg);
}

.system-scene__floor {
    position: absolute;
    z-index: -4;

    right: -8%;
    bottom: -116px;

    width: 116%;
    height: 310px;

    pointer-events: none;

    opacity: 0.36;

    background-image:
        linear-gradient(rgba(255, 255, 255, 0.06) 1px,
            transparent 1px),
        linear-gradient(90deg,
            rgba(255, 255, 255, 0.06) 1px,
            transparent 1px);

    background-size: 92px 64px;

    mask-image:
        linear-gradient(to bottom,
            transparent,
            black 25%,
            black 70%,
            transparent);

    transform:
        perspective(560px) rotateX(64deg);

    transform-origin: bottom center;
}


/* ==========================================================================
   08. BACKGROUND STACK
   ========================================================================== */

.system-stack {
    position: absolute;
    z-index: 10;

    top: 50%;
    left: 49%;

    width: clamp(500px, 35vw, 560px);
    height: clamp(350px, 24.4vw, 390px);

    perspective: 1900px;
    perspective-origin: 50% 48%;

    transform: translate(-50%, -50%);

    transform-style: preserve-3d;

    pointer-events: none;
}

.system-layer {
    --x: 0px;
    --y: 0px;
    --z: 0px;

    --scale: 0.92;
    --rotate: 0deg;

    --width: 58%;

    --opacity: 0.35;
    --brightness: 0.52;

    position: absolute;

    inset: 0;

    width: var(--width);
    height: 100%;

    opacity: var(--opacity);

    filter: brightness(var(--brightness));

    pointer-events: none;

    transform:
        translate3d(var(--x),
            var(--y),
            var(--z)) rotateY(var(--rotate)) scale(var(--scale));

    transform-origin: center;
    transform-style: preserve-3d;

    transition:
        transform 720ms var(--ease-out),
        width 720ms var(--ease-out),
        opacity 420ms ease,
        filter 420ms ease;
}

.system-layer__surface {
    position: relative;

    width: 100%;
    height: 100%;

    overflow: hidden;

    border: 1px solid var(--paper-18);

    background:
        linear-gradient(135deg,
            rgba(255, 255, 255, 0.028),
            transparent 35%),
        rgba(8, 8, 8, 0.96);

    box-shadow:
        0 38px 80px rgba(0, 0, 0, 0.38);
}

.system-layer.is-active {
    --x: -25px;
    --y: 8px;
    --z: 100px;

    --width: 72%;
    --scale: 0.97;
    --rotate: 0deg;

    --opacity: 0.08;
    --brightness: 0.42;

    z-index: 55;
}

.system-layer.is-before-1 {
    --x: -185px;
    --y: -10px;
    --z: 55px;

    --width: 61%;
    --scale: 0.95;
    --rotate: 6deg;

    --opacity: 0.64;
    --brightness: 0.70;

    z-index: 48;
}

.system-layer.is-before-2 {
    --x: -270px;
    --y: 9px;
    --z: -35px;

    --width: 57%;
    --scale: 0.90;
    --rotate: 9deg;

    --opacity: 0.47;
    --brightness: 0.58;

    z-index: 38;
}

.system-layer.is-before-3 {
    --x: -330px;
    --y: 27px;
    --z: -115px;

    --width: 53%;
    --scale: 0.86;
    --rotate: 11deg;

    --opacity: 0.34;
    --brightness: 0.49;

    z-index: 28;
}

.system-layer.is-before-4 {
    --x: -372px;
    --y: 42px;
    --z: -175px;

    --width: 50%;
    --scale: 0.82;
    --rotate: 13deg;

    --opacity: 0.25;
    --brightness: 0.42;

    z-index: 18;
}

.system-layer.is-after-1 {
    --x: 155px;
    --y: -11px;
    --z: 70px;

    --width: 62%;
    --scale: 0.96;
    --rotate: -5deg;

    --opacity: 0.66;
    --brightness: 0.72;

    z-index: 50;
}

.system-layer.is-after-2 {
    --x: 250px;
    --y: 7px;
    --z: -18px;

    --width: 58%;
    --scale: 0.91;
    --rotate: -8deg;

    --opacity: 0.49;
    --brightness: 0.60;

    z-index: 40;
}

.system-layer.is-after-3 {
    --x: 322px;
    --y: 24px;
    --z: -96px;

    --width: 54%;
    --scale: 0.87;
    --rotate: -10deg;

    --opacity: 0.36;
    --brightness: 0.51;

    z-index: 30;
}

.system-layer.is-after-4 {
    --x: 378px;
    --y: 39px;
    --z: -158px;

    --width: 51%;
    --scale: 0.83;
    --rotate: -12deg;

    --opacity: 0.27;
    --brightness: 0.44;

    z-index: 20;
}

.system-stack .interface-preview,
.system-stack .code-workspace,
.system-stack .architecture-blueprint,
.system-stack .design-board,
.system-stack .performance-board {
    opacity: 0.55;
}

.system-stack .layer-caption {
    display: none;
}


/* ==========================================================================
   09. ACTIVE PLANE — NATIVE 2D
   ========================================================================== */

.system-active-plane {
    position: absolute;
    z-index: 70;

    top: calc(50% - 187px);
    left: calc(49% - 205px);

    width: 425px;
    height: 374px;

    pointer-events: none;
}

.system-active-card {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    overflow: hidden;

    border: 1px solid rgba(243, 241, 236, 0.30);

    background:
        linear-gradient(135deg,
            rgba(255, 255, 255, 0.038),
            transparent 35%),
        #090909;

    box-shadow:
        0 44px 90px rgba(0, 0, 0, 0.58),
        0 0 0 1px rgba(255, 255, 255, 0.015);

    opacity: 1;

    transform: none;
    filter: none;

    pointer-events: auto;

    transition: opacity 140ms ease;
}

.system-active-card.is-changing {
    opacity: 0;
}

.system-active-card .interface-preview,
.system-active-card .code-workspace,
.system-active-card .architecture-blueprint,
.system-active-card .design-board,
.system-active-card .performance-board {
    opacity: 1;
}


/* ==========================================================================
   10. SHARED CARD FRAME
   ========================================================================== */

.layer-chrome {
    position: absolute;
    z-index: 30;

    top: var(--card-chrome-top);
    right: var(--card-edge-x);
    left: var(--card-edge-x);

    display: flex;
    align-items: center;
    justify-content: space-between;

    pointer-events: none;

    color: var(--paper-40);

    font-family: var(--font-mono);
    font-size: 0.46rem;

    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.layer-chrome span:first-child {
    color: var(--signal);
}

.layer-caption {
    position: absolute;
    z-index: 40;

    right: var(--card-edge-x);
    bottom: var(--card-caption-bottom);
    left: var(--card-edge-x);

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    gap: 1px;

    pointer-events: none;
}

.layer-caption strong {
    color: var(--paper-88);

    font-size: 0.55rem;
    font-weight: 700;
    line-height: 1.2;

    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.layer-caption span {
    color: var(--paper-56);

    font-size: 0.52rem;
    line-height: 1.25;
}


/* ==========================================================================
   11. SHARED CONTENT VIEWPORT
   ========================================================================== */

.interface-preview,
.code-workspace,
.architecture-blueprint,
.design-board,
.performance-board {
    position: absolute;

    top: var(--card-content-top);
    right: var(--card-edge-x);
    bottom: var(--card-content-bottom);
    left: var(--card-edge-x);

    min-width: 0;
    min-height: 0;
}


/* ==========================================================================
   12. INTERFACE
   ========================================================================== */

.interface-preview__browser {
    width: 100%;
    height: 100%;

    display: grid;

    grid-template-rows:
        39px minmax(0, 1fr) 36px;

    overflow: hidden;

    background: #e9e6dc;
    color: #151712;

    box-shadow:
        0 24px 50px rgba(0, 0, 0, 0.32);
}

.interface-preview__bar {
    padding: 0 14px;

    display: grid;

    grid-template-columns:
        1fr auto 1fr;

    align-items: center;

    gap: 12px;

    border-bottom: 1px solid rgba(20, 23, 18, 0.11);

    background: #f4f2ea;
}

.interface-preview__bar>strong {
    font-size: 0.64rem;
}

.interface-preview__nav {
    display: flex;

    gap: 13px;

    font-size: 0.46rem;
}

.interface-preview__controls {
    justify-self: end;

    display: flex;

    gap: 6px;
}

.interface-preview__controls span {
    width: 10px;
    height: 10px;

    border: 1px solid rgba(20, 23, 18, 0.48);

    border-radius: 50%;
}

.interface-preview__body {
    position: relative;

    min-height: 0;

    display: grid;

    grid-template-columns:
        1.05fr 0.95fr;

    overflow: hidden;

    background:
        linear-gradient(118deg,
            #e6e0cf,
            #d9d7c7 55%,
            #c5c7b3);
}

.interface-preview__copy {
    position: relative;
    z-index: 3;

    align-self: center;

    min-width: 0;

    padding:
        20px 8px 20px 22px;
}

.interface-preview__copy>small {
    display: block;

    margin-bottom: 11px;

    color: rgba(20, 23, 18, 0.62);

    font-family: var(--font-mono);
    font-size: 0.42rem;

    letter-spacing: 0.10em;
    text-transform: uppercase;
}

.interface-preview__copy>strong {
    display: block;

    max-width: 8ch;

    font-size: 1.48rem;
    font-weight: 600;
    line-height: 0.94;

    letter-spacing: -0.06em;
}

.interface-preview__copy>strong span {
    display: block;

    color: #56634b;
}

.interface-preview__copy p {
    max-width: 160px;

    margin: 11px 0 0;

    color: rgba(20, 23, 18, 0.72);

    font-size: 0.49rem;
    line-height: 1.5;
}

.interface-preview__button {
    width: fit-content;

    margin-top: 13px;
    padding: 7px 9px;

    display: block;

    background: #192117;
    color: #f4f1e8;

    font-size: 0.44rem;
    font-weight: 650;
}

.interface-preview__visual {
    position: relative;

    min-width: 0;
    min-height: 0;
}

.interface-preview__glow {
    position: absolute;

    top: 24px;
    right: 22px;

    width: 96px;
    height: 96px;

    border-radius: 50%;

    background:
        radial-gradient(circle,
            rgba(255, 250, 224, 0.72),
            rgba(255, 250, 224, 0.14) 50%,
            transparent 72%);
}

.interface-preview__product {
    position: absolute;
    z-index: 4;

    right: 40px;
    bottom: 28px;

    width: 70px;
    height: 139px;

    border-radius:
        11px 11px 7px 7px;

    background:
        linear-gradient(90deg,
            #151a12,
            #303a29 44%,
            #12170f);

    box-shadow:
        0 20px 25px rgba(0, 0, 0, 0.27);
}

.interface-preview__product::before {
    content: "";

    position: absolute;

    top: -16px;
    left: 6px;

    width: 59px;
    height: 23px;

    border-radius:
        6px 6px 2px 2px;

    background:
        repeating-linear-gradient(90deg,
            #11150f 0 3px,
            #2a3025 3px 5px);
}

.interface-preview__product>span {
    position: absolute;

    top: 47px;
    left: 8px;

    width: 54px;
    height: 48px;

    padding: 11px 6px;

    background: #e4dfcc;
    color: #20251d;

    font-size: 0.39rem;
    font-weight: 700;
}

.interface-preview__ground {
    position: absolute;

    right: -20px;
    bottom: -34px;

    width: 205px;
    height: 116px;

    border-radius: 50% 0 0;

    background:
        radial-gradient(ellipse at 45% 25%,
            #8d8b72,
            #62664e 42%,
            #353b2c 72%);

    transform: rotate(-8deg);
}

.interface-preview__trust {
    padding: 0 13px;

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    align-items: center;

    background: #f1eee5;

    color: rgba(20, 23, 18, 0.70);

    font-size: 0.39rem;
    text-align: center;
}

.interface-preview__trust span+span {
    border-left: 1px solid rgba(20, 23, 18, 0.13);
}


/* ==========================================================================
   13. CODE
   ========================================================================== */

.code-workspace {
    display: grid;

    grid-template-columns:
        96px 1fr;

    overflow: hidden;

    border: 1px solid var(--paper-08);

    background: #070707;
}

.code-workspace__sidebar {
    padding: 15px 12px;

    display: flex;
    flex-direction: column;

    gap: 8px;

    border-right: 1px solid var(--paper-08);

    font-family: var(--font-mono);
}

.code-workspace__sidebar>span {
    margin-bottom: 7px;

    color: var(--paper-40);

    font-size: 0.44rem;

    letter-spacing: 0.10em;
}

.code-workspace__sidebar strong,
.code-workspace__sidebar small {
    font-size: 0.46rem;
    font-weight: 400;
}

.code-workspace__sidebar strong {
    color: var(--paper-72);
}

.code-workspace__sidebar small {
    color: var(--paper-40);
}

.code-workspace__editor {
    min-width: 0;

    display: grid;

    grid-template-rows:
        35px 1fr 33px;
}

.code-workspace__tab {
    padding: 0 14px;

    display: flex;
    align-items: center;

    border-bottom: 1px solid var(--paper-08);

    color: var(--paper-56);

    font-family: var(--font-mono);
    font-size: 0.46rem;
}

.code-workspace__code {
    padding: 20px 15px;

    display: grid;

    grid-template-columns:
        26px 1fr;

    align-content: start;

    row-gap: 7px;

    background-image:
        linear-gradient(90deg,
            rgba(255, 255, 255, 0.018) 1px,
            transparent 1px);

    background-size:
        26px 100%;
}

.code-line {
    color: var(--paper-28);

    font-family: var(--font-mono);
    font-size: 0.44rem;
}

.code-workspace__code code {
    color: var(--paper-72);

    font-family: var(--font-mono);
    font-size: 0.55rem;

    white-space: nowrap;
}

.code-workspace__code b {
    color: var(--signal);

    font-weight: 500;
}

.code-workspace__footer {
    padding: 0 13px;

    display: flex;
    align-items: center;

    gap: 15px;

    border-top: 1px solid var(--paper-08);

    color: var(--paper-40);

    font-family: var(--font-mono);
    font-size: 0.40rem;

    letter-spacing: 0.07em;
}


/* ==========================================================================
   14. ARCHITECTURE
   ========================================================================== */

.architecture-blueprint {
    display: grid;

    grid-template-rows:
        50px minmax(0, 1fr) 34px;

    overflow: hidden;

    border-top: 1px solid var(--paper-08);
    border-bottom: 1px solid var(--paper-08);

    background:
        linear-gradient(rgba(255, 255, 255, 0.021) 1px,
            transparent 1px),
        linear-gradient(90deg,
            rgba(255, 255, 255, 0.021) 1px,
            transparent 1px);

    background-size: 27px 27px;
}

.architecture-blueprint__header {
    padding: 0 13px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    border-bottom: 1px solid var(--paper-08);
}

.architecture-blueprint__header>div {
    display: flex;
    flex-direction: column;

    gap: 2px;
}

.architecture-blueprint__header>div>span {
    color: var(--signal);

    font-family: var(--font-mono);
    font-size: 0.43rem;

    letter-spacing: 0.10em;
}

.architecture-blueprint__header strong {
    color: var(--paper-72);

    font-size: 0.54rem;
    font-weight: 500;
}

.architecture-blueprint__status {
    position: relative;

    padding-left: 12px;

    color: var(--paper-56);

    font-family: var(--font-mono);
    font-size: 0.40rem;

    letter-spacing: 0.09em;
}

.architecture-blueprint__status::before {
    content: "";

    position: absolute;

    top: 50%;
    left: 0;

    width: 5px;
    height: 5px;

    border-radius: 50%;

    background: var(--signal);

    box-shadow:
        0 0 9px rgba(255, 73, 56, 0.55);

    transform: translateY(-50%);
}

.architecture-blueprint__body {
    position: relative;

    min-height: 0;

    display: grid;

    grid-template-rows:
        repeat(3, 1fr);
}

.architecture-row {
    position: relative;

    min-height: 0;

    display: grid;

    grid-template-columns:
        88px 1fr;
}

.architecture-row__label {
    padding: 9px 10px;

    display: flex;
    flex-direction: column;

    border-right: 1px solid var(--paper-08);
}

.architecture-row__label>span {
    color: var(--signal);

    font-family: var(--font-mono);
    font-size: 0.39rem;
}

.architecture-row__label strong {
    margin-top: auto;

    color: var(--paper-72);

    font-size: 0.46rem;
    font-weight: 600;

    text-transform: uppercase;
}

.architecture-row__label small {
    color: var(--paper-40);

    font-family: var(--font-mono);
    font-size: 0.38rem;
}

.architecture-row__content {
    position: relative;

    min-width: 0;

    padding: 0 13px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 7px;
}

.architecture-item {
    position: relative;
    z-index: 4;

    color: var(--paper-72);

    font-size: 0.47rem;
    font-weight: 500;

    white-space: nowrap;
}

.architecture-item::before {
    content: "";

    position: absolute;

    top: 50%;
    left: -8px;

    width: 3px;
    height: 3px;

    border-radius: 50%;

    background: var(--paper-40);

    transform: translateY(-50%);
}

.architecture-item--strong {
    color: var(--paper-88);
}

.architecture-item--strong::before {
    width: 5px;
    height: 5px;

    background: var(--signal);

    box-shadow:
        0 0 8px rgba(255, 73, 56, 0.48);
}

.architecture-flow {
    position: relative;

    flex: 1;

    min-width: 10px;
}

.architecture-flow::before {
    content: "";

    position: absolute;

    top: 50%;
    right: 2px;
    left: 2px;

    height: 1px;

    background:
        linear-gradient(90deg,
            var(--paper-18),
            var(--paper-40));
}

.architecture-flow::after {
    content: "";

    position: absolute;

    top: 50%;
    right: 2px;

    width: 4px;
    height: 4px;

    border-top: 1px solid var(--paper-40);
    border-right: 1px solid var(--paper-40);

    transform:
        translateY(-50%) rotate(45deg);
}

.architecture-row__content--application {
    justify-content: flex-start;

    gap: 15px;
}

.architecture-item--state {
    min-width: 105px;

    padding: 7px 10px;

    display: flex;
    flex-direction: column;

    border-left: 1px solid var(--signal);

    background:
        linear-gradient(90deg,
            rgba(255, 73, 56, 0.055),
            transparent);
}

.architecture-item--state::before {
    display: none;
}

.architecture-item--state small {
    margin-bottom: 2px;

    color: var(--paper-40);

    font-family: var(--font-mono);
    font-size: 0.38rem;
}

.architecture-meta {
    position: relative;

    padding-left: 8px;

    color: var(--paper-40);

    font-family: var(--font-mono);
    font-size: 0.39rem;

    text-transform: uppercase;
}

.architecture-meta::before {
    content: "";

    position: absolute;

    top: 50%;
    left: 0;

    width: 3px;
    height: 3px;

    background: var(--paper-40);

    transform: translateY(-50%);
}

.architecture-row__content--services {
    justify-content: flex-start;

    gap: 12px;
}

.architecture-service {
    min-width: 80px;

    padding: 6px 8px;

    display: flex;
    flex-direction: column;

    border-top: 1px solid var(--paper-18);

    color: var(--paper-72);

    font-size: 0.45rem;
}

.architecture-service:first-child {
    border-top-color: var(--signal);
}

.architecture-service small {
    margin-bottom: 2px;

    color: var(--paper-40);

    font-family: var(--font-mono);
    font-size: 0.36rem;
}

.architecture-vertical {
    position: absolute;
    z-index: 20;

    left: 61%;

    width: 1px;

    background: var(--paper-28);

    pointer-events: none;
}

.architecture-vertical--one {
    top: 30%;

    height: 11%;
}

.architecture-vertical--two {
    top: 63%;

    height: 11%;
}

.architecture-vertical span {
    position: absolute;

    bottom: -2px;
    left: -2px;

    width: 5px;
    height: 5px;

    border-radius: 50%;

    background: var(--signal);

    box-shadow:
        0 0 8px rgba(255, 73, 56, 0.50);
}

.architecture-signal {
    position: absolute;
    z-index: 25;

    width: 4px;
    height: 4px;

    border-radius: 50%;

    background: var(--signal);

    box-shadow:
        0 0 8px rgba(255, 73, 56, 0.48);
}

.architecture-signal--one {
    top: 16%;
    right: 13%;
}

.architecture-signal--two {
    top: 49%;
    left: 44%;
}

.architecture-signal--three {
    right: 27%;
    bottom: 16%;
}

.architecture-blueprint__footer {
    padding: 0 12px;

    display: flex;
    align-items: center;

    gap: 11px;

    border-top: 1px solid var(--paper-08);

    color: var(--paper-40);

    font-family: var(--font-mono);
    font-size: 0.37rem;

    letter-spacing: 0.07em;
}

.architecture-blueprint__footer i {
    width: 20px;
    height: 1px;

    background: var(--signal);
}


/* ==========================================================================
   15. DESIGN SYSTEM
   ========================================================================== */

.design-board {
    display: grid;

    grid-template-columns:
        1fr 0.90fr;

    grid-template-rows:
        1fr 1fr;

    gap: 10px;
}

.design-board>div {
    min-width: 0;
    min-height: 0;

    padding: 13px;

    overflow: hidden;

    border: 1px solid var(--paper-08);

    background: rgba(255, 255, 255, 0.018);
}

.design-board>div>span {
    color: var(--paper-40);

    font-family: var(--font-mono);
    font-size: 0.43rem;

    letter-spacing: 0.10em;
}

.design-board__type {
    grid-column: 1;
    grid-row: 1;
}

.design-board__tokens {
    grid-column: 2;
    grid-row: 1;
}

.design-board__component {
    grid-column: 1;
    grid-row: 2;
}

.design-board__spacing {
    grid-column: 2;
    grid-row: 2;
}

.design-board__type strong {
    display: block;

    margin:
        13px 0 10px;

    color: var(--paper-88);

    font-size: 2.75rem;
    font-weight: 500;
    line-height: 0.82;

    letter-spacing: -0.09em;
}

.design-board__type p {
    margin: 4px 0;

    color: var(--paper-56);

    font-family: var(--font-mono);
    font-size: 0.42rem;
}

.design-board__tokens>div {
    margin-top: 17px;

    display: flex;
    align-items: center;

    gap: 7px;
}

.design-board__tokens i {
    width: 25px;
    height: 25px;

    display: block;

    flex: 0 0 auto;

    border: 1px solid var(--paper-12);

    border-radius: 50%;
}

.design-board__tokens i:nth-child(1) {
    background: var(--paper);
}

.design-board__tokens i:nth-child(2) {
    background: var(--signal);
}

.design-board__tokens i:nth-child(3) {
    background: #676b60;
}

.design-board__tokens i:nth-child(4) {
    background: #171717;
}

.design-board__spacing>div {
    margin-top: 18px;

    display: flex;
    align-items: flex-end;

    gap: 7px;
}

.design-board__spacing i {
    width: 15px;

    display: block;

    background: var(--paper-18);
}

.design-board__spacing i:nth-child(1) {
    height: 7px;
}

.design-board__spacing i:nth-child(2) {
    height: 13px;
}

.design-board__spacing i:nth-child(3) {
    height: 22px;
}

.design-board__spacing i:nth-child(4) {
    height: 34px;
}

.design-board__component button {
    margin-top: 15px;

    padding: 8px 10px;

    display: inline-flex;
    align-items: center;

    gap: 25px;

    border: 1px solid var(--paper-18);

    color: var(--paper-72);

    font-size: 0.46rem;
}

.design-board__component button i {
    color: var(--signal);

    font-style: normal;
}


/* ==========================================================================
   16. PERFORMANCE
   ========================================================================== */

.performance-board {
    display: grid;

    grid-template-columns:
        110px 1fr;

    grid-template-rows:
        1fr 65px;

    overflow: hidden;

    border: 1px solid var(--paper-08);

    background: rgba(5, 5, 5, 0.75);
}

.performance-board__score {
    padding: 16px;

    border-right: 1px solid var(--paper-08);
}

.performance-board__score>span {
    display: block;

    margin-bottom: 21px;

    color: var(--paper-40);

    font-family: var(--font-mono);
    font-size: 0.42rem;

    letter-spacing: 0.08em;
}

.performance-board__score strong {
    color: var(--paper-88);

    font-size: 3.1rem;
    font-weight: 500;
    line-height: 0.9;

    letter-spacing: -0.08em;
}

.performance-board__score small {
    color: var(--paper-40);

    font-family: var(--font-mono);
    font-size: 0.44rem;
}

.performance-board__graph {
    padding: 20px;

    display: flex;
    align-items: center;

    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px,
            transparent 1px);

    background-size:
        100% 25%;
}

.performance-board__graph svg {
    width: 100%;
}

.performance-board__graph path {
    fill: none;

    stroke: var(--signal);
    stroke-width: 1.4;

    vector-effect: non-scaling-stroke;
}

.performance-board__metrics {
    grid-column:
        1 / -1;

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    border-top: 1px solid var(--paper-08);
}

.performance-board__metrics>div {
    padding: 11px 13px;

    display: flex;
    flex-direction: column;

    gap: 4px;
}

.performance-board__metrics>div+div {
    border-left: 1px solid var(--paper-08);
}

.performance-board__metrics span {
    color: var(--paper-40);

    font-family: var(--font-mono);
    font-size: 0.39rem;

    letter-spacing: 0.07em;
}

.performance-board__metrics strong {
    color: var(--paper-72);

    font-size: 0.45rem;
    font-weight: 500;
}


/* ==========================================================================
   17. SYSTEM INDEX
   ========================================================================== */

.system-index {
    position: absolute;
    z-index: 100;

    top: 50%;
    right: 0;

    display: flex;
    flex-direction: column;

    transform: translateY(-50%);
}

.system-index::before {
    content: "";

    position: absolute;

    top: 0;
    bottom: 0;
    left: 0;

    width: 1px;

    background: var(--paper-08);
}

.system-index__item {
    position: relative;

    min-width: 118px;

    padding:
        10px 0 10px 18px;

    display: grid;

    grid-template-columns:
        24px 1fr;

    align-items: center;

    gap: 8px;

    color: var(--paper-72);

    font-size: 0.78rem;
    font-weight: 600;

    letter-spacing: 0.07em;
    text-align: left;
    text-transform: uppercase;

    cursor: pointer;

    transition: color 220ms ease;
}

.system-index__item::before {
    content: "";

    position: absolute;

    top: 50%;
    left: -1px;

    width: 2px;
    height: 0;

    background: var(--signal);

    transform: translateY(-50%);

    transition:
        height 260ms var(--ease-out);
}

.system-index__item span {
    font-family: var(--font-mono);
    font-size: 0.72rem;
}

.system-index__item.is-active {
    color: var(--paper);
}

.system-index__item.is-active::before {
    height: 22px;
}

.system-index__item:not(.is-active):hover,
.system-index__item:not(.is-active):focus-visible {
    color: var(--paper-72);
}


/* ==========================================================================
   18. METHOD
   ========================================================================== */

.hero__method {
    position: relative;
    z-index: 50;

    height: 104px;

    padding:
        22px 0 18px;

    display: grid;

    grid-template-columns:
        minmax(310px, 0.72fr) 1.55fr;

    align-items: start;

    gap: 50px;

    border-top: 1px solid var(--paper-08);
}

.hero__method-label {
    margin: 0;

    display: flex;
    align-items: center;

    gap: 14px;

    color: var(--paper-56);

    font-family: var(--font-mono);
    font-size: 0.78rem;

    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero__method-label>span {
    width: 27px;
    height: 1px;

    background: var(--paper-28);
}

.hero__method-list {
    margin: 0;
    padding: 0;

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    list-style: none;
}

.hero__method-list li {
    min-height: 60px;

    padding: 0 18px;

    display: flex;
    flex-direction: column;

    border-left: 1px solid var(--paper-08);
}

.hero__method-list li>span {
    margin-bottom: 8px;

    font-family: var(--font-mono);
    font-size: 0.72rem;
}

.hero__method-list strong {
    color: var(--paper-72);

    font-size: 0.91rem;
    font-weight: 500;
}

.hero__method-list small {
    margin-top: 2px;

    color: var(--paper-72);

    font-size: 0.84rem;
}


/* ==========================================================================
   19. SITUATIONS — RECOGNITION + REASONING
   ========================================================================== */

.situations {
    position: relative;
    isolation: isolate;
    padding: clamp(110px, 9vw, 170px) var(--page-gutter) clamp(72px, 5.5vw, 96px);
    overflow: hidden;
    border-top: 1px solid var(--paper-08);
    background:
        radial-gradient(circle at 76% 48%, rgba(255, 73, 56, 0.045), transparent 30%),
        linear-gradient(180deg, #080808 0%, #0a0a0a 100%);
}

.situations::before {
    content: "";
    position: absolute;
    z-index: -2;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(to right, transparent calc(100% - 1px), rgba(255, 255, 255, 0.025) 1px);
    background-size: clamp(120px, 10vw, 190px) 100%;
}

.situations__intro {
    width: min(100%, 1080px);
    margin-bottom: clamp(72px, 6vw, 104px);
}

.situations__eyebrow {
    margin: 0 0 28px;
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--paper-56);
    font-family: var(--font-mono);
    font-size: 0.80rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.situations__eyebrow span {
    color: var(--signal);
}

.situations__title {
    max-width: 1050px;
    margin: 0;
    font-size: clamp(4.1rem, 6.15vw, 7.45rem);
    font-weight: 500;
    line-height: 0.87;
    letter-spacing: -0.067em;
}

.situations__title span {
    display: block;
}

.situations__title span:last-child {
    color: var(--paper-56);
}

.situations__lead {
    max-width: 620px;
    margin: 36px 0 0;
    color: var(--paper-72);
    font-size: clamp(1rem, 1.08vw, 1.15rem);
    line-height: 1.65;
}

.situations__system {
    min-height: 680px;
    display: grid;
    grid-template-columns: minmax(500px, 0.90fr) minmax(620px, 1.10fr);
    border-top: 1px solid var(--paper-12);
    border-bottom: 1px solid var(--paper-12);
}

.situations__choices {
    border-right: 1px solid var(--paper-12);
}

.situation-choice {
    position: relative;
    width: 100%;
    min-height: 170px;
    padding: 31px 34px 31px 0;
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr) 42px;
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid var(--paper-08);
    text-align: left;
    cursor: pointer;
    transition: background-color 280ms ease, color 280ms ease;
}

.situation-choice:last-child {
    border-bottom: 0;
}

.situation-choice::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -1px;
    width: 2px;
    background: var(--signal);
    transform: scaleY(0);
    transform-origin: center;
    transition: transform 330ms var(--ease-out);
}

.situation-choice:hover,
.situation-choice:focus-visible {
    background: rgba(255, 255, 255, 0.018);
}

.situation-choice.is-active {
    background:
        linear-gradient(90deg, rgba(255, 73, 56, 0.065), rgba(255, 255, 255, 0.014) 62%, transparent);
}

.situation-choice.is-active::before {
    transform: scaleY(1);
}

.situation-choice__number {
    align-self: start;
    padding-top: 7px;
    color: var(--paper-40);
    font-family: var(--font-mono);
    font-size: 0.80rem;
    font-weight: 500;
    letter-spacing: 0.10em;
    transition: color 250ms ease;
}

.situation-choice.is-active .situation-choice__number {
    color: var(--signal);
}

.situation-choice__copy {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.situation-choice__copy strong {
    color: var(--paper-72);
    font-size: clamp(2rem, 2.35vw, 2.85rem);
    font-weight: 500;
    line-height: 0.94;
    letter-spacing: -0.055em;
    text-transform: uppercase;
    transition: color 250ms ease;
}

.situation-choice.is-active .situation-choice__copy strong {
    color: var(--paper);
}

.situation-choice__copy small {
    max-width: 34ch;
    color: var(--paper-72);
    font-size: clamp(0.94rem, 1vw, 1.05rem);
    line-height: 1.45;
}

.situation-choice__signal {
    justify-self: end;
    color: var(--paper-28);
    font-size: 1.25rem;
    line-height: 1;
    transition: color 250ms ease, transform 300ms var(--ease-out);
}

.situation-choice:hover .situation-choice__signal {
    color: var(--paper-56);
}

.situation-choice.is-active .situation-choice__signal {
    color: var(--signal);
    transform: translateX(6px);
}

.situation-analysis {
    position: relative;
    min-width: 0;
    min-height: 680px;
    padding: 0 clamp(42px, 4vw, 72px);
    display: grid;
    grid-template-rows: 72px minmax(0, 1fr);
    overflow: hidden;
    background:
        linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
    background-size: 42px 42px;
}

.situation-analysis::after {
    content: "";
    position: absolute;
    top: 72px;
    right: 0;
    bottom: 0;
    left: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 54% 43%, rgba(255, 73, 56, 0.060), transparent 35%);
}

.situation-analysis__chrome {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    border-bottom: 1px solid var(--paper-08);
    color: var(--paper-72);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.10em;
    text-transform: uppercase;
}

.situation-analysis__index {
    color: var(--signal);
}

.situation-analysis__content {
    position: relative;
    z-index: 3;
    min-height: 0;
    padding: 42px 0 34px;
    display: grid;
    grid-template-columns: minmax(210px, 0.76fr) minmax(320px, 1.24fr);
    grid-template-rows: auto minmax(250px, 1fr) auto;
    column-gap: clamp(38px, 4vw, 76px);
    row-gap: 30px;
    transition: opacity 120ms ease;
}

.situation-analysis.is-changing .situation-analysis__content {
    opacity: 0.28;
}

.situation-analysis__header {
    grid-column: 1;
    grid-row: 1;
}

.situation-analysis__reading {
    grid-column: 1;
    grid-row: 3;
}

.situation-analysis__focus {
    grid-column: 2;
    grid-row: 3;
}

.situation-analysis__label {
    display: block;
    margin-bottom: 12px;
    color: var(--signal);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.10em;
    text-transform: uppercase;
}

.situation-analysis__header p,
.situation-analysis__reading p,
.situation-analysis__focus p {
    margin: 0;
}

.situation-analysis__signal-text {
    max-width: 330px;
    color: var(--paper-88);
    font-size: clamp(1.38rem, 1.75vw, 1.76rem);
    line-height: 1.20;
    letter-spacing: -0.038em;
}

.situation-analysis__reading,
.situation-analysis__focus {
    padding-top: 21px;
    border-top: 1px solid var(--paper-08);
}

.situation-analysis__reading-text {
    max-width: 360px;
    color: var(--paper-72);
    font-size: 1rem;
    line-height: 1.58;
}

.situation-analysis__focus-text {
    color: var(--paper-72);
    font-family: var(--font-mono);
    font-size: 0.80rem;
    line-height: 1.65;
    letter-spacing: 0.055em;
}

.situation-analysis__map {
    position: relative;
    grid-column: 2;
    grid-row: 1 / 3;
    min-height: 350px;
    opacity: 1;
    transition: opacity 120ms ease;
}

.situation-analysis__map::before,
.situation-analysis__map::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.situation-analysis__map::before {
    inset: 12px 0 14px;
    background:
        linear-gradient(90deg, transparent 49.8%, var(--paper-18) 50%, transparent 50.2%);
}

.situation-analysis__map::after {
    top: 24px;
    left: 50%;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--signal);
    box-shadow: 0 0 16px rgba(255, 73, 56, 0.58);
    transform: translateX(-50%);
}

.situation-map {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.situation-map__node {
    position: relative;
    z-index: 2;
    min-width: 158px;
    padding: 10px 15px;
    border: 1px solid var(--paper-12);
    background: #0a0a0a;
    color: var(--paper-72);
    font-family: var(--font-mono);
    font-size: 0.76rem;
    letter-spacing: 0.05em;
    text-align: center;
    text-transform: uppercase;
}

.situation-map__node--strong {
    border-color: rgba(255, 73, 56, 0.50);
    color: var(--paper-88);
}

.situation-map__node--strong::before {
    content: "";
    position: absolute;
    top: 50%;
    left: -3px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--signal);
    transform: translateY(-50%);
}

.situation-map__arrow {
    width: 1px;
    height: 17px;
    background: var(--paper-28);
}

.situation-map--branches {
    justify-content: center;
}

.situation-map__branches {
    width: min(100%, 470px);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
}

.situation-map__branches .situation-map__node {
    min-width: 0;
    padding-right: 8px;
    padding-left: 8px;
}

.situation-map__split {
    position: relative;
    width: 68%;
    height: 27px;
    border-top: 1px solid var(--paper-18);
}

.situation-map__split::before,
.situation-map__split::after {
    content: "";
    position: absolute;
    top: -1px;
    width: 1px;
    height: 27px;
    background: var(--paper-18);
}

.situation-map__split::before {
    left: 0;
}

.situation-map__split::after {
    right: 0;
}


/* --------------------------------------------------------------------------
   SITUATION MAP — SEQUENTIAL REASONING MOTION

   The diagram only animates when JS adds .is-building.
   Lines are drawn first, then the next node is revealed.
   No continuous animation: each selection produces one short sequence.
   -------------------------------------------------------------------------- */

.situation-analysis__map.is-building .situation-map__node {
    animation: situation-node-reveal 320ms var(--ease-out) both;
}

.situation-analysis__map.is-building .situation-map__arrow {
    transform-origin: top;
    animation: situation-line-draw 230ms var(--ease-out) both;
}

.situation-analysis__map.is-building .situation-map__split {
    transform-origin: top center;
    animation: situation-split-draw 280ms var(--ease-out) both;
}

.situation-analysis__map.is-building .situation-map__branches .situation-map__node {
    animation: situation-branch-reveal 280ms var(--ease-out) both;
}


/* Linear maps: node → line → node → line... */

.situation-analysis__map.is-building .situation-map> :nth-child(1) {
    animation-delay: 40ms;
}

.situation-analysis__map.is-building .situation-map> :nth-child(2) {
    animation-delay: 130ms;
}

.situation-analysis__map.is-building .situation-map> :nth-child(3) {
    animation-delay: 220ms;
}

.situation-analysis__map.is-building .situation-map> :nth-child(4) {
    animation-delay: 310ms;
}

.situation-analysis__map.is-building .situation-map> :nth-child(5) {
    animation-delay: 400ms;
}

.situation-analysis__map.is-building .situation-map> :nth-child(6) {
    animation-delay: 490ms;
}

.situation-analysis__map.is-building .situation-map> :nth-child(7) {
    animation-delay: 580ms;
}

.situation-analysis__map.is-building .situation-map> :nth-child(8) {
    animation-delay: 670ms;
}

.situation-analysis__map.is-building .situation-map> :nth-child(9) {
    animation-delay: 760ms;
}


/* Branch map: reveal the three diagnostic axes together after the split. */

.situation-analysis__map.is-building .situation-map--branches> :nth-child(1) {
    animation-delay: 40ms;
}

.situation-analysis__map.is-building .situation-map--branches> :nth-child(2) {
    animation-delay: 130ms;
}

.situation-analysis__map.is-building .situation-map--branches> :nth-child(3) {
    animation-delay: 220ms;
}

.situation-analysis__map.is-building .situation-map--branches> :nth-child(4) {
    animation-delay: 330ms;
}

.situation-analysis__map.is-building .situation-map--branches> :nth-child(5) {
    animation-delay: 450ms;
}

.situation-analysis__map.is-building .situation-map--branches> :nth-child(6) {
    animation-delay: 540ms;
}

.situation-analysis__map.is-building .situation-map--branches> :nth-child(7) {
    animation-delay: 630ms;
}

.situation-analysis__map.is-building .situation-map__branches .situation-map__node:nth-child(1) {
    animation-delay: 330ms;
}

.situation-analysis__map.is-building .situation-map__branches .situation-map__node:nth-child(2) {
    animation-delay: 370ms;
}

.situation-analysis__map.is-building .situation-map__branches .situation-map__node:nth-child(3) {
    animation-delay: 410ms;
}


@keyframes situation-node-reveal {
    from {
        opacity: 0;
        transform: translateY(7px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes situation-branch-reveal {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes situation-line-draw {
    from {
        opacity: 0;
        transform: scaleY(0);
    }

    to {
        opacity: 1;
        transform: scaleY(1);
    }
}

@keyframes situation-split-draw {
    from {
        opacity: 0;
        transform: scaleY(0.25) scaleX(0.20);
    }

    to {
        opacity: 1;
        transform: scaleY(1) scaleX(1);
    }
}


.situations__routes {
    border-bottom: 1px solid var(--paper-12);
}

.situations__routes > p {
    margin: 0;
    padding: 24px 0;
    color: var(--paper-40);
    font-family: var(--font-mono);
    font-size: 0.66rem;
    letter-spacing: 0.1em;
}

.situations__routes > div {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--paper-12);
    border-left: 1px solid var(--paper-12);
}

.situations__routes a {
    min-height: 86px;
    padding: 22px 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-right: 1px solid var(--paper-12);
    border-bottom: 1px solid var(--paper-12);
    color: var(--paper-72);
    transition: color 220ms ease, background-color 220ms ease;
}

.situations__routes a span:last-child {
    color: var(--signal);
    transition: transform 220ms ease;
}

.situations__routes a:hover,
.situations__routes a:focus-visible {
    color: var(--paper);
    background: var(--paper-04);
}

.situations__routes a:hover span:last-child,
.situations__routes a:focus-visible span:last-child {
    transform: translate(4px, -4px);
}

.situations__statement {
    min-height: 122px;

    margin-top: 0;
    padding: 0;

    display: grid;
    grid-template-columns:
        minmax(250px, 0.90fr) minmax(500px, 1.10fr);

    align-items: center;

    border-bottom: 1px solid var(--paper-08);

    text-transform: uppercase;
}

.situations__statement span {
    color: var(--paper-72);

    font-family: var(--font-mono);
    font-size: clamp(1rem, 1.1vw, 1.125rem);

    letter-spacing: 0.12em;
}

.situations__statement strong {
    max-width: none;

    color: var(--paper-88);

    font-size: clamp(1.45rem, 1.65vw, 1.85rem);
    font-weight: 500;
    line-height: 1;

    letter-spacing: -0.04em;
    text-align: left;
}


/* ==========================================================================
   20. HERO — RESPONSIVE
   A vertical composition, independent of the desktop grid and scene geometry.
   ========================================================================== */

@media (max-width: 1199px) {

    .hero {
        height: auto;
        min-height: 0;
        padding: 68px 24px 0;
        grid-template-rows: auto auto;
        overflow: hidden;
    }

    .hero__stage {
        min-width: 0;
        grid-template-columns: minmax(0, 1fr);
        gap: 30px;
        padding: 54px 0 32px;
    }

    .hero__copy {
        min-width: 0;
        max-width: 680px;
    }

    .hero__eyebrow {
        margin-bottom: 22px;
        font-size: 0.69rem;
        letter-spacing: 0.08em;
    }

    .hero__title {
        font-size: clamp(2.45rem, 7vw, 4.5rem);
        line-height: 0.99;
        letter-spacing: -0.06em;
        overflow-wrap: normal;
    }

    .hero__title>span {
        white-space: normal;
    }

    .hero__intro {
        margin-top: 22px;
        font-size: 1rem;
    }

    .hero__actions {
        margin-top: 24px;
        flex-wrap: wrap;
    }

    .hero__layer-status {
        margin-top: 28px;
        max-width: 100%;
    }

    .system-scene {
        --scene-scale: 1;
        width: 100%;
        max-width: 620px;
        height: 485px;
        margin-inline: auto;
        overflow: hidden;
    }

    .system-scene__beam {
        left: 50%;
        transform: translateX(-50%);
    }

    .system-scene__floor {
        right: 0;
        bottom: 30px;
        width: 100%;
    }

    .system-stack {
        top: 190px;
        left: 50%;
        width: 425px;
        height: 374px;
        opacity: 0.30;
        transform: translate(-50%, -50%) scale(var(--scene-scale));
    }

    .system-layer {
        --x: 0px !important;
        --y: 0px !important;
        --z: 0px !important;
        --rotate: 0deg !important;
        --opacity: 0 !important;
    }

    .system-layer.is-before-1,
    .system-layer.is-after-1 {
        --opacity: 0.28 !important;
    }

    .system-active-plane {
        top: 18px;
        left: 50%;
        width: 425px;
        height: 374px;
        transform: translateX(-50%) scale(var(--scene-scale));
        transform-origin: top center;
    }

    .system-index {
        top: auto;
        right: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        transform: none;
        border-top: 1px solid var(--paper-12);
    }

    .system-index::before {
        display: none;
    }

    .system-index__item {
        min-width: 0;
        min-height: 48px;
        padding: 8px 4px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 2px;
        font-size: 0.57rem;
        text-align: center;
        letter-spacing: 0.02em;
    }

    .system-index__item::before {
        top: -1px;
        right: 0;
        bottom: auto;
        left: 0;
        width: 100%;
        height: 2px;
        transform: scaleX(0);
        transform-origin: center;
    }

    .system-index__item.is-active::before {
        height: 2px;
        transform: scaleX(1);
    }

    .system-index__item span {
        font-size: 0.65rem;
    }

    .hero__method {
        height: auto;
        padding: 24px 0 30px;
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
    }

    .hero__method-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px 0;
    }

    .hero__method-list li {
        min-width: 0;
        padding: 0 12px;
    }
}

/* Tablet retains the desktop header height and its matching hero offset. */
@media (min-width: 960px) and (max-width: 1199px) {

    .hero {
        padding-top: 86px;
    }

    .hero__title {
        font-size: clamp(2.45rem, 5.8vw, 3.85rem);
    }
}

@media (max-width: 479px) {

    .hero {
        padding-inline: 18px;
    }

    .hero__stage {
        gap: 24px;
        padding-top: 52px;
        padding-bottom: 22px;
    }

    .hero__eyebrow {
        gap: 10px;
        font-size: 0.59rem;
        line-height: 1.45;
    }

    .hero__eyebrow>span {
        width: 18px;
        flex: 0 0 18px;
    }

    .hero__title {
        font-size: clamp(2.25rem, 10.1vw, 3.15rem);
        line-height: 1.02;
    }

    .hero__intro {
        font-size: 0.96rem;
        line-height: 1.55;
    }

    .hero__actions {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }

    .hero__actions .button {
        width: 100%;
        min-width: 0;
        justify-content: space-between;
    }

    .hero__layer-status {
        grid-template-columns: 58px minmax(0, 1fr);
        gap: 10px;
    }

    .system-scene {
        --scene-scale: 0.79;
        height: 380px;
    }

    .system-stack {
        top: calc(18px + 187px * var(--scene-scale));
    }

    .system-index__item {
        min-height: 55px;
        font-size: 0;
    }

    .system-index__item span {
        font-size: 0.75rem;
    }

    .hero__method-label {
        font-size: 0.65rem;
    }

    .hero__method-list strong {
        font-size: 0.83rem;
    }

    .hero__method-list small {
        font-size: 0.76rem;
    }
}


/* ==========================================================================
   21. SITUATIONS — RESPONSIVE
   One column: introduction, choices, analysis, statement.
   ========================================================================== */

@media (max-width: 1199px) {

    .situations {
        padding: 88px 24px 72px;
    }

    .situations__intro {
        width: 100%;
        margin-bottom: 44px;
    }

    .situations__title {
        max-width: 100%;
        font-size: clamp(3rem, 7.5vw, 5.5rem);
        line-height: 0.96;
        overflow-wrap: normal;
    }

    .situations__lead {
        margin-top: 28px;
    }

    .situations__system {
        min-height: 0;
        grid-template-columns: minmax(0, 1fr);
    }

    .situations__choices {
        min-width: 0;
        border-right: 0;
        border-bottom: 1px solid var(--paper-12);
    }

    .situations__routes > div {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .situations__routes a {
        min-height: 72px;
        padding: 18px 16px;
        font-size: 0.88rem;
    }

    .situation-choice {
        min-width: 0;
        min-height: 112px;
        padding: 22px 12px 22px 16px;
        grid-template-columns: 32px minmax(0, 1fr) 20px;
        gap: 12px;
    }

    .situation-choice__number {
        padding-top: 3px;
    }

    .situation-choice__copy {
        min-width: 0;
        gap: 7px;
    }

    .situation-choice__copy strong {
        font-size: clamp(1.5rem, 4.5vw, 2.25rem);
        line-height: 1.04;
    }

    .situation-choice__copy small {
        max-width: 100%;
        font-size: 0.92rem;
    }

    .situation-choice__signal {
        font-size: 1rem;
    }

    .situation-analysis {
        min-height: 0;
        padding: 0 22px;
        grid-template-rows: 62px auto;
    }

    .situation-analysis::after {
        top: 62px;
    }

    .situation-analysis__chrome {
        min-width: 0;
        gap: 12px;
        font-size: 0.65rem;
    }

    .situation-analysis__content {
        min-width: 0;
        padding: 28px 0 34px;
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto;
        gap: 28px;
    }

    .situation-analysis__header,
    .situation-analysis__map,
    .situation-analysis__reading,
    .situation-analysis__focus {
        min-width: 0;
        grid-column: 1;
        grid-row: auto;
    }

    .situation-analysis__signal-text {
        max-width: 100%;
        font-size: clamp(1.35rem, 4vw, 1.7rem);
    }

    .situation-analysis__map {
        min-height: 330px;
    }

    .situation-map__node {
        min-width: 0;
        width: min(100%, 158px);
        padding: 10px 8px;
        font-size: 0.67rem;
    }

    .situation-map__branches {
        gap: 5px;
    }

    .situation-map__branches .situation-map__node {
        width: 100%;
        padding: 9px 3px;
        font-size: 0.55rem;
        overflow-wrap: anywhere;
    }

    .situations__statement {
        min-height: 0;
        padding: 32px 0;
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .situations__statement span,
    .situations__statement strong {
        min-width: 0;
        overflow-wrap: break-word;
    }

    .situations__statement strong {
        font-size: clamp(1.4rem, 4vw, 1.85rem);
        line-height: 1.15;
    }
}

@media (max-width: 479px) {

    .situations {
        padding: 76px 18px 30px;
    }

    .situations__intro {
        margin-bottom: 40px;
    }

    .situations__eyebrow {
        margin-bottom: 26px;
        font-size: 0.7rem;
    }

    .situations__title {
        font-size: clamp(2.7rem, 11vw, 3.35rem);
        line-height: 0.98;
        letter-spacing: -0.06em;
    }

    .situations__lead {
        margin-top: 28px;
        font-size: 0.98rem;
        line-height: 1.6;
    }

    .situation-choice {
        min-height: 104px;
        padding: 20px 0 20px 12px;
        grid-template-columns: 25px minmax(0, 1fr) 16px;
        gap: 9px;
    }

    .situation-choice__number {
        font-size: 0.67rem;
    }

    .situation-choice__copy strong {
        font-size: clamp(1.35rem, 6.1vw, 1.8rem);
    }

    .situation-choice__copy small {
        font-size: 0.82rem;
        line-height: 1.4;
    }

    .situation-analysis {
        padding-inline: 14px;
    }

    .situation-analysis__chrome {
        font-size: 0.59rem;
        letter-spacing: 0.06em;
    }

    .situation-analysis__map {
        min-height: 300px;
    }

    .situation-analysis__reading-text {
        font-size: 0.94rem;
    }

    .situations__statement span {
        font-size: 0.82rem;
    }
}


/* ==========================================================================
   22. WORK — GREENLYTES / INTERACTIVE PROJECT EXPLORER
   Full-width editorial layout. Screenshots keep their native aspect ratio.
   Explanations occupy a dedicated column; nothing overlays the screenshots.
   ========================================================================== */

.work {
    position: relative;
    isolation: isolate;
    padding: clamp(110px, 9vw, 160px) var(--page-gutter) 125px;
    border-top: 1px solid var(--paper-08);
    background: radial-gradient(ellipse at 50% 50%, #161916 0%, #0b0d0b 42%, #080808 80%);
}

.work__heading {
    max-width: 1150px;
    margin-bottom: 75px;
}

.work__eyebrow,
.work-project__topline,
.work-project__number,
.work-project__expertise,
.work-project__explorer-head,
.work-project__callout-index,
.work-project__technical-label,
.work-project__technical-counter {
    font-family: var(--font-mono);
    font-size: 0.73rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.work__eyebrow {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0 0 28px;
    color: var(--paper-56);
}

.work__eyebrow span:first-child {
    color: var(--signal);
}

.work__eyebrow span:last-child {
    margin-left: auto;
}

.work__title {
    margin: 0;
    font-size: clamp(4rem, 6.2vw, 7.3rem);
    font-weight: 500;
    line-height: 0.91;
    letter-spacing: -0.065em;
}

.work__title span {
    color: var(--paper-56);
}

.work__lead {
    max-width: 560px;
    margin: 29px 0 0;
    color: var(--paper-72);
    font-size: 1.07rem;
    line-height: 1.65;
}

.work-project {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
}

.work-project__topline {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px 20px;
    padding: 18px 0;
    border-top: 1px solid var(--paper-18);
    color: var(--paper-56);
}

.work-project__topline span:first-child {
    color: var(--signal);
}

.work-project__explorer {
    min-width: 0;
    border: 1px solid var(--paper-12);
    background: #0c100d;
}

.work-project__explorer-head {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 22px;
    border-bottom: 1px solid var(--paper-12);
    color: var(--paper-56);
}

.work-project__progress {
    color: var(--signal);
}

/* The screenshot and the commentary form one deliberate composition. */
.work-project__viewport {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(270px, 3fr);
    align-items: stretch;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    background: #101410;
}

.work-project__view {
    position: relative;
    grid-column: 1;
    grid-row: 1;
    display: grid;
    place-items: center;
    min-width: 0;
    min-height: 0;
    margin: 0;
    padding: clamp(16px, 2vw, 34px);
    background: radial-gradient(ellipse at 50% 50%, #263126, #0b0f0c 75%);
}

.work-project__view[hidden] {
    display: none;
}


.work-project__view img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    margin-inline: auto;
    max-height: min(78vh, 780px);
    object-fit: contain;
    border: 1px solid rgba(243, 241, 236, 0.18);
    box-shadow: 0 25px 65px rgba(0, 0, 0, 0.35);
    transition: transform 550ms var(--ease-out), box-shadow 550ms var(--ease-out);
}

.work-project__view.is-active img {
    animation: project-image-reveal 580ms var(--ease-out) both;
}

@media (hover: hover) and (pointer: fine) {
    .work-project__view:hover img {
        transform: translateY(-6px) scale(1.012);
        box-shadow: 0 36px 78px rgba(0, 0, 0, 0.48);
    }
}

.work-project__callout {
    position: relative;
    z-index: 1;
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    width: auto;
    padding: clamp(25px, 3vw, 54px);
    border: 0;
    border-left: 1px solid var(--paper-12);
    background: linear-gradient(150deg, #151a15, #0b0e0b);
    box-shadow: none;
}

.work-project__callout-index {
    display: block;
    margin-bottom: 20px;
    color: var(--signal);
    font-size: 0.67rem;
}

.work-project__callout-title {
    display: block;
    max-width: 15ch;
    color: var(--paper);
    font-size: clamp(1.5rem, 2.25vw, 2.7rem);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -0.05em;
    overflow-wrap: break-word;
}

.work-project__callout-copy {
    max-width: 36ch;
    margin: 23px 0 0;
    color: var(--paper-72);
    font-size: clamp(0.9rem, 1vw, 1.03rem);
    line-height: 1.6;
}

.work-project__controls {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--paper-12);
    border-bottom: 1px solid var(--paper-12);
}

.work-project__step {
    position: relative;
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    align-content: center;
    column-gap: 13px;
    row-gap: 3px;
    min-width: 0;
    min-height: 104px;
    padding: 21px 22px;
    text-align: left;
    cursor: pointer;
    transition: background-color 250ms ease;
}

.work-project__step+.work-project__step {
    border-left: 1px solid var(--paper-12);
}

.work-project__step::before {
    content: "";
    position: absolute;
    top: -1px;
    right: 0;
    left: 0;
    height: 2px;
    background: var(--signal);
    transform: scaleX(0);
    transition: transform 300ms var(--ease-out);
}

.work-project__step.is-active::before {
    transform: scaleX(1);
}

.work-project__step:hover,
.work-project__step:focus-visible,
.work-project__step.is-active {
    background: rgba(255, 73, 56, 0.055);
}

.work-project__step>span {
    grid-row: 1 / 3;
    color: var(--signal);
    font-family: var(--font-mono);
    font-size: 0.75rem;
}

.work-project__step strong {
    font-size: 1.06rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.work-project__step small {
    color: var(--paper-56);
    font-size: 0.81rem;
}

.work-project__technical {
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 10px 35px;
    padding: 23px 24px 25px;
}

.work-project__technical-label {
    color: var(--signal);
}

.work-project__technical-copy {
    max-width: 790px;
    margin: 0;
    color: var(--paper-88);
    font-size: 1rem;
    line-height: 1.55;
}

.work-project__technical-counter {
    grid-column: 2;
    color: var(--paper-40);
    font-size: 0.56rem;
}

.work-project__footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 35px;
    padding-top: 40px;
}

.work-project__number {
    margin: 0 0 17px;
    color: var(--signal);
}

.work-project__description h3 {
    margin: 0;
    font-size: clamp(3.8rem, 6vw, 7rem);
    font-weight: 500;
    line-height: 0.95;
    letter-spacing: -0.065em;
}

.work-project__description h3 span {
    color: var(--signal);
}

.work-project__description>p:not(.work-project__number):not(.work-project__expertise) {
    max-width: 620px;
    margin: 21px 0;
    color: var(--paper-72);
    font-size: 1.1rem;
}

.work-project__expertise {
    max-width: 750px;
    margin: 25px 0 0;
    color: var(--paper-56);
    line-height: 1.8;
}

.work-project__link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    min-width: 225px;
    padding: 18px 0;
    border-bottom: 1px solid var(--paper-40);
    font-size: 0.83rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.work-project__link span {
    color: var(--signal);
    font-size: 1.4rem;
    transition: transform 250ms var(--ease-out);
}

.work-project__link:hover span {
    transform: translate(3px, -3px);
}

@media (max-width: 1199px) {
    .work {
        padding: 88px 24px 90px;
    }

    .work__heading {
        margin-bottom: 48px;
    }

    .work__title {
        font-size: clamp(3rem, 7.5vw, 5.5rem);
    }

    .work-project__viewport {
        grid-template-columns: minmax(0, 1fr);
    }

    .work-project__view {
        grid-column: 1;
        grid-row: 1;
        padding: clamp(14px, 3vw, 30px);
    }

    .work-project__view img {
        max-height: none;
    }

    .work-project__topline span {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .work-project__callout {
        grid-column: 1;
        grid-row: 2;
        padding: 27px 30px 32px;
        border-left: 0;
        border-top: 1px solid var(--paper-12);
    }

    .work-project__callout-title {
        max-width: 28ch;
    }

    .work-project__callout-copy {
        margin-top: 14px;
    }

    .work-project__footer {
        grid-template-columns: minmax(0, 1fr);
    }

    .work-project__link {
        width: fit-content;
    }
}

@media (max-width: 650px) {
    .work-project__controls {
        grid-template-columns: 1fr;
    }

    .work-project__step {
        min-height: 64px;
        padding: 10px 18px;
    }

    .work-project__step+.work-project__step {
        border-left: 0;
        border-top: 1px solid var(--paper-12);
    }

    .work-project__technical {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 20px;
    }

    .work-project__technical-counter {
        grid-column: 1;
    }

    .work-project__explorer-head {
        gap: 8px;
        padding: 14px;
        font-size: 0.57rem;
    }

    .work-project__view {
        padding: 12px;
    }

    .work-project__callout {
        padding: 22px 19px 25px;
    }

    .work-project__callout-title {
        font-size: 1.45rem;
    }
}

@media (max-width: 479px) {
    .work {
        padding: 42px 18px 70px;
    }

    .work__title {
        font-size: clamp(2.7rem, 11vw, 3.35rem);
    }

    .work__eyebrow {
        gap: 9px;
        font-size: 0.62rem;
    }

    .work-project__topline {
        font-size: 0.56rem;
    }

    .work-project__description h3 {
        font-size: clamp(2.8rem, 13vw, 3.6rem);
    }

    .work-project__expertise {
        font-size: 0.63rem;
    }
}


/* ==========================================================================
   23. SPINOR — WORDPRESS / WOOCOMMERCE CUSTOMIZATION
   Project-specific composition.
   ========================================================================== */

.spinor {
    --spinor-line: rgba(243, 241, 236, 0.15);
    position: relative;
    padding: 0 var(--page-gutter) clamp(100px, 9vw, 150px);
    background: #080808;
    color: var(--paper);
}

.spinor__heading,
.spinor__explorer,
.spinor__footer {
    width: 100%;
    max-width: 1600px;
    margin-inline: auto;
}

.spinor__heading {
    padding: clamp(46px, 4.5vw, 72px) 0 clamp(30px, 3vw, 48px);
    border-top: 1px solid var(--spinor-line);
}

.spinor__eyebrow,
.spinor__chrome,
.spinor__commentary-index,
.spinor__expertise {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.spinor__eyebrow {
    margin: 0 0 26px;
    color: var(--paper-56);
}

.spinor__eyebrow span {
    color: var(--signal);
}

.spinor__title {
    max-width: 1150px;
    margin: 0;
    font-size: clamp(3.2rem, 5vw, 5.7rem);
    font-weight: 500;
    line-height: 0.96;
    letter-spacing: -0.065em;
}

.spinor__title span {
    color: var(--paper-56);
}

.spinor__intro {
    max-width: 720px;
    margin: 22px 0 0;
    color: var(--paper-72);
    font-size: clamp(1rem, 1.1vw, 1.16rem);
    line-height: 1.65;
}

.spinor__explorer {
    min-width: 0;
    border: 1px solid var(--spinor-line);
    background: #101110;
}

.spinor__chrome {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px 24px;
    padding: 16px 22px;
    border-bottom: 1px solid var(--spinor-line);
    color: var(--paper-56);
}

.spinor__progress {
    color: var(--signal);
}

.spinor__stage {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(260px, 1fr);
    min-width: 0;
    background: #111310;
}

.spinor__screens {
    position: relative;
    display: grid;
    min-width: 0;
    min-height: 0;
    padding: clamp(10px, 1.2vw, 20px);
    place-items: center;
    background: radial-gradient(ellipse at 50% 45%, #292c28, #111310 75%);
}

.spinor__screen {
    position: relative;
    grid-area: 1 / 1;
    width: 100%;
    min-width: 0;
    margin: 0;
}

.spinor__screen[hidden] {
    display: none;
}

.spinor__screen img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: min(78vh, 780px);
    height: auto;
    object-fit: contain;
    border: 1px solid rgba(243, 241, 236, 0.2);
    box-shadow: 0 26px 65px rgba(0, 0, 0, 0.36);
    margin-inline: auto;
    transition: transform 550ms var(--ease-out), box-shadow 550ms var(--ease-out);
}


.spinor__screen.is-active img {
    animation: project-image-reveal 580ms var(--ease-out) both;
}

@media (hover: hover) and (pointer: fine) {
    .spinor__screen:hover img {
        transform: translateY(-6px) scale(1.012);
        box-shadow: 0 36px 78px rgba(0, 0, 0, 0.48);
    }
}

.spinor__commentary {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: clamp(25px, 3vw, 54px);
    border-left: 1px solid var(--spinor-line);
    background: linear-gradient(145deg, #191b18, #0e100e);
}

.spinor__commentary-index {
    color: var(--signal);
}

.spinor__commentary-title {
    max-width: 17ch;
    margin: 20px 0 0;
    font-size: clamp(1.5rem, 2.2vw, 2.6rem);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.05em;
}

.spinor__commentary-copy {
    max-width: 38ch;
    margin: 20px 0 0;
    color: var(--paper-72);
    font-size: clamp(0.9rem, 1vw, 1.03rem);
    line-height: 1.6;
}

.spinor__controls {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--spinor-line);
}

.spinor__step {
    position: relative;
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    align-content: center;
    column-gap: 13px;
    row-gap: 3px;
    min-width: 0;
    min-height: 104px;
    padding: 20px 22px;
    text-align: left;
    cursor: pointer;
    transition: background-color 250ms ease;
}

.spinor__step+.spinor__step {
    border-left: 1px solid var(--spinor-line);
}

.spinor__step::before {
    content: "";
    position: absolute;
    top: -1px;
    right: 0;
    left: 0;
    height: 2px;
    background: var(--signal);
    transform: scaleX(0);
    transition: transform 300ms var(--ease-out);
}

.spinor__step.is-active::before {
    transform: scaleX(1);
}

.spinor__step:is(:hover, :focus-visible, .is-active) {
    background: rgba(255, 73, 56, 0.055);
}

.spinor__step>span {
    grid-row: 1 / 3;
    color: var(--signal);
    font-family: var(--font-mono);
    font-size: 0.75rem;
}

.spinor__step strong {
    font-size: 1.06rem;
    font-weight: 600;
}

.spinor__step small {
    color: var(--paper-56);
    font-size: 0.81rem;
}

/* --------------------------------------------------------------------------
   SPINOR — PROJECT FOOTER
   Editorial hierarchy aligned with Greenlytes; scoped to Spinor only.
   -------------------------------------------------------------------------- */

.spinor__footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 35px;
    padding-top: 40px;
}

.spinor__description {
    min-width: 0;
}

.spinor__number {
    margin: 0 0 17px;
    color: var(--signal);
    font-family: var(--font-mono);
    font-size: 0.73rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.spinor__project-title {
    margin: 0;
    font-size: clamp(3.8rem, 6vw, 7rem);
    font-weight: 500;
    line-height: 0.95;
    letter-spacing: -0.065em;
}

.spinor__project-title span {
    color: var(--signal);
}

.spinor__project-description {
    max-width: 620px;
    margin: 21px 0;
    color: var(--paper-72);
    font-size: 1.1rem;
    line-height: 1.5;
}


.spinor__expertise {
    max-width: 750px;
    margin: 25px 0 0;
    color: var(--paper-56);
    line-height: 1.8;
}

.spinor__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    min-width: 225px;
    padding: 18px 0;
    border-bottom: 1px solid var(--paper-40);
    font-size: 0.83rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.spinor__link span {
    color: var(--signal);
    font-size: 1.4rem;
    transition: transform 250ms var(--ease-out);
}

.spinor__link:hover span {
    transform: translate(3px, -3px);
}

@media (max-width: 1199px) {
    .spinor {
        padding: 0 24px 90px;
    }

    .spinor__heading {
        padding: 58px 0 38px;
    }

    .spinor__title {
        font-size: clamp(2.9rem, 7vw, 5rem);
    }

    .spinor__stage {
        grid-template-columns: minmax(0, 1fr);
    }

    .spinor__screens {
        padding: clamp(10px, 2vw, 20px);
    }

    .spinor__screen img {
        max-height: none;
    }

    .spinor__commentary {
        padding: 27px 30px 32px;
        border-left: 0;
        border-top: 1px solid var(--spinor-line);
    }

    .spinor__commentary-title {
        max-width: 28ch;
    }

    .spinor__commentary-copy {
        margin-top: 14px;
    }

    .spinor__footer {
        grid-template-columns: minmax(0, 1fr);
    }

    .spinor__link {
        width: fit-content;
    }
}

@media (max-width: 650px) {
    .spinor__controls {
        grid-template-columns: minmax(0, 1fr);
    }

    .spinor__step {
        min-height: 64px;
        padding: 10px 18px;
    }

    .spinor__step+.spinor__step {
        border-left: 0;
        border-top: 1px solid var(--spinor-line);
    }

    .spinor__chrome {
        padding: 14px;
        font-size: 0.57rem;
    }

    .spinor__screens {
        padding: 10px;
    }

    .spinor__commentary {
        padding: 22px 19px 25px;
    }

    .spinor__commentary-title {
        font-size: 1.45rem;
    }
}

@media (max-width: 479px) {
    .spinor {
        padding: 0 18px 70px;
    }

    .spinor__heading {
        padding-top: 50px;
    }

    .spinor__title {
        font-size: clamp(2.7rem, 11vw, 3.35rem);
    }

    .spinor__eyebrow {
        font-size: 0.62rem;
    }

    .spinor__expertise {
        font-size: 0.63rem;
    }

    .spinor__project-title {
        font-size: clamp(2.8rem, 13vw, 3.6rem);
    }

    .spinor__project-description {
        font-size: 1rem;
    }

    .spinor__number {
        font-size: 0.68rem;
    }
}

/* Shared project motion: reveal is replayed only when an explorer step changes. */
@keyframes project-image-reveal {
    from {
        opacity: 0.72;
        clip-path: inset(0 0 0 12%);
    }

    to {
        opacity: 1;
        clip-path: inset(0);
    }
}


/* ==========================================================================
   24. REDUCED MOTION
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {

    .work-project__view.is-active img,
    .spinor__screen.is-active img {
        animation: none !important;
        clip-path: none;
        opacity: 1;
    }


    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;

        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* ==========================================================================
   ARMAND DIGITAL — 04 / DECISION
   Two paths. One clear next step.
   ========================================================================== */


/* ==========================================================================
   01. SECTION & CONTAINER
   ========================================================================== */

.decision {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    padding: clamp(80px, 8vw, 120px) 24px;

    color: #f5f4f1;
    background: #080808;
}

.decision::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;

    width: min(100% - 48px, 1440px);
    height: 1px;

    background: rgba(255, 255, 255, 0.14);
    transform: translateX(-50%);
}

.decision__inner {
    width: min(100%, 1440px);
    margin-inline: auto;
}


/* ==========================================================================
   02. EDITORIAL HEADING
   ========================================================================== */

.decision__heading {
    max-width: 1100px;
    margin-bottom: clamp(40px, 5vw, 70px);
}

.decision__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;

    margin-bottom: clamp(36px, 4vw, 60px);

    font-family: monospace;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.12em;
}

.decision__index {
    color: #ff4938;
}

.decision__context {
    color: #777;
    text-align: right;
}

.decision__transition {
    margin: 0 0 16px;

    color: #929292;
    font-size: clamp(15px, 1.4vw, 18px);
    line-height: 1.5;
}

.decision__title {
    max-width: 1050px;
    margin: 0;

    font-size: clamp(52px, 6.8vw, 110px);
    font-weight: 700;
    line-height: 0.99;
    letter-spacing: -0.065em;
}

.decision__title span {
    display: block;
    color: #929292;
}

.decision__intro {
    max-width: 590px;
    margin: 34px 0 0;

    color: #aaa;
    font-size: clamp(16px, 1.35vw, 19px);
    line-height: 1.65;
}


/* ==========================================================================
   02. SHARED ARCHITECTURAL FRAME
   ========================================================================== */

.decision__paths {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;

    border: 1px solid rgba(255, 255, 255, 0.18);
    background: #111;
}

.decision-path {
    position: relative;
    display: flex;
    flex-direction: column;

    min-width: 0;
    min-height: 470px;
    padding: clamp(28px, 3.3vw, 54px);

    overflow: hidden;

    transition: background-color 300ms ease;
}

.decision-path+.decision-path {
    border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.decision-path--primary {
    background: #191917;
}

.decision-path--secondary {
    background: #101010;
}

.decision-path:hover,
.decision-path:focus-within {
    background: #22211f;
}


/* ==========================================================================
   04. TOP INDEX & SYMBOL
   ========================================================================== */

.decision-path__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.decision-path__number {
    color: #ff4938;

    font-family: monospace;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.1em;
}

.decision-path__symbol {
    color: #666;
    font-size: 30px;
    line-height: 1;

    transition:
        color 300ms ease,
        transform 300ms ease;
}

.decision-path:hover .decision-path__symbol,
.decision-path:focus-within .decision-path__symbol {
    color: #ff4938;
    transform: translate(4px, -4px);
}


/* ==========================================================================
   05. TYPOGRAPHY & CONTENT
   ========================================================================== */

.decision-path__content {
    max-width: 540px;
    margin-block: auto;
    padding-block: 50px;
}

.decision-path__title {
    margin: 0;

    font-size: clamp(40px, 4.2vw, 70px);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -0.055em;
}

.decision-path__title span {
    display: block;
    color: #8d8d8d;
}

.decision-path__description {
    max-width: 410px;
    margin: 25px 0 0;

    color: #aaa;
    font-size: clamp(15px, 1.15vw, 17px);
    line-height: 1.65;
}


/* ==========================================================================
   05. ACTIONS
   ========================================================================== */

.decision-path__action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;

    min-height: 64px;
    margin-top: auto;
    padding: 17px 21px;

    font-size: 12px;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: 0.07em;
    text-decoration: none;

    transition:
        background-color 250ms ease,
        color 250ms ease,
        border-color 250ms ease;
}

.decision-path__action span:last-child {
    font-size: 23px;
    line-height: 1;

    transition: transform 250ms ease;
}

.decision-path__action:hover span:last-child,
.decision-path__action:focus-visible span:last-child {
    transform: translate(4px, -4px);
}

.decision-path__action--primary {
    color: #111;
    background: #f3f1eb;
}

.decision-path__action--primary:hover,
.decision-path__action--primary:focus-visible {
    background: #fff;
}

.decision-path__action--secondary {
    color: #f5f4f1;
    border: 1px solid rgba(255, 255, 255, 0.32);
    background: transparent;
}

.decision-path__action--secondary:hover,
.decision-path__action--secondary:focus-visible {
    border-color: #ff4938;
    background: rgba(255, 73, 56, 0.08);
}

.decision-path__action:focus-visible {
    outline: 2px solid #ff4938;
    outline-offset: 4px;
}


/* ==========================================================================
   07. BOTTOM SIGNATURE
   ========================================================================== */

.decision__footer {
    display: flex;
    align-items: flex-start;
    gap: 18px;

    margin-top: 38px;
}

.decision__footer-mark {
    flex: 0 0 auto;

    width: 28px;
    height: 2px;
    margin-top: 12px;

    background: #ff4938;
}

.decision__footer p {
    margin: 0;

    color: #858585;
    font-size: 14px;
    line-height: 1.65;
}

.decision__footer strong {
    color: #ddd;
    font-weight: 600;
}


/* ==========================================================================
   08. TABLET
   ========================================================================== */

@media (max-width: 900px) {

    .decision {
        padding: 105px 24px;
    }

    .decision__meta {
        margin-bottom: 70px;
    }

    .decision__title {
        font-size: clamp(48px, 8vw, 78px);
    }

    .decision__paths {
        grid-template-columns: 1fr;
    }

    .decision-path {
        min-height: 390px;
        padding: 36px;
    }

    .decision-path+.decision-path {
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.18);
    }

    .decision-path__content {
        padding-block: 45px;
    }

    .decision-path__title {
        font-size: clamp(42px, 6vw, 62px);
    }

}


/* ==========================================================================
   09. MOBILE
   ========================================================================== */

@media (max-width: 650px) {

    .decision {
        padding: 48px 18px 80px;
    }

    .decision::before {
        width: calc(100% - 36px);
    }

    .decision__heading {
        margin-bottom: 48px;
    }

    .decision__meta {
        align-items: flex-start;
        margin-bottom: 32px;

        font-size: 9px;
    }

    .decision__context {
        max-width: 130px;
    }

    .decision__transition {
        margin-bottom: 17px;
        font-size: 14px;
    }

    .decision__title {
        font-size: clamp(42px, 10vw, 62px);
        line-height: 1.02;
        letter-spacing: -0.055em;
    }

    .decision__intro {
        margin-top: 25px;
        font-size: 16px;
        line-height: 1.6;
    }

    .decision-path {
        min-height: 0;
        padding: 25px 22px 22px;
    }

    .decision-path__number {
        font-size: 10px;
    }

    .decision-path__symbol {
        font-size: 25px;
    }

    .decision-path__content {
        padding-block: 48px 40px;
    }

    .decision-path__title {
        font-size: clamp(38px, 10vw, 52px);
    }

    .decision-path__description {
        margin-top: 19px;
        font-size: 15px;
        line-height: 1.6;
    }

    .decision-path__action {
        min-height: 58px;
        padding: 16px;
        font-size: 11px;
    }

    .decision__footer {
        gap: 13px;
        margin-top: 28px;
    }

    .decision__footer-mark {
        width: 20px;
    }

    .decision__footer p {
        font-size: 13px;
    }

}

/* ========================================================================== 
   HOME — CONCLUSION
   Editorial closing statement specific to the home page.
   ========================================================================== */

.home-conclusion {
    --conclusion-line: rgba(243, 241, 236, 0.16);
    --conclusion-muted: rgba(243, 241, 236, 0.58);

    padding: clamp(70px, 8vw, 126px) var(--page-gutter) 0;
    border-top: 1px solid var(--conclusion-line);
    background: var(--ink);
    color: var(--paper);
}

.home-conclusion__inner {
    width: min(100%, 1600px);
    margin-inline: auto;
}

.home-conclusion__intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
}

.home-conclusion__index {
    color: var(--signal);
}

.home-conclusion__identity {
    color: var(--conclusion-muted);
}

.home-conclusion__statement {
    margin: clamp(48px, 7vw, 110px) 0 clamp(70px, 8vw, 126px);
    font-size: clamp(2.8rem, 5vw, 5.5rem);
    font-weight: 500;
    line-height: 0.96;
    letter-spacing: -0.068em;
}

.home-conclusion__statement span,
.home-conclusion__statement strong {
    display: block;
    font-weight: inherit;
}

.home-conclusion__statement span {
    margin-top: 0.16em;
    color: var(--conclusion-muted);
    font-size: 0.56em;
    letter-spacing: -0.055em;
}

.home-conclusion__statement strong {
    color: var(--paper);
    font-size: 0.56em;
    letter-spacing: -0.055em;
}

@media (max-width: 650px) {
    .home-conclusion {
        padding: 64px 18px 0;
    }

    .home-conclusion__intro {
        font-size: 0.62rem;
    }

    .home-conclusion__statement {
        margin: 55px 0 65px;
        overflow-wrap: normal;
        font-size: clamp(2.4rem, 8vw, 3.5rem);
    }

    .home-conclusion__statement span,
    .home-conclusion__statement strong {
        font-size: 0.58em;
        line-height: 1.13;
    }
}
