.page-body {
  background: #f8f6f2;
  color: #11110f;
}

.page-body nav {
  background: rgba(17,17,15,0.58);
  border-color: rgba(255,255,255,0.16);
  box-shadow: 0 18px 60px rgba(17,17,15,0.16);
}

.page-body nav a,
.page-body .nav-logo {
  color: #fff;
}

.page-body .nav-cta {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
}

.page-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(17,17,15,0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(17,17,15,0.035) 1px, transparent 1px),
    #f8f6f2;
  background-size: 78px 78px;
}

.page-shell::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 12%, rgba(245,130,32,0.14), transparent 25rem),
    linear-gradient(180deg, rgba(255,255,255,0.82), rgba(255,255,255,0));
  pointer-events: none;
}

.page-shell .container,
.page-cta .container,
.page-inline-cta .container,
.simple-footer .container {
  position: relative;
  z-index: 1;
  width: min(calc(100vw - clamp(2rem,5vw,6rem)), 1480px);
  max-width: none;
}

.page-hero {
  position: relative;
  min-height: clamp(720px, 92vh, 980px);
  display: flex;
  align-items: center;
  padding: clamp(7rem, 9vw, 9rem) 0 clamp(5rem, 8vw, 7rem);
  overflow: hidden;
  background: #11110f;
  color: #fff;
  isolation: isolate;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image: var(--page-image, url('../assets/hero-press-brake.jpeg'));
  background-size: cover;
  background-position: var(--page-image-position, 60% center);
  filter: saturate(0.92) contrast(1.08);
  transform: scale(1.04);
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(7,7,6,0.9) 0%, rgba(8,8,7,0.82) 34%, rgba(8,8,7,0.52) 58%, rgba(8,8,7,0.24) 100%),
    radial-gradient(circle at 78% 18%, rgba(245,130,32,0.26), transparent 22rem);
}

.page-hero .container::before {
  content: '';
  position: absolute;
  inset: clamp(-4rem, -6vw, -2rem);
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 78px 78px;
  mask-image: linear-gradient(90deg, rgba(0,0,0,0.65), transparent 78%);
  pointer-events: none;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(340px, 0.42fr);
  gap: clamp(2.5rem,6vw,5rem);
  align-items: center;
}

.page-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1rem;
  color: #f58220;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.page-kicker::before {
  content: '';
  width: 42px;
  height: 1px;
  background: #f58220;
}

.page-title {
  max-width: 980px;
  font-family: var(--font-display);
  font-size: clamp(4rem, 7vw, 8.2rem);
  line-height: 0.88;
  letter-spacing: -0.085em;
  color: #fff;
  text-shadow: 0 18px 60px rgba(0,0,0,0.42);
}

.page-title span {
  color: #f58220;
}

.page-lead {
  max-width: 720px;
  margin-top: 1.5rem;
  color: rgba(255,255,255,0.76);
  font-size: clamp(1rem,1.35vw,1.18rem);
  line-height: 1.72;
}

.page-hero-side {
  display: grid;
  gap: 1rem;
}

.page-hero-media {
  position: relative;
  min-height: clamp(280px, 34vw, 500px);
  border: 1px solid rgba(255,255,255,0.16);
  overflow: hidden;
  background: rgba(17,17,15,0.42);
  backdrop-filter: blur(10px);
  isolation: isolate;
}

.page-hero-media::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--page-image, url('../assets/hero-press-brake.jpeg'));
  background-size: cover;
  background-position: var(--page-image-position, center);
  filter: saturate(0.9) contrast(1.08);
  transform: scale(1.04);
}

.page-hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(17,17,15,0.12), rgba(17,17,15,0.78)),
    radial-gradient(circle at 82% 22%, rgba(245,130,32,0.22), transparent 20rem);
}

.page-hero-media-label {
  position: absolute;
  left: 1.15rem;
  top: 1.15rem;
  color: #f58220;
  font-family: 'Courier New', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-hero-media-copy {
  position: absolute;
  left: 1.15rem;
  right: 1.15rem;
  bottom: 1.15rem;
  color: #fff;
}

.page-hero-media-copy strong {
  display: block;
  max-width: 430px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 3.7rem);
  line-height: 0.92;
  letter-spacing: -0.07em;
}

.page-hero-media-copy span {
  display: block;
  max-width: 420px;
  margin-top: 0.8rem;
  color: rgba(255,255,255,0.72);
  font-size: 0.92rem;
  line-height: 1.55;
}

.page-panel {
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(17,17,15,0.46);
  color: #fff;
  padding: 1.25rem;
  backdrop-filter: blur(14px);
}

.page-panel.is-dark {
  background: #11110f;
  color: #fff;
  border-color: #11110f;
}

.page-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.13);
  font-family: 'Courier New', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.52);
}

.page-panel.is-dark .page-panel-head {
  border-color: rgba(255,255,255,0.13);
  color: rgba(255,255,255,0.5);
}

.page-panel-head span:last-child {
  color: #f58220;
}

.page-panel-list {
  display: grid;
  margin-top: 1rem;
}

.page-panel-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.page-panel.is-dark .page-panel-row {
  border-color: rgba(255,255,255,0.12);
}

.page-panel-row:last-child {
  border-bottom: 0;
}

.page-panel-row span {
  font-family: 'Courier New', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.42);
}

.page-panel.is-dark .page-panel-row span {
  color: rgba(255,255,255,0.42);
}

.page-panel-row strong,
.page-panel-row a {
  color: inherit;
  font-size: 0.96rem;
  line-height: 1.45;
  text-decoration: none;
}

.page-section {
  padding: clamp(4rem,7vw,6rem) 0;
  border-top: 1px solid rgba(17,17,15,0.12);
}

.page-section-grid {
  display: grid;
  grid-template-columns: minmax(260px,0.34fr) minmax(0,0.66fr);
  gap: clamp(2rem,5vw,4rem);
  align-items: start;
}

.page-section h2 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem,4vw,4.5rem);
  line-height: 0.95;
  letter-spacing: -0.07em;
}

.page-section p {
  color: #5b5b55;
  font-size: 1rem;
  line-height: 1.7;
}

.page-subcopy {
  margin-top: 1rem;
  max-width: 440px;
}

.technical-list {
  border-top: 1px solid rgba(17,17,15,0.18);
}

.technical-list article {
  display: grid;
  grid-template-columns: 70px minmax(180px,0.78fr) minmax(0,1fr);
  gap: 1rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(17,17,15,0.18);
}

.technical-list .num {
  font-family: 'Courier New', monospace;
  color: #f58220;
  font-size: 0.76rem;
  font-weight: 700;
}

.technical-list h3 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem,2vw,2.25rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.technical-list p {
  margin: 0;
  color: #5b5b55;
  font-size: 0.94rem;
  line-height: 1.55;
}

.page-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 1px;
  border: 1px solid rgba(17,17,15,0.15);
  background: rgba(17,17,15,0.15);
}

.page-card {
  min-height: 220px;
  padding: 1.25rem;
  background: rgba(255,255,255,0.7);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-card span {
  color: #f58220;
  font-family: 'Courier New', monospace;
  font-size: 0.7rem;
  font-weight: 700;
}

.page-card h3 {
  margin-top: auto;
  font-family: var(--font-display);
  font-size: clamp(1.7rem,2.3vw,2.6rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.page-card p {
  margin-top: 0.75rem;
  color: #5b5b55;
  font-size: 0.92rem;
  line-height: 1.55;
}

.page-spec-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 1px;
  margin-top: 2rem;
  border: 1px solid rgba(17,17,15,0.15);
  background: rgba(17,17,15,0.15);
}

.page-spec-strip span {
  min-height: 62px;
  padding: 1rem;
  background: rgba(255,255,255,0.68);
  color: #33332f;
  font-family: 'Courier New', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.page-inline-cta {
  padding: 0 0 clamp(4rem,7vw,6rem);
}

.page-inline-cta-card {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(260px, 0.28fr);
  gap: clamp(2rem,4vw,4rem);
  align-items: end;
  padding: clamp(2rem,4vw,3.5rem);
  border: 1px solid rgba(17,17,15,0.16);
  background:
    radial-gradient(circle at 86% 20%, rgba(245,130,32,0.22), transparent 18rem),
    #11110f;
  color: #fff;
  box-shadow: 0 28px 80px rgba(17,17,15,0.14);
}

.page-inline-cta-card .page-kicker {
  margin-bottom: 0.9rem;
}

.page-inline-cta-card h2 {
  max-width: 820px;
  font-family: var(--font-display);
  font-size: clamp(2.4rem,5vw,5.8rem);
  line-height: 0.9;
  letter-spacing: -0.08em;
  color: #fff;
}

.page-inline-cta-card p {
  max-width: 720px;
  margin-top: 1rem;
  color: rgba(255,255,255,0.72);
  font-size: clamp(1rem,1.2vw,1.08rem);
  line-height: 1.7;
}

.page-inline-cta-actions {
  display: grid;
  gap: 1rem;
  justify-items: stretch;
}

.page-inline-cta-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 1.35rem;
  border-radius: 999px;
  background: #f58220;
  color: #11110f;
  font-weight: 850;
  text-decoration: none;
}

.page-inline-cta-actions span {
  color: rgba(255,255,255,0.62);
  font-size: 0.9rem;
  line-height: 1.45;
}

.page-inline-cta-actions strong {
  color: #fff;
  font-weight: 800;
}

.page-cta {
  padding: clamp(3rem,6vw,5rem) 0;
  background: #11110f;
  color: #fff;
}

.page-cta .container {
  display: grid;
  grid-template-columns: minmax(0,0.7fr) auto;
  gap: 2rem;
  align-items: center;
}

.page-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem,5vw,5.8rem);
  line-height: 0.9;
  letter-spacing: -0.08em;
  color: #fff;
}

.page-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.15rem;
  border-radius: 999px;
  background: #f58220;
  color: #11110f;
  font-weight: 800;
  text-decoration: none;
}

.nav-links a.is-active {
  color: #fff;
}

.simple-footer {
  padding: 1.4rem 0;
  background: #11110f;
  border-top: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.42);
  font-size: 0.78rem;
}

.simple-footer .container {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

@media (max-width: 1100px) {
  .page-hero {
    min-height: auto;
    padding-top: 7rem;
  }

  .page-hero-grid,
  .page-section-grid,
  .page-cta .container,
  .page-inline-cta-card {
    grid-template-columns: 1fr;
  }

  .page-inline-cta-actions {
    max-width: 420px;
  }

  .page-card-grid,
  .page-spec-strip {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}

@media (max-width: 700px) {
  .page-title {
    font-size: clamp(3.2rem,16vw,5rem);
  }

  .page-panel-row,
  .technical-list article,
  .page-card-grid,
  .page-spec-strip {
    grid-template-columns: 1fr;
  }

  .technical-list p {
    grid-column: auto;
  }

  .page-inline-cta {
    padding-bottom: 3rem;
  }

  .page-inline-cta-card {
    padding: 1.5rem;
  }

  .simple-footer .container {
    flex-direction: column;
  }
}