/* TEI v2 — clean modern static site */
:root {
    --navy: #0a2540;
    --tei-blue: #0080b2;
    --accent: #06a3d8;
    --ink: #1a1a1a;
    --body: #333;
    --muted: #6b7280;
    --line: #e5e7eb;
    --bg: #ffffff;
    --bg-soft: #f6f8fa;
    --bg-dark: #0a2540;
    --max-width: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--body);
    line-height: 1.65;
    font-size: 16px;
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5 {
    font-family: 'Inter', sans-serif;
    color: var(--navy);
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.02em;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 1rem; }
h3 { font-size: 1.3rem; margin-bottom: 0.75rem; }
p { margin-bottom: 1rem; }
a { color: var(--tei-blue); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent); }

/* ===== Header ===== */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}
.nav-wrap {
    max-width: var(--max-width); margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    padding: 1rem 1.5rem;
}
.brand {
    display: flex; align-items: center; gap: 0.75rem;
    text-decoration: none; color: var(--navy);
}
.brand-logo {
    width: 40px; height: 40px;
    background: var(--navy); color: white;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1.2rem; letter-spacing: -0.05em;
    border-radius: 4px;
}
.brand-name { font-weight: 700; font-size: 1.1rem; color: var(--navy); letter-spacing: -0.02em; }
.brand-tag { font-size: 0.75rem; color: var(--muted); margin-top: -2px; }
.nav-menu { display: flex; gap: 2rem; list-style: none; align-items: center; }
.nav-menu a {
    color: var(--ink); font-weight: 500; font-size: 0.94rem;
    text-decoration: none;
}
.nav-menu a:hover, .nav-menu a.active { color: var(--tei-blue); }
.nav-cta {
    background: var(--tei-blue); color: white !important;
    padding: 0.6rem 1.25rem; border-radius: 4px;
    font-weight: 600; font-size: 0.9rem;
}
.nav-cta:hover { background: var(--navy); color: white !important; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; font-size: 1.5rem; }

/* ===== Hero ===== */
.hero {
    position: relative; min-height: 70vh;
    display: flex; align-items: center;
    background-size: cover; background-position: center;
    color: white;
}
.hero::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(120deg, rgba(10,37,64,0.85) 0%, rgba(10,37,64,0.55) 100%);
}
.hero-inner {
    max-width: var(--max-width); margin: 0 auto;
    padding: 5rem 1.5rem; position: relative; z-index: 1;
    width: 100%;
}
.hero h1 { color: white; max-width: 800px; margin-bottom: 1.5rem; }
.hero-lede {
    font-size: 1.2rem; max-width: 600px; opacity: 0.95;
    margin-bottom: 2rem; line-height: 1.6;
}
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ===== Buttons ===== */
.btn {
    display: inline-block; padding: 0.9rem 1.75rem;
    font-weight: 600; font-size: 0.95rem; border-radius: 4px;
    text-decoration: none; transition: all 0.2s;
    border: 2px solid transparent; cursor: pointer;
    letter-spacing: 0.02em;
}
.btn-primary { background: var(--tei-blue); color: white !important; }
.btn-primary:hover { background: var(--accent); color: white !important; }
.btn-ghost { color: white !important; border-color: rgba(255,255,255,0.5); }
.btn-ghost:hover { background: white; color: var(--navy) !important; border-color: white; }

/* ===== Sections ===== */
.section { padding: 5rem 1.5rem; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--navy); color: white; }
.section-dark h1, .section-dark h2, .section-dark h3 { color: white; }
.container { max-width: var(--max-width); margin: 0 auto; }
.section-head { max-width: 720px; margin: 0 auto 3rem; text-align: center; }
.section-head .eyebrow {
    color: var(--tei-blue); font-weight: 600; font-size: 0.85rem;
    text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 0.5rem;
}
.section-head h2 { margin-bottom: 1rem; }
.section-head p { font-size: 1.1rem; color: var(--muted); }

/* ===== Grid ===== */
.grid { display: grid; gap: 2rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
    .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .grid-2 { grid-template-columns: 1fr; }
}

/* ===== Cards ===== */
.card {
    background: white; padding: 2rem; border-radius: 8px;
    border: 1px solid var(--line); transition: all 0.2s;
}
.card:hover { box-shadow: 0 10px 40px rgba(10,37,64,0.08); transform: translateY(-2px); }
.card-icon {
    width: 56px; height: 56px; background: var(--bg-soft);
    color: var(--tei-blue); border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; margin-bottom: 1.25rem;
}
.card h3 { margin-bottom: 0.75rem; }
.card p { color: var(--muted); margin: 0; }

/* ===== Pillars (3-vertical) ===== */
.pillar {
    text-align: left; padding: 2.5rem 2rem;
    background: white; border-radius: 8px;
    border-top: 4px solid var(--tei-blue);
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    transition: all 0.2s;
}
.pillar:hover { box-shadow: 0 10px 40px rgba(10,37,64,0.08); transform: translateY(-4px); }
.pillar h3 { color: var(--navy); margin-bottom: 0.75rem; font-size: 1.5rem; }
.pillar .pillar-sub {
    color: var(--tei-blue); font-weight: 600; font-size: 0.85rem;
    text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.5rem;
    display: block;
}
.pillar p { color: var(--body); margin-bottom: 1.5rem; }
.pillar a { font-weight: 600; }

/* ===== Stats strip ===== */
.stats {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 2rem; padding: 3rem 0;
    border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.stat { text-align: center; }
.stat-num {
    font-size: 2.5rem; font-weight: 800; color: var(--tei-blue);
    line-height: 1; letter-spacing: -0.04em;
}
.stat-label {
    margin-top: 0.5rem; color: var(--muted); font-size: 0.9rem;
    font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em;
}
@media (max-width: 700px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ===== Image side-by-side ===== */
.split {
    display: grid; grid-template-columns: 1fr 1fr; gap: 4rem;
    align-items: center;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 2rem; } }
.split img { width: 100%; height: auto; border-radius: 8px; }

/* ===== CTA block ===== */
.cta-strip {
    background: linear-gradient(120deg, var(--navy), var(--tei-blue));
    color: white; text-align: center; padding: 4rem 1.5rem;
}
.cta-strip h2 { color: white; margin-bottom: 0.75rem; }
.cta-strip p { font-size: 1.1rem; opacity: 0.95; margin-bottom: 1.75rem; }

/* ===== Footer ===== */
.site-footer {
    background: var(--navy); color: rgba(255,255,255,0.7);
    padding: 4rem 1.5rem 2rem;
}
.footer-grid {
    max-width: var(--max-width); margin: 0 auto;
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem;
    padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-col h4 { color: white; font-size: 0.95rem; margin-bottom: 1rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a { color: rgba(255,255,255,0.7); font-size: 0.93rem; }
.footer-col a:hover { color: white; }
.footer-bottom {
    max-width: var(--max-width); margin: 0 auto;
    padding-top: 2rem; display: flex; justify-content: space-between;
    font-size: 0.85rem; color: rgba(255,255,255,0.5);
}
@media (max-width: 600px) { .footer-bottom { flex-direction: column; gap: 1rem; } }

/* ===== Contact page ===== */
.contact-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 4rem;
    margin-top: 2rem;
}
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info { font-size: 1.05rem; line-height: 1.8; }
.contact-info-row { margin-bottom: 1.5rem; }
.contact-info-row strong { display: block; color: var(--navy); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.25rem; }
.contact-info-row a { color: var(--tei-blue); }
.map-embed { border-radius: 8px; overflow: hidden; min-height: 400px; background: var(--bg-soft); }

/* ===== Mobile nav ===== */
@media (max-width: 900px) {
    .nav-menu { display: none; position: absolute; top: 100%; left: 0; right: 0;
        background: white; flex-direction: column; padding: 1rem; gap: 1rem;
        border-bottom: 1px solid var(--line); }
    .nav-menu.open { display: flex; }
    .nav-toggle { display: block; }
}
