:root {
  --bg: #11110f;
  --section: #1b1a17;
  --section-strong: #24221d;
  --text: #f2eee6;
  --muted: #c9c0b2;
  --muted-2: #9c9283;
  --brass: #b88a3b;
  --olive: #5c6542;
  --rust: #9a4f2e;
  --line: rgba(242, 238, 230, 0.13);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  --header-height: 78px;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 82% 8%, rgba(184, 138, 59, 0.12), transparent 29rem),
    linear-gradient(135deg, rgba(92, 101, 66, 0.12), transparent 34rem),
    var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(184, 138, 59, 0.8);
  outline-offset: 4px;
}

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

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-140%);
  border-radius: 6px;
  background: var(--text);
  color: var(--bg);
  padding: 10px 14px;
  font-weight: 800;
  transition: transform 180ms ease;
}

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

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--header-height);
  border-bottom: 1px solid rgba(242, 238, 230, 0.1);
  background: rgba(17, 17, 15, 0.88);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  gap: 22px;
}

.brand {
  display: flex;
  align-items: center;
  width: clamp(162px, 22vw, 244px);
  min-height: 52px;
}

.brand img {
  width: 100%;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  padding-block: 8px;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--brass);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.site-nav .nav-call {
  border: 1px solid rgba(184, 138, 59, 0.55);
  border-radius: 6px;
  padding: 10px 14px;
  color: var(--text);
  background: rgba(184, 138, 59, 0.12);
}

.site-nav .nav-call::after {
  display: none;
}

.site-nav .nav-call:hover {
  border-color: var(--rust);
  background: var(--rust);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(242, 238, 230, 0.05);
  color: var(--text);
  cursor: pointer;
}

.nav-toggle-line {
  position: absolute;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle-line:nth-child(1) {
  transform: translateY(-7px);
}

.nav-toggle-line:nth-child(3) {
  transform: translateY(7px);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
  transform: rotate(-45deg);
}

/* Hero */
.section-anchor {
  scroll-margin-top: calc(var(--header-height) + 18px);
}

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-height));
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(115deg, rgba(17, 17, 15, 0.82), rgba(17, 17, 15, 0.58)),
    repeating-linear-gradient(135deg, rgba(242, 238, 230, 0.04) 0 1px, transparent 1px 18px),
    radial-gradient(circle at 78% 48%, rgba(184, 138, 59, 0.14), transparent 26rem),
    linear-gradient(140deg, var(--bg), var(--section));
}

.hero::after {
  position: absolute;
  right: -18%;
  bottom: -28%;
  width: 56rem;
  height: 56rem;
  border: 1px solid rgba(184, 138, 59, 0.16);
  border-radius: 50%;
  content: "";
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.7fr);
  align-items: center;
  min-height: calc(100svh - var(--header-height));
  gap: clamp(34px, 6vw, 82px);
  padding-block: clamp(44px, 8vw, 96px);
}

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

.eyebrow {
  color: var(--brass);
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1,
h2,
h3 {
  font-weight: 900;
  line-height: 1.05;
}

h1 {
  max-width: 790px;
  margin-top: 14px;
  font-size: clamp(2rem, 5vw, 3.75rem);
}

.hero-subhead {
  max-width: 660px;
  margin-top: 22px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.32rem);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  padding: 13px 20px;
  font-size: 0.95rem;
  font-weight: 900;
  text-transform: uppercase;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  border: 1px solid var(--brass);
  background: var(--brass);
  color: #15130f;
}

.button-primary:hover {
  border-color: var(--rust);
  background: var(--rust);
  color: var(--text);
}

.button-secondary {
  border: 1px solid rgba(242, 238, 230, 0.22);
  background: rgba(242, 238, 230, 0.06);
  color: var(--text);
}

.button-secondary:hover {
  border-color: var(--olive);
  background: rgba(92, 101, 66, 0.5);
}

.hero-panel {
  position: relative;
  display: grid;
  align-content: end;
  min-height: 480px;
  overflow: hidden;
  border: 1px solid rgba(242, 238, 230, 0.13);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(17, 17, 15, 0.2), rgba(17, 17, 15, 0.72)),
    linear-gradient(135deg, rgba(92, 101, 66, 0.2), rgba(184, 138, 59, 0.08)),
    var(--section);
  box-shadow: var(--shadow);
  padding: clamp(24px, 4vw, 36px);
}

.hero-panel::before {
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(184, 138, 59, 0.2);
  content: "";
}

.hero-panel::after {
  position: absolute;
  top: 10%;
  right: -24%;
  width: 24rem;
  height: 24rem;
  border: 1px solid rgba(242, 238, 230, 0.12);
  border-radius: 50%;
  content: "";
}

.panel-mark {
  position: relative;
  z-index: 1;
  color: rgba(242, 238, 230, 0.12);
  font-size: clamp(3.2rem, 8vw, 7rem);
  font-weight: 1000;
  line-height: 0.85;
}

.panel-rule {
  position: relative;
  z-index: 1;
  width: 76px;
  height: 5px;
  margin-block: 24px;
  background: var(--brass);
}

.job-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--text);
  font-size: 1.04rem;
  font-weight: 800;
}

.job-list li {
  display: grid;
  grid-template-columns: 12px 1fr;
  align-items: center;
  gap: 12px;
}

.job-list li::before {
  width: 10px;
  height: 10px;
  background: var(--olive);
  content: "";
}

/* Trust Bar */
.trust-strip {
  border-block: 1px solid var(--line);
  background: #151411;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
}

.trust-grid p {
  min-height: 92px;
  display: flex;
  align-items: center;
  border-left: 1px solid var(--line);
  padding: 18px 22px;
  color: var(--text);
  font-weight: 850;
}

.trust-grid p:last-child {
  border-right: 1px solid var(--line);
}

.trust-grid p::before {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  margin-right: 12px;
  background: var(--brass);
  content: "";
}

/* Sections */
.section {
  padding-block: clamp(70px, 10vw, 118px);
}

.section-alt {
  border-block: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(92, 101, 66, 0.08), transparent 24rem),
    var(--section);
}

.section-heading {
  max-width: 760px;
}

.section-heading h2 {
  margin-top: 12px;
  font-size: clamp(2rem, 5vw, 3.75rem);
}

.section-heading p:not(.eyebrow) {
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.08rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 42px;
}

.service-card {
  min-height: 132px;
  display: flex;
  align-items: flex-end;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(242, 238, 230, 0.045), rgba(184, 138, 59, 0.05)),
    var(--section);
  padding: 18px;
  transition: border-color 180ms ease, transform 180ms ease, background-color 180ms ease;
}

.service-card:hover {
  transform: translateY(-3px);
  border-color: rgba(184, 138, 59, 0.55);
  background-color: var(--section-strong);
}

.service-card h3 {
  font-size: 1.03rem;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.72fr);
  gap: clamp(32px, 6vw, 84px);
}

.copy-stack {
  display: grid;
  gap: 18px;
  align-content: start;
  color: var(--muted);
  font-size: 1.08rem;
}

.copy-stack p {
  border-left: 3px solid var(--olive);
  padding-left: 18px;
}

.service-area-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.76fr);
  align-items: start;
  gap: clamp(30px, 6vw, 72px);
}

.area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.area-list span {
  border: 1px solid rgba(242, 238, 230, 0.13);
  border-radius: 6px;
  background: rgba(242, 238, 230, 0.05);
  padding: 10px 13px;
  color: var(--text);
  font-weight: 850;
}

.area-list span:first-child {
  border-color: rgba(184, 138, 59, 0.55);
  background: rgba(184, 138, 59, 0.13);
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 42px;
}

.reason-card {
  min-height: 188px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(17, 17, 15, 0.48);
  padding: 20px;
}

.reason-card h3 {
  font-size: 1.08rem;
}

.reason-card h3::before {
  display: block;
  width: 36px;
  height: 4px;
  margin-bottom: 18px;
  background: var(--rust);
  content: "";
}

.reason-card p {
  margin-top: 12px;
  color: var(--muted);
}

.final-cta {
  padding-block: clamp(70px, 9vw, 106px);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(184, 138, 59, 0.14), transparent 52%),
    linear-gradient(135deg, var(--section), var(--bg));
}

.cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
}

.cta-inner h2 {
  max-width: 820px;
  margin-top: 12px;
  font-size: clamp(2rem, 5vw, 3.65rem);
}

/* Footer */
.site-footer {
  background: #0d0d0b;
  padding-block: 42px 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(300px, 1fr);
  gap: 28px;
  align-items: start;
}

.footer-brand {
  display: block;
  width: 220px;
  margin-left: -10px;
}

.footer-grid p {
  color: var(--muted);
}

.footer-contact {
  display: grid;
  gap: 8px;
}

.footer-contact strong {
  color: var(--text);
}

.footer-contact a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: rgba(184, 138, 59, 0.65);
  text-underline-offset: 3px;
}

.footer-bottom {
  margin-top: 34px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  color: var(--muted-2);
  font-size: 0.92rem;
}

@media (max-width: 1040px) {
  .site-nav {
    gap: 14px;
    font-size: 0.84rem;
  }

  .hero-grid,
  .split-layout,
  .service-area-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    align-items: start;
  }

  .hero-panel {
    min-height: 320px;
  }

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

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

  .cta-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  :root {
    --header-height: 70px;
  }

  .container {
    width: min(100% - 28px, 1160px);
  }

  .brand {
    width: 172px;
  }

  .nav-toggle {
    position: relative;
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: grid;
    align-items: stretch;
    gap: 0;
    max-height: calc(100svh - var(--header-height));
    overflow-y: auto;
    border-bottom: 1px solid var(--line);
    background: rgba(17, 17, 15, 0.98);
    padding: 14px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.44);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transform: translateY(0);
  }

  .site-nav a {
    border-bottom: 1px solid var(--line);
    padding: 16px 8px;
  }

  .site-nav a::after {
    display: none;
  }

  .site-nav .nav-call {
    margin-top: 14px;
    text-align: center;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    min-height: auto;
    padding-block: 42px 54px;
  }

  .button {
    width: 100%;
  }

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

  .trust-grid p:nth-child(2) {
    border-right: 1px solid var(--line);
  }

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

@media (max-width: 580px) {
  body {
    font-size: 15px;
  }

  h1 {
    font-size: clamp(2rem, 5vw, 3.75rem);
  }

  .hero-subhead,
  .copy-stack,
  .section-heading p:not(.eyebrow) {
    font-size: 1rem;
  }

  .hero-panel {
    min-height: 270px;
    padding: 22px;
  }

  .hero-panel::before {
    inset: 16px;
  }

  .trust-grid,
  .services-grid,
  .reasons-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid p,
  .trust-grid p:nth-child(2),
  .trust-grid p:last-child {
    min-height: 76px;
    border-inline: 1px solid var(--line);
  }

  .service-card {
    min-height: 108px;
  }

  .reason-card {
    min-height: auto;
  }

  .area-list {
    display: grid;
    grid-template-columns: 1fr;
  }

  .area-list span {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
