/* p-m35: /erp-diagnostics-lab-products-bangalore/ (ETC-296). Narrow text rail beside a tall poster of art in a stamp-ring frame,
   pulse-and-glow nodes, monospace spec labels, kanban of lots, batch card, lot-life scrubber, horizontal parallax band. Accent green. */
.m35-hero, main:has(.m35-hero) { --m35-acc: #15803D; --m35-acc-d: #166534; --m35-bg: #F0FDF4; --m35-line: #BBF7D0; --m35-pink: #BE185D;
  --m35-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
main:has(.m35-hero) .eyebrow { color: var(--m35-acc-d); font-family: var(--m35-mono); letter-spacing: .1em; }
main:has(.m35-hero) .eyebrow::before { background: var(--m35-acc); }
.m35-mono { font-family: var(--m35-mono); letter-spacing: .04em; }

/* hero: narrow text rail + tall poster column */
.m35-hero { padding-bottom: 60px; }
.m35-hero .kicker { color: var(--m35-acc-d); background: var(--m35-bg); }
.m35-hero .kicker i { background: var(--m35-acc); }
.m35-hero__grid { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 44px; align-items: center; margin-top: 18px; position: relative; z-index: 1; }
.m35-rail h1 { font-size: clamp(30px, 1.1rem + 1.9vw, 44px); line-height: 1.12; margin: 0 0 14px; }
.m35-hl { color: var(--m35-acc-d); text-decoration: underline; text-decoration-color: var(--m35-line); text-decoration-thickness: .18em; text-underline-offset: .12em; }
.m35-rail .lead { font-size: 17px; }
.m35-rail .trust { flex-direction: column; gap: 8px; }
.m35-poster { position: relative; padding: 12px; border-radius: 30px; border: 2px solid var(--m35-acc); outline: 1px dashed var(--m35-acc); outline-offset: 5px; background: #fff; }
.m35-art.st-art { aspect-ratio: 4 / 4.6; max-height: 640px; width: 100%; border-radius: 20px; box-shadow: none; }
.m35-pause { position: absolute; z-index: 6; right: 24px; bottom: 24px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line);
  background: rgba(255, 255, 255, .95); font: 600 13px/1 var(--font-ui); color: var(--ink); cursor: pointer; }
.m35-pause:focus-visible, .m35-kan__go:focus-visible, .m35-recipe__size button:focus-visible, .m35-scrub input:focus-visible { outline: 3px solid var(--m35-acc); outline-offset: 2px; }

/* hero motion: pulse and glow on network nodes and test lines (opacity and scale only) */
.m35-node { transform-box: fill-box; transform-origin: center; animation: m35-pulse 3.2s ease-in-out infinite; }
.m35-node--b { animation-delay: -.8s; } .m35-node--c { animation-delay: -1.6s; } .m35-node--d { animation-delay: -2.4s; }
@keyframes m35-pulse { 0%, 100% { transform: scale(1); opacity: .75; } 50% { transform: scale(1.35); opacity: 1; } }
.m35-line { animation: m35-glow 3.2s ease-in-out infinite; } .m35-line--b { animation-delay: -1.6s; }
@keyframes m35-glow { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
.m35-dispense { animation: m35-glow 2.4s ease-in-out infinite; }
.m35-hero__grid.is-paused .m35-node, .m35-hero__grid.is-paused .m35-line, .m35-hero__grid.is-paused .m35-dispense { animation-play-state: paused; }

.m35-note { margin-top: 18px; font-size: 15px; color: var(--muted); max-width: 900px; }
.m35-proof .proof__l .m35-mono { display: inline-block; font-size: 11.5px; font-weight: 700; color: var(--m35-acc-d); background: var(--m35-bg); padding: 3px 6px; border-radius: 4px; margin-right: 4px; }

/* fit */
.m35-fit { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.m35-fit__c { padding: 20px; border-radius: 14px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--m35-acc); }
.m35-fit__k { margin: 0 0 8px; font-size: 12px; font-weight: 700; color: var(--m35-acc-d); }
.m35-fit__c h3 { margin: 0 0 8px; font-size: 19px; }
.m35-fit__c p:last-child { margin: 0; font-size: 15.5px; }

/* story tint */
.m35-story .st-rail li.is-on { background: var(--m35-bg); }
.m35-story .st-rail li.is-on::before { background: var(--m35-acc); border-color: var(--m35-acc); }
.m35-story .st-scene__k { color: var(--m35-acc-d); letter-spacing: .06em; }

/* signature: kanban board of lots */
.m35-kan { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.m35-kan__col { min-height: 220px; padding: 12px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); }
.m35-kan__col:last-child { background: var(--m35-bg); border-color: var(--m35-line); }
.m35-kan__h { margin: 0 0 10px; font-size: 12px; font-weight: 700; color: var(--muted); }
.m35-kan__list { display: grid; gap: 10px; }
.m35-card { display: flex; flex-direction: column; gap: 4px; padding: 12px; border-radius: 10px; background: #fff; border: 1px solid var(--line); box-shadow: 0 6px 14px -10px rgba(15, 23, 42, .35); }
.m35-card.is-new { animation: m35-drop .35s ease both; }
@keyframes m35-drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.m35-card b { font-size: 14px; color: var(--ink); }
.m35-card span { font: 500 13.5px/1.35 var(--font-ui); color: var(--muted); }
.m35-card--hold { border-left: 4px solid #B45309; }
.m35-card--ok { border-left: 4px solid var(--m35-acc); }
.m35-kan__go { align-self: flex-start; margin-top: 4px; min-height: 36px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--m35-acc); background: #fff;
  font: 600 13px/1 var(--font-ui); color: var(--m35-acc-d); cursor: pointer; }
.m35-kan__go:hover { background: var(--m35-bg); }
.m35-kan__out { margin: 16px 0 0; padding: 14px 16px; border-radius: 12px; background: var(--m35-bg); font: 500 15px/1.5 var(--font-ui); color: var(--ink); }

/* signature: batch card */
.m35-split { display: grid; grid-template-columns: .85fr 1.15fr; gap: 44px; align-items: start; }
.m35-split .sec__head { margin-bottom: 0; }
.m35-recipe { border-radius: 16px; background: #fff; border: 2px solid var(--ink); overflow: hidden; }
.m35-recipe__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 16px; background: var(--ink); }
.m35-recipe__top p { margin: 0; color: #fff; font-size: 12.5px; font-weight: 700; }
.m35-recipe__size { display: flex; gap: 6px; }
.m35-recipe__size button { min-height: 44px; min-width: 56px; border-radius: 8px; border: 1px solid #475569; background: transparent; color: #E2E8F0;
  font: 700 13px/1 var(--m35-mono); cursor: pointer; }
.m35-recipe__size button[aria-pressed="true"] { background: var(--m35-acc); border-color: var(--m35-acc); color: #fff; }
.m35-recipe__t { width: 100%; border-collapse: collapse; font-size: 15px; }
.m35-recipe__t th, .m35-recipe__t td { padding: 11px 14px; border-bottom: 1px dashed var(--line); text-align: left; }
.m35-recipe__t thead th { font: 700 11.5px/1.2 var(--m35-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: var(--paper); }
.m35-recipe__t tbody th { font-weight: 600; color: var(--ink); }
.m35-recipe__t td[data-q] { font: 700 15px/1.2 var(--m35-mono); color: var(--m35-acc-d); }
.m35-recipe__t td.is-flash { animation: m35-flash .5s ease; }
@keyframes m35-flash { from { background: var(--m35-bg); } to { background: transparent; } }
.m35-recipe__foot { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 0; }
.m35-recipe__foot div { padding: 12px 14px; border-left: 1px solid var(--line); }
.m35-recipe__foot div:first-child { border-left: 0; }
.m35-recipe__foot dt { font-size: 11px; font-weight: 700; color: var(--muted); margin-bottom: 4px; }
.m35-recipe__foot dd { margin: 0; font-size: 14.5px; }

/* segments: spec cards */
.m35-specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.m35-spec { padding: 18px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.m35-spec h3 { margin: 0 0 12px; font-size: 18px; padding-bottom: 10px; border-bottom: 2px solid var(--m35-acc); }
.m35-spec dl { margin: 0; display: grid; gap: 10px; }
.m35-spec dt { font-size: 11px; font-weight: 700; color: var(--m35-acc-d); margin-bottom: 2px; }
.m35-spec dd { margin: 0; font-size: 15px; }

/* carousel: timeline scrubber */
.m35-scrub { padding: 24px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.m35-scrub__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.m35-scrub__bar label { font-size: 13px; font-weight: 700; color: var(--m35-acc-d); min-width: 140px; }
.m35-scrub input[type="range"] { flex: 1 1 260px; height: 44px; accent-color: var(--m35-acc); cursor: pointer; }
.m35-scrub__ticks { display: flex; justify-content: space-between; list-style: none; margin: 0 0 16px auto; padding: 0 2px; max-width: calc(100% - 160px); font-size: 11.5px; color: var(--muted); }
.m35-scrub__p { margin-top: 10px; padding: 20px; border-radius: 14px; background: var(--paper); border-left: 4px solid var(--m35-acc); }
.m35-js .m35-scrub__p { display: none; margin-top: 0; }
.m35-js .m35-scrub__p.is-on { display: block; animation: m35-drop .3s ease both; }
.m35-scrub__p h3 { margin: 0 0 8px; font-size: 21px; }
.m35-scrub__p p { margin: 0; }

/* cost rows */
.m35-price { display: grid; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: #fff; }
.m35-price__row { display: grid; grid-template-columns: 220px 120px 1fr; gap: 16px; align-items: baseline; padding: 14px 18px; border-bottom: 1px dashed var(--line); }
.m35-price__row span { font-size: 12.5px; font-weight: 700; color: var(--m35-acc-d); }
.m35-price__row b { font: 700 20px/1 var(--font); color: var(--ink); }
.m35-price__row small { font: 500 14px/1.4 var(--font-ui); color: var(--muted); }
.m35-price__row--tot { background: var(--m35-bg); border-bottom: 0; }

/* boundary */
.m35-bound { display: grid; gap: 10px; }
.m35-bound p { margin: 0; padding: 16px 18px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.m35-tag { display: inline-block; margin-right: 10px; padding: 4px 8px; border-radius: 6px; font-size: 11.5px; font-weight: 700; }
.m35-tag--in { background: var(--m35-bg); color: var(--m35-acc-d); } .m35-tag--link { background: #EAF2FB; color: #1B5A94; } .m35-tag--out { background: #FFF1F2; color: #9F1239; }

/* horizontal parallax band (layers slide sideways while the section scrolls) */
.m35-hband { position: relative; height: 160px; margin: 0 0 28px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); overflow-x: clip; overflow-y: hidden; }
.m35-hband__l { position: absolute; left: -20%; width: 140%; height: 50px; will-change: transform; }
.m35-hband__l:nth-child(1) { top: 10px; } .m35-hband__l:nth-child(2) { top: 56px; } .m35-hband__l:nth-child(3) { top: 102px; }
.m35-hband__l svg { width: 100%; height: 100%; display: block; }

@media (max-width: 1080px) {
  .m35-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; }
  .m35-fit, .m35-specs { grid-template-columns: 1fr 1fr; }
  .m35-kan { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .m35-split { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 760px) {
  .m35-hero__grid { grid-template-columns: 1fr; }
  .m35-poster { order: -1; padding: 8px; border-radius: 22px; }
  .m35-art.st-art { aspect-ratio: 4 / 4.2; }
  .m35-pause { position: static; display: block; margin: 10px auto 2px; }
  .m35-fit, .m35-specs, .m35-kan, .m35-recipe__foot { grid-template-columns: 1fr; }
  .m35-kan__col { min-height: 0; }
  .m35-recipe__foot div { border-left: 0; border-top: 1px solid var(--line); }
  .m35-recipe__t th, .m35-recipe__t td { padding: 9px 8px; font-size: 14px; }
  .m35-price__row { grid-template-columns: 1fr auto; }
  .m35-price__row small { grid-column: 1 / -1; }
  .m35-scrub { padding: 16px; }
  .m35-scrub__ticks { max-width: none; }
  .m35-hband { height: 120px; }
  .m35-hband__l { height: 36px; } .m35-hband__l:nth-child(2) { top: 44px; } .m35-hband__l:nth-child(3) { top: 78px; }
}
@media (prefers-reduced-motion: reduce) {
  .m35-node, .m35-line, .m35-dispense, .m35-card.is-new, .m35-scrub__p.is-on { animation: none !important; }
  .m35-pause { display: none; }
  .m35-hband__l { transform: none !important; }
}
