@font-face {
  font-family: "Montserrat Process";
  src: url("assets/montserrat-medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat Process";
  src: url("assets/montserrat-semibold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat Process";
  src: url("assets/montserrat-black.ttf") format("truetype");
  font-style: normal;
  font-weight: 800 950;
  font-display: swap;
}
/* The approved four illustrations share one untouched image. SVG viewports
   display each scene without regenerating Iggy's corrected pose or hammer. */
.home-process {
  --process-ink: #080e2d;
  padding-block: clamp(12px, 1.6vw, 16px);
  /* Match the About hero's oceanfront still and navy overlays. */
  background-color: #061d56;
  background-image:
    linear-gradient(90deg, rgb(2 18 54 / 42%), transparent 72%),
    linear-gradient(180deg, rgb(5 30 93 / 79%), rgb(7 33 101 / 53%) 43%, rgb(2 18 54 / 96%)),
    url("assets/home-roof-video-clear-poster.jpg");
  background-size: cover;
  background-origin: border-box;
  background-position: center, center, 54% center;
  background-repeat: no-repeat;
  color: var(--process-ink);
  font-family: "Montserrat Process", Arial, sans-serif;
  border-top: 1px solid rgb(8 43 234 / 10%);
  border-bottom: 1px solid #051638;
  scroll-margin-top: 12px;
}
.home-process .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.home-process-inner { max-width: 1100px; }
.home-process-heading { text-align: center; }

.home-process-heading h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(24px, 2.3vw, 30px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.04em;
  text-transform: uppercase;
  text-wrap: balance;
  text-shadow: 0 2px 3px rgb(4 20 45 / 65%), 0 4px 14px rgb(4 20 45 / 35%);
}
.home-process-intro {
  margin: 4px auto 0;
  color: #fff;
  text-shadow: 0 1px 3px rgb(4 20 45 / 80%);
  max-width: 720px;
  font-size: clamp(14px, 1.2vw, 16px);
  font-weight: 400;
  line-height: 1.35;
  text-wrap: balance;
}
.home-process-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  max-width: 920px;
  margin: 10px auto 0;
  padding: 0;
  list-style: none;
}
.home-process-step {
  min-width: 0;
  padding-top: 4px;
  overflow: hidden;
  background: linear-gradient(145deg, #fff 25%, #fcf8f2 100%);
  border: 1px solid rgb(8 43 234 / 75%);
  border-top: 3px solid var(--blue);
  border-radius: 10px;
  box-shadow: 0 5px 12px rgb(8 22 67 / 13%), 0 1px 2px rgb(8 43 234 / 10%);
}
.home-process-art {
  display: block;
  width: min(62px, calc(100% - 10px));
  height: auto;
  margin-inline: auto;
  overflow: hidden;
  aspect-ratio: 334 / 328;
  border-radius: 9px 9px 0 0;
}
.home-process-copy { padding: 0 10px 9px; }
.home-process-copy h3 {
  min-height: 2.2em;
  margin: 0 0 4px;
  color: var(--process-ink);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.035em;
  text-transform: none;
  text-wrap: balance;
  text-shadow: 0 1px 2px rgb(8 14 45 / 8%);
}
.home-process-copy p {
  margin: 0;
  color: var(--process-ink);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
}
.home-process-action { margin-top: 9px; text-align: center; }
.home-process .home-process-cta {
  width: min(100%, 280px);
  min-height: 44px;
  justify-content: center;
  padding: 7px 24px;
  border-radius: 8px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: .01em;
  background: var(--orange);
}
.home-process .home-process-cta:hover { background: var(--blue); }
.home-process .home-process-cta:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 5px;
}
/* Keep each desktop step on one horizontal card, with room for text to wrap. */
@media (min-width: 1001px) {
  .home-process { padding-block: 6px; }
  .home-process-inner {
    max-width: none;
    padding-inline: clamp(16px, 1.5vw, 28px);
  }
  .home-process-heading h2 { font-size: clamp(23px, 2vw, 28px); }
  .home-process-intro { margin-top: 2px; font-size: 14px; }
  .home-process-steps { max-width: none; margin-top: 7px; gap: 12px; }
  .home-process-step {
    display: grid;
    grid-template-columns: clamp(54px, 5.3vw, 74px) minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    min-height: 84px;
    padding: 5px 8px;
  }
  .home-process-art { width: 100%; margin: 0; }
  .home-process-copy { padding: 0 2px 0 0; }
  .home-process-copy h3 {
    min-height: 0;
    margin-bottom: 3px;
    font-size: clamp(16px, 1.25vw, 18px);
    text-wrap: pretty;
  }
  .home-process-action { margin-top: 5px; }
}
@media (min-width: 1001px) and (max-width: 1199px) {
  .home-process-heading { display: flex; align-items: baseline; justify-content: center; flex-wrap: wrap; gap: 2px 16px; }
  .home-process-intro { margin: 0; }
  .home-process-step { grid-template-columns: 40px minmax(0, 1fr); grid-template-rows: auto 1fr; gap: 3px 7px; padding: 4px 7px; }
  .home-process-copy { display: contents; }
  .home-process-copy h3 { margin: 0; }
  .home-process-copy p { grid-column: 1 / -1; align-self: start; }
}
@media (min-width: 601px) and (max-width: 1000px) {
  .home-process-inner { padding-inline: 16px; }
  .home-process-copy h3 { min-height: 0; }
}
@media (max-width: 800px) and (min-width: 601px) {
  .home-process-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 660px;
    margin-inline: auto;
    gap: 10px;
  }
}
@media (max-width: 600px) {
  .home-process { padding-block: 12px; }
  .home-process-inner { padding-inline: 12px; }
  .home-process-heading h2 { font-size: clamp(23px, 6vw, 28px); }
  .home-process-steps { grid-template-columns: 1fr; grid-auto-rows: 1fr; max-width: 440px; gap: 6px; }
  .home-process-step {
    display: grid;
    grid-template-columns: clamp(48px, 14vw, 64px) minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    padding: 5px 10px 5px 5px;
  }
  .home-process-art { width: 100%; margin: 0; }
  .home-process-copy { padding: 0; }
  .home-process-copy h3 { min-height: 0; margin-bottom: 3px; }
}
@media (forced-colors: active) {
  .home-process, .home-process-step { background: Canvas; color: CanvasText; border-color: CanvasText; }
  .home-process :is(h2, h3, p) { color: CanvasText; text-shadow: none; }
  .home-process .home-process-cta { border: 2px solid ButtonText; }
}
