/* ==========================================================================
   NOVERA AUTOMATION — pages.css
   Page-level compositions. Depends on main.css tokens.
   ========================================================================== */

/* ==========================================================================
   HOME — A. Hero
   ========================================================================== */
.hx {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: min(900px, calc(100svh - var(--nv-header-h)));
  display: flex;
  flex-direction: column;
}
.hx__media {
  position: absolute;
  inset: 0 0 0 34%;
  z-index: -2;
  margin: 0;
}
.hx__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 45%; }
.hx::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, var(--nv-bg) 0%, var(--nv-bg) 34%, rgba(13, 17, 23, .82) 44%, rgba(13, 17, 23, .25) 66%, rgba(13, 17, 23, .1) 100%),
    linear-gradient(0deg, var(--nv-bg) 0%, rgba(13, 17, 23, 0) 26%);
}
.hx__frame {
  position: absolute;
  top: clamp(24px, 4vw, 48px);
  right: var(--nv-gutter);
  bottom: clamp(96px, 12vw, 150px);
  left: 38%;
  pointer-events: none;
  z-index: -1;
}
.hx__frame::before, .hx__frame::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
}
.hx__frame::before { top: 0; right: 0; border-top: 1px solid var(--nv-accent); border-right: 1px solid var(--nv-accent); }
.hx__frame::after { bottom: 0; left: 0; border-bottom: 1px solid var(--nv-accent); border-left: 1px solid var(--nv-accent); }

.hx__inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: clamp(56px, 7vw, 96px) clamp(40px, 5vw, 64px);
}
.hx__descriptor {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem .9rem;
  margin: 0 0 clamp(1.75rem, 3vw, 2.75rem);
  padding: 0;
  list-style: none;
  font-family: var(--nv-font-head);
  font-stretch: 120%;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .2em;
  color: var(--nv-gray);
}
.hx__descriptor li { display: inline-flex; align-items: center; gap: .9rem; }
.hx__descriptor li + li::before { content: "/"; color: var(--nv-accent); letter-spacing: 0; }
.hx h1 {
  font-size: clamp(2.6rem, 1.2rem + 5.2vw, 5.75rem);
  line-height: .98;
  letter-spacing: -.03em;
  max-width: 11.5ch;
}
.hx h1 .hx__line { display: block; }
.hx h1 .hx__line--muted { color: var(--nv-steel); }
.hx__text { margin-top: clamp(1.5rem, 2.5vw, 2.25rem); max-width: 44ch; }
.hx__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; margin-top: clamp(2rem, 3vw, 2.75rem); }

.hx__foot {
  border-top: 1px solid var(--nv-line);
  background: linear-gradient(0deg, rgba(13, 17, 23, .9), rgba(13, 17, 23, .55));
}
.hx__foot-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.hx__foot-item {
  padding: 1.25rem 1.25rem 1.25rem 0;
  border-right: 1px solid var(--nv-line);
  font-size: .875rem;
  color: var(--nv-steel);
  line-height: 1.45;
}
.hx__foot-item + .hx__foot-item { padding-left: 1.25rem; }
.hx__foot-item:last-child { border-right: 0; }
.hx__foot-item .nv-label { display: block; margin-bottom: .35rem; color: var(--nv-accent); }
.hx__fig {
  position: absolute;
  right: var(--nv-gutter);
  bottom: calc(clamp(96px, 12vw, 150px) - 2.1rem);
  font-size: .75rem;
  color: var(--nv-steel);
  z-index: 1;
  text-align: right;
}

@media (max-width: 991.98px) {
  .hx { min-height: 0; }
  .hx__media { position: relative; inset: auto; order: -1; aspect-ratio: 4 / 3; max-height: 62svh; width: 100%; z-index: 0; }
  .hx__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, var(--nv-bg) 0%, rgba(13, 17, 23, .7) 22%, rgba(13, 17, 23, 0) 55%);
  }
  .hx::before { content: none; }
  .hx__frame { display: none; }
  .hx__fig { display: none; }
  .hx__inner { margin-top: -9vw; position: relative; z-index: 1; padding-top: 0; }
  .hx__foot-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hx__foot-item { border-bottom: 1px solid var(--nv-line); }
  .hx__foot-item:nth-child(2n) { border-right: 0; }
  .hx__foot-item:nth-child(2n + 1) { padding-left: 0; }
  .hx__foot-item:nth-child(n + 3) { border-bottom: 0; }
}
@media (max-width: 575.98px) {
  .hx__media { aspect-ratio: 5 / 4; }
  .hx__inner { margin-top: -8vw; }
  .hx__descriptor { font-size: .66rem; letter-spacing: .16em; }
  .hx__actions .nv-btn { width: 100%; }
}

/* ==========================================================================
   HOME — B. Approach
   ========================================================================== */
.ap__head h2 { max-width: 14ch; }
.ap__media { margin-top: clamp(2.5rem, 5vw, 0rem); }
.ap__criteria {
  list-style: none;
  margin: clamp(2.5rem, 4vw, 3.5rem) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--nv-line-strong);
}
.ap__criteria li {
  padding: 1.35rem 1.25rem 1.5rem 0;
  border-bottom: 1px solid var(--nv-line);
}
.ap__criteria li:nth-child(odd) { border-right: 1px solid var(--nv-line); }
.ap__criteria li:nth-child(even) { padding-left: 1.25rem; }
.ap__criteria h3 { font-size: 1.125rem; margin: .5rem 0 .4rem; }
.ap__criteria p { font-size: .9375rem; color: #3A424A; margin: 0; }
@media (max-width: 575.98px) {
  .ap__criteria { grid-template-columns: 1fr; }
  .ap__criteria li:nth-child(odd) { border-right: 0; }
  .ap__criteria li:nth-child(even) { padding-left: 0; }
}

/* ==========================================================================
   HOME — C. Solutions list with hover preview
   ========================================================================== */
.sl__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem 3rem; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.sl__head h2 { max-width: 16ch; }
.sl { position: relative; }
.sl__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--nv-line-strong); }
.sl__item { border-bottom: 1px solid var(--nv-line-strong); }
.sl__row {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr) auto;
  gap: 1rem 1.5rem;
  align-items: start;
  padding: clamp(1.5rem, 2.6vw, 2.25rem) 0;
  color: var(--nv-text);
  text-decoration: none;
  position: relative;
}
.sl__row::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  height: 1px;
  width: 0;
  background: var(--nv-accent);
  transition: width .5s var(--nv-ease);
}
.sl__num { font-size: .875rem; color: var(--nv-gray); padding-top: .55rem; transition: color .3s; }
.sl__title {
  font-size: clamp(1.6rem, 1.1rem + 2vw, 2.75rem);
  font-weight: 600;
  line-height: 1.05;
  transition: color .3s, transform .45s var(--nv-ease);
}
.sl__desc { margin-top: .85rem; max-width: 52ch; color: var(--nv-gray); font-size: .975rem; }
.sl__go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--nv-line-strong);
  border-radius: 50%;
  margin-top: .2rem;
  transition: background-color .3s, border-color .3s, color .3s;
}
.sl__thumb { display: none; }
.sl__row:hover::before, .sl__row:focus-visible::before { width: 100%; }
.sl__row:hover .sl__num, .sl__row:focus-visible .sl__num { color: var(--nv-accent); }
.sl__row:hover .sl__go, .sl__row:focus-visible .sl__go { background: var(--nv-accent); border-color: var(--nv-accent); color: var(--nv-text-dark); }

/* Touch / small screens: inline thumbnails, always visible */
@media (max-width: 991.98px), (hover: none) {
  .sl__row { grid-template-columns: minmax(0, 1fr) auto; }
  .sl__num { grid-column: 1 / -1; padding-top: 0; }
  .sl__thumb {
    display: block;
    grid-column: 1 / -1;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    margin: .25rem 0 .5rem;
    background: var(--nv-surface);
  }
  .sl__thumb img { width: 100%; height: 100%; object-fit: cover; }
  .sl__body { grid-column: 1; }
}
/* Pointer + large screens: floating preview pane */
@media (min-width: 992px) and (hover: hover) {
  .sl__list { width: 62%; }
  .sl__row:hover .sl__title, .sl__row:focus-visible .sl__title { transform: translateX(10px); }
  .sl__preview {
    position: absolute;
    top: 0;
    right: 0;
    width: 32%;
    aspect-ratio: 4 / 5;
    margin: 0;
    overflow: hidden;
    background: var(--nv-surface);
    opacity: 0;
    transform: scale(1.03);
    transition: opacity .5s var(--nv-ease), transform .8s var(--nv-ease);
    pointer-events: none;
  }
  .sl__preview img { width: 100%; height: 100%; object-fit: cover; }
  .sl__preview figcaption {
    position: absolute;
    left: 0;
    bottom: 0;
    padding: .75rem 1rem;
    font-size: .75rem;
    color: var(--nv-steel);
    background: linear-gradient(0deg, rgba(13, 17, 23, .85), rgba(13, 17, 23, 0));
    width: 100%;
  }
  .sl__item:hover .sl__preview,
  .sl__item:focus-within .sl__preview,
  .sl__list:not(:hover):not(:focus-within) .sl__item:first-child .sl__preview { opacity: 1; transform: none; }
}
@media (max-width: 991.98px), (hover: none) { .sl__preview { display: none; } }

/* ==========================================================================
   PROJECT PRESENTATION — shared technical case components
   index → sector / solution type → title, then image and brief
   ========================================================================== */
.pj__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem 3rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }

.pc-no {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-size: .9375rem;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--nv-text);
}
.pc-no::after { content: ""; width: 28px; height: 1px; background: var(--nv-accent); }
.nv-section--light .pc-no { color: var(--nv-text-dark); }
.nv-section--light .pc-no::after { background: var(--nv-text-dark); }

.pc-cat {
  display: flex;
  flex-wrap: wrap;
  gap: .15rem .55rem;
  margin: 0;
  font-family: var(--nv-font-head);
  font-stretch: 116%;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--nv-text);
}
.pc-sep { color: var(--nv-accent); }
.nv-section--light .pc-cat { color: var(--nv-text-dark); }
.nv-section--light .pc-sep { color: var(--nv-gray-dark); }

.pc-title { font-size: clamp(1.3rem, 1.1rem + .7vw, 1.75rem); line-height: 1.12; margin: .45rem 0 0; }
/* A card column is as narrow as its content allows: a long single word must be able to break. */
.pc-title { overflow-wrap: anywhere; }
.pc-title--xl { font-size: clamp(1.75rem, 1.2rem + 1.7vw, 2.75rem); line-height: 1.04; }
.pc-link { color: inherit; text-decoration: none; transition: color .25s var(--nv-ease); }
.pc-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.pc-link:hover { color: inherit; }
.pc-link:focus-visible { outline: none; }
.pc-link:focus-visible::after { outline: 2px solid var(--nv-focus); outline-offset: 4px; }

.pc-go {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  min-height: 44px;
  font-family: var(--nv-font-head);
  font-stretch: 110%;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--nv-text);
}
.pc-go .nv-arrow { transition: transform .3s var(--nv-ease); }
.nv-section--light .pc-go { color: var(--nv-text-dark); }

.pc-k {
  display: block;
  font-family: var(--nv-font-head);
  font-stretch: 116%;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--nv-gray);
  margin-bottom: .25rem;
}
.pc-v { display: block; font-family: var(--nv-font-head); font-stretch: 106%; font-weight: 500; font-size: 1rem; line-height: 1.3; }
.nv-section--light .pc-k { color: var(--nv-gray-dark); }

.pc-spec { display: grid; margin: 1.5rem 0 0; border-top: 1px solid var(--nv-line-strong); }
.pc-spec > div { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--nv-line); }
.pc-spec dt { font-family: var(--nv-font-head); font-stretch: 116%; font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--nv-gray); padding-top: .15rem; }
.pc-spec dd { margin: 0; font-family: var(--nv-font-head); font-stretch: 106%; font-weight: 500; }
.nv-section--light .pc-spec dt { color: var(--nv-gray-dark); }

/* Shared, restrained hover: 2% image scale, title colour, arrow travel */
.px-feature, .px-row, .px-strip, .ci__inner { position: relative; }
.px-feature img, .px-row img, .px-strip img, .ci-media img { transition: transform .9s var(--nv-ease); }
.px-feature:hover img, .px-row:hover img, .px-strip:hover img, .ci__inner:hover .ci-media img { transform: scale(1.02); }
.px-feature:hover .pc-link, .px-row:hover .pc-link, .px-strip:hover .pc-link,
.px-feature:focus-within .pc-link, .px-row:focus-within .pc-link, .px-strip:focus-within .pc-link { color: var(--nv-accent-ink); }
.ci__inner:hover .pc-link, .ci__inner:focus-within .pc-link { color: var(--nv-accent); }
.px-feature:hover .pc-go .nv-arrow, .px-row:hover .pc-go .nv-arrow, .px-strip:hover .pc-go .nv-arrow, .ci__inner:hover .pc-go .nv-arrow { transform: translateX(4px); }
@media (prefers-reduced-motion: reduce) {
  .px-feature img, .px-row img, .px-strip img, .ci-media img { transition: none; }
}

/* ==========================================================================
   HOME — D. Selected projects: featured case + index rows + panoramic strip
   ========================================================================== */
.px { display: grid; gap: clamp(3rem, 5vw, 4.5rem); }
.px-feature__media, .px-row__media, .px-strip__media, .ci-media { margin: 0; }

/* A. Featured */
.px-feature { border-top: 2px solid var(--nv-text-dark); }
.px-feature__bar { display: flex; justify-content: space-between; align-items: center; padding: .85rem 0; margin-bottom: clamp(1.25rem, 2.5vw, 2rem); border-bottom: 1px solid var(--nv-line); }
.px-feature__grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(1.75rem, 3.5vw, 3.5rem); align-items: stretch; }
.px-feature__media { aspect-ratio: 16 / 10; }
.px-feature__info { display: flex; flex-direction: column; align-items: flex-start; }
.px-feature__info .pc-no { margin-bottom: 1.75rem; }
.px-feature__info .pc-title { margin-bottom: 1.25rem; }
.px-feature__desc { color: #333B43; margin: 0; }
.px-feature__info .pc-spec { width: 100%; }
.px-feature__info .pc-go { margin-top: auto; padding-top: 1.5rem; }

/* B. Secondary index rows */
.px-stack { border-top: 1px solid var(--nv-line-strong); }
.px-row {
  display: grid;
  grid-template-columns: 5rem minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, .95fr);
  grid-template-areas:
    "no head desc media"
    "no head go   media";
  grid-template-rows: auto 1fr;
  gap: .5rem clamp(1.25rem, 2.5vw, 2.5rem);
  padding: clamp(1.5rem, 2.5vw, 2rem) 0;
  border-bottom: 1px solid var(--nv-line-strong);
}
.px-row::before { content: ""; position: absolute; left: 0; bottom: -1px; width: 0; height: 1px; background: var(--nv-text-dark); transition: width .5s var(--nv-ease); }
.px-row:hover::before { width: 100%; }
.px-row > .pc-no { grid-area: no; align-self: start; padding-top: .2rem; }
.px-row__head { grid-area: head; }
.px-row__desc { grid-area: desc; margin: 0; font-size: .9375rem; color: #3A424A; }
.px-row > .pc-go { grid-area: go; align-self: end; }
.px-row__media { grid-area: media; aspect-ratio: 16 / 10; }

/* C. Panoramic strip */
.px-strip__media { aspect-ratio: 16 / 5; }
.px-strip__bar {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) repeat(3, minmax(0, 1fr)) auto;
  align-items: stretch;
  border-top: 2px solid var(--nv-text-dark);
  border-bottom: 1px solid var(--nv-line-strong);
  margin-top: clamp(1rem, 2vw, 1.5rem);
}
.px-strip__bar > * { padding: 1.1rem 1.25rem; border-left: 1px solid var(--nv-line); margin: 0; }
.px-strip__bar > :first-child { border-left: 0; padding-left: 0; }
.px-strip__id { display: flex; align-items: center; gap: 1.25rem; }
.px-strip__id .pc-title { margin: 0; }
.px-strip__bar .pc-go { align-self: center; padding-right: 0; }

@media (max-width: 1199.98px) {
  .px-row { grid-template-columns: 4rem minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "no head media" "no desc media" "no go media"; grid-template-rows: auto auto 1fr; }
  .px-strip__bar { grid-template-columns: repeat(3, minmax(0, 1fr)) auto; }
  .px-strip__id { grid-column: 1 / -1; border-bottom: 1px solid var(--nv-line); padding-left: 0; }
  .px-strip__bar > :nth-child(2) { border-left: 0; padding-left: 0; }
}
@media (max-width: 991.98px) {
  .px-feature__grid { display: flex; flex-direction: column; gap: 0; }
  .px-feature__info { display: contents; }
  .px-feature__info .pc-no { order: 1; margin-bottom: 1rem; }
  .px-feature__info .pc-cat { order: 2; }
  .px-feature__info .pc-title { order: 3; }
  .px-feature__media { order: 4; margin: 1.25rem 0 1.5rem; }
  .px-feature__desc { order: 5; margin-top: .25rem; }
  .px-feature__info .pc-spec { order: 6; }
  .px-feature__info .pc-go { order: 7; padding-top: 1rem; }
}
@media (max-width: 767.98px) {
  .px-row { display: flex; flex-direction: column; gap: .75rem; }
  .px-row > .pc-no { order: 1; }
  .px-row__head { order: 2; }
  .px-row__media { order: 3; width: 100%; margin: .5rem 0; }
  .px-row__desc { order: 4; }
  .px-row > .pc-go { order: 5; align-self: flex-start; }
  .px-strip { display: flex; flex-direction: column; }
  .px-strip__media { order: 2; aspect-ratio: 16 / 9; margin-top: 1.5rem; }
  .px-strip__bar { display: contents; }
  .px-strip__id { order: 1; flex-direction: column; align-items: flex-start; gap: .75rem; padding: 1rem 0 0; border-top: 2px solid var(--nv-text-dark); border-bottom: 0; }
  .px-strip__cell { order: 1; border-left: 0 !important; padding: .6rem 0 !important; border-bottom: 1px solid var(--nv-line); display: flex; justify-content: space-between; gap: 1rem; }
  .px-strip__cell .pc-k { margin: 0; }
  .px-strip__cell:nth-of-type(1) { border-top: 1px solid var(--nv-line); margin-top: .75rem !important; }
  .px-strip__bar .pc-go { order: 3; align-self: flex-start; padding: 1rem 0 0; border-left: 0; }
}

/* ==========================================================================
   HOME — E. Technology spec table
   ========================================================================== */
.tk__table { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--nv-line-strong); }
.tk__row {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 13rem) minmax(0, 1fr);
  gap: .5rem 1.5rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--nv-line);
  align-items: baseline;
}
.tk__code { font-size: .8125rem; color: var(--nv-accent); }
.tk__name { font-family: var(--nv-font-head); font-stretch: 106%; font-weight: 600; font-size: 1.1875rem; line-height: 1.2; margin: 0; }
.tk__desc { margin: 0; color: var(--nv-gray); font-size: .9375rem; overflow-wrap: anywhere; }
@media (max-width: 767.98px) {
  .tk__row { grid-template-columns: 3.5rem minmax(0, 1fr); }
  .tk__desc { grid-column: 2; }
}

/* ==========================================================================
   PROJECTS — filter + grid
   ========================================================================== */
.pf { display: none; }
.js .pf { display: block; }
.pf__bar {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.pf__btn {
  min-height: 44px;
  padding: .55rem 1.05rem;
  font-family: var(--nv-font-head);
  font-stretch: 108%;
  font-size: .9375rem;
  font-weight: 500;
  color: var(--nv-steel);
  background: transparent;
  border: 1px solid var(--nv-line-strong);
  border-radius: var(--nv-radius);
  transition: color .2s, border-color .2s, background-color .2s;
}
.pf__btn:hover { color: var(--nv-text); border-color: var(--nv-text); }
.pf__btn[aria-pressed="true"] {
  color: var(--nv-text-dark);
  background: var(--nv-accent);
  border-color: var(--nv-accent);
  font-weight: 600;
}
.pf__status { margin-top: 1rem; font-size: .8125rem; color: var(--nv-gray); }
@media (max-width: 575.98px) {
  .pf__bar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pf__btn { padding-inline: .5rem; font-size: .875rem; width: 100%; }
}

/* ==========================================================================
   PROJECTS PAGE — engineering project index (case-study rows)
   Every project uses the same row: index bar, then image + brief in fixed columns
   ========================================================================== */
.ci-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem 1rem; padding-bottom: .85rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--nv-line); }
.ci-top .nv-num { white-space: nowrap; }
.ci-list { border-top: 2px solid var(--nv-text); }
.ci { padding: clamp(2rem, 4vw, 3.5rem) 0 clamp(3rem, 6vw, 5.5rem); border-bottom: 1px solid var(--nv-line-strong); }
.ci[hidden] { display: none; }

.ci-bar {
  position: relative;
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr) minmax(0, 30rem) 3rem;
  grid-template-areas: "no title meta arrow";
  align-items: center;
  gap: 1rem clamp(1.25rem, 2.5vw, 2.5rem);
  padding-bottom: clamp(1.25rem, 2vw, 1.75rem);
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
  border-bottom: 1px solid var(--nv-line);
}
.ci-bar::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 0; height: 1px; background: var(--nv-accent); transition: width .55s var(--nv-ease); }
.ci__inner:hover .ci-bar::after, .ci__inner:focus-within .ci-bar::after { width: 100%; }
.ci-no { grid-area: no; font-size: clamp(1.4rem, 1.1rem + .9vw, 2rem); font-weight: 500; color: var(--nv-steel); line-height: 1; transition: color .25s; }
.ci-title { grid-area: title; font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.5rem); line-height: 1.06; margin: 0; }
.ci-meta { grid-area: meta; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) 4rem; gap: 1.25rem; }
.ci-cell { margin: 0; padding-left: 1rem; border-left: 1px solid var(--nv-line-strong); }
.ci-arrow {
  grid-area: arrow;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--nv-line-strong);
  color: var(--nv-text);
  transition: background-color .3s, border-color .3s, color .3s;
}
.ci__inner:hover .ci-arrow { background: var(--nv-accent); border-color: var(--nv-accent); color: var(--nv-text-dark); }
.ci__inner:hover .ci-no { color: var(--nv-accent); }

.ci-body { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 3rem) clamp(1.25rem, 2.4vw, 2.5rem); }
.ci-media { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.ci-info { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: flex-start; gap: 1.25rem; }
.ci-desc { margin: 0; color: var(--nv-steel); font-size: 1.0625rem; max-width: 52ch; }
.ci-scope { margin: 0; padding-top: .9rem; border-top: 1px solid var(--nv-line); width: 100%; max-width: 44ch; }
.ci-scope .pc-v { font-family: var(--nv-font-body); font-size: .9375rem; font-weight: 400; color: var(--nv-text); }

/* Standard row: image in columns 1–7 at a fixed 16:10, brief always in columns 9–12
   (description + scope at the top, link on the image baseline) */
@media (min-width: 768px) {
  .ci-media { grid-column: 1 / span 7; }
  .ci-info { grid-column: 9 / -1; align-self: stretch; }
  .ci-info .pc-go { margin-top: auto; }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
  .ci-bar { grid-template-columns: 4.5rem minmax(0, 1fr) minmax(0, 23rem) 3rem; }
  .ci-meta { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) 3.25rem; gap: .9rem; }
  .ci-cell { padding-left: .75rem; }
  .ci-title { font-size: clamp(1.5rem, 1rem + 1.1vw, 2rem); }
}
@media (min-width: 768px) and (max-width: 991.98px) {
  .ci-bar { grid-template-columns: 4.5rem minmax(0, 1fr) 3rem; grid-template-areas: "no title arrow" "no meta meta"; }
  .ci-media { grid-column: 1 / span 6; }
  .ci-info { grid-column: 7 / -1; }
  .ci-desc { font-size: 1rem; }
}
@media (max-width: 767.98px) {
  .ci-bar { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "no arrow" "meta meta" "title title"; gap: 1rem; }
  .ci-meta { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) auto; gap: .75rem; }
  .ci-cell { padding-left: .6rem; }
  .ci-cell .pc-v { font-size: .9375rem; }
  .ci-body { display: flex; flex-direction: column; }
  .ci-media { width: 100%; }
  .ci-desc { font-size: 1rem; }
  .ci-info { order: 1; }
}

/* ==========================================================================
   PROJECT DETAIL
   ========================================================================== */
.pd-head { padding-top: clamp(48px, 7vw, 104px); padding-bottom: clamp(36px, 4vw, 56px); }
.pd-head h1 { max-width: 16ch; }
.pd-meta { margin-top: clamp(2rem, 4vw, 3rem); }
.pd-meta.nv-dl { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.5rem; }
@media (min-width: 992px) { .pd-meta.nv-dl { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pd-hero { margin: 0; position: relative; }
.pd-hero .nv-media { aspect-ratio: 21 / 9; max-height: 82svh; }
@media (max-width: 767.98px) { .pd-hero .nv-media { aspect-ratio: 4 / 3; } }
.pd-hero__cap { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

.pd-block { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1.25rem clamp(1.25rem, 2.4vw, 2.5rem); }
.pd-block__label { grid-column: 1 / -1; }
.pd-block__body { grid-column: 1 / -1; }
@media (min-width: 992px) {
  .pd-block__label { grid-column: 1 / span 4; position: sticky; top: calc(var(--nv-header-h) + 32px); align-self: start; }
  .pd-block__body { grid-column: 6 / span 7; }
}
.pd-block__label h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.5rem); }
.pd-block__body > p { font-size: 1.0625rem; color: var(--nv-steel); }
.nv-section--light .pd-block__body > p { color: #333B43; }
.pd-block + .pd-block { margin-top: clamp(4rem, 7vw, 7rem); }

/* Gallery */
.gl { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(.75rem, 1.6vw, 1.5rem); }
.gl__item { grid-column: 1 / -1; margin: 0; }
.gl__btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--nv-surface);
  cursor: zoom-in;
  position: relative;
  overflow: hidden;
}
.gl__btn img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--nv-ease), opacity .3s; }
.gl__btn:hover img { transform: scale(1.03); }
.gl__btn::after {
  content: "";
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 40px;
  height: 40px;
  background: rgba(13, 17, 23, .72) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F4F6F8' stroke-width='1.6'%3E%3Cpath d='M4 9V4h5M20 9V4h-5M4 15v5h5M20 15v5h-5'/%3E%3C/svg%3E") center / 18px no-repeat;
  border: 1px solid var(--nv-line-strong);
  opacity: 0;
  transition: opacity .3s;
}
.gl__btn:hover::after, .gl__btn:focus-visible::after { opacity: 1; }
@media (hover: none) { .gl__btn::after { opacity: 1; } }
.gl__item--wide .gl__btn { aspect-ratio: 16 / 9; }
.gl__item--half .gl__btn { aspect-ratio: 4 / 3; }
.gl__item--tall .gl__btn { aspect-ratio: 4 / 5; }
@media (min-width: 768px) {
  .gl__item--half { grid-column: span 6; }
  .gl__item--tall { grid-column: span 5; }
  .gl__item--tall + .gl__item--side { grid-column: span 7; align-self: end; }
  .gl__item--side .gl__btn { aspect-ratio: 4 / 3; }
}
.gl__item figcaption { margin-top: .6rem; font-size: .8125rem; color: var(--nv-gray); }

.pd-system { margin-top: 2rem; }
.pd-system h3 { font-size: 1.0625rem; margin-bottom: 1rem; }

/* Next project */
.nx {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  color: var(--nv-text);
  text-decoration: none;
  padding-block: clamp(56px, 8vw, 112px);
  border-top: 1px solid var(--nv-line);
}
.nx:hover { color: var(--nv-text); }
.nx__title { font-size: clamp(2rem, 1.2rem + 3.6vw, 4.5rem); line-height: 1; display: flex; gap: 1rem; align-items: center; transition: color .3s; }
.nx__title .nv-arrow { flex: none; width: clamp(28px, 4vw, 52px); height: clamp(28px, 4vw, 52px); transition: transform .4s var(--nv-ease); }
.nx__text { min-width: 0; overflow-wrap: anywhere; }
.nx:hover .nx__title { color: var(--nv-accent); }
.nx:hover .nx__title .nv-arrow { transform: translateX(8px); }
.nx .nv-media { aspect-ratio: 16 / 9; }
@media (min-width: 992px) { .nx { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); align-items: end; gap: 3rem; } }

/* ==========================================================================
   LIGHTBOX (Bootstrap modal shell)
   ========================================================================== */
.lb .modal-dialog { max-width: none; margin: 0; height: 100%; }
.lb .modal-content { height: 100%; background: transparent; border: 0; }
.lb__stage {
  position: relative;
  height: 100%;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  padding: clamp(12px, 2vw, 24px);
  gap: 12px;
}
.lb__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: var(--nv-steel); font-size: .875rem; }
.lb__counter { font-family: var(--nv-font-head); font-stretch: 112%; letter-spacing: .1em; }
.lb__figure { margin: 0; display: flex; align-items: center; justify-content: center; min-height: 0; touch-action: pan-y; }
.lb__figure img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; user-select: none; -webkit-user-drag: none; }
.lb__bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.lb__caption { font-size: .875rem; color: var(--nv-steel); margin: 0; flex: 1; text-align: center; }
.lb__nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  flex: none;
  background: transparent;
  color: var(--nv-text);
  border: 1px solid var(--nv-line-strong);
  border-radius: 50%;
  transition: border-color .2s, color .2s, background-color .2s;
}
.lb__nav:hover { border-color: var(--nv-accent); color: var(--nv-accent); }
.lb__nav svg { width: 20px; height: 20px; }

/* ==========================================================================
   SOLUTIONS PAGE
   ========================================================================== */
.so { scroll-margin-top: calc(var(--nv-header-h) + 8px); }
.so__num { font-size: clamp(3rem, 2rem + 4vw, 6rem); line-height: .9; color: transparent; -webkit-text-stroke: 1px var(--nv-line-strong); font-weight: 600; font-family: var(--nv-font-head); font-stretch: 110%; }
.nv-section--light .so__num { -webkit-text-stroke-color: var(--nv-line-dark-strong); }
@supports not (-webkit-text-stroke: 1px black) { .so__num { color: var(--nv-gray); } }
.so h2 { max-width: 16ch; margin-top: .75rem; }
.so__desc { margin-top: 1.5rem; }
.so__cols { margin-top: 2rem; }
.so__cols h3 { font-size: .75rem; font-family: var(--nv-font-head); font-stretch: 116%; letter-spacing: .16em; text-transform: uppercase; color: var(--nv-gray); font-weight: 600; margin-bottom: .9rem; }
.nv-section--light .so__cols h3 { color: var(--nv-gray-dark); }
.so__cols .nv-spec li { font-size: .9375rem; }
.so__rel { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--nv-line); display: flex; flex-wrap: wrap; gap: .25rem 1rem; align-items: center; }
.so--band .so__panel {
  position: relative;
  background: var(--nv-surface);
  padding: clamp(1.75rem, 4vw, 3.5rem);
  border-top: 2px solid var(--nv-accent);
}
@media (min-width: 992px) {
  .so--band .so__panel { margin-top: -10rem; }
  .so__bleed-right { margin-right: calc(var(--nv-gutter) * -1); }
  .so__bleed-left { margin-left: calc(var(--nv-gutter) * -1); }
}
@media (min-width: 1488px) {
  .so__bleed-right { margin-right: calc((100vw - var(--nv-wrap)) / -2); }
  .so__bleed-left { margin-left: calc((100vw - var(--nv-wrap)) / -2); }
}

/* ==========================================================================
   COMPANY PAGE
   ========================================================================== */
.co-hero .nv-media { aspect-ratio: 21 / 9; }
@media (max-width: 767.98px) { .co-hero .nv-media { aspect-ratio: 4 / 3; } }

.pr { list-style: none; margin: 0; padding: 0; counter-reset: pr; display: grid; grid-template-columns: minmax(0, 1fr); }
.pr__step { position: relative; padding: 0 0 2rem 2.5rem; border-left: 1px solid var(--nv-line-strong); }
.pr__step:last-child { padding-bottom: 0; border-left-color: transparent; }
.pr__step::before {
  content: "";
  position: absolute;
  left: -5px;
  top: .35rem;
  width: 9px;
  height: 9px;
  background: var(--nv-bg);
  border: 1px solid var(--nv-accent);
}
.pr__step:last-child::before { background: var(--nv-accent); }
.pr__num { font-size: .8125rem; color: var(--nv-accent); }
.pr__step h3 { font-size: 1.1875rem; margin: .35rem 0 .5rem; }
.pr__step p { font-size: .9375rem; color: var(--nv-gray); margin-bottom: .6rem; }
.pr__out { font-size: .8125rem; color: var(--nv-steel); }
.pr__out strong { font-weight: 600; color: var(--nv-text); }
@media (min-width: 1200px) {
  .pr { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0 1.5rem; }
  .pr__step { padding: 2rem 0 0; border-left: 0; border-top: 1px solid var(--nv-line-strong); }
  .pr__step:last-child { border-top-color: var(--nv-accent); }
  .pr__step::before { left: 0; top: -5px; }
}

.ig__item { padding: 1.5rem 0; border-top: 1px solid var(--nv-line); display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 0 1rem; }
.ig__item:last-child { border-bottom: 1px solid var(--nv-line); }
.ig__item .nv-num { color: var(--nv-gray); font-size: .8125rem; padding-top: .3rem; }
.ig__item h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.ig__item p { margin: 0; color: var(--nv-gray); font-size: .9375rem; }
.nv-section--light .ig__item p { color: var(--nv-gray-dark); }
.nv-section--light .ig__item .nv-num { color: var(--nv-gray-dark); }

.pp { list-style: none; margin: 0; padding: 0; counter-reset: pp; }
.pp li { counter-increment: pp; padding: 1.5rem 0; border-top: 1px solid var(--nv-line); display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 0 1rem; }
.pp li::before { content: "0" counter(pp); font-family: var(--nv-font-head); font-stretch: 112%; font-size: .8125rem; color: var(--nv-gray-dark); padding-top: .25rem; }
.pp h3 { font-size: 1.25rem; margin-bottom: .45rem; }
.pp p { margin: 0; color: #3A424A; }

/* ==========================================================================
   TECHNOLOGY PAGE
   ========================================================================== */
.te { scroll-margin-top: calc(var(--nv-header-h) + 8px); }
.te__code { font-size: .8125rem; color: var(--nv-accent); letter-spacing: .12em; }
.nv-section--light .te__code { color: var(--nv-accent-ink); }
.te h2 { margin-top: .75rem; max-width: 14ch; }
.te__lead { margin-top: 1.25rem; }
.te__points { margin-top: 2rem; }
.te__points h3 { font-size: .75rem; font-family: var(--nv-font-head); font-stretch: 116%; letter-spacing: .16em; text-transform: uppercase; color: var(--nv-gray); font-weight: 600; margin-bottom: .9rem; }
.nv-section--light .te__points h3 { color: var(--nv-gray-dark); }
.te__points .nv-spec li { font-size: .9375rem; }
.te-note { border-left: 2px solid var(--nv-accent); padding: .25rem 0 .25rem 1.25rem; color: var(--nv-steel); font-size: .9375rem; max-width: 60ch; }

/* ==========================================================================
   CONTACT PAGE
   ========================================================================== */
.ct-notice {
  display: flex;
  gap: .9rem;
  align-items: flex-start;
  padding: 1rem 1.25rem;
  border: 1px solid var(--nv-line-strong);
  border-left: 3px solid var(--nv-accent);
  background: var(--nv-surface);
  font-size: .9375rem;
  color: var(--nv-text);
}
.ct-notice svg { flex: none; width: 20px; height: 20px; margin-top: .15rem; color: var(--nv-accent); }

.nv-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 1.5rem; }
.nv-field { grid-column: span 2; display: flex; flex-direction: column; gap: .5rem; }
@media (min-width: 768px) { .nv-field--half { grid-column: span 1; } }
.nv-field label {
  font-family: var(--nv-font-head);
  font-stretch: 108%;
  font-size: .875rem;
  font-weight: 600;
  color: var(--nv-text);
}
.nv-field label .nv-req { color: var(--nv-accent); margin-left: .15rem; }
.nv-field label .nv-opt { color: var(--nv-gray); font-weight: 400; font-size: .8125rem; margin-left: .35rem; }
.nv-input {
  width: 100%;
  min-height: 52px;
  padding: .8rem 1rem;
  font: inherit;
  font-size: 1rem;
  color: var(--nv-text);
  background: var(--nv-surface);
  border: 1px solid var(--nv-line-strong);
  border-radius: var(--nv-radius);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
  appearance: none;
}
.nv-input::placeholder { color: #6B757F; }
.nv-input:hover { border-color: rgba(244, 246, 248, .4); }
.nv-input:focus { outline: none; border-color: var(--nv-accent); box-shadow: 0 0 0 3px rgba(214, 255, 56, .22); background: var(--nv-surface-2); }
textarea.nv-input { min-height: 160px; resize: vertical; line-height: 1.55; }
select.nv-input {
  padding-right: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B8C2CC' stroke-width='1.6'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 18px;
}
select.nv-input option { background: var(--nv-surface); color: var(--nv-text); }
.nv-input[aria-invalid="true"] { border-color: var(--nv-danger); }
.nv-input[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(255, 138, 122, .25); }
.nv-error { display: none; font-size: .8125rem; color: var(--nv-danger); align-items: center; gap: .45rem; }
.nv-error.is-shown { display: flex; }
.nv-error::before { content: ""; width: 6px; height: 6px; background: currentColor; flex: none; }
.nv-hint { font-size: .8125rem; color: var(--nv-gray); }
.nv-form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; justify-content: space-between; padding-top: .5rem; }
.nv-form__status {
  grid-column: 1 / -1;
  display: none;
  padding: 1rem 1.25rem;
  border: 1px solid var(--nv-line-strong);
  background: var(--nv-surface-2);
  font-size: .9375rem;
  color: var(--nv-text);
}
.nv-form__status.is-shown { display: block; }
.nv-form__status--error { border-color: var(--nv-danger); }
.nv-form__status strong { font-weight: 600; }
.nojs-only { display: block; }
.js .nojs-only { display: none; }

.ct-aside .nv-media { aspect-ratio: 4 / 3; }
.ct-steps { list-style: none; margin: 0; padding: 0; counter-reset: cs; }
.ct-steps li { counter-increment: cs; display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); gap: 0 .75rem; padding: 1rem 0; border-bottom: 1px solid var(--nv-line); font-size: .9375rem; color: var(--nv-steel); }
.ct-steps li::before { content: "0" counter(cs); font-family: var(--nv-font-head); font-stretch: 112%; font-size: .8125rem; color: var(--nv-accent); padding-top: .15rem; }
.ct-steps strong { display: block; color: var(--nv-text); font-family: var(--nv-font-head); font-stretch: 106%; font-weight: 600; margin-bottom: .15rem; }

/* ==========================================================================
   404
   ========================================================================== */
.nf {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: calc(100svh - var(--nv-header-h));
  display: flex;
  align-items: center;
  padding-block: clamp(80px, 10vw, 140px);
}
.nf__bg { position: absolute; inset: 0; z-index: -2; margin: 0; }
.nf__bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.5); }
.nf::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(13, 17, 23, .97) 0%, rgba(13, 17, 23, .86) 50%, rgba(13, 17, 23, .55) 100%); }
.nf__code { font-family: var(--nv-font-head); font-stretch: 120%; font-weight: 600; letter-spacing: .2em; font-size: .8125rem; color: var(--nv-accent); margin-bottom: 1.5rem; }
.nf h1 { max-width: 12ch; }
.nf p { max-width: 44ch; margin-top: 1.5rem; }

/* Solutions band image: explicit width so min-height never widens the box */
.so__band-media { width: 100%; aspect-ratio: 32 / 11; min-height: 260px; }
.lb .modal-content { background: rgba(5, 7, 10, .94); }

/* ==========================================================================
   CONTACT — direct contact list + location map
   ========================================================================== */
.ct-contact { margin: 1.75rem 0 0; border-top: 1px solid var(--nv-line); }
.ct-contact > div { padding: .9rem 0; border-bottom: 1px solid var(--nv-line); }
.ct-contact dt { margin-bottom: .35rem; }
.ct-contact dd { margin: 0; }
.ct-contact .nv-footer__mail { min-height: 32px; }

.ct-loc { display: grid; margin: 0; border-top: 1px solid var(--nv-line-strong); }
.ct-loc > div { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--nv-line); }
.ct-loc dd { margin: 0; font-family: var(--nv-font-head); font-stretch: 106%; font-weight: 500; }

.ct-map { position: relative; aspect-ratio: 21 / 8; background: var(--nv-bg); }
.ct-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  /* Dark, desaturated tiles so the map sits inside the theme */
  filter: grayscale(1) invert(.92) contrast(.88) brightness(.95);
}
.ct-map__cap { justify-content: space-between; flex-wrap: wrap; margin-top: 1rem; }
@media (max-width: 991.98px) { .ct-map { aspect-ratio: 16 / 10; } }
@media (max-width: 575.98px) { .ct-map { aspect-ratio: 4 / 3; } }

/* ==========================================================================
   Application integration
   Pieces the CMS-driven pages need beyond the static theme: an uploaded
   logo, the form's honeypot field, the success summary and Image Credits.
   ========================================================================== */
.nv-brand__logo { display: block; height: 32px; width: auto; max-width: 220px; object-fit: contain; }
@media (max-width: 575.98px) { .nv-brand__logo { height: 28px; } }

/* Honeypot: present for automated senders, out of reach for people and assistive technology */
.nv-hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.nv-form__status:not(.nv-form__status--error).is-shown { border-color: var(--nv-accent); }

/* Image credits */
.cr-list { border-top: 1px solid var(--nv-line); }
.cr { display: grid; gap: .5rem 2rem; padding: 1.25rem 0; border-bottom: 1px solid var(--nv-line); }
@media (min-width: 992px) {
  .cr { grid-template-columns: minmax(0, 3fr) minmax(0, 5fr) minmax(0, 4fr); align-items: start; }
  .cr__note { grid-column: 2 / -1; }
}
.cr__title { overflow-wrap: anywhere; }
.cr__title a { color: var(--nv-text); text-decoration: underline; text-decoration-color: var(--nv-line); text-underline-offset: .2em; }
.cr__title a:hover { color: var(--nv-accent); }
.cr__meta { display: grid; gap: .35rem; }
.cr__meta > div { display: flex; gap: .75rem; flex-wrap: wrap; }
.cr__meta dd { margin: 0; overflow-wrap: anywhere; }
.cr__meta a { color: var(--nv-steel); }
.cr__meta a:hover { color: var(--nv-accent); }

/* Dependency-light status page used only when the themed one cannot render */
.website-error { padding-block: 6rem; }
