/* PREVIEW ONLY */
#bs-heroline { margin: 0 auto 14px; max-width: 440px; text-align: center; font-size: 17px; line-height: 26px; color: #111; text-wrap: balance; }
#sys { position: relative; z-index: 1; box-sizing: border-box; width: 100%; padding: 96px 24px 24px; display: flex; flex-direction: column; align-items: center; gap: 28px; font-family: Inter, "Inter Placeholder", sans-serif; color: #111; }
#sys .sys-line { margin: 0; max-width: 560px; text-align: center; font-size: 15px; line-height: 24px; color: #444; text-wrap: balance; }
#sys .sys-list { list-style: none; margin: 0; padding: 0; width: 100%; max-width: 960px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
#sys .sys-list li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; padding: 20px 2px; border-top: 1px solid rgba(0, 0, 0, 0.14); }
#sys .sys-list li:nth-last-child(-n+2) { border-bottom: 1px solid rgba(0, 0, 0, 0.14); }
#sys .sys-n { font-size: 13px; color: #777; padding-top: 5px; font-variant-numeric: tabular-nums; }
#sys h3 { margin: 0 0 6px; font-family: "Instrument Serif", "Instrument Serif Placeholder", serif; font-weight: 400; font-size: 24px; line-height: 28px; }
#sys p { margin: 0; font-size: 15px; line-height: 24px; color: #444; text-wrap: pretty; }
@media (max-width: 809.98px) { #sys .sys-list { grid-template-columns: minmax(0, 1fr); } #sys .sys-list li:nth-last-child(2) { border-bottom: 0; } #sys { padding: 72px 20px 16px; } #sys .sys-list li { grid-template-columns: 32px minmax(0, 1fr); gap: 10px; } }


/* PREVIEW ONLY: GitHub calendars fill the section width, so they never look small */
#gh { padding: 128px 24px 96px; gap: 32px; }
#gh .gh-wrap { max-width: 880px; }
#gh .gh-months { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px clamp(14px, 4vw, 48px); width: 100%; }
#gh .gh-months:has(> :nth-child(4)) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
#gh .gh-month span { font-size: clamp(17px, 2.4vw, 26px); line-height: 1.2; margin-bottom: 10px; }
#gh .gh-cal { grid-template-columns: repeat(7, minmax(0, 1fr)) !important; grid-auto-rows: auto !important; gap: clamp(2px, 0.55vw, 6px) !important; }
#gh .gh-cal i { aspect-ratio: 1; border-radius: clamp(2px, 0.5vw, 5px) !important; }
#gh .gh-cap { margin-top: 24px; font-size: 15px; line-height: 22px; gap: 12px; }
@media (max-width: 809.98px) { #gh { padding: 88px 20px 56px; } }

/* PREVIEW ONLY: tools as a two-up grid of four group cards */
#sys .sys-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; width: 100%; max-width: 980px; }
#sys .sys-card { background: rgba(255, 255, 255, 0.55); border-radius: 22px; padding: 26px 26px 10px; box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04), 0 10px 30px rgba(0, 0, 0, 0.06); }
#sys .sys-card h3 { margin: 0 0 8px; font-family: "Instrument Serif", "Instrument Serif Placeholder", serif; font-weight: 400; font-size: 26px; line-height: 30px; color: #111; }
#sys .sys-card dl { margin: 0; }
#sys .sys-row { padding: 12px 0 14px; border-top: 1px solid rgba(0, 0, 0, 0.1); }
#sys .sys-row:first-child { border-top: 0; }
#sys .sys-row dt { font-size: 15px; line-height: 22px; font-weight: 600; color: #111; }
#sys .sys-row dd { margin: 2px 0 0; font-size: 14px; line-height: 21px; color: #555; text-wrap: pretty; }
@media (max-width: 599.98px) { #sys .sys-grid { grid-template-columns: minmax(0, 1fr); } #sys .sys-card { padding: 22px 20px 6px; } }

/* PREVIEW ONLY: option A, an accordion like the FAQ */
#sys .sysA { width: 100%; max-width: 760px; }
#sys .sysA summary > div { display: flex; flex-direction: column; gap: 4px; }
#sys .sysA .sysA-names { font-size: 13px; line-height: 19px; color: #777; }
#sys .sysA-dl { margin: 0 0 18px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 32px; }
#sys .sysA .sys-row:first-child { border-top: 1px solid rgba(0, 0, 0, 0.1); }
/* PREVIEW ONLY: option B, tag clusters like the skills section */
#sys .sysB { width: 100%; max-width: 900px; display: flex; flex-direction: column; gap: 34px; align-items: center; }
#sys .sysB-grp { display: flex; flex-direction: column; align-items: center; gap: 14px; }
#sys .sysB .sk-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 0; padding: 0; margin: 0; list-style: none; }
/* PREVIEW ONLY: option C, an index with the group on the left */
#sys .sysC { width: 100%; max-width: 980px; }
#sys .sysC-grp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: 24px 40px; padding: 30px 2px; border-top: 1px solid rgba(0, 0, 0, 0.14); }
#sys .sysC-grp:last-child { border-bottom: 1px solid rgba(0, 0, 0, 0.14); }
#sys .sysC-grp h3 { margin: 0; font-family: "Instrument Serif", "Instrument Serif Placeholder", serif; font-weight: 400; font-size: 30px; line-height: 34px; color: #111; text-wrap: balance; }
#sys .sysC-grp dl { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 32px; }
#sys .sysC .sys-row { padding: 0; border: 0; }
@media (max-width: 809.98px) {
  #sys .sysA-dl { grid-template-columns: minmax(0, 1fr); }
  #sys .sysC-grp { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 24px 2px; }
  #sys .sysC-grp h3 { font-size: 26px; line-height: 30px; }
  #sys .sysC-grp dl { grid-template-columns: minmax(0, 1fr); gap: 14px; }
}

/* PREVIEW ONLY: characters beside each tool group */
#sys .sysA summary { justify-content: flex-start; gap: 18px; }
#sys .sysA .sysA-text { flex: 1; min-width: 0; }
#sys .sys-char { flex: none; width: 72px; height: 72px; object-fit: contain; }
#sys .sys-char-vinyl { border-radius: 16px; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06), 0 6px 16px rgba(0, 0, 0, 0.12); }
#sys .sys-char-pixel { image-rendering: auto; }
@media (max-width: 809.98px) { #sys .sys-char { width: 56px; height: 56px; } #sys .sysA summary { gap: 14px; } }

/* PREVIEW ONLY: vinyl AGENT characters, standing and waving */
#sys .sys-char-agent { position: relative; display: block; width: 88px; height: 88px; border-radius: 18px; overflow: hidden; background: #f4efe9;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06), 0 8px 20px rgba(0, 0, 0, 0.12); }
#sys .sys-char-agent img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.45); transform-origin: 50% 64%; }
#sys .sys-char-agent .wave { opacity: 0; transition: opacity 0.16s ease-out; }
#sys .sys-char-agent.waving .wave { opacity: 1; }
@media (max-width: 809.98px) { #sys .sys-char-agent { width: 64px; height: 64px; border-radius: 14px; } }

/* PREVIEW ONLY: the agent roster, compact */
#sys .roster { width: 100%; max-width: 1040px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 64px; }
#sys .roster-grp { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
#sys .roster-grp .sk-lab { margin: 0 0 2px; text-align: left; white-space: nowrap; }
#sys .roster-row { display: flex; flex-direction: column; gap: 6px; }
#sys .agent { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; align-items: center; }
#sys .agent-fig { position: relative; width: 64px; height: 78px; }
#sys .agent-hop, #sys .agent-rig, #sys .agent-head, #sys .agent-look, #sys .agent-tilt { position: absolute; inset: 0; }
#sys .agent-fig img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
#sys .agent-rig { transform-origin: 50% 100%; animation: agent-sway var(--t, 3.6s) ease-in-out var(--d, 0s) infinite alternate; }
#sys .agent-bod { transform-origin: 50% 100%; animation: agent-breathe calc(var(--t, 3.6s) / 2) ease-in-out var(--d, 0s) infinite alternate; }
#sys .agent-head { animation: agent-ride calc(var(--t, 3.6s) / 2) ease-in-out var(--d, 0s) infinite alternate; }
#sys .agent-look { transform-origin: 50% calc(var(--nk, 0.58) * 100%); transform: rotate(var(--look, 0deg)); transition: transform 0.7s cubic-bezier(.34, 1.4, .5, 1); }
#sys .agent-tilt { transform-origin: 50% calc(var(--nk, 0.58) * 100%); animation: agent-tilt var(--h, 3s) ease-in-out var(--d, 0s) infinite alternate; }
#sys .lid { position: absolute; border-radius: 40%; transform: translateY(-12%) scale(1.5, 0); transform-origin: 50% 0; transition: transform 0.07s ease-out; }
#sys .agent.blink .lid { transform: translateY(-12%) scale(1.5, 1.35); }
#sys .agent-shadow { position: absolute; left: 20%; right: 20%; bottom: -4px; height: 8px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0)); animation: agent-shadow var(--t, 3.6s) ease-in-out var(--d, 0s) infinite alternate; }
#sys .agent.hop .agent-hop { animation: agent-hop 0.6s cubic-bezier(.3, .7, .4, 1); }
#sys .agent.hop .agent-shadow { animation: agent-shadow-hop 0.6s cubic-bezier(.3, .7, .4, 1); }
#sys .agent-txt { min-width: 0; }
#sys .agent h4 { margin: 0 0 2px; font-size: 15px; line-height: 20px; font-weight: 600; color: #111; text-wrap: balance; }
#sys .agent p { margin: 0; font-size: 13.5px; line-height: 19px; color: #555; text-wrap: pretty; }
@keyframes agent-sway { 0% { transform: rotate(-2.2deg); } 50% { transform: rotate(0deg) translateY(-1.5px); } 100% { transform: rotate(2.2deg); } }
@keyframes agent-breathe { 0% { transform: scale(1, 1); } 100% { transform: scale(0.985, 1.045); } }
@keyframes agent-ride { 0% { transform: translateY(0); } 100% { transform: translateY(calc((1 - var(--nk, 0.58)) * -4.5%)); } }
@keyframes agent-tilt { 0% { transform: rotate(-4deg); } 100% { transform: rotate(4deg); } }
@keyframes agent-shadow { 0%, 100% { transform: scaleX(1); opacity: 1; } 50% { transform: scaleX(0.9); opacity: 0.8; } }
@keyframes agent-hop { 0% { transform: translateY(0); } 15% { transform: translateY(1px) scale(1.04, 0.95); } 45% { transform: translateY(-12px) rotate(-3deg); } 75% { transform: translateY(0) scale(1.03, 0.97); } 90% { transform: translateY(-2px); } 100% { transform: translateY(0); } }
@keyframes agent-shadow-hop { 0%, 100% { transform: scaleX(1); opacity: 1; } 45% { transform: scaleX(0.6); opacity: 0.45; } }
@media (max-width: 809.98px) {
  #sys .roster { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  #sys .agent { grid-template-columns: 54px minmax(0, 1fr); gap: 14px; }
  #sys .agent-fig { width: 54px; height: 66px; }
  #sys .agent h4 { font-size: 14.5px; }
  #sys .agent p { font-size: 13px; line-height: 18px; }
}
@media (prefers-reduced-motion: reduce) { #sys .agent-rig, #sys .agent-bod, #sys .agent-head, #sys .agent-tilt, #sys .agent-shadow, #sys .agent.hop .agent-hop { animation: none; } #sys .agent-look { transition: none; } }

/* PREVIEW ONLY: roster options */
#sys .rGrid { display: flex; flex-direction: column; gap: 48px; }
#sys .rGrid .roster-grp { gap: 20px; }
#sys .rGrid .roster-grp .sk-lab { text-align: center; }
#sys .rGrid .roster-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 36px; }
#sys .rGrid .agent { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
#sys .rGrid .agent-fig { width: 52px; height: 64px; margin: 0 0 12px -9px; }
#sys .rGrid .agent h4 { margin: 0 0 3px; }
#sys .rC { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 32px; }
#sys .rC-team { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
#sys .rC-figs { display: flex; justify-content: center; padding: 0 8px; }
#sys .rC-figs .agent { display: block; margin: 0 -6px; }
#sys .rC-figs .agent-fig { width: 62px; height: 76px; }
#sys .rC .sk-lab { gap: 8px; font-size: 21px; }
#sys .rC .sk-lab::before, #sys .rC .sk-lab::after { flex: 1 1 0; min-width: 6px; }
#sys .rC-items { display: flex; flex-direction: column; gap: 14px; }
#sys .agent-item h4 { margin: 0 0 3px; font-size: 15px; line-height: 20px; font-weight: 600; color: #111; text-wrap: balance; }
#sys .agent-item p { margin: 0; font-size: 13.5px; line-height: 19px; color: #555; text-wrap: pretty; }
@media (max-width: 809.98px) {
  #sys .rGrid { gap: 40px; }
  #sys .rGrid .roster-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 20px; }
  #sys .rGrid .agent-fig { width: 46px; height: 56px; margin: 0 0 10px -8px; }
  #sys .rGrid .agent h4 { font-size: 14px; }
  #sys .rC { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  #sys .rC-figs .agent-fig { width: 56px; height: 68px; }
  #sys .agent-item h4 { font-size: 14.5px; }
  #sys .agent-item p { font-size: 13px; line-height: 18px; }
}
#sys .rTop .agent-top { display: flex; align-items: flex-end; gap: 4px; margin: 0 0 8px; }
#sys .rTop .agent-fig { flex: none; width: 48px; height: 59px; margin: 0 0 0 -9px; }
#sys .rTop .agent h4 { margin: 0 0 3px; font-size: 14px; white-space: nowrap; }
#sys .rTop .roster-row { gap: 28px 24px; }
@media (min-width: 810px) and (max-width: 1099.98px) { #sys .rTop .roster-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 40px; } }
@media (max-width: 809.98px) {
  #sys .rTop .agent-fig { width: 40px; height: 49px; margin: 0 0 0 -8px; }
  #sys .rTop .agent h4 { font-size: 13.5px; line-height: 18px; white-space: normal; }
}
/* B2: name level with the head */
#sys .rTop .agent { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 8px; align-items: start; }
#sys .rTop .agent-fig { --fh: 59px; width: 48px; height: calc(var(--fh) * (1 - var(--tp, 0))); margin: 0 0 0 -10px; }
#sys .rTop .agent-hop { top: auto; bottom: 0; height: var(--fh); }
#sys .rTop .agent h4 { margin: -4px 0 3px; }
@media (max-width: 809.98px) {
  #sys .rTop .roster-row { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  #sys .rTop .agent-fig { --fh: 52px; width: 42px; margin-left: -9px; }
  #sys .rTop .agent h4 { font-size: 14px; white-space: nowrap; }
}
/* B2: one wrap width */
@media (max-width: 1099.98px) { #sys .rTop .agent p { max-width: 250px; } }
@media (max-width: 809.98px) { #sys .rTop .agent p { font-size: 13px; line-height: 18px; } }
/* round 7 */
/* phone: two across, figure above the name, feet on one baseline */
@media (max-width: 809.98px) {
  #sys .rTop .roster-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 18px; }
  #sys .rTop .agent { display: flex; flex-direction: column; align-items: flex-start; }
  #sys .rTop .agent-fig { --fh: 58px; width: 47px; height: var(--fh); margin: 0 0 10px -8px; }
  #sys .rTop .agent h4 { margin: 0 0 3px; font-size: 14px; line-height: 19px; white-space: nowrap; }
  #sys .rTop .agent p { max-width: none; }
}
/* livelier, still subtle: sway with weight shift, bigger head moves, no float */
@keyframes agent-sway { 0% { transform: translateX(-0.6px) rotate(-3.6deg); } 100% { transform: translateX(0.6px) rotate(3.6deg); } }
@keyframes agent-breathe { 0% { transform: scale(1, 1); } 100% { transform: scale(1.012, 0.985); } }
@keyframes agent-ride { 0% { transform: translateY(0); } 100% { transform: translateY(calc((1 - var(--nk, 0.6)) * 1.5%)); } }
@keyframes agent-tilt { 0% { transform: rotate(-7deg); } 100% { transform: rotate(7deg); } }
#sys .agent-look { transition: transform 0.55s cubic-bezier(.34, 1.5, .5, 1); }
#sys .agent.act-hop .agent-hop { animation: agent-hop 0.65s cubic-bezier(.3, .7, .4, 1); }
#sys .agent.act-hop .agent-shadow { animation: agent-shadow-hop 0.65s cubic-bezier(.3, .7, .4, 1); }
#sys .agent.act-wiggle .agent-hop { animation: agent-wiggle 0.7s ease-out; transform-origin: 50% 100%; }
@keyframes agent-wiggle { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-9deg); } 45% { transform: rotate(8deg); } 70% { transform: rotate(-4deg); } }
@media (prefers-reduced-motion: reduce) { #sys .agent.act-hop .agent-hop, #sys .agent.act-wiggle .agent-hop { animation: none; } }
/* hero frames: media fills the pill, a little grain on top */
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; filter: saturate(.92) contrast(1.04); }
/* equal description blocks, so rows keep the same rhythm even where a line wraps short */
#sys .rTop .agent p { min-height: calc(2 * 19px); }
@media (max-width: 809.98px) { #sys .rTop .agent p { min-height: calc(3 * 18px); } }
/* phone: shared rows (subgrid), so figure, name and description line up across both columns even where a name wraps */
#sys .rTop .agent { min-width: 0; }
@media (max-width: 809.98px) {
  #sys .rTop .roster-row { row-gap: 26px; }
  #sys .rTop .agent { display: grid; grid-row: span 3; grid-template-rows: subgrid; grid-template-columns: minmax(0, 1fr); row-gap: 0; column-gap: 0; align-items: start; }
  #sys .rTop .agent h4 { white-space: normal; }
  #sys .rTop .agent-txt { display: contents; }
}
.hero-media-host > :not(.hero-media) { visibility: hidden !important; }
/* phone: name beside the head, description wraps under the figure */
@media (max-width: 809.98px) {
  #sys .rTop .roster-row { row-gap: 22px; column-gap: 16px; }
  #sys .rTop .agent { display: block; grid-row: auto; }
  #sys .rTop .agent-txt { display: block; }
  #sys .rTop .agent-fig { float: left; --fh: 54px; width: 44px; height: calc(var(--fh) * (1 - var(--tp, 0))); margin: 0 6px 4px -9px; }
  #sys .rTop .agent h4 { margin: -4px 0 3px; font-size: 13.5px; line-height: 18px; white-space: normal; }
  #sys .rTop .agent p { min-height: 0; font-size: 13px; line-height: 18px; }
}
/* phone: text column beside the figure, never wrapping under it */
@media (max-width: 809.98px) {
  #sys .rTop .agent { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 6px; align-items: start; }
  #sys .rTop .agent-fig { float: none; --fh: 48px; width: 39px; margin: 0 0 0 -8px; }
}
/* very narrow phones: smaller figure and type so every word fits its column */
@media (max-width: 359.98px) {
  #sys .rTop .roster-row { column-gap: 12px; }
  #sys .rTop .agent-fig { --fh: 42px; width: 34px; margin-left: -7px; }
  #sys .rTop .agent h4 { font-size: 12.5px; line-height: 17px; }
  #sys .rTop .agent p { font-size: 12px; line-height: 17px; }
}
/* speed: grain from a small tile moved with transform only; agents and clips rest while off screen */
.hero-grain { position: absolute; inset: -40%; background: url(/hero/grain.png) 0 0 / 96px 96px; opacity: .32; mix-blend-mode: overlay; pointer-events: none; animation: hero-grain .6s steps(3) infinite; }
@keyframes hero-grain { 0% { transform: translate(0, 0); } 33% { transform: translate(-17px, 9px); } 66% { transform: translate(11px, -14px); } 100% { transform: translate(-6px, 4px); } }
.agents-off .agent, .agents-off .agent * { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) { .hero-grain { animation: none; } }
/* Framer's bottom-of-screen progressive blur (8 stacked backdrop-filter layers, fixed to bottom: 0). On phones,
   Safari 26 places fixed bottom elements above its minimized toolbar, so the strongest blur layer ends partway up
   the screen with a hard edge over the content below it. Safari already draws its own blur at that edge, so the
   strip is removed on touch screens; desktop keeps it. */
@media (hover: none) and (pointer: coarse) { .framer-1t6ogc6-container { display: none !important; } }
/* The fixed name pill at the top left: Framer pins its bar at left: -482px, so below about 1170px wide the pill sat
   partly or fully off the left edge (on every phone and tablet). Pin the bar to the viewport instead. */
.framer-mcsUM .framer-e4bce-container { left: 0 !important; right: 0 !important; position: absolute !important; }   /* sits in the hero and scrolls away with it (Brandon, 2026-11-21: it should not travel down the page) */
.framer-mcsUM .framer-e4bce-container nav { align-items: flex-start !important; }   /* the bar is a centred column; keep the pill at its left padding (24px on phones, 120px at 1440) */
/* Phones: the name pill at about half its desktop size (Brandon, 2026-11-21): 20px type in a 44px pill becomes 11px in 24px */
@media (max-width: 809.98px) {
  .framer-mcsUM .framer-e4bce-container { height: 24px !important; }
  .framer-mcsUM .framer-e4bce-container nav { height: 24px !important; }
  .framer-mcsUM .framer-e4bce-container nav > a { height: 24px !important; padding: 0 10px !important; }
  .framer-mcsUM .framer-e4bce-container nav > a > div { height: 16px !important; }
  .framer-mcsUM .framer-e4bce-container h4, .framer-mcsUM .framer-e4bce-container h4 * { font-size: 11px !important; line-height: 16px !important; --framer-font-size: 11px !important; --framer-line-height: 16px !important; }
}

[data-framer-name="subheading"] p.framer-text { --framer-text-color: #111 !important; --framer-font-size: 17px !important; --framer-line-height: 26px !important; max-width: 440px; margin: 0 auto !important; text-wrap: balance; }
