:root {
  --ink: #111827;
  --muted: #5e667a;
  --paper: #ffffff;
  --soft: #f4f7fb;
  --line: #dfe6f2;
  --navy: #101a3d;
  --navy-2: #172756;
  --purple: #6b4fd8;
  --cyan: #15b8d8;
  --green: #29a36a;
  --amber: #f0a93b;
  --coral: #e35d6a;
  --shadow: 0 18px 45px rgba(16, 26, 61, 0.14);
  --radius: 8px;
  --header: 76px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); line-height: 1.6; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, figure, blockquote { margin: 0; }
button, input, select, textarea { font: inherit; }

.shell { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.sr-only, .skip-link { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed; left: 16px; top: 16px; z-index: 1000; width: auto; height: auto; padding: 10px 14px; clip: auto; background: var(--paper); color: var(--navy); border-radius: var(--radius); box-shadow: var(--shadow); }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, 0.92); border-bottom: 1px solid rgba(223, 230, 242, 0.9); backdrop-filter: blur(14px); transition: box-shadow 180ms ease, background 180ms ease; }
.site-header.is-scrolled { box-shadow: 0 12px 28px rgba(16, 26, 61, 0.08); }
.nav { min-height: var(--header); display: flex; align-items: center; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: max-content; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: var(--radius); color: #fff; background: linear-gradient(135deg, var(--navy), var(--purple) 58%, var(--cyan)); font-weight: 800; font-size: 0.9rem; }
.brand strong { display: block; font-size: 1rem; line-height: 1.1; color: var(--navy); }
.brand small { display: block; color: var(--muted); line-height: 1.1; }
.nav-menu { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-menu a { padding: 10px 12px; border-radius: var(--radius); color: #313a50; font-weight: 650; font-size: 0.94rem; }
.nav-menu a:hover, .nav-menu a[aria-current="page"] { color: var(--navy); background: #eef3fb; }
.nav-cta, .button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 12px 18px; border-radius: var(--radius); border: 1px solid transparent; font-weight: 800; line-height: 1.2; text-align: center; cursor: pointer; transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease; }
.nav-cta { background: var(--navy); color: #fff; box-shadow: 0 12px 24px rgba(16, 26, 61, 0.18); }
.nav-cta:hover, .button:hover { transform: translateY(-1px); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.nav-toggle span:not(.sr-only) { display: block; width: 18px; height: 2px; margin: 4px auto; background: var(--navy); }

.hero { position: relative; min-height: 78svh; overflow: hidden; display: flex; align-items: center; color: #fff; background: var(--navy); }
.hero-media, .hero-overlay { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { background: linear-gradient(90deg, rgba(7, 13, 34, 0.92), rgba(16, 26, 61, 0.76) 42%, rgba(16, 26, 61, 0.3) 74%, rgba(16, 26, 61, 0.38)); }
.hero-content { position: relative; z-index: 1; max-width: 720px; padding: 90px 0 100px; }
.eyebrow { color: var(--cyan); font-size: 0.78rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0; margin-bottom: 12px; }
.hero h1 { font-size: 4.8rem; line-height: 0.96; letter-spacing: 0; max-width: 720px; }
.hero-line { margin-top: 18px; font-size: 1.5rem; font-weight: 800; color: #eef4ff; }
.hero-copy { margin-top: 18px; max-width: 650px; color: #d8e4fa; font-size: 1.12rem; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.button-primary { background: linear-gradient(135deg, var(--purple), var(--cyan)); color: #fff; box-shadow: 0 16px 34px rgba(21, 184, 216, 0.22); }
.button-secondary { background: rgba(255, 255, 255, 0.09); color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.button-light { background: #fff; color: var(--navy); border-color: var(--line); box-shadow: 0 10px 24px rgba(16, 26, 61, 0.08); }

.section { padding: 92px 0; }
.section-tight { padding: 34px 0; background: #f8fbff; border-bottom: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: 34px; }
.section-head h2, .split h2, .cta-inner h2, .page-hero h1 { font-size: 2.7rem; line-height: 1.08; color: var(--navy); letter-spacing: 0; }
.section-head p, .split p, .copy-panel p, .page-hero p { color: var(--muted); font-size: 1.04rem; }
.row-head { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 24px; }

.proof-grid, .service-grid, .work-grid, .video-grid, .values-grid, .article-grid { display: grid; gap: 18px; }
.proof-grid { grid-template-columns: repeat(3, 1fr); }
.proof-item { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; min-height: 138px; }
.proof-item strong { display: block; color: var(--navy); font-size: 1.35rem; margin-bottom: 8px; }
.proof-item span { color: var(--muted); }
.service-grid { grid-template-columns: repeat(3, 1fr); }
.service-card, .work-card, .video-card, .article-card, .values-grid article, .copy-panel, .contact-panel, .contact-form, .case-card { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 10px 28px rgba(16, 26, 61, 0.06); }
.service-card { padding: 26px; min-height: 245px; }
.service-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: var(--radius); margin-bottom: 22px; background: linear-gradient(135deg, #eef3ff, #e8fbff); color: var(--purple); font-weight: 900; }
.service-card h3, .work-card h3, .video-card h3, .values-grid h3, .article-card h2, .case-body h2 { color: var(--navy); line-height: 1.2; }
.service-card p, .work-card p, .video-card p, .values-grid p, .article-card p, .case-body p { color: var(--muted); margin-top: 10px; }

.band-dark { background: linear-gradient(135deg, var(--navy), #18265a 62%, #1d2f68); color: #fff; }
.band-dark h2, .band-dark p, .band-dark .eyebrow { color: #fff; }
.band-dark p { color: #dce6f8; }
.band-soft { background: var(--soft); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr); gap: 48px; align-items: center; }
.align-start { align-items: start; }
.stack { display: grid; gap: 8px; }
.text-link { display: inline-flex; margin-top: 22px; color: var(--cyan); font-weight: 850; }
.metrics-panel { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.metrics-panel div { min-height: 128px; padding: 24px; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: var(--radius); background: rgba(255, 255, 255, 0.08); }
.metrics-panel strong { display: block; font-size: 2.25rem; line-height: 1; }
.metrics-panel span { color: #d9e6ff; }

.work-grid { grid-template-columns: repeat(3, 1fr); }
.work-card { overflow: hidden; }
.work-card > div:last-child { padding: 22px; }
.work-card span, .case-body span, .article-card span { display: inline-block; color: var(--purple); font-size: 0.78rem; font-weight: 900; text-transform: uppercase; margin-bottom: 8px; }
.work-visual { min-height: 168px; background: #dfe6f2; position: relative; overflow: hidden; }
.work-visual::before { content: ""; position: absolute; inset: 18px; border: 1px solid rgba(255,255,255,0.45); border-radius: var(--radius); }
.work-visual::after { content: ""; position: absolute; left: 28px; right: 28px; bottom: 30px; height: 10px; border-radius: 3px; background: rgba(255,255,255,0.7); box-shadow: 0 -26px 0 rgba(255,255,255,0.45), 0 -52px 0 rgba(255,255,255,0.28); }
.visual-a { background: linear-gradient(135deg, #142254, #6b4fd8 60%, #15b8d8); }
.visual-b { background: linear-gradient(135deg, #101a3d, #e35d6a 58%, #f0a93b); }
.visual-c { background: linear-gradient(135deg, #142254, #29a36a 55%, #15b8d8); }

.video-section { background: #fbfcff; }
.video-grid { grid-template-columns: repeat(3, 1fr); }
.video-card { min-height: 210px; padding: 26px; background: linear-gradient(180deg, #fff, #f6f9ff); }
.play-mark { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 28px; border-radius: var(--radius); background: var(--navy); }
.play-mark::before { content: ""; width: 0; height: 0; border-top: 10px solid transparent; border-bottom: 10px solid transparent; border-left: 15px solid #fff; margin-left: 4px; }
.quote-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 24px; align-items: stretch; }
.testimonial { padding: 34px; border-radius: var(--radius); background: var(--navy); color: #fff; }
.testimonial blockquote { font-size: 1.45rem; line-height: 1.35; }
.testimonial figcaption { margin-top: 20px; color: #bdd6ff; }
.insight-preview { padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); }
.insight-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.insight-list a { color: var(--navy); font-weight: 800; }
.insight-list a:hover { color: var(--purple); }

.page-hero { padding: 96px 0 70px; background: linear-gradient(135deg, #f8fbff, #eef3ff); border-bottom: 1px solid var(--line); }
.page-hero .shell { max-width: 860px; }
.page-hero p { max-width: 760px; margin-top: 18px; }
.copy-panel { padding: 30px; }
.mission-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mission-grid article, .values-grid article { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.number-label { display: inline-block; color: var(--coral); font-weight: 900; margin-bottom: 18px; }
.values-grid { grid-template-columns: repeat(4, 1fr); }

.service-list { display: grid; gap: 18px; }
.service-detail { display: grid; grid-template-columns: 76px 1fr; gap: 18px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.service-detail .service-icon { margin: 0; }
.tick-list { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; color: var(--muted); }
.tick-list li { position: relative; padding-left: 24px; }
.tick-list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 10px; height: 10px; border-radius: 2px; background: var(--green); }
.process-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; }
.process-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: steps; }
.process-list li { display: grid; grid-template-columns: 120px 1fr; gap: 18px; padding: 18px; border: 1px solid rgba(255,255,255,0.16); border-radius: var(--radius); background: rgba(255,255,255,0.08); }
.process-list span { color: #dce6f8; }

.case-grid { display: grid; gap: 22px; }
.case-card { display: grid; grid-template-columns: 0.75fr 1.25fr; overflow: hidden; }
.case-card .work-visual { min-height: 100%; }
.case-body { padding: 30px; }
dl { margin: 22px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
dt { color: var(--muted); font-size: 0.78rem; text-transform: uppercase; font-weight: 900; }
dd { margin: 0; color: var(--navy); font-weight: 800; }
.article-grid { grid-template-columns: repeat(2, 1fr); }
.article-card { padding: 30px; min-height: 260px; }

.contact-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 28px; align-items: start; }
.contact-panel, .contact-form { padding: 30px; }
.contact-methods { display: grid; gap: 12px; margin: 26px 0; }
.contact-methods a { padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #f8fbff; }
.contact-methods strong, .contact-methods span { display: block; }
.contact-methods span { color: var(--muted); overflow-wrap: anywhere; }
.map-block { min-height: 210px; border-radius: var(--radius); background: linear-gradient(135deg, #132352, #293d78 56%, #15b8d8); color: #fff; display: grid; align-content: center; justify-items: center; padding: 26px; text-align: center; }
.map-block span { font-size: 1.35rem; font-weight: 900; }
.map-block small { color: #d9ecff; }
.contact-form { display: grid; gap: 18px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row { display: grid; gap: 8px; }
label { color: var(--navy); font-weight: 800; }
input, select, textarea { width: 100%; border: 1px solid var(--line); border-radius: var(--radius); padding: 13px 14px; background: #fff; color: var(--ink); outline: none; transition: border-color 160ms ease, box-shadow 160ms ease; }
textarea { resize: vertical; min-height: 150px; }
input:focus, select:focus, textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(21, 184, 216, 0.14); }
.consent { display: flex; align-items: flex-start; gap: 10px; font-weight: 650; color: var(--muted); }
.consent input { width: 18px; height: 18px; margin-top: 4px; flex: 0 0 auto; }
.honeypot { position: absolute; left: -10000px; opacity: 0; pointer-events: none; }
.form-submit { border: 0; width: fit-content; }
.form-status { min-height: 24px; font-weight: 800; }
.form-status.success { color: var(--green); }
.form-status.error { color: var(--coral); }

.legal .shell { max-width: 850px; }
.legal h2 { color: var(--navy); margin-top: 30px; font-size: 1.45rem; }
.legal h2:first-child { margin-top: 0; }
.legal p { color: var(--muted); margin-top: 10px; }
.legal a { color: var(--purple); font-weight: 800; }

.cta-band { padding: 54px 0; background: linear-gradient(135deg, #101a3d, #253b7c 58%, #6b4fd8); color: #fff; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.cta-inner h2, .cta-inner .eyebrow { color: #fff; }
.site-footer { background: #091126; color: #d7e1f3; padding: 62px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 0.7fr 0.7fr 1fr; gap: 34px; }
.footer-grid h2 { color: #fff; font-size: 0.95rem; margin-bottom: 14px; }
.footer-grid a { display: block; color: #d7e1f3; margin: 9px 0; overflow-wrap: anywhere; }
.footer-grid a:hover { color: #fff; }
.footer-brand { margin-bottom: 18px; }
.footer-brand strong { color: #fff; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 28px; margin-top: 34px; border-top: 1px solid rgba(255,255,255,0.12); color: #aebbd3; font-size: 0.92rem; }

[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 520ms ease, transform 520ms ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .nav { justify-content: space-between; }
  .nav-toggle { display: block; margin-left: auto; }
  .nav-cta { display: none; }
  .nav-menu { position: absolute; left: 20px; right: 20px; top: calc(var(--header) - 4px); display: none; flex-direction: column; align-items: stretch; gap: 4px; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
  .nav-menu.is-open { display: flex; }
  .nav-menu a { padding: 12px; }
  .hero h1 { font-size: 3.45rem; }
  .section-head h2, .split h2, .cta-inner h2, .page-hero h1 { font-size: 2.2rem; }
  .proof-grid, .service-grid, .work-grid, .video-grid, .mission-grid, .values-grid, .article-grid { grid-template-columns: repeat(2, 1fr); }
  .split, .process-grid, .contact-layout { grid-template-columns: 1fr; }
  .case-card { grid-template-columns: 1fr; }
  .case-card .work-visual { min-height: 220px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .shell { width: min(100% - 28px, 1120px); }
  .hero { min-height: 82svh; align-items: end; }
  .hero-overlay { background: linear-gradient(180deg, rgba(7, 13, 34, 0.38), rgba(7, 13, 34, 0.92) 48%, rgba(16, 26, 61, 0.98)); }
  .hero-content { padding: 92px 0 72px; }
  .hero h1 { font-size: 2.65rem; }
  .hero-line { font-size: 1.18rem; }
  .hero-copy { font-size: 1rem; }
  .hero-actions, .cta-inner, .row-head { align-items: stretch; flex-direction: column; }
  .button, .nav-cta, .form-submit { width: 100%; }
  .section { padding: 64px 0; }
  .page-hero { padding: 72px 0 54px; }
  .section-head h2, .split h2, .cta-inner h2, .page-hero h1 { font-size: 1.9rem; }
  .proof-grid, .service-grid, .work-grid, .video-grid, .mission-grid, .values-grid, .article-grid, .quote-grid, .metrics-panel, .form-grid, dl { grid-template-columns: 1fr; }
  .service-detail { grid-template-columns: 1fr; }
  .process-list li { grid-template-columns: 1fr; gap: 6px; }
  .footer-grid, .footer-bottom { grid-template-columns: 1fr; display: grid; }
  .footer-bottom { justify-items: start; }
}
