/* Shared portfolio theme. Load after css/styles.css and before page styles. */
.site-body {
  --text: #fff;
  --muted: #b6b8c6;
  --muted2: #8b8e9f;
  --a: #82a8ff;
  --b: #b06cff;
  --stroke: rgba(166, 174, 207, .18);
  --surface: #0d0b14;
  --surface-deep: #08070d;
  --page-gutter: clamp(22px, 5vw, 72px);
  --container: 1120px;
  background: radial-gradient(900px 600px at 20% 0, rgba(176, 108, 255, .065), transparent 65%), #000;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}
.site-body .container {
  width: min(var(--container), calc(100% - var(--page-gutter) - var(--page-gutter)));
}
.site-body section[id] { scroll-margin-top: 100px; }
.site-body :is(a, button, summary):focus-visible { outline: 2px solid var(--a); outline-offset: 6px; }
.skip-link { position: fixed; top: 12px; left: 22px; z-index: 100; padding: 12px 18px; border-radius: 8px; background: #fff; color: #000; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.site-body .topbar { background: rgba(0, 0, 0, .92); border-color: rgba(255, 255, 255, .09); }
.site-body .topbar__inner { min-height: 82px; padding-block: 16px; gap: 20px; }
.site-body .brand { gap: 12px; flex-shrink: 0; }
.site-body .brand__mark { width: 40px; height: 40px; flex-shrink: 0; }
.site-body .brand__mark img { width: 100%; height: 100%; object-fit: contain; }
.site-body .brand__text { font-size: 13px; font-weight: 500; letter-spacing: -.015em; }
.site-body .nav { gap: 16px; }
.site-body .nav a { padding: 8px 0; border-radius: 0; font-size: 12px; font-weight: 500; transition: color .2s ease; }
.site-body .nav a:hover { background: transparent; color: var(--text); }
.site-body h2 { font-size: clamp(27px, 3vw, 34px); font-weight: 500; letter-spacing: -.045em; line-height: 1.2; }
.site-eyebrow { margin: 0 0 24px; color: var(--a); font: 500 11px/1.5 ui-monospace, monospace; letter-spacing: .13em; text-transform: uppercase; }
.site-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-block: 24px 32px; border-top: 1px solid var(--stroke); color: var(--muted2); font-size: 11px; line-height: 1.6; }
@media (max-width: 560px) {
  .site-body .topbar__inner { min-height: 72px; gap: 12px; }
  .site-body .brand__mark { width: 32px; height: 32px; }
  .site-body .nav { gap: 15px; }
  .site-body .nav a { font-size: 11px; }
  .site-footer { padding-bottom: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .site-body .reveal { opacity: 1; transform: none; }
  .site-body *, .site-body *::before, .site-body *::after { transition: none !important; }
}
