/* Clanizon — Production Monitoring (PMS) product page */
.pm-hero { padding: 150px 0 70px; background: radial-gradient(820px 440px at 8% 12%, rgba(255,198,41,.14), transparent 62%); overflow: hidden; }
.pm-hero-in { display: grid; grid-template-columns: 1.02fr 1fr; gap: 48px; align-items: center; }
.pm-tag { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font: 600 12px var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.pm-tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); }
.pm-hero h1 { margin: 12px 0 0; font-size: clamp(42px, 5.2vw, 72px); line-height: 1.03; letter-spacing: -.04em; font-weight: 700; color: var(--ink); }
.pm-hero h1 em, .pm-head h2 em, .pm-feats h2 em { font-style: normal; background: linear-gradient(transparent 60%, var(--yellow) 60%, var(--yellow) 90%, transparent 90%); }
[data-theme="dark"] .pm-hero h1 em, [data-theme="dark"] .pm-head h2 em, [data-theme="dark"] .pm-feats h2 em { color: #1f2226; background: var(--yellow); padding: 0 .12em; border-radius: 6px; }
.pm-hero .lead { margin: 22px 0 0; max-width: 540px; font-size: 18px; line-height: 1.6; color: var(--ink-2); }
.pm-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.pm-kpis { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 36px 0 0; padding: 0; max-width: 560px; }
.pm-kpis li { padding: 14px 16px; border-radius: 16px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.pm-kpis b { display: block; font-size: 17px; color: var(--ink); }
.pm-kpis span { display: block; margin-top: 3px; font-size: 13px; line-height: 1.35; color: var(--muted); }
.pm-art { position: relative; }
.pm3d { position: relative; width: 100%; aspect-ratio: 1 / .86; opacity: 0; transform: translateY(24px) scale(.97); transition: opacity 1.1s ease, transform 1.5s cubic-bezier(.16,1,.3,1); }
.pm3d.in { opacity: 1; transform: none; }
.pm3d canvas { display: block; width: 100% !important; height: 100% !important; }
.pm-art-note { position: absolute; left: 50%; bottom: 4px; transform: translateX(-50%); padding: 6px 12px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); font: 600 12px var(--font); color: var(--muted); white-space: nowrap; }
.pm-art-note b { color: var(--ink); }
/* arriving from the home-page plant: the hero settles in from the board */
html.fly-in .pm-hero { animation: pmFly 1.1s cubic-bezier(.16,1,.3,1) both; }
@keyframes pmFly { from { transform: scale(1.06); filter: blur(10px); opacity: 0; } to { transform: none; filter: none; opacity: 1; } }

/* ---------- scroll story ---------- */
.pm-story { padding: 70px 0 40px; }
.pm-head { max-width: 760px; margin-bottom: 44px; }
.pm-eyebrow { font: 600 12px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.pm-head h2, .pm-feats h2 { margin: 10px 0 0; font-size: clamp(30px, 3.6vw, 50px); line-height: 1.08; letter-spacing: -.035em; color: var(--ink); }
.pm-head p { margin: 16px 0 0; font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.ps { display: grid; grid-template-columns: 1.18fr .82fr; gap: 60px; align-items: start; }
.ps-stage { position: sticky; top: 104px; }
.ps-screen { border-radius: 22px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line), 0 34px 70px -34px rgba(31,34,38,.38); overflow: hidden; }
.ps-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); font: 600 12px var(--font); color: var(--muted); }
.ps-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.ps-bar span { margin-left: 8px; color: var(--ink); font-weight: 700; }
.ps-bar em { margin-left: auto; font-style: normal; font-size: 11px; padding: 3px 9px; border-radius: 999px; background: var(--bg-soft); }
.ps-scenes { position: relative; aspect-ratio: 560 / 380; }
.sc { position: absolute; inset: 0; opacity: 0; transform: scale(.985); transition: opacity .5s ease, transform .6s cubic-bezier(.16,1,.3,1); pointer-events: none; }
.sc.on { opacity: 1; transform: none; }
.sc svg { display: block; width: 100%; height: 100%; }
.ps-dots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.ps-dots i { width: 8px; height: 8px; border-radius: 99px; background: var(--line-2); transition: width .35s, background .35s; }
.ps-dots i.on { width: 26px; background: var(--yellow); }
.ps-steps { list-style: none; margin: 0; padding: 0; }
.ps-step { min-height: 64vh; display: flex; flex-direction: column; justify-content: center; padding: 24px 0; opacity: .32; transition: opacity .45s ease; }
.ps-step:first-child { min-height: 52vh; justify-content: flex-start; padding-top: 30px; }
.ps-step:last-child { min-height: 56vh; }
.ps-step.on { opacity: 1; }
.ps-num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--bg-soft); box-shadow: inset 0 0 0 1px var(--line); font: 800 14px var(--font); color: var(--ink); transition: background .35s, color .35s; }
.ps-step.on .ps-num { background: var(--yellow); color: #1f2226; box-shadow: none; }
.ps-step h3 { margin: 14px 0 8px; font-size: 27px; letter-spacing: -.025em; color: var(--ink); }
.ps-step p { margin: 0; max-width: 460px; font-size: 16.5px; line-height: 1.62; color: var(--ink-2); }
.ps-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.ps-tags span { padding: 6px 12px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); font: 600 12.5px var(--font); color: var(--ink-2); }
/* svg palette (follows light / dark theme) */
.sc text { font-family: var(--font); }
.k-ink { fill: var(--ink); } .k-ink2 { fill: var(--ink-2); } .k-mut { fill: var(--muted); }
.k-card { fill: var(--bg-soft); } .k-paper { fill: var(--paper); } .k-track { fill: var(--line-2); }
.k-stroke { stroke: var(--line-2); fill: none; } .k-ln { stroke: var(--line-2); }
.k-y { fill: #ffc629; } .k-g { fill: #1fa45a; } .k-a { fill: #f59e0b; } .k-r { fill: #e5484d; } .k-b { fill: #3b82f6; }

/* ---------- features ---------- */
.pm-feats { padding: 60px 0 40px; }
.pm-feats .pm-head { margin-bottom: 34px; }
.pmf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pmf-card { padding: 26px 24px; border-radius: 22px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); transition: transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s; }
.pmf-card:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line-2), 0 24px 44px -28px rgba(31,34,38,.35); }
.pmf-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: rgba(255,198,41,.18); color: var(--ink); }
.pmf-ic svg { width: 22px; height: 22px; }
.pmf-card h3 { margin: 18px 0 8px; font-size: 19px; letter-spacing: -.015em; color: var(--ink); }
.pmf-card p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.pm-cta-wrap { padding: 30px 0 90px; }

@media (max-width: 1000px) {
  .pm-hero { padding: 120px 0 40px; }
  .pm-hero-in { grid-template-columns: 1fr; gap: 26px; }
  .pmf-grid { grid-template-columns: 1fr 1fr; }
  .ps { grid-template-columns: 1fr; gap: 0; }
  .ps-stage { top: 70px; z-index: 3; background: var(--bg); padding: 8px 0 12px; margin: 0 -4px; }
  .ps-step { min-height: 58vh; }
  .ps-step:first-child { min-height: 40vh; }
}
@media (max-width: 640px) {
  .pm-kpis { grid-template-columns: 1fr; }
  .pmf-grid { grid-template-columns: 1fr; }
  .ps-step h3 { font-size: 22px; }
  .ps-step p { font-size: 15.5px; }
}
@media (prefers-reduced-motion: reduce) { .pm3d, .sc { transition: none; } html.fly-in .pm-hero { animation: none; } }
