@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../../fonts/barlow-400-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../../fonts/barlow-500-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../../fonts/barlow-700-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../../fonts/barlow-condensed-400-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../../fonts/barlow-condensed-600-latin.woff2") format("woff2");
}

:root {
  --color-bg: #f2f2f3;
  --color-surface: #e9e9ea;
  --color-text: #1d1f20;
  --color-accent: #5980a6;
  --color-accent-600: #597ea3;
  --color-accent-700: #416180;
  --color-accent-900: #1d2d3d;
  --color-divider: color-mix(in srgb, #1d1f20 16%, transparent);
  --font-heading: "Barlow Condensed", system-ui, sans-serif;
  --font-body: "Barlow", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.55;
  text-wrap: pretty;
}

a {
  color: var(--color-accent-700);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--color-accent-900);
}

img {
  display: block;
  max-width: 100%;
}

figure,
p {
  margin: 0;
}

:focus-visible {
  outline: 3px solid var(--color-accent-700);
  outline-offset: 3px;
}

::selection {
  background: color-mix(in srgb, var(--color-accent) 30%, transparent);
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--color-text);
  color: #fff;
  transform: translateY(-160%);
}

.skip-link:focus {
  color: #fff;
  transform: translateY(0);
}

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 13.6px;
  padding: 10.2px max(20px, calc((100% - 1200px) / 2 + 20px));
  background: color-mix(in srgb, var(--color-bg) 96%, transparent);
  backdrop-filter: blur(8px);
}

.nav-brand {
  display: flex;
  align-items: center;
  margin-right: auto;
  min-height: 44px;
}

.nav-brand img {
  width: auto;
  height: 32px;
  mix-blend-mode: multiply;
}

.nav a {
  color: inherit;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
}

.nav a:hover {
  color: var(--color-accent-700);
}

.nav .btn-primary,
.nav .btn-primary:hover {
  color: #fff;
}

.page-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 72px);
}

.section {
  padding: 48px 0 72px;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  align-items: center;
  gap: 48px 64px;
  padding: 88px 0 72px;
}

.grid-two {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  align-items: center;
  gap: 48px 64px;
}

.grid-two.start {
  align-items: start;
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 48px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 48px;
}

.display-title,
.section-title,
.card-title {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.04;
  text-transform: uppercase;
}

.display-title {
  margin-left: -0.052em;
  font-size: clamp(48px, 6.4vw, 92px);
}

.section-title {
  margin-bottom: 20px;
  font-size: 40px;
  line-height: 44px;
}

.section-title.large {
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.04;
}

.card-title {
  margin-bottom: 12px;
  font-size: 24px;
  line-height: 28px;
}

.card-title.large {
  font-size: 28px;
  line-height: 32px;
}

.hero-kicker {
  margin-top: 32px;
  color: var(--color-accent-700);
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 32px;
  text-transform: uppercase;
}

.lead {
  max-width: 54ch;
  margin-top: 16px;
  font-size: 18px;
  line-height: 28px;
}

.body-copy {
  max-width: 48ch;
  font-size: 18px;
  line-height: 28px;
}

.body-copy.spaced {
  margin-bottom: 16px;
}

.section-label {
  display: block;
  margin-bottom: 12px;
  color: var(--color-accent-700);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-rule {
  height: 1px;
  margin: 0 0 40px;
  border: 0;
  background: var(--color-divider);
}

.actions,
.tags {
  display: flex;
  flex-wrap: wrap;
}

.actions {
  gap: 12px;
  margin-top: 32px;
}

.tags {
  gap: 8px;
  margin-top: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 6.8px 12.24px;
  border: 1px solid var(--color-divider);
  color: var(--color-text);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
}

.btn-primary {
  border-color: var(--color-accent-700);
  background: var(--color-accent-700);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-accent-900);
  color: #fff;
}

.btn-ghost {
  border-color: transparent;
  color: var(--color-accent-700);
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border: 1px solid var(--color-accent);
  color: var(--color-accent-700);
  font-size: 11px;
  letter-spacing: 0.02em;
}

.blueprint {
  position: relative;
  border: 1px solid var(--color-divider);
}

.blueprint > .corner {
  position: absolute;
  z-index: 2;
  width: 11px;
  height: 11px;
  color: color-mix(in srgb, var(--color-text) 55%, transparent);
}

.blueprint > .corner::before,
.blueprint > .corner::after {
  position: absolute;
  content: "";
  background: currentColor;
}

.blueprint > .corner::before {
  top: 0;
  left: 5px;
  width: 1px;
  height: 100%;
}

.blueprint > .corner::after {
  top: 5px;
  left: 0;
  width: 100%;
  height: 1px;
}

.corner.tl { top: -6px; left: -6px; }
.corner.tr { top: -6px; right: -6px; }
.corner.bl { bottom: -6px; left: -6px; }
.corner.br { right: -6px; bottom: -6px; }

.media-frame {
  position: relative;
  margin: 0;
  overflow: visible;
}

.media-frame.portrait {
  aspect-ratio: 4 / 5;
}

.media-frame.landscape {
  aspect-ratio: 3 / 2;
}

.media-frame.wide {
  aspect-ratio: 2 / 1;
}

.media-frame picture,
.media-frame img {
  width: 100%;
  height: 100%;
}

.media-frame img {
  object-fit: cover;
}

.media-frame.contain img {
  object-fit: contain;
}

.media-frame::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background: var(--color-accent);
  mix-blend-mode: color;
}

.blueprint-card {
  position: relative;
  padding: 32px;
}

.contact-card {
  position: relative;
  padding: 24px;
}

.contact-card address {
  font-style: normal;
}

.industry-image {
  grid-row: span 2;
}

.contact-intro {
  max-width: 60ch;
  margin-bottom: 48px;
  font-size: 18px;
  line-height: 28px;
}

.site-footer {
  padding: 32px 0 48px;
  color: color-mix(in srgb, var(--color-text) 70%, transparent);
  font-size: 13px;
  line-height: 24px;
}

@media (max-width: 1000px) {
  .nav a:not(.nav-brand, .btn) {
    display: none;
  }
}

@media (max-width: 720px) {
  .hero {
    padding-top: 56px;
  }

  .section {
    padding-bottom: 56px;
  }

  .industry-image {
    grid-row: auto;
  }

  .section-title {
    font-size: 36px;
    line-height: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
