/* =========================================================
   PATHWEAVE V1 — GLOBAL DESIGN SYSTEM
   People • Process • Technology
   ========================================================= */

/* ---------- Brand Tokens ---------- */

:root {
    --pw-navy: #0B1F33;
    --pw-navy-deep: #071827;
    --pw-blue: #1D4ED8;
    --pw-ice: #F4F9FD;
    --pw-ice-dark: #E8F1F8;

    --pw-white: #FFFFFF;
    --pw-text: #172B3A;
    --pw-text-soft: #5B6B78;
    --pw-border: #D9E4EC;

    --pw-max-width: 1180px;

    --pw-radius-sm: 8px;
    --pw-radius-md: 14px;
    --pw-radius-lg: 22px;

    --pw-shadow: 0 12px 35px rgba(7, 24, 39, 0.08);

    --pw-transition: 220ms ease;
}


/* ---------- Reset ---------- */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", Arial, sans-serif;
    color: var(--pw-text);
    background: var(--pw-white);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

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

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


/* ---------- Global Layout ---------- */

.pw-container {
    width: min(100% - 48px, var(--pw-max-width));
    margin-inline: auto;
}

.pw-section {
    padding: 96px 0;
}

.pw-section--ice {
    background: var(--pw-ice);
}

.pw-section--navy {
    background: var(--pw-navy);
    color: var(--pw-white);
}


/* ---------- Typography ---------- */

.pw-eyebrow {
    display: inline-block;
    margin-bottom: 18px;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;

    color: var(--pw-blue);
}

.pw-section--navy .pw-eyebrow {
    color: #B9D8F2;
}

.pw-title {
    max-width: 780px;

    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.08;
    font-weight: 500;
    letter-spacing: -0.025em;
}

.pw-section-title {
    max-width: 720px;

    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.12;
    font-weight: 500;
    letter-spacing: -0.02em;
}

.pw-lead {
    max-width: 700px;
    margin-top: 24px;

    font-size: 18px;
    line-height: 1.75;
    color: var(--pw-text-soft);
}

.pw-section--navy .pw-lead {
    color: #C9D7E2;
}


/* ---------- Buttons ---------- */

.pw-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    min-height: 48px;
    padding: 0 22px;

    border: 1px solid transparent;
    border-radius: 999px;

    font-size: 14px;
    font-weight: 600;

    cursor: pointer;
    transition:
        transform var(--pw-transition),
        background var(--pw-transition),
        border-color var(--pw-transition),
        color var(--pw-transition);
}

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

.pw-btn--primary {
    background: var(--pw-navy);
    color: var(--pw-white);
}

.pw-btn--primary:hover {
    background: var(--pw-navy-deep);
}

.pw-btn--light {
    background: var(--pw-white);
    color: var(--pw-navy);
}

.pw-btn--outline {
    border-color: var(--pw-border);
    color: var(--pw-navy);
    background: transparent;
}

.pw-btn--outline:hover {
    border-color: var(--pw-navy);
}


/* ---------- Header ---------- */

.pw-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);

    border-bottom: 1px solid rgba(217, 228, 236, 0.8);
}

.pw-nav {
    min-height: 76px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.pw-logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.pw-logo img {
    width: 150px;
    height: auto;
}

.pw-nav-links {
    display: flex;
    align-items: center;
    gap: 28px;

    font-size: 14px;
    font-weight: 500;
}

.pw-nav-links a {
    position: relative;
    padding: 28px 0;
    color: var(--pw-text);
}

.pw-nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 19px;

    height: 2px;
    background: var(--pw-blue);

    transform: scaleX(0);
    transform-origin: center;

    transition: transform var(--pw-transition);
}

.pw-nav-links a:hover::after,
.pw-nav-links a.active::after {
    transform: scaleX(1);
}

.pw-nav-cta {
    margin-left: 4px;
}


/* ---------- Mobile Navigation ---------- */

.pw-menu-toggle {
    display: none;

    width: 44px;
    height: 44px;

    border: 1px solid var(--pw-border);
    border-radius: 10px;

    background: var(--pw-white);
    cursor: pointer;
}

.pw-menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;

    background: var(--pw-navy);
}


/* ---------- Hero ---------- */

.pw-hero {
    padding: 80px 100px;
    background: var(--pw-ice);
}

.pw-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    align-items: center;
    gap: 80px;
}

.pw-hero-copy {
    max-width: 720px;
}

.pw-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.pw-hero-visual {
    min-height: 360px;

    border-radius: var(--pw-radius-lg);
    background: var(--pw-navy);

    box-shadow: var(--pw-shadow);
}


/* ---------- Practice Cards ---------- */

.pw-practice-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.pw-practice-card {
    position: relative;

    min-height: 360px;
    padding: 34px;

    border: 1px solid var(--pw-border);
    border-radius: var(--pw-radius-md);

    background: var(--pw-white);

    transition:
        transform var(--pw-transition),
        box-shadow var(--pw-transition),
        border-color var(--pw-transition);
}

.pw-practice-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--pw-shadow);
    border-color: #B8CCDB;
}

.pw-practice-number {
    margin-bottom: 70px;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--pw-blue);
}

.pw-practice-card h3 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 30px;
    line-height: 1.15;
    font-weight: 500;
}

.pw-practice-card p {
    margin-top: 16px;
    color: var(--pw-text-soft);
}


/* ---------- Service Lists ---------- */

.pw-service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-top: 48px;
}

.pw-service-card {
    padding: 28px;

    border: 1px solid var(--pw-border);
    border-radius: var(--pw-radius-md);

    background: var(--pw-white);
}

.pw-service-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
}

.pw-service-card p {
    color: var(--pw-text-soft);
}


/* ---------- PW-3 ---------- */

.pw-sutra-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.pw-sutra-card {
    padding: 32px;

    border-radius: var(--pw-radius-md);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.pw-sutra-card h3 {
    margin-bottom: 12px;

    font-family: "Playfair Display", Georgia, serif;
    font-size: 28px;
    font-weight: 500;
}

.pw-sutra-card p {
    color: #C9D7E2;
}


/* ---------- CTA ---------- */

.pw-cta {
    padding: 80px 0;
    background: var(--pw-navy);
    color: var(--pw-white);
}

.pw-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.pw-cta h2 {
    max-width: 700px;

    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.12;
    font-weight: 500;
}


/* ---------- Footer ---------- */

.pw-footer {
    padding: 70px 0 28px;

    background: var(--pw-navy-deep);
    color: var(--pw-white);
}

.pw-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 50px;
}

.pw-footer-brand p {
    max-width: 330px;
    margin-top: 20px;
    color: #AFC0CD;
}

.pw-footer-column h4 {
    margin-bottom: 18px;

    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.pw-footer-column a {
    display: block;
    margin-bottom: 10px;

    color: #AFC0CD;
    font-size: 14px;
}

.pw-footer-column a:hover {
    color: var(--pw-white);
}

.pw-footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;

    margin-top: 55px;
    padding-top: 22px;

    border-top: 1px solid rgba(255, 255, 255, 0.12);

    color: #8295A3;
    font-size: 12px;
}


/* ---------- Responsive ---------- */

@media (max-width: 900px) {

    .pw-nav {
        position: relative;
    }

    .pw-nav-links {
        display: none;
    }

    .pw-nav-links.pw-nav-open {
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 16px 22px 22px;
        border: 1px solid var(--pw-border);
        border-top: 0;
        border-radius: 0 0 16px 16px;
        background: var(--pw-white);
        box-shadow: var(--pw-shadow);
    }

    .pw-nav-links.pw-nav-open a {
        padding: 11px 0;
    }

    .pw-nav-links.pw-nav-open a::after {
        bottom: 5px;
    }

    .pw-nav-links.pw-nav-open .pw-nav-cta {
        margin: 8px 0 0;
        padding: 0;
    }

    .pw-menu-toggle {
        display: block;
    }

    .pw-hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .pw-practice-grid,
    .pw-sutra-grid {
        grid-template-columns: 1fr;
    }

    .pw-service-grid {
        grid-template-columns: 1fr;
    }

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

    .pw-cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 600px) {

    .pw-container {
        width: min(100% - 32px, var(--pw-max-width));
    }

    .pw-section {
        padding: 70px 0;
    }

    .pw-hero {
        padding: 75px 0 70px;
    }

    .pw-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .pw-btn {
        width: 100%;
    }

    .pw-practice-card {
        min-height: auto;
    }

    .pw-footer-grid {
        grid-template-columns: 1fr;
    }

    .pw-footer-bottom {
        flex-direction: column;
    }
}
/* =========================================================
   PATHWEAVE V1 — HOMEPAGE COMPONENTS
   ========================================================= */


/* ---------- Hero Highlight ---------- */

.pw-highlight {
    display: block;
    color: var(--pw-blue);
}


/* ---------- Hero Visual ---------- */

.pw-hero-visual {
    position: relative;
    overflow: hidden;
}

.pw-hero-visual-inner {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;
}

.pw-hero-orbit {
    position: relative;

    width: 300px;
    height: 300px;

    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
}

.pw-orbit-center {
    position: absolute;

    top: 50%;
    left: 50%;

    width: 120px;
    height: 120px;

    transform: translate(-50%, -50%);

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--pw-white);
    color: var(--pw-navy);

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;

    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.pw-orbit-node {
    position: absolute;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 90px;
    height: 90px;

    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.08);
    color: var(--pw-white);

    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.08em;
}

.pw-node-1 {
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
}

.pw-node-2 {
    bottom: 5px;
    left: -25px;
}

.pw-node-3 {
    right: -25px;
    bottom: 5px;
}


/* ---------- Card Link ---------- */

.pw-card-link {
    display: inline-block;

    margin-top: 28px;

    font-size: 13px;
    font-weight: 600;
    color: var(--pw-blue);
}


/* ---------- Section Intro ---------- */

.pw-section-intro {
    max-width: 820px;
}


/* ---------- Process ---------- */

.pw-process-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);

    gap: 0;

    margin-top: 55px;

    border-top: 1px solid var(--pw-border);
}

.pw-process-step {
    padding: 28px 20px 20px 0;

    border-right: 1px solid var(--pw-border);
}

.pw-process-step:not(:first-child) {
    padding-left: 20px;
}

.pw-process-step:last-child {
    border-right: none;
}

.pw-process-step > span {
    display: block;

    margin-bottom: 28px;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--pw-blue);
}

.pw-process-step h3 {
    margin-bottom: 10px;

    font-size: 17px;
}

.pw-process-step p {
    font-size: 14px;
    color: var(--pw-text-soft);
}


/* ---------- Scale Readiness ---------- */

.pw-readiness {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 80px;
    align-items: center;
}

.pw-readiness .pw-btn {
    margin-top: 28px;
}


/* ---------- Responsive Homepage ---------- */

@media (max-width: 900px) {

    .pw-process-grid {
        grid-template-columns: 1fr 1fr;
    }

    .pw-process-step {
        border-right: none;
        border-bottom: 1px solid var(--pw-border);
    }

    .pw-process-step:not(:first-child) {
        padding-left: 0;
    }

    .pw-readiness {
        grid-template-columns: 1fr;
        gap: 30px;
    }

}


@media (max-width: 600px) {

    .pw-hero-visual {
        min-height: 300px;
    }

    .pw-hero-orbit {
        width: 230px;
        height: 230px;
    }

    .pw-orbit-center {
        width: 95px;
        height: 95px;

        font-size: 10px;
    }

    .pw-orbit-node {
        width: 70px;
        height: 70px;

        font-size: 8px;
    }

    .pw-node-1 {
        top: -15px;
    }

    .pw-node-2 {
        left: -15px;
    }

    .pw-node-3 {
        right: -15px;
    }

    .pw-process-grid {
        grid-template-columns: 1fr;
    }

    .pw-process-step {
        padding: 24px 0;
    }

}
/* ---------- Footer Logo ---------- */

.pw-footer-logo {
    width: 150px;
    height: auto;
    display: block;
    margin-bottom: 24px;

    filter:
        brightness(0)
        invert(1);
}
