/* ==========================================================================
   BASE SECTION WRAPPERS
========================================================================== */

.ps-hero,
.ps-service-cards,
.ps-alt-blocks,
.ps-logo-strip,
.ps-cta,
.ps-feature-grid {
    width: 100%;
}


/* ==========================================================================
   HERO SECTION
========================================================================== */

.ps-hero {
    padding: 90px 0 44px;
}

.ps-hero__content {
    max-width: 880px;
}

/* No trailing space under whatever ends the hero (the intro or the buttons) */
.ps-hero__content > :last-child {
    margin-bottom: 0;
}

.ps-eyebrow {
    margin: 0 0 14px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ps-hero h1 {
    margin: 0 0 20px;
}

.ps-hero__intro {
    max-width: 860px;
    margin: 0 0 28px;
    font-size: 1.08rem;
    line-height: 1.7;
    text-wrap: pretty;
}

.ps-hero__actions,
.ps-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.ps-hero__actions .btn,
.ps-cta__actions .btn {
    margin-right: 10px;
}

/* ABOUT PAGE OVERRIDE */



/* ==========================================================================
   SERVICE CARDS
========================================================================== */

.ps-service-cards {
    padding: 50px 0 70px;
}

.ps-section-heading {
    margin-bottom: 28px;
    text-align: center;
}

.ps-service-cards__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.ps-card {
    padding: 28px;
    border-radius: 18px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border-soft);
    box-shadow: var(--shadow-card);
    height: 100%;
}

.ps-card h3 {
    margin: 0 0 14px;
}

.ps-card p {
    margin: 0 0 18px;
}

.ps-text-link {
    text-decoration: none;
    font-weight: 600;
}

/* Service Cards Layout */
.ps-service-cards__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 1024px) {
    .ps-service-cards__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .ps-service-cards__grid {
        grid-template-columns: 1fr;
    }
}

/* Card Base */
.ps-service-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border-soft);
    box-shadow: var(--shadow-card);
    border-radius: 12px;
    padding: 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ps-service-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-border-brand-subtle);
    box-shadow: var(--shadow-card-hover);
}

/* Title */
.ps-service-card h3 {
    margin-bottom: 10px;
    font-weight: 600;
}

/* Image */
.ps-service-card__image {
    display: block;
    margin: 12px 0 16px;
    border-radius: 10px;
    overflow: hidden;
}

.ps-service-card__image img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.ps-service-card:hover .ps-service-card__image img {
    transform: scale(1.04);
}

/* Text */
.ps-service-card p {
    margin-bottom: 14px;
    color: #555;
}

/* Link */
.ps-service-card .ps-text-link {
    font-weight: 500;
    text-decoration: none;
    color: var(--brand-primary);
}

.ps-service-card .ps-text-link:hover {
    text-decoration: underline;
}


/* ==========================================================================
   FEATURE GRID (VALUE / ICON CARDS)
========================================================================== */

.ps-feature-grid {
    padding: 56px 0;
}

.ps-feature-grid__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.ps-feature {
    padding: 28px;
    border-radius: 18px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border-soft);
    box-shadow: var(--shadow-card);
    text-align: center;
}

.ps-feature__icon {
    font-size: 1.8rem;
    margin-bottom: 14px;
    color: var(--color-brand-text);
}

/* Even padding all round: the last line in a card keeps no margin below it */
.ps-feature > :last-child {
    margin-bottom: 0;
}


/* ==========================================================================
   ALTERNATING IMAGE & TEXT BLOCKS
========================================================================== */

.ps-alt-blocks {
    padding: 25px 0 70px;
}

.ps-alt-block {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 34px;
    align-items: center;
    margin-bottom: 34px;
}

.ps-alt-block--reverse {
    grid-template-columns: 1fr 1.1fr;
}

.ps-alt-block--reverse .ps-alt-block__media {
    order: 2;
}

.ps-alt-block--reverse .ps-alt-block__content {
    order: 1;
}

.ps-alt-block__media img {
    display: block;
    width: 100%;
    border-radius: 22px;
}

.ps-alt-block__content p {
    line-height: 1.7;
}


/* ==========================================================================
   LOGO STRIP (CLIENTS / BRANDS)
========================================================================== */

.ps-logo-strip {
    padding: 50px 0 70px 0;
    background: color-mix(in srgb, var(--color-brand-primary) 9%, #fff);
}

.ps-logo-strip__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 24px;
    align-items: center;
}

.ps-logo-strip__item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 110px;
    padding: 18px;
    border-radius: 18px;
    background: #ffffff;
    box-sizing: border-box;
}

.ps-logo-strip__item img {
    max-width: 100%;
    max-height: 65px;
    width: auto;
    height: auto;
    display: block;
}

.ps-logo-strip img {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

/* The logo comes up to full strength anywhere over its tile, not just the image */
.ps-logo-strip__item:hover img {
    opacity: 1;
}

.ps-logo-strip__link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* Carousel Mode */
.ps-logo-strip--carousel .ps-logo-strip__viewport {
    overflow: hidden;
    width: 100%;
}

.ps-logo-strip--carousel .ps-logo-strip__track {
    display: flex;
    gap: 24px;
    transition: transform 1.5s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.ps-logo-strip--carousel .ps-logo-strip__item {
    flex: 0 0 calc((100% - 96px) / 5);
}

.ps-logo-strip__controls {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}

.ps-logo-strip__arrow {
    width: 46px;
    height: 46px;
    border: 1px solid #dbe3eb;
    border-radius: 50%;
    background: #ffffff;
    color: var(--color-brand-text);
    cursor: pointer;
    transition: all 0.2s ease;
}

.ps-logo-strip__arrow:hover {
    background: var(--color-brand-primary);
    color: #ffffff;
    border-color: var(--color-brand-text);
}

/* Hide controls in normal grid mode */
.ps-logo-strip:not(.ps-logo-strip--carousel) .ps-logo-strip__controls {
    display: none;
}

@media (max-width: 1100px) {
    .ps-logo-strip__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .ps-logo-strip--carousel .ps-logo-strip__item {
        flex: 0 0 calc((100% - 72px) / 4);
    }
}

@media (max-width: 768px) {
    .ps-logo-strip {
        padding-bottom: 50px;
    }

    .ps-logo-strip__grid {
        grid-template-columns: 1fr;
    }

    .ps-logo-strip--carousel .ps-logo-strip__item {
        flex: 0 0 calc((100% - 48px) / 3);
    }
}

@media (max-width: 560px) {
    .ps-logo-strip--carousel .ps-logo-strip__item {
        flex: 0 0 calc((100% - 24px) / 2);
    }
}

/* ==========================================================================
   CTA SECTION
========================================================================== */

.ps-cta {
    clear: both;
    padding: 64px 0;
}

/* As the page's last section its own padding is the space below it, so the
   footer adds no margin of its own (which the footer's float clearing
   would swallow anyway) */
main:has(> .ps-cta:last-child) + .site-footer,
main:has(> .ps-faq:last-child) + .site-footer,
main:has(> .ps-index-reasons:last-child) + .site-footer {
    margin-top: 0;
}

.ps-cta__inner {
    padding: 40px;
    border-radius: 24px;
    background: linear-gradient(135deg, var(--color-bg-card), color-mix(in srgb, var(--color-brand-primary) 10%, #fff));
    border: 1px solid var(--color-border-brand-subtle);
    text-align: center;
}

.ps-cta__inner h2 {
    margin: 0 0 16px;
}

.ps-cta__inner p {
    max-width: 760px;
    margin: 0 auto 24px;
    line-height: 1.7;
}

.ps-cta__actions {
    justify-content: center;
}


/* ==========================================================================
   RESPONSIVE
========================================================================== */

@media (max-width: 1100px) {

    .ps-service-cards__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ps-logo-strip__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {

    .ps-feature-grid__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .ps-hero {
        padding: 64px 0 36px;
    }

    .ps-service-cards,
    .ps-alt-blocks,
    .ps-logo-strip,
    .ps-cta,
    .ps-feature-grid {
        padding-bottom: 50px;
    }

    .ps-alt-block,
    .ps-alt-block--reverse {
        grid-template-columns: 1fr;
    }

    .ps-alt-block--reverse .ps-alt-block__media,
    .ps-alt-block--reverse .ps-alt-block__content {
        order: initial;
    }

    .ps-service-cards__grid,
    .ps-logo-strip__grid,
    .ps-feature-grid__grid {
        grid-template-columns: 1fr;
    }

    .ps-card,
    .ps-feature,
    .ps-cta__inner {
        padding: 26px 22px;
    }
}

@media (max-width: 600px) {

    .ps-feature-grid__grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   PROFILE CAROUSEL
========================================================================== */

.ps-profile-carousel {
    width: 100%;
    padding: 25px 0 70px;
}

.ps-profile-carousel__viewport {
    overflow: hidden;
    width: 100%;
}

.ps-profile-carousel__track {
    display: flex;
    flex-wrap: nowrap;
    gap: 24px;
    transition: transform 1.5s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.ps-profile-card {
    flex: 0 0 calc((100% - 72px) / 4);
    min-width: 0;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border-soft);
    box-shadow: var(--shadow-card);
    border-radius: 18px;
    overflow: hidden;
    box-sizing: border-box;
}

.ps-profile-card__image img {
    display: block;
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.ps-profile-card__content {
    padding: 22px;
}

.ps-profile-card h3 {
    margin: 0 0 8px;
}

.ps-profile-card__role {
    margin: 0 0 12px;
    color: var(--color-brand-text);
    font-weight: 600;
}

.ps-profile-card__bio {
    margin: 0;
    line-height: 1.7;
}

.ps-profile-carousel__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-top: 24px;
}

.ps-profile-carousel__status {
    min-height: 24px;
    font-size: 0.95rem;
    color: #6b7280;
}

.ps-profile-carousel__controls {
    display: flex;
    gap: 12px;
}

.ps-profile-carousel__arrow {
    width: 46px;
    height: 46px;
    border: 1px solid #dbe3eb;
    border-radius: 50%;
    background: #ffffff;
    color: var(--color-brand-text);
    cursor: pointer;
    transition: all 0.2s ease;
}

.ps-profile-carousel__arrow:hover {
    background: var(--color-brand-primary);
    color: #ffffff;
    border-color: var(--color-brand-text);
}

@media (max-width: 1100px) {
    .ps-profile-card {
        flex: 0 0 calc((100% - 48px) / 3);
    }
}

@media (max-width: 768px) {
    .ps-profile-carousel {
        padding-bottom: 50px;
    }

    .ps-profile-card {
        flex: 0 0 calc((100% - 24px) / 2);
    }

    .ps-profile-card__image img {
        height: 220px;
    }

    .ps-profile-carousel__footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 560px) {
    .ps-profile-card {
        flex: 0 0 100%;
    }
}

/* ==========================================================================
   TAG FILTER
========================================================================== */

.ps-tag-filter {
    width: 100%;
    padding: 10px 0 30px;
}

.ps-tag-filter__inner {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.ps-tag-filter__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid #dbe3eb;
    background: #ffffff;
    color: var(--color-text);
    text-decoration: none;
    transition: all 0.2s ease;
}

.ps-tag-filter__item:hover,
.ps-tag-filter__item.is-active {
    background: var(--color-brand-primary);
    border-color: var(--color-brand-text);
    color: #ffffff;
}

.ps-tag-filter__remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    line-height: 1;
    font-weight: 600;
}

/* ==========================================================================
   TESTIMONIAL CAROUSEL
========================================================================== */

.ps-testimonial-carousel {
    width: 100%;
    padding: 30px 0 70px;
}

.ps-testimonial-carousel__viewport {
    overflow: hidden;
    width: 100%;
    padding: 6px 0 8px;
}

.ps-testimonial-carousel__track {
    display: flex;
    flex-wrap: nowrap;
    gap: 24px;
    transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.ps-testimonial-carousel__card {
    flex: 0 0 calc((100% - 48px) / 3);
    min-width: 0;
    padding: 24px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid #dde5ee;
    box-shadow: 0 3px 10px rgba(15, 23, 32, 0.04);
    box-sizing: border-box;
}

.ps-testimonial-carousel__quote {
    color: var(--color-brand-text);
    font-size: 1.35rem;
    line-height: 1;
}

.ps-testimonial-carousel__quote--open {
    margin-bottom: 14px;
}

.ps-testimonial-carousel__content p {
    margin: 0;
    line-height: 1.75;
}

.ps-testimonial-carousel__quote--close {
    margin-top: 0;
    margin-bottom: 16px;
    text-align: right;
    transform: translateY(-2px);
}

.ps-testimonial-carousel__more {
    margin-top: 10px;
    margin-bottom: 10px;
}

.ps-testimonial-carousel__footer {
    margin-top: 0;
}

.ps-testimonial-carousel__meta {
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 0;
}

.ps-testimonial-carousel__image {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 96px;
    flex-shrink: 0;
}

.ps-testimonial-carousel__image img {
    display: block;
    max-width: 130px;
    max-height: 70px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.ps-testimonial-carousel__details {
    padding-left: 8px;
}

.ps-testimonial-carousel__details strong {
    display: block;
    margin-bottom: 4px;
}

.ps-testimonial-carousel__details p {
    margin: 0;
    color: #6b7280;
    line-height: 1.5;
}

.ps-testimonial-carousel__footer-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-top: 24px;
}

.ps-testimonial-carousel__status {
    min-height: 24px;
    font-size: 0.95rem;
    color: #6b7280;
}

.ps-testimonial-carousel__controls {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.ps-testimonial-carousel__arrow {
    width: 46px;
    height: 46px;
    border: 1px solid #dbe3eb;
    border-radius: 50%;
    background: #ffffff;
    color: var(--color-brand-text);
    cursor: pointer;
    transition: all 0.2s ease;
}

.ps-testimonial-carousel__arrow:hover {
    background: var(--color-brand-primary);
    color: #ffffff;
    border-color: var(--color-brand-text);
}

@media (max-width: 1100px) {
    .ps-testimonial-carousel__card {
        flex: 0 0 calc((100% - 24px) / 2);
    }
}

@media (max-width: 768px) {
    .ps-testimonial-carousel {
        padding-bottom: 50px;
    }

    .ps-testimonial-carousel__card {
        flex: 0 0 100%;
        padding: 22px;
    }

    .ps-testimonial-carousel__image img {
        max-width: 120px;
        max-height: 64px;
    }

    .ps-testimonial-carousel__footer-bar {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ==========================================================================
   TESTIMONIAL LIST
========================================================================== */

.ps-testimonial-list {
    width: 100%;
    padding: 10px 0 70px;
}

.ps-testimonial-list__stack {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.ps-testimonial-card {
    padding: 34px;
    border-radius: 20px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border-soft);
    box-shadow: var(--shadow-card);
}

.ps-testimonial-card__quote {
    color: var(--color-brand-text);
    font-size: 1.5rem;
    line-height: 1;
}


.ps-testimonial-card__content {
    line-height: 1.8;
}

.ps-testimonial-card__content p:last-child {
    margin-bottom: 0;
}

.ps-testimonial-card__image {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 100px;
}

.ps-testimonial-card__image img {
    display: block;
    max-width: 150px;
    max-height: 84px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.ps-testimonial-card__details strong {
    display: block;
    margin-bottom: 4px;
}

.ps-testimonial-card__details p {
    margin: 0;
    color: #6b7280;
}

.ps-testimonial-card__quote--open {
    margin-bottom: 18px;
}

.ps-testimonial-card__quote--close {
    margin-top: 14px;
    margin-bottom: 18px;
    text-align: right;
    transform: translateY(-2px);
}

.ps-testimonial-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-top: 0;
}

.ps-testimonial-card__meta {
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 0;
}

.ps-testimonial-card__details {
    padding-left: 8px;
}

.ps-testimonial-card {
    scroll-margin-top: 140px;
    transition: border-color 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}

.ps-testimonial-card:target,
.ps-testimonial-card.is-targeted {
    border-color: var(--color-brand-text);
    box-shadow: 0 14px 34px rgba(38, 157, 208, 0.18);
    background: #fafdff;
}

@keyframes testimonialTargetPulse {
    0% {
        box-shadow:
            0 14px 34px rgba(38, 157, 208, 0.18);
    }

    40% {
        box-shadow:
            0 14px 34px rgba(38, 157, 208, 0.18),
            0 0 28px rgba(38, 157, 208, 0.18),
            0 0 60px rgba(38, 157, 208, 0.10);
    }

    100% {
        box-shadow:
            0 14px 34px rgba(38, 157, 208, 0.18);
    }
}

.ps-testimonial-card.is-targeted-pulse {
    animation: testimonialTargetPulse 1.1s ease;
}

@media (max-width: 768px) {
    .ps-testimonial-list {
        padding-bottom: 50px;
    }

    .ps-testimonial-card {
        padding: 24px;
    }

    .ps-testimonial-card__footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .ps-testimonial-card__quote--close {
        align-self: flex-end;
    }

    .ps-testimonial-card__image img {
        max-width: 130px;
        max-height: 76px;
    }
}


/* ==========================================================================
   LEGAL PAGES
========================================================================== */

.section--legal .legal-content {
    color: #555;
}

.section--legal .legal-content__updated {
  margin: 0 0 28px;
  font-size: 0.88rem;
  opacity: 0.68;
}

.section--legal .legal-content__section {
    margin-bottom: 32px;
}

.section--legal .legal-content h2 {
    font-size: 1.1rem;
    line-height: 1.4;
    font-weight: 600;
    margin: 0 0 10px 0;
    color: #2f2f2f;
}

.section--legal .legal-content p {
    margin: 0 0 14px 0;
    font-size: 1rem;
    line-height: 1.8;
    color: #5f5f5f;
}

.section--legal .legal-content ul,
.section--legal .legal-content ol {
    margin: 0 0 14px 0;
    padding-left: 22px;
}

.section--legal .legal-content li {
    margin-bottom: 8px;
    font-size: 1rem;
    line-height: 1.8;
    color: #5f5f5f;
}

.section--legal .legal-content li:last-child {
    margin-bottom: 0;
}

.section--legal .legal-content a {
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ========================================================================== */
/*   STANDARD CONTENT BLOCKS                                                  */
/* ========================================================================== */

.ps-content-blocks {
  padding: 10px 0 20px;
}

.ps-content-blocks__stack {
  width: 100%;
  max-width: none;
}

.ps-content-block + .ps-content-block {
  margin-top: 52px;
  padding-top: 34px;
  border-top: 1px solid var(--color-border-soft);
}

.ps-content-block h2,
.ps-content-block h3,
.ps-content-block h4,
.ps-content-block h5,
.ps-content-block h6 {
  margin-bottom: 14px;
}

.ps-content-block__content {
  color: var(--color-text-soft);
}

.ps-content-block__content p {
  margin: 0 0 16px 0;
  line-height: 1.8;
}

.ps-content-block__actions {
  margin-top: 18px;
}

.progression-sep {
  margin: 0 6px;
  color: var(--color-brand-primary);
  font-weight: 500;
}

@media (max-width: 768px) {
  .ps-content-block + .ps-content-block {
    margin-top: 40px;
    padding-top: 26px;
  }

  .ps-content-block__content p {
    line-height: 1.7;
  }
}


/* ==========================================================================
   VACANCY CARDS (CAREERS)
   ========================================================================== */

.ps-vacancies {
  width: 100%;
  padding: 0 0 60px;
}

.ps-vacancies__list {
  display: grid;
  gap: 18px;
}

.ps-vacancy {
  position: relative;
  display: block;
  overflow: hidden;
  padding: 26px 30px 22px 34px;
  background: var(--color-bg);
  border: 1px solid var(--color-border-dark-soft);
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(8, 27, 43, 0.05);
  color: var(--color-text-soft);
  text-decoration: none;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.ps-vacancy::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 5px;
  background: var(--color-brand-primary);
}

.ps-vacancy:hover,
.ps-vacancy:focus-visible {
  transform: translateY(-3px);
  border-color: var(--color-brand-primary);
  box-shadow: 0 12px 28px rgba(8, 27, 43, 0.10);
  color: var(--color-text-soft);
}

.ps-vacancy:focus-visible {
  outline: 3px solid var(--color-overlay-brand-active);
  outline-offset: 2px;
}

.ps-vacancy h3 {
  margin: 0 0 14px;
  font-size: 1.45rem;
  line-height: 1.3;
  color: var(--color-brand-primary-dark);
  transition: color var(--transition-fast);
}

.ps-vacancy:hover h3 {
  color: var(--color-brand-primary);
}

.ps-vacancy__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ps-vacancy__meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border: 1px solid var(--color-border-brand-subtle);
  border-radius: 999px;
  background: var(--color-overlay-brand-light);
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--color-text-soft);
}

.ps-vacancy__meta i {
  font-size: 0.8rem;
  color: var(--color-brand-primary);
}

.ps-vacancy p {
  margin: 16px 0 0;
  line-height: 1.7;
  color: #555;
}

.ps-vacancy__go {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border-soft);
  font-weight: 600;
  color: var(--color-brand-primary);
}

.ps-vacancy__go i {
  transition: transform var(--transition-fast);
}

.ps-vacancy:hover .ps-vacancy__go i {
  transform: translateX(4px);
}

.ps-vacancies__none {
  padding: 20px 24px;
  border: 1px dashed var(--color-border-dark-soft);
  border-radius: 14px;
  background: var(--color-bg-alt);
  line-height: 1.7;
}

@media (max-width: 600px) {
  .ps-vacancy {
    padding: 20px 18px 18px 24px;
  }

  .ps-vacancy h3 {
    font-size: 1.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ps-vacancy,
  .ps-vacancy__go i {
    transition: none;
  }

  .ps-vacancy:hover {
    transform: none;
  }
}


/* ==========================================================================
   CONTACT FORM
   One card: a blue band across the top (Let's talk), then the fields in
   sections with small uppercase titles. The selects and the date are drawn
   by assets/js/picker.js (style.css, .ps-picker and .ps-datepicker).
   ========================================================================== */

.section--contact-page {
    padding: 30px 0 60px;
}

.contact-form-wrap {
    clear: both;
    width: 100%;
}

.cf-card {
    border: 1px solid var(--color-border-soft);
    border-radius: var(--radius-card);
    background: var(--color-bg-card);
    box-shadow: var(--shadow-card-hover);
}

.cf-band {
    padding: 26px 36px;
    border-radius: var(--radius-card) var(--radius-card) 0 0;
    background: linear-gradient(120deg, var(--color-brand-primary-dark), color-mix(in srgb, var(--color-brand-primary) 70%, var(--color-brand-primary-dark)));
    color: #ffffff;
}

.cf-band h2 {
    margin: 0 0 4px;
    color: #ffffff;
    font-size: 1.35rem;
}

.cf-band p {
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.93rem;
}

.cf-form {
    padding: 28px 36px 32px;
}

.cf-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 18px;
}

.cf-full {
    grid-column: 1 / -1;
}

.cf-sub {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 4px 0 10px;
    color: var(--color-brand-text);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cf-section:not([hidden]),
.cf-other:not([hidden]) {
    animation: cfIn 0.25s ease;
}

@keyframes cfIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
}

.cf-field {
    min-width: 0;
}

.cf-field > label {
    display: block;
    margin-bottom: 5px;
    color: var(--color-text);
    font-size: 0.85rem;
    font-weight: 600;
}

.cf-field label small {
    color: var(--color-text-muted);
    font-weight: 400;
}

.cf-form input:not([type="checkbox"]),
.cf-form textarea {
    width: 100%;
    min-height: 44px;
    padding: 10px 14px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: #ffffff;
    color: var(--color-text);
    font: inherit;
    font-size: 0.95rem;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.cf-form textarea {
    min-height: 260px;
    resize: vertical;
}

.cf-form input:focus,
.cf-form textarea:focus {
    outline: none;
    border-color: var(--color-brand-primary);
    box-shadow: var(--focus-ring);
}

.cf-checks {
    display: grid;
    gap: 8px;
}

.cf-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--color-text-soft);
    font-size: 0.92rem;
    font-weight: 400;
    cursor: pointer;
}

.cf-check input {
    flex: 0 0 auto;
    margin-top: 4px;
    accent-color: var(--color-brand-primary);
}

.cf-check a {
    color: var(--color-brand-text);
    text-decoration: underline;
}

.cf-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.cf-note {
    margin: 0;
    color: var(--color-text-muted);
    font-size: 0.85rem;
}

/* A field left empty or filled in wrongly: red edge and a short note */
.cf-error {
    display: block;
    margin-top: 5px;
    color: #c5221f;
    font-size: 0.82rem;
    font-weight: 600;
}

.cf-field.is-error input:not([type="checkbox"]),
.cf-field.is-error textarea,
.cf-field.is-error .ps-picker__button {
    border-color: #d93025 !important;
    box-shadow: 0 0 0 3px rgba(217, 48, 37, 0.14) !important;
}

.cf-field.is-error .ps-datepicker__typed {
    box-shadow: none !important;
}

.cf-check.is-error span {
    color: #c5221f;
}

.cf-check.is-error input {
    outline: 2px solid #d93025;
    outline-offset: 1px;
}

.contact-form-message {
    margin: 0;
}

.contact-form-message:empty {
    display: none;
}

.cf-msg {
    padding: 16px 18px;
    border: 1px solid #a6e0c0;
    border-radius: 8px;
    background: #ecfdf3;
    color: #067647;
}

.cfe-msg {
    color: #d92d20;
    font-weight: 600;
}

.hp-row {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

.contact-form-success-title {
    margin: 0 0 6px;
    color: #067647;
    font-size: 1.2rem;
    line-height: 1.2;
}

.contact-form-success-text {
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 760px) {
    .cf-band {
        padding: 22px 20px;
    }

    .cf-form {
        padding: 22px 20px 26px;
    }

    .cf-grid {
        grid-template-columns: 1fr;
    }
}


/* ==========================================================================
   CONTACT PAGE
   ========================================================================== */

.ps-two-col-content__card {
    background: #ffffff;
    border: 1px solid var(--color-border-soft);
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    height: 100%;
}

.ps-two-col-content__eyebrow {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-brand-primary);
    margin-bottom: 10px;
}

.ps-two-col-content__card h3 {
    margin: 20px 0 6px;
}

.ps-two-col-content__text {
    color: var(--color-text-soft);
    line-height: 1.7;
}

.ps-two-col-content__text p:last-child {
    margin-bottom: 0;
}


/* ==========================================================================
   VACANCY PAGE (ADVERT FROM THE DASHBOARD)
   ========================================================================== */

.ps-vacancy-page {
  width: 100%;
  padding: 30px 0 70px;
}

/* The advert's own stylesheet sets its colours and type; the site's
   heading colours must not override them */
.ps-vacancy-page .avxj h1 {
  color: inherit;
}

/* ==========================================================================
   FEATURE PAGES (the service page layout)
========================================================================== */

.ps-subheading {
    margin: -0.4em 0 1em;
    color: var(--color-brand-text);
    font-size: 1.05rem;
    font-weight: 600;
}

/* Full-width image hero, the H1 over a dark wash for contrast */

.ps-feature-hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: clamp(380px, 52vw, 560px);
    background:
        linear-gradient(90deg, rgba(8, 20, 32, 0.82) 0%, rgba(8, 20, 32, 0.55) 45%, rgba(8, 20, 32, 0.15) 100%),
        var(--feature-hero-image, none) var(--feature-hero-position, center) / cover no-repeat,
        var(--color-brand-primary-dark);
    color: #ffffff;
}

.ps-feature-hero__inner {
    padding: 80px 0 64px;
}

.ps-feature-hero__content {
    max-width: 640px;
}

.ps-feature-hero .ps-eyebrow {
    color: rgba(255, 255, 255, 0.85);
}

.ps-feature-hero h1 {
    margin-bottom: 0.35em;
    color: #ffffff;
}

.ps-feature-hero__sub {
    margin: 0 0 26px;
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.3rem);
}

/* H2 introduction with a smaller image beside it */

.ps-intro {
    padding: 70px 0 30px;
}

.ps-intro__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 48px;
    align-items: center;
}

.ps-intro__inner--text-only {
    grid-template-columns: minmax(0, 820px);
}

.ps-intro__content p {
    color: var(--color-text-soft);
    line-height: 1.7;
}

.ps-intro__media img {
    width: 100%;
    border-radius: 18px;
    box-shadow: var(--shadow-card);
}

/* A row of five (Why Choose) wraps evenly rather than leaving one alone */

.ps-feature-page .ps-feature-grid__grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* The page's own enquiry form: the heading centred above, the form in one
   full-width card below, the page's text in its blue band */

.ps-enquiry {
    padding: 50px 0;
}

.ps-enquiry__inner {
    max-width: 980px;
}

.ps-enquiry__intro {
    margin: 0 auto 24px;
    max-width: 680px;
    text-align: center;
}

.ps-enquiry__intro h2 {
    margin-bottom: 0;
}

@media (max-width: 900px) {
    .ps-intro__inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

/* The main body. Zig-zag (default): rows alternating left and right with
   the image a third of the width, so the text leads. Cards: a row of
   cards with the image on top. */

.ps-feature-sections {
    padding: 50px 0;
}

.ps-feature-sections p {
    color: var(--color-text-soft);
    line-height: 1.7;
}

.ps-feature-sections__copy > :last-child {
    margin-bottom: 0;
}

.ps-feature-sections__media img {
    width: 100%;
    object-fit: cover;
}

.ps-feature-sections h2 {
    margin-bottom: 0.35em;
    font-size: clamp(1.3rem, 1.15rem + 0.6vw, 1.6rem);
}

.ps-feature-sections--zigzag .ps-feature-sections__inner {
    max-width: 980px;
}

.ps-feature-sections--zigzag .ps-feature-sections__item {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 40px;
    align-items: center;
    margin-bottom: 44px;
}

.ps-feature-sections--zigzag .ps-feature-sections__item:last-child {
    margin-bottom: 0;
}

.ps-feature-sections--zigzag .ps-feature-sections__item:nth-child(even) {
    grid-template-columns: minmax(0, 1fr) 300px;
}

.ps-feature-sections--zigzag .ps-feature-sections__item:nth-child(even) .ps-feature-sections__media {
    order: 2;
}

.ps-feature-sections--zigzag .ps-feature-sections__media img {
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
}

.ps-feature-sections--cards .ps-feature-sections__inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 22px;
}

.ps-feature-sections--cards .ps-feature-sections__item {
    overflow: hidden;
    border: 1px solid var(--color-border-soft);
    border-radius: var(--radius-card);
    background: var(--color-bg-card);
    box-shadow: var(--shadow-card);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.ps-feature-sections--cards .ps-feature-sections__item:hover {
    transform: translateY(-4px);
    border-color: var(--color-border-brand-subtle);
    box-shadow: var(--shadow-card-hover);
}

.ps-feature-sections--cards .ps-feature-sections__media img {
    aspect-ratio: 16 / 10;
}

.ps-feature-sections--cards .ps-feature-sections__copy {
    padding: 20px;
}

.ps-feature-sections--cards h2 {
    font-size: 1.15rem;
}

.ps-feature-sections--cards p {
    font-size: 0.93rem;
}

.ps-feature-sections__bullets {
    margin: 0 0 1em;
    padding-left: 1.25em;
    color: var(--color-text-soft);
    line-height: 1.7;
}
.ps-feature-sections__bullets li {
    margin-bottom: 0.4em;
}

@media (max-width: 900px) {
    .ps-feature-sections--zigzag .ps-feature-sections__item,
    .ps-feature-sections--zigzag .ps-feature-sections__item:nth-child(even) {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .ps-feature-sections--zigzag .ps-feature-sections__item:nth-child(even) .ps-feature-sections__media {
        order: 0;
    }

    .ps-feature-sections--zigzag .ps-feature-sections__media img {
        aspect-ratio: 16 / 9;
    }
}


/* ==========================================================================
   FAQ LIST (the cards themselves are .ps-faq-card, shared with the FAQs page)
========================================================================== */

.ps-faq__list {
    max-width: 860px;
    margin: 0 auto;
}

.ps-intro__list {
    margin: 0 0 1em;
    padding-left: 1.25em;
    line-height: 1.7;
}

.ps-intro__list li {
    margin-bottom: 0.4em;
}

/* Feature pages alternate white and a soft tinted band, section by section,
   so the page has rhythm without the whole page going grey */
.ps-feature-page > section:not(.ps-feature-hero):not(.ps-cta):nth-of-type(odd) {
    background: color-mix(in srgb, var(--color-brand-primary) 5%, #f7f9fb);
}

/* One rhythm for every band on a feature page: the same space above and
   below each section. The feature grid's float (a homepage leftover) is
   cleared so it cannot swallow the next section's top padding. */
.ps-feature-page > section:not(.ps-feature-hero):not(.ps-cta) {
    float: none;
    clear: both;
    padding-top: 64px;
    padding-bottom: 64px;
}

.ps-feature-page .ps-section-heading {
    margin-bottom: 32px;
}

/* Feature cards (Why Choose AV Xpert, and the icon rows): a brand top edge,
   the icon in a tinted disc, and a lift on hover that fills the disc */
.ps-feature {
    position: relative;
    overflow: hidden;
    border-top: 4px solid var(--color-brand-primary);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.ps-feature::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, color-mix(in srgb, var(--color-brand-primary) 9%, transparent), transparent 60%);
    opacity: 0;
    transition: opacity var(--transition-fast);
    pointer-events: none;
}

.ps-feature:hover {
    transform: translateY(-6px);
    border-color: var(--color-border-brand-subtle);
    border-top-color: var(--color-brand-primary);
    box-shadow: var(--shadow-card-hover);
}

.ps-feature:hover::after {
    opacity: 1;
}

.ps-feature__icon {
    display: inline-grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--color-overlay-brand-medium);
    font-size: 1.5rem;
    transition: background var(--transition-fast), color var(--transition-fast), transform 0.3s ease;
}

.ps-feature:hover .ps-feature__icon {
    background: var(--color-brand-primary);
    color: #ffffff;
    transform: scale(1.08) rotate(-6deg);
}

@media (prefers-reduced-motion: reduce) {
    .ps-feature,
    .ps-feature__icon {
        transition: none;
    }

    .ps-feature:hover,
    .ps-feature:hover .ps-feature__icon {
        transform: none;
    }
}

/* Sub-headings in the darker brand blue, over the sections' general
   paragraph colour */
.ps-feature-sections .ps-subheading,
.ps-intro .ps-subheading {
    color: var(--color-brand-text);
}

/* Feature page photos wear a soft brand frame; keyboard focus (they open
   the lightbox) shows as a stronger solid ring */
.ps-feature-page .ps-intro__media img,
.ps-feature-page .ps-feature-sections__media img {
    outline: 3px solid color-mix(in srgb, var(--color-brand-primary) 45%, transparent);
    outline-offset: 2px;
    transition: outline-color var(--transition-fast);
}

.ps-feature-page .ps-intro__media img:hover,
.ps-feature-page .ps-feature-sections__media img:hover,
.ps-feature-page .ps-intro__media img:focus-visible,
.ps-feature-page .ps-feature-sections__media img:focus-visible {
    outline-color: var(--color-brand-primary);
}

/* ==========================================================================
   SECTION INDEX PAGES (Live Events, AV Installations)
========================================================================== */

.ps-feature-hero--compact {
    min-height: clamp(300px, 34vw, 400px);
}

.ps-feature-hero--compact .ps-feature-hero__inner {
    padding: 64px 0 48px;
}

.ps-index-intro {
    padding: 48px 0 8px;
}

.ps-index-intro p {
    margin: 0;
    color: var(--color-text-soft);
    font-size: 1.12rem;
    line-height: 1.7;
}

.ps-index-group {
    padding: 40px 0;
}

.ps-index-group__head {
    margin-bottom: 22px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--color-border);
}

.ps-index-group__head h2 {
    margin: 0;
}

.ps-index-group__head p {
    margin: 6px 0 0;
    color: var(--color-brand-text);
    font-size: 1.05rem;
    font-weight: 600;
}

/* Five cards to a row at full width; a shorter group keeps the same card
   size and leaves the rest of the row empty rather than stretching */
.ps-index-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

/* A group with one card and a set of tiles: the card beside the tiles */
.ps-index-split {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) minmax(0, 2fr);
    gap: 20px;
    align-items: stretch;
}

.ps-index-split .ps-index-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: start;
    margin-top: 0;
}

.ps-index-tile.ps-index-tile--feature {
    grid-column: 1 / -1;
    border-color: var(--color-brand-primary);
    background: var(--color-brand-primary);
    color: #ffffff;
}

.ps-index-tile.ps-index-tile--feature i {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.ps-index-tile.ps-index-tile--feature:hover {
    background: var(--color-brand-primary-hover);
    color: #ffffff;
}

@media (max-width: 760px) {
    .ps-index-split {
        grid-template-columns: 1fr;
    }
}

.ps-index-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--color-border-soft);
    border-radius: var(--radius-card);
    background: var(--color-bg-card);
    box-shadow: var(--shadow-card);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.ps-index-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-border-brand-subtle);
    box-shadow: var(--shadow-card-hover);
}

.ps-index-card__image {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--color-border-soft-alt);
}

.ps-index-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.ps-index-card:hover .ps-index-card__image img {
    transform: scale(1.04);
}

.ps-index-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 8px;
    padding: 18px 20px 20px;
}

.ps-index-card__title {
    color: var(--color-text);
    font-size: 1.15rem;
    font-weight: 600;
}

.ps-index-card__text {
    flex: 1;
    color: var(--color-text-muted);
    font-size: 0.92rem;
    line-height: 1.55;
}

.ps-index-card__more {
    color: var(--color-brand-text);
    font-size: 0.9rem;
    font-weight: 600;
}

.ps-index-card__more i {
    margin-left: 4px;
    transition: transform var(--transition-fast);
}

.ps-index-card:hover .ps-index-card__more i {
    transform: translateX(3px);
}

.ps-index-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.ps-index-tile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid var(--color-border-soft);
    border-radius: var(--radius-md);
    background: var(--color-bg-card);
    color: var(--color-text);
    font-weight: 600;
    transition: border-color var(--transition-fast), background var(--transition-fast), transform var(--transition-fast);
}

.ps-index-tile i {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--color-overlay-brand-medium);
    color: var(--color-brand-text);
    transition: background var(--transition-fast), color var(--transition-fast);
}

.ps-index-tile:hover {
    transform: translateY(-2px);
    border-color: var(--color-brand-primary);
    background: var(--color-overlay-brand-light);
}

.ps-index-tile:hover i {
    background: var(--color-brand-primary);
    color: #ffffff;
}

.ps-index-reasons {
    margin-top: 24px;
    padding: 28px 0;
    background: color-mix(in srgb, var(--color-brand-primary) 5%, #f7f9fb);
}

.ps-index-reasons__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ps-index-reasons__list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--color-text);
    font-weight: 600;
}

.ps-index-reasons__list i {
    color: var(--color-brand-primary);
    font-size: 1.3rem;
}

.ps-section-index .ps-logo-strip {
    clear: both;
}

/* ==========================================================================
   FAQS PAGE
========================================================================== */

.ps-faq-page__body {
    padding: 24px 0 40px;
}

.ps-faq-page__layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 48px;
    align-items: start;
}

.ps-faq-page__topics {
    position: sticky;
    top: 24px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 20px;
    border: 1px solid var(--color-border-soft);
    border-radius: var(--radius-card);
    background: color-mix(in srgb, var(--color-brand-primary) 5%, #f7f9fb);
}

.ps-faq-page__topics-title {
    margin: 0 0 8px;
    color: var(--color-text-muted);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ps-faq-page__topics a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 12px;
    border-radius: var(--radius-sm);
    color: var(--color-text);
    font-size: 0.95rem;
    font-weight: 600;
    transition: background var(--transition-fast), color var(--transition-fast);
}

.ps-faq-page__topics a:hover {
    background: var(--color-bg-card);
    color: var(--color-brand-text);
}

.ps-faq-page__count {
    display: inline-grid;
    place-items: center;
    min-width: 24px;
    height: 24px;
    padding: 0 6px;
    border-radius: var(--radius-pill);
    background: var(--color-overlay-brand-medium);
    color: var(--color-brand-text);
    font-size: 0.78rem;
}

.ps-faq-group {
    scroll-margin-top: 24px;
}

.ps-faq-group + .ps-faq-group {
    margin-top: 44px;
}

.ps-faq-group h2 {
    margin: 0 0 16px;
    font-size: clamp(1.35rem, 1.2rem + 0.6vw, 1.65rem);
}

.ps-faq-card {
    margin-bottom: 12px;
    border: 1px solid var(--color-border-soft);
    border-radius: var(--radius-card);
    background: var(--color-bg-card);
    box-shadow: var(--shadow-card);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.ps-faq-card:hover {
    border-color: var(--color-border-brand-subtle);
}

.ps-faq-card[open] {
    border-color: var(--color-brand-primary);
    box-shadow: var(--shadow-card-hover);
}

.ps-faq-card summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    color: var(--color-text);
    font-size: 1.05rem;
    font-weight: 600;
    list-style: none;
    cursor: pointer;
}

.ps-faq-card summary::-webkit-details-marker {
    display: none;
}

.ps-faq-card summary i {
    display: grid;
    flex-shrink: 0;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--color-overlay-brand-medium);
    color: var(--color-brand-text);
    font-size: 0.85rem;
    transition: transform 0.25s ease, background var(--transition-fast), color var(--transition-fast);
}

.ps-faq-card[open] summary i {
    background: var(--color-brand-primary);
    color: #ffffff;
    transform: rotate(45deg);
}

.ps-faq-card p {
    margin: 0;
    padding: 0 22px 20px;
    color: var(--color-text-soft);
    line-height: 1.7;
}

@media (max-width: 900px) {
    .ps-faq-page__layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .ps-faq-page__topics {
        position: static;
        flex-flow: row wrap;
    }

    .ps-faq-page__topics-title {
        width: 100%;
    }
}

/* Card titles at a steady size rather than one that grows with the window;
   a page can split a title over two lines with '|' so a row matches */
.ps-feature h3 {
    font-size: 1.3rem;
    line-height: 1.15;
}

/* A card that links down to its section */
.ps-feature--link {
    display: block;
    color: inherit;
}

.ps-feature-sections__item[id] {
    scroll-margin-top: 24px;
}

/* ==========================================================================
   CAREERS PAGE: a reading column, as the current site has
========================================================================== */

.page-careers main > section > .container {
    max-width: 820px;
}

.page-careers .ps-content-blocks__stack {
    max-width: none;
}

/* Section headings as small brand labels over the text they introduce */
.page-careers .ps-content-block h2,
.page-careers .ps-content-block h3 {
    margin-bottom: 12px;
    color: var(--color-brand-text);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.page-careers .ps-content-block + .ps-content-block {
    margin-top: 36px;
    padding-top: 28px;
}

.page-careers .ps-content-block__content p {
    line-height: 1.75;
}

.page-careers .ps-hero {
    padding-bottom: 40px;
}

.page-careers .ps-vacancies h2 {
    margin-bottom: 14px;
    color: var(--color-brand-text);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-align: left;
    text-transform: uppercase;
}

/* The careers contact details as a quiet line of links under the intro */
.page-careers .ps-hero {
    padding-bottom: 16px;
}

.ps-careers-contact {
    padding-bottom: 28px;
}

.ps-careers-contact .container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 28px;
}

.ps-careers-contact a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-text-soft);
    font-weight: 600;
}

.ps-careers-contact a:hover {
    color: var(--color-brand-text);
}

.ps-careers-contact i {
    color: var(--color-brand-primary);
}

/* The contact line sits close under the intro, with room before the vacancies */
.page-careers .ps-hero {
    padding-bottom: 0;
}

.page-careers .ps-hero__intro {
    margin-bottom: 14px;
}

.ps-careers-contact {
    padding-bottom: 48px;
}

/* The same hairline as between the sections, under the vacancies */
.page-careers .ps-vacancies .container {
    padding-bottom: 28px;
    border-bottom: 1px solid var(--color-border-soft);
}

.page-careers .ps-vacancies {
    padding-bottom: 0;
}

.page-careers .ps-content-blocks {
    padding-top: 28px;
}

/* ==========================================================================
   TEXT PAGES: the careers page's reading style for every long-form page
   (legal pages, content blocks): a reading column, small brand labels for
   section headings, and one hairline between sections
========================================================================== */

.section--legal .container,
.ps-content-blocks .container {
    max-width: 820px;
}

.section--legal .legal-content {
    color: var(--color-text-soft);
}

.section--legal .legal-content__section + .legal-content__section {
    margin-top: 0;
    padding-top: 28px;
    border-top: 1px solid var(--color-border-soft);
}

.section--legal .legal-content__section {
    margin-bottom: 28px;
}

.section--legal .legal-content h2,
.ps-content-block h2,
.ps-content-block h3 {
    margin-bottom: 12px;
    color: var(--color-brand-text);
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section--legal .legal-content p,
.section--legal .legal-content li {
    color: var(--color-text-soft);
    line-height: 1.75;
}

.ps-content-block + .ps-content-block {
    margin-top: 36px;
    padding-top: 28px;
}

/* Legal pages: the top section shares the reading column, as on careers,
   so the title and the text below start at the same left edge, with less
   space between them */
main:has(> .section--legal) > .ps-hero .container {
    max-width: 820px;
}

main:has(> .section--legal) > .ps-hero {
    padding: 64px 0 28px;
}

main:has(> .section--legal) > .section--legal {
    padding-top: 0;
}

/* The "Back to all Terms & Conditions" link shares the reading column too */
.section--legal-nav .container {
    max-width: 820px;
}

/* FAQs: the reading column, as the other text pages, with the topics as a
   row of tags above the questions instead of a sidebar */
.ps-faq-page > .ps-hero .container,
.ps-faq-page__body .container {
    max-width: 820px;
}

.ps-faq-page > .ps-hero {
    padding-bottom: 24px;
}

.ps-faq-page__layout {
    display: block;
}

.ps-faq-page__topics {
    position: static;
    flex-flow: row wrap;
    gap: 8px;
    margin-bottom: 36px;
    padding: 0;
    border: 0;
    background: none;
}

.ps-faq-page__topics-title {
    display: none;
}

.ps-faq-page__topics a {
    gap: 8px;
    padding: 7px 8px 7px 14px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-pill);
    background: var(--color-bg-card);
    font-size: 0.88rem;
}

.ps-faq-page__topics a:hover {
    border-color: var(--color-brand-primary);
    background: var(--color-overlay-brand-light);
}

/* Contact page: how to find us, one card across the page, the heading
   beside the directions */

.contact-visit {
    padding: 0;
}

.contact-visit__card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 36px;
}

.contact-visit__head h2 {
    margin: 0;
    font-size: clamp(1.35rem, 1.2rem + 0.5vw, 1.65rem);
    line-height: 1.25;
}

.contact-visit__head .ps-two-col-content__eyebrow i {
    margin-right: 4px;
}

.contact-visit__text p {
    color: var(--color-text-soft);
    line-height: 1.7;
}

.contact-visit__text > :last-child {
    margin-bottom: 0;
}

@media (max-width: 900px) {
    .contact-visit__card {
        grid-template-columns: 1fr;
        padding: 26px 22px;
    }
}

/* Contact page in one column: the details as three tiles, then the form */

.contact-single {
    max-width: 980px;
    margin: 0 auto;
}

.contact-tiles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.contact-tile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border: 1px solid var(--color-border-soft);
    border-radius: var(--radius-card);
    background: #ffffff;
    box-shadow: var(--shadow-card);
    color: var(--color-text);
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.35;
}

a.contact-tile:hover {
    border-color: var(--color-border-brand-subtle);
}

.contact-tile i {
    display: grid;
    flex: 0 0 40px;
    place-items: center;
    height: 40px;
    border-radius: 12px;
    background: var(--color-overlay-brand-light);
    color: var(--color-brand-text);
}

.contact-tile small {
    display: block;
    margin-bottom: 2px;
    color: var(--color-text-muted);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contact-ooh {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 14px 0 24px;
    padding: 16px;
    border: 1px solid var(--color-border-soft);
    border-radius: var(--radius-card);
    background: #ffffff;
    box-shadow: var(--shadow-card);
    color: var(--color-text);
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
}

.contact-ooh i {
    display: grid;
    flex: 0 0 40px;
    place-items: center;
    height: 40px;
    border-radius: 12px;
    background: var(--color-overlay-brand-light);
    color: var(--color-brand-text);
}

.contact-ooh small {
    display: block;
    margin-bottom: 2px;
    color: var(--color-text-muted);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contact-visit__card {
    max-width: 980px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .contact-tiles {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .contact-tiles {
        grid-template-columns: 1fr;
    }
}

/* The hero lines up with the one-column form beneath it */
main:has(.contact-single) > .ps-hero .container {
    max-width: 980px;
}

/* The map inside the How to find us card, under the directions */
.contact-visit__map {
    margin-top: 8px;
    overflow: hidden;
    border: 1px solid var(--color-border-soft);
    border-radius: var(--radius-card);
    line-height: 0;
}

.contact-visit__map iframe {
    display: block;
    width: 100%;
    height: 340px;
    border: 0;
}

.contact-visit__address {
    display: flex;
    gap: 10px;
    margin: 0;
    color: var(--color-text);
    font-weight: 600;
}

.contact-visit__address i {
    margin-top: 4px;
    color: var(--color-brand-primary);
}

/* Straight after the tinted service cards the logo strip goes white, and
   each logo wears the same soft brand frame as the page's photos */
.ps-service-cards + .ps-logo-strip {
    background: #ffffff;
}

.ps-service-cards + .ps-logo-strip .ps-logo-strip__item {
    outline: 3px solid color-mix(in srgb, var(--color-brand-primary) 45%, transparent);
    outline-offset: -3px;
    transition: outline-color var(--transition-fast);
}

.ps-service-cards + .ps-logo-strip .ps-logo-strip__item:hover {
    outline-color: var(--color-brand-primary);
}

/* On the white band the arrows take the light blue the band had */
.ps-service-cards + .ps-logo-strip .ps-logo-strip__arrow:not(:hover) {
    background: color-mix(in srgb, var(--color-brand-primary) 9%, #fff);
}

/* The technology partner strip: all six logos in one row, white band */
.ps-partner-logos .ps-logo-strip {
    background: #ffffff;
}

.ps-partner-logos .ps-logo-strip__grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

@media (max-width: 900px) {
    .ps-partner-logos .ps-logo-strip__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* A group of exactly eight tiles (the Locations pages' other-section towns)
   sits in two even rows of four */
.ps-index-tiles:has(> :nth-child(8):last-child) {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 700px) {
    .ps-index-tiles:has(> :nth-child(8):last-child) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ==========================================================================
   VIDEO BAND: a photo that drifts behind the copy (parallax), a play
   button, and a pop-up player for our own web copy of the video
   ========================================================================== */

.ps-video-band {
    position: relative;
    overflow: hidden;
    min-height: 460px;
    display: flex;
    align-items: center;
    color: #ffffff;
    isolation: isolate;
}

.ps-video-band__bg {
    position: absolute;
    inset: -18% 0;
    background-size: cover;
    background-position: center;
    will-change: transform;
    z-index: -2;
}

.ps-video-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(8, 41, 63, 0.88) 0%, rgba(8, 41, 63, 0.55) 55%, rgba(8, 41, 63, 0.25) 100%);
    z-index: -1;
}

.ps-video-band__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding-block: 72px;
}

.ps-video-band__copy {
    max-width: 560px;
}

.ps-video-band__copy .ps-eyebrow {
    color: #9ed6f0;
}

.ps-video-band__copy h2 {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem);
    text-wrap: balance;
}

.ps-video-band__copy p {
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    line-height: 1.7;
}

.ps-video-band__play {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 104px;
    height: 104px;
    border: 0;
    border-radius: 50%;
    background: var(--color-brand-primary);
    color: #ffffff;
    font-size: 2rem;
    cursor: pointer;
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.18), 0 12px 30px rgba(0, 0, 0, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ps-video-band__play i {
    margin-left: 6px;
}

.ps-video-band__play:hover,
.ps-video-band__play:focus-visible {
    transform: scale(1.06);
    box-shadow: 0 0 0 16px rgba(255, 255, 255, 0.22), 0 14px 34px rgba(0, 0, 0, 0.4);
    outline: none;
}

@media (prefers-reduced-motion: no-preference) {
    .ps-video-band__play {
        animation: psVideoPulse 2.6s ease-in-out infinite;
    }
}

@keyframes psVideoPulse {
    50% { box-shadow: 0 0 0 18px rgba(255, 255, 255, 0.1), 0 12px 30px rgba(0, 0, 0, 0.35); }
}

@media (max-width: 760px) {
    .ps-video-band {
        min-height: 380px;
    }

    .ps-video-band__inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 28px;
        padding-block: 56px;
    }

    .ps-video-band__play {
        width: 84px;
        height: 84px;
        font-size: 1.6rem;
    }
}

/* The pop-up player */
.ps-video-modal {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(4, 18, 28, 0.92);
}

.ps-video-modal[hidden] {
    display: none;
}

.ps-video-modal__frame {
    position: relative;
    width: min(1100px, 100%);
}

.ps-video-modal video {
    display: block;
    width: 100%;
    max-height: 82vh;
    border-radius: 12px;
    background: #000000;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.ps-video-modal__close {
    position: absolute;
    top: -48px;
    right: 0;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    font-size: 1.2rem;
    cursor: pointer;
}

.ps-video-modal__close:hover,
.ps-video-modal__close:focus-visible {
    background: var(--color-brand-primary);
    outline: none;
}

/* Cards outside the section index pages (home, about, feature pages): four to a row, filling the width */
.ps-service-cards .ps-index-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1000px) {
    .ps-service-cards .ps-index-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .ps-service-cards .ps-index-grid {
        grid-template-columns: 1fr;
    }
}

/* A section's "Find out more": a quiet text link with an arrow, as on the cards */
.ps-section-more {
    color: var(--color-brand-text);
    font-weight: 600;
    text-decoration: none;
}

.ps-section-more i {
    margin-left: 4px;
    transition: transform var(--transition-fast);
}

.ps-section-more:hover i {
    transform: translateX(3px);
}

/* Feature hero with a background video (muted and looping; the image is the poster) */
.ps-feature-hero--video {
    overflow: hidden;
}

.ps-feature-hero__video {
    position: absolute;
    top: -20%;
    left: 0;
    width: 100%;
    height: 140%;
    will-change: transform;
    object-fit: cover;
    z-index: 0;
}

.ps-feature-hero--video::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(8, 20, 32, 0.82) 0%, rgba(8, 20, 32, 0.55) 45%, rgba(8, 20, 32, 0.15) 100%);
}

.ps-feature-hero--video .ps-feature-hero__inner {
    position: relative;
    z-index: 2;
}

@media (prefers-reduced-motion: reduce) {
    .ps-feature-hero__video {
        display: none;
    }
}

/* Full-width Hire Shop band on the Live Events index (after the old site's home page banner) */
.ps-hire-band {
    padding: 72px 0;
    background: linear-gradient(135deg, var(--color-brand-primary-darker) 0%, var(--color-brand-primary-dark) 100%);
    color: #ffffff;
    text-align: center;
}

.ps-hire-band__head {
    max-width: 1120px;
    margin: 0 auto 40px;
}

.ps-hire-band .ps-eyebrow {
    color: var(--color-brand-primary);
}

.ps-hire-band h2 {
    color: #ffffff;
    margin-bottom: 16px;
}

.ps-hire-band__head p:last-child {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
}

.ps-hire-band__steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin: 0 0 40px;
    padding: 0;
    list-style: none;
}

.ps-hire-band__steps li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 26px 20px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
}

.ps-hire-band__steps i {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--color-brand-primary);
    color: #ffffff;
    font-size: 1.2rem;
}

.ps-hire-band__steps strong {
    font-size: 1.05rem;
}

.ps-hire-band__steps span {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.95rem;
    line-height: 1.6;
}

.ps-hire-band .ps-hero__actions {
    justify-content: center;
}

.ps-hire-band .btn-outline {
    border-color: rgba(255, 255, 255, 0.7);
    color: #ffffff;
}

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

@media (max-width: 520px) {
    .ps-hire-band {
        padding: 56px 0;
    }

    .ps-hire-band__steps {
        grid-template-columns: 1fr;
    }
}

.ps-hire-band__link {
    margin: 20px 0 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.ps-hire-band__link a {
    color: var(--color-brand-primary);
    text-decoration: none;
}

.ps-hire-band__link a:hover {
    color: #ffffff;
}

.ps-hire-band__link i {
    font-size: 0.9em;
    margin-left: 4px;
}

/* Category Hire Shop band: shorter intro, so a narrower column with balanced lines */
.ps-hire-band--category .ps-hire-band__head {
    max-width: 900px;
}

.ps-hire-band__head p {
    text-wrap: balance;
}
