/* Editorial product pages. Shared styles; source content lives in src/pages. */
:root{--story-navy:#052b33;--story-deep:#032027;--story-teal:#58d6c5;--story-ink:#153840;--story-muted:#52666b;--story-paper:#fcfcf9;--story-line:#d7e2de}
.story{background:var(--story-paper);color:var(--story-ink);font-family:"Segoe UI",Arial,sans-serif;font-size:18px;line-height:1.65}
.story-wrap{width:min(1200px,100% - 64px);margin-inline:auto}
.story h1,.story h2,.story h3{font-family:"Segoe UI",Arial,sans-serif;letter-spacing:-.035em;line-height:1.12;text-wrap:balance}
.story h1{font-size:clamp(39px,4.6vw,66px);font-weight:750;margin:0 0 26px;max-width:19ch}
.story h2{font-size:clamp(30px,3.1vw,44px);font-weight:720;margin:0 0 28px;max-width:29ch}
.story h3{font-size:24px;font-weight:700;margin:0 0 15px}
.story p{margin:0 0 22px;max-width:78ch}
.story a{color:#13665f;text-underline-offset:4px}
.story a:hover{color:#064940}
.story-eyebrow{font-size:12px;font-weight:700;letter-spacing:.15em;text-transform:uppercase;color:#376b66;margin-bottom:22px!important}
.story-lead{font-size:clamp(20px,2vw,24px);line-height:1.48;letter-spacing:-.015em}
.story-hero{background:var(--story-navy);color:#fff;padding:76px 0 74px;border-bottom:5px solid var(--story-teal)}
.story-hero .story-lead{color:#d6e5e6;max-width:56ch}
.story-hero-grid{display:grid;grid-template-columns:1fr 1fr;gap:52px;align-items:center}
.story-hero .story-eyebrow,.story-dark .story-eyebrow{color:#80e4d5}
/* Only the photographs cross-fade. Copy and controls share a stationary layer. */
.story-hero.home-manufacturing{position:relative;isolation:isolate;overflow:hidden;min-height:660px;display:flex;align-items:center;padding:64px 0 106px;background:#032027}
.home-backgrounds,.home-manufacturing::after{position:absolute;inset:0;pointer-events:none;z-index:-1}
.home-backgrounds{background:#032027}
.home-background{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;opacity:0;transition:opacity 1.2s ease-in-out}
.home-background.is-active{opacity:1}
.home-manufacturing::after{content:"";background:linear-gradient(90deg,rgba(2,20,26,.94) 0%,rgba(2,20,26,.84) 38%,rgba(2,20,26,.38) 70%,rgba(2,20,26,.16) 100%)}
.home-hero-copy{max-width:660px;text-shadow:0 2px 14px #001319}
.home-hero-copy .story-lead{max-width:47ch;color:#fff}
.home-hero-copy .story-btn{text-shadow:none}
.home-background-controls{position:absolute;right:32px;bottom:24px;display:flex;align-items:center;gap:4px;border:1px solid #ffffff55;background:#032027df;border-radius:5px;padding:3px 7px;color:#fff}
.home-background-controls[hidden]{display:none}
.home-background-controls button{background:transparent;border:0;color:inherit;min-height:44px;cursor:pointer;font:600 13px/1.4 "Segoe UI",Arial,sans-serif}
.home-background-controls [data-background-pause]{padding:8px 12px;min-width:155px;text-align:left}
.home-background-dot{width:44px;display:grid;place-items:center}
.home-background-dot span{width:10px;height:10px;border:1px solid #fff;border-radius:50%;background:transparent}
.home-background-dot[aria-pressed="true"] span{background:#80e4d5;border-color:#80e4d5}
.home-background-controls button:hover{color:#80e4d5}
.home-photo-credit{position:absolute;left:32px;bottom:38px;padding:4px 8px;background:#032027e6;color:#fff;font:12px/1.4 "Segoe UI",Arial,sans-serif;visibility:hidden}
.home-manufacturing:has(.home-background-credited.is-active) .home-photo-credit{visibility:visible}
.home-architecture{padding:38px 0;background:#edf3f0}
.home-architecture .story-flow{margin:0 0 20px}
.home-architecture .story-note{margin-bottom:0}
@media(max-width:700px){.story-hero.home-manufacturing{min-height:650px;padding:52px 0 184px}.home-manufacturing::after{background:rgba(2,20,26,.76)}.home-background-controls{right:20px;bottom:24px;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));width:min(330px,calc(100% - 40px))}.home-background-controls [data-background-pause]{grid-column:1/-1;text-align:center}.home-background-dot{width:100%}.home-photo-credit{left:20px;bottom:132px}.home-hero-copy{text-shadow:0 2px 10px #001319}}
@media(prefers-reduced-motion:reduce){.home-background{transition:none}}
@media print{.home-backgrounds,.home-background-controls,.home-photo-credit,.home-manufacturing::after{display:none!important}.story-hero.home-manufacturing{min-height:0;padding:18px 0}}
.story-actions{display:flex;gap:18px;align-items:center;flex-wrap:wrap;margin-top:30px}
.story a.story-btn,.story button.story-btn{display:inline-flex;justify-content:center;align-items:center;padding:14px 22px;min-height:52px;background:var(--story-teal);border:1px solid var(--story-teal);color:var(--story-deep);font-size:16px;font-weight:700;line-height:1.4;text-decoration:none;cursor:pointer;border-radius:3px}
.story a.story-btn:hover,.story button.story-btn:hover{background:#a0efe1;border-color:#a0efe1;color:var(--story-deep)}
.story-text-link,.story-link{font-weight:650;font-size:17px}
.story-hero .story-text-link,.story-dark a{color:#97e9de}
.story-section{padding:78px 0;border-bottom:1px solid var(--story-line)}
.story-audiences{padding:38px 0;background:#f3f7f4}
.story-audiences h2{font-size:27px;margin-bottom:16px}
.story-audiences .story-eyebrow{margin-bottom:14px!important}
.story-audiences p{font-size:17px;margin-bottom:16px}
.story-tint{background:#edf3f0}
.story-dark{background:var(--story-navy);color:#e8f0ee;border-color:#28515a}
.story-dark p{color:#d0e2e1}
.story-dark h2,.story-dark h3{color:white}
.story-split{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:start}
.story-space{margin-top:44px}
.story-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(255px,100%),1fr));gap:24px;margin:30px 0}
.story-card{border-top:3px solid #42a598;padding:24px 0 6px}
.story-card p{font-size:17px;color:var(--story-muted);line-height:1.65}
.story-dark .story-card p{color:#d0e2e1}
.story-product-grid{display:grid;grid-template-columns:1fr 1fr;gap:44px}
.story-product-grid>article{min-width:0}
.story-product-grid h3{font-size:36px}
.story-product-grid .story-lead{min-height:72px}
.story-product-grid .story-screen img{height:255px;object-fit:contain;background:#fff}
.story-screen{margin:0 0 24px;border:1px solid #bdcecb;border-radius:5px;overflow:hidden;background:#fff;box-shadow:0 10px 30px #06282e0c;min-width:0}
.story-screen>a{display:block;cursor:zoom-in}
.story-screen img{display:block;width:100%;height:auto}
.story-screen figcaption{padding:15px 18px;color:#425b60;background:#f5f8f6;font-size:13px;line-height:1.55;border-top:1px solid #d7e2de}
.story-screen figcaption span{color:#13665f;white-space:normal}
.story-hero .story-screen{transform:rotate(-1deg);box-shadow:16px 18px 0 #ffffff0b}
.story-hero .story-screen img{max-height:400px;object-fit:contain}
.story-system{padding:28px 30px;background:#103c43;border:1px solid #386168;border-radius:6px;color:#e1eeeb}
.story-system .story-eyebrow{color:#80e4d5}
.story-system .story-note{color:#b9d1d0;font-size:13px;margin:22px 0 0}
.story-flow{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(200px,100%),1fr));gap:20px;margin:32px 0;padding:0;list-style:none;counter-reset:step}
.story-flow li{position:relative;counter-increment:step;padding:25px 20px 20px;border:1px solid #aec8c2;background:#ffffff60;min-width:0}
.story-flow li::before{content:counter(step,decimal-leading-zero);display:block;color:#176a60;font-size:13px;font-weight:750;letter-spacing:.1em;margin-bottom:14px}
.story-flow strong{display:block;font-size:20px;line-height:1.25;margin-bottom:12px}
.story-flow span{display:block;font-size:16px;line-height:1.6}
.story-system .story-flow{display:block;margin:0}
.story-system .story-flow li{padding:14px 0 14px 44px;background:none;border:0;border-bottom:1px solid #386168}
.story-system .story-flow li::before{position:absolute;left:0;top:15px;color:#80e4d5}
.story-system .story-flow strong{font-size:21px;margin-bottom:3px;color:white}
.story-system .story-flow span{color:#c7dddb;font-size:15px}
.story-note{font-size:15px;color:var(--story-muted);line-height:1.6}
.story-hero .story-note,.story-dark .story-note{color:#b6d1cc}
.evaluation-topics{display:flex;flex-wrap:wrap;gap:10px 22px;margin:30px 0 42px;padding:22px 0;border-block:1px solid var(--story-line)}
.evaluation-topics a{font-size:16px;font-weight:650}
.evaluation-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 44px}
.evaluation-grid .story-card{scroll-margin-top:110px}
.evaluation-grid .story-eyebrow{font-size:12px;color:#376b66}
.evaluation-grid p.evaluation-boundary{font-size:15px;border-left:3px solid #42a598;padding-left:16px}
.evaluation-record{margin:36px 0;padding:28px;background:#edf3f0;border:1px solid var(--story-line)}
@media(max-width:800px){.evaluation-grid{grid-template-columns:1fr}.evaluation-record{padding:22px}}
@media print{.evaluation-topics{display:none}.evaluation-grid{display:block}.evaluation-grid .story-card{break-inside:avoid}.evaluation-record{break-inside:avoid}}
.story-jumps{background:#e4efeb;border-bottom:1px solid #bdd3cd}
.story-jumps .story-wrap{display:flex;flex-wrap:wrap;gap:8px 28px;padding:16px 0}
.story-jumps a{font-size:14px;font-weight:650;padding:6px 0}
.story-detail{border-top:1px solid #bacdc7;padding:22px 0}
.story-detail:last-child{border-bottom:1px solid #bacdc7}
.story-detail summary{font-size:19px;font-weight:650;cursor:pointer;list-style-position:outside;margin-left:22px;padding-left:5px}
.story-detail[open] summary{margin-bottom:24px}
.story-detail>.story-screen{max-width:900px;margin-top:22px}
.story-list{padding-left:24px}.story-list li{padding-left:3px;margin-bottom:16px}
.story-table-scroll{overflow-x:auto;margin:32px 0}
.story-table{border-collapse:collapse;width:100%;font-size:17px;line-height:1.55}
.story-table caption{text-align:left;font-size:14px;color:#52666b;margin-bottom:16px}
.story-table th,.story-table td{text-align:left;vertical-align:top;padding:19px;border-bottom:1px solid #c6d6d0}
.story-table thead{background:var(--story-navy);color:#fff}.story-table tbody th{width:26%}.story-table tbody tr:nth-child(even){background:#eef4f1}
.story-resource-list{list-style:none;padding:0}.story-resource-list li{border-bottom:1px solid var(--story-line);padding:20px 0}
.story-resource-list a{font-weight:600}
/* Keep the existing brand mark, simplify the shared navigation. */
.fds-hdr-inner{max-width:1440px;margin:auto;padding-inline:32px}
.fds-hdr-nav{font-family:"Segoe UI",Arial,sans-serif}
.fds-hdr-nav>ul>li{padding-left:22px}
.fds-hdr-nav a.fds-nav-cta{background:#58d6c5;color:#032027;padding:12px 15px;border-radius:3px}
.fds-footer-links{flex-wrap:wrap}
/* Keyboard-accessible progressive enhancement. Original image links work without JS. */
.screen-dialog{width:min(1500px,96vw);max-width:96vw;max-height:94vh;padding:56px 16px 18px;background:#f7faf8;border:1px solid #517c76;border-radius:6px;color:#153840;overflow:auto}
.screen-dialog::backdrop{background:#00181fe6}
.screen-dialog img{display:block;margin:auto;max-width:100%;height:auto}
.screen-dialog button{position:absolute;right:14px;top:10px;min-height:36px;padding:5px 14px;background:#052b33;color:#fff;border:0;border-radius:3px;cursor:pointer}
.screen-dialog p{font:15px/1.6 "Segoe UI",Arial,sans-serif;margin:14px 0 0}
@media(max-width:1100px){.story-hero-grid{gap:28px}.fds-hdr-nav>ul>li{padding-left:14px}.fds-hdr-nav{font-size:15px}.fds-hdr-logo{flex-basis:20%;max-width:20%}}
@media(max-width:800px){.story-wrap{width:calc(100% - 40px)}.story-hero{padding:48px 0}.story-hero-grid,.story-split,.story-product-grid{grid-template-columns:1fr;gap:30px}.story-section{padding:50px 0}.story-hero .story-screen{transform:none}.story h1{max-width:22ch}.story-product-grid .story-lead{min-height:0}.story-product-grid .story-screen img{height:auto}.story-hero-grid .story-screen{margin-top:10px}.story-jumps .story-wrap{gap:6px 20px}.story-table th,.story-table td{padding:13px}.fds-hdr-logo{flex-basis:55%;max-width:55%}}
@media(max-width:460px){.story-actions{align-items:stretch;flex-direction:column}.story-btn{text-align:center}.story h1{font-size:38px}.story h2{font-size:30px}.story{font-size:17px}.story-system{padding:23px 20px}.story-table{font-size:15px}.story-table tbody th{width:31%}.fds-hdr-inner{padding-inline:20px}}
@media print{.fds-site-header,.fds-site-footer,.fds-cookie-banner,.fds-drawer,.fds-skip-link,.story-actions,.story-jumps{display:none!important}.story,.story-hero,.story-section,.story-dark{color:#000!important;background:#fff!important;padding:18px 0;box-shadow:none}.story *{color:#000!important}.story-wrap{width:100%}.story h1{font-size:30px}.story h2{font-size:24px}.story h3{font-size:18px}.story{font-size:12px}.story-lead{font-size:16px}.story-card,.story-flow li{break-inside:avoid}.story-hero-grid,.story-split{display:block}.story-screen{max-width:500px;box-shadow:none}.story-eyebrow{font-size:10px}}
/* AI explanation page: HTML workflow illustration, examples and download. */
.ai-hero-note{margin-top:24px!important;color:#c0d9d8!important;max-width:54ch!important}
.ai-evidence{padding:32px;background:#0c3b43;border:1px solid #356269;border-radius:6px;box-shadow:14px 14px 0 #ffffff08}
.ai-evidence h2{font-size:30px;max-width:20ch}
.ai-evidence ol{list-style:none;padding:0;margin:25px 0 0}
.ai-evidence li{display:flex;gap:20px;padding:20px 0;border-top:1px solid #356269}
.ai-evidence li>span{font:600 15px/1.6 monospace;color:#80e4d5}
.ai-evidence strong{font-size:18px}.ai-evidence li p{font-size:16px;line-height:1.5;color:#cee2e2;margin:6px 0 0}
.ai-evidence .ai-diagram-caption{font-size:12px;color:#a7c7c8;margin:18px 0 0}
.ai-example,.ai-review-box{padding:30px;background:#edf3f0;border-left:4px solid #42a598}
.ai-example blockquote{font-size:22px;line-height:1.4;margin:0 0 25px;font-weight:600}
.ai-download{display:grid;grid-template-columns:1.5fr 1fr;gap:48px;align-items:center;border:1px solid #b6d4cb;padding:36px;background:#f2f7f3}
.ai-download .story-note{margin:18px 0 0}.ai-download h2{margin-bottom:18px}
@media(max-width:800px){.ai-evidence{padding:24px;box-shadow:none}.ai-download{grid-template-columns:1fr;gap:12px;padding:25px}.ai-example,.ai-review-box{padding:24px}}
