:root {
  color-scheme: light dark;
  --brand-slate: #26313d;
  --brand-orange: #d97829;
  --brand-red: #c94037;
  --bg: light-dark(#fbfbfa, #111820);
  --surface: light-dark(#ffffff, #17202a);
  --surface-alt: light-dark(#f0f2f4, #1f2933);
  --ink: light-dark(#17202a, #f4f6f7);
  --muted: light-dark(#66717c, #a9b4be);
  --brand: var(--brand-orange);
  --brand-dark: light-dark(var(--brand-slate), #f0a866);
  --accent: light-dark(var(--brand-red), #e17c2a);
  --line: light-dark(#e0e3e6, #2c3845);
  --shadow-color: light-dark(rgba(18, 36, 48, 0.12), rgba(0, 0, 0, 0.28));
  --shadow: 0 18px 45px var(--shadow-color);
  --radius: 8px;
  --max: 1140px;
  --hero-glow: light-dark(rgba(217, 120, 41, 0.16), rgba(217, 120, 41, 0.22));
  --hero-start: light-dark(rgba(255, 255, 255, 0.96), #1f2933);
  --hero-end: light-dark(rgba(240, 242, 244, 0.94), #111820);
  --hero-bg: radial-gradient(circle at 82% 22%, var(--hero-glow), transparent 22rem), linear-gradient(120deg, var(--hero-start), var(--hero-end));
  --page-hero-bg: var(--hero-bg);
  --input-bg: light-dark(#ffffff, #10171f);
  --nav-active-bg: light-dark(var(--surface-alt), rgba(217, 120, 41, 0.14));
  --nav-active-ink: var(--brand-dark);
  --icon-bg: light-dark(rgba(217, 120, 41, 0.12), rgba(217, 120, 41, 0.18));
  --icon-ink: var(--brand-dark);
  --feature-bg: light-dark(var(--brand-slate), #111820);
  --feature-ink: light-dark(#ffffff, #f4f6f7);
  --feature-muted: light-dark(#d6edf1, #a9b4be);
  --footer-bg: light-dark(var(--brand-slate), #1f2933);
  --footer-ink: light-dark(#c9d7dc, #c9d7dc);
  --footer-link: #ffffff;
  --button-ink: #ffffff;
  --focus-ring: 0 0 0 3px light-dark(rgba(217, 120, 41, 0.28), rgba(217, 120, 41, 0.38));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "IBM Plex Sans", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

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

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover,
a:focus {
  color: var(--brand-dark);
  text-decoration: underline;
}

code {
  font-family: "Courier New", Courier, monospace;
  font-size: 0.95em;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1rem;
}

.skip-link:focus {
  left: 0;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  backdrop-filter: none;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-left: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  flex: 0 0 170px;
  width: 170px;
  height: 58px;
  min-width: 170px;
  gap: 0.75rem;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0;
}

.brand img {
  width: 170px;
  height: 58px;
  min-width: 170px;
  object-fit: contain;
}

.scheme-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0.2rem;
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.scheme-switch button {
  min-width: 42px;
  min-height: 34px;
  padding: 0.35rem 0.55rem;
  border: 0;
  border-radius: calc(var(--radius) - 2px);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
}

.scheme-switch button[aria-pressed="true"] {
  background: var(--surface);
  color: var(--brand);
  box-shadow: 0 1px 3px rgba(18, 36, 48, 0.12);
}

.scheme-switch button:focus-visible,
.nav-toggle:focus-visible,
.site-nav a:focus-visible,
.button:focus-visible {
  outline: 0;
  box-shadow: var(--focus-ring);
}

.scheme-short {
  display: none;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  content: "";
}

.nav-toggle span::before {
  transform: translateY(-7px);
}

.nav-toggle span::after {
  transform: translateY(5px);
}

.site-nav {
  display: none;
  position: absolute;
  inset: 76px 1rem auto 1rem;
  padding: 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.site-nav.is-open {
  display: block;
}

.site-nav ul {
  display: grid;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: block;
  padding: 0.65rem 0.75rem;
  color: var(--ink);
  font-weight: 700;
  border-radius: var(--radius);
}

.site-nav a[aria-current="page"],
.site-nav a:hover,
.site-nav a:focus {
  background: var(--nav-active-bg);
  color: var(--nav-active-ink);
  text-decoration: none;
}

.hero {
  position: relative;
  overflow: hidden;
  color: var(--ink);
  background: var(--hero-bg);
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  min-height: 540px;
  padding: 4rem 0;
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--brand-orange);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0 0 1rem;
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.4rem, 7vw, 4.6rem);
}

h2 {
  font-size: clamp(1.8rem, 4.5vw, 3rem);
}

h3 {
  font-size: 1.32rem;
}

p {
  margin: 0 0 1rem;
}

.lead {
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.section {
  padding: 4rem 0;
}

.section-alt {
  background: var(--surface);
}

.section-head {
  max-width: 760px;
  margin-bottom: 2rem;
}

.grid {
  display: grid;
  gap: 1rem;
}

.grid-2,
.grid-3 {
  grid-template-columns: 1fr;
}

.card {
  height: 100%;
  padding: 1.35rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.section-alt .card {
  background: var(--bg);
}

.service-card {
  display: grid;
  gap: 0.75rem;
}

.service-card .icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--icon-bg);
  color: var(--icon-ink);
  font-weight: 800;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 46px;
  padding: 0.75rem 1rem;
  border: 1px solid var(--brand);
  border-radius: var(--radius);
  background: var(--brand);
  color: var(--button-ink);
  font-weight: 800;
  text-decoration: none;
}

.button:hover,
.button:focus {
  background: var(--brand-dark);
  color: #fff;
  text-decoration: none;
}

.button.secondary {
  background: transparent;
  color: var(--brand-dark);
}

.button.secondary:hover,
.button.secondary:focus {
  background: var(--surface-alt);
  color: var(--brand-dark);
}

.feature-band {
  background: var(--feature-bg);
  color: var(--feature-ink);
}

.feature-band .muted,
.feature-band a {
  color: var(--feature-muted);
}

.muted {
  color: var(--muted);
}

.staff {
  align-items: center;
}

.person {
  display: grid;
  gap: 1rem;
  align-items: center;
}

.person img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 50%;
}

.quote {
  border-left: 4px solid var(--accent);
}

.quote blockquote {
  margin: 0;
}

.quote cite {
  display: block;
  margin-top: 1rem;
  color: var(--muted);
  font-style: normal;
  font-weight: 700;
}

.swatch-grid {
  align-items: stretch;
}

.swatch-card {
  display: grid;
  gap: 0.65rem;
}

.color-swatch {
  display: block;
  width: 100%;
  min-height: 86px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.color-swatch.slate {
  background: var(--brand-slate);
}

.color-swatch.orange {
  background: var(--brand-orange);
}

.color-swatch.red {
  background: var(--brand-red);
}

.page-hero {
  padding: 4.5rem 0;
  background: var(--page-hero-bg);
  color: var(--ink);
}

.page-hero p {
  max-width: 720px;
  color: var(--muted);
}

.page-hero .eyebrow {
  color: var(--brand-orange);
}

.content {
  max-width: 820px;
}

.check-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 0.7rem;
}

.check-list li::before {
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: 900;
  content: "✓";
}

.contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  margin-bottom: 0.75rem;
}

.form {
  display: grid;
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.35rem;
}

label {
  font-weight: 800;
}

input,
textarea,
select {
  width: 100%;
  min-height: 46px;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--input-bg);
  color: var(--ink);
  font: inherit;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.form-status {
  min-height: 1.4rem;
  color: var(--brand-dark);
  font-weight: 700;
}

.map-link {
  display: block;
  padding: 1.25rem;
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.site-footer {
  padding: 2rem 0;
  background: var(--footer-bg);
  color: var(--footer-ink);
  margin-top: auto;
}

.footer-inner {
  display: grid;
  gap: 1.25rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

.site-footer a {
  color: var(--footer-link);
}

@media (min-width: 760px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    display: block;
    position: static;
    margin-left: auto;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .header-actions {
    margin-left: 0;
  }

  .site-nav ul {
    display: flex;
    align-items: center;
  }

  .grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-inner {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

}

@media (max-width: 520px) {
  .header-inner {
    gap: 0.5rem;
  }

  .header-actions {
    gap: 0.35rem;
  }

  .brand,
  .brand img {
    width: 118px;
  }

  .brand {
    flex-basis: 118px;
  }

  .nav-toggle {
    width: 40px;
    height: 40px;
  }

  .scheme-switch {
    padding: 0.15rem;
  }

  .scheme-switch button {
    min-width: 28px;
    min-height: 30px;
    padding-inline: 0.25rem;
  }

  .scheme-full {
    display: none;
  }

  .scheme-short {
    display: inline;
  }

  .hero-content {
    min-height: 500px;
  }

  .button {
    width: 100%;
  }
}
