/* Company and Apps share the studio shell; each product keeps its own identity. */
.factory-intro { padding-block: 44px 36px; }
.factory-intro-top, .factory-intro-bottom { display: flex; justify-content: space-between; align-items: center; gap: 28px; }
.factory-intro-top .eyebrow { color: #c8cec3; }
.factory-intro-note { color: #8d9688; font-size: 9px; letter-spacing: 1.5px; }
.studio-site .factory-intro h1 { font-size: clamp(54px, 6.4vw, 94px); line-height: 1.13; letter-spacing: -.065em; font-weight: 700; margin-block: 30px 26px; word-break: keep-all; }
.factory-intro h1 span { color: var(--studio-accent); }
.factory-intro-bottom p { font-size: 14px; color: #b2b9ac; line-height: 1.85; }
.factory-scroll { display: flex; align-items: center; gap: 30px; font-size: 11px; }
.factory-scroll span { font-size: 22px; }
.factory-paths { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding-bottom: 8px; }
.factory-path { --team-accent: #ff875f; min-width: 0; min-height: 600px; padding: 30px; display: flex; flex-direction: column; justify-content: space-between; position: relative; isolation: isolate; overflow: hidden; transition: opacity .35s ease, filter .35s ease, box-shadow .35s ease; }
.factory-path::before { content: ''; position: absolute; inset: 12px; z-index: 2; border: 1px solid var(--team-accent); opacity: 0; transform: scale(.97); pointer-events: none; transition: opacity .35s, transform .45s var(--studio-ease); }
.factory-path:is(:hover, :focus-visible)::before { opacity: .85; transform: scale(1); }
.factory-path:is(:hover, :focus-visible) { box-shadow: 0 0 0 1px var(--team-accent); }
.factory-path-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 10px; letter-spacing: 1.3px; position: relative; z-index: 1; }
.factory-path-arrow { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-size: 24px; transition: transform .35s, background .35s, color .35s; }
.factory-path-art { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; object-position: 64% center; z-index: -2; transition: transform .6s; }
.factory-path-games::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, #101211fa 0%, #101211a8 38%, #10121108 80%), linear-gradient(180deg, #10121170, transparent 25%); }
.factory-path-copy { position: relative; z-index: 1; transition: translate .45s var(--studio-ease); }
.studio-site .factory-path h2 { font-size: clamp(60px, 6.4vw, 92px); font-weight: 650; line-height: 1.05; letter-spacing: -.065em; }
.factory-path h2 > span { display: block; font-size: clamp(16px, 1.6vw, 22px); font-weight: 500; letter-spacing: -.5px; margin-bottom: 12px; }
.factory-path h2 > strong { font-weight: 650; }
.studio-site .factory-path-copy > p { font-size: 12px; line-height: 1.8; margin-top: 20px; color: #cdd2c7; }
.factory-path-link { display: inline-flex; gap: 32px; align-items: center; padding-bottom: 5px; margin-top: 28px; border-bottom: 1px solid currentColor; font-size: 12px; }
.factory-path-apps { --team-accent: #45673c; background: #e6eddf; color: #25372b !important; }
.factory-path-apps .factory-path-copy > p { color: #5c6b58; }
.factory-app-marks { display: flex; align-items: center; justify-content: flex-end; gap: 30px; min-height: 160px; margin-block: 12px 24px; }
.factory-app-marks > img { width: 138px; height: 138px; transform: rotate(-9deg); filter: drop-shadow(0 12px 12px #25372b12); }
.factory-slot-mark { font-family: 'Factory Museo', var(--studio-font); font-size: 47px; line-height: 1; font-weight: 700; transform: rotate(7deg); }
.factory-slot-mark > span { display: block; font: 600 7px/1.5 var(--studio-font); letter-spacing: 1px; margin-top: 10px; }
.factory-products { padding-block: 88px; }
.factory-product-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
.factory-product-group { min-width: 0; }
.factory-product-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 24px; }
.studio-site .factory-product-heading h3 { font-size: 26px; line-height: 1.2; font-weight: 600; letter-spacing: -.7px; }
.factory-product-heading h3 > span { display: block; font-size: 8px; letter-spacing: 1.3px; color: var(--studio-muted); font-weight: 400; margin-top: 10px; }
.factory-product-heading .text-link { font-size: 11px; gap: 16px; }
.factory-product-list { border-top: 1px solid var(--studio-line); }
.factory-product-row { display: grid; grid-template-columns: 68px minmax(0, 1fr) 24px; gap: 20px; align-items: center; padding-block: 24px; border-bottom: 1px solid var(--studio-line); }
.factory-product-icon { width: 68px; height: 68px !important; }
.factory-game-icon { object-fit: cover; border-radius: 12px; }
.factory-slot-icon { display: grid; place-items: center; background: #efefe6; color: #20281f; font: 700 37px/1 'Factory Museo', var(--studio-font); border-radius: 16px; }
.studio-site .factory-product-copy h4 { font-size: 18px; line-height: 1.5; font-weight: 600; letter-spacing: -.4px; margin: 0; word-break: keep-all; }
.factory-product-copy h4 > span { margin-left: 8px; font-size: 10px; font-weight: 400; color: var(--studio-muted); }
.studio-site .factory-product-copy p { font-size: 12px; color: var(--studio-muted); margin-top: 5px; word-break: keep-all; }
.factory-product-arrow { font-size: 23px; transition: transform .25s; }
.factory-product-row:is(:hover, :focus-visible) h4 { color: var(--studio-accent); }
.factory-signature { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 28px; margin-top: 64px; border-top: 1px solid #20281f30; }
.factory-signature > span { font-size: 11px; font-weight: 650; letter-spacing: 1.5px; }
.studio-site .factory-signature p { font-size: 12px; color: #626b5d; }

/* A calm, paper-like surface gives everyday apps their own space. */
@font-face { font-family: 'Factory Museo'; src: url('/assets/fonts/MuseoModerno_700Bold.ttf') format('truetype'); font-style: normal; font-weight: 700; font-display: swap; }
.factory-apps-page { --studio-bg: #f5f5ef; --studio-text: #22362c; --studio-muted: #647060; --studio-accent: #436249; --studio-line: #25372b2b; background: var(--studio-bg); }
.factory-apps-page .lf-header, .factory-apps-page .lf-footer { --studio-text: #f5f4ed; --studio-accent: #ff875f; --studio-line: #ffffff24; }
.factory-apps-page .text-link { border-color: #25372b55; }
.apps-heading { padding-block: 72px 52px; }
.apps-heading .eyebrow { color: #64755e; }
.studio-site .apps-heading h1 { font-size: clamp(44px, 5.2vw, 76px); font-weight: 650; letter-spacing: -.06em; line-height: 1.22; margin-block: 28px; word-break: keep-all; }
.apps-heading h1 > span { color: #718265; }
.apps-heading-bottom { display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.studio-site .apps-heading-bottom p { font-size: 14px; line-height: 1.9; color: var(--studio-muted); word-break: keep-all; }
.apps-heading-bottom > span { font-size: 9px; letter-spacing: 1.5px; color: var(--studio-muted); }
.apps-showcases { padding-bottom: 20px; }
.app-showcase { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--studio-line); padding-block: 48px; gap: clamp(32px, 5vw, 80px); align-items: center; }
.app-showcase-visual { position: relative; display: flex; flex-direction: column; justify-content: space-between; align-items: center; min-width: 0; min-height: 540px; padding: 28px; overflow: hidden; }
.app-showcase-monthwe .app-showcase-visual { background: #e4ebdb; }
.app-visual-index { align-self: start; font-size: 9px; letter-spacing: 1px; color: #5e7158; }
.app-showcase-visual .monthwe-brand-icon { width: 230px; height: 230px; margin-block: 32px; transform: rotate(-7deg); filter: drop-shadow(0 18px 16px #324e2920); transition: transform .4s; }
.monthwe-visual-caption { display: flex; align-items: end; justify-content: space-between; gap: 20px; width: 100%; }
.monthwe-visual-caption > strong { font-size: 30px; line-height: 1.3; letter-spacing: -1px; font-weight: 650; }
.monthwe-visual-caption > span { font-size: 9px; letter-spacing: 2px; }
.studio-site .app-status { display: flex; align-items: center; gap: 8px; font-size: 11px; color: #5c7154; margin-bottom: 20px; }
.studio-site .app-showcase h2 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 16px; font-size: clamp(30px, 3.4vw, 45px); font-weight: 700; letter-spacing: -1.8px; line-height: 1.35; }
.app-showcase h2 > span { font-size: 15px; font-weight: 400; letter-spacing: 0; color: var(--studio-muted); }
.studio-site .app-showcase h3 { font-size: 18px; font-weight: 550; letter-spacing: -.6px; line-height: 1.55; margin-top: 14px; word-break: keep-all; }
.studio-site .app-description { font-size: 14px; line-height: 1.95; color: var(--studio-muted); margin-top: 20px; max-width: 380px; word-break: keep-all; }
.app-feature-list { list-style: none; padding: 0; margin-block: 24px 28px; }
.app-feature-list li { font-size: 12px; padding-block: 6px; display: flex; align-items: center; gap: 12px; }
.app-feature-list li::before { content: '↗'; font-size: 13px; color: #6b7e5d; }
.app-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; }
.factory-button { display: inline-flex; justify-content: space-between; align-items: center; gap: 30px; padding: 14px 20px; background: #263e2d; color: #fff !important; font-size: 12px; font-weight: 600; min-height: 48px; transition: background .2s; }
.factory-button:hover { background: #46634b; }
.factory-button > span { font-size: 18px; }
.factory-inline-link { display: inline-flex; align-items: center; gap: 22px; font-size: 12px; padding-block: 8px; border-bottom: 1px solid #25372b70; }
.factory-inline-link:hover { color: #5d7d4c; }
.studio-site .app-byline { margin-top: 24px; font-size: 10px; color: #6f7867; }
.app-showcase-slot .app-showcase-visual { background: #e8e5df; color: #171e19; }
.app-showcase-slot .app-visual-index { color: #6a6d62; }
.slot-visual-word { font: 700 clamp(70px, 8.5vw, 124px)/1 'Factory Museo', sans-serif; letter-spacing: -5px; }
.slot-visual-dot { color: #7c8d69; }
.slot-visual-caption { display: grid; grid-template-columns: 1fr 1fr; width: 100%; gap: 12px; font-size: 9px; letter-spacing: 1.2px; }
.slot-visual-caption > span:nth-child(2) { text-align: right; }
.slot-visual-invite { grid-column: 1 / -1; padding-top: 16px; border-top: 1px solid #263e2d30; }
.apps-outro { border-top: 1px solid var(--studio-line); padding-block: 68px 90px; }
.apps-outro .eyebrow { color: var(--studio-muted); }
.studio-site .apps-outro h2 { font-size: clamp(30px, 3.3vw, 44px); font-weight: 600; line-height: 1.35; letter-spacing: -1.6px; margin-block: 24px; }

/* Monthwe keeps the product name in front and the maker in the signature. */
.app-back { display: inline-flex; gap: 14px; align-items: center; padding-top: 32px; font-size: 11px; color: var(--studio-muted) !important; }
.monthwe-hero { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 48px; padding-block: 48px 80px; }
.monthwe-hero .eyebrow { color: #6b7e5d; font-size: 9px; }
.studio-site .monthwe-hero h1 { font-size: clamp(38px, 4.5vw, 62px); font-weight: 650; line-height: 1.3; letter-spacing: -.065em; margin-top: 24px; word-break: keep-all; }
.monthwe-hero h1 span { color: #6c805e; }
.studio-site .monthwe-intro { color: var(--studio-muted); font-size: 14px; line-height: 1.9; margin-block: 26px; word-break: keep-all; }
.studio-site .monthwe-platforms { font-size: 10px; color: var(--studio-muted); margin-top: 18px; }
.monthwe-hero-visual { display: flex; align-items: center; flex-direction: column; justify-content: space-between; min-height: 520px; padding: 28px; background: #e4ebdb; }
.monthwe-visual-label { font-size: 8px; letter-spacing: 1px; color: #5e7158; align-self: start; }
.monthwe-hero-visual > img { width: 240px; height: 240px; margin-block: 32px; filter: drop-shadow(0 14px 16px #324e2915); }
.monthwe-wordmark { width: 100%; display: flex; justify-content: space-between; align-items: baseline; gap: 20px; }
.monthwe-wordmark > strong { font-size: 29px; font-weight: 650; letter-spacing: -1.4px; }
.monthwe-wordmark > span { font-size: 10px; letter-spacing: 2px; }
.monthwe-features { border-top: 1px solid var(--studio-line); padding-block: 64px; }
.monthwe-feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin-top: 40px; }
.monthwe-feature-grid article { border-top: 1px solid var(--studio-line); padding-top: 22px; }
.monthwe-feature-grid article > span { color: #6b7e5d; font-size: 9px; letter-spacing: 1px; }
.studio-site .monthwe-feature-grid h3 { font-size: 17px; font-weight: 600; letter-spacing: -.6px; line-height: 1.5; margin-block: 24px 14px; word-break: keep-all; }
.studio-site .monthwe-feature-grid p { font-size: 12px; line-height: 1.9; color: var(--studio-muted); word-break: keep-all; }
.monthwe-service { background: #e4ebdb; padding: 38px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.monthwe-service .eyebrow { color: #6b7e5d; font-size: 9px; }
.studio-site .monthwe-service h2 { font-size: 30px; font-weight: 600; line-height: 1.4; letter-spacing: -1.2px; margin-block: 14px 12px; }
.studio-site .monthwe-service p:not(.eyebrow) { font-size: 13px; color: var(--studio-muted); }
.monthwe-service-links { display: flex; flex-wrap: wrap; gap: 20px 30px; padding-block: 32px 64px; }
.monthwe-service-links a { font-size: 11px; color: var(--studio-muted); display: flex; gap: 14px; align-items: center; }

@media (hover: hover) and (pointer: fine) {
  .factory-paths:has(.factory-path:is(:hover, :focus-visible)) .factory-path:not(:is(:hover, :focus-visible)) { opacity: .62; filter: saturate(.55); }
  .factory-path:is(:hover, :focus-visible) .factory-path-art { transform: scale(1.065); }
  .factory-path:is(:hover, :focus-visible) .factory-path-copy { translate: 6px 0; }
  .factory-path:is(:hover, :focus-visible) .factory-path-arrow { transform: rotate(45deg); background: var(--team-accent); border-color: var(--team-accent); color: #101211; }
  .factory-path-apps:is(:hover, :focus-visible) .factory-path-arrow { color: #fff; }
  .factory-product-row:hover .factory-product-arrow { transform: translate(2px, -2px); }
  .app-showcase-visual:hover .monthwe-brand-icon { transform: rotate(0deg) translateY(-4px); }
}
@media (prefers-reduced-motion: no-preference) {
  .factory-intro-top, .factory-intro h1, .factory-intro-bottom { animation: factory-intro-enter 700ms var(--studio-ease) backwards; }
  .factory-intro h1 { animation-delay: 70ms; }
  .factory-intro-bottom { animation-delay: 140ms; }
  .factory-paths .factory-path { animation: factory-team-enter 800ms ease backwards; }
  .factory-paths .factory-path-apps { animation-delay: 100ms; }
  html[data-page-transition] :is(.factory-intro-top, .factory-intro h1, .factory-intro-bottom, .factory-paths .factory-path) { animation: none; }
  .factory-app-marks > img { animation: factory-icon-float 6s ease-in-out infinite; }
  .factory-slot-mark { animation: factory-icon-float 7s 500ms ease-in-out infinite reverse; }
  @keyframes factory-intro-enter { from { opacity: 0; translate: 0 16px; } }
  @keyframes factory-team-enter { from { opacity: 0; } }
  @keyframes factory-icon-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -9px; } }
}
@media (max-width: 1000px) {
  .factory-path { padding: 24px; min-height: 560px; }
  .factory-product-columns { gap: 32px; }
  .factory-product-row { grid-template-columns: 54px minmax(0, 1fr) 20px; gap: 14px; }
  .factory-product-icon { width: 54px; height: 54px !important; }
  .studio-site .factory-product-copy h4 { font-size: 16px; }
  .factory-app-marks { gap: 20px; }
  .factory-app-marks > img { width: 112px; height: 112px; }
  .factory-slot-mark { font-size: 37px; }
  .factory-intro-note, .apps-heading-bottom > span { display: none; }
  .app-showcase { gap: 32px; }
  .app-showcase-visual { min-height: 490px; padding: 22px; }
  .app-showcase-visual .monthwe-brand-icon { width: 190px; height: 190px; }
  .monthwe-visual-caption > strong { font-size: 26px; }
  .monthwe-visual-caption > span { display: none; }
  .monthwe-hero { gap: 32px; }
  .monthwe-hero-visual { min-height: 480px; padding: 22px; }
  .monthwe-hero-visual > img { width: 200px; height: 200px; }
  .monthwe-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
}
@media (max-width: 700px) {
  .factory-intro { padding-block: 36px; }
  .factory-intro-top .eyebrow { font-size: 9px; letter-spacing: 1.4px !important; }
  .studio-site .factory-intro h1 { font-size: clamp(45px, 10.5vw, 70px); margin-block: 28px 24px; letter-spacing: -.065em; }
  .factory-intro-bottom { align-items: end; gap: 16px; }
  .factory-intro-bottom p { font-size: 12px; }
  .factory-scroll { font-size: 10px; gap: 12px; }
  .factory-paths { grid-template-columns: 1fr; gap: 20px; }
  .factory-path { min-height: 520px; padding: 24px; }
  .studio-site .factory-path h2 { font-size: 72px; }
  .factory-path h2 > span { font-size: 19px; }
  .factory-app-marks { justify-content: center; gap: 40px; }
  .factory-app-marks > img { width: 128px; height: 128px; }
  .factory-slot-mark { font-size: 45px; }
  .factory-products { padding-block: 60px; }
  .factory-products .section-heading { align-items: start; flex-direction: column; gap: 18px; }
  .factory-product-columns { grid-template-columns: 1fr; gap: 36px; }
  .factory-product-row { gap: 16px; padding-block: 22px; }
  .factory-slot-icon { font-size: 30px; border-radius: 13px; }
  .studio-site .factory-product-copy h4 { font-size: 17px; }
  .studio-site .factory-product-copy p { font-size: 11px; }
  .factory-signature { align-items: start; flex-direction: column; gap: 12px; margin-top: 40px; }
  .apps-heading { padding-block: 44px 32px; }
  .apps-heading .eyebrow { font-size: 9px; }
  .studio-site .apps-heading h1 { font-size: clamp(33px, 8.1vw, 52px); margin-block: 24px; }
  .studio-site .apps-heading-bottom p { font-size: 12px; }
  .app-showcase { grid-template-columns: 1fr; gap: 30px; padding-block: 28px 40px; }
  .app-showcase-visual { min-height: 440px; padding: 24px; }
  .app-showcase-visual .monthwe-brand-icon { width: 200px; height: 200px; margin-block: 28px; }
  .monthwe-visual-caption > strong { font-size: 29px; }
  .monthwe-visual-caption > span { display: block; }
  .slot-visual-word { font-size: 100px; }
  .studio-site .app-showcase h2 { font-size: 35px; }
  .studio-site .app-showcase h3 { font-size: 18px; }
  .studio-site .app-description { max-width: none; font-size: 13px; }
  .apps-outro { padding-block: 44px 64px; }
  .apps-outro .eyebrow { font-size: 9px; }
  .app-back { padding-top: 24px; }
  .monthwe-hero { grid-template-columns: 1fr; gap: 36px; padding-block: 32px 48px; }
  .studio-site .monthwe-hero h1 { font-size: clamp(37px, 9.2vw, 54px); }
  .studio-site .monthwe-intro { font-size: 13px; }
  .monthwe-hero-visual { min-height: 430px; }
  .monthwe-hero-visual > img { width: 220px; height: 220px; }
  .monthwe-features { padding-block: 44px; }
  .monthwe-feature-grid { gap: 24px; }
  .studio-site .monthwe-feature-grid h3 { font-size: 16px; }
  .studio-site .monthwe-feature-grid p { font-size: 12px; }
  .monthwe-feature-grid br { display: none; }
  .monthwe-service { align-items: start; flex-direction: column; padding: 26px; }
  .studio-site .monthwe-service h2 { font-size: 26px; }
  .monthwe-service-links { gap: 20px; padding-bottom: 48px; }
}
@media (max-width: 370px) {
  .factory-scroll { display: none; }
  .factory-app-marks { gap: 25px; }
  .factory-app-marks > img { width: 110px; height: 110px; }
  .factory-slot-mark { font-size: 39px; }
  .studio-site .factory-path h2 { font-size: 62px; }
  .monthwe-visual-caption > strong { font-size: 25px; }
  .monthwe-feature-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .factory-path, .factory-path *, .factory-product-row *, .app-showcase-visual *, .factory-button { transition: none !important; }
}
