/* ============================================================
   POZIE FOUR — style.css
   ============================================================ */

/* === TOKENS ================================================ */
:root {
    --navy:        #0D1B2A;
    --navy-light:  #162336;
    --blue:        #1A56B0;
    --red:         #C53030;
    --white:       #FFFFFF;
    --off-white:   #F7F9FC;
    --gray-100:    #EDF2F7;
    --gray-400:    #A0AEC0;
    --gray-600:    #718096;
    --gray-700:    #4A5568;
    --gray-900:    #1A202C;

    --font-display: 'Space Grotesk', sans-serif;
    --font-body:    'Inter', sans-serif;
}

/* === RESET ================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  { font-family: var(--font-body); color: var(--gray-900); background: var(--white); line-height: 1.6; }
a     { color: inherit; text-decoration: none; }
ul    { list-style: none; }

/* === BRAND COLOURS ========================================= */
.posi { color: var(--blue); font-family: var(--font-display); font-weight: 700; }
.four { color: var(--red);  font-family: var(--font-display); font-weight: 700; }

/* === NAV =================================================== */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(13, 27, 42, 0.96);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255,255,255,0.07);
}
.nav__inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav__logo { font-size: 1.4rem; letter-spacing: -0.02em; }
.nav__links { display: flex; gap: 32px; }
.nav__links a {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--gray-400);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color 0.2s;
}
.nav__links a:hover { color: var(--white); }

/* === HERO ================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    background: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 80px 24px 60px;
    text-align: center;
}

/* Subtle data-grid background — the signature element */
.hero__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 100%);
}

.hero__inner {
    position: relative;
    max-width: 780px;
}
.hero__wordmark {
    font-family: var(--font-display);
    font-size: clamp(5rem, 15vw, 10rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.04em;
    margin-bottom: 32px;
}
.hero__tagline {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 3vw, 1.65rem);
    font-weight: 300;
    color: var(--white);
    line-height: 1.4;
    letter-spacing: -0.01em;
    margin-bottom: 20px;
}
.hero__sub {
    font-size: 1rem;
    color: var(--gray-400);
    max-width: 520px;
    margin: 0 auto 40px;
    line-height: 1.75;
}

/* === EYEBROW =============================================== */
.eyebrow {
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gray-400);
    margin-bottom: 14px;
    display: block;
}
.eyebrow--blue  { color: var(--blue); }
.eyebrow--muted { color: var(--gray-400); }

/* === BUTTONS =============================================== */
.btn {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 14px 32px;
    border-radius: 4px;
    transition: all 0.2s;
}
.btn--primary {
    background: var(--blue);
    color: var(--white);
    border: 2px solid var(--blue);
}
.btn--primary:hover { background: #174da0; border-color: #174da0; }
.btn--outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.35);
}
.btn--outline:hover { border-color: var(--white); background: rgba(255,255,255,0.06); }

/* === LAYOUT ================================================ */
.container         { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 720px; }
.container--center { text-align: center; }

/* === SECTIONS ============================================== */
.section        { padding: 96px 0; }
.bg-offwhite    { background: var(--off-white); }
.bg-navy        { background: var(--navy); }
.bg-navy-light  { background: var(--navy-light); }

.heading {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.025em;
    color: var(--gray-900);
    margin-bottom: 20px;
}
.heading--light { color: var(--white); }

.lead {
    font-size: 1.0625rem;
    color: var(--gray-600);
    max-width: 620px;
    line-height: 1.75;
    margin-bottom: 56px;
}

/* === CARDS ================================================= */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    margin-top: 8px;
}
.card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: 8px;
    padding: 36px 32px;
    transition: box-shadow 0.2s;
}
.card:hover { box-shadow: 0 4px 24px rgba(0,0,0,0.07); }
.card__num {
    display: block;
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--blue);
    margin-bottom: 16px;
}
.card h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 12px;
    line-height: 1.3;
}
.card p {
    font-size: 0.925rem;
    color: var(--gray-600);
    line-height: 1.75;
}

/* === APPROACH ============================================== */
.approach-grid {
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 64px;
    align-items: start;
    margin-top: 40px;
}
.approach-body p {
    color: rgba(255,255,255,0.68);
    line-height: 1.85;
    font-size: 0.9375rem;
    margin-bottom: 22px;
}
.approach-body p:last-child { margin-bottom: 0; }

.approach-stack {
    border-left: 2px solid rgba(255,255,255,0.1);
    padding-left: 32px;
}
.stack-label {
    font-family: var(--font-display);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gray-400);
    margin-bottom: 20px;
}
.stack-list li {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.62);
    padding: 11px 0;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    line-height: 1.4;
}
.stack-list li:last-child { border-bottom: none; }

/* === ABOUT ================================================= */
.bg-offwhite .container--narrow p {
    font-size: 1rem;
    color: var(--gray-700);
    line-height: 1.85;
    margin-bottom: 20px;
}
.bg-offwhite .container--narrow p:last-child { margin-bottom: 0; }

/* === CONTACT =============================================== */
.contact-sub {
    color: var(--gray-400);
    margin-bottom: 32px;
    font-size: 1rem;
}

/* === FOOTER ================================================ */
.footer {
    background: #07111C;
    padding: 32px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}
.footer__logo { font-size: 1.1rem; }
.footer__copy { font-size: 0.78rem; color: var(--gray-600); }

/* === RESPONSIVE ============================================ */
@media (max-width: 768px) {
    .nav__links { gap: 18px; }
    .nav__links a { font-size: 0.75rem; }

    .section { padding: 72px 0; }

    .approach-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .approach-stack {
        border-left: none;
        border-top: 1px solid rgba(255,255,255,0.1);
        padding-left: 0;
        padding-top: 32px;
    }

    .footer__inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    .nav__links { display: none; }
    .hero__wordmark { font-size: clamp(4rem, 22vw, 7rem); }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .card { transition: none; }
    .btn  { transition: none; }
}
