/* Product demonstration: fixed optics, page recognition, a spoken hint, independent work. */
.hero-heading { grid-column: 1 / -1; min-width: 0; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: center; gap: 28px; }
.hero-heading .motto { grid-column: auto; font-size: clamp(78px, 7.5vw, 104px); }
.hero-motion { min-width: 0; margin: -12px -12px -8px 0; }
.hm-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 12px 0 20px; color: var(--graphite); font-size: 10px; }
.hm-heading span:first-child { font-weight: 600; letter-spacing: .1em; color: var(--ink); }
.hm-scene { width: 100%; overflow: visible; fill: none; stroke: var(--ink); stroke-width: 1; stroke-linecap: round; stroke-linejoin: round; }
.hm-desk-edge { stroke: #ded9ce; }
.hm-page-stack { fill: #e7e2d6; stroke: #b6b3a8; }
.hm-paper-left { fill: #f6f4ed; stroke: #bdbbb1; }
.hm-paper-right { fill: #fffefa; stroke: #bdbbb1; }
.hm-binding { stroke: #d4d0c5; }
.hm-printed-lines { stroke: #b9bcb5; }
.hm-page-heading { fill: var(--graphite); stroke: none; font: 500 10px var(--sans); letter-spacing: 1px; }
.hm-triangle { stroke: #646d67; stroke-width: 1.25; }
.hm-measures { fill: var(--graphite); stroke: none; font: 12px var(--sans); }
.hm-equation { fill: var(--ink); stroke: none; font: 18px Georgia, serif; }
.hm-stalled, .hm-answer { fill: #424a43; stroke: none; font: 24px var(--hand); }
.hm-answer { font-size: 23px; }
.hm-read-line { stroke: var(--vermilion); stroke-width: 1; opacity: 0; }
.hm-recognise { stroke: var(--vermilion); stroke-width: 1.2; stroke-dasharray: 1; stroke-dashoffset: 0; opacity: .35; }
.hm-focus { stroke: var(--vermilion); stroke-width: 1.4; stroke-dasharray: 1; opacity: .7; }
.hm-device { stroke: #262d29; stroke-width: .8; }
.hm-base-top { fill: #454b44; }
.hm-base-side { fill: #252b27; }
.hm-post-front { fill: #434a43; }
.hm-post-side { fill: #282f29; }
.hm-arm-top { fill: #4e544b; }
.hm-arm-side { fill: #313831; }
.hm-head-top { fill: #54594f; }
.hm-head-front { fill: #373e35; }
.hm-head-side { fill: #252c25; }
.hm-head-under { fill: #1e241f; }
.hm-joint { fill: #6e7569; }
.hm-lens-ring { fill: #697369; stroke: #0f1511; }
.hm-lens { fill: #090f0b; stroke: #879185; stroke-width: .5; }
.hm-speaker { stroke: #202620; stroke-width: 1.3; }
.hm-direction { stroke: #959d91; stroke-dasharray: 2 5; stroke-width: .8; }
.hm-direction-leader { stroke-dasharray: none; stroke: #bdc1b6; }
.hm-direction text { stroke: none; fill: #677063; font: 11px var(--sans); }
.hm-phone { transform: translate(-5px, 8px); opacity: .35; }
.hm-phone-shell { fill: #50584e; stroke: #373e36; }
.hm-phone-side { fill: #282f28; stroke: #333a32; }
.hm-phone-screen { fill: #292f28; stroke: #7b8276; stroke-width: .6; }
.hm-phone-feed { stroke: #8f9788; opacity: 0; }
.hm-phone-detail { stroke: #8a9184; }
.hm-hint { fill: var(--ink); stroke: none; }
.hm-hint-rule { stroke: var(--vermilion); stroke-width: 2; }
.hm-hint-label { font: 500 9px var(--sans); letter-spacing: .7px; fill: var(--graphite); }
.hm-hint-text { font: 500 14px var(--sans); }
.hm-voice { stroke: var(--vermilion); stroke-width: 1.8; transform-origin: 406px 145px; }
.hm-pencil-body { fill: #676f5e; stroke: #343d31; }
.hm-pencil-tip { stroke: #30382a; fill: #d3c6a6; }
.hm-pencil-edge { stroke: #a0a590; stroke-width: .8; }
.hm-stages { margin: 0 12px 0 20px; padding: 12px 0 0; border-top: 1px solid var(--hairline); display: flex; justify-content: space-between; gap: 12px; list-style: none; font-size: 11px; color: var(--ink); }
.hm-stages li { display: flex; align-items: center; gap: 6px; }
.hm-stages span { font-size: 9px; color: var(--vermilion); font-variant-numeric: tabular-nums; }
.hero-motion figcaption { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 18px; font-size: 17px; letter-spacing: -.025em; }
.hero-motion figcaption em { font: italic 24px var(--voice); color: var(--vermilion); white-space: nowrap; }
.hm-replay { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px; margin: -8px; color: var(--graphite); background: none; border: 0; border-radius: 50%; cursor: pointer; }
.hm-replay[hidden] { display: none; }
.hm-replay:hover { color: var(--vermilion); background: var(--image-ground); }
.hm-replay svg { width: 17px; height: 17px; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* One 8.4s sequence. The device stays physically still; its work supplies the motion. */
@media (prefers-reduced-motion: no-preference) {
  .motion-run .hm-phone { animation: hm-phone 8.4s var(--ease) both; }
  .motion-run .hm-phone-feed { animation: hm-feed 8.4s linear both; }
  .motion-run .hm-read-line { animation: hm-read 8.4s linear both; }
  .motion-run .hm-recognise { animation: hm-recognise 8.4s ease both; }
  .motion-run .hm-focus { animation: hm-focus 8.4s ease both; }
  .motion-run .hm-hint { animation: hm-hint 8.4s var(--ease) both; }
  .motion-run .hm-voice { animation: hm-voice 8.4s linear both; }
  .motion-run .hm-writing-mask { animation: hm-writing 8.4s linear both; transform-origin: 302px 282px; }
  .motion-run .hm-pencil { animation: hm-pencil 8.4s linear both; }
  .motion-run .hm-stages li:nth-child(1) { animation: hm-stage-one 8.4s ease both; }
  .motion-run .hm-stages li:nth-child(2) { animation: hm-stage-two 8.4s ease both; }
  .motion-run .hm-stages li:nth-child(3) { animation: hm-stage-three 8.4s ease both; }
  .motion-paused .hm-scene *, .motion-paused .hm-stages li { animation-play-state: paused !important; }
}
@keyframes hm-phone { 0%, 4% { transform: none; opacity: .9; } 17%, 100% { transform: translate(-5px, 8px); opacity: .35; } }
@keyframes hm-feed { 0% { opacity: .8; transform: translateY(0); } 9% { opacity: .8; transform: translateY(-5px); } 16%, 100% { opacity: 0; transform: translateY(-8px); } }
@keyframes hm-read { 0%, 13% { transform: translateY(-5px); opacity: 0; } 17% { opacity: .7; } 33% { transform: translateY(88px); opacity: .7; } 36%, 100% { transform: translateY(100px); opacity: 0; } }
@keyframes hm-recognise { 0%, 18% { stroke-dashoffset: 1; opacity: 0; } 29% { stroke-dashoffset: 0; opacity: .8; } 40%, 100% { stroke-dashoffset: 0; opacity: .35; } }
@keyframes hm-focus { 0%, 33% { stroke-dashoffset: 1; opacity: 0; } 42%, 65% { stroke-dashoffset: 0; opacity: 1; } 84%, 100% { stroke-dashoffset: 0; opacity: .7; } }
@keyframes hm-hint { 0%, 43% { transform: translateY(4px); opacity: 0; } 52%, 100% { transform: none; opacity: 1; } }
@keyframes hm-voice { 0%, 50% { transform: scaleY(.35); } 52%, 57%, 62% { transform: scaleY(1); } 54%, 59%, 64% { transform: scaleY(.5); } 67%, 100% { transform: scaleY(.75); } }
@keyframes hm-writing { 0%, 66% { transform: scaleX(0); } 88%, 100% { transform: scaleX(1); } }
@keyframes hm-pencil { 0%, 62% { transform: none; } 66% { transform: translate(-119px, 5px); } 70% { transform: translate(-101px, 2px); } 73% { transform: translate(-89px, 4px); } 77% { transform: translate(-70px, -3px); } 80% { transform: translate(-56px, -2px); } 84% { transform: translate(-38px, -8px); } 88% { transform: translate(-19px, -9px); } 94%, 100% { transform: none; } }
@keyframes hm-stage-one { 0%, 16% { opacity: .35; } 29%, 100% { opacity: 1; } }
@keyframes hm-stage-two { 0%, 43% { opacity: .35; } 52%, 100% { opacity: 1; } }
@keyframes hm-stage-three { 0%, 66% { opacity: .35; } 88%, 100% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .hm-replay { display: none; } }
@media (max-width: 1079px) {
  .hero-heading { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero-heading .motto { font-size: clamp(52px, min(41.08px + 7.416vw, 18vw), 136px); }
  .hero-motion { width: min(100%, 490px); margin: 0 auto; }
}
@media (max-width: 719px) {
  .hero-heading { gap: 32px; }
  .hero-heading .motto { font-size: clamp(46px, 16vw, 110px); }
  .hero-motion { width: 100%; }
  .hero-motion figcaption { font-size: 15px; gap: 10px; margin-top: 16px; }
  .hero-motion figcaption em { font-size: 22px; }
  .hm-stages { font-size: 10px; gap: 8px; margin-left: 0; margin-right: 0; }
  .hm-stages li { gap: 4px; }
  .hm-heading { margin: 0; font-size: 9px; }
  .hero-lead { margin-top: 40px; }
}
