/* Agentic work: who I build with, and the tools on my dock. */
.agentic { position: relative; background: var(--bg); padding: 96px 0 40px; }
.agentic-inner { width: min(100% - 64px, 1445px); margin: 0 auto; display: grid; grid-template-columns: 180px minmax(0, 1145px); gap: clamp(32px, 5vw, 120px); justify-content: center; }
.agentic-label { margin: 0; padding: 7px 0 0 16px; font-size: 14px; color: var(--faint); }
.agentic header { display: flex; flex-wrap: wrap; justify-content: flex-start; align-items: center; gap: 12px 20px; margin-bottom: 14px; }
.agentic h2 { margin: 0; font-family: var(--head-family); font-style: var(--head-style); font-weight: var(--head-weight); color: var(--head-color);
  font-size: clamp(26px, 2.3vw, 36px); line-height: 1.15; letter-spacing: -.01em; }
.agentic header span { font-size: 14px; color: var(--soft); white-space: nowrap; }
.agentic .lede { margin: 0 0 40px; max-width: 760px; font: var(--text-font); color: var(--soft); }
.toolsets { display: flex; flex-wrap: wrap; gap: 28px 64px; }
.toolsets h3 { margin: 0 0 12px; font: 500 14px Inter, system-ui, sans-serif; color: var(--faint); }
.tools { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 18px; }
.tools li { display: grid; justify-items: center; gap: 8px; width: 64px; }
.tool-ic { width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center; overflow: hidden; background: #fff;
  box-shadow: 0 0 0 1px rgba(0,0,0,.06), 0 4px 12px -6px rgba(40,35,25,.25); transition: transform .2s var(--ease-out); }
.tool-ic img { width: 28px; height: 28px; display: block; }
.tool-ic img[src$=".webp"] { width: 100%; height: 100%; } /* app icons fill their tile */
.tool-name { font: 400 12.5px/1.2 Inter, system-ui, sans-serif; color: var(--soft); text-align: center; white-space: nowrap; }
@media (hover: hover) and (pointer: fine) { .tools li:hover .tool-ic { transform: translateY(-3px); } }
.agentic-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 40px; font: 500 15px Inter, system-ui, sans-serif; color: var(--ink);
  text-decoration: none; border: 1px solid #dcdbd5; background: #fff; border-radius: 999px; padding: 11px 18px; transition: transform .16s var(--ease-out), background .2s; }
.agentic-more span { transition: transform .2s var(--ease-out); }
.agentic-more:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .agentic-more:hover { background: #f8f8f6; } .agentic-more:hover span { transform: translateX(3px); } }
@media (max-width: 1079px) { .agentic-inner { grid-template-columns: minmax(0, 1fr); } .agentic-label { display: none; } }
@media (max-width: 700px) {
  .agentic { padding: 20px 0 100px; }
  .agentic-inner { width: calc(100% - 32px); }
  .agentic header { flex-direction: column; gap: 6px; }
  .tools { gap: 14px 10px; }
}
@media (prefers-reduced-motion: reduce) { .tool-ic, .agentic-more, .agentic-more span { transition: none; } }

/* Footer (after Arcus): links on the page itself, Nijmegen drawn in pencil bleeding off the bottom. */
.site-foot { position: relative; background: var(--bg); padding: 120px 0 0; overflow: hidden; }
.foot-card { position: relative; }
.foot-top { position: relative; z-index: 1; width: min(100% - 64px, 1445px); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-top: 48px;
  border-top: 1px solid rgba(0,0,0,.07); }
.foot-mark { display: inline-block; font: 500 15px/1 Inter, system-ui, sans-serif; letter-spacing: .02em; color: var(--ink); text-decoration: none;
  border: 1px solid rgba(0,0,0,.18); padding: 10px 12px; }
.foot-brand p { margin: 28px 0 0; max-width: 320px; font: var(--text-font); font-size: 18px; line-height: 1.5; color: var(--soft); }
.foot-brand small { display: block; margin-top: 28px; font: 400 13.5px/1.55 Inter, system-ui, sans-serif; color: var(--soft); }
.foot-col { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.foot-col h2 { margin: 0 0 6px; font: 400 16px Inter, system-ui, sans-serif; color: var(--faint); }
.foot-col a { font: 400 15.5px/1.5 Inter, system-ui, sans-serif; color: var(--ink); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .25s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .foot-col a:hover { background-size: 100% 1px; } }
.foot-skyline { display: block; width: 100%; max-width: 1800px; height: auto; margin: -60px auto 0; mix-blend-mode: multiply;
  -webkit-mask-image: linear-gradient(transparent 0%, #000 30%), linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(transparent 0%, #000 30%), linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-composite: intersect; }
@media (max-width: 900px) {
  .foot-top { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .foot-skyline { margin-top: 0; }
}
@media (max-width: 700px) {
  .site-foot { padding-top: 72px; }
  .foot-top { width: calc(100% - 32px); gap: 28px 20px; padding-top: 32px; }
}

/* Section index: on desktop it stays pinned from the logo row through About (work.js sets .is-fixed and --nav-left). */
.work-nav .nav-gap { margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(0,0,0,.07); }
@media (min-width: 1080px) {
  .work-nav.is-fixed { position: fixed; top: 120px; left: var(--nav-left, 32px); width: 180px; z-index: 20;
    transition: opacity .25s var(--ease-out); }
  .work-nav.is-fixed.is-out { opacity: 0; pointer-events: none; }
  .band-label, .agentic-label, .play-label, .about-label { visibility: hidden; } /* the pinned index names these sections */
}

/* Credentials next to the heading: clear, but quiet. */
.agentic header .badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; background: #fff;
  box-shadow: 0 0 0 1px rgba(0,0,0,.08), 0 4px 12px -8px rgba(40,35,25,.3); font: 500 13.5px/1 Inter, system-ui, sans-serif; color: var(--ink); white-space: nowrap; }
.badge img { width: 22px; height: 22px; border-radius: 6px; display: block; }
.agentic header .badge { color: var(--ink); font-size: 13.5px; }

/* Mobile pass: less dead space after Agentic, 20px gutters, bigger footer tap targets. */
@media (max-width: 700px) {
  .agentic { padding: 20px 0 16px; }
  .agentic-inner, .foot-top { width: calc(100% - 40px); }
  .agentic .lede { font-size: 17px; line-height: 1.55; }
  .foot-col { gap: 0; }
  .foot-col a { padding: 10px 0; }
  .foot-col h2 { margin-bottom: 2px; }
}
