/* Factory story: Engineering Bay, photographs as evidence, long-form reading. */
.hc-page-factory { --factory-rule: var(--c-line, #d8dfe2); --factory-muted: var(--c-ink-2, #48555e); }
.hc-page-factory main [id] { scroll-margin-top: 136px; }
.hc-factory-kicker { display: block; color: var(--factory-muted); font-size: 12px; font-weight: 650; line-height: 1.5; letter-spacing: .1em; text-transform: uppercase; }
.hc-factory-hero { padding-top: 16px; padding-bottom: 64px; }
.hc-factory-hero-heading { display: grid; gap: 24px; margin-bottom: 36px; }
.hc-page-factory h1 { margin: 18px 0 0; font-size: clamp(38px, 4.3vw, 60px); line-height: 1.06; letter-spacing: -.045em; text-wrap: balance; }
.hc-factory-hero-intro p { margin: 0 0 18px; font-size: 17px; line-height: 1.65; color: var(--factory-muted); }
.hc-factory-context { margin: 22px 0 0; color: var(--factory-muted); font-size: 16px; line-height: 1.7; }
.hc-factory-text-link { display: inline-flex; min-height: 44px; gap: 22px; align-items: center; font-size: 15px; font-weight: 650; color: var(--c-ink); text-decoration: none; }
.hc-factory-text-link:hover { color: var(--c-accent); }
.hc-factory-photo { min-width: 0; margin: 28px 0; }
.hc-factory-photo-frame { position: relative; background: var(--c-bg-soft); border-radius: 6px; overflow: hidden; }
.hc-factory-photo img { display: block; width: 100%; height: auto; }
.hc-factory-photo figcaption { padding-top: 10px; color: var(--factory-muted); font-size: 13px; line-height: 1.5; }
.hc-factory-hero > .hc-factory-photo { margin: 0; }
.hc-factory-hero > .hc-factory-photo img { aspect-ratio: 1920 / 658; object-fit: cover; }
.hc-factory-expand { position: absolute; bottom: 12px; right: 12px; width: 44px; height: 44px; padding: 0; display: grid; place-items: center; border: 1px solid #d8dfe2; border-radius: 4px; background: #fff; color: #10161a; cursor: pointer; transition: transform 150ms ease, background-color 150ms ease; }
.hc-factory-expand[hidden] { display: none; }
.hc-factory-expand:hover { background: #f4f6f7; transform: translateY(-2px); }
.hc-factory-expand:active { transform: scale(.96); }
.hc-factory-timeline { display: grid; grid-template-columns: repeat(5,1fr); padding: 0; margin: 34px 0 0; list-style: none; }
.hc-factory-timeline li { border-top: 1px solid var(--factory-rule); position: relative; }
.hc-factory-timeline li::before { content: ''; position: absolute; width: 7px; height: 7px; top: -4px; left: 0; background: var(--c-accent); }
.hc-factory-timeline a { display: flex; height: 100%; flex-direction: column; gap: 3px; padding: 18px 16px 12px 0; color: var(--c-ink); text-decoration: none; }
.hc-factory-timeline strong { font-size: 28px; line-height: 1.2; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -.035em; }
.hc-factory-timeline span { color: var(--factory-muted); font-size: 13px; }
.hc-factory-timeline a:hover strong { color: var(--c-accent); }
.hc-factory-layout { padding-bottom: 88px; }
.hc-factory-sidebar { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); column-gap: 18px; margin-bottom: 40px; }
.hc-factory-sidebar > .hc-factory-kicker { grid-column: 1 / -1; padding-bottom: 8px; }
.hc-factory-sidebar a { display: flex; min-height: 46px; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--factory-rule); color: var(--factory-muted); text-decoration: none; font-size: 14px; }
.hc-factory-sidebar a span { font-size: 11px; font-variant-numeric: tabular-nums; }
.hc-factory-sidebar a[aria-current], .hc-factory-sidebar a:hover { color: var(--c-accent); }
.hc-factory-sidebar a[aria-current] { font-weight: 650; }
.hc-factory-article { min-width: 0; }
.hc-factory-chapter { padding: 60px 0; border-top: 1px solid var(--factory-rule); }
.hc-factory-chapter:first-child { padding-top: 24px; }
.hc-page-factory h2 { margin: 12px 0 28px; font-size: clamp(28px, 3vw, 40px); line-height: 1.12; }
.hc-page-factory h3 { margin: 0 0 20px; font-size: 25px; line-height: 1.25; }
.hc-factory-period { margin: -12px 0 28px; font-size: 16px; color: var(--factory-muted); font-variant-numeric: tabular-nums; }
.hc-factory-prose { font-size: 17px; line-height: 1.75; color: var(--factory-muted); overflow-wrap: break-word; }
.hc-factory-prose p { margin: 0 0 20px; }
.hc-factory-prose strong { color: var(--c-ink); font-weight: 600; }
.hc-factory-prose p:last-child { margin-bottom: 0; }
.hc-factory-prose blockquote { margin: 24px 0; padding: 2px 0 2px 22px; border-left: 2px solid var(--factory-rule); font-size: 15px; line-height: 1.65; }
.hc-factory-prose .hc-factory-takeaway { padding: 20px 22px; margin: 28px 0 0; background: var(--c-bg-soft); border-left: 2px solid var(--c-ink); font-size: 15px; line-height: 1.65; }
.hc-factory-takeaway > strong:first-child { display: block; margin-bottom: 6px; }
.hc-factory-photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin: 32px 0; }
.hc-factory-photo-pair:not(.hc-factory-photo-pair--production) { max-width: 894px; }
.hc-factory-photo-pair .hc-factory-photo { margin: 0; }
.hc-factory-photo-pair img { aspect-ratio: 436 / 281; object-fit: cover; }
.hc-factory-photo-pair--production img { aspect-ratio: 634 / 357; }
.hc-factory-history-note { border-block: 1px solid var(--factory-rule); padding: 0; margin-top: 28px; }
.hc-factory-history-note summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 64px; padding: 12px 0; list-style: none; cursor: pointer; font-size: 16px; font-weight: 600; }
.hc-factory-history-note summary::-webkit-details-marker { display: none; }
.hc-factory-history-note summary span { font-size: 24px; font-weight: 400; transition: transform 180ms ease; }
.hc-factory-history-note[open] summary span { transform: rotate(45deg); }
.hc-factory-history-note .hc-factory-prose { padding-bottom: 22px; font-size: 15px; }
.hc-factory-subchapter { margin-top: 44px; }
.hc-factory-subchapter .hc-factory-period { display: block; margin: 0 0 12px; }
.hc-factory-archive-single { max-width: 436px; }
.hc-factory-section-intro { color: var(--factory-muted); margin: -8px 0 28px; }
.hc-factory-stats { display: grid; grid-template-columns: 1fr 1fr; margin: 28px 0 32px; padding: 28px; gap: 32px; background: var(--c-bg-soft); border-block: 1px solid var(--factory-rule); }
.hc-factory-stats strong { display: block; color: var(--c-ink); font-size: clamp(32px, 3.5vw, 45px); line-height: 1.1; font-weight: 550; letter-spacing: -.04em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hc-factory-stats span, .hc-factory-test-stats span { display: block; color: var(--factory-muted); font-size: 13px; line-height: 1.6; margin-top: 10px; max-width: 27ch; }
.hc-factory-test-stats { display: flex; gap: 60px; margin: 32px 0; }
.hc-factory-test-stats strong { font-size: 32px; line-height: 1.1; font-weight: 550; letter-spacing: -.035em; }
#factory-testing > .hc-factory-photo { max-width: 760px; }
.hc-factory-tech-heading { display: grid; grid-template-columns: 76px 1fr; align-items: start; gap: 24px; margin: 40px 0 20px; }
.hc-factory-tech-heading > span { padding-top: 6px; border-top: 2px solid var(--c-ink); font-size: 14px; font-weight: 650; }
.hc-factory-tech-heading h3 { margin: 0; }
#factory-future > .hc-factory-photo { max-width: 600px; margin-bottom: 0; }
.hc-factory-summary { padding: 32px; background: var(--c-bg-soft); border-top: 2px solid var(--c-ink); }
.hc-factory-summary h2 { font-size: 30px; }
.hc-factory-summary ul { list-style: none; padding: 0; margin: 0; }
.hc-factory-summary li { border-top: 1px solid var(--factory-rule); padding: 12px 0; font-size: 15px; line-height: 1.6; }
.hc-factory-summary li:last-child { padding-bottom: 0; }
.hc-factory-selection { padding: 68px 0; background: var(--c-bg-soft); border-top: 1px solid var(--factory-rule); }
.hc-factory-selection .hc-button { margin-top: 24px; }
.hc-factory-lightbox { width: min(1200px, calc(100vw - 40px)); max-width: none; max-height: calc(100dvh - 40px); border: 0; border-radius: 6px; padding: 18px 22px; color: #fff; background: #161c20; }
.hc-factory-lightbox::backdrop { background: rgb(0 0 0 / .8); }
.hc-factory-lightbox-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.hc-factory-lightbox button { min-width: 44px; min-height: 44px; border: 1px solid #68747c; border-radius: 4px; background: transparent; color: #fff; cursor: pointer; }
.hc-factory-lightbox button:hover { background: #343d43; }
.hc-factory-lightbox-toolbar button { padding: 6px 14px; }
.hc-factory-lightbox-toolbar button span { font-size: 23px; margin-left: 12px; }
.hc-factory-lightbox-stage { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center; gap: 16px; margin-top: 16px; }
.hc-factory-lightbox-stage img { max-width: 100%; max-height: calc(100dvh - 240px); width: auto; height: auto; object-fit: contain; justify-self: center; }
.hc-factory-lightbox-stage button { font-size: 24px; }
.hc-factory-lightbox p { margin: 16px 0 2px; text-align: center; font-size: 14px; line-height: 1.5; }
.hc-factory-modal-open { overflow: hidden; }
.hc-page-factory main :is(a, button, summary):focus-visible, .hc-factory-lightbox button:focus-visible { outline: 3px solid var(--c-focus); outline-offset: 4px; }
@media (max-width: 1180px) {
 .hc-factory-sidebar { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 1050px) {
 .hc-factory-stats { gap: 20px; padding: 22px; }
}
@media (max-width: 760px) {
 .hc-factory-hero { padding-top: 8px; padding-bottom: 36px; }
 .hc-factory-hero-heading { margin-bottom: 24px; }
 .hc-page-factory h1 { font-size: clamp(36px, 7vw, 48px); }
 .hc-factory-hero-intro p { font-size: 16px; }
 .hc-factory-hero > .hc-factory-photo img { aspect-ratio: 1.7; object-position: 42% center; }
 .hc-factory-timeline { grid-template-columns: repeat(3,1fr); row-gap: 16px; margin-top: 28px; }
 .hc-factory-timeline strong { font-size: 24px; }
 .hc-factory-timeline span { font-size: 12px; line-height: 1.5; }
 .hc-factory-timeline a { padding-top: 14px; }
 .hc-factory-layout { padding-bottom: 48px; }
 .hc-factory-sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 32px; }
 .hc-factory-chapter { padding: 42px 0; }
 .hc-page-factory h2 { font-size: 30px; margin-bottom: 24px; }
 .hc-page-factory h3 { font-size: 23px; }
 .hc-factory-prose { font-size: 16px; line-height: 1.7; }
 .hc-factory-photo-pair { gap: 16px; }
 .hc-factory-photo figcaption { font-size: 12px; }
 .hc-factory-photo-pair--production { grid-template-columns: 1fr; gap: 26px; }
 .hc-factory-stats { margin-top: 24px; padding: 22px 18px; gap: 24px; }
 .hc-factory-stats strong { font-size: clamp(26px,6.5vw,38px); }
 .hc-factory-stats span { font-size: 12px; }
 .hc-factory-test-stats { gap: 28px; }
 .hc-factory-test-stats strong { font-size: 29px; }
 .hc-factory-tech-heading { grid-template-columns: 55px 1fr; gap: 18px; }
 .hc-factory-summary { padding: 24px 20px; }
 .hc-factory-selection { padding: 44px 0; }
 .hc-factory-lightbox { width: calc(100vw - 20px); padding: 12px; max-height: calc(100dvh - 20px); }
 .hc-factory-lightbox-stage { grid-template-columns: 44px 1fr 44px; gap: 8px; }
 .hc-factory-lightbox-stage img { grid-row: 1; grid-column: 1/-1; max-height: calc(100dvh - 255px); }
 .hc-factory-lightbox-stage button { grid-row: 2; }
 .hc-factory-lightbox-stage button:last-child { grid-column: 3; }
}
@media (max-width: 380px) {
 .hc-factory-photo-pair:not(.hc-factory-photo-pair--production) { grid-template-columns: 1fr; }
 .hc-factory-stats { grid-template-columns: 1fr; }
 .hc-factory-test-stats { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
 .hc-page-factory { scroll-behavior: auto; }
 .hc-page-factory *, .hc-page-factory *::before, .hc-page-factory *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
