/* stack-1124: Chase's stack + selected client-site screenshots on the home page.
   Black, stone, and matte angelic gold. No glow. New files only; does not edit older image folders. */

html body.hp .st1124-work,
html body.hp .st1124-stack{
  padding:44px 0 50px;
  border-bottom:1px solid var(--hair);
  background:var(--bk);
}

html body.hp .st1124-work h2,
html body.hp .st1124-stack h2{
  margin:10px 0 0;
  font-size:clamp(26px,4.4vw,42px);
  line-height:1.08;
  letter-spacing:-.03em;
  font-weight:420;
  color:var(--ink);
  max-width:20ch;
}

html body.hp .st1124-lede{
  margin:12px 0 0;
  max-width:46em;
  font:400 16.5px/1.55 var(--tk-sans);
  color:var(--mute);
}

/* Selected work */
html body.hp .st1124-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:14px;
  margin-top:24px;
}

html body.hp .st1124-card{
  display:flex;
  flex-direction:column;
  gap:3px;
  text-decoration:none;
  color:inherit;
  border:1px solid var(--hair);
  border-radius:14px;
  overflow:hidden;
  background:var(--ch);
  padding-bottom:14px;
  min-width:0;
  transition:border-color .35s var(--ease);
}

html body.hp a.st1124-card:hover,
html body.hp a.st1124-card:focus-visible{
  border-color:var(--hair2);
}

html body.hp .st1124-card picture,
html body.hp .st1124-card img{
  display:block;
  width:100%;
}

html body.hp .st1124-card img{
  height:auto;
  aspect-ratio:8/5;
  object-fit:cover;
  object-position:top;
  margin:0 0 10px;
  border-bottom:1px solid var(--hair);
  background:var(--ch2);
}

html body.hp .st1124-card span{
  padding:0 14px;
}

html body.hp .st1124-n{
  color:var(--ink);
  font-weight:600;
  font-size:16px;
  line-height:1.3;
}

html body.hp .st1124-s{
  color:var(--mute);
  font-size:14px;
  line-height:1.4;
}

html body.hp .st1124-d{
  color:var(--g1);
  font-size:14px;
  line-height:1.4;
  margin-top:4px;
}

/* Chase's stack */
html body.hp .st1124-tools{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:16px 8px;
  list-style:none;
  margin:28px 0 0;
  padding:0;
}

html body.hp .st1124-tools li{
  flex:0 0 72px;
  width:72px;
  max-width:72px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
  min-width:0;
  text-align:center;
}

html body.hp .st1124-tools picture,
html body.hp .st1124-tools img{
  display:block;
  width:56px;
  height:56px;
}

html body.hp .st1124-tools img{
  border-radius:12px;
  background:transparent;
  box-shadow:inset 0 0 0 1px var(--hair);
}

html body.hp .st1124-tools span{
  display:block;
  width:100%;
  font:500 11px/1.25 var(--tk-sans);
  color:var(--champ);
  letter-spacing:-.01em;
  overflow-wrap:break-word;
  word-break:break-word;
}

html body.hp .st1124-note{
  margin:18px 0 0;
  font:400 12.5px/1.45 var(--tk-sans);
  color:var(--mute);
  max-width:60em;
}

@media (min-width:600px){
  html body.hp .st1124-grid{grid-template-columns:1fr 1fr}
}

@media (min-width:700px){
  html body.hp .st1124-tools{gap:20px 12px}
  html body.hp .st1124-tools li{flex-basis:96px;width:96px;max-width:96px}
  html body.hp .st1124-tools picture,
  html body.hp .st1124-tools img{width:64px;height:64px;border-radius:14px}
  html body.hp .st1124-tools span{font-size:12px}
}

@media (min-width:1100px){
  html body.hp .st1124-grid{grid-template-columns:repeat(4,1fr)}
  html body.hp .st1124-work,
  html body.hp .st1124-stack{padding:56px 0 64px}
  html body.hp .st1124-tools{
    display:grid;
    grid-template-columns:repeat(7,minmax(0,1fr));
    justify-items:center;
    gap:22px 12px;
  }
  html body.hp .st1124-tools li{flex:none;width:100%;max-width:110px}
}

@media (prefers-reduced-motion:reduce){
  html body.hp a.st1124-card{transition:none}
}
