:root {
  --black: #0b0c0e;
  --ink: #17191d;
  --muted: #6d737c;
  --line: #d9dde3;
  --paper: #f5f3ef;
  --white: #ffffff;
  --red: #9b171a;
  --red-dark: #741014;
  --steel: #21252b;
  --shadow: 0 20px 60px rgba(11, 12, 14, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 60px);
  color: var(--white);
  background: rgba(11, 12, 14, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  text-decoration: none;
  font-weight: 900;
}

.brand-logo {
  display: block;
  width: clamp(260px, 30vw, 390px);
  max-height: 68px;
  object-fit: contain;
}

nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}

nav a {
  text-decoration: none;
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 720px;
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 18%, rgba(155, 23, 26, 0.32), transparent 28%),
    linear-gradient(135deg, #07080a 0%, #111319 46%, #20252b 100%);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.72;
  background:
    linear-gradient(120deg, transparent 0 54%, rgba(255, 255, 255, 0.08) 54% 55%, transparent 55% 100%),
    repeating-linear-gradient(90deg, transparent 0 72px, rgba(255, 255, 255, 0.055) 72px 74px),
    repeating-linear-gradient(0deg, transparent 0 72px, rgba(255, 255, 255, 0.038) 72px 74px);
  transform: skewY(-6deg) scale(1.12);
  transform-origin: center;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 12, 14, 0.94), rgba(11, 12, 14, 0.76) 48%, rgba(11, 12, 14, 0.32)),
    linear-gradient(0deg, rgba(11, 12, 14, 0.58), rgba(11, 12, 14, 0.06) 38%);
}

.hero-content {
  position: relative;
  max-width: 860px;
  padding: 90px clamp(20px, 5vw, 78px);
  color: var(--white);
}

.eyebrow {
  margin: 0 0 12px;
  color: #d7a0a2;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 800px;
  font-size: clamp(2.8rem, 5.6vw, 6rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  max-width: 940px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.18rem;
}

.hero-copy {
  max-width: 670px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.16rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  color: var(--white);
  background: var(--red);
  box-shadow: var(--shadow);
}

.button.ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.09);
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--black);
  color: var(--white);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stats-band div {
  padding: 24px clamp(18px, 4vw, 46px);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.stats-band strong {
  display: block;
  font-size: 1.16rem;
}

.stats-band span {
  color: rgba(255, 255, 255, 0.66);
}

.section,
.split-section,
.process-section,
.quote-section {
  padding: 82px clamp(18px, 5vw, 78px);
}

.section-heading {
  max-width: 980px;
  margin-bottom: 34px;
}

.section-copy {
  max-width: 760px;
  color: var(--muted);
}

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

.service-grid article,
.capability-grid article {
  min-height: 230px;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.service-grid span {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--red);
  font-weight: 900;
}

.service-grid p,
.split-copy p,
.capability-grid p,
.process-grid p,
.quote-copy p {
  color: var(--muted);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(330px, 1.1fr);
  gap: 48px;
  align-items: center;
  color: var(--white);
  background: var(--steel);
}

.split-section .eyebrow {
  color: #ffb5b8;
}

.split-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.work-list {
  display: grid;
  gap: 12px;
}

.work-list div {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.work-list strong,
.work-list span {
  display: block;
}

.work-list span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.68);
}

.capability-section {
  background: var(--white);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.portfolio-section {
  padding: 82px clamp(18px, 5vw, 78px);
  color: var(--white);
  background: var(--black);
}

.portfolio-section .section-copy {
  color: rgba(255, 255, 255, 0.68);
}

.slideshow {
  position: relative;
  min-height: 620px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  overflow: hidden;
  background: #11141a;
}

.slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.slide.active {
  opacity: 1;
  pointer-events: auto;
}

.slide img {
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: contain;
  background: #0d0f13;
}

.slide-caption {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 42px;
  background:
    linear-gradient(180deg, rgba(155, 23, 26, 0.2), transparent 42%),
    var(--steel);
}

.slide-caption strong {
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1;
}

.slide-caption span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.05rem;
}

.slide-control {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: var(--white);
  background: rgba(11, 12, 14, 0.72);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}

.slide-control.prev {
  left: 18px;
}

.slide-control.next {
  right: 18px;
}

.slide-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.slide-dots button {
  width: 36px;
  height: 5px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
}

.slide-dots button.active {
  background: var(--red);
}

.process-section {
  background: #ebe8e2;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.process-grid div {
  padding: 26px;
  border-left: 6px solid var(--red);
  border-radius: 8px;
  background: var(--white);
}

.process-grid span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 24px;
  border-radius: 50%;
  color: var(--white);
  background: var(--black);
  font-weight: 900;
}

.quote-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(340px, 1fr);
  gap: 48px;
  color: var(--white);
  background: var(--black);
}

.quote-copy {
  max-width: 580px;
}

.quote-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.contact-card {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

.contact-card a {
  padding: 15px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: var(--white);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.06);
}

.quote-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding: 20px;
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
}

label {
  display: grid;
  gap: 7px;
  font-size: 0.92rem;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  padding: 13px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

textarea {
  resize: vertical;
}

.full {
  grid-column: 1 / -1;
}

.hidden {
  display: none;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding: 28px clamp(18px, 5vw, 78px);
  color: rgba(255, 255, 255, 0.72);
  background: #07080a;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .site-header {
    display: grid;
  }

  nav {
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .stats-band,
  .service-grid,
  .capability-grid,
  .slide,
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .split-section,
  .quote-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .brand-logo {
    width: min(100%, 330px);
    max-height: 64px;
  }

  .hero {
    min-height: 660px;
  }

  .hero-shade {
    background: rgba(11, 12, 14, 0.74);
  }

  .stats-band,
  .service-grid,
  .capability-grid,
  .slide,
  .process-grid,
  .quote-form {
    grid-template-columns: 1fr;
  }

  .slideshow {
    min-height: 720px;
  }

  .slide img {
    min-height: 420px;
  }

  .slide-caption {
    align-content: start;
    padding: 28px;
  }
}
