:root {
  color-scheme: light;
  --ink: #102338;
  --muted: #435568;
  --paper: #f3f6fa;
  --line: #d6dee8;
  --night: #0e1d30;
  --mint: #9af1dc;
  --link: #125962;
  --sans: "Geist", "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.6 var(--sans); }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid #137489; outline-offset: 5px; }
figure { margin: 0; }
img { display: block; width: 100%; height: auto; object-fit: cover; }
.shell { width: min(1136px, calc(100% - 88px)); margin-inline: auto; }

.skip { position: fixed; top: 10px; left: 10px; transform: translateY(-150%); z-index: 2; background: white; padding: 8px 16px; }
.skip:focus { transform: none; }
.masthead { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; min-height: 76px; font-size: .9rem; font-weight: 650; }
.brand { display: inline-flex; gap: 10px; align-items: center; justify-self: start; }
.brand span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--night); color: var(--mint); font-size: .73rem; letter-spacing: .04em; }
nav { display: flex; gap: clamp(18px, 3vw, 36px); }
.nav-contact { justify-self: end; padding: 7px 13px; border: 1px solid var(--line); border-radius: 8px; }
.nav-contact span, .footer a span { margin-left: .4em; }
nav a:hover, .nav-contact:hover, .footer a:hover, .text-link:hover { text-decoration: underline; text-underline-offset: .25em; }

.hero-band {
  color: #f4f8ff;
  background: radial-gradient(ellipse at 87% 8%, #25475c, transparent 55%), var(--night);
}
.hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; column-gap: clamp(22px, 4vw, 64px); padding-block: 35px 40px; }
.label { margin: 0 0 18px; color: var(--mint); font-size: .77rem; text-transform: uppercase; letter-spacing: .13em; font-weight: 700; }
h1, h2 { margin: 0; font-weight: 680; letter-spacing: -.055em; line-height: 1.05; }
h1 { font-size: clamp(3rem, 6.4vw, 5.6rem); max-width: 12ch; }
h1 span { color: var(--mint); }
h2 { font-size: clamp(2.05rem, 4vw, 3.55rem); }
.lede { max-width: 47ch; font-size: clamp(1.02rem, 1.65vw, 1.18rem); color: #ccdae8; margin: 22px 0 27px; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 22px; }
.button { display: inline-flex; gap: 14px; align-items: center; padding: 11px 16px; border-radius: 9px; background: var(--mint); color: #102338; font-size: .89rem; font-weight: 750; }
.button:hover { background: #c1f9ea; }
.text-link { font-size: .89rem; font-weight: 650; }
.text-link span { margin-left: .25em; }
.hero-band a:focus-visible, .contact a:focus-visible { outline-color: var(--mint); }
.hero-challenges {
  grid-column: 1 / -1;
  padding-top: 24px;
  border-top: 1px solid #426176;
}
.hero-challenges h2 {
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  letter-spacing: -.035em;
}
.hero-challenges ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px 26px;
  margin: 15px 0 0;
  padding: 0;
  list-style: none;
}
.hero-challenges strong, .hero-challenges li span { display: block; }
.hero-challenges strong { color: var(--mint); font-size: .94rem; line-height: 1.35; }
.hero-challenges li span { margin-top: 4px; color: #ccdae8; font-size: .85rem; line-height: 1.45; }
.hero-figure {
  position: relative;
  align-self: stretch;
  min-height: clamp(365px, 39vw, 505px);
  overflow: hidden;
  mask-image: linear-gradient(to bottom, #000 69%, transparent 100%);
}
.hero-figure img {
  position: absolute;
  top: 0;
  left: 50%;
  width: 100%;
  height: clamp(449px, 48vw, 621px);
  object-fit: cover;
  object-position: center top;
  max-width: none;
  transform: translateX(-50%);
}

.services { padding-block: 62px; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; margin-top: 24px; }
.service-grid .row { padding: 24px; border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.service-grid .row::before { content: ""; display: block; width: 26px; height: 3px; border-radius: 3px; background: #378b8e; margin-bottom: 17px; }
.resume-section, .about { display: grid; grid-template-columns: .8fr 1.2fr; gap: 35px; border-top: 1px solid var(--line); padding-block: 55px; }
.row { padding: 16px 0; border-top: 1px solid var(--line); }
.row:first-child { border-top: 0; padding-top: 0; }
.service-grid .row:first-child { border-top: 1px solid var(--line); padding-top: 24px; }
.row h3 { margin: 0 0 7px; font-size: 1.08rem; line-height: 1.35; }
.row p { margin: 0; color: var(--muted); }
.source { display: table; margin-top: 6px; color: var(--link); font-size: .84rem; text-decoration: underline; text-underline-offset: .2em; }
.about img { aspect-ratio: 16 / 9; border-radius: 16px; object-position: 50% 34%; }
figcaption { margin-top: 8px; color: var(--muted); font-size: .84rem; }
.contact { background: var(--night); color: #f4f8ff; }
.contact-inner { display: flex; gap: 20px 35px; flex-wrap: wrap; align-items: center; justify-content: space-between; padding-block: 50px; }
.contact p { margin: 12px 0 0; color: #ccdae8; }
.footer { display: flex; justify-content: space-between; gap: 15px; padding-block: 18px; font-size: .85rem; }

@media (max-width: 800px) {
  .shell { width: calc(100% - 48px); }
  .hero { column-gap: 18px; }
  .hero-challenges ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-grid .row, .service-grid .row:first-child { padding: 17px; }
}
@media (max-width: 630px) {
  .shell { width: calc(100% - 36px); }
  .masthead { grid-template-columns: 1fr auto; gap: 12px; min-height: unset; padding-block: 12px; }
  nav { grid-area: 2 / 1 / 3 / 3; flex-wrap: wrap; gap: 8px 20px; }
  .hero, .service-grid, .resume-section, .about { grid-template-columns: 1fr; }
  .hero { padding-block: 42px; }
  .hero-figure { display: none; }
  .services, .resume-section, .about { padding-block: 38px; }
  .resume-section, .about { gap: 20px; }
}
@media (max-width: 390px) {
  .hero-challenges ul { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  .masthead, .hero-figure, .hero-challenges, .about, .actions, .footer, .skip { display: none; }
  .shell { width: 100%; }
  .hero, .services, .resume-section, .contact-inner { padding-block: 16px; }
  body, .hero-band, .contact, .button { background: white; color: black; }
  .lede, .contact p, .label, h1 span { color: black; }
  h1 { font-size: 35pt; max-width: none; }
  h2 { font-size: 23pt; }
}

.arrow {
  display: inline-block;
  width: .62em;
  height: .62em;
  border-top: 1.5px solid;
  border-right: 1.5px solid;
  position: relative;
  vertical-align: .12em;
}

.arrow::before {
  content: "";
  position: absolute;
  width: .78em;
  border-top: 1.5px solid;
  top: .23em;
  right: -.08em;
  transform: rotate(-45deg);
}

nav a[aria-current="page"] {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: .3em;
}

.blog-hero { padding-block: clamp(44px, 8vw, 100px); }
.blog-hero h1 { max-width: none; }
.blog-hero .lede { margin-bottom: 0; }
.blog-feed { padding-block: clamp(38px, 6vw, 70px); min-height: 260px; }
.blog-empty, .blog-entry {
  max-width: 760px;
  margin: 22px 0 0;
  padding: 22px 24px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 15px;
  color: var(--muted);
}
.blog-entry h3 { margin: 5px 0; color: var(--ink); font-size: 1.25rem; }
.blog-entry h3 a:hover { text-decoration: underline; text-underline-offset: .2em; }
.blog-entry p { margin: 0; }
.blog-entry time { font-size: .85rem; }
.article-heading h1 { margin-top: 18px; max-width: 18ch; font-size: clamp(2.6rem, 6vw, 5.25rem); }
.article-body { max-width: 740px; padding-block: 44px; overflow-wrap: anywhere; }

.subhead { font-size: 1.15rem; line-height: 1.3; letter-spacing: -.02em; margin: 0 0 16px; }
.resume-section > div:last-child > .subhead:not(:first-child) { margin-top: 44px; }
.resume-section .service-grid { margin-bottom: 36px; }
