/* m28: ERP for LED and lighting manufacturing in Bangalore (ETC-283). Burnt-orange accent, condensed wide-tracked eyebrows,
   full-bleed dusk street band with a floating white card, line-draw luminaire, sideways parallax, oversized padding on
   tinted paper, batch card, before/after burn-in slider, cost waterfall. */
.m28 { --m28: #C2410C; --m28-d: #9A3412; --m28-bg: #FFF1E7; --m28-paper: #FBF4EC; --m28-ink: #1C1917; }
.m28 .eyebrow, .m28-fit__k, .m28-ba__k, .m28-recipe header p, .m28-recipe h4 { font-family: 'Arial Narrow', 'Roboto Condensed', 'Helvetica Neue', var(--font-ui);
  font-stretch: condensed; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; }
.m28 .eyebrow { color: var(--m28-d); font-size: 13px; }
.m28 .eyebrow::before { background: var(--m28); width: 34px; }
.m28-fine { margin: 18px 0 0; font: 500 14px/1.55 var(--font-ui); color: var(--muted); max-width: 820px; }
.m28-two { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 48px; align-items: start; }
.m28-two > .sec__head { margin: 0; }
.m28-proof .proof__n { color: var(--m28-d); }

/* hero: full-bleed band with a floating white card */
.m28-hero { padding-bottom: 72px; }
.m28-band { position: relative; display: grid; margin-top: 14px; }
.m28-band > * { grid-area: 1 / 1; }
.m28-art { aspect-ratio: auto; min-height: clamp(520px, 72vh, 680px); border-radius: 0; box-shadow: none; }
.m28-hero__wrap { position: relative; z-index: 6; align-self: center; pointer-events: none; padding: 40px 0; }
.m28-hero__card { pointer-events: auto; max-width: 610px; padding: 40px 42px 34px; background: #fff; border-radius: 20px; box-shadow: 0 40px 80px -30px rgba(15, 20, 38, .6); }
.m28-hero .hl { color: var(--m28); background: none; -webkit-text-fill-color: currentColor; }
.m28-hero .kicker { color: var(--m28-d); background: var(--m28-bg); }
.m28-chip { background: rgba(255, 255, 255, .95); }
.m28-tag { left: auto; right: 24px; bottom: 18px; }
.m28-trust { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.m28-trust li { font: 600 13.5px/1.4 var(--font-ui); color: var(--ink); padding-left: 16px; position: relative; }
.m28-trust li::before { content: ""; position: absolute; left: 0; top: 6px; width: 8px; height: 8px; border-radius: 50%; background: var(--m28); box-shadow: 0 0 0 3px var(--m28-bg); }
/* sideways parallax wrappers (moved by p-m28.js; kit-story moves the outer layer vertically) */
.m28-hx { position: absolute; inset: 0 -8%; will-change: transform; }
.m28-hx svg { width: 100%; height: 100%; display: block; }
/* line-draw: the luminaire outline draws itself once, then the light comes on */
.m28-draw path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: m28-draw 2.4s cubic-bezier(.4, .1, .2, 1) .3s forwards; }
.m28-draw--2 path { animation-delay: 1.4s; animation-duration: 1.4s; }
.m28-parts { opacity: 0; animation: m28-in .8s ease 1.9s forwards; }
.m28-cone { opacity: 0; animation: m28-in 1.2s ease 2.4s forwards; }
@keyframes m28-draw { to { stroke-dashoffset: 0; } }
@keyframes m28-in { to { opacity: 1; } }
.m28-rack rect { animation: m28-glow 4s ease-in-out infinite; }
.m28-rack rect:nth-child(3n+2) { animation-delay: .6s; } .m28-rack rect:nth-child(3n) { animation-delay: 1.2s; }
@keyframes m28-glow { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }

/* fit: tinted paper tabs with oversized padding */
.m28-fit__tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.m28-fit__tabs button { min-height: 56px; padding: 12px 14px; border-radius: 12px; border: 1px solid #EBDCCB; background: #fff; font: 700 14.5px/1.3 var(--font-ui); color: var(--ink); cursor: pointer; text-align: left; }
.m28-fit__tabs [aria-selected="true"] { background: var(--m28-ink); border-color: var(--m28-ink); color: #FED7AA; }
.m28-fit__panel { padding: clamp(28px, 4vw, 56px); border-radius: 22px; background: var(--m28-paper); }
.m28-fit__panel[hidden] { display: none; }
.m28-fit__panel h3 { font-size: clamp(22px, 1rem + .8vw, 30px); max-width: 720px; }
.m28-fit__panel p { max-width: 820px; font-size: 16.5px; }
.m28-fit__k { margin: 6px 0 0; font-size: 13px; color: var(--m28-d); }

/* scroll story */
.m28-story { background: var(--m28-paper); }
.m28-story .st-rail { background: transparent; }
.m28-story .st-rail li.is-on { background: #fff; }
.m28-story .st-rail li.is-on::before { background: var(--m28); border-color: var(--m28); }
.m28-story .st-scene { padding: clamp(24px, 3vw, 44px); border-color: #EBDCCB; }
.m28-story .st-scene__k { color: var(--m28-d); letter-spacing: .22em; }

/* batch card */
.m28-recipe { padding: clamp(26px, 4vw, 48px); border-radius: 22px; background: var(--m28-paper); border: 1px solid #EBDCCB; box-shadow: 0 30px 60px -44px rgba(68, 30, 8, .5); }
.m28-recipe header { border-bottom: 2px solid var(--m28-ink); padding-bottom: 14px; margin-bottom: 18px; }
.m28-recipe header p { margin: 0 0 6px; font-size: 12.5px; color: var(--m28-d); }
.m28-recipe header h3 { margin: 0 0 4px; font-size: clamp(22px, 1rem + .9vw, 30px); }
.m28-recipe header span { font: 600 14px/1.4 var(--font-ui); color: var(--muted); }
.m28-recipe__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.m28-recipe h4 { margin: 0 0 10px; font-size: 13px; color: var(--m28-ink); }
.m28-recipe ul, .m28-recipe ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.m28-recipe ul li { display: flex; gap: 10px; font-size: 15px; }
.m28-recipe ul b { display: inline-grid; place-items: center; min-width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 1.5px solid var(--m28); color: var(--m28-d); font: 700 12px/1 var(--font-ui); }
.m28-recipe ol { counter-reset: r; }
.m28-recipe ol li { counter-increment: r; position: relative; padding-left: 30px; font-size: 15px; }
.m28-recipe ol li::before { content: counter(r) "."; position: absolute; left: 0; font: 800 15px/1.6 var(--font); color: var(--m28); }
.m28-recipe footer { margin-top: 22px; padding-top: 14px; border-top: 1px dashed #D6BFA6; display: flex; flex-wrap: wrap; gap: 8px; }
.m28-recipe footer span { padding: 5px 10px; border-radius: 999px; background: #fff; font: 600 12.5px/1.2 var(--font-ui); color: var(--m28-ink); }

/* comparison */
.m28-cmp th.is-pick, .m28-cmp td.is-pick { background: var(--m28-bg); }
.m28-cmp thead th b { display: block; }

/* before/after drag slider */
.m28-ba { position: relative; display: grid; border-radius: 22px; overflow: hidden; box-shadow: 0 30px 60px -40px rgba(68, 30, 8, .55); min-height: 340px; }
.m28-ba > div { grid-area: 1 / 1; padding: clamp(24px, 3.4vw, 44px); }
.m28-ba__a { background: #F5EFE6; color: #44403C; font-family: 'Segoe Print', 'Bradley Hand', var(--font); }
.m28-ba__b { background: var(--m28-ink); color: #FDE7D5; clip-path: inset(0 0 0 var(--p)); padding-left: max(clamp(24px, 3.4vw, 44px), calc(var(--p) + 24px)) !important; }
.m28-ba__k { margin: 0 0 14px; font-size: 13px; color: var(--m28-d); }
.m28-ba__b .m28-ba__k { color: #FDBA74; }
.m28-ba ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; font-size: 15.5px; }
.m28-ba__a li { border-bottom: 1px solid #DDD3C4; padding-bottom: 8px; }
.m28-ba__b li { padding-left: 22px; position: relative; }
.m28-ba__b li::before { content: ""; position: absolute; left: 0; top: 7px; width: 10px; height: 10px; border-radius: 2px; background: var(--m28); }
.m28-ba__line { position: absolute; top: 0; bottom: 0; left: var(--p); width: 3px; margin-left: -1.5px; background: #FDBA74; z-index: 2; pointer-events: none; }
.m28-ba__line i { position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: #fff; border: 3px solid var(--m28);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .3); }
.m28-ba__line i::before, .m28-ba__line i::after { content: ""; position: absolute; top: 50%; width: 0; height: 0; margin-top: -6px; border: 6px solid transparent; }
.m28-ba__line i::before { left: 4px; border-right-color: var(--m28); }
.m28-ba__line i::after { right: 4px; border-left-color: var(--m28); }
.m28-ba__range { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.m28-ba:focus-within { outline: 3px solid var(--m28); outline-offset: 3px; }

/* cost waterfall */
.m28-wf { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 10px; align-items: end; padding: clamp(24px, 3.5vw, 48px); border-radius: 22px; background: var(--m28-paper); }
.m28-wf__s { position: relative; height: 320px; display: flex; flex-direction: column; justify-content: flex-end; }
.m28-wf__s i { position: absolute; left: 10%; right: 10%; bottom: calc(var(--b) * 1% * .82 + 52px); height: calc(var(--h) * 1% * .82); border-radius: 6px; background: linear-gradient(180deg, #FB923C, var(--m28)); }
.m28-wf__s b { position: absolute; left: 0; right: 0; bottom: calc((var(--b) + var(--h)) * 1% * .82 + 58px); text-align: center; font: 800 14px/1 var(--font-ui); color: var(--m28-ink); }
.m28-wf__s span { display: block; height: 44px; font: 600 12.5px/1.25 var(--font-ui); color: var(--text); text-align: center; }
.m28-wf__s--tot i { background: var(--m28-ink); }
.m28-wf__s--tot span { color: var(--m28-d); font-weight: 800; }

/* licence list */
.m28-plist { display: grid; gap: 12px; }
.m28-plist > div { padding: 20px 24px; border-radius: 18px; background: #fff; border: 1px solid #EBDCCB; }
.m28-plist b { font: 700 17px/1.2 var(--font); color: var(--ink); }
.m28-plist p { margin: 4px 0 2px; font: 700 15px/1.4 var(--font-ui); color: var(--m28-d); }
.m28-plist small { color: var(--muted); font-size: 13px; }

/* integrations */
.m28-int { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.m28-int > div { padding: 22px; border-radius: 18px; background: var(--m28-paper); }
.m28-int p { margin: 10px 0 0; font-size: 15px; line-height: 1.5; }
.m28-int b { color: var(--ink); }
.m28-tag { display: inline-block; padding: 4px 10px; border-radius: 999px; font: 700 11.5px/1.2 var(--font-ui); letter-spacing: .04em; }
.m28-tag--n { background: var(--green-bg); color: var(--green-d); }
.m28-tag--m { background: var(--blue-bg); color: var(--blue-d); }
.m28-tag--c { background: #fff; color: var(--m28-d); border: 1px solid #EBDCCB; }
.m28-roll i { border-color: var(--m28) !important; color: var(--m28-d) !important; }
.m28-ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.m28-ticks li { padding-left: 22px; position: relative; font: 500 15px/1.4 var(--font-ui); color: var(--ink); }
.m28-ticks li::before { content: ""; position: absolute; left: 0; top: 6px; width: 9px; height: 9px; border-radius: 2px; background: var(--m28); }
.m28-local { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.m28-local > div { padding: 26px 24px; border-radius: 18px; background: #fff; border: 1px solid #EBDCCB; }
.m28-local h3 { font-size: 17.5px; }
.m28-local p { margin: 0; font-size: 15px; }

@media (max-width: 1100px) { .m28-int, .m28-local { grid-template-columns: 1fr 1fr; } }
@media (max-width: 960px) {
  .m28-two { grid-template-columns: 1fr; gap: 28px; }
  .m28-band { display: block; }
  .m28-art { min-height: 0; height: 320px; }
  .m28-hero__wrap { padding: 0; margin-top: -70px; }
  .m28-hero__card { padding: 26px 22px; }
  .m28-fit__tabs { grid-template-columns: 1fr 1fr; }
  .m28-wf { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 24px; }
  .m28-wf__s { height: 240px; }
}
@media (max-width: 640px) {
  .m28-int, .m28-local, .m28-recipe__cols, .m28-fit__tabs { grid-template-columns: 1fr; }
  .m28-art { height: 260px; }
  .m28 .st-art__chip.m28-chip { display: none; }
  .m28-tag { right: 12px; bottom: 80px; }
  .m28-wf { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .m28-wf__s { height: 200px; }
  .m28-ba { min-height: 420px; }
}
@media (prefers-reduced-motion: reduce) {
  .m28-draw path { animation: none !important; stroke-dashoffset: 0; }
  .m28-parts, .m28-cone { animation: none !important; opacity: 1; }
  .m28-rack rect { animation: none !important; }
  .m28-hx { transform: none !important; }
}
