/* HMWBS Studio · Version 2 final finishing layer | 2026-10-24
   Preserves Version 10's original type, colour, photography and page hierarchy. */
:root{--hmv2-ink:#0d4a32;--hmv2-cream:#f8f6ed;--hmv2-paper:#fffdf6;--hmv2-line:#d9e3d7}
::selection{background:#d6e8d5;color:#0d4a32}
::-moz-selection{background:#d6e8d5;color:#0d4a32}
:where(a,button,summary,input,textarea,select):focus-visible{outline:3px solid #a77b39;outline-offset:4px}
:where(section[id],h2[id],h3[id],div[id]){scroll-margin-top:118px}
/* One predictable primary-navigation destination and visible active state. */
.main-nav a[aria-current="page"]{color:#0d4a32!important}
@media(min-width:961px){.main-nav a[aria-current="page"]{position:relative}.main-nav a[aria-current="page"]:after{content:"";position:absolute;left:0;right:0;bottom:-13px;height:2px;background:#0d4a32}}
@media(max-width:960px){.main-nav a[aria-current="page"]{background:#eaf2e6;padding-inline:12px;border-left:3px solid #0d4a32}.main-nav{max-height:calc(100dvh - 110px);overflow-y:auto;overscroll-behavior:contain;z-index:250}}
/* Readable, discreet interactive feedback; no distracting animation. */
.main-nav a,.hm-v2-teaser-link,.hm-v2-video-install,.hm-v2-video-foot a{transition:color .2s ease,background-color .2s ease,border-color .2s ease}
/* A fine notebook margin on the existing writing demonstration, no new card styling. */
.hm-demo-section .hm-demo-draft{border-left:3px solid rgba(102,150,110,.65)}
/* Homepage real-video preview: one editorial insert within the existing product area. */
.hm-v2-teaser{padding:0 0 clamp(48px,7vw,96px)}
.hm-v2-teaser-shell{display:grid;grid-template-columns:minmax(0,1.14fr) minmax(0,.86fr);gap:clamp(22px,4.5vw,60px);align-items:center;background:#faf9f3;border:1px solid rgba(255,255,255,.22);box-shadow:12px 14px 0 rgba(172,205,164,.08);padding:clamp(18px,3vw,38px);color:#163f2a}
.hm-v2-teaser-media{display:block;position:relative;overflow:hidden;border:1px solid #dce7d9;aspect-ratio:16/9;background:#0d4a32;color:white;line-height:0}
.hm-v2-teaser-media img{display:block;width:100%;height:100%;object-fit:cover;transform:scale(1);transition:transform .28s ease;}
@media(hover:hover){.hm-v2-teaser-media:hover img{transform:scale(1.018)}}
.hm-v2-teaser-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:flex;align-items:center;justify-content:center;width:64px;height:64px;border:1px solid rgba(255,255,255,.72);border-radius:50%;color:#0d4a32;background:rgba(255,255,255,.96);font-size:22px;line-height:1;padding-left:4px;box-shadow:0 7px 35px rgba(6,38,25,.20)}
.hm-v2-teaser-length{position:absolute;right:16px;bottom:14px;color:#fff;background:rgba(8,47,30,.86);font-size:10px;line-height:1.2;letter-spacing:.08em;padding:9px 11px;font-family:'DM Sans',sans-serif}
.hm-v2-teaser-copy{display:flex;flex-direction:column;align-items:flex-start;gap:17px}
.hm-v2-teaser-index,.hm-v2-video-eyebrow{font-family:'DM Sans',sans-serif;font-size:10px;font-weight:800;letter-spacing:.17em;color:#547860}
.hm-v2-teaser-copy h3{font-family:Manrope,'DM Sans',sans-serif;font-size:clamp(24px,2.7vw,39px);line-height:1.17;letter-spacing:-.055em;margin:0;color:#153f2b}
.hm-v2-teaser-copy p{font-family:'DM Sans',sans-serif;font-size:clamp(14px,1.2vw,16px);line-height:1.75;max-width:440px;margin:0;color:#415b48}
.hm-v2-teaser-link{font-family:'DM Sans',sans-serif;display:inline-flex;align-items:center;gap:6px;color:#0d4a32;font-size:13px;font-weight:800;text-underline-offset:5px;text-decoration:underline;text-decoration-thickness:1px}
.hm-v2-teaser-link:hover{color:#19734f}
/* Actual product walkthrough player – matched to Version 10 ivory/forest editorial system. */
.hm-v2-video-feature{background:#f7f5ed;color:#183d2b;padding:clamp(68px,7.5vw,112px) 0;border-top:1px solid #dce4d7;border-bottom:1px solid #dce4d7}
.hm-v2-video-shell{max-width:1100px;margin-inline:auto}
.hm-v2-video-eyebrow{display:flex;justify-content:space-between;align-items:center;gap:16px;border-bottom:1px solid #d4dfd3;padding-bottom:18px;margin-bottom:34px;flex-wrap:wrap}
.hm-v2-video-eyebrow span:first-child{color:#0d4a32}
.hm-v2-video-copy{display:flex;align-items:flex-end;gap:35px;justify-content:space-between;margin-bottom:32px}
.hm-v2-video-copy h2{font-family:Manrope,'DM Sans',sans-serif;font-size:clamp(37px,4.1vw,60px);letter-spacing:-.06em;line-height:1.07;color:#143d2a;margin:0 0 18px}
.hm-v2-video-copy p{font-family:'DM Sans',sans-serif;color:#4c6755;max-width:670px;font-size:clamp(15px,1.25vw,17px);line-height:1.75;margin:0}
.hm-v2-video-install{font-family:'DM Sans',sans-serif;color:#0d4a32;font-weight:800;font-size:13px;white-space:nowrap;flex:none;border-bottom:1px solid #0d4a32;padding-bottom:6px;text-decoration:none}
.hm-v2-video-install:hover{color:#17744c;border-color:#17744c}
.hm-v2-player-wrap{position:relative;aspect-ratio:16 / 9;background:#0d4a32;border:1px solid #d5dfd1;box-shadow:16px 17px 0 #e1e9dc;overflow:hidden}
.hm-v2-player{width:100%;height:100%;display:block;object-fit:contain;background:#0d4a32}
.hm-v2-video-foot{display:flex;justify-content:space-between;gap:26px;align-items:baseline;margin:30px 0 18px}
.hm-v2-video-foot p{font-family:'DM Sans',sans-serif;max-width:660px;color:#4a6452;font-size:13px;line-height:1.7;margin:0}
.hm-v2-video-foot strong{color:#153f2b}
.hm-v2-video-foot a{font-family:'DM Sans',sans-serif;color:#0d4a32;text-decoration:underline;text-underline-offset:5px;font-weight:700;font-size:12px;white-space:nowrap}
.hm-v2-video-steps{margin-top:18px;padding:16px 0;border-top:1px solid #d4dfd3;color:#3d5e49;font-family:'DM Sans',sans-serif;font-size:14px;max-width:720px}
.hm-v2-video-steps summary{cursor:pointer;font-weight:700;color:#164831;width:fit-content}
.hm-v2-video-steps ol{padding-left:23px;line-height:1.95;margin:16px 0 5px}
/* Quiet back-to-top is only surfaced on long pages after deep scrolling. */
.hm-v2-back-to-top{position:fixed;z-index:80;right:23px;bottom:23px;width:46px;height:46px;display:grid;place-items:center;background:#0d4a32;color:white;border:1px solid #c9dbc9;border-radius:50%;box-shadow:0 7px 24px rgba(4,42,26,.20);cursor:pointer;opacity:0;visibility:hidden;transform:translateY(6px);transition:opacity .2s,transform .2s,visibility .2s;font-size:22px;line-height:1}
.hm-v2-back-to-top.show{opacity:1;visibility:visible;transform:translateY(0)}
.hm-v2-back-to-top:hover{background:#166848}
@media(max-width:960px){.hm-v2-teaser-shell{grid-template-columns:1fr;gap:30px}.hm-v2-teaser-media{max-width:800px}.hm-v2-video-copy{align-items:flex-start;flex-direction:column;gap:21px}}
@media(max-width:650px){
  :where(section[id],h2[id],h3[id],div[id]){scroll-margin-top:89px}
  .hm-v2-teaser{padding-bottom:66px}.hm-v2-teaser-shell{padding:17px;box-shadow:8px 9px 0 rgba(172,205,164,.10)}
  .hm-v2-teaser-copy{gap:12px}.hm-v2-teaser-copy h3{font-size:clamp(25px,7.8vw,35px)}.hm-v2-teaser-copy p{font-size:14px}
  .hm-v2-teaser-play{width:52px;height:52px;font-size:18px}.hm-v2-teaser-length{font-size:9px;padding:7px;right:9px;bottom:9px}
  .hm-v2-video-feature{padding:68px 0}.hm-v2-video-eyebrow{margin-bottom:23px}.hm-v2-video-eyebrow span:last-child{font-size:9px}
  .hm-v2-video-copy h2{font-size:clamp(32px,9vw,44px)}.hm-v2-video-copy p{font-size:15px}
  .hm-v2-player-wrap{box-shadow:8px 9px 0 #e1e9dc}.hm-v2-video-foot{flex-direction:column;gap:12px;align-items:flex-start}
  .hm-v2-back-to-top{right:13px;bottom:13px;width:42px;height:42px}
  .hm-demo-section .hm-demo-draft{border-left-width:2px}
}
@media(prefers-reduced-motion:reduce){.hm-v2-teaser-media img,.hm-v2-back-to-top,.main-nav a,.hm-v2-teaser-link,.hm-v2-video-install,.hm-v2-video-foot a{transition:none!important}}


/* Version 2.1 accessibility hardening (preserves the Version 10 layout). */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .hm-v2-back-to-top { transition: none !important; }
}
/* Hover feedback is not a substitute for a keyboard focus indicator. */
.hm-v2-teaser-media:focus-visible, .hm-v2-video-install:focus-visible,
.hm-v2-video-steps summary:focus-visible, .hm-v2-back-to-top:focus-visible {
  outline: 3px solid #a77b39;
  outline-offset: 4px;
}
/* Keep the on-page reading experience usable when link targets are focused. */
:target { scroll-margin-block-start: 118px; }
@media (max-width: 650px) { :target { scroll-margin-block-start: 89px; } }


/* Version 2.1.1 — targeted image proportion fixes, 2026-10-24.
   HTML now supplies correct intrinsic dimensions for five editorial photographs.
   These narrowly scoped selectors protect logo and screenshot aspect ratios even
   when a previously saved HTML height attribute is present. */
.inner-site .nm-feature .nm-grid > .glass > img[src$="next-move-green.webp"] {
  display: block;
  width: min(74%, 310px);
  max-width: 100%;
  height: auto;
  aspect-ratio: 520 / 359;
  object-fit: contain;
  margin-inline: auto;
}
.inner-site.page-next-move .next-move-hero .marketplace-preview > img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 8 / 5;
  object-fit: contain;
  margin-inline: auto;
}
.inner-site.page-next-move .marketplace-shot > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 8 / 5;
  object-fit: contain;
}
@media(max-width:620px) {
  .inner-site .nm-feature .nm-grid > .glass > img[src$="next-move-green.webp"] {
    width: min(72%, 280px);
  }
}
