:root {
  --ink: #20242a;
  --muted: #646b73;
  --line: #d8dde2;
  --paper: #f6f7f7;
  --steel: #e7eaed;
  --white: #ffffff;
  --red: #171b62;
  --red-dark: #0d1148;
  --green: #138a55;
  --graphite: #363b40;
  --shadow: 0 20px 50px rgba(30, 34, 38, 0.12);
  --radius: 8px;
  --max: 1180px;
}

* {
  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.55;
}

img,
iframe {
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 44px);
  border-bottom: 1px solid rgba(32, 36, 42, 0.12);
  background: rgba(246, 247, 247, 0.94);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  min-width: 210px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 6px;
  overflow: hidden;
  background: var(--white);
  color: var(--white);
  font-weight: 800;
  font-size: 20px;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-logo,
.brand small {
  display: block;
}

.brand-logo {
  width: 118px;
  height: auto;
  margin-bottom: 2px;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.5vw, 30px);
  color: var(--muted);
  font-size: 14px;
}

.nav a,
.header-cta {
  text-decoration: none;
}

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

.header-cta {
  padding: 10px 15px;
  border: 1px solid var(--red);
  border-radius: 6px;
  color: var(--red);
  font-weight: 700;
  white-space: nowrap;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(440px, 0.88fr);
  min-height: min(760px, calc(100vh - 67px));
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(246, 247, 247, 0.96) 0%, rgba(246, 247, 247, 0.88) 48%, rgba(246, 247, 247, 0.2) 100%),
    repeating-linear-gradient(90deg, rgba(32, 36, 42, 0.04) 0, rgba(32, 36, 42, 0.04) 1px, transparent 1px, transparent 72px);
}

.hero-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  max-width: 760px;
  padding: clamp(42px, 6vw, 74px) clamp(22px, 6vw, 78px);
}

.hero-media {
  position: absolute;
  inset: 0 0 0 auto;
  width: 52%;
  display: grid;
  place-items: center;
  padding: 8vh 5vw 8vh 0;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 8% 0 8% 20%;
  background: #d6dade;
  transform: skewX(-7deg);
  border-left: 12px solid var(--red);
}

.hero-media img {
  position: relative;
  width: min(620px, 45vw);
  max-height: 72vh;
  object-fit: contain;
  filter: drop-shadow(0 24px 36px rgba(32, 36, 42, 0.22));
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: clamp(38px, 5.4vw, 62px);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.2;
}

.hero-lead {
  max-width: 640px;
  color: #454b52;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  background: var(--red);
  color: var(--white);
}

.button.primary:hover {
  background: var(--red-dark);
}

.button.secondary {
  border-color: var(--green);
  background: var(--white);
  color: var(--green);
}

.button.secondary:hover {
  background: #eef8f3;
}

.hero .button {
  min-width: 268px;
}

.hero .button.secondary {
  border-color: var(--red);
  background: var(--red);
  color: var(--white);
}

.hero .button.secondary:hover {
  border-color: var(--red-dark);
  background: var(--red-dark);
}

.final-cta .button {
  width: 280px;
}

.final-cta .button.secondary {
  border-color: var(--red);
  background: var(--red);
  color: var(--white);
}

.final-cta .button.secondary:hover {
  border-color: var(--red-dark);
  background: var(--red-dark);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 720px;
  margin: 30px 0 0;
}

.hero-facts div {
  padding: 18px;
  border-left: 4px solid var(--red);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 8px 28px rgba(32, 36, 42, 0.08);
}

.hero-facts dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-facts dd {
  margin: 4px 0 0;
  font-weight: 800;
}

.visual-proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.visual-proof figure {
  position: relative;
  min-height: 280px;
  margin: 0;
  padding: 24px;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--white);
}

.visual-proof img {
  position: absolute;
  inset: 18px 18px 56px;
  width: calc(100% - 36px);
  height: calc(100% - 86px);
  object-fit: contain;
}

.visual-proof figcaption {
  position: relative;
  z-index: 1;
  color: var(--ink);
  font-weight: 800;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(64px, 8vw, 100px) clamp(18px, 4vw, 30px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading.wide {
  max-width: 880px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.pain-grid article,
.process-flow article,
.video-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 30px rgba(32, 36, 42, 0.06);
}

.pain-grid article {
  padding: 22px;
}

.pain-grid span {
  color: var(--red);
  font-weight: 900;
}

.pain-grid p,
.process-flow p,
.machine-card p,
.machine-card li,
.video-grid p {
  color: var(--muted);
}

.process-section {
  max-width: 1280px;
}

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

.flow-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  min-height: 330px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 30px rgba(32, 36, 42, 0.06);
}

.flow-card b {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-size: 13px;
}

.flow-media {
  position: relative;
  min-height: 178px;
  margin-bottom: 14px;
  border-radius: 6px;
  background: #eef0f2;
  overflow: hidden;
}

.flow-media .machine {
  position: absolute;
  inset: 12px 12px 12px 12px;
  width: calc(100% - 24px);
  height: calc(100% - 24px);
  object-fit: contain;
}

.flow-media .diagram {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 78px;
  height: 78px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--white);
  object-fit: contain;
}

.flow-media .qr {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 54px;
  height: 54px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--white);
  object-fit: contain;
}

.flow-card h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.flow-card p {
  margin: 0;
  color: var(--muted);
}

.process-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  counter-reset: step;
}

.process-flow article {
  position: relative;
  min-height: 270px;
  padding: 18px;
  overflow: hidden;
}

.process-flow article::after {
  content: "";
  position: absolute;
  right: -20px;
  bottom: -20px;
  width: 90px;
  height: 90px;
  border: 12px solid rgba(194, 39, 45, 0.09);
  border-radius: 50%;
}

.process-flow b {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--graphite);
  color: var(--white);
  font-size: 13px;
}

.process-flow img {
  display: block;
  width: 100%;
  height: 118px;
  margin-bottom: 16px;
  border-radius: 6px;
  object-fit: contain;
  background: #eef0f2;
}

.process-flow h3,
.process-flow p {
  position: relative;
  z-index: 2;
}

.image-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 60px);
  padding: clamp(50px, 7vw, 86px) clamp(22px, 7vw, 90px);
  background: var(--graphite);
  color: var(--white);
}

.image-band p:not(.eyebrow) {
  color: #d8dde2;
  font-size: 18px;
}

.image-band img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: var(--shadow);
}

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

.machine-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(32, 36, 42, 0.06);
}

.machine-card img,
.schematic {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #eef0f2;
}

.machine-card > div:not(.schematic) {
  padding: 24px;
}

.machine-card ul {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding-left: 20px;
}

.machine-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.machine-strip img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  object-fit: contain;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(32, 36, 42, 0.05);
}

.schematic {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.schematic::before {
  content: "";
  width: 58%;
  aspect-ratio: 1 / 1;
  border: 22px solid #bfc6cc;
  border-radius: 50%;
  box-shadow: inset 0 0 0 18px #eef0f2;
}

.schematic span {
  position: absolute;
  width: 64%;
  height: 8px;
  background: var(--red);
}

.schematic span:nth-child(1) {
  transform: rotate(0deg);
}

.schematic span:nth-child(2) {
  transform: rotate(60deg);
}

.schematic span:nth-child(3) {
  transform: rotate(-60deg);
}

.video-section {
  max-width: 1280px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.video-grid article {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.video-grid .short-video {
  width: 100%;
  justify-self: center;
}

.video-grid iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  flex: 0 0 auto;
  border: 0;
  background: var(--graphite);
}

.video-grid .short-video iframe {
  aspect-ratio: 9 / 16;
}

.video-grid .wide-video {
  grid-column: span 2;
}

.video-grid h3 {
  margin: 0;
  padding: 14px 16px 18px;
  font-size: 17px;
}

.booking-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(420px, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.booking-copy {
  position: sticky;
  top: 100px;
}

.booking-copy > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

.show-info {
  margin-top: 28px;
  padding: 22px;
  border-left: 5px solid var(--red);
  background: var(--white);
  box-shadow: 0 10px 30px rgba(32, 36, 42, 0.06);
}

.show-info p {
  margin-bottom: 8px;
}

.show-info p:last-child {
  margin-bottom: 0;
}

.booking-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.booking-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
  width: 100%;
  border: 1px solid #cbd1d6;
  border-radius: 6px;
  padding: 12px 12px;
  color: var(--ink);
  background: #fbfbfb;
  font: inherit;
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
  outline: 2px solid rgba(194, 39, 45, 0.22);
  border-color: var(--red);
  background: var(--white);
}

.booking-form .full {
  grid-column: 1 / -1;
}

.booking-form button {
  width: 100%;
  font-size: 16px;
  white-space: normal;
  text-align: center;
  line-height: 1.25;
}

.form-note {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.final-cta {
  padding: clamp(58px, 8vw, 90px) clamp(22px, 6vw, 80px);
  background: #eaf2fb;
  color: var(--ink);
  text-align: center;
}

.final-cta h2 {
  max-width: 900px;
  margin-right: auto;
  margin-left: auto;
}

.final-cta .hero-actions {
  justify-content: center;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 24px clamp(18px, 4vw, 44px);
  color: #d7dbdf;
  background: #101214;
  font-size: 14px;
}

.footer p {
  margin: 0;
}

.footer a {
  color: var(--white);
}

@media (max-width: 1000px) {
  .nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-media {
    position: relative;
    width: 100%;
    min-height: 360px;
    padding: 40px 22px;
    order: 2;
  }

  .hero-media img {
    width: min(520px, 82vw);
  }

  .pain-grid,
  .visual-proof,
  .manufacturing-flow,
  .machine-grid,
  .machine-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .video-grid {
    grid-template-columns: 1fr;
  }

  .video-grid .short-video,
  .video-grid .wide-video {
    grid-column: 1 / -1;
    width: 100%;
    justify-self: center;
  }

  .video-grid .short-video {
    max-width: 430px;
  }

  .video-grid .wide-video {
    max-width: 760px;
  }

  .process-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .image-band,
  .booking-section {
    grid-template-columns: 1fr;
  }

  .booking-copy {
    position: static;
  }
}

@media (max-width: 680px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand small,
  .header-cta {
    display: none;
  }

  .hero-copy {
    padding: 46px 18px 30px;
  }

  h1 {
    font-size: 42px;
  }

  .hero-lead {
    font-size: 17px;
  }

  .button {
    width: 100%;
  }

  .hero-facts,
  .pain-grid,
  .visual-proof,
  .manufacturing-flow,
  .process-flow,
  .machine-grid,
  .machine-strip,
  .video-grid,
  .booking-form {
    grid-template-columns: 1fr;
  }

  .video-grid {
    grid-template-columns: 1fr;
  }

  .video-grid .short-video,
  .video-grid .wide-video {
    grid-column: 1 / -1;
    width: 100%;
    justify-self: center;
  }

  .video-grid .short-video {
    max-width: 430px;
  }

  .video-grid .wide-video {
    max-width: 100%;
  }

  .hero-facts div {
    padding: 15px;
  }

  .section {
    padding: 58px 18px;
  }

  .process-flow article {
    min-height: 0;
  }

  .image-band {
    padding: 50px 18px;
  }
}
