

/* =====================================================
   VARIABLES
===================================================== */

:root {
    --blue: #1459d9;
    --blue-dark: #0d48b5;
    --black: #111820;
    --grey: #69727d;
    --light: #f6f7f8;
    --border: #e5e8eb;
    --white: #ffffff;
    --green: #31805e;
    --red: #b84f4f;
}


/* =====================================================
   RESET
===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--black);
    background: var(--white);
    overflow-x: hidden;
    text-align: left;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input,
textarea {
    font: inherit;
}

button {
    color: inherit;
}

img {
    display: block;
}


/* =====================================================
   GLOBAL
===================================================== */

.container {
    width: 100%;
    max-width: 1250px;
    margin: 0 auto;
    position: relative;
    z-index: 3;
}

.section-grid {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 80px;
    align-items: start;
}

.section-label {
    padding-top: 9px;
    color: var(--blue);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.section-title {
    max-width: 900px;
    font-size: clamp(44px, 5vw, 72px);
    line-height: 0.98;
    letter-spacing: -3.5px;
    font-weight: 500;
}

.section-title span {
    color: var(--blue);
}

.section-intro {
    max-width: 720px;
    margin-top: 38px;
    color: var(--black);
    font-size: 22px;
    line-height: 1.55;
}

.section-copy {
    max-width: 720px;
    margin-top: 28px;
    color: var(--grey);
    font-size: 16px;
    line-height: 1.8;
}


/* =====================================================
   SCROLL PROGRESS
===================================================== */

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--blue);
    transform: scaleX(0);
    transform-origin: left center;
    z-index: 5000;
    pointer-events: none;
}


/* =====================================================
   GLOBAL WATERMARK
===================================================== */

/* =====================================================
   NAVIGATION
===================================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 78px;
    padding: 0 5vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    z-index: 1000;
    transition: 0.3s ease;
}

.navbar.scrolled {
    border-bottom-color: var(--border);
}

.logo {
    height: 32px;
    width: auto;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 30px;
}


/* =====================================================
   MARKET CLOCK
===================================================== */

.market-clock {
    padding-right: 28px;
    border-right: 1px solid var(--border);
    text-align: right;
}

.market-clock-label {
    display: block;
    margin-bottom: 4px;
    color: #9ba2aa;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1.7px;
    text-transform: uppercase;
}

.market-clock-ms {
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.2px;
    color: var(--blue);
}

.market-clock-time {
    display: block;
    color: var(--black);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.6px;
    font-variant-numeric: tabular-nums;
}


/* =====================================================
   NAV LINKS
===================================================== */

.nav-links {
    display: flex;
    align-items: center;
    gap: 34px;
    font-size: 13px;
    font-weight: 500;
}

.nav-links a {
    position: relative;
}

.nav-links a:not(.nav-button)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -7px;
    width: 0;
    height: 1px;
    background: var(--blue);
    transition: 0.25s ease;
}

.nav-links a:not(.nav-button):hover::after {
    width: 100%;
}

.nav-button {
    padding: 11px 20px;
    color: white;
    background: var(--blue);
    border-radius: 3px;
    transition: 0.25s ease;
}

.nav-button:hover {
    background: var(--blue-dark);
}


/* =====================================================
   NAV / OPEN POSITION COUNT

   --amber-ink, not --amber: the navbar is white, and
   #e8a33d on white is 2.2:1, which is unreadable at
   10px. The ink variant is 4.7:1.

   Note this lives inside .nav-links, which is hidden
   below 900px, so it is a desktop signal only.
===================================================== */

.nav-open {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: 7px;
    color: var(--amber-ink);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.4px;
    vertical-align: 1px;
}

.nav-open-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--amber-ink);
    animation: navOpenPulse 2.2s ease-in-out infinite;
}

@keyframes navOpenPulse {

    0%,
    100% {
        opacity: 0.35;
    }

    50% {
        opacity: 1;
    }

}


/* =====================================================
   HERO
===================================================== */

.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    padding: 150px 7vw 120px;
    overflow: hidden;
    background: white;
}

.hero-content {
    width: 100%;
    max-width: 1250px;
    margin: 0 auto;
    position: relative;
    z-index: 4;
}

.hero h1 {
    max-width: 1120px;
    margin-bottom: 58px;
    font-size: clamp(58px, 8vw, 126px);
    line-height: 0.91;
    letter-spacing: -6px;
    font-weight: 600;
}

.hero h1 .hero-accent {
    color: var(--blue);
}

.hero-bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    max-width: 1000px;
}

.hero-description {
    max-width: 570px;
    color: var(--grey);
    font-size: 16px;
    line-height: 1.75;
}

.hero-link {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.hero-link-arrow {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d8dce1;
    border-radius: 50%;
    transition: 0.25s ease;
}

.hero-link:hover .hero-link-arrow {
    color: white;
    background: var(--blue);
    border-color: var(--blue);
    transform: translateX(4px);
}


/* =====================================================
   HERO ENERGY GRID
===================================================== */

.energy-grid {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 2;
    opacity: 1;
    mask-image:
        linear-gradient(
            to left,
            rgba(0, 0, 0, 1) 0%,
            rgba(0, 0, 0, 1) 42%,
            rgba(0, 0, 0, 0) 88%
        );
    -webkit-mask-image:
        linear-gradient(
            to left,
            rgba(0, 0, 0, 1) 0%,
            rgba(0, 0, 0, 1) 42%,
            rgba(0, 0, 0, 0) 88%
        );
}

.energy-grid::before {
    content: "";
    position: absolute;
    inset: -100px;
    background-image:
        linear-gradient(
            rgba(20, 89, 217, 0.045) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(20, 89, 217, 0.045) 1px,
            transparent 1px
        );
    background-size: 70px 70px;
    animation: gridDrift 18s linear infinite;
}

@keyframes gridDrift {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(70px, 70px, 0);
    }
}


/* =====================================================
   HERO NETWORK CANVAS
===================================================== */

.hero-canvas {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
}


/* =====================================================
   HERO ARRIVAL SEQUENCE
===================================================== */

@keyframes heroRise {

    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

@keyframes heroLine {

    from {
        transform: translateY(104%);
    }

    to {
        transform: translateY(0);
    }

}

@keyframes heroFade {

    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }

}

.hero-emphasis {
    color: var(--amber-ink);
    font-weight: 600;
}

.hero-line-mask {
    display: block;
    overflow: hidden;
    padding-bottom: 0.09em;
    margin-bottom: -0.09em;
}

.hero-line {
    display: block;
    animation:
        heroLine 1.05s
        cubic-bezier(0.16, 1, 0.3, 1)
        both;
}

.hero-line-mask:first-of-type .hero-line {
    animation-delay: 0.08s;
}

.hero-line-mask:last-of-type .hero-line {
    animation-delay: 0.22s;
}

.hero-description {
    animation:
        heroRise 0.9s
        cubic-bezier(0.16, 1, 0.3, 1)
        0.5s both;
}

.hero-link {
    animation:
        heroRise 0.9s
        cubic-bezier(0.16, 1, 0.3, 1)
        0.6s both;
}

.energy-grid {
    animation:
        heroFade 1.8s ease
        0.3s both;
}

.scroll-indicator {
    animation:
        heroRise 0.9s
        cubic-bezier(0.16, 1, 0.3, 1)
        0.92s both;
}


/* =====================================================
   SCROLL INDICATOR
===================================================== */

.scroll-indicator {
    position: absolute;
    left: 7vw;
    bottom: 32px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #a0a6ad;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    z-index: 5;
}

.scroll-line {
    width: 42px;
    height: 1px;
    background: #cdd1d6;
}


/* =====================================================
   ABOUT
===================================================== */

.about {
    position: relative;
    padding: 165px 7vw;
    background: var(--light);
}


/* =====================================================
   DISCIPLINES
===================================================== */

.disciplines {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 62px;
    border-top: 1px solid var(--border);
}

.discipline {
    padding: 28px 24px 4px 0;
}

.discipline + .discipline {
    padding-left: 24px;
    border-left: 1px solid var(--border);
}

.discipline h3 {
    margin-bottom: 11px;
    font-size: 16px;
    font-weight: 500;
}

.discipline p {
    color: var(--grey);
    font-size: 13px;
    line-height: 1.7;
}


/* =====================================================
   MARKETS NEVER STAND STILL
===================================================== */

.market-motion {
    position: relative;
    padding: 150px 7vw;
    background: white;
    overflow: hidden;
}

.market-motion-content {
    max-width: 850px;
}

.market-motion-title {
    max-width: 840px;
    font-size: clamp(44px, 5vw, 72px);
    line-height: 0.98;
    letter-spacing: -3.5px;
    font-weight: 500;
}

.market-motion-title span {
    color: var(--blue);
}

.market-motion-copy {
    max-width: 650px;
    margin-top: 35px;
    color: var(--grey);
    font-size: 17px;
    line-height: 1.8;
}


/* =====================================================
   APPROACH
===================================================== */

.approach {
    position: relative;
    padding: 165px 7vw;
    background: var(--light);
}

.approach-intro {
    max-width: 760px;
    margin-top: 38px;
    color: var(--grey);
    font-size: 17px;
    line-height: 1.8;
}


/* =====================================================
   INTERACTIVE PROCESS
===================================================== */

.process-flow {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 80px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.process-progress-line {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--blue);
    transform: scaleX(0);
    transform-origin: left center;
    transition:
        transform 1.7s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 4;
}

.process-flow.visible .process-progress-line {
    transform: scaleX(1);
}

.process-step {
    position: relative;
    min-height: 330px;
    padding: 38px 30px 40px;
    text-align: left;
    background: transparent;
    border: none;
    border-right: 1px solid var(--border);
    cursor: pointer;
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 0.7s ease,
        transform 0.7s ease,
        background 0.3s ease;
}

.process-step:first-of-type {
    padding-left: 0;
}

.process-step:last-child {
    border-right: none;
}

.process-flow.visible .process-step {
    opacity: 1;
    transform: translateY(0);
}

.process-flow.visible .process-step:nth-child(2) {
    transition-delay: 0.12s;
}

.process-flow.visible .process-step:nth-child(3) {
    transition-delay: 0.26s;
}

.process-flow.visible .process-step:nth-child(4) {
    transition-delay: 0.4s;
}

.process-flow.visible .process-step:nth-child(5) {
    transition-delay: 0.54s;
}

.process-step:hover,
.process-step:focus-visible,
.process-step.active {
    background:
        rgba(20, 89, 217, 0.035);
}

.process-step:focus-visible {
    outline:
        1px solid var(--blue);
    outline-offset: -2px;
}

.process-number {
    margin-bottom: 65px;
    color: var(--blue);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
}

.process-step h3 {
    max-width: 220px;
    margin-bottom: 20px;
    font-size: 24px;
    line-height: 1.15;
    font-weight: 500;
    transition: color 0.25s ease;
}

.process-step:hover h3,
.process-step:focus-visible h3,
.process-step.active h3 {
    color: var(--blue);
}

.process-step p {
    max-width: 245px;
    color: var(--grey);
    font-size: 14px;
    line-height: 1.75;
}

.process-arrow {
    position: absolute;
    top: 36px;
    right: 25px;
    color: #b8bec5;
    font-size: 23px;
}

.process-step:last-child .process-arrow {
    display: none;
}


/* =====================================================
   PROCESS DETAIL
===================================================== */

.process-detail {
    max-width: 900px;
    min-height: 160px;
    margin-top: 28px;
    padding: 30px 0;
    display: grid;
    grid-template-columns: 190px 1fr;
    gap: 35px;
    border-bottom: 1px solid var(--border);
}

.process-detail-label {
    color: var(--blue);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.process-detail h4 {
    margin-bottom: 10px;
    font-size: 20px;
    font-weight: 500;
}

.process-detail p {
    max-width: 600px;
    color: var(--grey);
    font-size: 14px;
    line-height: 1.75;
}


/* =====================================================
   METHOD
===================================================== */

.method {
    position: relative;
    padding: 165px 7vw;
    overflow: hidden;
    background: var(--black);
    color: white;
}

.method .section-label {
    color: #7fa5f0;
}

.method .section-title span {
    color: #7fa5f0;
}

.method-copy {
    max-width: 760px;
    margin-top: 38px;
    color: #aab3bd;
    font-size: 18px;
    line-height: 1.85;
}

.method-copy p + p {
    margin-top: 28px;
}


/* =====================================================
   MINI TRADING SIMULATION
===================================================== */

.trading-sim {
    max-width: 930px;
    margin-top: 78px;
    padding-top: 42px;
    border-top:
        1px solid rgba(255, 255, 255, 0.14);
}

.trading-sim-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 35px;
}

.trading-sim-heading h3 {
    max-width: 620px;
    font-size: clamp(31px, 4vw, 49px);
    line-height: 1;
    letter-spacing: -2px;
    font-weight: 500;
}

.trading-sim-heading h3 span {
    color: #7fa5f0;
}

.simulation-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.38);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    white-space: nowrap;
}

.simulation-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #7fa5f0;
    animation: simulationPulse 2s ease-in-out infinite;
}

@keyframes simulationPulse {
    0%,
    100% {
        opacity: 0.35;
    }

    50% {
        opacity: 1;
    }
}


/* =====================================================
   FACTOR DATA
===================================================== */

.factor-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top:
        1px solid rgba(255, 255, 255, 0.08);
    border-left:
        1px solid rgba(255, 255, 255, 0.08);
    transition:
        opacity 0.45s ease,
        filter 0.45s ease,
        transform 0.45s ease;
}

.factor {
    min-height: 78px;
    padding: 17px 18px;
    border-right:
        1px solid rgba(255, 255, 255, 0.08);
    border-bottom:
        1px solid rgba(255, 255, 255, 0.08);
    background:
        rgba(255, 255, 255, 0.012);
}

.factor-name {
    display: block;
    margin-bottom: 13px;
    color: rgba(255, 255, 255, 0.36);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.factor-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.factor-value {
    color: rgba(255, 255, 255, 0.88);
    font-size: 14px;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}

.factor-direction {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.7px;
}

.factor-direction.up {
    color: #77a5ff;
}

.factor-direction.down {
    color: rgba(255, 255, 255, 0.35);
}


/* =====================================================
   PRICE PANEL
===================================================== */

.price-panel {
    margin-top: 18px;
    border-top:
        1px solid rgba(255, 255, 255, 0.1);
    border-bottom:
        1px solid rgba(255, 255, 255, 0.1);
    background:
        rgba(255, 255, 255, 0.015);
    transition:
        border-color 0.4s ease,
        background 0.4s ease;
}

.price-header {
    min-height: 90px;
    padding: 20px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    border-bottom:
        1px solid rgba(255, 255, 255, 0.08);
}

.price-primary small,
.trade-metric small {
    display: block;
    margin-bottom: 7px;
    color: rgba(255, 255, 255, 0.32);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1.35px;
    text-transform: uppercase;
}

.current-price {
    color: white;
    font-size: 26px;
    line-height: 1;
    letter-spacing: -1px;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}

.trade-metrics {
    display: flex;
    align-items: center;
    gap: 38px;
}

.trade-metric strong {
    display: block;
    color: rgba(255, 255, 255, 0.88);
    font-size: 14px;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}

.trade-metric strong.long {
    color: #7fa5f0;
}

.trade-metric strong.profit {
    color: #65a883;
}

.trade-metric strong.loss {
    color: #c66a6a;
}


/* =====================================================
   CHART
===================================================== */

.trade-chart-wrap {
    position: relative;
    width: 100%;
    height: 360px;
    overflow: hidden;
    cursor: crosshair;
    touch-action: manipulation;
    background:
        linear-gradient(
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        );
    background-size: 60px 60px;
}

#tradeCanvas {
    position: relative;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 2;
}

.chart-simplify-hint {
    position: absolute;
    left: 20px;
    bottom: 18px;
    z-index: 4;
    color: rgba(255, 255, 255, 0.25);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    transition:
        opacity 0.3s ease;
}

.chart-trade-hint {
    position: absolute;
    right: 20px;
    bottom: 18px;
    z-index: 4;
    padding: 9px 12px;
    color: rgba(255, 255, 255, 0.72);
    background:
        rgba(17, 24, 32, 0.78);
    border:
        1px solid rgba(255, 255, 255, 0.1);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.1px;
    text-transform: uppercase;
    pointer-events: none;
    transition:
        border-color 0.3s ease,
        color 0.3s ease;
}

.trading-sim.is-simple .factor-grid {
    opacity: 0.09;
    filter: blur(0.8px);
    transform: scale(0.995);
}

.trading-sim.is-simple .price-panel {
    border-color:
        rgba(127, 165, 240, 0.26);
    background:
        rgba(20, 89, 217, 0.025);
}

.trading-sim.is-simple .chart-simplify-hint {
    opacity: 0;
}

.trading-sim.is-simple .chart-trade-hint {
    color: white;
    border-color:
        rgba(127, 165, 240, 0.28);
}

.trade-footer {
    min-height: 58px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-top:
        1px solid rgba(255, 255, 255, 0.08);
}

.trade-status {
    color: rgba(255, 255, 255, 0.48);
    font-size: 10px;
    letter-spacing: 0.3px;
}

.trade-status strong {
    color: white;
    font-weight: 500;
}

.trade-steps {
    display: flex;
    align-items: center;
    gap: 18px;
    color: rgba(255, 255, 255, 0.27);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1.1px;
    text-transform: uppercase;
}


/* =====================================================
   STRATEGY EDITOR
===================================================== */

.strategy {
    margin-top: 18px;
    border-top:
        1px solid rgba(255, 255, 255, 0.1);
    border-bottom:
        1px solid rgba(255, 255, 255, 0.1);
    background:
        rgba(255, 255, 255, 0.015);
}

.strategy-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 17px 22px;
    border-bottom:
        1px solid rgba(255, 255, 255, 0.08);
}

.strategy-title {
    color: rgba(255, 255, 255, 0.32);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1.35px;
    text-transform: uppercase;
}

.strategy-presets {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.strategy-preset {
    padding: 6px 11px;
    border:
        1px solid rgba(255, 255, 255, 0.13);
    background: transparent;
    color: rgba(255, 255, 255, 0.5);
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.4px;
    cursor: pointer;
    transition:
        color 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease;
}

.strategy-preset:hover {
    color: white;
    border-color:
        rgba(232, 163, 61, 0.45);
}

.strategy-preset.active {
    color: var(--amber);
    border-color:
        rgba(232, 163, 61, 0.5);
    background:
        rgba(232, 163, 61, 0.08);
}

.strategy-preset:focus-visible {
    outline: 2px solid var(--amber);
    outline-offset: 1px;
}


/* =====================================================
   STRATEGY EDITOR / CODE ROWS
===================================================== */

.strategy-row {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    align-items: stretch;
    border-bottom:
        1px solid rgba(255, 255, 255, 0.06);
}

.strategy-gutter {
    display: flex;
    align-items: center;
    justify-content: center;
    border-right:
        1px solid rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.25);
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.6px;
    transition: color 0.2s ease;
}

.strategy-row.has-error .strategy-gutter {
    color: #c66a6a;
}

.strategy-input {
    width: 100%;
    padding: 15px 18px;
    border: none;
    border-left: 2px solid transparent;
    background: transparent;
    color: white;
    font-family: var(--mono);
    font-size: 13px;
    letter-spacing: 0.2px;
    caret-color: var(--amber);
    transition:
        border-color 0.2s ease,
        background 0.2s ease;
}

.strategy-input::placeholder {
    color: rgba(255, 255, 255, 0.22);
}

.strategy-input:focus {
    outline: none;
    border-left-color: var(--amber);
    background:
        rgba(232, 163, 61, 0.045);
}

.strategy-row.has-error .strategy-input {
    border-left-color: #c66a6a;
}


/* =====================================================
   STRATEGY EDITOR / FEEDBACK
===================================================== */

.strategy-message {
    min-height: 38px;
    padding: 12px 22px;
    border-bottom:
        1px solid rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.4);
    font-family: var(--mono);
    font-size: 11px;
    line-height: 1.5;
    letter-spacing: 0.2px;
}

.strategy-message.is-error {
    color: #c66a6a;
}

.strategy-readout {
    display: flex;
    align-items: center;
    gap: 38px;
    padding: 20px 22px;
    border-bottom:
        1px solid rgba(255, 255, 255, 0.06);
}

.strategy-metric small {
    display: block;
    margin-bottom: 7px;
    color: rgba(255, 255, 255, 0.32);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1.35px;
    text-transform: uppercase;
}

.strategy-metric strong {
    display: block;
    color: rgba(255, 255, 255, 0.88);
    font-size: 15px;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}

.strategy-metric strong.long {
    color: #7fa5f0;
}

.strategy-metric strong.short {
    color: #c66a6a;
}

.strategy-metric strong.profit {
    color: #65a883;
}

.strategy-metric strong.loss {
    color: #c66a6a;
}

.strategy-equity {
    margin-left: auto;
}

.strategy-equity small {
    display: block;
    margin-bottom: 7px;
    color: rgba(255, 255, 255, 0.32);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1.35px;
    text-transform: uppercase;
}

.strategy-equity-canvas {
    display: block;
    width: 150px;
    max-width: 100%;
    height: 34px;
}

.strategy-reference {
    display: grid;
    gap: 7px;
    padding: 16px 22px 20px;
    color: rgba(255, 255, 255, 0.34);
    font-family: var(--mono);
    font-size: 10px;
    line-height: 1.6;
    letter-spacing: 0.2px;
}

.strategy-reference-label {
    display: inline-block;
    min-width: 74px;
    color: rgba(255, 255, 255, 0.22);
    text-transform: uppercase;
    letter-spacing: 1.2px;
}


/* =====================================================
   RISK
===================================================== */

.risk {
    position: relative;
    padding: 165px 7vw;
    background: white;
}

.risk-intro {
    max-width: 720px;
    margin-top: 38px;
    color: var(--grey);
    font-size: 17px;
    line-height: 1.8;
}

.risk-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 820px;
    margin-top: 65px;
    border-top: 1px solid var(--border);
}

.risk-item {
    padding: 30px 35px 30px 0;
    border-bottom: 1px solid var(--border);
}

.risk-item:nth-child(odd) {
    border-right: 1px solid var(--border);
}

.risk-item:nth-child(even) {
    padding-left: 35px;
}

.risk-item h3 {
    margin-bottom: 10px;
    font-size: 17px;
    font-weight: 500;
}

.risk-item p {
    color: var(--grey);
    font-size: 13px;
    line-height: 1.7;
}


/* =====================================================
   DECISION STATEMENT
===================================================== */

.decision-statement {
    position: relative;
    padding: 195px 7vw;
    overflow: hidden;
    background: var(--light);
}

.decision-statement-inner {
    max-width: 1250px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 80px;
    position: relative;
    z-index: 3;
}

.decision-line {
    width: 0;
    height: 2px;
    margin-top: 11px;
    background: var(--blue);
    transition:
        width 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.decision-statement.visible .decision-line {
    width: 50px;
}

.decision-statement h2 {
    max-width: 1050px;
    font-size: clamp(58px, 7vw, 108px);
    line-height: 0.92;
    letter-spacing: -5px;
    font-weight: 500;
}

.decision-statement h2 span {
    color: var(--blue);
}


/* =====================================================
   CAREER
===================================================== */

.career {
    position: relative;
    padding: 165px 7vw;
    background: white;
}

.career-layout {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 80px;
    align-items: start;
}

.career h2 {
    max-width: 680px;
    margin-bottom: 38px;
    font-size: clamp(48px, 5vw, 76px);
    line-height: 0.95;
    letter-spacing: -4px;
    font-weight: 500;
}

.career h2 span {
    color: var(--blue);
}

.career-copy {
    max-width: 620px;
    color: var(--grey);
    font-size: 17px;
    line-height: 1.8;
}

.career-copy p + p {
    margin-top: 22px;
}

/* =====================================================
   CAREER / OPEN POSITION
===================================================== */

.career-opening {
    margin-top: 40px;
    padding-top: 28px;
    border-top: 1px solid var(--border);
}

/* Label and boxed word read as a single line, so the
   gap is a word space rather than a layout gap. */

.career-opening-head {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 16px;
}

.career-opening-label {
    color: var(--blue);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.career-opening-tag {
    padding: 6px 12px;
    border: 1px solid var(--blue);
    color: var(--blue);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    transition:
        color 0.25s ease,
        background 0.25s ease;
}

.career-opening-tag:hover {
    color: white;
    background: var(--blue);
}

/* One column of rows, not a grid of cards. This block
   sits in the narrower half of .career-layout — about
   460px at desktop widths — and three cards side by
   side there would be ~145px each, narrower than the
   shortest title. Full-width rows fit every title on
   one line and scan faster besides. */

/* Replaces the role rows when nothing is open. Same
   column, same rhythm, no link — there is nowhere for
   it to go. */

.career-opening-note {
    max-width: 460px;
    color: var(--grey);
    font-size: 14.5px;
    line-height: 1.7;
}

.career-opening-roles {
    display: grid;
    gap: 10px;
}

.career-opening-role {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    border: 1px solid var(--border);
    transition:
        border-color 0.25s ease,
        background 0.25s ease;
}

.career-opening-role:hover {
    border-color: var(--blue);
    background: rgba(20, 89, 217, 0.04);
}

/* min-width: 0 so a long title ellipsises inside the
   row instead of pushing the arrow off the edge. */

.career-opening-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.career-opening-role strong {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.3px;
}

.career-opening-sub {
    margin-top: 4px;
    color: var(--grey);
    font-size: 12.5px;
    line-height: 1.4;
}

.career-opening-arrow {
    flex: none;
    color: var(--blue);
    font-size: 16px;
    transition: transform 0.25s ease;
}

.career-opening-role:hover .career-opening-arrow {
    transform: translateX(5px);
}


.career-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px 26px;
    margin-top: 38px;
}

.career-link {
    color: var(--grey);
    font-size: 13px;
    border-bottom: 1px solid transparent;
    transition:
        color 0.25s ease,
        border-color 0.25s ease;
}

.career-link:hover {
    color: var(--black);
    border-bottom-color: var(--border);
}

.career-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 22px;
    color: white;
    background: var(--blue);
    border-radius: 3px;
    font-size: 13px;
    font-weight: 600;
    transition: 0.25s ease;
}

.career-button:hover {
    background: var(--blue-dark);
    transform: translateY(-2px);
}

.career-card {
    padding: 45px;
    background: var(--light);
    border: 1px solid var(--border);
}

.career-card-label {
    margin-bottom: 34px;
    color: var(--blue);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.career-trait {
    padding: 22px 0;
    border-bottom: 1px solid var(--border);
}

.career-trait:first-of-type {
    padding-top: 0;
}

.career-trait:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.career-trait h3 {
    margin-bottom: 8px;
    font-size: 17px;
    font-weight: 500;
}

.career-trait p {
    color: var(--grey);
    font-size: 13px;
    line-height: 1.7;
}


/* =====================================================
   CONTACT
===================================================== */

.contact {
    position: relative;
    padding: 155px 7vw;
    background: var(--light);
}

.contact-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 85px;
}

.contact h2 {
    margin-bottom: 30px;
    font-size: clamp(50px, 6vw, 80px);
    line-height: 0.95;
    letter-spacing: -4px;
    font-weight: 500;
}

.contact-description {
    max-width: 450px;
    color: var(--grey);
    font-size: 15px;
    line-height: 1.75;
}

.contact-details {
    margin-top: 50px;
}

.contact-details div {
    margin-bottom: 25px;
}

.contact-details small {
    display: block;
    margin-bottom: 7px;
    color: #9da4ac;
    font-size: 9px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.contact-details a,
.contact-details span {
    font-size: 14px;
    line-height: 1.7;
}

form {
    padding: 45px;
    background: white;
    border: 1px solid var(--border);
}

.form-group {
    margin-bottom: 25px;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #777f89;
    font-size: 10px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

input,
textarea {
    width: 100%;
    padding: 12px 0;
    border: none;
    border-bottom: 1px solid #d7dce1;
    background: transparent;
    outline: none;
    font-size: 14px;
}

input:focus,
textarea:focus {
    border-bottom-color: var(--blue);
}

textarea {
    height: 110px;
    resize: vertical;
}

.submit {
    width: 100%;
    padding: 15px;
    border: none;
    color: white;
    background: var(--blue);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition:
        background 0.25s ease,
        opacity 0.25s ease;
}

.submit:hover {
    background: var(--blue-dark);
}

.submit:disabled {
    opacity: 0.6;
    cursor: default;
}

.form-status {
    display: none;
    margin-top: 18px;
    padding: 14px 16px;
    font-size: 13px;
    line-height: 1.6;
    border: 1px solid var(--border);
}

.form-status.success {
    display: block;
    color: #286d50;
    background: #f2f8f5;
    border-color: #cee2d8;
}

.form-status.error {
    display: block;
    color: #9a3f3f;
    background: #fbf3f3;
    border-color: #ead0d0;
}

.form-honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}


/* =====================================================
   FOOTER
===================================================== */

footer {
    position: relative;
    padding: 35px 7vw;
    background: white;
    border-top: 1px solid var(--border);
}

.footer-inner {
    max-width: 1250px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 3;
}

.footer-logo {
    height: 26px;
    width: auto;
}

.footer-right {
    color: #a0a6ad;
    font-size: 10px;
}


/* =====================================================
   TABLET
===================================================== */


/* =====================================================
   INTELLIGENCE
===================================================== */

:root {
    --deep: #070b11;
    --deep-panel: #0c131c;
    --blue-soft: #7fa5f0;
    --amber: #e8a33d;
    --amber-ink: #a5660d;
    --amber-dim: #8a6530;
    --mono:
        ui-monospace,
        SFMono-Regular,
        "SF Mono",
        Menlo,
        Consolas,
        "Liberation Mono",
        monospace;
}

.intelligence {
    position: relative;
    padding: 165px 7vw;
    overflow: hidden;
    background: var(--deep);
    border-bottom:
        1px solid rgba(127, 165, 240, 0.14);
    color: white;
}

.intelligence .section-label {
    color: var(--amber);
}

.intelligence .section-title span {
    color: var(--blue-soft);
}

.intel-intro {
    max-width: 740px;
    margin-top: 38px;
    color: #e3e7ec;
    font-size: 21px;
    line-height: 1.6;
}

.intel-copy {
    max-width: 720px;
    margin-top: 28px;
    color: #9aa4b1;
    font-size: 16px;
    line-height: 1.85;
}

.intel-copy + .intel-copy {
    margin-top: 22px;
}


/* =====================================================
   INTELLIGENCE / GRAPH PANEL
===================================================== */

.intel-graph {
    margin-top: 70px;
    border: 1px solid rgba(127, 165, 240, 0.16);
    background:
        radial-gradient(
            120% 140% at 18% 12%,
            #101a26 0%,
            var(--deep-panel) 55%,
            #060a10 100%
        );
}

.intel-graph-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 22px;
    border-bottom: 1px solid rgba(127, 165, 240, 0.12);
}

.intel-graph-title {
    display: flex;
    align-items: center;
    gap: 9px;
    color: rgba(255, 255, 255, 0.42);
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 1.7px;
    text-transform: uppercase;
}

.intel-graph-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--amber);
    animation: intelPulse 2.4s ease-in-out infinite;
}

@keyframes intelPulse {

    0%,
    100% {
        opacity: 0.35;
    }

    50% {
        opacity: 1;
    }

}

.intel-graph-hint {
    color: rgba(255, 255, 255, 0.3);
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.7px;
}

.intel-canvas-wrap {
    position: relative;
    height: 540px;
    overflow: hidden;
}

.intel-canvas {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 100%;
    cursor: crosshair;
}

.intel-tip {
    position: absolute;
    top: 0;
    left: 0;
    padding: 6px 10px;
    border: 1px solid rgba(232, 163, 61, 0.4);
    background: rgba(7, 11, 17, 0.92);
    color: var(--amber);
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.4px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transform: translate(-50%, -180%);
    transition: opacity 0.16s ease;
}

.intel-tip.visible {
    opacity: 1;
}

.intel-tip small {
    display: block;
    margin-top: 3px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 9px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}


/* =====================================================
   INTELLIGENCE / LAYER SELECTOR
===================================================== */

.intel-layers {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    border-top: 1px solid rgba(127, 165, 240, 0.12);
}

.intel-layer {
    position: relative;
    padding: 22px 20px 24px;
    border: none;
    border-right: 1px solid rgba(127, 165, 240, 0.12);
    background: transparent;
    text-align: left;
    cursor: pointer;
    transition: background 0.25s ease;
}

.intel-layer:last-child {
    border-right: none;
}

.intel-layer::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--amber);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.intel-layer:hover {
    background: rgba(127, 165, 240, 0.05);
}

.intel-layer.active {
    background: rgba(232, 163, 61, 0.07);
}

.intel-layer.active::before {
    transform: scaleX(1);
}

.intel-layer-index {
    display: block;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.32);
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 1.4px;
    transition: color 0.25s ease;
}

.intel-layer.active .intel-layer-index {
    color: var(--amber);
}

.intel-layer-name {
    display: block;
    color: rgba(255, 255, 255, 0.62);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
    transition: color 0.25s ease;
}

.intel-layer.active .intel-layer-name,
.intel-layer:hover .intel-layer-name {
    color: white;
}

.intel-layer:focus-visible {
    outline: 2px solid var(--amber);
    outline-offset: -3px;
}


/* =====================================================
   INTELLIGENCE / LAYER DETAIL
===================================================== */

.intel-detail {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 35px;
    min-height: 190px;
    padding: 32px 22px 38px;
    border-top: 1px solid rgba(127, 165, 240, 0.12);
}

.intel-detail-label {
    color: var(--amber);
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.intel-detail h4 {
    margin-bottom: 14px;
    font-size: 22px;
    font-weight: 500;
    letter-spacing: -0.4px;
}

.intel-detail p {
    max-width: 640px;
    color: #97a1ae;
    font-size: 15px;
    line-height: 1.8;
}

.intel-detail-stack {
    margin-top: 18px;
    color: rgba(127, 165, 240, 0.7);
    font-family: var(--mono);
    font-size: 11px;
    line-height: 1.7;
    letter-spacing: 0.3px;
}


/* =====================================================
   INTELLIGENCE / PRINCIPLES
===================================================== */

.intel-caps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    margin-top: 78px;
    background: rgba(127, 165, 240, 0.12);
}

.intel-cap {
    padding: 30px 26px 34px;
    background: var(--deep);
}

.intel-cap-mark {
    display: block;
    margin-bottom: 16px;
    color: var(--amber);
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 1.4px;
}

.intel-cap h3 {
    margin-bottom: 10px;
    font-size: 17px;
    font-weight: 500;
    letter-spacing: -0.2px;
}

.intel-cap p {
    color: #8b95a3;
    font-size: 13px;
    line-height: 1.75;
}


@media (max-width: 1000px) {

    .market-clock {
        display: none;
    }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 900px) {

    .navbar {
        height: 70px;
        padding: 0 25px;
    }

    .logo {
        height: 24px;
    }

    .nav-links {
        display: none;
    }

    .market-clock {
        display: block;
        padding-right: 0;
        border-right: none;
    }

    .market-clock-time {
        font-size: 12px;
    }

    .market-clock-ms {
        font-size: 8px;
    }

    .hero {
        min-height: 820px;
        padding: 130px 25px 100px;
    }

    .hero h1 {
        font-size: clamp(52px, 15vw, 72px);
        letter-spacing: -3.5px;
    }

    .hero-bottom {
        display: block;
    }

    .hero-link {
        margin-top: 32px;
    }

    .energy-grid {
        width: 100%;
    }

    .hero-canvas {
        opacity: 0.5;
    }

    .scroll-indicator {
        left: 25px;
    }

    .about,
    .market-motion,
    .approach,
    .method,
    .risk,
    .career,
    .contact {
        padding: 105px 25px;
    }

    .section-grid,
    .decision-statement-inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .section-label {
        padding-top: 0;
    }

    .section-title,
    .market-motion-title {
        letter-spacing: -2.5px;
    }

    .process-flow {
        grid-template-columns: 1fr;
        margin-top: 55px;
        border-top: none;
    }

    .process-progress-line {
        top: 0;
        left: 0;
        width: 2px;
        height: 100%;
        transform: scaleY(0);
        transform-origin: top center;
    }

    .process-flow.visible .process-progress-line {
        transform: scaleY(1);
    }

    .process-step,
    .process-step:first-of-type {
        min-height: auto;
        padding: 32px 35px 32px 28px;
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .process-step:last-child {
        border-bottom: none;
    }

    .process-number {
        margin-bottom: 28px;
    }

    .process-step h3 {
        max-width: none;
    }

    .process-step p {
        max-width: 520px;
    }

    .process-arrow {
        top: 31px;
        right: 12px;
        transform: rotate(90deg);
    }

    .process-detail {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .trading-sim-heading {
        display: block;
    }

    .simulation-label {
        margin-top: 18px;
    }

    .factor-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .price-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .trade-metrics {
        width: 100%;
        justify-content: space-between;
    }

    .trade-chart-wrap {
        height: 300px;
    }

    .trade-footer {
        align-items: flex-start;
        flex-direction: column;
        padding-top: 16px;
        padding-bottom: 16px;
    }

    .risk-items {
        grid-template-columns: 1fr;
    }

    .risk-item:nth-child(odd) {
        border-right: none;
    }

    .risk-item:nth-child(even) {
        padding-left: 0;
    }

    .decision-statement {
        padding: 125px 25px;
    }

    .decision-line {
        margin-top: 0;
    }

    .career-layout,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .career-card {
        padding: 35px;
    }

    form {
        padding: 30px;
    }

    .footer-inner {
        display: block;
    }

    .footer-right {
        margin-top: 15px;
    }

}


/* =====================================================
   REDUCED MOTION
===================================================== */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .process-step {
        opacity: 1;
        transform: none;
    }

    .process-progress-line {
        transform: none;
    }

}


/* =====================================================
   INTELLIGENCE / RESPONSIVE
===================================================== */

@media (max-width: 1150px) {

    .nav-links {
        gap: 22px;
        font-size: 12px;
    }

}


@media (max-width: 1000px) {

    .intel-caps {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 900px) {

    .intelligence {
        padding: 105px 25px;
    }

    .intel-intro {
        font-size: 19px;
    }

    .intel-graph {
        margin-top: 52px;
    }

    .intel-canvas-wrap {
        height: 430px;
    }

    .intel-layers {
        display: flex;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .intel-layers::-webkit-scrollbar {
        display: none;
    }

    .intel-layer {
        flex: 0 0 auto;
        min-width: 168px;
        padding: 18px 18px 20px;
    }

    .intel-detail {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 26px 20px 32px;
    }

    .intel-caps {
        grid-template-columns: 1fr;
        margin-top: 52px;
    }

}


@media (prefers-reduced-motion: reduce) {

    .intel-graph-dot {
        animation: none;
        opacity: 0.85;
    }

}


@media (prefers-reduced-motion: reduce) {

    .hero-line,
    .hero-description,
    .hero-link,
    .energy-grid,
    .scroll-indicator {
        animation-delay: 0s !important;
    }

}

@media (max-width: 900px) {

    .strategy-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        padding: 16px;
    }

    .strategy-row {
        grid-template-columns: 36px minmax(0, 1fr);
    }

    .strategy-input {
        padding: 13px 14px;
        font-size: 12px;
    }

    .strategy-message,
    .strategy-readout,
    .strategy-reference {
        padding-left: 16px;
        padding-right: 16px;
    }

    .strategy-readout {
        flex-wrap: wrap;
        gap: 22px 30px;
    }

    .strategy-equity {
        margin-left: 0;
    }

    .strategy-reference-label {
        display: block;
        min-width: 0;
        margin-bottom: 3px;
    }

}

/* =====================================================
   DISCIPLINES / RESPONSIVE
===================================================== */

@media (max-width: 1000px) {

    .disciplines {
        grid-template-columns: 1fr 1fr;
    }

    .discipline:nth-child(3) {
        padding-left: 0;
        border-left: none;
    }

    .discipline:nth-child(n + 3) {
        border-top: 1px solid var(--border);
    }

}


@media (max-width: 620px) {

    .disciplines {
        grid-template-columns: 1fr;
        margin-top: 46px;
    }

    .discipline {
        padding: 24px 0 4px;
    }

    .discipline + .discipline {
        padding-left: 0;
        border-left: none;
        border-top: 1px solid var(--border);
    }

}

@media (max-width: 400px) {

    .logo {
        height: 21px;
    }

    .market-clock-label {
        letter-spacing: 1.1px;
    }

    .market-clock-time {
        font-size: 11px;
    }

}

/* =====================================================
   VIEW TRANSITIONS

   Cross-document, so moving between index.html and
   careers.html is animated by the browser itself.
   Firefox has no cross-document support yet and simply
   navigates, which is the correct fallback.
===================================================== */

@view-transition {
    navigation: auto;
}

@keyframes viewLeave {

    to {
        opacity: 0;
        transform: scale(0.985);
    }

}

@keyframes viewArrive {

    from {
        opacity: 0;
        transform: translateY(14px);
    }

}

::view-transition-old(root) {
    animation:
        viewLeave 0.26s
        cubic-bezier(0.4, 0, 1, 1) both;
}

::view-transition-new(root) {
    animation:
        viewArrive 0.44s
        cubic-bezier(0.16, 1, 0.3, 1) both;
}


/* The global reduced-motion rule uses "*", which never
   matches a view-transition pseudo-element, so these
   need switching off by hand. */

@media (prefers-reduced-motion: reduce) {

    ::view-transition-old(root),
    ::view-transition-new(root) {
        animation: none !important;
    }

}


@media (max-width: 900px) {

    .career-opening-role {
        font-size: 19px;
    }

}
