:root {
    --navy: #202f82;
    --navy-dark: #121d59;
    --blue: #24a8df;
    --blue-pale: #eaf6fc;
    --ink: #151b2d;
    --muted: #667085;
    --line: #dfe4ec;
    --paper: #f7f8fb;
    --white: #fff;
    --container: 1180px;
    --shadow: 0 24px 70px rgba(20, 34, 81, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: "DM Sans", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.skip-link { position: fixed; top: -60px; left: 20px; z-index: 9999; background: #fff; padding: 12px 18px; }
.skip-link:focus { top: 12px; }
.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 100;
    height: 88px;
    color: #fff;
    transition: background .3s, box-shadow .3s, height .3s;
}
.site-header.scrolled, body:not(:has(.hero, .page-hero, .contact-hero, .article-header)) .site-header {
    height: 76px;
    color: var(--ink);
    background: rgba(255,255,255,.96);
    box-shadow: 0 5px 30px rgba(20, 31, 67, .08);
    backdrop-filter: blur(14px);
}
.nav-wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand img { width: 310px; height: auto; content: url("/assets/images/logo-ca-retina-white.png"); image-rendering: auto; transition: width .3s; }
.site-header.scrolled .brand img { width: 290px; content: url("/assets/images/logo-ca-retina.png"); }
.main-nav { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 600; }
.main-nav > a { position: relative; padding: 12px 0; opacity: .86; transition: opacity .2s; }
.main-nav > a::after { position: absolute; right: 50%; bottom: 4px; left: 50%; height: 2px; content: ""; background: var(--blue); transition: left .2s, right .2s; }
.main-nav > a:hover, .main-nav > a.active { opacity: 1; }
.main-nav > a:hover::after, .main-nav > a.active::after { right: 0; left: 0; }
.main-nav .nav-cta { padding: 11px 20px; color: #fff; border: 1px solid rgba(255,255,255,.55); }
.main-nav .nav-cta::after { display: none; }
.site-header.scrolled .main-nav .nav-cta { background: var(--navy); border-color: var(--navy); }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 0; background: none; }
.nav-toggle span { display: block; width: 24px; height: 2px; margin: 5px 0; background: currentColor; }

.hero { position: relative; min-height: 760px; height: 100vh; max-height: 920px; color: #fff; background: var(--navy-dark); overflow: hidden; }
.hero-media { position: absolute; inset: 0; background: url("/assets/images/hero-building.jpeg") center/cover no-repeat; animation: heroZoom 14s ease-out both; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,27,84,.96) 0%, rgba(24,42,119,.85) 46%, rgba(14,26,77,.3) 100%); }
.hero-overlay::after { position: absolute; inset: auto -8vw -25vh auto; width: 48vw; height: 70vh; content: ""; transform: skewX(-23deg); border-left: 1px solid rgba(255,255,255,.25); background: rgba(35,167,224,.16); }
@keyframes heroZoom { from { transform: scale(1.05); } to { transform: scale(1); } }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.45fr .55fr; gap: 100px; align-items: center; height: 100%; padding-top: 60px; }
.eyebrow { display: flex; gap: 12px; align-items: center; color: var(--navy); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow span { width: 34px; height: 2px; background: var(--blue); }
.eyebrow.light { color: #9ddcf5; }
.hero-copy h1 { max-width: 780px; margin: 28px 0 24px; font: 700 clamp(48px, 5vw, 76px)/1.08 "Manrope", sans-serif; letter-spacing: -.045em; }
.hero-copy h1 em { color: var(--blue); font-style: normal; }
.hero-copy > p { max-width: 650px; margin: 0; color: rgba(255,255,255,.8); font-size: 19px; }
.hero-actions { display: flex; gap: 14px; margin-top: 40px; }
.button { display: inline-flex; gap: 12px; align-items: center; justify-content: center; min-height: 54px; padding: 0 25px; border: 1px solid transparent; font-size: 14px; font-weight: 700; transition: transform .2s, background .2s, color .2s; }
.button:hover { transform: translateY(-2px); }
.button svg, .text-link svg, .post-arrow svg { width: 20px; height: 20px; }
.button-primary { color: #fff; background: var(--blue); }
.button-primary:hover { background: #1396cf; }
.button-ghost { color: #fff; border-color: rgba(255,255,255,.48); }
.button-ghost:hover { color: var(--navy); background: #fff; }
.button-white { color: var(--navy); background: #fff; }
.button-dark { color: #fff; background: var(--navy); }
.hero-proof { align-self: end; margin-bottom: 100px; padding-left: 28px; border-left: 1px solid rgba(255,255,255,.28); }
.proof-number { font: 700 68px/1 "Manrope", sans-serif; }
.proof-number span { color: var(--blue); }
.hero-proof p { max-width: 260px; margin: 12px 0 22px; color: rgba(255,255,255,.72); font-size: 13px; line-height: 1.55; }
.proof-line { width: 60px; height: 1px; margin-bottom: 18px; background: rgba(255,255,255,.35); }
.proof-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.proof-tags span { padding: 5px 9px; color: #bfe8f8; border: 1px solid rgba(36,168,223,.45); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.scroll-cue { position: absolute; z-index: 3; bottom: 30px; left: 50%; display: flex; gap: 12px; align-items: center; transform: translateX(-50%); color: rgba(255,255,255,.55); font-size: 10px; letter-spacing: .15em; text-transform: uppercase; }
.scroll-cue span { width: 34px; height: 1px; background: currentColor; }
.trust-strip { padding: 24px 0; border-bottom: 1px solid var(--line); background: #fff; }
.trust-inner { display: flex; align-items: center; justify-content: space-between; }
.trust-inner > p { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.trust-items { display: flex; gap: 30px; color: #34415e; font-size: 12px; font-weight: 700; }
.section { padding: 110px 0; }
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; }
.section-heading h2 { max-width: 620px; margin: 18px 0 0; font: 700 clamp(34px, 4vw, 54px)/1.16 "Manrope", sans-serif; letter-spacing: -.035em; }
.about-copy .lead { margin-top: 0; color: var(--ink); font: 500 22px/1.55 "Manrope", sans-serif; }
.about-copy > p:not(.lead) { color: var(--muted); }
.text-link { display: inline-flex; gap: 10px; align-items: center; margin-top: 16px; color: var(--navy); font-size: 13px; font-weight: 700; }
.text-link svg { transition: transform .2s; }
.text-link:hover svg { transform: translateX(4px); }
.text-link.light { color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 80px; padding-top: 44px; border-top: 1px solid var(--line); }
.stats-grid > div { padding: 0 30px; border-right: 1px solid var(--line); }
.stats-grid > div:first-child { padding-left: 0; }
.stats-grid > div:last-child { border: 0; }
.stats-grid strong { display: block; color: var(--navy); font: 700 40px/1 "Manrope", sans-serif; }
.stats-grid strong span { color: var(--blue); }
.stats-grid > div > span { display: block; margin-top: 13px; color: var(--muted); font-size: 12px; }
.services-home { position: relative; color: #fff; background: var(--navy-dark); overflow: hidden; }
.services-home::after { position: absolute; right: -160px; bottom: -260px; width: 600px; height: 600px; content: ""; border: 120px solid rgba(36,168,223,.07); border-radius: 50%; }
.heading-row { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 55px; }
.services-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.15); }
.service-card { position: relative; min-height: 340px; padding: 38px; background: #182567; transition: background .25s, transform .25s; transition-delay: var(--delay, 0ms); }
.service-card:nth-child(4), .service-card:nth-child(5) { min-height: 300px; }
.service-card:hover { z-index: 2; background: var(--navy); transform: translateY(-7px); }
.service-icon { display: grid; width: 52px; height: 52px; place-items: center; color: var(--blue); background: rgba(36,168,223,.1); }
.service-icon svg { width: 27px; height: 27px; }
.service-index { position: absolute; top: 38px; right: 38px; color: rgba(255,255,255,.3); font-size: 12px; letter-spacing: .1em; }
.service-card h3 { margin: 38px 0 14px; font: 700 21px/1.3 "Manrope", sans-serif; }
.service-card p { margin: 0; color: rgba(255,255,255,.64); font-size: 14px; }
.service-card > a { position: absolute; right: 34px; bottom: 30px; display: grid; width: 36px; height: 36px; place-items: center; color: #fff; border: 1px solid rgba(255,255,255,.25); }
.service-card > a svg { width: 18px; }
.approach-section { background: var(--paper); }
.approach-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 100px; align-items: center; }
.approach-image { position: relative; }
.approach-image img { width: 100%; height: 620px; object-fit: cover; }
.image-badge { position: absolute; right: -35px; bottom: 38px; width: 150px; padding: 24px; color: #fff; background: var(--navy); }
.image-badge strong, .image-badge span { display: block; }
.image-badge strong { font: 700 20px "Manrope", sans-serif; }
.image-badge span { color: rgba(255,255,255,.6); font-size: 11px; }
.approach-copy h2 { margin: 18px 0 40px; font: 700 clamp(34px, 3.5vw, 50px)/1.18 "Manrope", sans-serif; letter-spacing: -.035em; }
.approach-list > div { display: grid; grid-template-columns: 46px 1fr; gap: 20px; padding: 25px 0; border-top: 1px solid var(--line); }
.approach-list > div > span { color: var(--blue); font-size: 12px; font-weight: 700; }
.approach-list h3 { margin: 0 0 7px; font: 700 17px "Manrope", sans-serif; }
.approach-list p { margin: 0; color: var(--muted); font-size: 14px; }
.leader-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.leader-card { display: grid; grid-template-columns: 205px 1fr; min-height: 360px; background: var(--paper); }
.leader-photo { overflow: hidden; }
.leader-photo img { width: 100%; height: 100%; object-fit: cover; }
.leader-info { padding: 35px; }
.leader-info > span, .leader-profile > div > span { color: var(--blue); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.leader-info h3 { margin: 9px 0 16px; color: var(--navy); font: 700 21px/1.35 "Manrope", sans-serif; }
.leader-info p { display: -webkit-box; margin: 0; overflow: hidden; color: var(--muted); font-size: 13px; -webkit-line-clamp: 5; -webkit-box-orient: vertical; }
.client-section { padding: 65px 0 85px; background: var(--paper); }
.client-intro { display: flex; align-items: center; justify-content: space-between; margin-bottom: 36px; }
.client-intro span { color: var(--navy); font: 700 16px "Manrope", sans-serif; }
.client-intro p { max-width: 520px; margin: 0; color: var(--muted); font-size: 13px; }
.logo-wall { display: grid; grid-template-columns: repeat(6, 1fr); background: var(--line); gap: 1px; }
.logo-wall div { display: grid; height: 115px; padding: 18px; place-items: center; background: #fff; }
.logo-wall img { max-width: 125px; max-height: 70px; filter: grayscale(1); opacity: .65; transition: filter .2s, opacity .2s; }
.logo-wall div:hover img { filter: none; opacity: 1; }
.insight-home { background: #fff; }
.posts-grid { display: grid; grid-template-columns: 1.25fr .875fr .875fr; gap: 30px; }
.post-card { position: relative; min-height: 380px; padding: 32px; border: 1px solid var(--line); }
.post-card:first-child { padding: 0 0 32px; }
.post-card:first-child .post-meta, .post-card:first-child h3, .post-card:first-child p { margin-right: 32px; margin-left: 32px; }
.post-image { display: block; height: 230px; margin-bottom: 28px; overflow: hidden; }
.post-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.post-card:hover .post-image img { transform: scale(1.04); }
.post-meta { display: flex; gap: 13px; align-items: center; color: var(--muted); font-size: 11px; }
.post-meta span:first-child { color: var(--blue); font-weight: 700; text-transform: uppercase; }
.post-card h3 { margin: 16px 0 12px; font: 700 21px/1.4 "Manrope", sans-serif; }
.post-card p { color: var(--muted); font-size: 13px; }
.post-arrow { position: absolute; right: 26px; bottom: 25px; display: grid; width: 38px; height: 38px; place-items: center; color: var(--navy); background: var(--blue-pale); }
.cta-section { color: #fff; background: var(--navy); }
.cta-inner { display: flex; min-height: 330px; align-items: center; justify-content: space-between; gap: 50px; }
.cta-inner span { color: #8dd9f7; font-size: 12px; letter-spacing: .13em; text-transform: uppercase; }
.cta-inner h2 { max-width: 720px; margin: 15px 0 0; font: 700 clamp(32px, 4vw, 51px)/1.2 "Manrope", sans-serif; letter-spacing: -.035em; }

.page-hero { padding: 190px 0 105px; color: #fff; background: var(--navy-dark); }
.page-hero.compact { padding-bottom: 85px; }
.page-hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 80px; align-items: end; }
.page-hero h1 { max-width: 790px; margin: 26px 0 0; font: 700 clamp(45px, 5vw, 70px)/1.1 "Manrope", sans-serif; letter-spacing: -.045em; }
.page-hero-grid > p { margin: 0 0 10px; color: rgba(255,255,255,.68); font-size: 18px; }
.profile-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; align-items: center; }
.profile-media { position: relative; }
.profile-media img { height: 570px; width: 100%; object-fit: cover; }
.year-badge { position: absolute; right: -30px; bottom: 35px; padding: 23px 30px; color: #fff; background: var(--blue); }
.year-badge span, .year-badge strong { display: block; }
.year-badge span { font-size: 10px; letter-spacing: .13em; text-transform: uppercase; }
.year-badge strong { font: 700 32px "Manrope", sans-serif; }
.prose { color: #394157; font-size: 17px; }
.prose h2 { margin: 38px 0 14px; color: var(--ink); font: 700 30px "Manrope", sans-serif; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { color: var(--ink); font: 700 22px "Manrope", sans-serif; }
.prose p { margin: 0 0 22px; }
.prose li { margin: 8px 0; }
.prose a { color: var(--navy); text-decoration: underline; }
.vision-section { color: #fff; background: var(--navy); }
.vision-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 110px; }
.vision-title h2 { margin: 20px 0; font: 700 46px/1.18 "Manrope", sans-serif; }
.prose.light { color: rgba(255,255,255,.75); }
.prose.light h2, .prose.light h3 { color: #fff; }
.credentials-section { background: var(--paper); }
.credential-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 55px; border-top: 1px solid #cdd5df; border-bottom: 1px solid #cdd5df; }
.credential-grid > div { padding: 35px 35px 40px 0; border-right: 1px solid #cdd5df; }
.credential-grid > div:not(:first-child) { padding-left: 35px; }
.credential-grid > div:last-child { border: 0; }
.credential-grid span { color: var(--blue); font-size: 12px; font-weight: 700; }
.credential-grid h3 { margin: 18px 0 10px; color: var(--navy); font: 700 19px "Manrope", sans-serif; }
.credential-grid p { margin: 0; color: var(--muted); font-size: 13px; }
.service-detail-list { border-top: 1px solid var(--line); }
.service-detail { display: grid; grid-template-columns: 80px 90px 1fr; gap: 35px; padding: 55px 0; border-bottom: 1px solid var(--line); }
.service-detail-number { padding-top: 10px; color: var(--muted); font-size: 12px; }
.service-icon.large { width: 72px; height: 72px; }
.service-detail h2 { margin: 0 0 12px; color: var(--navy); font: 700 31px "Manrope", sans-serif; }
.service-detail p { max-width: 750px; margin: 0; color: var(--muted); }
.team-leaders { padding-bottom: 20px; }
.leader-profile { display: grid; grid-template-columns: 360px 1fr; gap: 80px; align-items: center; margin-bottom: 90px; }
.leader-profile:nth-child(even) { grid-template-columns: 1fr 360px; }
.leader-profile:nth-child(even) .leader-profile-image { order: 2; }
.leader-profile-image img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.leader-profile h2 { margin: 12px 0 24px; color: var(--navy); font: 700 34px/1.25 "Manrope", sans-serif; }
.leader-profile p { color: var(--muted); font-size: 16px; }
.team-list-section { background: var(--paper); }
.team-list-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; }
.team-names { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.team-names div { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 600; }
.team-names span { display: inline-block; width: 35px; color: var(--blue); font-size: 10px; }
.category-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 48px; }
.category-filter a { padding: 9px 15px; color: var(--muted); border: 1px solid var(--line); font-size: 12px; font-weight: 600; }
.category-filter a.active, .category-filter a:hover { color: #fff; border-color: var(--navy); background: var(--navy); }
.archive-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 70px 40px; }
.archive-card { position: relative; }
.archive-image { display: grid; height: 300px; margin-bottom: 24px; place-items: center; overflow: hidden; color: rgba(255,255,255,.3); background: var(--navy); font: 700 60px "Manrope", sans-serif; }
.archive-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.archive-card:hover .archive-image img { transform: scale(1.04); }
.archive-card h2 { margin: 15px 0 12px; font: 700 26px/1.35 "Manrope", sans-serif; }
.archive-card > p { color: var(--muted); }
.empty-state { grid-column: 1/-1; padding: 60px; text-align: center; background: var(--paper); }
.article-header { padding: 175px 0 95px; color: #fff; background: var(--navy-dark); }
.article-heading { max-width: 900px; }
.back-link { display: inline-block; margin-bottom: 40px; color: #8edbf7; font-size: 12px; }
.article-header .post-meta { color: rgba(255,255,255,.55); }
.article-header h1 { margin: 24px 0; font: 700 clamp(42px, 5.5vw, 68px)/1.1 "Manrope", sans-serif; letter-spacing: -.04em; }
.article-header p { max-width: 740px; color: rgba(255,255,255,.7); font-size: 18px; }
.article-cover { margin-top: 70px; }
.article-cover img { width: 100%; height: 520px; object-fit: cover; }
.article-layout { display: grid; grid-template-columns: minmax(0, 720px) 290px; gap: 100px; padding-top: 80px; padding-bottom: 110px; }
.article-body { font-size: 18px; }
.article-aside { align-self: start; padding: 28px; border-top: 3px solid var(--blue); background: var(--paper); }
.article-aside span, .article-aside strong { display: block; }
.article-aside span { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.article-aside strong { margin-top: 6px; color: var(--navy); }
.article-aside p { margin: 25px 0; color: var(--muted); font-size: 13px; }
.contact-hero { min-height: 760px; padding: 175px 0 100px; color: #fff; background: linear-gradient(115deg, var(--navy-dark) 0 62%, var(--navy) 62%); }
.contact-grid { display: grid; grid-template-columns: 1fr .75fr; gap: 100px; align-items: center; }
.contact-title h1 { margin: 28px 0; font: 700 clamp(48px, 5.5vw, 72px)/1.1 "Manrope", sans-serif; letter-spacing: -.045em; }
.contact-title p { max-width: 560px; color: rgba(255,255,255,.7); font-size: 18px; }
.contact-card { padding: 40px; color: var(--ink); background: #fff; box-shadow: var(--shadow); }
.contact-card > a:not(.whatsapp-button) { display: grid; grid-template-columns: 45px 1fr; gap: 15px; align-items: start; padding: 19px 0; border-bottom: 1px solid var(--line); }
.contact-card > a > span { display: grid; width: 40px; height: 40px; place-items: center; color: var(--blue); background: var(--blue-pale); }
.contact-card svg { width: 20px; }
.contact-card small, .contact-card strong { display: block; }
.contact-card small { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.contact-card strong { margin-top: 3px; font-size: 14px; line-height: 1.45; }
.whatsapp-button { display: flex; align-items: center; justify-content: space-between; margin-top: 28px; padding: 15px 20px; color: #fff; background: var(--navy); font-size: 13px; font-weight: 700; }
.office-map { padding: 100px 0; background: var(--paper); }
.office-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.office-image img { width: 100%; height: 450px; object-fit: cover; }
.office-copy > span { color: var(--blue); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.office-copy h2 { margin: 12px 0; color: var(--navy); font: 700 36px "Manrope", sans-serif; }
.office-copy > p { color: var(--muted); font-size: 17px; }
.office-hours { display: flex; gap: 14px; margin: 30px 0 16px; }
.office-hours svg { width: 24px; color: var(--blue); }
.office-hours p { margin: 0; color: var(--muted); font-size: 13px; }
.generic-page .prose { max-width: 820px; margin-inline: auto; }
.not-found { display: grid; min-height: 750px; place-items: center; padding: 150px 0 100px; text-align: center; }
.not-found span { color: var(--blue); font: 800 90px "Manrope", sans-serif; }
.not-found h1 { margin: 0; font: 700 45px "Manrope", sans-serif; }
.not-found p { margin-bottom: 30px; color: var(--muted); }

.site-footer { padding: 80px 0 25px; color: rgba(255,255,255,.65); background: #0d153d; }
.footer-main { display: grid; grid-template-columns: 2fr .8fr 1.2fr 1.4fr; gap: 55px; padding-bottom: 60px; }
.footer-brand img { width: 330px; content: url("/assets/images/logo-ca-retina-white.png"); }
.footer-brand p { max-width: 300px; margin-top: 25px; font-size: 13px; }
.footer-main h3 { margin: 0 0 20px; color: #fff; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.footer-main > div:not(.footer-brand) a { display: block; margin: 9px 0; font-size: 13px; transition: color .2s; }
.footer-main a:hover { color: var(--blue); }
.footer-contact p { font-size: 13px; }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: 11px; }
.floating-wa { position: fixed; z-index: 90; right: 24px; bottom: 24px; display: grid; width: 52px; height: 52px; place-items: center; color: #fff; border-radius: 50%; background: #19a966; box-shadow: 0 10px 30px rgba(0,0,0,.2); transition: transform .2s; }
.floating-wa:hover { transform: translateY(-3px); }
.floating-wa svg { width: 23px; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: .12s; }

@media (max-width: 1024px) {
    .main-nav { gap: 19px; }
    .brand img { width: 250px; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-proof { display: none; }
    .services-grid { grid-template-columns: 1fr 1fr; }
    .approach-grid, .profile-grid { gap: 55px; }
    .leader-card { grid-template-columns: 170px 1fr; }
    .posts-grid { grid-template-columns: 1fr 1fr; }
    .post-card:first-child { grid-column: 1/-1; }
    .logo-wall { grid-template-columns: repeat(4, 1fr); }
    .page-hero-grid, .contact-grid { gap: 50px; }
    .article-layout { gap: 55px; }
    .footer-main { grid-template-columns: 1.7fr 1fr 1fr; }
    .footer-contact { grid-column: 2/4; }
}

@media (max-width: 800px) {
    .container { width: min(calc(100% - 30px), var(--container)); }
    .site-header, .site-header.scrolled { height: 70px; }
    .brand img, .site-header.scrolled .brand img { width: 220px; content: url("/assets/images/logo-ca-retina-white.png"); }
    .site-header.scrolled .brand img { content: url("/assets/images/logo-ca-retina.png"); }
    .nav-toggle { display: block; color: inherit; }
    .main-nav { position: fixed; inset: 70px 0 0; display: flex; flex-direction: column; gap: 0; align-items: stretch; padding: 24px 20px; color: var(--ink); background: #fff; transform: translateX(100%); transition: transform .3s; }
    .main-nav.open { transform: none; }
    .main-nav > a { padding: 16px 5px; border-bottom: 1px solid var(--line); font-size: 16px; }
    .main-nav > a::after { display: none; }
    .main-nav .nav-cta { margin-top: 15px; text-align: center; background: var(--navy); }
    .hero { min-height: 700px; max-height: 800px; }
    .hero-grid { padding-top: 30px; }
    .hero-copy h1 { font-size: clamp(43px, 12vw, 61px); }
    .hero-copy > p { font-size: 16px; }
    .hero-actions { flex-direction: column; align-items: stretch; max-width: 330px; }
    .scroll-cue { display: none; }
    .trust-inner, .client-intro { display: block; }
    .trust-items { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 15px; }
    .section { padding: 75px 0; }
    .split-grid, .approach-grid, .profile-grid, .vision-grid, .team-list-grid, .office-grid { grid-template-columns: 1fr; gap: 45px; }
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 25px 0; }
    .stats-grid > div:nth-child(2) { border: 0; }
    .stats-grid > div:nth-child(3) { padding-left: 0; }
    .services-grid, .leader-grid, .posts-grid, .archive-grid { grid-template-columns: 1fr; }
    .post-card:first-child { grid-column: auto; }
    .approach-image img { height: 440px; }
    .image-badge { right: 20px; }
    .leader-card { grid-template-columns: 180px 1fr; }
    .heading-row { display: block; }
    .heading-row > .text-link { margin-top: 25px; }
    .logo-wall { grid-template-columns: repeat(3, 1fr); }
    .page-hero { padding: 140px 0 70px; }
    .page-hero-grid { grid-template-columns: 1fr; gap: 35px; }
    .credential-grid { grid-template-columns: 1fr; }
    .credential-grid > div, .credential-grid > div:not(:first-child) { padding: 28px 0; border-right: 0; border-bottom: 1px solid var(--line); }
    .service-detail { grid-template-columns: 50px 1fr; gap: 25px; }
    .service-detail .service-icon { display: none; }
    .leader-profile, .leader-profile:nth-child(even) { grid-template-columns: 260px 1fr; gap: 45px; }
    .leader-profile:nth-child(even) .leader-profile-image { order: 0; }
    .article-layout { grid-template-columns: 1fr; }
    .article-aside { max-width: 400px; }
    .article-cover img { height: 380px; }
    .contact-grid { grid-template-columns: 1fr; }
    .contact-hero { background: var(--navy-dark); }
    .footer-main { grid-template-columns: 1.5fr 1fr 1fr; }
    .footer-contact { grid-column: 1/-1; }
}

@media (max-width: 560px) {
    .hero-copy h1 { font-size: 42px; }
    .section-heading h2 { font-size: 34px; }
    .trust-items { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr; }
    .stats-grid > div { padding: 0 0 22px; border-right: 0; border-bottom: 1px solid var(--line); }
    .stats-grid > div:nth-child(2) { border-bottom: 1px solid var(--line); }
    .services-grid { grid-template-columns: 1fr; }
    .service-card { min-height: 310px; }
    .leader-card { grid-template-columns: 1fr; }
    .leader-photo { height: 330px; }
    .logo-wall { grid-template-columns: repeat(2, 1fr); }
    .logo-wall div { height: 100px; }
    .page-hero h1 { font-size: 41px; }
    .profile-media img { height: 410px; }
    .leader-profile, .leader-profile:nth-child(even) { grid-template-columns: 1fr; gap: 28px; }
    .leader-profile-image { max-width: 280px; }
    .team-names { grid-template-columns: 1fr; }
    .archive-image { height: 230px; }
    .article-header { padding-top: 135px; }
    .article-header h1 { font-size: 39px; }
    .article-cover { margin-top: 35px; }
    .article-cover img { height: 260px; }
    .article-layout { padding-top: 50px; }
    .contact-title h1 { font-size: 43px; }
    .contact-card { padding: 24px; }
    .office-image img { height: 320px; }
    .cta-inner { display: block; padding: 70px 0; }
    .cta-inner .button { margin-top: 30px; }
    .footer-main { grid-template-columns: 1fr 1fr; }
    .footer-brand, .footer-contact { grid-column: 1/-1; }
    .footer-bottom { gap: 15px; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition-duration: .01ms !important; }
    .reveal { opacity: 1; transform: none; }
}
