.nh-hero {
  position: relative;
  isolation: isolate;
  container-type: inline-size;
  width: 100%;
  min-width: 0;
  aspect-ratio: 650 / 470;
  overflow: hidden;
  margin: 0;
  border-radius: 18px;
  font-family: var(--sans);
  color: #28262c;
}
.nh-composition { position: absolute; inset: 0; overflow: hidden; }
.nh-hero *, .nh-hero *::before, .nh-hero *::after { box-sizing: border-box; }
.nh-hero img { display: block; max-width: none; width: 100%; height: auto; }
.nh-hero-a {
  aspect-ratio: auto;
  overflow: visible;
}
.nh-hero-a .nh-composition {
  border-radius: 18px;
  background: radial-gradient(ellipse at 80% 74%, #e0daee, transparent 62%),
    linear-gradient(142deg, #f1efea, #f4f1f5 58%, #e8e3ed);
}
.nh-hero-a .nh-composition {
  position: relative; inset: auto; aspect-ratio: 650 / 545;
  isolation: isolate; overflow: hidden; pointer-events: none;
}
.nh-workspace {
  position: absolute; inset: 4.8% 4.5% auto; overflow: hidden;
  background: #f9f8fa; border-radius: 1.4cqw; border: 1px solid #fff;
  box-shadow: 0 .4cqw 1.6cqw #4e415214, 0 1.8cqw 4cqw -1.4cqw #4e415241;
}
.nh-output {
  position: absolute; overflow: hidden; background: #fff; border: 1px solid #e3dfe6;
  border-radius: 1.35cqw; transform-origin: 50% 28%;
  box-shadow: 0 .25cqw .55cqw #3025370d, .4cqw 1.6cqw 3cqw -.85cqw #3328403d;
}
.nh-file-heading { position: relative; z-index: 1; padding: 1.6cqw 1.9cqw 1.3cqw; background: #fff; }
.nh-file-heading small {
  display: block; font: 650 max(9px, 1.32cqw)/1.25 var(--sans); color: var(--file-ink);
  letter-spacing: .07em; margin-bottom: .35cqw;
}
.nh-file-heading span { display: block; color: #29272d; font: 600 max(12px, 2.15cqw)/1.24 var(--sans); letter-spacing: -.025em; }
.nh-slides { --file-ink: #975136; width: 56%; left: 4.5%; top: 49%; transform: rotate(-2.8deg); z-index: 3; }
.nh-slides .nh-file-heading { padding: 2cqw 2.2cqw 1.45cqw; }
.nh-slides .nh-file-heading span { font-size: max(14px, 2.7cqw); }
.nh-slides > img { margin: 0 1.1cqw 1.1cqw; width: calc(100% - 2.2cqw); }
.nh-research { --file-ink: #765269; left: 63%; top: 43%; width: 32%; height: 20%; transform: rotate(2.6deg); }
.nh-word { --file-ink: #355c91; left: 62%; top: 58%; width: 33%; height: 21%; transform: rotate(1.2deg); }
.nh-excel { --file-ink: #2e6a51; left: 59%; top: 73.5%; width: 36%; height: 19%; transform: rotate(-.6deg); z-index: 4; }
.nh-word-image, .nh-research-image, .nh-excel-image { overflow: hidden; margin-inline: 1.1cqw; }
.nh-word-image img { width: 114%; margin: -9% 0 0 -5%; }
.nh-excel-image img { width: 178%; margin-top: -4.5%; }
.nh-research-image { border-top: 2px solid #aa7b88; }
.nh-research-image img { width: 140%; margin: -38% 0 0 -33%; }
.nh-hero-a figcaption { display: flex; justify-content: flex-end; padding-top: 4px; margin: 0; }
.nh-product-link {
  display: inline-flex; gap: .7em; align-items: center; min-height: 44px;
  font: 550 clamp(12px, 2cqw, 15px)/1.3 var(--sans); text-decoration: none; color: #322a3b;
}
.nh-product-link span { transition: transform .16s ease; }
.nh-product-link:hover { text-decoration: underline; text-underline-offset: .23em; }
.nh-product-link:hover span { transform: translateX(2px); }
@container (max-width: 460px) {
  .nh-hero-a .nh-file-heading { padding: 2cqw 1.65cqw 1.5cqw; }
  .nh-hero-a .nh-research, .nh-hero-a .nh-word { width: 38%; left: 57%; }
  .nh-hero-a .nh-research { top: 44%; height: 21%; }
  .nh-hero-a .nh-word { top: 61%; height: 21%; }
  .nh-hero-a .nh-excel { width: 41%; left: 54%; top: 76%; height: 20%; }
  .nh-hero-a .nh-slides { width: 52%; top: 52%; }
}
@container (max-width: 320px) {
  .nh-hero-a .nh-composition { aspect-ratio: 1.05; }
  .nh-hero-a .nh-research, .nh-hero-a .nh-word { width: 42%; left: 53%; z-index: 3; }
  .nh-hero-a .nh-excel { width: 43%; left: 52%; }
  .nh-hero-a .nh-output:not(.nh-slides) .nh-file-heading span { font-size: 11px; }
  .nh-hero-a .nh-slides { top: 50%; }
}
@media (prefers-reduced-motion: reduce) { .nh-product-link span { transition: none; } }

.nh-hero-b {
  background:
    radial-gradient(ellipse at 13% 0, #fbf7ec 0, transparent 55%),
    linear-gradient(144deg, #e9e7d9, #d9dfd3 59%, #cbd4c8);
}
.nh-hero-b .nh-composition { transform: rotate(-3.5deg) scale(.98); overflow: visible; }
.nh-folder-back {
  position: absolute; inset: 24% 6% 7%; border-radius: 1.5cqw;
  background: linear-gradient(120deg, #8173a9, #5b4d7b 68%, #4a3c6c);
  box-shadow: .5cqw 2.4cqw 3.8cqw -1.5cqw #343d3d55;
}
.nh-folder-back::before {
  content: ''; position: absolute; top: -2.6cqw; left: 0; width: 31%; height: 3.4cqw;
  background: #7d70a1; border-radius: 1.3cqw .8cqw 0 0; clip-path:polygon(0 0,90% 0,100% 95%,100% 100%,0 100%);
}
.nh-folder-item { position: absolute; overflow: hidden; background: #fff; border-radius: .35cqw; box-shadow: 0 .2cqw .45cqw #38333129, .1cqw 1.1cqw 2cqw #32302e2b; }
.nh-folder-deck { top: 8%; left: 43.5%; width: 46%; transform: rotate(11deg); transform-origin:50% 85%; }
.nh-folder-matrix { width: 40%; height: 41%; top: 29%; left: 51.5%; transform: rotate(8deg); padding: 2cqw 1.7cqw; }
.nh-print-heading { font-size: 2cqw; line-height: 1.15; color: #244c40; font-weight: 580; padding-bottom: 1.1cqw; }
.nh-folder-matrix img { width: 250%; }
.nh-folder-memo { left: 10.5%; top: 17%; width: 55%; height: 58%; transform: rotate(-7deg); transform-origin: 50% 95%; padding: 1.7cqw; }
.nh-folder-response{left:47%;top:36%;width:40%;height:42%;padding:1cqw;transform:rotate(3deg)}
.nh-folder-front {
  position: absolute; inset: 55% 6% 7%; color: #f1e9ff;
  clip-path: polygon(0 0,30% 0,37% 15%,100% 15%,100% 100%,0 100%);
  border-radius: 0 0 1.5cqw 1.5cqw;
  background: radial-gradient(ellipse at 75% 90%, #6a577d88, transparent 65%), linear-gradient(130deg,#5c4f75,#453754 85%);
  box-shadow: inset 0 -.25cqw .18cqw #231b3180;
}
.nh-folder-stamp { position: absolute; top: 20%; left: 6%; display: flex; align-items: center; gap: .6cqw; font: 600 2.4cqw/1 var(--serif); letter-spacing: -.05em; }
.nh-folder-stamp img { width: 2.1cqw; filter: invert(1); }
.nh-project-title { position: absolute; bottom: 8%; left: 5.6%; font: 400 8.9cqw/.95 var(--serif); letter-spacing: -.06em; }

.nh-hero-c {
  background:
    radial-gradient(ellipse at 90% 98%, #82739e 0, transparent 55%),
    radial-gradient(ellipse at 0 0, #494651 0, transparent 64%),
    #393444;
}
.nh-trace-sheet, .nh-trace-paper {
  position: absolute; overflow: hidden; color: #29262d; background: #fffdf9; border-radius: .55cqw;
  box-shadow: 0 .16cqw .1cqw #ffffffd0, 0 1.4cqw 3.5cqw #16101f40;
}
.nh-trace-sheet { top: 8%; left: 5.5%; width: 51%; min-height: 47%; padding: 3.5cqw 3.7cqw 4cqw; transform: rotate(-3.5deg); }
.nh-trace-ref {
  display: flex; justify-content: space-between; gap: 1cqw; padding-bottom: 1.4cqw; border-bottom: 1px solid #c6c4bb;
  font: 550 1.75cqw/1.2 var(--sans); color: #48444c;
}
.nh-trace-ref span { color: #68626d; }
.nh-trace-sheet blockquote { margin: 2.3cqw 0 0; font: 400 3.7cqw/1.13 var(--serif); letter-spacing: -.05em; }
.nh-trace-sheet em { font-style: normal; background: #e5daf7; box-shadow: 0 .09em #e5daf7; }
.nh-trace-route {
  position: absolute; left: 21%; top: 48%; width: 15%; height: 24%; border-left: .24cqw solid #e4d5fa;
  border-bottom: .24cqw solid #e4d5fa; border-radius: 0 0 0 2.8cqw;
}
.nh-trace-paper { z-index: 1; left: 48%; top: 35%; width: 47%; height: 56%; padding: 3cqw 3.1cqw 0; transform: rotate(3deg); }
.nh-trace-title { color: #232c3c; font: 500 3.9cqw/1.05 var(--serif); letter-spacing: -.055em; margin: 2cqw 0 1.7cqw; }
.nh-trace-print { height: 42%; overflow: hidden; }
.nh-trace-print img { width: 113%; margin: -75% 0 0 -6.5%; }
.nh-trace-matrix {
  position: absolute; z-index: 2; left: 8.5%; top: 67%; width: 46.5%; background: #f8f5ff;
  border: 1px solid #efe9f7; border-radius: 1cqw; color: #30273d; box-shadow: .2cqw 1.2cqw 3cqw #201a3035;
}
.nh-matrix-heading { display: flex; align-items: center; gap: 1cqw; padding: 1.45cqw 1.7cqw; font-size: 1.95cqw; font-weight: 560; border-bottom: 1px solid #e3dcea; }
.nh-matrix-heading img { width: 2.9cqw; }
.nh-matrix-row { display: grid; grid-template-columns: .6fr 1.4fr 1fr; align-items: baseline; padding: 1.8cqw 1.7cqw; font-size: 2.02cqw; }
.nh-matrix-row b { font-weight: 520; }
.nh-matrix-row strong { color: #27604e; font-weight: 600; text-align: right; }
@media(max-width:700px) { .nh-hero { border-radius: 12px; } }
