/* W2 identity: sampled from the supplied transparent Logo 7 artwork.
   Shared by every route; retain the original image bytes and layout system. */
:root {
  --orange: #ff751f;
  --rust: #a6410c;
  --ink: #202326;
  --muted: #545b60;
  --paper: #ffe9da;
  --line: #e7c6af;
  --brand-wash: #ffffff;
  --brand-panel: #ffecdf;
  background: var(--brand-wash);
}
body { background: var(--brand-wash); }
::selection { background: #ffc49e; color: var(--ink); }
.header { background: #ffffff; border-bottom: 3px solid var(--orange); }
.header-inner { min-height: 106px; gap: 32px; }
.brand-caption { display: none; }
/* The source PNG includes transparent margins. This viewport frames its
   actual 2125 × 1051 artwork without altering or distorting the original. */
.header .logo, .footer .logo {
  width: 180px; height: auto; aspect-ratio: 2125 / 1051;
  flex: 0 0 180px; overflow: hidden;
}
.header .logo img, .footer .logo img {
  width: 141.1765%; height: auto; max-width: none;
  left: -12.9882%; top: -17.412%; object-fit: contain;
}
.desktop-nav { gap: 25px; }
.desktop-nav > a, .nav-details > summary { font-size: .9375rem; }
.desktop-nav a[aria-current], .nav-details.current > summary {
  text-decoration: underline; text-decoration-color: var(--orange);
  text-decoration-thickness: 3px; text-underline-offset: 8px;
}
.nav-panel, .mobile-nav:not([hidden]) { background: #fff0e5; }
.nav-panel a, .mobile-nav a { border-color: var(--line); }
.nav-panel a:hover, .btn-line:hover { background: #ffdfc7; }
.menu-toggle { border-color: #bb7a4d; background: #ffdfc7; font-weight: 700; }
.btn-orange:hover, .desktop-nav .header-contact:hover { background: #ff964f; }
.btn-line { border-color: #c48960; }
.kicker, .article-card .kicker { color: var(--rust); }
.kicker.light { color: #ffb681; }
.hero { background: #202326; }
.hero .kicker, .footer h3 { color: #ffb681; }
.hero-context { border-color: #8b593b; }
.sector-strip { background: #ffe8d6; border-color: #e9b38c; color: #34393d; }
.sector-inner > span:first-child { color: #6d391e; }
.pathways { background: #ffffff; }
.pathways::before { display: none; }
.pathway { background: #ffe2cc; border-color: #e9bc9b; border-top: 4px solid var(--orange); box-shadow: none; }
.pathway.dark { background: #292d30; border-color: #292d30; border-top-color: var(--orange); }
.services-section { background: #f5f6f6; }
.service-rows { border-color: #d7aa8a; }
.service-row { border-color: #e2bea3; }
.service-row .num { color: var(--rust); font-weight: 700; }
.round-arrow { border-color: #c78e67; }
.team-feature { background: #ffffff; border-block: 1px solid #e5e7e8; }
.team-feature .portrait-pair img, .profile-portrait img { border-bottom: 5px solid var(--orange); }
.knowledge-section, .knowledge-directory { background: #ffffff; }
.article-card, .knowledge-section .article-card, .knowledge-directory .article-card {
  background: #ffe2cd; border: 1px solid #e6b797; border-top: 4px solid var(--orange);
  box-shadow: 0 6px 20px #71390708;
}
.article-card:hover, .article-card:focus-within { border-color: #bd632c; box-shadow: 0 10px 25px #71390712; }
.article-card .kicker { min-height: 0; }
/* A repeating charcoal card creates contrast within orange tile grids.
   White section backgrounds keep the cards visually separate. */
.article-card:nth-child(3n + 2) { background: #292d30; border-color: #292d30; border-top-color: var(--orange); color: #ffffff; }
.article-card:nth-child(3n + 2) .kicker { color: #ffb681; }
.article-card:nth-child(3n + 2) p { color: #e0e3e5; }
.article-card:nth-child(3n + 2) .text-link:hover { color: #ffb681; }
.article-card:nth-child(3n + 2):hover, .article-card:nth-child(3n + 2):focus-within { border-color: var(--orange); }

.page-intro, .knowledge-page .page-intro {
  background: linear-gradient(110deg, #ffe8d6 0%, #fff5ed 65%, #ffe5d0 100%);
  border-bottom: 1px solid #e8b58e;
}
.page-intro::before { display: none; }
.page-intro h1 { max-width: 990px; }
.page-intro .lead, .breadcrumbs { color: #414d54; }
.service-summary { background: #ffe6d3; border: 1px solid #e8be9f; border-top: 4px solid var(--orange); border-radius: 0 0 14px 14px; padding: 27px; }
.service-summary div { border-color: #dcaf8d; }
.service-summary strong { color: #75340f; }
.content-layout { gap: clamp(35px, 5vw, 75px); }
.prose h2 { padding-left: 18px; border-left: 4px solid var(--orange); }
.prose p, .prose li, .profile p, .profile .prose p { color: #414b51; }
.prose blockquote, .prose th { background: #ffe6d4; }
.prose th, .prose td { border-color: #dfbea6; }
.guide-page .prose > p:first-child { background: #ffe7d5; }
.reading-meta { border-color: var(--line); color: #4e585e; }
.reading-meta > span + span { border-color: var(--line); }
.toc { background: #ffeadb; border: 1px solid #e5bc9f; border-top: 4px solid var(--orange); border-radius: 12px; padding: 22px; }
.toc ul, .toc li { border-color: #dbbca5; }
.toc a { color: #4d5154; }
.toc .aside-cta { margin: 0 -10px -10px; }
.aside-cta { background: #292d30; border-top: 3px solid var(--orange); }
.related { background: #ffffff; border-top: 1px solid #ebbd9b; }
.related .article-card:not(:nth-child(3n + 2)) { background: #ffe2cd; }
.reference-panel { background: #ffecdf; border-color: #e5bc9e; border-top: 4px solid var(--orange); }
.reference-panel li { border-color: #dfbfa8; }
.profile { padding: 42px; margin-bottom: 34px; background: #fff1e7; border: 1px solid #e6bea1; border-left: 5px solid var(--orange); border-radius: 16px; gap: 50px; }
.profile:first-child { padding-top: 42px; }
.profile:last-child { padding-bottom: 42px; margin-bottom: 0; border: 1px solid #e6bea1; border-left: 5px solid var(--orange); }
.profile .prose h2 { font-size: 1.8rem; }
.expertise span { background: #ffdabf; border-color: #dca982; color: #59311b; }
.scope-item { background: #ffecdf; padding: 25px; border-radius: 12px; }
.contact-note, .notice, .empty-state, .knowledge-directory .empty-state { background: #ffe1ca; border-color: #dfae89; }
.contact-method { border-color: #d6a989; }
.faq-list details { border-color: #d9b599; }
.field input, .field select { background: #fffaf6; border-color: #bd8a65; }
.contact-cta { background: var(--orange); border-top: 1px solid #e75d0c; }
.footer { border-top: 6px solid #d75b0d; }
.footer-grid { grid-template-columns: 1.25fr 1fr 1fr 1.15fr; gap: 35px; }
.footer .logo { width: 260px; flex-basis: 260px; max-width: 100%; aspect-ratio: 260 / 142; background: #fff0e5; border-radius: 10px; margin-bottom: 22px; }
.footer .logo img { width: 128%; left: -7.18%; top: -5.89%; }
.footer p { max-width: 270px; }
.footer-bottom { border-color: #715039; }
/* Learning retains recognisable Help Me GxP artwork within W2's warm shell. */
.learning-page #learning-resources, .learning-topics, .gxp-learning-section { background: #ffffff; border-color: #e5bea2; }
.learning-resource, .gxp-video-card { background: #fff0e4; border-color: #dfb693; }
.learning-boundary, .resource-action { border-color: #dfbea6; }
@media (max-width: 1200px) {
  .header-inner { gap: 24px; }
  .header .logo { width: 174px; flex-basis: 174px; }
  .desktop-nav { gap: 17px; }
  .desktop-nav > a, .nav-details > summary { font-size: .8125rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 35px 60px; }
}
@media (max-width: 1100px) {
  .header-inner { min-height: 102px; }
  .brand-caption { display: block; font-size: .8125rem; color: #704225; border-color: #daa57c; }
}
@media (max-width: 900px) {
  .profile { padding: 28px; gap: 28px; }
  .profile:first-child { padding-top: 28px; }
  .profile:last-child { padding-bottom: 28px; }
  .toc, .guide-body .toc { border: 1px solid #e5bc9f; border-top: 4px solid var(--orange); background: #ffe5d1; }
  .service-summary { padding: 24px; }
}
@media (max-width: 600px) {
  .header-inner { min-height: 96px; gap: 12px; }
  .header .logo { width: 160px; flex-basis: 160px; height: auto; overflow: hidden; }
  .brand-caption { display: none; }
  .profile, .profile:first-child, .profile:last-child { padding: 24px 20px; }
  .profile { gap: 25px; }
  .profile h2 { font-size: 2rem; }
  .profile .prose h2 { font-size: 1.6rem; }
  .portrait-pair figure { background: #fff0e4; border-color: #e1b695; }
  .service-summary { padding: 23px; }
  .footer-grid { gap: 30px 22px; }
  .footer-grid > div:first-child { display: block; }
  .footer .logo { width: 260px; height: auto; margin-bottom: 18px; }
  .footer-grid > div:first-child > p { max-width: 340px; }
  html { scroll-padding-top: 120px; }
}
@media (max-width: 360px) {
  .header .logo { width: 150px; flex-basis: 150px; }
  .header-inner { min-height: 90px; }
  .profile, .profile:first-child, .profile:last-child { padding-inline: 16px; }
}
