:root {
  --paper: #e7e3d9;
  --ink: #30261d;
  --font-display: "alternate-gothic-extra-cond", sans-serif;
  --page-gutter: clamp(1.25rem, 4vw, 5rem);
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 300;
  font-style: normal;
}

.site-shell,
.hero { min-height: 100svh; }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.hero__background {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: url("assets/robot-range-background.png") center / cover no-repeat;
}

.hero__content {
  position: relative;
  width: 100%;
  min-height: 100svh;
  margin: 0;
  padding: clamp(2rem, 6vh, 5rem) var(--page-gutter);
}

.signage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.3rem, 2.8vh, 2.1rem);
  width: fit-content;
  max-width: calc(100vw - (2 * var(--page-gutter)));
  margin: 0 auto;
  text-align: center;
}

.wordmark {
  display: block;
  width: min(34.65rem, 56.1vw);
  height: auto;
  margin: 0;
}

.hero__copy {
  width: auto;
  max-width: 100%;
  margin: 0;
  text-align: center;
}

.hero__premise {
  margin: 0;
  font-size: clamp(1.58625rem, 2.835vw, 2.86875rem);
  font-weight: 500;
  line-height: 1.03;
  letter-spacing: 0.005em;
  opacity: 0.7;
}

.hero__premise span {
  display: block;
}

.construction-sign {
  position: absolute;
  z-index: 2;
  top: 39%;
  right: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: max-content;
  min-height: clamp(4.25rem, 5vw, 5rem);
  padding: 0.4rem 10px;
  margin: 0;
  overflow: hidden;
  color: rgba(48, 38, 29, 0.84);
  background: rgba(250, 249, 244, 0.96);
  border: 1px solid rgba(78, 68, 54, 0.12);
  box-shadow: 0 0.12rem 0.22rem rgba(56, 47, 35, 0.12);
  transform: translate(45%, -50%) rotate(-0.35deg);
}

.construction-sign span {
  display: block;
  width: 100%;
  font-size: clamp(1.45rem, 1.8vw, 1.85rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: 0.025em;
  text-align: center;
  white-space: nowrap;
}

.welding-sparks {
  position: absolute;
  z-index: 4;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

@media (max-width: 42rem) {
  .hero__background { background-position: 54% center; }
  .wordmark { width: min(29.7rem, 70.95vw); }
  .construction-sign {
    top: 43%;
    width: max-content;
    min-height: 4rem;
    transform: translate(45%, -50%) rotate(-0.35deg);
  }
  .construction-sign span {
    font-size: 1.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .welding-sparks { display: none; }
}
