:root {
  --orange: #EA580C;
  --orange-soft: #FDEEE5;
  --grey: #7E8892;
  --navy: #1D2B3A;
  --navy-2: #263A52;
  --sky: #8DBAD8;
  --ink: #1D2B3A;
  --text: #46525E;
  --line: #E4E7EA;
  --bg-alt: #F5F6F7;
  --radius: 14px;
  --head: 'Montserrat', system-ui, sans-serif;
  --body: 'Source Sans 3', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: #fff; color: var(--text); font: 18px/1.65 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange); }
h1, h2, h3 { font-family: var(--head); color: var(--ink); line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 700; letter-spacing: -.01em; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 600; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.kicker { font: 600 .8rem/1 var(--head); letter-spacing: .18em; text-transform: uppercase; color: var(--orange); margin-bottom: 1rem; }
.lead-text { font-size: 1.25rem; color: var(--ink); }
.small { font-size: .98rem; color: var(--grey); text-align: justify; hyphens: auto; }
.em { color: var(--orange); font-weight: 600; letter-spacing: .02em; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 12px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

/* header */
.top { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.top.scrolled { box-shadow: 0 6px 24px rgba(29,43,58,.08); }
.top::before { content: ''; display: block; height: 4px; background: var(--orange); }
.bar { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo img { width: 150px; height: auto; }
#nav ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
#nav a { display: block; padding: 10px 16px; border-radius: 999px; font: 600 .82rem/1 var(--head); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); text-decoration: none; transition: background .2s, color .2s; }
#nav a:hover { background: var(--bg-alt); }
#nav a[aria-current] { background: var(--orange); color: #fff; }
.menu { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.menu span { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--ink); transition: transform .2s, opacity .2s; }
.menu[aria-expanded=true] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu[aria-expanded=true] span:nth-child(2) { opacity: 0; }
.menu[aria-expanded=true] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* buttons */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }
.btn { display: inline-block; padding: 14px 26px; border-radius: 999px; background: var(--orange); color: #fff; font: 600 .85rem/1 var(--head); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(234,88,12,.3); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--line); }
.btn.ghost:hover { box-shadow: inset 0 0 0 2px var(--ink); }
.link { font-weight: 600; text-decoration: none; }

/* hero */
.hero { background: linear-gradient(180deg, #fff 0%, var(--bg-alt) 100%); padding: clamp(40px, 7vw, 90px) 0; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(24px, 4vw, 60px); align-items: center; }
.hero .lead { font-size: 1.2rem; }
.brain { position: relative; border-radius: 22px; overflow: hidden; background: #fbfbfb; box-shadow: 0 24px 60px rgba(29,43,58,.12); }
.brain .hot { position: absolute; width: 20%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; transition: box-shadow .25s, transform .25s; }
.brain .hot:hover, .brain .hot:focus-visible { box-shadow: 0 0 0 6px rgba(234,88,12,.55); transform: translate(-50%, -50%) scale(1.04); outline: 0; }

/* bands */
.band { padding: clamp(56px, 8vw, 100px) 0; }
.band.alt { background: var(--bg-alt); }
.band.head { padding-bottom: 20px; }
.band.tight { padding-top: 10px; }
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 2rem; }
.pillar { position: relative; display: flex; flex-direction: column; padding: 28px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--text); transition: transform .25s, box-shadow .25s, border-color .25s; }
.pillar:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(29,43,58,.1); border-color: transparent; }
.pillar p { flex: 1; font-size: 1rem; }
.pillar .more { font: 600 .8rem/1 var(--head); color: var(--orange); letter-spacing: .05em; }
.dot { display: inline-block; width: 44px; height: 44px; border-radius: 50%; margin-bottom: 18px; background: var(--c); }
.toc .dot { width: 12px; height: 12px; margin: 0 10px 0 0; }
.p-grey { --c: #9AA0A6; }
.p-navy { --c: #1F3A5F; }
.p-orange { --c: var(--orange); }
.p-sky { --c: var(--sky); }
.split { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.facts li { background: #fff; border-radius: var(--radius); padding: 26px 22px; border: 1px solid var(--line); }
.facts b { display: block; font: 700 2.4rem/1 var(--head); color: var(--orange); margin-bottom: 6px; }
.facts span { font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; color: var(--grey); }

/* page banner */
.banner { position: relative; min-height: clamp(260px, 38vw, 440px); display: flex; align-items: flex-end; background-size: cover; color: #fff; }
.banner::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(29,43,58,.05) 30%, rgba(29,43,58,.8)); }
/* the translucent circle of the original site's page headers */
.banner::after { content: ''; position: absolute; left: 50%; top: 50%; height: 125%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: rgba(255,255,255,.14); pointer-events: none; }
.banner { overflow: hidden; }
.banner .wrap { z-index: 1; }
.banner .wrap { position: relative; padding-bottom: clamp(28px, 4vw, 48px); }
.banner h1 { color: #fff; margin: 0; }
.banner .kicker { color: #FFB27F; }
.chips { list-style: none; margin: 1.2rem 0 1.6rem; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .98rem; color: var(--ink); }
.band:not(.alt) .chips li { background: var(--bg-alt); border-color: transparent; }

/* services */
.svc-layout { display: grid; grid-template-columns: 250px 1fr; gap: 40px; margin-top: 2.4rem; align-items: start; }
.toc { position: sticky; top: 100px; }
.toc ul { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.toc a { display: flex; align-items: center; padding: 10px 16px; margin-left: -2px; border-left: 2px solid transparent; color: var(--text); text-decoration: none; font: 500 .9rem/1.3 var(--head); }
.toc a:hover, .toc a.on { color: var(--ink); border-left-color: var(--orange); }
.svc { display: grid; gap: 28px; }
.svc-card { padding: clamp(24px, 4vw, 44px); border-radius: 18px; border: 1px solid var(--line); border-top: 5px solid var(--c); background: #fff; }
.svc-card h2 { display: flex; align-items: center; gap: 14px; text-transform: uppercase; font-size: clamp(1.2rem, 2vw, 1.5rem); letter-spacing: .02em; }
.num { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--c); color: #fff; font-size: 1rem; }
.ticks { list-style: none; padding: 0; margin: 0 0 1.2em; }
.ticks li { position: relative; padding-left: 28px; margin-bottom: 6px; }
.ticks li::before { content: ''; position: absolute; left: 4px; top: .6em; width: 10px; height: 10px; border-radius: 50%; background: var(--orange); }
.with-fig { display: grid; grid-template-columns: 1fr 300px; gap: 32px; align-items: center; }
.diagram { width: 100%; max-width: 320px; margin-inline: auto; }
svg text { font-family: var(--head); }

/* expertise wheel */
.wheel-wrap { display: flex; justify-content: center; }
.wheel { width: min(760px, 100%); height: auto; overflow: visible; }
.sector { cursor: default; transition: transform .25s; transform-box: fill-box; transform-origin: center; }
.sector circle { transition: fill-opacity .25s; }
.wheel:hover .sector circle { fill-opacity: .55; }
.wheel .sector:hover circle, .wheel .sector:focus circle { fill-opacity: 1; }
.sector:hover, .sector:focus { transform: scale(1.06); outline: none; }

/* contact */
.mail { display: inline-block; margin-top: 1rem; padding: 18px 34px; border-radius: 999px; background: var(--orange-soft); color: var(--orange); font: 600 clamp(1rem, 2.4vw, 1.4rem)/1 var(--head); text-decoration: none; transition: background .2s, color .2s; word-break: break-all; }
.mail:hover { background: var(--orange); color: #fff; }

/* footer */
.foot { border-top: 4px solid var(--orange); background: var(--navy); color: #C9D1D9; padding: 36px 0; }
.foot-grid { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.foot-grid img { filter: brightness(0) invert(1); opacity: .9; margin-right: auto; }
.foot a { color: #C9D1D9; text-decoration: none; font: 500 .9rem/1 var(--head); letter-spacing: .05em; }
.foot a:hover { color: #fff; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* responsive */
@media (max-width: 1000px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr 1fr; }
  .svc-layout { grid-template-columns: 1fr; }
  .toc { display: none; }
}
@media (max-width: 760px) {
  body { font-size: 17px; }
  .menu { display: block; }
  #nav { position: absolute; left: 0; right: 0; top: 76px; background: #fff; border-bottom: 1px solid var(--line); display: none; }
  #nav.open { display: block; }
  #nav ul { flex-direction: column; padding: 12px 16px 18px; }
  #nav a { padding: 14px 16px; }
  .with-fig { grid-template-columns: 1fr; }
  .small { text-align: left; }
}
@media (max-width: 520px) {
  .pillars, .facts { grid-template-columns: 1fr; }
  .foot-grid { flex-direction: column; align-items: flex-start; gap: 16px; }
}
