:root {
  --bg: #030303;
  --panel: #111111;
  --panel-2: #191919;
  --text: #f6f7f8;
  --muted: #c6c6c6;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #f00008;
  --accent-2: #ffe600;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, Arial, sans-serif;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px clamp(18px, 4vw, 48px);
  background: rgba(3, 3, 3, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 230px;
  min-width: 180px;
}

.brand img {
  display: block;
  width: 100%;
  height: 54px;
  object-fit: contain;
  object-position: left center;
}

.nav {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.nav a:hover {
  color: #fff;
}

.header-action,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--line);
  font-weight: 700;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.header-action,
.button.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 230, 0, 0.32);
}

.header-action:hover,
.button:hover {
  transform: translateY(-1px);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.54), rgba(0, 0, 0, 0.22)),
    linear-gradient(0deg, var(--bg), transparent 42%);
}

.hero-content {
  position: relative;
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 150px 0 96px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 850px;
  margin-bottom: 18px;
  font-size: clamp(38px, 6.8vw, 88px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 5vw, 58px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
  letter-spacing: 0;
}

p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-content p:not(.eyebrow) {
  max-width: 650px;
  font-size: 19px;
}

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

.section,
.split-section,
.contact {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 86px 0;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 36px;
}

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

.service-grid article,
.process-grid article {
  min-height: 240px;
  padding: 28px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 3px solid rgba(240, 0, 8, 0.88);
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 0.86fr;
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.work-list div {
  display: grid;
  gap: 6px;
  padding: 22px;
  background: var(--panel-2);
  border-left: 4px solid var(--accent);
}

.work-list span {
  color: var(--muted);
}

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

.contact {
  display: grid;
  grid-template-columns: 1fr 0.75fr;
  gap: clamp(28px, 6vw, 70px);
  align-items: center;
  background:
    linear-gradient(135deg, rgba(240, 0, 8, 0.12), transparent 42%),
    #090909;
  border: 1px solid var(--line);
  padding: clamp(28px, 6vw, 58px);
  margin-bottom: 72px;
}

.contact-panel {
  display: grid;
  gap: 10px;
}

.contact-panel a {
  padding: 16px 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  font-weight: 800;
}

.contact-panel a:hover {
  border-color: var(--accent-2);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(18px, 4vw, 48px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
  }

  .nav {
    display: none;
  }

  .service-grid,
  .process-grid,
  .split-section,
  .contact {
    grid-template-columns: 1fr;
  }

  .service-grid article,
  .process-grid article {
    min-height: auto;
  }

}

@media (max-width: 560px) {
  .site-header {
    padding: 12px 14px;
  }

  .brand {
    width: 176px;
    min-width: 150px;
  }

  .brand img {
    height: 42px;
  }

  .header-action {
    min-height: 38px;
    padding: 0 12px;
    font-size: 13px;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-content {
    width: calc(100% - 28px);
    padding-bottom: 64px;
  }

  .button {
    width: 100%;
  }

  .footer {
    flex-direction: column;
  }
}
