@font-face {
  font-family: Manrope;
  src: url("/assets/fonts/manrope-regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url("/assets/fonts/manrope-medium.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url("/assets/fonts/manrope-semibold.ttf") format("truetype");
  font-weight: 600 800;
  font-display: swap;
}
:root {
  color-scheme: light;
  --ink: #09111f;
  --paper: #f5f5f0;
  --blue: #dce5f8;
  --accent: #1736b5;
  --white: #fafaf9;
  --pad: clamp(20px,5vw,92px);
  --gap: clamp(48px,8vw,125px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 92px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.65 Manrope, Arial, sans-serif; }
h1, h2, h3, h4, p, figure, dl, dd { margin: 0; }
h1, h2, h3, h4 { font-weight: 600; line-height: 1.08; letter-spacing: -.055em; }
h1 { font-size: clamp(47px,7.4vw,124px); }
h2 { font-size: clamp(36px,5vw,80px); }
h3 { font-size: clamp(25px,3vw,43px); }
h4 { font-size: 22px; }
p + p { margin-top: .9em; }
a { color: inherit; text-underline-offset: .22em; }
a:hover { color: var(--accent); }
img, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
button, summary { cursor: pointer; }
:focus-visible { outline: 3px solid #556eff; outline-offset: 4px; }
[hidden] { display: none !important; }
.wrap { max-width: 1760px; margin-inline: auto; padding-inline: var(--pad); }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 49px; padding: 10px 18px; text-decoration: none; background: var(--accent); color: white; border: 0; font-size: 15px; font-weight: 600; }
.button:hover { background: #10267e; color: white; }
.skip { position: fixed; z-index: 10; top: 10px; left: 10px; padding: 10px; background: var(--white); transform: translateY(-150%); }
.skip:focus { transform: none; }
.header { background: var(--paper); position: sticky; top: 0; z-index: 5; }
.header-inner { min-height: 72px; display: flex; justify-content: space-between; align-items: center; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 28px; letter-spacing: -.075em; line-height: 1; font-weight: 700; text-decoration: none; flex: none; }
.brand:hover { color: inherit; }
.brand img { width: 43px; height: 43px; }
.header nav { display: flex; align-items: center; gap: clamp(14px,2.7vw,44px); font-weight: 600; font-size: 15px; }
.header nav a { text-decoration: none; }
.header nav a[aria-current="page"], .header nav a:hover { text-decoration: underline; }
.header nav .nav-contact { background: var(--ink); color: var(--white); padding: 8px 16px; }
.menu-toggle { display: none; }
.front { background: var(--ink); color: var(--white); }
.front-copy { display: grid; grid-template-columns: minmax(0,1.7fr) minmax(235px,.7fr); align-items: end; gap: clamp(21px,4vw,70px); padding-block: clamp(31px,5.3vw,89px) clamp(27px,4.3vw,65px); }
.front-copy h1 { line-height: .93; max-width: 10ch; }
.front-copy p { max-width: 36ch; color: #e4e9f3; font-size: clamp(16px,1.43vw,22px); line-height: 1.55; }
.front-copy .button { background: var(--white); color: var(--ink); margin-top: 21px; }
.front-copy .button:hover { background: var(--blue); }
.front picture { display: block; }
.front picture img { width: 100%; aspect-ratio: 3.25; object-fit: cover; object-position: 54% 50%; }
.notice { display: flex; gap: 13px; align-items: center; justify-content: space-between; width: fit-content; margin-top: 16px; padding: 8px 12px; color: var(--ink); background: var(--blue); font-size: 14px; }
.notice button, .footer button, dialog button { padding: 0; color: inherit; background: none; border: 0; text-decoration: underline; text-underline-offset: .2em; }
.notice .dismiss { padding: 6px 10px; background: var(--ink); color: var(--white); text-decoration: none; }
.expertise { padding-block: var(--gap); }
.expertise > h2 { margin-bottom: clamp(22px,4vw,55px); }
.service-catalogue { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(0,1fr); background: #e6e9e4; }
.service-catalogue > picture img { width: 100%; height: 100%; min-height: 440px; object-fit: cover; }
.service-catalogue > picture { display: flex; min-width: 0; }
.service-list { display: grid; gap: 3px; padding: 3px; }
.service-list a { display: grid; align-content: center; gap: 7px; padding: clamp(13px,1.7vw,28px); background: var(--white); text-decoration: none; }
.service-list a:hover { background: var(--blue); }
.service-list a strong { font-weight: 600; font-size: clamp(19px,2vw,30px); line-height: 1.15; letter-spacing: -.04em; }
.service-list a span { font-size: 15px; line-height: 1.45; color: var(--ink); }
.work { background: #dce5f8; padding-block: var(--gap); }
.work h2 { margin-bottom: clamp(26px,5vw,71px); }
.feature { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(0,1fr); align-items: center; gap: clamp(20px,5vw,77px); }
.feature + .feature { margin-top: clamp(32px,6vw,93px); }
.feature.reverse { grid-template-columns: minmax(0,1fr) minmax(0,1.38fr); }
.feature.reverse > picture { grid-column: 2; grid-row: 1; }
.feature.reverse > div { grid-column: 1; grid-row: 1; }
.feature picture img { width: 100%; aspect-ratio: 1.6; object-fit: cover; }
.feature h3 { display: flex; align-items: center; gap: 11px; font-size: clamp(32px,4.2vw,65px); }
.feature h3 img { width: 42px; height: 42px; object-fit: contain; }
.feature p { margin-block: 14px 18px; max-width: 44ch; }
.feature a { font-weight: 600; }
.profile { padding-block: var(--gap); }
.profile > picture img { width: 100%; aspect-ratio: 3.4; object-fit: cover; }
.profile-text { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); gap: clamp(23px,6vw,95px); margin-top: clamp(23px,4vw,65px); }
.profile h2 { margin-bottom: 15px; }
.profile p { max-width: 54ch; }
.profile-links { background: #e6e9e4; padding: clamp(16px,2.5vw,37px); align-self: center; display: grid; gap: 11px; }
.profile-links a { width: fit-content; font-weight: 600; }
.company-strip { padding-block: var(--gap); background: var(--ink); color: var(--white); }
.company-strip-inner { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: clamp(22px,5vw,75px); align-items: center; }
.company-strip a:hover { color: #b4c8ff; }
.company-strip h2 { margin-bottom: 19px; }
.company-strip p { margin-bottom: 19px; }
.company-strip img { width: 100%; aspect-ratio: 1.62; object-fit: cover; }
.home-contact { padding-block: var(--gap); }
.home-contact-inner { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); gap: clamp(22px,6vw,95px); }
.home-contact h2 { margin-bottom: 17px; }
.home-contact .button { margin-top: 17px; }
.home-contact img { width: 100%; aspect-ratio: 2.1; object-fit: cover; }
.footer { background: var(--ink); color: var(--white); }
.footer a:hover, .footer button:hover { color: #b4c8ff; }
.footer-inner { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.7fr); gap: 30px; padding-block: 44px; }
.footer address { font-style: normal; font-size: 14px; margin-top: 14px; }
.footer-meta { font-size: 14px; display: flex; flex-wrap: wrap; gap: 8px 21px; margin-top: 15px; }
.directory { display: grid; grid-template-columns: 1.3fr .7fr 1fr; gap: 20px; }
.directory h2 { font-size: 18px; letter-spacing: -.025em; margin-bottom: 10px; }
.directory a { display: block; width: fit-content; font-size: 14px; padding: 3px 0; }
.subhead { background: var(--blue); }
.subhead-inner { display: grid; grid-template-columns: minmax(0,.94fr) minmax(0,1.06fr); gap: clamp(24px,5vw,75px); align-items: center; padding-block: clamp(26px,5vw,77px); }
.subhead h1 { font-size: clamp(42px,5.6vw,91px); overflow-wrap: anywhere; }
.subhead p { margin-top: 17px; font-size: clamp(17px,1.5vw,22px); max-width: 46ch; }
.subhead picture img { width: 100%; aspect-ratio: 1.68; object-fit: cover; }
.subhead .case-title { display: flex; gap: 16px; align-items: center; }
.subhead .case-title img { width: clamp(40px,6vw,79px); height: auto; flex: none; }
.subhead .byline { font-size: 15px; margin-top: 19px; }
.subhead .button { margin-top: 17px; }
.page-body { display: grid; grid-template-columns: minmax(0,1fr) minmax(185px,285px); gap: clamp(30px,6vw,112px); align-items: start; padding-block: var(--gap); }
.reading { max-width: 790px; min-width: 0; }
.reading > section + section, .case-article section, .case-article > footer { margin-top: clamp(32px,5vw,71px); }
.reading h2 { font-size: clamp(28px,3.45vw,50px); margin-bottom: 15px; }
.reading h3 { font-size: clamp(22px,2.4vw,32px); margin: 1.3em 0 .6em; }
.reading p + ul, .reading ul + p, .reading p + ol { margin-top: 1em; }
.reading ul, .reading ol { padding-left: 1.3em; }
.reading li + li { margin-top: .45em; }
.reading figure, .reading details, .reading pre, .reading table { margin-block: 25px; }
.reading figure img, .reading figure video { max-height: 620px; width: auto; }
.reading figure figcaption { margin-top: 8px; font-size: 15px; }
.reading summary { padding: 13px 15px; background: var(--blue); font-weight: 600; }
.reading summary [aria-hidden="true"] { display: none; }
.reading details nav { display: grid; gap: 8px; padding: 14px 15px; background: var(--white); }
.reading pre { max-width: 100%; overflow: auto; padding: 16px; background: var(--ink); color: var(--white); }
.reading table { border-collapse: collapse; width: 100%; }
.reading th, .reading td { border: 1px solid #a7b5c6; padding: 7px 9px; text-align: left; }
.reading svg { width: 100%; height: auto; }
.reading svg :is(path,line,polyline,rect,circle):not([stroke]) { stroke: #234273; }
.reading svg text { fill: var(--ink); }
.reading code, .reading a { overflow-wrap: anywhere; }
.related { background: #e6e9e4; padding: 20px; }
.related h2 { font-size: 23px; margin-bottom: 10px; }
.related a { display: block; padding: 5px 0; }
.related p { margin-top: 12px; font-size: 15px; }
.brief { display: grid; gap: 8px; margin-top: 28px; max-width: 670px; }
.brief label { font-weight: 600; }
.brief select, .brief textarea { width: 100%; min-height: 47px; padding: 8px 10px; border: 1px solid #7a8795; background: var(--white); color: var(--ink); border-radius: 0; }
.brief textarea { resize: vertical; }
.brief .button { justify-self: start; margin-top: 8px; }
dialog { max-width: min(600px,calc(100% - 35px)); padding: 24px; border: 0; color: var(--ink); background: var(--paper); }
dialog::backdrop { background: #09111fbb; }
dialog h2 { font-size: 35px; margin-bottom: 15px; }
dialog form { margin-top: 12px; }
@media (max-width: 760px) {
  html { scroll-padding-top: 71px; }
  body { font-size: 16px; }
  .header-inner { min-height: 61px; flex-wrap: wrap; gap: 0; }
  .brand { font-size: 26px; }
  .brand img { width: 36px; height: 36px; }
  .menu-toggle { display: block; padding: 7px 12px; border: 0; color: var(--ink); background: var(--blue); }
  .header nav { display: none; flex-basis: 100%; padding: 7px 0 15px; gap: 0; }
  .header nav[data-open] { display: grid; }
  .header nav a { padding-block: 7px; }
  .header nav .nav-contact { width: fit-content; margin-top: 6px; }
  .front-copy, .service-catalogue, .feature, .feature.reverse, .profile-text, .company-strip-inner, .home-contact-inner, .footer-inner, .subhead-inner, .page-body { grid-template-columns: 1fr; gap: 19px; }
  .front-copy h1 { font-size: clamp(43px,12vw,81px); }
  .front picture img { aspect-ratio: 1.53; }
  .notice { font-size: 13px; }
  .service-catalogue > picture img { min-height: 0; height: auto; aspect-ratio: 1.7; }
  .service-catalogue { gap: 0; }
  .feature.reverse > picture, .feature.reverse > div { grid-column: auto; grid-row: auto; }
  .feature h3 img { width: 35px; height: 35px; }
  .feature p { margin-block: 9px 13px; }
  .profile > picture img { aspect-ratio: 2; }
  .directory { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .subhead-inner { padding-top: 26px; }
  .related { margin-top: 10px; }
  dialog { width: 100%; max-width: none; margin: auto 0 0; padding-bottom: max(22px,env(safe-area-inset-bottom)); animation: sheet-in .2s ease-out; }
}
@keyframes sheet-in { from { transform: translateY(100%); } to { transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
.feature ul { margin: 0 0 20px; padding-left: 1.15em; max-width: 48ch; }
.feature li + li { margin-top: 4px; }
.process-register { display: grid; gap: 11px; }
.process-register dt { font-weight: 700; }
.process-register dd { font-size: 15px; }
.company-links { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.case-article figure[id^="sketch-"] > div:first-child {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  background: #e6ecf7;
  padding: clamp(8px,2vw,21px);
  gap: 5px;
}
.case-article figure[id^="sketch-"] > div:first-child > div { position: relative; text-align: center; min-width: 0; padding: 5px; }
.case-article figure[id^="sketch-"] svg[viewBox="0 0 240 135"] { display: block; width: 100%; max-width: 160px; margin: 0 auto 4px; }
.case-article figure[id^="sketch-"] svg[viewBox="0 0 100 35"] { position: absolute; top: 27%; right: -10%; width: 19%; }
.case-article figure[id^="sketch-"] span { display: block; line-height: 1.3; font-size: 13px; }
.case-article figure[id^="sketch-"] span:first-child { font-weight: 700; }
.case-article figure[id^="sketch-"] span + span { margin-top: 3px; }
.case-article :is(video, img) { object-fit: contain; }
