:root {
  --pm-shell: min(1180px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  letter-spacing: 0;
  overflow-x: hidden;
}

img,
iframe {
  max-width: 100%;
}

.pm-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(17, 21, 27, 0.12);
  backdrop-filter: blur(16px);
}

.pm-site-header a {
  text-decoration: none;
}

.pm-hero {
  min-height: 78vh;
  display: flex;
  align-items: center;
  background-image:
    linear-gradient(90deg, rgba(8, 11, 15, 0.92) 0%, rgba(8, 11, 15, 0.78) 42%, rgba(8, 11, 15, 0.25) 100%),
    url("../images/architecture-of-light-hero.png");
  background-size: cover;
  background-position: center;
  color: #fff;
}

.pm-hero h1,
.pm-hero h2,
.pm-hero p {
  color: #fff;
}

.pm-hero .wp-block-buttons {
  margin-top: 1.5rem;
}

.pm-kicker {
  color: #b98b45;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pm-hero h1 {
  max-width: 760px;
  margin-bottom: 0.4rem;
  font-size: clamp(3rem, 5vw, 5.8rem);
}

.pm-hero h2 {
  max-width: 760px;
  font-family: var(--wp--preset--font-family--inter);
  font-size: clamp(1.25rem, 2vw, 2rem);
  line-height: 1.22;
}

.pm-lead {
  max-width: 720px;
  font-size: 1.16rem;
  line-height: 1.72;
}

.pm-section {
  padding-top: clamp(3.5rem, 7vw, 6.5rem);
  padding-bottom: clamp(3.5rem, 7vw, 6.5rem);
}

.pm-section-tight {
  padding-top: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.pm-band-dark {
  background: #11151b;
  color: #f8f6f1;
}

.pm-band-dark h2,
.pm-band-dark h3,
.pm-band-dark p {
  color: #f8f6f1;
}

.pm-door-grid,
.pm-feature-grid,
.pm-meta-grid {
  display: grid;
  gap: 1px;
  background: rgba(17, 21, 27, 0.16);
  border: 1px solid rgba(17, 21, 27, 0.16);
}

.pm-door-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pm-feature-grid,
.pm-meta-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pm-door,
.pm-feature,
.pm-meta {
  min-height: 260px;
  padding: 1.5rem;
  background: #fff;
}

.pm-door h3,
.pm-feature h3,
.pm-meta h3 {
  margin-top: 0;
  margin-bottom: 0.7rem;
  font-size: 1.35rem;
}

.pm-door a,
.pm-feature a {
  display: inline-block;
  margin-top: 0.75rem;
  font-weight: 800;
  text-decoration: none;
}

.pm-stat-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(248, 246, 241, 0.22);
  border: 1px solid rgba(248, 246, 241, 0.22);
}

.pm-stat {
  min-height: 138px;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.06);
}

.pm-stat strong {
  display: block;
  color: #fff;
  font-family: var(--wp--preset--font-family--serif);
  font-size: 2.1rem;
  line-height: 1;
}

.pm-stat span {
  display: block;
  margin-top: 0.55rem;
  color: rgba(248, 246, 241, 0.78);
  font-size: 0.9rem;
  line-height: 1.42;
}

.pm-split {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.pm-label-list {
  display: grid;
  gap: 0.75rem;
  padding-left: 0;
  list-style: none;
}

.pm-label-list li {
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(17, 21, 27, 0.14);
}

.pm-label-list strong {
  display: block;
  color: #11151b;
}

.pm-page-visual {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 1120px;
  margin: clamp(1.75rem, 4vw, 3rem) 0;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid rgba(17, 21, 27, 0.16);
  padding: clamp(1.25rem, 3vw, 2.35rem);
  background:
    linear-gradient(rgba(17, 21, 27, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 21, 27, 0.045) 1px, transparent 1px),
    linear-gradient(135deg, rgba(185, 139, 69, 0.18), rgba(47, 111, 146, 0.1)),
    #f8f6f1;
  background-size: 34px 34px, 34px 34px, auto;
}

.pm-page-visual h2 {
  margin-top: 0;
}

.pm-page-visual p {
  max-width: 780px;
}

.pm-infographic {
  position: relative;
  margin-top: 1.5rem;
  padding-top: 0.5rem;
}

.pm-info-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 1.16fr) minmax(0, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
  align-items: stretch;
}

.pm-info-stage::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 8%;
  left: 8%;
  height: 3px;
  background: linear-gradient(90deg, rgba(47, 111, 146, 0.18), rgba(185, 139, 69, 0.76), rgba(47, 111, 146, 0.18));
  transform: translateY(-50%);
}

.pm-info-rail,
.pm-info-center {
  position: relative;
  z-index: 1;
  min-height: 254px;
  border: 1px solid rgba(17, 21, 27, 0.16);
  border-radius: 8px;
  box-shadow: 0 18px 38px rgba(17, 21, 27, 0.08);
}

.pm-info-center {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.25rem, 3vw, 2rem);
  background:
    linear-gradient(155deg, rgba(17, 21, 27, 0.98), rgba(47, 111, 146, 0.94)),
    #11151b;
  color: #fff;
}

.pm-info-center::before,
.pm-info-center::after {
  content: "";
  position: absolute;
  top: calc(50% - 8px);
  width: 16px;
  height: 16px;
  border-top: 3px solid #b98b45;
  border-right: 3px solid #b98b45;
}

.pm-info-center::before {
  left: -0.68rem;
  transform: rotate(-135deg);
}

.pm-info-center::after {
  right: -0.68rem;
  transform: rotate(45deg);
}

.pm-info-center strong {
  color: #fff;
  font-family: var(--wp--preset--font-family--serif);
  font-size: clamp(1.45rem, 2.35vw, 2.15rem);
  line-height: 1.13;
}

.pm-info-center em {
  margin-top: 0.9rem;
  color: rgba(248, 246, 241, 0.78);
  font-size: 0.92rem;
  font-style: normal;
  line-height: 1.45;
}

.pm-info-label {
  display: block;
  margin-bottom: 0.8rem;
  color: #b98b45;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  font-weight: 800;
  text-transform: uppercase;
}

.pm-info-rail {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.88);
}

.pm-info-rail ul {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pm-info-rail li {
  position: relative;
  min-height: 58px;
  border: 1px solid rgba(17, 21, 27, 0.12);
  border-left: 4px solid rgba(47, 111, 146, 0.74);
  border-radius: 6px;
  padding: 0.55rem 0.65rem 0.55rem 0.8rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(47, 111, 146, 0.08)),
    #fff;
  color: rgba(17, 21, 27, 0.76);
  font-size: 0.94rem;
  line-height: 1.36;
}

.pm-info-rail strong {
  display: block;
  color: #11151b;
}

.pm-info-flow {
  counter-reset: pm-flow;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.75rem, 1.5vw, 1rem);
  margin-top: clamp(1rem, 2vw, 1.5rem);
}

.pm-info-step {
  position: relative;
  min-height: 124px;
  border: 1px solid rgba(17, 21, 27, 0.14);
  border-top: 5px solid #b98b45;
  border-radius: 8px;
  padding: 1rem;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.98), rgba(47, 111, 146, 0.11)),
    #fff;
  box-shadow: 0 12px 26px rgba(17, 21, 27, 0.07);
}

.pm-info-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -0.76rem;
  z-index: 2;
  width: 14px;
  height: 14px;
  border-top: 3px solid rgba(47, 111, 146, 0.74);
  border-right: 3px solid rgba(47, 111, 146, 0.74);
  background: transparent;
  transform: translateY(-50%) rotate(45deg);
}

.pm-info-step:last-child::after {
  display: none;
}

.pm-info-step b {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(47, 111, 146, 0.34);
  border-radius: 50%;
  background: #f8f6f1;
  color: #2f6f92;
  font-size: 0.92rem;
  line-height: 1;
}

.pm-info-step span {
  display: block;
  margin-top: 0.55rem;
  color: rgba(17, 21, 27, 0.72);
  font-size: 0.9rem;
  line-height: 1.38;
}

.pm-link-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 1.4rem 0 2.2rem;
  border: 1px solid rgba(17, 21, 27, 0.16);
  background: rgba(17, 21, 27, 0.16);
}

.pm-link-card {
  position: relative;
  min-height: 154px;
  display: block;
  padding: 1.15rem;
  background: #fff;
  color: #11151b;
  text-decoration: none;
}

.pm-link-card::before {
  content: "";
  display: block;
  width: 42px;
  height: 4px;
  margin-bottom: 1rem;
  background: #2f6f92;
}

.pm-link-card strong {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 1.02rem;
}

.pm-link-card span {
  display: block;
  color: rgba(17, 21, 27, 0.68);
  font-size: 0.9rem;
  line-height: 1.48;
}

.pm-link-card:hover,
.pm-link-card:focus {
  background: #f8f6f1;
}

.pm-anchor-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.4rem 0 2rem;
}

.pm-anchor-row a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  border: 1px solid rgba(17, 21, 27, 0.16);
  border-radius: 999px;
  padding: 0.3rem 0.82rem;
  background: #fff;
  color: #11151b;
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.wp-block-navigation__responsive-container.is-menu-open {
  inset: 0;
  width: 100vw;
  max-width: 100vw;
  min-height: 100dvh;
  z-index: 100000;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-dialog {
  max-width: min(100%, 1180px);
}

.pm-feature-band {
  margin: clamp(2rem, 4vw, 3rem) 0;
  border-top: 1px solid rgba(17, 21, 27, 0.16);
  border-bottom: 1px solid rgba(17, 21, 27, 0.16);
  padding: clamp(1.25rem, 3vw, 2rem) 0;
}

.pm-feature-band h2 {
  margin-top: 0;
}

.pm-card-grid,
.pm-record-grid,
.pm-contact-grid {
  display: grid;
  gap: 1px;
  margin: 1.1rem 0 2rem;
  border: 1px solid rgba(17, 21, 27, 0.16);
  background: rgba(17, 21, 27, 0.16);
}

.pm-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pm-record-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pm-contact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pm-deep-card,
.pm-record-card,
.pm-contact-card {
  min-height: 190px;
  padding: 1.15rem;
  background: #fff;
}

.pm-deep-card strong,
.pm-record-card strong,
.pm-contact-card strong {
  display: block;
  margin-bottom: 0.5rem;
  color: #11151b;
  font-size: 1.05rem;
}

.pm-deep-card p,
.pm-record-card p,
.pm-contact-card p {
  margin: 0.35rem 0 0;
  color: rgba(17, 21, 27, 0.72);
  font-size: 0.95rem;
  line-height: 1.5;
}

.pm-eyebrow {
  display: block;
  margin-bottom: 0.55rem;
  color: #b98b45;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pm-record-card a,
.pm-deep-card a,
.pm-contact-card a {
  display: inline-block;
  margin-top: 0.8rem;
  font-weight: 800;
  text-decoration: none;
}

.pm-book-thumb {
  display: block;
  aspect-ratio: 1.9 / 1;
  margin: 0 0 0.95rem !important;
  overflow: hidden;
  border: 1px solid rgba(17, 21, 27, 0.14);
  background: #11151b;
}

.pm-book-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pm-springer-feature {
  display: grid;
  grid-template-columns: minmax(118px, 160px) minmax(0, 1fr);
  gap: 1.2rem;
  margin: 1rem 0 1.1rem;
  padding: 1.15rem;
  border: 1px solid rgba(17, 21, 27, 0.16);
  background: #fff;
}

.pm-springer-cover {
  display: flex;
  grid-column: 1;
  grid-row: 1;
  min-height: 210px;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  border: 1px solid rgba(17, 21, 27, 0.14);
  background: linear-gradient(135deg, rgba(17, 21, 27, 0.06), rgba(47, 111, 146, 0.08));
}

.pm-springer-cover img {
  display: block;
  max-width: 82%;
  max-height: 190px;
  object-fit: contain;
  box-shadow: 0 12px 26px rgba(17, 21, 27, 0.16);
}

.pm-springer-copy {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
}

.pm-springer-feature > p {
  display: none;
}

.pm-springer-feature strong,
.pm-springer-copy strong {
  display: block;
  margin-bottom: 0.55rem;
  color: #11151b;
  font-size: 1.25rem;
}

.pm-video-embed {
  aspect-ratio: 16 / 9;
  margin: 0.15rem 0 0.9rem;
  overflow: hidden;
  border: 1px solid rgba(17, 21, 27, 0.14);
  background: #11151b;
}

.pm-video-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.pm-video-embed p,
.pm-video-embed .wp-block-embed,
.pm-video-embed .wp-block-embed__wrapper {
  width: 100%;
  height: 100%;
  margin: 0;
}

.pm-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.8rem;
}

.pm-tag-list span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border: 1px solid rgba(47, 111, 146, 0.24);
  border-radius: 999px;
  padding: 0.16rem 0.55rem;
  background: rgba(47, 111, 146, 0.08);
  color: rgba(17, 21, 27, 0.72);
  font-size: 0.78rem;
  font-weight: 800;
}

.pm-record-card .pm-record-source {
  margin: 0 0 0.65rem;
  color: #b98b45;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pm-process-list {
  counter-reset: pm-process;
  display: grid;
  gap: 0.75rem;
  padding: 0;
  list-style: none;
}

.pm-process-list li {
  counter-increment: pm-process;
  position: relative;
  border-left: 4px solid #2f6f92;
  padding: 0.75rem 0.75rem 0.75rem 3rem;
  background: #fff;
}

.pm-process-list li::before {
  content: counter(pm-process);
  position: absolute;
  top: 0.72rem;
  left: 0.75rem;
  width: 1.6rem;
  height: 1.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f8f6f1;
  color: #2f6f92;
  font-weight: 800;
}

.pm-note {
  border-left: 5px solid #b98b45;
  padding: 1rem 1.1rem;
  background: rgba(185, 139, 69, 0.1);
  color: rgba(17, 21, 27, 0.78);
}

.pm-callout {
  margin: 2rem 0;
  border-top: 1px solid rgba(17, 21, 27, 0.16);
  border-bottom: 1px solid rgba(17, 21, 27, 0.16);
  padding: 1.25rem 0;
  color: rgba(17, 21, 27, 0.76);
  font-family: var(--wp--preset--font-family--serif);
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  line-height: 1.35;
}

.pm-muted {
  color: rgba(17, 21, 27, 0.68);
}

.pm-dark-muted {
  color: rgba(248, 246, 241, 0.72);
}

.pm-source-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding: 0;
  list-style: none;
}

.pm-source-strip a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  border: 1px solid rgba(17, 21, 27, 0.18);
  border-radius: 999px;
  padding: 0.28rem 0.75rem;
  color: #11151b;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.pm-site-footer {
  border-top: 1px solid rgba(248, 246, 241, 0.18);
}

@media (max-width: 980px) {
  .pm-door-grid,
  .pm-feature-grid,
  .pm-meta-grid,
  .pm-card-grid,
  .pm-record-grid,
  .pm-contact-grid,
  .pm-link-cards,
  .pm-stat-row,
  .pm-split {
    grid-template-columns: 1fr 1fr;
  }

  .pm-info-stage {
    grid-template-columns: 1fr;
  }

  .pm-info-stage::before,
  .pm-info-center::before,
  .pm-info-center::after {
    display: none;
  }

  .pm-info-flow {
    grid-template-columns: 1fr 1fr;
  }

  .pm-info-step:nth-child(2)::after {
    display: none;
  }

  .pm-hero {
    min-height: 72vh;
  }
}

@media (max-width: 700px) {
  :root {
    --pm-shell: min(1180px, calc(100% - 40px));
  }

  .pm-page-visual {
    width: calc(100% - 12px);
    max-width: calc(100% - 12px);
    margin-left: auto;
    margin-right: auto;
    padding: 1rem;
  }

  .pm-door-grid,
  .pm-feature-grid,
  .pm-meta-grid,
  .pm-card-grid,
  .pm-record-grid,
  .pm-contact-grid,
  .pm-link-cards,
  .pm-info-stage,
  .pm-info-flow,
  .pm-stat-row,
  .pm-split {
    grid-template-columns: 1fr;
  }

  .pm-hero {
    min-height: 74vh;
    background-position: 58% center;
  }

  .pm-door,
  .pm-feature,
  .pm-meta {
    min-height: auto;
  }

  .pm-springer-feature {
    grid-template-columns: 1fr;
  }

  .pm-springer-cover,
  .pm-springer-copy {
    grid-column: 1;
    grid-row: auto;
  }

  .pm-info-step:not(:last-child)::after {
    top: auto;
    right: 50%;
    bottom: -0.7rem;
    transform: translateX(50%) rotate(135deg);
  }

  .wp-block-navigation__responsive-container.is-menu-open {
    padding: 1.4rem;
  }
}
