/* Hivemill: hive-in-motion. Existing static stack and brand assets.
   Design variance 7 / motion 5 / density 3. One amber accent.
   Radius: controls 4px, product frames 10px. Layers: content 0, header 10, skip 20. */
:root { --bg:#f5f6f2; --surface:#fafbf8; --tint:#e9ece5; --ink:#20231e; --ink-2:#60675b; --line:#d3d8cc; --honey:#e9ad3f; --honey-ink:#805400; --on-honey:#211c13; --shadow:0 24px 64px -40px #24302255; }
@media(prefers-color-scheme:dark) { :root { --bg:#141513; --surface:#1b1e19; --tint:#1a1d18; --ink:#f1f2eb; --ink-2:#afb5a6; --line:#353b30; --honey:#e9ad3f; --honey-ink:#e9ad3f; --on-honey:#211c13; --shadow:0 24px 64px -40px #080d09; } }
:root[data-theme="light"] { --bg:#f5f6f2; --surface:#fafbf8; --tint:#e9ece5; --ink:#20231e; --ink-2:#60675b; --line:#d3d8cc; --honey-ink:#805400; color-scheme:light; }
:root[data-theme="dark"] { --bg:#141513; --surface:#1b1e19; --tint:#1a1d18; --ink:#f1f2eb; --ink-2:#afb5a6; --line:#353b30; --honey-ink:#e9ad3f; color-scheme:dark; }
html { scroll-behavior:smooth; scroll-padding-top:6rem; }
body { font-size:1rem; }
button { font:inherit; }
button, a { -webkit-tap-highlight-color:transparent; }
button { cursor:pointer; }
.wrap { width:min(100% - 6rem,80rem); }
h1,h2,h3 { font-family:var(--font-text); font-weight:500; letter-spacing:-.045em; }
h1 { line-height:1.03; } h2 { font-size:clamp(2.2rem,4.1vw,3.75rem); line-height:1.08; } h3 { letter-spacing:-.03em; }
header.site { background:var(--bg); border-bottom:1px solid var(--line); }
header.site .wrap { min-height:76px; padding-block:.6rem; gap:2rem; }
.brand { font-size:1.45rem; gap:.65rem; } .brand svg { width:1.9rem; height:1.9rem; }
header.site nav { gap:1.7rem; font-size:.88rem; align-items:center; }
header.site nav a { border:0; padding:.65rem 0; }
header.site nav a[aria-current] { color:var(--ink); }
header.site nav a[href*="work-with-me"] { background:var(--ink); color:var(--bg); padding:.6rem 1rem; border-radius:4px; }
.theme-toggle { border:1px solid var(--line); background:transparent; color:var(--ink-2); padding:.5rem .65rem; border-radius:4px; font-size:.75rem; }
.btn { border:1px solid var(--line); border-radius:4px; padding:.95rem 1.15rem; min-height:3.2rem; gap:2rem; font-weight:600; }
.btn--primary { background:var(--honey); border-color:var(--honey); color:var(--on-honey); }
.btn span { font-size:1.35rem; }
.text-link { display:inline-flex; align-items:center; gap:1.5rem; font-size:.94rem; text-decoration:none; font-weight:500; padding:.6rem 0; }
.text-link:hover { text-decoration:underline; } .text-link span { font-size:1.25rem; }
.actions { align-items:center; gap:1.8rem; }
.factory-hero { position:relative; isolation:isolate; min-height:650px; overflow:hidden; }
.hero-content { position:relative; z-index:1; display:grid; grid-template-columns:minmax(0,1fr); column-gap:3rem; padding-block:5.4rem 6rem; pointer-events:none; }
.hero-content > * { grid-column:1; min-width:0; }
.hero-content a { pointer-events:auto; }
.eyebrow { font-size:.73rem; letter-spacing:.13em; text-transform:uppercase; color:var(--honey-ink); font-weight:600; margin-bottom:1.5rem; }
.hero-content h1 { font-size:clamp(3.4rem,5.2vw,4.8rem); max-width:14ch; letter-spacing:-.055em; }
.hero-description { color:var(--ink-2); font-size:1.13rem; line-height:1.65; max-width:25rem; margin:1.8rem 0 2.1rem; }
.hero-machine { position:absolute; z-index:0; inset:0 -7% 0 24%; background:url(../brand/hive-mill.webp) 50% 50% / cover no-repeat; mask-image:linear-gradient(to right,transparent 0%,#000 24%); }
/* Light mode reserves separate columns for copy and dark photography.
   Both use the same midpoint and gutter, so the headline cannot cross the image. */
@media(min-width:1024px) {
 :root[data-theme="light"] .hero-content { grid-template-columns:repeat(2,minmax(0,1fr)); }
 :root[data-theme="light"] .hero-content h1 { max-width:100%; font-size:clamp(3rem,4.8vw,4.6rem); }
 :root[data-theme="light"] .hero-machine { inset:3rem 3rem 3rem calc(50% + 1.5rem); border-radius:10px; mask-image:none; background-position:64% 50%; }
}
@media(min-width:1024px) and (prefers-color-scheme:light) {
 :root:not([data-theme="dark"]) .hero-content { grid-template-columns:repeat(2,minmax(0,1fr)); }
 :root:not([data-theme="dark"]) .hero-content h1 { max-width:100%; font-size:clamp(3rem,4.8vw,4.6rem); }
 :root:not([data-theme="dark"]) .hero-machine { inset:3rem 3rem 3rem calc(50% + 1.5rem); border-radius:10px; mask-image:none; background-position:64% 50%; }
}
.principles { display:grid; grid-template-columns:repeat(3,1fr); gap:2rem; padding-block:2rem; border-block:1px solid var(--line); }
.principles p { display:flex; flex-direction:column; gap:.35rem; font-size:.87rem; }
.principles strong { font-weight:600; } .principles span { color:var(--ink-2); }
.section { padding-block:7rem 0; }
.section-intro { max-width:48rem; margin-bottom:3rem; }
.section-intro > p:not(.eyebrow) { color:var(--ink-2); max-width:35rem; margin-top:1.2rem; line-height:1.75; font-size:1.06rem; }
.factory-process { border:1px solid var(--line); background:var(--surface); border-radius:10px; padding:2rem; }
.process-controls { display:grid; grid-template-columns:repeat(5,1fr); gap:1rem; }
.process-step { position:relative; background:transparent; border:0; color:var(--ink-2); padding:0 0 1.4rem; text-align:left; display:flex; flex-direction:column; gap:.8rem; font-size:.9rem; }
.process-step::after { content:""; position:absolute; bottom:0; left:0; right:0; height:2px; background:var(--line); }
.process-step::before { content:""; position:absolute; bottom:0; left:0; right:0; height:2px; background:var(--honey); z-index:1; transform:scaleX(0); transform-origin:left; }
.process-step[aria-pressed="true"] { color:var(--ink); }
.process-step[aria-pressed="true"]::before { transform:scaleX(1); }
.process-step .i { width:1.65rem; height:1.65rem; color:var(--honey-ink); }
.process-detail { display:grid; grid-template-columns:1fr 1.1fr; gap:3rem; padding-block:2.2rem; min-height:11rem; align-items:center; }
.role-label { color:var(--honey-ink); font-size:.8rem; margin-bottom:.6rem; }
.process-detail h3 { font-size:1.6rem; } .process-detail > p { color:var(--ink-2); max-width:43ch; }
.process-footer { display:flex; align-items:center; justify-content:space-between; gap:1rem; border-top:1px solid var(--line); padding-top:.8rem; }
.text-button { color:var(--ink); background:none; border:0; padding:.65rem; font-size:.9rem; }
.text-button:hover { color:var(--honey-ink); }
.product-wide { margin:2.5rem 0 0; }
.product-wide picture { display:block; overflow:hidden; border:1px solid var(--line); border-radius:10px; }
.product-wide img { width:100%; }
figcaption { font-size:.76rem; color:var(--ink-2); padding:.8rem 0; }
.stories-section { margin-top:7rem; padding-block:6rem; background:var(--tint); }
.story-tabs { display:flex; gap:2rem; border-bottom:1px solid var(--line); margin-bottom:2.5rem; }
.story-tabs button { border:0; border-bottom:2px solid transparent; padding:.7rem 0 1rem; background:none; color:var(--ink-2); font-weight:500; }
.story-tabs button[aria-pressed="true"] { color:var(--ink); border-bottom-color:var(--honey); }
.business-story { display:grid; grid-template-columns:1fr 1fr; gap:4.5rem; align-items:center; }
.business-story + .business-story { margin-top:4rem; }
.business-story[hidden] { display:none; }
.story-art { aspect-ratio:4 / 3; border-radius:10px; background-color:#141513; background-size:cover; background-position:center; }
.art-saas { background-image:url(../brand/saas.webp); }
.art-agency { background-image:url(../brand/agency.webp); }
.art-operations { background-image:url(../brand/operations.webp); }
.story-body .buyer { font-size:.78rem; color:var(--honey-ink); margin-bottom:.7rem; }
.story-body h3 { font-size:clamp(1.75rem,2.5vw,2.5rem); line-height:1.12; margin-bottom:1.2rem; max-width:21ch; }
.story-body > p:not(.buyer) { font-size:.95rem; color:var(--ink-2); max-width:48ch; }
.story-body blockquote { margin:1.4rem 0; padding-left:1.1rem; border-left:2px solid var(--honey); font-size:1.02rem; color:var(--ink); }
.story-outcome { margin:1.4rem 0 0; } .story-outcome dt { font-size:.76rem; font-weight:600; } .story-outcome dd { margin:.25rem 0 0; color:var(--ink-2); font-size:.87rem; }
.story-bottom { margin-top:2.5rem; padding-top:1.5rem; border-top:1px solid var(--line); display:flex; justify-content:space-between; gap:2rem; align-items:center; }
.story-bottom p { max-width:60ch; font-size:.86rem; color:var(--ink-2); } .story-bottom a { white-space:nowrap; }
.review-layout { display:grid; grid-template-columns:1.1fr 1fr; align-items:center; gap:6rem; }
.review-copy > p { max-width:44ch; color:var(--ink-2); margin:1.5rem 0; }
.gate-diagram { display:flex; align-items:center; gap:.9rem; padding-block:1.4rem; }
.gate-diagram > span { font-size:.93rem; font-weight:500; }
.gate-diagram b { color:var(--ink-2); font-weight:400; }
.gate-sub { display:block; color:var(--ink-2); font-size:.71rem; font-weight:400; margin-top:.3rem; }
.judge-node { color:var(--honey-ink); }
.detail-copy { font-size:.9rem; }
.product-portrait { margin:0; max-width:480px; }
.product-portrait picture { display:block; overflow:hidden; border-radius:10px; border:1px solid var(--line); background:var(--surface); }
.product-portrait img { width:100%; }
.visibility-grid { display:grid; grid-template-columns:1fr 1fr; gap:5rem; }
.visibility-item { padding:2rem; border-radius:10px; background:var(--surface); }
.visibility-item h3 { font-size:1.65rem; } .visibility-item > div > p { color:var(--ink-2); margin:.7rem 0 1.8rem; font-size:.95rem; }
.visibility-item .product-portrait { margin:auto; }
.budget-item { background:var(--tint); }
.budget-item .text-link { margin-top:1.5rem; }
.product-budget { max-width:100%; }
.start-layout { display:grid; grid-template-columns:1fr 1fr; gap:5rem; padding-top:3rem; border-top:1px solid var(--line); }
.start-layout > * { min-width:0; }
.install-panel pre.code { max-width:100%; overflow-x:auto; }
.start-layout p:not(.eyebrow) { color:var(--ink-2); margin:1.5rem 0; max-width:42ch; }
.install-panel { align-self:center; padding:2rem; background:var(--surface); border:1px solid var(--line); border-radius:10px; }
.install-panel h3 { font-size:1.4rem; }
.install-panel pre.code { font-size:.82rem; background:var(--tint); color:var(--ink); padding:1.1rem; line-height:2; border-radius:4px; }
.install-panel p { font-size:.83rem; }
.closing { display:grid; grid-template-columns:1.2fr 1fr; gap:5rem; align-items:end; padding-block:8rem 3rem; }
.closing h2 { font-size:clamp(2.6rem,5vw,4.5rem); } .closing p { color:var(--ink-2); margin-bottom:1.8rem; max-width:39ch; }
footer.site { margin-top:4rem; padding-block:2rem; }
footer.site .wrap { align-items:center; font-size:.85rem; } footer .brand { color:var(--ink); }
footer.site .footer-note { display:block; margin-top:1.7rem; font-size:.7rem; color:var(--ink-2); }
.page-head { padding-top:5rem; } .page-head h1 { max-width:17ch; font-size:clamp(3rem,5vw,4.5rem); }
.page-head .lede { font-size:1.2rem; max-width:48ch; }
.pilot-grid { display:grid; grid-template-columns:1fr 1fr; gap:3rem; margin-top:2rem; }
.pilot-grid article { padding:1.5rem 0; border-top:1px solid var(--line); } .pilot-grid h3 { font-size:1.45rem; margin-bottom:.8rem; } .pilot-grid p { color:var(--ink-2); }
.monitoring-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:2.4rem; margin-bottom:3rem; }
.monitoring-grid article { border-top:1px solid var(--line); padding-top:1.2rem; }
.monitor-index { color:var(--honey-ink); font-size:.75rem; }
.monitoring-grid h3 { margin:.8rem 0; font-size:1.5rem; }
.monitoring-grid p,.metric-note { font-size:.87rem; color:var(--ink-2); }
.film-player { width:100%; display:block; aspect-ratio:16/9; background:#141513; border-radius:10px; border:1px solid var(--line); }
.film-chapters { display:grid; grid-template-columns:repeat(3,1fr); gap:2rem; margin-top:2rem; }
.film-chapters article { border-top:1px solid var(--line); padding-top:1rem; }
.film-chapters h2 { font-size:1.35rem; margin:.7rem 0; }
.film-chapters p { font-size:.9rem; color:var(--ink-2); }
@media(prefers-reduced-motion:no-preference) {
 .hero-content > * { animation:hero-in .85s both cubic-bezier(.16,1,.3,1); }
 .hero-content h1 { animation-delay:.08s; } .hero-description { animation-delay:.16s; } .hero-content .actions { animation-delay:.24s; }
 .hero-machine { animation:machine-in 1.4s both cubic-bezier(.16,1,.3,1); }
 .process-step::before { transition:transform .45s ease; }
 .business-story.is-entering { animation:story-in .25s both; }
 @keyframes story-in { from { opacity:0; } to { opacity:1; } }
 @keyframes hero-in { from { opacity:0; transform:translateY(16px); } to { opacity:1; transform:none; } }
 @keyframes machine-in { from { opacity:0; transform:translateX(28px); } to { opacity:1; transform:none; } }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } *,*::before,*::after { animation:none!important; transition:none!important; } }
@media(max-width:1100px) {
 .wrap { width:calc(100% - 3rem); } header.site .wrap { gap:1.2rem; } header.site nav { gap:1.1rem; }
 .factory-hero { min-height:580px; } .hero-content { padding-block:4rem; } .hero-content h1 { font-size:4.3rem; }
 .hero-machine { left:20%; right:-20%; } .review-layout,.business-story { gap:3rem; }
 .visibility-grid { gap:2rem; } .start-layout { gap:3rem; }
}
@media(max-width:1023px) {
 .factory-hero { min-height:0; display:flex; flex-direction:column; padding-bottom:0; }
 .hero-content { padding-block:3rem 1rem; pointer-events:auto; }
 .hero-machine { position:relative; inset:auto; width:100%; height:auto; aspect-ratio:16/9; margin-top:1rem; mask-image:none; background-size:cover; background-position:center; }
}
@media(max-width:767px) {
 .wrap { width:calc(100% - 2rem); } header.site .wrap { min-height:68px; gap:.5rem 1rem; padding-block:.8rem; }
 header.site nav { width:100%; margin:0; gap:.45rem; justify-content:space-between; font-size:.72rem; order:3; }
 header.site nav a[href*="work-with-me"] { background:none; color:var(--ink-2); padding:.6rem 0; }
 .theme-toggle { margin-left:auto; } .brand { font-size:1.3rem; }
 .factory-hero { min-height:0; display:flex; flex-direction:column; padding-bottom:0; }
 .hero-content { padding-block:3rem 1rem; pointer-events:auto; } .hero-content h1 { font-size:clamp(2rem,10vw,3.3rem); max-width:none; }
 .hero-description { max-width:32ch; font-size:1rem; margin:1.4rem 0 1.6rem; } .eyebrow { font-size:.64rem; margin-bottom:1rem; }
 .hero-machine { position:relative; inset:auto; height:auto; width:100%; aspect-ratio:16/9; margin-top:.5rem; mask-image:none; background-size:cover; background-position:center; }
 .actions { gap:1.5rem; } .btn { font-size:.9rem; }
 .principles { grid-template-columns:1fr; gap:1rem; padding-block:1.6rem; }
 .principles p { display:grid; grid-template-columns:1.1fr 1.5fr; gap:1rem; font-size:.76rem; }
 .section { padding-top:4rem; } .section-intro { margin-bottom:2rem; } h2 { font-size:2.4rem; }
 .section-intro > p:not(.eyebrow) { font-size:.95rem; }
 .factory-process { padding:1.1rem; } .process-controls { grid-template-columns:repeat(3,1fr); gap:1rem .75rem; }
 .process-step { font-size:.74rem; gap:.6rem; padding-bottom:.8rem; } .process-step .i { width:1.3rem; height:1.3rem; }
 .process-detail { grid-template-columns:1fr; gap:.7rem; padding-block:1.6rem; min-height:15rem; } .process-detail > p { font-size:.9rem; }
 .process-footer { flex-direction:column; align-items:flex-start; gap:.2rem; } .process-footer .text-link { font-size:.8rem; gap:.5rem; }
 .text-button { padding:.6rem 0; font-size:.8rem; }
 .product-wide { margin-top:1.5rem; } figcaption { font-size:.67rem; }
 .stories-section { margin-top:4rem; padding-block:3rem; }
 .story-tabs { gap:.8rem; justify-content:space-between; margin-bottom:1.5rem; }
 .story-tabs button { font-size:.76rem; text-align:left; max-width:11ch; }
 .business-story { grid-template-columns:1fr; gap:1.5rem; } .story-body h3 { font-size:2rem; max-width:25ch; }
 .story-art { aspect-ratio:4/3; } .story-bottom { display:block; } .story-bottom a { margin-top:.5rem; }
 .review-layout,.visibility-grid,.start-layout,.closing,.pilot-grid { grid-template-columns:1fr; gap:2rem; }
 .monitoring-grid,.film-chapters { grid-template-columns:1fr; gap:1.5rem; }
 .review-copy > p { font-size:.95rem; } .gate-diagram { gap:.65rem; justify-content:space-between; } .gate-sub { font-size:.65rem; }
 .product-portrait { max-width:100%; } .visibility-item { padding:1.4rem; }
 .start-layout { padding-top:2rem; } .install-panel { padding:1.2rem; } .install-panel pre.code { padding:.8rem; font-size:.67rem; }
 .closing { padding-block:4rem 1rem; } .closing h2 { font-size:3rem; }
 footer.site .wrap { gap:1.1rem; } .page-head { padding-top:3rem; } .page-head h1 { font-size:2.8rem; }
}

/* Product story, chapter transitions, and the moving factory. Native scrolling stays intact. */
header.site { position:sticky; top:0; z-index:10; }
header.site nav a:not([href*="work-with-me"]) { position:relative; }
header.site nav a:not([href*="work-with-me"])::after { content:""; position:absolute; inset:auto 0 .3rem; height:1px; background:currentColor; transform:scaleX(0); transform-origin:right; transition:transform .28s ease; }
header.site nav a:hover::after,header.site nav a[aria-current]::after { transform:scaleX(1); transform-origin:left; }
.btn,.text-link span,.theme-toggle,.console-tabs button { transition:transform .3s cubic-bezier(.16,1,.3,1),background-color .2s,color .2s,border-color .2s; }
.btn:hover { transform:translateY(-2px); }
.btn:active { transform:translateY(1px); }
.text-link:hover span { transform:translate(3px,-3px); }
:where(a,button,input,summary):focus-visible { outline:2px solid var(--honey-ink); outline-offset:5px; }
.hero-film { width:100%; height:100%; object-fit:cover; object-position:50% 50%; display:block; }
.motion-toggle { position:absolute; right:3rem; bottom:1.4rem; z-index:2; border:1px solid #ffffff40; background:#141513cc; border-radius:4px; color:#f1f2eb; padding:.6rem .8rem; font-size:.72rem; display:flex; align-items:center; gap:1rem; }
.motion-toggle[hidden] { display:none; }
.product-stage-heading { max-width:52rem; margin-bottom:2.5rem; }
.product-stage-heading h2 { font-size:clamp(2.4rem,4.5vw,4.3rem); }
.product-stage-heading p { color:var(--ink-2); margin-top:1.4rem; max-width:44ch; }
.product-console { border:1px solid var(--line); border-radius:12px; overflow:hidden; background:var(--surface); box-shadow:0 40px 100px -65px #070b06aa; }
.console-toolbar { display:flex; justify-content:space-between; align-items:center; padding:.6rem 1.4rem; gap:1rem; border-bottom:1px solid var(--line); }
.console-tabs { display:flex; gap:.2rem; }
.console-tabs button { padding:.75rem 1.1rem; background:none; border:0; border-radius:4px; color:var(--ink-2); font-size:.85rem; white-space:nowrap; }
.console-tabs button[aria-pressed="true"] { background:var(--ink); color:var(--bg); }
.console-tabs button:hover:not([aria-pressed="true"]) { background:var(--tint); color:var(--ink); }
.console-open { display:flex; gap:1rem; white-space:nowrap; font-size:.8rem; text-decoration:none; }
.console-open span { color:var(--honey-ink); }
.console-viewport { position:relative; height:650px; background:var(--tint); overflow:hidden; }
.console-viewport iframe { display:block; width:100%; height:100%; border:0; pointer-events:none; opacity:1; transition:opacity .3s ease; }
.console-viewport[aria-busy="true"] iframe { opacity:0; }
.console-viewport.is-interactive iframe { pointer-events:auto; }
.console-loading { position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); color:var(--ink-2); font-size:.9rem; }
.console-viewport[aria-busy="false"] .console-loading { display:none; }
.console-caption { display:flex; justify-content:space-between; align-items:center; gap:1rem; padding:.5rem 1.4rem; min-height:4rem; border-top:1px solid var(--line); }
.console-caption p { font-size:.8rem; color:var(--ink-2); }
.console-caption .text-button { white-space:nowrap; font-size:.8rem; }
.process-track { height:3rem; position:relative; margin:.7rem 0 -.6rem; }
.process-track::before { content:""; height:1px; background:var(--line); position:absolute; left:0; right:0; top:50%; }
.process-parcel { display:block; width:1rem; height:1rem; position:absolute; top:calc(50% - .5rem); left:calc(var(--stage,0) * 24%); background:var(--honey); clip-path:polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%); transition:transform .65s cubic-bezier(.16,1,.3,1),left .65s cubic-bezier(.16,1,.3,1); }
.factory-process { --stage:0; }
.factory-process[data-active-stage="1"] { --stage:1; }.factory-process[data-active-stage="2"] { --stage:2; }.factory-process[data-active-stage="3"] { --stage:3; }.factory-process[data-active-stage="4"] { --stage:4; }
.product-portrait picture { box-shadow:0 24px 60px -40px #090c0870; }
.product-budget { max-width:616px; }
.closing { position:relative; isolation:isolate; }
.closing::before { content:""; position:absolute; inset:2rem 0 -1rem; border-top:1px solid var(--line); z-index:-1; }
@media(prefers-reduced-motion:no-preference) {
 .js [data-reveal] { transition-duration:.85s; transition-timing-function:cubic-bezier(.16,1,.3,1); }
 .story-art { transition:transform .7s cubic-bezier(.16,1,.3,1); }
 .business-story:hover .story-art { transform:scale(1.015); }
}
@media(min-width:768px) { .hero-content h1 { max-width:16ch; font-size:clamp(3.5rem,5.2vw,5rem); } }
@media(max-width:767px) {
 header.site { position:relative; }
 .motion-toggle { bottom:.8rem; right:1rem; font-size:.67rem; }
 .console-toolbar { display:block; padding:.7rem; }
 .console-tabs { justify-content:space-between; gap:0; }
 .console-tabs button { font-size:.72rem; padding:.65rem .5rem; }
 .console-open { justify-content:flex-end; margin-top:.8rem; padding:.2rem; }
 .console-viewport { height:530px; }
 .console-caption { display:block; padding:.9rem; }
 .console-caption .text-button { padding:.7rem 0 0; }
 .product-stage-heading h2 { font-size:clamp(2rem,8.5vw,3rem); }
 .process-track { display:none; }
 .closing::before { inset:1rem 0 0; }
}
.process-parcel { width:24%; height:1rem; left:0; background:none; clip-path:none; transform:translateX(calc(var(--stage,0) * 100%)); transition:transform .65s cubic-bezier(.16,1,.3,1); }
.process-parcel::before { content:""; display:block; width:1rem; height:1rem; background:var(--honey); clip-path:polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%); }
.film-page .page-head { padding-block:4.5rem 2rem; }
.film-page .page-head h1 { max-width:none; font-size:clamp(3rem,6vw,6rem); }
.film-page .film-chapters { display:grid; grid-template-columns:repeat(2,1fr); gap:0 4rem; margin-top:3rem; }
.film-page .film-chapters article { display:grid; grid-template-columns:5rem 1fr; gap:0 1.2rem; padding-block:1.5rem; border-top:1px solid var(--line); }
.film-page .film-chapters h2 { margin:0 0 .75rem; font-size:1.6rem; }
.film-page .film-chapters p { grid-column:2; }
.chapter-seek { align-self:start; display:flex; justify-content:space-between; gap:.6rem; padding:.5rem .6rem; border:1px solid var(--line); border-radius:4px; background:none; color:var(--honey-ink); font-size:.74rem; }
.chapter-seek:hover { background:var(--tint); }
@media(max-width:767px) { .film-page .film-chapters { grid-template-columns:1fr; } .film-page .film-chapters article { grid-template-columns:4.5rem 1fr; gap:0 1rem; } .film-page .page-head { padding-top:3rem; } }
.inspect-image { display:inline-flex; padding:.25rem 0; background:none; border:0; color:var(--ink-2); font-size:.72rem; text-decoration:underline; text-underline-offset:4px; }
.inspect-image:hover { color:var(--ink); }
.product-lightbox { max-width:min(94vw,1400px); max-height:94dvh; padding:3rem 1.2rem 1.2rem; border:1px solid var(--line); border-radius:10px; background:var(--bg); color:var(--ink); }
.product-lightbox::backdrop { background:#080b08d9; backdrop-filter:blur(6px); }
.product-lightbox img { display:block; width:auto; max-width:100%; max-height:75dvh; object-fit:contain; margin:auto; }
.product-lightbox p { font-size:.8rem; color:var(--ink-2); margin-top:1rem; }
.lightbox-close { position:absolute; top:.7rem; right:1rem; border:0; background:none; color:var(--ink); padding:.4rem; font-size:.8rem; }
@media(prefers-reduced-transparency:reduce) { .product-lightbox::backdrop { background:#080b08; backdrop-filter:none; } }

/* A shorter homepage puts product evidence before explanation. */
.factory-home .factory-hero { min-height:580px; }
.factory-home .hero-content { padding-block:4.4rem; }
.factory-home .section { padding-top:5rem; }
.factory-home .product-stage-heading { display:flex; align-items:end; justify-content:space-between; gap:2rem; max-width:none; margin-bottom:2rem; }
.factory-home .product-stage-heading h2 { font-size:clamp(2.2rem,3.6vw,3.5rem); }
.factory-home .product-stage-heading .eyebrow { margin:0 0 .9rem; }
.factory-home .product-stage-heading > p { max-width:23ch; margin:0 0 .25rem; font-size:.95rem; }
.product-context { display:grid; grid-template-columns:1fr 1fr auto; gap:2.5rem; padding-top:1.5rem; }
.product-context h3 { font-size:.94rem; font-weight:600; letter-spacing:-.015em; margin-bottom:.5rem; }
.product-context p { color:var(--ink-2); font-size:.85rem; line-height:1.65; max-width:42ch; }
.product-context-links { display:flex; flex-direction:column; justify-content:center; align-items:flex-start; }
.product-context-links .text-link { font-size:.82rem; gap:.8rem; padding:.4rem 0; }
.product-context .product-cost-note { grid-column:1 / -1; max-width:none; font-size:.78rem; margin-top:-1rem; }
.factory-home .workflow-intro { display:grid; grid-template-columns:1fr 1fr; gap:3rem; align-items:end; max-width:none; margin-bottom:2rem; }
.factory-home .workflow-intro > p { margin:0; max-width:42ch; font-size:.98rem; }
.factory-home .stories-section { margin-top:5rem; padding-block:4rem; }
.factory-home .stories-section .section-intro { margin-bottom:2rem; }
.factory-home .story-art { aspect-ratio:16/9; }
.stories-section.is-tabbed .business-story { margin-top:0; }
.factory-home .story-body h3 { font-size:clamp(1.8rem,2.5vw,2.5rem); }
.factory-home .story-body blockquote { margin-bottom:0; }
.factory-home .story-bottom { margin-top:2rem; padding-top:1.2rem; }
.start-choice { display:grid; grid-template-columns:1fr 1fr; gap:4rem; align-items:start; }
.start-choice p { color:var(--ink-2); max-width:45ch; }
.start-actions { display:flex; align-items:center; flex-wrap:wrap; gap:1rem 2rem; margin-top:1.5rem; }
.hosting-answers { display:grid; grid-template-columns:1fr 1fr; gap:4rem; border-top:1px solid var(--line); margin:3rem 0 0; padding-top:2rem; }
.hosting-answers dt { font-weight:600; font-size:.95rem; margin-bottom:.6rem; }
.hosting-answers dd { margin:0; color:var(--ink-2); font-size:.9rem; line-height:1.7; max-width:53ch; }
@media(max-width:1100px) {
 .product-context { grid-template-columns:1fr 1fr; gap:1.5rem 3rem; }
 .product-context-links { grid-column:1 / -1; flex-direction:row; gap:2rem; justify-content:flex-start; }
 .start-choice,.hosting-answers { gap:3rem; }
}
@media(max-width:1023px) {
 .factory-home .factory-hero { min-height:0; }
 .factory-home .hero-content { padding-block:3rem 1rem; }
}
@media(max-width:767px) {
 .factory-home .section { padding-top:3.5rem; }
 .factory-home .product-stage-heading { display:block; margin-bottom:1.5rem; }
 .factory-home .product-stage-heading h2 { font-size:clamp(2rem,8.5vw,3rem); }
 .factory-home .product-stage-heading > p { max-width:none; margin-top:.8rem; font-size:.9rem; }
 .product-context { grid-template-columns:1fr; gap:1.25rem; }
 .product-context p { max-width:none; }
 .product-context-links { flex-wrap:wrap; gap:.5rem 1.5rem; }
 .product-context .product-cost-note { margin-top:0; }
 .factory-home .workflow-intro { grid-template-columns:1fr; gap:1rem; }
 .factory-home .workflow-intro > p { font-size:.93rem; }
 .factory-home .stories-section { margin-top:3.5rem; padding-block:3rem; }
 .factory-home .story-body h3 { font-size:2rem; }
 .stories-section.is-tabbed .story-body h3 { min-height:2.24em; }
 .stories-section.is-tabbed .story-body blockquote { min-height:4.8em; }
 .start-choice,.hosting-answers { grid-template-columns:1fr; gap:1.8rem; }
 .hosting-answers { margin-top:2rem; padding-top:1.8rem; }
}
