/* Factory editorial page. All layout rules stay inside this section. */
.factory-page{--factory-gap:clamp(24px,4vw,64px);padding-bottom:18px}
.factory-page h1,.factory-page h2,.factory-page h3{text-wrap:balance;letter-spacing:-.025em}
.factory-intro{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,.8fr);gap:24px var(--factory-gap);align-items:end;padding-top:12px;padding-bottom:26px}
.factory-intro h1{font-size:clamp(34px,3.5vw,46px);line-height:1.12;margin:15px 0 0}
.factory-intro>p{font-size:16px;line-height:1.8;margin:0 0 3px;color:var(--muted);max-width:46ch}
.factory-section-nav{grid-column:1/-1;display:flex;gap:10px;flex-wrap:wrap;padding-top:5px}
.factory-section-nav a{display:inline-flex;align-items:center;gap:9px;min-height:44px;padding:9px 16px;font-size:14px;line-height:1.45;border-radius:5px;background:#e8dfd0;transition:background .2s,color .2s}
.factory-section-nav a:hover{background:#ddcfba}
.factory-section-nav svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.35;stroke-linecap:round;stroke-linejoin:round}
.factory-page button:focus-visible,.factory-page a:focus-visible,.factory-gallery-track:focus-visible,.factory-archive summary:focus-visible{outline:2px solid #856d4c;outline-offset:4px}
.factory-eras,.factory-people-photo{margin:0;min-width:0}
.factory-era-stage{aspect-ratio:2/1;overflow:hidden}
.factory-era-item{display:block;width:100%;height:100%;padding:0;background:transparent;cursor:zoom-in}
.factory-era-item[hidden]{display:none}
.factory-era-item img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.factory-era-archive img{object-position:50% 62%}
.factory-era-bottom{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:16px}
.factory-era-bottom figcaption,.factory-people-photo figcaption{font-size:13px;line-height:1.6;color:var(--muted)}
.factory-era-tabs{display:flex;gap:6px;flex:none;background:#e9e0d2;padding:4px;border-radius:6px}
.factory-era-tabs button{min-height:40px;padding:9px 16px;font-size:13px;line-height:1.4;border-radius:4px;background:transparent;color:var(--ink);transition:background .2s,box-shadow .2s}
.factory-era-tabs button[aria-pressed=true]{background:var(--paper);box-shadow:0 1px 4px #3c2b1714}
.factory-section{padding-top:52px;padding-bottom:14px;scroll-margin-top:112px}
.factory-section-heading{margin:0 0 25px}
.factory-section-heading h2,.factory-prose h2{font-size:clamp(29px,2.7vw,36px);line-height:1.18;margin:13px 0 0}
.factory-section-heading>p{font-size:16px;line-height:1.75;color:var(--muted);max-width:62ch;margin:15px 0 0}
.factory-milestones{list-style:none;margin:0 0 30px;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:26px}
.factory-milestones li{display:flex;gap:13px;padding:18px 0;border-block:1px solid var(--line);min-width:0}
.factory-milestones svg{width:26px;height:26px;flex:none;fill:none;stroke:#8b7557;stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round;margin-top:2px}
.factory-milestones strong{display:block;font:26px/1.2 var(--serif);white-space:nowrap}
.factory-milestones p{font-size:14px;line-height:1.6;color:var(--muted);margin:8px 0 0}
.factory-history-copy{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--factory-gap)}
.factory-prose{font-size:16px;line-height:1.85;min-width:0}
.factory-prose p{margin:0 0 17px;max-width:68ch;text-align:left;overflow-wrap:break-word}
.factory-prose p:last-child{margin-bottom:0}
.factory-prose h3{font:26px/1.25 var(--serif);margin:0 0 17px}
.factory-prose h2{margin-bottom:22px}
.factory-people-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);gap:var(--factory-gap);align-items:start}
.factory-people-photo{width:100%;max-width:380px;justify-self:end}
.factory-people-photo button{display:block;width:100%;padding:0;background:transparent;cursor:zoom-in}
.factory-people-photo img{display:block;width:100%;height:auto;aspect-ratio:4/5;object-fit:cover}
.factory-people-photo figcaption{margin-top:10px}
.factory-page .reading-facts{margin-top:30px;padding-top:24px;gap:26px}
.factory-page .reading-fact strong{font-size:16px}
.factory-page .reading-fact span{font-size:14px}
.factory-gallery-header{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:24px}
.factory-gallery-header .factory-section-heading{margin:0}
.factory-gallery-arrows{display:flex;gap:9px;flex:none}
.factory-gallery-arrows button{display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid #bca98a;border-radius:50%;background:transparent;color:var(--ink);transition:background .2s,opacity .2s}
.factory-gallery-arrows button:hover:not(:disabled){background:#e7dccb}
.factory-gallery-arrows button:disabled{opacity:.32;cursor:default}
.factory-gallery-arrows svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
.factory-gallery-arrows [data-factory-prev] svg{transform:rotate(180deg)}
.factory-gallery-track{display:flex;gap:24px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-inline:0;scrollbar-width:none;overscroll-behavior-x:contain;min-width:0;align-items:start}
.factory-gallery-track::-webkit-scrollbar{display:none}
.factory-gallery-slide{flex:0 0 calc((100% - 48px)/3);margin:0;min-width:0;scroll-snap-align:start}
.factory-gallery-photo{display:block;width:100%;padding:0;aspect-ratio:4/5;background:transparent;overflow:hidden;cursor:zoom-in}
.factory-gallery-photo img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .5s}
@media(hover:hover){.factory-gallery-photo:hover img{transform:scale(1.025)}}
.factory-gallery-slide figcaption{padding-top:15px}
.factory-gallery-slide h3{font:23px/1.25 var(--serif);margin:0 0 7px}
.factory-gallery-slide p{font-size:14px;line-height:1.65;color:var(--muted);margin:0;max-width:35ch}
.factory-gallery-bottom{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:16px}
.factory-gallery-bottom>span{font-size:13px;line-height:1.6;color:var(--muted)}
.factory-gallery-dots{display:flex;gap:3px}
.factory-gallery-dots button{width:28px;height:32px;padding:0;display:grid;place-items:center;background:transparent}
.factory-gallery-dots span{width:6px;height:6px;border-radius:50%;background:#c5b69f;transition:width .2s,background .2s}
.factory-gallery-dots button[aria-pressed=true] span{width:19px;border-radius:5px;background:#7b6445}
.factory-archive{border-block:1px solid var(--line)}
.factory-archive summary{display:flex;align-items:center;justify-content:space-between;gap:18px;list-style:none;cursor:pointer;padding:20px 0;font-size:15px;line-height:1.6}
.factory-archive summary::-webkit-details-marker{display:none}
.factory-archive summary>span{font-size:24px;line-height:1;transition:transform .2s;flex:none}
.factory-archive[open] summary>span{transform:rotate(45deg)}
.factory-archive-copy{max-width:82ch;margin:0 auto;padding:8px 0 25px}
.factory-archive-note{font-size:14px;line-height:1.8;color:var(--muted);padding-bottom:15px;border-bottom:1px solid var(--line)}
.factory-end-action{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:28px 0 8px}
.factory-end-action h2{font:28px/1.25 var(--serif);margin:0 0 8px}
.factory-end-action p{font-size:15px;line-height:1.7;color:var(--muted);margin:0}
.factory-end-action .btn{flex:none;font-size:14px;min-height:44px}
@media(max-width:900px){
 .factory-intro{grid-template-columns:1.2fr 1fr;gap:24px}
 .factory-intro h1{font-size:36px}
 .factory-intro>p{font-size:15px}
 .factory-milestones{grid-template-columns:1fr 1fr;gap:0 24px}
 .factory-milestones li:nth-child(n+3){border-top:0}
 .factory-people-layout{grid-template-columns:1.1fr .9fr;gap:28px}
 .factory-gallery-slide{flex-basis:calc((100% - 24px)/2)}
 .factory-page .reading-facts{gap:18px}
}
@media(max-width:640px){
 .factory-page{padding-bottom:8px}
 .factory-intro{grid-template-columns:1fr;gap:17px;padding-top:6px;padding-bottom:21px}
 .factory-intro h1{font-size:32px;margin-top:12px}
 .factory-intro>p{font-size:15px;line-height:1.75;max-width:none;margin:0}
 .factory-section-nav{display:grid;grid-template-columns:1fr 1fr;gap:7px;padding-top:1px}
 .factory-section-nav a{font-size:12px;gap:7px;padding:9px 10px;min-height:44px}
 .factory-section-nav a:last-child{grid-column:1/-1;justify-content:center}
 .factory-section-nav svg{width:18px;height:18px;flex:none}
 .factory-era-stage{aspect-ratio:1.65/1}
 .factory-era-bottom{display:flex;flex-direction:column;align-items:stretch;gap:10px;padding-top:12px}
 .factory-era-bottom figcaption{font-size:12px}
 .factory-era-tabs{gap:4px;justify-content:stretch;order:-1}
 .factory-era-tabs button{flex:1;min-height:42px;padding:8px 7px;font-size:12px}
 .factory-section{padding-top:34px;padding-bottom:6px;scroll-margin-top:88px}
 .factory-section-heading{margin-bottom:21px}
 .factory-section-heading h2,.factory-prose h2{font-size:28px;margin-top:12px}
 .factory-section-heading>p{font-size:15px;line-height:1.75;margin-top:13px}
 .factory-milestones{gap:0 16px;margin-bottom:24px}
 .factory-milestones li{gap:9px;padding:15px 0}
 .factory-milestones svg{width:22px;height:22px}
 .factory-milestones strong{font-size:23px}
 .factory-milestones p{font-size:12px;line-height:1.6;margin-top:7px}
 .factory-history-copy,.factory-people-layout{grid-template-columns:1fr;gap:24px}
 .factory-prose{font-size:16px;line-height:1.8}
 .factory-prose h3{font-size:24px;line-height:1.25;margin-bottom:14px}
 .factory-prose h2{margin-bottom:17px}
 .factory-prose h2 br{display:none}
 .factory-prose p{margin-bottom:15px}
 .factory-people-photo{justify-self:start;max-width:none}
 .factory-people-photo img{height:auto;aspect-ratio:4/5;max-height:none;object-fit:cover}
 .factory-people-photo figcaption{font-size:12px}
 .factory-page .reading-facts{grid-template-columns:1fr;gap:20px;margin-top:24px;padding-top:22px}
 .factory-page .reading-fact{display:flex;gap:13px}
 .factory-page .reading-fact>svg{width:27px;height:27px}
 .factory-page .reading-fact strong{font-size:15px}
 .factory-page .reading-fact span{font-size:14px;margin-top:2px}
 .factory-gallery-header{align-items:start;gap:14px;margin-bottom:19px}
 .factory-gallery-header .factory-section-heading{flex:1;min-width:0}
 .factory-gallery-header .factory-section-heading h2{font-size:27px}
 .factory-gallery-header .factory-section-heading>p{font-size:14px}
 .factory-gallery-arrows{gap:6px;margin-top:28px}
 .factory-gallery-arrows button{width:38px;height:38px}
 .factory-gallery-arrows svg{width:17px;height:17px}
 .factory-gallery-track{gap:16px}
 .factory-gallery-slide{flex-basis:88%}
 .factory-gallery-slide h3{font-size:23px}
 .factory-gallery-slide p{font-size:14px;line-height:1.65}
 .factory-gallery-slide figcaption{padding-top:13px}
 .factory-gallery-bottom{margin-top:12px;gap:12px}
 .factory-gallery-bottom>span{font-size:12px}
 .factory-gallery-dots button{width:26px}
 .factory-archive summary{font-size:14px;padding:17px 0;gap:15px}
 .factory-archive-copy{padding-top:5px}
 .factory-end-action{display:block;padding-top:23px}
 .factory-end-action h2{font-size:26px}
 .factory-end-action p{font-size:14px}
 .factory-end-action .btn{margin-top:18px;width:100%;justify-content:center;font-size:14px}
}
@media(max-width:359px){
 .factory-intro h1{font-size:29px}
 .factory-section-nav{grid-template-columns:1fr}
 .factory-section-nav a:last-child{grid-column:auto;justify-content:flex-start}
 .factory-milestones li{display:block}
 .factory-milestones svg{margin:0 0 8px}
 .factory-milestones strong{font-size:22px}
 .factory-gallery-header{flex-wrap:wrap}
 .factory-gallery-header .factory-section-heading{flex-basis:100%}
 .factory-gallery-arrows{margin:0}
}
@media(prefers-reduced-motion:reduce){.factory-page *{scroll-behavior:auto!important;transition:none!important}}

/* Reading accents and an archive arranged by subject. */
.factory-topic-card>header{display:flex;align-items:flex-start;gap:14px;position:relative;padding-bottom:18px;margin-bottom:18px;border-bottom:1px solid var(--line)}
.factory-topic-card>header::after{content:"";position:absolute;bottom:-1px;left:0;width:74px;height:2px;background:#ab9068;transform-origin:left}
.factory-topic-card>header>svg,.factory-archive-topic>header>svg,.factory-archive-summary-copy>svg,.factory-archive-note>svg{width:28px;height:28px;flex:none;fill:none;stroke:#8b7557;stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round}
.factory-topic-card>header h3{margin:0}
.factory-prose strong,.factory-archive-text strong{font-weight:600;color:var(--ink)}
.factory-topic-card p strong{text-decoration:underline;text-decoration-color:#cbb99f;text-underline-offset:4px;text-decoration-thickness:1px}
.factory-process{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;margin-top:32px;padding-top:24px;border-top:1px solid var(--line);position:relative}
.factory-process::before{content:"";position:absolute;left:26px;right:26px;top:48px;height:1px;background:#c7b697;transform-origin:left}
.factory-process-step{position:relative;z-index:1}
.factory-process-step>svg{display:block;width:48px;height:48px;padding:9px;margin-bottom:12px;background:var(--paper);fill:none;stroke:#8b7557;stroke-width:1.25;stroke-linecap:round;stroke-linejoin:round}
.factory-process-step strong{display:block;font-size:16px;font-weight:500;line-height:1.5}
.factory-process-step span{display:block;font-size:14px;line-height:1.7;color:var(--muted);margin-top:3px}
.factory-archive summary{padding:23px 0}
.factory-archive summary>.factory-archive-summary-copy{display:flex;flex:1 1 auto;min-width:0;align-items:center;gap:16px;font-size:inherit;line-height:inherit;transform:none}
.factory-archive-summary-copy>span{min-width:0}
.factory-archive[open] summary>.factory-archive-summary-copy{transform:none}
.factory-archive-summary-copy strong{display:block;font:26px/1.3 var(--serif);font-weight:400}
.factory-archive-summary-copy small{display:block;font-size:13px;line-height:1.7;color:var(--muted);margin-top:5px}
.factory-archive summary>.factory-archive-toggle{font-size:27px;line-height:1}
.factory-archive-copy{max-width:none;margin:0;padding:6px 0 12px}
.factory-archive-note{display:flex;align-items:start;gap:16px;padding:18px 20px;background:#ece4d7;border:0;border-radius:5px;margin:0 0 8px}
.factory-archive-note>p{font-size:14px;line-height:1.8;color:var(--muted);margin:0;max-width:88ch}
.factory-archive-note strong{font-weight:600;color:var(--ink)}
.factory-archive-topic{display:grid;grid-template-columns:minmax(0,.42fr) minmax(0,1fr);gap:clamp(24px,4vw,58px);padding:29px 0;border-bottom:1px solid var(--line)}
.factory-archive-topic:last-child{border-bottom:0;padding-bottom:20px}
.factory-archive-topic>header{display:flex;align-items:start;gap:13px;min-width:0}
.factory-archive-topic h3{font:24px/1.3 var(--serif);margin:0}
.factory-archive-text{min-width:0;font-size:16px;line-height:1.85}
.factory-archive-text>p{margin:0 0 17px;overflow-wrap:break-word}
.factory-archive-text>p:last-child{margin-bottom:0}
.factory-archive-keyfact{display:flex;align-items:center;gap:19px;padding:0 0 18px;margin:0 0 19px;border-bottom:1px solid var(--line)}
.factory-archive-keyfact>strong{font:32px/1.15 var(--serif);white-space:nowrap}
.factory-archive-keyfact>p{font-size:14px;line-height:1.7;color:var(--muted);margin:0;max-width:35ch}
.factory-archive-numbers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:0 0 22px;padding:0 0 22px;border-bottom:1px solid var(--line)}
.factory-archive-numbers strong{display:block;font:24px/1.3 var(--serif)}
.factory-archive-numbers span{display:block;font-size:13px;line-height:1.65;color:var(--muted);margin-top:8px}
@media(min-width:641px){.factory-prose p,.factory-archive-text>p{max-width:none;text-align:justify;hyphens:auto;text-wrap:pretty}}
.factory-motion-ready .factory-topic-card>header::after,.factory-motion-ready .factory-process::before{transform:scaleX(.15);transition:transform .8s ease}
.factory-motion-ready .factory-topic-card.is-in-view>header::after,.factory-motion-ready .factory-process.is-in-view::before{transform:scaleX(1)}
.factory-motion-ready [data-factory-reveal].is-in-view>svg path,.factory-motion-ready [data-factory-reveal].is-in-view>header svg path,.factory-motion-ready .factory-process.is-in-view svg path,.factory-motion-ready .reading-fact.is-in-view>svg path{animation:factory-line-draw 1.2s ease both}
@keyframes factory-line-draw{from{stroke-dasharray:120;stroke-dashoffset:120}to{stroke-dasharray:120;stroke-dashoffset:0}}

/* B2B: retain the full portrait photographs, with captions and controls below. */
.partner-reading-page .production-carousel{background:transparent;border:0;border-radius:0;box-shadow:none}
.partner-reading-page .production-slides{height:auto;align-items:start;background:transparent}
.partner-reading-page .production-slide{display:flex;flex-direction:column;margin:0;align-self:start}
.partner-reading-page .production-slide>button{height:auto;width:100%;aspect-ratio:4/5;background:transparent;overflow:hidden;cursor:zoom-in}
.partner-reading-page .production-slide img{display:block;width:100%;height:auto;aspect-ratio:4/5;object-fit:contain;object-position:center}
.partner-reading-page .production-slide figcaption{position:static;inset:auto;padding:15px 0 0;background:transparent;color:var(--ink);pointer-events:auto;font:24px/1.3 var(--serif)}
.partner-reading-page .production-slide figcaption>span{display:block;font:14px/1.65 Arial,sans-serif;color:var(--muted);margin-top:6px}
.partner-reading-page .carousel-controls{display:grid;grid-template-columns:minmax(0,1fr) auto;color:var(--ink);padding:14px 0 0;gap:8px 14px;background:transparent}
.partner-reading-page .carousel-controls>span{font-size:12px;line-height:1.5;letter-spacing:0;max-width:none}
.partner-reading-page .carousel-arrows{grid-column:2;grid-row:1;gap:8px}
.partner-reading-page .carousel-arrows button{width:42px;height:42px;border:1px solid #bca98a;border-radius:50%;background:transparent;color:var(--ink)}
.partner-reading-page .carousel-arrows button:hover{background:#e7dccb}
.partner-reading-page .carousel-arrows svg{width:19px;height:19px}
.partner-reading-page .carousel-dots{grid-column:1/-1;grid-row:2;justify-self:center;gap:1px}
.partner-reading-page .carousel-dots button{width:19px;height:32px;padding:0;border-radius:0;background:transparent;display:grid;place-items:center}
.partner-reading-page .carousel-dots button::before{content:"";width:5px;height:5px;border-radius:50%;background:#c0ad90}
.partner-reading-page .carousel-dots button[aria-pressed=true]::before{background:#7b6445;width:15px;border-radius:5px}
.partner-reading-page .production-carousel button:focus-visible{outline:2px solid #856d4c;outline-offset:3px}
@media(min-width:641px){.partner-reading-page .partner-reading-card .reading-prose p{text-align:justify;hyphens:auto}}
@media(max-width:900px){
 .factory-archive-topic{grid-template-columns:minmax(0,.38fr) minmax(0,1fr);gap:25px}
 .factory-archive-topic>header{display:block}
 .factory-archive-topic>header>svg{margin-bottom:10px}
 .factory-archive-numbers{grid-template-columns:1fr;gap:16px}
 .factory-archive-numbers>div{display:flex;gap:16px;align-items:baseline}
 .factory-archive-numbers strong{font-size:25px;min-width:155px}
 .factory-archive-numbers span{margin:0;max-width:27ch}
}
@media(max-width:640px){
 .factory-topic-card>header{gap:11px;padding-bottom:15px;margin-bottom:15px}
 .factory-topic-card>header>svg{width:25px;height:25px}
 .factory-process{grid-template-columns:1fr 1fr;gap:22px 18px;margin-top:25px;padding-top:22px}
 .factory-process::before{display:none}
 .factory-process-step>svg{width:39px;height:39px;padding:5px;margin-bottom:8px}
 .factory-process-step strong{font-size:15px}
 .factory-process-step span{font-size:13px}
 .factory-archive summary{padding:19px 0}
 .factory-archive summary>.factory-archive-summary-copy{gap:11px;align-items:start}
 .factory-archive-summary-copy>svg{width:24px;height:24px}
 .factory-archive-summary-copy strong{font-size:23px}
 .factory-archive-summary-copy small{font-size:12px;margin-top:6px}
 .factory-archive-note{padding:15px 13px;gap:10px;margin-bottom:3px}
 .factory-archive-note>svg{width:22px;height:22px}
 .factory-archive-note>p{font-size:13px;line-height:1.8}
 .factory-archive-topic{grid-template-columns:1fr;gap:17px;padding:24px 0}
 .factory-archive-topic>header{display:flex;gap:11px;align-items:center}
 .factory-archive-topic>header>svg{width:25px;height:25px;margin:0}
 .factory-archive-topic h3{font-size:24px}
 .factory-archive-text{font-size:16px;line-height:1.8}
 .factory-archive-text>p{margin-bottom:16px;text-align:left}
 .factory-archive-keyfact{align-items:start;gap:14px;flex-direction:column}
 .factory-archive-keyfact>strong{font-size:32px}
 .factory-archive-keyfact>p{font-size:14px;max-width:none}
 .factory-archive-numbers>div{display:block}
 .factory-archive-numbers strong{font-size:27px;min-width:0}
 .factory-archive-numbers span{font-size:14px;max-width:none;margin-top:4px}
 .partner-reading-page .production-slide figcaption{font-size:23px;padding-top:13px}
 .partner-reading-page .production-slide figcaption>span{font-size:13px}
 .partner-reading-page .carousel-controls>span{font-size:12px}
}
@media(prefers-reduced-motion:reduce){.factory-page *,.partner-reading-page .production-carousel *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
