:root {
  --bg: #080b15;
  --bg-soft: #11182a;
  --surface: #ffffff;
  --surface-soft: #f4f6f8;
  --text: #111827;
  --muted: #5b6472;
  --white: #ffffff;
  --line: rgba(255, 255, 255, 0.16);
  --dark-line: rgba(17, 24, 39, 0.12);
  --accent: #f0a020;
  --accent-dark: #c77c0d;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--text);
  font-family: Montserrat, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.modal-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

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

.skip-link,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  z-index: 100;
  width: auto;
  height: auto;
  clip: auto;
  padding: 10px 14px;
  background: var(--white);
  color: var(--bg);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  background: rgba(8, 11, 21, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.nav {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand img {
  width: 104px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.01em;
}

.nav-menu a {
  text-decoration: none;
  opacity: 0.86;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  opacity: 1;
}

.nav-toggle {
  display: none;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--white);
}

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

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

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

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  padding: 106px 0 72px;
  color: var(--white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 11, 21, 0.96) 0%, rgba(8, 11, 21, 0.72) 48%, rgba(8, 11, 21, 0.48) 100%),
    url("../assets/homepage-digital-wolf-01.webp") center / cover no-repeat;
}

.hero-content {
  position: relative;
  max-width: 760px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-family: Montserrat, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: clamp(3.35rem, 9vw, 8rem);
  font-weight: 850;
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 20px;
  font-family: Montserrat, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: clamp(2.15rem, 5vw, 4.75rem);
  font-weight: 820;
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.35rem;
  font-weight: 780;
  line-height: 1.12;
}

.hero-lede {
  max-width: 660px;
  margin-bottom: 14px;
  font-size: clamp(1.24rem, 2.4vw, 1.75rem);
  font-weight: 520;
  line-height: 1.28;
}

.hero-subline {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
  font-weight: 520;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 0.94rem;
  font-weight: 780;
  text-decoration: none;
  cursor: pointer;
}

.button-primary {
  background: var(--accent);
  color: var(--bg);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #ffb13a;
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.42);
  color: var(--white);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.1);
}

.section {
  padding: 92px 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
  gap: 56px;
  align-items: center;
}

.split p,
.section-heading p,
.narrow p {
  color: #4a5362;
  font-size: 1.08rem;
  font-weight: 450;
}

.image-panel {
  background: var(--bg);
  overflow: hidden;
}

.image-panel img {
  aspect-ratio: 4 / 3;
  width: 100%;
  object-fit: cover;
}

.dark-section {
  background: var(--bg);
  color: var(--white);
}

.dark-section p:not(.section-kicker) {
  color: rgba(255, 255, 255, 0.76);
}

.narrow {
  max-width: 850px;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 40px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  padding: 28px;
  border: 1px solid var(--dark-line);
  background: var(--surface);
}

.service-card p,
.support-grid p {
  color: var(--muted);
}

.service-cta {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--accent-dark);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.service-cta:hover,
.service-cta:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.service-card ul {
  margin: 18px 0 0;
  padding-left: 20px;
}

.service-card li + li {
  margin-top: 6px;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 42px;
  padding-top: 42px;
  border-top: 1px solid var(--dark-line);
}

.image-band {
  padding: 0;
  background: var(--bg);
}

.image-band img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}

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

.contact-note {
  font-size: 0.98rem !important;
}

.contact-form {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--dark-line);
}

.form-field {
  margin-bottom: 18px;
}

.form-field label {
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid #cdd3dc;
  border-radius: 4px;
  padding: 12px 13px;
  background: var(--white);
  color: var(--text);
}

.form-field input:focus,
.form-field textarea:focus,
.footer-links button:focus-visible,
.modal-close:focus-visible,
.button:focus-visible,
.nav-toggle:focus-visible {
  outline: 3px solid rgba(240, 160, 32, 0.5);
  outline-offset: 3px;
}

.honeypot {
  position: absolute;
  left: -9999px;
}

.form-status {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.form-status.success {
  color: #136f3b;
}

.form-status.error {
  color: #a12828;
}

.site-footer {
  padding: 36px 0;
  background: var(--bg);
  color: rgba(255, 255, 255, 0.76);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.footer-brand {
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
}

.site-footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
}

.footer-links button {
  border: 0;
  padding: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(8, 11, 21, 0.78);
}

.modal[hidden] {
  display: none;
}

.modal-panel {
  position: relative;
  width: min(100%, 680px);
  max-height: min(80vh, 640px);
  overflow: auto;
  padding: 34px;
  background: var(--white);
  color: var(--text);
}

.modal-panel h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--dark-line);
  background: var(--white);
  color: var(--text);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-menu {
    position: absolute;
    top: 44px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 10px 16px 18px;
    background: rgba(8, 11, 21, 0.98);
    border-bottom: 1px solid var(--line);
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-menu a {
    width: 100%;
    padding: 14px 0;
  }

  .hero {
    min-height: 86vh;
  }

  .split,
  .service-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 24px, var(--max));
  }

  .brand img {
    width: 100px;
  }

  .hero {
    padding-top: 96px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .section {
    padding: 68px 0;
  }

  .service-card,
  .contact-form,
  .modal-panel {
    padding: 22px;
  }
}
