:root {
  --ink: #253650;
  --blue: #516f97;
  --muted: #586475;
  --line: #e4e8ed;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; background: #fff; color: var(--ink); font: 16px/1.7 var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--blue); }
button { font: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
img { display: block; max-width: 100%; }
p, h1, h2, h3 { margin: 0; }
.wrap { width: min(1040px, calc(100% - 96px)); margin-inline: auto; }
.skip { position: fixed; top: -70px; left: 16px; z-index: 100; padding: 10px 18px; color: #fff; background: var(--ink); }
.skip:focus { top: 12px; }
/* Banner and menu */
.site-header { position: relative; background: #cce1f5; }
.banner-home { display: block; position: relative; max-width: 1920px; margin-inline: auto; overflow: hidden; }
#site-banner { width: 100%; height: clamp(180px, 25vw, 360px); object-fit: cover; object-position: center; }
#banner-logo-target { position: absolute; pointer-events: none; }
.menu-toggle { position: absolute; top: 24px; right: max(28px, calc((100vw - 1160px) / 2)); z-index: 30; width: 48px; height: 48px; border: 1px solid #25365020; border-radius: 3px; background: #ffffffda; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer; }
.menu-toggle span { width: 21px; height: 1.5px; background: var(--ink); transition: transform .2s, opacity .2s; }
.menu-toggle:hover { background: #fff; }
.menu-toggle[aria-expanded=true] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle[aria-expanded=true] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded=true] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
#navigation { position: absolute; right: max(28px, calc((100vw - 1160px) / 2)); top: 80px; z-index: 25; width: 220px; padding: 10px; border: 1px solid var(--line); border-radius: 3px; background: #fff; box-shadow: 0 12px 35px #25365014; }
#navigation[hidden] { display: none; }
#navigation a { display: block; padding: 11px 14px; font-size: 15px; border-radius: 2px; }
#navigation a:hover, #navigation a:focus-visible { background: #f0f5fa; color: var(--ink); }
/* The menu button and its dropdown are used at every width, so no links sit on the banner drawing. */
/* Logo introduction */
body.intro-active { overflow: hidden; }
.intro-overlay { position: fixed; inset: 0; z-index: 1000; overflow: hidden; }
.intro-overlay[hidden] { display: none; }
.intro-background { position: absolute; inset: 0; background: radial-gradient(ellipse at center, #d4e8fa, #bed7ef); }
#intro-scene { position: fixed; top: 0; left: 0; display: block; width: 1000px; max-width: none; height: auto; aspect-ratio: 2171 / 724; overflow: visible; transform-origin: 0 0; will-change: transform, opacity; }
#intro-mountain { transform-box: view-box; transform-origin: 0 0; will-change: transform; }
#intro-mark { opacity: 0; will-change: opacity; }
.intro-ridge { stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0; will-change: stroke-dashoffset, opacity; }
#skip-intro { position: absolute; right: 24px; bottom: 24px; border: 1px solid #25365025; border-radius: 3px; background: #ffffffd9; color: var(--ink); padding: 9px 16px; font-size: 13px; cursor: pointer; }
.hero { padding: 66px 0 42px; border-bottom: 1px solid var(--line); }
.intro-label { font-size: 14px; color: var(--blue); margin-bottom: 16px; }
h1 { font-size: clamp(40px, 4.4vw, 62px); line-height: 1.14; font-weight: 500; letter-spacing: -2.5px; }
/* The initials of the headline spell RIP; the line under it finishes the joke. */
h1 .rip { color: var(--blue); }
.hero-intro { max-width: 650px; font-size: 18px; line-height: 1.7; color: var(--muted); margin-top: 22px; }
.button { display: inline-block; margin-top: 26px; padding: 11px 22px; border-radius: 3px; background: var(--ink); color: #fff; font-size: 15px; font-weight: 500; }
.button:hover { background: var(--blue); color: #fff; }
.credentials { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: 33px; font-size: 13px; color: var(--muted); }
.credentials span { color: #a6afbb; }
.section { padding-block: 54px; border-bottom: 1px solid var(--line); }
h2 { font-size: 27px; line-height: 1.25; font-weight: 500; letter-spacing: -.7px; }
.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 70px; margin-top: 28px; }
h3 { font-size: 18px; line-height: 1.4; font-weight: 600; letter-spacing: -.2px; }
.service p { margin-top: 9px; max-width: 460px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.service-advisory { margin-top: 30px; padding-top: 23px; border-top: 1px solid var(--line); }
.service-advisory p { max-width: 760px; }
.product { display: grid; grid-template-columns: 200px 1fr; gap: 50px; align-items: center; }
.product-icon { display: block; width: 120px; }
.product-icon img { width: 120px; height: 120px; }
.product .intro-label { margin-bottom: 8px; }
.product-copy p:not(.intro-label) { max-width: 710px; color: var(--muted); font-size: 16px; line-height: 1.75; margin-top: 14px; }
.product .button { margin-top: 22px; }
.about { display: grid; grid-template-columns: 200px 1fr; gap: 50px; align-items: start; }
.portrait { width: 200px; height: auto; aspect-ratio: 1; object-fit: cover; object-position: center top; border-radius: 3px; }
.about-copy p { max-width: 710px; color: var(--muted); font-size: 16px; line-height: 1.75; margin-top: 18px; }
.about-copy .qualifications { font-size: 14px; margin-top: 20px; }
.contact { border-bottom: 0; }
.contact>p { max-width: 650px; margin-top: 14px; color: var(--muted); font-size: 16px; }
.email { display: inline-block; margin-top: 16px; color: var(--blue); font-size: 23px; line-height: 1.4; letter-spacing: -.3px; }
.email:hover, .contact-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact-links { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 14px; font-size: 14px; color: var(--muted); }
.contact-links a { color: var(--blue); }
footer { padding-block: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
@media(max-width: 800px) {
  .wrap { width: calc(100% - 56px); }
  .hero { padding-top: 48px; }
  h1 { font-size: 46px; letter-spacing: -1.9px; }
  .service-grid { column-gap: 40px; }
  .about, .product { grid-template-columns: 160px 1fr; gap: 32px; }
  .portrait { width: 160px; }
}
@media(max-width: 560px) {
  html { scroll-padding-top: 24px; }
  .wrap { width: calc(100% - 40px); }
  #site-banner { height: auto; }
  .menu-toggle { width: 42px; height: 42px; top: 16px; right: 16px; }
  #navigation { right: 16px; top: 66px; width: min(230px, calc(100vw - 32px)); }
  .hero { padding-block: 38px 32px; }
  .intro-label { font-size: 13px; margin-bottom: 14px; }
  h1 { max-width: 390px; font-size: 40px; line-height: 1.13; letter-spacing: -1.6px; }
  .hero-intro { font-size: 16px; margin-top: 20px; }
  .button { margin-top: 22px; }
  .credentials { display: block; font-size: 13px; line-height: 1.8; margin-top: 25px; }
  .credentials span { margin-inline: 5px; }
  .section { padding-block: 36px; }
  h2 { font-size: 25px; }
  .service-grid { grid-template-columns: 1fr; margin-top: 24px; gap: 25px; }
  .service p { margin-top: 7px; }
  .about, .product { display: block; }
  .product-icon, .product-icon img { width: 84px; height: 84px; }
  .product-icon { margin-bottom: 20px; }
  .portrait { width: 130px; margin-bottom: 23px; }
  .about-copy p { margin-top: 16px; }
  .email { font-size: 22px; }
  .contact-links { display: block; font-size: 13px; }
  .contact-links span { display: block; }
  .contact-links a { display: inline-block; margin-top: 10px; }
}
@media(prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .menu-toggle span { transition: none; } }
