/* Small site-wide adjustments on top of the design system. */
/* From tablet up, a link in a split section heading (View all projects, All insights) sits flush right, in line with the last card.
   On phones the heading stacks, so the link stays left, under the heading. */
@media (min-width:768px){.gb-section-head--split > div:last-child{align-items:flex-end;text-align:right}}

/* Step panel: steps across one pixel panel (Forms and project pages; same treatment as the homepage facts) */
.gbf-steps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;margin:0;padding:0;list-style:none;background:var(--border-subtle);border:1px solid var(--border-default);clip-path:var(--pixel-lg)}
.gbf-step{display:flex;flex-direction:column;align-items:center;gap:var(--space-5);padding:var(--space-10) var(--space-6) var(--space-9);background:var(--surface-1);text-align:center;transition:background-color var(--dur-fast)}
.gbf-step:hover{background:var(--surface-2)}
.gbf-step__px{display:block;width:100%;max-width:150px;height:104px;margin-bottom:var(--space-5)}
.gbf-step__num{font-family:var(--font-mono);font-size:var(--fs-mono-s);color:var(--accent)}
.gbf-step__text{font-size:var(--fs-h4);line-height:var(--lh-h4);font-weight:var(--fw-semibold)}
@media (min-width:1024px){.gbf-steps{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media (max-width:480px){.gbf-step{padding:var(--space-8) var(--space-4)}.gbf-step__text{font-size:var(--fs-body)}.gbf-step__px{height:84px}}

/* three steps: stacked on phones, three across from tablet up */
.gbf-steps.gbf-steps--3{grid-template-columns:1fr}
@media (min-width:600px){.gbf-steps.gbf-steps--3{grid-template-columns:repeat(3,minmax(0,1fr))}}
/* a paragraph with a link or note in a split heading flows as normal text */
.gb-section-head--split > p.gbf-lead{display:block}
/* project pages: "What I built" heading beside its full paragraph */
@media (min-width:768px){.gb-section-head--split.gbp-builthead{align-items:flex-start}.gb-section-head--split.gbp-builthead > :first-child{flex:0 1 32%}.gb-section-head--split.gbp-builthead > :last-child{flex:0 1 60%}}
.gbp-built-media{margin-top:var(--space-10)}
