/* HOME · THE WORK — a showreel screen and five filmed frames. Classes: hw-*. Read DESIGN.md first. */
@property --hw-s{syntax:"<integer>";inherits:false;initial-value:0}
@property --hw-f{syntax:"<integer>";inherits:false;initial-value:0}

.hw{--hw-gap:20px;--hw-on:.9s;--hw-off:.45s;isolation:isolate}
.hw-head{margin-bottom:56px}

/* ───────────── A. the showreel screen ───────────── */
.hw-reel-wrap{position:relative;margin-bottom:var(--hw-gap)}
/* light from the screen spills onto the floor under it */
.hw-reel-wrap::after{content:"";position:absolute;z-index:-1;left:4%;right:4%;top:calc(100% - 2px);height:240px;pointer-events:none;
  background:radial-gradient(52% 100% at 50% 0%,rgb(var(--L) / .34),rgb(var(--L) / .1) 36%,transparent 74%)}
.hw-reel{padding:10px;border-radius:28px;
  box-shadow:inset 0 1px 0 oklch(1 0 0 / .3),inset 0 0 0 1px oklch(1 0 0 / .075),inset 0 -40px 60px -40px rgb(0 0 0 / .55),0 40px 80px -40px #000,0 1px 0 rgb(var(--L) / .1)}
.hw-screen{aspect-ratio:16/9;border-radius:19px;background:#060606}
.hw-loop{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hw-screen[data-loop]:not([data-loop=""]) .hw-wait{display:none}

/* the waiting screen */
.hw-wait{position:absolute;inset:0;overflow:hidden;border-radius:inherit}
.hw-wait>i{position:absolute;inset:0;pointer-events:none}
/* far away: the edit, filmed at an angle and out of focus */
.hw-plane{position:absolute;left:50%;top:50%;width:118cqi;aspect-ratio:16/9;
  transform:translate(-50%,-50%) perspective(150cqi) rotateX(56deg) rotateZ(-17deg) translate3d(3cqi,5cqi,0);
  filter:grayscale(1) brightness(1.15) contrast(1.2);
  mask-image:radial-gradient(60% 62% at 50% 52%,#000 0%,rgb(0 0 0 / .7) 45%,transparent 92%)}
.hw-amb{width:100%;height:100%;object-fit:cover}
.hw-dof{backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px)}
.hw-dof--far{mask-image:linear-gradient(180deg,#000 0%,#000 26%,transparent 54%)}
.hw-dof--near{backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);mask-image:linear-gradient(0deg,#000 0%,transparent 26%)}
.hw-dark{background:radial-gradient(74% 84% at 50% 58%,transparent 0%,rgb(6 6 6 / .32) 52%,rgb(6 6 6 / .94) 100%),linear-gradient(180deg,rgb(6 6 6 / .55) 0%,transparent 30%)}
/* guide lines: thirds, fading toward the edges */
.hw-wait>.hw-guides{background:linear-gradient(90deg,transparent calc(33.333% - .5px),rgb(var(--L) / .13) calc(33.333% - .5px),rgb(var(--L) / .13) calc(33.333% + .5px),transparent calc(33.333% + .5px),transparent calc(66.666% - .5px),rgb(var(--L) / .13) calc(66.666% - .5px),rgb(var(--L) / .13) calc(66.666% + .5px),transparent calc(66.666% + .5px)),linear-gradient(180deg,transparent calc(33.333% - .5px),rgb(var(--L) / .13) calc(33.333% - .5px),rgb(var(--L) / .13) calc(33.333% + .5px),transparent calc(33.333% + .5px),transparent calc(66.666% - .5px),rgb(var(--L) / .13) calc(66.666% - .5px),rgb(var(--L) / .13) calc(66.666% + .5px),transparent calc(66.666% + .5px));mask-image:radial-gradient(60% 70% at 50% 50%,#000 0%,rgb(0 0 0 / .5) 60%,transparent 100%)}
/* the lamp is warm, the film has not started */
.hw-glow{background:radial-gradient(46% 56% at 50% 44%,rgb(var(--L) / .2),rgb(var(--L) / .06) 50%,transparent 80%);animation:hw-breathe 7s var(--ease-io) infinite alternate;animation-play-state:paused}
@keyframes hw-breathe{from{opacity:.55}to{opacity:1}}
.hw-wait>.hw-sweep{inset:-20% auto -20% 0;width:34%;translate:-140% 0;rotate:14deg;filter:blur(22px);
  background:linear-gradient(90deg,transparent,rgb(var(--L) / .05) 30%,rgb(var(--L) / .2) 50%,rgb(var(--L) / .05) 70%,transparent);
  animation:hw-sweep 11s var(--ease-io) -3.4s infinite;animation-play-state:paused}
@keyframes hw-sweep{0%{translate:-140% 0}62%,100%{translate:440% 0}}

/* viewfinder */
.hw-vf{position:absolute;inset:clamp(14px,3.6cqi,48px);--c:rgb(var(--L) / .95);--l:clamp(12px,2cqi,26px);
  background:
    linear-gradient(var(--c),var(--c)) left top / var(--l) 1px no-repeat,linear-gradient(var(--c),var(--c)) left top / 1px var(--l) no-repeat,
    linear-gradient(var(--c),var(--c)) right top / var(--l) 1px no-repeat,linear-gradient(var(--c),var(--c)) right top / 1px var(--l) no-repeat,
    linear-gradient(var(--c),var(--c)) left bottom / var(--l) 1px no-repeat,linear-gradient(var(--c),var(--c)) left bottom / 1px var(--l) no-repeat,
    linear-gradient(var(--c),var(--c)) right bottom / var(--l) 1px no-repeat,linear-gradient(var(--c),var(--c)) right bottom / 1px var(--l) no-repeat;
  filter:drop-shadow(0 0 6px rgb(var(--L) / .6))}
.hw-label,.hw-tc{position:absolute;top:clamp(12px,2cqi,26px);color:var(--text);text-shadow:0 0 18px rgb(var(--L) / .5)}
.hw-label{left:clamp(14px,2.2cqi,30px);display:flex;align-items:center;gap:10px}
.hw-tc{right:clamp(14px,2.2cqi,30px);color:var(--dim)}
.hw-tc::after{counter-reset:hws var(--hw-s) hwf var(--hw-f);content:"00:00:" counter(hws,decimal-leading-zero) ":" counter(hwf,decimal-leading-zero);
  animation:hw-sec 60s steps(60) infinite,hw-fr 1s steps(24) infinite;animation-play-state:paused}
@keyframes hw-sec{to{--hw-s:60}}
@keyframes hw-fr{to{--hw-f:24}}
.hw-pip{width:6px;height:6px;border-radius:99px;flex:none;background:var(--flame);box-shadow:0 0 6px rgb(var(--F) / .95),0 0 16px rgb(var(--F) / .6);animation:hw-pip 2.4s var(--ease-io) infinite alternate;animation-play-state:paused}
@keyframes hw-pip{from{opacity:1}to{opacity:.35}}
.hw-cross{position:absolute;left:50%;top:50%;width:clamp(22px,3.4cqi,44px);aspect-ratio:1;translate:-50% -50%;
  background:linear-gradient(rgb(var(--L) / .7),rgb(var(--L) / .7)) center / 100% 1px no-repeat,linear-gradient(rgb(var(--L) / .7),rgb(var(--L) / .7)) center / 1px 100% no-repeat}
/* the timeline along the bottom, with the one flame playhead */
.hw-track{position:absolute;left:clamp(14px,2.2cqi,30px);right:clamp(14px,2.2cqi,30px);bottom:clamp(14px,2.2cqi,30px);height:9px;
  background:linear-gradient(rgb(var(--L) / .22),rgb(var(--L) / .22)) left bottom / 100% 1px no-repeat,
    repeating-linear-gradient(90deg,rgb(var(--L) / .5) 0 1px,transparent 1px 2.5%) left bottom / 100% 5px no-repeat,
    repeating-linear-gradient(90deg,rgb(var(--L) / .7) 0 1px,transparent 1px 12.5%) left bottom / 100% 9px no-repeat}
.hw-rail{position:absolute;inset:0;translate:8% 0;animation:hw-run 60s linear infinite;animation-play-state:paused}
@keyframes hw-run{from{translate:0 0}to{translate:100% 0}}
.hw-ph{position:absolute;left:-1px;bottom:-3px;width:2px;height:22px;border-radius:2px;background:var(--flame);box-shadow:0 0 6px rgb(var(--F) / .95),0 0 18px rgb(var(--F) / .7),0 0 44px rgb(var(--F) / .4)}
.hw-ph::after{content:"";position:absolute;right:1px;bottom:3px;width:min(8cqi,90px);height:1px;background:linear-gradient(90deg,transparent,rgb(var(--F) / .9));box-shadow:0 0 8px rgb(var(--F) / .6)}
.is-live .hw-glow,.is-live .hw-sweep,.is-live .hw-tc::after,.is-live .hw-pip,.is-live .hw-rail{animation-play-state:running}

/* ───────────── B. the five frames ───────────── */
.hw-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:var(--hw-gap);align-items:stretch}
.hw-card{display:grid;grid-template-rows:subgrid;row-gap:0;padding:10px}
.hw-card--a{grid-area:1 / 1 / 3 / 8}
.hw-card--b{grid-area:1 / 8 / 3 / 13}
.hw-card--c{grid-area:4 / 1 / 6 / 5}
.hw-card--d{grid-area:4 / 5 / 6 / 9}
.hw-card--e{grid-area:4 / 9 / 6 / 13}
.hw-card--c,.hw-card--d,.hw-card--e{margin-top:var(--hw-gap)}
.hw-panel[data-k=asset],.hw-panel[data-k=debrief]{grid-area:3 / 1 / 4 / -1}
.hw-panel[data-k=folkuslab],.hw-panel[data-k=filmlab],.hw-panel[data-k=eye]{grid-area:6 / 1 / 7 / -1}  /* 12-02: Oryn case (asset) moved to slot a, The Film Lab to slot d */
.hw-panel[data-k=asset]{--cx:28.8%;--cw:57.6%}
.hw-panel[data-k=debrief]{--cx:79.6%;--cw:40.8%}
.hw-panel[data-k=folkuslab]{--cx:16.2%;--cw:32.3%}
.hw-panel[data-k=filmlab]{--cx:50%;--cw:32.3%}
.hw-panel[data-k=eye]{--cx:83.8%;--cw:32.3%}

/* a little more light on the glass than the base tile */
.hw-card{box-shadow:inset 0 1px 0 oklch(1 0 0 / .3),inset 0 0 0 1px oklch(1 0 0 / .085),inset 0 -40px 60px -40px rgb(0 0 0 / .55),0 40px 80px -40px #000}
.js .hw-card[data-lit],.js .hw-reel-wrap[data-lit]{transition:opacity 1.1s var(--ease-out),filter 1.3s var(--ease-out),transform .7s var(--ease-out),box-shadow .5s var(--ease-out);
  transition-delay:calc(var(--i,0) * 90ms),calc(var(--i,0) * 90ms),0s,0s}
.hw-card:has(.hw-open:focus-visible){outline:2px solid rgb(var(--L));outline-offset:4px}
.hw-card:has(.hw-open:focus-visible)::before,.hw-card:has(.hw-open:focus-visible)::after{opacity:1}
.hw-open:focus-visible{outline:none}

/* the screen in each tile */
.hw-stage{aspect-ratio:16/9;background:#080808}
.hw-card--b .hw-stage{aspect-ratio:auto;height:100%;min-height:260px}
.hw-stage::after{content:"";position:absolute;inset:0;z-index:3;pointer-events:none;border-radius:inherit;
  background:linear-gradient(118deg,rgb(var(--L) / .09) 0%,rgb(var(--L) / .02) 20%,transparent 34%),
    linear-gradient(180deg,transparent 46%,rgb(0 0 0 / .62) 100%),
    radial-gradient(130% 110% at 50% 0%,transparent 42%,rgb(0 0 0 / .5) 100%);
  box-shadow:inset 0 0 0 1px oklch(1 0 0 / .07);transition:opacity var(--hw-off) var(--ease-in)}
.hw-media{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
  filter:grayscale(.78) brightness(.74) contrast(1.16);scale:1.002;
  transition:filter var(--hw-off) var(--ease-in),scale 1.1s var(--ease-io)}
.hw-card--a .hw-media{object-position:50% 40%}
.hw-card--a .hw-stage::after{background:linear-gradient(118deg,rgb(var(--L) / .09) 0%,rgb(var(--L) / .02) 20%,transparent 34%),linear-gradient(180deg,transparent 46%,rgb(0 0 0 / .62) 100%),radial-gradient(95% 110% at 26% 30%,transparent 30%,rgb(0 0 0 / .66) 100%)}
.hw-card--e .hw-media{object-position:50% 46%}

/* a set: a far screen out of focus, a near frame in focus */
.hw-far{position:absolute;left:-34%;top:-2%;width:150%;max-width:none;height:auto;aspect-ratio:16/9;object-fit:cover;
  transform:perspective(150cqi) rotateX(52deg) rotateZ(-18deg);
  filter:grayscale(1) brightness(.5) contrast(1.15) blur(.5cqi);
  mask-image:radial-gradient(58% 62% at 46% 50%,#000 10%,rgb(0 0 0 / .6) 50%,transparent 100%);
  transition:filter var(--hw-off) var(--ease-in),scale 1.1s var(--ease-io)}
.hw-card--c .hw-far{left:-18%;top:-38%;width:136%;filter:grayscale(1) brightness(.62) contrast(1.1) blur(.7cqi)}
.hw-near{position:absolute;z-index:2;overflow:hidden;border-radius:max(6px,1.7cqi);background:#0a0a0a;
  box-shadow:0 0 0 1px oklch(1 0 0 / .14),0 5cqi 9cqi -2cqi #000,0 1cqi 2cqi rgb(0 0 0 / .6);
  transition:box-shadow var(--hw-off) var(--ease-in),translate 1.1s var(--ease-io)}
.hw-near::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;box-shadow:inset 0 1px 0 rgb(var(--L) / .5),inset 0 0 0 1px rgb(var(--L) / .07)}
.hw-near::before{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(168deg,transparent 18%,rgb(0 0 0 / .62) 100%);transition:opacity var(--hw-off) var(--ease-in)}
.hw-near>img,.hw-near>video{width:100%;height:100%;object-fit:cover;filter:grayscale(.75) brightness(.74) contrast(1.08);transition:filter var(--hw-off) var(--ease-in)}
.hw-near--solo{left:64%;top:9%;height:82%;aspect-ratio:9/16;translate:-50% 0}
.hw-card--c .hw-near--h{left:6%;top:50%;width:61%;aspect-ratio:16/9;translate:0 -50%}
.hw-card--c .hw-near--v{right:7%;top:9%;height:82%;aspect-ratio:9/17.6}
.hw-card--c .hw-near--v>video{object-position:50% 60%}
/* the clip's own playhead: dark at rest, flame when it runs */
.hw-play{position:absolute;left:0;right:0;bottom:0;height:2px;z-index:2;background:rgb(var(--L) / .14);overflow:hidden}
.hw-play::after{content:"";position:absolute;inset:0;transform-origin:0 50%;scale:.04 1;background:var(--flame);box-shadow:0 0 8px rgb(var(--F) / .9);opacity:0;transition:opacity .4s var(--ease-out);
  animation:hw-fill var(--dur,10s) linear infinite;animation-play-state:paused}
@keyframes hw-fill{from{scale:0 1}to{scale:1 1}}
/* one pass of light across the glass when the screen wakes */
.hw-sw{position:absolute;z-index:4;inset:-20% auto -20% 0;width:38%;translate:-160% 0;rotate:14deg;pointer-events:none;filter:blur(1.4cqi);opacity:0;
  background:linear-gradient(90deg,transparent,rgb(var(--L) / .22) 50%,transparent)}
@keyframes hw-pass{0%{translate:-160% 0;opacity:1}100%{translate:420% 0;opacity:1}}

/* text under the screen */
.hw-info{display:flex;flex-direction:column;gap:8px;padding:20px 14px 12px}
.hw-top{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.hw-open{text-align:left;letter-spacing:inherit;line-height:inherit;font-weight:inherit;transition:text-shadow .6s var(--ease-out)}
.hw-desc{font-size:15px;line-height:23px;max-width:56ch}
.hw-card--a .hw-desc,.hw-card--b .hw-desc,.hw-reel .hw-desc{font-size:16px;line-height:25px}
.hw-tag{display:flex;flex-wrap:wrap;gap:6px 14px;margin-top:auto;padding-top:16px}
.hw-tag::before{content:"";flex:0 0 100%;height:1px;margin-bottom:8px;background:linear-gradient(90deg,oklch(1 0 0 / .22),oklch(1 0 0 / .07) 70%,transparent)}
.hw-tag span+span{padding-left:14px;border-left:1px solid oklch(1 0 0 / .18)}
/* the + from the hero pill: turns to a close mark when the tile is open */
.hw-plus{position:relative;flex:none;width:32px;height:32px;margin-top:-2px;border-radius:99px;color:var(--dim);
  background:linear-gradient(180deg,oklch(1 0 0 / .1),oklch(1 0 0 / .03));
  box-shadow:inset 0 1px 0 oklch(1 0 0 / .2),inset 0 0 0 1px oklch(1 0 0 / .08);
  transition:rotate .6s var(--ease-out),color .4s var(--ease-out),box-shadow .4s var(--ease-out)}
.hw-plus::before,.hw-plus::after{content:"";position:absolute;left:50%;top:50%;translate:-50% -50%;background:currentColor;border-radius:2px}
.hw-plus::before{width:12px;height:1.5px}
.hw-plus::after{width:1.5px;height:12px}

/* lit: hover, keyboard focus, or open */
.hw-card:is(:hover,.is-hover,:has(.hw-open[aria-expanded="true"])) .hw-media{filter:none;scale:1.075;transition:filter var(--hw-on) var(--ease-out),scale 5s var(--ease-out)}
.hw-card:is(:hover,.is-hover,:has(.hw-open[aria-expanded="true"])) .hw-far{filter:grayscale(.15) brightness(.78) blur(.5cqi);scale:1.06;transition:filter var(--hw-on) var(--ease-out),scale 5s var(--ease-out)}
.hw-card:is(:hover,.is-hover,:has(.hw-open[aria-expanded="true"])) .hw-near>:is(img,video){filter:none;transition:filter var(--hw-on) var(--ease-out)}
.hw-card:is(:hover,.is-hover,:has(.hw-open[aria-expanded="true"])) .hw-near{box-shadow:0 0 0 1px rgb(var(--L) / .3),0 5cqi 9cqi -2cqi #000,0 0 12cqi rgb(var(--L) / .22);transition:box-shadow var(--hw-on) var(--ease-out),translate 1.6s var(--ease-out)}
.hw-card:is(:hover,.is-hover,:has(.hw-open[aria-expanded="true"])) .hw-near--solo{translate:-50% -1.5%}
.hw-card:is(:hover,.is-hover,:has(.hw-open[aria-expanded="true"])) .hw-near::before{opacity:0;transition:opacity var(--hw-on) var(--ease-out)}
.hw-card:is(:hover,.is-hover,:has(.hw-open[aria-expanded="true"])) .hw-stage::after{opacity:.45;transition:opacity var(--hw-on) var(--ease-out)}
.hw-card:is(:hover,.is-hover,:has(.hw-open[aria-expanded="true"])) .hw-play::after{opacity:1;animation-play-state:running}
.hw-card:is(:hover,.is-hover) .hw-sw{animation:hw-pass 1.5s var(--ease-out) both}
.hw-card:is(:hover,.is-hover,:has(.hw-open[aria-expanded="true"])) .hw-open{text-shadow:0 0 32px rgb(var(--L) / .45)}
:is(.hw-card,.hw-reel):is(:hover,.is-hover,:has(.hw-open[aria-expanded="true"])) .hw-plus{color:var(--text);box-shadow:inset 0 1px 0 oklch(1 0 0 / .4),inset 0 0 0 1px oklch(1 0 0 / .2),0 0 20px rgb(var(--L) / .16)}
/* open */
:is(.hw-card,.hw-reel):has(.hw-open[aria-expanded="true"]) .hw-plus{rotate:45deg}
.hw-card:has(.hw-open[aria-expanded="true"]){box-shadow:inset 0 1px 0 oklch(1 0 0 / .36),inset 0 0 0 1px oklch(1 0 0 / .12),inset 0 -40px 60px -40px rgb(0 0 0 / .4),0 40px 80px -40px #000}
/* the others step back while one is open */
.hw-grid:has(.hw-open[aria-expanded="true"]) .hw-card:not(:has(.hw-open[aria-expanded="true"])):not(:hover,.is-hover) .hw-stage{opacity:.6}
.hw-stage{transition:opacity .6s var(--ease-out)}

/* ───────────── the story, in the light under the open tile ───────────── */
.hw-panel{display:grid;grid-template-rows:0fr;visibility:hidden;transition:grid-template-rows .45s var(--ease-in),visibility 0s .45s}
:is(.hw-card,.hw-reel-wrap):has(.hw-open[aria-expanded="true"])+.hw-panel{grid-template-rows:1fr;visibility:visible;transition:grid-template-rows .8s var(--ease-out),visibility 0s}
.hw-clip{position:relative;min-height:0;overflow:hidden}
.hw-clip::before{content:"";position:absolute;top:0;left:0;width:100%;height:min(100%,360px);pointer-events:none;opacity:0;transition:opacity .4s var(--ease-in);
  background:radial-gradient(calc(var(--cw) * .8) 100% at var(--cx) 0%,rgb(var(--L) / .2),rgb(var(--L) / .07) 42%,transparent 78%);
  mask-image:linear-gradient(90deg,transparent 0%,#000 9%,#000 91%,transparent 100%)}
/* the thin flame line where the light leaves the tile */
.hw-clip::after{content:"";position:absolute;top:0;left:calc(var(--cx) - var(--cw) * .5 + 22px);width:calc(var(--cw) - 44px);height:1px;pointer-events:none;opacity:0;scale:.2 1;transition:opacity .3s var(--ease-in),scale .4s var(--ease-in);
  background:linear-gradient(90deg,transparent,rgb(var(--F) / .95) 30%,rgb(var(--F) / .95) 70%,transparent);box-shadow:0 0 10px rgb(var(--F) / .7),0 0 28px rgb(var(--F) / .35)}
:is(.hw-card,.hw-reel-wrap):has(.hw-open[aria-expanded="true"])+.hw-panel .hw-clip::before{opacity:1;transition:opacity 1.2s var(--ease-out) .1s}
:is(.hw-card,.hw-reel-wrap):has(.hw-open[aria-expanded="true"])+.hw-panel .hw-clip::after{opacity:1;scale:1 1;transition:opacity .6s var(--ease-out) .1s,scale 1s var(--ease-out) .1s}
.hw-in{position:relative;display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:var(--hw-gap);padding:48px 24px 60px}
.hw-side{grid-column:1 / 4;display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding-right:12px}
.hw-side .small{max-width:30ch;text-wrap:balance}
.hw-close{margin-top:14px}
.hw-out{margin-top:2px}
.hw-text{grid-column:4 / 13;display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);column-gap:36px;align-items:start}
.hw-text p{font-size:15px;line-height:24px;color:var(--dim);text-wrap:pretty;max-width:48ch}
.hw-text div p+p{margin-top:14px}
.hw-text>p:first-child{color:var(--text)}
.hw-l{opacity:0;filter:blur(3px) brightness(.5);transition:opacity .3s var(--ease-in),filter .3s var(--ease-in)}
:is(.hw-card,.hw-reel-wrap):has(.hw-open[aria-expanded="true"])+.hw-panel .hw-l{opacity:1;filter:none;
  transition:opacity .9s var(--ease-out) calc(.2s + var(--n,0) * .09s),filter 1.2s var(--ease-out) calc(.2s + var(--n,0) * .09s)}

/* the quiet last line */
.hw-end{display:flex;justify-content:center;margin-top:72px}
.hw-nda{position:relative;gap:12px;font-size:17px;font-weight:400;padding:18px 0}
.hw-nda::before{content:"";position:absolute;left:50%;top:0;width:min(520px,82vw);height:1px;translate:-50% 0;background:linear-gradient(90deg,transparent,oklch(1 0 0 / .2) 30%,oklch(1 0 0 / .2) 70%,transparent)}
.hw-q{color:var(--dim);transition:color .3s var(--ease-out)}
.hw-nda:hover .hw-q{color:var(--text)}
.hw-nda svg{flex:none}

@media (max-width:960px){
  .hw{--hw-gap:14px}
  .hw-head{margin-bottom:36px}
  .hw-reel{padding:7px;border-radius:20px}
  .hw-screen{border-radius:14px}
  .hw-reel-wrap::after{height:120px}
  .hw-grid{display:block}
  .hw-card{display:block;margin-top:var(--hw-gap);padding:8px}
  .hw-card--b .hw-stage{aspect-ratio:4/3;height:auto;min-height:0}
  .hw-info{padding:18px 10px 10px}
  .hw-panel{--cx:50%!important;--cw:80%!important}
  .hw-in{display:block;padding:30px 18px 34px}
  .hw-side{padding:0;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 16px;align-items:start}
  .hw-side>:not(.hw-close){grid-column:1}
  .hw-close{grid-column:2;grid-row:1;margin:0}
  .hw-text{display:block;margin-top:20px}
  .hw-text>*+*{margin-top:14px}
  .hw-text p{font-size:16px;line-height:26px}
  .hw-end{margin-top:44px}
  .hw-nda{font-size:16px;text-align:center}
}
@media (max-width:420px){
  .hw-label{letter-spacing:.06em}
  .hw-tc{letter-spacing:.04em}
}
@media (prefers-reduced-motion:reduce){
  .hw-glow,.hw-sweep,.hw-tc::after,.hw-pip,.hw-rail,.hw-play::after{animation-play-state:paused!important}
  .hw-card .hw-sw{animation:none!important}
  .hw-card .hw-media,.hw-card .hw-far{scale:1.002!important}
}

/* 11-24 his notes (twice): on desktop the blurred Debrief page behind the phone should be larger and closer */
@media (min-width:961px){
  .hw-card--b .hw-far{left:-110%;top:-30%;width:290%;transform:perspective(150cqi) rotateX(34deg) rotateZ(-12deg)}
}

/* ── 11-27: glass play button on the showreel. The loop keeps running behind; the whole screen is the button. ── */
.hw-reelplay{position:absolute;inset:0;width:100%;height:100%;z-index:4;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:clamp(10px,1.4cqi,18px);
  padding:0;border:0;background:transparent;color:var(--text);font:inherit;font-size:clamp(13px,1.15cqi,15px);font-weight:500;cursor:pointer;border-radius:inherit;-webkit-tap-highlight-color:transparent}
.hw-reelplay i{--d:clamp(64px,9.5cqi,124px);position:relative;display:grid;place-items:center;width:var(--d);aspect-ratio:1;border-radius:50%;
  background:radial-gradient(120% 120% at 50% 0%,oklch(1 0 0 / .26),oklch(1 0 0 / .07) 55%,oklch(1 0 0 / .1));
  backdrop-filter:blur(16px) saturate(1.5) brightness(1.15);-webkit-backdrop-filter:blur(16px) saturate(1.5) brightness(1.15);
  box-shadow:inset 0 1px 0 oklch(1 0 0 / .55),inset 0 0 0 1px oklch(1 0 0 / .2),inset 0 -14px 24px -12px rgb(0 0 0 / .35),
    0 24px 60px -18px rgb(0 0 0 / .8),0 0 50px -6px rgb(var(--L) / .28);
  transition:scale .5s var(--ease-out),box-shadow .5s var(--ease-out),background .5s var(--ease-out)}
.hw-reelplay i::before{content:"";margin-left:8%;width:0;height:0;
  border-left:calc(var(--d) * .24) solid #fff;border-top:calc(var(--d) * .145) solid transparent;border-bottom:calc(var(--d) * .145) solid transparent;
  filter:drop-shadow(0 2px 8px rgb(0 0 0 / .35))}
.hw-reelplay span{white-space:nowrap;padding:7px 15px;border-radius:99px;
  background:rgb(0 0 0 / .32);backdrop-filter:blur(12px) saturate(1.3);-webkit-backdrop-filter:blur(12px) saturate(1.3);
  box-shadow:inset 0 1px 0 oklch(1 0 0 / .16),inset 0 0 0 1px oklch(1 0 0 / .08);text-shadow:0 1px 10px rgb(0 0 0 / .5);
  transition:background .5s var(--ease-out)}
.hw-reelplay span small{font-size:.9em;color:var(--dim);margin-left:6px}
.hw-screen:has(.hw-reelplay) .hw-cross{opacity:0}   /* the button sits where the crosshair was */
@media (hover:hover){
  .hw-reelplay:hover i{scale:1.07;background:radial-gradient(120% 120% at 50% 0%,oklch(1 0 0 / .34),oklch(1 0 0 / .12) 55%,oklch(1 0 0 / .14));
    box-shadow:inset 0 1px 0 oklch(1 0 0 / .7),inset 0 0 0 1px oklch(1 0 0 / .3),inset 0 -14px 24px -12px rgb(0 0 0 / .3),
      0 24px 60px -18px rgb(0 0 0 / .8),0 0 70px -4px rgb(var(--L) / .45),0 0 0 12px oklch(1 0 0 / .05)}
  .hw-reelplay:hover span{background:rgb(0 0 0 / .45)}
}
.hw-reelplay:active i{scale:.96;transition-duration:.12s}
.hw-reelplay:focus-visible{outline:none}
.hw-reelplay:focus-visible i{box-shadow:inset 0 1px 0 oklch(1 0 0 / .55),inset 0 0 0 1px oklch(1 0 0 / .2),0 0 0 3px #050505,0 0 0 5px var(--text)}
@media (prefers-reduced-motion:reduce){.hw-reelplay i,.hw-reelplay span{transition:none}}
@container (max-width:560px){.hw-reelplay{gap:7px;font-size:12px}.hw-reelplay i{--d:52px}.hw-reelplay span{padding:5px 11px}}
.hw-reelplay--card{z-index:5}   /* above the card's light sweep */
.hw-reelplay--phone{padding-left:28%}   /* content centre = 64%, the centre of the Debrief phone (.hw-near--solo) */
@media (min-width:861px){   /* side-by-side cards: same button size on every card, whatever the card width */
  .hw-reelplay--card{gap:10px;font-size:13px}
  .hw-reelplay--card i{--d:70px}
  .hw-reelplay--card span{padding:6px 14px}
}
/* 11-27: the showreel window has a title row + story like the cards */
.hw-reel .hw-info{cursor:pointer}
.hw-reel:has(.hw-open:focus-visible){outline:2px solid rgb(var(--L));outline-offset:4px}
.hw-panel[data-k=ui]{--cx:50%;--cw:100%}
.hw-reel-wrap:has(.hw-open[aria-expanded="true"])+.hw-panel{margin-bottom:var(--hw-gap)}
/* 12-02 his call: the play button alone, no label pill under it (title + length stay in aria-label) */
.hw-reelplay span{display:none}
