/* PS Safeguarding public-page navigation and accessibility corrections, 20 September 2026.
   Loaded only by the updated public HTML pages. Contact PHP, portal and server settings are untouched. */
.ps-public-page { overflow-wrap: break-word; }
.ps-public-page [hidden] { display: none !important; }
.ps-public-page img, .ps-public-page video { max-width: 100%; }
.ps-public-page :is(a, button, input, textarea, select, summary):focus-visible {
  outline: 3px solid #542184 !important;
  outline-offset: 4px !important;
  box-shadow: 0 0 0 7px #fff !important;
}
.ps-public-page .skip-link { position: fixed !important; left: 12px !important; top: 12px !important; z-index: 1000; transform: translateY(-180%) !important; }
.ps-public-page .skip-link:focus { transform: translateY(0) !important; }
.ps-public-page main:focus { outline: none; }
.ps-public-page :is(section, article)[id] { scroll-margin-top: 24px; }
.ps-sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

body .ps-site-header {
  box-sizing: border-box; position: relative; top: auto; z-index: 20;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px 24px; width: 100%; max-width: none; height: auto; min-height: 100px;
  margin: 0; padding: 16px clamp(20px, 5vw, 80px);
  background: #fff; color: #341357; border: 0; border-bottom: 1px solid #ded2e7;
  box-shadow: none; font-family: Arial, Helvetica, sans-serif;
}
body .ps-site-header .ps-site-brand {
  display: inline-flex; flex: 0 1 auto; align-items: center; gap: 12px;
  min-width: 0; max-width: 100%; color: #341357; text-decoration: none;
}
body .ps-site-header .ps-site-brand img { display: block; flex: 0 0 64px; width: 64px; height: 64px; object-fit: contain; border-radius: 0; background: transparent; filter: none; }
body .ps-site-brand strong { display: block; color: #341357; font: 400 22px/1.2 Georgia, serif; letter-spacing: 0; }
body .ps-site-brand small { display: block; max-width: 250px; margin-top: 5px; color: #5e526a; font: 12px/1.5 Arial, Helvetica, sans-serif; letter-spacing: 0; text-transform: none; }
body .ps-site-header .ps-site-nav {
  position: static; display: flex; flex-wrap: wrap; flex: 0 1 auto;
  align-items: center; justify-content: flex-start; flex-direction: row;
  width: auto; max-width: 100%; gap: 4px; margin: 0; padding: 0; background: transparent;
}
body .ps-site-header .ps-site-nav a {
  display: inline-flex; align-items: center; justify-content: center;
  width: auto; min-height: 44px; padding: 10px 12px; margin: 0;
  color: #45235e; background: transparent; border: 1px solid transparent; border-radius: 8px;
  font: 700 15px/1.3 Arial, Helvetica, sans-serif; letter-spacing: 0; text-align: center;
  text-decoration: none; text-transform: none; white-space: normal; opacity: 1;
}
body .ps-site-header .ps-site-nav a:hover, body .ps-site-header .ps-site-nav a[aria-current] { background: #eee4f6; border-color: #d8c5e6; color: #341357; }
body .ps-site-header .ps-site-nav a:last-child { background: #542184; color: #fff; border-color: #542184; }
body .ps-site-header .ps-site-nav a:last-child:hover { background: #341357; }
.ps-public-page .ps-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 18px clamp(20px, 5vw, 80px); margin: 0; color: #65566d; background: #f7f2fa; font: 15px/1.5 Arial, Helvetica, sans-serif; }
.ps-public-page .ps-breadcrumb a { display: inline-flex; align-items: center; min-height: 32px; color: #542184; text-decoration: underline; text-underline-offset: 3px; }

body .ps-site-footer {
  position: static; display: block; width: 100%; max-width: none; margin: 0;
  padding: 32px clamp(20px, 5vw, 80px); background: #2d123f; color: #f3edf7;
  border: 0; font: 15px/1.65 Arial, Helvetica, sans-serif; text-align: left;
}
body .ps-site-footer .ps-footer-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 0; padding: 0; }
body .ps-site-footer .ps-footer-heading strong { color: #fff; font: 400 24px/1.3 Georgia, serif; }
body .ps-site-footer p { max-width: 100%; margin: 12px 0; color: #f3edf7; font: inherit; }
body .ps-site-footer .ps-footer-registration { font-size: 14px; line-height: 1.7; color: #e6d9ef; }
body .ps-site-footer .ps-footer-links { position: static; display: flex; flex-wrap: wrap; flex-direction: row; gap: 6px 24px; width: auto; margin: 18px 0; padding: 12px 0; border-top: 1px solid #745887; border-bottom: 1px solid #745887; background: transparent; }
body .ps-site-footer a { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 0; color: #fff; border: 0; font: inherit; text-decoration: underline; text-underline-offset: 4px; }
body .ps-site-footer a:hover { color: #fff0bc; }
.ps-public-page .ps-publication-note { max-width: 78ch; margin: 0 0 24px; font-size: 16px; line-height: 1.65; color: #55465f; }

/* Improve the homepage's reading rhythm without changing its visual identity. */
.ps-home main > .hero { min-height: 0; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); gap: clamp(28px, 4vw, 60px); padding-top: clamp(40px, 6vw, 80px); padding-bottom: 60px; }
.ps-home .hero h1 { font-size: clamp(44px, 5.6vw, 82px); line-height: 1.05; }
.ps-home .hero-copy, .ps-home .hero-visual { min-width: 0; }
.ps-home .hero-copy > p:not(.kicker) { max-width: 65ch; line-height: 1.7; }
.ps-home .hero-visual { align-self: center; }
.ps-home .look-launch-card { min-width: 0; max-width: 100%; }
.ps-home .hero-foot { position: static; grid-column: 1 / -1; width: auto; margin: 16px 0 0; }
.ps-home .hero .actions { flex-wrap: wrap; }
.ps-home .membership-home-heading h2 { max-width: 20ch; }

/* Keep all four domain names available on small screens. */
.ps-look .tool-confirmation { scroll-margin-top: 24px; border-radius: 12px; }
.ps-look .tool-confirmation > p { max-width: 82ch; font-size: 17px; line-height: 1.7; }
.ps-look .tool-confirmation label { padding: 12px; border-radius: 8px; background: #eee4f6; }
.ps-look .tool-confirmation input { min-width: 22px; min-height: 22px; }
.ps-look .progress { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; }
.ps-look .progress b { float: none; }
.ps-look .progress i { grid-column: 1 / -1; width: 100%; overflow: hidden; }
.ps-look .lens-nav button { opacity: 1; }
.ps-look .lens-panel:focus-visible { outline: 3px solid #542184; outline-offset: 5px; }
.ps-look :is(input, textarea, button):disabled { cursor: not-allowed; }
.ps-look .look-jump { flex-wrap: wrap; white-space: normal; }
.ps-look .look-jump a { min-height: 44px; display: inline-flex; align-items: center; }

@media (max-width: 1120px) {
  body .ps-site-header { align-items: flex-start; flex-direction: column; gap: 12px; }
  body .ps-site-header .ps-site-nav { width: 100%; }
}
@media (max-width: 850px) {
  .ps-home main > .hero { grid-template-columns: minmax(0, 1fr); }
  .ps-home .hero-visual { width: 100%; max-width: 560px; margin: 0 auto; }
}
@media (max-width: 620px) {
  body .ps-site-header { min-height: 0; padding: 14px 18px; }
  body .ps-site-header .ps-site-brand img { flex-basis: 54px; width: 54px; height: 54px; }
  body .ps-site-brand strong { font-size: 21px; }
  body .ps-site-brand small { font-size: 12px; }
  body .ps-site-header .ps-site-nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; }
  body .ps-site-header .ps-site-nav a { min-width: 0; padding: 10px 5px; font-size: 14px; border-color: #e4d9eb; }
  .ps-home main > .hero { padding-left: 20px; padding-right: 20px; }
  .ps-home .hero h1 { font-size: clamp(40px, 10vw, 56px); }
  .ps-home .hero .actions > a { max-width: 100%; }
  .ps-public-page :is(h1, h2, h3, p, a) { overflow-wrap: break-word; }
  .ps-look .workspace aside { position: static; padding: 20px; }
  .ps-look .lens-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .ps-look .lens-nav button { display: flex; align-items: center; justify-content: flex-start; gap: 8px; min-height: 78px; padding: 12px 10px; text-align: left; }
  .ps-look .lens-nav button b { flex: 0 0 auto; }
  .ps-look .lens-nav button span { display: block; min-width: 0; font-size: 14px; line-height: 1.35; }
  .ps-look .progress { display: grid; margin-top: 16px; }
  .ps-look .tool-confirmation { margin: 24px 5vw; padding: 20px; }
  .ps-look .tool-confirmation label { font-size: 16px; }
  body .ps-site-footer .ps-footer-links { gap: 4px 20px; }
}
@media (max-width: 360px) {
  body .ps-site-header .ps-site-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body .ps-site-brand strong { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  .ps-public-page *, .ps-public-page *::before, .ps-public-page *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .ps-public-page .ps-site-header, .ps-public-page .ps-site-footer, .ps-public-page .ps-breadcrumb { display: none !important; }
  .ps-look > :not(main), .ps-look main > :not(.summary), .ps-look .summary > div:nth-child(2) { display: none !important; }
  .ps-look main, .ps-look .summary { display: block; width: 100%; max-width: none; margin: 0; padding: 0; background: #fff; color: #000; }
  .ps-look .summary > div:first-child > p, .ps-look .summary > div:first-child .eyebrow { display: none; }
  .ps-look .summary h2 { font: 700 20pt/1.2 Georgia, serif; color: #000; }
  .ps-look .summary-output { display: block; margin: 16px 0 0; padding: 0; border: 0; box-shadow: none; }
  .ps-look .summary-output article { margin: 0 0 16px; padding: 0; border: 0; background: #fff; }
  .ps-look .summary-output h3 { break-after: avoid; color: #000; }
  .ps-look .summary-output p { white-space: pre-wrap; overflow-wrap: anywhere; color: #000; font-size: 11pt; line-height: 1.5; }
  .ps-look .summary::after { content: "LOOK Safeguarding Framework® · PS Safeguarding Ltd · Draft for professional review"; display: block; margin-top: 20px; border-top: 1px solid #777; padding-top: 10px; color: #000; font-size: 10pt; }
}

/* Audited mobile family navigation width. */
@media (max-width:620px) { body .ps-site-header .ps-site-nav a.ps-family-nav { grid-column:span 2; } }

.ps-resource-downloads { display:flex; flex-direction:column; align-items:flex-start; gap:8px; min-width:0; }
.ps-reading-link { font-size:15px; line-height:1.45; text-decoration:underline; text-underline-offset:3px; }
