/* Content and layout refinements requested on 2026-09-07. */
.px-allinone .px-aio-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-sizing: border-box;
}

.px-allinone .px-aio-controls {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

.px-allinone .px-aio-controls button {
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid #5b5d63;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font: inherit;
  cursor: pointer;
}

.px-allinone .px-aio-controls button:disabled {
  opacity: .28;
  cursor: default;
}

.px-allinone .px-aio-controls button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.psbox-home-v15 .px-portfolio .px-gallery-note,
.psbox-home-v15 .px-contact-signature {
  display: none !important;
}

/* WHO WE ARE: title and supporting copy read as one column; actions sit right. */
.psbox-home-v15 .px-about-layout {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px) !important;
  grid-template-areas: "heading actions" "story actions" !important;
  column-gap: clamp(56px, 8vw, 120px) !important;
  row-gap: 26px !important;
}

.psbox-home-v15 .px-about-story {
  max-width: 760px !important;
}

.psbox-home-v15 .px-about-actions {
  display: grid !important;
  grid-template-columns: 1fr !important;
  align-self: center !important;
  gap: 14px !important;
  width: 100%;
  margin: 0 !important;
}

.psbox-home-v15 .px-about-link {
  min-height: 86px !important;
  justify-content: space-between !important;
  gap: 18px !important;
  padding: 18px 20px !important;
  border: 1px solid #dde1e6 !important;
  border-radius: 22px !important;
  background: #fff !important;
  color: #191b20 !important;
  box-shadow: 0 12px 32px rgba(23, 27, 34, .07);
}

.psbox-home-v15 .px-about-link span {
  display: flex;
  flex-direction: column;
  gap: 4px;
  white-space: nowrap;
}

.psbox-home-v15 .px-about-link small {
  color: #e9002d;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .12em;
}

.psbox-home-v15 .px-about-link svg {
  width: 42px !important;
  height: 42px !important;
  box-sizing: border-box;
  padding: 11px;
  border-radius: 50%;
  background: #191b20;
  color: #fff;
}

@media (hover: hover) {
  .psbox-home-v15 .px-about-link:hover {
    border-color: #e9002d !important;
    background: #e9002d !important;
    color: #fff !important;
  }

  .psbox-home-v15 .px-about-link:hover small {
    color: #fff;
  }
}

/* Consent disclosure sits directly beside the checkbox copy. */
.psbox-home-v15 .px-consent-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.psbox-home-v15 .px-consent-row > label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  cursor: pointer;
  word-break: keep-all;
}

.psbox-home-v15 .px-consent-row details {
  position: relative;
  margin: 0 !important;
  color: inherit;
  font-size: inherit;
}

.psbox-home-v15 .px-consent-row summary {
  padding: 6px 11px;
  border: 1px solid #cfd4da;
  border-radius: 999px;
  background: #fff;
  color: #454b55;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.3;
  text-decoration: none !important;
  list-style: none;
  cursor: pointer;
}

.psbox-home-v15 .px-consent-row summary::-webkit-details-marker {
  display: none;
}

.psbox-home-v15 .px-consent-row details p {
  position: absolute;
  right: 0;
  bottom: calc(100% + 10px);
  z-index: 20;
  width: min(480px, calc(100vw - 48px));
  box-sizing: border-box;
  margin: 0 !important;
  padding: 16px 18px;
  border: 1px solid #dfe3e8;
  border-radius: 14px;
  background: #fff;
  color: #626873;
  box-shadow: 0 16px 42px rgba(20, 24, 31, .14);
  line-height: 1.75;
}

/* Desktop AIO is a normal-height horizontal carousel. */
@media (min-width: 601px) {
  .psbox-home-v15.psbox-mobile-v18 .px-allinone,
  .psbox-home-v15.psbox-mobile-v18 .px-allinone.is-aio-animated {
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: #111214 !important;
  }

  .px-allinone .px-aio-mobile,
  .px-allinone .px-aio-stage,
  .px-allinone.is-aio-animated .px-aio-mobile,
  .px-allinone.is-aio-animated .px-aio-stage {
    height: auto !important;
    min-height: 0 !important;
    background: #111214 !important;
  }

  .px-allinone .px-aio-stage,
  .px-allinone.is-aio-animated .px-aio-stage {
    position: relative !important;
    top: auto !important;
    overflow: hidden !important;
  }

  .px-allinone .px-aio-intro,
  .px-allinone .px-aio-box {
    display: none !important;
  }

  .px-allinone .px-aio-deck,
  .px-allinone.is-aio-animated .px-aio-deck {
    position: relative !important;
    inset: auto !important;
    display: flex !important;
    height: auto !important;
    min-height: 0 !important;
    flex-direction: column;
    padding: 72px 0 64px !important;
    overflow: hidden;
    background: #111214 !important;
    color: #fff;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }

  .px-allinone .px-aio-header {
    width: min(1280px, 90vw);
    margin: 0 auto 28px;
    padding: 0;
  }

  .px-allinone .px-aio-heading,
  .px-allinone.is-aio-animated .px-aio-heading {
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: clamp(34px, 3vw, 50px);
    line-height: 1.2;
  }

  .px-allinone .px-aio-heading::before {
    display: block;
    margin-bottom: 12px;
    color: #f22147;
    content: "ALL in ONE";
    font-size: 13px;
    font-weight: 750;
    letter-spacing: .12em;
    line-height: 1.4;
  }

  .px-allinone .px-aio-controls button {
    width: 50px;
    height: 50px;
    font-size: 24px;
  }

  .px-allinone .px-aio-gallery,
  .px-allinone.is-aio-animated .px-aio-gallery {
    height: 560px !important;
    min-height: 0 !important;
    flex: none !important;
    overflow: hidden !important;
    scroll-snap-type: x mandatory !important;
    cursor: grab;
    user-select: none;
  }

  .px-allinone .px-aio-gallery.is-mouse-dragging {
    cursor: grabbing;
    scroll-snap-type: none !important;
  }

  .px-allinone .px-aio-card,
  .px-allinone.is-aio-animated .px-aio-card {
    height: 100% !important;
  }

  .px-allinone .px-aio-preview,
  .px-allinone.is-aio-animated .px-aio-preview {
    overflow: hidden !important;
  }
}

/* Mobile keeps the opening motion but presents a shorter card deck. */
@media (max-width: 600px) {
  .psbox-film__mobile-heading {
    font-size: clamp(22px, 6vw, 28px);
  }

  .psbox-home-v15.psbox-mobile-v18 .px-allinone.is-aio-animated {
    height: 145vh !important;
    height: 145svh !important;
  }

  .px-allinone.is-aio-animated .px-aio-deck {
    justify-content: center;
    padding: 24px 0 !important;
  }

  .px-allinone.is-aio-animated .px-aio-header {
    width: 100%;
    flex: 0 0 auto;
    margin: 0 0 16px;
    padding: 0 24px;
  }

  .px-allinone.is-aio-animated .px-aio-heading {
    width: auto;
    margin: 0 !important;
    padding: 0 !important;
    font-size: clamp(21px, 6vw, 24px);
    line-height: 1.25;
    white-space: nowrap;
  }

  .px-allinone.is-aio-animated .px-aio-heading::before {
    display: none !important;
    content: none !important;
  }

  .px-allinone.is-aio-animated .px-aio-controls button {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .px-allinone.is-aio-animated .px-aio-gallery {
    height: clamp(370px, 56svh, 500px) !important;
    min-height: 0 !important;
    flex: 0 0 auto !important;
    padding: 0 24px 2px;
    scroll-snap-type: x mandatory !important;
  }

  .px-allinone.is-aio-animated .px-aio-card {
    height: 100% !important;
    flex-basis: calc(100% - 24px);
  }

  .px-allinone.is-aio-animated .px-aio-preview {
    min-height: 0;
    overflow: auto;
  }

  .psbox-home-v15 .px-about-layout {
    grid-template-columns: 1fr !important;
    grid-template-areas: "heading" "story" "actions" !important;
    gap: 22px !important;
  }

  .psbox-home-v15 .px-about-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  .psbox-home-v15 .px-about-link {
    min-height: 70px !important;
    padding: 13px 14px !important;
    border-radius: 18px !important;
    font-size: 13px !important;
  }

  .psbox-home-v15 .px-about-link svg {
    width: 34px !important;
    height: 34px !important;
    padding: 9px;
  }

  .psbox-home-v15 .px-consent-row {
    align-items: flex-start;
  }

  .psbox-home-v15 .px-consent-row details p {
    right: 0;
    width: min(330px, calc(100vw - 40px));
  }
}

@media (max-width: 600px) and (max-height: 720px) {
  .px-allinone.is-aio-animated .px-aio-deck {
    padding: 16px 0 !important;
  }

  .px-allinone.is-aio-animated .px-aio-header {
    margin-bottom: 12px;
  }

  .px-allinone.is-aio-animated .px-aio-gallery {
    height: clamp(320px, 54svh, 380px) !important;
  }

  .px-allinone.is-aio-animated .px-aio-controls button {
    width: 36px;
    height: 36px;
  }
}
