/* 5D demos — cinematic lab, not the light shop chrome */
html, body.d5 {
  min-height: 100%;
  background: #040b16;
  color: #e8f4ff;
}
body.d5 { margin: 0; font-family: Jura, sans-serif; overflow-x: hidden; }
.d5 * { box-sizing: border-box; }
.d5 a { color: inherit; }

.d5-skip {
  position: absolute; left: -999px; top: 0;
}
.d5-skip:focus { left: 1rem; top: 1rem; z-index: 40; background: #d4a84a; color: #071525; padding: 0.4rem 0.7rem; }

.d5-void {
  position: fixed; inset: 0; z-index: 0;
  background:
    radial-gradient(50% 40% at 50% 18%, rgba(0, 168, 255, 0.18), transparent 58%),
    radial-gradient(40% 50% at 80% 80%, rgba(212, 168, 74, 0.08), transparent 60%),
    #040b16 url("../assets/concepts/cvt-5d-void.jpg") center / cover no-repeat;
  transform: translate3d(var(--px, 0), var(--py, 0), 0) scale(1.08);
  transition: transform 0.12s linear;
  pointer-events: none;
}
.d5-particles {
  position: fixed; inset: 0; z-index: 1;
  width: 100%; height: 100%;
  pointer-events: none;
}
.d5-scan {
  position: fixed; inset: 0; z-index: 2; pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0 3px,
    rgba(4, 11, 22, 0.12) 3px 4px
  );
  mix-blend-mode: multiply;
  opacity: 0.35;
}

.d5-top {
  position: relative; z-index: 8;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
  padding: 0.85rem 1.4rem;
  border-bottom: 1px solid rgba(120, 190, 255, 0.14);
  background: linear-gradient(180deg, rgba(4, 14, 28, 0.88), rgba(4, 14, 28, 0.35));
  backdrop-filter: blur(12px);
}
.d5-brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.d5-brand img { width: 42px; height: 42px; object-fit: contain; }
.d5-brand strong { display: block; font-size: 1.05rem; letter-spacing: 0.08em; }
.d5-brand span { display: block; font-size: 0.72rem; opacity: 0.7; letter-spacing: 0.04em; }
.d5-nav { display: flex; flex-wrap: wrap; gap: 0.9rem 1.15rem; font-size: 0.88rem; font-weight: 600; opacity: 0.82; }
.d5-nav a { text-decoration: none; }
.d5-nav a:hover, .d5-nav a.is-on { color: #d4a84a; opacity: 1; }
.d5-cta {
  display: inline-flex; align-items: center; min-height: 2.45rem;
  padding: 0.3rem 1rem; border-radius: 999px;
  background: linear-gradient(180deg, #f0d08a, #d4a84a);
  color: #071525; font-weight: 700; text-decoration: none;
}

.d5-stage {
  position: relative; z-index: 5;
  display: grid;
  grid-template-columns: minmax(16rem, 0.9fr) minmax(20rem, 1.2fr) minmax(16rem, 0.95fr);
  gap: 0.6rem 1rem;
  align-items: center;
  min-height: calc(100vh - 4.6rem);
  padding: 0.6rem 1.2rem 1.4rem;
  perspective: 1400px;
}

.d5-copy h1 {
  margin: 0.25rem 0 0.7rem;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  line-height: 1.08;
  letter-spacing: 0.01em;
  background: linear-gradient(180deg, #fff, #9fd4ff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.d5-kicker {
  margin: 0;
  color: #d4a84a;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
}
.d5-copy p { margin: 0 0 1rem; max-width: 34rem; line-height: 1.5; opacity: 0.88; }
.d5-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.d5-checks li {
  display: flex; align-items: center; gap: 0.55rem;
  font-size: 0.92rem;
}
.d5-checks i {
  width: 1.35rem; height: 1.35rem; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(212, 168, 74, 0.55);
  color: #d4a84a; font-style: normal; font-size: 0.72rem;
}

.d5-orbit { position: absolute; inset: 0; pointer-events: none; }
.d5-orbit .d5-node { pointer-events: auto; }
.d5-core {
  position: relative;
  min-height: 36rem;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transform-style: preserve-3d;
  transition: transform 0.18s ease-out;
}
.d5-rings, .d5-rings::before, .d5-rings::after {
  position: absolute; left: 50%; top: 78%;
  translate: -50% -50%;
  border-radius: 50%;
  border: 1px solid rgba(78, 200, 255, 0.22);
  pointer-events: none;
}
.d5-rings { width: 78%; height: 22%; animation: d5spin 28s linear infinite; }
.d5-rings::before { content: ""; width: 118%; height: 118%; animation: d5spin 40s linear infinite reverse; }
.d5-rings::after {
  content: ""; width: 70%; height: 70%;
  border-color: rgba(212, 168, 74, 0.28);
  animation: d5spin 18s linear infinite;
}
.d5-figure {
  position: relative;
  width: min(440px, 86%);
  margin: 0 auto;
  transform: translateZ(40px);
  animation: d5float 6.5s ease-in-out infinite;
  filter: drop-shadow(0 18px 36px rgba(0, 80, 140, 0.35));
  background: transparent;
  overflow: visible;
}
.d5-figure img {
  display: block; width: 100%; height: auto;
  user-select: none; pointer-events: none;
  mix-blend-mode: screen;
  background: transparent;
}
.d5-hot {
  position: absolute;
  width: 1.15rem; height: 1.15rem;
  border: 0; padding: 0; border-radius: 50%;
  left: var(--x); top: var(--y);
  translate: -50% -50%;
  background: #d4a84a;
  box-shadow: 0 0 0 6px rgba(0, 168, 255, 0.18), 0 0 16px #4ec8ff;
  cursor: pointer;
  z-index: 4;
}
.d5-hot::after {
  content: "";
  position: absolute; inset: -8px;
  border-radius: 50%;
  border: 1px solid rgba(78, 200, 255, 0.7);
  animation: d5pulse 2.4s ease-out infinite;
}
.d5-hot.is-on { background: #4ec8ff; box-shadow: 0 0 0 8px rgba(212, 168, 74, 0.25), 0 0 22px #d4a84a; }

.d5-pin {
  position: absolute;
  left: var(--x); top: var(--y);
  transform: translate(-50%, -50%);
  z-index: 6;
  margin: 0; padding: 0; border: 0;
  background: none;
  color: #d7efff;
  cursor: pointer;
  font-family: inherit;
  width: 2.7rem;
  height: 2.7rem;
  display: grid;
  place-items: center;
  text-decoration: none;
}
.d5-pin i {
  display: block;
  width: 0.8rem; height: 0.8rem;
  border-radius: 50%;
  background: #d4a84a;
  box-shadow: 0 0 0 5px rgba(0, 168, 255, 0.2), 0 0 14px #4ec8ff;
}
.d5-pin.is-on i { background: #4ec8ff; box-shadow: 0 0 0 6px rgba(212, 168, 74, 0.28), 0 0 18px #d4a84a; }
.d5-pin span {
  position: absolute;
  top: 50%; left: 1.15rem;
  transform: translateY(-50%);
  white-space: nowrap;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-shadow: 0 1px 8px #041018;
  pointer-events: none;
}
.d5-pin[data-side="l"] span { left: auto; right: 1.15rem; text-align: right; }
.d5-pin--sat {
  /* satellite: РАС рядом с головой, не на органе */
}
.d5-who-side {
  display: flex;
  flex-direction: column;
  gap: 0.48rem;
}
.d5-who-side .d5-kicker { margin: 0 0 0.1rem; }
.d5-who-mini {
  display: grid;
  grid-template-columns: 2.35rem 1fr;
  gap: 0.55rem;
  align-items: center;
  padding: 0.4rem 0.65rem;
  border-radius: 14px;
  text-decoration: none;
  border: 1px solid rgba(120, 190, 255, 0.2);
  background: rgba(8, 24, 44, 0.62);
  backdrop-filter: blur(10px);
  color: #e8f4ff;
  cursor: pointer;
  font: inherit;
  text-align: left;
  width: 100%;
}
.d5-who-mini.is-on, .d5-who-mini:hover { border-color: #d4a84a; }
.d5-who-mini b { display: block; font-size: 0.88rem; }
.d5-who-mini em { display: block; font-style: normal; font-size: 0.72rem; opacity: 0.72; }
.d5-who-mini .d5-ico { width: 2.15rem; height: 2.15rem; flex: none; }
.d5-who-mini--gold { border-color: rgba(212, 168, 74, 0.45); }

.d5-sys {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 0 0 1rem;
}
.d5-sys button,
.d5-sys a {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  padding: 0.42rem 0.5rem;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: rgba(232, 244, 255, 0.78);
  font: inherit;
  cursor: pointer;
  text-align: left;
  text-decoration: none;
  box-sizing: border-box;
}
.d5-sys button.is-on,
.d5-sys a.is-on,
.d5-sys button:hover,
.d5-sys a:hover {
  color: #fff;
  border-color: rgba(212, 168, 74, 0.45);
  background: rgba(212, 168, 74, 0.08);
}
.d5-sys svg { flex: none; opacity: 0.9; }
.d5-bodyrow {
  display: grid;
  grid-template-columns: 8.2rem minmax(0, 1fr);
  gap: 0.4rem;
  align-items: center;
}

.d5-node {
  position: absolute;
  width: min(11.4rem, 34%);
  padding: 0.55rem 0.7rem 0.6rem;
  border-radius: 999px;
  display: flex; align-items: center; gap: 0.5rem;
  border: 1px solid rgba(120, 190, 255, 0.28);
  background: rgba(6, 22, 42, 0.72);
  backdrop-filter: blur(10px);
  color: #e8f4ff;
  cursor: pointer;
  text-align: left;
  font: inherit;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
  z-index: 5;
}
.d5-node:hover, .d5-node.is-on {
  border-color: #d4a84a;
  background: rgba(12, 36, 64, 0.9);
}
.d5-node b { display: block; font-size: 0.72rem; letter-spacing: 0.04em; }
.d5-node span { display: block; font-size: 0.68rem; opacity: 0.7; }
.d5-ico {
  flex: 0 0 2.1rem; width: 2.1rem; height: 2.1rem; border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 30% 30%, #7ad4ff, #0b4a78);
  box-shadow: 0 0 12px rgba(0, 168, 255, 0.45);
}
.d5-node[data-tone="gold"] .d5-ico { background: radial-gradient(circle at 30% 30%, #f0d08a, #8a5a12); }
.d5-node[data-tone="pink"] .d5-ico { background: radial-gradient(circle at 30% 30%, #ffb3e0, #7a2a5a); }

.d5-rail { display: grid; gap: 0.55rem; }
.d5-card {
  display: grid; grid-template-columns: 4.6rem 1fr auto;
  gap: 0.65rem; align-items: center;
  padding: 0.45rem 0.7rem 0.45rem 0.45rem;
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(120, 190, 255, 0.16);
  background: rgba(8, 24, 44, 0.72);
  backdrop-filter: blur(10px);
  min-height: 4.4rem;
}
.d5-card img {
  width: 4.6rem; height: 3.5rem; object-fit: cover; border-radius: 10px;
}
.d5-card strong { display: block; font-size: 0.9rem; }
.d5-card span { display: block; font-size: 0.75rem; opacity: 0.7; line-height: 1.3; }
.d5-card em { font-style: normal; color: #d4a84a; font-size: 1.1rem; }
.d5-card:hover { border-color: rgba(212, 168, 74, 0.55); transform: translateX(-4px); }

.d5-panel {
  margin-top: 1rem;
  padding: 1rem 1.05rem 1.1rem;
  border-radius: 18px;
  background: linear-gradient(165deg, rgba(255,255,255,0.96), rgba(230,242,252,0.94));
  color: #1a2a3a;
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
}
.d5-panel h2 { margin: 0.15rem 0 0.45rem; font-size: 1.25rem; color: #0b355f; }
.d5-panel p { margin: 0 0 0.8rem; font-size: 0.95rem; line-height: 1.45; }
.d5-panel .d5-kicker { color: #b07a22; }
.d5-actions { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.d5-actions a {
  display: inline-flex; align-items: center; min-height: 2.2rem;
  padding: 0.25rem 0.8rem; border-radius: 999px;
  text-decoration: none; font-weight: 700; font-size: 0.85rem;
}
.d5-actions a.gold { background: #d4a84a; color: #071525; }
.d5-actions a.ghost { background: #e8eef5; color: #0b355f; }

.d5-foot {
  position: relative; z-index: 6;
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem;
  justify-content: space-between;
  padding: 0.7rem 1.4rem 1rem;
  border-top: 1px solid rgba(120, 190, 255, 0.14);
  font-size: 0.82rem; opacity: 0.85;
}
.d5-foot a { text-decoration: none; }

/* Depth-only demo */
.d5--depth .d5-stage {
  grid-template-columns: minmax(16rem, 0.8fr) minmax(0, 1.15fr) minmax(13.5rem, 0.72fr);
  max-width: 1280px; margin: 0 auto;
}
.d5-depth-copy { padding-right: 0.5rem; }
.d5-labels { position: absolute; inset: 0; pointer-events: none; }
.d5-lab {
  position: absolute; left: var(--x); top: var(--y);
  translate: -50% -50%;
  white-space: nowrap;
  font-size: 0.78rem; font-weight: 700;
  color: #9fd4ff;
  text-shadow: 0 0 12px #041018;
  pointer-events: none;
}

/* Organ focus */
.d5--organ .d5-stage { grid-template-columns: 1fr 1fr; max-width: 1180px; margin: 0 auto; }
.d5-focus {
  position: relative; min-height: 28rem;
  display: grid; place-items: center;
  transform-style: preserve-3d;
}
.d5-focus img {
  width: min(460px, 90%);
  filter: drop-shadow(0 0 30px rgba(0,168,255,0.4));
  animation: d5float 5.5s ease-in-out infinite;
}
.d5-focus.is-heart img { animation: d5beat 1.8s ease-in-out infinite; }
.d5-tabs { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0 0 1rem; }
.d5-tabs button {
  border: 1px solid rgba(120,190,255,0.3);
  background: rgba(8,24,44,0.6);
  color: #e8f4ff; border-radius: 999px;
  padding: 0.4rem 0.85rem; font: inherit; cursor: pointer;
}
.d5-tabs button.is-on { border-color: #d4a84a; color: #d4a84a; }

/* Hub */
.d5-hub { position: relative; z-index: 5; padding: 1.2rem 1.4rem 2.4rem; }
.d5-hub h1 { margin: 0.2rem 0 0.5rem; font-size: clamp(1.8rem, 3vw, 2.6rem); }
.d5-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem; margin-top: 1.2rem;
}
.d5-pick {
  display: flex; flex-direction: column;
  min-height: 22rem; overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(120,190,255,0.2);
  background: rgba(8,24,44,0.55);
  text-decoration: none;
}
.d5-pick img { width: 100%; height: 12rem; object-fit: cover; }
.d5-pick div { padding: 0.9rem 1rem 1.1rem; }
.d5-pick strong { display: block; font-size: 1.1rem; margin-bottom: 0.3rem; }
.d5-pick span { opacity: 0.78; font-size: 0.92rem; line-height: 1.4; }
.d5-pick:hover { border-color: #d4a84a; transform: translateY(-4px); }

button.d5-card {
  width: 100%;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-align: left;
}
.d5-card.is-on,
.d5-card--gold {
  border-color: rgba(212, 168, 74, 0.55);
  box-shadow: 0 0 0 1px rgba(212, 168, 74, 0.25);
}
.d5-dirlist {
  display: grid;
  gap: 0.45rem;
  max-height: min(72vh, 44rem);
  overflow: auto;
  padding-right: 0.2rem;
}
.d5-stage--full {
  grid-template-columns: minmax(16rem, 0.85fr) minmax(18rem, 1fr) minmax(18rem, 0.95fr);
}
.d5-who-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 0.4rem;
  position: relative;
  z-index: 5;
  padding: 0 1.2rem 1.2rem;
}
.d5-who-card {
  min-height: 9.5rem;
  padding: 1rem 1.05rem;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  text-decoration: none;
  background: linear-gradient(165deg, #0d3a68, #071e36);
  border: 1px solid rgba(120, 190, 255, 0.2);
}
.d5-who-card--gold {
  background: linear-gradient(165deg, #3a2a12, #1a1408);
  border-color: rgba(212, 168, 74, 0.45);
}
.d5-who-card strong { font-size: 1.12rem; }
.d5-who-card span { opacity: 0.82; font-size: 0.88rem; line-height: 1.4; }
.d5-who-card em { margin-top: auto; font-style: normal; color: #d4a84a; font-weight: 700; font-size: 0.82rem; }
.d5-who-card:hover { transform: translateY(-4px); }
.d5-spin {
  position: absolute;
  inset: 0;
  animation: d5orbit 70s linear infinite;
  pointer-events: none;
}
.d5-core:hover .d5-spin { animation-play-state: paused; }
.d5-spin .d5-node {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10.8rem;
  margin: 0;
  pointer-events: auto;
  transform: rotate(var(--a)) translate(min(32vw, 255px)) rotate(calc(-1 * var(--a)));
}
.d5-node--gold { border-color: rgba(212, 168, 74, 0.55); }
.d5-care-note {
  margin: 0.7rem 0 0;
  font-size: 0.8rem;
  opacity: 0.7;
}
@keyframes d5orbit { to { transform: rotate(360deg); } }
.d5-refs { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; margin-top: 1.4rem; }
.d5-refs img { width: 100%; height: auto; border-radius: 14px; border: 1px solid rgba(120,190,255,0.16); }

@keyframes d5float {
  0%, 100% { transform: translateZ(40px) translateY(0); }
  50% { transform: translateZ(40px) translateY(-10px); }
}
@keyframes d5spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes d5pulse {
  0% { transform: scale(0.7); opacity: 0.8; }
  100% { transform: scale(1.9); opacity: 0; }
}
@keyframes d5beat {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 24px rgba(255,120,60,0.35)); }
  50% { transform: scale(1.035); filter: drop-shadow(0 0 38px rgba(255,140,50,0.55)); }
}

@media (max-width: 980px) {
  .d5-sys { flex-direction: row; flex-wrap: wrap; }
  .d5-sys button, .d5-sys a { width: auto; }
  .d5-stage, .d5--depth .d5-stage, .d5--organ .d5-stage, .d5-grid, .d5-refs,
  .d5-stage--full, .d5-who-row {
    grid-template-columns: 1fr;
  }
  .d5-pin span { font-size: 0.64rem; }
  .d5-core { min-height: 28rem; display: flex; flex-direction: column; align-items: center; }
  .d5-node { position: static; width: auto; margin: 0.25rem; transform: none; }
  .d5-orbit, .d5-spin {
    position: static;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    animation: none;
    inset: auto;
  }
  .d5-spin .d5-node { position: static; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .d5-figure, .d5-rings, .d5-rings::before, .d5-rings::after, .d5-hot::after, .d5-focus img, .d5-spin {
    animation: none;
  }
}

/* Постоянная страница директоров: атлас под шапкой сайта, не отдельное демо. */
.restore-atlas.d5 {
  position: relative;
  min-height: calc(100vh - 7rem);
  background: #040b16;
  color: #e8f4ff;
  overflow: hidden;
}
.restore-atlas .d5-void,
.restore-atlas .d5-particles,
.restore-atlas .d5-scan {
  position: absolute;
}
.restore-atlas .d5-stage {
  align-items: stretch;
  min-height: calc(100vh - 7.2rem);
}
.d5-copy--stack,
.restore-atlas .d5-copy {
  display: grid;
  grid-template-rows: auto auto auto;
  align-self: stretch;
  align-content: start;
  justify-items: stretch;
  height: 100%;
  min-height: 0;
  padding: 0;
  gap: 0.45rem;
  text-align: left;
}
.d5-copy__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.28rem;
  min-width: 0;
  padding: 0;
  text-align: center;
}
.d5-copy__head .d5-kicker {
  letter-spacing: 0.14em;
  padding: 0;
  margin: 0;
}
.d5-copy--stack h1,
.restore-atlas .d5-copy h1 {
  margin: 0;
  padding: 0;
  font-size: clamp(1.85rem, 2.7vw, 2.45rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  white-space: normal;
  text-align: center;
}
.d5-copy p.d5-copy__lead {
  margin: 0;
  padding: 0;
  max-width: 18.5rem;
  font-size: 0.9rem;
  line-height: 1.38;
  text-align: left;
  text-wrap: pretty;
  opacity: 0.86;
}
.d5-copy--stack .d5-sys,
.restore-atlas .d5-sys {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.12rem;
  margin: 0;
  min-height: 0;
}
.d5-copy--stack .d5-sys button,
.d5-copy--stack .d5-sys a {
  flex: 0 0 auto;
  min-height: 2.15rem;
  padding: 0.28rem 0;
  margin: 0;
}
body.page-restore .d5-panel,
body.page-restore .d5-panel--side,
body.page-restore .d5-panel--mid,
body.page-restore .d5-panel--who {
  display: none !important;
}
.d5-stage--live {
  grid-template-columns: minmax(12.2rem, 0.68fr) minmax(20rem, 1.25fr) minmax(16.5rem, 0.95fr);
  align-items: stretch;
}
.d5-mid {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 0;
  gap: 0.65rem;
}
.d5-stage--live .d5-core {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: none;
  transform-style: flat;
}
.d5-stage--live .d5-figure {
  height: min(88vh, 54rem);
  width: auto;
  max-width: 100%;
  margin: 0 auto;
  filter: none;
  background: none;
  transform: none;
  animation: none;
  isolation: auto;
}
.d5-stage--live .d5-figure img {
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center bottom;
  mix-blend-mode: screen;
  filter: none;
  background: none;
  -webkit-mask-image: radial-gradient(ellipse 68% 78% at 50% 48%, #000 58%, transparent 82%);
  mask-image: radial-gradient(ellipse 68% 78% at 50% 48%, #000 58%, transparent 82%);
}
.d5-copy--stack .d5-care-spot {
  margin-top: 0.15rem;
  padding: 0.55rem 0.6rem 0.65rem;
}
.d5-copy--stack .d5-care-spot strong {
  font-size: 0.9rem;
}
.d5-copy--stack .d5-care-spot > span {
  font-size: 0.7rem;
}
.d5-panel--mid {
  display: none;
}
.d5-care-spot {
  display: grid;
  gap: 0.32rem;
  padding: 0.75rem 0.8rem 0.85rem;
  border-radius: 16px;
  text-decoration: none;
  color: #1a1408;
  background: linear-gradient(165deg, #f6e4b0 0%, #d4a84a 58%, #b8892e 100%);
  border: 1px solid rgba(255, 232, 170, 0.65);
  box-shadow: 0 14px 32px rgba(212, 168, 74, 0.38);
}
.d5-care-spot:hover { filter: brightness(1.05); }
.d5-care-spot .d5-kicker { color: #6a4a12; }
.d5-care-spot strong { font-size: 1.02rem; line-height: 1.2; }
.d5-care-spot > span { font-size: 0.76rem; line-height: 1.35; opacity: 0.84; }
.d5-care-spot__row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.32rem;
  margin: 0.2rem 0 0.1rem;
}
.d5-care-spot__row img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 10px;
  background: #fff;
}
.d5-care-spot em {
  font-style: normal;
  font-weight: 800;
  font-size: 0.82rem;
}
.d5-stage:has(.d5-copy--stack) {
  align-items: stretch;
}
.d5-stage:has(.d5-copy--stack) .d5-who-side {
  justify-content: flex-start;
  align-self: start;
  gap: 0.48rem;
  padding-top: 0;
}
@media (max-width: 980px) {
  .d5-copy--stack,
  .restore-atlas .d5-copy {
    display: flex;
    height: auto;
  }
  .d5-copy--stack h1,
  .restore-atlas .d5-copy h1 {
    white-space: normal;
  }
  .d5-copy--stack .d5-sys button,
.d5-copy--stack .d5-sys a {
    flex: 0 0 auto;
  }
  .d5-stage--live {
    grid-template-columns: 1fr;
  }
  .d5-stage--live .d5-figure {
    height: min(62vh, 32rem);
  }
}
@media (max-width: 800px) {
  .restore-atlas.d5,
  .restore-atlas .d5-stage {
    min-height: 0;
    overflow: visible;
  }
  .d5-stage--live {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    padding: 0.75rem 0.85rem 1.4rem;
  }
  .d5-copy--stack,
  .restore-atlas .d5-copy {
    order: 1;
    padding: 0;
  }
  .d5-stage--live .d5-figure {
    order: 2;
    width: min(100%, 280px);
    height: auto;
    max-height: 52vh;
    margin: 0 auto;
    position: relative;
  }
  .d5-sys {
    flex-wrap: wrap;
    gap: 0.35rem;
  }
  .d5-sys button,
  .d5-sys a {
    font-size: 0.82rem;
    padding: 0.4rem 0.6rem;
  }
}
body.page-restore {
  background: #040b16;
}
body.page-restore > .d5-void,
body.page-restore > .d5-particles,
body.page-restore > .d5-scan {
  position: fixed;
}
body.page-restore > .d5-void {
  background-position: center 46%;
  background-size: cover;
  transform: translate3d(var(--px, 0), var(--py, 0), 0) scale(1);
}
body.page-restore .restore-atlas {
  overflow: visible;
  background: transparent;
}
body.page-restore .restore-care {
  position: relative;
  z-index: 5;
  background: transparent;
  color: #e8f4ff;
}
body.page-restore .restore-care h2 {
  color: #f4fbff;
}
body.page-restore .restore-care .restore-who__kicker {
  color: #d4a84a;
}
body.page-restore .restore-care__head p {
  color: rgba(232, 244, 255, 0.82);
}
body.page-restore .site-footer {
  position: relative;
  z-index: 5;
  background: linear-gradient(180deg, rgba(4, 14, 28, 0.55), rgba(4, 11, 22, 0.92));
}
