/* work.html: Linear /customers anatomy (title + tabs, 3-up story cards with column rules, a split row, a statement, a full-width list). Measured 2026-10-25. */
.w-head{padding:80px 0 40px}
.w-head h1{font-size:48px;line-height:48px;letter-spacing:-.022em}
.w-tabs{display:flex;flex-wrap:wrap;gap:4px 16px;margin-top:28px}
.w-tabs a{font-size:15px;line-height:24px;letter-spacing:-.011em;color:var(--ink-muted);transition:color .1s var(--ease-out)}
.w-tabs a:hover,.w-tabs a[aria-current]{color:var(--ink)}
#clients,#demos,#shipped{scroll-margin-top:96px}

/* story cards: 384 wide, 64 gutters, a hairline down the middle of each gutter */
.w-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:64px;row-gap:64px}
.wc{position:relative;display:flex;flex-direction:column;min-width:0;color:inherit}
.w-grid>.wc:not(:nth-child(3n+1))::before,.w-row>.wc::before{content:"";position:absolute;left:-32px;top:0;bottom:0;width:1px;background:var(--hair)}
.wc-t{position:relative;aspect-ratio:16/9;border-radius:4px;overflow:hidden;background:#0d1411;box-shadow:inset 0 0 0 1px rgba(255,255,255,.06)}
.wc-t img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 0;display:block;transition:transform .5s var(--ease-drawer),filter .3s var(--ease-out);filter:saturate(.82) brightness(.94)}
.wc-t img.wm{object-position:0 0}
.wc-t::after{content:"";position:absolute;inset:0;border-radius:inherit;box-shadow:inset 0 0 0 1px rgba(255,255,255,.06),inset 0 1px 0 rgba(255,255,255,.08);pointer-events:none}
a.wc:hover .wc-t img{transform:scale(1.015);filter:none}
.wc-h{margin-top:24px;color:var(--ink);font-size:20px;line-height:26.6px;font-weight:510;letter-spacing:-.012em;text-wrap:pretty;max-width:360px}
.wc-l{display:flex;align-items:baseline;gap:5px;margin-top:auto;padding-top:24px;font-size:14px;line-height:21px;letter-spacing:-.013em;color:var(--ink-muted);transition:color .1s var(--ease-out)}
.wc-l i{font-style:normal;color:var(--ink-faint);display:inline-block;transition:transform .3s var(--ease-drawer),color .1s var(--ease-out)}
a.wc:hover .wc-l{color:var(--ink)}
a.wc:hover .wc-l i{color:var(--ink-2);transform:translateX(2px)}
.wc-l.plain{max-width:340px}
.wc-l em{font-style:normal;color:var(--ink-faint);margin-left:auto;font-size:13px}

/* the Chick-fil-A tile is a built figure, not a photo */
.wc-t.cfa{background:radial-gradient(80% 70% at 50% 0%,rgba(150,190,170,.08),rgba(150,190,170,0) 100%),linear-gradient(180deg,#0e1813 0%,#0a110d 100%)}
.wc-t.cfa .fit{position:absolute;inset:0;margin:0;max-width:none}
.cfa .fp-h{height:40px;padding:0 14px;font-size:12px}
.cfa .fp-h .r{font:400 12px/16px var(--mono);color:var(--ink-faint)}
.cfa-b{padding:12px 14px 0}
.cfa .wv{height:24px;gap:3px;margin-bottom:8px;display:flex;align-items:center}
.cfa .wv i{width:2px;border-radius:1px;background:var(--brass);opacity:.75}
.cfa-r{display:grid;grid-template-columns:14px 1fr auto;align-items:center;gap:10px;height:36px;border-top:1px solid var(--line);font-size:12.5px;line-height:18px;color:var(--ink-2)}
.cfa-r .chip{height:22px;font-size:11.5px}

/* the demos: a split row like Linear's "why teams switch" row */
.w-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:64px;padding:128px 0 64px}
.w-row .span2{grid-column:span 2}
.w-row .span2 .wc-t{aspect-ratio:1600/528}
.w-row .span2 img.hub{object-fit:contain;object-position:50% 50%}
.w-row .span2 .wc-h{max-width:560px}
.w-sh{color:var(--ink);font-size:20px;line-height:26.6px;font-weight:510;letter-spacing:-.012em;text-wrap:balance;max-width:360px}
.w-cell p{margin-top:16px;font-size:15px;line-height:24px;color:var(--ink-muted);max-width:384px;text-wrap:pretty}

/* statement: first sentence lit, the rest muted */
.w-stmt{padding:160px 0 64px;color:var(--ink-muted);font-weight:510;font-size:clamp(28px,3.34vw,48px);line-height:1;letter-spacing:-.022em;max-width:1240px;text-wrap:pretty}
.w-stmt strong{color:var(--ink);font-weight:510}

/* list of everything shipped: 56px rows, hairline between */
.w-list{margin-top:40px}
.wl{display:grid;grid-template-columns:42px 176px minmax(0,1fr) 265px 150px;align-items:center;height:56px;border-bottom:1px solid var(--hair);font-size:14px;line-height:21px;letter-spacing:-.013em;color:var(--ink-muted)}
.wl:last-child{border-bottom:0}
.wl .ic{width:16px;height:16px;color:var(--icon)}
.wl b{color:var(--ink-2);font-weight:510;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-right:12px}
.wl .d{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-right:24px}
.wl .t{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wl .go{justify-self:end;white-space:nowrap;transition:color .1s var(--ease-out)}
.wl .go.strong{color:var(--ink-2);font-weight:510}
.wl .go i{font-style:normal;color:var(--ink-faint);margin-left:4px;display:inline-block;transition:transform .3s var(--ease-drawer)}
a.wl:hover .go{color:var(--ink)}
a.wl:hover .go i{transform:translateX(2px)}
a.wl:hover b{color:var(--ink)}
.wl.you b,.wl.you .ic{color:var(--ink-faint);font-weight:400}
.wl.you .go{color:var(--ink-faint)}
a.wl.you:hover .go{color:var(--ink)}

@media (max-width:1100px){
  .wl{grid-template-columns:36px 160px minmax(0,1fr) 150px}
  .wl .t{display:none}
}
@media (max-width:900px){
  .w-grid{grid-template-columns:1fr 1fr;column-gap:48px}
  .w-grid>.wc:not(:nth-child(3n+1))::before{display:none}
  .w-grid>.wc:nth-child(2n)::before{content:"";position:absolute;left:-24px;top:0;bottom:0;width:1px;background:var(--hair);display:block}
  .w-row{grid-template-columns:1fr;row-gap:40px;padding-top:96px}
  .w-row .span2{grid-column:auto}
  .w-row>.wc::before{display:none}
}
@media (max-width:820px){
  .w-head{padding:56px 0 32px}
  .w-head h1{font-size:40px;line-height:40px}
  .w-grid{grid-template-columns:1fr;row-gap:48px}
  .w-grid>.wc::before,.w-grid>.wc:nth-child(2n)::before{display:none}
  .wc-h{font-size:18px;line-height:24px}
  .wc-l{padding-top:14px}
  .w-row{padding:88px 0 48px}
  .w-row .span2 .wc-t{aspect-ratio:1600/528}
  .w-stmt{padding:96px 0 40px;line-height:1.07}
  .w-list{margin-top:24px}
  .wl{grid-template-columns:28px minmax(0,1fr) auto;height:auto;min-height:64px;padding:10px 0;row-gap:0}
  .wl .ic{grid-row:span 2;align-self:start;margin-top:3px}
  .wl b{grid-column:2;padding-right:8px}
  .wl .d{grid-column:2;grid-row:2;white-space:normal;padding-right:8px;font-size:13px;line-height:19px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
  .wl .go{grid-column:3;grid-row:1 / span 2;align-self:center;font-size:13px}
  .wl .go.strong{font-weight:510}
  .wl.you .d{display:none}
}
