
/* =========================================
   YOD APPROACH PAGE
========================================= */

.approach-page {
    --a-graphite: #171522;
    --a-dark: #242132;
    --a-violet: #8B5CF6;
    --a-lavender: #A78BFA;
    --a-soft: #E9E3F5;
    --a-white: #F8F7FA;
    --a-muted: #aaa6b8;

    background: var(--a-graphite);
    color: var(--a-white);
    font-family: "DM Sans", sans-serif;
    overflow-x: hidden;
}

.approach-page * {
    box-sizing: border-box;
}

.approach-container {
    width: min(1160px, 88%);
    margin: auto;
}

.approach-page h1,
.approach-page h2,
.approach-page h3 {
    font-family: "Space Grotesk", sans-serif;
    letter-spacing: -0.045em;
}

.approach-page a {
    text-decoration: none;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--a-lavender);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
}

.eyebrow-dot {
    width: 7px;
    height: 7px;
    background: var(--a-lavender);
    border-radius: 50%;
    box-shadow: 0 0 14px var(--a-violet);
}


/* HEADER */

.approach-page .site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(23, 21, 34, 0.5);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.approach-page .nav-container {
    width: min(1240px, 90%);
    min-height: 82px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.approach-page .brand {
    display: flex;
    align-items: center;
    gap: 11px;
    color: white;
}

.approach-page .brand-mark {
    font-family: "Space Grotesk", sans-serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -2px;
}

.approach-page .brand-name {
    font-size: 9px;
    line-height: 1.4;
    letter-spacing: 1px;
    font-weight: 700;
}

.approach-page .main-nav {
    display: flex;
    align-items: center;
    gap: 34px;
}

.approach-page .main-nav a {
    color: #c9c5d2;
    font-size: 13px;
    transition: color 0.3s;
}

.approach-page .main-nav a:hover,
.approach-page .main-nav a.active {
    color: white;
}

.approach-page .main-nav .nav-cta {
    color: white;
    padding: 12px 17px;
    border: 1px solid rgba(167,139,250,0.45);
    border-radius: 5px;
    transition: 0.3s;
}

.approach-page .main-nav .nav-cta:hover {
    background: var(--a-violet);
    border-color: var(--a-violet);
}

.approach-page .menu-toggle {
    display: none;
}


/* HERO */

.approach-hero {
    position: relative;
    min-height: 830px;
    padding: 190px 0 35px;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 75% 45%, rgba(105,70,165,0.17), transparent 42%),
        linear-gradient(135deg, #171522 0%, #201c30 65%, #191625 100%);
}

.hero-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    right: -200px;
    top: 100px;
    background: rgba(139,92,246,0.13);
    filter: blur(120px);
    border-radius: 50%;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.approach-hero h1 {
    margin: 27px 0;
    font-size: clamp(55px, 7.5vw, 94px);
    line-height: 0.99;
    font-weight: 600;
    max-width: 850px;
}

.approach-hero h1 span {
    color: var(--a-lavender);
}

.approach-hero .hero-content > p {
    color: #b9b5c5;
    font-size: 16px;
    line-height: 1.9;
    max-width: 550px;
}

.hero-link {
    display: inline-flex;
    gap: 15px;
    align-items: center;
    margin-top: 27px;
    color: white;
    font-size: 13px;
    border-bottom: 1px solid rgba(167,139,250,0.6);
    padding-bottom: 9px;
}

.hero-link span {
    color: var(--a-lavender);
    transition: transform 0.3s;
}

.hero-link:hover span {
    transform: translateY(5px);
}


/* HERO ORBIT */

.hero-visual {
    position: absolute;
    width: 390px;
    height: 390px;
    right: 2%;
    top: 35px;
    display: grid;
    place-items: center;
}

.visual-orbit {
    position: absolute;
    border: 1px solid rgba(167,139,250,0.2);
    border-radius: 50%;
}

.orbit-one {
    width: 240px;
    height: 240px;
    animation: orbit-spin 35s linear infinite;
}

.orbit-two {
    width: 355px;
    height: 355px;
    border-style: dashed;
    animation: orbit-spin 55s linear infinite reverse;
}

.visual-core {
    position: relative;
    width: 125px;
    height: 125px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle at 30% 20%, #4c3c70, #211a32 75%);
    border: 1px solid rgba(167,139,250,0.5);
    box-shadow: 0 0 65px rgba(139,92,246,0.25);
    z-index: 2;
}

.visual-core span {
    font-family: "Space Grotesk", sans-serif;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -3px;
}

.visual-core small {
    margin-top: 5px;
    font-size: 6px;
    letter-spacing: 1.3px;
    color: var(--a-lavender);
}

.orbit-node {
    position: absolute;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(167,139,250,0.5);
    border-radius: 50%;
    background: #29223c;
    color: var(--a-lavender);
    font-size: 11px;
    font-weight: 700;
    box-shadow: 0 0 25px rgba(139,92,246,0.15);
    z-index: 3;
    animation: node-float 4s ease-in-out infinite;
}

.node-one {
    top: 48px;
    left: 175px;
}

.node-two {
    top: 170px;
    right: 0;
    animation-delay: .6s;
}

.node-three {
    bottom: 43px;
    left: 175px;
    animation-delay: 1.2s;
}

.node-four {
    top: 170px;
    left: 0;
    animation-delay: 1.8s;
}

.hero-bottom {
    margin-top: 95px;
    padding-top: 23px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: #858091;
    font-size: 9px;
    letter-spacing: 1.7px;
    font-weight: 700;
}


/* PHILOSOPHY */

.philosophy-section {
    padding: 145px 0;
    background: #f8f7fa;
    color: var(--a-graphite);
}

.philosophy-grid {
    display: grid;
    grid-template-columns: 0.7fr 1.5fr;
    gap: 90px;
}

.section-label {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #817b8f;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.6px;
}

.label-line {
    height: 1px;
    flex: 1;
    background: #d9d5df;
}

.philosophy-content .eyebrow {
    color: #8058d3;
}

.philosophy-content h2 {
    margin: 25px 0;
    font-size: clamp(42px, 5vw, 67px);
    line-height: 1.08;
}

.philosophy-content h2 span {
    color: #8a6bc3;
}

.philosophy-content p {
    max-width: 650px;
    color: #686374;
    font-size: 15px;
    line-height: 1.95;
    margin-top: 20px;
}


/* PROCESS */

.process-section {
    padding: 145px 0 160px;
    background: #1b1927;
    position: relative;
}

.process-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 35px;
    margin-bottom: 85px;
}

.process-heading h2 {
    font-size: clamp(45px, 5vw, 68px);
    line-height: 1.05;
    margin: 22px 0 0;
}

.process-heading h2 span {
    color: var(--a-lavender);
}

.process-heading > p {
    max-width: 310px;
    color: #aaa6b8;
    font-size: 14px;
    line-height: 1.8;
}

.process-layout {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 50px;
}

.process-progress {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.progress-track {
    position: absolute;
    top: 8px;
    bottom: 55px;
    width: 2px;
    background: rgba(255,255,255,0.1);
}

.progress-fill {
    width: 100%;
    height: 0%;
    background: var(--a-violet);
    transition: height 0.5s ease;
    box-shadow: 0 0 12px var(--a-violet);
}

.progress-number {
    position: sticky;
    top: 35%;
    margin-top: 0;
    width: 45px;
    height: 45px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #302741;
    border: 1px solid rgba(167,139,250,0.55);
    color: var(--a-lavender);
    font-family: "Space Grotesk", sans-serif;
    font-size: 13px;
    font-weight: 700;
    z-index: 2;
}

.progress-caption {
    position: sticky;
    top: calc(35% + 60px);
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    margin-top: 25px;
    color: #777184;
    font-size: 8px;
    letter-spacing: 2px;
}

.process-step {
    border-top: 1px solid rgba(255,255,255,0.12);
}

.process-step:last-child {
    border-bottom: 1px solid rgba(255,255,255,0.12);
}

.step-trigger {
    width: 100%;
    display: grid;
    grid-template-columns: 65px 1fr 40px;
    align-items: center;
    gap: 25px;
    padding: 36px 0;
    text-align: left;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

.step-number {
    color: #706a7f;
    font-family: "Space Grotesk", sans-serif;
    font-size: 17px;
}

.step-title {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.step-title small {
    color: var(--a-lavender);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
}

.step-title strong {
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(21px, 3vw, 34px);
    font-weight: 500;
    letter-spacing: -1px;
    transition: color 0.3s;
}

.step-icon {
    width: 35px;
    height: 35px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 50%;
    font-size: 20px;
    color: var(--a-lavender);
    transition: transform .3s, background .3s;
}

.process-step.active .step-title strong,
.step-trigger:hover .step-title strong {
    color: var(--a-lavender);
}

.process-step.active .step-icon {
    transform: rotate(45deg);
    background: rgba(139,92,246,0.15);
}

.step-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .45s ease;
}

.process-step.active .step-content {
    grid-template-rows: 1fr;
}

.step-inner {
    overflow: hidden;
    min-height: 0;
    padding-left: 90px;
    padding-bottom: 0;
    opacity: 0;
    transition: opacity .35s, padding .35s;
}

.process-step.active .step-inner {
    opacity: 1;
    padding-bottom: 40px;
}

.step-inner > p {
    max-width: 630px;
    color: #aaa6b8;
    font-size: 14px;
    line-height: 1.9;
}

.step-details {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 25px;
}

.step-details span {
    border: 1px solid rgba(167,139,250,0.25);
    background: rgba(139,92,246,0.06);
    color: #d4c8f0;
    padding: 9px 13px;
    font-size: 11px;
    border-radius: 3px;
}

.step-note {
    margin-top: 30px;
    padding: 18px 20px;
    border-left: 2px solid var(--a-violet);
    background: rgba(255,255,255,0.035);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.step-note span {
    color: var(--a-lavender);
    font-size: 9px;
    letter-spacing: 1.6px;
    font-weight: 700;
}

.step-note strong {
    color: #e9e3f5;
    font-size: 13px;
    font-weight: 500;
}


/* PRINCIPLES */

.principles-section {
    padding: 145px 0;
    background: #f8f7fa;
    color: var(--a-graphite);
}

.principles-heading {
    margin-bottom: 65px;
}

.principles-heading .eyebrow {
    color: #8058d3;
}

.principles-heading h2 {
    margin: 22px 0 0;
    font-size: clamp(42px, 5vw, 65px);
}

.principles-heading h2 span {
    color: #8a6bc3;
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.principle-card {
    position: relative;
    min-height: 285px;
    padding: 27px 22px;
    border: 1px solid #e5e1eb;
    background: white;
    transition: transform .35s, border-color .35s, box-shadow .35s;
}

.principle-card:hover {
    transform: translateY(-8px);
    border-color: #b8a3e4;
    box-shadow: 0 20px 45px rgba(37,27,57,0.07);
}

.principle-index {
    position: absolute;
    top: 24px;
    right: 23px;
    font-size: 10px;
    color: #9992a5;
}

.principle-symbol {
    margin: 28px 0 22px;
    color: #8058d3;
    font-size: 35px;
}

.principle-card h3 {
    font-size: 20px;
    line-height: 1.2;
    margin-bottom: 14px;
    letter-spacing: -0.6px;
}

.principle-card p {
    color: #777181;
    font-size: 12px;
    line-height: 1.8;
}


/* TECHNOLOGY */

.technology-section {
    padding: 125px 0;
    background: #242132;
}

.technology-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 100px;
}

.technology-copy h2 {
    margin: 22px 0;
    font-size: clamp(42px, 4.5vw, 60px);
    line-height: 1.08;
}

.technology-copy h2 span {
    color: var(--a-lavender);
}

.technology-copy p {
    max-width: 470px;
    color: #aaa6b8;
    font-size: 14px;
    line-height: 1.9;
}

.technology-cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.technology-cloud span {
    padding: 17px 20px;
    border: 1px solid rgba(167,139,250,0.25);
    border-radius: 4px;
    background: rgba(255,255,255,0.035);
    color: #e7dff8;
    font-family: "Space Grotesk", sans-serif;
    font-size: 13px;
    transition: background .3s, transform .3s;
}

.technology-cloud span:hover {
    background: rgba(139,92,246,0.18);
    transform: translateY(-4px);
}


/* CTA */

.approach-cta {
    position: relative;
    overflow: hidden;
    padding: 140px 0;
    background: #171522;
    text-align: center;
}

.cta-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    top: -250px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(139,92,246,0.17);
    filter: blur(110px);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    margin: 24px 0;
    font-size: clamp(58px, 8vw, 100px);
    line-height: .98;
}

.cta-content h2 span {
    color: var(--a-lavender);
}

.cta-content > p {
    color: #aaa6b8;
    font-size: 15px;
    line-height: 1.8;
}

.approach-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 32px;
    padding: 16px 22px;
    background: var(--a-violet);
    color: white;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
    transition: background .3s, transform .3s;
}

.approach-cta-button:hover {
    background: #7544db;
    transform: translateY(-3px);
}

.approach-cta-button span {
    font-size: 17px;
}


/* FOOTER */

.approach-page .site-footer {
    padding: 65px 0 25px;
    background: #111019;
    color: white;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.approach-page .footer-container {
    width: min(1160px, 88%);
    margin: auto;
}

.approach-page .footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: white;
    font-family: "Space Grotesk", sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
}

.footer-mark {
    font-size: 26px;
    letter-spacing: -3px;
    color: var(--a-lavender);
}

.approach-page .footer-container > p {
    margin: 20px 0 30px;
    color: #9993a6;
    font-size: 13px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    padding-bottom: 35px;
}

.footer-links a {
    color: #aaa6b8;
    font-size: 12px;
    transition: color .3s;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: #777181;
    font-size: 10px;
}


/* REVEAL ANIMATION */

.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity .8s ease, transform .8s ease;
}

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


/* ANIMATIONS */

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

@keyframes node-float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-9px);
    }
}


/* RESPONSIVE */

@media (max-width: 900px) {

    .approach-hero {
        padding-top: 165px;
        min-height: 850px;
    }

    .hero-visual {
        opacity: .5;
        right: -100px;
        top: 300px;
        transform: scale(.8);
    }

    .hero-content {
        z-index: 2;
    }

    .approach-hero .hero-content > p {
        max-width: 490px;
    }

    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .process-layout {
        grid-template-columns: 45px 1fr;
        gap: 20px;
    }

    .step-inner {
        padding-left: 70px;
    }

    .principles-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .technology-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .technology-cloud {
        justify-content: flex-start;
    }

    .approach-page .menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 6px;
        width: 35px;
        height: 35px;
        justify-content: center;
        align-items: center;
        border: none;
        background: none;
        cursor: pointer;
    }

    .approach-page .menu-toggle span {
        width: 24px;
        height: 2px;
        background: white;
        transition: .3s;
    }

    .approach-page .main-nav {
        display: none;
        position: absolute;
        top: 82px;
        left: 0;
        width: 100%;
        padding: 28px 6%;
        background: #201c2d;
        flex-direction: column;
        align-items: flex-start;
        gap: 22px;
        border-bottom: 1px solid rgba(255,255,255,.1);
    }

    .approach-page .main-nav.open {
        display: flex;
    }

    .approach-page .menu-toggle.open span:first-child {
        transform: translateY(4px) rotate(45deg);
    }

    .approach-page .menu-toggle.open span:last-child {
        transform: translateY(-4px) rotate(-45deg);
    }
}


@media (max-width: 600px) {

    .approach-container {
        width: 88%;
    }

    .approach-page .nav-container {
        min-height: 72px;
    }

    .approach-hero {
        min-height: 820px;
        padding-top: 150px;
    }

    .approach-hero h1 {
        font-size: clamp(49px, 13vw, 69px);
        margin-top: 24px;
    }

    .approach-hero .hero-content > p {
        font-size: 14px;
        max-width: 100%;
    }

    .hero-visual {
        width: 300px;
        height: 300px;
        top: 430px;
        right: 50%;
        transform: translateX(50%) scale(.8);
        opacity: .75;
    }

    .hero-bottom {
        margin-top: 125px;
        gap: 12px;
        flex-wrap: wrap;
        justify-content: flex-start;
        font-size: 8px;
    }

    .philosophy-section,
    .principles-section {
        padding: 95px 0;
    }

    .philosophy-content h2 {
        font-size: 43px;
    }

    .process-section {
        padding: 100px 0;
    }

    .process-heading {
        display: block;
        margin-bottom: 55px;
    }

    .process-heading h2 {
        font-size: 47px;
    }

    .process-heading > p {
        margin-top: 22px;
    }

    .process-layout {
        grid-template-columns: 25px 1fr;
        gap: 14px;
    }

    .progress-number {
        width: 35px;
        height: 35px;
        font-size: 11px;
    }

    .step-trigger {
        grid-template-columns: 30px 1fr 30px;
        gap: 10px;
        padding: 27px 0;
    }

    .step-title strong {
        font-size: 20px;
        line-height: 1.25;
    }

    .step-title small {
        font-size: 8px;
    }

    .step-icon {
        width: 28px;
        height: 28px;
    }

    .step-inner {
        padding-left: 40px;
    }

    .step-inner > p {
        font-size: 13px;
    }

    .step-details {
        gap: 7px;
    }

    .step-details span {
        font-size: 10px;
        padding: 8px 9px;
    }

    .principles-heading {
        margin-bottom: 40px;
    }

    .principles-heading h2 {
        font-size: 43px;
    }

    .principles-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .principle-card {
        min-height: 230px;
        padding: 23px;
    }

    .technology-section {
        padding: 95px 0;
    }

    .technology-copy h2 {
        font-size: 44px;
    }

    .technology-cloud {
        gap: 9px;
    }

    .technology-cloud span {
        padding: 13px 14px;
        font-size: 11px;
    }

    .approach-cta {
        padding: 100px 0;
    }

    .cta-content h2 {
        font-size: 64px;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .footer-links {
        gap: 17px;
    }
}


@media (prefers-reduced-motion: reduce) {

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

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