[hidden] { display: none !important; }
#mobile-navigation { padding: 12px 24px 24px; border-top: 1px solid #eceeef; background: #fff; max-height: calc(100dvh - 72px); overflow-y: auto; }
#mobile-navigation a { display: block; padding: 12px 0; color: #4b4d52; font-size: 14px; font-weight: 500; }
#mobile-navigation a[aria-current="page"] { color: #111216; font-weight: 600; }
#mobile-navigation .mobile-call { margin-top: 10px; padding: 14px 20px; border-radius: 2px; text-align: center; color: #111216; background: var(--color-orange); font-weight: 600; }
@media (min-width: 80rem) { #mobile-navigation { display: none !important; } }
[data-faq-answer] { grid-template-rows: 0fr; }
[data-faq-answer].is-open { grid-template-rows: 1fr; padding-bottom: 24px; }
[data-faq-toggle][aria-expanded="true"] svg { transform: rotate(180deg); }
[data-faq-category] { background: #fff; color: var(--color-grey); border-color: var(--color-surface); }
[data-faq-category][aria-pressed="true"] { color: #fff; background: var(--color-dark); border-color: var(--color-dark); }
.preview-form-note { padding: 10px 12px; border-left: 3px solid var(--color-orange); background: #fff7ef; color: #59422d; font-size: 12px; line-height: 1.6; }
.preview-form-message { padding: 16px; border: 1px solid #e9bd90; background: #fff7ef; border-radius: 2px; color: #453321; font-size: 14px; line-height: 1.65; }
form [aria-invalid="true"] { border-color: #b32727 !important; }
.clone-header-scrolled { border-bottom-color: #e8e9eb; box-shadow: 0 2px 10px #00000005; }
:target { scroll-margin-top: 88px; }

/* Each panel uses the exact approved PNG; the artwork is never redrawn. */
[data-pillar-art] {
  display: block;
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  flex-shrink: 0;
}
[data-pillar-art] > img {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 300%;
  max-width: none;
  height: auto;
}
[data-pillar-art="amber"] > img { left: -100%; }
[data-pillar-art="green"] > img { left: -200%; }

/* Keep every complete cube, single block and containing card stationary. */
[data-static-3d],
[data-static-3d-container] {
  animation: none !important;
  transform: none !important;
  translate: none !important;
  rotate: none !important;
  scale: none !important;
}
[data-static-3d-container] { opacity: 1 !important; }

/* Correct the original overview's minimum-content overflow on phones. */
@media (max-width: 639px) {
  [data-pillar-list] { min-width: 0; }
  [data-pillar-card] > .min-w-0 > .flex { flex-wrap: wrap; row-gap: 0.25rem; }
}
@media (max-width: 399px) {
  [data-pillar-card] { padding: 1rem; gap: 0.75rem; }
}
/* Keep long headings and complete capability labels readable on small phones. */
@media (max-width: 359px) {
  main h1 { font-size: 2rem !important; letter-spacing: -0.015em; }
  main h2 { font-size: 1.625rem; letter-spacing: -0.01em; }
  #psychological-safety ul.grid-cols-2,
  #mental-fitness ul.grid-cols-2,
  #suicide-prevention ul.grid-cols-2 { grid-template-columns: minmax(0, 1fr); }
}
