/* Scoped to the new device collection; established pages retain their geometry. */
.nd-page { padding-top: var(--site-header-height); }
.nd-page *, .nd-home *, .nd-collection * { letter-spacing: 0; }
.nd-hero { position: relative; min-height: 600px; height: min(720px, calc(100svh - var(--site-header-height) - 48px)); overflow: hidden; color: #fff; background: #343b3a; display: flex; align-items: center; }
.nd-hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nd-hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg,rgba(15,25,24,.65),rgba(15,25,24,.08) 85%); pointer-events: none; }
.nd-hero-copy { position: relative; z-index: 1; padding-block: 64px; }
.nd-kicker { font-size: 13px; font-weight: 600; color: var(--teal-dark); margin-bottom: 20px; }
.nd-hero .nd-kicker { color: inherit; }
.nd-hero h1 { font-size: 64px; line-height: 1.12; margin: 0 0 22px; font-weight: 600; overflow-wrap: anywhere; }
.nd-hero-tagline { font-size: 28px; line-height: 1.5; margin: 0 0 18px; max-width: 600px; }
.nd-hero-description { max-width: 510px; font-size: 17px; line-height: 1.9; margin-bottom: 32px; text-wrap: balance; }
.nd-hero--still { background: #f6f7f7; color: var(--ink); }
.nd-hero--still .nd-hero-media { object-position: center 40%; }
.nd-hero--still .nd-hero-shade { background: linear-gradient(90deg,rgba(255,255,255,.95),rgba(255,255,255,.85) 29%,rgba(255,255,255,0) 72%); }
.nd-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.nd-button { border: 1px solid var(--teal); background: var(--teal); color: #164c47; min-height: 48px; padding: 12px 25px; display: inline-flex; align-items: center; gap: 22px; justify-content: center; font-size: 15px; font-weight: 600; transition: background .25s, color .25s; }
.nd-button:hover, .nd-button:focus-visible { background: #156b63; color: #fff; }
.nd-button--outline { background: transparent; color: inherit; border-color: currentColor; }
.nd-video-control { position: absolute; z-index: 2; right: 28px; bottom: 22px; color: #fff; background: rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.5); padding: 8px 14px; font-size: 12px; }
.nd-section { padding: 100px 0; scroll-margin-top: calc(var(--site-header-height) + 20px); }
.nd-soft { background: #f5f8f8; }
.nd-split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 76px; }
.nd-page h2, .nd-home h2, .nd-collection h2 { font-size: 38px; line-height: 1.45; font-weight: 600; margin-bottom: 26px; text-wrap: balance; }
.nd-copy { font-size: 17px; color: var(--muted); line-height: 1.95; }
.nd-media { margin: 0; width: 100%; overflow: hidden; }
.nd-media img { width: 100%; height: 100%; object-fit: contain; transition: transform .65s ease; }
.nd-media:hover img { transform: scale(1.025); }
.nd-media--machine { height: 420px; }
.nd-media--accessories { height: 460px; }
.nd-highlight { background-image: linear-gradient(var(--teal),var(--teal)); background-position: 0 92%; background-repeat: no-repeat; background-size: 0% 25%; box-decoration-break: clone; -webkit-box-decoration-break: clone; transition: background-size .65s ease; }
.nd-visible .nd-highlight { background-size: 100% 25%; }
.nd-highlight:hover, .nd-highlight:focus-visible { background-size: 100% 90%; outline: none; }
.nd-features { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 42px; margin-top: 70px; }
.nd-features article { border-top: 1px solid var(--line); padding-top: 26px; }
.nd-number { display: block; font-size: 13px; color: var(--teal-dark); margin-bottom: 20px; }
.nd-page h3, .nd-home h3 { font-size: 21px; line-height: 1.5; margin: 0 0 14px; }
.nd-features p, .nd-spectrum-panel p, .nd-light-pair p { color: var(--muted); font-size: 16px; line-height: 1.9; }
.nd-section-heading { max-width: 760px; }
.nd-tablist { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); border-bottom: 1px solid #cfd7d6; gap: 8px; }
.nd-tablist button { color: var(--ink); font-size: 23px; text-align: left; border: 0; border-bottom: 3px solid transparent; background: transparent; padding: 18px 14px; transition: background .2s,border-color .2s; }
.nd-tablist button[aria-selected=true] { background: #fff; border-bottom-color: var(--spectrum); }
.nd-tablist button:hover { background: #eaf1ef; }
.nd-tablist small { display: block; font-size: 13px; margin-top: 8px; }
.nd-swatch { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: var(--spectrum); margin-right: 10px; }
.nd-spectrum-panel { display: grid; grid-template-columns: 220px 1fr; gap: 44px; align-items: center; min-height: 265px; padding: 40px 32px; background: #fff; }
.nd-spectrum-panel[hidden] { display: none; }
.nd-spectrum-code { font-size: 70px; line-height: 1; color: var(--spectrum); }
.nd-spectrum-panel p { margin-bottom: 0; }
.nd-spectrum-panel .nd-kicker { margin-bottom: 10px; }
.nd-light-pair { display: grid; grid-template-columns: 240px 1fr; gap: 50px; align-items: center; border-top: 1px solid var(--line); margin-top: 55px; padding-top: 40px; }
.nd-light-pair img { width: 240px; height: 170px; object-fit: contain; }
.nd-facts { margin-top: 70px; padding-top: 40px; border-top: 1px solid var(--line); }
.nd-facts dl { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 30px; }
.nd-facts dt { color: var(--muted); font-size: 13px; margin-bottom: 10px; }
.nd-facts dd { margin: 0; font-size: 16px; }
.nd-note { color: var(--muted); font-size: 13px; margin-top: 28px; }
.nd-closing { display: flex; align-items: center; justify-content: space-between; gap: 35px; padding-block: 65px 30px; }
.nd-closing h2 { font-size: 28px; margin-bottom: 14px; }
.nd-closing p { color: var(--muted); }
.nd-closing .nd-button { flex-shrink: 0; }
.nd-text-link { display: inline-flex; align-items: center; gap: 20px; color: var(--teal-dark); border-bottom: 1px solid currentColor; padding-bottom: 5px; font-size: 15px; }
.nd-motion [data-nd-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.nd-motion [data-nd-reveal].nd-visible { opacity: 1; transform: none; }
.nd-device-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 24px; }
.nd-device-card-image { height: 220px; background: #f6f8f8; overflow: hidden; }
.nd-device-card img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s; }
.nd-device-card:hover img, .nd-device-card:focus-visible img { transform: scale(1.045); }
.nd-device-card p { font-size: 12px; color: var(--muted); margin: 20px 0 5px; }
.nd-device-card h3 { display: flex; justify-content: space-between; font-size: 20px; }
.nd-device-card h3 span { color: var(--teal-dark); }
.nd-home { padding: 100px 0; }
.nd-home-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; margin-bottom: 70px; }
.nd-home-feature img { width: 100%; aspect-ratio: 3 / 2; object-fit: contain; }
.nd-collection { padding: 20px 0 80px; }
.devices-section--mesolux .devices-wordmark--text { width: auto; height: auto; max-width: 100%; font-size: 36px; white-space: nowrap; }
.nd-page :focus-visible, .nd-home :focus-visible, .nd-collection :focus-visible { outline: 2px solid var(--teal-dark); outline-offset: 5px; }
@media (max-width: 1000px) {
  .nd-split, .nd-home-feature { gap: 40px; }
  .nd-page h2, .nd-home h2, .nd-collection h2 { font-size: 31px; }
  .nd-device-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .nd-hero h1 { font-size: 54px; }
}
@media (max-width: 700px) {
  .nd-hero { height: auto; min-height: 610px; }
  .nd-hero-copy { padding-block: 80px; }
  .nd-hero h1 { font-size: 42px; }
  .nd-hero-tagline { font-size: 23px; }
  .nd-hero-description { font-size: 16px; }
  .nd-hero-shade { background: rgba(15,25,24,.46); }
  .nd-hero--still .nd-hero-shade { background: rgba(255,255,255,.83); }
  .nd-section, .nd-home { padding: 60px 0; }
  .nd-split, .nd-home-feature { grid-template-columns: 1fr; gap: 28px; }
  .nd-page h2, .nd-home h2, .nd-collection h2 { font-size: 28px; }
  .nd-media--machine { height: 300px; }
  .nd-media--accessories { height: 330px; }
  .nd-features { grid-template-columns: 1fr; gap: 25px; margin-top: 35px; }
  .nd-features article { padding-top: 20px; }
  .nd-number { margin-bottom: 8px; }
  .nd-tablist { gap: 0; }
  .nd-tablist button { text-align: center; font-size: 18px; padding: 14px 2px; }
  .nd-tablist small { font-size: 10px; }
  .nd-swatch { display: block; margin: 0 auto 8px; }
  .nd-spectrum-panel { grid-template-columns: 1fr; gap: 20px; padding: 26px 20px; min-height: 310px; }
  .nd-spectrum-code { font-size: 45px; }
  .nd-light-pair { grid-template-columns: 1fr; gap: 20px; }
  .nd-light-pair img { margin: auto; }
  .nd-facts dl { grid-template-columns: 1fr; gap: 22px; }
  .nd-closing { align-items: flex-start; flex-direction: column; gap: 15px; }
  .nd-device-grid { gap: 22px 14px; }
  .nd-device-card-image { height: 170px; }
  .nd-device-card h3 { font-size: 17px; }
  .nd-home-feature { margin-bottom: 45px; }
}
@media (prefers-reduced-motion: reduce) {
  .nd-motion [data-nd-reveal] { opacity: 1; transform: none; }
  .nd-page *, .nd-home *, .nd-collection * { transition: none !important; scroll-behavior: auto; }
  .nd-highlight { background-size: 100% 25%; }
}
