/* Approved Version_100 refinements. */
body.precision.atelier.atmosphere .site-header,
body.precision.atelier.atmosphere .site-header.is-scrolled {
  background: rgba(255, 255, 255, .93);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
body.atmosphere ::selection {
  background: #c4d987;
  color: #293722;
}
body.precision.atelier.atmosphere .site-header .nav-action .button {
  background: linear-gradient(125deg, #526744 0%, #35482d 58%, #273921 100%);
  color: #fff;
  box-shadow: 0 7px 18px #27392120;
}
body.precision.atelier.atmosphere .site-header .nav-action .button:hover {
  background: linear-gradient(125deg, #465b39 0%, #2e4027 58%, #22331d 100%);
}
/* Keep Version_007's open plane and layout; use Version_069's exact masthead surface. */
body main > :is(.stage, .diag-stage):first-child[data-open-section] {
  --section-original-background: url("zim-flow.svg") right center / cover no-repeat,
    linear-gradient(115deg, #f3f7e9, #e3edce) !important;
}
/* Same donor sizes in the narrower base layout: avoid isolated final letters. */
body main h1 {
  hyphens: auto;
  hyphenate-limit-chars: 6 3 3;
}

/* Reading progress: original Version_069 presentation and script. */
.atelier .reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2000;
  width: 100%;
  height: 3px;
  background: #829b4b;
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
}

/* Reference motion: a capsule unfolds from the bottom centre in 100ms. */
body.precision.atelier.atmosphere .site-header .nav-links {
  gap: 12px;
}
body.precision.atelier.atmosphere .site-header .nav-links > a {
  position: relative;
  z-index: 0;
  isolation: isolate;
  padding-inline: 14px;
  min-height: 50px;
  font-size: 16px;
  font-weight: 650;
  text-decoration: none;
  border-bottom: 0;
  transition: color .1s ease-in-out;
}
body.precision.atelier.atmosphere .site-header .nav-links > a::before {
  content: "";
  display: block;
  position: absolute;
  z-index: -1;
  bottom: -1px;
  top: auto;
  left: 50%;
  right: 50%;
  width: auto;
  height: 3px;
  border-radius: 50px;
  background: #46563c;
  opacity: 0;
  pointer-events: none;
  transition: height .1s ease-in-out, left .1s ease-in-out,
    right .1s ease-in-out, opacity .1s ease-in-out;
}
body.precision.atelier.atmosphere .site-header .nav-links > a::after {
  display: none;
}
body.precision.atelier.atmosphere .site-header .nav-links > a:is(:hover, :focus-visible) {
  color: #fff;
  text-decoration: none;
}
body.precision.atelier.atmosphere .site-header .nav-links > a:is(:hover, :focus-visible)::before {
  left: 0;
  right: 0;
  height: 50px;
  opacity: 1;
}
body.precision.atelier.atmosphere .site-header .nav-links > a:focus-visible {
  outline-color: #34432d;
}
@media (max-width: 1100px) {
  body.precision.atelier.atmosphere .site-header .nav-links { gap: 8px; }
  body.precision.atelier.atmosphere .site-header .nav-links > a {
    font-size: 15px;
    padding-inline: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.precision.atelier.atmosphere .site-header .nav-links > a,
  body.precision.atelier.atmosphere .site-header .nav-links > a::before {
    transition: none;
  }
}
