/* Developed by Science & Marketing
 * Project: AlejandroCobo.com | Module: Visual foundations (F5 reconstructed, F22)
 * Version: 0.17.17-alpha | Date: 2026-10-22
 * Reconstructed from F5 technical report, not byte-equivalent to the missing original.
 */
:root{--ac-radius-sm:8px;--ac-radius-md:14px;--ac-radius-lg:22px;--ac-focus-color:#075b8c;--ac-tap-target:44px;--ac-space-1:4px;--ac-space-2:8px;--ac-space-3:12px;--ac-space-4:16px;--ac-space-6:24px;--ac-space-8:32px}
:where(a,button,input,select,textarea,[role=button],[tabindex]):focus-visible{outline:3px solid var(--ac-focus-color);outline-offset:3px}
:where(input,select,textarea)[aria-invalid=true]{outline:2px solid #b42318;outline-offset:1px}
:where(.topbar__menu,.sidebar-close,.side-link){min-height:var(--ac-tap-target)}
:where(img,svg,video,iframe){max-width:100%}
/* F15: accessible text colours on light surfaces (dark cards override specifically). */
.text-link{color:#075b8c}
.work-proof-card__meta,.media-kit-resources-empty p{color:#566a7d}
.admin-skip-link{position:absolute!important;left:1rem;top:0;transform:translateY(-150%);z-index:10000}
.admin-skip-link:focus-visible{transform:none;background:#fff;color:#071f38;padding:.75rem 1rem}
.sidebar .nav-group{font-weight:600;line-height:1.5}
@media(max-width:480px){:where(.workspace,.page-head,.admin-main){min-width:0}:where(.page-head){overflow-wrap:anywhere}}
@media(prefers-reduced-motion:reduce){:where(*, *::before, *::after){scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}
@media(forced-colors:active){:where(a,button,input,select,textarea):focus-visible{outline:3px solid Highlight;outline-offset:3px}}
/* F25 WCAG 2.2: preserve reflow when text is enlarged to 200%,
   without changing desktop type scales or introducing horizontal clipping. */
:where(.cms-public__hero h1,.projects-hero h1,.project-detail-hero h1,.about-hero__copy h1,.agenda-hero h1,.thought-node,.ecosystem-card h3){
  overflow-wrap:anywhere!important;
  max-width:100%;
}
.admin-tooltip-trigger:focus-visible,.media-tooltip-trigger:focus-visible{
  outline:3px solid var(--ac-focus-color);
  outline-offset:3px;
  box-shadow:none;
}
@media(max-width:600px){
  .about-photo__frame{inset:18px 12px -12px 12px}
  .profile-page--v016 :is(h2,h3,.eyebrow){overflow-wrap:anywhere!important}
}
@media(forced-colors:active){
  .admin-tooltip-trigger:focus-visible,.media-tooltip-trigger:focus-visible{
    outline:3px solid Highlight;
    outline-offset:3px;
  }
}

/* F25 / alpha.8: discoverable keyboard ordering and legible small admin labels. */
.sortable-keyboard-instructions{margin:.5rem 0 .75rem;color:#526679;font-size:.8125rem;line-height:1.5;overflow-wrap:anywhere}
/* Light-surface metadata must reach 4.5:1 at ordinary text sizes. */
.kpi__label,.contact-form-nav__list small,.contact-config-section__head p,.contact-module-card__head small{color:#526679}
@media(forced-colors:active){.sortable-keyboard-instructions{color:CanvasText}}
