﻿:root {
    --ink: #0d1b2a;
    --paper: #f4f7f6;
    --paper-deep: #e6efed;
    --copper: #d4a72c;
    --teal: #0f6f57;
    --sage: #8fb9a8;
    --line: rgba(13, 27, 42, 0.15);
    --shadow: 0 20px 40px rgba(13, 27, 42, 0.12);
    --radius: 18px;
    --transition: 0.3s ease;
    --font-display: "Fraunces", serif;
    --font-body: "IBM Plex Sans", sans-serif;
    --font-mono: "IBM Plex Mono", monospace;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--ink);
    background: radial-gradient(circle at top right, #fef6dd 0%, var(--paper) 40%, var(--paper-deep) 100%);
    line-height: 1.6;
    padding-top: 76px;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: linear-gradient(120deg, rgba(13, 27, 42, 0.04) 1px, transparent 1px),
        linear-gradient(30deg, rgba(13, 27, 42, 0.03) 1px, transparent 1px);
    background-size: 120px 120px, 140px 140px;
    pointer-events: none;
    opacity: 0.6;
    z-index: 0;
}

main,
header,
footer {
    position: relative;
    z-index: 1;
}

.container {
    width: min(1120px, 90%);
    margin: 0 auto;
}

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

h1,
h2,
h3 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.6rem, 4vw, 4.2rem);
    line-height: 1.05;
}

h2 {
    font-size: clamp(2rem, 3vw, 3rem);
    margin-bottom: 20px;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

p {
    font-size: 1.05rem;
    color: rgba(13, 27, 42, 0.85);
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(244, 247, 246, 0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(13, 27, 42, 0.08);
    z-index: 10;
}

.site-header.is-scrolled {
    background: rgba(244, 247, 246, 0.98);
    box-shadow: 0 10px 30px rgba(13, 27, 42, 0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
}

.brand {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--ink);
}

.site-nav {
    display: flex;
    gap: 22px;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 0.16em;
}

.site-nav a {
    position: relative;
    color: rgba(13, 27, 42, 0.75);
}

.site-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: var(--copper);
    transition: width var(--transition);
}

.site-nav a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.3rem;
    color: var(--ink);
}

.hero {
    position: relative;
    padding: 110px 0 90px;
}

.hero-glow {
    position: absolute;
    width: 60vw;
    height: 60vw;
    top: -20vw;
    right: -20vw;
    background: radial-gradient(circle, rgba(212, 167, 44, 0.3), transparent 70%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
    align-items: center;
}

.hero-copy {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--teal);
}

.lead {
    font-size: 1.2rem;
    max-width: 520px;
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.btn {
    padding: 12px 24px;
    border-radius: 999px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid transparent;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn.primary {
    background: var(--copper);
    color: #fff;
    box-shadow: var(--shadow);
}

.btn.primary:hover {
    transform: translateY(-3px);
}

.btn.ghost {
    border-color: rgba(13, 27, 42, 0.2);
    color: var(--ink);
    background: transparent;
}

.btn.ghost:hover {
    background: rgba(13, 27, 42, 0.05);
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.meta-pill {
    border: 1px solid rgba(13, 27, 42, 0.2);
    border-radius: 999px;
    padding: 6px 16px;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.6);
}

.hero-panel {
    background: rgba(255, 255, 255, 0.8);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(13, 27, 42, 0.1);
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.stat {
    background: rgba(212, 167, 44, 0.12);
    padding: 16px;
    border-radius: 14px;
}

.stat-value {
    display: block;
    font-size: 1.6rem;
    font-family: var(--font-display);
    color: var(--copper);
}

.stat-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: rgba(13, 27, 42, 0.6);
}

.code-card {
    background: #0d1b2a;
    color: #f4f7f6;
    border-radius: 14px;
    padding: 20px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.code-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 12px;
    color: rgba(244, 247, 246, 0.6);
}

code {
    white-space: pre-wrap;
}

section {
    padding: 90px 0;
}

.overview .split,
.assessment .split {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
    align-items: center;
}

.split-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 30px;
    border: 1px solid rgba(13, 27, 42, 0.08);
    box-shadow: var(--shadow);
}

.feature-list {
    list-style: none;
    padding-left: 0;
    display: grid;
    gap: 12px;
    font-size: 1rem;
}

.feature-list li::before {
    content: "■";
    color: var(--copper);
    margin-right: 10px;
}

.topics {
    background: #fff;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.topic-card {
    background: var(--paper);
    border-radius: var(--radius);
    padding: 24px;
    border: 1px solid rgba(13, 27, 42, 0.08);
    box-shadow: var(--shadow);
}

.card-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(15, 111, 87, 0.12);
    display: grid;
    place-items: center;
    color: var(--teal);
    margin-bottom: 16px;
}

.assessment {
    background: linear-gradient(120deg, #f7f2e7 0%, #e4efe9 100%);
}

.deliverables {
    display: grid;
    gap: 18px;
}

.deliverable {
    background: #fff;
    border-radius: 14px;
    padding: 20px;
    border-left: 4px solid var(--teal);
    box-shadow: var(--shadow);
}

.skills {
    background: #fff;
}

.skill-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.skill-card {
    border: 1px solid rgba(13, 27, 42, 0.1);
    border-radius: var(--radius);
    padding: 24px;
    background: var(--paper);
    box-shadow: var(--shadow);
}

.skill-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--teal);
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.tag-row span {
    background: rgba(212, 167, 44, 0.18);
    color: var(--copper);
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
}

.testimonials {
    background: var(--paper-deep);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.testimonial-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(13, 27, 42, 0.08);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.testimonial-card span {
    font-weight: 600;
    color: var(--teal);
}

.projects {
    background: #fff;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.project-card {
    border-radius: var(--radius);
    padding: 26px;
    border: 1px solid rgba(13, 27, 42, 0.08);
    background: linear-gradient(135deg, #ffffff 0%, #e7f1eb 100%);
    box-shadow: var(--shadow);
}

.project-icon {
    color: var(--copper);
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.contact {
    padding-bottom: 120px;
}

.contact-card {
    background: #0a1726;
    color: #fff;
    border-radius: var(--radius);
    padding: 36px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow: var(--shadow);
}

.contact-card p {
    color: rgba(255, 255, 255, 0.8);
}

.site-footer {
    padding: 30px 0 50px;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(13, 27, 42, 0.7);
}

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

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

@media (max-width: 980px) {
    .site-nav {
        position: absolute;
        top: 70px;
        right: 5%;
        flex-direction: column;
        background: #fff;
        padding: 18px 22px;
        border-radius: 16px;
        box-shadow: var(--shadow);
        display: none;
    }

    .site-nav.active {
        display: flex;
    }

    .menu-toggle {
        display: inline-flex;
    }
}

@media (max-width: 720px) {
    body {
        padding-top: 68px;
    }

    section {
        padding: 70px 0;
    }

    .hero-panel {
        padding: 24px;
    }

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

    .stat-grid {
        grid-template-columns: 1fr;
    }

    .contact-card {
        flex-direction: column;
        align-items: flex-start;
    }
}
