/* =============================================================================
   Web Inclusion – Main Stylesheet
   ============================================================================= */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;1,9..144,300&family=Figtree:wght@400;500;600&display=swap');

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --navy:       #0D1926;
    --navy-mid:   #162335;
    --blue:       #1560A0;
    --blue-light: #6BAED6;
    --blue-pale:  #5F8CAE;
    --blue-muted: #7A9FBE;
    --blue-cta:   #3A6A8A;
    --text-hero:  #F4F2EE;
    --off-white:  #F7F6F3;
    --border:     rgba(0,0,0,0.10);
    --border-mid: rgba(0,0,0,0.18);
    --serif:      'Fraunces', Georgia, serif;
    --sans:       'Figtree', system-ui, sans-serif;
    --ease:       cubic-bezier(0.4, 0, 0.2, 1);
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
    font-family: var(--sans);
    font-size: 1rem;
    line-height: 1.65;
    color: #1A1A1A;
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--serif);
    font-weight: 300;
    line-height: 1.15;
    letter-spacing: -0.025em;
}

p { line-height: 1.75; }

.eyebrow {
    font-family: var(--sans);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 16px;
    display: block;
}

/* --- Layout --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px;
}

/* =============================================================================
   Navigation
   ============================================================================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    border-bottom: 0.5px solid var(--border);
    height: 58px;
}

.site-header .container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo {
    font-family: var(--serif);
    font-size: 16px;
    letter-spacing: -0.03em;
    color: #1A1A1A;
    white-space: nowrap;
}

.site-logo .tagline {
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #aaa;
    margin-left: 14px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.main-nav ul {
    display: flex;
    gap: 28px;
    align-items: center;
}

.main-nav a {
    font-size: 13px;
    color: #555;
    letter-spacing: 0.01em;
    transition: color 0.2s var(--ease);
}

.main-nav a:hover { color: #1A1A1A; }

.nav-cta {
    font-size: 13px;
    padding: 7px 18px;
    border: 0.5px solid var(--border-mid);
    border-radius: 3px;
    color: #1A1A1A;
    transition: background 0.2s var(--ease);
    white-space: nowrap;
}

.nav-cta:hover { background: var(--off-white); }

/* Mobile nav toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: #1A1A1A;
    transition: all 0.25s var(--ease);
}

/* =============================================================================
   Hero
   ============================================================================= */
.hero {
    background: var(--navy);
    padding: 92px 0 84px;
    color: var(--text-hero);
}

.hero .eyebrow { color: var(--blue-pale); }

.hero h1 {
    font-size: clamp(32px, 4.5vw, 54px);
    max-width: 640px;
    color: var(--text-hero);
    margin-bottom: 24px;
}

.hero h1 em {
    font-style: normal;
    color: var(--blue-light);
}

.hero-sub {
    font-size: 15px;
    color: var(--blue-muted);
    max-width: 500px;
    line-height: 1.85;
    margin-bottom: 48px;
}

.hero-buttons {
    display: flex;
    gap: 24px;
    align-items: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--blue);
    color: #fff;
    padding: 13px 28px;
    border-radius: 3px;
    font-size: 13.5px;
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: background 0.2s var(--ease);
    display: inline-block;
}

.btn-primary:hover { background: #1A6BB5; color: #fff; }

.btn-ghost {
    font-size: 13.5px;
    color: var(--blue-muted);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.2s var(--ease);
}

.btn-ghost:hover { color: var(--text-hero); }

/* =============================================================================
   Proof Bar
   ============================================================================= */
.proof-bar {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 0.5px solid var(--border);
}

.proof-item {
    padding: 26px 40px;
    border-right: 0.5px solid var(--border);
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex: 1;
    min-width: 180px;
}

.proof-item:last-child { border-right: none; }

.proof-number {
    font-family: var(--serif);
    font-size: 26px;
    font-weight: 300;
    letter-spacing: -0.03em;
    color: #1A1A1A;
    white-space: nowrap;
}

.proof-label {
    font-size: 11.5px;
    color: #777;
    line-height: 1.45;
}

/* =============================================================================
   Sections – shared
   ============================================================================= */
.section {
    padding: 80px 0;
    border-bottom: 0.5px solid var(--border);
}

.section.alt { background: var(--off-white); }

.section-header { margin-bottom: 48px; }

.section-header h2 {
    font-size: clamp(24px, 3vw, 40px);
    margin-bottom: 14px;
}

.section-header .section-sub {
    font-size: 14.5px;
    color: #555;
    max-width: 480px;
    line-height: 1.8;
}

/* =============================================================================
   Capabilities Grid
   ============================================================================= */
.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 0.5px solid var(--border);
    border-left: 0.5px solid var(--border);
}

.capability-card {
    padding: 30px 24px;
    border-right: 0.5px solid var(--border);
    border-bottom: 0.5px solid var(--border);
    transition: background 0.2s var(--ease);
}

.capability-card:hover { background: #F0EEE9; }

.cap-icon {
    font-size: 22px;
    color: var(--blue);
    margin-bottom: 18px;
    display: block;
    opacity: 0.85;
}

.sector-icon {
    font-size: 20px;
    color: var(--blue);
    margin-bottom: 14px;
    display: block;
    opacity: 0.75;
}

.step-icon {
    font-size: 20px;
    color: var(--blue);
    opacity: 0.6;
    margin-bottom: 10px;
    display: block;
}

.qual-icon {
    font-size: 20px;
    color: var(--blue);
    opacity: 0.75;
    margin-bottom: 10px;
    display: block;
}

.capability-card h3 {
    font-family: var(--sans);
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.4;
    margin-bottom: 10px;
    color: #1A1A1A;
}

.capability-card p {
    font-size: 13px;
    color: #555;
    line-height: 1.7;
}

/* =============================================================================
   Sectors Grid
   ============================================================================= */
.sectors-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.sector-card {
    padding: 26px 22px;
    border: 0.5px solid var(--border);
    border-radius: 4px;
    transition: background 0.2s var(--ease);
}

.sector-card:hover { background: #fff; }

.sector-card h3 {
    font-family: var(--sans);
    font-size: 13.5px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1A1A1A;
    letter-spacing: 0;
    line-height: 1.4;
}

.sector-card p {
    font-size: 13px;
    color: #555;
    line-height: 1.7;
}

/* =============================================================================
   Process Steps
   ============================================================================= */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    padding-top: 8px;
}

.step-number {
    font-family: var(--serif);
    font-size: 32px;
    font-weight: 300;
    color: #ccc;
    margin-bottom: 16px;
    letter-spacing: -0.03em;
}

.process-step h3 {
    font-family: var(--sans);
    font-size: 13.5px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1A1A1A;
    letter-spacing: 0;
}

.process-step p {
    font-size: 13px;
    color: #555;
    line-height: 1.7;
}

/* =============================================================================
   Qualities / Why clients stay
   ============================================================================= */
.qualities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 0.5px solid var(--border);
}

.quality-item {
    padding: 32px 28px;
    border-right: 0.5px solid var(--border);
}

.quality-item:last-child { border-right: none; }

.quality-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #aaa;
    margin-bottom: 12px;
}

.quality-item p {
    font-family: var(--serif);
    font-size: 15px;
    font-weight: 300;
    line-height: 1.6;
    color: #1A1A1A;
}

/* =============================================================================
   CTA Band
   ============================================================================= */
.cta-band {
    background: var(--navy);
    padding: 80px 0;
}

.cta-band .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    flex-wrap: wrap;
}

.cta-band h2 {
    font-size: clamp(22px, 2.8vw, 36px);
    color: var(--text-hero);
    margin-bottom: 14px;
    max-width: 460px;
}

.cta-band p {
    font-size: 13.5px;
    color: var(--blue-muted);
    line-height: 1.8;
    max-width: 440px;
}

.btn-outline-light {
    border: 0.5px solid var(--blue-cta);
    color: var(--text-hero);
    padding: 14px 32px;
    font-size: 13.5px;
    border-radius: 3px;
    background: transparent;
    flex-shrink: 0;
    white-space: nowrap;
    transition: background 0.2s var(--ease);
    display: inline-block;
}

.btn-outline-light:hover { background: rgba(255,255,255,0.07); color: #fff; }

/* =============================================================================
   Footer
   ============================================================================= */
.site-footer {
    padding: 28px 0;
    border-top: 0.5px solid var(--border);
}

.site-footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-brand {
    font-family: var(--serif);
    font-size: 13px;
    color: #666;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    font-size: 12px;
    color: #aaa;
    transition: color 0.2s;
}

.footer-links a:hover { color: #555; }

.footer-copy {
    font-size: 11px;
    color: #bbb;
    width: 100%;
    margin-top: 8px;
}

/* =============================================================================
   Inner pages – Page / Post
   ============================================================================= */
.page-hero {
    background: var(--navy);
    padding: 64px 0 15px 0;
    color: var(--text-hero);
}

.page-hero h1 {
    font-size: clamp(26px, 3.5vw, 44px);
    color: var(--text-hero);
    max-width: 720px;
    margin-bottom: 35px;
}

.page-hero .page-intro {
    font-size: 15px;
    color: var(--blue-muted);
    max-width: 520px;
    line-height: 1.8;
}

.page-content {
    padding: 0 0 72px 0;
    max-width: 720px;
}

.page-content h2 {
    font-size: 28px;
    margin: 48px 0 16px;
}

.page-content h3 {
    font-size: 20px;
    font-family: var(--sans);
    font-weight: 600;
    letter-spacing: 0;
    margin: 32px 0 12px;
}

.page-content p { margin-bottom: 20px; color: #333; }

.page-content ul,
.page-content ol {
    margin: 0 0 20px 24px;
    list-style: disc;
    color: #333;
}

.page-content li { margin-bottom: 6px; line-height: 1.7; }

/* =============================================================================
   404
   ============================================================================= */
.error-404 {
    min-height: 60vh;
    display: flex;
    align-items: center;
    padding: 80px 0;
}

.error-404 .error-num {
    font-family: var(--serif);
    font-size: 96px;
    font-weight: 300;
    color: #ddd;
    line-height: 1;
    margin-bottom: 20px;
}

.error-404 h1 {
    font-size: 28px;
    margin-bottom: 14px;
}

.error-404 p {
    font-size: 15px;
    color: #666;
    margin-bottom: 32px;
    max-width: 400px;
}

/* =============================================================================
   Responsive
   ============================================================================= */
@media (max-width: 960px) {
    .container { padding: 0 32px; }
    .capabilities-grid { grid-template-columns: repeat(2, 1fr); }
    .process-steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .container { padding: 0 24px; }

    .main-nav ul,
    .nav-cta { display: none; }

    .menu-toggle { display: flex; }

    .main-nav.is-open ul {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 58px;
        left: 0;
        right: 0;
        background: #fff;
        border-bottom: 0.5px solid var(--border);
        padding: 24px;
        gap: 20px;
    }

    .main-nav.is-open .nav-cta {
        display: block;
        margin-top: 8px;
        text-align: center;
    }

    .proof-item { min-width: 50%; }

    .capabilities-grid,
    .sectors-grid,
    .qualities-grid { grid-template-columns: 1fr; }

    .capability-card,
    .quality-item { border-right: none; }

    .process-steps { grid-template-columns: 1fr; gap: 28px; }

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

    .section { padding: 56px 0; }
    .hero { padding: 64px 0 56px; }
}

@media (max-width: 480px) {
    .proof-bar { flex-direction: column; }
    .proof-item { border-right: none; border-bottom: 0.5px solid var(--border); }
    .sectors-grid { grid-template-columns: 1fr; }
    .site-logo .tagline { display: none; }
}
