/* ==========================================================================
   Lohabour — Process.css
   Process-page-only styles. Assumes base.css is already loaded for
   variables, typography, buttons, reveal system, section primitives,
   tags, header, and footer. Self-contained — no dependency on index.css,
   Solutions.css or Manufacturing.css.
   ========================================================================== */

/* base.css only defines .display--lg and .display--md — this page's
   step headings use one size smaller than either. */
.display--sm {
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin: 10px 0 16px;
}

/* ---------------- Hero (text-only, no media — deliberately calmer
   than Solutions/Manufacturing since Process is about clarity, not
   spectacle) ---------------- */

.proc-hero {
  padding: 200px 0 100px;
  background: var(--bg);
}

.proc-hero__inner {
  max-width: 820px;
}

@keyframes procFadeUp {
  from {
    opacity: 0;
    transform: translate3d(0, 24px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.proc-fade {
  animation: procFadeUp 0.9s var(--ease-soft) var(--d, 0s) both;
}

.proc-hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  font-size: 11px;
  color: rgba(241, 239, 232, 0.82);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
}

.proc-hero__kicker::before {
  content: '';
  width: 28px;
  height: 1px;
  flex: 0 0 auto;
  background: var(--accent);
}

.proc-hero .display--lg {
  margin: 14px 0 24px;
}

.proc-hero .lede {
  max-width: 62ch;
  margin-bottom: 14px;
}

.proc-hero .mono-label:first-child {
  margin-bottom: 4px;
}

.proc-hero__ctas {
  margin-top: 28px;
  margin-bottom: 48px;
}

.proc-hero__meta {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--text-secondary);
}

@media (max-width: 700px) {
  .proc-hero {
    padding: 130px 0 70px;
  }
}

/* ---------------- Introduction highlights ---------------- */

.proc-highlight-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.proc-highlight__num {
  display: block;
  margin-bottom: 14px;
}

.proc-highlight h3 {
  font-size: 19px;
  font-weight: 500;
  margin: 0 0 8px;
}

.proc-highlight p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0;
  max-width: 32ch;
}

@media (max-width: 760px) {
  .proc-highlight-row {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* ---------------- The Process — alternating left/right timeline ---------------- */

.proc-timeline {
  margin-top: 32px;
  position: relative;
}

.proc-step {
  padding: 64px 0;
  border-top: 1px solid var(--border);
}

.proc-step:last-child {
  border-bottom: 1px solid var(--border);
}

.proc-step__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* Odd steps (0-indexed even, i.e. 1st, 3rd...): image left, text right.
   Reverse steps: text left, image right. */
.proc-step--reverse .proc-step__grid {
  direction: rtl;
}

.proc-step--reverse .proc-step__grid > * {
  direction: ltr;
}

.proc-step__media {
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.proc-step__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.92) brightness(0.94);
  transform: scale(1.02);
  transition: transform 0.9s var(--ease-soft), filter 0.9s var(--ease);
}

.proc-step__media:hover img {
  transform: scale(1.06);
  filter: saturate(1) brightness(1);
}

.proc-step__num {
  color: var(--accent);
  font-size: 34px;
  font-family: var(--font-mono);
  font-weight: 400;
  letter-spacing: 0;
  margin-bottom: 6px;
  display: block;
}

.proc-step__ref {
  margin-bottom: 4px;
  color: var(--text-secondary);
}

.proc-step__text .display--sm {
  color: var(--text);
}

.proc-step__text .lede {
  margin-bottom: 20px;
}

.proc-step__flow {
  color: rgba(241, 239, 232, 0.45);
  text-transform: none;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
  line-height: 1.7;
}

@media (max-width: 900px) {
  .proc-step {
    padding: 48px 0;
  }
  .proc-step__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .proc-step--reverse .proc-step__grid {
    direction: ltr;
  }
  .proc-step__media {
    aspect-ratio: 16 / 10;
  }
}

/* ---------------- Visual statement ---------------- */

.proc-statement {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  text-align: center;
}

.proc-statement__media {
  position: absolute;
  top: -40px;
  right: 0;
  bottom: -40px;
  left: 0;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.proc-statement__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.proc-gradient {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg,
      rgba(10, 10, 9, 0.60) 0%,
      rgba(10, 10, 9, 0.45) 35%,
      rgba(10, 10, 9, 0.88) 100%);
}

.proc-gradient--strong {
  background: linear-gradient(180deg, rgba(10, 10, 9, 0.55) 0%, rgba(10, 10, 9, 0.85) 100%);
}

.proc-statement__inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.proc-statement__inner .mono-label {
  justify-content: center;
}

.proc-statement__inner .display {
  margin: 16px auto 24px;
}

.proc-statement__big {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--text);
  max-width: 26ch;
  margin: 0 auto 20px;
}

.proc-statement__text {
  max-width: 56ch;
  margin: 0 auto;
}

@media (max-width: 700px) {
  .proc-statement {
    min-height: 54vh;
    padding: 60px 0;
  }
}

/* ---------------- Different starting points ---------------- */

.proc-start-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.proc-start-card {
  border: 1px solid var(--border);
  padding: 32px 28px;
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease);
}

.proc-start-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.proc-start-card__num {
  display: block;
  margin-bottom: 16px;
}

.proc-start-card h3 {
  font-size: 18px;
  font-weight: 500;
  margin: 0 0 10px;
  line-height: 1.3;
}

.proc-start-card p {
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0;
}

@media (max-width: 900px) {
  .proc-start-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ---------------- OEM / ODM (compact, centered) ---------------- */

.proc-oem {
  position: relative;
  padding: 120px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.proc-oem .section-head {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.proc-oem .mono-label {
  justify-content: center;
}

.proc-oem .lede {
  margin-left: auto;
  margin-right: auto;
}

.proc-oem-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 48px 0 40px;
}

.proc-oem-flow__step {
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 11px 18px;
  white-space: nowrap;
}

.proc-oem-flow__arrow {
  color: var(--accent);
  flex: 0 0 auto;
}

@media (max-width: 700px) {
  .proc-oem {
    padding: 90px 0;
  }
  .proc-oem-flow {
    flex-direction: column;
    gap: 10px;
  }
  .proc-oem-flow__arrow {
    transform: rotate(90deg);
  }
}

/* ---------------- Project communication ---------------- */

.proc-comm-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  margin-top: 8px;
}

.proc-comm-item {
  background: var(--bg);
  padding: 28px 24px;
}

.proc-comm-item__num {
  display: block;
  margin-bottom: 14px;
}

.proc-comm-item h4 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 8px;
}

.proc-comm-item p {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}

@media (max-width: 900px) {
  .proc-comm-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .proc-comm-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------------- Final CTA banner ---------------- */

.cta-banner {
  position: relative;
  padding: 160px 0;
  text-align: center;
  overflow: hidden;
}

.cta-banner .container {
  position: relative;
  z-index: 2;
}

.cta-banner .display {
  margin: 16px auto 20px;
}

.cta-banner .lede {
  margin: 0 auto 32px;
}

.cta-banner__ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.cta-banner .mono-label {
  justify-content: center;
}



@media (prefers-reduced-motion: reduce) {
  .proc-step__media img,
  .proc-statement__media img {
    transform: none;
  }
}