:root {
  --ink: #111316;
  --muted: #666d75;
  --steel: #d8dde2;
  --line: #dfe4e8;
  --ember: #ffc400;
  --arc: #4db7d8;
  --paper: #f7f6f1;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px clamp(18px, 4vw, 54px);
  color: var(--white);
  background: linear-gradient(180deg, rgba(10, 12, 15, 0.76), rgba(10, 12, 15, 0));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  object-fit: cover;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.98rem;
}

.brand small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.76rem;
}

.nav-links {
  display: flex;
  gap: 28px;
  font-size: 0.9rem;
  font-weight: 700;
}

.header-phone {
  border-bottom: 2px solid var(--ember);
  font-weight: 800;
}

.hero {
  position: relative;
  display: grid;
  min-height: 92vh;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -2;
  background:
    linear-gradient(135deg, rgba(16, 18, 20, 0.62), rgba(20, 23, 27, 0.18)),
    url("assets/hero-welding.jpg") center 42% / cover,
    radial-gradient(circle at 72% 40%, rgba(77, 183, 216, 0.78), transparent 20%),
    linear-gradient(135deg, #151719, #31373c 52%, #121416);
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.46) 42%, rgba(0, 0, 0, 0.08) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.08) 45%);
}

.hero-content {
  align-self: end;
  width: min(780px, calc(100% - 36px));
  padding: 150px 0 clamp(34px, 7vw, 72px);
  margin-left: clamp(18px, 6vw, 76px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--arc);
  font-size: clamp(0.86rem, 1vw, 0.98rem);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  position: relative;
  display: inline-block;
  max-width: 720px;
  margin: 0 0 22px;
  padding: 0;
  font-size: clamp(3.2rem, 8vw, 6.9rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 2vw, 1.34rem);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border: 1px solid transparent;
  font-weight: 900;
}

.button-primary {
  color: #141414;
  background: var(--ember);
}

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.1);
}

.button-dark {
  color: var(--white);
  background: var(--ink);
}

.proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  width: min(940px, calc(100vw - 36px));
  margin-top: 48px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.34);
}

.proof-strip span {
  position: relative;
  display: grid;
  min-width: 160px;
  padding: 0 26px 0 0;
  margin-right: 26px;
  color: rgba(255, 255, 255, 0.9);
}

.proof-strip span:not(:last-child)::after {
  position: absolute;
  top: 7px;
  right: 0;
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.24);
  content: "";
}

.proof-strip strong {
  font-size: clamp(0.98rem, 1.4vw, 1.18rem);
  line-height: 1.1;
}

.proof-strip small {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.76rem;
  font-weight: 700;
}

.weld-divider {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  height: 0;
  overflow: visible;
  background: transparent;
  --weld-duration: 7s;
  --weld-start: -3%;
  --weld-end: 103%;
}

.weld-divider::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background:
    linear-gradient(90deg, rgba(255, 196, 0, 0), rgba(255, 196, 0, 0.36), rgba(49, 230, 222, 0.18), rgba(255, 196, 0, 0));
  box-shadow: 0 0 14px rgba(255, 196, 0, 0.22);
  content: "";
  transform: translateY(-1px);
}

.weld-divider::after {
  position: absolute;
  top: 0;
  left: var(--weld-start);
  width: 15%;
  height: 3px;
  background:
    linear-gradient(90deg, rgba(255, 196, 0, 0), rgba(255, 196, 0, 0.14), rgba(255, 196, 0, 0.62), rgba(49, 230, 222, 0.44), rgba(255, 196, 0, 0));
  filter: blur(0.2px);
  content: "";
  transform: translate(-100%, -1px);
  animation: weld-trail var(--weld-duration) cubic-bezier(0.5, 0, 0.25, 1) infinite;
}

.weld-bead {
  position: absolute;
  z-index: 1;
  top: 0;
  left: var(--weld-start);
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow:
    0 0 7px 4px rgba(255, 255, 255, 0.78),
    0 0 15px 8px rgba(255, 196, 0, 0.48),
    0 0 24px 12px rgba(49, 230, 222, 0.2);
  transform: translate(-50%, -50%);
  animation: weld-bead-run var(--weld-duration) cubic-bezier(0.5, 0, 0.25, 1) infinite;
}

.weld-sparks,
.weld-sparks::before,
.weld-sparks::after {
  position: absolute;
  z-index: 2;
  top: 0;
  left: var(--weld-start);
  width: 92px;
  height: 44px;
  background:
    radial-gradient(circle at 12% 52%, rgba(255, 255, 255, 0.92) 0 1px, transparent 2px),
    radial-gradient(circle at 24% 18%, rgba(255, 196, 0, 0.95) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 38% 72%, rgba(255, 196, 0, 0.85) 0 1px, transparent 2px),
    radial-gradient(circle at 54% 25%, rgba(49, 230, 222, 0.75) 0 1px, transparent 2px),
    radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.8) 0 1px, transparent 2px);
  content: "";
  opacity: 0;
  pointer-events: none;
  transform: translate(-42px, -50%) rotate(-7deg) scale(0.8);
  animation: weld-sparks-run var(--weld-duration) cubic-bezier(0.5, 0, 0.25, 1) infinite;
}

.weld-sparks::before {
  transform: translate(-48px, -56%) rotate(13deg) scale(0.72);
  animation-name: weld-sparks-run-alt;
}

.weld-sparks::after {
  transform: translate(-34px, -44%) rotate(-20deg) scale(0.65);
  animation-name: weld-sparks-run-low;
}

@keyframes weld-bead-run {
  0%,
  16% {
    left: var(--weld-start);
    opacity: 0;
  }

  22%,
  78% {
    opacity: 1;
  }

  84%,
  100% {
    left: var(--weld-end);
    opacity: 0;
  }
}

@keyframes weld-trail {
  0%,
  16% {
    left: var(--weld-start);
    transform: translate(-100%, -1px);
    opacity: 0;
  }

  22%,
  78% {
    opacity: 0.82;
  }

  84%,
  100% {
    left: var(--weld-end);
    transform: translate(-100%, -1px);
    opacity: 0;
  }
}

@keyframes weld-sparks-run {
  0%,
  16% {
    left: var(--weld-start);
    opacity: 0;
  }

  22%,
  78% {
    opacity: 0.95;
    transform: translate(-48px, -54%) rotate(-9deg) scale(1);
  }

  84%,
  100% {
    left: var(--weld-end);
    opacity: 0;
    transform: translate(-64px, -72%) rotate(-18deg) scale(1.18);
  }
}

@keyframes weld-sparks-run-alt {
  0%,
  16% {
    left: var(--weld-start);
    opacity: 0;
  }

  22%,
  78% {
    opacity: 0.72;
    transform: translate(-56px, -46%) rotate(16deg) scale(0.92);
  }

  84%,
  100% {
    left: var(--weld-end);
    opacity: 0;
    transform: translate(-72px, -28%) rotate(28deg) scale(1.08);
  }
}

@keyframes weld-sparks-run-low {
  0%,
  16% {
    left: var(--weld-start);
    opacity: 0;
  }

  22%,
  78% {
    opacity: 0.7;
    transform: translate(-34px, -38%) rotate(-20deg) scale(0.82);
  }

  84%,
  100% {
    left: var(--weld-end);
    opacity: 0;
    transform: translate(-52px, -16%) rotate(-34deg) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .weld-divider::after,
  .weld-bead,
  .weld-sparks,
  .weld-sparks::before,
  .weld-sparks::after {
    animation: none;
    opacity: 0;
  }
}

.section {
  padding: clamp(56px, 9vw, 112px) clamp(18px, 5vw, 64px);
}

.service-band {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(30px, 5vw, 72px);
  background: var(--white);
}

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

.section-heading h2,
.contact-strip h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4.5vw, 4.2rem);
  line-height: 1;
  letter-spacing: 0;
}

.section-heading.compact {
  margin-bottom: 32px;
}

.service-grid {
  display: grid;
  gap: 18px;
}

.service-grid article {
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.service-grid article:last-child {
  border-bottom: 1px solid var(--line);
}

.service-grid h3 {
  margin-bottom: 8px;
  font-size: 1.24rem;
}

.service-grid p {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--muted);
}

.about-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(30px, 5vw, 72px);
  padding: clamp(56px, 8vw, 104px) clamp(18px, 5vw, 64px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(17, 19, 22, 0.94), rgba(34, 38, 42, 0.96)),
    linear-gradient(135deg, #141719, #2b3034);
}

.about-section h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4.5vw, 4.1rem);
  line-height: 1;
}

.about-logo {
  display: block;
  width: min(330px, 72vw);
  height: auto;
  margin-bottom: 32px;
}

.about-copy {
  display: grid;
  gap: 20px;
  max-width: 760px;
  align-self: end;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
}

.about-copy p {
  margin-bottom: 0;
}

.photo-feature {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: clamp(56px, 8vw, 104px) clamp(18px, 5vw, 64px);
  background: #eef2f3;
}

.feature-copy {
  max-width: 520px;
}

.feature-copy h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4.5vw, 4.1rem);
  line-height: 1;
}

.feature-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
}

.feature-collage {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  grid-template-rows: repeat(2, minmax(180px, 1fr));
  gap: 14px;
}

.feature-image {
  min-height: 220px;
  background-color: #20262b;
  background-position: center;
  background-size: cover;
}

.feature-image-large {
  grid-row: 1 / span 2;
  min-height: 520px;
  background-image:
    linear-gradient(180deg, rgba(13, 16, 18, 0.08), rgba(13, 16, 18, 0.34)),
    url("assets/feature-lift.jpg");
}

.feature-image-arc {
  background-image:
    linear-gradient(180deg, rgba(13, 16, 18, 0.04), rgba(13, 16, 18, 0.26)),
    url("assets/feature-arc.jpg");
}

.feature-image-dock {
  background-image:
    linear-gradient(180deg, rgba(13, 16, 18, 0.04), rgba(13, 16, 18, 0.24)),
    url("assets/dock-work.jpg");
}

.work-section {
  background: #1c2024;
  color: var(--white);
}

.work-section .eyebrow {
  color: var(--ember);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

figure {
  margin: 0;
  background: #2d3338;
}

.work-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  background:
    linear-gradient(135deg, rgba(228, 111, 43, 0.42), rgba(77, 183, 216, 0.28)),
    linear-gradient(135deg, #303840, #14171a);
  background-position: center;
  background-size: cover;
}

.work-card-one .work-photo {
  background-image:
    linear-gradient(135deg, rgba(228, 111, 43, 0.22), rgba(77, 183, 216, 0.16)),
    url("assets/work-1.jpg"),
    linear-gradient(135deg, #303840, #14171a);
}

.work-card-two .work-photo {
  background-image:
    linear-gradient(135deg, rgba(228, 111, 43, 0.22), rgba(77, 183, 216, 0.16)),
    url("assets/work-2.jpg"),
    linear-gradient(135deg, #303840, #14171a);
}

.work-card-three .work-photo {
  background-image:
    linear-gradient(135deg, rgba(228, 111, 43, 0.22), rgba(77, 183, 216, 0.16)),
    url("assets/work-3.jpg"),
    linear-gradient(135deg, #303840, #14171a);
}

.work-card-three .work-photo {
  background-position: center 35%;
}

figcaption {
  padding: 16px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
}

.contact-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: clamp(38px, 7vw, 76px) clamp(18px, 5vw, 64px);
  background: var(--steel);
}

.contact-strip > div:first-child {
  max-width: 760px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px clamp(18px, 5vw, 64px);
  color: rgba(255, 255, 255, 0.74);
  background: var(--ink);
  font-size: 0.94rem;
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer strong {
  color: var(--white);
  font-size: 1rem;
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-weight: 800;
}

.footer-contact a:first-child {
  color: var(--ember);
}

.not-found-page {
  min-height: 100vh;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(17, 19, 22, 0.96), rgba(34, 38, 42, 0.98)),
    linear-gradient(135deg, #141719, #2b3034);
}

.not-found {
  display: grid;
  align-content: center;
  min-height: 100vh;
  max-width: 760px;
  padding: clamp(32px, 8vw, 80px);
}

.not-found img {
  width: min(260px, 72vw);
  height: auto;
  margin-bottom: 34px;
}

.not-found h1 {
  margin-bottom: 18px;
}

.not-found p:not(.eyebrow) {
  max-width: 580px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.14rem;
}

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

  .nav-links,
  .header-phone {
    display: none;
  }

  .hero {
    min-height: 94vh;
  }

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

  .proof-strip,
  .service-band,
  .about-section,
  .photo-feature,
  .work-grid,
  .contact-strip {
    grid-template-columns: 1fr;
  }

  .feature-collage {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .feature-image-large {
    grid-row: auto;
    min-height: 420px;
  }

  .proof-strip {
    margin-top: 36px;
  }

  .proof-strip span {
    width: calc(50% - 14px);
    min-width: 0;
    padding-right: 0;
    margin-right: 0;
    margin-bottom: 18px;
  }

  .proof-strip span:not(:last-child)::after {
    display: none;
  }

  .contact-strip {
    display: grid;
  }

  .site-footer {
    display: grid;
  }
}

@media (max-width: 560px) {
  .brand small {
    display: none;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  h1 {
    font-size: clamp(2.75rem, 15vw, 4rem);
  }

  .hero-actions,
  .contact-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .proof-strip {
    display: grid;
    gap: 16px;
  }

  .proof-strip span {
    width: auto;
    margin-bottom: 0;
  }
}
