:root {
  --text: #191b1f;
  --muted: #626873;
  --line: #d8dde3;
  --soft: #f5f6f8;
  --panel: #ffffff;
  --blue: #1769e0;
  --blue-dark: #0f4fb4;
  --steel: #aeb8c4;
  --graphite: #2f343b;
  --copper: #b76a39;
  --logo-font: "PT Mono", "Arial Rounded MT Bold", "Helvetica Neue", Arial, sans-serif;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: #fff;
}

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

.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(38px);
  transition:
    opacity 760ms ease,
    transform 760ms cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: opacity, transform;
}

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

.reveal-ready .product-panel.reveal {
  transform: translateY(44px) scale(0.985);
}

.reveal-ready .product-panel.reveal.is-visible {
  transform: translateY(0) scale(1);
}

.product-panel.reveal:nth-child(2),
.object-card.reveal:nth-child(2) {
  transition-delay: 90ms;
}

.product-panel.reveal:nth-child(3),
.object-card.reveal:nth-child(3) {
  transition-delay: 180ms;
}

.product-panel.reveal:nth-child(4) {
  transition-delay: 270ms;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 251, 253, 0.82);
  border-bottom: 1px solid rgba(216, 221, 227, 0.8);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1120px, calc(100% - 32px));
  height: 52px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  font-size: 14px;
}

.brand,
.nav-links,
.hero-actions,
.contact-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 9px;
  font-weight: 700;
  white-space: nowrap;
  text-shadow: 0 4px 8px rgba(25, 27, 31, 0.12);
}

.brand img {
  display: block;
  width: 30px;
  height: 30px;
  object-fit: contain;
  filter: drop-shadow(0 4px 7px rgba(25, 27, 31, 0.16));
}

.brand span {
  display: inline-block;
  font-family: var(--logo-font);
  font-weight: 700;
}

.nav-links {
  gap: 26px;
  color: #41464f;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-action,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 600;
}

.nav-action {
  color: #fff;
  background: var(--blue);
}

.hero {
  min-height: calc(100svh - 52px);
  display: grid;
  align-content: end;
  overflow: hidden;
  background: linear-gradient(#f7f8fa, #eef1f4);
}

.hero-copy {
  width: min(880px, calc(100% - 32px));
  margin: 0 auto;
  padding: 70px 0 26px;
  text-align: center;
}

.hero-logo {
  display: block;
  width: min(178px, 38vw);
  height: auto;
  margin: 0 auto 18px;
  animation: heroLogoIn 900ms cubic-bezier(0.2, 0.7, 0.2, 1) 80ms both;
  filter: drop-shadow(0 12px 22px rgba(25, 27, 31, 0.13));
  -webkit-mask-image:
    radial-gradient(ellipse at center, #000 50%, rgba(0, 0, 0, 0.86) 66%, rgba(0, 0, 0, 0.24) 86%, transparent 100%);
  mask-image:
    radial-gradient(ellipse at center, #000 50%, rgba(0, 0, 0, 0.86) 66%, rgba(0, 0, 0, 0.24) 86%, transparent 100%);
}

.hero-copy .eyebrow,
.hero-copy h1,
.hero-actions {
  animation: heroTextIn 820ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero-copy .eyebrow {
  animation-delay: 150ms;
}

.hero-copy h1 {
  animation-delay: 240ms;
}

.hero-actions {
  animation-delay: 340ms;
}

@keyframes heroLogoIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes heroTextIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.eyebrow,
.section-kicker {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 820px;
  margin: 0 auto 14px;
  font-size: clamp(32px, 4.6vw, 58px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0;
  text-shadow:
    0 2px 0 rgba(255, 255, 255, 0.9),
    0 12px 24px rgba(25, 27, 31, 0.22);
}

.hero-copy p:not(.eyebrow) {
  max-width: 690px;
  margin: 0 auto;
  color: #3f454d;
  font-size: 22px;
  line-height: 1.32;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9),
    0 8px 18px rgba(25, 27, 31, 0.16);
}

.hero-actions {
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
  flex-wrap: wrap;
}

.button.primary {
  color: #fff;
  background: var(--blue);
}

.button.primary:hover,
.nav-action:hover {
  background: var(--blue-dark);
}

.button.secondary {
  color: var(--blue);
  background: rgba(23, 105, 224, 0.08);
}

.hero-image {
  display: block;
  width: min(1120px, calc(100% - 28px));
  margin: 0 auto -18px;
}

.hero-image img {
  display: block;
  width: 100%;
  max-height: 43svh;
  object-fit: contain;
}

.section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.intro {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 50px;
  padding: 86px 0 72px;
  align-items: end;
}

.intro h2,
.supply h2,
.contact-band h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.02;
  letter-spacing: 0;
  text-shadow: 0 7px 16px rgba(25, 27, 31, 0.1);
}

.intro p,
.supply p,
.contact-band p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.5;
}

.showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 0 14px 14px;
  background: #fff;
}

.product-panel {
  min-height: 520px;
  position: relative;
  overflow: hidden;
  border-radius: 0;
  background: var(--soft);
}

.panel-copy {
  position: relative;
  z-index: 2;
  width: min(460px, calc(100% - 36px));
  margin: 0 auto;
  padding-top: 54px;
  text-align: center;
}

.panel-copy h2 {
  margin-bottom: 8px;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1;
  letter-spacing: 0;
  text-shadow: 0 7px 15px rgba(25, 27, 31, 0.11);
}

.panel-copy p:last-child {
  margin: 0;
  color: #4f5660;
  font-size: 18px;
  line-height: 1.38;
}

.product-photo {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 0;
  height: 61%;
  margin: 0;
  display: flex;
  align-items: end;
  justify-content: center;
  overflow: hidden;
}

.product-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 28px 34px rgba(36, 43, 52, 0.14));
  transform: translateY(18px) scale(1.025);
  transition: transform 900ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.product-panel.is-visible .product-photo img {
  transform: translateY(0) scale(1);
}

.chain-photo {
  height: 58%;
}

.welded-photo {
  left: 8px;
  right: 8px;
  height: 64%;
}

.barbed-photo {
  height: 58%;
}

.post-visual {
  position: absolute;
  inset: auto 12% 34px;
  height: 270px;
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 34px;
}

.post-visual span {
  width: 58px;
  border-radius: 12px 12px 4px 4px;
  background: linear-gradient(90deg, #777f89, #eef2f5 45%, #8d97a2);
  box-shadow: 0 24px 50px rgba(36, 43, 52, 0.18);
}

.post-visual span:nth-child(1) {
  height: 220px;
  transform: rotate(-8deg);
  transition-delay: 120ms;
}

.post-visual span:nth-child(2) {
  height: 270px;
}

.post-visual span:nth-child(3) {
  height: 190px;
  transform: rotate(9deg);
  transition-delay: 220ms;
}

.reveal-ready .post-visual span {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 760ms ease,
    transform 760ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal-ready .product-panel.is-visible .post-visual span {
  opacity: 1;
}

.reveal-ready .product-panel.is-visible .post-visual span:nth-child(1) {
  transform: translateY(0) rotate(-8deg);
}

.reveal-ready .product-panel.is-visible .post-visual span:nth-child(2) {
  transform: translateY(0);
}

.reveal-ready .product-panel.is-visible .post-visual span:nth-child(3) {
  transform: translateY(0) rotate(9deg);
}

.welded {
  background: #f7f4ef;
}

.barbed {
  background: #eef4f8;
}

.fittings {
  background: #f6f6f1;
}

.supply {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  padding: 92px 0;
  align-items: center;
}

.supply-copy p {
  margin-top: 20px;
}

.spec-list {
  border-top: 1px solid var(--line);
}

.spec-list div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.spec-list strong {
  font-size: 18px;
}

.spec-list span {
  color: var(--muted);
  line-height: 1.45;
}

.objects {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.object-card {
  min-height: 250px;
  padding: 38px;
  background: #fff;
}

.object-card span {
  color: var(--copper);
  font-weight: 800;
}

.object-card h3 {
  margin: 70px 0 10px;
  font-size: 27px;
  letter-spacing: 0;
  text-shadow: 0 5px 12px rgba(25, 27, 31, 0.1);
}

.object-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.contact-band {
  width: min(1120px, calc(100% - 32px));
  margin: 14px auto;
  padding: 68px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 46px;
  align-items: center;
  background: #f2f4f6;
}

.contact-band p {
  max-width: 680px;
  margin-top: 18px;
}

.contact-actions {
  gap: 12px;
  flex-direction: column;
  align-items: stretch;
}

.footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 13px;
  text-shadow: 0 4px 10px rgba(25, 27, 31, 0.08);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand img {
  width: 74px;
  height: 54px;
  object-fit: contain;
  filter: drop-shadow(0 6px 10px rgba(25, 27, 31, 0.1));
}

@media (max-width: 820px) {
  .nav {
    width: calc(100% - 22px);
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-copy {
    padding-top: 50px;
  }

  h1 {
    font-size: 36px;
  }

  .hero-copy p:not(.eyebrow) {
    font-size: 19px;
  }

  .hero-image img {
    max-height: 34svh;
  }

  .intro,
  .supply,
  .contact-band {
    grid-template-columns: 1fr;
  }

  .intro,
  .supply {
    padding: 58px 0;
    gap: 22px;
  }

  .showcase,
  .objects {
    grid-template-columns: 1fr;
  }

  .showcase {
    padding: 0 8px 8px;
    gap: 8px;
  }

  .product-panel {
    min-height: 470px;
  }

  .spec-list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .object-card {
    min-height: 210px;
    padding: 30px 24px;
  }

  .object-card h3 {
    margin-top: 46px;
  }

  .contact-band {
    width: calc(100% - 16px);
    padding: 42px 24px;
  }

  .contact-actions {
    align-items: start;
  }

  .footer {
    flex-direction: column;
  }
}

@media (max-width: 460px) {
  .brand span:last-child {
    display: none;
  }

  h1 {
    font-size: 31px;
  }

  .hero-actions,
  .contact-actions {
    align-items: stretch;
  }

  .button,
  .nav-action {
    width: 100%;
  }

  .nav-action {
    width: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

  .reveal,
  .product-panel.reveal,
  .product-photo img,
  .post-visual span {
    opacity: 1;
    transform: none;
  }
}
