/* Small repeating movements in Home's decorative Nova scenes. */
.ha-story{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(34px,6vw,88px);align-items:center;padding:68px 24px;scroll-margin-top:110px}
.ha-story-copy{min-width:0;max-width:510px}
.ha-page .ha-story-copy h2{font-size:clamp(32px,3.8vw,48px);font-weight:700;line-height:1.12;letter-spacing:-.03em;margin-bottom:25px}
.ha-page .ha-story-copy p{font-size:17px;line-height:1.75;max-width:49ch}
.ha-page .ha-story-copy .ha-kicker{font-size:13px;margin-bottom:15px;color:var(--forest);font-weight:600}
.ha-story-reverse .hs-scene{grid-column:2;grid-row:1}
.ha-story-reverse .ha-story-copy{grid-column:1;grid-row:1}
.ha-story-adaptive{margin-block:12px 20px;padding:60px 44px;background:#eaf0e3;border-radius:26px}
.ha-story-review{border-block:1px solid var(--line);margin-block:30px;padding-block:72px}
.ha-story-routine{background:#fff0c8;border-radius:26px;margin-block:12px 60px;padding:60px 44px}
.ha-page .ha-story-copy .ha-adjustment{font-size:12px;line-height:1.6;margin:25px 0 0}
.ha-story-link{font-size:15px;display:inline-block;min-height:40px;padding-block:8px;text-decoration:underline;text-underline-offset:5px;color:var(--forest);font-weight:600}
.ha-story-detail{border-top:1px solid var(--line);margin-top:25px;padding-top:8px}
.ha-story-detail summary{font-size:14px;color:var(--forest);padding-block:12px;cursor:pointer}
.ha-story-detail ol{padding-left:20px;color:var(--ink-2);font-size:15px;line-height:1.7;display:grid;gap:10px}
.hs-scene{width:100%;max-width:440px;aspect-ratio:11/9;margin:0 auto;position:relative;isolation:isolate}
.hs-scene-art{position:absolute;inset:0}
.hs-ground{position:absolute;width:72%;height:9%;left:14%;bottom:0;border-radius:50%;background:#e9dec2;opacity:.65;z-index:0}
.hs-nova{position:absolute;width:56%;height:auto;left:15%;bottom:2%;z-index:3;object-fit:contain;transform-origin:50% 88%}
.hs-card{z-index:2}
.hs-topics, .hs-review-steps {
  position: absolute;
  inset: 3% 0 auto;
  display: flex;
  justify-content: center;
  gap: clamp(5px, 1vw, 10px);
}
.hs-topic, .hs-review-card {
  display: flex;
  align-items: center;
  gap: clamp(5px, .7vw, 9px);
  padding: 9px clamp(6px, 1vw, 12px);
  border: 1px solid #d6c7a2;
  border-radius: 13px;
  background: #fffdf6;
  box-shadow: 0 4px 0 #e6d7b5;
  color: var(--forest-3);
  font-size: clamp(11px, 1.3vw, 15px);
  font-weight: 600;
  white-space: nowrap;
}
.hs-topic i, .hs-small-check {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: clamp(20px, 2.3vw, 30px);
  aspect-ratio: 1;
  border-radius: 8px;
  background: #eef3e6;
  color: var(--forest);
  font-style: normal;
  font-size: 1.12em;
}
.hs-diagnostic .hs-nova, .hs-review .hs-nova {
  width: 78%;
  left: 11%;
  bottom: 2%;
}
.hs-topic-a { --hs-delay: .15s; }
.hs-topic-b { --hs-delay: .65s; }
.hs-topic-b i{background:#fff0c1;color:#8a5e00}
.hs-topic-c { --hs-delay: 1.15s; }
.hs-topic-c i { background: #e4edf1; }
.hs-learning-path{position:absolute;inset:0;width:100%;height:100%;overflow:visible;z-index:0}
.hs-learning-path path{fill:none;stroke-linecap:round;stroke-width:8}
.hs-path-track{stroke:#cfdbbc;stroke-dasharray:2 17}
.hs-learning-path .hs-path-progress{stroke:var(--gold);stroke-width:6;stroke-dasharray:1;stroke-dashoffset:0}
.hs-learning-path circle{fill:#fffdf6;stroke:var(--forest);stroke-width:3}
.hs-adaptive .hs-nova{width:55%;left:0;bottom:2%}
.hs-path-label{position:absolute;left:57%;bottom:9%;padding:10px 15px;background:#fffdf6;border:1px solid #c7d6bb;border-radius:12px;box-shadow:0 4px 0 #d5dfc6;font-size:15px;font-weight:600;color:var(--forest-3);--hs-delay:.2s}
.hs-path-label-b{left:53%;bottom:auto;top:40%;--hs-delay:1s}
.hs-path-label-c{left:auto;right:0;bottom:auto;top:0;--hs-delay:1.8s}
.hs-explain .hs-nova{width:49%;left:0;bottom:0}
.hs-explain-board{position:absolute;left:40%;right:0;top:5%;height:64%;border-radius:18px;padding:22px 16px;background:#1e4634;box-shadow:0 7px 0 #d3c5a8;z-index:1}
.hs-board-line{display:flex;align-items:center;gap:10px;color:#fff8e7;font-size:14px;font-weight:500;min-height:49px;position:relative;--hs-delay:.15s}
.hs-board-line:nth-child(2){--hs-delay:.75s}.hs-board-line:nth-child(3){--hs-delay:1.35s}
.hs-board-line span{display:grid;place-items:center;flex-shrink:0;width:26px;height:26px;border-radius:50%;border:1px solid #88a28d;color:var(--gold);font-size:12px}
.hs-underlining{position:absolute;left:8%;bottom:7%;width:85%;height:24px}
.hs-underlining path{stroke:var(--gold);stroke-width:4;fill:none;stroke-linecap:round;stroke-dasharray:1;stroke-dashoffset:0}
.hs-review-card { border-color: #cbd9c0; box-shadow: 0 4px 0 #e2e8d5; }
.hs-small-check { border-radius: 50%; }
.hs-review-a { --hs-delay: .1s; }
.hs-review-b { --hs-delay: .8s; }
.hs-review-c { --hs-delay: 1.5s; }
.hs-original .hs-nova{left:0;width:66%;bottom:1%}
.hs-original-tile{position:absolute;display:flex;flex-direction:column;align-items:center;gap:5px;padding:16px 18px 13px;background:#e8eff2;border:1px solid #bfcfd4;border-radius:20px;color:#365968;box-shadow:0 5px 0 #d8e3e7;font-size:13px;font-weight:600}
.hs-original-tile svg{width:75px;height:75px;fill:none;stroke:currentColor;stroke-width:3.5;stroke-linecap:round;stroke-linejoin:round}
.hs-original-a{top:8%;right:0;--hs-delay:.1s}.hs-original-b{right:0;bottom:8%;background:#fff0c4;border-color:#e5cf8a;color:#8a5e00;box-shadow:0 5px 0 #eddca6;--hs-delay:.9s}
.hs-routine { aspect-ratio: auto; }
.hs-routine .hs-scene-art { position: relative; display: grid; justify-items: center; gap: 18px; padding-bottom: 4px; }
.hs-routine .hs-nova { position: relative; inset: auto; width: 72%; }
.hs-week { position: relative; width: 100%; text-align: center; }
.hs-week>span{font-size:12px;color:#7c642c;display:block;margin-bottom:9px}
.hs-week-days{display:flex;justify-content:center;gap:12px}
.hs-day{display:flex;flex-direction:column;align-items:center;gap:6px;min-width:70px;padding:9px 15px;line-height:1.3;border-radius:16px;background:#fffdf6;border:1px solid #e2cc91;box-shadow:0 5px 0 #ebd49a;--hs-delay:.1s}
.hs-day b{font-size:13px;font-weight:500;color:var(--ink-2)}
.hs-day i{font-style:normal;font-size:22px;font-weight:600;color:var(--forest)}
.hs-day:nth-child(2){--hs-delay:.8s}.hs-day:nth-child(3){--hs-delay:1.5s}
.hs-nova { animation: hs-nova-bob 6.4s ease-in-out infinite; }
.hs-card { animation: hs-card-lift 6.4s ease-in-out var(--hs-delay, 0s) infinite; }
.hs-scene .hs-path-progress,
.hs-underlining path { animation: hs-path-draw 6.4s ease-in-out infinite; }

@keyframes hs-nova-bob {
  0%, 45%, 100% { transform: none; }
  22% { transform: translateY(-7px) rotate(-1.5deg); }
}
@keyframes hs-card-lift {
  0%, 34%, 100% { transform: none; }
  17% { transform: translateY(-4px); }
}
@keyframes hs-path-draw {
  0%, 100% { opacity: 0; stroke-dashoffset: 1; }
  12% { opacity: 1; stroke-dashoffset: .95; }
  55%, 84% { opacity: 1; stroke-dashoffset: 0; }
  96% { opacity: 0; stroke-dashoffset: 0; }
}
@media(max-width:1000px){.ha-story{gap:30px;padding-inline:0}.ha-story-adaptive,.ha-story-routine{padding-inline:30px}.ha-page .ha-story-copy h2{font-size:37px}.hs-board-line{font-size:12px;min-height:42px;gap:7px}.hs-explain-board{padding:15px 12px}.hs-board-line span{width:22px;height:22px}.hs-original-tile{padding:12px 14px;font-size:12px}.hs-original-tile svg{width:62px;height:62px}.hs-week-days{gap:8px}.hs-day{min-width:58px;padding:9px 10px}}
@media(max-width:760px){.ha-story,.ha-story-reverse{grid-template-columns:minmax(0,1fr);gap:30px;padding:48px 12px}.ha-story .ha-story-copy{grid-column:1;grid-row:1;max-width:620px}.ha-story .hs-scene{grid-column:1;grid-row:2;width:100%;max-width:400px}.ha-story-adaptive,.ha-story-routine{padding:40px 25px}.ha-page .ha-story-copy h2{font-size:clamp(32px,6vw,42px);max-width:18ch}.ha-story-copy p:last-child{margin-bottom:0}.ha-examples-grid{gap:22px}.hs-board-line{font-size:14px;min-height:46px}.hs-original-tile svg{width:67px;height:67px}}
@media(max-width:400px){.ha-story{padding-inline:0}.ha-story-adaptive,.ha-story-routine{padding-inline:18px}.ha-page .ha-story-copy h2{font-size:32px}.ha-page .ha-story-copy p{font-size:16px}.hs-board-line{font-size:11px;min-height:36px;gap:5px}.hs-explain-board{padding:12px 9px}.hs-board-line span{width:20px;height:20px}.hs-path-label{font-size:12px;padding:8px 10px}.hs-original-tile{padding:10px 11px;font-size:10px}.hs-original-tile svg{width:50px;height:50px}.hs-week-days{gap:6px}.hs-day{min-width:49px;padding:8px 9px}.hs-day b{font-size:11px}.hs-day i{font-size:19px}.hs-week>span{font-size:11px}}
@media(prefers-reduced-motion:reduce){.ha-page .hs-scene *{animation:none!important;transition:none!important}}
