/* Brand values come from the original SVGs in brand-source/. */
:root {
  --brand-primary: #3557cb;
  --brand-cyan: #25e1e2;
  --brand-yellow: #ffcf0c;
  --brand-orange: #fb940d;
  --brand-red-orange: #fb6325;
  --brand-white: #ffffff;
  /* Complementary website neutrals; these are not original logo colors. */
  --color-background: #ffffff;
  --color-surface: #f6f7f9;
  --color-heading: #182132;
  --color-text: #394455;
  --color-text-muted: #596476;
  --color-border: #dce1e8;
  --color-footer: #182132;
  --color-footer-text: #c4cbd7;
  --color-focus: #3557cb;
  --color-action-hover: #2945a4;
  --container-width: 1160px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-space: clamp(4rem, 8vw, 7rem);
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--color-text);
  background: var(--color-background);
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-size: 1rem; line-height: 1.7; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--brand-primary); text-underline-offset: .22em; text-decoration-thickness: .08em; }
a:hover { text-decoration-thickness: .14em; }
a:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 5px; border-radius: 2px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { color: var(--color-heading); line-height: 1.15; }
h1, h2 { font-weight: 650; letter-spacing: -.045em; }
h1 { font-size: clamp(2.75rem, 6.1vw, 5.5rem); }
h2 { font-size: clamp(2rem, 3.7vw, 3.25rem); }
h3 { font-size: 1.25rem; font-weight: 650; letter-spacing: -.02em; }
p + p { margin-top: 1.25rem; }
::selection { color: var(--brand-white); background: var(--brand-primary); }
.container { width: min(var(--container-width), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.skip-link { position: absolute; left: var(--gutter); top: -8rem; z-index: 10; padding: .75rem 1rem; background: var(--color-background); font-weight: 650; }
.skip-link:focus { top: 1rem; }
main:focus { outline: none; }
section[id] { scroll-margin-top: 2rem; }
.site-header { border-bottom: 1px solid var(--color-border); }
.header-inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; min-height: 104px; padding-block: 1rem; }
.brand-link { display: inline-flex; align-items: center; flex-shrink: 0; min-height: 44px; }
.brand-link img { width: 204px; }
.nav-list { display: flex; align-items: center; flex-wrap: wrap; gap: .25rem 1.75rem; list-style: none; margin: 0; padding: 0; }
.nav-list a { display: inline-flex; align-items: center; min-height: 44px; color: var(--color-heading); text-decoration: none; font-size: .9rem; font-weight: 550; }
.nav-list a:hover { color: var(--brand-primary); text-decoration: underline; }
.eyebrow, .section-label { font-size: .73rem; font-weight: 650; line-height: 1.5; letter-spacing: .13em; text-transform: uppercase; color: var(--brand-primary); }
.eyebrow { display: flex; align-items: center; gap: .7rem; }
.eyebrow::before { content: ""; width: 1.5rem; height: 2px; flex-shrink: 0; background: currentColor; }
.hero { padding-top: clamp(3.5rem, 7vw, 6.5rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; align-items: center; gap: 3rem; }
.hero h1 { margin-top: 1.5rem; }
.hero h1 span { display: block; color: var(--brand-primary); }
.hero-copy { max-width: 35rem; margin-top: 1.6rem; font-size: clamp(1.06rem, 1.6vw, 1.2rem); color: var(--color-text-muted); line-height: 1.75; }
.hero-mark { width: 300px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 1.75rem; margin-top: 2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 1.75rem; min-height: 50px; padding: .75rem 1.35rem; border: 1px solid var(--brand-primary); border-radius: 3px; background: var(--brand-primary); color: var(--brand-white); font-size: .94rem; font-weight: 600; text-decoration: none; line-height: 1.5; }
.button:hover { background: var(--color-action-hover); border-color: var(--color-action-hover); text-decoration: none; }
.button svg { width: 18px; height: 18px; flex-shrink: 0; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; font-size: .94rem; font-weight: 550; }
.hero-disciplines { display: flex; flex-wrap: wrap; gap: .5rem 2rem; margin: clamp(3rem, 6vw, 5rem) 0 0; padding: 1.3rem 0; list-style: none; border-block: 1px solid var(--color-border); color: var(--color-text-muted); font-size: .82rem; }
.hero-disciplines li { display: flex; gap: .65rem; align-items: center; }
.hero-disciplines li::before { content: ""; width: 4px; height: 4px; background: var(--brand-primary); }
.section { padding-block: var(--section-space); }
.section-label { margin-bottom: 1.3rem; }
.section-label span { display: inline-block; margin-right: .8rem; color: var(--color-text-muted); letter-spacing: .04em; }
.split-section { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 7vw, 7rem); }
.section-body { padding-top: 2.35rem; font-size: 1.0625rem; }
.section-body p { max-width: 38rem; }
.surface { background: var(--color-surface); }
.section-intro { max-width: 41rem; margin-top: 1.3rem; color: var(--color-text-muted); font-size: 1.0625rem; }
.expertise-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; margin-top: 3rem; }
.expertise { border-top: 1px solid var(--color-border); padding-top: 1.75rem; }
.expertise-icon { width: 32px; height: 32px; color: var(--brand-primary); margin-bottom: 1.65rem; stroke-width: 1.5; }
.expertise h3 { max-width: 17rem; }
.expertise p { margin-top: 1rem; color: var(--color-text-muted); }
.approach-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 4rem; margin: 3rem 0 0; padding: 0; list-style: none; counter-reset: principle; }
.principle { display: grid; grid-template-columns: 2rem 1fr; align-content: start; column-gap: 1rem; border-top: 1px solid var(--color-border); padding-top: 1.5rem; }
.principle-number { color: var(--brand-primary); font-size: .8rem; font-weight: 600; padding-top: .12rem; }
.approach-grid p { margin-top: .75rem; color: var(--color-text-muted); max-width: 30rem; }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 2.5rem; }
.contact-copy { max-width: 29rem; margin-top: 1.25rem; color: var(--color-text-muted); }
.contact-details { border-left: 1px solid var(--color-border); padding-left: clamp(1.5rem, 5vw, 5rem); }
.contact-email { display: inline-flex; align-items: center; min-height: 48px; font-size: clamp(1.3rem, 2.7vw, 2rem); font-weight: 550; letter-spacing: -.025em; overflow-wrap: anywhere; }
.contact-company { margin-top: 1rem; font-size: .92rem; color: var(--color-text-muted); }
.contact-company strong { color: var(--color-heading); font-weight: 600; }
.brand-rule { display: flex; height: 3px; }
.brand-rule span { flex: 1; background: var(--brand-primary); }
.brand-rule span:nth-child(2) { background: var(--brand-red-orange); }
.brand-rule span:nth-child(3) { background: var(--brand-orange); }
.brand-rule span:nth-child(4) { background: var(--brand-yellow); }
.brand-rule span:nth-child(5) { background: var(--brand-cyan); }
.site-footer { background: var(--color-footer); color: var(--color-footer-text); font-size: .875rem; --color-focus: var(--brand-cyan); }
.footer-main { display: flex; justify-content: space-between; gap: 2rem; padding-block: 3rem 2.5rem; }
.footer-brand .brand-link img { width: 180px; }
.footer-brand p { margin-top: .8rem; }
.footer-brand strong { color: var(--brand-white); font-weight: 500; }
.site-footer a { color: var(--color-footer-text); }
.site-footer a:hover { color: var(--brand-white); }
.footer-links { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 1rem 3.5rem; }
.footer-links ul { list-style: none; padding: 0; margin: 0; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .75rem; padding-block: 1.5rem; border-top: 1px solid #3b4452; font-size: .8rem; }
.footer-bottom a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-bottom p { align-self: center; }
.prose { max-width: 760px; padding-block: clamp(3.5rem, 7vw, 6rem); }
.prose h1 { margin-top: 1.25rem; font-size: clamp(2.75rem, 5vw, 4rem); }
.prose .updated { color: var(--color-text-muted); font-size: .9rem; margin-top: 1.25rem; }
.prose .lead { margin-top: 2rem; font-size: 1.125rem; }
.prose h2 { margin-block: 2.5rem 1rem; font-size: 1.5rem; letter-spacing: -.025em; }
.prose p { max-width: 70ch; }
.prose a { overflow-wrap: anywhere; }
.error-page { min-height: 60vh; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding-block: var(--section-space); }
.error-page h1 { margin-top: 1.25rem; }
.error-page p:not(.eyebrow) { max-width: 34rem; margin-top: 1.5rem; font-size: 1.125rem; color: var(--color-text-muted); }
.error-page .button { margin-top: 2rem; }

@media (min-width: 1600px) { .hero { padding-top: 7rem; } }
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) 210px; gap: 1.5rem; }
  .hero-mark { width: 210px; }
  .nav-list { gap: .25rem 1.2rem; }
  .expertise-grid { gap: 1.5rem; }
  .split-section { gap: 2.5rem; }
}
@media (max-width: 760px) {
  .header-inner { flex-direction: column; align-items: flex-start; gap: .5rem; padding-block: 1.1rem .65rem; }
  .brand-link img { width: 180px; }
  .nav-list { gap: 0 1.25rem; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(2.7rem, 8vw, 4rem); }
  .hero-mark { display: none; }
  .hero-copy { max-width: 33rem; }
  .split-section, .contact-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .section-body { padding-top: 0; }
  .expertise-grid { grid-template-columns: 1fr; gap: 2rem; }
  .expertise { display: grid; grid-template-columns: 34px 1fr; gap: 0 1.25rem; }
  .expertise-icon { grid-row: span 2; margin: 0; }
  .expertise h3 { align-self: center; max-width: none; }
  .expertise p { grid-column: 2; margin-top: .75rem; max-width: 36rem; }
  .approach-grid { gap: 2rem; }
  .contact-details { border-left: 0; border-top: 1px solid var(--color-border); padding: 1.5rem 0 0; }
  .footer-main { flex-direction: column; }
  .footer-links { gap: 1rem 3rem; }
}
@media (max-width: 440px) {
  .nav-list { gap: 0 1.1rem; }
  .nav-list a { font-size: .8rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: .75rem; }
  .hero-disciplines { flex-direction: column; gap: .5rem; }
  .approach-grid { grid-template-columns: 1fr; }
  .footer-links { flex-direction: column; gap: .5rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
@media print {
  .site-header, .site-footer, .hero-actions, .hero-mark, .skip-link { display: none; }
  .section, .hero, .prose { padding-block: 1.5rem; }
  .container { width: 100%; }
  .surface { background: none; }
  .hero-grid, .split-section, .contact-inner { display: block; }
  h1 { font-size: 2.5rem; }
  h2 { font-size: 1.8rem; }
  .expertise, .principle { break-inside: avoid; }
}
