.text--shadow {
  text-shadow:
    calc(-1 * var(--shadow-text-offset)) calc(-1 * var(--shadow-text-offset)) var(--shadow-text-blur) var(--color-text-shadow),
    var(--shadow-text-offset) var(--shadow-text-offset) var(--shadow-text-blur) var(--color-text-shadow);
}

.text--underline {
  text-decoration: underline;
  text-underline-position: from-font;
  line-height: var(--line-height-underline);
}

.u-hide-scrollbar {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.u-hide-scrollbar::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
  background: transparent;
}

.u-hide-scrollbar::-webkit-scrollbar-thumb {
  background: transparent;
}

/* ── Temporary layout debug toggle ───────────────────────────────────────── */

.layout-debug-toggle {
  position: fixed;
  top: var(--space-bio-top);
  right: var(--space-page-x);
  z-index: 9999;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--color-text);
  font: var(--font-size-body) / var(--line-height-body) var(--font-family);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-body);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.layout-debug-toggle::before {
  content: "+";
}

.layout-debug-toggle[aria-pressed="true"] {
  color: rgba(180, 0, 200, 0.9);
  font-weight: var(--font-weight-bold);
}

@media (hover: hover) {
  .layout-debug-toggle:hover {
    color: rgba(180, 0, 200, 0.9);
  }
}

@media (min-width: 1280px) {
  .layout-debug-toggle {
    right: var(--space-nav-right-desktop);
    width: 66px;
    text-align: right;
  }
}

body.layout-guides-off .work-canvas {
  background-image: none;
  background-size: auto;
  box-shadow: none;
}

body.layout-guides-off .work-tile {
  background: transparent;
}

body.layout-guides-off .work-tile__label {
  display: none;
}

body.layout-guides-off .modal__gallery-cell--placeholder,
body.layout-guides-off .dual-col-gallery__image--placeholder {
  background: transparent;
}
