/* Shared Manufacturing Insights editorial layout. Article palettes load after this file. */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body.insight-page { --ia-bg: #517882; --ia-ink: #fffef8; --ia-muted: #fffdf4; --ia-accent: #fffbe6; --ia-line: #ffffff45; --ia-panel: #365c66; margin: 0; background: var(--ia-bg); color: var(--ia-ink); font-family: Inter, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
.insight-page img { max-width: 100%; height: auto; }
.insight-page a { color: inherit; text-underline-offset: 4px; }
.insight-page :focus-visible { outline: 2px solid var(--ia-accent); outline-offset: 5px; }
.insight-page #main-nav { position: sticky; top: 0; }
.insight-page #main-nav .btn-solid { display: inline-flex; align-items: center; text-decoration: none; }
.ia-skip { position: fixed; top: -100px; left: 22px; z-index: 2000; padding: 14px 20px; background: #f4f1eb; color: #282725 !important; }
.ia-skip:focus { top: 12px; }
.ia-shell { max-width: 1560px; margin-inline: auto; padding-inline: clamp(24px, 3.6vw, 64px); }
.ia-hero { padding-top: 38px; }
.ia-topline { display: flex; justify-content: space-between; gap: 20px; color: var(--ia-muted); font-size: 12px; line-height: 1.6; }
.ia-topline a { text-decoration: none; }
.ia-topline a:hover { color: var(--ia-ink); }
.ia-hero-title { display: grid; grid-template-columns: 1.05fr 1fr; gap: 8vw; align-items: center; padding: 56px 0 60px; }
.ia-hero h1 { margin: 0; font-size: clamp(64px, 7.5vw, 112px); font-weight: 400; line-height: .98; letter-spacing: -.065em; }
.ia-statement { margin: 0 0 23px; font-size: clamp(28px, 3vw, 44px); line-height: 1.16; letter-spacing: -.04em; }
.ia-dek { max-width: 560px; margin: 0 0 27px; color: var(--ia-muted); font-size: clamp(18px, 1.65vw, 24px); line-height: 1.55; letter-spacing: -.02em; }
.ia-read-link { display: inline-flex; justify-content: space-between; gap: 60px; padding-bottom: 12px; border-bottom: 1px solid #ffffff55; text-decoration: none; font-size: 13px; }
.ia-read-link span { color: var(--ia-accent); }
.ia-cover { margin: 0; }
.ia-cover img { display: block; width: 100%; }
.ia-cover figcaption { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0 24px; color: var(--ia-muted); font-size: 11px; line-height: 1.6; }
.insight-page .signals { margin-top: 22px; }
.insight-page .signals-inner { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--ia-line); }
.insight-page .signal { padding: 29px 26px 31px 0; }
.insight-page .signal + .signal { border-left: 1px solid var(--ia-line); padding-left: 26px; }
.insight-page .signal-code, .insight-page .mark, .insight-page .toc-label, .insight-page .loop-step > span, .insight-page .principle-num, .insight-page .closing-label { font: 11px/1.6 'Share Tech Mono', Consolas, monospace; letter-spacing: .08em; color: var(--ia-accent); }
.insight-page .signal h2 { margin: 20px 0 12px; font-size: 23px; font-weight: 400; line-height: 1.2; letter-spacing: -.03em; }
.insight-page .signal p { margin: 0; color: var(--ia-muted); font-size: 13px; line-height: 1.7; }
.insight-page .article-shell { display: grid; grid-template-columns: 230px minmax(0, 860px); gap: clamp(45px, 6vw, 90px); max-width: 1360px; margin: auto; padding: 75px clamp(24px, 3.6vw, 64px) 0; align-items: start; }
.insight-page .toc { position: sticky; top: 115px; max-height: calc(100dvh - 140px); overflow-y: auto; padding-right: 12px; }
.insight-page .toc-label { margin-bottom: 23px; }
.insight-page .toc-links { counter-reset: contents; }
.insight-page .toc-link { counter-increment: contents; display: grid; grid-template-columns: 22px 1fr; gap: 13px; padding: 14px 0; border-top: 1px solid var(--ia-line); color: var(--ia-muted); font-size: 12px; line-height: 1.5; text-decoration: none; }
.insight-page .toc-link::before { content: counter(contents, decimal-leading-zero); color: var(--ia-muted); font: 10px/1.8 Consolas, monospace; }
.insight-page .toc-link:hover, .insight-page .toc-link[aria-current="location"] { color: var(--ia-ink); }
.insight-page .toc-link[aria-current="location"]::before { color: var(--ia-accent); }
.ia-toc-back { display: block; margin-top: 28px; color: var(--ia-accent) !important; font-size: 11px; line-height: 1.6; text-decoration: none; }
.insight-page .article-main { min-width: 0; padding-bottom: 30px; }
.insight-page .section { margin: 0 0 78px; padding-bottom: 65px; border-bottom: 1px solid var(--ia-line); }
.insight-page .mark { margin-bottom: 24px; }
.insight-page .section h2 { margin: 0 0 32px; font-size: clamp(34px, 3.8vw, 54px); font-weight: 400; line-height: 1.08; letter-spacing: -.045em; }
.insight-page .section p { margin: 0 0 23px; color: var(--ia-muted); font-size: 17px; line-height: 1.85; letter-spacing: -.01em; }
.insight-page .section .lead { color: var(--ia-ink); font-size: clamp(23px, 2.3vw, 31px); line-height: 1.45; letter-spacing: -.03em; }
.insight-page .section strong { color: var(--ia-ink); font-weight: 600; }
.insight-page .thesis { margin: 38px 0; padding: 30px 0 30px 26px; border-left: 2px solid var(--ia-accent); font-size: clamp(26px, 3vw, 40px); font-weight: 400; line-height: 1.25; letter-spacing: -.035em; }
.insight-page .thesis em { color: var(--ia-accent); font-style: normal; }
.insight-page .editorial-image { margin: 36px 0; border: 1px solid var(--ia-line); }
.insight-page .editorial-image img { display: block; width: 100%; }
.insight-page .editorial-image.crop img { max-height: 470px; object-fit: cover; }
.insight-page .editorial-image figcaption { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 24px; padding: 21px 24px; font-size: 12px; line-height: 1.75; color: var(--ia-muted); }
.insight-page .editorial-image figcaption strong { color: var(--ia-accent); font-size: 12px; font-weight: 500; }
.insight-page .callout { margin: 36px 0; padding: 27px 30px; border: 1px solid var(--ia-line); background: var(--ia-panel); }
.insight-page .callout strong { display: block; margin-bottom: 12px; font-size: 21px; font-weight: 500; line-height: 1.4; letter-spacing: -.02em; }
.insight-page .callout p { margin: 0; font-size: 15px; }
.insight-page .loop { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 35px 0; border-block: 1px solid var(--ia-line); }
.insight-page .loop-step { padding: 23px 14px; min-width: 0; }
.insight-page .loop-step:first-child { padding-left: 0; }
.insight-page .loop-step + .loop-step { border-left: 1px solid var(--ia-line); }
.insight-page .loop-step > span { font-size: 9px; letter-spacing: .02em; }
.insight-page .loop-step h3 { margin: 20px 0 12px; font-size: 18px; font-weight: 400; line-height: 1.25; letter-spacing: -.025em; }
.insight-page .loop-step p { margin: 0; font-size: 12px; line-height: 1.6; }
.insight-page .principles { margin: 35px 0; border-top: 1px solid var(--ia-line); }
.insight-page .principle { display: grid; grid-template-columns: 30px minmax(130px, .7fr) 1fr; gap: 22px; padding: 25px 0; border-bottom: 1px solid var(--ia-line); }
.insight-page .principle-title { font-size: 18px; font-weight: 400; line-height: 1.4; letter-spacing: -.02em; }
.insight-page .principle-copy { color: var(--ia-muted); font-size: 14px; line-height: 1.75; }
.insight-page .inline-cta { margin-top: 38px; padding: 32px; background: var(--ia-panel); border: 1px solid var(--ia-line); }
.insight-page .inline-cta h3 { margin: 0 0 18px; font-size: 34px; font-weight: 400; line-height: 1.1; letter-spacing: -.04em; }
.insight-page .inline-cta p { font-size: 15px; }
.insight-page .btn-primary { display: inline-flex; justify-content: space-between; align-items: center; gap: 35px; min-height: 49px; padding: 15px 22px; background: var(--ia-ink); color: #282725; font-size: 13px; font-weight: 500; line-height: 1.5; text-decoration: none; }
.insight-page .btn-primary::after { content: '↗'; font-size: 18px; }
.insight-page .btn-primary:hover { background: var(--ia-accent); }
.insight-page .faq { border-top: 1px solid var(--ia-line); }
.insight-page .faq details { border-bottom: 1px solid var(--ia-line); }
.insight-page .faq summary { position: relative; list-style: none; cursor: pointer; padding: 23px 40px 23px 0; font-size: 17px; font-weight: 400; line-height: 1.55; }
.insight-page .faq summary::-webkit-details-marker { display: none; }
.insight-page .faq summary::after { content: '+'; position: absolute; right: 3px; top: 23px; color: var(--ia-accent); font-size: 24px; line-height: 1; }
.insight-page .faq details[open] summary::after { content: '−'; }
.insight-page .faq details p { margin: 0 32px 24px 0; font-size: 15px; }
.insight-page .closing { display: grid; grid-template-columns: 1.15fr 1fr; gap: 8vw; padding-block: 65px 85px; border-top: 1px solid var(--ia-line); }
.insight-page .closing h2 { margin: 23px 0 0; font-size: clamp(36px, 4.4vw, 64px); font-weight: 400; line-height: 1.05; letter-spacing: -.05em; }
.insight-page .closing > div:last-child { align-self: end; }
.insight-page .closing p { margin: 0 0 25px; color: var(--ia-muted); font-size: 18px; line-height: 1.7; }
.ia-related { margin: 0 auto 75px; }
.ia-related-head { display: flex; justify-content: space-between; align-items: end; gap: 25px; margin-bottom: 28px; }
.ia-related h2 { margin: 0; font-size: clamp(28px, 3.1vw, 44px); font-weight: 400; letter-spacing: -.04em; }
.ia-related-head > a { font-size: 12px; color: var(--ia-muted); text-decoration: none; }
.ia-related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.ia-story { text-decoration: none; border-top: 1px solid var(--ia-line); padding-top: 15px; }
.ia-story img { display: block; width: 100%; aspect-ratio: 1.95; object-fit: cover; }
.ia-story > span { display: block; margin-top: 20px; font-size: 11px; color: var(--ia-accent); }
.ia-story h3 { margin: 13px 0 22px; font-size: clamp(23px, 2.5vw, 33px); font-weight: 400; line-height: 1.15; letter-spacing: -.035em; }
.ia-story > p { display: flex; justify-content: space-between; margin: 0; padding-top: 13px; border-top: 1px solid var(--ia-line); color: var(--ia-muted); font-size: 11px; }
.ia-story:hover h3 { color: var(--ia-accent); }
@media (max-width: 1100px) {
  .insight-page .article-shell { grid-template-columns: 190px minmax(0, 1fr); gap: 38px; }
  .insight-page .loop { grid-template-columns: 1fr; }
  .insight-page .loop-step { display: grid; grid-template-columns: 90px 1fr 1fr; gap: 16px; align-items: baseline; padding: 18px 0; }
  .insight-page .loop-step + .loop-step { border-left: 0; border-top: 1px solid var(--ia-line); }
  .insight-page .loop-step h3 { margin: 0; }
  .insight-page .principle { grid-template-columns: 26px 1fr; gap: 12px 20px; }
  .insight-page .principle-copy { grid-column: 2; }
}
@media (max-width: 800px) {
  html { scroll-padding-top: 92px; }
  .ia-hero { padding-top: 27px; }
  .ia-topline > span { display: none; }
  .ia-hero-title { grid-template-columns: 1fr; gap: 30px; padding: 32px 0; }
  .ia-hero h1 { font-size: clamp(48px, 10.5vw, 80px); }
  .ia-statement { font-size: 30px; margin-bottom: 17px; }
  .ia-dek { font-size: 18px; max-width: 630px; }
  .ia-cover figcaption { font-size: 10px; }
  .ia-cover figcaption > span:last-child { text-align: right; }
  .insight-page .signals-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .insight-page .signal { padding: 23px 20px 25px 0; }
  .insight-page .signal + .signal { padding-left: 20px; }
  .insight-page .signal:nth-child(3) { border-left: 0; padding-left: 0; }
  .insight-page .signal:nth-child(n+3) { border-top: 1px solid var(--ia-line); }
  .insight-page .signal h2 { font-size: 22px; }
  .insight-page .article-shell { display: block; padding-top: 36px; }
  .insight-page .toc { position: static; max-height: none; overflow: visible; padding: 0 0 32px; margin-bottom: 45px; border-bottom: 1px solid var(--ia-line); }
  .insight-page .toc-links { display: grid; grid-template-columns: 1fr 1fr; column-gap: 26px; }
  .ia-toc-back { display: none; }
  .insight-page .section { margin-bottom: 52px; padding-bottom: 42px; }
  .insight-page .section h2 { font-size: 36px; }
  .insight-page .section p { font-size: 16px; }
  .insight-page .section .lead { font-size: 24px; }
  .insight-page .closing { grid-template-columns: 1fr; gap: 28px; padding-block: 42px 55px; }
  .ia-related-grid { gap: 18px; }
  .ia-story h3 { font-size: 23px; }
}
@media (max-width: 540px) {
  .ia-shell { padding-inline: 22px; }
  .insight-page .article-shell { padding-inline: 22px; }
  .insight-page .signal h2 { font-size: 20px; }
  .insight-page .signal p { font-size: 12px; }
  .insight-page .signal-code { font-size: 10px; }
  .insight-page .toc-links { column-gap: 20px; }
  .insight-page .toc-link { gap: 7px; grid-template-columns: 18px 1fr; font-size: 11px; }
  .insight-page .section h2 { font-size: 32px; }
  .insight-page .section .lead { font-size: 23px; }
  .insight-page .thesis { padding: 16px 0 16px 20px; font-size: 28px; }
  .insight-page .editorial-image figcaption { display: block; padding: 18px; }
  .insight-page .editorial-image figcaption strong { display: block; margin-bottom: 8px; }
  .insight-page .callout, .insight-page .inline-cta { padding: 24px; }
  .insight-page .inline-cta h3 { font-size: 29px; }
  .insight-page .loop-step { grid-template-columns: 80px 1fr; gap: 8px 16px; }
  .insight-page .loop-step p { grid-column: 2; }
  .insight-page .faq summary { font-size: 16px; }
  .insight-page .faq details p { font-size: 14px; }
  .ia-related { margin-bottom: 50px; }
  .ia-related-head { align-items: start; }
  .ia-related-head > a { max-width: 100px; text-align: right; line-height: 1.5; }
  .ia-related-grid { grid-template-columns: 1fr; gap: 30px; }
  .ia-story h3 { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  .insight-page { background: #fff !important; color: #111 !important; --ia-ink: #111 !important; --ia-muted: #333 !important; --ia-accent: #444 !important; --ia-line: #bbb !important; }
  #main-nav, .site-footer, .ia-skip, .insight-page .toc, .ia-related, .insight-page .closing, .insight-page .inline-cta, .ia-read-link { display: none !important; }
  .ia-hero-title, .insight-page .article-shell { display: block; padding: 20px 0; }
  .ia-hero h1 { font-size: 44px; margin-bottom: 25px; }
  .ia-cover { max-width: 600px; }
  .insight-page .section { margin-bottom: 30px; padding-bottom: 20px; }
  .insight-page .section h2 { font-size: 28px; }
  .insight-page .section p { font-size: 11pt; }
  .insight-page .editorial-image { break-inside: avoid; }
}
