/* ============================================================
   NOVO DELIVERY — case Criarte
   A linguagem do produto entra no sistema editorial dos cases:
   creme quente, laranja de ação e verde escuro de operação.
   ============================================================ */

.nd-case-page {
  --nd-orange: #ff5a00;
  --nd-orange-deep: #d94700;
  --nd-forest: #16231d;
  --nd-cream: #fdf6ec;
  --nd-cream-2: #f7eddd;
  --nd-green: #2f9e6b;
  --nd-ink: #1c1a17;
  --nd-muted: #7d7264;
  --nd-line: #e7dcc8;
  --nd-radius: clamp(1.1rem, 2.4vw, 2rem);
  background: var(--nd-forest);
  color: var(--nd-cream);
}

.nd-case-page .bg-layer { background: var(--nd-forest); }

.nd-skip {
  position: fixed;
  z-index: 120;
  left: 1rem;
  top: 1rem;
  padding: 0.8rem 1rem;
  background: var(--nd-cream);
  color: var(--nd-ink);
  font-family: var(--font-m);
  font-size: 0.72rem;
  transform: translateY(-180%);
  transition: transform 180ms ease;
}

.nd-skip:focus { transform: translateY(0); }

.nd-shell {
  width: min(100% - (2 * var(--pad)), 92rem);
  margin-inline: auto;
}

.nd-section {
  position: relative;
  padding-block: clamp(6rem, 13vw, 12rem);
}

.nd-section__index {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.nd-section__head {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  max-width: 75rem;
  margin-bottom: clamp(3.5rem, 8vw, 7rem);
}

.nd-section__head h2,
.nd-intro h2,
.nd-bond h2,
.nd-offline h2,
.nd-system h2,
.nd-final h2 {
  font-family: var(--font-d);
  font-weight: 850;
  font-stretch: 112%;
  font-variation-settings: "wdth" 112;
  font-size: clamp(3rem, 7.8vw, 8rem);
  line-height: 0.89;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.nd-section__head h2 em,
.nd-intro h2 em,
.nd-offline h2 em {
  font-weight: 430;
  font-stretch: 90%;
  font-variation-settings: "wdth" 90;
}

.nd-section__head > p,
.nd-intro__copy > p,
.nd-bond__copy > p,
.nd-offline__copy > p,
.nd-system__copy > p,
.nd-final__content > p {
  max-width: 58ch;
  font-family: Manrope, var(--font-d);
  font-size: clamp(1rem, 1.45vw, 1.28rem);
  line-height: 1.68;
  text-wrap: pretty;
}

.nd-section__head--split {
  grid-template-columns: minmax(0, 0.9fr) minmax(18rem, 1.1fr);
  align-items: end;
}

.nd-section__head--split .nd-section__index { grid-column: 1 / -1; }
.nd-section__head--split h2 { font-size: clamp(3rem, 6.5vw, 6.7rem); }
.nd-section__head--split > p { justify-self: end; }

/* ---------- hero ---------- */

.nd-hero {
  min-height: max(100svh, 48rem);
  background: var(--nd-forest);
  color: #fff;
}

.nd-hero .case-hero__media::after {
  background:
    linear-gradient(90deg, rgba(11, 18, 15, 0.82) 0%, rgba(11, 18, 15, 0.24) 58%, rgba(11, 18, 15, 0.44) 100%),
    linear-gradient(180deg, rgba(11, 18, 15, 0.3) 0%, transparent 35%, rgba(11, 18, 15, 0.94) 100%);
}

.nd-hero .case-hero__media img { object-position: center; }

.nd-hero__brand {
  position: absolute;
  z-index: 2;
  top: calc(var(--nav-h) + clamp(1.5rem, 4vw, 3rem));
  right: var(--pad);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-d);
  font-size: clamp(0.9rem, 1.4vw, 1.25rem);
  font-weight: 850;
  line-height: 0.83;
  letter-spacing: -0.04em;
}

.nd-hero__brand img {
  width: clamp(3.1rem, 5vw, 4.6rem);
  height: auto;
  border-radius: 24%;
  box-shadow: 0 1.2rem 3rem rgba(0, 0, 0, 0.25);
}

.nd-hero .case-hero__info {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(18rem, 0.55fr);
  align-items: end;
}

.nd-hero .case-hero__eyebrow { color: #ffb184; }

.nd-hero h1 {
  max-width: 12ch;
  font-size: clamp(3.2rem, 7.6vw, 8.1rem);
  text-transform: none;
  text-wrap: balance;
}

.nd-hero h1 em {
  color: var(--nd-orange);
  font-style: normal;
}

.nd-hero .case-hero__linha {
  padding-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.75);
  font-family: Manrope, var(--font-d);
}

.nd-text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.5rem;
  padding-bottom: 0.42rem;
  border-bottom: 1px solid currentColor;
  color: #fff;
  font-family: var(--font-m);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 220ms ease, gap 220ms ease;
}

.nd-text-link:hover,
.nd-text-link:focus-visible { color: var(--nd-orange); gap: 1rem; }

/* ---------- facts ---------- */

.nd-facts { background: var(--nd-forest); }
.nd-facts .case-ficha__grid { border-color: rgba(255, 255, 255, 0.14); }
.nd-facts .case-ficha__item .rot { color: #88a597; border-color: rgba(255, 255, 255, 0.12); }
.nd-facts .case-ficha__item p { color: var(--nd-cream); }

/* ---------- definição ---------- */

.nd-intro {
  background: var(--nd-cream);
  color: var(--nd-ink);
}

.nd-intro__grid {
  display: grid;
  grid-template-columns: minmax(7rem, 0.35fr) minmax(0, 1.35fr) minmax(14rem, 0.5fr);
  gap: clamp(2rem, 6vw, 7rem);
  align-items: start;
}

.nd-intro .nd-section__index { color: var(--nd-orange-deep); }
.nd-intro__copy { display: grid; gap: 2rem; }
.nd-intro__copy h2 { margin-bottom: clamp(1rem, 3vw, 2rem); }
.nd-intro__copy p { color: #5d5448; }

.nd-intro__mark {
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
  display: grid;
  gap: 1rem;
  justify-items: start;
}

.nd-intro__mark img {
  width: min(100%, 12rem);
  height: auto;
  border-radius: 25%;
  box-shadow: 0 2rem 5rem rgba(255, 90, 0, 0.18);
}

.nd-intro__mark span {
  font-family: var(--font-d);
  font-size: clamp(1.25rem, 2.1vw, 2rem);
  font-weight: 850;
  line-height: 0.9;
  letter-spacing: -0.04em;
}

/* ---------- instalação ---------- */

.nd-install {
  background: var(--nd-orange);
  color: #1b1009;
}

.nd-install .nd-section__head { max-width: 68rem; }
.nd-install .nd-section__head > p { color: rgba(27, 16, 9, 0.72); }

.nd-install__steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  border-block: 1px solid rgba(27, 16, 9, 0.38);
}

.nd-install__steps li {
  min-height: 22rem;
  display: flex;
  flex-direction: column;
  padding: 1.4rem clamp(1rem, 2vw, 2rem) 2rem;
  border-left: 1px solid rgba(27, 16, 9, 0.26);
}

.nd-install__steps li:first-child { border-left: 0; }
.nd-install__steps li > span { font-family: var(--font-m); font-size: 0.72rem; }
.nd-install__steps strong { margin-top: auto; font-size: clamp(1.8rem, 3vw, 3rem); letter-spacing: -0.045em; }
.nd-install__steps p { margin-top: 1rem; max-width: 24ch; line-height: 1.55; color: rgba(27, 16, 9, 0.72); }

/* ---------- jornada ---------- */

.nd-journey {
  background: var(--nd-cream-2);
  color: var(--nd-ink);
}

.nd-journey .nd-section__head--split {
  grid-template-columns: minmax(0, 1fr);
  column-gap: 0;
}

.nd-journey .nd-section__head--split h2 {
  min-width: 0;
  max-width: 10ch;
}

.nd-journey .nd-section__index { color: var(--nd-orange-deep); }
.nd-journey .nd-section__head > p {
  width: min(100%, 42rem);
  margin-top: clamp(0.5rem, 1.5vw, 1.5rem);
  justify-self: end;
  color: #665c4f;
}

.nd-phone-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: start;
}

.nd-phone { margin: 0; }
.nd-phone--lift { margin-top: clamp(3rem, 8vw, 8rem); }

.nd-phone > div {
  position: relative;
  aspect-ratio: 552 / 980;
  overflow: hidden;
  border: clamp(0.45rem, 1vw, 0.8rem) solid var(--nd-ink);
  border-radius: clamp(1.5rem, 3.4vw, 3rem);
  background: var(--nd-ink);
  box-shadow: 0 2.5rem 5rem rgba(73, 52, 30, 0.17);
}

.nd-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

.nd-phone figcaption {
  display: flex;
  gap: 0.8rem;
  margin-top: 1.1rem;
  font-family: var(--font-d);
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  font-weight: 750;
}

.nd-phone figcaption b { color: var(--nd-orange-deep); font-family: var(--font-m); font-size: 0.7rem; }

.nd-journey__summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  margin-top: clamp(4rem, 9vw, 8rem);
  border-top: 1px solid var(--nd-ink);
}

.nd-journey__summary li { padding: 1rem 1rem 0 0; }
.nd-journey__summary span { font-family: var(--font-m); font-size: 0.66rem; color: var(--nd-orange-deep); }
.nd-journey__summary p { margin-top: 0.7rem; font-size: clamp(1rem, 1.6vw, 1.35rem); font-weight: 750; }

/* ---------- vínculo ---------- */

.nd-bond {
  background: var(--nd-forest);
  color: var(--nd-cream);
}

.nd-bond__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(18rem, 0.65fr);
  gap: clamp(3rem, 10vw, 10rem);
  align-items: start;
}

.nd-bond .nd-section__index { color: #8fd0ae; margin-bottom: 2rem; }
.nd-bond h2 { font-size: clamp(3rem, 6.7vw, 6.5rem); }
.nd-bond__copy > p { margin-top: 2.5rem; color: #bdc9c2; }

.nd-bond__copy ul {
  list-style: none;
  margin-top: clamp(3rem, 7vw, 6rem);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.nd-bond__copy li {
  display: grid;
  grid-template-columns: minmax(10rem, 0.65fr) minmax(0, 1fr);
  gap: 1.5rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.nd-bond__copy li strong { color: #fff; }
.nd-bond__copy li span { color: #8fa096; line-height: 1.45; }

.nd-notification {
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
  margin: 0;
}

.nd-notification img {
  display: block;
  width: min(100%, 31rem);
  height: auto;
  margin-left: auto;
  border-radius: var(--nd-radius);
}

.nd-notification figcaption { margin-top: 1rem; color: #8fa096; font-size: 0.66rem; text-align: right; }

/* ---------- operação ---------- */

.nd-operation {
  background: #e6efe7;
  color: #132019;
}

.nd-operation .nd-section__index { color: #237c53; }
.nd-operation .nd-section__head > p { color: #4c5f53; }

.nd-kitchen { margin: 0; }

.nd-kitchen img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(19, 32, 25, 0.14);
  border-radius: var(--nd-radius);
  box-shadow: 0 2rem 5rem rgba(22, 35, 29, 0.12);
}

.nd-kitchen figcaption { margin-top: 1rem; font-size: 0.68rem; color: #4c5f53; letter-spacing: 0.1em; }

.nd-operation__rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(3rem, 7vw, 6rem);
  border-block: 1px solid rgba(19, 32, 25, 0.22);
}

.nd-operation__rail article { padding: 1.5rem clamp(1rem, 2vw, 2rem) 2rem; border-left: 1px solid rgba(19, 32, 25, 0.18); }
.nd-operation__rail article:first-child { border-left: 0; }
.nd-operation__rail span { font-family: var(--font-m); font-size: 0.68rem; color: #237c53; letter-spacing: 0.12em; }
.nd-operation__rail p { margin-top: 3rem; max-width: 23ch; line-height: 1.55; }

/* ---------- continuidade ---------- */

.nd-offline {
  background: var(--nd-ink);
  color: var(--nd-cream);
}

.nd-offline__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(22rem, 0.75fr);
  gap: clamp(3rem, 10vw, 10rem);
  align-items: center;
}

.nd-offline .nd-section__index { color: #ff9a61; margin-bottom: 2rem; }
.nd-offline h2 { font-size: clamp(3rem, 7vw, 7rem); }
.nd-offline__copy p { margin-top: 2.5rem; color: #bdb3a5; }

.nd-queue {
  background: #26231f;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--nd-radius);
  overflow: hidden;
  box-shadow: 0 2.5rem 7rem rgba(0, 0, 0, 0.28);
}

.nd-queue__status {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 0.7rem;
  align-items: center;
  padding: 1.3rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.nd-queue__status > span { width: 0.7rem; aspect-ratio: 1; border-radius: 50%; background: var(--nd-orange); box-shadow: 0 0 0 0.4rem rgba(255, 90, 0, 0.12); }
.nd-queue__status b { font-size: 0.92rem; }
.nd-queue__status small { grid-column: 2; color: #8f877d; margin-top: 0.2rem; }
.nd-queue ol { list-style: none; padding: 0.6rem 1.5rem; }

.nd-queue li {
  display: grid;
  grid-template-columns: 4rem 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nd-queue li:last-child { border-bottom: 0; }
.nd-queue li b { font-family: var(--font-m); color: #ff9a61; font-size: 0.76rem; }
.nd-queue li span { font-weight: 650; }
.nd-queue li em { color: #8f877d; font-size: 0.76rem; font-style: normal; }

.nd-queue__sync {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.5rem;
  background: var(--nd-green);
  color: #fff;
}

.nd-queue__sync span { font-family: var(--font-m); font-size: 0.62rem; letter-spacing: 0.09em; }

/* ---------- várias lojas ---------- */

.nd-worlds {
  background: var(--nd-cream);
  color: var(--nd-ink);
}

.nd-worlds .nd-section__index { color: var(--nd-orange-deep); }
.nd-worlds .nd-section__head p { color: #655b4e; }

.nd-worlds__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(1rem, 2.2vw, 2rem);
  align-items: start;
}

.nd-world { grid-column: span 5; margin: 0; }
.nd-world--wide { grid-column: span 7; }
.nd-world:nth-child(2) { margin-top: clamp(4rem, 12vw, 11rem); }
.nd-world:nth-child(4) { margin-top: clamp(2rem, 6vw, 6rem); }

.nd-world > div {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--nd-radius);
  background: var(--nd-ink);
  box-shadow: 0 1.8rem 4rem rgba(70, 50, 31, 0.12);
}

.nd-world img { width: 100%; height: auto; display: block; transform: translateY(0); }

.nd-world figcaption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--nd-line);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 750;
}

.nd-world figcaption span { color: var(--nd-muted); font-family: var(--font-m); font-size: 0.62rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; }

/* ---------- sistema ---------- */

.nd-system {
  background: var(--nd-orange);
  color: #1b1009;
}

.nd-system__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.65fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
}

.nd-system .nd-section__index { margin-bottom: 2rem; }
.nd-system h2 { font-size: clamp(3rem, 6.8vw, 6.8rem); }
.nd-system__copy { display: grid; gap: 1.5rem; padding-top: 4rem; }
.nd-system__copy p { color: rgba(27, 16, 9, 0.72); }

.nd-palette {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(2rem, 5vw, 4rem);
}

.nd-palette > span {
  min-height: clamp(12rem, 24vw, 22rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.2rem;
  background: var(--swatch);
  color: #fff;
}

.nd-palette > span:nth-child(3) { color: var(--nd-ink); }
.nd-palette b { font-size: clamp(1.1rem, 1.7vw, 1.5rem); }
.nd-palette code { margin-top: 0.4rem; font-family: var(--font-m); font-size: 0.68rem; opacity: 0.66; }

/* ---------- encerramento ---------- */

.nd-case-ending { background: var(--nd-forest); }

.nd-final {
  position: relative;
  min-height: max(100svh, 46rem);
  display: flex;
  align-items: flex-end;
  padding-block: clamp(7rem, 13vw, 12rem) clamp(4rem, 7vw, 6rem);
  overflow: hidden;
  color: #fff;
}

.nd-final__media { position: absolute; inset: 0; }
.nd-final__media img { width: 100%; height: 100%; object-fit: cover; }
.nd-final__media span { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16, 18, 15, 0.94) 0%, rgba(16, 18, 15, 0.57) 55%, rgba(16, 18, 15, 0.18) 100%); }
.nd-final__content { position: relative; z-index: 1; }
.nd-final .nd-section__index { color: #ffb184; margin-bottom: 2rem; }
.nd-final h2 { max-width: 10.5ch; font-size: clamp(3.2rem, 8vw, 8.5rem); }
.nd-final__content > p { margin-top: 2rem; color: rgba(255, 255, 255, 0.72); }

.nd-final__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2.2rem; }

.nd-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 3.4rem;
  padding: 0.9rem 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.52);
  font-family: var(--font-m);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 220ms ease, background-color 220ms ease, color 220ms ease;
}

.nd-button--light { background: var(--nd-cream); border-color: var(--nd-cream); color: var(--nd-ink); }
.nd-button--ghost { color: #fff; }
.nd-button:hover,
.nd-button:focus-visible { transform: translateY(-3px); }
.nd-button--light:hover,
.nd-button--light:focus-visible { background: var(--nd-orange); border-color: var(--nd-orange); color: #fff; }
.nd-button--ghost:hover,
.nd-button--ghost:focus-visible { background: rgba(255, 255, 255, 0.12); }
.nd-button:active { transform: translateY(1px) scale(0.985); }

.nd-case-ending .case-fim { background: var(--nd-forest); border-color: rgba(255, 255, 255, 0.12); }
.nd-case-ending .case-fim a.viva { background: var(--nd-orange); color: #fff; }
.nd-case-ending .case-fim a.viva:hover { background: var(--nd-cream); color: var(--nd-ink); }

/* ---------- responsivo ---------- */

@media (max-width: 960px) {
  .nd-section__head--split,
  .nd-intro__grid,
  .nd-bond__grid,
  .nd-offline__grid,
  .nd-system__grid { grid-template-columns: 1fr; }

  .nd-journey .nd-section__head--split { grid-template-columns: 1fr; }

  .nd-section__head--split > p { justify-self: start; }
  .nd-intro__mark { position: static; grid-template-columns: 7rem 1fr; align-items: center; }
  .nd-intro__mark img { width: 7rem; }
  .nd-notification { position: static; width: min(100%, 30rem); margin-inline: auto; }
  .nd-system__copy { padding-top: 0; }

  .nd-install__steps,
  .nd-operation__rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nd-install__steps li:nth-child(3),
  .nd-operation__rail article:nth-child(3) { border-left: 0; border-top: 1px solid rgba(27, 16, 9, 0.26); }
  .nd-install__steps li:nth-child(4),
  .nd-operation__rail article:nth-child(4) { border-top: 1px solid rgba(27, 16, 9, 0.26); }
  .nd-install__steps li { min-height: 17rem; }
}

@media (max-width: 760px) {
  .nd-section { padding-block: clamp(5rem, 20vw, 8rem); }

  .nd-hero {
    min-height: max(100svh, 43rem);
    padding-inline: 6vw;
  }

  .nd-hero .case-hero__media img { object-position: 62% center; }
  .nd-hero .case-hero__media::after { background: linear-gradient(180deg, rgba(11, 18, 15, 0.34) 0%, rgba(11, 18, 15, 0.2) 32%, rgba(11, 18, 15, 0.96) 75%); }
  .nd-hero__brand { top: calc(var(--nav-h) + 1.5rem); left: 6vw; right: auto; }
  .nd-hero .case-hero__info { grid-template-columns: 1fr; gap: 1.5rem; }
  .nd-hero h1 { max-width: 10ch; font-size: clamp(3rem, 14vw, 5.4rem); }
  .nd-hero .case-hero__linha { max-width: 29rem; }

  .nd-phone-row { grid-template-columns: repeat(3, minmax(16rem, 76vw)); overflow-x: auto; margin-inline: calc(-1 * var(--pad)); padding: 0 var(--pad) 2rem; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .nd-phone-row::-webkit-scrollbar { display: none; }
  .nd-phone { scroll-snap-align: center; }
  .nd-phone--lift { margin-top: 0; }

  .nd-journey__summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nd-journey__summary li { min-height: 7rem; border-bottom: 1px solid var(--nd-line); }

  .nd-bond__copy li { grid-template-columns: 1fr; gap: 0.4rem; }
  .nd-queue li { grid-template-columns: 3.4rem 1fr; }
  .nd-queue li em { grid-column: 2; }
  .nd-queue__sync { flex-direction: column; }

  .nd-world,
  .nd-world--wide { grid-column: 1 / -1; }
  .nd-world:nth-child(2),
  .nd-world:nth-child(4) { margin-top: 2rem; }

  .nd-palette { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nd-palette > span { min-height: 11rem; }

  .nd-final__media img { object-position: 68% center; }
  .nd-final__media span { background: linear-gradient(180deg, rgba(16, 18, 15, 0.22), rgba(16, 18, 15, 0.95) 66%); }
}

@media (max-width: 520px) {
  .nd-case-page .nav-cta { display: none; }
  .nd-case-page .nav-actions {
    position: fixed;
    z-index: 102;
    top: calc((var(--nav-h) - 2.1rem) / 2);
    right: var(--pad);
    display: flex;
    pointer-events: auto;
  }
  .nd-case-page .burger {
    color: var(--white) !important;
    background: var(--nd-orange);
    border-radius: 999px;
    padding-inline: 0.32rem;
  }

  .nd-install__steps,
  .nd-operation__rail { grid-template-columns: 1fr; }
  .nd-install__steps li,
  .nd-install__steps li:nth-child(3),
  .nd-install__steps li:nth-child(4),
  .nd-operation__rail article,
  .nd-operation__rail article:nth-child(3),
  .nd-operation__rail article:nth-child(4) { min-height: 0; border-left: 0; border-top: 1px solid rgba(27, 16, 9, 0.24); }
  .nd-install__steps li { padding-block: 1.2rem 2rem; }
  .nd-install__steps strong { margin-top: 3rem; }
  .nd-operation__rail article:first-child { border-top: 0; }
  .nd-operation__rail p { margin-top: 1.5rem; }

  .nd-intro__mark { grid-template-columns: 5.5rem 1fr; }
  .nd-intro__mark img { width: 5.5rem; }
  .nd-palette > span { min-height: 9rem; }
  .nd-final__actions { flex-direction: column; align-items: stretch; }
}

@media (prefers-reduced-motion: reduce) {
  .nd-case-page *,
  .nd-case-page *::before,
  .nd-case-page *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
