/* =========================================
   THIRD DIMENSION
   DPT MATHEMATICS
========================================= */

:root {

    --d3: #39d353;
    --d3-bright: #72f58a;
    --d3-deep: #16852b;
    --d3-dark: #06150a;

    --ink: #151516;
    --muted: #6e6e76;

    --paper: #f7f5f1;
    --white: #ffffff;

    --line:
        rgba(21,21,22,.12);

    --display:
        "Space Grotesk",
        sans-serif;

    --body:
        "Inter",
        sans-serif;

    --shadow:
        0 25px 80px
        rgba(5,70,25,.12);

}


/* =========================================
   PAGE
========================================= */

.dimension-three-page {

    margin: 0;

    color: var(--ink);

    background: var(--paper);

    font-family: var(--body);

    line-height: 1.7;

    overflow-x: hidden;

}


/* =========================================
   NAVBAR GREEN ACCENT
========================================= */

.dimension-three-page
.nav-menu a::after {

    background: var(--d3);

}


.dimension-three-page
.download-btn:hover {

    border-color: var(--d3);

    background:
        rgba(57,211,83,.10);

}



/* =========================================
   HERO
========================================= */

.dimension-hero {

    position: relative;

    min-height: 100vh;

    padding:
        145px 0 88px;

    display: grid;

    align-items: center;

    color: #ffffff;

    background:

        radial-gradient(
            circle at 73% 37%,
            rgba(57,211,83,.17),
            transparent 29%
        ),

        linear-gradient(
            145deg,
            #050806 0%,
            #07180b 58%,
            #050806 100%
        );

    overflow: hidden;

}


.space-grid {

    position: absolute;

    inset: 0;

    opacity: .16;

    background-image:

        linear-gradient(
            rgba(255,255,255,.065) 1px,
            transparent 1px
        ),

        linear-gradient(
            90deg,
            rgba(255,255,255,.065) 1px,
            transparent 1px
        );

    background-size:
        58px 58px;

    mask-image:
        linear-gradient(
            to bottom,
            black,
            transparent 92%
        );

}


.hero-orb {

    position: absolute;

    border-radius: 50%;

    pointer-events: none;

}


.orb-one {

    width: 600px;
    height: 600px;

    right: -300px;
    top: -250px;

    border:
        1px solid
        rgba(57,211,83,.28);

    box-shadow:

        inset 0 0 120px
        rgba(57,211,83,.06);

}


.orb-two {

    width: 780px;
    height: 780px;

    left: -620px;
    bottom: -520px;

    border:
        1px solid
        rgba(255,255,255,.07);

}


.hero-layout {

    position: relative;

    display: grid;

    grid-template-columns:
        1.02fr .98fr;

    gap: 72px;

    align-items: center;

}



/* =========================================
   HERO COPY
========================================= */

.eyebrow,
.section-kicker {

    color: var(--d3-deep);

    font-size: .73rem;

    font-weight: 800;

    letter-spacing: .21em;

}


.dimension-hero
.eyebrow {

    color: var(--d3-bright);

}


.eyebrow {

    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 20px;

}


.eyebrow span {

    display: inline-grid;

    place-items: center;

    width: 34px;
    height: 34px;

    color: #ffffff;

    border:
        1px solid
        rgba(255,255,255,.22);

    border-radius: 50%;

}


.hero-copy h1 {

    margin: 0;

    font:
        700
        clamp(4rem,7.5vw,7.7rem)
        /.86
        var(--display);

    letter-spacing:
        -.075em;

}


.hero-copy h1 em {

    color: var(--d3);

    font-style: normal;

    text-shadow:

        0 0 18px
        rgba(57,211,83,.20);

}


.hero-lead {

    max-width: 660px;

    margin:
        28px 0 0;

    color:
        rgba(255,255,255,.72);

    font-size: 1.04rem;

}



/* =========================================
   BUTTONS
========================================= */

.hero-actions {

    display: flex;

    flex-wrap: wrap;

    gap: 14px;

    margin-top: 34px;

}


.btn {

    min-height: 49px;

    padding:
        0 21px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    border:
        1px solid transparent;

    border-radius: 5px;

    cursor: pointer;

    font-size: .82rem;

    font-weight: 800;

    transition:
        transform .22s ease,
        box-shadow .22s ease,
        background .22s ease;

}


.btn:hover {

    transform:
        translateY(-2px);

}


.btn-primary {

    color: #041006;

    background: var(--d3);

    box-shadow:

        0 12px 32px
        rgba(57,211,83,.22);

}


.btn-primary:hover {

    background:
        var(--d3-bright);

    box-shadow:

        0 16px 42px
        rgba(57,211,83,.32);

}


.btn-ghost {

    color: #ffffff;

    border-color:
        rgba(255,255,255,.18);

    background:
        rgba(255,255,255,.035);

}



/* =========================================
   HERO FACTS
========================================= */

.hero-facts {

    display: grid;

    grid-template-columns:
        repeat(4,1fr);

    gap: 1px;

    margin-top: 47px;

    background:
        rgba(255,255,255,.1);

    border:
        1px solid
        rgba(255,255,255,.1);

}


.hero-facts div {

    padding:
        14px 12px;

    background:
        rgba(5,10,6,.72);

}


.hero-facts strong,
.hero-facts span {

    display: block;

}


.hero-facts strong {

    color:
        rgba(255,255,255,.42);

    font-size: .62rem;

    letter-spacing: .15em;

    text-transform: uppercase;

}


.hero-facts span {

    margin-top: 4px;

    font-size: .78rem;

    font-weight: 700;

}



/* =========================================
   HERO VISUAL
========================================= */

.hero-visual {

    position: relative;

    border:
        1px solid
        rgba(255,255,255,.13);

    border-radius: 10px;

    background:

        linear-gradient(
            180deg,
            rgba(57,211,83,.055),
            rgba(255,255,255,.015)
        );

    box-shadow:

        0 45px 100px
        rgba(0,0,0,.40);

    overflow: hidden;

}


.visual-header {

    display: flex;

    justify-content:
        space-between;

    padding:
        15px 18px;

    color:
        rgba(255,255,255,.55);

    border-bottom:
        1px solid
        rgba(255,255,255,.10);

    font-size: .63rem;

    font-weight: 800;

    letter-spacing: .16em;

}


.live-dot {

    color: #ffffff;

}


.live-dot::before {

    content: "";

    display: inline-block;

    width: 7px;
    height: 7px;

    margin-right: 7px;

    background: var(--d3);

    border-radius: 50%;

    box-shadow:
        0 0 13px
        var(--d3);

}


#dimensionCanvas {

    display: block;

    width: 100%;

    aspect-ratio: 1.3;

}


.visual-caption {

    display: grid;

    grid-template-columns:
        auto 1fr auto;

    align-items: center;

    gap: 20px;

    padding:
        14px 18px 18px;

    color:
        rgba(255,255,255,.42);

    border-top:
        1px solid
        rgba(255,255,255,.08);

    font-size: .7rem;

}


.visual-caption p {

    margin: 0;

    text-align: center;

}


.visual-caption span {

    color: var(--d3);

    font:
        700 1rem
        var(--display);

}



/* =========================================
   SCROLL INDICATOR
========================================= */

.scroll-indicator {

    position: absolute;

    left: 50%;
    bottom: 24px;

    width: 26px;
    height: 42px;

    border:
        1px solid
        rgba(255,255,255,.25);

    border-radius: 20px;

    transform:
        translateX(-50%);

}


.scroll-indicator span {

    position: absolute;

    top: 8px;
    left: 50%;

    width: 4px;
    height: 7px;

    background: var(--d3);

    border-radius: 3px;

    transform:
        translateX(-50%);

    animation:
        scrollDot 1.7s infinite;

}


@keyframes scrollDot {

    0% {
        opacity: 0;
        transform: translate(-50%,0);
    }

    25% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translate(-50%,17px);
    }

}



/* =========================================
   STICKY DIMENSION NAV
========================================= */

.dimension-nav {

    position: sticky;

    top: 82px;

    z-index: 50;

    color: #ffffff;

    background: #101712;

    border-bottom:
        1px solid
        rgba(255,255,255,.08);

}


.dimension-nav-inner {

    display: flex;

    align-items: center;

    gap: 5px;

    overflow-x: auto;

    scrollbar-width: none;

}


.dimension-nav-inner::-webkit-scrollbar {

    display: none;

}


.dimension-nav a {

    flex: 0 0 auto;

    padding:
        15px 14px;

    color:
        rgba(255,255,255,.56);

    font-size: .68rem;

    font-weight: 700;

    letter-spacing: .06em;

}


.dimension-nav a:hover,
.dimension-nav a.active {

    color: #ffffff;

    background:
        rgba(57,211,83,.13);

}



/* =========================================
   GLOBAL THIRD-DIMENSION SECTIONS
========================================= */

.section {

    padding:
        112px 0;

}


.section-heading {

    max-width: 790px;

    margin-bottom: 52px;

}


.section-heading h2,
.concept-copy h2 {

    margin:
        7px 0 17px;

    font:
        700
        clamp(2.4rem,5vw,4.6rem)
        /.98
        var(--display);

    letter-spacing:
        -.055em;

}


.section-heading p,
.concept-copy > p {

    color: var(--muted);

}


.section-kicker {

    margin: 0;

}


.overview {

    background: #ffffff;

}



/* =========================================
   PROFILE CARDS
========================================= */

.profile-grid {

    display: grid;

    grid-template-columns:
        repeat(4,1fr);

    gap: 18px;

}


.profile-card {

    min-height: 300px;

    padding: 29px;

    background: #ffffff;

    border:
        1px solid
        var(--line);

    transition:
        .28s ease;

}


.profile-card:hover {

    transform:
        translateY(-7px);

    border-color:
        rgba(57,211,83,.48);

    box-shadow:
        var(--shadow);

}


.profile-card i {

    color: var(--d3-deep);

    font-size: 1.35rem;

}


.profile-card > span {

    display: block;

    margin-top: 49px;

    color: var(--d3-deep);

    font-size: .63rem;

    font-weight: 800;

    letter-spacing: .17em;

}


.profile-card h3 {

    margin:
        8px 0 12px;

    font:
        700 1.35rem/1.2
        var(--display);

}


.profile-card p {

    margin: 0;

    color: var(--muted);

    font-size: .88rem;

}



/* =========================================
   SPLIT LAYOUT
========================================= */

.split-layout {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 86px;

    align-items: center;

}


.split-layout.reverse
> :first-child {

    order: 2;

}


.concept-copy {

    max-width: 570px;

}


.feature-list {

    margin:
        28px 0 0;

    padding: 0;

    list-style: none;

}


.feature-list li {

    display: flex;

    gap: 15px;

    padding:
        14px 0;

    border-bottom:
        1px solid
        var(--line);

    font-weight: 650;

}


.feature-list span {

    color: var(--d3-deep);

    font-size: .68rem;

    letter-spacing: .10em;

}



/* =========================================
   MATH PANEL
========================================= */

.math-panel {

    min-height: 450px;

    padding: 30px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    background: #ffffff;

    border:
        1px solid
        var(--line);

    box-shadow:
        var(--shadow);

}


.panel-label {

    margin-bottom: 35px;

    color: var(--muted);

    font-size: .64rem;

    font-weight: 800;

    letter-spacing: .18em;

}


.panel-note {

    max-width: 440px;

    margin:
        20px auto 0;

    color: var(--muted);

    font-size: .82rem;

    text-align: center;

}


.equation-block {

    text-align: center;

    font-size: 1.2rem;

}


.small-equation {

    margin-top: -8px;

}



/* =========================================
   3D CSS CUBE
========================================= */

.cube-stage {

    height: 250px;

    display: grid;

    place-items: center;

    perspective: 700px;

}


.css-cube {

    position: relative;

    width: 125px;
    height: 125px;

    transform-style:
        preserve-3d;

    animation:
        cubeRotate
        12s linear infinite;

}


.cube-face {

    position: absolute;

    width: 125px;
    height: 125px;

    display: grid;

    place-items: center;

    color:
        rgba(10,40,17,.7);

    background:
        rgba(57,211,83,.08);

    border:
        1px solid
        var(--d3);

    font:
        700 .62rem
        var(--display);

}


.front {
    transform:
        translateZ(62.5px);
}


.back {
    transform:
        rotateY(180deg)
        translateZ(62.5px);
}


.right {
    transform:
        rotateY(90deg)
        translateZ(62.5px);
}


.left {
    transform:
        rotateY(-90deg)
        translateZ(62.5px);
}


.top {
    transform:
        rotateX(90deg)
        translateZ(62.5px);
}


.bottom {
    transform:
        rotateX(-90deg)
        translateZ(62.5px);
}


@keyframes cubeRotate {

    from {

        transform:
            rotateX(-18deg)
            rotateY(0deg);

    }

    to {

        transform:
            rotateX(-18deg)
            rotateY(360deg);

    }

}



/* =========================================
   DARK SECTIONS
========================================= */

.dark-section {

    color: #ffffff;

    background: #07140b;

}


.dark-section
.concept-copy > p,

.dark-section
.section-heading > p:last-child {

    color:
        rgba(255,255,255,.61);

}


.dark-section
.math-panel {

    color: #ffffff;

    background: #0b1d10;

    border-color:
        rgba(255,255,255,.11);

    box-shadow: none;

}


.dark-section
.panel-label {

    color:
        rgba(255,255,255,.42);

}


#motionCanvas {

    width: 100%;

}


.mini-btn {

    align-self: center;

    margin-top: 17px;

    padding:
        9px 14px;

    color: #ffffff;

    background: transparent;

    border:
        1px solid
        rgba(255,255,255,.18);

    border-radius: 4px;

    cursor: pointer;

    font-size: .72rem;

    font-weight: 700;

}


.quote-card {

    position: relative;

    margin:
        27px 0;

    padding:
        20px 22px 20px 53px;

    background:
        rgba(255,255,255,.045);

    border-left:
        3px solid
        var(--d3);

}


.quote-card i {

    position: absolute;

    left: 19px;
    top: 23px;

    color: var(--d3);

}


.quote-card p {

    margin: 0;

    font:
        600 1.08rem
        var(--display);

}



/* =========================================
   ENERGY
========================================= */

.energy-section {

    background: var(--paper);

}


.energy-layout {

    display: grid;

    grid-template-columns:
        repeat(2,1fr);

    gap: 18px;

}


.formula-card {

    position: relative;

    min-height: 250px;

    padding: 31px;

    background: #ffffff;

    border:
        1px solid
        var(--line);

    overflow: hidden;

}


.primary-formula {

    color: #041006;

    background: var(--d3);

    border-color: var(--d3);

}


.formula-number {

    position: absolute;

    right: 24px;
    top: 19px;

    color:
        rgba(5,40,14,.14);

    font:
        700 3rem
        var(--display);

}


.formula-card p {

    margin: 0;

    color: var(--muted);

    font-size: .65rem;

    font-weight: 800;

    letter-spacing: .14em;

}


.primary-formula p {

    color:
        rgba(3,35,10,.58);

}


.formula-display {

    min-height: 160px;

    display: grid;

    place-items: center;

    font-size: 1.2rem;

}


.large-formula {

    font-size: 1.55rem;

}


.formula-caption {

    display: block;

    text-align: center;

    font:
        700 .83rem
        var(--display);

}


.formula-caption.dark {

    color: var(--ink);

}


.energy-flow {

    min-height: 165px;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-wrap: wrap;

    gap: 12px;

}


.energy-flow span {

    color: var(--muted);

}


.energy-flow i {

    color: var(--d3-deep);

}


.interpretation-banner {

    display: flex;

    gap: 17px;

    margin-top: 18px;

    padding:
        20px 23px;

    background:
        rgba(57,211,83,.07);

    border:
        1px solid
        rgba(57,211,83,.22);

}


.interpretation-banner i {

    margin-top: 5px;

    color: var(--d3-deep);

}


.interpretation-banner p {

    margin: 0;

    color: var(--muted);

    font-size: .87rem;

}



/* =========================================
   FORCE
========================================= */

.force-section {

    color: #ffffff;

    background:

        linear-gradient(
            125deg,
            #08230f,
            #050906 72%
        );

}


.force-layout {

    display: grid;

    grid-template-columns:
        .95fr 1.05fr;

    gap: 90px;

    align-items: center;

}


.force-section
.concept-copy > p {

    color:
        rgba(255,255,255,.62);

}


.electromagnetic-visual {

    position: relative;

    min-height: 480px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding:
        0 60px;

    overflow: hidden;

}


.charge {

    position: relative;

    z-index: 4;

    width: 82px;
    height: 82px;

    display: grid;

    place-items: center;

    border-radius: 50%;

    font:
        500 2.2rem
        var(--display);

}


.charge-positive {

    color: #041006;

    background: var(--d3);

    box-shadow:
        0 0 45px
        rgba(57,211,83,.40);

}


.charge-negative {

    color: #ffffff;

    background: #0b2612;

    border:
        2px solid
        var(--d3);

}


.field-system {

    position: absolute;

    left: 50%;
    top: 50%;

    width: 60%;
    height: 240px;

    transform:
        translate(-50%,-50%);

}


.field-line {

    position: absolute;

    left: 0;

    width: 100%;

    border-top:
        1px solid
        rgba(57,211,83,.50);

    border-radius: 50%;

}


.line-1 {
    top: 20%;
    height: 100px;
}


.line-2 {
    top: 31%;
    height: 65px;
}


.line-3 {
    top: 49%;
}


.line-4 {

    top: 50%;

    height: 65px;

    transform:
        translateY(-40px);

}


.line-5 {

    top: 50%;

    height: 100px;

    transform:
        translateY(-65px);

}


.photon-particle {

    position: absolute;

    z-index: 8;

    left: 49%;
    top: 48%;

    width: 40px;
    height: 40px;

    display: grid;

    place-items: center;

    color: #041006;

    background: var(--d3-bright);

    border-radius: 50%;

    box-shadow:

        0 0 15px var(--d3),
        0 0 40px rgba(57,211,83,.50);

    animation:
        photonPulse 1.7s ease-in-out infinite;

}


@keyframes photonPulse {

    50% {

        transform:
            scale(1.15);

        box-shadow:

            0 0 25px var(--d3),
            0 0 65px rgba(57,211,83,.60);

    }

}


.force-label {

    position: absolute;

    left: 50%;
    bottom: 15px;

    transform:
        translateX(-50%);

    color:
        rgba(255,255,255,.40);

    font-size: .62rem;

    font-weight: 800;

    letter-spacing: .19em;

}


.force-specs {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 1px;

    margin:
        29px 0;

    background:
        rgba(255,255,255,.12);

}


.force-specs div {

    padding: 17px;

    background:
        rgba(255,255,255,.045);

}


.force-specs span,
.force-specs strong {

    display: block;

}


.force-specs span {

    color:
        rgba(255,255,255,.40);

    font-size: .62rem;

    font-weight: 800;

    letter-spacing: .12em;

    text-transform: uppercase;

}


.force-specs strong {

    margin-top: 4px;

}


.equation-strip {

    padding: 13px;

    overflow-x: auto;

    text-align: center;

    background:
        rgba(0,0,0,.18);

    border:
        1px solid
        rgba(255,255,255,.13);

}


.small-copy {

    font-size:
        .78rem !important;

}



/* =========================================
   BEINGS
========================================= */

.beings-section {

    background: #ffffff;

}


.evolution-stage {

    display: grid;

    grid-template-columns:
        1fr auto
        1fr auto
        1fr auto
        1fr;

    align-items: center;

    gap: 16px;

}


.evolution-item {

    min-height: 260px;

    padding: 28px 18px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    border:
        1px solid
        var(--line);

}


.evolution-symbol {

    width: 95px;
    height: 95px;

    margin-bottom: 25px;

    display: grid;

    place-items: center;

    color: var(--d3-deep);

    background:
        rgba(57,211,83,.08);

    border-radius: 50%;

    font-size: 2rem;

}


.cell-symbol {

    position: relative;

    border:
        2px solid
        var(--d3-deep);

}


.cell-symbol span {

    width: 28px;
    height: 28px;

    background: var(--d3);

    border-radius: 50%;

}


.evolution-item strong {

    font:
        700 1.1rem
        var(--display);

}


.evolution-item small {

    margin-top: 7px;

    color: var(--muted);

}


.evolution-arrow {

    color: var(--d3-deep);

}


.evolution-equation {

    margin-top: 30px;

    padding: 23px;

    color: #ffffff;

    background: #08140b;

    text-align: center;

}


.evolution-equation span,
.evolution-equation strong {

    display: block;

}


.evolution-equation span {

    margin-bottom: 8px;

    color: var(--d3);

    font-size: .62rem;

    font-weight: 800;

    letter-spacing: .17em;

}


.evolution-equation strong {

    font:
        600 clamp(1rem,2vw,1.4rem)
        var(--display);

}



/* =========================================
   LIGHT / PHOTON
========================================= */

.light-layout {

    display: grid;

    grid-template-columns:
        1.05fr .95fr;

    gap: 72px;

    align-items: center;

}


.light-visual {

    border:
        1px solid
        rgba(255,255,255,.11);

    background: #071a0c;

}


#lightCanvas {

    display: block;

    width: 100%;

}


.light-controls {

    padding:
        15px 20px 20px;

    border-top:
        1px solid
        rgba(255,255,255,.08);

}


.light-controls label {

    display: block;

    margin-bottom: 8px;

    color:
        rgba(255,255,255,.47);

    font-size: .64rem;

    font-weight: 800;

    letter-spacing: .12em;

    text-transform: uppercase;

}


.light-controls input {

    width: 100%;

    accent-color:
        var(--d3);

}


.equation-card-simple {

    margin:
        27px 0;

    padding: 22px;

    background:
        rgba(255,255,255,.04);

    border:
        1px solid
        rgba(255,255,255,.12);

}


.equation-card-simple > span {

    color: var(--d3);

    font-size: .62rem;

    font-weight: 800;

    letter-spacing: .15em;

}


.photon-equation {

    font-size: 1.3rem;

    text-align: center;

}



/* =========================================
   POLARITY
========================================= */

.polarity-section {

    background: #ffffff;

}


.polarity-grid {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 18px;

}


.polarity-card {

    padding: 34px;

    border:
        1px solid
        var(--line);

}


.polarity-symbol {

    width: 80px;
    height: 80px;

    margin-bottom: 35px;

    display: grid;

    place-items: center;

    color: #041006;

    background: var(--d3);

    border-radius: 50%;

    font:
        700 1.3rem
        var(--display);

}


.polarity-card > span {

    color: var(--d3-deep);

    font-size: .63rem;

    font-weight: 800;

    letter-spacing: .16em;

}


.polarity-card h3 {

    margin:
        8px 0 25px;

    font:
        700 1.6rem
        var(--display);

}


.polarity-demo {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 16px;

}


.polarity-demo div {

    width: 55px;
    height: 55px;

    display: grid;

    place-items: center;

    color: #ffffff;

    background: #101612;

    border-radius: 50%;

}


.polarity-demo span {

    flex: 1;

    height: 2px;

    background:

        linear-gradient(
            90deg,
            transparent,
            var(--d3),
            transparent
        );

}



/* =========================================
   GRAVITY
========================================= */

.gravity-section {

    background:
        var(--paper);

}


.gravity-visual {

    position: relative;

    min-height: 470px;

    overflow: hidden;

    background:
        #071009;

    border:
        1px solid
        var(--line);

    perspective: 700px;

}


.gravity-grid-plane {

    position: absolute;

    left: -15%;
    right: -15%;

    top: 44%;

    height: 300px;

    transform:
        rotateX(63deg);

    transform-origin:
        center top;

    background-image:

        linear-gradient(
            rgba(57,211,83,.20) 1px,
            transparent 1px
        ),

        linear-gradient(
            90deg,
            rgba(57,211,83,.20) 1px,
            transparent 1px
        );

    background-size:
        36px 36px;

}


.gravity-well {

    position: absolute;

    left: 50%;
    top: 56%;

    width: 260px;
    height: 120px;

    transform:
        translate(-50%,-50%);

    border:
        2px solid
        rgba(57,211,83,.45);

    border-radius: 50%;

    box-shadow:

        0 20px 65px
        rgba(0,0,0,.8),

        inset 0 -30px 45px
        rgba(57,211,83,.14);

}


.gravity-body {

    position: absolute;

    left: 50%;
    top: 38%;

    width: 80px;
    height: 80px;

    display: grid;

    place-items: center;

    transform:
        translate(-50%,-50%);

    color: #041006;

    background:
        var(--d3);

    border-radius: 50%;

    box-shadow:

        0 0 18px var(--d3),
        0 0 55px rgba(57,211,83,.40);

}


.gravity-caption {

    position: absolute;

    left: 50%;
    bottom: 20px;

    transform:
        translateX(-50%);

    color:
        rgba(255,255,255,.42);

    font-size: .61rem;

    font-weight: 800;

    letter-spacing: .17em;

    white-space: nowrap;

}



/* =========================================
   CALCULATOR
========================================= */

.calculator-section {

    color: #ffffff;

    background: #061108;

}


.calculator-layout {

    display: grid;

    grid-template-columns:
        1fr .9fr;

    gap: 90px;

    align-items: center;

}


.calculator-section
.concept-copy > p {

    color:
        rgba(255,255,255,.60);

}


.calculator-equation {

    margin:
        25px 0;

    padding: 17px;

    color: var(--d3);

    background:
        rgba(57,211,83,.06);

    border:
        1px solid
        rgba(57,211,83,.17);

    text-align: center;

    font-size: 1.4rem;

}


.calculator-note {

    color:
        rgba(255,255,255,.45) !important;

    font-size: .8rem;

}


.calculator-card {

    padding: 31px;

    background: #0b1c0f;

    border:
        1px solid
        rgba(255,255,255,.12);

    box-shadow:

        0 35px 90px
        rgba(0,0,0,.26);

}


.calculator-card label {

    display: block;

    margin:
        13px 0 7px;

    color:
        rgba(255,255,255,.62);

    font-size: .72rem;

    font-weight: 700;

}


.calculator-card input {

    width: 100%;

    padding:
        12px 13px;

    color: #ffffff;

    background:
        rgba(255,255,255,.045);

    border:
        1px solid
        rgba(255,255,255,.13);

    border-radius: 4px;

    outline: none;

}


.calculator-card input:focus {

    border-color: var(--d3);

    box-shadow:

        0 0 0 3px
        rgba(57,211,83,.10);

}


.calculator-card input[readonly] {

    opacity: .55;

}


.calculator-card .btn {

    width: 100%;

    margin-top: 22px;

    border: 0;

}


.calculator-result {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 1px;

    margin-top: 18px;

    background:
        rgba(255,255,255,.1);

}


.calculator-result div {

    padding: 15px;

    background:
        rgba(255,255,255,.04);

}


.calculator-result span,
.calculator-result strong {

    display: block;

}


.calculator-result span {

    color:
        rgba(255,255,255,.40);

    font-size: .62rem;

    font-weight: 800;

    text-transform: uppercase;

}


.calculator-result strong {

    margin-top: 5px;

    color: var(--d3);

    word-break: break-word;

}


.form-error {

    min-height: 20px;

    margin:
        9px 0 0;

    color: var(--d3-bright);

    font-size: .72rem;

}



/* =========================================
   SUMMARY
========================================= */

.dimension-summary {

    padding:
        100px 0;

    background: #ffffff;

}


.summary-equation {

    display: grid;

    grid-template-columns:
        1fr auto 1fr auto 1fr auto 1.2fr;

    align-items: center;

    gap: 15px;

    margin-top: 30px;

}


.summary-equation > div {

    padding: 25px 18px;

    border:
        1px solid
        var(--line);

    text-align: center;

}


.summary-equation span,
.summary-equation strong {

    display: block;

}


.summary-equation span {

    color: var(--muted);

    font-size: .61rem;

    font-weight: 800;

    letter-spacing: .14em;

}


.summary-equation strong {

    margin-top: 5px;

    font:
        700 1rem
        var(--display);

}


.summary-final {

    color: #041006;

    background: var(--d3);

    border-color:
        var(--d3) !important;

}



/* =========================================
   RESEARCH NOTE
========================================= */

.research-note {

    padding:
        55px 0;

    color: #041006;

    background: var(--d3);

}


.note-inner {

    display: grid;

    grid-template-columns:
        auto 1fr;

    gap: 22px;

    align-items: start;

}


.note-inner > i {

    font-size: 1.7rem;

}


.note-inner h2 {

    margin:
        0 0 7px;

    font:
        700 1.3rem
        var(--display);

}


.note-inner p {

    margin: 0;

    color:
        rgba(3,35,10,.72);

    font-size: .86rem;

}



/* =========================================
   PAGINATION
========================================= */

.dimension-pagination {

    padding:
        42px 0;

    background: #ffffff;

}


.pagination-inner {

    display: grid;

    grid-template-columns:
        1fr auto 1fr;

    align-items: center;

    gap: 20px;

}


.pagination-link {

    display: flex;

    flex-direction: column;

}


.pagination-link.next {

    text-align: right;

}


.pagination-link span {

    color: var(--muted);

    font-size: .65rem;

    font-weight: 700;

    text-transform: uppercase;

}


.pagination-link strong {

    font:
        700 1rem
        var(--display);

}


.pagination-link strong:hover {

    color: var(--d3-deep);

}


.dimension-dots {

    display: flex;

    gap: 8px;

}


.dimension-dots span {

    width: 29px;
    height: 29px;

    display: grid;

    place-items: center;

    border:
        1px solid
        var(--line);

    border-radius: 50%;

    font-size: .66rem;

    font-weight: 700;

}


.dimension-dots span.active {

    color: #041006;

    background: var(--d3);

    border-color:
        var(--d3);

}



/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1100px) {

    .hero-layout {

        grid-template-columns:
            1fr;

    }


    .hero-visual {

        max-width: 720px;

    }


    .profile-grid {

        grid-template-columns:
            1fr 1fr;

    }


    .evolution-stage {

        grid-template-columns:
            1fr 1fr;

    }


    .evolution-arrow {

        display: none;

    }

}


@media (max-width: 820px) {

    .section {

        padding:
            82px 0;

    }


    .hero-copy h1 {

        font-size:
            clamp(
                3.8rem,
                16vw,
                6.2rem
            );

    }


    .hero-facts {

        grid-template-columns:
            1fr 1fr;

    }


    .split-layout,
    .force-layout,
    .light-layout,
    .calculator-layout {

        grid-template-columns:
            1fr;

        gap: 44px;

    }


    .split-layout.reverse
    > :first-child {

        order: initial;

    }


    .concept-copy {

        max-width: none;

    }


    .energy-layout,
    .polarity-grid {

        grid-template-columns:
            1fr;

    }


    .summary-equation {

        grid-template-columns:
            1fr;

    }


    .summary-equation > i {

        transform:
            rotate(90deg);

        text-align: center;

    }


    .pagination-inner {

        grid-template-columns:
            1fr 1fr;

    }


    .dimension-dots {

        display: none;

    }

}


@media (max-width: 580px) {

    .container {

        width:
            min(
                calc(100% - 26px),
                1180px
            );

    }


    .dimension-hero {

        padding-top:
            125px;

    }


    .hero-actions {

        flex-direction:
            column;

        align-items:
            stretch;

    }


    .hero-facts,
    .profile-grid,
    .force-specs,
    .calculator-result,
    .evolution-stage {

        grid-template-columns:
            1fr;

    }


    .math-panel,
    .formula-card,
    .calculator-card {

        padding: 22px;

    }


    .section-heading h2,
    .concept-copy h2 {

        font-size:
            2.55rem;

    }


    .electromagnetic-visual {

        min-height: 380px;

        padding:
            0 25px;

    }


    .charge {

        width: 62px;
        height: 62px;

    }

}

/* =========================================================
   DIMENSION THREE — INTERACTION UPGRADE
========================================================= */


/* =========================================================
   PAGE PROGRESS
========================================================= */

.d3-page-progress {

    position: fixed;

    top: 0;
    right: 0;

    z-index: 2000;

    width: 3px;
    height: 0;

    pointer-events: none;

    background: var(--d3);

    box-shadow:
        0 0 12px
        rgba(57,211,83,.70);

}


/* =========================================================
   HERO DEPTH
========================================================= */

.dimension-three-page
.dimension-hero::after {

    content: "";

    position: absolute;

    inset: 0;

    z-index: 0;

    pointer-events: none;

    background:

        radial-gradient(
            circle
            at
            var(--hero-x,73%)
            var(--hero-y,37%),

            rgba(57,211,83,.075),

            transparent 25%
        );

}


.dimension-three-page
.hero-copy,

.dimension-three-page
.hero-visual {

    position: relative;

    z-index: 2;

}


.dimension-three-page
.hero-copy {

    transform:

        translate(
            var(--hero-shift-x,0),
            var(--hero-shift-y,0)
        );

    transition:
        transform .18s ease-out;

}


/* =========================================================
   HERO TITLE
========================================================= */

.dimension-three-page
.hero-copy h1 em {

    text-shadow:

        0 0 16px
        rgba(57,211,83,.35),

        0 0 44px
        rgba(57,211,83,.14);

}


/* =========================================================
   HERO FACTS
========================================================= */

.dimension-three-page
.hero-facts div {

    position: relative;

    overflow: hidden;

    transition:

        transform .25s ease,
        background .25s ease;

}


.dimension-three-page
.hero-facts div::after {

    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 100%;
    height: 2px;

    background: var(--d3);

    transform:
        scaleX(0);

    transform-origin: left;

    transition:
        transform .3s ease;

}


.dimension-three-page
.hero-facts div:hover {

    transform:
        translateY(-3px);

    background:
        rgba(57,211,83,.09);

}


.dimension-three-page
.hero-facts div:hover::after {

    transform:
        scaleX(1);

}


/* =========================================================
   HERO MODEL CONTROLS
========================================================= */

.d3-visual-controls {

    display: inline-flex;

    align-items: center;

    gap: 7px;

}


.d3-visual-control {

    width: 27px;
    height: 27px;

    padding: 0;

    display: inline-grid;

    place-items: center;

    color:
        rgba(255,255,255,.67);

    background: transparent;

    border:
        1px solid
        rgba(255,255,255,.15);

    border-radius: 50%;

    cursor: pointer;

    font-size: .63rem;

    transition:

        color .2s ease,
        border-color .2s ease,
        background .2s ease;

}


.d3-visual-control:hover {

    color: #ffffff;

    border-color: var(--d3);

    background:
        rgba(57,211,83,.11);

}


/* =========================================================
   INTERACTIVE CARD SPOTLIGHT
========================================================= */

.profile-card,
.formula-card,
.polarity-card,
.calculator-card,
.evolution-item {

    position: relative;

    overflow: hidden;

}


.profile-card::before,
.formula-card::before,
.polarity-card::before,
.calculator-card::before,
.evolution-item::before {

    content: "";

    position: absolute;

    inset: 0;

    z-index: 0;

    pointer-events: none;

    opacity: 0;

    background:

        radial-gradient(
            340px circle
            at
            var(--mouse-x,50%)
            var(--mouse-y,50%),

            rgba(57,211,83,.09),

            transparent 48%
        );

    transition:
        opacity .25s ease;

}


.profile-card:hover::before,
.formula-card:hover::before,
.polarity-card:hover::before,
.calculator-card:hover::before,
.evolution-item:hover::before {

    opacity: 1;

}


.profile-card > *,
.formula-card > *,
.polarity-card > *,
.calculator-card > *,
.evolution-item > * {

    position: relative;

    z-index: 2;

}


/* =========================================================
   PROFILE CARDS
========================================================= */

.profile-card {

    transform-style:
        preserve-3d;

}


.profile-card i {

    transition:

        transform .32s ease,
        filter .32s ease;

}


.profile-card:hover i {

    transform:
        scale(1.12)
        rotate(-5deg);

    filter:

        drop-shadow(
            0 0 8px
            rgba(57,211,83,.35)
        );

}


/* =========================================================
   FEATURE LIST
========================================================= */

.feature-list li {

    position: relative;

    transition:

        padding-left .25s ease,
        opacity .25s ease;

}


.feature-list li:hover {

    padding-left: 9px;

}


.feature-list:hover
li:not(:hover) {

    opacity: .42;

}


/* =========================================================
   3D CUBE INTERACTION
========================================================= */

.css-cube {

    cursor: grab;

    transition:
        filter .3s ease;

}


.css-cube:hover {

    animation-play-state:
        paused;

    filter:

        drop-shadow(
            0 0 18px
            rgba(57,211,83,.26)
        );

}


.css-cube.cube-selected {

    animation-play-state:
        paused;

}


.cube-face {

    transition:

        background .3s ease,
        border-color .3s ease,
        color .3s ease;

}


.css-cube:hover
.cube-face {

    background:
        rgba(57,211,83,.13);

    border-color:
        var(--d3-bright);

}


.cube-readout {

    margin-top: 18px;

    padding:
        11px 14px;

    color: var(--muted);

    background: var(--paper);

    border:
        1px solid var(--line);

    font-size: .72rem;

    text-align: center;

}


.cube-readout strong {

    color: var(--d3-deep);

}


/* =========================================================
   MOTION PANEL
========================================================= */

#motionCanvas {

    cursor: crosshair;

}


.motion-status {

    min-height: 25px;

    margin-top: 12px;

    color:
        rgba(255,255,255,.46);

    font-size: .68rem;

    text-align: center;

    letter-spacing: .05em;

}


/* =========================================================
   ENERGY FORMULAS
========================================================= */

.formula-card {

    cursor: pointer;

    transition:

        transform .28s ease,
        border-color .28s ease,
        box-shadow .28s ease,
        opacity .28s ease;

}


.formula-card:hover {

    transform:
        translateY(-6px);

    border-color:
        rgba(57,211,83,.43);

    box-shadow:
        var(--shadow);

}


.energy-layout:hover
.formula-card:not(:hover) {

    opacity: .52;

}


/* =========================================================
   COPY EQUATION
========================================================= */

.d3-copy-equation {

    position: absolute;

    top: 17px;
    left: 17px;

    z-index: 8;

    min-height: 31px;

    padding:
        0 10px;

    display: inline-flex;

    align-items: center;

    gap: 6px;

    color: var(--muted);

    background:
        rgba(255,255,255,.76);

    border:
        1px solid var(--line);

    cursor: pointer;

    opacity: 0;

    font-size: .61rem;

    font-weight: 800;

    transition:

        opacity .25s ease,
        color .25s ease,
        border-color .25s ease,
        transform .25s ease;

}


.formula-card:hover
.d3-copy-equation {

    opacity: 1;

}


.d3-copy-equation:hover {

    color: var(--d3-deep);

    border-color:
        rgba(57,211,83,.45);

    transform:
        translateY(-2px);

}


.primary-formula
.d3-copy-equation {

    color:
        rgba(3,35,10,.70);

    background:
        rgba(255,255,255,.24);

    border-color:
        rgba(3,35,10,.17);

}


/* =========================================================
   ELECTROMAGNETIC FORCE
========================================================= */

.electromagnetic-visual {

    cursor: pointer;

}


.charge,
.photon-particle {

    transition:

        transform .3s ease,
        box-shadow .3s ease;

}


.electromagnetic-visual:hover
.charge-positive {

    transform:
        scale(1.07);

}


.electromagnetic-visual:hover
.charge-negative {

    transform:
        scale(1.07);

}


.electromagnetic-visual.em-pulse
.photon-particle {

    transform:
        scale(1.45);

    box-shadow:

        0 0 30px
        var(--d3),

        0 0 90px
        rgba(57,211,83,.75);

}


.electromagnetic-visual.em-pulse
.field-line {

    border-color:
        rgba(114,245,138,.95);

}


.force-label::after {

    content:
        " • CLICK FIELD TO PULSE";

    color:
        rgba(255,255,255,.22);

}


.force-specs div {

    transition:

        background .25s ease,
        transform .25s ease;

}


.force-specs div:hover {

    transform:
        translateY(-3px);

    background:
        rgba(57,211,83,.10);

}


/* =========================================================
   EVOLUTION / BEINGS
========================================================= */

.evolution-item {

    cursor: pointer;

    transition:

        transform .28s ease,
        opacity .28s ease,
        border-color .28s ease,
        box-shadow .28s ease;

}


.evolution-item:hover {

    transform:
        translateY(-7px);

    border-color:
        rgba(57,211,83,.42);

    box-shadow:
        var(--shadow);

}


.evolution-stage:hover
.evolution-item:not(:hover) {

    opacity: .42;

}


.evolution-symbol {

    transition:

        transform .32s ease,
        background .32s ease;

}


.evolution-item:hover
.evolution-symbol {

    transform:
        scale(1.09);

    background:
        rgba(57,211,83,.14);

}


/* =========================================================
   LIGHT / PHOTON
========================================================= */

.light-visual {

    position: relative;

    transition:
        border-color .25s ease;

}


.light-visual:hover {

    border-color:
        rgba(57,211,83,.38);

}


.light-controls input {

    cursor: pointer;

}


.light-readout {

    padding:
        10px 15px;

    color:
        rgba(255,255,255,.48);

    border-top:
        1px solid
        rgba(255,255,255,.08);

    font-size: .66rem;

    text-align: center;

}


.light-readout strong {

    color: var(--d3-bright);

}


/* =========================================================
   POLARITY
========================================================= */

.polarity-card {

    cursor: pointer;

    transition:

        transform .28s ease,
        border-color .28s ease,
        opacity .28s ease,
        box-shadow .28s ease;

}


.polarity-card:hover {

    transform:
        translateY(-6px);

    border-color:
        rgba(57,211,83,.42);

    box-shadow:
        var(--shadow);

}


.polarity-grid:hover
.polarity-card:not(:hover) {

    opacity: .47;

}


.polarity-symbol {

    transition:

        transform .3s ease,
        box-shadow .3s ease;

}


.polarity-card:hover
.polarity-symbol {

    transform:
        scale(1.08);

    box-shadow:
        0 0 30px
        rgba(57,211,83,.28);

}


.polarity-demo div {

    transition:

        transform .3s ease,
        box-shadow .3s ease;

}


.polarity-card.polarity-active
.polarity-demo div {

    transform:
        scale(1.12);

    box-shadow:
        0 0 22px
        rgba(57,211,83,.36);

}


/* =========================================================
   GRAVITY
========================================================= */

.gravity-visual {

    cursor: pointer;

}


.gravity-body {

    transition:

        transform .35s ease,
        box-shadow .35s ease;

}


.gravity-well {

    transition:

        width .4s ease,
        height .4s ease,
        border-color .4s ease,
        box-shadow .4s ease;

}


.gravity-visual:hover
.gravity-body {

    transform:
        translate(-50%,-50%)
        scale(1.08);

}


.gravity-visual.gravity-active
.gravity-body {

    transform:
        translate(-50%,-50%)
        scale(1.18);

    box-shadow:

        0 0 28px var(--d3),

        0 0 80px
        rgba(57,211,83,.60);

}


.gravity-visual.gravity-active
.gravity-well {

    width: 310px;
    height: 145px;

    border-color:
        rgba(114,245,138,.75);

    box-shadow:

        0 25px 80px
        rgba(0,0,0,.9),

        inset 0 -40px 60px
        rgba(57,211,83,.24);

}


.gravity-caption::after {

    content:
        " • CLICK TO INCREASE CURVATURE";

    color:
        rgba(255,255,255,.20);

}


/* =========================================================
   CALCULATOR
========================================================= */

.calculator-card {

    transition:

        border-color .28s ease,
        box-shadow .28s ease;

}


.calculator-card:hover {

    border-color:
        rgba(57,211,83,.34);

    box-shadow:

        0 38px 95px
        rgba(0,0,0,.30);

}


.calculator-result div {

    transition:
        background .25s ease;

}


.calculator-result div:hover {

    background:
        rgba(57,211,83,.09);

}


.d3-result-flash {

    animation:
        d3ResultFlash
        .65s ease;

}


@keyframes d3ResultFlash {

    0% {

        background:
            rgba(57,211,83,.25);

    }

    100% {

        background:
            transparent;

    }

}


/* =========================================================
   SUMMARY EQUATION
========================================================= */

.summary-equation > div {

    cursor: default;

    transition:

        transform .25s ease,
        border-color .25s ease,
        opacity .25s ease;

}


.summary-equation > div:hover {

    transform:
        translateY(-5px);

    border-color:
        rgba(57,211,83,.42);

}


.summary-equation:hover
> div:not(:hover) {

    opacity: .52;

}


.summary-final:hover {

    opacity: 1 !important;

}


/* =========================================================
   SECTION HEADING LINE
========================================================= */

.section-heading h2,
.concept-copy h2 {

    position: relative;

}


.section-heading h2::after,
.concept-copy h2::after {

    content: "";

    display: block;

    width: 0;
    height: 2px;

    margin-top: 20px;

    background:
        var(--d3-deep);

    transition:
        width .7s ease;

}


.dark-section
.section-heading h2::after,

.dark-section
.concept-copy h2::after,

.force-section
.concept-copy h2::after,

.calculator-section
.concept-copy h2::after {

    background: var(--d3);

}


.section-heading.d3-line-active
h2::after,

.concept-copy.d3-line-active
h2::after {

    width: 72px;

}


/* =========================================================
   DIMENSION NAV
========================================================= */

.dimension-nav a {

    position: relative;

}


.dimension-nav a::after {

    content: "";

    position: absolute;

    left: 14px;
    right: 14px;
    bottom: 7px;

    height: 1px;

    background: var(--d3);

    opacity: 0;

    transform:
        scaleX(0);

    transition:

        transform .25s ease,
        opacity .25s ease;

}


.dimension-nav a.active::after {

    opacity: 1;

    transform:
        scaleX(1);

}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {

    .d3-copy-equation {

        opacity: 1;

    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media
(prefers-reduced-motion: reduce) {

    .dimension-three-page
    .hero-copy {

        transform:
            none !important;

    }

}