:root {
  color-scheme: dark;
  --background: #101514;
  --panel: #19221e;
  --text: #f2f4ee;
  --muted: #a6b1a9;
  --accent: #d9fc86;
  --line: #2d3931;
  --ink: #172113;
  --mono: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--background);
  color: var(--text);
  scroll-behavior: smooth;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
main:focus { outline: none; }
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
svg { display: block; }
em { color: var(--accent); font-style: normal; }
::selection { background: var(--accent); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
section[id] { scroll-margin-top: 24px; }

.shell { width: min(100% - 112px, 1232px); margin-inline: auto; }
.skip-link {
  position: fixed;
  z-index: 1;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  transform: translateY(-180%);
  border-radius: 6px;
  background: var(--accent);
  color: var(--ink);
}
.skip-link:focus { transform: none; }

.site-header { border-bottom: 1px solid var(--line); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 700; line-height: 1.2; }
.brand img { flex: 0 0 auto; }
nav { display: flex; align-items: center; gap: clamp(20px, 3.3vw, 48px); }
nav a { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; color: var(--muted); font-size: 14px; font-weight: 600; transition: color 160ms ease; }
nav a:hover, nav .nav-contact { color: var(--accent); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(26px, 4vw, 64px);
  padding-block: clamp(72px, 7.4vw, 114px);
}
.eyebrow, .figure-bar, .card-number, .tags, .contact-label, .site-footer > p {
  font: 400 12px/1.35 var(--mono);
}
.eyebrow { text-transform: uppercase; letter-spacing: .075em; }
.hero-eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--muted); }
.hero-eyebrow span, .figure-bar b, .site-footer > p span { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.hero-eyebrow span { box-shadow: 0 0 0 4px #d9fc8619; margin-inline: 4px 2px; }
.hero-eyebrow b { color: #7c9382; font-weight: 400; }
h1 { margin-top: 24px; font-size: clamp(3rem, 5.2vw, 4.75rem); line-height: 1.02; letter-spacing: -.067em; }
.hero-description { max-width: 45ch; margin-top: 26px; color: var(--muted); font-size: clamp(1rem, 1.35vw, 1.1875rem); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 13px;
  min-height: 52px;
  padding: 11px 17px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 700;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}
.button svg, .service-icon svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.button-primary { background: var(--accent); color: var(--ink); }
.button-primary:hover { background: #e6ffac; }
.button-secondary { border-color: #3a4a3e; }
.button-secondary:hover { border-color: var(--accent); color: var(--accent); }
.hero-figure { overflow: hidden; border: 1px solid #38493d; border-radius: 12px; background: #161f19; }
.hero-figure img { width: 100%; }
.figure-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 43px;
  padding: 8px 17px;
  color: #a0afa2;
  background: #1b2620;
  text-transform: uppercase;
  letter-spacing: .07em;
  font-size: 10px;
}
.figure-bar:first-child { border-bottom: 1px solid #38493d; }
figcaption.figure-bar { border-top: 1px solid #38493d; }
.figure-bar > span { display: inline-flex; align-items: center; gap: 8px; }
.figure-bar b { width: 4px; height: 4px; }

.section { padding-block: clamp(65px, 8vw, 112px); }
.services { border-block: 1px solid var(--line); background: #131a16; }
.section-index { display: flex; align-items: center; gap: 11px; color: var(--muted); }
.section-index span { padding: 4px 6px; border: 1px solid #41543e; border-radius: 4px; color: var(--accent); }
h2 { margin-top: 18px; font-size: clamp(2.45rem, 4.4vw, 4.125rem); line-height: 1.04; letter-spacing: -.06em; }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 37px; }
.service-card {
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid #304035;
  border-radius: 10px;
  background: var(--panel);
  transition: background 160ms ease, border-color 160ms ease;
}
.service-card:hover { border-color: #566d50; background: #1d2820; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 23px; }
.service-icon { display: grid; place-items: center; width: 45px; height: 45px; border: 1px solid #3b503a; border-radius: 8px; color: var(--accent); background: #233125; }
.service-icon svg { width: 23px; height: 23px; }
.card-number { color: #98a99c; letter-spacing: .06em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.54rem); line-height: 1.17; letter-spacing: -.035em; }
.service-card p, .approach p:not(.eyebrow), .principles p { color: var(--muted); font-size: 16px; line-height: 1.6; }
.service-card p { max-width: 49ch; margin-block: 10px 22px; }
.tags { display: flex; flex-wrap: wrap; gap: 7px; padding: 0; margin: auto 0 0; list-style: none; color: #c4d4c4; font-size: 11px; }
.tags li { padding: 4px 8px; border: 1px solid #394d3e; border-radius: 4px; }

.approach { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: start; gap: clamp(30px, 5vw, 80px); }
.approach-copy > p:not(.eyebrow) { margin-top: 17px; max-width: 48ch; }
.approach-copy > h2 + p { margin-top: 25px; }
.principles { padding: 0; margin: 0; list-style: none; border-top: 1px solid var(--line); }
.principles li { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 12px; padding-block: 23px; border-bottom: 1px solid var(--line); }
.principles li > span { padding-top: 4px; color: var(--accent); font: 400 12px/1.2 var(--mono); }
.principles p { margin-top: 8px; }

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .82fr);
  align-items: end;
  gap: clamp(26px, 4vw, 64px);
  padding: clamp(28px, 5vw, 68px);
  border-radius: 12px;
  background-color: var(--accent);
  background-image: linear-gradient(90deg, var(--accent) 36%, transparent 100%),
    linear-gradient(#42592516 1px, transparent 1px), linear-gradient(90deg, #42592516 1px, transparent 1px);
  background-size: auto, 25px 25px, 25px 25px;
  color: var(--ink);
}
.contact-panel .section-index { color: #39492e; }
.contact-panel .section-index span { border-color: #6c854d; color: var(--ink); }
.contact-panel h2 { font-size: clamp(2.35rem, 4.1vw, 3.85rem); }
.contact-panel h2 + p { margin-top: 20px; max-width: 42ch; color: #31412a; font-size: 16px; line-height: 1.55; }
.contact-details { display: grid; align-self: end; border-top: 1px solid #8ca95a; font-style: normal; }
.contact-details > * {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 9px 6px;
  border-bottom: 1px solid #8ca95a;
  font-size: clamp(.875rem, 1.25vw, 1.0625rem);
  font-weight: 700;
  overflow-wrap: anywhere;
}
.contact-details a { transition: background 160ms ease; }
.contact-details a:hover { background: #1721130c; }
.contact-details a:focus-visible { outline-color: var(--ink); outline-offset: 1px; }
.contact-label { color: #39492e; text-transform: uppercase; letter-spacing: .03em; }
.contact-arrow { font-size: 16px; }

.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 34px; }
.footer-identity { display: flex; align-items: center; gap: 11px; }
.footer-identity div { display: grid; gap: 4px; font-size: 12px; }
.footer-identity div span, .site-footer > p { color: var(--muted); }
.site-footer > p { display: flex; align-items: center; gap: 9px; }
.site-footer > p span { width: 4px; height: 4px; }

@media (max-width: 1050px) {
  .shell { width: min(100% - 72px, 1232px); }
  h1 { font-size: clamp(2.75rem, 5.35vw, 4.25rem); }
  .contact-break { display: none; }
}
@media (max-width: 830px) {
  .shell { width: min(100% - 48px, 660px); }
  .hero, .approach, .contact-panel { grid-template-columns: 1fr; }
  .hero { gap: 38px; padding-block: 59px 65px; }
  h1 { font-size: clamp(2.65rem, 8.25vw, 4.35rem); }
  .approach { gap: 30px; }
  .contact-panel { gap: 26px; }
}
@media (max-width: 525px) {
  .shell { width: calc(100% - 36px); }
  .header-inner { align-items: stretch; flex-direction: column; gap: 6px; padding-top: 14px; }
  .brand { align-self: start; }
  nav { justify-content: space-between; gap: 13px; }
  .hero { padding-block: 45px 50px; }
  h1 { margin-top: 17px; }
  .hero-description { margin-top: 18px; }
  .hero-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 23px; }
  .hero-actions .button { gap: 7px; padding-inline: 9px; }
  .section { padding-block: 56px; }
  .service-grid { grid-template-columns: 1fr; margin-top: 25px; }
  .contact-details > * { grid-template-columns: 60px minmax(0, 1fr) auto; gap: 7px; }
  .contact-label { font-size: 10px; }
  .site-footer { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 380px) {
  h1 { font-size: 10.3vw; }
  .hero-eyebrow { gap: 7px; font-size: 10px; }
  .hero-actions { grid-template-columns: 1fr; }
  .hero-actions .button { justify-content: space-between; padding-inline: 17px; }
  .figure-bar { padding-inline: 12px; font-size: 9px; }
  .contact-panel { padding-inline: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
