/* Approved portfolio wall: only transforms move; both loop halves have identical geometry. */
[data-hero-work-grid] .hero-scene { position:relative; isolation:isolate; overflow:visible; }
[data-hero-work-grid] .hero-grid { z-index:2; }
[data-hero-work-grid] .hero-copy.parallax-layer { translate:none !important; will-change:auto; }
[data-hero-work-grid] .htc-entry-reflection { z-index:1; }
[data-hero-work-grid] .htc-entry-curtain { z-index:3; }
[data-hero-work-grid] .htc-entry-caption { z-index:4; }
[data-hero-work-grid] .htc-entry-skip { z-index:5; }
[data-hero-work-grid] .hero-work-grid { position:absolute; inset:0; z-index:0; overflow:hidden; pointer-events:none; background:#10100f; }
[data-hero-work-grid] .hero-work-grid__board { position:absolute; inset:-330px -190px; display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); align-items:start; gap:14px; opacity:.68; transform:rotate(-12deg); }
[data-hero-work-grid] .hero-work-grid__column { min-width:0; }
[data-hero-work-grid] .hero-work-grid__column:nth-child(2n) { margin-top:-140px; }
[data-hero-work-grid] .hero-work-grid__column:nth-child(3) { margin-top:70px; }
[data-hero-work-grid] .hero-work-grid__track { animation:hero-work-grid-drift 44s linear infinite; animation-play-state:paused; }
[data-hero-work-grid] .hero-work-grid__column:nth-child(2n) .hero-work-grid__track { animation-direction:reverse; animation-duration:51.04s; animation-delay:-12s; }
[data-hero-work-grid] .hero-work-grid__column:nth-child(3) .hero-work-grid__track { animation-delay:-21s; }
[data-hero-work-grid] .hero-work-grid__column:nth-child(5) .hero-work-grid__track { animation-delay:-8s; }
[data-hero-work-grid] .hero-work-grid__group { display:grid; gap:14px; padding-bottom:14px; }
[data-hero-work-grid] .hero-work-grid__photo { display:block; width:100%; height:auto; aspect-ratio:3/4; object-fit:cover; border-radius:12px; background:#242424; }
[data-hero-work-grid] .hero-work-grid__photo:nth-child(n+5) { display:none; }
[data-hero-work-grid] .hero-work-grid__shade { position:absolute; inset:0; background:radial-gradient(ellipse 52% 64% at 50% 49%,rgba(8,8,8,.94) 0%,rgba(8,8,8,.83) 42%,rgba(8,8,8,.17) 100%),linear-gradient(180deg,rgba(0,0,0,.38),transparent 22%,transparent 75%,rgba(0,0,0,.65)); }
[data-hero-work-grid] .hero-work-grid.is-running .hero-work-grid__track { animation-play-state:running; will-change:transform; }
[data-hero-work-grid] .hero-work-grid__pause { position:absolute; z-index:2; left:24px; bottom:24px; display:inline-flex; align-items:center; justify-content:center; min-height:44px; max-width:calc(100% - 48px); padding:10px 16px; border:1px solid #77776d; border-radius:30px; background:rgba(12,12,12,.92); color:#faf8ed; font:500 11px/1.4 var(--body); text-transform:none; letter-spacing:0; cursor:pointer; }
[data-hero-work-grid] .htc-entry-stage > .hero-work-grid__pause { bottom:112px; }
[data-hero-work-grid] .hero-work-grid__pause:hover { scale:1; background:#20201c; }
[data-hero-work-grid] .hero-work-grid__pause:disabled { cursor:default; opacity:.8; }
[data-hero-work-grid][data-hero-intro-active="true"] .hero-work-grid__pause { visibility:hidden; pointer-events:none; }
[data-hero-work-grid]:not(.htc-home-entry) .hero-scene > .hero-grid { min-height:max(650px,calc(100svh - 82px)); padding-block:68px 90px; }
[data-hero-work-grid]:not(.htc-home-entry) h1 { font-size:clamp(40px,8vw,84px); line-height:1.04; margin-bottom:20px; }
[data-hero-work-grid]:not(.htc-home-entry) .hero-tagline { margin:0 0 23px; font-size:clamp(21px,3.25vw,34px); line-height:1.15; }
[data-hero-work-grid]:not(.htc-home-entry) .hero-lead { font-size:16px; line-height:1.6; margin-bottom:26px; }
[data-hero-work-grid]:not(.htc-home-entry) .hero-copy > p:not(.eyebrow):not(.hero-tagline):not(.hero-lead) { font-size:14px; line-height:1.5; margin-bottom:18px; }
[data-hero-work-grid]:not(.htc-home-entry) .hero-meta { margin-top:26px; }
@keyframes hero-work-grid-drift { to { transform:translate3d(0,-50%,0); } }
@media (max-width:760px) {
  [data-hero-work-grid] .hero-work-grid__board { inset:-260px -175px; }
}
@media (max-width:600px) {
  /* Keep the hero actions clear on small screens; an already-open conversation stays visible. */
  body.hero-work-grid-in-view .happy-chat__toggle[aria-expanded="false"] { visibility:hidden; pointer-events:none; }
  [data-hero-work-grid] .hero-work-grid__pause { left:18px; max-width:calc(100% - 36px); }
  [data-hero-work-grid]:not(.htc-home-entry) .hero-scene > .hero-grid { padding-block:58px 100px; }
  [data-hero-work-grid]:not(.htc-home-entry) h1 { font-size:clamp(32px,10.5vw,42px); }
  [data-hero-work-grid]:not(.htc-home-entry) .hero-tagline { font-size:clamp(18px,5.8vw,24px); }
  [data-hero-work-grid]:not(.htc-home-entry) .hero-lead { font-size:16px; line-height:1.45; margin-bottom:16px; }
  [data-hero-work-grid]:not(.htc-home-entry) .hero-copy > p:not(.eyebrow):not(.hero-tagline):not(.hero-lead) { font-size:13px; margin-bottom:16px; }
}
@media (max-width:480px) {
  [data-hero-work-grid] .hero-work-grid__board { inset:-260px -190px; gap:10px; }
  [data-hero-work-grid] .hero-work-grid__group { gap:10px; padding-bottom:10px; }
  [data-hero-work-grid] .hero-work-grid__photo { border-radius:8px; }
  [data-hero-work-grid] .hero-work-grid__photo:nth-child(n+5) { display:block; }
  [data-hero-work-grid] .hero-work-grid__shade { background:radial-gradient(ellipse 70% 64% at 50% 48%,rgba(8,8,8,.93),rgba(8,8,8,.79) 46%,rgba(8,8,8,.24) 100%),linear-gradient(180deg,rgba(0,0,0,.25),transparent 25%,transparent 74%,rgba(0,0,0,.6)); }
}
@media (prefers-reduced-motion:reduce) {
  [data-hero-work-grid] .hero-work-grid__track { animation:none; will-change:auto !important; }
}
