.pscope,
.pscope *,
.pscope *::before,
.pscope *::after { box-sizing: border-box; }

.pscope {
  position: relative !important;
  left: 50% !important;
  width: 100vw !important;
  max-width: none !important;
  margin: 0 0 0 -50vw !important;
  padding: 0 !important;
  overflow: clip;
  color: var(--ps-text);
  background: var(--ps-background);
  font-family: var(--ps-body-font);
  font-size: var(--ps-base-size);
  line-height: 1.62;
  text-align: left;
  text-transform: none;
  letter-spacing: normal;
}

.pscope.pscope .pscope__content,
.pscope.pscope .pscope__content > * { width: 100% !important; max-width: none !important; margin-right: 0 !important; margin-left: 0 !important; }
.pscope.pscope [class*="wp-block-"] { font-family: var(--ps-body-font); box-shadow: none; }
.pscope.pscope .wp-block-group__inner-container { width: min(100% - 2rem, var(--ps-content-width)); max-width: var(--ps-content-width); margin-inline: auto; }

.pscope.pscope h1,
.pscope.pscope h2,
.pscope.pscope h3,
.pscope.pscope h4,
.pscope.pscope h5,
.pscope.pscope h6 {
  margin-top: 0;
  margin-bottom: .382em;
  color: inherit;
  font-family: var(--ps-heading-font);
  font-weight: var(--ps-heading-weight);
  line-height: var(--ps-heading-line);
  text-wrap: balance;
  text-transform: none;
  letter-spacing: var(--ps-heading-tracking);
}
.pscope.pscope h1 { font-size: clamp(3rem, 9vw, var(--ps-h1)); }
.pscope.pscope h2 { font-size: clamp(2.5rem, 7vw, var(--ps-h2)); }
.pscope.pscope h3 { font-size: clamp(2rem, 4vw, var(--ps-h3)); }
.pscope.pscope h4 { font-size: clamp(1.5rem, 2.5vw, calc(var(--ps-h3) * .7)); }
.pscope.pscope p,
.pscope.pscope li { color: inherit; font-family: var(--ps-body-font); line-height: 1.62; text-transform: none; letter-spacing: normal; }
.pscope.pscope p { max-width: 65ch; margin-top: 0; margin-bottom: 1em; }
.pscope.pscope a { color: var(--ps-primary); text-decoration-thickness: .08em; text-underline-offset: .16em; }
.pscope.pscope figure { margin: 0; }
.pscope.pscope img { display: block; max-width: 100%; height: auto; }
.pscope.pscope .wp-block-image img,
.pscope.pscope .wp-block-cover__image-background { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.pscope.pscope .wp-block-image,
.pscope.pscope .wp-block-cover,
.pscope.pscope .wp-block-group.has-background { border-radius: var(--ps-radius); overflow: hidden; }
.pscope.pscope .has-background { padding: clamp(1.5rem, 5vw, var(--ps-section-padding)); }
.pscope.pscope .wp-block-button__link,
.pscope.pscope button { min-height: 46px; padding: .75rem 1.2rem; border: 2px solid var(--ps-primary); border-radius: 999px; color: var(--ps-background); background: var(--ps-primary); box-shadow: none; font: 700 .875rem/1 var(--ps-body-font); text-transform: none; letter-spacing: .02em; }
.pscope.pscope blockquote,
.pscope.pscope .wp-block-quote { margin: 2rem 0; padding-left: 1.5rem; border: 0; border-left: .35rem solid var(--ps-accent); color: inherit; background: transparent; }
.pscope.pscope table { width: 100%; border-collapse: collapse; color: inherit; background: transparent; }
.pscope.pscope th,
.pscope.pscope td { padding: .8rem; border: 1px solid currentColor; text-align: left; }
.pscope.pscope hr,
.pscope.pscope .wp-block-separator { width: 100%; height: 1px; margin: 2rem 0; border: 0; color: inherit; background: currentColor; opacity: .35; }
.pscope.pscope pre,
.pscope.pscope code { color: var(--ps-background); background: var(--ps-text); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }

.pscope--snap .pscope__content { height: 100svh; overflow-x: hidden; overflow-y: auto; overscroll-behavior-y: contain; scroll-behavior: smooth; scroll-snap-type: y mandatory; scrollbar-width: none; }
.pscope--snap .pscope__content::-webkit-scrollbar { display: none; }
.pscope--snap .pscope__content > .wp-block-group,
.pscope--snap .pscope__content > .wp-block-cover { min-height: 100svh !important; scroll-snap-align: start; scroll-snap-stop: always; }

.pscope-nav-toggle { position: fixed; z-index: 100002; top: 1.25rem; padding: .65rem 1rem !important; color: var(--ps-background) !important; background: var(--ps-text) !important; border-color: var(--ps-text) !important; }
.pscope-nav-toggle--right { right: 1.25rem; }
.pscope-nav-toggle--left { left: 1.25rem; }
.pscope-nav { position: fixed; z-index: 100003; top: 0; width: min(420px, 100vw); height: 100svh; padding: 1.5rem; overflow-y: auto; color: var(--ps-background); background: var(--ps-text); transition: transform 420ms cubic-bezier(.22,1,.36,1); }
.pscope-nav--right { right: 0; transform: translateX(102%); }
.pscope-nav--left { left: 0; transform: translateX(-102%); }
.pscope-nav.is-open { transform: translateX(0); }
.pscope-nav__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.pscope.pscope .pscope-nav__head button { width: 44px; min-height: 44px; padding: 0; border: 0; color: inherit; background: transparent; font-size: 2rem; }
.pscope-nav__links { display: grid; gap: .25rem; }
.pscope.pscope .pscope-nav__link { display: grid; grid-template-columns: 2.25rem 1fr; gap: .75rem; align-items: baseline; padding: .8rem 0; border-bottom: 1px solid color-mix(in srgb, var(--ps-background) 20%, transparent); color: inherit; opacity: .58; text-decoration: none; transition: opacity 180ms ease; }
.pscope.pscope .pscope-nav__link:hover,
.pscope.pscope .pscope-nav__link:focus-visible,
.pscope.pscope .pscope-nav__link.is-active { opacity: 1; }
.pscope-nav__link--h3 { padding-left: 1.25rem !important; font-size: .88em; }
.pscope-nav__link span { color: var(--ps-accent); font-size: .7rem; }
.pscope-nav__link strong { line-height: 1.25; }

.pscope-controls { position: fixed; z-index: 100001; right: 1.25rem; bottom: 1.25rem; display: flex; gap: .4rem; align-items: center; padding: .35rem; border-radius: 999px; color: var(--ps-background); background: var(--ps-text); }
.pscope:not(.pscope--snap) .pscope-controls { display: none; }
.pscope.pscope .pscope-controls button { width: 40px; min-width: 40px; min-height: 40px; padding: 0; border: 0; color: inherit; background: transparent; }
.pscope-controls span { min-width: 3.5rem; font-size: .7rem; font-weight: 700; text-align: center; }

@media (max-width: 781px) {
  .pscope { font-size: min(var(--ps-base-size), 17px); }
  .pscope--snap .pscope__content { height: auto; overflow: visible; scroll-snap-type: none; }
  .pscope--snap .pscope__content > .wp-block-group,
  .pscope--snap .pscope__content > .wp-block-cover { min-height: auto !important; }
  .pscope-controls { display: none; }
  .pscope-nav-toggle { top: auto; bottom: 1rem; }
  .pscope-nav-toggle--right { right: 1rem; }
  .pscope-nav-toggle--left { left: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .pscope *, .pscope *::before, .pscope *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

