:root {
    --primary: #2563EB;
    --primary-dark: #1D4ED8;
    --ink: #0F172A;
    --text: #334155;
    --muted: #64748B;
    --line: #E2E8F0;
    --section: #F8FAFC;
    --accent: #14B8A6;
    --white: #FFFFFF;
    --danger: #B91C1C;
    --ok: #047857;
    --shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
    --radius: 18px;
    --max: 1120px;
    --header: 78px;
    --font: "Plus Jakarta Sans", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font);
    color: var(--text);
    background: var(--white);
    font-size: 17px;
    line-height: 1.7;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--ink); letter-spacing: -0.03em; line-height: 1.15; }
h1 { font-size: clamp(2.4rem, 4.6vw, 4rem); margin-bottom: 16px; }
h2 { font-size: clamp(1.7rem, 2.4vw, 2.2rem); margin-bottom: 14px; }
h3 { font-size: 1.15rem; margin-bottom: 8px; }
p { margin-bottom: 14px; }
.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.maintenance-banner { margin: 0; padding: 10px 20px; background: #FEF3C7; color: var(--ink); text-align: center; font-size: 14px; }
.maintenance-banner a { font-weight: 600; }
.maintenance-screen { min-height: 100vh; display: grid; place-items: center; background: var(--section); padding: 32px 20px; }
.maintenance-card { width: min(560px, 100%); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px 32px; box-shadow: var(--shadow); }
.narrow { width: min(760px, calc(100% - 40px)); }
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
.skip-link {
    position: absolute; left: 16px; top: -80px; background: var(--ink); color: white;
    padding: 8px 12px; z-index: 20;
}
.skip-link:focus { top: 12px; color: white; }

.site-header {
    position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.92);
    backdrop-filter: blur(14px); border-bottom: 1px solid transparent;
}
.site-header.is-stuck { border-bottom-color: var(--line); }
.header-bar { min-height: var(--header); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; letter-spacing: -0.03em; }
.logo-mark {
    width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
    background: var(--primary); color: white; font-size: 16px;
}
.site-nav { display: flex; align-items: center; gap: 18px; }
.site-nav a { color: var(--muted); font-size: 15px; font-weight: 600; }
.site-nav a.is-active, .site-nav a:hover { color: var(--ink); }
.site-nav a.btn-primary, .site-nav a.btn-primary:hover { color: #fff; }
.nav-cta { margin-left: 8px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: white; border-radius: 12px; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); margin: 5px 0; }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    border-radius: 999px; padding: 12px 20px; font-weight: 700; border: 1px solid transparent;
    cursor: pointer; font-family: inherit; font-size: 15px;
}
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-dark); color: white; }
.btn-secondary { background: white; color: var(--ink); border-color: var(--line); }
.btn-secondary:hover { border-color: var(--ink); color: var(--ink); }
.text-link { font-weight: 700; }
.hero-actions, .share-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.hero { position: relative; padding: 72px 0 36px; overflow: hidden; }
.hero:before, .hero:after {
    content: ""; position: absolute; border-radius: 50%; z-index: 0; pointer-events: none;
}
.hero:before { width: 320px; height: 320px; background: rgba(37,99,235,.08); right: -80px; top: -60px; }
.hero:after { width: 180px; height: 180px; background: rgba(20,184,166,.16); left: 42%; bottom: 20px; }
.hero-grid, .intro-grid, .prose-grid, .contact-grid, .listing-layout, .two-col, .footer-grid {
    position: relative; z-index: 1; display: grid; gap: 48px;
}
.hero-grid { grid-template-columns: 1.2fr .8fr; align-items: center; }
.eyebrow { color: var(--accent); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: 12px; margin-bottom: 10px; }
.lede { font-size: 1.12rem; color: var(--text); max-width: 640px; }
.title-line { color: var(--muted); font-weight: 600; }
.hero-portrait {
    background: white; border: 1px solid var(--line); border-radius: 28px; padding: 14px;
    box-shadow: var(--shadow);
}
.hero-portrait img { width: 100%; border-radius: 20px; aspect-ratio: 4/5; object-fit: cover; object-position: center 22%; background: var(--section); }
.about-portrait { width: 100%; border-radius: 14px; aspect-ratio: 4/5; object-fit: cover; object-position: center 22%; margin-bottom: 16px; }
.portrait-note { margin: 12px 8px 4px; color: var(--muted); font-size: 14px; }

.section { padding: 84px 0; }
.section-muted { background: var(--section); }
.page-hero { padding: 54px 0 10px; }
.section-head { margin-bottom: 28px; }
.section-head.split, .footer-base { display: flex; justify-content: space-between; gap: 20px; align-items: end; }
.stat-grid, .card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.stat-card, .service-card, .content-card, .info-card, .side-card, .timeline-card, .empty-state, .cta-band {
    background: white; border: 1px solid var(--line); border-radius: var(--radius);
}
.stat-card, .service-card, .info-card { padding: 22px; }
.stat-card { min-height: 150px; }
.stat-figure { font-size: 1.8rem; font-weight: 700; color: var(--ink); letter-spacing: -0.04em; margin-bottom: 6px; }
.service-card, .content-card { transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.service-card:hover, .content-card:hover { transform: translateY(-4px); border-color: #BFDBFE; box-shadow: var(--shadow); }
.service-icon {
    width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
    background: #EFF6FF; color: var(--primary); margin-bottom: 14px; font-size: 18px;
}
.service-copy { color: var(--text); }
.chip-list { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 12px 0; list-style: none; }
.chip-list li, .chip-list a {
    background: var(--section); color: var(--text); border-radius: 999px; padding: 4px 10px; font-size: 13px; font-weight: 600;
}
.card-body { padding: 18px 18px 20px; }
.card-media { position: relative; display: block; background: var(--section); aspect-ratio: 16/10; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; }
.card-media img, .media-fallback { width: 100%; height: 100%; object-fit: cover; }
.media-fallback { display: grid; place-items: center; color: var(--muted); font-size: 28px; }
.play-badge {
    position: absolute; left: 14px; bottom: 14px; width: 38px; height: 38px; border-radius: 50%;
    display: grid; place-items: center; background: white; color: var(--ink);
}
.content-card h3 a { color: var(--ink); }
.kicker, .meta-line { color: var(--muted); font-size: 14px; }
.intro-grid, .prose-grid, .contact-grid { grid-template-columns: 1.3fr .7fr; }
.listing-layout { grid-template-columns: 1fr 280px; align-items: start; }
.two-col { grid-template-columns: 1fr 1fr; }
.strength-list { list-style: none; padding: 0; margin: 0; }
.strength-list li { padding: 12px 0 12px 18px; border-top: 1px solid var(--line); position: relative; }
.strength-list li:before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); position: absolute; left: 0; top: 20px; }
.strength-list.columns { columns: 2; gap: 32px; }
.experience-preview { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.experience-preview article { padding-top: 8px; border-top: 2px solid var(--ink); }
.cta-band { padding: 36px; display: flex; justify-content: space-between; gap: 24px; align-items: center; background: var(--ink); color: white; border: 0; }
.cta-band h2, .cta-band .eyebrow { color: white; }
.cta-band p { color: #CBD5E1; margin: 0; }
.side-card { padding: 24px; }
.stack { display: grid; gap: 14px; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 28px; border-left: 2px solid var(--line); }
.timeline > li { position: relative; margin: 0 0 22px; }
.timeline > li:before {
    content: ""; position: absolute; left: -35px; top: 26px; width: 12px; height: 12px; border-radius: 50%;
    background: var(--primary); box-shadow: 0 0 0 5px white;
}
.timeline-card { padding: 22px 24px; }
.timeline-card ul { margin: 0; padding-left: 18px; }
.role-meta { color: var(--muted); }
.feature-image, .gallery img { border-radius: 16px; margin: 18px 0; border: 1px solid var(--line); }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.video-frame { position: relative; padding-top: 56.25%; border-radius: 18px; overflow: hidden; background: #0F172A; margin: 18px 0 22px; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.rich-text h2, .rich-text h3 { margin-top: 28px; }
.rich-text ul, .rich-text ol { padding-left: 20px; }
.preview-flag { background: #FEF3C7; color: #92400E; display: inline-block; border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 700; }
.empty-state { padding: 28px; }
.search-bar, .filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
input, select, textarea {
    width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px;
    font: inherit; color: var(--ink); background: white;
}
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(37,99,235,.18); border-color: var(--primary); }
.form-row { margin-bottom: 14px; }
.form-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field-error { color: var(--danger); font-size: 13px; }
.hp-field { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.contact-form, .side-card { position: relative; }
.contact-form { background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 18px; color: var(--muted); font-size: 14px; }
.breadcrumbs li:not(:last-child):after { content: "/"; margin-left: 8px; color: #CBD5E1; }
.pagination { display: flex; gap: 8px; margin-top: 22px; }
.pagination a { min-width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); }
.pagination a.is-current { background: var(--ink); color: white; }
.plain-list { list-style: none; padding: 0; margin: 0 0 18px; }
.plain-list li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.plain-list.inline-links { display: flex; gap: 16px; }
.plain-list.inline-links li { border: 0; }
.flash { padding: 12px 14px; border-radius: 12px; margin-top: 12px; }
.flash-success { background: #ECFDF5; color: var(--ok); }
.flash-error { background: #FEF2F2; color: var(--danger); }
.site-footer { background: var(--section); border-top: 1px solid var(--line); padding: 48px 0 20px; }
.footer-grid { grid-template-columns: 1.4fr .8fr .8fr; }
.footer-grid a, .footer-grid p { display: block; color: var(--muted); margin-bottom: 8px; }
.footer-logo { display: inline-flex; margin-bottom: 12px; color: var(--ink); }
.footer-base { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 980px) {
    .hero-grid, .intro-grid, .prose-grid, .contact-grid, .listing-layout, .two-col, .footer-grid,
    .stat-grid, .card-grid, .cards-3, .experience-preview { grid-template-columns: 1fr 1fr; }
    .hero-grid, .listing-layout, .footer-grid, .contact-grid, .prose-grid, .intro-grid { grid-template-columns: 1fr; }
    .nav-toggle { display: inline-block; }
    .site-nav {
        display: none; position: absolute; left: 20px; right: 20px; top: 72px; background: white;
        border: 1px solid var(--line); border-radius: 16px; padding: 14px; flex-direction: column; align-items: flex-start;
        box-shadow: var(--shadow);
    }
    .site-nav.is-open { display: flex; }
    .strength-list.columns { columns: 1; }
}
@media (max-width: 720px) {
    .stat-grid, .card-grid, .cards-3, .experience-preview, .form-row.two, .gallery, .two-col { grid-template-columns: 1fr; }
    .section { padding: 58px 0; }
    .cta-band, .section-head.split, .footer-base { display: block; }
    .hero { padding-top: 36px; }
    .container { width: min(var(--max), calc(100% - 28px)); }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .service-card, .content-card { transition: none; }
}
