﻿@font-face {
    font-family: 'Brandon Grotesque';
    src: url('/assets/fonts/BrandonGrotesque-Medium.woff2') format('woff2');
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: 'Brandon Grotesque';
    src: url('/assets/fonts/BrandonGrotesque-Light.woff2') format('woff2');
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: 'Brandon Text';
    src: url('/assets/fonts/BrandonText-Regular.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Libre Bodoni';
    src: url('/assets/fonts/LibreBodoni-Regular.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}

:root {
    --ps-slate: #40535F;
    --ps-navy: #002A4E;
    --ps-plum: #6F345F;
    --ps-ink: #121212;
    --ps-white: #FFFFFF;
    --ps-input-line: #C2C2C2;
    --ps-footer-link: #B9C3CC;
    --ps-hairline: rgba(255,255,255,0.3);
    --ps-font-heading: 'Brandon Grotesque', 'Trebuchet MS', 'Segoe UI', sans-serif;
    --ps-font-body: 'Brandon Text', 'Trebuchet MS', 'Segoe UI', sans-serif;
    --ps-font-display: 'Libre Bodoni', Georgia, serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: clip;
}

@supports not (overflow: clip) {
    html, body {
        overflow-x: hidden;
    }
}

body {
    font-family: var(--ps-font-body);
    color: var(--ps-ink);
    background: var(--ps-white);
}

svg {
    display: block;
}

/* ===== header ===== */
.ps-header {
    position: sticky;
    top: 0;
    z-index: 10;
    color: var(--ps-white);
    background: linear-gradient(90deg, #40535F 0%, #40535F 77%, rgba(64,83,95,0.5) 100%);
}

.ps-header-inner {
    padding: 0 7vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.ps-logo img {
    width: 145px;
    height: 35px;
    display: block;
}

.ps-header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    flex: 1;
    min-width: 0;
}

.ps-topbar {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 26px;
    padding: 9px 0;
    width: fit-content;
}

    .ps-topbar::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: -32px;
        right: -100vw;
        height: 1px;
        background: var(--ps-hairline);
    }

.ps-topbar-item {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--ps-white);
    text-decoration: none;
    font-size: 14px;
}

    .ps-topbar-item svg {
        width: 18px;
        height: 18px;
    }

.ps-pill {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 35px;
    padding: 0 16px;
    color: var(--ps-white);
    text-decoration: none;
    font-family: var(--ps-font-heading);
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

    .ps-pill .ps-pill-border {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        pointer-events: none;
    }

    .ps-pill:hover {
        background: rgba(255,255,255,0.07);
        border-radius: 5px;
    }

    .ps-pill .ps-icon-lock {
        width: 18px;
        height: 18px;
        fill: var(--ps-white);
        flex: none;
    }

.ps-nav {
    display: flex;
    justify-content: flex-end;
}

.ps-nav-item {
    position: relative;
}

    .ps-nav-item > a {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        color: var(--ps-white);
        text-decoration: none;
        font-size: 12px;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        padding: 16px 18px 18px;
    }

    .ps-nav-item:hover > a {
        background: rgba(111, 52, 95, 0.55);
    }

.ps-nav .ps-chevron {
    width: 10px;
    height: 7px;
    fill: var(--ps-white);
    transition: transform 0.15s;
}

.ps-nav-item:hover .ps-chevron {
    transform: rotate(180deg);
}

.ps-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 189px;
    background: var(--ps-slate);
    padding: 10px;
    border-radius: 0 0 8px 8px;
}

.ps-nav-item:hover .ps-menu {
    display: block;
}

.ps-menu a {
    display: block;
    color: var(--ps-white);
    text-decoration: none;
    font-family: var(--ps-font-heading);
    font-weight: 500;
    font-size: 12px;
    line-height: 16.8px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 10px;
    white-space: nowrap;
}

    .ps-menu a:hover {
        background: rgba(111, 52, 95, 0.55);
    }

.ps-hero {
    position: relative;
    background: var(--ps-slate);
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    margin-top: -104px;
}

    .ps-hero::before {
        content: '';
        position: absolute;
        inset: 0;
        background: url('/assets/images/hero-building.jpg') center 30% / cover no-repeat;
        opacity: 0.4;
    }

.ps-hero-content {
    position: relative;
    width: 100%;
    padding: 170px 7vw 116px;
}

.ps-eyebrow {
    font-family: var(--ps-font-heading);
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ps-white);
    margin-bottom: 18px;
}

.ps-hero h1 {
    font-family: var(--ps-font-display);
    font-weight: 400;
    font-size: min(52px, 4.11vw);
    line-height: 1.2;
    color: var(--ps-white);
}

.ps-login {
    display: grid;
    grid-template-columns: 23% 1fr;
    min-height: 620px;
}

.ps-login-art {
    position: relative;
    background: var(--ps-slate);
}

    .ps-login-art::before {
        content: '';
        position: absolute;
        inset: 0;
        background: url('/assets/images/login-left-tall.jpg') center / cover no-repeat;
        opacity: 0.35;
        filter: blur(2px);
    }

    .ps-login-art img {
        position: absolute;
        top: 50%;
        left: 30%;
        transform: translateY(-44%);
        width: 110%;
        max-width: 320px;
        box-shadow: 0 10px 40px rgba(0,0,0,0.25);
    }

.ps-login-form-col {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 70px 24px;
}

.ps-login-form {
    width: 100%;
    max-width: 38.5vw;
}

    .ps-login-form h2 {
        font-family: var(--ps-font-heading);
        font-weight: 500;
        font-size: 22px;
        line-height: 1.3;
        letter-spacing: 0.02em;
        text-transform: uppercase;
        color: var(--ps-ink);
        margin-bottom: 18px;
    }

.ps-mission {
    font-size: 16px;
    line-height: 1.6;
    color: var(--ps-ink);
    margin-bottom: 34px;
}

.ps-input-underline {
    font-family: var(--ps-font-body);
    font-size: 18px;
    line-height: 1.4;
    color: var(--ps-ink);
    background: var(--ps-white);
    border: none;
    border-bottom: 1px solid var(--ps-input-line);
    border-radius: 0;
    padding: 3px 3px 10px 12px;
    outline: none;
    width: 100%;
    margin-bottom: 36px;
}

    .ps-input-underline:focus {
        border-bottom-color: var(--ps-plum);
    }

    .ps-input-underline::placeholder {
        color: #8a8a8a;
    }

.ps-form-error {
    display: block;
    color: #a12626;
    font-size: 15px;
    line-height: 1.4;
    margin: -20px 0 24px;
}

.ps-login-field {
    position: relative;
}

    .ps-login-field .ps-input-underline {
        display: block;
    }

    .ps-login-field > span {
        display: block;
        color: #a12626;
        font-size: 13px;
        line-height: 1.4;
        margin: -28px 0 12px 12px;
    }

.ps-form-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
}

.ps-remember {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
}

    .ps-remember input {
        width: 16px;
        height: 16px;
        accent-color: var(--ps-plum);
    }

.ps-link {
    font-family: var(--ps-font-body);
    font-size: 16px;
    color: var(--ps-plum);
    text-decoration: none;
}

    .ps-link:hover {
        text-decoration: underline;
    }

.ps-link-underline {
    text-decoration: underline;
}

.ps-btn-primary {
    font-family: var(--ps-font-heading);
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 0.05em;
    color: var(--ps-white);
    background: var(--ps-plum);
    border: none;
    border-radius: 8px;
    height: 42px;
    padding: 8px 42px;
    cursor: pointer;
    text-transform: uppercase;
}

    .ps-btn-primary:hover {
        background: #5d2b50;
    }

.ps-register {
    margin-top: 26px;
    font-size: 16px;
}

/* ===== client registration ===== */
.ps-register-section {
    background: var(--ps-white);
}

.ps-register-inner {
    padding: 70px 7vw 104px;
}

.ps-register-form {
    width: 100%;
    max-width: 44.2vw;
    margin-left: 12.1vw;
}

    .ps-register-form h2 {
        font-family: var(--ps-font-heading);
        font-weight: 500;
        font-size: 22px;
        line-height: 1.3;
        letter-spacing: 0.02em;
        text-transform: uppercase;
        color: var(--ps-ink);
        margin-bottom: 18px;
    }

    .ps-register-form .ps-mission {
        margin-bottom: 0;
    }

.ps-register-field {
    position: relative;
}

    .ps-register-field .ps-input-underline {
        display: block;
        margin-bottom: 35px;
    }

    .ps-register-field > span {
        display: block;
        color: #a12626;
        font-size: 13px;
        line-height: 1.4;
        margin: -28px 0 12px 12px;
    }

.ps-register-message {
    display: block;
    color: #a12626;
    font-size: 15px;
    line-height: 1.4;
    margin: -14px 0 24px;
}

    .ps-register-message a {
        color: var(--ps-plum);
    }

.ps-submit-wrap {
    position: relative;
    display: inline-flex;
    width: 125px;
    height: 42px;
    border-radius: 8px;
    background: var(--ps-plum);
}

    .ps-submit-wrap:hover {
        background: #5d2b50;
    }

    .ps-submit-wrap::after {
        content: 'SUBMIT';
        position: absolute;
        inset: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        pointer-events: none;
        font-family: var(--ps-font-heading);
        font-weight: 500;
        font-size: 16px;
        letter-spacing: 0.05em;
        color: var(--ps-white);
    }

    .ps-submit-wrap.ps-login-submit::after {
        content: 'LOGIN';
    }

.ps-submit-image {
    width: 125px !important;
    height: 42px !important;
    padding: 0 !important;
    border: 0 !important;
    opacity: 0;
    cursor: pointer;
}

.ps-have-account {
    margin-top: 26px;
    font-size: 16px;
}

/* ===== footer ===== */
.ps-footer {
    background: var(--ps-slate);
    color: var(--ps-white);
    overflow: hidden;
}

.ps-footer-inner {
    padding: 0 7vw;
}

.ps-stay {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 44px 0 36px;
}

    .ps-stay h3 {
        font-family: var(--ps-font-heading);
        font-weight: 500;
        font-size: 14px;
        letter-spacing: 0.14em;
        text-transform: uppercase;
        margin-bottom: 8px;
    }

    .ps-stay p {
        font-size: 14px;
        line-height: 1.6;
        color: var(--ps-white);
    }

.ps-btn-outline {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    min-width: 187px;
    padding: 0 22px;
    background: transparent;
    border: 2px solid var(--ps-white);
    border-radius: 5px;
    color: var(--ps-white);
    font-family: var(--ps-font-heading);
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
}

    .ps-btn-outline:hover {
        background: rgba(255,255,255,0.1);
    }

.ps-footer-divider {
    border: none;
    border-top: 1px solid var(--ps-hairline);
}

.ps-footer-cols {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    padding: 52px 0 0;
    position: relative;
}

.ps-footer-brand img {
    width: 196px;
    margin-bottom: 30px;
}

.ps-footer-brand p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--ps-footer-link);
    margin-bottom: 18px;
}

.ps-footer-brand a {
    color: var(--ps-footer-link);
    text-decoration: none;
}

    .ps-footer-brand a:hover {
        color: var(--ps-white);
    }

.ps-follow {
    font-size: 14px;
    color: var(--ps-footer-link);
    margin-top: 26px;
    margin-bottom: 10px;
}

.ps-social {
    display: flex;
    gap: 14px;
}

    .ps-social a {
        display: block;
    }

    .ps-social svg {
        width: 19px;
        height: 19px;
        fill: var(--ps-footer-link);
    }

    .ps-social a:hover svg {
        fill: var(--ps-white);
    }

.ps-footer-nav {
    display: flex;
    flex-direction: column;
    gap: 13px;
    padding-top: 6px;
    width: 235px;
    flex: none;
    align-items: flex-start;
}

    .ps-footer-nav a, .ps-footer-nav summary {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        font-family: var(--ps-font-heading);
        font-weight: 500;
        font-size: 13px;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: var(--ps-footer-link);
        text-decoration: none;
    }

        .ps-footer-nav a:hover, .ps-footer-nav summary:hover {
            color: var(--ps-white);
        }

    .ps-footer-nav .ps-chevron {
        width: 10px;
        height: 7px;
        fill: var(--ps-footer-link);
        transition: transform 0.15s;
    }

    .ps-footer-nav details summary {
        cursor: pointer;
        list-style: none;
    }

        .ps-footer-nav details summary::-webkit-details-marker {
            display: none;
        }

    .ps-footer-nav details[open] > summary .ps-chevron {
        transform: rotate(180deg);
    }

    .ps-footer-nav details > div {
        display: flex;
        flex-direction: column;
        gap: 9px;
        padding: 15px 0 13px;
    }

        .ps-footer-nav details > div a {
            font-size: 12px;
            letter-spacing: 0.08em;
        }

.ps-footer-art {
    position: relative;
    width: 400px;
    min-height: 420px;
    flex: none;
}

    .ps-footer-art .ps-art-back {
        position: absolute;
        top: 0;
        right: 0;
        width: 290px;
    }

    .ps-footer-art .ps-art-front {
        position: absolute;
        top: 150px;
        right: 180px;
        width: 220px;
    }

/* copyright strip sits OUTSIDE the dark footer: white bg, slate text */
.ps-copyright {
    background: var(--ps-white);
    color: var(--ps-slate);
    font-family: var(--ps-font-heading);
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 18px 7vw;
}

.ps-menu-toggle, .ps-hamburger, .ps-mobile-menu {
    display: none;
}

@media (max-width: 1000px) {
    .ps-header {
        background: var(--ps-slate);
    }

    .ps-header-inner {
        padding: 12px 7vw;
    }

    .ps-header-right {
        display: none;
    }

    .ps-logo img {
        width: 135px;
        height: auto;
    }

    /* hamburger + full-screen menu */
    .ps-hamburger {
        display: block;
        cursor: pointer;
    }

        .ps-hamburger svg {
            width: 38px;
            height: 22px;
            stroke: var(--ps-white);
            stroke-width: 2;
        }

    .ps-menu-toggle:checked ~ .ps-mobile-menu {
        display: flex;
        flex-direction: column;
        position: fixed;
        inset: 0;
        background: var(--ps-slate);
        z-index: 100;
        padding: 80px 7vw 36px;
        overflow: auto;
    }

    .ps-menu-close {
        position: absolute;
        top: 26px;
        right: 22px;
        cursor: pointer;
    }

        .ps-menu-close svg {
            width: 20px;
            height: 20px;
            fill: var(--ps-white);
        }

    .ps-menu-nav {
        display: flex;
        flex-direction: column;
    }

    .ps-menu-footer {
        margin-top: auto;
        border-top: 1px solid var(--ps-hairline);
        padding-top: 28px;
    }

    .ps-menu-pills {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        margin-bottom: 28px;
    }

    .ps-menu-contact {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .ps-menu-nav > a, .ps-menu-nav summary {
        display: flex;
        justify-content: space-between;
        align-items: center;
        color: var(--ps-white);
        text-decoration: none;
        font-size: 17px;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        padding: 15px 0;
        cursor: pointer;
        list-style: none;
    }

        .ps-menu-nav summary::-webkit-details-marker {
            display: none;
        }

    .ps-menu-nav .ps-chevron {
        width: 14px;
        height: 9px;
        fill: var(--ps-white);
        transition: transform 0.15s;
    }

    .ps-menu-nav details[open] summary .ps-chevron {
        transform: rotate(180deg);
    }

    .ps-menu-nav details > div {
        display: flex;
        flex-direction: column;
        padding: 2px 0 12px 16px;
    }

        .ps-menu-nav details > div a {
            color: var(--ps-white);
            text-decoration: none;
            font-family: var(--ps-font-heading);
            font-weight: 500;
            font-size: 13px;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            padding: 8px 0;
        }
    .ps-hero {
        margin-top: 0;
    }

    .ps-login-form {
        max-width: 42vw;
    }
}

@media (max-width: 750px) {
    .ps-hero::before {
        opacity: 0.7;
    }

    .ps-hero-content {
        padding: 120px 7vw 60px;
    }

    .ps-hero h1 {
        font-size: 30px;
    }

    /* login */
    .ps-login {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .ps-login-art {
        height: auto;
        padding: 44px 0 48px;
        display: flex;
        justify-content: center;
    }

        .ps-login-art img {
            position: static;
            transform: none;
            width: 62%;
            max-width: 300px;
        }

    .ps-login-form-col {
        padding: 50px 7vw 60px;
    }

    .ps-login-form {
        max-width: none;
    }

        .ps-login-form h2 {
            font-size: 18px;
        }

    .ps-input-underline {
        font-size: 14px;
    }

    .ps-register-inner {
        padding: 56px 7vw 70px;
    }

    .ps-register-form {
        margin-left: 0;
        max-width: none;
    }

        .ps-register-form h2 {
            font-size: 18px;
        }

    /* footer: collage at top of the stacked columns. */
    .ps-stay {
        flex-direction: column;
        align-items: flex-start;
    }

    .ps-footer-cols {
        flex-direction: column;
        gap: 36px;
    }

    .ps-footer-art {
        order: -1;
        width: 100%;
        min-height: 0;
        margin: 0 0 44px;
    }

        .ps-footer-art .ps-art-back {
            position: static;
            display: block;
            margin-left: auto;
            width: min(82%, 380px);
        }

        .ps-footer-art .ps-art-front {
            top: auto;
            left: 0;
            right: auto;
            bottom: -28px;
            width: min(62%, 285px);
        }
}
