/* ==========================================================
   Razorback Industries Inc. Static Website
   Main Stylesheet
   ========================================================== */

/* ------------------------------
   Global Variables
------------------------------ */

:root {
  --black: #121212;
  --black-2: #0b0b0b;
  --charcoal: #2a2a2a;
  --steel: #3a3a3a;
  --sand: #c8b59f;
  --copper: #9c6b3c;
  --text: #d6d6d6;
  --muted: #afafaf;
  --white: #ffffff;
}

/* ------------------------------
   Base Reset
------------------------------ */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--black);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.65;
}

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

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

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

/* ------------------------------
   Header / Navigation
------------------------------ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;

  z-index: 100;

  background: rgba(18, 18, 18, 0.92);
  border-bottom: 1px solid rgba(200, 181, 159, 0.18);
  backdrop-filter: blur(8px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;

  min-height: 82px;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;

  color: var(--white);
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.logo-mark {
  display: grid;
  place-items: center;

  width: 46px;
  height: 34px;

  border: 2px solid var(--sand);
  color: var(--sand);
  font-size: 14px;
  font-weight: 900;

  flex: 0 0 auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;

  font-size: 14px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--sand);
}

.mobile-toggle {
  display: none;
}

/* ------------------------------
   Buttons
------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 15px 28px;

  border: 1px solid var(--sand);
  cursor: pointer;

  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;

  transition: 0.22s ease;
}

.btn-primary {
  background: var(--sand);
  color: #111111;
}

.btn-primary:hover {
  background: var(--white);
  border-color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--sand);
}

.btn-outline:hover {
  background: var(--sand);
  color: #111111;
}

/* ------------------------------
   Typography
------------------------------ */

.eyebrow {
  margin-bottom: 20px;

  color: var(--sand);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2.2px;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4 {
  color: var(--white);
  letter-spacing: 0.4px;
  line-height: 1.05;
  text-transform: uppercase;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(42px, 7vw, 92px);
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(34px, 4vw, 58px);
}

h3 {
  margin-bottom: 14px;
  font-size: 23px;
}

h4 {
  margin-bottom: 10px;
  font-size: 18px;
}

.body-copy {
  max-width: 690px;
  color: #d1d1d1;
  font-size: 18px;
}

.body-copy p + p {
  margin-top: 18px;
}

/* ------------------------------
   Hero Sections
------------------------------ */

.home-hero {
  position: relative;
  display: flex;
  align-items: center;

  min-height: 100vh;
  overflow: hidden;

  background:
    linear-gradient(
      90deg,
      rgba(18, 18, 18, 0.96) 0%,
      rgba(18, 18, 18, 0.84) 45%,
      rgba(18, 18, 18, 0.58) 100%
    ),
    radial-gradient(
      circle at 72% 42%,
      rgba(200, 181, 159, 0.17),
      transparent 34%
    ),
    linear-gradient(135deg, #171717 0%, #242424 55%, #111111 100%);
}

.home-hero::after,
.page-hero::after {
  content: "";

  position: absolute;
  inset: 0;

  background-image:
    linear-gradient(rgba(255, 255, 255, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px);
  background-size: 80px 80px;

  opacity: 0.23;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;

  max-width: 820px;
  padding-top: 82px;
}

.hero-content p {
  max-width: 700px;
  margin-bottom: 34px;

  color: #e1e1e1;
  font-size: clamp(17px, 1.7vw, 22px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-panel {
  position: absolute;
  right: 7%;
  bottom: 8%;
  z-index: 3;

  width: 410px;
  padding: 28px;

  background: rgba(42, 42, 42, 0.78);
  border: 1px solid rgba(200, 181, 159, 0.28);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.45);
}

.hero-panel-title {
  margin-bottom: 16px;

  color: var(--sand);
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.page-hero {
  position: relative;
  display: flex;
  align-items: center;

  min-height: 52vh;
  padding-top: 82px;

  background:
    linear-gradient(90deg, rgba(18, 18, 18, 0.96), rgba(18, 18, 18, 0.68)),
    linear-gradient(135deg, #171717, #252525 55%, #111111);
}

.page-hero-content {
  position: relative;
  z-index: 2;

  max-width: 860px;
}

.page-hero p {
  max-width: 760px;

  color: #dedede;
  font-size: 20px;
}

/* ------------------------------
   Lists
------------------------------ */

.check-list {
  display: grid;
  gap: 10px;

  list-style: none;
}

.check-list li::before {
  content: "▰";

  margin-right: 10px;

  color: var(--sand);
  font-size: 10px;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 20px;

  margin-top: 22px;

  list-style: none;
}

.feature-list li::before {
  content: "/";

  margin-right: 8px;

  color: var(--sand);
  font-weight: 900;
}

.split-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;

  margin-top: 24px;

  list-style: none;
}

.split-list li {
  padding: 18px;

  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(200, 181, 159, 0.14);
}

/* ------------------------------
   Layout Sections
------------------------------ */

section {
  padding: 105px 0;
}

.dark-section {
  background: var(--black-2);
}

.charcoal-section {
  background: var(--charcoal);
}

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 70px;
}

.section-header {
  max-width: 850px;
  margin-bottom: 46px;
}

.section-header.center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

/* ------------------------------
   Capability Bar
------------------------------ */

.capability-bar {
  background: var(--charcoal);
  border-top: 1px solid rgba(200, 181, 159, 0.16);
  border-bottom: 1px solid rgba(200, 181, 159, 0.16);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}

.capability-item {
  padding: 24px 14px;

  border-right: 1px solid rgba(200, 181, 159, 0.10);
  color: var(--white);

  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  text-align: center;
  text-transform: uppercase;
}

/* ------------------------------
   Image Placeholders
------------------------------ */

.image-placeholder {
  display: grid;
  place-items: center;

  min-height: 430px;
  padding: 30px;

  background:
    linear-gradient(135deg, rgba(200, 181, 159, 0.17), transparent 40%),
    repeating-linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.04) 0 2px,
      transparent 2px 14px
    ),
    #202020;
  border: 1px solid rgba(200, 181, 159, 0.24);

  color: var(--sand);
  font-weight: 800;
  letter-spacing: 1px;
  text-align: center;
  text-transform: uppercase;
}

/* ------------------------------
   Cards
------------------------------ */

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

.card {
  min-height: 250px;
  padding: 38px 30px;

  background: var(--charcoal);
  border: 1px solid rgba(200, 181, 159, 0.18);

  transition: 0.22s ease;
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--sand);
}

.icon-box {
  display: grid;
  place-items: center;

  width: 46px;
  height: 46px;
  margin-bottom: 24px;

  border: 1px solid var(--sand);
  color: var(--sand);

  font-size: 13px;
  font-weight: 900;
}

/* ------------------------------
   System Rows
------------------------------ */

.systems-grid {
  display: grid;
  gap: 28px;
}

.system-row {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;

  background: var(--charcoal);
  border: 1px solid rgba(200, 181, 159, 0.16);
}

.system-row.reverse {
  grid-template-columns: 1.1fr 0.9fr;
}

.system-row.reverse .system-image {
  order: 2;
}

.system-image {
  display: grid;
  place-items: center;

  min-height: 280px;
  padding: 20px;

  background:
    linear-gradient(135deg, rgba(200, 181, 159, 0.18), transparent 38%),
    #1d1d1d;

  color: var(--sand);
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.system-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;

  padding: 44px;
}

/* ------------------------------
   Why Section
------------------------------ */

.why-section {
  background: #080808;
  text-align: center;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;

  margin-top: 46px;
}

.why-card {
  padding: 30px 24px;

  background: rgba(255, 255, 255, 0.03);
  border-top: 2px solid var(--sand);
}

/* ------------------------------
   CTA Section
------------------------------ */

.cta-section {
  display: grid;
  place-items: center;

  min-height: 430px;

  background:
    linear-gradient(rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.78)),
    linear-gradient(135deg, #1e1e1e, #090909);

  text-align: center;
}

.cta-section p {
  max-width: 760px;
  margin: 0 auto 30px;

  font-size: 18px;
}

/* ------------------------------
   Contact Page
------------------------------ */

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: start;
  gap: 50px;
}

.contact-box {
  padding: 34px;

  background: var(--charcoal);
  border: 1px solid rgba(200, 181, 159, 0.18);
}

.contact-box ul {
  display: grid;
  gap: 12px;

  margin-top: 20px;

  list-style: none;
}

.form {
  display: grid;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

label {
  display: block;

  margin-bottom: 7px;

  color: var(--sand);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  padding: 14px 15px;

  background: #181818;
  border: 1px solid rgba(200, 181, 159, 0.22);
  color: var(--white);

  font: inherit;
}

textarea {
  min-height: 160px;
  resize: vertical;
}

.notice {
  margin-top: 18px;

  color: var(--muted);
  font-size: 14px;
}

/* ------------------------------
   Footer
------------------------------ */

.site-footer {
  padding: 60px 0;

  background: var(--black);
  border-top: 1px solid rgba(200, 181, 159, 0.16);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr;
  gap: 40px;
}

.site-footer h4 {
  margin-bottom: 16px;
}

.site-footer ul {
  display: grid;
  gap: 8px;

  list-style: none;
}

.site-footer p,
.site-footer li {
  color: #bdbdbd;
}

.site-footer a:hover {
  color: var(--sand);
}

/* ------------------------------
   Responsive Styles
------------------------------ */

@media (max-width: 1100px) {
  .hero-panel {
    display: none;
  }

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

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

  .two-column,
  .system-row,
  .system-row.reverse,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .system-row.reverse .system-image {
    order: 0;
  }
}

@media (max-width: 760px) {
  .nav {
    min-height: 72px;
  }

  .brand span:last-child {
    font-size: 13px;
  }

  .nav-links {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;

    display: none;
    flex-direction: column;
    align-items: flex-start;

    padding: 24px 4%;

    background: rgba(18, 18, 18, 0.98);
    border-bottom: 1px solid rgba(200, 181, 159, 0.18);
  }

  .nav-links.open {
    display: flex;
  }

  .mobile-toggle {
    display: inline-flex;

    padding: 10px 12px;

    background: transparent;
    border: 1px solid rgba(200, 181, 159, 0.45);
    color: var(--sand);

    font-weight: 800;
    text-transform: uppercase;
  }

  .nav > .btn {
    display: none;
  }

  section {
    padding: 72px 0;
  }

  .hero-content {
    padding-top: 72px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .cards-grid,
  .capability-grid,
  .why-grid,
  .split-list,
  .feature-list,
  .form-row {
    grid-template-columns: 1fr;
  }

  .image-placeholder {
    min-height: 300px;
  }

  .system-copy {
    padding: 32px;
  }
}
