/* R9: original editorial module scenes. Text sits on opaque themed surfaces. */
.nds-system [data-module-open] {
  font: inherit;
  text-decoration: none;
  cursor: pointer;
  min-height: 44px;
}
.nds-system .connector-tile { position: relative; }
.nds-system .module-connector-open {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  min-width: 44px;
  padding: 0;
  border: 0;
  border-radius: inherit;
  background: transparent;
  color: inherit;
}
.nds-system .module-connector-open:focus-visible,
.nds-system .nds-extend[data-module-open]:focus-visible {
  outline: 3px solid var(--nds-sky);
  outline-offset: 5px;
}
.module-dialog,
.module-fallback {
  --md-paper: light-dark(#f7f5ef, #102d38);
  --md-ink: light-dark(#123d49, #f7f5ef);
  --md-text: light-dark(#304f57, #d1e1de);
  --md-line: light-dark(#c3ceca, #44646b);
  --md-teal: light-dark(#1a7f8e, #91d6ce);
  --md-art-paper: light-dark(#e6eeea, #153e48);
  --md-art-line: light-dark(#7a9997, #628f94);
  --md-art-fill: light-dark(#f7f5ef, #163c47);
  --md-art-core: light-dark(#c2ded7, #285d65);
  --md-backdrop: light-dark(rgb(18 61 73 / 38%), rgb(7 23 39 / 78%));
  --md-shadow: light-dark(rgb(7 23 39 / 24%), rgb(0 12 20 / 40%));
  --md-ease: cubic-bezier(.22, 1, .36, 1);
  color: var(--md-text);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.65;
  text-align: start;
}
html[data-theme="dark"] .module-dialog,
html[data-theme="dark"] .module-fallback {
  --md-paper: #102d38;
  --md-ink: #f7f5ef;
  --md-text: #d1e1de;
  --md-line: #44646b;
  --md-teal: #91d6ce;
  --md-art-paper: #153e48;
  --md-art-line: #628f94;
  --md-art-fill: #163c47;
  --md-art-core: #285d65;
  --md-backdrop: rgb(7 23 39 / 78%);
  --md-shadow: rgb(0 12 20 / 40%);
  color-scheme: dark;
}
.module-dialog *,
.module-fallback * { box-sizing: border-box; }
.module-dialog {
  width: min(1184px, calc(100% - 48px));
  height: min(920px, calc(100dvh - 48px));
  max-width: calc(100% - 48px);
  max-height: calc(100dvh - 48px);
  margin: auto;
  padding: 0;
  border: 1px solid var(--md-line);
  border-radius: 24px;
  background: var(--md-paper);
  box-shadow: 0 32px 100px var(--md-shadow);
  overflow: hidden;
  overscroll-behavior: contain;
}
.module-dialog:not([open]),
.module-dialog [data-module-panel][hidden],
.module-fallback[hidden] { display: none !important; }
.module-dialog::backdrop { background: var(--md-backdrop); }
.module-dialog__surface {
  position: relative;
  width: 100%;
  height: 100%;
  min-width: 0;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  scrollbar-color: var(--md-art-line) var(--md-paper);
  scroll-padding-block: 96px 32px;
  background: var(--md-paper);
  border-radius: inherit;
}
.module-dialog__toolbar {
  position: sticky;
  z-index: 3;
  top: 0;
  display: flex;
  justify-content: flex-end;
  min-height: 76px;
  padding: 16px 24px;
  background: var(--md-paper);
  border-bottom: 1px solid var(--md-line);
}
.module-dialog__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-width: 44px;
  min-height: 44px;
  max-width: 100%;
  padding: 8px 16px;
  border: 1px solid var(--md-line);
  border-radius: 24px;
  color: var(--md-ink);
  background: var(--md-paper);
  font: inherit;
  font-size: 16px;
  line-height: 1.4;
  cursor: pointer;
}
.module-dialog__close svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
}
.module-dialog :is(button, a, [tabindex]):focus-visible,
.module-fallback :is(a, summary):focus-visible {
  outline: 3px solid var(--md-teal);
  outline-offset: 4px;
}
.module-dialog [data-module-title]:focus { outline-offset: 8px; }
.module-dialog__panel { min-width: 0; }
.module-dialog__hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  padding: 48px 0 56px 64px;
  border-bottom: 1px solid var(--md-line);
}
.module-dialog__heading {
  position: relative;
  z-index: 1;
  min-width: 0;
  padding-block: 8px;
}
.module-dialog h2 {
  margin: 0;
  color: var(--md-ink);
  font-size: clamp(34px, 5.3vw, 76px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.045em;
  overflow-wrap: anywhere;
}
.module-dialog__promise {
  margin: 28px 0 0;
  max-width: 22ch;
  color: var(--md-ink);
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: -.025em;
}
.module-dialog__description {
  margin: 24px 0 0;
  max-width: 47ch;
  color: var(--md-text);
  font-size: 18px;
  line-height: 1.65;
}
.module-dialog__artwork {
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: 360px;
  align-self: stretch;
  overflow: hidden;
  border-radius: 48% 0 0 48%;
  background: radial-gradient(ellipse at 75% 50%, var(--md-art-core), var(--md-art-paper) 64%, var(--md-paper) 100%);
}
.module-art { display: block; width: 100%; height: auto; overflow: visible; }
.module-art__drawing { transform-origin: 50% 50%; }
.module-art__line {
  stroke: var(--md-art-line);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.module-art__rail {
  stroke: var(--md-teal);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.module-art__sheet {
  fill: var(--md-art-fill);
  stroke: var(--md-art-line);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.module-art__sheet path { fill: none; }
.module-art__sheet > path:first-child:last-child { fill: var(--md-art-fill); }
.module-art__core { fill: var(--md-art-core); stroke: var(--md-teal); stroke-width: 2; }
.module-art__node { fill: var(--md-art-fill); stroke: var(--md-teal); stroke-width: 2; }
.module-art__accent { stroke: var(--md-teal); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.module-art__band { fill: var(--md-art-core); stroke: var(--md-teal); stroke-width: 2; }
.module-dialog__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 56px 72px;
  padding: 56px 64px 64px;
}
.module-dialog h3,
.module-fallback h3 {
  margin: 0;
  color: var(--md-ink);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -.025em;
}
.module-dialog h4,
.module-fallback h4 {
  margin: 32px 0 16px;
  color: var(--md-ink);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0;
}
.module-dialog__uses dl { margin: 28px 0 0; }
.module-dialog__uses dl > div + div { margin-top: 32px; }
.module-dialog__uses dt { color: var(--md-ink); font-weight: 600; }
.module-dialog__uses dd { margin: 10px 0 0; }
.module-dialog__scenario > p,
.module-dialog__evolution > p { margin: 24px 0 0; }
.module-dialog__scenario { padding-left: 32px; border-left: 1px solid var(--md-line); }
.module-dialog__flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  list-style: none;
  counter-reset: module-step;
  margin: 0;
  padding: 0;
}
.module-dialog__flow li {
  position: relative;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 16px;
  padding-block: 8px;
  color: var(--md-text);
  counter-increment: module-step;
}
.module-dialog__flow li::before {
  content: counter(module-step, decimal-leading-zero);
  color: var(--md-teal);
  font-size: 14px;
  line-height: 1.9;
  font-variant-numeric: tabular-nums;
}
.module-dialog__flow li + li { border-top: 1px solid var(--md-line); }
.module-dialog__evolution {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.1fr);
  gap: 0 48px;
  padding-top: 40px;
  border-top: 1px solid var(--md-line);
}
.module-dialog__evolution > p { margin: 0; }
.module-dialog__evolution .module-dialog__scope {
  grid-column: 2;
  margin-top: 20px;
  color: var(--md-text);
  font-size: 16px;
}
.module-dialog__footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: start;
  gap: 48px;
  padding: 36px 64px 48px;
  border-top: 1px solid var(--md-line);
  background: var(--md-art-paper);
}
.module-dialog__contact {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  justify-self: start;
  gap: 24px;
  min-height: 48px;
  max-width: 100%;
  padding: 12px 20px;
  color: var(--md-paper);
  background: var(--md-ink);
  border: 1px solid var(--md-ink);
  border-radius: 28px;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 500;
  text-decoration: none;
}
.module-dialog__contact span { flex-shrink: 0; font-size: 20px; }
.module-dialog__footer > p { margin: 0; color: var(--md-text); font-size: 14px; line-height: 1.7; }
@media (hover: hover) {
  .module-dialog__close:hover { border-color: var(--md-teal); }
  .module-dialog__contact:hover { text-decoration: underline; text-underline-offset: 4px; }
}
/* Finite scene reveal: no timer, loop, idle or closed-dialog animation. */
.module-dialog[open][data-motion="running"][data-state="opening"] {
  animation: module-shell-in 220ms var(--md-ease) both;
}
.module-dialog[open][data-motion="running"][data-state="opening"]::backdrop {
  animation: module-veil-in 220ms ease both;
}
.module-dialog[open][data-motion="running"][data-state="closing"] {
  animation: module-shell-out 220ms ease both;
  pointer-events: none;
}
.module-dialog[open][data-motion="running"][data-state="closing"]::backdrop {
  animation: module-veil-out 220ms ease both;
}
.module-dialog[open][data-motion="running"][data-state="open"][data-art-visible="true"] [data-module-panel]:not([hidden]) .module-art__drawing {
  animation: module-art-reveal 1400ms var(--md-ease) both;
}
@keyframes module-shell-in {
  from { opacity: 0; transform: translateY(16px) scale(.975); }
  to { opacity: 1; transform: none; }
}
@keyframes module-shell-out {
  from { opacity: 1; transform: none; }
  to { opacity: 0; transform: translateY(10px) scale(.985); }
}
@keyframes module-veil-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes module-veil-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes module-art-reveal {
  from { opacity: .55; transform: translate(10px, 6px) scale(.97); }
  to { opacity: 1; transform: none; }
}
.module-dialog[data-motion="paused"],
.module-dialog[data-motion="paused"] *,
.module-dialog[data-motion="paused"]::backdrop,
html[data-motion="paused"] .module-dialog,
html[data-motion="paused"] .module-dialog *,
html[data-motion="paused"] .module-dialog::backdrop { animation: none !important; transition: none !important; }
.module-fallback {
  width: min(1184px, calc(100% - 48px));
  margin: 48px auto;
  padding: 48px;
  background: var(--md-paper);
  border-block: 1px solid var(--md-line);
}
.module-fallback > h2 { margin: 0; color: var(--md-ink); font-size: clamp(28px, 3vw, 40px); line-height: 1.2; font-weight: 500; }
.module-fallback__intro { margin: 24px 0 32px; }
.module-fallback > details { border-top: 1px solid var(--md-line); scroll-margin-top: 104px; }
.module-fallback > details:last-of-type { border-bottom: 1px solid var(--md-line); }
.module-fallback summary { min-height: 64px; padding: 18px 8px; color: var(--md-ink); font-size: 20px; font-weight: 500; cursor: pointer; }
.module-fallback__content { padding: 16px 8px 32px; }
.module-fallback__promise { color: var(--md-ink); font-size: 26px; line-height: 1.3; margin: 0 0 20px; }
.module-fallback__content > p:not(.module-fallback__promise) { max-width: 64ch; }
.module-fallback .module-dialog__body { padding: 40px 0 0; }
.module-fallback__ownership { max-width: 72ch; margin: 32px 0 24px; }
@media (max-width: 1000px) {
  .module-dialog__hero { padding-left: 40px; gap: 16px; }
  .module-dialog__artwork { min-height: 300px; }
  .module-dialog__body { gap: 40px; padding: 40px; }
  .module-dialog__footer { padding: 32px 40px 40px; gap: 32px; }
}
@media (max-width: 760px) {
  .module-dialog { width: calc(100% - 24px); max-width: calc(100% - 24px); height: calc(100dvh - 24px); max-height: calc(100dvh - 24px); border-radius: 18px; }
  .module-dialog__toolbar { padding: 12px 16px; min-height: 68px; }
  .module-dialog__surface { scroll-padding-top: 88px; }
  .module-dialog__hero { grid-template-columns: minmax(0, 1fr); padding: 32px 24px 0; gap: 24px; }
  .module-dialog h2 { font-size: clamp(34px, 8vw, 56px); }
  .module-dialog__promise { margin-top: 24px; max-width: 26ch; font-size: 26px; }
  .module-dialog__description { margin-top: 20px; font-size: 16px; }
  .module-dialog__artwork { min-height: 0; height: 224px; margin-inline: -24px; border-radius: 0; justify-content: center; background: radial-gradient(ellipse at 50% 65%, var(--md-art-core), var(--md-paper) 72%); }
  .module-art { height: 100%; width: auto; max-width: 100%; }
  .module-dialog__body { display: block; padding: 36px 24px 40px; }
  .module-dialog h3, .module-fallback h3 { font-size: 24px; }
  .module-dialog__uses dl { margin-top: 24px; }
  .module-dialog__scenario { padding: 32px 0 0; margin-top: 32px; border-left: 0; border-top: 1px solid var(--md-line); }
  .module-dialog__evolution { display: block; margin-top: 32px; padding-top: 32px; }
  .module-dialog__evolution > p { margin-top: 20px; }
  .module-dialog__footer { grid-template-columns: minmax(0, 1fr); padding: 28px 24px 36px; gap: 24px; }
  .module-fallback { padding: 32px 24px; width: calc(100% - 24px); }
  .module-fallback .module-dialog__body { display: block; padding-top: 32px; }
}
@media (max-width: 360px) {
  .module-dialog { width: calc(100% - 16px); max-width: calc(100% - 16px); height: calc(100dvh - 16px); max-height: calc(100dvh - 16px); border-radius: 14px; }
  .module-dialog__toolbar { padding-inline: 12px; }
  .module-dialog__hero { padding-inline: 20px; }
  .module-dialog__artwork { margin-inline: -20px; height: 200px; }
  .module-dialog__body { padding-inline: 20px; }
  .module-dialog__footer { padding-inline: 20px; }
  .module-dialog__contact { gap: 16px; padding-inline: 16px; }
  .module-fallback { padding-inline: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .module-dialog, .module-dialog *, .module-dialog::backdrop { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media (forced-colors: active) {
  .module-dialog, .module-fallback, .module-dialog__surface, .module-dialog__toolbar { background: Canvas; color: CanvasText; }
  .module-dialog__contact { border: 1px solid LinkText; }
  .module-dialog__artwork { display: none; }
  .module-dialog__hero { grid-template-columns: minmax(0, 1fr); padding-right: 32px; }
}
