*,
*::before,
*::after { box-sizing: border-box; }

:root {
  --bg: #05070a;
  --white: #f7f7f7;
}

html, body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
}

body { overflow-x: hidden; }

.hero {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 35%, rgba(255,255,255,.035), transparent 45%),
    var(--bg);
}

/* Background photography only */
.photo {
  position: absolute;
  z-index: -3;
  top: 0;
  bottom: 0;
  width: 44%;
  background-repeat: no-repeat;
  background-size: cover;
  filter: saturate(.78) contrast(1.08);
}

.photo-left {
  left: 0;
  background-image:
    linear-gradient(90deg, rgba(0,0,0,.08), rgba(5,7,10,.20) 70%, var(--bg) 100%),
    url("left-industrial-clean.jpg");
  background-position: center;
}

.photo-right {
  right: 0;
  background-image:
    linear-gradient(270deg, rgba(0,0,0,.08), rgba(5,7,10,.20) 70%, var(--bg) 100%),
    url("right-excavator-clean.jpg");
  background-position: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0,0,0,.08), transparent 36%, transparent 64%, rgba(0,0,0,.08)),
    radial-gradient(circle at center, transparent 20%, rgba(0,0,0,.22) 100%);
}

/* Corner copy */
.corner-copy {
  position: absolute;
  z-index: 20;
  top: clamp(24px, 5vw, 64px);
  color: #fff;
  font-size: clamp(.62rem, 1.05vw, 1.12rem);
  font-weight: 300;
  line-height: 1.72;
  letter-spacing: .36em;
  text-shadow: 0 2px 14px rgba(0,0,0,.85);
}

.corner-left { left: clamp(20px, 4.2vw, 65px); }
.corner-right { right: clamp(20px, 4.2vw, 65px); }

.corner-rule {
  display: block;
  width: clamp(38px, 4vw, 62px);
  height: 2px;
  margin-top: 14px;
  background: #fff;
}

/* Center content */
.center-panel {
  position: relative;
  z-index: 10;
  width: min(54vw, 860px);
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  margin: 0 auto;
  padding: clamp(76px, 8vh, 105px) clamp(18px, 3vw, 42px) clamp(30px, 5vh, 60px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.11));
}

.brand-mark {
  width: min(250px, 23vw);
  min-width: 170px;
}

.brand-mark svg {
  display: block;
  width: 100%;
  height: auto;
}

.brand-name {
  margin-top: -3px;
  font-size: clamp(3rem, 5.2vw, 5.8rem);
  line-height: .9;
  font-weight: 800;
  letter-spacing: -.045em;
  white-space: nowrap;
}

.brand-subtitle {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.5vw, 20px);
  margin-top: 10px;
  font-size: clamp(.82rem, 1.25vw, 1.4rem);
  letter-spacing: .58em;
}

.brand-subtitle span {
  width: clamp(42px, 6vw, 90px);
  height: 2px;
  background: rgba(255,255,255,.9);
}

.tagline {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: .35em;
  font-size: clamp(.65rem, 1vw, 1.08rem);
  letter-spacing: .28em;
}

.tagline b { font-weight: 400; }

h1 {
  margin: clamp(42px, 6vh, 68px) 0 0;
  font-size: clamp(2rem, 3.7vw, 4.25rem);
  line-height: 1.08;
  letter-spacing: .07em;
  font-weight: 800;
}

h1 span {
  display: block;
}

.subheading {
  margin: 18px 0 0;
  max-width: 90%;
  font-size: clamp(.7rem, 1.02vw, 1.1rem);
  letter-spacing: .38em;
}

.contact-row {
  margin-top: clamp(36px, 5vh, 58px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3.2vw, 42px);
  width: 100%;
}

.contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-size: clamp(.56rem, .83vw, .92rem);
  letter-spacing: .21em;
  transition: opacity .2s ease, transform .2s ease;
}

.contact-item:hover,
.contact-item:focus-visible {
  color: #fff;
  opacity: .78;
  transform: translateY(-2px);
}

.contact-icon {
  display: grid;
  place-items: center;
  width: clamp(38px, 4vw, 52px);
  height: clamp(38px, 4vw, 52px);
}

.contact-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.contact-divider {
  width: 1px;
  height: clamp(38px, 4.5vw, 60px);
  background: rgba(255,255,255,.7);
}

/* ---------- Large tablet ---------- */
@media (max-width: 1199.98px) {
  .photo { width: 39%; }
  .center-panel { width: 62vw; }
  .corner-copy { font-size: clamp(.58rem, 1.15vw, .95rem); letter-spacing: .28em; }
}

/* ---------- Tablet ---------- */
@media (max-width: 991.98px) {
  .photo { width: 35%; }
  .center-panel { width: 68vw; }

  .corner-copy {
    top: 26px;
    font-size: .62rem;
    line-height: 1.65;
    letter-spacing: .24em;
  }

  .brand-name { font-size: clamp(2.8rem, 7vw, 4.8rem); }
  .tagline { font-size: .7rem; }
  h1 { font-size: clamp(1.9rem, 5.2vw, 3.4rem); }
}

/* ---------- Phones ---------- */
@media (max-width: 767.98px) {
  .hero {
    min-height: auto;
    overflow: visible;
    padding-bottom: 22px;
  }

  .photo {
    position: fixed;
    top: 0;
    bottom: 0;
    width: 68%;
    opacity: .26;
  }

  .photo-left {
    left: -24%;
    background-position: left center;
  }

  .photo-right {
    right: -24%;
    background-position: right center;
  }

  .corner-copy {
    position: absolute;
    top: 18px;
    font-size: clamp(.44rem, 2vw, .62rem);
    line-height: 1.7;
    letter-spacing: .22em;
  }

  .corner-left { left: 18px; }
  .corner-right { right: 18px; }

  .corner-rule {
    width: 34px;
    height: 1px;
    margin-top: 7px;
  }

  .center-panel {
    width: 100%;
    min-height: 100svh;
    padding: 106px 18px 28px;
    justify-content: flex-start;
  }

  .brand-mark {
    width: 148px;
    min-width: 148px;
  }

  .brand-name {
    margin-top: 0;
    font-size: clamp(2.55rem, 13.5vw, 4.15rem);
  }

  .brand-subtitle {
    gap: 10px;
    margin-top: 8px;
    font-size: .78rem;
    letter-spacing: .35em;
  }

  .brand-subtitle span {
    width: 38px;
    height: 1px;
  }

  .tagline {
    margin-top: 17px;
    max-width: 96%;
    font-size: clamp(.5rem, 2.2vw, .66rem);
    line-height: 1.7;
    letter-spacing: .13em;
  }

  h1 {
    margin-top: 42px;
    font-size: clamp(1.65rem, 9.3vw, 2.8rem);
    line-height: 1.08;
    letter-spacing: .045em;
  }

  .subheading {
    margin-top: 16px;
    max-width: 350px;
    font-size: clamp(.53rem, 2.2vw, .66rem);
    line-height: 1.8;
    letter-spacing: .18em;
  }

  .contact-row {
    margin-top: 38px;
    gap: 14px;
    align-items: stretch;
  }

  .contact-item {
    max-width: 46%;
    font-size: clamp(.42rem, 1.75vw, .54rem);
    line-height: 1.45;
    letter-spacing: .12em;
    gap: 7px;
  }

  .contact-icon {
    width: 34px;
    height: 34px;
  }

  .contact-divider {
    height: 42px;
    align-self: center;
  }
}

/* ---------- Very small phones ---------- */
@media (max-width: 380px) {
  .corner-copy {
    font-size: .40rem;
    letter-spacing: .16em;
  }

  .corner-left { left: 12px; }
  .corner-right { right: 12px; }

  .center-panel {
    padding-left: 12px;
    padding-right: 12px;
  }

  .brand-mark {
    width: 132px;
    min-width: 132px;
  }

  .brand-name {
    font-size: 2.35rem;
  }

  h1 {
    font-size: 1.48rem;
    letter-spacing: .035em;
  }

  .contact-item {
    font-size: .38rem;
  }
}

/* ---------- Landscape phones ---------- */
@media (max-width: 767.98px) and (orientation: landscape) {
  .hero {
    min-height: 100svh;
  }

  .center-panel {
    min-height: 100svh;
    padding-top: 74px;
    padding-bottom: 20px;
  }

  .brand-mark { width: 92px; min-width: 92px; }

  .brand-name { font-size: 2.2rem; }

  .brand-subtitle { font-size: .64rem; margin-top: 4px; }

  .tagline { margin-top: 9px; font-size: .48rem; }

  h1 {
    margin-top: 22px;
    font-size: 1.55rem;
  }

  .subheading { margin-top: 9px; }

  .contact-row {
    margin-top: 16px;
  }
}

/* ---------- Accessibility / reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .contact-item {
    transition: none;
  }
}
