/* Professional Services guide — quieter, fewer title blocks */

.ps-guide .frontpage-title,
.ps-guide .frontpage-title.frontpage-title--compact {
  min-height: 0;
  padding: 2.1rem 24px 0.4rem;
  gap: 12px;
}

.ps-guide .frontpage-title h2,
.ps-guide .frontpage-title.frontpage-title--compact h2 {
  font-size: clamp(1.35rem, 2.6vw, 1.7rem);
  font-weight: 300;
  color: #222;
}

/* First page lead — larger than section titles, short of homepage 3rem */
.ps-guide .frontpage-title.frontpage-title--lead h2 {
  font-size: clamp(1.85rem, 3.4vw, 2.45rem);
}

.ps-guide .ps-draft-copy {
  opacity: 0.55;
  font-size: 0.9rem;
}

.ps-guide .ps-video-holder {
  width: min(42rem, 92%);
  margin: 1.6rem auto 0.4rem;
  padding: 0;
  overflow: hidden;
  background: #111;
  border-color: #111;
}

.ps-guide .ps-video-holder__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #111;
}

.ps-guide .ps-video-holder__frame video,
.ps-guide .ps-video-holder__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.ps-guide .ps-video-holder__label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

/* Soft Ostrava-bus turquoise (#00ADD0) wash — Early-Bird callout */
.ps-guide .ps-early-bird {
  width: 80%;
  max-width: none;
  align-self: center;
  margin: 1.75rem auto 0.35rem;
  padding: 1.6rem 1.75rem 1.4rem;
  box-sizing: border-box;
  background: #e5f7fb;
  border-color: rgba(0, 173, 208, 0.42);
  text-align: center;
}

.ps-guide .ps-early-bird .title-line {
  display: inline-block;
  font-size: clamp(1.35rem, 2.6vw, 1.7rem);
  margin: 0 auto 0.75rem;
  padding-bottom: 5px;
  border-bottom: 2px solid #333;
}

.ps-guide .ps-early-bird .title-line::after {
  content: none;
  display: none;
  animation: none;
}

.ps-guide .ps-early-bird-lead {
  width: 60%;
  max-width: 38rem;
  margin: 0 auto 0.9rem;
  text-align: center;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  font-weight: 300;
  line-height: 1.45;
  color: #333;
}

.ps-guide .ps-early-bird-cta {
  margin: 0 auto 1.25rem;
  text-align: center;
}

.ps-guide .ps-early-bird-cta .curved-btn {
  display: inline-block;
  font-size: 0.85rem;
  padding: 10px 22px;
  white-space: nowrap;
}

.ps-guide .ps-early-bird .section-desc {
  width: 60%;
  max-width: 38rem;
  margin-left: auto;
  margin-right: auto;
}

.ps-guide .ps-early-bird strong {
  font-weight: 600;
  color: #111;
}

@media (max-width: 700px) {
  .ps-guide .ps-early-bird-lead,
  .ps-guide .ps-early-bird .section-desc {
    width: 92%;
  }
}

/* Agent columns — float in (reuses @keyframes stepIn from effects.css) */
.ps-guide .ps-agent-float {
  gap: 2rem 2.4rem;
  margin: 2.4rem auto 2.6rem;
  padding: 0.5rem 1.5rem 0.75rem;
  max-width: min(72rem, 100%);
  box-sizing: border-box;
}

.ps-guide .ps-agent-float > .content-item {
  opacity: 0;
  transform: translateY(22px);
  animation: stepIn 3.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.ps-guide .ps-agent-float > .content-item:nth-child(1) { animation-delay: 0.5s; }
.ps-guide .ps-agent-float > .content-item:nth-child(2) { animation-delay: 1.4s; }
.ps-guide .ps-agent-float > .content-item:nth-child(3) { animation-delay: 2.3s; }
.ps-guide .ps-agent-float > .content-item:nth-child(4) { animation-delay: 3.2s; }
.ps-guide .ps-agent-float > .content-item:nth-child(5) { animation-delay: 4.1s; }
.ps-guide .ps-agent-float > .content-item:nth-child(6) { animation-delay: 5s; }

.ps-guide .section-desc {
  max-width: 38rem;
  margin: 0 auto;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.98rem;
  font-weight: 300;
  line-height: 1.65;
  color: #444;
}

.ps-guide .section-desc + .section-desc {
  margin-top: 0.85rem;
}

.ps-guide .ps-text-link {
  display: inline;
  padding: 0;
  margin: 0;
  border: 0;
  background: none;
  font: inherit;
  color: #222;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.ps-guide .ps-text-link:hover {
  color: #000;
}

.ps-guide .frontpage-product-boxes {
  justify-content: center;
  margin-top: 0.6rem;
}

.ps-guide .frontpage-title.frontpage-title--compact .frontpage-product-boxes .content-box {
  min-height: 3.4rem;
  border-color: rgba(0, 0, 0, 0.16);
  border-radius: 10px;
}

.ps-guide .frontpage-title.frontpage-title--compact .frontpage-product-boxes .content-box-title {
  font-size: 0.72rem;
  color: #555;
}

.ps-guide .ps-module-status {
  font-style: italic;
  color: #777;
  text-transform: lowercase;
}

.ps-guide .ps-module-stages-wrap {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  width: min(860px, 100%);
  max-width: 100%;
  margin: 0.35rem auto 0;
  box-sizing: border-box;
  text-align: left;
}

.ps-guide .ps-module-stages {
  flex: 0 0 50%;
  width: 50%;
  max-width: 50%;
  margin: 0;
  padding: 0.75rem 0.9rem;
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 12px;
  background: #fff;
}

.ps-guide .ps-module-stages-aside {
  flex: 1 1 0;
  min-width: 0;
  max-width: none;
  margin: 0;
  text-align: left;
}

@media (max-width: 720px) {
  .ps-guide .ps-module-stages-wrap {
    flex-direction: column;
  }

  .ps-guide .ps-module-stages {
    flex: 1 1 auto;
    width: 100%;
    max-width: 100%;
  }
}

.ps-guide .ps-module-stages__track {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.4rem 0.35rem;
  width: 100%;
}

.ps-guide .ps-module-stages__pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: #d8d8d8;
  border: 1px solid #d0d0d0;
  color: #555;
  font-size: 0.62rem;
  font-weight: 500;
  line-height: 1.25;
  text-align: center;
  white-space: nowrap;
  transition: background-color 0.35s ease, border-color 0.35s ease, color 0.35s ease;
}

.ps-guide .ps-module-stages__pill.is-active {
  background: #111;
  border-color: #111;
  color: #fff;
}

.ps-guide .ps-module-stages__arrow {
  flex-shrink: 0;
  margin: 0 0.1rem;
}

.ps-guide .ps-module-stages__arrow::before {
  border-top-width: 3px;
  border-bottom-width: 3px;
  border-left-width: 5px;
  border-left-color: #aaa;
}

.ps-guide .ps-value-boxes {
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1.6rem 1.85rem;
  max-width: min(72rem, 100%);
  margin: 1.5rem auto 0.5rem;
  padding: 0.25rem 1rem 0.5rem;
  box-sizing: border-box;
}

.ps-guide .ps-value-boxes > .content-item {
  height: auto;
  max-width: 12rem;
}

.ps-guide .ps-value-boxes .content-box {
  width: 100%;
  min-height: 3.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-color: #111;
  box-sizing: border-box;
}

.ps-guide .ps-value-boxes .content-box-title {
  font-size: 0.78rem;
  color: #222;
  line-height: 1.3;
}

.ps-guide .ps-value-boxes .section-desc {
  max-width: none;
  margin-top: 0.7rem;
  font-size: 0.72rem;
  line-height: 1.45;
  text-align: center;
}

.ps-guide .ps-method-boxes {
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 0.65rem;
  width: 100%;
  max-width: min(72rem, 100%);
  margin: 1.5rem auto 0.5rem;
  padding: 0.25rem 0.5rem 0.5rem;
  box-sizing: border-box;
}

.ps-guide .ps-method-boxes > .content-item {
  flex: 1 1 0;
  min-width: 0;
  height: auto;
}

.ps-guide .ps-method-boxes .content-box {
  width: 100%;
  min-height: 3.1rem;
  padding: 8px 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-color: #111;
  box-sizing: border-box;
}

.ps-guide .ps-method-boxes .content-box-title {
  font-size: 0.58rem;
  line-height: 1.25;
  color: #222;
}

.ps-guide .ps-method-boxes .section-desc {
  max-width: none;
  margin-top: 0.4rem;
  font-size: 0.62rem;
  text-align: center;
}

.ps-guide .ps-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem 1.25rem;
  width: min(52rem, 100%);
  margin: 0.85rem auto 0;
  text-align: left;
}

.ps-guide .ps-benefit-header {
  margin: 0 0 0.45rem;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #222;
}

.ps-guide .ps-benefit-header::after {
  content: '';
  display: block;
  width: 1.4rem;
  height: 1px;
  margin-top: 0.4rem;
  background: #333;
  opacity: 0.18;
}

.ps-guide .ps-benefit-copy {
  margin: 0;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 300;
  line-height: 1.5;
  color: #555;
}

.ps-guide .ps-benefit-copy strong {
  font-weight: 500;
  color: #333;
}

@media (max-width: 700px) {
  .ps-guide .ps-benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .ps-guide .ps-benefits-grid {
    grid-template-columns: 1fr;
  }
}

/* Lead slideshow under Orchestrator title */
.ps-guide .ps-slideshow {
  width: 75%;
  max-width: 52rem;
  align-self: center;
  margin: 1.1rem auto 0.6rem;
  padding: 1.35rem 1.5rem 1.1rem;
  box-sizing: border-box;
  border-color: rgba(0, 0, 0, 0.2);
  background: #fff;
  text-align: left;
  overflow: hidden;
}

.ps-guide .ps-slideshow__track {
  position: relative;
  min-height: 16rem;
}

.ps-guide .ps-slideshow__slide {
  display: none;
}

.ps-guide .ps-slideshow__slide.is-active {
  display: grid;
  grid-template-columns: 1fr minmax(7.5rem, 28%);
  grid-template-rows: auto auto 1fr auto;
  gap: 0.85rem 1.25rem;
  animation: psSlideshowIn 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.ps-guide .ps-slideshow__title {
  grid-column: 1;
  grid-row: 1;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.6vw, 2.55rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #111;
  text-align: left;
}

.ps-guide .ps-slideshow__copy {
  grid-column: 1;
  grid-row: 2;
  margin: 0;
  max-width: 34rem;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.6;
  color: #444;
  text-align: left;
}

.ps-guide .ps-slideshow__diagram {
  grid-column: 1;
  grid-row: 3;
  align-self: center;
}

.ps-guide .ps-slideshow__footer {
  grid-column: 2;
  grid-row: 3 / 5;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 0.65rem;
}

.ps-guide .ps-slideshow__video {
  width: 100%;
  max-width: 11rem;
  aspect-ratio: 16 / 10;
  padding: 0;
  background: #111;
  border-color: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.ps-guide .ps-slideshow__video-label {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.68rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.ps-guide .ps-slideshow__cta {
  margin-top: 0;
}

.ps-guide .ps-slideshow__dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.95rem;
}

.ps-guide .ps-slideshow__dot {
  width: 0.45rem;
  height: 0.45rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.18);
  cursor: pointer;
}

.ps-guide .ps-slideshow__dot.is-active {
  background: #111;
}

@keyframes psSlideshowIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Future of Audit — 2×2 advantage cards (GT meeting competitive-advantage copy) */
.ps-guide .ps-future-grid.content-box-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
  width: min(56rem, 100%);
  margin: 0.35rem auto 0.5rem;
  justify-content: stretch;
  align-items: stretch;
}

.ps-guide .ps-future-grid > .content-item {
  height: auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.ps-guide .ps-future-grid .content-box {
  width: 100%;
  flex: 1 1 auto;
  box-sizing: border-box;
  min-height: 8rem;
  padding: 1.25rem 1.35rem 1.2rem;
  text-align: left;
}

.ps-guide .ps-future-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 0.9rem;
  align-items: start;
  width: 100%;
}

.ps-guide .ps-future-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: #111;
  flex-shrink: 0;
}

.ps-guide .ps-future-icon .gt-vision-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.15rem;
  height: 1.15rem;
  color: #a8ff00;
}

.ps-guide .ps-future-icon .gt-vision-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.ps-guide .ps-future-copy {
  min-width: 0;
  text-align: left;
}

.ps-guide .ps-future-grid .content-box-title {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
  color: #111;
  margin: 0.2rem 0 0.4rem;
  text-align: left;
}

.ps-guide .ps-future-grid .section-desc {
  margin: 0;
  max-width: none;
  font-size: 0.8rem;
  line-height: 1.5;
  color: #555;
  text-align: left;
}

@media (max-width: 700px) {
  .ps-guide .ps-future-grid.content-box-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .ps-guide .ps-slideshow {
    width: 92%;
  }

  .ps-guide .ps-slideshow__slide.is-active {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .ps-guide .ps-slideshow__footer {
    grid-column: 1;
    grid-row: auto;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .ps-guide .ps-slideshow__video {
    max-width: 8.5rem;
  }
}

/* Substantive Testing development slide — method boxes on one line */
.slide.ps-guide .title-style-no-underline {
  font-size: 0.85rem;
  font-weight: 600;
  color: #555;
  margin: 0;
}

.slide.ps-guide .ps-method-boxes {
  margin-top: 0.55rem;
  max-width: none;
  flex-wrap: nowrap;
  gap: 0.4rem;
  padding: 0.25rem 0;
}

.slide.ps-guide .ps-method-boxes > .content-item {
  flex: 1 1 0;
  max-width: none;
}

.slide.ps-guide .ps-method-boxes .content-box {
  min-height: 4.1rem;
  padding: 6px 4px;
}

.slide.ps-guide .ps-method-boxes .content-box-title {
  font-size: 0.5rem;
  line-height: 1.2;
}

.slide.ps-guide .ps-method-step--green .content-box {
  background: #a8ff00;
  border-color: #a8ff00;
}

.slide.ps-guide .st-dev-body {
  overflow-x: hidden;
  overflow-y: auto;
  box-sizing: border-box;
  padding-bottom: 0.75rem;
}

.slide.ps-guide .st-delivery-title {
  margin-top: 1.35rem;
}

.slide.ps-guide .st-delivery-table {
  margin-top: 0.45rem;
  border-collapse: collapse;
  font-size: 0.62rem;
  line-height: 1.35;
  color: #333;
}

.slide.ps-guide .st-delivery-table th,
.slide.ps-guide .st-delivery-table td {
  border: 1px solid #ddd;
  padding: 0.28rem 0.55rem;
  text-align: left;
  font-weight: 400;
  background: #fff;
}

.slide.ps-guide .st-delivery-table th {
  font-weight: 600;
  color: #555;
}

.slide.ps-guide .st-orchestrator-title {
  margin-top: 1.35rem;
}

.slide.ps-guide .st-orchestrator-start {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin-top: 1.05rem;
}

.slide.ps-guide .st-orchestrator-start .content-box {
  width: 100%;
  max-width: 28rem;
  min-height: 2.45rem;
  margin: 0;
  padding: 8px 12px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
}

.slide.ps-guide .st-orchestrator .st-note-split {
  margin-top: 0;
}

.slide.ps-guide .st-note-split {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  width: 100%;
  max-width: none;
  margin-top: 1.05rem;
  align-items: stretch;
  column-gap: 0;
}

.slide.ps-guide .st-note-split > .st-note-col {
  min-width: 0;
  width: 100%;
  gap: 0;
  align-items: center;
  padding: 0 0.95rem;
  box-sizing: border-box;
}

.slide.ps-guide .st-note-split > .st-note-col + .st-note-col {
  border-left: 1px dotted #666;
}

.slide.ps-guide .st-note-split > .st-note-col:first-child {
  padding-left: 0;
}

.slide.ps-guide .st-note-split > .st-note-col:last-child {
  padding-right: 0;
}

.slide.ps-guide .st-note-col .content-box.st-note-head {
  background: #a8ff00;
  border-color: #a8ff00;
  margin-bottom: 0.45rem;
}

.slide.ps-guide .st-note-head + .content-box {
  margin-top: 0.45rem;
}

.slide.ps-guide .st-note-col .content-box.st-flow-draft {
  border-color: #ddd;
}

.slide.ps-guide .st-flow-draft .content-box-title {
  color: #b0b0b0;
}

.slide.ps-guide .st-note-col > .st-flow-note {
  margin-bottom: 0.55rem;
  max-width: 22rem;
}

.slide.ps-guide .st-note-col .content-box {
  width: 100%;
  max-width: 22rem;
  min-width: 0;
  min-height: 2.45rem;
  margin: 0;
  padding: 8px 12px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
}

.slide.ps-guide .st-flow-note {
  margin: 0;
  font-size: 0.62rem;
  font-weight: 400;
  line-height: 1.3;
  color: #b0b0b0;
  text-align: center;
}

.slide.ps-guide .st-flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 1.15rem;
  margin: 0;
  color: #9a9a9a;
  font-size: 0.62rem;
  line-height: 1;
}

.slide.ps-guide .st-flow-link {
  margin-top: 0.1rem;
  font-size: 0.62rem;
  line-height: 1.3;
  color: #333;
  text-decoration: underline;
}

.slide.ps-guide .st-subflow {
  margin-top: 1.6rem;
  padding-top: 1rem;
  scroll-margin-top: 0.5rem;
}

.slide.ps-guide .st-subflow-start {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin-top: 0.7rem;
}

.slide.ps-guide .st-subflow-start .content-box {
  width: 100%;
  max-width: 22rem;
  min-width: 0;
  min-height: 2.45rem;
  margin: 0;
  padding: 8px 12px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
}

.slide.ps-guide .st-subflow .st-note-split {
  margin-top: 0.2rem;
}

.slide.ps-guide .st-subflow .st-flow-arrow {
  height: 0.85rem;
}

.slide.ps-guide .st-subflow-methods .content-box {
  min-height: 2.1rem;
}

.slide.ps-guide .st-open-questions-title {
  margin-top: 1.6rem;
}

.slide.ps-guide .st-open-questions {
  margin: 0.45rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.62rem;
  line-height: 1.4;
  color: #333;
}

