/* Second pass on the home animations (2.11): pains fan, on-site ribbon, "six contracts into one" line,
   audience switch, photo lead block. Loaded after refs.css, so it overrides the earlier pain / approach / lead rules. */

/* ---------- Pains: fan of photo cards on graphite (getlayers Slipstream) ---------- */
.pains { position: relative; display: flex; flex-direction: column; align-items: center; overflow: hidden; background: #0c0c0e;
  padding: clamp(96px, 14vh, 140px) var(--gutter) clamp(28px, 5vh, 48px); }
.pains__title { max-width: 22ch; text-align: center; font-size: clamp(1.9rem, 1.1rem + 2.2vw, 3.3rem); line-height: 1.05; letter-spacing: -0.035em; }
.pains__title span { color: var(--c-title-lo); }
.pains__stage { display: grid; place-items: center; width: 100%; margin-top: clamp(20px, 4vh, 44px); }
.pains__card { --dim: 0; --on: 1; position: relative; overflow: hidden; border-radius: 16px; background: #1a1a1c; cursor: pointer;
  box-shadow: 0 30px 60px -22px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.09); }
.pains__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(0.88) brightness(calc(1 - var(--dim))); }
.pains__card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, transparent 22%, transparent 40%, rgba(8, 8, 9, 0.92) 100%); }
.pains__count { position: absolute; z-index: 1; top: 18px; left: 20px; display: flex; align-items: center; gap: 8px; font: 500 11px/1 var(--mono); letter-spacing: 0.16em; color: #fff; }
.pains__count::before { content: ''; width: 6px; height: 6px; background: var(--c-accent); }
.pains__copy { position: absolute; z-index: 1; left: 20px; right: 20px; bottom: 20px; display: grid; gap: 10px; }
.pains__name { font-size: clamp(1.05rem, 0.9rem + 0.45vw, 1.3rem); font-weight: 600; letter-spacing: -0.015em; }
.pains__text { font-size: clamp(14px, 0.65rem + 0.3vw, 16px); line-height: 1.45; color: rgba(255, 255, 255, 0.86); opacity: var(--on); }
.pains__bar { width: min(320px, 60%); height: 1px; margin-top: clamp(16px, 3vh, 32px); background: rgba(255, 255, 255, 0.2); }
.pains__bar i { display: block; height: 100%; background: var(--c-accent); transform-origin: 0 50%; transform: scaleX(0); }
.pains.is-flow { height: 100svh; }
.pains.is-flow .pains__stage { flex: 1; min-height: 0; }
.pains.is-flow .pains__card { grid-area: 1 / 1; height: min(50svh, 500px); aspect-ratio: 3 / 4; will-change: transform; }
.pains.is-static { padding-bottom: var(--section-y); }
.pains.is-static .pains__stage { gap: 16px; }
.pains.is-static .pains__card { width: 100%; max-width: 560px; aspect-ratio: 4 / 3; }
.pains.is-static .pains__bar { display: none; }

/* ---------- On-site work: split screen, riding tags + shuffling photo deck (getlayers Showcase Equator) ---------- */
.showcase__media::after { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0.16; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.showcase__strip, .showcase__count, .showcase__title svg { display: none; }
.showcase:not(.is-split) .showcase__body { display: flex; flex-direction: column-reverse; justify-content: flex-end; }

.showcase.is-split { display: grid; grid-template-columns: clamp(320px, 40%, 680px) 1fr; height: 100svh; padding: 0; overflow: hidden; background: #0f0f11; }
.showcase.is-split .showcase__main { position: relative; overflow: hidden; }
.showcase.is-split .shead { position: absolute; z-index: 120; top: 112px; left: clamp(24px, 4vw, 72px); right: clamp(24px, 4vw, 72px); display: grid; grid-template-columns: 1fr; gap: 12px; max-width: none; margin: 0; }
.showcase.is-split .shead__title { max-width: 18ch; font-size: clamp(1.8rem, 1rem + 1.8vw, 3rem); line-height: 1.04; letter-spacing: -0.035em; }
.showcase.is-split .shead__lead { max-width: 54ch; font-size: 15px; line-height: 1.5; color: var(--c-muted); }
.showcase.is-split .showcase__grid { position: absolute; inset: 0; display: grid; place-items: center; padding: 200px 0 40px; max-width: none; margin: 0; gap: 0; grid-template-columns: none; }
.showcase.is-split .showcase__card { --wash: 0; grid-area: 1 / 1; display: block; height: min(46svh, 480px); aspect-ratio: 4 / 5; overflow: hidden; border-radius: 18px; background: #1a1a1c;
  box-shadow: 0 30px 60px -18px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.1); will-change: transform; cursor: pointer; }
.showcase.is-split .showcase__media, .showcase.is-split .showcase__card:first-child .showcase__media { position: absolute; inset: 0; aspect-ratio: auto; min-height: 0; flex: none; margin: 0; }
.showcase.is-split .showcase__media :is(img, video) { transform: none; filter: grayscale(calc(var(--wash) * 0.7)) brightness(calc(1 - var(--wash) * 0.35)); }
.showcase.is-split .showcase__card::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, transparent 20%, transparent 46%, rgba(0, 0, 0, 0.88) 100%); }
.showcase.is-split .showcase__count { position: absolute; z-index: 1; top: 18px; left: 20px; display: flex; align-items: center; gap: 8px; font: 600 11px/1 var(--mono); letter-spacing: 0.16em; color: #fff; opacity: calc(1 - var(--wash)); }
.showcase.is-split .showcase__count::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--c-accent); }
.showcase.is-split .showcase__body { position: absolute; z-index: 1; left: 20px; right: 20px; bottom: 20px; display: grid; justify-items: start; gap: 14px; padding: 0; border: 0; opacity: 0; transition: opacity 0.3s; }
.showcase.is-split .showcase__card.is-on .showcase__body { opacity: 1; transition: opacity 0.6s 0.5s; }
.showcase.is-split .showcase__text { margin: 0; font-size: clamp(15px, 0.7rem + 0.4vw, 18px); line-height: 1.4; color: #fff; }
.showcase.is-split .showcase__title { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px 9px 11px; border-radius: 999px; background: #fff; color: #0b0b0b;
  font: 700 11px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; }
.showcase.is-split .showcase__title::before { display: none; }
.showcase.is-split .showcase__title svg { display: block; flex: none; width: 15px; height: 15px; }

.showcase.is-split .showcase__strip { position: relative; display: block; overflow: hidden; padding: 0 clamp(20px, 2.4vw, 40px);
  background: radial-gradient(90% 60% at 20% 15%, rgba(255, 196, 140, 0.45), transparent 60%), linear-gradient(165deg, #ff8a2e 0%, #ff6a00 45%, #e85500 100%); }
.showcase.is-split .showcase__strip::before, .showcase.is-split .showcase__strip::after { content: ''; position: absolute; z-index: 1; left: 0; right: 0; height: 22%; pointer-events: none; }
.showcase.is-split .showcase__strip::before { top: 0; background: linear-gradient(#ff8a2e, rgba(255, 138, 46, 0)); }
.showcase.is-split .showcase__strip::after { bottom: 0; background: linear-gradient(rgba(232, 85, 0, 0), #e85500); }
.showcase__tags { list-style: none; display: grid; justify-items: start; gap: 12px; margin: 0; padding: 0; will-change: transform; }
.showcase__tag { transition: opacity 0.6s; }
.showcase__tag button { display: inline-flex; align-items: center; gap: 10px; padding: 13px 20px 13px 16px; border: 0; white-space: nowrap; border-radius: 999px;
  background: rgba(255, 255, 255, 0.32); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45), 0 6px 18px -8px rgba(120, 40, 0, 0.45);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: #1f0a00; font: 700 clamp(11px, 0.45rem + 0.45vw, 13px)/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer;
  transition: background-color 0.45s, color 0.45s, transform 0.6s var(--ease-out), box-shadow 0.45s; }
.showcase__tag button svg { flex: none; width: 15px; height: 15px; }
.showcase__tag button:hover { background: rgba(255, 255, 255, 0.45); }
.showcase__tag.is-on button { background: #fff; color: #0b0b0b; transform: scale(1.08) translateX(4px); box-shadow: 0 14px 30px -10px rgba(110, 35, 0, 0.6); }

/* ---------- One object: six contracts collapse into one line (text and hairlines only) ---------- */
.momentum__stage { background: radial-gradient(70% 55% at 0% 115%, rgba(255, 106, 0, 0.5), transparent 70%), #0b0b0b; }
.mline { grid-column: 2; grid-row: 1 / -1; align-self: center; width: 100%; max-width: 640px; justify-self: center; }
.mline__count { display: flex; align-items: baseline; gap: 16px; }
.mline__count b { min-width: 0.7em; font-size: clamp(4.5rem, 3rem + 5vw, 8rem); font-weight: 300; line-height: 0.9; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; color: #fff; }
.mline__count span { font: 500 13px/1 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--c-muted); }
.mline__rows { margin: 22px 0 0; padding: 0; list-style: none; border-top: 1px solid rgba(255, 255, 255, 0.22); }
.mline__row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 0; overflow: hidden; border-bottom: 1px solid rgba(255, 255, 255, 0.16); font-size: clamp(1.05rem, 0.9rem + 0.6vw, 1.45rem); letter-spacing: -0.01em; }
.mline__row i { font: 500 11px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; font-style: normal; color: var(--c-muted); white-space: nowrap; }
.mline__one { display: grid; gap: 8px; margin-top: 4px; padding: 22px 0 20px; border-top: 2px solid var(--c-accent); }
.mline__brand { font-size: clamp(1.7rem, 1.2rem + 1.4vw, 2.6rem); font-weight: 600; letter-spacing: 0.02em; }
.mline__what { font: 500 12px/1.5 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-ink-2); }
.mline__run { display: flex; align-items: center; gap: 14px; }
.mline__run i { flex: 1; height: 2px; background: var(--c-accent); }
.mline__run span { padding: 9px 16px; border: 1px solid var(--c-accent); font: 500 13px/1 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; transition: background-color 0.4s, color 0.4s; }
.momentum.is-done .mline__run span { background: var(--c-accent); color: #0b0b0b; }
@media (max-width: 900px) { .mline { grid-column: 1; grid-row: auto; } }

/* ---------- Two sides: switch list + big panel (HHusher steps) ---------- */
.appr { padding: var(--section-y) var(--gutter); background: #0b0b0b; }
.appr__wrap { display: grid; grid-template-columns: minmax(260px, 0.42fr) 1fr; gap: clamp(32px, 5vw, 88px); align-items: center; max-width: var(--container); margin: 0 auto; }
.appr__title { margin: 0 0 clamp(28px, 5vh, 48px); padding: 0; border: 0; font-size: var(--fs-h2); line-height: 1.05; letter-spacing: -0.035em; color: #fff; }
.appr__tabs { margin: 0; padding: 0; list-style: none; border-bottom: 1px solid var(--c-line); }
.appr__tab { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 22px 0; border: 0; border-top: 1px solid var(--c-line); background: none; cursor: pointer;
  text-align: left; font: 500 clamp(1.1rem, 0.9rem + 0.7vw, 1.55rem)/1.2 var(--font); letter-spacing: -0.015em; color: var(--c-muted); transition: color 0.4s, padding-left 0.5s var(--ease-out); }
.appr__tab i { flex: none; width: 8px; height: 8px; background: #3a3a3a; transition: background-color 0.4s, transform 0.5s var(--ease-out); }
.appr__tab:hover { color: #fff; }
.appr__tab.is-on { color: #fff; padding-left: 14px; }
.appr__tab.is-on i { background: var(--c-accent); transform: scale(1.4); }
.appr__panels { position: relative; display: grid; gap: 20px; }
.appr__panel { position: relative; display: flex; align-items: flex-end; min-height: 440px; overflow: hidden; border: 1px solid var(--c-line); background: #111; }
.appr__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(0.85) brightness(0.62); }
.appr__panel::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 8, 9, 0.2) 0%, rgba(8, 8, 9, 0.5) 45%, rgba(8, 8, 9, 0.94) 100%); }
.appr__body { position: relative; z-index: 1; display: grid; gap: 14px; width: 100%; padding: clamp(24px, 3vw, 44px); }
.appr__tag { margin: 0; font: 500 12px/1.4 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--c-accent); }
.appr__h { margin: 0; font-size: var(--fs-h3); line-height: 1.1; letter-spacing: -0.025em; }
.appr__text { margin: 0; max-width: 52ch; font-size: 17px; line-height: 1.5; color: rgba(255, 255, 255, 0.82); }
.appr__list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; margin: 6px 0 0; padding: 0; list-style: none; border-top: 1px solid rgba(255, 255, 255, 0.22); }
.appr__list li { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.16); font-size: 15px; }
.appr__list li::before { content: ''; flex: none; width: 6px; height: 6px; background: var(--c-accent); }
.appr__go { justify-self: start; margin-top: 4px; font: 500 13px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-accent); }
.appr.is-flow { display: grid; align-items: center; height: 100svh; padding-block: clamp(84px, 12vh, 110px) clamp(24px, 4vh, 40px); }
.appr.is-flow .appr__panels { display: block; height: min(68svh, 640px); }
.appr.is-flow .appr__panel { position: absolute; inset: 0; min-height: 0; }
.appr.is-static .appr__tabs { display: none; }
@media (max-width: 900px) { .appr__wrap { grid-template-columns: 1fr; } .appr__list { grid-template-columns: 1fr; } }

/* ---------- Lead: quiet dark block over a dusk photo, one orange button ---------- */
.contact { position: relative; isolation: isolate; max-width: none; margin: 0; overflow: hidden; background: #0b0b0b;
  padding-inline: max(var(--gutter), calc((100% - var(--container)) / 2)); }
.contact::before { content: ''; position: absolute; z-index: -1; inset: 0;
  background: linear-gradient(90deg, rgba(11, 11, 11, 0.94) 0%, rgba(11, 11, 11, 0.6) 55%, rgba(11, 11, 11, 0.82) 100%), var(--lead-bg) center / cover no-repeat; filter: saturate(0.85); }
.contact__text { color: rgba(255, 255, 255, 0.78); }
.form { background: rgba(12, 12, 14, 0.72); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, 0.14); color: #fff; }
.form .field input { color: #fff; border-color: rgba(255, 255, 255, 0.3); }
.form .field input:focus { border-color: var(--c-accent); }
.form .field input::placeholder { color: rgba(255, 255, 255, 0.55); }
.form .field__dot { background: var(--c-accent); opacity: 0.9; }
.form .field__error, .form .consent .field__error { color: #ff9a7a; font-weight: 500; }
.form .field input[aria-invalid='true'] { border-color: #ff7a52; }
.form .consent { color: rgba(255, 255, 255, 0.68); }
.form .consent input { accent-color: var(--c-accent); }
.form .form__submit { background: var(--c-accent); color: #0b0b0b; font-weight: 600; }
.form .form__submit:hover { background: var(--c-accent-2); }
.form .form__status, .form.is-sent .form__status { color: #fff; }

/* ---------- First screen: request line + row of real machines (replaces the dispatch board) ---------- */
.dsp__req { position: absolute; z-index: 2; left: 4%; top: 31%; width: min(34%, 470px); display: grid; gap: 10px; }
.dsp-bub { padding: 13px 16px 14px; border-radius: 18px; font-size: 15px; line-height: 1.4; border: 1px solid rgba(255, 255, 255, 0.16); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 12px 32px rgba(20, 6, 0, 0.3); }
.dsp-bub--ask { margin-right: 14%; background: linear-gradient(160deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08)); color: #fff; }
.dsp-bub--ans { margin-left: 14%; background: linear-gradient(160deg, rgba(255, 138, 46, 0.34), rgba(255, 106, 0, 0.16)); border-color: rgba(255, 170, 110, 0.4); color: #fff; }
.dsp-bub b { display: block; margin-bottom: 3px; font: 500 11px/1 var(--mono); letter-spacing: 0.14em; color: #ffc89a; }
.dsp-bub span { display: block; min-height: 1.4em; }

.dsp__fleet { position: absolute; z-index: 2; left: 46%; right: 4%; top: 31%; height: 49%; display: flex; gap: 12px; }
.dsp-unit { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; border-radius: 16px; background: #1a1a1c; box-shadow: 0 24px 48px -16px rgba(20, 8, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.1);
  transition: flex-grow 0.9s var(--ease-out), box-shadow 0.6s; }
.dsp-unit.is-on { flex-grow: 2.1; box-shadow: 0 24px 48px -16px rgba(20, 8, 0, 0.65), 0 0 0 2px var(--c-accent); }
.dsp-unit img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(0.85) brightness(0.62); transition: filter 0.9s; }
.dsp-unit.is-on img { filter: saturate(1) brightness(0.95); }
.dsp-unit::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(8, 6, 5, 0.9) 100%); }
.dsp-unit__copy { position: absolute; z-index: 1; left: 16px; right: 12px; bottom: 16px; display: grid; gap: 8px; }
.dsp-unit h3 { font-size: clamp(0.95rem, 0.8rem + 0.3vw, 1.15rem); font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dsp-unit p { display: flex; align-items: center; gap: 8px; margin: 0; font: 500 11px/1.2 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: #ffd2ad; white-space: nowrap; opacity: 0; transform: translateY(6px); transition: opacity 0.5s 0.3s, transform 0.5s 0.3s; }
.dsp-unit p i { flex: none; width: 6px; height: 6px; background: var(--c-accent-2); box-shadow: 0 0 8px var(--c-accent-2); }
.dsp-unit.is-on p { opacity: 1; transform: none; }

/* ---------- Inner pages (3.11): the accepted home techniques carried over ---------- */
/* Switch with many items (services, owners): numbered compact list, result line, progress under the pin */
.appr--many .appr__title { margin-bottom: clamp(18px, 3vh, 32px); font-size: clamp(1.8rem, 1rem + 1.8vw, 3rem); }
.appr--many .appr__side .eyebrow { margin-bottom: 18px; }
.appr--many .appr__tab { justify-content: flex-start; gap: 18px; padding: clamp(10px, 1.6vh, 16px) 0; font-size: clamp(1rem, 0.85rem + 0.45vw, 1.25rem); }
.appr--many .appr__tab b { flex: none; width: 2.2em; font: 500 12px/1 var(--mono); letter-spacing: 0.14em; color: var(--c-faint); transition: color 0.4s; }
.appr--many .appr__tab.is-on b { color: var(--c-accent); }
.appr--many .appr__tab i { margin-left: auto; }
.appr__result { display: grid; gap: 6px; margin: 4px 0 0; padding: 12px 16px; border-left: 2px solid var(--c-accent); background: rgba(11, 11, 11, 0.55); font-size: 16px; line-height: 1.45; }
.appr__result small { font: 500 11px/1 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--c-accent); }
.appr--many .appr__list { grid-template-columns: 1fr; }
.appr__bar { display: none; }
.appr.is-flow .appr__bar { position: absolute; left: 50%; bottom: clamp(14px, 2.4vh, 24px); display: block; width: min(320px, 40%); height: 1px; transform: translateX(-50%); background: rgba(255, 255, 255, 0.18); }
.appr__bar i { display: block; height: 100%; background: var(--c-accent); transform-origin: 0 50%; transform: scaleX(0); }
.appr.is-flow { position: relative; }
.appr__wrap { width: 100%; }
.appr--many.is-flow .appr__panels { height: min(72svh, 680px); }

/* Steps on one rail across the pinned screen; the current step opens large below */
.steps__stage { display: none; }
.steps.is-track { display: flex; flex-direction: column; height: 100svh; padding: clamp(92px, 12vh, 120px) max(var(--gutter), calc((100% - var(--container)) / 2)) clamp(28px, 5vh, 48px); }
.steps.is-track .shead { width: 100%; margin: 0 0 clamp(28px, 5vh, 52px); }
.steps.is-track .shead__title { font-size: clamp(1.8rem, 1rem + 1.8vw, 3rem); }
.steps.is-track .steps__list { grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 0 12px; width: 100%; max-width: none; margin: 0; }
.steps.is-track .steps__rail { left: 0; right: 0; top: 5px; bottom: auto; width: auto; height: 1px; background: rgba(255, 255, 255, 0.16); }
.steps.is-track .steps__rail i { transform-origin: 0 50%; transform: scaleX(0); box-shadow: 0 0 10px var(--c-accent); }
.steps.is-track .step { grid-template-columns: auto 1fr; align-content: start; gap: 0 10px; padding: 0; border: 0; cursor: pointer; }
.steps.is-track .step::before { margin-top: 0; }
.steps.is-track .step__n { grid-row: 2; grid-column: 1 / -1; padding-top: 18px; }
.steps.is-track .step__t { grid-column: 1 / -1; padding-top: 8px; font-size: clamp(14px, 0.7rem + 0.4vw, 17px); font-weight: 500; line-height: 1.25; color: var(--c-faint); transition: color 0.4s; }
.steps.is-track .step.is-on .step__t { color: var(--c-ink-2); }
.steps.is-track .step.is-cur .step__t { color: #fff; }
.steps.is-track .step:hover .step__t { color: #fff; }
.steps.is-track .steps__list .step__dl { display: none; }
.steps.is-track .steps__stage { position: relative; display: block; flex: 1; min-height: 0; margin-top: clamp(28px, 5vh, 52px); border-top: 1px solid var(--c-line); }
.sstage { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 2fr); gap: clamp(32px, 5vw, 80px); align-items: end; padding-top: clamp(16px, 3vh, 32px); }
.sstage__n { align-self: stretch; display: flex; align-items: flex-end; font: 300 min(40svh, 21vw)/0.74 var(--font); letter-spacing: -0.06em; color: var(--c-accent); margin-bottom: -0.04em; }
.sstage__main { display: grid; gap: clamp(22px, 4.5vh, 44px); align-content: end; }
.sstage__t { margin: 0; font-size: clamp(2.4rem, 1.2rem + 3vw, 4.6rem); font-weight: 400; line-height: 1; letter-spacing: -0.035em; color: #fff; }
.sstage .step__dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; padding: 0; border-top: 1px solid var(--c-line); }
.sstage .step__dl div { padding: 22px 28px 4px 0; }
.sstage .step__dl div + div { padding-left: 28px; border-left: 1px solid var(--c-line); }
.sstage .step__dl dt { color: var(--c-accent); }
.sstage .step__dl dd { font-size: clamp(16px, 0.8rem + 0.5vw, 21px); line-height: 1.5; color: var(--c-ink-2); }
.sstage .step__dl div:last-child dd { color: #fff; }

/* Breakdown: the line runs down each path and lights its steps in turn */
.bpath__list { position: relative; }
.bpath__list::before, .bpath__list::after { content: ''; position: absolute; left: 4px; top: 0; bottom: 0; width: 1px; }
.bpath__list::before { background: var(--c-line); }
.bpath__list::after { background: var(--c-accent); box-shadow: 0 0 8px var(--c-accent); transform-origin: top; transform: scaleY(var(--p, 0)); }
.bpath__list li { padding-left: 24px; transition: opacity 0.5s; }
.bpath__list li:not(.is-on) { opacity: 0.38; }
.bpath__list li .bpath__n { color: var(--c-faint); transition: color 0.4s; }
.bpath__list li.is-on .bpath__n { color: var(--c-accent); }

/* Next links with photos: dim photo under the text, it wakes up on hover */
.nl--photo { position: relative; isolation: isolate; overflow: hidden; min-height: 320px; justify-content: flex-end; }
.nextlinks .nl--photo .nl__pic { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; filter: saturate(0.7) brightness(0.45); transform: scale(1.04); transition: filter 0.8s, transform 1.2s var(--ease-out); }
.nl--photo::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 8, 9, 0.1) 30%, rgba(8, 8, 9, 0.88) 100%); }
.nl--photo .nl__go { margin-top: 12px; }
.nl--photo:hover { background: none; }
.nextlinks .nl--photo:hover .nl__pic { filter: saturate(1) brightness(0.75); transform: scale(1.1); }

/* About lead: words light up while reading */
.prose--lead .lw { color: #3a3a3a; transition: color 0.35s; }
.prose--lead .lw.is-on { color: #fff; }
.prose--lead .prose__body { font-size: clamp(1.5rem, 1rem + 1.4vw, 2.4rem); line-height: 1.3; letter-spacing: -0.02em; }

/* Machine pages: text on graphite, the machine as a full-height photo on the right */
.phero--image .hero__frame { background: radial-gradient(60% 80% at 0% 100%, rgba(255, 106, 0, 0.35), transparent 70%), #0b0b0b; grid-template-columns: minmax(0, 1fr); }
.phero--image .phero__copy { max-width: 46%; }
.phero--image .phero__pic { position: absolute; top: 0; right: 0; bottom: 0; width: 50%; aspect-ratio: auto; border-radius: 0; box-shadow: none; }
.phero--image .phero__pic::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #0b0b0b 0%, rgba(11, 11, 11, 0.4) 22%, transparent 45%), linear-gradient(0deg, rgba(11, 11, 11, 0.6), transparent 35%); }
.phero--image .phero__pic img { filter: saturate(0.9); }

/* Plain card rows light up in turn (cards.js lightUp) */
:is(.cards--grid, .cards--product) .pcard { position: relative; }
.is-lit .pcard::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, var(--c-accent), rgba(255, 106, 0, 0.15)); box-shadow: 0 0 12px rgba(255, 106, 0, 0.5); transform: scaleX(0); transform-origin: left; transition: transform 0.9s var(--ease-out); }
.is-lit .pcard.is-on::after { transform: scaleX(1); }
:is(.cards--grid, .cards--product) .pcard__title { transition: color 0.5s; }
.is-lit .pcard:not(.is-on) .pcard__title { color: var(--c-ink-2); }
.pcard__list li { transition: color 0.4s, opacity 0.4s; }
.is-lit .pcard__list li:not(.is-on) { opacity: 0.4; }
.is-lit .pcard__list li.is-on::before { box-shadow: 0 0 8px var(--c-accent); }

/* ---------- Review fixes (3.11) ---------- */
/* Footer: the giant wordmark no longer widens the grid, so both outer margins match */
.footer { grid-template-columns: minmax(0, 1fr); }
.footer__mark { font-size: 13.4vw; }
/* Switch panels: a dark corner under the text keeps it readable on busy photos */
.appr__panel::before { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(120% 80% at 0% 100%, rgba(8, 8, 9, 0.85), rgba(8, 8, 9, 0) 60%); }
.appr__body { z-index: 2; }
.appr__tag { display: inline-flex; justify-self: start; padding: 6px 10px; background: rgba(8, 8, 9, 0.72); }
.appr__list li, .appr__text, .appr__h { text-shadow: 0 1px 14px rgba(0, 0, 0, 0.55); }
/* Contacts: a full block with the phone large, not a strip the form runs over */
.cinfo { min-height: 56vh; display: grid; align-content: center; padding-block: var(--section-y); }
.cinfo__card { min-height: 220px; display: flex; flex-direction: column; justify-content: space-between; }
.cinfo__card--accent .cinfo__v { font-size: clamp(1.8rem, 1rem + 2vw, 3rem); font-weight: 600; letter-spacing: -0.03em; }
/* Who answers for what: titles on one line across the row; the brand mark sits in the corner */
.chain__node h3 { margin-top: clamp(40px, 5vh, 64px); }
.chain__node--core .chain__mark { position: absolute; top: 24px; right: 24px; width: 44px; }
/* Lead block: frame the machine, not the sky */
.contact::before { background-position: center, 50% 68%; }
/* Equipment photos: one warm grade so the stock shots sit with the brand renders */
.equip .ecard__pic img { filter: sepia(0.18) saturate(0.95) contrast(1.05) brightness(0.92); }
/* About: the photo version of the engineering story takes the home layout, title across the top
   over a dark band, so it never lands on a busy photo column */
.engineering.is-flow:not(.engineering--scenes) .engineering__intro { left: 0; right: 0; top: max(100px, 11%); max-width: none; padding: 0 var(--gutter); display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; }
.engineering.is-flow:not(.engineering--scenes) .engineering__title { font-size: clamp(2rem, 0.9rem + 2.2vw, 3.6rem); max-width: 26ch; color: #fff; }
.engineering.is-flow:not(.engineering--scenes) .engineering__cols { position: relative; }
.engineering.is-flow:not(.engineering--scenes) .engineering__cols::after { content: ''; position: absolute; inset: 0 0 auto; z-index: 1; height: 42%; pointer-events: none; background: linear-gradient(180deg, rgba(10, 10, 10, 0.88), rgba(10, 10, 10, 0)); }
/* Header with the cabinet pill: nav items never wrap, and the row tightens before the nav folds away at 1240 */
.header__nav a { white-space: nowrap; }
@media (max-width: 1380px) {
  .header__nav { gap: 14px; padding: 0 16px; font-size: 14px; }
  .header__cabinet { padding: 0 16px; font-size: 14px; }
}

/* ---------- Phone (3.11): every desktop block folds into one column; no new visuals ---------- */
@media (max-width: 760px) {
  /* Home first screen: the absolutely placed parts become one stacked column inside the card */
  .dsp { --inset: 8px; height: auto; min-height: 0; padding: var(--inset); }
  .dsp__card { position: relative; inset: auto; display: flex; flex-direction: column; gap: 22px; padding: 92px 18px 22px; border-radius: 22px; }
  .dsp__title, .dsp__req, .dsp__fleet, .dsp__lead, .dsp__rule, .dsp__foot { position: relative; left: auto; right: auto; top: auto; bottom: auto; width: auto; max-width: none; }
  .dsp__title { font-size: clamp(2.1rem, 9.6vw, 2.8rem); }
  .dsp__req { gap: 8px; }
  .dsp-bub { font-size: 14px; padding: 11px 14px 12px; }
  .dsp-bub--ask { margin-right: 10%; }
  .dsp-bub--ans { margin-left: 10%; }
  .dsp__fleet { height: 210px; gap: 8px; }
  .dsp-unit { border-radius: 12px; }
  .dsp-unit.is-on { flex-grow: 3.4; }
  .dsp-unit__copy { left: 12px; right: 10px; bottom: 12px; }
  .dsp-unit:not(.is-on) .dsp-unit__copy { opacity: 0; }
  .dsp__lead p { font-size: 15px; line-height: 1.6; }
  .dsp__actions { flex-wrap: wrap; gap: 10px; margin-top: 18px; }
  .dsp__foot { flex-direction: column; align-items: stretch; gap: 16px; }
  .dsp__facts { display: grid; gap: 14px; }
  .dsp__note { text-align: left; max-width: none; }

  /* Page openers: the facts sit under the lead instead of beside it */
  .phero .hero__frame { padding-top: 104px; }
  .phero:has(.phero__facts) .phero__copy { max-width: none; }
  .phero__facts { position: relative; right: auto; bottom: auto; width: 100%; margin-top: 8px; }
  .phero__facts dt { font-size: 19px; }
  /* Machine pages: the photo comes first at full width, the copy under it */
  .phero--image .phero__copy { max-width: none; }
  .phero--image .phero__pic { position: relative; inset: auto; width: calc(100% + 2 * var(--gutter)); margin: 0 calc(-1 * var(--gutter)); aspect-ratio: 4 / 3; grid-row: 1; }
  .phero--image .phero__pic::after { background: linear-gradient(0deg, #0b0b0b 0%, rgba(11, 11, 11, 0) 45%); }

  /* Full step lists: number and title on one line, the three columns stacked under them */
  .step { grid-template-columns: 12px minmax(0, 1fr); gap: 0 16px; padding: 26px 0; }
  .step__n { grid-column: 2; grid-row: 1; padding-top: 0; }
  .step::before { grid-row: 1 / span 2; margin-top: 2px; }
  .step__t { grid-column: 2; padding-top: 10px; }
  .step__dl, .step__p { grid-column: 2; }
  .step__dl { grid-template-columns: 1fr; gap: 14px; padding-top: 14px; }

  /* Three cards in a row become one column */
  .cards--product .cards__list { grid-template-columns: 1fr; }

  /* FAQ and the lead block: one column, nothing sticky */
  .faq { grid-template-columns: 1fr; gap: 28px; }
  .faq__side, .contact__side { position: static; }
  .faq__a { padding-right: 0; }
  .contact { grid-template-columns: 1fr; gap: 28px; }
  .contact__alt { margin-top: 24px; }
  .form { padding: 24px 18px; }
}
/* Phone menu in the same language as the desktop one: a full graphite screen, the big list rising line by line,
   contacts and the two actions at the bottom */
.mobile-menu { position: fixed; inset: 0; z-index: -1; display: flex; flex-direction: column; justify-content: flex-end; gap: 26px; padding: 104px 22px 28px; border-radius: 0; background: #0d0d0e; -webkit-backdrop-filter: none; backdrop-filter: none; animation: megaIn 0.35s var(--ease-out); }
.mobile-menu[hidden] { display: none; }
.mobile-menu__list { display: grid; justify-items: start; margin-bottom: auto; padding-top: 3vh; }
.mobile-menu .mobile-menu__list a { display: block; overflow: hidden; padding: 0.06em 0; border: 0; font-size: clamp(2rem, 9.4vw, 2.7rem); font-weight: 500; letter-spacing: -0.035em; line-height: 1.1; }
.mobile-menu__list a span { display: block; animation: megaLine 0.8s var(--ease-out) both; animation-delay: calc(0.12s + var(--i) * 0.05s); }
.mobile-menu .mega__contact { animation-delay: 0.4s; }
.mobile-menu__actions { display: grid; gap: 10px; animation: megaFade 0.6s var(--ease-out) 0.45s both; }
.mobile-menu__actions .btn { width: 100%; margin: 0; justify-content: center; }
.header.is-open [data-header-cta] { opacity: 0; pointer-events: none; }
.mobile-menu .mega__contact a { padding: 0; border: 0; font-size: 13px; }

@media (max-width: 760px) {
  .cinfo { min-height: 0; padding-block: 48px; }
  .cinfo__card { min-height: 0; padding: 22px 20px; gap: 12px; }
  .phero--photo .phero__shade { background: linear-gradient(to top, rgba(11, 11, 11, 0.96) 12%, rgba(11, 11, 11, 0.84) 60%, rgba(11, 11, 11, 0.55)); }
  .phero--photo .phero__bg { filter: blur(1.5px); }
}

/* 18.11.2026: footer word filled with a static black-grey gradient instead of a photo (client request) */
.footer__mark { background-image: linear-gradient(180deg, #8c8c8c 0%, #4a4a4a 50%, #1c1c1c 100%); background-size: 100% 100%; }
