/* 2026-10-23: no hairline spans the content column on a world page (Saife: "remove this line"). */
/* The shared industry-page kit (lab/pages/industry_kit.py, 2026-10-23). Loads after pages/site/shell.css. Owns the rules every
   /industries/<slug>/ page shares: the hero's product micro-screen, the sticky in-page nav, the problems list, the
   resolution-gap window (a Squid proposes, a named role approves, the record updates), the capability grid, the rules
   list, the customer strip, the figure strip and the FAQ. Product screens stay quiet: hairlines, small type, colour
   only for state (violet a Squid at work, amber a person's turn, green done). Text never sits on the rail or on a
   moving line: the rail has its own column. industry.js plays each window while it is on screen; without motion the
   final state is shown. */

main > section[id] { scroll-margin-top: 112px; }

/* ---------------------------------------------------------------- the hero's micro-screen */
/* the hero's product window sits below the hero with the reference page's room around it (/ uses ~130px between
   chapters), never pulled up over the octopus (Saife 2026-10-23: "give more room similar to the agentic erp main page") */
.erp .ik-lead { position: relative; z-index: 7; margin-top: 0; padding: clamp(24px, 3vw, 48px) clamp(14px, 7vw, 120px) clamp(72px, 9vw, 130px); }
.erp .ik-lead .mock { max-width: 780px; margin: 0 auto; }
/* phones and tablets: the hero copy sits at the bottom of the hero, so the window starts below its calls to action */
@media (max-width: 1024px) { .erp .ik-lead { padding-top: 8px; } }
.erp .ik-foot { display: flex; justify-content: space-between; gap: 16px; margin-top: 6px; padding-top: 12px; border-top: 1px solid rgb(255 255 255 / .1); font: 500 12px/1.4 var(--sc-font-mono); color: #8f88a6; }
.erp .ik-foot span { color: #f4f3ef; }

/* ---------------------------------------------------------------- the sticky in-page nav */
.erp .ik-nav { position: sticky; top: var(--bar-h, 64px); z-index: 30; background: rgb(10 8 20 / .9); border-block: 1px solid rgb(244 243 239 / .1); }
.erp .ik-nav__in { display: flex; align-items: center; gap: 16px; width: min(1440px, 100%); margin-inline: auto; padding: 0 clamp(14px, 3.4vw, 44px); }
.erp .ik-nav ul { display: flex; flex: 1; min-width: 0; gap: 4px; margin: 0; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.erp .ik-nav ul::-webkit-scrollbar { display: none; }
.erp .ik-nav li { flex: none; }
.erp .ik-nav li a { position: relative; display: flex; align-items: center; min-height: 48px; padding: 0 14px; color: rgb(233 228 247 / .7); font: 500 14px/1 var(--sc-font-text); text-decoration: none; white-space: nowrap; transition: color .2s var(--ease); }
.erp .ik-nav li a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 2px; border-radius: 1px; background: var(--neon); transform: scaleX(0); transform-origin: 0 50%; transition: transform .3s var(--ease); }
.erp .ik-nav li a:hover { color: #f4f3ef; }
.erp .ik-nav li a.is-on { color: #f4f3ef; }
.erp .ik-nav li a.is-on::after { transform: scaleX(1); }
@media (max-width: 760px) { .erp .ik-nav li a { padding: 0 12px; } .erp .ik-nav li a::after { left: 12px; right: 12px; } }

/* ---------------------------------------------------------------- the sector's problems */
.erp .ik-prob { list-style: none; margin: clamp(36px, 4vw, 56px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(32px, 5vw, 88px); }
.erp .ik-prob li { padding: 26px 0 30px; border-top: 1px solid rgb(244 243 239 / .14); }
.erp .ik-prob__h { margin: 0; font: 600 clamp(18px, 1.5vw, 21px)/1.3 var(--sc-font-display); letter-spacing: -.015em; color: #f4f3ef; text-wrap: balance; }
.erp .ik-prob__fig { margin: 16px 0 10px; display: flex; align-items: baseline; gap: 6px 16px; flex-wrap: wrap; }
.erp .ik-prob__fig b { font: 600 clamp(32px, 3.4vw, 46px)/1 var(--sc-font-display); letter-spacing: -.035em; color: #e3dbff; font-variant-numeric: tabular-nums; }
.erp .ik-prob__fig span { flex: 1 1 14ch; max-width: 30ch; font-size: 14.5px; line-height: 1.45; color: rgb(233 228 247 / .82); }
.erp .ik-prob__p { margin: 0; max-width: 54ch; font-size: 15px; line-height: 1.6; color: rgb(233 228 247 / .74); text-wrap: pretty; }
.erp .ik-prob__src { margin: 12px 0 0; max-width: 58ch; font-size: 12.5px; line-height: 1.5; color: #8f88a6; }
.erp .ik-prob__src::before { content: "Source: "; color: rgb(233 228 247 / .5); }
@media (max-width: 900px) { .erp .ik-prob { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- the resolution-gap window */
.erp .ig { display: grid; gap: 20px; }
.erp .ig__head { display: grid; gap: 4px; padding-bottom: 14px; border-bottom: 1px solid rgb(255 255 255 / .08); }
.erp .ig__ref { font: 500 12px/1.3 var(--sc-font-mono); color: #8f88a6; }
.erp .ig__title { font: 600 17px/1.3 var(--sc-font-display); letter-spacing: -.012em; color: #f4f3ef; }
.erp .ig__meta { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 13px; color: rgb(244 243 239 / .62); }
.erp .ig__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px clamp(20px, 3vw, 40px); align-items: start; }

/* the five steps: the rail has its own column, the ink fills down it as the run advances */
.erp .ig__steps { position: relative; }
.erp .ig__rail { position: absolute; left: 10px; top: 24px; bottom: 24px; width: 2px; border-radius: 1px; background: rgb(255 255 255 / .1); }
.erp .ig__ink { position: absolute; inset: 0; border-radius: inherit; background: var(--neon); box-shadow: 0 0 10px color-mix(in oklab, var(--glow) 70%, transparent); transform: scaleY(var(--p, 1)); transform-origin: 50% 0; transition: transform .6s var(--ease); }
.erp .ig__steps ol { position: relative; list-style: none; margin: 0; padding: 0; }
.erp .ig__steps li { display: grid; grid-template-columns: 22px minmax(0, 1fr); column-gap: 14px; align-items: start; padding: 13px 0; color: rgb(244 243 239 / .5); font-size: 14px; line-height: 1.45; transition: color .4s var(--ease); }
.erp .ig__steps li i { grid-row: 1 / span 2; justify-self: center; width: 12px; height: 12px; margin-top: 3px; border-radius: 50%; box-sizing: border-box; background: #0c0e15; border: 1.5px solid rgb(255 255 255 / .3); transition: background .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease); }
.erp .ig__steps li em { grid-column: 2; margin-top: 4px; font: 500 11.5px/1.2 var(--sc-font-mono); font-style: normal; color: #8f88a6; min-height: 12px; }
.erp .ig__steps li.done { color: rgb(244 243 239 / .86); }
.erp .ig__steps li.done i { background: #4ade80; border-color: #4ade80; }
.erp .ig__steps li.done em { color: #4ade80; }
.erp .ig__steps li.live { color: #f4f3ef; }
.erp .ig__steps li.live i { background: var(--neon); border-color: var(--neon); box-shadow: 0 0 0 4px color-mix(in oklab, var(--neon) 22%, transparent); }
.erp .ig__steps li.live em { color: var(--neon-soft); }
.erp .ig__steps li.turn { color: #f4f3ef; }
.erp .ig__steps li.turn i { background: #f0b27a; border-color: #f0b27a; box-shadow: 0 0 0 4px rgb(240 178 122 / .22); }
.erp .ig__steps li.turn em { color: #f0b27a; }

/* the proposal and the approval: the card is always laid out, so the window never changes height */
.erp .ig__side { display: grid; gap: 14px; }
.erp .ig__prop { padding: 14px 16px 16px; border-radius: 12px; border: 1px solid rgb(255 255 255 / .12); background: rgb(255 255 255 / .035); transition: opacity .5s var(--ease), transform .5s var(--ease), border-color .5s var(--ease); }
.erp .ig__who { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: #f4f3ef; }
.erp .ig__who img { flex: none; }
.erp .ig__who b { font-weight: 600; }
.erp .ig__who em { margin-left: auto; font: 500 11.5px/1 var(--sc-font-mono); font-style: normal; color: var(--neon-soft); }
.erp .ig__lines { list-style: none; margin: 12px 0 0; padding: 0; }
.erp .ig__lines li { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; padding: 8px 0; border-top: 1px solid rgb(255 255 255 / .08); font-size: 13.5px; line-height: 1.45; color: rgb(244 243 239 / .8); }
.erp .ig__lines b { font: 500 12px/1.5 var(--sc-font-mono); color: #8f88a6; }
.erp .ig__appr { display: grid; margin-top: 4px; padding-top: 12px; border-top: 1px solid rgb(255 255 255 / .1); }
.erp .ig__role { grid-area: 1 / 1; display: flex; justify-content: space-between; gap: 12px; margin-bottom: 10px; font-size: 13px; }
.erp .ig__role span { font: 500 12px/1.5 var(--sc-font-mono); color: #8f88a6; }
.erp .ig__role b { font-weight: 600; color: #f4f3ef; text-align: right; }
.erp .ig__acts, .erp .ig__done { grid-area: 2 / 1; display: flex; align-items: center; gap: 10px; min-height: 36px; transition: opacity .35s var(--ease); }
.erp .ig__acts span { padding: 8px 14px; border-radius: 9px; border: 1px solid rgb(255 255 255 / .16); font: 600 13px/1 var(--sc-font-text); color: rgb(244 243 239 / .6); transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); }
.erp .ig__done { opacity: 0; font-size: 13.5px; font-weight: 600; color: #4ade80; pointer-events: none; }
.erp .ig__done svg { flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.erp .ig.is-wait .ig__go { background: #f0b27a; border-color: #f0b27a; color: #1a1033; }
.erp .ig.is-approved .ig__acts { opacity: 0; }
.erp .ig.is-approved .ig__done { opacity: 1; }
.erp .ig__rec { list-style: none; margin: 0; padding: 0; transition: opacity .5s var(--ease); }
.erp .ig__rec li { display: grid; grid-template-columns: 124px minmax(0, 1fr); gap: 12px; padding: 9px 0; border-top: 1px solid rgb(255 255 255 / .08); font-size: 13.5px; line-height: 1.45; color: rgb(244 243 239 / .8); }
.erp .ig__rec li:first-child { border-top: 0; }
.erp .ig__rec b { font: 500 12px/1.5 var(--sc-font-mono); color: #8f88a6; transition: color .4s var(--ease); }
.erp .ig.is-final .ig__rec b { color: #4ade80; }
.erp .ig__status { display: flex; justify-content: space-between; gap: 16px; padding-top: 14px; border-top: 1px solid rgb(255 255 255 / .1); font: 500 12px/1.4 var(--sc-font-mono); color: #8f88a6; }
.erp .ig__status b { font-weight: 500; color: rgb(244 243 239 / .6); }
.erp .ig__status span { color: #f4f3ef; text-align: right; }
/* the motion states: set by industry.js; with no script (or reduced motion) the window stays in its final state */
.erp .ig.is-play:not(.is-prop) .ig__prop { opacity: .14; transform: translateY(6px); }
.erp .ig.is-play:not(.is-rec) .ig__rec { opacity: .14; }

@media (max-width: 860px) {
  .erp .ig__grid { grid-template-columns: 1fr; }
  .erp .ig__steps li { padding: 10px 0; font-size: 13.5px; }
  .erp .ig__rail { top: 20px; bottom: 20px; }
  .erp .ig__lines li, .erp .ig__rec li { grid-template-columns: 76px minmax(0, 1fr); }
  .erp .ig__status { flex-direction: column; gap: 4px; }
  .erp .ig__status span { text-align: left; }
}

/* ---------------------------------------------------------------- what Marrinn runs */
.erp .ik-cap { list-style: none; margin: clamp(36px, 4vw, 56px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px clamp(24px, 3vw, 48px); }
.erp .ik-cap li { padding-top: 18px; border-top: 1px solid rgb(244 243 239 / .14); display: flex; flex-direction: column; align-items: flex-start; }
.erp .ik-cap h3 { margin: 0; font: 600 18px/1.3 var(--sc-font-display); letter-spacing: -.015em; color: #f4f3ef; }
.erp .ik-cap p { margin: 8px 0 14px; max-width: 40ch; font-size: 14.5px; line-height: 1.58; color: rgb(233 228 247 / .74); text-wrap: pretty; }
.erp .ik-cap .ulink { margin-top: auto; color: #f4f3ef; font-size: 14.5px; }
@media (max-width: 1100px) { .erp .ik-cap { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .erp .ik-cap { grid-template-columns: 1fr; gap: 24px; } }

/* ---------------------------------------------------------------- the rules named */
.erp .ik-rules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(32px, 5vw, 88px); margin: clamp(36px, 4vw, 52px) 0 0; padding: 0; }
.erp .ik-rules div { padding: 16px 0 20px; border-top: 1px solid rgb(244 243 239 / .14); }
.erp .ik-rules dt { font: 600 15.5px/1.35 var(--sc-font-display); color: #f4f3ef; letter-spacing: -.01em; }
.erp .ik-rules dd { margin: 6px 0 0; font-size: 14.5px; line-height: 1.55; color: rgb(233 228 247 / .74); max-width: 52ch; text-wrap: pretty; }
@media (max-width: 760px) { .erp .ik-rules { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- proof: the customer strip and the figure strip */
.erp .ik-cust { display: grid; grid-template-columns: minmax(150px, 280px) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; margin: clamp(32px, 3.6vw, 48px) 0 0; padding: 28px 0; }
.erp .ik-cust__logo img { display: block; width: auto; height: 68px; max-width: 100%; object-fit: contain; filter: brightness(0) invert(1); opacity: .9; }
.erp .ik-cust__t h3 { margin: 0; font: 600 21px/1.25 var(--sc-font-display); letter-spacing: -.015em; color: #f4f3ef; }
.erp .ik-cust__t p { margin: 8px 0 14px; max-width: 58ch; font-size: 15px; line-height: 1.6; color: rgb(233 228 247 / .78); text-wrap: pretty; }
.erp .ik-cust__t .ulink { color: #f4f3ef; font-size: 14.5px; }
.erp .ik-figs { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px clamp(24px, 3vw, 40px); margin: clamp(28px, 3vw, 40px) 0 0; padding: 0; }
.erp .ik-figs li { padding-top: 16px; border-top: 1px solid rgb(244 243 239 / .14); display: grid; gap: 6px; align-content: start; }
.erp .ik-figs b { font: 600 clamp(30px, 3vw, 40px)/1 var(--sc-font-display); letter-spacing: -.03em; color: #e3dbff; }
.erp .ik-figs span { font-size: 14.5px; line-height: 1.5; color: rgb(233 228 247 / .82); }
.erp .ik-figs em { font-style: normal; font-size: 12.5px; line-height: 1.5; color: #8f88a6; }
@media (max-width: 760px) { .erp .ik-cust { grid-template-columns: 1fr; gap: 18px; } }

/* ---------------------------------------------------------------- FAQ, native details */
.erp .ik-faq { margin: clamp(32px, 3.6vw, 48px) 0 0; max-width: 880px; }
.erp .ik-q { border-top: 1px solid rgb(244 243 239 / .14); }
.erp .ik-q:last-child { border-bottom: 1px solid rgb(244 243 239 / .14); }
.erp .ik-q summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 56px; padding: 14px 0; cursor: pointer; list-style: none; font: 600 clamp(16px, 1.3vw, 18.5px)/1.35 var(--sc-font-display); letter-spacing: -.01em; color: #f4f3ef; border-radius: 6px; }
.erp .ik-q summary::-webkit-details-marker { display: none; }
.erp .ik-q summary::after { content: ""; flex: none; width: 10px; height: 10px; margin-right: 4px; border-right: 2px solid var(--amber); border-bottom: 2px solid var(--amber); transform: rotate(45deg) translate(-2px, -2px); transition: transform .25s var(--ease); }
.erp .ik-q[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.erp .ik-q p { margin: 0 0 22px; max-width: 64ch; font-size: 15.5px; line-height: 1.65; color: rgb(233 228 247 / .78); text-wrap: pretty; }

@media (prefers-reduced-motion: reduce) {
  .erp .ig__ink, .erp .ig__steps li, .erp .ig__steps li i, .erp .ig__prop, .erp .ig__rec, .erp .ig__acts, .erp .ig__done, .erp .ig__acts span, .erp .ik-nav li a::after, .erp .ik-q summary::after { transition: none; }
}

/* ---------------------------------------------------------------- the module catalogue (2026-10-25) */
/* Oracle, SAP and Microsoft make the list of systems the spine of a sector page (research/industry-structure-2026-10).
   Process groups, each a short heading beside a grid of compact cards: the name a buyer recognises and one line. Same
   quiet card as the capability grid above (a hairline over each card only, never across the column). */
.erp .ik-mods { display: grid; gap: clamp(44px, 5vw, 72px); margin-top: clamp(40px, 4.4vw, 64px); }
.erp .ik-mod__h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 20px; margin-bottom: 22px; }
.erp .ik-mod__h h3 { margin: 0; font: 600 clamp(20px, 1.7vw, 24px)/1.25 var(--sc-font-display); letter-spacing: -.018em; color: #e3dbff; }
.erp .ik-mod__h p { margin: 0; max-width: 52ch; font-size: 14.5px; line-height: 1.55; color: rgb(233 228 247 / .66); text-wrap: pretty; }
.erp .ik-mod__cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px clamp(22px, 2.6vw, 40px); }
.erp .ik-mod__cards li { padding-top: 16px; border-top: 1px solid rgb(244 243 239 / .14); }
.erp .ik-mod__cards h4 { margin: 0; font: 600 17px/1.32 var(--sc-font-display); letter-spacing: -.012em; color: #f4f3ef; text-wrap: balance; }
.erp .ik-mod__cards p { margin: 8px 0 0; max-width: 36ch; font-size: 14.5px; line-height: 1.55; color: rgb(233 228 247 / .74); text-wrap: pretty; }
@media (max-width: 1100px) { .erp .ik-mod__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .erp .ik-mod__cards { grid-template-columns: 1fr; gap: 22px; } }
