/* PSRA GROUP — site styles */
:root {
    --paper: #f5f2ec;
    --paper-2: #ebe7de;
    --ink: #141925;
    --ink-2: #3c4252;
    --muted: #767b87;
    --line: #d9d4c9;
    --navy: #1c2333;
    --navy-2: #252d40;
    --navy-line: #353e53;
    --blue: #2f4fd9;
    --blue-2: #2442c4;
    --red: #e04a35;
    --display: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
    --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
    --wrap: 1180px;
    --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--display);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; letter-spacing: -0.035em; line-height: 1.02; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* Labels */
.eyebrow {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--blue);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--red); }
.eyebrow.plain::before { display: none; }
.mono { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.accent { color: var(--blue); }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; gap: 14px;
    font-size: 14px; font-weight: 500;
    padding: 13px 20px;
    border: 1px solid transparent;
    transition: background .2s, color .2s, border-color .2s, transform .2s;
    cursor: pointer;
    font-family: var(--display);
}
.btn .arr { transition: transform .2s; }
.btn:hover .arr { transform: translate(2px, -2px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-2); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--blue); }
.btn-ghost { color: var(--ink); padding-left: 4px; }
.btn-ghost:hover { color: var(--blue); }
.btn-light { background: #fff; color: var(--blue); }
.btn-light:hover { background: var(--ink); color: #fff; }
.link-arrow { display: inline-flex; gap: 10px; align-items: center; font-size: 13px; font-weight: 500; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link-arrow:hover { color: var(--blue); }

/* Header */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(245, 242, 236, .88);
    backdrop-filter: saturate(1.4) blur(10px);
    -webkit-backdrop-filter: saturate(1.4) blur(10px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #000; }
.brand-mark { width: auto; height: 40px; }
.brand-name { font-family: "Fraunces", Georgia, serif; font-weight: 700; font-size: 22px; letter-spacing: -0.01em; line-height: 1; color: #000; }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; margin: 0; padding: 0; font-size: 14px; }
.nav-links a { position: relative; padding: 4px 0; color: var(--ink-2); }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--blue); }
.nav-cta { margin-left: 8px; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 1.5px; background: var(--ink); margin: 5px 0; transition: transform .2s, opacity .2s; }

/* Hero */
.hero { padding: 72px 0 40px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(48px, 7.4vw, 104px); letter-spacing: -0.055em; line-height: .94; margin-bottom: 32px; }
.hero-lede { max-width: 420px; color: var(--ink-2); font-size: 16px; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-visual { position: relative; aspect-ratio: 1.12 / 1; background: linear-gradient(160deg, #e9e5dc 0%, #d6d0c3 100%); overflow: hidden; }
.hero-visual svg { width: 100%; height: 100%; }
.hero-tag { position: absolute; left: 20px; bottom: 20px; background: rgba(255,255,255,.85); padding: 10px 14px; font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; line-height: 1.6; }
.hero-tag b { color: var(--blue); font-weight: 500; }
.hero-side { position: absolute; right: 14px; top: 50%; writing-mode: vertical-rl; font-family: var(--mono); font-size: 10px; letter-spacing: .2em; color: var(--muted); text-transform: uppercase; }
.hero-foot { display: flex; justify-content: space-between; gap: 20px; margin-top: 64px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.hero-foot .mono { color: var(--blue); }

.spin { transform-origin: 300px 270px; animation: spin 40s linear infinite; }
.spin.rev { animation-duration: 60s; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Marquee */
.marquee { background: var(--paper-2); border-block: 1px solid var(--line); overflow: hidden; padding: 16px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee-item { display: inline-flex; align-items: center; gap: 22px; padding-right: 22px; font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; color: var(--ink-2); }
.marquee-item::after { content: ""; width: 6px; height: 6px; background: var(--red); border-radius: 50%; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Sections */
.section { padding: 120px 0; }
.section-sm { padding: 88px 0; }
.section-title { font-size: clamp(38px, 5vw, 64px); }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: end; margin-bottom: 64px; }
.section-head p { color: var(--ink-2); max-width: 440px; margin: 0; }

/* About split */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; }
.split-title { font-size: clamp(40px, 5.2vw, 68px); letter-spacing: -0.05em; }
.split-note { margin-top: 40px; font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); display: flex; gap: 14px; align-items: center; }
.split-note::before { content: ""; width: 40px; height: 1px; background: var(--red); }
.lead { font-size: 21px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.35; margin-bottom: 28px; }
.prose p { color: var(--ink-2); font-size: 15px; }
.principles { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; margin-top: 40px; }
.principle { border-top: 1px solid var(--line); padding: 16px 0 22px; }
.principle .mono { color: var(--blue); font-size: 10px; display: block; margin-bottom: 8px; }
.principle strong { font-weight: 500; font-size: 15px; }

/* Dark services */
.dark { background: var(--navy); color: #eef0f5; }
.dark .eyebrow { color: #8ea2ff; }
.dark .section-head p { color: #a9afbd; }
.service-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--navy-line); }
.service-row { display: grid; grid-template-columns: 60px 1fr 1.25fr 40px; gap: 24px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--navy-line); transition: background .25s, padding .25s; }
.service-row:hover { background: var(--navy-2); padding-inline: 16px; }
.service-row .num { font-family: var(--mono); font-size: 11px; color: #8ea2ff; }
.service-row h3 { font-size: clamp(20px, 2vw, 25px); letter-spacing: -0.025em; }
.service-row p { margin: 0; color: #a9afbd; font-size: 13.5px; line-height: 1.55; }
.service-row .go { justify-self: end; color: #8ea2ff; transition: transform .2s; }
.service-row:hover .go { transform: translate(3px, -3px); color: #fff; }
.chips { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 72px; padding: 22px 24px; border: 1px solid var(--navy-line); }
.chips > span { font-size: 13px; color: #a9afbd; margin-right: auto; }
.chip { font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; padding: 7px 11px; border: 1px solid var(--navy-line); color: #d8dcea; }
.chips-light .chip { border-color: var(--line); color: var(--ink-2); }

/* Orbit */
.orbit-section .split { align-items: center; }
.orbit { position: relative; aspect-ratio: 1; max-width: 520px; margin-left: auto; width: 100%; }
.orbit .ring { position: absolute; border: 1px solid var(--line); border-radius: 50%; inset: 0; }
.orbit .ring.r2 { inset: 16%; }
.orbit .ring.r3 { inset: 32%; border-color: #cfc8b9; }
.orbit-core { position: absolute; inset: 36%; background: var(--blue); color: #fff; display: grid; place-items: center; text-align: center; transform: rotate(-8deg); box-shadow: 0 24px 50px -20px rgba(47, 79, 217, .6); padding: 12px; }
.orbit-core span { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; line-height: 1.5; }
.orbit-tag { position: absolute; transform: translate(-50%, -50%); font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; background: var(--paper); border: 1px solid var(--line); padding: 6px 10px; white-space: nowrap; }

/* Mission */
.band { background: var(--paper-2); }
.mission { display: grid; grid-template-columns: 1fr 1.3fr; gap: 72px; align-items: center; }
.mission h2 { font-size: clamp(30px, 3.6vw, 46px); letter-spacing: -0.04em; line-height: 1.05; }
.mission p { color: var(--ink-2); margin: 0; max-width: 520px; }

/* Stats / why */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.why { padding: 28px 28px 8px 0; border-right: 1px solid var(--line); }
.why + .why { padding-left: 28px; }
.why:last-child { border-right: 0; }
.why .mono { color: var(--blue); font-size: 10px; }
.why h3 { font-size: 20px; letter-spacing: -0.02em; margin: 14px 0 10px; }
.why p { color: var(--ink-2); font-size: 14px; }

/* Blog cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { display: flex; flex-direction: column; padding: 24px; border-top: 1px solid var(--line); min-height: 250px; transition: background .25s; }
.card:hover { background: var(--paper-2); }
.card.featured { background: var(--paper-2); }
.card.featured:hover { background: #e2ddd1; }
.card-meta { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 26px; }
.card h3 { font-size: 23px; letter-spacing: -0.025em; line-height: 1.12; margin-bottom: 12px; }
.card p { color: var(--ink-2); font-size: 13.5px; }
.card .link-arrow { margin-top: auto; align-self: flex-start; }

/* CTA */
.cta { background: var(--blue); color: #fff; position: relative; overflow: hidden; padding: 110px 0 90px; }
.cta .eyebrow { color: #cdd6ff; }
.cta .eyebrow::before { background: #fff; }
.cta h2 { font-size: clamp(46px, 7vw, 92px); letter-spacing: -0.055em; line-height: .95; margin-bottom: 28px; max-width: 720px; }
.cta p { color: #dbe1ff; max-width: 440px; }
.cta-row { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-top: 28px; }
.cta-mail { font-family: var(--mono); font-size: 15px; border-bottom: 1px solid rgba(255,255,255,.6); padding-bottom: 4px; }
.cta-mail:hover { border-color: #fff; }
.cta-circles { position: absolute; right: -80px; top: -60px; width: 380px; height: 380px; pointer-events: none; }
.cta-circles i { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); }
.cta-circles i:nth-child(2) { inset: 60px; background: rgba(255,255,255,.06); }
.cta-circles i:nth-child(3) { inset: 120px; border-color: rgba(255,255,255,.3); }

/* Footer */
.site-footer { background: var(--navy); color: #c7ccd8; padding: 56px 0 28px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--navy-line); }
.site-footer .brand, .site-footer .brand-name { color: #fff; }
.site-footer h4 { font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: #8ea2ff; font-weight: 400; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.site-footer li { margin-bottom: 8px; }
.site-footer a:hover { color: #fff; }
.footer-about { font-size: 14px; max-width: 300px; margin-top: 18px; color: #a9afbd; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: #7e8597; }

/* Inner pages */
.page-hero { padding: 96px 0 72px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(46px, 7vw, 96px); letter-spacing: -0.055em; line-height: .95; max-width: 900px; }
.page-hero p { max-width: 540px; color: var(--ink-2); font-size: 17px; margin-top: 28px; }
.crumbs { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 28px; }
.crumbs a:hover { color: var(--blue); }

.two-col { display: grid; grid-template-columns: 1fr 1.6fr; gap: 72px; }
.two-col + .two-col { margin-top: 88px; }
.two-col h2 { font-size: clamp(30px, 3.4vw, 42px); }
.timeline { border-left: 1px solid var(--line); padding-left: 28px; }
.timeline > div { position: relative; padding-bottom: 28px; }
.timeline > div::before { content: ""; position: absolute; left: -33px; top: 8px; width: 9px; height: 9px; background: var(--blue); }
.timeline h3 { font-size: 20px; margin-bottom: 8px; letter-spacing: -0.02em; }
.timeline p { color: var(--ink-2); font-size: 15px; }

.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.mv > div { padding: 40px; background: var(--paper-2); }
.mv > div.blue { background: var(--blue); color: #fff; }
.mv > div.blue .mono { color: #cdd6ff; }
.mv .mono { color: var(--blue); }
.mv h3 { font-size: 28px; margin: 18px 0 14px; }
.mv p { margin: 0; opacity: .85; }

.tile-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.tile { padding: 36px 32px 40px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; min-height: 260px; transition: background .25s; }
a.tile:hover { background: var(--paper-2); }
.tile .mono { color: var(--blue); font-size: 10px; }
.tile h3 { font-size: 24px; letter-spacing: -0.025em; margin: 32px 0 12px; }
.tile p { color: var(--ink-2); font-size: 14px; }
.tile .link-arrow { margin-top: auto; align-self: flex-start; }

.detail { display: grid; grid-template-columns: 1.6fr 1fr; gap: 72px; }
.detail .lead { font-size: 24px; }
.checklist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.checklist li { padding: 16px 0; border-bottom: 1px solid var(--line); display: flex; gap: 14px; font-size: 15px; }
.checklist li::before { content: ""; flex: none; width: 8px; height: 8px; background: var(--blue); margin-top: 8px; }
.aside-box { background: var(--navy); color: #eef0f5; padding: 36px; position: sticky; top: 96px; }
.aside-box h3 { font-size: 26px; margin-bottom: 14px; }
.aside-box p { color: #a9afbd; font-size: 14px; }

.article { max-width: 720px; }
.article p { font-size: 18px; line-height: 1.75; color: var(--ink-2); margin-bottom: 1.4em; }
.article p:first-child { font-size: 21px; color: var(--ink); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 72px; }
.office { border-top: 1px solid var(--line); padding: 22px 0; }
.office .mono { color: var(--blue); font-size: 10px; }
.office p { margin: 8px 0 4px; font-size: 15px; }
.office a { color: var(--ink-2); font-size: 14px; }
.office a:hover { color: var(--blue); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.field input, .field textarea, .field select {
    font: inherit; font-size: 15px; color: var(--ink);
    background: #fff; border: 1px solid var(--line);
    padding: 13px 14px; border-radius: 0;
    transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(47, 79, 217, .12); }
.field .err { color: var(--red); font-size: 13px; }
.field.has-err input, .field.has-err textarea { border-color: var(--red); }
.alert { grid-column: 1 / -1; padding: 16px 18px; background: #e6ebff; border-left: 3px solid var(--blue); font-size: 15px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .marquee-track, .spin { animation: none; }
    html { scroll-behavior: auto; }
}

/* Responsive */
@media (max-width: 980px) {
    .hero-grid, .split, .section-head, .mission, .two-col, .detail, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
    .why-grid { grid-template-columns: 1fr 1fr; }
    .why:nth-child(2) { border-right: 0; }
    .why:nth-child(3) { padding-left: 0; }
    .cards, .tile-grid { grid-template-columns: 1fr 1fr; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .service-row { grid-template-columns: 44px 1fr 32px; }
    .service-row p { grid-column: 2 / 3; }
    .service-row .go { grid-row: 1; grid-column: 3; }
    .orbit { margin: 0 auto; }
    .aside-box { position: static; }
    .hero-side { display: none; }
}
@media (max-width: 820px) {
    .nav-toggle { display: block; }
    .nav-links {
        position: fixed; inset: 72px 0 auto 0;
        flex-direction: column; align-items: flex-start; gap: 0;
        background: var(--paper); border-bottom: 1px solid var(--line);
        padding: 8px var(--gutter) 24px;
        transform: translateY(-8px); opacity: 0; visibility: hidden;
        transition: opacity .2s, transform .2s, visibility .2s;
    }
    .nav-links li { width: 100%; border-bottom: 1px solid var(--line); }
    .nav-links li:last-child { border: 0; padding-top: 16px; }
    .nav-links a { display: block; padding: 14px 0; font-size: 17px; }
    .nav-links a.active::after { display: none; }
    .nav-cta { margin: 0; }
    .nav-open .nav-links { opacity: 1; visibility: visible; transform: none; }
    .nav-open .nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
    .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
    .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
}
@media (max-width: 640px) {
    .section { padding: 80px 0; }
    .section-sm { padding: 64px 0; }
    .hero { padding-top: 40px; }
    .hero-foot { flex-direction: column; margin-top: 40px; }
    .principles, .why-grid, .cards, .tile-grid, .mv, .form, .footer-top { grid-template-columns: 1fr; }
    .why { border-right: 0; padding-left: 0 !important; border-bottom: 1px solid var(--line); }
    .chips > span { width: 100%; }
    .mv > div { padding: 28px; }
    .cta-circles { width: 240px; height: 240px; right: -100px; }
}

/* Blog media & pagination */
.card-cover { width: calc(100% + 48px); margin: -24px -24px 22px; aspect-ratio: 16 / 9; object-fit: cover; }
.post-cover { width: 100%; max-height: 520px; object-fit: cover; margin-bottom: 56px; }
.article h2, .article h3 { margin: 1.6em 0 .6em; letter-spacing: -0.03em; }
.article h2 { font-size: 32px; }
.article h3 { font-size: 24px; }
.article ul, .article ol { font-size: 18px; line-height: 1.75; color: var(--ink-2); padding-left: 1.2em; margin-bottom: 1.4em; }
.article a { color: var(--blue); border-bottom: 1px solid currentColor; }
.article img { margin: 1.5em 0; height: auto; }
.article blockquote { margin: 1.6em 0; padding-left: 20px; border-left: 3px solid var(--blue); font-size: 20px; color: var(--ink); }
.article p:first-child { font-size: 21px; color: var(--ink); }
.pager { display: flex; justify-content: space-between; align-items: center; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; }
.pager span:not(.mono) { color: var(--muted); }
.pager a:hover { color: var(--blue); }
