:root {
  color-scheme: light;
  --paper: #fafaf6;
  --ink: #182522;
  --muted: #4d5c56;
  --accent: #396759;
  --line: #d9dfd8;
  --wash: #eff2ec;
  --dark: #192d28;
  --light: #f4f6ef;
  --gutter: clamp(1.375rem, 5.55vw, 5.5rem);
  --width: 80rem;
  font-family: 'Inter', 'Segoe UI', sans-serif;
  background: var(--paper);
  color: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
button { font: inherit; }
img { display: block; width: 100%; height: auto; }
figure, p, h1, h2, h3 { margin: 0; }
[id] { scroll-margin-top: 1.5rem; }
:focus-visible { outline: 2px solid #527e6f; outline-offset: 5px; }

.wrap { width: min(var(--width), calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.skip { position: absolute; z-index: 5; top: .75rem; left: var(--gutter); padding: .75rem 1rem; background: white; transform: translateY(-160%); }
.skip:focus { transform: none; }
.top { border-bottom: 1px solid var(--line); }
.top-inner { min-height: 5.25rem; display: grid; grid-template-columns: 1fr auto 1fr; gap: 1.5rem; align-items: center; }
.brand { display: inline-flex; width: fit-content; gap: .7rem; align-items: center; text-decoration: none; }
.mark { display: grid; align-content: center; gap: 3px; width: 34px; height: 34px; padding: 7px; background: var(--accent); color: white; }
.mark i { display: block; height: 2px; background: currentColor; }
.mark i:nth-child(2) { width: 74%; }
.mark i:nth-child(3) { width: 48%; }
.wordmark { display: grid; font-size: 1.04rem; line-height: 1.05; font-weight: 800; letter-spacing: -.05em; }
.wordmark small { margin-top: .24rem; color: var(--accent); font-size: .63rem; letter-spacing: .15em; font-weight: 800; text-transform: uppercase; }
.main-nav, .top-actions { display: flex; align-items: center; gap: clamp(.875rem, 2.5vw, 2.4rem); }
.top-actions { justify-self: end; gap: 1.2rem; }
.main-nav a, .foot-nav a { text-decoration: none; font-size: .875rem; font-weight: 750; }
.main-nav a:hover, .foot-nav a:hover { text-decoration: underline; text-underline-offset: .28em; }
.button { display: inline-flex; min-height: 3.125rem; align-items: center; justify-content: center; padding: .78rem 1.27rem; border: 1px solid var(--dark); background: var(--dark); color: white; text-decoration: none; font-size: .9rem; font-weight: 780; transition: background-color .18s, border-color .18s; }
.button:hover { background: var(--accent); border-color: var(--accent); }
.button-outline { background: transparent; color: var(--ink); border-color: #c9d1cb; }
.button-outline:hover { background: var(--wash); border-color: var(--accent); }
.button-small { min-height: 2.65rem; font-size: .83rem; padding: .55rem .95rem; white-space: nowrap; }

.hero { padding-block: clamp(3rem, 5.1vw, 5.2rem); }
.hero-grid { display: grid; grid-template-columns: 1fr 1.03fr; gap: clamp(2rem, 4.1vw, 4.25rem); align-items: center; }
.eyebrow { display: flex; align-items: center; gap: .65rem; color: var(--accent); font-size: .8125rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow::before { content: ''; width: 1.35rem; height: 1px; background: currentColor; flex: 0 0 auto; }
h1 { margin-top: 1.22rem; font-weight: 750; font-size: clamp(2.75rem, 5.05vw, 4.7rem); line-height: 1.045; letter-spacing: -.063em; }
h1 span { display: block; }
h1 .accent { color: var(--accent); }
.hero-description { margin-top: 1.5rem; max-width: 31rem; color: var(--muted); font-size: clamp(1rem, 1.33vw, 1.17rem); line-height: 1.7; }
.hero-links { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.9rem; }
.hero-image { position: relative; background: #a4aea5; min-width: 0; }
.hero-image img { aspect-ratio: 1.22; object-fit: cover; object-position: 53% center; }

.services { padding-block: clamp(3.25rem, 5vw, 5.1rem); background: var(--wash); border-block: 1px solid var(--line); }
.section-intro { display: grid; grid-template-columns: 1.25fr .75fr; align-items: end; gap: 2rem; margin-bottom: 2rem; }
h2 { margin-top: .7rem; font-size: clamp(2.25rem, 4.1vw, 4rem); letter-spacing: -.073em; line-height: 1.07; font-weight: 800; }
.section-intro > p { max-width: 26rem; color: var(--muted); line-height: 1.65; justify-self: end; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); background: var(--paper); }
.card { padding: clamp(1.4rem, 2.5vw, 2.45rem); }
.card + .card { border-left: 1px solid var(--line); }
.service-symbol { margin-bottom: 1.55rem; width: 42px; height: 42px; color: var(--accent); background: #e8eee7; display: grid; place-items: center; }
.service-symbol i { display: block; position: relative; width: 20px; height: 20px; }
.software i { border: 1.5px solid currentColor; height: 16px; }
.software i::after { content: ''; display: block; width: 100%; height: 4px; border-bottom: 1px solid currentColor; }
.security i { width: 15px; height: 13px; margin-top: 6px; border: 1.5px solid currentColor; border-radius: 2px; }
.security i::before { content: ''; position: absolute; bottom: 100%; left: 2px; right: 2px; height: 7px; border: 1.5px solid currentColor; border-bottom: 0; border-radius: 5px 5px 0 0; }
.applied i { border: 1.5px solid currentColor; width: 15px; height: 15px; transform: rotate(45deg); }
.applied i::after { content: ''; position: absolute; inset: 3px; border: 1px solid currentColor; }
.card h3 { font-size: clamp(1.2rem, 1.85vw, 1.5rem); line-height: 1.22; font-weight: 800; letter-spacing: -.05em; }
.card p { margin-top: .66rem; color: var(--muted); line-height: 1.65; }
.card ul { padding: .95rem 0 0; margin: 1.15rem 0 0; border-top: 1px solid var(--line); list-style: none; display: grid; gap: .375rem; }
.card li { font-size: .875rem; color: var(--muted); }

.about { padding-block: clamp(3.3rem, 7vw, 7.2rem); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 6vw, 6rem); align-items: start; }
.about h2 { max-width: 13ch; }
.about-copy { color: var(--muted); font-size: 1.125rem; line-height: 1.73; }
.about-copy > p + p { margin-top: 1rem; }
.location { margin-top: 1.65rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .875rem; color: var(--accent); font-weight: 800; }

.contact { background: var(--dark); color: var(--light); padding-block: clamp(3rem, 5.5vw, 5.75rem); }
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: end; }
.contact .eyebrow { color: #a9c7b8; }
.contact-copy p { max-width: 27rem; margin-bottom: .85rem; color: #d0dcd4; line-height: 1.6; }
.email { display: inline-block; max-width: 100%; overflow-wrap: anywhere; font-weight: 800; font-size: clamp(.94rem, 2vw, 1.25rem); text-underline-offset: .32em; text-decoration-color: #8caa9b; }
.email:hover { text-decoration-color: white; }
.email:focus-visible { outline-color: #a9c7b8; }
.foot { border-top: 1px solid var(--line); padding-block: 1.7rem; }
.foot-grid { display: flex; flex-wrap: wrap; gap: .75rem 2rem; align-items: center; justify-content: space-between; }
.foot p { font-size: .8125rem; color: var(--muted); }
.foot-nav { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; }


@media (max-width: 62rem) {
  .top-inner { gap: 1rem; }
  .card { padding: 1.3rem; }
  .hero-grid { gap: 1.8rem; }
}

@media (max-width: 47rem) {
  .top-inner { display: flex; flex-wrap: wrap; min-height: 0; justify-content: space-between; padding-top: .95rem; gap: .85rem 1rem; }
  .top-actions { margin-left: auto; }
  .top-actions .button { display: none; }
  .main-nav { order: 1; width: 100%; padding-block: .65rem .9rem; border-top: 1px solid var(--line); gap: 1.35rem; }
  .hero-grid, .section-intro, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 2rem; }
  .hero-image img { aspect-ratio: 1.49; }
  .section-intro { gap: .8rem; margin-bottom: 1.45rem; }
  .section-intro > p { justify-self: start; }
  .cards { grid-template-columns: 1fr; }
  .card { padding: 1.45rem; }
  .card + .card { border-left: 0; border-top: 1px solid var(--line); }
  .service-symbol { margin-bottom: .9rem; }
  .about-grid, .contact-grid { gap: 1rem; }
}

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