/* Approved production/platform opening. Shared site tokens remain canonical. */
.hm-opening { --home-header-height: 90px; --home-content-min: 560px; display: grid; grid-template-columns: 1fr 1fr; height: max(calc(100svh - var(--home-header-height)), var(--home-content-min)); background: var(--ink); }
.hm-panel { position: relative; isolation: isolate; min-width: 0; min-height: 0; overflow: hidden; color: #fffdf7; }
.hm-production { display: flex; align-items: flex-end; padding: clamp(30px, 5vh, 64px) clamp(24px, 4vw, 64px); }
.hm-production > video { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 25% center; }
.hm-production::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgb(10 14 15 / .35), rgb(10 14 15 / .04) 36%, rgb(10 14 15 / .16) 50%, rgb(10 14 15 / .86)); }
.hm-production-copy { width: 100%; min-width: 0; }
.home-page .hm-production-copy h1 { max-width: none; margin: 0 0 26px; font: 400 clamp(46px, 4.5vw, 74px)/1.02 var(--editorial-face); letter-spacing: -.025em; text-wrap: initial; }
.hm-production-copy p { max-width: none; margin: 14px 0; font-size: 18px; line-height: 1.5; }
.hm-production-copy .hm-founder { max-width: 54ch; color: #eee8dd; font-size: 15px; }
.hm-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 24px; padding-right: 44px; }
.hm-panel .hm-actions .hm-cta { margin-top: 0; max-width: 100%; }
.hm-service-link { display: inline-flex; align-items: center; min-height: 44px; color: inherit; font-size: 16px; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: rgb(255 253 247 / .5); }
.hm-service-link:hover { text-decoration-color: currentColor; }
.hm-panel .hm-cta { display: inline-flex; align-items: center; gap: 20px; min-height: 48px; max-width: calc(100% - 60px); padding: 12px 18px; margin-top: 18px; border-radius: 2px; font-size: 16px; line-height: 1.35; }
.hm-platform { display: flex; flex-direction: column; justify-content: space-between; background: #182423 url('/assets/media/home/workflow-background.jpg') center / cover; }
.hm-platform-copy { flex: 0 0 auto; min-width: 0; padding: 32px clamp(24px, 3vw, 48px) 18px; background: rgb(24 36 35 / .28); }
.hm-platform-copy h2 { max-width: none; margin: 0 0 22px; font: 400 clamp(34px, 2.6vw, 42px)/1.08 var(--editorial-face); letter-spacing: -.015em; text-wrap: initial; }
.hm-platform-copy p { max-width: none; margin: 14px 0; font-size: 16px; line-height: 1.45; }
.hm-platform-copy .hm-cta { max-width: 100%; margin-top: 8px; background: var(--room); color: var(--ink); }
.hm-platform-copy .hm-cta:hover { background: var(--room-raised); }
.hm-workflow-frame { position: relative; flex: 1 1 auto; min-height: 220px; margin: 0; background: #182423; }
.hm-workflow-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.hm-preview-toggle { position: absolute; right: 20px; bottom: 20px; z-index: 2; display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 2px; background: rgb(0 0 0 / .65); color: #fffdf7; cursor: pointer; }
.hm-preview-toggle[hidden] { display: none; }
.hm-preview-toggle:hover { background: rgb(0 0 0 / .85); }
.hm-preview-toggle:focus-visible, .hm-panel a:focus-visible { outline: 2px solid #fffdf7; outline-offset: 4px; }
.hm-preview-toggle svg { grid-area: 1 / 1; }
.hm-preview-toggle .hm-play-icon, .hm-preview-toggle[data-state='paused'] .hm-pause-icon { display: none; }
.hm-preview-toggle[data-state='paused'] .hm-play-icon { display: block; }
.hm-workflow-note { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 1100px) {
  .hm-opening { grid-template-columns: 1fr; height: auto; }
  .hm-production { min-height: max(620px, calc(100svh - var(--home-header-height))); }
  .hm-platform { display: block; background: var(--room-raised); color: var(--ink); }
  .hm-platform-copy { padding: 32px 26px; background: transparent; }
  .hm-platform-copy h2 { font-size: 40px; }
  .hm-platform-copy p { font-size: 17px; line-height: 1.5; }
  .hm-platform-copy .hm-cta { background: var(--light); color: #fffdf7; }
  .hm-platform-copy .hm-cta:hover { background: var(--accent-hover); }
  .hm-workflow-frame { width: 100%; min-height: 0; aspect-ratio: 960/676; }
}
@media (max-width: 699px) {
  .hm-production { min-height: calc(100svh - var(--home-header-height)); padding: 44px 26px 34px; }
  .hm-production > video { object-position: center; }
  .home-page .hm-production-copy h1 { font-size: clamp(42px, 13.8vw, 54px); }
  .hm-production-copy p { font-size: 17px; }
  .hm-production-copy .hm-founder { font-size: 15px; }
  .hm-platform-copy { padding: 30px 24px; }
  .hm-platform-copy h2 { font-size: 38px; }
  .hm-panel .hm-cta { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
