:root {
  --bg-main: #f3f3f6;
  --bg-alt: #e4e4ea;
  --text-main: #050534;
  --text-muted: #4f4f68;
  --brand: #050534;
  --brand-strong: #050534;
  --accent: #7c7c91;
  --surface: #ffffff;
  --border: #bebec5;
  --focus: #050534;
  --shadow: 0 12px 30px rgba(5, 5, 52, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Outfit", "Segoe UI", sans-serif;
  line-height: 1.6;
  color: var(--text-main);
  background:
    radial-gradient(circle at 15% 5%, #d9d9e0 0%, transparent 35%),
    radial-gradient(circle at 85% 20%, #cbcad3 0%, transparent 30%),
    var(--bg-main);
}

a {
  color: var(--brand-strong);
  text-decoration-thickness: 0.09em;
  text-underline-offset: 0.14em;
}

a:hover {
  color: var(--brand);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: 0.5rem;
  top: 0.5rem;
  padding: 0.6rem 0.9rem;
  border-radius: 0.5rem;
  background: #fff;
  color: #000;
  transform: translateY(-180%);
  transition: transform 0.2s ease;
  z-index: 100;
}

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

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #000033;
  border-bottom: 1px solid #7c7c91;
  backdrop-filter: blur(7px);
}

.header-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: #ffffff;
}

.brand-logo {
  display: block;
  width: clamp(210px, 28vw, 320px);
  height: auto;
}

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

.site-nav a {
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  color: #ffffff;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: #7c7c91;
}

.site-nav a[aria-current="location"] {
  outline: 2px solid #bebec5;
  outline-offset: 1px;
  text-decoration: underline;
}

main section[id] {
  scroll-margin-top: 6rem;
}

.hero {
  background: #050534;
  padding: 4.5rem 0 3.25rem;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 1.3rem;
  align-items: start;
}

.eyebrow {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.6rem;
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin-top: 0;
}

h1 {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 0.85rem;
}

h2 {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: clamp(1.6rem, 2.6vw, 2.25rem);
  margin-bottom: 0.85rem;
}

.hero-copy p {
  color: #e4e4ea;
  max-width: 65ch;
}

.hero-copy h1 {
  color: #ffffff;
}

.hero .eyebrow {
  color: #bebec5;
}

.section-alt .eyebrow {
  color: #050534;
}

.hero-denver {
  margin: 1rem 0 0;
  max-width: 560px;
}

.hero-denver img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.85rem;
  border: 1px solid #7c7c91;
  box-shadow: 0 8px 20px rgba(0, 0, 51, 0.35);
}

.hero-denver figcaption {
  margin-top: 0.35rem;
  color: #bebec5;
  font-size: 0.95rem;
  font-weight: 600;
}

.hero-actions {
  margin-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.button {
  display: inline-block;
  border: 2px solid transparent;
  padding: 0.72rem 1rem;
  border-radius: 0.6rem;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}

.button-primary {
  background: var(--brand);
  color: #fff;
}

.button-primary:hover {
  background: var(--brand-strong);
  color: #fff;
}

.button-secondary {
  border-color: #bebec5;
  color: #ffffff;
  background: transparent;
}

.button-secondary:hover {
  background: #7c7c91;
}

.hero-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.15rem;
  box-shadow: var(--shadow);
}

.hero-panel ul,
.callout ul {
  margin: 0;
  padding-left: 1.25rem;
}

.section {
  padding: 3.75rem 0;
}

.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.25rem;
  align-items: start;
}

.callout {
  background: #f8f8fb;
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: var(--shadow);
}

.process-list {
  list-style: none;
  margin: 1.1rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 1rem;
}

.process-list li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0.85rem;
  padding: 1rem;
  box-shadow: var(--shadow);
}

.services-grid {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 1rem;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0.85rem;
  padding: 1rem;
  box-shadow: var(--shadow);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.35rem;
  align-items: start;
}

.contact-block + .contact-block {
  margin-top: 1rem;
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: var(--shadow);
}

.contact-form h3 {
  margin-bottom: 0.9rem;
}

.contact-form label,
.contact-form legend {
  display: block;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  border: 1px solid #7c7c91;
  border-radius: 0.45rem;
  padding: 0.58rem 0.7rem;
  font: inherit;
  color: var(--text-main);
  background: #fff;
  margin-bottom: 0.85rem;
}

.contact-form fieldset {
  border: 1px solid var(--border);
  border-radius: 0.65rem;
  margin: 0 0 0.9rem;
  padding: 0.75rem;
}

.radio-group {
  display: grid;
  gap: 0.5rem;
}

.radio-group label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  font-weight: 500;
}

.radio-group input {
  width: auto;
  margin: 0;
}

.form-help,
.form-status {
  margin: 0.4rem 0 0.9rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.field-error {
  margin: -0.5rem 0 0.75rem;
  color: #050534;
  font-size: 0.95rem;
  font-weight: 600;
  min-height: 1.2em;
}

input[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: #050534;
  box-shadow: 0 0 0 2px rgba(5, 5, 52, 0.2);
}

.form-status {
  font-weight: 600;
  min-height: 1.2em;
}

.site-footer {
  padding: 1.4rem 0 2rem;
  background: #000033;
  color: #f2f2f5;
}

.footer-layout {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

.site-footer a {
  color: #d6d6de;
}

.site-footer a:hover {
  color: #ffffff;
}

@media (max-width: 900px) {
  .hero-layout,
  .section-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .process-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .header-layout {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand-logo {
    width: min(290px, 78vw);
  }

  .site-nav ul {
    gap: 0.2rem;
  }

  .hero {
    padding-top: 3rem;
  }

  .services-grid,
  .process-list {
    grid-template-columns: 1fr;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
