/* Pintara v3.2.8 theme system and developer page; no dependency on authenticated layout */
:root{--p328-text:#f4f8ff;--p328-muted:#bfcee1;--p328-bg:#0d1626;--p328-card:#17283d;--p328-stroke:#38516e;--p328-accent:#79b8ff}
html[data-theme="light"]{color-scheme:light;--p328-text:#1b2d45;--p328-muted:#52677f;--p328-bg:#f4f8fe;--p328-card:#fff;--p328-stroke:#d3e1f0;--p328-accent:#2361b6}
html[data-theme="dark"]{color-scheme:dark}
.p328-theme-toggle{border:1px solid var(--p328-stroke);border-radius:13px;min-height:42px;padding:7px 12px;display:inline-flex;align-items:center;gap:7px;background:var(--p328-card);color:var(--p328-text);font-weight:750;font-family:inherit;cursor:pointer;white-space:nowrap}
.p328-theme-toggle:focus-visible{outline:3px solid #5f9fff;outline-offset:3px}
.p328-developer-teaser{background:#112136}.p328-developer-grid{display:grid;grid-template-columns:220px minmax(0,1fr);align-items:center;gap:45px}.p328-developer-grid h2{font-size:clamp(27px,4vw,42px);line-height:1.2;margin:12px 0}.p328-developer-grid p{color:#b7cce3;line-height:1.8}.p328-portrait{width:min(100%,330px);aspect-ratio:4/5;position:relative;overflow:hidden;border-radius:30px;border:1px solid #86a5c9;background:linear-gradient(145deg,#244e88,#172d4a);display:grid;place-items:center;box-shadow:0 22px 54px #06101c50}.p328-portrait.small{width:220px;border-radius:25px}.p328-portrait img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center top;z-index:2}.p328-portrait-initials{font-size:clamp(44px,7vw,84px);font-weight:900;color:#dfedff}
/* Light palette overrides for legacy v3.2.7 cards using hard-coded colors */
html[data-theme="light"] body{background:#f4f8fe;color:#1a2c43}
html[data-theme="light"] .topbar{background:#ffffffee;border-color:#d5e2f1}
html[data-theme="light"] .logo strong,html[data-theme="light"] .quiet,html[data-theme="light"] .toplinks,html[data-theme="light"] .footer{color:#1a3554}
html[data-theme="light"] .logo small,html[data-theme="light"] .footer-inner small{color:#60748d}
html[data-theme="light"] .hero{background:radial-gradient(ellipse at 75% 20%,#d9efff,transparent 60%),linear-gradient(145deg,#f7fbff,#e9f4ff)}
html[data-theme="light"] .hero .lead,html[data-theme="light"] .section-head p,html[data-theme="light"] .experience-grid p,html[data-theme="light"] .family-grid p{color:#4f6580}
html[data-theme="light"] .hero-checks,html[data-theme="light"] .family-bullets{color:#1d7466}
html[data-theme="light"] .pill{background:#e4efff;color:#164d88;border-color:#b9d6f5}
html[data-theme="light"] .secondary{background:#eff6ff;color:#1b4777;border-color:#bad0e9}
html[data-theme="light"] .strip,html[data-theme="light"] .features-section,html[data-theme="light"] .how-section{background:#eef5fc;border-color:#d4e3f1}
html[data-theme="light"] .strip-inner,html[data-theme="light"] .footer nav{color:#365672}
html[data-theme="light"] .experience-section,html[data-theme="light"] .family-section,html[data-theme="light"] .closing,html[data-theme="light"] .p328-developer-teaser{background:#f7fbff}
html[data-theme="light"] .feature,html[data-theme="light"] .steps article,html[data-theme="light"] .family-illustration,html[data-theme="light"] .focus-demo{background:#fff;border-color:#d5e2f0;box-shadow:0 12px 32px #1f4f7e0c}
html[data-theme="light"] .feature.featured{background:linear-gradient(125deg,#f2f7ff,#e8f3ff)}
html[data-theme="light"] .feature p,html[data-theme="light"] .steps p,html[data-theme="light"] .p328-developer-grid p{color:#587089}
html[data-theme="light"] .experience-points small,html[data-theme="light"] .kicker{color:#3269a5}
html[data-theme="light"] .family-metric,html[data-theme="light"] .family-rows>div{background:#edf5fd}
html[data-theme="light"] .family-top span:last-child,html[data-theme="light"] .family-metric span,html[data-theme="light"] .family-rows small{color:#58708b}
html[data-theme="light"] .note{background:#eaf4ff;color:#3b5b7c;border-color:#c6dcef}
html[data-theme="light"] .closing-card{background:linear-gradient(125deg,#e0edff,#d9f4ef);color:#143a62;border-color:#b5d2ec}
html[data-theme="light"] .closing-card>span,html[data-theme="light"] .closing-card p{color:#366584}
html[data-theme="light"] .closing-card .light{background:#2674cb;color:white}
html[data-theme="light"] .footer{border-color:#d3e2ee}
/* Standalone developer profile */
.p328-profile-page{margin:0;background:var(--p328-bg);color:var(--p328-text);font:16px/1.7 system-ui,-apple-system,'Segoe UI',sans-serif;-webkit-font-smoothing:antialiased}.p328-profile-page *{box-sizing:border-box}.p328-profile-page a{color:inherit;text-decoration:none}.p328-profile-wrap{width:min(1100px,calc(100% - 40px));margin:auto}.p328-profile-nav{border-bottom:1px solid var(--p328-stroke);background:var(--p328-bg);position:sticky;top:0;z-index:10}.p328-nav-inner{height:76px;display:flex;align-items:center;justify-content:space-between;gap:12px}.p328-brand{display:flex;align-items:center;gap:12px;font-size:23px}.p328-brand img{width:48px;height:48px;object-fit:contain;background:white;border-radius:12px;padding:3px}.p328-profile-nav nav{display:flex;align-items:center;gap:14px}.p328-profile-nav nav>a{font-size:14px;font-weight:750}.p328-profile-main{padding:75px 0 80px}.p328-profile-hero{display:grid;grid-template-columns:300px minmax(0,1fr);gap:60px;align-items:center;margin-bottom:54px}.p328-eyebrow{font-size:11px;letter-spacing:1.6px;font-weight:900;color:var(--p328-accent)}.p328-profile-copy h1{font-size:clamp(32px,4.4vw,55px);letter-spacing:-1.5px;line-height:1.14;margin:13px 0}.p328-profile-copy h1 span{display:block;color:var(--p328-accent)}.p328-role{font-size:18px;font-weight:750;color:var(--p328-accent)}.p328-profile-copy p,.p328-profile-panel p{color:var(--p328-muted)}.p328-profile-tags{display:flex;flex-wrap:wrap;gap:8px}.p328-profile-tags span{padding:7px 12px;background:var(--p328-card);border:1px solid var(--p328-stroke);border-radius:999px;font-weight:650;font-size:12px}.p328-profile-sections{display:grid;grid-template-columns:1fr 1fr;gap:18px}.p328-profile-panel{padding:28px;border:1px solid var(--p328-stroke);background:var(--p328-card);border-radius:24px}.p328-profile-panel h2{margin:8px 0;font-size:24px}.p328-profile-cta{margin-top:24px;border-radius:22px;padding:30px;background:var(--p328-card);border:1px solid var(--p328-stroke);display:flex;align-items:center;justify-content:space-between;gap:20px}.p328-profile-cta h2{font-size:23px;line-height:1.3;margin:8px 0 0}.p328-cta-button{display:inline-flex;align-items:center;justify-content:center;background:#327cda;color:#fff!important;padding:13px 17px;border-radius:14px;min-height:47px;font-weight:850;white-space:nowrap}.p328-profile-footer{text-align:center;padding:27px;color:var(--p328-muted);font-size:12px;border-top:1px solid var(--p328-stroke)}
@media(max-width:850px){.p328-profile-hero{grid-template-columns:230px 1fr;gap:30px}.p328-developer-grid{gap:25px}}@media(max-width:650px){.p328-toggle-label{display:none}.p328-theme-toggle{min-width:44px;justify-content:center;padding:7px}.p328-profile-wrap{width:calc(100% - 28px)}.p328-nav-inner{height:66px}.p328-profile-nav nav{gap:8px}.p328-profile-nav nav>a{font-size:12px}.p328-profile-hero,.p328-profile-sections,.p328-developer-grid{grid-template-columns:1fr}.p328-profile-hero{gap:25px}.p328-portrait{max-width:240px;margin:auto}.p328-portrait.small{width:150px}.p328-profile-main{padding:45px 0}.p328-profile-cta{flex-direction:column;align-items:start}.p328-cta-button{white-space:normal}.p328-developer-grid{text-align:center}.p328-developer-grid .btn{margin:auto}.p328-developer-grid .p328-portrait{margin:auto}.p328-profile-tags{gap:6px}.p328-profile-tags span{font-size:11px}.top-actions{gap:3px}.top-actions .p328-theme-toggle{min-width:40px;min-height:40px;padding:4px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* 3.2.8a: accessible skip link, hidden until keyboard focus */
a.skip-link {
  position: fixed !important;
  inset: auto auto auto auto !important;
  top: 0 !important;
  left: 14px !important;
  transform: translateY(-160%) !important;
  opacity: 0 !important;
  pointer-events: none !important;
  z-index: 99999 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px;
  padding: 10px 16px !important;
  border-radius: 0 0 12px 12px !important;
  background: #17478e !important;
  color: #fff !important;
  font: 600 14px/1.4 system-ui, sans-serif !important;
  text-decoration: none !important;
  box-shadow: 0 6px 20px #0004;
  transition: none !important;
}
a.skip-link:focus, a.skip-link:focus-visible {
  transform: translateY(0) !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  outline: 3px solid #fbbf24 !important;
  outline-offset: 2px !important;
}
