:root {
  --ink: #101832;
  --muted: #4e5971;
  --canvas: #f8f9fc;
  --paper: #fff;
  --line: #dce1ec;
  --blue: #233ecd;
  --blue-dark: #1b31a9;
  --lime: #e6fc76;
  --sans: "Avenir Next", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 96px; }
body { margin: 0; color: var(--ink); background: var(--canvas); font: 1rem/1.6 var(--sans); }
img { display: block; width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
h1, h2, h3, p, figure { margin: 0; }
::selection { color: var(--ink); background: var(--lime); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
[hidden] { display: none !important; }

.wrap { width: min(1216px, calc(100% - 96px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 5; transform: translateY(-150%); padding: 8px 15px; background: var(--paper); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 3; background: var(--canvas); border-bottom: 1px solid var(--line); }
.header-bar { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; line-height: 1.05; }
.wordmark strong { display: block; font-size: 1.4rem; letter-spacing: -.055em; }
.wordmark small { display: block; margin-top: 4px; color: var(--muted); font-size: .76rem; font-weight: 650; }
.brand-mark { position: relative; width: 37px; aspect-ratio: 1; border-radius: 9px; background: var(--blue); }
.brand-mark::before, .brand-mark::after { position: absolute; content: ""; background: var(--lime); transform: skewX(-27deg); }
.brand-mark::before { inset: 10px 16px 10px 9px; }
.brand-mark::after { inset: 10px 9px 10px 23px; }
.nav, .footer-nav { display: flex; flex-wrap: wrap; gap: 30px; align-items: center; }
.nav a, .footer-nav a { font-size: .95rem; font-weight: 650; }
.nav a { padding-block: 9px; border-bottom: 2px solid transparent; }
.nav a:hover, .nav [aria-current="page"] { color: var(--blue); border-color: currentColor; }
.menu-btn { display: none; }

.hero { display: grid; grid-template-columns: 1fr 1.08fr; align-items: center; gap: clamp(28px, 5vw, 78px); padding-block: clamp(54px, 6vw, 91px); }
.hero-copy { min-width: 0; }
.eyebrow { margin-bottom: 14px; color: var(--blue); font-size: .875rem; font-weight: 750; letter-spacing: .11em; text-transform: uppercase; }
h1, h2, h3 { font-weight: 750; line-height: 1.09; letter-spacing: -.045em; }
h1 { font-size: clamp(2.75rem, 5.3vw, 5.2rem); }
.hero--home h1 { font-size: clamp(2.75rem, 5vw, 4.75rem); text-wrap: balance; }
h1 em { color: var(--blue); font-style: normal; }
.hero--inside h1 { font-size: clamp(2.55rem, 4.65vw, 4.65rem); }
h2 { font-size: clamp(2rem, 3.5vw, 3.3rem); }
h3 { font-size: 1.35rem; }
.lede { max-width: 44ch; margin-top: 23px; color: var(--muted); font-size: clamp(1.05rem, 1.52vw, 1.25rem); line-height: 1.55; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 29px; }
.button { display: inline-flex; align-items: center; min-height: 52px; padding: 12px 20px; border-radius: 7px; color: white; background: var(--blue); font-weight: 700; }
.button:hover { background: var(--blue-dark); }
.text-link { width: fit-content; color: var(--blue-dark); font-weight: 700; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.text-link:hover { text-decoration-thickness: 2px; }

.visual {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-width: 0;
  aspect-ratio: 1.17;
  border-radius: 19px;
  background: var(--blue);
  background-image: linear-gradient(#fff2 1px, transparent 1px), linear-gradient(90deg, #fff2 1px, transparent 1px);
  background-size: 38px 38px;
}
.visual-photo { position: absolute; z-index: 1; inset: 8% 14% 14% 7%; overflow: hidden; border-radius: 11px; background: #bdc7e4; }
.visual-photo img { height: 100%; object-fit: cover; }
.visual-orbit { position: absolute; inset: auto -16% -59% 35%; z-index: 2; aspect-ratio: 1; border: clamp(7px, 1.1vw, 16px) solid var(--lime); border-radius: 50%; pointer-events: none; }
.visual-labels { position: absolute; z-index: 2; right: 5%; bottom: 7%; display: flex; max-width: 90%; gap: 5px; flex-wrap: wrap; justify-content: flex-end; }
.visual-labels span { display: block; padding: .34em .75em; color: var(--ink); background: var(--lime); border-radius: 30px; font-size: clamp(.85rem, 1.2vw, 1rem); font-weight: 750; }
.visual-labels span:first-child { background: white; }
.visual--services { background-color: #dedfff; background-image: linear-gradient(#233ecd22 1px, transparent 1px), linear-gradient(90deg, #233ecd22 1px, transparent 1px); }
.visual--services .visual-orbit { border-color: var(--blue); }
.visual--approach { background-color: #1b2583; }
.visual--approach .visual-photo img { object-position: 50% 42%; }
.visual--about { background-color: #2449c8; }
.visual--about .visual-photo img { object-position: 50% 60%; }
.hero--inside .visual { aspect-ratio: 1.4; }

.section { padding-block: clamp(51px, 6.5vw, 92px); border-top: 1px solid var(--line); }
.section--white { background: var(--paper); }
.section--process { background: #eef1fb; }
.section-heading { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 13px 24px; margin-bottom: 27px; }
.section-heading .eyebrow { margin-bottom: 9px; }
.section-heading .text-link { margin-bottom: 2px; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.service-card { display: flex; flex-direction: column; overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: 11px; }
a.service-card:hover { border-color: var(--blue); }
a.service-card:hover h3 { color: var(--blue); }
.service-card:target { outline: 3px solid var(--blue); outline-offset: 3px; }
.service-card img { aspect-ratio: 16 / 9; object-fit: cover; background: #e5e9f1; }
.service-body { padding: 20px; }
.service-body h2 { font-size: 1.45rem; }
.service-body p { margin-top: 9px; color: var(--muted); }
.service-body .service-classification { font-size: .9rem; font-weight: 700; }

.process-grid { list-style: none; counter-reset: steps; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; }
.process-card { counter-increment: steps; position: relative; padding: 20px; border: 1px solid var(--line); border-radius: 11px; background: var(--paper); }
.process-card::before { position: absolute; top: 22px; right: 21px; content: counter(steps, decimal-leading-zero); color: var(--muted); font-size: .875rem; font-weight: 700; }
.process-card h3 { margin: 20px 0 5px; }
.process-card p { color: var(--muted); }
.process-symbol { position: relative; width: 68px; height: 59px; border-radius: 8px; background: #e8edff; }
.process-symbol i { display: block; position: absolute; }
.process-symbol--brief i { width: 31px; height: 14px; top: 13px; left: 18px; border: 2px solid var(--blue); border-radius: 4px; }
.process-symbol--brief i:nth-child(2) { top: 30px; background: var(--lime); }
.process-symbol--brief i:nth-child(3) { top: 18px; left: 24px; width: 13px; height: 2px; border: 0; background: var(--blue); }
.process-symbol--create i { width: 27px; height: 30px; top: 14px; left: 16px; border: 2px solid var(--blue); border-radius: 4px; transform: rotate(-12deg); }
.process-symbol--create i:nth-child(2) { left: 28px; background: var(--lime); transform: rotate(10deg); }
.process-symbol--create i:nth-child(3) { width: 0; height: 0; top: 24px; left: 39px; border: 6px solid transparent; border-left: 9px solid var(--blue); border-radius: 0; transform: none; }
.process-symbol--adapt i { width: 29px; height: 24px; top: 16px; left: 13px; border: 2px solid var(--blue); border-radius: 4px; }
.process-symbol--adapt i:nth-child(2) { top: 24px; left: 38px; width: 16px; background: var(--lime); }
.process-symbol--adapt i:nth-child(3) { top: 28px; left: 19px; width: 13px; height: 2px; border: 0; background: var(--blue); }
.process-symbol--organise i { width: 35px; height: 14px; top: 13px; left: 17px; border: 2px solid var(--blue); border-radius: 4px; background: #e8edff; }
.process-symbol--organise i:nth-child(2) { top: 22px; }
.process-symbol--organise i:nth-child(3) { top: 31px; background: var(--lime); }

.about-details { display: grid; grid-template-columns: 1fr 1.08fr; gap: clamp(24px, 5vw, 78px); }
.about-details p { max-width: 48ch; margin-bottom: 15px; color: var(--muted); font-size: 1.15rem; }
.contact-page { min-height: 100vh; display: flex; flex-direction: column; }
.contact-page main { display: grid; flex: 1; align-items: center; }
.contact-card { min-width: 0; padding: clamp(24px, 5vw, 58px); border-radius: 19px; color: white; background: var(--blue-dark); }
.contact-card h2 { margin-bottom: 12px; color: var(--lime); font-size: 1rem; letter-spacing: 0; }
.contact-card a { font-size: clamp(1rem, 2.2vw, 1.7rem); font-weight: 700; overflow-wrap: anywhere; text-decoration: underline; text-underline-offset: 4px; }
.contact-card a:focus-visible { outline-color: var(--lime); }

.site-footer { color: white; background: var(--ink); }
.footer-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; min-height: 99px; padding-block: 20px; }
.footer-name { font-weight: 750; }
.footer-email { color: #e1e6f4; text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; }
.footer-meta { color: #c2c9db; font-size: .9rem; }
.footer-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-footer :focus-visible { outline-color: var(--lime); }

@media (max-width: 1020px) {
  .wrap { width: calc(100% - 60px); }
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 80px; }
  .wrap { width: calc(100% - 40px); }
  .header-bar { min-height: 66px; gap: 10px; }
  .nav { gap: 10px 16px; }
  .site-header.has-menu .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; padding: 8px 20px 16px; gap: 0; border-bottom: 1px solid var(--line); background: var(--canvas); }
  .site-header.has-menu .nav.is-open { display: flex; }
  .menu-btn { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 7px; background: var(--paper); color: var(--ink); cursor: pointer; }
  .menu-icon { display: block; width: 18px; height: 13px; border-block: 2px solid currentColor; position: relative; }
  .menu-icon::after { content: ""; position: absolute; inset: 4px 0 auto; border-top: 2px solid currentColor; }
  .menu-btn[aria-expanded="true"] .menu-icon { transform: rotate(45deg); height: 2px; border: 0; background: currentColor; }
  .menu-btn[aria-expanded="true"] .menu-icon::after { inset: 0; transform: rotate(90deg); }
  .hero, .about-details { grid-template-columns: minmax(0, 1fr); }
  .hero { gap: 30px; padding-block: 43px; }
  .hero--home h1 { font-size: clamp(2.7rem, 8.5vw, 4.1rem); }
  .lede { margin-top: 16px; }
  .actions { margin-top: 22px; }
  .visual { aspect-ratio: 1.32; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .service-body { padding: 15px; }
  .footer-nav { gap: 9px 16px; }
}
@media (max-width: 460px) {
  .wrap { width: calc(100% - 32px); }
  .hero .lede { font-size: 1.075rem; }
  .service-grid, .process-grid { grid-template-columns: minmax(0, 1fr); }
  .nav { gap: 5px 12px; }
  .header-bar:has(.menu-btn[hidden]) { flex-wrap: wrap; padding-block: 10px; }
}
