:root {
  --bg: #0b0c10;
  --panel: #15161a;
  --panel2: #1c1e24;
  --text: #f4f4f4;
  --muted: rgba(244,244,244,0.65);
  --accent: #ff4d2e;
  --content-width: 1500px;
}

/* =========================
   RESET
========================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Inter, sans-serif;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  animation: pageLoad 0.6s ease;
}

/* =========================
   NAV
========================= */

#nav {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 20px 40px;
  background: rgba(11,12,16,0.6);
  backdrop-filter: blur(10px);
  z-index: 1000;
}

.logo {
  font-family: Oswald;
  letter-spacing: 2px;
  font-weight: 600;
}

nav a {
  margin-left: 20px;
  color: var(--text);
  text-decoration: none;
  opacity: 0.7;
  transition: 0.2s;
}

nav a:hover {
  color: var(--accent);
  opacity: 1;
}

/* =========================
   HERO
========================= */

.hero {
  height: 100vh;
  background: url("../hero/build_hero.png") center/cover no-repeat;
  display: flex;
  align-items: center;
  position: relative;
}



.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(5,5,5,.70) 0%,
      rgba(5,5,5,.45) 32%,
      rgba(5,5,5,.18) 62%,
      rgba(5,5,5,.55) 100%
    ),
    radial-gradient(
      circle at 22% 50%,
      rgba(0,0,0,.02),
      rgba(0,0,0,.45) 100%
    );
}

.hero-content {
  position: absolute;
  left: 8%;
  top: 50%;
  transform: translateY(-50%);
  max-width: 620px;
  text-align: left;
  z-index: 2;
}

.hero h1 {
  font-family: Oswald, sans-serif;
  font-size: clamp(64px, 7vw, 118px);
  line-height: 0.88;
  letter-spacing: -1px;
  margin-bottom: 20px;
  text-transform: uppercase;
  animation: fadeUp .8s ease;
}

.hero h2,
.hero-kicker {
  color: var(--accent);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  font-weight: 600;
  margin-bottom: 12px;
  animation: fadeUp .8s ease .15s both;
}

.tagline,
.hero-tagline {
  color: rgba(255,255,255,.72);
  font-size: 1rem;
  letter-spacing: 1px;
  line-height: 1.7;
  margin-bottom: 34px;
  animation: fadeUp .8s ease .3s both;
}

/* =========================
   BUTTONS
========================= */

.hero-buttons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  animation: fadeUp .8s ease .45s both;
}

.btn {
  display: inline-block;
  min-width: 190px;
  padding: 14px 22px;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--text);
  transition: .25s ease;
}

.btn.primary,
.btn-primary {
  background: var(--accent);
  color: #111;
  border: none;
}

.btn.primary:hover,
.btn-primary:hover {
  background: #ff6d4b;
  transform: translateY(-2px);
}

.btn-secondary,
.hero-buttons .btn:not(.primary):not(.btn-primary) {
  color: white;
  border-bottom: 1px solid rgba(255,255,255,.35);
}

.btn-secondary:hover,
.hero-buttons .btn:not(.primary):not(.btn-primary):hover {
  color: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
}

/* =========================
   SECTIONS
========================= */

.section {
  padding: 100px 60px;
}

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

.section-title {
  font-family: Oswald;
  font-size: 36px;
  margin-bottom: 40px;
  letter-spacing: 1px;
}

/* =========================
   FEATURE STORIES
========================= */

.feature-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin: 0 auto 80px;
  max-width: var(--content-width);
}

.feature-story.reverse {
  direction: rtl;
}

.feature-story.reverse .feature-text {
  direction: ltr;
}

.feature-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,0.06);
  transition: 0.5s;
}

.feature-image img:hover {
  transform: scale(1.02);
}

.feature-text h3 {
  font-family: Oswald;
  font-size: 28px;
  margin-bottom: 15px;
}

.feature-text p {
  color: rgba(244,244,244,0.7);
  line-height: 1.8;
  margin-bottom: 20px;
}

/* =========================
   SERVICES
========================= */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  max-width: var(--content-width);
  margin: 0 auto;
}

.card {
  background: var(--panel2);
  padding: 30px;
  border: 1px solid rgba(255,255,255,0.06);
  transition: 0.2s;
}

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

.cap-gallery-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 0px;
  max-width:var(--content-width);
  margin:0 auto;
}

.cap-gallery-strip img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  cursor: zoom-in;
}

/* =========================
   ABOUT
========================= */

.about-wrap {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 70px;
  align-items: start;
  max-width: 1500px;
  margin: 0 auto;
}

.about-text p {
  margin-bottom: 20px;
  color: rgba(244,244,244,0.75);
  line-height: 1.8;
}

.about-video {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  border: 1px solid rgba(255,255,255,.06);
  background: var(--panel2);
}

.about-video video {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  display: block;
  filter: contrast(1.08) saturate(.85);
}

.about-video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,.05),
    rgba(0,0,0,.35)
  );
  pointer-events: none;
}



/* =========================
   TEAM
========================= */

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(520px, 1fr));
  gap: 30px;
  max-width: var(--content-width);
  margin: 0 auto;
}

.team-card {
  display: flex;
  align-items: stretch;
  background: var(--panel2);
  border: 1px solid rgba(255,255,255,.06);
  overflow: hidden;
  transition: .25s ease;
}

.team-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.team-photo {
  flex: 0 0 220px;
}

.team-photo img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  display: block;
}

.team-info {
  padding: 26px;
  flex: 1;
}

.team-info h3 {
  font-family: Oswald;
  font-size: 26px;
  margin-bottom: 6px;
}

.role {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 12px;
  margin-bottom: 16px;
}

.specialties {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.specialties span {
  padding: 5px 10px;
  border: 1px solid rgba(255,255,255,.10);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 20px;
}

.bio {
  color: var(--muted);
  line-height: 1.65;
  max-width: 620px;
}

.team-group-title {
  max-width: var(--content-width);
  margin: 60px auto 24px;
  font-family: Oswald;
  font-size: 22px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
}

/* =========================
   CONTACT
========================= */

.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr .7fr 1fr;
  gap: 50px;
  max-width: var(--content-width);
  margin: 0 auto;
}

.contact-content h3,
.contact-details h3 {
  font-family: Oswald;
  font-size: 34px;
  margin-bottom: 18px;
}

.contact-content p {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 30px;
  max-width: 500px;
}

.contact-form {
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background: var(--panel2);
  border: 1px solid rgba(255,255,255,.08);
  color: var(--text);
  padding: 15px;
  resize: vertical;
}

.contact-form textarea {
  min-height: 180px;
}

.contact-form button {
  align-self: flex-start;
  padding: 14px 30px;
  background: var(--accent);
  color: #000;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: .25s ease;
}

.contact-form button:hover {
  transform: translateY(-3px);
}

.contact-details {
  padding-top: 10px;
}

.contact-item {
  margin-bottom: 28px;
}

.contact-item h4 {
  color: var(--accent);
  font-family: Oswald;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

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

.contact-map {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.06);
  min-height: 520px;
}

.contact-map iframe {
  width: 100%;
  height: 520px;
  border: 0;
  filter: grayscale(100%) contrast(1.1) brightness(.82);
}

/* =========================
   FOOTER
========================= */

.footer {
  background: #070707;
  padding: 70px 50px 45px;
  border-top: 1px solid rgba(255,255,255,.06);
}

.footer-inner {
  max-width: var(--content-width);
  margin: 0 auto;
}

.footer-heading {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 14px;
  margin-bottom: 22px;
}

.footer-social {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 35px;
}

.footer-social a {
  color: var(--text);
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: .25s ease;
}

.footer-social a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.footer-divider {
  width: 120px;
  height: 2px;
  background: var(--accent);
  margin: 45px 0 30px;
}

.footer-location {
  font-family: Oswald;
  letter-spacing: 2px;
  font-size: 18px;
}

.footer-location span {
  color: var(--accent);
}

.copyright {
  margin-top: 35px;
  font-size: 13px;
  opacity: .45;
}

/* =========================
   BUILD PAGES
========================= */

.story-block {
  padding: 80px 60px;
  max-width: 900px;
  margin: auto;
}

.media-block img {
  width: 100%;
  height: 70vh;
  object-fit: cover;
}

.build-hero-page {
  height: 90vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
}

.crawler-hero {
  background: url("../hero/hero.jpg") center/cover no-repeat;
}


.lemons-hero {
  background: url("../hero/lemonshero.jpg") center/cover no-repeat;
}

.gallery-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 40px;
}

.gallery-strip img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  cursor: zoom-in;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  padding: 80px 60px;
  background: var(--panel);
  gap: 20px;
}

.spec-card {
  position: relative;
  overflow: hidden;
  background: var(--panel2);
  padding: 20px;
  border: 1px solid rgba(255,255,255,0.06);
  transition: 0.2s;
}

.spec-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: var(--accent);
  opacity: 0.6;
}

.spec-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.spec-card h3 {
  font-family: Oswald;
  color: var(--accent);
  margin-bottom: 5px;
  font-size: 14px;
}

.spec-card p {
  font-size: 13px;
  opacity: 0.7;
}

.build-nav {
  display: flex;
  justify-content: space-between;
  padding: 60px;
  align-items: center;
}

.nav-btn {
  padding: 10px 15px;
  border: 1px solid rgba(255,255,255,0.2);
  text-decoration: none;
  color: var(--text);
  transition: 0.2s;
}

.nav-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.nav-btn.disabled {
  opacity: 0.3;
  pointer-events: none;
}

.nav-spacer {
  flex: 1;
}

/* =========================
   LIGHTBOX
========================= */

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.lightbox.active {
  display: flex;
}

.lightbox-img {
  max-width: 90%;
  max-height: 80%;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 40px;
  cursor: pointer;
}

.lightbox-nav {
  position: absolute;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 40px;
}

.lightbox-nav button {
  background: none;
  border: none;
  color: white;
  font-size: 40px;
  cursor: pointer;
  opacity: 0.5;
  transition: 0.2s;
}

.lightbox-nav button:hover {
  opacity: 1;
}

/* =========================
   SECTION LINE ART
========================= */

.section-lineart {
  position: relative;
  overflow: hidden;
}

.section-lineart::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 4%;
  width: 650px;
  height: 430px;
  transform: translateY(-50%);
  background-image: url("../images/linework/welder-line.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  opacity: 0.06;
  z-index: 0;
  pointer-events: none;
}

.section-lineart > * {
  position: relative;
  z-index: 1;
}

/* =========================
   REVEAL / TRANSITIONS
========================= */

.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

body.fade-out {
  opacity: 0;
  transform: scale(0.99);
  transition: 0.35s ease;
}

@keyframes pageLoad {
  from {
    opacity: 0;
    transform: scale(1.01);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1000px) {
  .feature-story,
  .feature-story.reverse,
  .about-wrap,
  .contact-layout {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .contact-map {
    min-height: 320px;
  }

  .contact-map iframe {
    height: 320px;
  }
}

@media (max-width: 900px) {
  .team-grid {
    grid-template-columns: 1fr;
  }

  .team-photo {
    flex: 0 0 240px;
  }
}

@media (max-width: 768px) {
  #nav {
    padding: 18px 24px;
  }

  nav a {
    margin-left: 12px;
    font-size: 12px;
  }

  .section {
    padding: 80px 28px;
  }

  .hero-content {
    left: 28px;
    right: 28px;
    max-width: none;
  }

  .hero h1 {
    font-size: clamp(56px, 15vw, 82px);
  }

  .hero h2,
  .hero-kicker {
    letter-spacing: 2px;
    font-size: .85rem;
  }

  .tagline,
  .hero-tagline {
    font-size: .9rem;
  }

  .hero-buttons {
    gap: 14px;
  }

  .btn {
    min-width: 165px;
  }

  .about-video,
  .about-video video {
    min-height: 280px;
  }

  .gallery-strip {
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .section-lineart::after {
    width: 420px;
    height: 300px;
    right: 50%;
    top: auto;
    bottom: 20px;
    transform: translateX(50%);
    opacity: 0.045;
  }

  .footer {
    padding: 50px 28px 35px;
  }
}

@media (max-width: 650px) {
  .team-card {
    flex-direction: column;
  }

  .team-photo {
    flex: none;
  }

  .team-photo img {
    height: 320px;
    min-height: unset;
  }

  .team-info {
    padding: 24px;
  }

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

/* =========================
   CAPABILITIES GALLERY
========================= */

.cap-gallery-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: var(--content-width);
  margin: 35px auto 0;
}

.cap-gallery-strip img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  border: 1px solid rgba(255,255,255,0.06);
  filter: contrast(1.05) saturate(.9);
  transition: .25s ease;
}

.cap-gallery-strip img:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

/* tablet */
@media (max-width: 900px) {
  .cap-gallery-strip {
    grid-template-columns: 1fr;
  }

  .cap-gallery-strip img {
    height: 300px;
  }
}

.cap-gallery-strip img {
    cursor: zoom-in;
}

.lightbox-content {
  max-width: 90%;
  max-height: 88%;
  text-align: left;
}

.lightbox-caption {
  margin-top: 18px;
  max-width: 800px;
}

.lightbox-caption h3 {
  font-family: Oswald;
  color: var(--accent);
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.lightbox-caption p {
  color: var(--muted);
  line-height: 1.6;
}

/* =========================
   MOBILE NAV
========================= */

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
}

.menu-toggle span {
  width: 28px;
  height: 2px;
  background: var(--text);
  display: block;
  transition: .25s ease;
}

@media (max-width: 768px) {
  #nav {
    align-items: center;
  }

  .menu-toggle {
    display: flex;
  }

  #mainNav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 320px;
    height: 100vh;
    background: rgba(8,9,11,.96);
    backdrop-filter: blur(14px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 26px;
    padding: 40px;
    transition: .3s ease;
    border-left: 1px solid rgba(255,255,255,.08);
  }

  #mainNav.active {
    right: 0;
  }

  #mainNav a {
    margin-left: 0;
    font-family: Oswald;
    font-size: 24px;
    letter-spacing: 2px;
    opacity: 1;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}

/* =========================
   404 PAGE
========================= */

.error-page {
  min-height: 100vh;
  background: url("../images/404_4.jpg") center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
}

.error-content {
  position: relative;
  z-index: 2;
  margin-left: 8%;
  max-width: 620px;
}

.error-content h1 {
  font-family: Oswald;
  font-size: clamp(70px, 8vw, 130px);
  line-height: .88;
  letter-spacing: -1px;
  margin-bottom: 24px;
}

/* =========================
   THANK YOU PAGE
========================= */

.thanks-page {
  min-height: 100vh;
  background: url("../hero/contacthero.jpg") center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
}

.thanks-content {
  position: relative;
  z-index: 2;
  margin-left: 8%;
  max-width: 650px;
}

.thanks-content h1 {
  font-family: Oswald;
  font-size: clamp(70px, 8vw, 130px);
  line-height: .88;
  letter-spacing: -1px;
  margin-bottom: 24px;
}