/* nine.zero — UI/UX Design service page (Paper: 9.0 New Site, service-uiux).
   Page-scoped under main.ux. Desktop values are the 1440px artboard; under 900px the
   layout stacks following the mobile service artboard (m-service, which is this page). */

.ux { display: block; }

.ux .kicker { font-family: var(--np-font-mono); font-size: 12px; line-height: 18px; letter-spacing: 0.06em; color: var(--np-ink); }
.ux .eyebrow .mono { font-size: 16px; line-height: 22px; letter-spacing: 0.16em; color: var(--np-ink); }
.ux .eyebrow { gap: 14px; }
.ux .idx { font-family: var(--np-font-mono); font-size: 12px; line-height: 14px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--np-ink); }
.ux .cap { font-family: var(--np-font-mono); font-size: 10px; line-height: 14px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--np-text-2); }
.ux .forest { color: #294c3c; }

/* ---------- Hero ---------- */
.ux-hero { padding: 112px 0 96px; background: var(--np-ground); }
.ux-hero__in { position: relative; display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; }
.ux-hero__copy { flex: 0 1 620px; display: flex; flex-direction: column; gap: 32px; }
.ux-hero__title { font-size: 104px; line-height: 100px; letter-spacing: -0.02em; color: var(--np-ink); }
.ux-hero__copy > p { max-width: 520px; font-size: 18px; line-height: 30px; color: var(--np-text-2); }
.ux-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Mock stage: a fixed 560×520 grid so the two screens overlap without absolute positioning */
.ux-hero__stage {
  flex: none; width: 560px;
  display: grid; grid-template-columns: 284px 16px 260px; grid-template-rows: 80px 300px 40px auto;
}
.ux-browser { grid-column: 1; grid-row: 2; display: flex; flex-direction: column; height: 300px; border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid var(--np-hair); }
.ux-browser__bar { display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; border-bottom: 1px solid var(--np-hair); }
.ux-browser__dots { display: flex; gap: 5px; }
.ux-browser__dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--np-hair); }
.ux-browser__url { font-family: var(--np-font-mono); font-size: 9px; line-height: 14px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--np-text-2); }
.ux-browser__bar::after { content: ""; width: 31px; }
.ux-browser__body { display: flex; flex-direction: column; gap: 20px; padding: 20px; }
.ux-browser__stay { display: flex; flex-direction: column; gap: 10px; max-width: 200px; }
.ux-browser__stay .t { font-family: var(--np-font-display); font-size: 26px; line-height: 28px; color: var(--np-ink); }
.ux-browser__stay .d { font-size: 11px; line-height: 16px; color: var(--np-text-2); }
.ux-browser__chips { display: flex; gap: 6px; }
.ux-browser__chips span { padding: 6px 10px; border-radius: 999px; border: 1px solid var(--np-hair); font-family: var(--np-font-mono); font-size: 8px; line-height: 14px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--np-ink); white-space: nowrap; }
.ux-browser__total { display: flex; align-items: center; justify-content: space-between; width: 242px; padding: 12px; border-radius: 12px; border: 1px solid var(--np-hair); }
.ux-browser__total .l { display: flex; flex-direction: column; gap: 4px; }
.ux-browser__total .k { font-family: var(--np-font-mono); font-size: 8px; line-height: 14px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--np-text-2); }
.ux-browser__total .v { font-family: var(--np-font-display); font-size: 30px; line-height: 32px; color: var(--np-ink); }
.ux-browser__total .b { width: 84px; padding: 9px; border-radius: 999px; background: #20242b; color: #fffffe; font-weight: 500; font-size: 11px; line-height: 14px; text-align: center; }

.ux-phone { grid-column: 3; grid-row: 1 / span 4; display: flex; flex-direction: column; height: 520px; border-radius: 32px; overflow: hidden; background: #fff; border: 1px solid var(--np-hair); }
.ux-phone__bar { display: flex; justify-content: space-between; padding: 14px 20px; font-family: var(--np-font-mono); font-size: 9px; line-height: 14px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--np-text-2); }
.ux-phone__body { display: flex; flex-direction: column; gap: 16px; padding: 12px 20px; }
.ux-phone__body .t { font-family: var(--np-font-display); font-size: 30px; line-height: 32px; color: var(--np-ink); }
.ux-phone__body .d { font-size: 12px; line-height: 18px; color: var(--np-text-2); }
.ux-phone__body .b { padding: 12px; border-radius: 999px; background: #20242b; color: #fffffe; font-weight: 500; font-size: 13px; line-height: 16px; text-align: center; }
.ux-phone__list { border-top: 1px solid var(--np-hair); }
.ux-phone__list li { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--np-hair); font-size: 12px; line-height: 16px; color: var(--np-ink); }
.ux-phone__list li:last-child { border-bottom: 0; }
.ux-phone__list li span:last-child { color: var(--np-text-2); }

.ux-stat { grid-column: 1; grid-row: 4; justify-self: start; margin-left: 20px; display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; border-radius: 12px; background: var(--np-ground); border: 1px solid var(--np-hair); }
.ux-stat .k { font-family: var(--np-font-mono); font-size: 9px; line-height: 14px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--np-text-2); }
.ux-stat .v { font-size: 13px; line-height: 16px; color: var(--np-ink); white-space: nowrap; }

/* ---------- A clearer starting point ---------- */
.ux-intro { padding: 72px 0; }
.ux-intro__in { display: flex; flex-direction: column; gap: 48px; }
.ux-intro__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 80px; }
.ux-intro__head h2 { flex: 0 1 570px; font-size: 64px; line-height: 66px; letter-spacing: -0.02em; color: var(--np-ink); }
.ux-intro__head p { flex: 0 1 510px; font-size: 18px; line-height: 29px; color: #4f555c; }
.ux-intro__body { display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 64px; align-items: start; }
.ux-list li { display: flex; gap: 24px; padding: 28px 0; border-top: 1px solid #d8d9d6; }
.ux-list .num { flex: none; width: 32px; font-family: var(--np-font-mono); font-size: 12px; line-height: 24px; color: var(--np-text-2); }
.ux-list .body { display: flex; flex-direction: column; gap: 12px; }
.ux-list h3 { font-family: var(--np-font-display); font-weight: 400; font-size: 32px; line-height: 36px; color: #000; }
.ux-list p { font-size: 17px; line-height: 27px; color: #4f555c; }
.ux-commit {
  position: relative; width: 440px; flex: none;
  display: flex; flex-direction: column; gap: 22px; padding: 36px;
  background: var(--np-dark); color: var(--np-dark-text);
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px, 16px 16px);
}
.ux-commit::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(133, 238, 0, .14), rgba(133, 238, 0, 0) 55%); pointer-events: none; }
.ux-commit .kicker { display: flex; align-items: center; gap: 10px; font-family: var(--np-font-mono); font-size: 11px; line-height: 16px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--np-lime); }
.ux-commit .kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--np-lime); box-shadow: 0 0 0 4px rgba(133, 238, 0, .18); }
.ux-commit h3 { font-family: var(--np-font-display); font-weight: 400; font-size: 44px; line-height: 46px; letter-spacing: -0.01em; color: var(--np-dark-text); }
.ux-commit h3 i { color: var(--np-lime); }
.ux-commit > p:not(.kicker):not(.commit__agreed):not(.commit__agreed-note) { font-size: 16px; line-height: 26px; color: var(--np-dark-muted); }
.ux-commit .commit__agreed { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; padding-top: 20px; border-top: 1px solid var(--np-dark-hair-2); }
.ux-commit .commit__agreed span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--np-dark-hair-2); font-family: var(--np-font-mono); font-size: 10px; line-height: 14px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--np-dark-text); }
.ux-commit .commit__agreed span::before { content: "✓"; color: var(--np-lime); font-weight: 600; }
.ux-commit .commit__agreed-note { width: 100%; margin: 4px 0 0; font-family: var(--np-font-mono); font-size: 10px; line-height: 14px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--np-dark-muted); }
.ux-intro__cta { display: none; }

/* ---------- Design sprints (dark) ---------- */
.ux-sprint { padding: 88px 0; }
.ux-sprint__in { display: flex; flex-direction: column; gap: 48px; }
.ux-sprint__bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.ux-sprint__bar .mono { font-size: 12px; line-height: 16px; letter-spacing: 0.14em; color: var(--np-dark-text); }
.ux-sprint__fac { display: flex; align-items: center; gap: 10px; font-size: 13px; line-height: 20px; color: #d5d8dd; }
.ux-sprint__fac::before { content: ""; width: 6px; height: 6px; background: var(--np-lime); }
.ux-sprint__main { display: flex; align-items: center; gap: 100px; }
.ux-sprint__copy { flex: 0 1 620px; display: flex; flex-direction: column; gap: 24px; }
.ux-sprint__copy h2 { font-size: 64px; line-height: 66px; letter-spacing: -0.015em; color: var(--np-dark-text); }
.ux-sprint__copy .lead { max-width: 560px; font-size: 17px; line-height: 28px; color: var(--np-dark-muted); }
.ux-sprint__copy .more { max-width: 560px; font-size: 16px; line-height: 26px; color: var(--np-dark-muted); }
.ux-sprint__btn { align-self: flex-start; margin-top: 8px; gap: 24px; padding: 15px 22px; font-size: 14px; line-height: 20px; font-weight: 400; }
.ux-reframe { flex: none; width: 560px; display: flex; flex-direction: column; gap: 24px; padding: 32px; background: #2b3037; border: 1px solid var(--np-foot-hair); }
.ux-reframe .k { font-family: var(--np-font-mono); font-size: 11px; line-height: 16px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--np-dark-muted); }
.ux-reframe__ask { display: flex; flex-direction: column; gap: 10px; }
.ux-reframe__ask .l { font-family: var(--np-font-mono); font-size: 12px; line-height: 18px; color: var(--np-dark-muted); }
.ux-reframe__ask .q { font-family: var(--np-font-display); font-size: 30px; line-height: 36px; color: var(--np-dark-text); }
.ux-reframe__hmw {
  display: flex; flex-direction: column; gap: 14px; padding: 24px; background: var(--np-ground);
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px, 12px 12px);
}
.ux-reframe__hmw .l { font-family: var(--np-font-mono); font-size: 11px; line-height: 16px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--np-text-2); }
.ux-reframe__hmw .q { font-family: var(--np-font-display); font-size: 32px; line-height: 38px; color: var(--np-ink); }
.ux-outcomes { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; padding-top: 32px; border-top: 1px solid var(--np-foot-hair); }
.ux-outcomes li { display: flex; flex-direction: column; gap: 12px; }
.ux-outcomes h3 { font-family: var(--np-font-display); font-weight: 400; font-size: 30px; line-height: 36px; color: var(--np-dark-text); }
.ux-outcomes p { max-width: 360px; font-size: 14px; line-height: 23px; color: var(--np-dark-muted); }

/* ---------- Section head (used by /01 /02 /03) ---------- */
.ux-head { display: flex; align-items: flex-start; padding-bottom: 32px; border-bottom: 1px solid var(--np-hair); }
.ux-head .idx { flex: none; width: 72px; padding-top: 16px; }
.ux-head__body { display: flex; flex-direction: column; gap: 16px; max-width: 800px; }
.ux-head h2 { font-size: 56px; line-height: 60px; letter-spacing: -0.015em; color: var(--np-ink); }
.ux-head p { max-width: 640px; font-size: 16px; line-height: 26px; color: var(--np-text-2); }

/* ---------- /01 Type, colour, system (white) ---------- */
.ux-system { padding: 96px 0; border-top: 1px solid var(--np-hair); }
.ux-system__in { position: relative; display: flex; flex-direction: column; gap: 40px; }
.ux-system__bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.ux-system__bar .note { font-family: var(--np-font-mono); font-size: 11px; line-height: 16px; letter-spacing: 0.08em; color: var(--np-text-2); white-space: nowrap; }
.ux-dirs { display: flex; gap: 12px; flex-wrap: wrap; }
.ux-dir {
  display: inline-flex; align-items: center; gap: 14px; padding: 18px 22px; border-radius: 12px;
  background: #fff; border: 1px solid var(--np-hair); font-size: 15px; line-height: 20px; color: var(--np-ink);
}
.ux-dir__sw { display: flex; }
.ux-dir__sw i { width: 16px; height: 24px; }
.ux-dir .tick { display: none; font-size: 14px; line-height: 20px; }
.ux-dir[aria-pressed="true"] { background: var(--d-bg); border-color: var(--d-accent); color: var(--d-ink); }
.ux-dir[aria-pressed="true"] .tick { display: inline; color: var(--d-accent); }
.ux-dir--editorial { --d-bg: #f8f1e7; --d-accent: #b24f36; --d-ink: #292923; }
.ux-dir--playful { --d-bg: #f5f0fc; --d-accent: #6739c2; --d-ink: #221a33; }
.ux-dir--precision { --d-bg: #eef2fa; --d-accent: #2454ce; --d-ink: #182a46; }

/* Direction tokens: Editorial is the design; Playful and Precision are derived from their swatches */
.ux-system {
  --d-bg: #f8f1e7; --d-border: #e1d6c9; --d-accent: #b24f36; --d-second: #416556; --d-tint: #e9c7b4;
  --d-ink: #292923; --d-muted: #6d6053; --d-swb: #d8ccbe; --d-chip: #bdab98; --d-r: 12px; --d-rb: 8px;
}
.ux-system[data-direction="playful"] {
  --d-bg: #f5f0fc; --d-border: #e2d8f3; --d-accent: #6739c2; --d-second: #f3be50; --d-tint: #dccef8;
  --d-ink: #221a33; --d-muted: #6f6584; --d-swb: #d2c4ea; --d-chip: #b9a6dc; --d-r: 20px; --d-rb: 999px;
}
.ux-system[data-direction="precision"] {
  --d-bg: #eef2fa; --d-border: #d3dcec; --d-accent: #2454ce; --d-second: #182a46; --d-tint: #b7cff7;
  --d-ink: #182a46; --d-muted: #5b6b85; --d-swb: #c6d3ea; --d-chip: #a9bad8; --d-r: 6px; --d-rb: 4px;
}
.ux-system .alt { display: none; }
.ux-system .alt--editorial { display: block; }
.ux-system[data-direction="playful"] .alt--playful, .ux-system[data-direction="precision"] .alt--precision { display: block; }
.ux-system[data-direction="playful"] .alt--editorial, .ux-system[data-direction="precision"] .alt--editorial { display: none; }

.ux-spec { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.ux-spec li {
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px; height: 300px; padding: 28px;
  border-radius: var(--d-r); background: var(--d-bg); border: 1px solid var(--d-border);
  transition: background .2s ease, border-color .2s ease, border-radius .2s ease;
}
.ux-spec__labels { display: flex; flex-direction: column; gap: 6px; }
.ux-spec__labels span { font-family: var(--np-font-mono); font-size: 10px; line-height: 14px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--d-muted); }
.ux-spec__labels .hd { color: var(--np-ink); }
.ux-spec__type { display: flex; align-items: baseline; gap: 18px; font-family: var(--np-font-display); color: var(--d-accent); }
.ux-spec__type .big { font-size: 120px; line-height: 110px; }
.ux-spec__type .it { font-style: italic; font-size: 64px; line-height: 64px; }
.ux-spec__pal { display: flex; gap: 8px; }
.ux-spec__pal i { width: 64px; height: 120px; border-radius: var(--d-r); transition: border-radius .2s ease; }
.ux-spec__pal i:nth-child(1) { background: var(--d-bg); border: 1px solid var(--d-swb); }
.ux-spec__pal i:nth-child(2) { background: var(--d-tint); }
.ux-spec__pal i:nth-child(3) { background: var(--d-accent); }
.ux-spec__pal i:nth-child(4) { background: var(--d-second); }
.ux-spec__pal i:nth-child(5) { background: var(--d-ink); }
.ux-spec__comp { display: flex; flex-direction: column; gap: 12px; }
.ux-spec__btns { display: flex; gap: 10px; align-items: center; }
.ux-spec__btns span { padding: 12px 20px; border-radius: var(--d-rb); font-weight: 500; font-size: 14px; line-height: 18px; }
.ux-spec__btns .p { background: var(--d-accent); color: #fffffe; }
.ux-spec__btns .s { border: 1px solid var(--d-second); color: var(--d-second); }
.ux-spec__btns .g { padding: 12px 8px; color: var(--d-muted); }
.ux-spec__chips { display: flex; gap: 8px; }
.ux-spec__chips span { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--d-chip); font-family: var(--np-font-mono); font-size: 9px; line-height: 14px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--np-ink); }
.ux-spec__chips .solid { background: var(--d-second); border-color: var(--d-second); color: #fffffe; }
.ux-spec__field { display: flex; flex-direction: column; gap: 8px; padding: 6px 0 10px; border-bottom: 1px solid var(--d-accent); }
.ux-spec__field .l { font-family: var(--np-font-mono); font-size: 9px; line-height: 14px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--d-muted); }
.ux-spec__field .v { font-size: 14px; line-height: 18px; color: var(--np-ink); }

/* ---------- /02 Before and after (ground) ---------- */
.ux-ba { padding: 96px 0; border-top: 1px solid var(--np-hair); }
.ux-ba__in { position: relative; display: flex; flex-direction: column; gap: 40px; }
.ux-ba__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ux-ba__col { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.ux-ba__lab { display: flex; justify-content: space-between; gap: 12px; }
.ux-ba__lab.after .cap { color: #294c3c; }

.ux-before { display: flex; flex-direction: column; gap: 16px; height: 360px; padding: 28px; border-radius: 20px; background: #eef0f4; border: 1px solid #d8dde5; }
.ux-before__head { display: flex; align-items: center; justify-content: space-between; }
.ux-before__head .t { font-size: 18px; line-height: 22px; color: #46556a; }
.ux-before__head .n { font-family: var(--np-font-mono); font-size: 10px; line-height: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--np-text-2); }
.ux-before .step { font-size: 12px; line-height: 18px; color: var(--np-text-2); }
.ux-before__row { display: flex; gap: 14px; }
.ux-before__f { flex: 1; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ux-before__f span { font-size: 11px; line-height: 14px; color: #000; }
.ux-before__f i { display: block; height: 32px; border-radius: 3px; background: #f8f9fb; border: 1px solid #cdd3dd; }
.ux-before__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 10px; }
.ux-before__foot .h { font-size: 11px; line-height: 18px; color: #000; }
.ux-before__foot .b { flex: none; width: 96px; height: 34px; display: grid; place-items: center; border-radius: 3px; background: #e0e5ec; border: 1px solid #bcc5d1; font-size: 12px; line-height: 16px; color: var(--np-ink); }

.ux-after { display: flex; flex-direction: column; justify-content: space-between; height: 360px; border-radius: 24px; overflow: hidden; background: #e7eedf; border: 1px solid #a6bc98; }
.ux-after__top { display: flex; flex-direction: column; gap: 18px; padding: 28px; }
.ux-after__top .t { font-family: var(--np-font-display); font-size: 40px; line-height: 42px; color: #294c3c; }
.ux-after__tiles { display: flex; gap: 10px; }
.ux-after__tile { flex: 1; display: flex; flex-direction: column; gap: 10px; height: 96px; padding: 16px; border-radius: 12px; background: #f9fbf5; border: 1px solid #c7d5be; min-width: 0; }
.ux-after__tile .k { font-family: var(--np-font-mono); font-size: 9px; line-height: 14px; letter-spacing: 0.14em; text-transform: uppercase; color: #50674e; }
.ux-after__tile .v { font-family: var(--np-font-display); font-size: 28px; line-height: 32px; color: #294c3c; white-space: nowrap; }
.ux-after__step { display: flex; align-items: center; justify-content: space-between; width: 144px; height: 32px; }
.ux-after__step i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid #c7d5be; font-style: normal; font-size: 18px; line-height: 22px; color: #294c3c; }
.ux-after__step i.plus { background: #294c3c; border-color: #294c3c; color: #fff; }
.ux-after__meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 574px; font-size: 12px; line-height: 18px; }
.ux-after__meta .l { display: flex; align-items: center; gap: 8px; color: #50674e; }
.ux-after__meta .l b { font-weight: 400; color: #294c3c; }
.ux-after__meta .r { display: flex; align-items: center; gap: 8px; color: #294c3c; }
.ux-after__meta .tog { display: flex; align-items: center; width: 28px; height: 16px; padding: 2px; border-radius: 999px; background: #a7bc9b; }
.ux-after__meta .tog i { width: 12px; height: 12px; border-radius: 50%; background: #fff; }
.ux-after__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 28px; background: #294c3c; }
.ux-after__foot p { font-size: 12px; line-height: 20px; color: var(--np-dark-text); }
.ux-after__foot .b { display: inline-flex; gap: 24px; padding: 16px 24px; border-radius: 12px; background: #d7eea8; color: #203d30; font-weight: 500; font-size: 15px; line-height: 18px; white-space: nowrap; }

/* ---------- /03 Sketch to system (white) ---------- */
.ux-process { padding: 96px 0; border-top: 1px solid var(--np-hair); }
.ux-process__in { display: flex; flex-direction: column; gap: 40px; }
.ux-stages { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.ux-stage { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; height: 440px; padding: 28px; border-radius: 20px; }
.ux-stage--1 { background: #f0f2f5; border: 1px solid #d8dde5; }
.ux-stage--2 { background: #e7eedf; border: 1px solid #b9ccae; }
.ux-stage--3 { background: var(--np-dark); border: 1px solid var(--np-dark); }
.ux-stage__art { display: flex; flex-direction: column; gap: 18px; height: 228px; }
.ux-stage--2 .ux-stage__art { gap: 14px; }
.ux-stage__art .k { font-family: var(--np-font-mono); font-size: 10px; line-height: 14px; letter-spacing: 0.1em; color: var(--np-text-2); }
.ux-stage--2 .ux-stage__art .k { color: #50674e; }
.ux-stage--3 .ux-stage__art .k { color: var(--np-dark-muted); }
.ux-stage__meta { display: flex; flex-direction: column; gap: 8px; }
.ux-stage__meta .w { font-family: var(--np-font-mono); font-size: 10px; line-height: 14px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--np-text-2); }
.ux-stage__meta h3 { font-family: var(--np-font-display); font-weight: 400; font-size: 34px; line-height: 36px; color: var(--np-ink); }
.ux-stage__meta p { font-size: 14px; line-height: 22px; color: var(--np-text-2); }
.ux-stage--2 .ux-stage__meta h3 { color: #294c3c; }
.ux-stage--3 .ux-stage__meta .w, .ux-stage--3 .ux-stage__meta p { color: var(--np-dark-muted); }
.ux-stage--3 .ux-stage__meta h3 { color: var(--np-dark-text); }

.ux-note { width: 288px; max-width: 100%; padding: 16px; background: #fff; border: 1px dashed #94a0b0; transform: rotate(-2deg); transform-origin: center; }
.ux-note p { font-family: var(--np-font-display); font-size: 25px; line-height: 29px; color: #34465c; }
.ux-flow { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ux-flow span { display: grid; place-items: center; width: 104px; height: 54px; border-radius: 6px; background: #fff; border: 1px solid #c6cdd8; font-size: 12px; line-height: 16px; color: #46556a; }
.ux-flow span.on { background: #dce3ed; border: 1px dashed #708197; color: #34465c; }
.ux-flow span.sm { width: 76px; }
.ux-flow i { font-style: normal; font-size: 16px; line-height: 20px; color: #708197; }

.ux-mock { display: flex; flex-direction: column; gap: 14px; padding: 18px; border-radius: 12px; background: #f9fbf5; border: 1px solid #b9ccae; }
.ux-mock__head { display: flex; align-items: center; justify-content: space-between; }
.ux-mock__head .t { font-family: var(--np-font-display); font-size: 28px; line-height: 32px; color: #294c3c; }
.ux-mock__head .v { font-size: 11px; line-height: 14px; color: #50674e; }
.ux-mock__tiles { display: flex; gap: 10px; }
.ux-mock__tiles div { flex: 1; display: flex; flex-direction: column; gap: 6px; padding: 10px; border-radius: 6px; min-width: 0; }
.ux-mock__tiles div:first-child { background: #e7eedf; }
.ux-mock__tiles div:last-child { border: 1px solid #b9ccae; }
.ux-mock__tiles .k { font-size: 10px; line-height: 12px; color: #50674e; }
.ux-mock__tiles .v { font-size: 13px; line-height: 16px; color: #294c3c; white-space: pre; }
.ux-mock__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ux-mock__foot .h { font-size: 11px; line-height: 16px; color: #50674e; }
.ux-mock__foot .b { display: inline-flex; gap: 16px; padding: 10px 14px; border-radius: 6px; background: #294c3c; color: #fff; font-size: 12px; line-height: 16px; white-space: nowrap; }

.ux-sys__type { display: flex; align-items: center; gap: 18px; }
.ux-sys__type .aa { font-family: var(--np-font-display); font-size: 66px; line-height: 70px; color: var(--np-dark-text); }
.ux-sys__type .col { display: flex; flex-direction: column; gap: 8px; }
.ux-sys__type .t { font-size: 14px; line-height: 20px; color: var(--np-dark-text); }
.ux-sys__type .m { font-family: var(--np-font-mono); font-size: 10px; line-height: 14px; color: var(--np-dark-muted); }
.ux-sys__sw { display: flex; gap: 8px; }
.ux-sys__sw i { flex: 1; height: 32px; border-radius: 2px; }
.ux-sys__btns { display: flex; align-items: center; gap: 10px; }
.ux-sys__btns .p { display: inline-flex; gap: 20px; padding: 11px 16px; border-radius: 6px; background: #d7eea8; color: #203d30; font-size: 12px; line-height: 16px; white-space: nowrap; }
.ux-sys__btns .s { padding: 10px 15px; border-radius: 6px; border: 1px solid #64736a; color: var(--np-dark-text); font-size: 12px; line-height: 16px; white-space: nowrap; }
.ux-sys__btns .plus { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #416556; color: var(--np-dark-text); font-size: 18px; line-height: 22px; }

/* ---------- Photograph (left-anchored) ---------- */
.ux-photo { padding: 0 0 80px; }
.ux-photo__in { width: min(100% - 80px, 1360px); margin-right: auto; }
.ux-photo figure { display: flex; flex-direction: column; gap: 18px; }
.ux-photo__frame { display: grid; }
.ux-photo__frame > * { grid-area: 1 / 1; }
.ux-photo img {
  width: 100%; height: 560px; object-fit: cover;
  clip-path: polygon(24px 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) calc(100% - 24px), calc(100% - 24px) 100%, 0 100%, 0 24px, 24px 24px);
}
.ux-photo__over { position: relative; z-index: 1; align-self: end; display: flex; flex-direction: column; gap: 6px; padding: 0 0 32px 80px; color: #fff; pointer-events: none; }
.ux-photo__over .lab { display: flex; gap: 14px; margin-bottom: 22px; font-family: var(--np-font-mono); font-size: 11px; line-height: 14px; letter-spacing: 0.16em; text-transform: uppercase; }
.ux-photo__over .lab .slash { color: var(--np-lime); }
.ux-photo__over .big { font-family: var(--np-font-display); font-size: 64px; line-height: 60px; letter-spacing: -0.02em; }
.ux-photo__over .big i { margin-left: 14px; }
.ux-photo__over .sub { font-family: var(--np-font-mono); font-size: 10px; line-height: 14px; letter-spacing: 0.16em; text-transform: uppercase; }
.ux-photo figcaption { display: flex; justify-content: space-between; gap: 16px; padding-left: 80px; }
.ux-photo figcaption span { font-family: var(--np-font-mono); font-size: 10px; line-height: 14px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--np-text-2); }

/* ---------- CTA (dark) ---------- */
.ux-cta { padding: 64px 0; }
.ux-cta__in { display: flex; flex-direction: column; gap: 48px; }
.ux-cta__head { display: flex; align-items: center; justify-content: space-between; gap: 80px; }
.ux-cta__lead { display: flex; flex-direction: column; gap: 16px; max-width: 780px; }
.ux-cta__lead h2 { font-size: 60px; line-height: 64px; color: var(--np-dark-text); }
.ux-cta__lead p { font-size: 18px; line-height: 29px; color: var(--np-dark-muted); }
.ux-cta__btn { flex: none; gap: 24px; padding: 16px 24px; font-size: 16px; line-height: 22px; font-weight: 400; }
.ux-steps { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; }
.ux-steps li { display: flex; flex-direction: column; gap: 12px; padding-top: 24px; border-top: 1px solid var(--np-foot-hair); }
.ux-steps .k { font-family: var(--np-font-mono); font-size: 12px; line-height: 18px; color: var(--np-dark-muted); }
.ux-steps h3 { font-family: var(--np-font-display); font-weight: 400; font-size: 30px; line-height: 34px; color: var(--np-dark-text); }
.ux-steps p { font-size: 16px; line-height: 26px; color: var(--np-dark-muted); }

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
  .ux-hero__title { font-size: 88px; line-height: 0.96; }
  .ux-sprint__main { gap: 48px; }
  .ux-reframe { width: 480px; }
}

@media (max-width: 1100px) {
  .ux-hero__in { flex-direction: column; gap: 56px; }
  .ux-hero__copy { flex: none; }
  .ux-intro__body { grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; }
  .ux-sprint__main { flex-direction: column; align-items: flex-start; }
  .ux-reframe { width: 100%; }
  .ux-spec li { height: auto; min-height: 300px; }
  .ux-spec__type .big { font-size: 96px; line-height: 90px; }
  .ux-stages { grid-template-columns: 1fr; }
  .ux-stage { height: auto; }
  .ux-stage__art { height: auto; }
}

@media (max-width: 900px) {
  .ux-hero { padding: 48px 0 56px; }
  .ux-hero__in { gap: 40px; }
  .ux-hero__copy { gap: 28px; }
  .ux-hero__title { font-size: 60px; line-height: 1; }

  .ux-intro { padding: 32px 0 32px; }
  .ux-intro__in { gap: 28px; }
  .ux-intro__head { flex-direction: column; align-items: flex-start; gap: 28px; }
  .ux-intro__head h2 { flex: none; font-size: 44px; line-height: 48px; }
  .ux-intro__head p { flex: none; }
  .ux-intro__body { grid-template-columns: 1fr; gap: 28px; }
  .ux-list p { font-size: 16px; line-height: 26px; }
  .ux-commit { padding: 24px; }
  .ux-intro__cta { display: inline-flex; width: 100%; min-height: 52px; font-size: 16px; font-weight: 400; }

  .ux-sprint { padding: 56px 0; }
  .ux-sprint__in { gap: 32px; }
  .ux-sprint__bar { flex-direction: column; align-items: flex-start; gap: 12px; }
  .ux-sprint__copy h2 { font-size: 44px; line-height: 48px; }
  .ux-sprint__copy h2 br { display: none; }
  .ux-reframe { padding: 24px; }
  .ux-reframe__hmw .q { font-size: 26px; line-height: 32px; }
  .ux-outcomes { grid-template-columns: 1fr; gap: 24px; padding-top: 24px; }

  .ux-head { flex-direction: column; gap: 12px; padding-bottom: 24px; }
  .ux-head .idx { width: auto; padding-top: 0; }
  .ux-head h2 { font-size: 44px; line-height: 48px; }

  .ux-system, .ux-ba, .ux-process { padding: 56px 0; }
  .ux-system__in, .ux-ba__in, .ux-process__in { gap: 32px; }
  .ux-system__bar { flex-direction: column; align-items: flex-start; gap: 16px; }
  .ux-dir { padding: 14px 16px; }
  .ux-spec { grid-template-columns: 1fr; }
  .ux-spec li { min-height: 0; }
  .ux-spec__type .big { font-size: 96px; line-height: 90px; }
  .ux-spec__pal i { flex: 1; width: auto; }
  .ux-spec__btns, .ux-spec__chips { flex-wrap: wrap; }

  .ux-ba__grid { grid-template-columns: 1fr; }
  .ux-ba__lab { flex-wrap: wrap; }
  .ux-before, .ux-after { height: auto; }
  .ux-before { padding: 20px; }
  .ux-before__row { flex-direction: column; }
  .ux-after__top { padding: 20px; }
  .ux-after__top .t { font-size: 32px; line-height: 36px; }
  .ux-after__tiles { flex-wrap: wrap; }
  .ux-after__tile { flex: 1 1 140px; }
  .ux-after__meta { flex-wrap: wrap; }
  .ux-after__foot { flex-wrap: wrap; padding: 16px 20px; }

  .ux-stage { padding: 20px; }
  .ux-mock__tiles { flex-wrap: wrap; }

  .ux-photo { padding-bottom: 56px; }
  .ux-photo__in { width: min(100% - (var(--np-gutter) * 2), 1360px); margin-inline: auto; }
  .ux-photo img { height: auto; aspect-ratio: 4 / 3; clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px, 16px 16px); }
  .ux-photo__over { padding: 0 0 24px 24px; }
  .ux-photo__over .lab { margin-bottom: 12px; }
  .ux-photo__over .big { font-size: 44px; line-height: 44px; }
  .ux-photo figcaption { flex-direction: column; gap: 6px; padding-left: 0; }

  .ux-cta { padding: 56px 0; }
  .ux-cta__in { gap: 36px; }
  .ux-cta__head { flex-direction: column; align-items: flex-start; gap: 28px; }
  .ux-cta__lead h2 { font-size: 40px; line-height: 44px; }
  .ux-cta__lead p br { display: none; }
  .ux-cta__btn { width: 100%; min-height: 52px; }
  .ux-steps { grid-template-columns: 1fr; gap: 24px; }
}

/* The 560px mock stage is scaled down once the container is narrower than it */
@media (max-width: 620px) {
  .ux-hero__stage { zoom: 0.6; }
}

@media (max-width: 480px) {
  .ux-hero__title { font-size: 48px; }
  .ux-hero__actions .btn, .ux-sprint__btn { width: 100%; }
  .ux-spec__type .big { font-size: 80px; line-height: 76px; }
  .ux-spec__type .it { font-size: 48px; line-height: 48px; }
}
