/* ==========================================================================
   Residential / Get started: "Get healthy air in 3 simple steps."
   Live desktop: framer-JQyt1 component (variant zxbk8n) in .framer-7qxzxi-container.
   Tablet and phone: hidden here; Framer renders this content inside its "Steps" node
   there, rebuilt as .nf-res-steps-tab / .nf-res-steps-ph in 75-steps.
   Sizes, gaps, paddings and overflow copied from the Framer CSS.
   ========================================================================== */

/* Inter 400 (latin), the file the live site loads for the "STEP n" labels */
@font-face { font-family: Inter; src: url("../../../assets/fonts/inter-400-latin.woff2") format("woff2"); font-display: swap; font-style: normal; font-weight: 400; unicode-range: U+0-FF, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Desktop (>= 1440px); the block is hidden below 1440 ---------- */
.nf-res-start {
  /* Framer in-view fade (opacity only), sampled per frame on live: 0 -> 1 in ~0.43s, same curve back */
  --nf-res-start-fade-ease: linear(0, 0.022, 0.078, 0.164, 0.245, 0.345, 0.437, 0.518, 0.601, 0.666, 0.72, 0.773, 0.816, 0.856, 0.886, 0.913, 0.934, 0.949, 0.962, 0.972, 0.979, 0.986, 0.991, 0.994, 0.997, 0.999, 1);

  position: relative; display: block; width: 100%; height: auto;
}
.nf-res-start__inner {
  position: relative; display: flex; flex-flow: column; justify-content: center; align-items: flex-start; gap: 40px;
  width: 100%; height: min-content; padding: 80px 60px 40px; overflow: visible;
  background-color: var(--nf-grey-f5);
}
.nf-res-start__row {
  position: relative; display: flex; flex-flow: row; justify-content: space-between; align-items: center;
  flex: 0 0 auto; width: 100%; height: min-content; padding: 0; overflow: hidden;
}

/* Left: heading (framer-1m22t7k > container > SCVbH "English" variant, 400px wide) */
.nf-res-start__head {
  position: relative; display: flex; flex-flow: row; justify-content: center; align-items: flex-start; gap: 10px;
  flex: 0 0 auto; align-self: stretch; width: min-content; height: auto; padding: 0; overflow: hidden;
}
.nf-res-start__head-inner {
  position: relative; display: flex; flex-flow: column; justify-content: flex-start; align-items: center; gap: 10px;
  flex: 0 0 auto; width: 400px; height: 100%; padding: 0; overflow: hidden;
}
.nf-res-start__title-box { position: relative; flex: 0 0 auto; width: 100%; max-width: 100%; height: auto; }
.nf-res-start__title {
  font-family: var(--nf-font-sfns-text); font-size: 52px; font-weight: 400; line-height: 1.2em; letter-spacing: normal;
  text-align: left; color: var(--nf-black);
  white-space: pre-wrap; word-break: break-word; overflow-wrap: break-word;
}
.nf-res-start__title-grey { color: var(--nf-grey-61); }

/* Right: label row + three step columns (framer-kx6ata, 802px) */
.nf-res-start__main {
  position: relative; display: flex; flex-flow: column; justify-content: center; align-items: center; gap: 40px;
  flex: 0 0 auto; width: 802px; height: min-content; padding: 0; overflow: clip;
}
.nf-res-start__labels {
  position: relative; display: flex; flex-flow: row; justify-content: center; align-items: center; gap: 40px;
  flex: 0 0 auto; width: 100%; height: 29px; padding: 0; overflow: clip;
}
.nf-res-start__label-cell {
  position: relative; display: flex; flex-flow: row; justify-content: center; align-items: center; gap: 40px;
  flex: 1 0 0px; width: 1px; height: min-content; padding: 0; overflow: hidden;
}
.nf-res-start__label { position: relative; flex: 0 0 auto; width: auto; height: auto; white-space: pre; }
.nf-res-start__label-text {
  font-family: Inter, "Inter Placeholder", sans-serif; font-size: 24px; font-weight: 400; line-height: 1.2em;
  letter-spacing: normal; color: var(--nf-grey-61); white-space: pre;
}
.nf-res-start__line { position: relative; flex: 1 0 0px; width: 1px; height: 1px; overflow: hidden; background-color: var(--nf-grey-9e); }

.nf-res-start__steps {
  position: relative; display: flex; flex-flow: row; justify-content: flex-start; align-items: center; gap: 40px;
  flex: 0 0 auto; width: 100%; height: 614px; margin: 0; padding: 0; list-style: none; overflow: hidden;
}
.nf-res-start__step {
  position: relative; display: flex; flex-flow: column; justify-content: flex-start; align-items: center; gap: 40px;
  flex: 1 0 0px; width: 1px; height: 614px; padding: 0; overflow: hidden;
}
.nf-res-start__text {
  position: relative; display: flex; flex-flow: column; justify-content: center; align-items: flex-start; gap: 10px;
  flex: 0 0 auto; width: 100%; height: min-content; padding: 0; overflow: hidden;
}
.nf-res-start__text-inner {
  position: relative; display: flex; flex-flow: column; justify-content: flex-start; align-items: flex-start; gap: 20px;
  flex: 0 0 auto; width: 100%; height: min-content; padding: 0; overflow: hidden;
}
.nf-res-start__step-head {
  position: relative; display: flex; flex-flow: column; justify-content: center; align-items: flex-start; gap: 40px;
  flex: 0 0 auto; width: 100%; height: min-content; padding: 0; overflow: hidden;
}
.nf-res-start__step-title-box { position: relative; flex: 0 0 auto; width: 100%; max-width: 100%; height: auto; }
.nf-res-start__desc-box { position: relative; flex: 0 0 auto; width: 580px; max-width: 100%; height: auto; }
.nf-res-start__step-title, .nf-res-start__desc {
  font-family: var(--nf-font-sfns-text); font-weight: 400; letter-spacing: normal; text-align: left; color: var(--nf-black);
  white-space: pre-wrap; word-break: break-word; overflow-wrap: break-word;
}
.nf-res-start__step-title { font-size: 32px; line-height: 1.2em; }
.nf-res-start__desc { font-size: 16px; line-height: 1.2em; }

.nf-res-start__media {
  position: relative; flex: 0 0 auto; width: 100%; height: 400px; overflow: hidden; border-radius: 18px;
  will-change: transform;
}
.nf-res-start__media-fill { position: absolute; inset: 0; border-radius: inherit; }
.nf-res-start__img {
  display: block; width: 100%; height: 100%; border-radius: inherit;
  object-fit: cover; object-position: center;
}
.nf-res-start__img--right { object-position: right center; }

/* In-view fade: >= 50% of the text box visible fades in, below 50% fades out again (both edges).
   Only hidden once the script runs, so the copy stays visible without JS. */
.nf-res-start.is-js .nf-res-start__fade { opacity: 0; transition: opacity 0.433s var(--nf-res-start-fade-ease); }
.nf-res-start.is-js .nf-res-start__fade.is-in { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .nf-res-start.is-js .nf-res-start__fade { opacity: 1; transition: none; }
}

/* Images aligned (Danny, 2026-10-19). Live stacks text and image in fixed 614px steps, so a longer text pushes its
   image down and the step cuts the image's bottom corners off. Here the three steps share one grid: row 1 holds the
   texts (as tall as the tallest one), row 2 the images, so the images always line up and show all four corners,
   whatever the text length or language. */
.nf-res-start__steps {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto;
  column-gap: 40px; row-gap: 40px; align-items: start; height: auto;
}
.nf-res-start__step { display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 40px; width: auto; height: auto; overflow: visible; }
.nf-res-start__step > .nf-res-start__text { align-self: start; }

/* Step 3 photo (Danny, 2026-10-19): the phone sits at 38% to 84% of the picture's width, so 68% keeps it whole
   in the tablet and phone frames, and keeps its full screen in the narrow desktop frame. */
.nf-res-start__img--phone { object-position: 68% center; }

/* Step 2 photo focuses on the top (see 75-steps.css) */
.nf-res-start__img--top { object-position: center top; }
