:root {
  --navy: #0a2540;
  --navy-deep: #061a30;
  --accent: #1f8a70;
  --accent-light: #3fb59a;
  --text: #1b2533;
  --muted: #5a6678;
  --line: #e1e6ee;
  --bg-alt: #f5f7fa;
  --white: #fff;
  --serif: "Source Serif 4", Georgia, serif;
  --sans: "Public Sans", system-ui, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--white); color: var(--text); font: 400 1rem/1.65 var(--sans); }
a { color: inherit; }
img, svg { display: block; }
h1, h2, h3 { margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.01em; }
:focus-visible { outline: 3px solid var(--accent-light); outline-offset: 2px; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; z-index: 20; background: var(--white); padding: 8px 14px; }
.muted { color: var(--muted); }

/* Placeholder tag */
.ph {
  display: inline-block; vertical-align: middle;
  font: 600 0.7rem/1 var(--sans); letter-spacing: 0.02em;
  color: #8a5a00; background: #fff3d6; border: 1px dashed #d9a640;
  padding: 4px 8px; border-radius: 4px; margin-left: 8px;
}

/* Buttons */
.btn {
  display: inline-block; padding: 13px 24px; border-radius: 4px;
  font: 600 0.95rem/1.2 var(--sans); text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: background-color .15s, color .15s;
}
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--accent); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { background: var(--accent-light); color: var(--navy-deep); }
.btn-outline-light { border-color: rgba(255,255,255,.5); color: var(--white); }
.btn-outline-light:hover { background: rgba(255,255,255,.1); }
.more { display: inline-block; margin-top: auto; padding-top: 16px; font-weight: 600; color: var(--accent); text-decoration: none; }
.more:hover { text-decoration: underline; }

/* Utility bar + header */
.utility { background: var(--navy-deep); color: rgba(255,255,255,.75); font-size: 0.82rem; }
.utility .wrap { display: flex; justify-content: flex-end; gap: 24px; padding-top: 8px; padding-bottom: 8px; }
.utility a { text-decoration: none; }
.utility a:hover { color: var(--white); }
.utility .lang { color: var(--white); font-weight: 600; }

.site-header { position: sticky; top: 0; z-index: 10; background: var(--white); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-size: 1.15rem; }
.logo svg { width: 34px; height: 34px; }
.logo b { font-weight: 700; }
.logo span { font-weight: 400; }
.logo-light { color: var(--white); }
#nav { display: flex; align-items: center; gap: 30px; }
#nav a:not(.btn) { text-decoration: none; font-weight: 500; font-size: 0.95rem; color: var(--text); }
#nav a:not(.btn):hover { color: var(--accent); }
.menu-toggle { display: none; }

/* Hero */
.hero { background: linear-gradient(135deg, var(--navy-deep), var(--navy) 60%, #12365c); color: var(--white); }
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; padding-top: clamp(64px, 9vw, 120px); padding-bottom: clamp(64px, 9vw, 120px); }
.hero-tag { margin: 0 0 18px; color: var(--accent-light); font-weight: 600; }
.hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.12; margin-bottom: 24px; max-width: 20ch; }
.hero-lede { font-size: 1.15rem; color: rgba(255,255,255,.82); max-width: 56ch; margin: 0 0 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-art { width: 100%; height: auto; }

/* Clients */
.clients { border-bottom: 1px solid var(--line); padding: 36px 0; }
.clients p { margin: 0 0 20px; text-align: center; color: var(--muted); font-size: 0.95rem; }
.clients ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.clients li { height: 56px; display: grid; place-items: center; border: 1px dashed var(--line); border-radius: 4px; color: #a3acba; font-size: 0.85rem; }

/* Sections */
.section { padding: clamp(64px, 8vw, 112px) 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--navy); color: var(--white); }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); line-height: 1.15; margin-bottom: 14px; }
.section-head p { margin: 0; color: var(--muted); font-size: 1.1rem; }

.cards { display: grid; gap: 24px; }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-2 { grid-template-columns: repeat(2, 1fr); max-width: 820px; }
.card, .case, .insight, .person { display: flex; flex-direction: column; }
.card { padding: 32px 28px; border: 1px solid var(--line); border-top: 3px solid var(--navy); background: var(--white); }
.card:hover { border-top-color: var(--accent); }
.card .icon { width: 36px; height: 36px; margin-bottom: 22px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.card h3, .case h3, .insight h3, .person h3, .pillar h3, .steps h3 { font-size: 1.15rem; line-height: 1.35; font-weight: 700; margin-bottom: 10px; }
.card p, .case p, .insight p, .person p, .steps p { margin: 0; color: var(--muted); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.split .btn { margin-top: 12px; }
.questions { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.questions li { padding: 20px 0 20px 36px; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 1.4rem; color: var(--navy); position: relative; }
.questions li::before { content: "?"; position: absolute; left: 0; top: 22px; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: var(--white); font: 700 0.8rem/22px var(--sans); text-align: center; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; position: relative; }
.steps::before { content: ""; position: absolute; top: 23px; left: 24px; right: 24px; height: 2px; background: var(--line); }
.steps li { position: relative; }
.step-n { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--navy); color: var(--white); font: 600 1.2rem var(--serif); margin-bottom: 20px; position: relative; }
.steps .optional .step-n { background: var(--white); color: var(--navy); border: 2px dashed var(--navy); }
.steps small { font: 500 0.75rem var(--sans); color: var(--accent); margin-left: 6px; }

.pillar { padding-top: 24px; border-top: 2px solid var(--accent-light); }
.pillar p { margin: 0; color: rgba(255,255,255,.78); }
.section-dark .section-head { margin-bottom: 40px; }

.case-img, .avatar { display: grid; place-items: center; background: #e9edf3; color: #a3acba; font-size: 0.85rem; }
.case-img { aspect-ratio: 16 / 10; margin-bottom: 20px; }
img.case-img { width: 100%; height: auto; object-fit: cover; }
.case-meta { font-size: 0.82rem; font-weight: 600; color: var(--accent) !important; margin-bottom: 8px !important; }
.insight { padding: 28px; border: 1px solid var(--line); }
.person { background: var(--white); padding: 28px; border: 1px solid var(--line); }
.avatar { width: 88px; height: 88px; border-radius: 50%; margin-bottom: 18px; background: var(--navy); color: var(--white); font: 600 1.6rem var(--serif); }
.person .muted { margin-bottom: 12px; }

.cta-band { background: var(--accent); color: var(--white); text-align: center; padding: clamp(56px, 7vw, 88px) 0; }
.cta-band h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 12px; }
.cta-band p { margin: 0 auto 28px; max-width: 52ch; color: rgba(255,255,255,.88); font-size: 1.1rem; }

/* Contact */
.contact-list { margin: 32px 0 0; }
.contact-list dt { font-size: 0.85rem; color: var(--muted); margin-top: 18px; }
.contact-list dd { margin: 2px 0 0; font-weight: 600; font-size: 1.1rem; }
.contact-list a { color: var(--navy); }
.contact-form { background: var(--bg-alt); padding: clamp(24px, 4vw, 40px); border: 1px solid var(--line); display: grid; gap: 18px; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: grid; gap: 6px; font-size: 0.9rem; font-weight: 600; }
.contact-form input, .contact-form select, .contact-form textarea {
  font: 400 1rem var(--sans); color: var(--text); background: var(--white);
  border: 1px solid #c9d1dd; border-radius: 4px; padding: 11px 12px; width: 100%;
}
.contact-form textarea { resize: vertical; }
.contact-form button { justify-self: start; }
.form-note { margin: 0; font-size: 0.85rem; color: var(--muted); }

/* Footer */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.72); font-size: 0.92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-top: 64px; padding-bottom: 48px; }
.footer-grid p { max-width: 32ch; }
.footer-grid h3 { color: var(--white); font: 600 0.95rem var(--sans); margin-bottom: 14px; }
.footer-grid a, .footer-grid span { display: block; text-decoration: none; margin-bottom: 8px; }
.footer-grid a:hover, .footer-bottom a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 20px; padding-bottom: 28px; border-top: 1px solid rgba(255,255,255,.12); font-size: 0.85rem; }
.footer-bottom a { text-decoration: none; margin-left: 20px; }

/* Responsive */
@media (max-width: 1024px) {
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .menu-toggle {
    display: block; font: 600 0.95rem var(--sans); color: var(--navy);
    background: none; border: 1px solid var(--line); border-radius: 4px; padding: 9px 16px; cursor: pointer;
  }
  #nav {
    display: none; position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line); padding: 8px clamp(16px, 4vw, 40px) 20px;
  }
  #nav.open { display: flex; }
  #nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  #nav .btn { margin-top: 16px; text-align: center; }
}
@media (max-width: 860px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .hero-art { max-width: 360px; }
  .cards-3, .cards-2 { grid-template-columns: 1fr; }
  .clients ul { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps::before { display: none; }
}
@media (max-width: 560px) {
  .utility span { display: none; }
  .utility .wrap { justify-content: space-between; }
  .cards-4, .steps, .contact-form .row, .footer-grid { grid-template-columns: 1fr; }
  .clients ul { grid-template-columns: repeat(2, 1fr); }
  .hero-art { display: none; }
  .footer-bottom a { margin: 0 16px 0 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Article pages */
.article { max-width: 720px; margin: 0 auto; padding: clamp(40px, 6vw, 80px) clamp(16px, 4vw, 40px) clamp(56px, 8vw, 96px); }
.article .back { display: inline-block; margin-bottom: 28px; color: var(--accent); font-weight: 600; text-decoration: none; }
.article h1 { font-size: clamp(2rem, 4.4vw, 3rem); line-height: 1.15; color: var(--navy); margin-bottom: 18px; }
.article-lede { font-size: 1.25rem; color: var(--muted); margin: 0 0 36px; }
.article h2 { font-size: 1.5rem; line-height: 1.25; color: var(--navy); margin: 40px 0 12px; }
.article p, .article li { font-size: 1.08rem; line-height: 1.75; }
.article ul { padding-left: 1.2em; }
.article li { margin-bottom: 8px; }
.article-cta { margin-top: 56px; padding: 32px; background: var(--bg-alt); border-left: 4px solid var(--accent); }
.article-cta h2 { margin-top: 0; }
