@font-face {
  font-family: Inter;
  src: url('inter-variable.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #17252f;
  --muted: #53636c;
  --blue: #156b82;
  --pale: #eaf3f5;
  --line: #dce5e8;
  --white: #fff;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}
a { color: inherit; }

.site-header {
  max-width: var(--max);
  margin: auto;
  padding: 16px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.brand { display: block; flex: 0 0 auto; text-decoration: none; }
.brand-logo {
  display: block;
  width: 190px;
  height: auto;
  max-height: 150px;
  object-fit: contain;
  object-position: left center;
}
nav { display: flex; align-items: center; gap: 34px; }
nav a { color: var(--muted); font-size: 14px; font-weight: 600; text-decoration: none; }
nav a:hover, nav a[aria-current=page] { color: var(--blue); }

.hero {
  height: 400px;
  background: var(--pale);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}
.hero-copy { align-self: start; justify-self: end; max-width: 580px; padding: 30px 55px 30px 30px; }
.hero-copy .eyebrow { margin: 0; }
.hero-copy h1 { margin: 10px 0 12px; }
.hero-copy .lead { margin: 0; }
.eyebrow { color: var(--blue); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
h1, h2 { line-height: 1.13; letter-spacing: -.045em; }
h1 { font-size: clamp(38px, 5vw, 62px); margin: 14px 0 20px; }
.hero h1 { font-size: clamp(34px, 4.3vw, 52px); }
.hero-kicker { display: block; margin-bottom: 8px; color: #aa0000; font-size: .84em; white-space: nowrap; }
h2 { font-size: clamp(28px, 3vw, 40px); margin: 10px 0 18px; }
.lead { color: var(--muted); font-size: 19px; max-width: 620px; }
.button { display: inline-block; margin-top: 12px; padding: 9px 18px; border-radius: 3px; background: var(--blue); color: white; font-size: 16px; font-weight: 700; text-decoration: none; }
.button:hover { background: #0d5367; }
.hero-image { display: block; justify-self: center; width: min(100%, 720px); height: 400px; min-height: 0; object-fit: cover; object-position: center center; }

.content-width { max-width: var(--max); margin: 0 auto; padding-right: 30px; padding-left: 30px; }
.intro { padding-top: 40px; padding-bottom: 60px; }
.intro h2 { max-width: none; }
.intro p:not(.eyebrow) { color: var(--muted); }
.text-link { display: inline-block; margin-top: 12px; color: var(--blue); font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

.page { position: relative; z-index: 0; max-width: 900px; padding-top: 72px; padding-bottom: 100px; background: transparent; }
.page::before { content: ''; position: absolute; z-index: -1; top: 0; bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%); background: var(--pale); }
.page h1 { font-size: clamp(34px, 4.3vw, 52px); }
.services-hero { height: 400px; overflow: hidden; background: var(--pale); display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.services-hero-copy { align-self: start; justify-self: end; max-width: 580px; padding: 30px 55px 30px 30px; }
.services-hero-copy .eyebrow { margin: 0; }
.services-hero-copy h1 { margin: 10px 0 12px; }
.services-hero-copy .lead { margin: 0; }
.services-hero h1 { font-size: clamp(34px, 4.3vw, 52px); }
.services-hero .page-brand-name { display: block; margin-bottom: 8px; }
.services-image { display: block; width: 134%; max-width: none; height: 100%; min-height: 0; transform: translateX(-5%); object-fit: cover; object-position: left top; }
.services-content { padding-top: 20px; padding-bottom: 48px; }
.page-brand-name { color: #aa0000; font-size: .84em; white-space: nowrap; }
.service-section { margin-top: 0; }
.service-section h2 { margin: 6px 0 8px; font-size: 25px; }
.service-list { margin: 0; padding-left: 1.25em; list-style: disc; }
.service-list li { padding: 2px 0; color: var(--muted); line-height: 1.32; }
.note { margin-top: 20px; padding: 18px 22px; background: var(--pale); color: var(--muted); }
.note a { color: #163b5c; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.note a:hover { color: #0b68cb; }
.note > p { margin: 0; }
.note .teamviewer-button { display: inline-block; margin-left: 8px; padding: 5px 10px; border-radius: 3px; background: #163b5c; color: #fff; font-size: 12px; font-weight: 700; line-height: 1.3; text-decoration: none; vertical-align: middle; }
.note .teamviewer-button + .teamviewer-button { margin-left: 6px; }
.note .teamviewer-button:hover { background: #0e2e4d; color: #fff; }
.note .teamviewer-button:focus-visible { outline: 2px solid #163b5c; outline-offset: 3px; }
@media (min-width: 900px) {
  .services-content { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); column-gap: 40px; align-items: start; }
  .software-column .note { width: calc(100% + 80px); }
}
.about-hero { position: relative; height: 400px; background: var(--pale); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; }
.about-hero-copy { align-self: start; justify-self: end; width: 100%; max-width: 580px; padding: 30px 55px 40px 30px; }
.about-hero-copy .eyebrow { margin: 0; }
.about-hero-copy h1 { margin: 10px 0 12px; }
.about-hero h1 { font-size: clamp(34px, 4.3vw, 52px); }
.about-hero .page-brand-name { display: block; margin-bottom: 8px; }
.about-hero-image { position: absolute; top: 0; left: 50%; display: block; width: min(39%, 420px); height: 100%; object-fit: cover; object-position: center 50%; }
.about-content { padding-top: 16px; padding-bottom: 60px; }
.about-content p { color: var(--muted); }

footer { max-width: var(--max); margin: auto; padding: 23px 30px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }

@media (max-width: 720px) {
  .site-header { padding: 14px 20px; align-items: flex-start; flex-direction: column; gap: 18px; }
  .brand-logo { width: 160px; max-height: 126px; }
  nav { flex-wrap: wrap; gap: 24px; }
  .hero { height: auto; grid-template-columns: 1fr; }
  .hero-copy { justify-self: stretch; padding: 52px 24px; }
  .hero-image { justify-self: stretch; width: 100%; height: auto; min-height: 0; max-height: none; aspect-ratio: 9 / 5; object-position: center center; }
  .content-width { padding-right: 24px; padding-left: 24px; }
  .intro { padding-top: 36px; padding-bottom: 48px; }
  .page { padding-top: 52px; padding-bottom: 72px; }
  .services-hero { height: auto; grid-template-columns: 1fr; }
  .services-hero-copy { justify-self: stretch; padding: 52px 24px; }
  .services-image { width: 100%; height: auto; min-height: 0; max-height: none; transform: none; object-fit: contain; }
  .services-content { padding-top: 18px; padding-bottom: 40px; }
  .about-hero { height: auto; grid-template-columns: 1fr; }
  .about-hero-copy { justify-self: stretch; width: 100%; max-width: none; margin-left: 0; padding: 52px 24px 40px; }
  .about-hero-image { position: static; width: min(80%, 360px); height: auto; object-fit: contain; }
  .about-content { padding: 16px 20px 48px; }
  footer { margin: 0 20px; padding-right: 0; padding-left: 0; }
}
