.story-hero,.stock-intro{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.92fr);align-items:center;gap:clamp(26px,6vw,96px);padding:clamp(28px,5vw,68px) 0}
.story-hero h1,.stock-intro h1{font-size:clamp(2.45rem,5.6vw,5.2rem);line-height:1.02;letter-spacing:-.05em;max-width:14ch;margin:.22em 0}
.story-hero img,.stock-intro img{width:100%;height:auto;aspect-ratio:1.28;object-fit:cover;display:block;border-radius:8px}
.story-hero .lead,.stock-intro .lead{font-size:clamp(1.05rem,1.55vw,1.3rem);line-height:1.5;max-width:38ch;margin:18px 0 24px}
.visual-section{border-top:1px solid #cbd2db;padding:clamp(32px,5vw,64px) 0}
.visual-section h2{margin:0 0 24px;max-width:32ch}
.integration {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  align-items: start;
  gap: clamp(28px, 4vw, 64px);
}
.integration-intro p + p { margin-top: 1em; }
.integration-factors {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px clamp(20px, 3vw, 44px);
}
.integration-factors > div {
  border-top: 2px solid #8595ab;
  padding-top: 12px;
}
.integration-factors h3 {
  margin-bottom: 8px;
  color: #172a42;
  font-weight: 600;
}
@media (max-width: 1000px) {
  .integration { grid-template-columns: 1fr; }
  .integration-intro { max-width: 66ch; }
}
@media (max-width: 680px) {
  .integration-factors { grid-template-columns: 1fr; gap: 20px; }
}
.table-frame{overflow-x:auto;margin:18px 0 22px;border:1px solid #cbd2db;border-radius:8px;background:#fff}
.table-frame:focus-visible{outline:3px solid #244db5;outline-offset:2px}
.fact-table{width:100%;border-collapse:collapse;table-layout:fixed;color:#172a42;font-size:1rem;line-height:1.45}
.fact-table th,.fact-table td{text-align:left;vertical-align:top;padding:16px;border-bottom:1px solid #d8dee4;overflow-wrap:break-word}
.fact-table thead th{font-size:.88rem;background:#edf1f6}
.fact-table tbody tr:last-child>*{border-bottom:0}
.fact-table tbody th{font-weight:600}
.fact-table a,.story-link{color:#204781;text-underline-offset:3px}
.comparison{min-width:610px}
.comparison th:first-child{position:sticky;left:0;background:#f3f5f8}
.comparison th:first-child{width:17%}
.comparison tr>:last-child{background:#eaf2ec}
.goals-table th:first-child{width:28%}
.audit-card,.decision-box{background:#eff2f5;border-radius:10px;padding:clamp(20px,3vw,38px)}
.audit-card dl,.process-grid,.metrics-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:0}
.audit-card dt,.process-grid dt{font-size:.85rem;color:#42546b;font-weight:600}
.audit-card dd,.process-grid dd{margin:5px 0;font-size:1.06rem}
.stock-bar{display:flex;min-height:64px;margin:20px 0 10px;border-radius:6px;overflow:hidden;font-weight:700}
.stock-bar span{display:flex;align-items:center;justify-content:center;padding:8px;text-align:center}
.stock-bar .free{width:60%;background:#244db5;color:white}
.stock-bar .held{width:40%;background:#dae0e8;color:#25364a}
.order-paths{list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:0;padding:0}
.order-paths li{padding:18px 20px;border-left:4px solid #244db5;background:#fff}
.order-paths li:last-child{border-color:#c46340}
.order-paths h3{margin:0 0 8px}
.order-paths p{margin:0}
.metrics-list{list-style:none;padding:0;margin-bottom:24px}
.metrics-list li{border-top:2px solid #8595ab;padding-top:10px}
@media(max-width:680px){.story-hero,.stock-intro{grid-template-columns:1fr;gap:20px}.story-hero img,.stock-intro img{aspect-ratio:1.7}.fact-table td,.fact-table th{padding:10px 8px}.goals-table{font-size:.88rem}.audit-card dl,.process-grid,.metrics-list,.order-paths{grid-template-columns:1fr;gap:14px}.stock-bar{font-size:.9rem}.visual-section h2{margin-bottom:16px}}

.factory-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: 430px;
  aspect-ratio: 16 / 9;
  margin-bottom: clamp(24px, 4vw, 52px);
  background: #f8f1e9;
  color: #252e34;
}
.factory-scene {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.factory-copy {
  box-sizing: content-box;
  width: 32%;
  padding: 35px 0 35px 3.3%;
}
header .brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
header .brand-logo {
  display: block;
  flex: none;
  object-fit: cover;
}
header .brand-tagline {
  margin-inline-start: 6px;
  padding-inline-start: 16px;
  border-inline-start: 1px solid #bac4c8;
  font: 500 1rem/1.25 Arial, sans-serif;
  letter-spacing: -.015em;
  white-space: normal;
  color: #3e505b;
}
@media (max-width: 680px) {
  header .brand-tagline {
    max-width: 16ch;
    font-size: .84rem;
    margin-inline-start: 2px;
    padding-inline-start: 12px;
  }
}
@font-face {
  font-family: "Exo 2";
  src: url("assets/fonts/Exo2.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
.factory-copy h1 {
  font-family: "Exo 2", Arial, sans-serif;
  font-weight: 600;
  font-size-adjust: from-font;
  font-size: clamp(40px, 3.65vw, 58px);
  line-height: 1.02;
  letter-spacing: -.035em;
  color: inherit;
}
.factory-message {
  max-width: 23ch;
  margin: 18px 0 26px;
  font-size: clamp(18px, 1.52vw, 24px);
  line-height: 1.3;
}
.factory-copy .cta {
  background: #344853;
  color: #fff;
  border-radius: 4px;
}
.factory-copy .cta:hover { background: #23343d; }
@media (min-width: 1440px) {
  body:has(.factory-hero) {
    --hero-width: clamp(1240px, min(87vw, calc(177.78svh - 220px)), 2240px);
  }
  body:has(.factory-hero) header .wrap,
  .factory-hero {
    width: var(--hero-width);
  }
  .factory-hero {
    margin-inline: calc((100% - var(--hero-width)) / 2);
    container-type: inline-size;
  }
  .factory-copy h1 {
    font-size: clamp(48px, 4.05cqi, 90px);
  }
  .factory-message {
    font-size: clamp(20px, 1.65cqi, 36px);
  }
  .factory-copy .cta {
    font-size: clamp(14px, 1cqi, 19px);
  }
}
@media (max-width: 800px) {
  .factory-hero {
    aspect-ratio: auto;
    min-height: 0;
  }
  .factory-copy {
    grid-row: 1;
    width: auto;
    padding: 30px clamp(18px, 5vw, 40px) 22px;
  }
  .factory-scene {
    position: static;
    grid-row: 2;
    height: auto;
  }
  .factory-message { max-width: 34ch; margin: 14px 0 20px; }
}
