/*
Theme Name: PDSI
Theme URI: https://pdsi.cn/
Author: PDSI
Description: Editorial block theme for the Personal Digital Sovereignty Initiative.
Version: 0.1.0
Requires at least: 6.7
Requires PHP: 8.2
Text Domain: pdsi
*/

:root {
  --pdsi-ink: #151515;
  --pdsi-paper: #ffffff;
  --pdsi-surface: #f2f2ee;
  --pdsi-muted: #656565;
  --pdsi-border: #d7d7d1;
  --pdsi-accent: #f04a24;
  --pdsi-accent-dark: #a9250b;
  --pdsi-blue: #2947c7;
  --pdsi-header-height: 76px;
  --pdsi-wide: 1344px;
  --pdsi-content: 760px;
  --pdsi-radius: 4px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--pdsi-paper);
  color: var(--pdsi-ink);
  font-family: Inter, "Noto Sans SC", "Microsoft YaHei", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.7;
  margin: 0;
  text-rendering: optimizeLegibility;
}

body,
button,
input,
select,
textarea {
  letter-spacing: 0;
}

.wp-site-blocks > *,
.site-main > * {
  margin-block-start: 0 !important;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--pdsi-accent-dark);
}

:focus-visible {
  outline: 3px solid var(--pdsi-blue);
  outline-offset: 4px;
}

::selection {
  background: var(--pdsi-accent);
  color: #000000;
}

img,
svg {
  display: block;
  height: auto;
  max-width: 100%;
}

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background: var(--pdsi-paper);
  clip: auto !important;
  clip-path: none;
  color: var(--pdsi-ink);
  display: block;
  font-size: 15px;
  height: auto;
  left: 12px;
  padding: 12px 16px;
  top: 12px;
  width: auto;
  z-index: 100000;
}

.pdsi-container {
  margin-inline: auto;
  max-width: var(--pdsi-wide);
  padding-inline: 56px;
  width: 100%;
}

.pdsi-section {
  padding-block: 128px;
}

.pdsi-section--compact {
  padding-block: 88px;
}

.pdsi-kicker,
.pdsi-meta,
.pdsi-id,
.pdsi-status,
.pdsi-eyebrow {
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.4;
  text-transform: uppercase;
}

.pdsi-kicker,
.pdsi-eyebrow {
  color: var(--pdsi-accent-dark);
}

.pdsi-section-heading {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 520px);
  margin-bottom: 64px;
}

.pdsi-section-heading h2,
.pdsi-section-heading p {
  margin: 0;
}

.pdsi-section-heading h2 {
  font-size: 52px;
  font-weight: 650;
  line-height: 1.08;
}

.pdsi-section-heading p {
  color: var(--pdsi-muted);
  font-size: 19px;
  line-height: 1.7;
}

.pdsi-button,
.wp-element-button,
.wp-block-button__link {
  align-items: center;
  background: var(--pdsi-ink);
  border: 1px solid var(--pdsi-ink);
  border-radius: var(--pdsi-radius);
  color: #ffffff;
  display: inline-flex;
  font-size: 15px;
  font-weight: 650;
  gap: 12px;
  justify-content: center;
  line-height: 1.2;
  min-height: 48px;
  padding: 14px 20px;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.pdsi-button:hover,
.wp-element-button:hover,
.wp-block-button__link:hover {
  background: var(--pdsi-accent);
  border-color: var(--pdsi-accent);
  color: #000000;
  transform: translateY(-2px);
}

.pdsi-button--secondary {
  background: transparent;
  color: var(--pdsi-ink);
}

.pdsi-button--light {
  background: #ffffff;
  border-color: #ffffff;
  color: #000000;
}

.pdsi-button--light:hover {
  background: transparent;
  border-color: #000000;
}

.pdsi-text-link {
  align-items: center;
  display: inline-flex;
  font-size: 15px;
  font-weight: 650;
  gap: 10px;
}

/* Header */
.site-header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--pdsi-border);
  min-height: var(--pdsi-header-height);
  position: sticky;
  top: 0;
  z-index: 100;
}

.admin-bar .site-header {
  top: 32px;
}

.site-header__inner {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-inline: auto;
  max-width: var(--pdsi-wide);
  min-height: var(--pdsi-header-height);
  padding-inline: 56px;
}

.pdsi-brand {
  align-items: center;
  color: var(--pdsi-ink);
  display: inline-flex;
  flex-shrink: 0;
  gap: 10px;
  text-decoration: none;
}

.pdsi-brand:hover {
  color: var(--pdsi-ink);
}

.pdsi-brand__mark {
  display: block;
  flex: 0 0 40px;
  height: 40px;
  width: 40px;
}

.pdsi-brand__wordmark {
  font-family: Arial, sans-serif;
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
}

.pdsi-brand__name {
  border-left: 1px solid var(--pdsi-border);
  color: var(--pdsi-muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  margin-left: 2px;
  padding-left: 12px;
}

.primary-navigation {
  font-size: 14px;
  font-weight: 600;
}

.primary-navigation .wp-block-navigation-item__content {
  padding: 8px 4px;
}

.primary-navigation .wp-block-navigation-item__content:hover {
  color: var(--pdsi-accent-dark);
}

.wp-block-navigation__responsive-container.is-menu-open {
  background: var(--pdsi-paper) !important;
  color: var(--pdsi-ink) !important;
  padding: 32px !important;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
  align-items: stretch !important;
  justify-content: center;
  padding-top: 72px;
  width: 100%;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
  align-items: stretch !important;
  gap: 8px;
  width: 100%;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
  align-items: stretch;
  width: 100%;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
  border-bottom: 1px solid var(--pdsi-border);
  display: block;
  font-size: 30px;
  line-height: 1.2;
  padding: 16px 0;
  width: 100%;
}

/* Hero */
.pdsi-hero {
  border-bottom: 1px solid var(--pdsi-border);
  min-height: min(780px, calc(88svh - var(--pdsi-header-height)));
  overflow: hidden;
  position: relative;
}

.pdsi-hero__inner {
  align-items: stretch;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  min-height: inherit;
  position: relative;
  z-index: 1;
}

.pdsi-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 72px;
  padding-right: 64px;
}

.pdsi-hero__title {
  font-size: 96px;
  font-weight: 760;
  line-height: 0.9;
  margin: 28px 0 36px;
  max-width: 920px;
  text-transform: uppercase;
}

.pdsi-hero__title span {
  display: block;
}

.pdsi-hero__title span:nth-child(2) {
  color: var(--pdsi-accent-dark);
}

.pdsi-hero__claim {
  font-size: 28px;
  font-weight: 650;
  line-height: 1.35;
  margin: 0 0 14px;
}

.pdsi-hero__description {
  color: var(--pdsi-muted);
  font-size: 18px;
  margin: 0;
  max-width: 660px;
}

.pdsi-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.pdsi-hero__index {
  align-self: stretch;
  border-left: 1px solid var(--pdsi-border);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px 0 56px 48px;
}

.pdsi-hero__range {
  color: var(--pdsi-blue);
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 24px;
}

.pdsi-hero__index ol {
  display: grid;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pdsi-hero__index li {
  border-top: 1px solid var(--pdsi-border);
  color: var(--pdsi-muted);
  font-size: 14px;
  padding: 9px 0;
}

.pdsi-hero__index li:last-child {
  border-bottom: 1px solid var(--pdsi-border);
}

.pdsi-hero__index strong {
  color: var(--pdsi-ink);
  display: inline-block;
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  margin-right: 12px;
  min-width: 24px;
}

/* Problem */
.pdsi-problem {
  background: var(--pdsi-surface);
}

.pdsi-problem__intro {
  max-width: 880px;
}

.pdsi-problem__intro h2 {
  font-size: 64px;
  line-height: 1.08;
  margin: 16px 0 64px;
}

.pdsi-problem-list {
  border-bottom: 1px solid var(--pdsi-border);
  list-style: none;
  margin: 0;
  padding: 0;
}

.pdsi-problem-list li {
  align-items: baseline;
  border-top: 1px solid var(--pdsi-border);
  display: grid;
  gap: 28px;
  grid-template-columns: 80px minmax(0, 1fr);
  padding: 34px 0;
}

.pdsi-problem-list li:nth-child(even) p {
  margin-left: 12%;
}

.pdsi-problem-list span {
  color: var(--pdsi-accent-dark);
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 14px;
  font-weight: 700;
}

.pdsi-problem-list p {
  font-size: 25px;
  line-height: 1.45;
  margin: 0;
  max-width: 920px;
}

.pdsi-problem__closing {
  font-size: 20px;
  font-weight: 650;
  margin: 48px 0 0 108px;
}

/* Framework */
.pdsi-framework {
  background: var(--pdsi-ink);
  color: #ffffff;
}

.pdsi-framework .pdsi-kicker {
  color: #ff7453;
}

.pdsi-framework .pdsi-section-heading p {
  color: #bcbcbc;
}

.pdsi-framework-list {
  border-bottom: 1px solid #414141;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pdsi-framework-list a {
  align-items: center;
  border-top: 1px solid #414141;
  color: #ffffff;
  display: grid;
  gap: 24px;
  grid-template-columns: 64px minmax(220px, 0.8fr) minmax(260px, 1.2fr) 28px;
  min-height: 86px;
  padding: 18px 0;
  text-decoration: none;
  transition: background-color 160ms ease, padding 160ms ease;
}

.pdsi-framework-list a:hover {
  background: #232323;
  color: #ffffff;
  padding-inline: 18px;
}

.pdsi-framework-list .pdsi-id {
  color: #ff7453;
}

.pdsi-framework-list h3 {
  font-size: 23px;
  font-weight: 620;
  margin: 0;
}

.pdsi-framework-list p {
  color: #bcbcbc;
  font-size: 15px;
  margin: 0;
}

.pdsi-framework-list .pdsi-arrow {
  font-size: 22px;
  text-align: right;
}

/* Start here */
.pdsi-start__grid {
  display: grid;
  gap: 24px 48px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pdsi-reading-item {
  border-top: 2px solid var(--pdsi-ink);
  display: flex;
  flex-direction: column;
  min-height: 230px;
  padding: 22px 0 12px;
  text-decoration: none;
}

.pdsi-reading-item:hover {
  color: var(--pdsi-ink);
}

.pdsi-reading-item:hover h3 {
  color: var(--pdsi-accent-dark);
}

.pdsi-reading-item--primary {
  background: var(--pdsi-accent);
  border: 0;
  grid-row: span 2;
  min-height: 484px;
  padding: 32px;
}

.pdsi-reading-item .pdsi-meta {
  color: var(--pdsi-muted);
}

.pdsi-reading-item--primary .pdsi-meta,
.pdsi-reading-item--primary p {
  color: #3a1208;
}

.pdsi-reading-item h3 {
  font-size: 29px;
  line-height: 1.25;
  margin: 28px 0 12px;
  transition: color 160ms ease;
}

.pdsi-reading-item--primary h3 {
  font-size: 44px;
  margin-top: auto;
}

.pdsi-reading-item p {
  color: var(--pdsi-muted);
  font-size: 16px;
  margin: 0 0 24px;
}

.pdsi-reading-item .pdsi-read {
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 13px;
  font-weight: 700;
  margin-top: auto;
  text-transform: uppercase;
}

/* Research query */
.pdsi-research {
  background: var(--pdsi-surface);
}

.pdsi-research .wp-block-post-template {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.pdsi-research .wp-block-post {
  background: var(--pdsi-paper);
  border: 1px solid var(--pdsi-border);
  border-radius: var(--pdsi-radius);
  display: flex;
  flex-direction: column;
  min-height: 310px;
  padding: 28px;
  transition: border-color 160ms ease, transform 160ms ease;
}

.pdsi-research .wp-block-post:hover {
  border-color: var(--pdsi-ink);
  transform: translateY(-3px);
}

.pdsi-research .wp-block-post-terms,
.pdsi-research .wp-block-post-date {
  color: var(--pdsi-muted);
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  text-transform: uppercase;
}

.pdsi-research .wp-block-post-title {
  font-size: 25px;
  line-height: 1.3;
  margin: 54px 0 16px;
  text-wrap: balance;
}

.pdsi-research .wp-block-post-title a {
  text-decoration: none;
}

.pdsi-research .wp-block-post-excerpt {
  color: var(--pdsi-muted);
  font-size: 15px;
  margin-top: auto;
}

.pdsi-research .wp-block-post-excerpt__more-link {
  color: var(--pdsi-ink);
  display: inline-block;
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  font-weight: 700;
  margin-top: 18px;
  text-transform: uppercase;
}

.pdsi-research__footer {
  border-top: 1px solid var(--pdsi-border);
  margin-top: 46px;
  padding-top: 24px;
  text-align: right;
}

/* Projects */
.pdsi-projects__lead {
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
}

.pdsi-projects__statement {
  font-size: 42px;
  font-weight: 650;
  line-height: 1.2;
  margin: 0;
}

.pdsi-projects__body {
  color: var(--pdsi-muted);
  margin: 4px 0 0;
  max-width: 650px;
}

.pdsi-project {
  border-bottom: 1px solid var(--pdsi-border);
  border-top: 1px solid var(--pdsi-border);
  display: grid;
  gap: 36px;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
  margin-top: 64px;
  padding: 38px 0;
}

.pdsi-project__brand h3 {
  font-size: 52px;
  line-height: 1;
  margin: 12px 0 18px;
}

.pdsi-project__brand p {
  color: var(--pdsi-muted);
  font-size: 15px;
  margin: 0;
}

.pdsi-project__tools {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pdsi-project-tool {
  border-left: 3px solid var(--pdsi-blue);
  padding: 6px 0 6px 22px;
}

.pdsi-project-tool h4 {
  font-size: 22px;
  margin: 0 0 4px;
}

.pdsi-project-tool p {
  color: var(--pdsi-muted);
  font-size: 14px;
  margin: 0 0 12px;
}

/* Open initiative */
.pdsi-open {
  background: var(--pdsi-accent);
  color: #000000;
}

.pdsi-open__inner {
  align-items: end;
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
}

.pdsi-open h2 {
  font-size: 66px;
  line-height: 1;
  margin: 18px 0 28px;
  max-width: 850px;
  text-transform: uppercase;
}

.pdsi-open p {
  font-size: 18px;
  max-width: 700px;
}

.pdsi-open__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

/* Footer */
.site-footer {
  background: var(--pdsi-ink);
  color: #ffffff;
  padding-block: 64px 32px;
}

.site-footer__main {
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.site-footer__brand strong {
  display: block;
  font-size: 30px;
  line-height: 1;
  margin-bottom: 12px;
}

.site-footer__brand span {
  color: #aaaaaa;
  font-size: 14px;
}

.site-footer__nav {
  display: grid;
  gap: 10px 36px;
  grid-template-columns: repeat(2, minmax(100px, 1fr));
}

.site-footer__nav a {
  color: #ffffff;
  font-size: 14px;
  text-decoration: none;
}

.site-footer__nav a:hover {
  color: #ff7453;
}

.site-footer__bottom {
  border-top: 1px solid #3c3c3c;
  color: #999999;
  display: flex;
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  justify-content: space-between;
  margin-top: 52px;
  padding-top: 22px;
}

.site-footer__legal {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.site-footer__bottom a {
  color: #c8c8c8;
  text-decoration: none;
}

.site-footer__bottom a:hover {
  color: #ffffff;
}

/* Interior pages */
.pdsi-page-shell,
.pdsi-article-shell,
.pdsi-index-shell {
  margin-inline: auto;
  max-width: var(--pdsi-wide);
  padding: 96px 56px 128px;
}

.pdsi-page-shell > *,
.pdsi-article-shell > * {
  margin-left: 0;
  margin-right: auto;
  max-width: var(--pdsi-content);
}

.pdsi-article-shell > .wp-block-post-title {
  max-width: 980px;
  text-wrap: balance;
}

.pdsi-page-shell > .alignwide,
.pdsi-article-shell > .alignwide {
  max-width: 1120px;
}

.pdsi-page-shell > .alignfull,
.pdsi-article-shell > .alignfull {
  max-width: none;
}

.pdsi-page-shell h1,
.pdsi-article-shell h1,
.pdsi-index-shell h1 {
  font-size: 66px;
  line-height: 1.08;
  margin: 0 0 34px;
}

.pdsi-page-shell .wp-block-post-content,
.pdsi-article-shell .wp-block-post-content {
  color: #2a2a2a;
}

.pdsi-page-shell .wp-block-post-content > h2,
.pdsi-article-shell .wp-block-post-content > h2 {
  border-top: 1px solid var(--pdsi-border);
  font-size: 36px;
  line-height: 1.2;
  margin-top: 76px;
  padding-top: 28px;
}

.pdsi-page-shell .wp-block-post-content > .wp-block-separator,
.pdsi-article-shell .wp-block-post-content > .wp-block-separator {
  border: 0;
  border-top: 1px solid var(--pdsi-border);
  margin: 76px 0 0;
}

.pdsi-page-shell .wp-block-post-content > .wp-block-separator + h2,
.pdsi-article-shell .wp-block-post-content > .wp-block-separator + h2 {
  border-top: 0;
  margin-top: 0;
}

.pdsi-page-shell .wp-block-post-content > h3,
.pdsi-article-shell .wp-block-post-content > h3 {
  font-size: 26px;
  margin-top: 48px;
}

.pdsi-page-shell .wp-block-post-content p,
.pdsi-page-shell .wp-block-post-content li,
.pdsi-article-shell .wp-block-post-content p,
.pdsi-article-shell .wp-block-post-content li {
  font-size: 18px;
  line-height: 1.85;
}

.pdsi-page-shell .wp-block-post-content blockquote,
.pdsi-article-shell .wp-block-post-content blockquote {
  border-left: 4px solid var(--pdsi-accent);
  font-size: 22px;
  margin: 48px 0;
  padding-left: 28px;
}

.pdsi-page-shell .wp-block-post-content blockquote p,
.pdsi-article-shell .wp-block-post-content blockquote p {
  font-size: inherit;
}

.pdsi-article-meta {
  border-bottom: 1px solid var(--pdsi-border);
  color: var(--pdsi-muted);
  display: flex;
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  gap: 18px;
  margin-bottom: 48px;
  padding-bottom: 22px;
  text-transform: uppercase;
}

.pdsi-index-shell .wp-block-post-template {
  list-style: none;
  margin: 56px 0 0;
  padding: 0;
}

.pdsi-index-shell .wp-block-post {
  border-top: 1px solid var(--pdsi-border);
  display: grid;
  gap: 36px;
  grid-template-columns: 160px minmax(0, 1fr);
  padding: 34px 0;
}

.pdsi-index-shell .wp-block-post-title {
  font-size: 30px;
  margin: 0 0 10px;
  text-wrap: balance;
}

.pdsi-index-shell .wp-block-post-title a {
  text-decoration: none;
}

.pdsi-index-shell .wp-block-post-excerpt {
  color: var(--pdsi-muted);
  font-size: 16px;
}

.pdsi-pagination {
  border-top: 1px solid var(--pdsi-border);
  margin-top: 48px;
  padding-top: 24px;
}

/* Responsive */
@media (max-width: 1200px) {
  .pdsi-container,
  .site-header__inner {
    padding-inline: 40px;
  }

  .pdsi-hero__title {
    font-size: 78px;
  }

  .pdsi-hero__copy {
    padding-right: 40px;
  }

  .pdsi-hero__index {
    padding-left: 36px;
  }
}

@media (max-width: 900px) {
  .pdsi-section {
    padding-block: 96px;
  }

  .pdsi-section-heading,
  .pdsi-projects__lead,
  .pdsi-open__inner {
    grid-template-columns: 1fr;
  }

  .pdsi-section-heading h2 {
    font-size: 44px;
  }

  .pdsi-hero {
    min-height: auto;
  }

  .pdsi-hero__inner {
    grid-template-columns: 1fr;
  }

  .pdsi-hero__copy {
    min-height: 620px;
    padding: 72px 0 48px;
  }

  .pdsi-hero__index {
    border-left: 0;
    border-top: 1px solid var(--pdsi-border);
    padding: 32px 0 48px;
  }

  .pdsi-framework-list a {
    grid-template-columns: 54px minmax(180px, 0.8fr) minmax(220px, 1.2fr) 24px;
  }

  .pdsi-research .wp-block-post-template {
    grid-template-columns: 1fr;
  }

  .pdsi-research .wp-block-post {
    min-height: 250px;
  }

  .pdsi-project {
    grid-template-columns: 1fr;
  }

  .pdsi-open__actions {
    justify-content: flex-start;
  }
}

@media (max-width: 700px) {
  :root {
    --pdsi-header-height: 68px;
  }

  body {
    font-size: 17px;
  }

  .admin-bar .site-header {
    top: 46px;
  }

  .pdsi-container,
  .site-header__inner {
    padding-inline: 20px;
  }

  .site-header__inner {
    min-height: var(--pdsi-header-height);
  }

  .pdsi-brand__mark {
    flex-basis: 36px;
    height: 36px;
    width: 36px;
  }

  .pdsi-brand__wordmark {
    font-size: 22px;
  }

  .pdsi-brand__name {
    display: none;
  }

  .pdsi-section,
  .pdsi-section--compact {
    padding-block: 76px;
  }

  .pdsi-section-heading {
    gap: 16px;
    margin-bottom: 42px;
  }

  .pdsi-section-heading h2 {
    font-size: 36px;
  }

  .pdsi-section-heading p {
    font-size: 17px;
  }

  .pdsi-hero__copy {
    min-height: auto;
    padding: 70px 0 54px;
  }

  .pdsi-hero__title {
    font-size: 42px;
    line-height: 0.94;
    margin: 24px 0 32px;
  }

  .pdsi-hero__claim {
    font-size: 24px;
  }

  .pdsi-hero__actions,
  .pdsi-open__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .pdsi-button {
    width: 100%;
  }

  .pdsi-problem__intro h2 {
    font-size: 42px;
    margin-bottom: 44px;
  }

  .pdsi-problem-list li {
    gap: 10px;
    grid-template-columns: 1fr;
    padding: 26px 0;
  }

  .pdsi-problem-list li:nth-child(even) p {
    margin-left: 0;
  }

  .pdsi-problem-list p {
    font-size: 20px;
  }

  .pdsi-problem__closing {
    margin-left: 0;
  }

  .pdsi-framework-list a {
    gap: 8px 16px;
    grid-template-columns: 42px minmax(0, 1fr) 20px;
    padding: 20px 0;
  }

  .pdsi-framework-list p {
    grid-column: 2 / 4;
  }

  .pdsi-framework-list h3 {
    font-size: 19px;
  }

  .pdsi-start__grid {
    grid-template-columns: 1fr;
  }

  .pdsi-reading-item,
  .pdsi-reading-item--primary {
    grid-row: auto;
    min-height: 250px;
  }

  .pdsi-reading-item--primary h3 {
    font-size: 35px;
  }

  .pdsi-projects__statement {
    font-size: 34px;
  }

  .pdsi-project__tools {
    grid-template-columns: 1fr;
  }

  .pdsi-open h2 {
    font-size: 46px;
  }

  .site-footer__main {
    grid-template-columns: 1fr;
  }

  .site-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .site-footer__legal {
    align-items: flex-start;
  }

  .pdsi-page-shell,
  .pdsi-article-shell,
  .pdsi-index-shell {
    padding: 72px 20px 96px;
  }

  .pdsi-page-shell h1,
  .pdsi-article-shell h1,
  .pdsi-index-shell h1 {
    font-size: 42px;
  }

  .pdsi-page-shell .wp-block-post-content > h2,
  .pdsi-article-shell .wp-block-post-content > h2 {
    font-size: 30px;
  }

  .pdsi-index-shell .wp-block-post {
    gap: 12px;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 360px) {
  .pdsi-hero__title {
    font-size: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .site-header,
  .site-footer,
  .pdsi-hero__actions,
  .pdsi-open {
    display: none !important;
  }

  body {
    color: #000000;
    font-size: 12pt;
  }

  a {
    text-decoration: underline;
  }
}
