/* ==========================================================================
   manufacturing.css – Manufacturing page (Figma frame "manufacturing" 1:4151, 1920 × 9700)
   1 Figma px = var(--u). Shared hero, .cut-frame and .tick-list live in pages.css.
   ========================================================================== */

/* ---------- Intro (1:4190 – title y684, text y844) ---------- */
.mfg-intro { position: relative; padding-top: calc(96 * var(--u)); }
/* triangle strip – Figma 1:4152 (x -72, y 360), same tiles as About */
.mfg-intro__triangles {
  position: absolute; left: calc(-2 * var(--u)); top: calc(-228 * var(--u));
  width: calc(224 * var(--u)); height: calc(588 * var(--u));
  max-width: none; pointer-events: none;
}
.mfg-intro__copy { position: relative; width: calc(1054 * var(--u)); margin-inline: auto; }
.mfg-intro__text {
  margin-top: calc(16 * var(--u));
  color: var(--c-text);
  font-size: calc(24 * var(--u));
  line-height: calc(36 * var(--u));
  text-align: center;
}
.mfg-intro__text p + p { margin-top: calc(36 * var(--u)); }

/* ---------- Process blocks (rule at top, content 64px below, 96px between blocks) ---------- */
.processes { margin-top: calc(96 * var(--u)); }
.process {
  display: grid;
  grid-template-columns: calc(648 * var(--u)) calc(872 * var(--u));
  column-gap: calc(80 * var(--u));
  align-items: start;
  position: relative;
  padding-top: calc(64 * var(--u));
}
/* top rule – Figma "Line" #c8c8c8; zero-height in Figma, so it overlays instead of adding 1px */
.process::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--c-border); }
.process + .process { margin-top: calc(96 * var(--u)); }
.process--media-right { grid-template-columns: calc(872 * var(--u)) calc(648 * var(--u)); }
.process--media-right .process__media { grid-column: 2; grid-row: 1; }
.process--media-right .process__body { grid-column: 1; grid-row: 1; }

/* photo stays in view while the text beside it scrolls (Figma: sticky, top 0) */
.process__media {
  position: sticky; top: calc(160 * var(--u));
  height: calc(690 * var(--u));
  overflow: hidden;
}

.process__title {
  color: #000;
  font-weight: 600;
  font-size: calc(56 * var(--u));
  line-height: calc(72 * var(--u));
}
.process__text {
  margin-top: calc(16 * var(--u));
  color: var(--c-text);
  font-size: calc(24 * var(--u));
  line-height: calc(36 * var(--u));
}
.process__text p + p { margin-top: calc(36 * var(--u)); }
.process__subtitle {
  margin-top: calc(24 * var(--u));
  color: #000;
  font-weight: 600;
  font-size: calc(32 * var(--u));
  line-height: calc(48 * var(--u));
}
.process .tick-list { margin-top: calc(8 * var(--u)); }
.process__note {
  margin-top: calc(32 * var(--u));
  color: var(--c-text);
  font-size: calc(24 * var(--u));
  line-height: calc(36 * var(--u));
}
.process__note b { font-weight: 700; }
.process__btn { margin-top: calc(40 * var(--u)); }

/* CTA banner styles: shared, in pages.css */

/* ==========================================================================
   TABLET + MOBILE (< 1200px) – same content and order, reflowed
   ========================================================================== */
@media (max-width: 1199.98px) {
  .mfg-intro { padding-top: 64px; }
  .mfg-intro__triangles { display: none; }
  .mfg-intro__copy { width: calc(100% - var(--gutter) * 2); max-width: 820px; }
  .mfg-intro__text { margin-top: 16px; font-size: 17px; line-height: 1.6; }
  .mfg-intro__text p + p { margin-top: 16px; }

  .processes { margin-top: 56px; }
  .process, .process--media-right { grid-template-columns: 1fr 1fr; column-gap: 32px; padding-top: 40px; }
  .process + .process { margin-top: 56px; }
  .process__media { top: 96px; height: auto; aspect-ratio: 648 / 690; }
  .process__title { font-size: clamp(26px, 3.6vw, 36px); line-height: 1.25; }
  .process__text, .process__note { margin-top: 12px; font-size: 17px; line-height: 1.6; }
  .process__text p + p { margin-top: 12px; }
  .process__note { margin-top: 20px; }
  .process__subtitle { margin-top: 20px; font-size: 22px; line-height: 32px; }
  .process .tick-list { margin-top: 10px; }
  .process__btn { margin-top: 28px; }

}

@media (max-width: 767.98px) {
  .process, .process--media-right { grid-template-columns: 1fr; row-gap: 28px; }
  .process--media-right .process__media, .process--media-right .process__body { grid-column: 1; grid-row: auto; }
  .process__media { position: relative; top: auto; max-width: 480px; }

}
