header nav a:has(.nav-icon), .subnav a { display: inline-flex; align-items: center; gap: .38rem }
.nav-icon { width: 20px; height: 20px; flex: none }
:root { --dark: #171717; --hero: #171717; --paper: #f3f3f3; --mint: #d6d6d6 }
header { color: #f2f2f2; background: #171717; border-bottom: 1px solid #424242 }
header .button { color: #f7f7f7; background: transparent; border: 1px solid #7d7d7d }
header .button:hover { background: #323232 }
.hero { background: #171717 }
.hero-photo { background: #171717 }
.hero h1, .directory-heading h2, .section-intro h2, .service-directory h3 {
  font-family: "Barlow Semi Condensed", Bahnschrift, "Segoe UI", Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -.035em;
}
.hero h1 { font-size: clamp(42px,5.55vw,86px); line-height: 1.02; text-wrap: balance }
.hero .intro::before { display: none }
.intro, .hero-text {
  background-image: radial-gradient(ellipse at 24% 24%, #262626 0%, transparent 67%);
}
.hero .button { color: #1d1d1d; background: #d6d6d6 }
.hero .button:hover { background: #ececec }
.photo-caption, .network-figure figcaption { font-family: Consolas, "Courier New", monospace; letter-spacing: .015em }
.services { display: grid; grid-template-columns: minmax(0,.86fr) minmax(0,1.2fr); align-items: start; gap: clamp(24px,6vw,100px) }
.directory-heading { min-width: 0 }
.directory-heading h2 { max-width: 17ch; font-size: clamp(34px,3.4vw,54px); line-height: 1.05 }
.network-figure { margin: clamp(24px,4vw,58px) 0 0 }
.network-figure img { width: 100%; height: auto; max-width: 540px; display: block }
.network-figure figcaption { margin-top: 12px; color: #545454; font-size: .82rem }
.service-directory { display: grid; gap: 0 }
.service-directory article { display: grid; grid-template-columns: 36px 1fr; column-gap: 16px; align-items: start; padding: 22px 0; border-top: 1px solid #d1d1d1 }
.service-directory article > :not(img) { grid-column: 2 }
.service-directory .service-glyph { width: 32px; height: 32px; grid-row: 1 / span 3 }
.service-directory article:first-child { padding-top: 0; border: 0 }
.service-directory h3 { font-size: clamp(24px,2.35vw,36px); letter-spacing: -.04em; font-weight: 600 }
.service-directory p { max-width: 55ch; margin: 8px 0; color: #444444; line-height: 1.55 }
.service-directory a { justify-self: start; display: inline-block; padding: 6px 0; text-decoration: underline; text-underline-offset: 4px; font-weight: 600 }
.service-directory a:hover, .service-directory a:focus-visible { color: #4d4d4d }
.service-story { display: grid; grid-template-columns: minmax(0,.94fr) minmax(0,1.15fr); gap: clamp(26px,5vw,90px); align-items: center; padding-top: clamp(44px,6vw,96px); background: #efefef }
.section-intro { min-width: 0 }
.section-intro h2 { max-width: 19ch }
.section-art { display: block; width: 100%; max-width: 540px; height: auto; margin-top: 16px }
.service-story .grid { margin: 0; gap: clamp(24px,3vw,44px) }
.service-story article { display: grid; grid-template-columns: 36px 1fr; gap: 0 16px; align-items: start }
.service-story article:nth-child(even) { margin-left: clamp(12px,3vw,48px) }
.service-story article > :not(.topic-icon) { grid-column: 2 }
.service-story article .topic-icon { margin: 0; grid-row: 1 / span 2 }
.service-story article h3 { font-size: clamp(22px,1.85vw,30px); line-height: 1.2 }
.service-story article p { margin-top: 7px }
.topic-icon { display: block; width: 30px; height: 30px; margin-bottom: 12px }
.section-intro h2 { font-size: clamp(38px,4.4vw,70px); line-height: 1.03; letter-spacing: -.05em }
.section.callout { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.9fr); gap: 16px clamp(28px,5vw,80px); align-items: center }
.callout h2 { grid-row: span 2; max-width: 18ch; color: #ebebeb; font-size: clamp(34px,4.3vw,68px) }
.callout p { margin: 0 }
.callout .button { justify-self: start }
.contact-routes { display: flex; flex-wrap: wrap; gap: 16px clamp(16px,3vw,48px); margin-block: 8px }
.contact-routes div { display: grid; align-content: start; gap: 3px }
.contact-routes strong { font-size: .88rem; font-weight: 650 }
.contact-routes a { display: inline-flex; align-items: center; min-height: 32px; width: fit-content; font-size: .92rem; text-decoration: underline; text-underline-offset: .2em }

/* Each transition has its own empty space below the content. */
.section:not(.callout), .services {
  --boundary-height: clamp(34px, 5.5vw, 82px);
  --next-surface: #fff;
  position: relative;
  padding-bottom: calc(var(--boundary-height) + clamp(28px, 4vw, 58px));
}
.section + .section { border-top: 0 }
.service-story + .section { background: #fff; --next-surface: var(--paper) }
.section:has(+ .callout) { --next-surface: var(--dark) }
.services { background: #f6f6f6; --next-surface: #171717 }
.photo-credit { flex-basis: 100%; font-size: .79rem; line-height: 1.5 }
.photo-credit a { text-decoration: underline; text-underline-offset: .15em }
.section:not(.callout)::after, .services::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: var(--boundary-height);
  pointer-events: none;
  background: var(--next-surface);
  border-top-left-radius: 65% 85%;
}
@supports (clip-path: shape(from 0% 0%, line to 100% 0%, close)) {
  .section:not(.callout)::after, .services::after {
    border-radius: 0;
    clip-path: shape(from 0% 70%, curve to 46% 48% with 16% 101% / 30% 89%, curve to 100% 28% with 70% -9% / 85% -12%, line to 100% 100%, line to 0% 100%, close);
  }
  .service-story + .section::after { transform: scaleX(-1) }
}
@media (max-width: 720px) {
  .nav-icon { width: 17px; height: 17px }
  .service-story { grid-template-columns: 1fr }
  .section-art { width: min(96%,400px); margin: 4px auto 12px }
  .service-story article { grid-template-columns: 28px 1fr; column-gap: 12px }
  .section.callout { grid-template-columns: 1fr }
  .services { grid-template-columns: 1fr; gap: 28px }
  .network-figure { margin-top: 16px }
  .network-figure img { max-width: 400px }
  .hero h1 { font-size: clamp(37px,9.2vw,59px) }
  .service-story article:nth-child(even) { margin-left: 0; margin-top: 0 }
}
